Files
zmVault/.obsidian/plugins/tasknotes/main.js
T

1155 lines
4.7 MiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var y5e=Object.create;var qy=Object.defineProperty;var aae=Object.getOwnPropertyDescriptor;var v5e=Object.getOwnPropertyNames;var b5e=Object.getPrototypeOf,T5e=Object.prototype.hasOwnProperty;var sae=r=>{throw TypeError(r)};var k5e=(r,e,t)=>e in r?qy(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var y=(r,e)=>()=>(r&&(e=r(r=0)),e);var E=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),et=(r,e)=>{for(var t in e)qy(r,t,{get:e[t],enumerable:!0})},oae=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of v5e(e))!T5e.call(r,i)&&i!==t&&qy(r,i,{get:()=>e[i],enumerable:!(n=aae(e,i))||n.enumerable});return r};var tt=(r,e,t)=>(t=r!=null?y5e(b5e(r)):{},oae(e||!r||!r.__esModule?qy(t,"default",{value:r,enumerable:!0}):t,r)),WM=r=>oae(qy({},"__esModule",{value:!0}),r),rt=(r,e,t,n)=>{for(var i=n>1?void 0:n?aae(e,t):e,a=r.length-1,s;a>=0;a--)(s=r[a])&&(i=(n?s(e,t,i):s(i))||i);return n&&i&&qy(e,t,i),i};var A=(r,e,t)=>k5e(r,typeof e!="symbol"?e+"":e,t),lae=(r,e,t)=>e.has(r)||sae("Cannot "+t);var ho=(r,e,t)=>(lae(r,e,"read from private field"),t?t.call(r):e.get(r)),Hf=(r,e,t)=>e.has(r)?sae("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),$d=(r,e,t,n)=>(lae(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t);var w5e,O4t,YM,cae,gj,yj,S5e,dae,L4t,E5e,x5e,F4t,vj,Wy=y(()=>{w5e=Math.pow(10,8)*24*60*60*1e3,O4t=-w5e,YM=6048e5,cae=864e5,gj=6e4,yj=36e5,S5e=3600,dae=S5e*24,L4t=dae*7,E5e=dae*365.2425,x5e=E5e/12,F4t=x5e*3,vj=Symbol.for("constructDateFrom")});function Ln(r,e){return typeof r=="function"?r(e):r&&typeof r=="object"&&vj in r?r[vj](e):r instanceof Date?new r.constructor(e):new Date(e)}var gl=y(()=>{Wy()});function dt(r,e){return Ln(e||r,r)}var Cn=y(()=>{gl()});function Vf(r,e,t){let n=dt(r,t==null?void 0:t.in);return isNaN(e)?Ln((t==null?void 0:t.in)||r,NaN):(e&&n.setDate(n.getDate()+e),n)}var GM=y(()=>{gl();Cn()});function KM(r,e,t){let n=dt(r,t==null?void 0:t.in);if(isNaN(e))return Ln((t==null?void 0:t.in)||r,NaN);if(!e)return n;let i=n.getDate(),a=Ln((t==null?void 0:t.in)||r,n.getTime());a.setMonth(n.getMonth()+e+1,0);let s=a.getDate();return i>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),i),n)}var bj=y(()=>{gl();Cn()});var uae=y(()=>{});var pae=y(()=>{});var mae=y(()=>{});var fae=y(()=>{});var hae=y(()=>{});var gae=y(()=>{});var yae=y(()=>{});function lc(){return C5e}var C5e,Yy=y(()=>{C5e={}});function Ca(r,e){var o,l,c,d,u,p,m,f;let t=lc(),n=(f=(m=(d=(c=e==null?void 0:e.weekStartsOn)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:t.weekStartsOn)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?f:0,i=dt(r,e==null?void 0:e.in),a=i.getDay(),s=(a<n?7:0)+a-n;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}var Gy=y(()=>{Yy();Cn()});function qf(r,e){return Ca(r,{...e,weekStartsOn:1})}var Sw=y(()=>{Gy()});function ZM(r,e){let t=dt(r,e==null?void 0:e.in),n=t.getFullYear(),i=Ln(t,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let a=qf(i),s=Ln(t,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);let o=qf(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}var QM=y(()=>{gl();Sw();Cn()});function Tj(r){let e=dt(r),t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+r-+t}var vae=y(()=>{Cn()});function JM(r,...e){let t=Ln.bind(null,r||e.find(n=>typeof n=="object"));return e.map(t)}var kj=y(()=>{gl()});function yl(r,e){let t=dt(r,e==null?void 0:e.in);return t.setHours(0,0,0,0),t}var XM=y(()=>{Cn()});function bae(r,e,t){let[n,i]=JM(t==null?void 0:t.in,r,e),a=yl(n),s=yl(i),o=+a-Tj(a),l=+s-Tj(s);return Math.round((o-l)/cae)}var wj=y(()=>{vae();kj();Wy();XM()});function Tae(r,e){let t=ZM(r,e),n=Ln((e==null?void 0:e.in)||r,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),qf(n)}var Sj=y(()=>{gl();QM();Sw()});var kae=y(()=>{});var wae=y(()=>{});var Sae=y(()=>{});var Eae=y(()=>{});var xae=y(()=>{});function Cae(r,e,t){return Vf(r,e*7,t)}var Dae=y(()=>{GM()});function Pae(r,e,t){return KM(r,e*12,t)}var Mae=y(()=>{bj()});var _ae=y(()=>{});var Aae=y(()=>{});var Iae=y(()=>{});var Nae=y(()=>{});var Rae=y(()=>{});var Oae=y(()=>{});var Lae=y(()=>{});var Fae=y(()=>{});var $ae=y(()=>{});var zae=y(()=>{});function Ej(r,e,t){let[n,i]=JM(t==null?void 0:t.in,r,e);return+yl(n)==+yl(i)}var jae=y(()=>{kj();XM()});function Bae(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}var xj=y(()=>{});function bi(r){return!(!Bae(r)&&typeof r!="number"||isNaN(+dt(r)))}var Cj=y(()=>{xj();Cn()});var Uae=y(()=>{});var Hae=y(()=>{});var Vae=y(()=>{});var qae=y(()=>{});var Wae=y(()=>{});var Yae=y(()=>{});var Gae=y(()=>{});var Kae=y(()=>{});var Zae=y(()=>{});var Qae=y(()=>{});var Jae=y(()=>{});var Xae=y(()=>{});var ese=y(()=>{});var tse=y(()=>{});function Ew(r,e){let t=dt(r,e==null?void 0:e.in);return t.setHours(23,59,59,999),t}var rse=y(()=>{Cn()});function e_(r,e){let t=dt(r,e==null?void 0:e.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}var nse=y(()=>{Cn()});var ise=y(()=>{});var ase=y(()=>{});var sse=y(()=>{});var ose=y(()=>{});var lse=y(()=>{});var cse=y(()=>{});var dse=y(()=>{});var use=y(()=>{});var pse=y(()=>{});var mse=y(()=>{});var fse=y(()=>{});var hse=y(()=>{});var gse=y(()=>{});var yse=y(()=>{});function t_(r,e){let t=dt(r,e==null?void 0:e.in);return t.setDate(1),t.setHours(0,0,0,0),t}var vse=y(()=>{Cn()});var bse=y(()=>{});function Tse(r,e){let t=dt(r,e==null?void 0:e.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}var kse=y(()=>{Cn()});function r_(r,e){let t=dt(r,e==null?void 0:e.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}var Dj=y(()=>{Cn()});var wse=y(()=>{});var Sse=y(()=>{});var Ese=y(()=>{});var xse=y(()=>{});function Ky(r,e){var o,l,c,d,u,p,m,f;let t=lc(),n=(f=(m=(d=(c=e==null?void 0:e.weekStartsOn)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:t.weekStartsOn)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?f:0,i=dt(r,e==null?void 0:e.in),a=i.getDay(),s=(a<n?-7:0)+6-(a-n);return i.setDate(i.getDate()+s),i.setHours(23,59,59,999),i}var Cse=y(()=>{Yy();Cn()});var Dse=y(()=>{});var Pse=y(()=>{});var Mse=y(()=>{});var _se=y(()=>{});var Ase=y(()=>{});var Ise=y(()=>{});var Nse=y(()=>{});var Rse=y(()=>{});var D5e,Ose,Lse=y(()=>{D5e={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"}},Ose=(r,e,t)=>{let n,i=D5e[r];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n}});function n_(r){return(e={})=>{let t=e.width?String(e.width):r.defaultWidth;return r.formats[t]||r.formats[r.defaultWidth]}}var Fse=y(()=>{});var P5e,M5e,_5e,$se,zse=y(()=>{Fse();P5e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},M5e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_5e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$se={date:n_({formats:P5e,defaultWidth:"full"}),time:n_({formats:M5e,defaultWidth:"full"}),dateTime:n_({formats:_5e,defaultWidth:"full"})}});var A5e,jse,Bse=y(()=>{A5e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},jse=(r,e,t,n)=>A5e[r]});function Zy(r){return(e,t)=>{let n=t!=null&&t.context?String(t.context):"standalone",i;if(n==="formatting"&&r.formattingValues){let s=r.defaultFormattingWidth||r.defaultWidth,o=t!=null&&t.width?String(t.width):s;i=r.formattingValues[o]||r.formattingValues[s]}else{let s=r.defaultWidth,o=t!=null&&t.width?String(t.width):r.defaultWidth;i=r.values[o]||r.values[s]}let a=r.argumentCallback?r.argumentCallback(e):e;return i[a]}}var Use=y(()=>{});var I5e,N5e,R5e,O5e,L5e,F5e,$5e,Hse,Vse=y(()=>{Use();I5e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},N5e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},R5e={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"]},O5e={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"]},L5e={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"}},F5e={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"}},$5e=(r,e)=>{let t=Number(r),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},Hse={ordinalNumber:$5e,era:Zy({values:I5e,defaultWidth:"wide"}),quarter:Zy({values:N5e,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Zy({values:R5e,defaultWidth:"wide"}),day:Zy({values:O5e,defaultWidth:"wide"}),dayPeriod:Zy({values:L5e,defaultWidth:"wide",formattingValues:F5e,defaultFormattingWidth:"wide"})}});function Qy(r){return(e,t={})=>{let n=t.width,i=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],a=e.match(i);if(!a)return null;let s=a[0],o=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(o)?j5e(o,u=>u.test(s)):z5e(o,u=>u.test(s)),c;c=r.valueCallback?r.valueCallback(l):l,c=t.valueCallback?t.valueCallback(c):c;let d=e.slice(s.length);return{value:c,rest:d}}}function z5e(r,e){for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&e(r[t]))return t}function j5e(r,e){for(let t=0;t<r.length;t++)if(e(r[t]))return t}var qse=y(()=>{});function Wse(r){return(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let i=n[0],a=e.match(r.parsePattern);if(!a)return null;let s=r.valueCallback?r.valueCallback(a[0]):a[0];s=t.valueCallback?t.valueCallback(s):s;let o=e.slice(i.length);return{value:s,rest:o}}}var Yse=y(()=>{});var B5e,U5e,H5e,V5e,q5e,W5e,Y5e,G5e,K5e,Z5e,Q5e,J5e,Gse,Kse=y(()=>{qse();Yse();B5e=/^(\d+)(th|st|nd|rd)?/i,U5e=/\d+/i,H5e={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},V5e={any:[/^b/i,/^(a|c)/i]},q5e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},W5e={any:[/1/i,/2/i,/3/i,/4/i]},Y5e={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},G5e={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]},K5e={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},Z5e={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]},Q5e={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},J5e={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}},Gse={ordinalNumber:Wse({matchPattern:B5e,parsePattern:U5e,valueCallback:r=>parseInt(r,10)}),era:Qy({matchPatterns:H5e,defaultMatchWidth:"wide",parsePatterns:V5e,defaultParseWidth:"any"}),quarter:Qy({matchPatterns:q5e,defaultMatchWidth:"wide",parsePatterns:W5e,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Qy({matchPatterns:Y5e,defaultMatchWidth:"wide",parsePatterns:G5e,defaultParseWidth:"any"}),day:Qy({matchPatterns:K5e,defaultMatchWidth:"wide",parsePatterns:Z5e,defaultParseWidth:"any"}),dayPeriod:Qy({matchPatterns:Q5e,defaultMatchWidth:"any",parsePatterns:J5e,defaultParseWidth:"any"})}});var Pj,Zse=y(()=>{Lse();zse();Bse();Vse();Kse();Pj={code:"en-US",formatDistance:Ose,formatLong:$se,formatRelative:jse,localize:Hse,match:Gse,options:{weekStartsOn:0,firstWeekContainsDate:1}}});var Qse=y(()=>{Zse()});function Jse(r,e){let t=dt(r,e==null?void 0:e.in);return bae(t,r_(t))+1}var Mj=y(()=>{wj();Dj();Cn()});function Xse(r,e){let t=dt(r,e==null?void 0:e.in),n=+qf(t)-+Tae(t);return Math.round(n/YM)+1}var _j=y(()=>{Wy();Sw();Sj();Cn()});function i_(r,e){var d,u,p,m,f,h,g,v;let t=dt(r,e==null?void 0:e.in),n=t.getFullYear(),i=lc(),a=(v=(g=(m=(p=e==null?void 0:e.firstWeekContainsDate)!=null?p:(u=(d=e==null?void 0:e.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)!=null?m:i.firstWeekContainsDate)!=null?g:(h=(f=i.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)!=null?v:1,s=Ln((e==null?void 0:e.in)||r,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);let o=Ca(s,e),l=Ln((e==null?void 0:e.in)||r,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);let c=Ca(l,e);return+t>=+o?n+1:+t>=+c?n:n-1}var a_=y(()=>{Yy();gl();Gy();Cn()});function eoe(r,e){var o,l,c,d,u,p,m,f;let t=lc(),n=(f=(m=(d=(c=e==null?void 0:e.firstWeekContainsDate)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)!=null?d:t.firstWeekContainsDate)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)!=null?f:1,i=i_(r,e),a=Ln((e==null?void 0:e.in)||r,0);return a.setFullYear(i,0,n),a.setHours(0,0,0,0),Ca(a,e)}var Aj=y(()=>{Yy();gl();a_();Gy()});function toe(r,e){let t=dt(r,e==null?void 0:e.in),n=+Ca(t,e)-+eoe(t,e);return Math.round(n/YM)+1}var Ij=y(()=>{Wy();Gy();Aj();Cn()});function fr(r,e){let t=r<0?"-":"",n=Math.abs(r).toString().padStart(e,"0");return t+n}var Nj=y(()=>{});var zd,roe=y(()=>{Nj();zd={y(r,e){let t=r.getFullYear(),n=t>0?t:1-t;return fr(e==="yy"?n%100:n,e.length)},M(r,e){let t=r.getMonth();return e==="M"?String(t+1):fr(t+1,2)},d(r,e){return fr(r.getDate(),e.length)},a(r,e){let t=r.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(r,e){return fr(r.getHours()%12||12,e.length)},H(r,e){return fr(r.getHours(),e.length)},m(r,e){return fr(r.getMinutes(),e.length)},s(r,e){return fr(r.getSeconds(),e.length)},S(r,e){let t=e.length,n=r.getMilliseconds(),i=Math.trunc(n*Math.pow(10,t-3));return fr(i,e.length)}}});function noe(r,e=""){let t=r>0?"-":"+",n=Math.abs(r),i=Math.trunc(n/60),a=n%60;return a===0?t+String(i):t+String(i)+e+fr(a,2)}function ioe(r,e){return r%60===0?(r>0?"-":"+")+fr(Math.abs(r)/60,2):Wf(r,e)}function Wf(r,e=""){let t=r>0?"-":"+",n=Math.abs(r),i=fr(Math.trunc(n/60),2),a=fr(n%60,2);return t+i+e+a}var Jy,Rj,aoe=y(()=>{Mj();_j();QM();Ij();a_();Nj();roe();Jy={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Rj={G:function(r,e,t){let n=r.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(r,e,t){if(e==="yo"){let n=r.getFullYear(),i=n>0?n:1-n;return t.ordinalNumber(i,{unit:"year"})}return zd.y(r,e)},Y:function(r,e,t,n){let i=i_(r,n),a=i>0?i:1-i;if(e==="YY"){let s=a%100;return fr(s,2)}return e==="Yo"?t.ordinalNumber(a,{unit:"year"}):fr(a,e.length)},R:function(r,e){let t=ZM(r);return fr(t,e.length)},u:function(r,e){let t=r.getFullYear();return fr(t,e.length)},Q:function(r,e,t){let n=Math.ceil((r.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return fr(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,e,t){let n=Math.ceil((r.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return fr(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,e,t){let n=r.getMonth();switch(e){case"M":case"MM":return zd.M(r,e);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(r,e,t){let n=r.getMonth();switch(e){case"L":return String(n+1);case"LL":return fr(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(r,e,t,n){let i=toe(r,n);return e==="wo"?t.ordinalNumber(i,{unit:"week"}):fr(i,e.length)},I:function(r,e,t){let n=Xse(r);return e==="Io"?t.ordinalNumber(n,{unit:"week"}):fr(n,e.length)},d:function(r,e,t){return e==="do"?t.ordinalNumber(r.getDate(),{unit:"date"}):zd.d(r,e)},D:function(r,e,t){let n=Jse(r);return e==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):fr(n,e.length)},E:function(r,e,t){let n=r.getDay();switch(e){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(r,e,t,n){let i=r.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return fr(a,2);case"eo":return t.ordinalNumber(a,{unit:"day"});case"eee":return t.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(i,{width:"short",context:"formatting"});case"eeee":default:return t.day(i,{width:"wide",context:"formatting"})}},c:function(r,e,t,n){let i=r.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return fr(a,e.length);case"co":return t.ordinalNumber(a,{unit:"day"});case"ccc":return t.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(i,{width:"narrow",context:"standalone"});case"cccccc":return t.day(i,{width:"short",context:"standalone"});case"cccc":default:return t.day(i,{width:"wide",context:"standalone"})}},i:function(r,e,t){let n=r.getDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return fr(i,e.length);case"io":return t.ordinalNumber(i,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(r,e,t){let i=r.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(r,e,t){let n=r.getHours(),i;switch(n===12?i=Jy.noon:n===0?i=Jy.midnight:i=n/12>=1?"pm":"am",e){case"b":case"bb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(r,e,t){let n=r.getHours(),i;switch(n>=17?i=Jy.evening:n>=12?i=Jy.afternoon:n>=4?i=Jy.morning:i=Jy.night,e){case"B":case"BB":case"BBB":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(r,e,t){if(e==="ho"){let n=r.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return zd.h(r,e)},H:function(r,e,t){return e==="Ho"?t.ordinalNumber(r.getHours(),{unit:"hour"}):zd.H(r,e)},K:function(r,e,t){let n=r.getHours()%12;return e==="Ko"?t.ordinalNumber(n,{unit:"hour"}):fr(n,e.length)},k:function(r,e,t){let n=r.getHours();return n===0&&(n=24),e==="ko"?t.ordinalNumber(n,{unit:"hour"}):fr(n,e.length)},m:function(r,e,t){return e==="mo"?t.ordinalNumber(r.getMinutes(),{unit:"minute"}):zd.m(r,e)},s:function(r,e,t){return e==="so"?t.ordinalNumber(r.getSeconds(),{unit:"second"}):zd.s(r,e)},S:function(r,e){return zd.S(r,e)},X:function(r,e,t){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(e){case"X":return ioe(n);case"XXXX":case"XX":return Wf(n);case"XXXXX":case"XXX":default:return Wf(n,":")}},x:function(r,e,t){let n=r.getTimezoneOffset();switch(e){case"x":return ioe(n);case"xxxx":case"xx":return Wf(n);case"xxxxx":case"xxx":default:return Wf(n,":")}},O:function(r,e,t){let n=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+noe(n,":");case"OOOO":default:return"GMT"+Wf(n,":")}},z:function(r,e,t){let n=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+noe(n,":");case"zzzz":default:return"GMT"+Wf(n,":")}},t:function(r,e,t){let n=Math.trunc(+r/1e3);return fr(n,e.length)},T:function(r,e,t){return fr(+r,e.length)}}});var soe,ooe,X5e,loe,coe=y(()=>{soe=(r,e)=>{switch(r){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},ooe=(r,e)=>{switch(r){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},X5e=(r,e)=>{let t=r.match(/(P+)(p+)?/)||[],n=t[1],i=t[2];if(!i)return soe(r,e);let a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",soe(n,e)).replace("{{time}}",ooe(i,e))},loe={p:ooe,P:X5e}});function doe(r){return eKe.test(r)}function uoe(r){return tKe.test(r)}function poe(r,e,t){let n=nKe(r,e,t);if(console.warn(n),rKe.includes(r))throw new RangeError(n)}function nKe(r,e,t){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${e}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var eKe,tKe,rKe,moe=y(()=>{eKe=/^D+$/,tKe=/^Y+$/,rKe=["D","DD","YY","YYYY"]});function P(r,e,t){var d,u,p,m,f,h,g,v,k,b,w,S,x,C,D,_,O,L;let n=lc(),i=(u=(d=t==null?void 0:t.locale)!=null?d:n.locale)!=null?u:Pj,a=(b=(k=(h=(f=t==null?void 0:t.firstWeekContainsDate)!=null?f:(m=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)!=null?h:n.firstWeekContainsDate)!=null?k:(v=(g=n.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)!=null?b:1,s=(L=(O=(C=(x=t==null?void 0:t.weekStartsOn)!=null?x:(S=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:S.weekStartsOn)!=null?C:n.weekStartsOn)!=null?O:(_=(D=n.locale)==null?void 0:D.options)==null?void 0:_.weekStartsOn)!=null?L:0,o=dt(r,t==null?void 0:t.in);if(!bi(o))throw new RangeError("Invalid time value");let l=e.match(aKe).map(N=>{let R=N[0];if(R==="p"||R==="P"){let z=loe[R];return z(N,i.formatLong)}return N}).join("").match(iKe).map(N=>{if(N==="''")return{isToken:!1,value:"'"};let R=N[0];if(R==="'")return{isToken:!1,value:cKe(N)};if(Rj[R])return{isToken:!0,value:N};if(R.match(lKe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return{isToken:!1,value:N}});i.localize.preprocessor&&(l=i.localize.preprocessor(o,l));let c={firstWeekContainsDate:a,weekStartsOn:s,locale:i};return l.map(N=>{if(!N.isToken)return N.value;let R=N.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&uoe(R)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&doe(R))&&poe(R,e,String(r));let z=Rj[R[0]];return z(o,R,i.localize,c)}).join("")}function cKe(r){let e=r.match(sKe);return e?e[1].replace(oKe,"'"):r}var iKe,aKe,sKe,oKe,lKe,foe=y(()=>{Qse();Yy();aoe();coe();moe();Cj();Cn();iKe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,aKe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sKe=/^'([^]*?)'?$/,oKe=/''/g,lKe=/[a-zA-Z]/});var hoe=y(()=>{});var goe=y(()=>{});var yoe=y(()=>{});var voe=y(()=>{});var boe=y(()=>{});var Toe=y(()=>{});var koe=y(()=>{});var woe=y(()=>{});var Soe=y(()=>{});var Eoe=y(()=>{});var xoe=y(()=>{});var Coe=y(()=>{});var Doe=y(()=>{});var Poe=y(()=>{});var Moe=y(()=>{});var _oe=y(()=>{});var Aoe=y(()=>{});var Ioe=y(()=>{});var Noe=y(()=>{});var Roe=y(()=>{});var Ooe=y(()=>{});var Loe=y(()=>{});var Foe=y(()=>{});var $oe=y(()=>{});var zoe=y(()=>{});var joe=y(()=>{});var Boe=y(()=>{});var Uoe=y(()=>{});var Hoe=y(()=>{});var Voe=y(()=>{});var qoe=y(()=>{});var Woe=y(()=>{});var Yoe=y(()=>{});var Goe=y(()=>{});var Koe=y(()=>{});var Zoe=y(()=>{});var Qoe=y(()=>{});var Joe=y(()=>{});var Xoe=y(()=>{});var ele=y(()=>{});var tle=y(()=>{});function Oj(r,e){return+dt(r)<+dt(e)}var rle=y(()=>{Cn()});var nle=y(()=>{});var ile=y(()=>{});var ale=y(()=>{});var sle=y(()=>{});var ole=y(()=>{});var lle=y(()=>{});var cle=y(()=>{});var dle=y(()=>{});var ule=y(()=>{});var ple=y(()=>{});var mle=y(()=>{});var fle=y(()=>{});var hle=y(()=>{});var gle=y(()=>{});var yle=y(()=>{});var vle=y(()=>{});var ble=y(()=>{});var Tle=y(()=>{});var kle=y(()=>{});var wle=y(()=>{});var Sle=y(()=>{});var Ele=y(()=>{});var xle=y(()=>{});var Cle=y(()=>{});var Dle=y(()=>{});var Ple=y(()=>{});var Mle=y(()=>{});var _le=y(()=>{});var Ale=y(()=>{});var Ile=y(()=>{});var Nle=y(()=>{});var Rle=y(()=>{});var Ole=y(()=>{});var Lle=y(()=>{});var Fle=y(()=>{});var $le=y(()=>{});var zle=y(()=>{});var jle=y(()=>{});var Ble=y(()=>{});var Ule=y(()=>{});function Xy(r,e,t){return Vf(r,-e,t)}var Hle=y(()=>{GM()});var Vle=y(()=>{});var qle=y(()=>{});var Wle=y(()=>{});var Yle=y(()=>{});var Gle=y(()=>{});var Kle=y(()=>{});var Zle=y(()=>{});var Qle=y(()=>{});var Jle=y(()=>{});var Xle=y(()=>{});var ece=y(()=>{});var tce=y(()=>{});var rce=y(()=>{});var nce=y(()=>{});var ice=y(()=>{});var ace=y(()=>{});var sce=y(()=>{});var oce=y(()=>{});var lce=y(()=>{});var cce=y(()=>{});var dce=y(()=>{});var uce=y(()=>{});var pce=y(()=>{});var mce=y(()=>{});var fce=y(()=>{});function Ls(r,e){var c;let t=()=>Ln(e==null?void 0:e.in,NaN),n=(c=e==null?void 0:e.additionalDigits)!=null?c:2,i=mKe(r),a;if(i.date){let d=fKe(i.date,n);a=hKe(d.restDateString,d.year)}if(!a||isNaN(+a))return t();let s=+a,o=0,l;if(i.time&&(o=gKe(i.time),isNaN(o)))return t();if(i.timezone){if(l=yKe(i.timezone),isNaN(l))return t()}else{let d=new Date(s+o),u=dt(0,e==null?void 0:e.in);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return dt(s+o+l,e==null?void 0:e.in)}function mKe(r){let e={},t=r.split(s_.dateTimeDelimiter),n;if(t.length>2)return e;if(/:/.test(t[0])?n=t[0]:(e.date=t[0],n=t[1],s_.timeZoneDelimiter.test(e.date)&&(e.date=r.split(s_.timeZoneDelimiter)[0],n=r.substr(e.date.length,r.length))),n){let i=s_.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function fKe(r,e){let t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=r.match(t);if(!n)return{year:NaN,restDateString:""};let i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?i:a*100,restDateString:r.slice((n[1]||n[2]).length)}}function hKe(r,e){if(e===null)return new Date(NaN);let t=r.match(dKe);if(!t)return new Date(NaN);let n=!!t[4],i=xw(t[1]),a=xw(t[2])-1,s=xw(t[3]),o=xw(t[4]),l=xw(t[5])-1;if(n)return wKe(e,o,l)?vKe(e,o,l):new Date(NaN);{let c=new Date(0);return!TKe(e,a,s)||!kKe(e,i)?new Date(NaN):(c.setUTCFullYear(e,a,Math.max(i,s)),c)}}function xw(r){return r?parseInt(r):1}function gKe(r){let e=r.match(uKe);if(!e)return NaN;let t=Lj(e[1]),n=Lj(e[2]),i=Lj(e[3]);return SKe(t,n,i)?t*yj+n*gj+i*1e3:NaN}function Lj(r){return r&&parseFloat(r.replace(",","."))||0}function yKe(r){if(r==="Z")return 0;let e=r.match(pKe);if(!e)return 0;let t=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return EKe(n,i)?t*(n*yj+i*gj):NaN}function vKe(r,e,t){let n=new Date(0);n.setUTCFullYear(r,0,4);let i=n.getUTCDay()||7,a=(e-1)*7+t+1-i;return n.setUTCDate(n.getUTCDate()+a),n}function hce(r){return r%400===0||r%4===0&&r%100!==0}function TKe(r,e,t){return e>=0&&e<=11&&t>=1&&t<=(bKe[e]||(hce(r)?29:28))}function kKe(r,e){return e>=1&&e<=(hce(r)?366:365)}function wKe(r,e,t){return e>=1&&e<=53&&t>=0&&t<=6}function SKe(r,e,t){return r===24?e===0&&t===0:t>=0&&t<60&&e>=0&&e<60&&r>=0&&r<25}function EKe(r,e){return e>=0&&e<=59}var s_,dKe,uKe,pKe,bKe,gce=y(()=>{Wy();gl();Cn();s_={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dKe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,uKe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,pKe=/^([+-])(\d{2})(?::?(\d{2}))?$/;bKe=[31,null,31,30,31,30,31,31,30,31,30,31]});var yce=y(()=>{});var vce=y(()=>{});var bce=y(()=>{});var Tce=y(()=>{});var kce=y(()=>{});var wce=y(()=>{});var Sce=y(()=>{});var Ece=y(()=>{});var xce=y(()=>{});var Cce=y(()=>{});var Dce=y(()=>{});var Pce=y(()=>{});var Mce=y(()=>{});var _ce=y(()=>{});var Ace=y(()=>{});var Ice=y(()=>{});var Nce=y(()=>{});var Rce=y(()=>{});var Oce=y(()=>{});var Lce=y(()=>{});var Fce=y(()=>{});var $ce=y(()=>{});var zce=y(()=>{});var jce=y(()=>{});var Bce=y(()=>{});var Uce=y(()=>{});var Hce=y(()=>{});var Vce=y(()=>{});var qce=y(()=>{});var Wce=y(()=>{});var Yce=y(()=>{});var Gce=y(()=>{});var Kce=y(()=>{});var Zce=y(()=>{});var Qce=y(()=>{});var Jce=y(()=>{});var Xce=y(()=>{});var ede=y(()=>{});var tde=y(()=>{});var rde=y(()=>{});var nde=y(()=>{});var ide=y(()=>{});var ade=y(()=>{});var sde=y(()=>{});var ode=y(()=>{});var lde=y(()=>{});var Br=y(()=>{uae();hae();GM();yae();wae();gae();Sae();bj();Eae();xae();Dae();Mae();_ae();Nae();Rae();Oae();Lae();Fae();gl();$ae();zae();Uae();wj();Hae();Vae();qae();Yae();Gae();Kae();Zae();Qae();Xae();ese();tse();ase();sse();ose();lse();cse();dse();use();pse();mse();hse();gse();yse();bse();wse();Sse();rse();Ese();xse();Dse();Pse();Mse();nse();_se();Ase();Ise();Nse();Cse();kse();Rse();foe();hoe();goe();yoe();voe();boe();Toe();koe();woe();Soe();Eoe();xoe();Coe();Doe();Poe();Mj();Moe();Aoe();Ioe();Noe();Roe();Ooe();_j();QM();Loe();Foe();$oe();zoe();joe();Wae();Boe();Uoe();Hoe();Ij();Voe();a_();Woe();Yoe();Goe();Koe();Zoe();Qoe();Joe();Xoe();ele();tle();rle();xj();nle();ile();ale();sle();ole();ise();_oe();fle();hle();gle();jae();vle();Tle();kle();Sle();Ele();xle();Dle();ble();Ple();pae();mae();Mle();_le();Ale();Ile();Nle();Rle();Ole();Lle();Fle();$le();zle();jle();Cj();Ble();fae();Ule();Vle();qle();Yle();Gle();qoe();Kle();Wle();Zle();Qle();Aae();Jle();Xle();ece();tce();Iae();rce();nce();ice();ace();sce();oce();lce();cce();dce();uce();pce();mce();fce();mle();gce();yce();vce();bce();Tce();kce();wce();Sce();Ece();xce();Cce();Dce();Pce();Mce();_ce();Ace();Ice();Rce();Oce();ule();Lce();Fce();$ce();ple();dle();kae();zce();jce();Nce();Bce();Uce();cle();Hce();Vce();XM();qce();yle();Sw();Sj();wle();vse();fse();Cle();Wce();Yce();Gy();Aj();Dj();Gce();Zce();Qce();Hle();Jce();Jae();Xce();ede();Kce();tde();rde();nde();ide();Cn();lle();ade();sde();ode();lde()});var jd=E(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});var yn=require("obsidian"),Fj="YYYY-MM-DD",$j="gggg-[W]ww",cde="YYYY-MM",dde="YYYY-[Q]Q",ude="YYYY";function Cw(r){var t,n;let e=window.app.plugins.getPlugin("periodic-notes");return e&&((n=(t=e.settings)==null?void 0:t[r])==null?void 0:n.enabled)}function Dw(){var r,e,t,n;try{let{internalPlugins:i,plugins:a}=window.app;if(Cw("daily")){let{format:c,folder:d,template:u}=((e=(r=a.getPlugin("periodic-notes"))==null?void 0:r.settings)==null?void 0:e.daily)||{};return{format:c||Fj,folder:(d==null?void 0:d.trim())||"",template:(u==null?void 0:u.trim())||""}}let{folder:s,format:o,template:l}=((n=(t=i.getPluginById("daily-notes"))==null?void 0:t.instance)==null?void 0:n.options)||{};return{format:o||Fj,folder:(s==null?void 0:s.trim())||"",template:(l==null?void 0:l.trim())||""}}catch(i){console.info("No custom daily note settings found!",i)}}function Pw(){var r,e,t,n,i,a,s;try{let o=window.app.plugins,l=(r=o.getPlugin("calendar"))==null?void 0:r.options,c=(t=(e=o.getPlugin("periodic-notes"))==null?void 0:e.settings)==null?void 0:t.weekly;if(Cw("weekly"))return{format:c.format||$j,folder:((n=c.folder)==null?void 0:n.trim())||"",template:((i=c.template)==null?void 0:i.trim())||""};let d=l||{};return{format:d.weeklyNoteFormat||$j,folder:((a=d.weeklyNoteFolder)==null?void 0:a.trim())||"",template:((s=d.weeklyNoteTemplate)==null?void 0:s.trim())||""}}catch(o){console.info("No custom weekly note settings found!",o)}}function Mw(){var e,t,n,i;let r=window.app.plugins;try{let a=Cw("monthly")&&((t=(e=r.getPlugin("periodic-notes"))==null?void 0:e.settings)==null?void 0:t.monthly)||{};return{format:a.format||cde,folder:((n=a.folder)==null?void 0:n.trim())||"",template:((i=a.template)==null?void 0:i.trim())||""}}catch(a){console.info("No custom monthly note settings found!",a)}}function _w(){var e,t,n,i;let r=window.app.plugins;try{let a=Cw("quarterly")&&((t=(e=r.getPlugin("periodic-notes"))==null?void 0:e.settings)==null?void 0:t.quarterly)||{};return{format:a.format||dde,folder:((n=a.folder)==null?void 0:n.trim())||"",template:((i=a.template)==null?void 0:i.trim())||""}}catch(a){console.info("No custom quarterly note settings found!",a)}}function Aw(){var e,t,n,i;let r=window.app.plugins;try{let a=Cw("yearly")&&((t=(e=r.getPlugin("periodic-notes"))==null?void 0:e.settings)==null?void 0:t.yearly)||{};return{format:a.format||ude,folder:((n=a.folder)==null?void 0:n.trim())||"",template:((i=a.template)==null?void 0:i.trim())||""}}catch(a){console.info("No custom yearly note settings found!",a)}}function pde(...r){let e=[];for(let n=0,i=r.length;n<i;n++)e=e.concat(r[n].split("/"));let t=[];for(let n=0,i=e.length;n<i;n++){let a=e[n];!a||a==="."||t.push(a)}return e[0]===""&&t.unshift(""),t.join("/")}function xKe(r){let e=r.substring(r.lastIndexOf("/")+1);return e.lastIndexOf(".")!=-1&&(e=e.substring(0,e.lastIndexOf("."))),e}async function CKe(r){let e=r.replace(/\\/g,"/").split("/");if(e.pop(),e.length){let t=pde(...e);window.app.vault.getAbstractFileByPath(t)||await window.app.vault.createFolder(t)}}async function Iw(r,e){e.endsWith(".md")||(e+=".md");let t=yn.normalizePath(pde(r,e));return await CKe(t),t}async function ev(r){let{metadataCache:e,vault:t}=window.app,n=yn.normalizePath(r);if(n==="/")return Promise.resolve(["",null]);try{let i=e.getFirstLinkpathDest(n,""),a=await t.cachedRead(i),s=window.app.foldManager.load(i);return[a,s]}catch(i){return console.error(`Failed to read the daily note template '${n}'`,i),new yn.Notice("Failed to read the daily note template"),["",null]}}function vl(r,e="day"){let t=r.clone().startOf(e).format();return`${e}-${t}`}function mde(r){return r.replace(/\[[^\]]*\]/g,"")}function DKe(r,e){if(e==="week"){let t=mde(r);return/w{1,2}/i.test(t)&&(/M{1,4}/.test(t)||/D{1,4}/.test(t))}return!1}function tv(r,e){return fde(r.basename,e)}function PKe(r,e){return fde(xKe(r),e)}function fde(r,e){let n={day:Dw,week:Pw,month:Mw,quarter:_w,year:Aw}[e]().format.split("/").pop(),i=window.moment(r,n,!0);if(!i.isValid())return null;if(DKe(n,e)&&e==="week"){let a=mde(n);if(/w{1,2}/i.test(a))return window.moment(r,n.replace(/M{1,4}/g,"").replace(/D{1,4}/g,""),!1)}return i}var zj=class extends Error{};async function hde(r){let e=window.app,{vault:t}=e,n=window.moment,{template:i,format:a,folder:s}=Dw(),[o,l]=await ev(i),c=r.format(a),d=await Iw(s,c);try{let u=await t.create(d,o.replace(/{{\s*date\s*}}/gi,c).replace(/{{\s*time\s*}}/gi,n().format("HH:mm")).replace(/{{\s*title\s*}}/gi,c).replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(p,m,f,h,g,v)=>{let k=n(),b=r.clone().set({hour:k.get("hour"),minute:k.get("minute"),second:k.get("second")});return f&&b.add(parseInt(h,10),g),v?b.format(v.substring(1).trim()):b.format(a)}).replace(/{{\s*yesterday\s*}}/gi,r.clone().subtract(1,"day").format(a)).replace(/{{\s*tomorrow\s*}}/gi,r.clone().add(1,"d").format(a)));return e.foldManager.save(u,l),u}catch(u){console.error(`Failed to create file: '${d}'`,u),new yn.Notice("Unable to create new file.")}}function MKe(r,e){var t;return(t=e[vl(r,"day")])!=null?t:null}function _Ke(){let{vault:r}=window.app,{folder:e}=Dw(),t=r.getAbstractFileByPath(yn.normalizePath(e));if(!t)throw new zj("Failed to find daily notes folder");let n={};return yn.Vault.recurseChildren(t,i=>{if(i instanceof yn.TFile){let a=tv(i,"day");if(a){let s=vl(a,"day");n[s]=i}}}),n}var jj=class extends Error{};function AKe(){let{moment:r}=window,e=r.localeData()._week.dow,t=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];for(;e;)t.push(t.shift()),e--;return t}function IKe(r){return AKe().indexOf(r.toLowerCase())}async function gde(r){let{vault:e}=window.app,{template:t,format:n,folder:i}=Pw(),[a,s]=await ev(t),o=r.format(n),l=await Iw(i,o);try{let c=await e.create(l,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,f,h)=>{let g=window.moment(),v=r.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),f),h?v.format(h.substring(1).trim()):v.format(n)}).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=IKe(u);return r.weekday(m).format(p.trim())}));return window.app.foldManager.save(c,s),c}catch(c){console.error(`Failed to create file: '${l}'`,c),new yn.Notice("Unable to create new file.")}}function NKe(r,e){var t;return(t=e[vl(r,"week")])!=null?t:null}function RKe(){let r={};if(!vde())return r;let{vault:e}=window.app,{folder:t}=Pw(),n=e.getAbstractFileByPath(yn.normalizePath(t));if(!n)throw new jj("Failed to find weekly notes folder");return yn.Vault.recurseChildren(n,i=>{if(i instanceof yn.TFile){let a=tv(i,"week");if(a){let s=vl(a,"week");r[s]=i}}}),r}var Bj=class extends Error{};async function yde(r){let{vault:e}=window.app,{template:t,format:n,folder:i}=Mw(),[a,s]=await ev(t),o=r.format(n),l=await Iw(i,o);try{let c=await e.create(l,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,f,h)=>{let g=window.moment(),v=r.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),f),h?v.format(h.substring(1).trim()):v.format(n)}).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 yn.Notice("Unable to create new file.")}}function OKe(r,e){var t;return(t=e[vl(r,"month")])!=null?t:null}function LKe(){let r={};if(!bde())return r;let{vault:e}=window.app,{folder:t}=Mw(),n=e.getAbstractFileByPath(yn.normalizePath(t));if(!n)throw new Bj("Failed to find monthly notes folder");return yn.Vault.recurseChildren(n,i=>{if(i instanceof yn.TFile){let a=tv(i,"month");if(a){let s=vl(a,"month");r[s]=i}}}),r}var Uj=class extends Error{};async function FKe(r){let{vault:e}=window.app,{template:t,format:n,folder:i}=_w(),[a,s]=await ev(t),o=r.format(n),l=await Iw(i,o);try{let c=await e.create(l,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,f,h)=>{let g=window.moment(),v=r.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),f),h?v.format(h.substring(1).trim()):v.format(n)}).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 yn.Notice("Unable to create new file.")}}function $Ke(r,e){var t;return(t=e[vl(r,"quarter")])!=null?t:null}function zKe(){let r={};if(!Tde())return r;let{vault:e}=window.app,{folder:t}=_w(),n=e.getAbstractFileByPath(yn.normalizePath(t));if(!n)throw new Uj("Failed to find quarterly notes folder");return yn.Vault.recurseChildren(n,i=>{if(i instanceof yn.TFile){let a=tv(i,"quarter");if(a){let s=vl(a,"quarter");r[s]=i}}}),r}var Hj=class extends Error{};async function jKe(r){let{vault:e}=window.app,{template:t,format:n,folder:i}=Aw(),[a,s]=await ev(t),o=r.format(n),l=await Iw(i,o);try{let c=await e.create(l,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,f,h)=>{let g=window.moment(),v=r.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),f),h?v.format(h.substring(1).trim()):v.format(n)}).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 yn.Notice("Unable to create new file.")}}function BKe(r,e){var t;return(t=e[vl(r,"year")])!=null?t:null}function UKe(){let r={};if(!kde())return r;let{vault:e}=window.app,{folder:t}=Aw(),n=e.getAbstractFileByPath(yn.normalizePath(t));if(!n)throw new Hj("Failed to find yearly notes folder");return yn.Vault.recurseChildren(n,i=>{if(i instanceof yn.TFile){let a=tv(i,"year");if(a){let s=vl(a,"year");r[s]=i}}}),r}function HKe(){var n,i;let{app:r}=window,e=r.internalPlugins.plugins["daily-notes"];if(e&&e.enabled)return!0;let t=r.plugins.getPlugin("periodic-notes");return t&&((i=(n=t.settings)==null?void 0:n.daily)==null?void 0:i.enabled)}function vde(){var t,n;let{app:r}=window;if(r.plugins.getPlugin("calendar"))return!0;let e=r.plugins.getPlugin("periodic-notes");return e&&((n=(t=e.settings)==null?void 0:t.weekly)==null?void 0:n.enabled)}function bde(){var t,n;let{app:r}=window,e=r.plugins.getPlugin("periodic-notes");return e&&((n=(t=e.settings)==null?void 0:t.monthly)==null?void 0:n.enabled)}function Tde(){var t,n;let{app:r}=window,e=r.plugins.getPlugin("periodic-notes");return e&&((n=(t=e.settings)==null?void 0:t.quarterly)==null?void 0:n.enabled)}function kde(){var t,n;let{app:r}=window,e=r.plugins.getPlugin("periodic-notes");return e&&((n=(t=e.settings)==null?void 0:t.yearly)==null?void 0:n.enabled)}function VKe(r){let e={day:Dw,week:Pw,month:Mw,quarter:_w,year:Aw}[r];return e()}function qKe(r,e){return{day:hde,month:yde,week:gde}[r](e)}xt.DEFAULT_DAILY_NOTE_FORMAT=Fj;xt.DEFAULT_MONTHLY_NOTE_FORMAT=cde;xt.DEFAULT_QUARTERLY_NOTE_FORMAT=dde;xt.DEFAULT_WEEKLY_NOTE_FORMAT=$j;xt.DEFAULT_YEARLY_NOTE_FORMAT=ude;xt.appHasDailyNotesPluginLoaded=HKe;xt.appHasMonthlyNotesPluginLoaded=bde;xt.appHasQuarterlyNotesPluginLoaded=Tde;xt.appHasWeeklyNotesPluginLoaded=vde;xt.appHasYearlyNotesPluginLoaded=kde;xt.createDailyNote=hde;xt.createMonthlyNote=yde;xt.createPeriodicNote=qKe;xt.createQuarterlyNote=FKe;xt.createWeeklyNote=gde;xt.createYearlyNote=jKe;xt.getAllDailyNotes=_Ke;xt.getAllMonthlyNotes=LKe;xt.getAllQuarterlyNotes=zKe;xt.getAllWeeklyNotes=RKe;xt.getAllYearlyNotes=UKe;xt.getDailyNote=MKe;xt.getDailyNoteSettings=Dw;xt.getDateFromFile=tv;xt.getDateFromPath=PKe;xt.getDateUID=vl;xt.getMonthlyNote=OKe;xt.getMonthlyNoteSettings=Mw;xt.getPeriodicNoteSettings=VKe;xt.getQuarterlyNote=$Ke;xt.getQuarterlyNoteSettings=_w;xt.getTemplateInfo=ev;xt.getWeeklyNote=NKe;xt.getWeeklyNoteSettings=Pw;xt.getYearlyNote=BKe;xt.getYearlyNoteSettings=Aw});function wde(r){return r.replace(/\\/g,"/").replace(/^\/+/,"").replace(/\/+$/,"")}function cc(r){let e=Array.isArray(r)?r:typeof r=="string"?r.split(","):[];return Array.from(new Set(e.map(t=>wde(t.trim())).filter(t=>t.length>0)))}function rv(r,e){let t=wde(r);return e.some(n=>t===n||t.startsWith(`${n}/`))}var Nw=y(()=>{});function WKe(r){let e=r.toLowerCase();return e==="true"||e==="false"?e==="true":r}function Rw(r){let e=r.trim();return(e.startsWith("#")?e.slice(1).trim():e).replace(/\s+/g,"-")}function Vj(r){return r.trim().toLowerCase()==="tags"}function YKe(r){return typeof r=="string"&&r.trim().length===0}function Sde(r,e){return r===e}function dc(r){let e=[],t=new Set,n=i=>{let a=Rw(String(i));!a||t.has(a)||(t.add(a),e.push(a))};return Array.isArray(r)?(r.forEach(n),e):typeof r=="string"&&r.trim().length>0?(n(r),e):[]}function nv(r,e,t){if(!e||!t)return;if(Vj(e)){let a=dc(r.tags),s=Rw(t);a.some(l=>Rw(l)===s)||a.push(s),r.tags=a;return}let n=WKe(t),i=r[e];if(Array.isArray(i)){i.some(a=>Sde(a,n))||i.push(n),r[e]=i;return}if(i==null||YKe(i)){r[e]=n;return}if(Sde(i,n)){r[e]=i;return}r[e]=[i,n]}var iv=y(()=>{});var Ide,Nde,Bd,av,sv,ea,nt,Ja,Ud,Hd,Vd,Pa,xp,Rde,Ode,Ur=y(()=>{Ide="tasknotes-mini-calendar-view",Nde="tasknotes-agenda-view",Bd="tasknotes-pomodoro-view",av="tasknotes-pomodoro-stats-view",sv="tasknotes-stats-view",ea="data-changed",nt="task-updated",Ja="task-deleted",Ud="pomodoro-start",Hd="pomodoro-complete",Vd="pomodoro-interrupt",Pa="pomodoro-tick",xp="date-changed",Rde=[{id:"title",label:"Title",category:"text",supportedOperators:["is","is-not","contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"text"},{id:"path",label:"Path",category:"select",supportedOperators:["contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"select"},{id:"status",label:"Status",category:"select",supportedOperators:["is","is-not","is-empty","is-not-empty"],valueInputType:"select"},{id:"priority",label:"Priority",category:"select",supportedOperators:["is","is-not","is-empty","is-not-empty"],valueInputType:"select"},{id:"tags",label:"Tags",category:"select",supportedOperators:["contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"select"},{id:"contexts",label:"Contexts",category:"select",supportedOperators:["contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"select"},{id:"projects",label:"Projects",category:"select",supportedOperators:["contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"select"},{id:"blockedBy",label:"Blocked By",category:"select",supportedOperators:["contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"text"},{id:"blocking",label:"Blocking",category:"select",supportedOperators:["contains","does-not-contain","is-empty","is-not-empty"],valueInputType:"text"},{id:"due",label:"Due Date",category:"date",supportedOperators:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],valueInputType:"date"},{id:"scheduled",label:"Scheduled Date",category:"date",supportedOperators:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],valueInputType:"date"},{id:"completedDate",label:"Completed Date",category:"date",supportedOperators:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],valueInputType:"date"},{id:"dateCreated",label:"Created Date",category:"date",supportedOperators:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],valueInputType:"date"},{id:"dateModified",label:"Modified Date",category:"date",supportedOperators:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],valueInputType:"date"},{id:"archived",label:"Archived",category:"boolean",supportedOperators:["is-checked","is-not-checked"],valueInputType:"none"},{id:"hasSubtasks",label:"Has Subtasks",category:"boolean",supportedOperators:["is-checked","is-not-checked"],valueInputType:"none"},{id:"timeEstimate",label:"Time Estimate",category:"numeric",supportedOperators:["is","is-not","is-greater-than","is-less-than","is-greater-than-or-equal","is-less-than-or-equal"],valueInputType:"number"},{id:"recurrence",label:"Recurrence",category:"special",supportedOperators:["is-empty","is-not-empty"],valueInputType:"none"},{id:"status.isCompleted",label:"Completed",category:"boolean",supportedOperators:["is-checked","is-not-checked"],valueInputType:"none"},{id:"dependencies.isBlocked",label:"Blocked",category:"boolean",supportedOperators:["is-checked","is-not-checked"],valueInputType:"none"},{id:"dependencies.isBlocking",label:"Blocking Others",category:"boolean",supportedOperators:["is-checked","is-not-checked"],valueInputType:"none"}],Ode=[{id:"is",label:"is",requiresValue:!0},{id:"is-not",label:"is not",requiresValue:!0},{id:"contains",label:"contains",requiresValue:!0},{id:"does-not-contain",label:"does not contain",requiresValue:!0},{id:"is-before",label:"is before",requiresValue:!0},{id:"is-after",label:"is after",requiresValue:!0},{id:"is-on-or-before",label:"is on or before",requiresValue:!0},{id:"is-on-or-after",label:"is on or after",requiresValue:!0},{id:"is-empty",label:"is empty",requiresValue:!1},{id:"is-not-empty",label:"is not empty",requiresValue:!1},{id:"is-checked",label:"is checked",requiresValue:!1},{id:"is-not-checked",label:"is not checked",requiresValue:!1},{id:"is-greater-than",label:"is greater than",requiresValue:!0},{id:"is-less-than",label:"is less than",requiresValue:!0},{id:"is-greater-than-or-equal",label:"is equal or greater than",requiresValue:!0},{id:"is-less-than-or-equal",label:"is equal or less than",requiresValue:!0}]});var Bde={};et(Bde,{DEFAULT_CORE_FIELDS:()=>Fde,DEFAULT_FIELD_GROUPS:()=>Lde,createDefaultFieldConfig:()=>$de,getFieldsByGroup:()=>n8e,getFieldsForModal:()=>zde,initializeFieldConfig:()=>uc,migrateUserFieldsToFieldConfig:()=>jde});function $de(){return{version:1,fields:[...Fde],groups:[...Lde]}}function zde(r,e){return r.fields.filter(t=>t.enabled).filter(t=>e?t.visibleInCreation:t.visibleInEdit).sort((t,n)=>{var o,l;let i=r.groups.find(c=>c.id===t.group),a=r.groups.find(c=>c.id===n.group),s=((o=i==null?void 0:i.order)!=null?o:0)-((l=a==null?void 0:a.order)!=null?l:0);return s!==0?s:t.order-n.order})}function n8e(r,e){let t=zde(r,e),n=new Map;for(let i of t){let a=n.get(i.group)||[];a.push(i),n.set(i.group,a)}return n}function jde(r){return!r||r.length===0?[]:r.map((e,t)=>({id:e.id||`user-${t}`,fieldType:"user",group:"custom",displayName:e.displayName||`Field ${t+1}`,visibleInCreation:!0,visibleInEdit:!0,order:t,enabled:!0}))}function uc(r,e){if(r)return r;let t=$de();if(e&&e.length>0){let n=jde(e);t.fields.push(...n)}return t}var Lde,Fde,$w=y(()=>{Lde=[{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}],Fde=[{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}]});function Ude(r,e,t){if(!(e!=null&&e.fields))return!0;let n=e.fields.find(a=>a.id===r);if(!n)return!0;let i=t?n.visibleInCreation:n.visibleInEdit;return!!n.enabled&&!!i}function Hde(r,e){let{getFieldsByGroup:t}=($w(),WM(Bde)),n=t(r,e);return[...r.groups||[]].sort((a,s)=>a.order-s.order).map(a=>({id:a.id,fields:n.get(a.id)||[]})).filter(a=>a.fields.length>0)}var Wj=y(()=>{});function Yj(r){let{container:e,fieldConfig:t,fieldRenderers:n,renderUserField:i}=r,a=n[t.id];return a?(a(e,t),!0):t.fieldType==="user"?(i(e,t),!0):!1}function Vde(r){let e=Hde(r.config,r.isCreationMode),t={groupsRendered:0,fieldsRendered:0,ignoredFieldIds:[]};for(let n of e){if(n.id==="basic")continue;let i=r.container.createDiv({cls:"task-modal__field-group"});t.groupsRendered+=1;for(let a of n.fields)Yj({container:i,fieldConfig:a,fieldRenderers:r.fieldRenderers,renderUserField:r.renderUserField})?t.fieldsRendered+=1:t.ignoredFieldIds.push(a.id)}return t}var qde=y(()=>{Wj()});function Gj(r){let e=typeof r=="function"?r():r,t=e==null?void 0:e.trim();return t||null}function i8e(r,e,t={}){let n=["TaskNotes"],i=Gj(r);return i&&n.push(i),t.category&&n.push(t.category),t.operation&&n.push(t.operation),`${n.map(a=>`[${a}]`).join("")} ${e}`}function o_(r,e,t,n,i){let a=[i8e(t,n,i)];i!=null&&i.details&&a.push(i.details),(i==null?void 0:i.error)!==void 0&&a.push(i.error),r[e](...a)}function I(r={}){var n,i;let e=(n=r.sink)!=null?n:console,t=(i=r.isDebugEnabled)!=null?i:(()=>!1);return{debug(a,s){t()&&o_(e,"debug",r.tag,a,s)},info(a,s){o_(e,"info",r.tag,a,s)},warn(a,s){o_(e,"warn",r.tag,a,s)},error(a,s){o_(e,"error",r.tag,a,s)},child(a){let s=r.tag;return I({...r,tag:()=>{let o=Gj(s),l=Gj(a);return[o,l].filter(Boolean).join("/")}})}}}var G=y(()=>{});function Wde(r,e){let t=Object.keys(e).map(n=>a8e(r,n,e[n]));return t.length===1?t[0]:function(){t.forEach(n=>n())}}function a8e(r,e,t){let n=r[e],i=r.hasOwnProperty(e),a=i?n:function(){return Object.getPrototypeOf(r)[e].apply(this,arguments)},s=t(a);return n&&Object.setPrototypeOf(s,n),Object.setPrototypeOf(o,s),r[e]=o,l;function o(...c){return s===a&&r[e]===o&&l(),s.apply(this,c)}function l(){r[e]===o&&(i?r[e]=a:delete r[e]),s!==a&&(s=a,Object.setPrototypeOf(o,n||Function))}}var Yde=y(()=>{});var Qj={};et(Qj,{EmbeddableMarkdownEditor:()=>Zj,getMarkdownEditorTooltipParent:()=>Kde});function s8e(r){let e=r.workspace.getActiveFile();if(!(e instanceof l_.TFile))throw new Error("Cannot resolve markdown editor prototype without an active markdown file.");let t=r.embedRegistry.embedByExtension.md({app:r,containerEl:activeDocument.createElement("div")},e,"");t.editable=!0,t.showEditor();let n=t.editMode;if(!n)throw t.unload(),new Error("Markdown editor edit mode was not initialized");let i=Object.getPrototypeOf(Object.getPrototypeOf(n));return t.unload(),i.constructor}function o8e(){return typeof app=="undefined"?class{constructor(e,t,n){this.containerEl=activeDocument.createElement("div");this.editor={cm:new qd.EditorView};this.editorEl=activeDocument.createElement("div");this.owner={editMode:null,editor:null};this._loaded=!1;this.app=e,this.containerEl=t}set(e){let t=this.editor.cm;t.dispatch({changes:{from:0,to:t.state.doc.length,insert:e}})}onUpdate(e,t){}buildLocalExtensions(){return[]}destroy(){}unload(){}}:s8e(app)}function Kde(r){var e,t;return(t=(e=r.ownerDocument)==null?void 0:e.body)!=null?t:activeDocument.body}var l_,pc,qd,Gde,Kj,Zj,Jj=y(()=>{l_=require("obsidian"),pc=require("@codemirror/state"),qd=require("@codemirror/view");Yde();Gde={cursorLocation:void 0,value:"",cls:"",placeholder:"",onEnter:()=>!1,onEscape:()=>{},onTab:()=>!1,onSubmit:()=>{},onBlur:()=>{},onPaste:()=>{},onChange:()=>{},extensions:[],enterVimInsertMode:!1,file:void 0};Kj=class{constructor(e){this.view=e}getDoc(){return this}getValue(){return this.view.state.doc.toString()}setValue(e){this.view.dispatch({changes:{from:0,to:this.view.state.doc.length,insert:e}})}getLine(e){return this.view.state.doc.line(e+1).text}lineCount(){return this.view.state.doc.lines}lastLine(){return this.lineCount()-1}getSelection(){let e=this.view.state.selection.main;return this.view.state.doc.sliceString(e.from,e.to)}somethingSelected(){return!this.view.state.selection.main.empty}getRange(e,t){return this.view.state.doc.sliceString(this.posToOffset(e),this.posToOffset(t))}replaceSelection(e){let t=this.view.state.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:pc.EditorSelection.cursor(n.from+e.length)}));this.view.dispatch(t)}replaceRange(e,t,n){this.view.dispatch({changes:{from:this.posToOffset(t),to:this.posToOffset(n!=null?n:t),insert:e}})}getCursor(e="head"){let t=this.view.state.selection.main;switch(e){case"from":return this.offsetToPos(t.from);case"to":return this.offsetToPos(t.to);case"anchor":return this.offsetToPos(t.anchor);case"head":default:return this.offsetToPos(t.head)}}listSelections(){return this.view.state.selection.ranges.map(e=>({anchor:this.offsetToPos(e.anchor),head:this.offsetToPos(e.head)}))}setCursor(e,t){if(typeof e=="number"){this.setSelection({line:e,ch:t!=null?t:0});return}this.setSelection(e)}setSelection(e,t){this.view.dispatch({selection:pc.EditorSelection.range(this.posToOffset(e),this.posToOffset(t!=null?t:e))})}setSelections(e,t=0){e.length!==0&&this.view.dispatch({selection:pc.EditorSelection.create(e.map(n=>{var i;return pc.EditorSelection.range(this.posToOffset(n.anchor),this.posToOffset((i=n.head)!=null?i:n.anchor))}),t)})}focus(){this.view.focus()}blur(){this.view.contentDOM.blur()}hasFocus(){return this.view.hasFocus}transaction(e){var i,a;if(e.replaceSelection!==void 0){this.replaceSelection(e.replaceSelection);return}let t=(i=e.changes)==null?void 0:i.map(s=>{var o;return{from:this.posToOffset(s.from),to:this.posToOffset((o=s.to)!=null?o:s.from),insert:s.text}}),n=(a=e.selections)!=null?a:e.selection?[e.selection]:void 0;this.view.dispatch({...t?{changes:t}:{},...n&&n.length>0?{selection:pc.EditorSelection.create(n.map(s=>{var o;return pc.EditorSelection.range(this.posToOffset(s.from),this.posToOffset((o=s.to)!=null?o:s.from))}))}:{}})}posToOffset(e){let t=Math.max(1,Math.min(e.line+1,this.view.state.doc.lines)),n=this.view.state.doc.line(t);return Math.max(n.from,Math.min(n.from+e.ch,n.to))}offsetToPos(e){let t=Math.max(0,Math.min(e,this.view.state.doc.length)),n=this.view.state.doc.lineAt(t);return{line:n.number-1,ch:t-n.from}}},Zj=class extends o8e(){constructor(t,n,i={}){super(t,n,{app:t,onMarkdownScroll:()=>{},getMode:()=>"source"});this.hasEnteredVimInsertMode=!1;this.options={...Gde,...i},this.initial_value=this.options.value,this.scope=new l_.Scope(this.app.scope),this.scope.register(["Mod"],"Enter",(a,s)=>!0),this.scope.register(["Mod","Shift"],"Enter",(a,s)=>!0),this.owner.editMode=this,this.owner.editor=this.editor,this.activeEditorOwner={editMode:this,editor:new Kj(this.editor.cm),file:this.getActiveEditorFile()},this.set(i.value||""),this.uninstaller=Wde(this.app.workspace,{setActiveLeaf:a=>function(...s){var o;(o=this.activeCM)!=null&&o.hasFocus||a.call(this,...s)}}),this.options.onBlur!==Gde.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.activeEditorOwner.file=this.getActiveEditorFile(),this.app.workspace.activeEditor=this.activeEditorOwner,this.options.enterVimInsertMode&&!this.hasEnteredVimInsertMode&&(this.hasEnteredVimInsertMode=!0,this.enterVimInsertMode())}),i.cls&&this.editorEl.classList.add(i.cls),i.cursorLocation&&this.editor.cm.dispatch({selection:pc.EditorSelection.range(i.cursorLocation.anchor,i.cursorLocation.head)})}getActiveEditorFile(){var t;return this.options.file!==void 0?(t=this.options.file)!=null?t:null:this.app.workspace.getActiveFile()}get value(){return this.editor.cm.state.doc.toString()}setValue(t){this.set(t)}enterVimInsertMode(){window.setTimeout(()=>{var t,n;try{if(!this.app.vault.getConfig("vimMode"))return;let a=(t=window.CodeMirrorAdapter)==null?void 0:t.Vim;if(!a)return;let s=(n=this.editor.cm.cm)!=null?n:this.activeCM;if(!s)return;a.handleKey(s,"i","api")}catch(i){}},50)}onUpdate(t,n){super.onUpdate(t,n),n&&this.options.onChange(this.value,t)}buildLocalExtensions(){let t=super.buildLocalExtensions();return t.push((0,qd.tooltips)({parent:Kde(this.containerEl)})),this.options.placeholder&&t.push((0,qd.placeholder)(this.options.placeholder)),t.push(qd.EditorView.domEventHandlers({paste:n=>{this.options.onPaste(n,this)}})),t.push(pc.Prec.highest(qd.keymap.of([{key:"Enter",run:n=>this.options.onEnter(this,!1,!1),shift:n=>this.options.onEnter(this,!1,!0)},{key:"Shift-Mod-Enter",run:n=>(this.options.onSubmit(this,!0),!0)},{key:"Mod-Enter",run:n=>(this.options.onSubmit(this,!1),!0)},{key:"Escape",run:n=>(this.options.onEscape(this),!0)},{key:"Tab",run:n=>this.options.onTab(this,!1)},{key:"Shift-Tab",run:n=>this.options.onTab(this,!0)}]))),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);let t=this.app.workspace;t.activeEditor===this.activeEditorOwner&&(t.activeEditor=null),this.uninstaller&&(this.uninstaller(),this.uninstaller=void 0),this.containerEl.empty(),super.destroy()}onunload(){this.destroy()}}});function c8e(){return(Jj(),WM(Qj)).EmbeddableMarkdownEditor}function c_(r,e,t){try{let n=c8e();return new n(r,e,{...t,onSubmit:(i,a)=>t.onSubmit(a),onTab:(i,a)=>t.onTab(a)})}catch(n){l8e.error("Failed to create markdown editor:",{category:"persistence",operation:"create-markdown-editor",error:n});let i=e.createEl("textarea",{cls:t.cls+"-fallback",placeholder:t.placeholder});return i.value=t.value,i.addEventListener("input",a=>{t.onChange(a.target.value)}),i.addEventListener("keydown",a=>{a.key==="Enter"&&(a.ctrlKey||a.metaKey)?(a.preventDefault(),t.onSubmit(a.shiftKey)):a.key==="Escape"?(a.preventDefault(),t.onEscape()):a.key==="Tab"&&t.onTab(a.shiftKey)&&a.preventDefault()}),null}}var l8e,Xj=y(()=>{G();l8e=I({tag:"Modals/TaskModalEditorAdapter"})});function Zde(r){var n;let e=r.parent.createDiv("detail-label");e.textContent=r.label;let t=r.parent.createDiv("tn-task-modal__markdown-editor tn-task-modal__markdown-editor--details");return c_(r.app,t,{value:r.value,placeholder:r.placeholder,cls:"details-editor",onChange:r.onChange,onSubmit:r.onSubmit,onEscape:r.onEscape,onTab:i=>r.tabMovesFocus?i?r.focusPreviousField():r.focusNextField():!1,file:(n=r.file)!=null?n:null})}function Qde(r,e){r==null||r.setValue(e)}function Jde(r){r==null||r.destroy()}var eB=y(()=>{Xj()});function iue(r){let e=f8e(r),t=e.match(rB);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s);if(!aue(o,l,c))throw new Error(`Invalid date "${r}".`);return new Date(Date.UTC(o,l-1,c,0,0,0,0))}if(!h8e(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!sue(n))throw new Error(`Invalid date "${r}".`);return n}function u8e(r){if(!sue(r))return"";let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}function p8e(r){if(!/^\d{4}-\d{2}-\d{2}$/.test(r))throw new Error(`Invalid date "${r}". Expected YYYY-MM-DD.`);return iue(r),r}function m8e(r){if(!r)return"";let e=r.trim();if(rB.test(e))return e;let t=e.indexOf("T");if(t>-1)return e.slice(0,t);let n=e.indexOf(" ");return n>-1&&rB.test(e.slice(0,n))?e.slice(0,n):u8e(iue(e))}function Xde(r){let e=[],t=new Set;for(let n of r)if(typeof n=="string")try{let i=p8e(m8e(n.trim()));t.has(i)||(t.add(i),e.push(i))}catch(i){}return e}function f8e(r,e="Date string cannot be empty"){if(!r||r.trim().length===0)throw new Error(e);return r.trim()}function h8e(r){let e=r.match(d8e);if(!e)return!1;let[,t,n,i,a,s,o,,l,c,d]=e;return aue(Number(t),Number(n),Number(i))&&g8e(Number(a),Number(s),Number(o))&&y8e(l,c,d)}function aue(r,e,t){let n=new Date(Date.UTC(r,e-1,t,0,0,0,0));return n.getUTCFullYear()===r&&n.getUTCMonth()===e-1&&n.getUTCDate()===t}function g8e(r,e,t){return r>=0&&r<=23&&e>=0&&e<=59&&t>=0&&t<=59}function y8e(r,e,t){if(!r)return!0;let n=Number(e),i=Number(t);return!(n>14||i>59||n===14&&i!==0)}function sue(r){return r instanceof Date&&!Number.isNaN(r.getTime())}function aB(r,e){return r[e]}function lue(r){if(typeof r=="string")return r;if(Array.isArray(r))return r.map(e=>String(e)).join(", ");if(r!=null){if(typeof r=="object")return"";if(typeof r=="number"||typeof r=="boolean")return String(r)}}function Wd(r,e=rue){return fue(Yn(r),e)}function Cp(r,e=nue){return fue(Yn(r),e)}function p_(r){let e=[],t=new Set,n=i=>{let a=cue(String(i));!a||t.has(a)||(t.add(a),e.push(a))};return Array.isArray(r)?(r.forEach(n),e):(typeof r=="string"&&r.trim().length>0&&n(r),e)}function cue(r){let e=r.trim();return(e.startsWith("#")?e.slice(1).trim():e).replace(/\s+/g,"-")}function sB(r,e,t,n=!1,i=[],a=rue,s=nue){if(!e)return{};let o={path:t};if(e[r.title]!==void 0){let l=lue(e[r.title]);l!==void 0&&l.trim().length>0?o.title=l:o.title=eue(t)}else(n||t)&&(o.title=eue(t));if(e[r.status]!==void 0&&(o.status=Wd(e[r.status],a)),e[r.priority]!==void 0&&(o.priority=Cp(e[r.priority],s)),e[r.due]!==void 0&&(o.due=Yn(e[r.due])),e[r.scheduled]!==void 0&&(o.scheduled=Yn(e[r.scheduled])),e[r.contexts]!==void 0&&(o.contexts=d_(e[r.contexts])),e[r.projects]!==void 0&&(o.projects=d_(e[r.projects])),e[r.timeEstimate]!==void 0&&(o.timeEstimate=v8e(e[r.timeEstimate])),e[r.completedDate]!==void 0&&(o.completedDate=Yn(e[r.completedDate])),e[r.recurrence]!==void 0&&(o.recurrence=Yn(e[r.recurrence])),e[r.recurrenceAnchor]!==void 0){let l=e[r.recurrenceAnchor];l==="scheduled"||l==="completion"?o.recurrence_anchor=l:l!=null&&!hue(l)&&(o.recurrence_anchor="scheduled")}if(e[r.dateCreated]!==void 0&&(o.dateCreated=Yn(e[r.dateCreated])),e[r.dateModified]!==void 0&&(o.dateModified=Yn(e[r.dateModified])),e[r.timeEntries]!==void 0&&(o.timeEntries=Array.isArray(e[r.timeEntries])?e[r.timeEntries]:[]),e[r.completeInstances]!==void 0){let l=e[r.completeInstances];o.complete_instances=Xde(Array.isArray(l)?l:[l])}if(e[r.skippedInstances]!==void 0){let l=e[r.skippedInstances];o.skipped_instances=Xde(Array.isArray(l)?l:[l])}if(e[r.recurrenceParent]!==void 0&&(o.recurrence_parent=Yn(e[r.recurrenceParent])),e[r.occurrenceDate]!==void 0&&(o.occurrence_date=Yn(e[r.occurrenceDate])),e[r.occurrenceMaterialization]!==void 0){let l=Yn(e[r.occurrenceMaterialization]);(l==="manual"||l==="on_completion"||l==="rolling")&&(o.occurrence_materialization=l)}if(e[r.occurrenceNextTrigger]!==void 0){let l=Yn(e[r.occurrenceNextTrigger]);(l==="completion"||l==="completion_or_skip")&&(o.occurrence_next_trigger=l)}if(e[r.occurrenceTemplate]!==void 0&&(o.occurrence_template=Yn(e[r.occurrenceTemplate])),e[r.occurrencePastHorizon]!==void 0&&(o.occurrence_past_horizon=Yn(e[r.occurrencePastHorizon])),e[r.occurrenceFutureHorizon]!==void 0&&(o.occurrence_future_horizon=Yn(e[r.occurrenceFutureHorizon])),r.blockedBy&&e[r.blockedBy]!==void 0&&(o.blockedBy=pue(e[r.blockedBy])),e[r.icsEventId]!==void 0&&(o.icsEventId=d_(e[r.icsEventId])),e[r.googleCalendarEventId]!==void 0&&(o.googleCalendarEventId=Yn(e[r.googleCalendarEventId])),e[r.googleCalendarExceptionEventId]!==void 0&&(o.googleCalendarExceptionEventId=Yn(e[r.googleCalendarExceptionEventId])),e[r.googleCalendarExceptionOriginalScheduled]!==void 0&&(o.googleCalendarExceptionOriginalScheduled=Yn(e[r.googleCalendarExceptionOriginalScheduled])),e[r.googleCalendarMovedOriginalDates]!==void 0&&(o.googleCalendarMovedOriginalDates=d_(e[r.googleCalendarMovedOriginalDates])),e[r.reminders]!==void 0&&(o.reminders=b8e(e[r.reminders])),e[r.sortOrder]!==void 0&&(o.sortOrder=Yn(e[r.sortOrder])),e.tags!==void 0){let l=p_(e.tags);o.tags=l,o.archived=l.includes(iB(r.archiveTag))}if(i.length>0){let l={},c=o;for(let d of i)e[d.key]!==void 0&&(c[d.key]=e[d.key],l[d.key]=e[d.key]);Object.keys(l).length>0&&(o.customProperties={...o.customProperties,...l})}return o}function oB(r,e,t,n=!1,i=[]){let a={};if(e.title!==void 0&&!n&&(a[r.title]=e.title),e.status!==void 0&&(a[r.status]=due(e.status)),e.priority!==void 0&&(a[r.priority]=e.priority),e.due!==void 0&&(a[r.due]=e.due),e.scheduled!==void 0&&(a[r.scheduled]=e.scheduled),e.contexts!==void 0&&(!Array.isArray(e.contexts)||e.contexts.length>0)&&(a[r.contexts]=e.contexts),e.projects!==void 0&&(!Array.isArray(e.projects)||e.projects.length>0)&&(a[r.projects]=e.projects),e.timeEstimate!==void 0&&(a[r.timeEstimate]=e.timeEstimate),e.completedDate!==void 0&&(a[r.completedDate]=e.completedDate),e.recurrence!==void 0&&(a[r.recurrence]=e.recurrence),e.recurrence_anchor!==void 0&&(a[r.recurrenceAnchor]=e.recurrence_anchor),e.recurrence_parent!==void 0&&(a[r.recurrenceParent]=e.recurrence_parent),e.occurrence_date!==void 0&&(a[r.occurrenceDate]=e.occurrence_date),e.occurrence_materialization!==void 0&&(a[r.occurrenceMaterialization]=e.occurrence_materialization),e.occurrence_next_trigger!==void 0&&(a[r.occurrenceNextTrigger]=e.occurrence_next_trigger),e.occurrence_template!==void 0&&(a[r.occurrenceTemplate]=e.occurrence_template),e.occurrence_past_horizon!==void 0&&(a[r.occurrencePastHorizon]=e.occurrence_past_horizon),e.occurrence_future_horizon!==void 0&&(a[r.occurrenceFutureHorizon]=e.occurrence_future_horizon),e.dateCreated!==void 0&&(a[r.dateCreated]=e.dateCreated),e.dateModified!==void 0&&(a[r.dateModified]=e.dateModified),e.sortOrder!==void 0&&(a[r.sortOrder]=e.sortOrder),e.timeEntries!==void 0&&(a[r.timeEntries]=e.timeEntries),e.complete_instances!==void 0&&(a[r.completeInstances]=e.complete_instances),e.skipped_instances!==void 0&&e.skipped_instances.length>0&&(a[r.skippedInstances]=e.skipped_instances),e.blockedBy!==void 0){let u=Array.isArray(e.blockedBy)?e.blockedBy.map(pB).filter(p=>!!p):[];u.length>0&&(a[r.blockedBy]=mue(u))}e.icsEventId!==void 0&&e.icsEventId.length>0&&(a[r.icsEventId]=e.icsEventId),e.googleCalendarEventId!==void 0&&(a[r.googleCalendarEventId]=e.googleCalendarEventId),e.googleCalendarExceptionEventId!==void 0&&(a[r.googleCalendarExceptionEventId]=e.googleCalendarExceptionEventId),e.googleCalendarExceptionOriginalScheduled!==void 0&&(a[r.googleCalendarExceptionOriginalScheduled]=e.googleCalendarExceptionOriginalScheduled),e.googleCalendarMovedOriginalDates!==void 0&&e.googleCalendarMovedOriginalDates.length>0&&(a[r.googleCalendarMovedOriginalDates]=e.googleCalendarMovedOriginalDates),e.reminders!==void 0&&e.reminders.length>0&&(a[r.reminders]=e.reminders);let s=p_(e.tags),o=t?iB(t):"",l=iB(r.archiveTag);o&&!s.includes(o)&&s.push(o),e.archived===!0&&!s.includes(l)?s.push(l):e.archived===!1&&(s=s.filter(u=>u!==l)),s.length>0&&(a.tags=s);let c=e.customProperties,d=e;for(let u of i)Object.prototype.hasOwnProperty.call(d,u.key)&&d[u.key]!==void 0?a[u.key]=d[u.key]:c&&Object.prototype.hasOwnProperty.call(c,u.key)&&c[u.key]!==void 0&&(a[u.key]=c[u.key]);return a}function due(r){let e=r.toLowerCase();return e==="true"||e==="false"?e==="true":r}function m_(r,e){for(let[t,n]of Object.entries(r))if(n===e)return t;return null}function lB(r,e){return m_(r,e)!==null}function cB(r,e,t){return r[t]===e}function dB(r,e){return e.map(t=>r[t])}function uB(r){let e=[],t=Object.keys(r);for(let i of t)(!r[i]||r[i].trim()==="")&&e.push(`Field "${i}" cannot be empty`);let n=Object.values(r);return n.length!==new Set(n).size&&e.push("Field mappings must have unique property names"),{valid:e.length===0,errors:e}}function uue(r){return oue.includes(r)}function pB(r){if(typeof r=="string"){let s=u_(r.trim());return s?{uid:s,reltype:nB}:null}if(!r||typeof r!="object")return null;let e=r,t=typeof e.uid=="string"?e.uid.trim():"";if(!t)return null;let n=typeof e.reltype=="string"?e.reltype.trim().toUpperCase():"",i=uue(n)?n:nB,a=typeof e.gap=="string"&&e.gap.trim().length>0?e.gap.trim():void 0;return a?{uid:u_(t),reltype:i,gap:a}:{uid:u_(t),reltype:i}}function pue(r){if(r==null)return;let e=(Array.isArray(r)?r:[r]).map(pB).filter(t=>!!t);return e.length>0?e:void 0}function mue(r){return r.map(e=>{let n={uid:e.uid.startsWith("[[")?e.uid:`[[${e.uid}]]`,reltype:e.reltype};return e.gap&&e.gap.trim().length>0&&(n.gap=e.gap),n})}function u_(r){let e=r.trim(),t=e.match(/^\[\[([^|\]#]+)(?:#[^\]|]+)?(?:\|[^\]]+)?\]\]$/);if(t)return t[1].trim();let n=e.match(/^\[[^\]]+\]\(([^)#]+)(?:#[^)]+)?\)$/);return n?decodeURI(n[1].trim()):e}function fue(r,e=[]){if(r===void 0||e.length===0)return r;let t=e.find(o=>o.value===r);if(t)return t.value;let n=tB(e,o=>o.label===r);if(n)return n.value;let i=r.trim().toLocaleLowerCase();if(i.length===0)return r;let a=tB(e,o=>o.value.trim().toLocaleLowerCase()===i);if(a)return a.value;let s=tB(e,o=>o.label.trim().toLocaleLowerCase()===i);return s?s.value:r}function tB(r,e){let t=r.filter(e);return t.length===1?t[0]:void 0}function Yn(r){if(r!=null){if(typeof r=="string")return hue(r)?void 0:r;if(typeof r=="number"||typeof r=="boolean")return String(r);if(Array.isArray(r))return r.length===1?Yn(r[0]):void 0}}function d_(r){return Array.isArray(r)?r.map(String):[String(r)]}function v8e(r){if(typeof r=="number")return r;if(typeof r=="string"&&r.trim()!==""){let e=Number(r);return Number.isNaN(e)?void 0:e}}function b8e(r){if(Array.isArray(r)){let e=r.filter(t=>t!=null);return e.length>0?e:void 0}return r!=null?[r]:void 0}function iB(r){var e;return(e=p_(r)[0])!=null?e:""}function eue(r){var e;return((e=r.split("/").pop())==null?void 0:e.replace(/\.md$/i,"").trim())||void 0}function hue(r){return typeof r=="string"&&r.trim().length===0}var tue,rue,nue,rB,d8e,nB,oue,mB=y(()=>{tue={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",recurrenceParent:"recurrence_parent",occurrenceDate:"occurrence_date",occurrenceMaterialization:"occurrence_materialization",occurrenceNextTrigger:"occurrence_next_trigger",occurrenceTemplate:"occurrence_template",occurrencePastHorizon:"occurrence_past_horizon",occurrenceFutureHorizon:"occurrence_future_horizon",archiveTag:"archived",timeEntries:"timeEntries",completeInstances:"complete_instances",skippedInstances:"skipped_instances",blockedBy:"blockedBy",pomodoros:"pomodoros",icsEventId:"icsEventId",icsEventTag:"ics_event",googleCalendarEventId:"googleCalendarEventId",googleCalendarExceptionEventId:"googleCalendarExceptionEventId",googleCalendarExceptionOriginalScheduled:"googleCalendarExceptionOriginalScheduled",googleCalendarMovedOriginalDates:"googleCalendarMovedOriginalDates",reminders:"reminders",sortOrder:"tasknotes_manual_order"},rue=[{id:"none",value:"none",label:"None",color:"#cccccc",isCompleted:!1,excludeFromCycle:!1,order:0,autoArchive:!1,autoArchiveDelay:5},{id:"open",value:"open",label:"Open",color:"#808080",isCompleted:!1,excludeFromCycle:!1,order:1,autoArchive:!1,autoArchiveDelay:5},{id:"in-progress",value:"in-progress",label:"In progress",color:"#0066cc",isCompleted:!1,excludeFromCycle:!1,order:2,autoArchive:!1,autoArchiveDelay:5},{id:"done",value:"done",label:"Done",color:"#00aa00",isCompleted:!0,excludeFromCycle:!1,order:3,autoArchive:!1,autoArchiveDelay:5}],nue=[{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}],rB=/^(\d{4})-(\d{2})-(\d{2})$/,d8e=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d{1,3})?(?:Z|([+-])(\d{2}):(\d{2}))?$/;nB="FINISHTOSTART",oue=["FINISHTOSTART","FINISHTOFINISH","STARTTOSTART","STARTTOFINISH"]});var zw=y(()=>{mB()});var Yf,fB=y(()=>{zw();Yf=class{constructor(e,t=[],n=[],i=[]){this.mapping=e;this.userFields=t;this.statuses=n;this.priorities=i}updateUserFields(e){this.userFields=e}updateConfiguredValues(e,t){this.statuses=e,this.priorities=t}getUserFields(){return[...this.userFields]}toUserField(e){return aB(this.mapping,e)}mapFromFrontmatter(e,t,n){let i=e!==null&&typeof e=="object"&&!Array.isArray(e)?e:void 0;return sB(this.mapping,i,t,n,this.userFields,this.statuses,this.priorities)}mapToFrontmatter(e,t,n){return oB(this.mapping,e,t,n,this.userFields)}updateMapping(e){this.mapping=e}getMapping(){return{...this.mapping}}lookupMappingKey(e){return m_(this.mapping,e)}isRecognizedProperty(e){return lB(this.mapping,e)}isPropertyForField(e,t){return cB(this.mapping,e,t)}toUserFields(e){return dB(this.mapping,e)}fromUserField(e){return this.lookupMappingKey(e)}static validateMapping(e){return uB(e)}}});var jw,f_=y(()=>{mB();jw=tue});var ov,Fn,Gf=y(()=>{ov=["MO","TU","WE","TH","FR","SA","SU"],Fn=(function(){function r(e,t){if(t===0)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return r.fromStr=function(e){return new r(ov.indexOf(e))},r.prototype.nth=function(e){return this.n===e?this:new r(this.weekday,e)},r.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},r.prototype.toString=function(){var e=ov[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},r.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},r})()});function Kf(r,e,t){t===void 0&&(t=" ");var n=String(r);return e=e>>0,n.length>e?String(n):(e=e-n.length,e>t.length&&(t+=$t(t,e/t.length)),t.slice(0,e)+String(n))}var Hr,Fs,hB,_i,go,$t,gue,yue,ta,h_,$s,$n,qt,Ma=y(()=>{Gf();Hr=function(r){return r!=null},Fs=function(r){return typeof r=="number"},hB=function(r){return typeof r=="string"&&ov.includes(r)},_i=Array.isArray,go=function(r,e){e===void 0&&(e=r),arguments.length===1&&(e=r,r=0);for(var t=[],n=r;n<e;n++)t.push(n);return t},$t=function(r,e){var t=0,n=[];if(_i(r))for(;t<e;t++)n[t]=[].concat(r);else for(;t<e;t++)n[t]=r;return n},gue=function(r){return _i(r)?r:[r]};yue=function(r,e,t){var n=r.split(e);return t?n.slice(0,t).concat([n.slice(t).join(e)]):n},ta=function(r,e){var t=r%e;return t*e<0?t+e:t},h_=function(r,e){return{div:Math.floor(r/e),mod:ta(r,e)}},$s=function(r){return!Hr(r)||r.length===0},$n=function(r){return!$s(r)},qt=function(r,e){return $n(r)&&r.indexOf(e)!==-1}});var bl,T8e,bue,g_,Tue,k8e,lv,gB,Zf,w8e,Bw,y_,S8e,Yd,yB,v_,b_,vB,Gd,cv,Uw,vue,kue,ra=y(()=>{Ma();bl=function(r,e,t,n,i,a){return n===void 0&&(n=0),i===void 0&&(i=0),a===void 0&&(a=0),new Date(Date.UTC(r,e-1,t,n,i,a))},T8e=[31,28,31,30,31,30,31,31,30,31,30,31],bue=1e3*60*60*24,g_=9999,Tue=bl(1970,1,1),k8e=[6,0,1,2,3,4,5],lv=function(r){return r%4===0&&r%100!==0||r%400===0},gB=function(r){return r instanceof Date},Zf=function(r){return gB(r)&&!isNaN(r.getTime())},w8e=function(r,e){var t=r.getTime(),n=e.getTime(),i=t-n;return Math.round(i/bue)},Bw=function(r){return w8e(r,Tue)},y_=function(r){return new Date(Tue.getTime()+r*bue)},S8e=function(r){var e=r.getUTCMonth();return e===1&&lv(r.getUTCFullYear())?29:T8e[e]},Yd=function(r){return k8e[r.getUTCDay()]},yB=function(r,e){var t=bl(r,e+1,1);return[Yd(t),S8e(t)]},v_=function(r,e){return e=e||r,new Date(Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},b_=function(r){var e=new Date(r.getTime());return e},vB=function(r){for(var e=[],t=0;t<r.length;t++)e.push(b_(r[t]));return e},Gd=function(r){r.sort(function(e,t){return e.getTime()-t.getTime()})},cv=function(r,e){e===void 0&&(e=!0);var t=new Date(r);return[Kf(t.getUTCFullYear().toString(),4,"0"),Kf(t.getUTCMonth()+1,2,"0"),Kf(t.getUTCDate(),2,"0"),"T",Kf(t.getUTCHours(),2,"0"),Kf(t.getUTCMinutes(),2,"0"),Kf(t.getUTCSeconds(),2,"0"),e?"Z":""].join("")},Uw=function(r){var e=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/,t=e.exec(r);if(!t)throw new Error("Invalid UNTIL value: ".concat(r));return new Date(Date.UTC(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10),parseInt(t[5],10)||0,parseInt(t[6],10)||0,parseInt(t[7],10)||0))},vue=function(r,e){var t=r.toLocaleString("sv-SE",{timeZone:e});return t.replace(" ","T")+"Z"},kue=function(r,e){var t=Intl.DateTimeFormat().resolvedOptions().timeZone,n=new Date(vue(r,t)),i=new Date(vue(r,e!=null?e:"UTC")),a=i.getTime()-n.getTime();return new Date(r.getTime()-a)}});var E8e,Kd,T_=y(()=>{E8e=(function(){function r(e,t){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=e,this.args=t,e==="between"?(this.maxDate=t.inc?t.before:new Date(t.before.getTime()-1),this.minDate=t.inc?t.after:new Date(t.after.getTime()+1)):e==="before"?this.maxDate=t.inc?t.dt:new Date(t.dt.getTime()-1):e==="after"&&(this.minDate=t.inc?t.dt:new Date(t.dt.getTime()+1))}return r.prototype.accept=function(e){++this.total;var t=this.minDate&&e<this.minDate,n=this.maxDate&&e>this.maxDate;if(this.method==="between"){if(t)return!0;if(n)return!1}else if(this.method==="before"){if(n)return!1}else if(this.method==="after")return t?!0:(this.add(e),!1);return this.add(e)},r.prototype.add=function(e){return this._result.push(e),!0},r.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;case"before":case"after":default:return e.length?e[e.length-1]:null}},r.prototype.clone=function(){return new r(this.method,this.args)},r})(),Kd=E8e});function dv(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");bB(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function de(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return r.concat(a||Array.prototype.slice.call(e))}var bB,Ai,Zd=y(()=>{bB=function(r,e){return bB=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},bB(r,e)};Ai=function(){return Ai=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ai.apply(this,arguments)}});var x8e,TB,wue=y(()=>{Zd();T_();x8e=(function(r){dv(e,r);function e(t,n,i){var a=r.call(this,t,n)||this;return a.iterator=i,a}return e.prototype.add=function(t){return this.iterator(t,this._result.length)?(this._result.push(t),!0):!1},e})(Kd),TB=x8e});var C8e,Qf,k_=y(()=>{C8e={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}},Qf=C8e});var Sue,D8e,P8e,M8e,mc,Eue=y(()=>{k_();yo();Ma();Sue=function(r,e){return r.indexOf(e)!==-1},D8e=function(r){return r.toString()},P8e=function(r,e,t){return"".concat(e," ").concat(t,", ").concat(r)},M8e=(function(){function r(e,t,n,i){if(t===void 0&&(t=D8e),n===void 0&&(n=Qf),i===void 0&&(i=P8e),this.text=[],this.language=n||Qf,this.gettext=t,this.dateFormatter=i,this.rrule=e,this.options=e.options,this.origOptions=e.origOptions,this.origOptions.bymonthday){var a=[].concat(this.options.bymonthday),s=[].concat(this.options.bynmonthday);a.sort(function(d,u){return d-u}),s.sort(function(d,u){return u-d}),this.bymonthday=a.concat(s),this.bymonthday.length||(this.bymonthday=null)}if(Hr(this.origOptions.byweekday)){var o=_i(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 r.isFullyConvertible=function(e){var t=!0;if(!(e.options.freq in r.IMPLEMENTED)||e.origOptions.until&&e.origOptions.count)return!1;for(var n in e.origOptions){if(Sue(["dtstart","tzid","wkst","freq"],n))return!0;if(!Sue(r.IMPLEMENTED[e.options.freq],n))return!1}return t},r.prototype.isFullyConvertible=function(){return r.isFullyConvertible(this.rrule)},r.prototype.toString=function(){var e=this.gettext;if(!(this.options.freq in r.IMPLEMENTED))return e("RRule error: Unable to fully convert this rrule to text");if(this.text=[e("every")],this[ye.FREQUENCIES[this.options.freq]](),this.options.until){this.add(e("until"));var t=this.options.until;this.add(this.dateFormatter(t.getUTCFullYear(),this.language.monthNames[t.getUTCMonth()],t.getUTCDate()))}else this.options.count&&this.add(e("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?e("times"):e("time"));return this.isFullyConvertible()||this.add(e("(~ approximate)")),this.text.join("")},r.prototype.HOURLY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("hours"):e("hour"))},r.prototype.MINUTELY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("minutes"):e("minute"))},r.prototype.DAILY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(this.plural(this.options.interval)?e("days"):e("day")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},r.prototype.WEEKLY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?e("weeks"):e("week")),this.byweekday&&this.byweekday.isWeekdays?this.options.interval===1?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(e("on")).add(e("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?e("days"):e("day")):(this.options.interval===1&&this.add(e("week")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},r.prototype.MONTHLY=function(){var e=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()).add(e("months")),this.plural(this.options.interval)&&this.add(e("in"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("months"):e("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(e("on")).add(e("weekdays")):this.byweekday&&this._byweekday()},r.prototype.YEARLY=function(){var e=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()),this.add(e("years"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("years"):e("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(e("on the")).add(this.list(this.options.byyearday,this.nth,e("and"))).add(e("day")),this.options.byweekno&&this.add(e("in")).add(this.plural(this.options.byweekno.length)?e("weeks"):e("week")).add(this.list(this.options.byweekno,void 0,e("and")))},r.prototype._bymonthday=function(){var e=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,e("or"))).add(e("the")).add(this.list(this.bymonthday,this.nth,e("or"))):this.add(e("on the")).add(this.list(this.bymonthday,this.nth,e("and")))},r.prototype._byweekday=function(){var e=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(e("and")),this.add(e("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,e("and"))))},r.prototype._byhour=function(){var e=this.gettext;this.add(e("at")).add(this.list(this.origOptions.byhour,void 0,e("and")))},r.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},r.prototype.nth=function(e){e=parseInt(e.toString(),10);var t,n=this.gettext;if(e===-1)return n("last");var i=Math.abs(e);switch(i){case 1:case 21:case 31:t=i+n("st");break;case 2:case 22:t=i+n("nd");break;case 3:case 23:t=i+n("rd");break;default:t=i+n("th")}return e<0?t+" "+n("last"):t},r.prototype.monthtext=function(e){return this.language.monthNames[e-1]},r.prototype.weekdaytext=function(e){var t=Fs(e)?(e+1)%7:e.getJsWeekday();return(e.n?this.nth(e.n)+" ":"")+this.language.dayNames[t]},r.prototype.plural=function(e){return e%100!==1},r.prototype.add=function(e){return this.text.push(" "),this.text.push(e),this},r.prototype.list=function(e,t,n,i){var a=this;i===void 0&&(i=","),_i(e)||(e=[e]);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};t=t||function(l){return l.toString()};var o=function(l){return t&&t.call(a,l)};return n?s(e.map(o),i,n):e.map(o).join(i+" ")},r})(),mc=M8e});function Hw(r,e){e===void 0&&(e=Qf);var t={},n=new _8e(e.tokens);if(!n.start(r))return null;return i(),t;function i(){n.expect("every");var p=n.acceptNumber();if(p&&(t.interval=parseInt(p[0],10)),n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":t.freq=ye.DAILY,n.nextSymbol()&&(s(),u());break;case"weekday(s)":t.freq=ye.WEEKLY,t.byweekday=[ye.MO,ye.TU,ye.WE,ye.TH,ye.FR],n.nextSymbol(),s(),u();break;case"week(s)":t.freq=ye.WEEKLY,n.nextSymbol()&&(a(),s(),u());break;case"hour(s)":t.freq=ye.HOURLY,n.nextSymbol()&&(a(),u());break;case"minute(s)":t.freq=ye.MINUTELY,n.nextSymbol()&&(a(),u());break;case"month(s)":t.freq=ye.MONTHLY,n.nextSymbol()&&(a(),u());break;case"year(s)":t.freq=ye.YEARLY,n.nextSymbol()&&(a(),u());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":t.freq=ye.WEEKLY;var m=n.symbol.substr(0,2).toUpperCase();if(t.byweekday=[ye[m]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var f=l();if(!f)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");t.byweekday.push(ye[f]),n.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(t.freq=ye.YEARLY,t.bymonth=[o()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var h=o();if(!h)throw new Error("Unexpected symbol "+n.symbol+", expected month");t.bymonth.push(h),n.nextSymbol()}a(),u();break;default:throw new Error("Unknown symbol")}}function a(){var p=n.accept("on"),m=n.accept("the");if(p||m)do{var f=c(),h=l(),g=o();if(f)h?(n.nextSymbol(),t.byweekday||(t.byweekday=[]),t.byweekday.push(ye[h].nth(f))):(t.bymonthday||(t.bymonthday=[]),t.bymonthday.push(f),n.accept("day(s)"));else if(h)n.nextSymbol(),t.byweekday||(t.byweekday=[]),t.byweekday.push(ye[h]);else if(n.symbol==="weekday(s)")n.nextSymbol(),t.byweekday||(t.byweekday=[ye.MO,ye.TU,ye.WE,ye.TH,ye.FR]);else if(n.symbol==="week(s)"){n.nextSymbol();var v=n.acceptNumber();if(!v)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(t.byweekno=[parseInt(v[0],10)];n.accept("comma");){if(v=n.acceptNumber(),!v)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");t.byweekno.push(parseInt(v[0],10))}}else if(g)n.nextSymbol(),t.bymonth||(t.bymonth=[]),t.bymonth.push(g);else return}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function s(){var p=n.accept("at");if(p)do{var m=n.acceptNumber();if(!m)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(t.byhour=[parseInt(m[0],10)];n.accept("comma");){if(m=n.acceptNumber(),!m)throw new Error("Unexpected symbol "+n.symbol+"; expected hour");t.byhour.push(parseInt(m[0],10))}}while(n.accept("comma")||n.accept("at"))}function o(){switch(n.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(n.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return n.symbol.substr(0,2).toUpperCase();default:return!1}}function c(){switch(n.symbol){case"last":return n.nextSymbol(),-1;case"first":return n.nextSymbol(),1;case"second":return n.nextSymbol(),n.accept("last")?-2:2;case"third":return n.nextSymbol(),n.accept("last")?-3:3;case"nth":var p=parseInt(n.value[1],10);if(p<-366||p>366)throw new Error("Nth out of range: "+p);return n.nextSymbol(),n.accept("last")?-p:p;default:return!1}}function d(){n.accept("on"),n.accept("the");var p=c();if(p)for(t.bymonthday=[p],n.nextSymbol();n.accept("comma");){if(p=c(),!p)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");t.bymonthday.push(p),n.nextSymbol()}}function u(){if(n.symbol==="until"){var p=Date.parse(n.text);if(!p)throw new Error("Cannot parse until date:"+n.text);t.until=new Date(p)}else n.accept("for")&&(t.count=parseInt(n.value[0],10),n.expect("number"))}}var _8e,xue=y(()=>{k_();yo();_8e=(function(){function r(e){this.done=!0,this.rules=e}return r.prototype.start=function(e){return this.text=e,this.done=!1,this.nextSymbol()},r.prototype.isDone=function(){return this.done&&this.symbol===null},r.prototype.nextSymbol=function(){var e,t;this.symbol=null,this.value=null;do{if(this.done)return!1;var n=void 0;e=null;for(var i in this.rules){n=this.rules[i];var a=n.exec(this.text);a&&(e===null||a[0].length>e[0].length)&&(e=a,t=i)}if(e!=null&&(this.text=this.text.substr(e[0].length),this.text===""&&(this.done=!0)),e==null){this.done=!0,this.symbol=null,this.value=null;return}}while(t==="SKIP");return this.symbol=t,this.value=e,!0},r.prototype.accept=function(e){if(this.symbol===e){if(this.value){var t=this.value;return this.nextSymbol(),t}return this.nextSymbol(),!0}return!1},r.prototype.acceptNumber=function(){return this.accept("number")},r.prototype.expect=function(e){if(this.accept(e))return!0;throw new Error("expected "+e+" but found "+this.symbol)},r})()});function Vw(r){return r<Tt.HOURLY}var Tt,Qd=y(()=>{(function(r){r[r.YEARLY=0]="YEARLY",r[r.MONTHLY=1]="MONTHLY",r[r.WEEKLY=2]="WEEKLY",r[r.DAILY=3]="DAILY",r[r.HOURLY=4]="HOURLY",r[r.MINUTELY=5]="MINUTELY",r[r.SECONDLY=6]="SECONDLY"})(Tt||(Tt={}))});var Cue,uv,Due,Pue,Mue=y(()=>{Eue();xue();yo();Qd();k_();Cue=function(r,e){return e===void 0&&(e=Qf),new ye(Hw(r,e)||void 0)},uv=["count","until","interval","byweekday","bymonthday","bymonth"];mc.IMPLEMENTED=[];mc.IMPLEMENTED[Tt.HOURLY]=uv;mc.IMPLEMENTED[Tt.MINUTELY]=uv;mc.IMPLEMENTED[Tt.DAILY]=["byhour"].concat(uv);mc.IMPLEMENTED[Tt.WEEKLY]=uv;mc.IMPLEMENTED[Tt.MONTHLY]=uv;mc.IMPLEMENTED[Tt.YEARLY]=["byweekno","byyearday"].concat(uv);Due=function(r,e,t,n){return new mc(r,e,t,n).toString()},Pue=mc.isFullyConvertible});var pv,_ue,w_=y(()=>{Zd();Qd();Ma();ra();pv=(function(){function r(e,t,n,i){this.hour=e,this.minute=t,this.second=n,this.millisecond=i||0}return r.prototype.getHours=function(){return this.hour},r.prototype.getMinutes=function(){return this.minute},r.prototype.getSeconds=function(){return this.second},r.prototype.getMilliseconds=function(){return this.millisecond},r.prototype.getTime=function(){return(this.hour*60*60+this.minute*60+this.second)*1e3+this.millisecond},r})(),_ue=(function(r){dv(e,r);function e(t,n,i,a,s,o,l){var c=r.call(this,a,s,o,l)||this;return c.year=t,c.month=n,c.day=i,c}return e.fromDate=function(t){return new this(t.getUTCFullYear(),t.getUTCMonth()+1,t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.valueOf()%1e3)},e.prototype.getWeekday=function(){return Yd(new Date(this.getTime()))},e.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},e.prototype.getDay=function(){return this.day},e.prototype.getMonth=function(){return this.month},e.prototype.getYear=function(){return this.year},e.prototype.addYears=function(t){this.year+=t},e.prototype.addMonths=function(t){if(this.month+=t,this.month>12){var n=Math.floor(this.month/12),i=ta(this.month,12);this.month=i,this.year+=n,this.month===0&&(this.month=12,--this.year)}},e.prototype.addWeekly=function(t,n){n>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-n))+t*7:this.day+=-(this.getWeekday()-n)+t*7,this.fixDay()},e.prototype.addDaily=function(t){this.day+=t,this.fixDay()},e.prototype.addHours=function(t,n,i){for(n&&(this.hour+=Math.floor((23-this.hour)/t)*t);;){this.hour+=t;var a=h_(this.hour,24),s=a.div,o=a.mod;if(s&&(this.hour=o,this.addDaily(s)),$s(i)||qt(i,this.hour))break}},e.prototype.addMinutes=function(t,n,i,a){for(n&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/t)*t);;){this.minute+=t;var s=h_(this.minute,60),o=s.div,l=s.mod;if(o&&(this.minute=l,this.addHours(o,!1,i)),($s(i)||qt(i,this.hour))&&($s(a)||qt(a,this.minute)))break}},e.prototype.addSeconds=function(t,n,i,a,s){for(n&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/t)*t);;){this.second+=t;var o=h_(this.second,60),l=o.div,c=o.mod;if(l&&(this.second=c,this.addMinutes(l,!1,i,a)),($s(i)||qt(i,this.hour))&&($s(a)||qt(a,this.minute))&&($s(s)||qt(s,this.second)))break}},e.prototype.fixDay=function(){if(!(this.day<=28)){var t=yB(this.year,this.month-1)[1];if(!(this.day<=t))for(;this.day>t;){if(this.day-=t,++this.month,this.month===13&&(this.month=1,++this.year,this.year>g_))return;t=yB(this.year,this.month-1)[1]}}},e.prototype.add=function(t,n){var i=t.freq,a=t.interval,s=t.wkst,o=t.byhour,l=t.byminute,c=t.bysecond;switch(i){case Tt.YEARLY:return this.addYears(a);case Tt.MONTHLY:return this.addMonths(a);case Tt.WEEKLY:return this.addWeekly(a,s);case Tt.DAILY:return this.addDaily(a);case Tt.HOURLY:return this.addHours(a,n,o);case Tt.MINUTELY:return this.addMinutes(a,n,o,l);case Tt.SECONDLY:return this.addSeconds(a,n,o,l,c)}},e})(pv)});function kB(r){for(var e=[],t=Object.keys(r),n=0,i=t;n<i.length;n++){var a=i[n];qt(Nue,a)||e.push(a),gB(r[a])&&!Zf(r[a])&&e.push(a)}if(e.length)throw new Error("Invalid options: "+e.join(", "));return Ai({},r)}function Aue(r){var e=Ai(Ai({},qw),kB(r));if(Hr(e.byeaster)&&(e.freq=ye.YEARLY),!(Hr(e.freq)&&ye.FREQUENCIES[e.freq]))throw new Error("Invalid frequency: ".concat(e.freq," ").concat(r.freq));if(e.dtstart||(e.dtstart=new Date(new Date().setMilliseconds(0))),Hr(e.wkst)?Fs(e.wkst)||(e.wkst=e.wkst.weekday):e.wkst=ye.MO.weekday,Hr(e.bysetpos)){Fs(e.bysetpos)&&(e.bysetpos=[e.bysetpos]);for(var t=0;t<e.bysetpos.length;t++){var n=e.bysetpos[t];if(n===0||!(n>=-366&&n<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(e.byweekno||$n(e.byweekno)||$n(e.byyearday)||e.bymonthday||$n(e.bymonthday)||Hr(e.byweekday)||Hr(e.byeaster)))switch(e.freq){case ye.YEARLY:e.bymonth||(e.bymonth=e.dtstart.getUTCMonth()+1),e.bymonthday=e.dtstart.getUTCDate();break;case ye.MONTHLY:e.bymonthday=e.dtstart.getUTCDate();break;case ye.WEEKLY:e.byweekday=[Yd(e.dtstart)];break}if(Hr(e.bymonth)&&!_i(e.bymonth)&&(e.bymonth=[e.bymonth]),Hr(e.byyearday)&&!_i(e.byyearday)&&Fs(e.byyearday)&&(e.byyearday=[e.byyearday]),!Hr(e.bymonthday))e.bymonthday=[],e.bynmonthday=[];else if(_i(e.bymonthday)){for(var i=[],a=[],t=0;t<e.bymonthday.length;t++){var n=e.bymonthday[t];n>0?i.push(n):n<0&&a.push(n)}e.bymonthday=i,e.bynmonthday=a}else e.bymonthday<0?(e.bynmonthday=[e.bymonthday],e.bymonthday=[]):(e.bynmonthday=[],e.bymonthday=[e.bymonthday]);if(Hr(e.byweekno)&&!_i(e.byweekno)&&(e.byweekno=[e.byweekno]),!Hr(e.byweekday))e.bynweekday=null;else if(Fs(e.byweekday))e.byweekday=[e.byweekday],e.bynweekday=null;else if(hB(e.byweekday))e.byweekday=[Fn.fromStr(e.byweekday).weekday],e.bynweekday=null;else if(e.byweekday instanceof Fn)!e.byweekday.n||e.freq>ye.MONTHLY?(e.byweekday=[e.byweekday.weekday],e.bynweekday=null):(e.bynweekday=[[e.byweekday.weekday,e.byweekday.n]],e.byweekday=null);else{for(var s=[],o=[],t=0;t<e.byweekday.length;t++){var l=e.byweekday[t];if(Fs(l)){s.push(l);continue}else if(hB(l)){s.push(Fn.fromStr(l).weekday);continue}!l.n||e.freq>ye.MONTHLY?s.push(l.weekday):o.push([l.weekday,l.n])}e.byweekday=$n(s)?s:null,e.bynweekday=$n(o)?o:null}return Hr(e.byhour)?Fs(e.byhour)&&(e.byhour=[e.byhour]):e.byhour=e.freq<ye.HOURLY?[e.dtstart.getUTCHours()]:null,Hr(e.byminute)?Fs(e.byminute)&&(e.byminute=[e.byminute]):e.byminute=e.freq<ye.MINUTELY?[e.dtstart.getUTCMinutes()]:null,Hr(e.bysecond)?Fs(e.bysecond)&&(e.bysecond=[e.bysecond]):e.bysecond=e.freq<ye.SECONDLY?[e.dtstart.getUTCSeconds()]:null,{parsedOptions:e}}function Iue(r){var e=r.dtstart.getTime()%1e3;if(!Vw(r.freq))return[];var t=[];return r.byhour.forEach(function(n){r.byminute.forEach(function(i){r.bysecond.forEach(function(a){t.push(new pv(n,i,a,e))})})}),t}var wB=y(()=>{Zd();Qd();Ma();yo();ra();Gf();w_()});function Yw(r){var e=r.split(`
`).map(A8e).filter(function(t){return t!==null});return Ai(Ai({},e[0]),e[1])}function Ww(r){var e={},t=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(r);if(!t)return e;var n=t[1],i=t[2];return n&&(e.tzid=n),e.dtstart=Uw(i),e}function A8e(r){if(r=r.replace(/^\s+|\s+$/,""),!r.length)return null;var e=/^([A-Z]+?)[:;]/.exec(r.toUpperCase());if(!e)return Rue(r);var t=e[1];switch(t.toUpperCase()){case"RRULE":case"EXRULE":return Rue(r);case"DTSTART":return Ww(r);default:throw new Error("Unsupported RFC prop ".concat(t," in ").concat(r))}}function Rue(r){var e=r.replace(/^RRULE:/i,""),t=Ww(e),n=r.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return n.forEach(function(i){var a=i.split("="),s=a[0],o=a[1];switch(s.toUpperCase()){case"FREQ":t.freq=Tt[o.toUpperCase()];break;case"WKST":t.wkst=vo[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=I8e(o),c=s.toLowerCase();t[c]=l;break;case"BYWEEKDAY":case"BYDAY":t.byweekday=N8e(o);break;case"DTSTART":case"TZID":var d=Ww(r);t.tzid=d.tzid,t.dtstart=d.dtstart;break;case"UNTIL":t.until=Uw(o);break;case"BYEASTER":t.byeaster=Number(o);break;default:throw new Error("Unknown RRULE property '"+s+"'")}}),t}function I8e(r){if(r.indexOf(",")!==-1){var e=r.split(",");return e.map(Oue)}return Oue(r)}function Oue(r){return/^[+-]?\d+$/.test(r)?Number(r):r}function N8e(r){var e=r.split(",");return e.map(function(t){if(t.length===2)return vo[t];var n=t.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!n||n.length<3)throw new SyntaxError("Invalid weekday string: ".concat(t));var i=Number(n[1]),a=n[2],s=vo[a].weekday;return new Fn(s,i)})}var SB=y(()=>{Zd();Qd();Gf();ra();yo()});var Jf,S_=y(()=>{ra();Jf=(function(){function r(e,t){if(isNaN(e.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=e,this.tzid=t}return Object.defineProperty(r.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){var e=cv(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(e):";TZID=".concat(this.tzid,":").concat(e)},r.prototype.getTime=function(){return this.date.getTime()},r.prototype.rezonedDate=function(){return this.isUTC?this.date:kue(this.date,this.tzid)},r})()});function Gw(r){for(var e=[],t="",n=Object.keys(r),i=Object.keys(qw),a=0;a<n.length;a++)if(n[a]!=="tzid"&&qt(i,n[a])){var s=n[a].toUpperCase(),o=r[n[a]],l="";if(!(!Hr(o)||_i(o)&&!o.length)){switch(s){case"FREQ":l=ye.FREQUENCIES[r.freq];break;case"WKST":Fs(o)?l=new Fn(o).toString():l=o.toString();break;case"BYWEEKDAY":s="BYDAY",l=gue(o).map(function(m){return m instanceof Fn?m:_i(m)?new Fn(m[0],m[1]):new Fn(m)}).toString();break;case"DTSTART":t=R8e(o,r.tzid);break;case"UNTIL":l=cv(o,!r.tzid);break;default:if(_i(o)){for(var c=[],d=0;d<o.length;d++)c[d]=String(o[d]);l=c.toString()}else l=String(o)}l&&e.push([s,l])}}var u=e.map(function(m){var f=m[0],h=m[1];return"".concat(f,"=").concat(h.toString())}).join(";"),p="";return u!==""&&(p="RRULE:".concat(u)),[t,p].filter(function(m){return!!m}).join(`
`)}function R8e(r,e){return r?"DTSTART"+new Jf(new Date(r),e).toString():""}var EB=y(()=>{yo();Ma();Gf();ra();S_()});function O8e(r,e){return Array.isArray(r)?!Array.isArray(e)||r.length!==e.length?!1:r.every(function(t,n){return t.getTime()===e[n].getTime()}):r instanceof Date?e instanceof Date&&r.getTime()===e.getTime():r===e}var Lue,Fue=y(()=>{T_();ra();Ma();Lue=(function(){function r(){this.all=!1,this.before=[],this.after=[],this.between=[]}return r.prototype._cacheAdd=function(e,t,n){t&&(t=t instanceof Date?b_(t):vB(t)),e==="all"?this.all=t:(n._value=t,this[e].push(n))},r.prototype._cacheGet=function(e,t){var n=!1,i=t?Object.keys(t):[],a=function(d){for(var u=0;u<i.length;u++){var p=i[u];if(!O8e(t[p],d[p]))return!0}return!1},s=this[e];if(e==="all")n=this.all;else if(_i(s))for(var o=0;o<s.length;o++){var l=s[o];if(!(i.length&&a(l))){n=l._value;break}}if(!n&&this.all){for(var c=new Kd(e,t),o=0;o<this.all.length&&c.accept(this.all[o]);o++);n=c.getValue(),this._cacheAdd(e,n,t)}return _i(n)?vB(n):n instanceof Date?b_(n):n},r})()});var $ue,zue,L8e,F8e,Dp,na,jue,Bue,$8e,z8e,Pp,ia,Uue,Hue,Vue,que,xB,Wue=y(()=>{Zd();Ma();$ue=de(de(de(de(de(de(de(de(de(de(de(de(de([],$t(1,31),!0),$t(2,28),!0),$t(3,31),!0),$t(4,30),!0),$t(5,31),!0),$t(6,30),!0),$t(7,31),!0),$t(8,31),!0),$t(9,30),!0),$t(10,31),!0),$t(11,30),!0),$t(12,31),!0),$t(1,7),!0),zue=de(de(de(de(de(de(de(de(de(de(de(de(de([],$t(1,31),!0),$t(2,29),!0),$t(3,31),!0),$t(4,30),!0),$t(5,31),!0),$t(6,30),!0),$t(7,31),!0),$t(8,31),!0),$t(9,30),!0),$t(10,31),!0),$t(11,30),!0),$t(12,31),!0),$t(1,7),!0),L8e=go(1,29),F8e=go(1,30),Dp=go(1,31),na=go(1,32),jue=de(de(de(de(de(de(de(de(de(de(de(de(de([],na,!0),F8e,!0),na,!0),Dp,!0),na,!0),Dp,!0),na,!0),na,!0),Dp,!0),na,!0),Dp,!0),na,!0),na.slice(0,7),!0),Bue=de(de(de(de(de(de(de(de(de(de(de(de(de([],na,!0),L8e,!0),na,!0),Dp,!0),na,!0),Dp,!0),na,!0),na,!0),Dp,!0),na,!0),Dp,!0),na,!0),na.slice(0,7),!0),$8e=go(-28,0),z8e=go(-29,0),Pp=go(-30,0),ia=go(-31,0),Uue=de(de(de(de(de(de(de(de(de(de(de(de(de([],ia,!0),z8e,!0),ia,!0),Pp,!0),ia,!0),Pp,!0),ia,!0),ia,!0),Pp,!0),ia,!0),Pp,!0),ia,!0),ia.slice(0,7),!0),Hue=de(de(de(de(de(de(de(de(de(de(de(de(de([],ia,!0),$8e,!0),ia,!0),Pp,!0),ia,!0),Pp,!0),ia,!0),ia,!0),Pp,!0),ia,!0),Pp,!0),ia,!0),ia.slice(0,7),!0),Vue=[0,31,60,91,121,152,182,213,244,274,305,335,366],que=[0,31,59,90,120,151,181,212,243,273,304,334,365],xB=(function(){for(var r=[],e=0;e<55;e++)r=r.concat(go(7));return r})()});function Yue(r,e){var t=bl(r,1,1),n=lv(r)?366:365,i=lv(r+1)?366:365,a=Bw(t),s=Yd(t),o=Ai(Ai({yearlen:n,nextyearlen:i,yearordinal:a,yearweekday:s},j8e(r)),{wnomask:null});if($s(e.byweekno))return o;o.wnomask=$t(0,n+7);var l,c,d=l=ta(7-s+e.wkst,7);d>=4?(d=0,c=o.yearlen+ta(s-e.wkst,7)):c=n-d;for(var u=Math.floor(c/7),p=ta(c,7),m=Math.floor(u+p/4),f=0;f<e.byweekno.length;f++){var h=e.byweekno[f];if(h<0&&(h+=m+1),h>0&&h<=m){var g=void 0;h>1?(g=d+(h-1)*7,d!==l&&(g-=7-l)):g=d;for(var v=0;v<7&&(o.wnomask[g]=1,g++,o.wdaymask[g]!==e.wkst);v++);}}if(qt(e.byweekno,1)){var g=d+m*7;if(d!==l&&(g-=7-l),g<n)for(var f=0;f<7&&(o.wnomask[g]=1,g+=1,o.wdaymask[g]!==e.wkst);f++);}if(d){var k=void 0;if(qt(e.byweekno,-1))k=-1;else{var b=Yd(bl(r-1,1,1)),w=ta(7-b.valueOf()+e.wkst,7),S=lv(r-1)?366:365,x=void 0;w>=4?(w=0,x=S+ta(b-e.wkst,7)):x=n-d,k=Math.floor(52+ta(x,7)/4)}if(qt(e.byweekno,k))for(var g=0;g<d;g++)o.wnomask[g]=1}return o}function j8e(r){var e=lv(r)?366:365,t=bl(r,1,1),n=Yd(t);return e===365?{mmask:$ue,mdaymask:Bue,nmdaymask:Hue,wdaymask:xB.slice(n),mrange:que}:{mmask:zue,mdaymask:jue,nmdaymask:Uue,wdaymask:xB.slice(n),mrange:Vue}}var Gue=y(()=>{Zd();ra();Ma();Wue()});function Kue(r,e,t,n,i,a){var s={lastyear:r,lastmonth:e,nwdaymask:[]},o=[];if(a.freq===ye.YEARLY)if($s(a.bymonth))o=[[0,t]];else for(var l=0;l<a.bymonth.length;l++)e=a.bymonth[l],o.push(n.slice(e-1,e+1));else a.freq===ye.MONTHLY&&(o=[n.slice(e-1,e+1)]);if($s(o))return s;s.nwdaymask=$t(0,t);for(var l=0;l<o.length;l++)for(var c=o[l],d=c[0],u=c[1]-1,p=0;p<a.bynweekday.length;p++){var m=void 0,f=a.bynweekday[p],h=f[0],g=f[1];g<0?(m=u+(g+1)*7,m-=ta(i[m]-h,7)):(m=d+(g-1)*7,m+=ta(7-i[m]+h,7)),d<=m&&m<=u&&(s.nwdaymask[m]=1)}return s}var Zue=y(()=>{yo();Ma()});function Que(r,e){e===void 0&&(e=0);var t=r%19,n=Math.floor(r/100),i=r%100,a=Math.floor(n/4),s=n%4,o=Math.floor((n+8)/25),l=Math.floor((n-o+1)/3),c=Math.floor(19*t+n-a-l+15)%30,d=Math.floor(i/4),u=i%4,p=Math.floor(32+2*s+2*d-c-u)%7,m=Math.floor((t+11*c+22*p)/451),f=Math.floor((c+p-7*m+114)/31),h=(c+p-7*m+114)%31+1,g=Date.UTC(r,f-1,h+e),v=Date.UTC(r,0,1);return[Math.ceil((g-v)/(1e3*60*60*24))]}var Jue=y(()=>{});var B8e,Xue,epe=y(()=>{Ma();Qd();Gue();Zue();Jue();w_();ra();B8e=(function(){function r(e){this.options=e}return r.prototype.rebuild=function(e,t){var n=this.options;if(e!==this.lastyear&&(this.yearinfo=Yue(e,n)),$n(n.bynweekday)&&(t!==this.lastmonth||e!==this.lastyear)){var i=this.yearinfo,a=i.yearlen,s=i.mrange,o=i.wdaymask;this.monthinfo=Kue(e,t,a,s,o,n)}Hr(n.byeaster)&&(this.eastermask=Que(e,n.byeaster))},Object.defineProperty(r.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),r.prototype.ydayset=function(){return[go(this.yearlen),0,this.yearlen]},r.prototype.mdayset=function(e,t){for(var n=this.mrange[t-1],i=this.mrange[t],a=$t(null,this.yearlen),s=n;s<i;s++)a[s]=s;return[a,n,i]},r.prototype.wdayset=function(e,t,n){for(var i=$t(null,this.yearlen+7),a=Bw(bl(e,t,n))-this.yearordinal,s=a,o=0;o<7&&(i[a]=a,++a,this.wdaymask[a]!==this.options.wkst);o++);return[i,s,a]},r.prototype.ddayset=function(e,t,n){var i=$t(null,this.yearlen),a=Bw(bl(e,t,n))-this.yearordinal;return i[a]=a,[i,a,a+1]},r.prototype.htimeset=function(e,t,n,i){var a=this,s=[];return this.options.byminute.forEach(function(o){s=s.concat(a.mtimeset(e,o,n,i))}),Gd(s),s},r.prototype.mtimeset=function(e,t,n,i){var a=this.options.bysecond.map(function(s){return new pv(e,t,s,i)});return Gd(a),a},r.prototype.stimeset=function(e,t,n,i){return[new pv(e,t,n,i)]},r.prototype.getdayset=function(e){switch(e){case Tt.YEARLY:return this.ydayset.bind(this);case Tt.MONTHLY:return this.mdayset.bind(this);case Tt.WEEKLY:return this.wdayset.bind(this);case Tt.DAILY:return this.ddayset.bind(this);default:return this.ddayset.bind(this)}},r.prototype.gettimeset=function(e){switch(e){case Tt.HOURLY:return this.htimeset.bind(this);case Tt.MINUTELY:return this.mtimeset.bind(this);case Tt.SECONDLY:return this.stimeset.bind(this)}},r})(),Xue=B8e});function tpe(r,e,t,n,i,a){for(var s=[],o=0;o<r.length;o++){var l=void 0,c=void 0,d=r[o];d<0?(l=Math.floor(d/e.length),c=ta(d,e.length)):(l=Math.floor((d-1)/e.length),c=ta(d-1,e.length));for(var u=[],p=t;p<n;p++){var m=a[p];Hr(m)&&u.push(m)}var f=void 0;l<0?f=u.slice(l)[0]:f=u[l];var h=e[c],g=y_(i.yearordinal+f),v=v_(g,h);qt(s,v)||s.push(v)}return Gd(s),s}var rpe=y(()=>{ra();Ma()});function E_(r,e){var t=e.dtstart,n=e.freq,i=e.interval,a=e.until,s=e.bysetpos,o=e.count;if(o===0||i===0)return Jd(r);var l=_ue.fromDate(t),c=new Xue(e);c.rebuild(l.year,l.month);for(var d=V8e(c,l,e);;){var u=c.getdayset(n)(l.year,l.month,l.day),p=u[0],m=u[1],f=u[2],h=H8e(p,m,f,c,e);if($n(s))for(var g=tpe(s,d,m,f,c,p),v=0;v<g.length;v++){var k=g[v];if(a&&k>a)return Jd(r);if(k>=t){var b=npe(k,e);if(!r.accept(b)||o&&(--o,!o))return Jd(r)}}else for(var v=m;v<f;v++){var w=p[v];if(Hr(w))for(var S=y_(c.yearordinal+w),x=0;x<d.length;x++){var C=d[x],k=v_(S,C);if(a&&k>a)return Jd(r);if(k>=t){var b=npe(k,e);if(!r.accept(b)||o&&(--o,!o))return Jd(r)}}}if(e.interval===0||(l.add(e,h),l.year>g_))return Jd(r);Vw(n)||(d=c.gettimeset(n)(l.hour,l.minute,l.second,0)),c.rebuild(l.year,l.month)}}function U8e(r,e,t){var n=t.bymonth,i=t.byweekno,a=t.byweekday,s=t.byeaster,o=t.bymonthday,l=t.bynmonthday,c=t.byyearday;return $n(n)&&!qt(n,r.mmask[e])||$n(i)&&!r.wnomask[e]||$n(a)&&!qt(a,r.wdaymask[e])||$n(r.nwdaymask)&&!r.nwdaymask[e]||s!==null&&!qt(r.eastermask,e)||($n(o)||$n(l))&&!qt(o,r.mdaymask[e])&&!qt(l,r.nmdaymask[e])||$n(c)&&(e<r.yearlen&&!qt(c,e+1)&&!qt(c,-r.yearlen+e)||e>=r.yearlen&&!qt(c,e+1-r.yearlen)&&!qt(c,-r.nextyearlen+e-r.yearlen))}function npe(r,e){return new Jf(r,e.tzid).rezonedDate()}function Jd(r){return r.getValue()}function H8e(r,e,t,n,i){for(var a=!1,s=e;s<t;s++){var o=r[s];a=U8e(n,o,i),a&&(r[o]=null)}return a}function V8e(r,e,t){var n=t.freq,i=t.byhour,a=t.byminute,s=t.bysecond;return Vw(n)?Iue(t):n>=ye.HOURLY&&$n(i)&&!qt(i,e.hour)||n>=ye.MINUTELY&&$n(a)&&!qt(a,e.minute)||n>=ye.SECONDLY&&$n(s)&&!qt(s,e.second)?[]:r.gettimeset(n)(e.hour,e.minute,e.second,e.millisecond)}var CB=y(()=>{Qd();ra();epe();yo();wB();Ma();S_();rpe();w_()});var vo,qw,Nue,ye,yo=y(()=>{ra();T_();wue();Mue();Qd();wB();SB();EB();Fue();Gf();CB();vo={MO:new Fn(0),TU:new Fn(1),WE:new Fn(2),TH:new Fn(3),FR:new Fn(4),SA:new Fn(5),SU:new Fn(6)},qw={freq:Tt.YEARLY,dtstart:null,interval:1,wkst:vo.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},Nue=Object.keys(qw),ye=(function(){function r(e,t){e===void 0&&(e={}),t===void 0&&(t=!1),this._cache=t?null:new Lue,this.origOptions=kB(e);var n=Aue(e).parsedOptions;this.options=n}return r.parseText=function(e,t){return Hw(e,t)},r.fromText=function(e,t){return Cue(e,t)},r.fromString=function(e){return new r(r.parseString(e)||void 0)},r.prototype._iter=function(e){return E_(e,this.options)},r.prototype._cacheGet=function(e,t){return this._cache?this._cache._cacheGet(e,t):!1},r.prototype._cacheAdd=function(e,t,n){if(this._cache)return this._cache._cacheAdd(e,t,n)},r.prototype.all=function(e){if(e)return this._iter(new TB("all",{},e));var t=this._cacheGet("all");return t===!1&&(t=this._iter(new Kd("all",{})),this._cacheAdd("all",t)),t},r.prototype.between=function(e,t,n,i){if(n===void 0&&(n=!1),!Zf(e)||!Zf(t))throw new Error("Invalid date passed in to RRule.between");var a={before:t,after:e,inc:n};if(i)return this._iter(new TB("between",a,i));var s=this._cacheGet("between",a);return s===!1&&(s=this._iter(new Kd("between",a)),this._cacheAdd("between",s,a)),s},r.prototype.before=function(e,t){if(t===void 0&&(t=!1),!Zf(e))throw new Error("Invalid date passed in to RRule.before");var n={dt:e,inc:t},i=this._cacheGet("before",n);return i===!1&&(i=this._iter(new Kd("before",n)),this._cacheAdd("before",i,n)),i},r.prototype.after=function(e,t){if(t===void 0&&(t=!1),!Zf(e))throw new Error("Invalid date passed in to RRule.after");var n={dt:e,inc:t},i=this._cacheGet("after",n);return i===!1&&(i=this._iter(new Kd("after",n)),this._cacheAdd("after",i,n)),i},r.prototype.count=function(){return this.all().length},r.prototype.toString=function(){return Gw(this.origOptions)},r.prototype.toText=function(e,t,n){return Due(this,e,t,n)},r.prototype.isFullyConvertibleToText=function(){return Pue(this)},r.prototype.clone=function(){return new r(this.origOptions)},r.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],r.YEARLY=Tt.YEARLY,r.MONTHLY=Tt.MONTHLY,r.WEEKLY=Tt.WEEKLY,r.DAILY=Tt.DAILY,r.HOURLY=Tt.HOURLY,r.MINUTELY=Tt.MINUTELY,r.SECONDLY=Tt.SECONDLY,r.MO=vo.MO,r.TU=vo.TU,r.WE=vo.WE,r.TH=vo.TH,r.FR=vo.FR,r.SA=vo.SA,r.SU=vo.SU,r.parseString=Yw,r.optionsToString=Gw,r})()});function ipe(r,e,t,n,i,a){var s={},o=r.accept;function l(p,m){t.forEach(function(f){f.between(p,m,!0).forEach(function(h){s[Number(h)]=!0})})}i.forEach(function(p){var m=new Jf(p,a).rezonedDate();s[Number(m)]=!0}),r.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},r.method==="between"&&(l(r.args.after,r.args.before),r.accept=function(p){var m=Number(p);return s[m]?!0:(s[m]=!0,o.call(this,p))});for(var c=0;c<n.length;c++){var d=new Jf(n[c],a).rezonedDate();if(!r.accept(new Date(d.getTime())))break}e.forEach(function(p){E_(r,p.options)});var u=r._result;switch(Gd(u),r.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 ape=y(()=>{S_();CB();ra()});function q8e(r,e){var t=[],n=[],i=[],a=[],s=Ww(r),o=s.dtstart,l=s.tzid,c=Z8e(r,e.unfold);return c.forEach(function(d){var u;if(d){var p=K8e(d),m=p.name,f=p.parms,h=p.value;switch(m.toUpperCase()){case"RRULE":if(f.length)throw new Error("unsupported RRULE parm: ".concat(f.join(",")));t.push(Yw(d));break;case"RDATE":var g=(u=/RDATE(?:;TZID=([^:=]+))?/i.exec(d))!==null&&u!==void 0?u:[],v=g[1];v&&!l&&(l=v),n=n.concat(ope(h,f));break;case"EXRULE":if(f.length)throw new Error("unsupported EXRULE parm: ".concat(f.join(",")));i.push(Yw(h));break;case"EXDATE":a=a.concat(ope(h,f));break;case"DTSTART":break;default:throw new Error("unsupported property: "+m)}}}),{dtstart:o,tzid:l,rrulevals:t,rdatevals:n,exrulevals:i,exdatevals:a}}function W8e(r,e){var t=q8e(r,e),n=t.rrulevals,i=t.rdatevals,a=t.exrulevals,s=t.exdatevals,o=t.dtstart,l=t.tzid,c=e.cache===!1;if(e.compatible&&(e.forceset=!0,e.unfold=!0),e.forceset||n.length>1||i.length||a.length||s.length){var d=new x_(c);return d.dtstart(o),d.tzid(l||void 0),n.forEach(function(p){d.rrule(new ye(DB(p,o,l),c))}),i.forEach(function(p){d.rdate(p)}),a.forEach(function(p){d.exrule(new ye(DB(p,o,l),c))}),s.forEach(function(p){d.exdate(p)}),e.compatible&&e.dtstart&&d.rdate(o),d}var u=n[0]||{};return new ye(DB(u,u.dtstart||e.dtstart||o,u.tzid||e.tzid||l),c)}function Kw(r,e){return e===void 0&&(e={}),W8e(r,Y8e(e))}function DB(r,e,t){return Ai(Ai({},r),{dtstart:e,tzid:t})}function Y8e(r){var e=[],t=Object.keys(r),n=Object.keys(spe);if(t.forEach(function(i){qt(n,i)||e.push(i)}),e.length)throw new Error("Invalid options: "+e.join(", "));return Ai(Ai({},spe),r)}function G8e(r){if(r.indexOf(":")===-1)return{name:"RRULE",value:r};var e=yue(r,":",1),t=e[0],n=e[1];return{name:t,value:n}}function K8e(r){var e=G8e(r),t=e.name,n=e.value,i=t.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:n}}function Z8e(r,e){if(e===void 0&&(e=!1),r=r&&r.trim(),!r)throw new Error("Invalid empty string");if(!e)return r.split(/\s/);for(var t=r.split(`
`),n=0;n<t.length;){var i=t[n]=t[n].replace(/\s+$/g,"");i?n>0&&i[0]===" "?(t[n-1]+=i.slice(1),t.splice(n,1)):n+=1:t.splice(n,1)}return t}function Q8e(r){r.forEach(function(e){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))throw new Error("unsupported RDATE/EXDATE parm: "+e)})}function ope(r,e){return Q8e(e),r.split(",").map(function(t){return Uw(t)})}var spe,PB=y(()=>{Zd();yo();MB();ra();Ma();SB();spe={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null}});function lpe(r){var e=this;return function(t){if(t!==void 0&&(e["_".concat(r)]=t),e["_".concat(r)]!==void 0)return e["_".concat(r)];for(var n=0;n<e._rrule.length;n++){var i=e._rrule[n].origOptions[r];if(i)return i}}}function cpe(r,e){if(!(r instanceof ye))throw new TypeError(String(r)+" is not RRule instance");qt(e.map(String),String(r))||e.push(r)}function dpe(r,e){if(!(r instanceof Date))throw new TypeError(String(r)+" is not Date instance");qt(e.map(Number),Number(r))||(e.push(r),Gd(e))}function upe(r,e,t){var n=!t||t.toUpperCase()==="UTC",i=n?"".concat(r,":"):"".concat(r,";TZID=").concat(t,":"),a=e.map(function(s){return cv(s.valueOf(),n)}).join(",");return"".concat(i).concat(a)}var x_,MB=y(()=>{Zd();yo();ra();Ma();ape();PB();EB();x_=(function(r){dv(e,r);function e(t){t===void 0&&(t=!1);var n=r.call(this,{},t)||this;return n.dtstart=lpe.apply(n,["dtstart"]),n.tzid=lpe.apply(n,["tzid"]),n._rrule=[],n._rdate=[],n._exrule=[],n._exdate=[],n}return e.prototype._iter=function(t){return ipe(t,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},e.prototype.rrule=function(t){cpe(t,this._rrule)},e.prototype.exrule=function(t){cpe(t,this._exrule)},e.prototype.rdate=function(t){dpe(t,this._rdate)},e.prototype.exdate=function(t){dpe(t,this._exdate)},e.prototype.rrules=function(){return this._rrule.map(function(t){return Kw(t.toString())})},e.prototype.exrules=function(){return this._exrule.map(function(t){return Kw(t.toString())})},e.prototype.rdates=function(){return this._rdate.map(function(t){return new Date(t.getTime())})},e.prototype.exdates=function(){return this._exdate.map(function(t){return new Date(t.getTime())})},e.prototype.valueOf=function(){var t=[];return!this._rrule.length&&this._dtstart&&(t=t.concat(Gw({dtstart:this._dtstart}))),this._rrule.forEach(function(n){t=t.concat(n.toString().split(`
`))}),this._exrule.forEach(function(n){t=t.concat(n.toString().split(`
`).map(function(i){return i.replace(/^RRULE:/,"EXRULE:")}).filter(function(i){return!/^DTSTART/.test(i)}))}),this._rdate.length&&t.push(upe("RDATE",this._rdate,this.tzid())),this._exdate.length&&t.push(upe("EXDATE",this._exdate,this.tzid())),t},e.prototype.toString=function(){return this.valueOf().join(`
`)},e.prototype.clone=function(){var t=new e(!!this._cache);return this._rrule.forEach(function(n){return t.rrule(n.clone())}),this._exrule.forEach(function(n){return t.exrule(n.clone())}),this._rdate.forEach(function(n){return t.rdate(new Date(n.getTime()))}),this._exdate.forEach(function(n){return t.exdate(new Date(n.getTime()))}),t},e})(ye)});var Mp={};et(Mp,{ALL_WEEKDAYS:()=>ov,Frequency:()=>Tt,RRule:()=>ye,RRuleSet:()=>x_,Weekday:()=>Fn,datetime:()=>bl,rrulestr:()=>Kw});var mv=y(()=>{yo();MB();PB();Qd();Gf();ra()});function eu(r){let e=fpe(r),t=e.match(C_);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s);if(!gpe(o,l,c))throw new Error(`Invalid date "${r}".`);return new Date(Date.UTC(o,l-1,c,0,0,0,0))}if(!hpe(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!D_(n))throw new Error(`Invalid date "${r}".`);return n}function X8e(r){let e=fpe(r),t=e.match(C_);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s),d=new Date(o,l-1,c,0,0,0,0);if(!D_(d)||d.getFullYear()!==o||d.getMonth()!==l-1||d.getDate()!==c)throw new Error(`Invalid date "${r}".`);return d}if(!hpe(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!D_(n))throw new Error(`Invalid date "${r}".`);return n}function Xd(r){if(!D_(r))return"";let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}function e7e(r){return Xd(r)}function t7e(){let r=new Date,e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}-${t}-${n}`}function AB(r){return eu(n7e(r))}function r7e(r){return r?/T\d{2}:\d{2}/.test(r):!1}function n7e(r){if(!r)return"";let e=r.trim();if(C_.test(e))return e;let t=e.indexOf("T");if(t>-1)return e.slice(0,t);let n=e.indexOf(" ");return n>-1&&C_.test(e.slice(0,n))?e.slice(0,n):Xd(eu(e))}function fpe(r,e="Date string cannot be empty"){if(!r||r.trim().length===0)throw new Error(e);return r.trim()}function hpe(r){let e=r.match(J8e);if(!e)return!1;let[,t,n,i,a,s,o,,l,c,d]=e;return gpe(Number(t),Number(n),Number(i))&&i7e(Number(a),Number(s),Number(o))&&a7e(l,c,d)}function gpe(r,e,t){let n=new Date(Date.UTC(r,e-1,t,0,0,0,0));return n.getUTCFullYear()===r&&n.getUTCMonth()===e-1&&n.getUTCDate()===t}function i7e(r,e,t){return r>=0&&r<=23&&e>=0&&e<=59&&t>=0&&t<=59}function a7e(r,e,t){if(!r)return!0;let n=Number(e),i=Number(t);return!(n>14||i>59||n===14&&i!==0)}function D_(r){return r instanceof Date&&!Number.isNaN(r.getTime())}function NB(r,e){if(!r.recurrence||typeof r.recurrence!="string")return!0;try{let t=wpe(r);if(!t)return!1;let n=AB(e7e(e));return t.between(n,new Date(n.getTime()+1440*60*1e3-1),!0).length>0}catch(t){return!0}}function P_(r,e,t="done"){if(!r.recurrence)return r.status||"open";let n=Xd(e);return(Array.isArray(r.complete_instances)?r.complete_instances:[]).includes(n)?t:r.status||"open"}function Zw(r,e,t){if(!r.recurrence||typeof r.recurrence!="string")return[];try{let n=wpe(r);if(!n)return[];let i=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),0,0,0,0)),a=new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),23,59,59,999));return n.between(i,a,!0)}catch(n){let i=[],a=new Date(e);for(;a<=t;)NB(r,a)&&i.push(new Date(a)),a.setUTCDate(a.getUTCDate()+1);return i}}function ype(r){if(!r.recurrence||typeof r.recurrence!="string")return null;let e=r.recurrence.match(/(?:^|;)COUNT=(\d+)(?:;|$)/);if(e){let t=Number.parseInt(e[1],10);return Number.isFinite(t)&&t>0?t:null}if(!/(?:^|;)UNTIL=/.test(r.recurrence))return null;try{let t=Spe(r),n=o7e(r.recurrence);if(!t||!n||n<t)return null;let i=Zw(r,t,n);return i.length>=s7e?null:i.length>0?i.length:null}catch(t){return null}}function vpe(r,e={}){return r.recurrence?(r.recurrence_anchor||"scheduled")==="completion"?d7e(r,e):c7e(r,e):null}function bpe(r,e=!0,t={}){let n=vpe(r,t),i=null,a=null,s=null;if(n){try{let o=r.scheduled?eu(r.scheduled):null,l=r.due?eu(r.due):null;if(o&&l){let c=!e&&l.getTime()<n.getTime();if(e||c){let d=l.getTime()-o.getTime();s=new Date(n.getTime()+d)}}}catch(o){s=null}r.scheduled&&r.scheduled.includes("T")?i=`${Xd(n)}T${r.scheduled.split("T")[1]}`:i=Xd(n),s&&r.due&&r.due.includes("T")?a=`${Xd(s)}T${r.due.split("T")[1]}`:s&&(a=Xd(s))}return{scheduled:i,due:a}}function Tpe(r){if(!r)return"";try{if(!r.includes("FREQ="))return"rrule";let e=r.replace(/DTSTART:[^;]+;?/,"");return IB.fromString(e).toText()}catch(e){return"rrule"}}function Xf(r){if(!r.recurrence||typeof r.recurrence!="string")return null;if(r.recurrence.includes("DTSTART:"))return r.recurrence;let e=r.scheduled||r.dateCreated;return e?`DTSTART:${Cpe(e)};${r.recurrence}`:null}function M_(r,e){if(!r||typeof r!="string")return null;let t=Cpe(e);return r.includes("DTSTART:")?r.replace(/DTSTART:[^;]+;?/,`DTSTART:${t};`):`DTSTART:${t};${r}`}function kpe(r,e,t){if(!r.recurrence||typeof r.recurrence!="string")return null;if(r.recurrence.includes("DTSTART:"))return r.recurrence;let n=r.scheduled||r.dateCreated;if(!n)return null;if(t){let d=eu(n);return`DTSTART:${Dpe(d)};${r.recurrence}`}let i=eu(n),a=i.getUTCFullYear(),s=String(i.getUTCMonth()+1).padStart(2,"0"),o=String(i.getUTCDate()).padStart(2,"0"),l=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0");return`DTSTART:${a}${s}${o}T${l}${c}00Z;${r.recurrence}`}function wpe(r){if(!r.recurrence||typeof r.recurrence!="string")return null;let e=Spe(r);if(!e)return null;let t=r.recurrence.replace(/DTSTART:[^;]+;?/,"").replace(/^;/,"").trim(),n=IB.parseString(t);return n.dtstart=e,new IB(n)}function Spe(r){return r.recurrence?RB(r.recurrence)||(r.scheduled?AB(r.scheduled):null)||(r.dateCreated?AB(r.dateCreated):null):null}function RB(r){let e=r.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);return e?Epe(e[1],!1):null}function o7e(r){let e=r.match(/(?:^|;)UNTIL=(\d{8}(?:T\d{6}Z?)?)(?:;|$)/);return e?Epe(e[1],!0):null}function Epe(r,e){let t=Number(r.slice(0,4)),n=Number(r.slice(4,6))-1,i=Number(r.slice(6,8));if(r.length===8)return e?new Date(Date.UTC(t,n,i,23,59,59,999)):new Date(Date.UTC(t,n,i,0,0,0,0));let a=Number(r.slice(9,11))||0,s=Number(r.slice(11,13))||0,o=Number(r.slice(13,15))||0;return new Date(Date.UTC(t,n,i,a,s,o,0))}function l7e(r){let e=r.match(/INTERVAL=(\d+)/);return e?Number.parseInt(e[1],10):1}function xpe(r){let e=l7e(r);return r.includes("FREQ=DAILY")?Math.max(30,e*2):r.includes("FREQ=WEEKLY")?Math.max(90,e*7*2):r.includes("FREQ=MONTHLY")?Math.max(400,e*31*2):r.includes("FREQ=YEARLY")?Math.max(800,e*366*2):365}function Cpe(r){if(r7e(r)){let e=X8e(r),t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),s=String(e.getMinutes()).padStart(2,"0"),o=String(e.getSeconds()).padStart(2,"0");return`${t}${n}${i}T${a}${s}${o}Z`}return Dpe(eu(r))}function Dpe(r){let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}${t}${n}`}function c7e(r,e){if(!r.recurrence)return null;let t=eu(e.today||mpe()),n=xpe(r.recurrence),i=t,a=RB(r.recurrence);a&&a<t&&(i=a);let s=new Date(t.getTime()+n*24*60*60*1e3),o=Zw(r,i,s),l=new Set([...r.complete_instances||[],...r.skipped_instances||[]]);for(let c of o){let d=Xd(c);if(!l.has(d)&&c>=t)return c}return null}function d7e(r,e){if(!r.recurrence||typeof r.recurrence!="string")return null;let t=eu(e.today||mpe()),n=xpe(r.recurrence),i=RB(r.recurrence),a=i||t,s=new Date(a.getTime()+n*24*60*60*1e3),o=Zw(r,a,s),l=new Set(r.skipped_instances||[]),c=i?i.getTime():0;for(let d of o){let u=Xd(d);if(d.getTime()>c&&d>=t&&!l.has(u))return d}return null}var C_,J8e,mpe,_B,ppe,IB,s7e,OB=y(()=>{mv();C_=/^(\d{4})-(\d{2})-(\d{2})$/,J8e=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d{1,3})?(?:Z|([+-])(\d{2}):(\d{2}))?$/;mpe=t7e;_B=Reflect.get(Mp,"default"),IB=(ppe=ye)!=null?ppe:_B==null?void 0:_B.RRule,s7e=1e4});var UB={};et(UB,{NATURAL_LANGUAGE_DATE_PATTERNS:()=>Qw,addDaysToDateString:()=>eh,addDaysToDateTime:()=>gv,addMonthsToDateString:()=>f7e,addWeeksToDateString:()=>FB,addYearsToDateString:()=>h7e,combineDateAndTime:()=>Ni,convertUTCToLocalCalendarDate:()=>tu,createSafeDate:()=>m7e,createSafeUTCDate:()=>__,createTimeFormatHelper:()=>S7e,createUTCDateForRRule:()=>_p,createUTCDateFromLocalCalendarDate:()=>vn,formatDateAsUTCString:()=>P7e,formatDateForDisplay:()=>ru,formatDateForStorage:()=>ce,formatDateStringTime:()=>_pe,formatDateTime:()=>Mpe,formatDateTimeForDisplay:()=>Ti,formatTime:()=>hv,formatTimestampForDisplay:()=>A_,generateUTCCalendarDates:()=>jB,getCurrentDateString:()=>fv,getCurrentDateTimeString:()=>C7e,getCurrentTimestamp:()=>Ye,getDatePart:()=>ke,getEndOfMonthString:()=>b7e,getEndOfWeekString:()=>y7e,getEndOfYearString:()=>k7e,getNaturalLanguageDateSuggestions:()=>_7e,getStartOfMonthString:()=>v7e,getStartOfWeekString:()=>g7e,getStartOfYearString:()=>T7e,getTimePart:()=>_a,getTodayLocal:()=>wr,getTodayString:()=>zn,getUTCEndOfMonth:()=>O_,getUTCEndOfWeek:()=>BB,getUTCStartOfMonth:()=>R_,getUTCStartOfWeek:()=>N_,hasTimeComponent:()=>kr,isBeforeDateSafe:()=>th,isBeforeDateTimeAware:()=>nu,isNaturalLanguageDate:()=>L_,isOverdueTimeAware:()=>iu,isPastDate:()=>$B,isSameDateSafe:()=>bo,isToday:()=>Jw,isTodayTimeAware:()=>I_,isTodayUTC:()=>zB,isValidDateInput:()=>M7e,normalizeCalendarBoundariesToUTC:()=>D7e,normalizeDateString:()=>p7e,parseDate:()=>u7e,parseDateAsLocal:()=>rh,parseDateToLocal:()=>ut,parseDateToUTC:()=>zt,parseTimestamp:()=>Ppe,resolveNaturalLanguageDate:()=>nh,startOfDayForDateString:()=>w7e,validateCompleteInstances:()=>x7e,validateDateInput:()=>LB,validateDateTimeInput:()=>E7e});function Ii(r){if(!r){let t=new Error("Date string cannot be empty");throw qe.error("Date parsing error:",{category:"validation",operation:"date-parsing",details:{dateString:r},error:t.message}),t}let e=r.trim();try{let t=e.match(/^(\d{4}-\d{2}-\d{2})\s+(Mon|Tue|Wed|Thu|Fri|Sat|Sun|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$/i);if(t){let n=t[1];return Ii(n)}if(e.startsWith("T")&&/^T\d{2}:\d{2}(:\d{2})?/.test(e)){let n=new Error(`Invalid date format - time without date: ${r}`);throw qe.warn("Date parsing error - incomplete time format:",{category:"validation",operation:"date-parsing-incomplete-time-format",details:{original:r,trimmed:e},error:n.message}),n}if(/^\d{4}-W\d{2}$/.test(e)){let[n,i]=e.split("-W"),a=parseInt(n,10),s=parseInt(i,10);if(isNaN(a)||isNaN(s)){let u=new Error(`Invalid numeric values in ISO week format: ${r}`);throw qe.warn("Date parsing error - invalid ISO week numbers:",{category:"validation",operation:"date-parsing-invalid-iso-week-numbers",details:{original:r,year:n,week:i,yearNum:a,weekNum:s}}),u}if(s<1||s>53){let u=new Error(`Invalid week number in ISO week format: ${r} (week must be 1-53)`);throw qe.warn("Date parsing error - week number out of range:",{category:"validation",operation:"date-parsing-week-number-out-of-range",details:{original:r,weekNum:s},error:u.message}),u}let o=new Date(a,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),!bi(d)){let u=new Error(`Failed to calculate date from ISO week format: ${r}`);throw qe.error("Date parsing error - ISO week calculation failed:",{category:"validation",operation:"date-parsing-iso-week-calculation",details:{original:r,yearNum:a,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(e)){let n=e.replace(" ","T"),i=Ls(n);if(!bi(i)){let a=new Error(`Invalid space-separated datetime: ${r}`);throw qe.warn("Date parsing error - space-separated datetime invalid:",{category:"validation",operation:"date-parsing-space-separated-datetime-invalid",details:{original:r,converted:n},error:a.message}),a}return i}if(e.includes("T")||e.includes("Z")||e.match(/[+-]\d{2}:\d{2}$/)){let n=Ls(e);if(!bi(n)){let i=new Error(`Invalid timezone-aware date: ${r}`);throw qe.warn("Date parsing error - timezone-aware format invalid:",{category:"validation",operation:"date-parsing-timezone-aware-format-invalid",details:{original:r,trimmed:e},error:i.message}),i}return n}else{let n=e.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!n){let l=new Error(`Invalid date-only string: ${r} (expected format: yyyy-MM-dd)`);throw qe.warn("Date parsing error - date-only format invalid:",{category:"validation",operation:"date-parsing-date-only-format-invalid",details:{original:r,trimmed:e,expectedFormat:"yyyy-MM-dd"},error:l.message}),l}let[,i,a,s]=n,o=new Date(parseInt(i,10),parseInt(a,10)-1,parseInt(s,10));if(!bi(o)||o.getFullYear()!==parseInt(i,10)||o.getMonth()!==parseInt(a,10)-1||o.getDate()!==parseInt(s,10)){let l=new Error(`Invalid date values: ${r}`);throw qe.warn("Date parsing error - invalid date values:",{category:"validation",operation:"date-parsing-invalid-date-values",details:{original:r,year:i,month:a,day:s},error:l.message}),l}return o}}catch(t){if(t instanceof Error&&t.message.includes("Invalid date"))throw t;let n=new Error(`Unexpected error parsing date "${r}": ${t instanceof Error?t.message:String(t)}`);throw qe.error("Unexpected date parsing error:",{category:"validation",operation:"unexpected-date-parsing",details:{original:r,trimmed:e,stack:t instanceof Error?t.stack:void 0},error:t instanceof Error?t.message:String(t)}),n}}function zt(r){if(!r){let t=new Error("Date string cannot be empty");throw qe.error("Date parsing error:",{category:"validation",operation:"date-parsing",details:{dateString:r},error:t.message}),t}let e=r.trim();try{let t=e.match(/^(\d{4}-\d{2}-\d{2})\s+(Mon|Tue|Wed|Thu|Fri|Sat|Sun|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$/i);if(t){let i=t[1];return zt(i)}let n=e.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(n){let[,i,a,s]=n,o=parseInt(i,10),l=parseInt(a,10),c=parseInt(s,10);if(l<1||l>12)throw new Error(`Invalid month in date: ${r}`);if(c<1||c>31)throw new Error(`Invalid day in date: ${r}`);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: ${r}`);return d}return Ii(e)}catch(t){let n=new Error(`Failed to parse date to UTC: ${e}`);throw qe.error("Date parsing error:",{category:"validation",operation:"date-parsing",details:{dateString:r,trimmed:e,stack:t instanceof Error?t.stack:void 0},error:t instanceof Error?t.message:String(t)}),n}}function ut(r){return Ii(r)}function u7e(r){return Ii(r)}function bo(r,e){try{let t=ke(r),n=ke(e),i=zt(t),a=zt(n);return i.getTime()===a.getTime()}catch(t){return qe.error("Error comparing dates:",{category:"validation",operation:"comparing-dates",details:{date1:r,date2:e},error:t}),!1}}function th(r,e){try{let t=ke(r),n=ke(e),i=zt(t),a=zt(n);return i.getTime()<a.getTime()}catch(t){return qe.error("Error comparing dates for before:",{category:"validation",operation:"comparing-dates",details:{date1:r,date2:e},error:t}),!1}}function zn(){return P(new Date,"yyyy-MM-dd")}function wr(){let r=new Date;return new Date(r.getFullYear(),r.getMonth(),r.getDate())}function rh(r){if(!r)throw new Error("Date string cannot be empty");let t=r.trim().match(/^(\d{4})-(\d{2})-(\d{2})$/);if(t){let[,n,i,a]=t,s=new Date(parseInt(n,10),parseInt(i,10)-1,parseInt(a,10));if(!bi(s)||s.getFullYear()!==parseInt(n,10)||s.getMonth()!==parseInt(i,10)-1||s.getDate()!==parseInt(a,10))throw new Error(`Invalid date values: ${r}`);return s}return Ii(r)}function p7e(r){if(!r)return r;try{if(r.includes("T")||r.includes("Z")||r.match(/[+-]\d{2}:\d{2}$/)){let t=r.split("T")[0];if(/^\d{4}-\d{2}-\d{2}$/.test(t))return t}let e=zt(r);return bi(e)?ce(e):r}catch(e){return qe.error("Error normalizing date string:",{category:"validation",operation:"normalizing-date-string",details:{dateString:r},error:e}),r}}function m7e(r,e,t){return new Date(r,e,t)}function __(r,e,t){return new Date(Date.UTC(r,e,t))}function tu(r){let e=r.getUTCFullYear(),t=r.getUTCMonth(),n=r.getUTCDate();return new Date(e,t,n)}function LB(r){if(!r||r.trim()==="")return!0;try{return Ii(r),!0}catch(e){return!1}}function eh(r,e){try{let t=Ii(r),n=Vf(t,e);return P(n,"yyyy-MM-dd")}catch(t){throw qe.error("Error adding days to date string:",{category:"validation",operation:"adding-days-date-string",details:{dateString:r,days:e},error:t}),t}}function FB(r,e){try{let t=Ii(r),n=Cae(t,e);return P(n,"yyyy-MM-dd")}catch(t){throw qe.error("Error adding weeks to date string:",{category:"validation",operation:"adding-weeks-date-string",details:{dateString:r,weeks:e},error:t}),t}}function f7e(r,e){try{let t=Ii(r),n=KM(t,e);return P(n,"yyyy-MM-dd")}catch(t){throw qe.error("Error adding months to date string:",{category:"validation",operation:"adding-months-date-string",details:{dateString:r,months:e},error:t}),t}}function h7e(r,e){try{let t=Ii(r),n=Pae(t,e);return P(n,"yyyy-MM-dd")}catch(t){throw qe.error("Error adding years to date string:",{category:"validation",operation:"adding-years-date-string",details:{dateString:r,years:e},error:t}),t}}function g7e(r=1){try{let e=Ca(new Date,{weekStartsOn:r});return P(e,"yyyy-MM-dd")}catch(e){throw qe.error("Error getting start of week:",{category:"validation",operation:"getting-start-of-week",error:e}),e}}function y7e(r=1){try{let e=Ky(new Date,{weekStartsOn:r});return P(e,"yyyy-MM-dd")}catch(e){throw qe.error("Error getting end of week:",{category:"validation",operation:"getting-end-of-week",error:e}),e}}function v7e(){try{let r=t_(new Date);return P(r,"yyyy-MM-dd")}catch(r){throw qe.error("Error getting start of month:",{category:"validation",operation:"getting-start-of-month",error:r}),r}}function b7e(){try{let r=e_(new Date);return P(r,"yyyy-MM-dd")}catch(r){throw qe.error("Error getting end of month:",{category:"validation",operation:"getting-end-of-month",error:r}),r}}function T7e(){try{let r=r_(new Date);return P(r,"yyyy-MM-dd")}catch(r){throw qe.error("Error getting start of year:",{category:"validation",operation:"getting-start-of-year",error:r}),r}}function k7e(){try{let r=Tse(new Date);return P(r,"yyyy-MM-dd")}catch(r){throw qe.error("Error getting end of year:",{category:"validation",operation:"getting-end-of-year",error:r}),r}}function w7e(r){try{return zt(r)}catch(e){throw qe.error("Error getting start of day for date string:",{category:"validation",operation:"getting-start-of-day-date-string",details:{dateString:r},error:e}),e}}function Jw(r){if(!r)return!1;try{let e=rh(r),t=wr();return Ej(e,t)}catch(e){return qe.error("Error checking if date is today:",{category:"validation",operation:"checking-if-date-today",details:{dateString:r},error:e}),!1}}function $B(r){return th(r,zn())}function ru(r,e="MMM d, yyyy"){try{let t=Ii(r);return P(t,e)}catch(t){return qe.error("Error formatting date for display:",{category:"validation",operation:"formatting-date-display",details:{dateString:r},error:t}),r}}function Ye(){let r=new Date,e=-r.getTimezoneOffset(),t=e>=0?"+":"-",n=m=>String(Math.abs(m)).padStart(2,"0"),i=n(Math.floor(Math.abs(e)/60)),a=n(Math.abs(e)%60),s=r.getFullYear(),o=n(r.getMonth()+1),l=n(r.getDate()),c=n(r.getHours()),d=n(r.getMinutes()),u=n(r.getSeconds()),p=String(r.getMilliseconds()).padStart(3,"0");return`${s}-${o}-${l}T${c}:${d}:${u}.${p}${t}${i}:${a}`}function fv(){let r=new Date,e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}-${t}-${n}`}function Ppe(r){try{if(!r)throw new Error("Timestamp string cannot be empty");let e=Ls(r);if(!bi(e))throw new Error(`Invalid timestamp: ${r}`);return e}catch(e){throw qe.error("Error parsing timestamp:",{category:"validation",operation:"parsing-timestamp",details:{timestampString:r},error:e}),e}}function A_(r,e,t="24"){if(!r)return r;try{let n=Ppe(r);return bi(n)?P(n,e||(t==="12"?"MMM d, yyyy h:mm a":"MMM d, yyyy HH:mm")):r}catch(n){return qe.error("Error formatting timestamp for display:",{category:"validation",operation:"formatting-timestamp-display",details:{timestampString:r},error:n}),r}}function kr(r){return r?/T\d{2}:\d{2}/.test(r):!1}function ke(r){if(!r)return"";try{if(/^\d{4}-\d{2}-\d{2}$/.test(r))return r;let e=r.indexOf("T");if(e>-1)return r.substring(0,e);let t=zt(r);return ce(t)}catch(e){return qe.error("Error extracting date part:",{category:"validation",operation:"extracting-date-part",details:{dateString:r},error:e}),r}}function _a(r){if(!r||!kr(r))return null;try{let e=Ii(r);return P(e,"HH:mm")}catch(e){return qe.error("Error extracting time part:",{category:"validation",operation:"extracting-time-part",details:{dateString:r},error:e}),null}}function hv(r,e="24"){return bi(r)?P(r,e==="12"?"h:mm a":"HH:mm"):(qe.warn("Invalid date provided to formatTime:",{category:"validation",operation:"invalid-date-provided-formattime",details:{value:r}}),"")}function Mpe(r,e="24"){return bi(r)?P(r,e==="12"?"MMM d, yyyy h:mm a":"MMM d, yyyy HH:mm"):(qe.warn("Invalid date provided to formatDateTime:",{category:"validation",operation:"invalid-date-provided-formatdatetime",details:{value:r}}),"")}function _pe(r,e="24"){if(!r||!kr(r))return r;try{let t=ut(r);return hv(t,e)}catch(t){return qe.error("Error formatting date string time:",{category:"validation",operation:"formatting-date-string-time",details:{dateString:r},error:t}),r}}function S7e(r){return{formatDateTimeForDisplay:(e,t={})=>Ti(e,{...t,userTimeFormat:r}),formatTime:e=>hv(e,r),formatDateTime:e=>Mpe(e,r),formatDateStringTime:e=>_pe(e,r)}}function Ni(r,e){if(!r)return"";if(!e)return r;try{let t=r.match(/^(\d{4}-\d{2}-\d{2})$/);if(t)return/^\d{2}:\d{2}$/.test(e)?`${t[1]}T${e}`:(qe.warn("Invalid time format, expected HH:mm:",{category:"validation",operation:"invalid-time-format-expected-hh-mm",details:{value:e}}),r);let n=ke(r);return!n||!/^\d{4}-\d{2}-\d{2}$/.test(n)?(qe.warn("Invalid date part from dateString:",{category:"validation",operation:"invalid-date-part-datestring",details:{dateString:r,datePart:n}}),r):/^\d{2}:\d{2}$/.test(e)?`${n}T${e}`:(qe.warn("Invalid time format, expected HH:mm:",{category:"validation",operation:"invalid-time-format-expected-hh-mm",details:{value:e}}),r)}catch(t){return qe.error("Error combining date and time:",{category:"validation",operation:"combining-date-and-time",details:{dateString:r,timeString:e},error:t}),r}}function Ti(r,e={}){if(!r)return"";let{dateFormat:t="MMM d, yyyy",timeFormat:n,showTime:i=!0,userTimeFormat:a="24"}=e,s=n||(a==="12"?"h:mm a":"HH:mm");try{let o=Ii(r);return kr(r)&&i?!t||t.trim()===""?P(o,s):P(o,`${t} ${s}`):!t||t.trim()===""?"":P(o,t)}catch(o){return qe.error("Error formatting datetime for display:",{category:"validation",operation:"formatting-datetime-display",details:{dateString:r},error:o}),r}}function nu(r,e){try{let t=zt(r),n=zt(e),i=t,a=n;if(kr(r)){let s=_a(r);if(s){let[o,l]=s.split(":").map(Number);i=new Date(t),i.setUTCHours(o,l,0,0)}}if(kr(e)){let s=_a(e);if(s){let[o,l]=s.split(":").map(Number);a=new Date(n),a.setUTCHours(o,l,0,0)}}return kr(r)&&!kr(e)?(a=new Date(n),a.setUTCHours(23,59,59,999)):!kr(r)&&kr(e)&&(i=new Date(t),i.setUTCHours(23,59,59,999)),i.getTime()<a.getTime()}catch(t){return qe.error("Error comparing dates time-aware:",{category:"validation",operation:"comparing-dates-time-aware",details:{date1:r,date2:e},error:t}),!1}}function iu(r,e,t){if(!r||t&&e)return!1;try{let n=new Date,i=zt(r);if(kr(r))return Oj(i,n);{let a=zt(zn());return Oj(i,a)}}catch(n){return qe.error("Error checking overdue status:",{category:"validation",operation:"checking-overdue-status",details:{dateString:r},error:n}),!1}}function I_(r){if(!r)return!1;try{let e=kr(r)?Ii(r):rh(r);return Ej(e,new Date)}catch(e){return qe.error("Error checking if today:",{category:"validation",operation:"checking-if-today",details:{dateString:r},error:e}),!1}}function E7e(r,e){if(!r||r.trim()==="")return!0;try{if(!LB(r))return!1;if(e&&e.trim()!==""){if(!/^\d{2}:\d{2}$/.test(e))return!1;let t=Ni(r,e);return LB(t)}return!0}catch(t){return!1}}function x7e(r){return Array.isArray(r)?r.filter(e=>{if(typeof e!="string"||!e.trim())return!1;let t=e.trim();if(t.startsWith("T")&&/^T\d{2}:\d{2}(:\d{2})?/.test(t)||!/^\d{4}-\d{2}-\d{2}$/.test(t))return!1;try{return Ii(t),!0}catch(n){return qe.warn("Invalid complete_instances entry (date parsing failed):",{category:"validation",operation:"invalid-complete-instances-entry-date-parsing",details:{value:e},error:n}),!1}}).map(e=>e.trim()):[]}function C7e(){return P(new Date,"yyyy-MM-dd'T'HH:mm")}function gv(r,e){try{let t=Ii(r),n=Vf(t,e);return kr(r)?P(n,"yyyy-MM-dd'T'HH:mm"):P(n,"yyyy-MM-dd")}catch(t){throw qe.error("Error adding days to datetime:",{category:"validation",operation:"adding-days-datetime",details:{dateString:r,days:e},error:t}),t}}function _p(r){try{let e=r.match(/^(\d{4})-(\d{2})-(\d{2})/);if(!e)throw new Error(`Invalid date format for RRULE: ${r}`);let[,t,n,i]=e,a=parseInt(t,10),s=parseInt(n,10),o=parseInt(i,10);if(s<1||s>12)throw new Error(`Invalid month in date: ${r}`);if(o<1||o>31)throw new Error(`Invalid day in date: ${r}`);let l=new Date(Date.UTC(a,s-1,o));if(l.getUTCFullYear()!==a||l.getUTCMonth()!==s-1||l.getUTCDate()!==o)throw new Error(`Invalid date values: ${r}`);return l}catch(e){throw qe.error("Error creating UTC date for RRULE:",{category:"validation",operation:"creating-utc-date-rrule",details:{dateString:r},error:e}),e}}function vn(r){let e=r.getFullYear(),t=r.getMonth(),n=r.getDate();return new Date(Date.UTC(e,t,n,0,0,0,0))}function zB(r){try{let e=wr(),t=vn(e);return r.getUTCFullYear()===t.getUTCFullYear()&&r.getUTCMonth()===t.getUTCMonth()&&r.getUTCDate()===t.getUTCDate()}catch(e){return qe.error("Error in isTodayUTC:",{category:"validation",operation:"istodayutc",error:e}),!1}}function D7e(r,e){try{let t=P(r,"yyyy-MM-dd"),n=P(e,"yyyy-MM-dd"),i=_p(t),a=_p(n);return{utcStart:i,utcEnd:a}}catch(t){throw qe.error("Error normalizing calendar boundaries to UTC:",{category:"provider",operation:"normalizing-calendar-boundaries-utc",details:{startDate:r,endDate:e},error:t}),t}}function P7e(r){try{let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}catch(e){return qe.error("Error formatting date as UTC string:",{category:"validation",operation:"formatting-date-as-utc-string",details:{date:r},error:e}),r.toISOString().split("T")[0]}}function ce(r){try{if(!r||!(r instanceof Date)||isNaN(r.getTime()))return qe.warn("formatDateForStorage received invalid date:",{category:"validation",operation:"formatdateforstorage-received-invalid-date",details:{value:r}}),"";let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}catch(e){return qe.error("Error formatting date for storage:",{category:"validation",operation:"formatting-date-storage",details:{date:r},error:e}),""}}function jB(r,e){let t=[],n=ce(r),i=ce(e),a=_p(n),s=_p(i);for(;a<=s;)t.push(new Date(a)),a.setUTCDate(a.getUTCDate()+1);return t}function N_(r,e=1){let t=_p(ce(r)),i=(t.getUTCDay()-e+7)%7,a=new Date(t);return a.setUTCDate(a.getUTCDate()-i),a}function BB(r,e=1){let t=N_(r,e),n=new Date(t);return n.setUTCDate(n.getUTCDate()+6),n}function R_(r){let e=_p(ce(r));return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1))}function O_(r){let e=_p(ce(r));return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+1,0))}function L_(r){if(!r||typeof r!="string")return!1;let e=r.toLowerCase().trim().replace(/\s+/g," ");return e in Qw?!0:[/^in\s+(\d+)\s+(days?)$/,/^(\d+)\s+(days?)\s+ago$/,/^in\s+(\d+)\s+(weeks?)$/,/^(\d+)\s+(weeks?)\s+ago$/].some(n=>n.test(e))}function M7e(r){if(typeof r!="string")return!1;let e=r.trim();if(e===""||L_(e))return!0;try{let t=Ii(e);return bi(t)}catch(t){return!1}}function nh(r){if(!r||typeof r!="string")return r;let e=r.toLowerCase().trim().replace(/\s+/g," ");if(e in Qw)try{return Qw[e]()}catch(t){return qe.error("Error resolving natural language date:",{category:"validation",operation:"resolving-natural-language-date",details:{value:r},error:t}),r}try{let t=e.match(/^in\s+(\d+)\s+(days?)$/);if(t){let n=parseInt(t[1],10);return eh(zn(),n)}if(t=e.match(/^(\d+)\s+(days?)\s+ago$/),t){let n=parseInt(t[1],10);return eh(zn(),-n)}if(t=e.match(/^in\s+(\d+)\s+(weeks?)$/),t){let n=parseInt(t[1],10);return FB(zn(),n)}if(t=e.match(/^(\d+)\s+(weeks?)\s+ago$/),t){let n=parseInt(t[1],10);return FB(zn(),-n)}}catch(t){qe.error("Error parsing relative natural language date:",{category:"validation",operation:"parsing-relative-natural-language-date",details:{value:r},error:t})}return r}function _7e(){let r=Object.keys(Qw),e=["in 3 days","2 days ago","in 1 week","2 weeks ago"];return[...r,...e].sort()}var qe,Qw,Ne=y(()=>{Br();G();qe=I({tag:"Utils/DateUtils"});Qw={today:()=>zn(),tomorrow:()=>eh(zn(),1),yesterday:()=>eh(zn(),-1),"next week":()=>eh(zn(),7),"last week":()=>eh(zn(),-7)}});function ih(r,e=!0){return bpe(r,e,{today:zn()})}var yv=y(()=>{OB();OB();Ne()});function _r(r,e=""){var i;let t=(i=r==null?void 0:r.trim())!=null?i:"";if(!t)return e;let n=t.toLowerCase();if(HB.has(n))return`var(--color-${n})`;if(n==="accent")return"var(--color-accent)";if(n.startsWith("color-")){let a=n.slice(6);if(HB.has(a)||a==="accent")return`var(--${n})`}return n.startsWith("--")?`var(${t})`:t}function au(r){var a;let e=(a=r==null?void 0:r.trim())!=null?a:"",t=e.match(A7e);if(!t)return e;let n=t[1].toLowerCase();if(n==="--color-accent")return"accent";let i=n.replace(/^--color-/,"");return HB.has(i)?i:e}function su(r){return _r(r).startsWith("var(")}function $_(r){let e=_r(r);return e?!!(I7e.test(e)||su(e)||Ipe.test(e)):!1}function vv(r,e){let t=_r(r);if(!t)return`rgba(128, 128, 128, ${e})`;if(su(t)||Ipe.test(t))return`color-mix(in srgb, ${t} ${Math.round(e*100)}%, transparent)`;let n=t.replace("#","");if(/^[0-9a-f]{3}$/i.test(n)){let o=parseInt(n[0]+n[0],16),l=parseInt(n[1]+n[1],16),c=parseInt(n[2]+n[2],16);return`rgba(${o}, ${l}, ${c}, ${e})`}if(!/^[0-9a-f]{6}$/i.test(n))return`rgba(128, 128, 128, ${e})`;let i=parseInt(n.substring(0,2),16),a=parseInt(n.substring(2,4),16),s=parseInt(n.substring(4,6),16);return`rgba(${i}, ${a}, ${s}, ${e})`}var Ape,HB,A7e,I7e,Ipe,F_,Npe,fc=y(()=>{Ape=["red","orange","yellow","green","cyan","blue","purple","pink"],HB=new Set(Ape),A7e=/^var\(\s*(--[a-z0-9_-]+)\s*\)$/i,I7e=/^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i,Ipe=/^(?:rgb|rgba|hsl|hsla|oklch|lab|color|color-mix)\(/i,F_="#6366f1, red, blue, cyan",Npe=[...Ape,"accent","var(--color-accent)"]});async function ah(r,e,t){await r.fileManager.processFrontMatter(e,t)}async function sh(r,e,t){return r.vault.create(e,t)}async function Xw(r,e){await r.vault.createFolder(e)}async function Xa(r,e,t){await r.vault.modify(e,t)}async function VB(r,e,t){await r.vault.rename(e,t)}var qB=y(()=>{});function Lpe(r){return window.moment(r)}function z_(r){if(!r.startsWith("---"))return{};let e=r.indexOf("---",3);if(e===-1)return{};let t=r.substring(3,e);try{return(0,lh.parseYaml)(t)||{}}catch(n){return oh.error("Error parsing frontmatter:",{category:"validation",operation:"parsing-frontmatter",error:n}),{}}}async function Ap(r,e){try{let n=(0,lh.normalizePath)(e).split("/").filter(a=>a.length>0),i="";for(let a of n)if(i=i?`${i}/${a}`:a,!await r.adapter.exists(i))try{await r.createFolder(i)}catch(s){if(!await r.adapter.exists(i))throw new Error(`Failed to create folder "${i}"`)}}catch(t){let n=t instanceof Error?t.message:String(t),i=t instanceof Error?t.stack:void 0;oh.error("Error creating folder structure:",{category:"internal",operation:"creating-folder-structure",details:{stack:i,folderPath:e,normalizedPath:(0,lh.normalizePath)(e)},error:n});let a=new Error(`Failed to create folder "${e}": ${n}`);throw i&&(a.stack=i),a}}function N7e(r,e){try{let t=new Date(r),n=new Date(e);if(isNaN(t.getTime())||isNaN(n.getTime()))return oh.error("Invalid timestamps for duration calculation:",{category:"validation",operation:"invalid-timestamps-duration-calculation",details:{startTime:r,endTime:e}}),0;if(n<=t)return oh.error("End time is not after start time:",{category:"internal",operation:"end-time-not-start-time",details:{startTime:r,endTime:e}}),0;let i=n.getTime()-t.getTime(),a=Math.round(i/(1e3*60));return Math.max(0,a)}catch(t){return oh.error("Error calculating duration:",{category:"internal",operation:"calculating-duration",details:{startTime:r,endTime:e},error:t}),0}}function Aa(r){return!r||!Array.isArray(r)?0:r.reduce((e,t)=>{if(!t.startTime||!t.endTime)return e;let n=N7e(t.startTime,t.endTime);return e+n},0)}function j_(r){return!r||!Array.isArray(r)?null:r.find(e=>e.startTime&&!e.endTime)||null}function B_(r){if(!r||r===0||isNaN(r))return"0m";let e=Math.floor(r/60),t=r%60;return e===0?`${t}m`:t===0?`${e}h`:`${e}h ${t}m`}function eS(r){if(r==="none")return"";let e=new Date,t;switch(r){case"today":t=e;break;case"tomorrow":t=new Date(e),t.setDate(e.getDate()+1);break;case"next-week":t=new Date(e),t.setDate(e.getDate()+7);break;default:return""}return P(t,"yyyy-MM-dd")}function R7e(r){return typeof r=="string"&&/^([01]\d|2[0-3]):[0-5]\d$/.test(r)}function Ip(r,e){let t=eS(r);return!t||!R7e(e)?t:Ni(t,e)}function WB(r,e){return r.getUTCFullYear()===e.getUTCFullYear()&&r.getUTCMonth()===e.getUTCMonth()&&r.getUTCDate()===e.getUTCDate()}function Fpe(r,e,t,n,i,a,s){var d;let o=r.metadataCache.getFileCache(n),l=o==null?void 0:o.frontmatter;if(l)if(i){let u=i.mapFromFrontmatter(l,t,a);return{title:u.title||"Untitled task",status:u.status||s||"open",priority:u.priority||"normal",due:u.due,scheduled:u.scheduled,path:t,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}}else{let p=new Yf(jw).mapFromFrontmatter(l,t,a);return{title:p.title||"Untitled task",status:p.status||s||"open",priority:p.priority||"normal",due:p.due,scheduled:p.scheduled,path:t,archived:p.archived||!1,tags:p.tags||[],contexts:p.contexts||[],projects:p.projects||[],recurrence:p.recurrence,complete_instances:p.complete_instances,completedDate:p.completedDate,timeEstimate:p.timeEstimate,timeEntries:p.timeEntries,dateCreated:p.dateCreated,dateModified:p.dateModified,reminders:p.reminders}}return{title:((d=t.split("/").pop())==null?void 0:d.replace(".md",""))||"Untitled",status:s||"open",priority:"normal",path:t,archived:!1,reminders:[]}}function Np(r){if(r.startsWith("---")){let e=r.match(/^---\s*\r?\n([\s\S]*?)\r?\n---\s*\r?\n?([\s\S]*)$/);if(e)return{frontmatter:e[1],body:e[2]||""}}return{frontmatter:null,body:r}}function $pe(r){let e=/^(\s*)([-*+]|\d+\.)(\s+\[)[xX](\].*)/gm,t=!1;return{content:r.replace(e,(i,a,s,o,l)=>(t=!0,`${a}${s}${o} ${l}`)),changed:t}}function U_(r,e){return NB(r,e)}function bv(r,e,t){return P_(r,e,t)}function Tv(r,e,t){return Zw(r,e,t)}function zpe(r){return ype(r)}function jpe(r,e=!0){return ih(r,e)}function Bpe(r){return Tpe(r)}function Rpe(r,e=!1){if(e&&r==="24:00")return Ope;let t=/^([0-1]?[0-9]|2[0-3]):([0-5][0-9])$/.exec(r);return t?Number(t[1])*60+Number(t[2]):null}function O7e(r){if(!r||typeof r!="object")return!1;let e=r;if(!e.id||typeof e.id!="string"||!e.title||typeof e.title!="string"||!e.startTime||typeof e.startTime!="string"||!e.endTime||typeof e.endTime!="string")return!1;let t=Rpe(e.startTime),n=Rpe(e.endTime,!0);if(t===null||n===null||(e.endTime==="00:00"&&t>0?Ope:n)<=t||e.attachments&&!Array.isArray(e.attachments))return!1;if(e.attachments){for(let a of e.attachments)if(typeof a!="string"||!a.trim())return!1}return!(e.color&&typeof e.color!="string"||e.description&&typeof e.description!="string")}function L7e(r,e){try{let t=z_(r);if(!t||!t.timeblocks||!Array.isArray(t.timeblocks))return[];let n=[];for(let i of t.timeblocks)O7e(i)?n.push(i):oh.warn(`Invalid timeblock in ${e}:`,{category:"validation",operation:"invalid-timeblock",details:{value:i}});return n}catch(t){return oh.error(`Error extracting timeblocks from ${e}:`,{category:"internal",operation:"extracting-timeblocks",error:t}),[]}}function YB(){return`tb-${Date.now()}-${Math.random().toString(36).substring(2,11)}`}function F7e(r,e,t){return{...r,id:YB(),startTime:e,endTime:t,attachments:r.attachments?[...r.attachments]:void 0}}async function GB(r,e,t,n,i,a){let{getDailyNote:s,getAllDailyNotes:o,appHasDailyNotesPluginLoaded:l}=await Promise.resolve().then(()=>tt(jd()));if(!l())throw new Error("Daily Notes plugin is not enabled");let c=o(),d=Lpe(t),u=s(d,c);if(!u)throw new Error(`Daily note for ${t} not found`);let p=await r.vault.read(u),m=L7e(p,u.path),f=m.findIndex(v=>v.id===e);if(f===-1)throw new Error(`Timeblock ${e} not found`);let h=m[f];if(t===n){await $7e(r,u,e,i,a);return}await z7e(r,u,e);let g={...h,startTime:i,endTime:a};await Hpe(r,n,g)}async function Upe(r,e,t,n,i){let a=F7e(t,n,i);return await Hpe(r,e,a),a}async function $7e(r,e,t,n,i){let a=await r.vault.read(e),s=z_(a)||{};if(!s.timeblocks||!Array.isArray(s.timeblocks))throw new Error("No timeblocks found in frontmatter");let o=s.timeblocks.findIndex(l=>l.id===t);if(o===-1)throw new Error(`Timeblock ${t} not found`);s.timeblocks[o].startTime=n,s.timeblocks[o].endTime=i,await KB(r,e,s,a)}async function z7e(r,e,t){let n=await r.vault.read(e),i=z_(n)||{};!i.timeblocks||!Array.isArray(i.timeblocks)||(i.timeblocks=i.timeblocks.filter(a=>a.id!==t),await KB(r,e,i,n))}async function Hpe(r,e,t){let{createDailyNote:n,getDailyNote:i,getAllDailyNotes:a}=await Promise.resolve().then(()=>tt(jd())),s=Lpe(e),o=a(),l=i(s,o);if(!l){try{l=await n(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 r.vault.read(l),d=z_(c)||{};d.timeblocks||(d.timeblocks=[]),d.timeblocks.push(t),await KB(r,l,d,c)}async function KB(r,e,t,n){let i=n;if(n.startsWith("---")){let o=n.indexOf("---",3);o!==-1&&(i=n.substring(o+3))}let s=`---
${(0,lh.stringifyYaml)(t)}---${i}`;await Xa(r,e,s)}function Tl(r){return!r||!Array.isArray(r)?[]:r.filter(e=>{if(typeof e!="string")return!1;let t=e.trim();return!(t.length===0||t==='""'||t==="''")})}function Vpe(r,e){return M_(r,e)}function qpe(r,e,t){return kpe(r,e,t)}function Ri(r){return!r||typeof r!="string"?"":r.split(",").map(e=>Rw(e)).filter(e=>e.length>0).join(", ")}function ou(r){return!r||typeof r!="string"?"":r.replace(/[^a-zA-Z0-9-]/g,"-").toLowerCase()}var lh,oh,Ope,Ct=y(()=>{lh=require("obsidian");Br();fB();f_();yv();Ne();iv();fc();G();qB();oh=I({tag:"Utils/Helpers"}),Ope=1440});function Z(r){var e;if(r==null)return"";if(typeof r=="string")return r;if(typeof r=="number")return Number.prototype.toString.call(r);if(typeof r=="bigint")return BigInt.prototype.toString.call(r);if(typeof r=="boolean")return r?"true":"false";if(typeof r=="symbol")return(e=r.description)!=null?e:"";if(r instanceof Date)return r.toISOString();if(Array.isArray(r))return r.map(t=>Z(t)).filter(t=>t.length>0).join(", ");try{let t=JSON.stringify(r);return typeof t=="string"?t:""}catch(t){return""}}function H_(r){return Array.isArray(r)?r.map(e=>Z(e)):[Z(r)]}var gr=y(()=>{});var ltr,Rp,V_=y(()=>{gr();G();ltr=I({tag:"Utils/ProjectMetadataResolver"}),Rp=class{constructor(e){this.deps=e}buildMetadataRows(e,t,n){var s;let i=[],a=Math.min(e.length,3);for(let o=0;o<a;o++){let l=e[o];if(l)try{let c=n(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,t);p&&(u.showName?d.push(`${(s=u.displayName)!=null?s:u.property}: ${p}`):d.push(p))}d.length>0&&i.push(d.join(" "))}catch(c){}}return i}stringifyFmValue(e){if(e==null)return"";if(Array.isArray(e))return e.map(i=>this.stringifyFmValue(i)).filter(Boolean).join(", ");let t=typeof e;if(t==="string"){let i=e.trim(),a=i.match(/^\[\[([^\]]+)\]\]$/);if(a){let l=a[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=i.match(/^\[([^\]]+)\]\(([^)]+)\)$/);return s?s[1].trim():i}if(t==="number"||t==="boolean")return Z(e);if(t==="object"){let n=e;if(typeof n.path=="string"){let i=n.path;return(i.split("/").pop()||i).replace(/\.md$/i,"")}return""}return""}resolve(e,t){if(!e)return"";if(e.startsWith("file."))switch(e){case"file.basename":return t.basename||"";case"file.name":return t.name||"";case"file.path":return t.path||"";case"file.parent":return t.parent||"";default:return""}if(e==="title")return t.title||"";if(e==="aliases"){let a=t.aliases||[];return a.length?a.join(", "):""}let n=e;e.startsWith("frontmatter:")&&(n=e.slice(12));let i=this.deps.getFrontmatter(t)||{};return this.stringifyFmValue(i[n])}}});function j7e(r){let e=[],t="",n=0;for(;n<r.length;){let i=r[n];if(i==="\\"&&n+1<r.length){t+=r[n+1],n+=2;continue}if(i==="|"){e.push(t.trim()),t="",n++;continue}t+=i,n++}return e.push(t.trim()),e.filter(i=>i.length>0)}function B7e(r){return r.replace(/\\\|/g,"|").replace(/\\\)/g,")")}function hc(r){let e=[];if(!r)return e;let t=/\{([^}]*)\}/g,n,i=0;for(;(n=t.exec(r))!==null;){let s=r.slice(i,n.index);s.length>0&&e.push({property:`literal:${s}`,showName:!1}),i=t.lastIndex;let o=n[1].trim();if(!o)continue;let l=j7e(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=B7e(p.slice(2,-1))):p==="s"&&(d.searchable=!0)}e.push(d)}let a=r.slice(i);return a.length>0&&e.push({property:`literal:${a}`,showName:!1}),e}var tS=y(()=>{});function Wpe(r){return r!=null?r.trim():""}function U7e(r){let e=Wpe(r);return e.length>0?e.split(",").map(t=>t.trim()).filter(Boolean):[]}function H7e(r){return r?r.trim():""}function kv(r){let e=H7e(r==null?void 0:r.propertyKey),t=Wpe(r==null?void 0:r.propertyValue);return{key:e,value:t,enabled:e.length>0}}function wv(r,e){if(!e.enabled)return!0;if(!r||typeof r!="object"||!(e.key in r))return!1;let t=r[e.key],n=U7e(e.value);if(n.length===0)return t!=null;let i=new Set(n.map(s=>s.toLowerCase())),a=s=>{if(s==null)return!1;if(Array.isArray(s))return s.some(o=>a(o));if(typeof s=="string")return i.has(s.trim().toLowerCase());if(typeof s=="number"||typeof s=="boolean")return i.has(String(s).toLowerCase());if(typeof s=="object")try{return i.has(JSON.stringify(s).toLowerCase())}catch(o){return!1}return i.has(Z(s).toLowerCase())};return a(t)}var q_=y(()=>{gr()});var Oi,lu,ch,yr,cu=y(()=>{Ne();Oi=class extends Error{constructor(t,n,i){super(t);this.field=n;this.nodeId=i;this.name="FilterValidationError"}},lu=class extends Error{constructor(t,n){super(t);this.nodeId=n;this.name="FilterEvaluationError"}},ch=class ch{static generateId(){return`filter_${Date.now()}_${++this.idCounter}`}static deepCloneFilterQuery(e){return JSON.parse(JSON.stringify(e))}static validateFilterNode(e,t=!0){if(!e||typeof e!="object")throw new Oi("Filter node must be an object");if(!("id"in e)||!e.id||typeof e.id!="string")throw new Oi("Filter node must have a valid string ID",void 0,"id"in e?String(e.id):"unknown");if(e.type==="condition")this.validateCondition(e,t);else if(e.type==="group")this.validateGroup(e,t);else{let n=e;throw new Oi(`Unknown filter node type: ${String(n.type)}`,void 0,typeof n.id=="string"?n.id:void 0)}}static validateCondition(e,t=!0){if(typeof e.property!="string")throw new Oi("Condition must have a valid property","property",e.id);if(t&&e.property==="")throw new Oi("Property must be selected","property",e.id);if(e.property==="")return;if(!e.operator||typeof e.operator!="string")throw new Oi("Condition must have a valid operator","operator",e.id);if(!this.getValidOperatorsForProperty(e.property).includes(e.operator))throw new Oi(`Operator '${e.operator}' is not valid for property '${e.property}'`,"operator",e.id);if(t&&this.operatorRequiresValue(e.operator)&&(e.value===null||e.value===void 0||e.value===""))throw new Oi(`Operator '${e.operator}' requires a value`,"value",e.id)}static validateGroup(e,t=!0){if(!e.conjunction||!["and","or"].includes(e.conjunction))throw new Oi("Group must have a valid conjunction (and/or)","conjunction",e.id);if(!Array.isArray(e.children))throw new Oi("Group must have a children array","children",e.id);e.children.forEach((n,i)=>{try{this.validateFilterNode(n,t)}catch(a){throw a instanceof Oi?new Oi(`Child ${i}: ${a.message}`,a.field,e.id):a}})}static getValidOperatorsForProperty(e){return typeof e=="string"&&e.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"],hasSubtasks:["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"]}[e]||[]}static isFilterNodeComplete(e){try{return this.validateFilterNode(e,!0),!0}catch(t){return!1}}static operatorRequiresValue(e){return!["is-empty","is-not-empty","is-checked","is-not-checked"].includes(e)}static getTaskPropertyValue(e,t){var n;switch(t){case"title":return e.title;case"path":return e.path;case"status":return e.status;case"priority":return e.priority;case"tags":return e.tags||[];case"contexts":return e.contexts||[];case"projects":return e.projects||[];case"blockedBy":return((n=e.blockedBy)==null?void 0:n.map(i=>i.uid))||[];case"blocking":return e.blocking||[];case"due":return e.due;case"scheduled":return e.scheduled;case"completedDate":return e.completedDate;case"dateCreated":return e.dateCreated;case"dateModified":return e.dateModified;case"archived":return e.archived;case"hasSubtasks":return e.hasSubtasks===!0;case"timeEstimate":return e.timeEstimate;case"recurrence":return e.recurrence;case"status.isCompleted":return;case"dependencies.isBlocked":return e.isBlocked===!0;case"dependencies.isBlocking":return e.isBlocking===!0;default:throw new lu(`Unknown property: ${t}`)}}static applyOperator(e,t,n,i,a){try{switch(t){case"is":return this.isEqual(e,n,a);case"is-not":return!this.isEqual(e,n,a);case"contains":return this.contains(e,n,a);case"does-not-contain":return!this.contains(e,n,a);case"is-before":return this.isBefore(e,n);case"is-after":return this.isAfter(e,n);case"is-on-or-before":return this.isOnOrBefore(e,n);case"is-on-or-after":return this.isOnOrAfter(e,n);case"is-empty":return this.isEmpty(e);case"is-not-empty":return!this.isEmpty(e);case"is-checked":return e===!0;case"is-not-checked":return e!==!0;case"is-greater-than":return this.isGreaterThan(e,n);case"is-less-than":return this.isLessThan(e,n);case"is-greater-than-or-equal":return this.isGreaterThanOrEqual(e,n);case"is-less-than-or-equal":return this.isLessThanOrEqual(e,n);default:throw new lu("Unknown operator",i)}}catch(s){throw s instanceof lu?s:new lu(`Error applying operator '${t}': ${s.message}`,i)}}static isEqual(e,t,n){if(n&&this.isDateProperty(n)&&typeof e=="string"&&typeof t=="string"&&(e||L_(t)))return this.isEqualDate(e,t);let i=(a,s)=>this.hasNumericComparison(a,s)?this.toFiniteNumber(a)===this.toFiniteNumber(s):a===s;return Array.isArray(e)?Array.isArray(t)?e.some(a=>t.some(s=>i(a,s))):e.some(a=>i(a,t)):Array.isArray(t)?t.some(a=>i(e,a)):i(e,t)}static hasNumericComparison(e,t){return!(typeof e=="number")&&!(typeof t=="number")?!1:this.toFiniteNumber(e)!==void 0&&this.toFiniteNumber(t)!==void 0}static toFiniteNumber(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(typeof e!="string")return;let t=e.trim();if(!t)return;let n=Number(t);return Number.isFinite(n)?n:void 0}static matchesHierarchicalTag(e,t){if(!e||!t)return!1;let n=e.toLowerCase(),i=t.toLowerCase();return!!(n===i||n.startsWith(i+"/")||n.includes(i))}static matchesHierarchicalTagExact(e,t){if(!e||!t)return!1;let n=e.toLowerCase(),i=t.toLowerCase();return!!(n===i||n.startsWith(i+"/"))}static matchesTagConditions(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;if(t.length===0)return!0;let n=[],i=[];for(let a of t)if(typeof a=="string"&&a.startsWith("-")){let s=a.slice(1);s&&i.push(s)}else typeof a=="string"&&n.push(a);for(let a of i)if(e.some(o=>this.matchesHierarchicalTag(o,a)))return!1;return n.length>0?n.some(a=>e.some(s=>this.matchesHierarchicalTag(s,a))):!0}static contains(e,t,n){if(Array.isArray(e))if(Array.isArray(t))if(n==="tags"){let i=e.filter(s=>typeof s=="string"),a=t.filter(s=>typeof s=="string");return ch.matchesTagConditions(i,a)}else return t.some(i=>e.some(a=>typeof a=="string"&&typeof i=="string"&&a.toLowerCase().includes(i.toLowerCase())));else{let i=typeof t=="string"?t:String(t!=null?t:"");if(n==="tags"){let a=e.filter(s=>typeof s=="string");return ch.matchesTagConditions(a,[i])}else{let a=i.toLowerCase();return e.some(s=>typeof s=="string"&&s.toLowerCase().includes(a))}}else if(typeof e=="string")if(Array.isArray(t))if(n==="tags"){let i=t.filter(a=>typeof a=="string");return ch.matchesTagConditions([e],i)}else return t.some(i=>typeof i=="string"&&e.toLowerCase().includes(i.toLowerCase()));else return n==="tags"&&typeof t=="string"?ch.matchesTagConditions([e],[t]):typeof t=="string"&&e.toLowerCase().includes(t.toLowerCase());return!1}static isBefore(e,t){if(!e||!t)return!1;try{let n=nh(t);return nu(e,n)}catch(n){return!1}}static isAfter(e,t){if(!e||!t)return!1;try{let n=nh(t);return nu(n,e)}catch(n){return!1}}static isOnOrBefore(e,t){if(!e||!t)return!1;try{let n=nh(t);return nu(e,n)||bo(ke(e),ke(n))}catch(n){return!1}}static isOnOrAfter(e,t){if(!e||!t)return!1;try{let n=nh(t);return nu(n,e)||bo(ke(e),ke(n))}catch(n){return!1}}static isDateProperty(e){return["due","scheduled","completedDate","dateCreated","dateModified"].includes(e)}static isEqualDate(e,t){try{let n=nh(t);return bo(ke(e),ke(n))}catch(n){return!1}}static isEmpty(e){return e==null?!0:typeof e=="string"?e.trim()==="":Array.isArray(e)?e.length===0?!0:e.every(t=>{if(typeof t!="string")return!1;let n=t.trim();return n.length===0||n==='""'||n==="''"}):!1}static isGreaterThan(e,t){let n=typeof e=="number"?e:parseFloat(e),i=typeof t=="number"?t:parseFloat(t);return isNaN(n)||isNaN(i)?!1:n>i}static isLessThan(e,t){let n=typeof e=="number"?e:parseFloat(e),i=typeof t=="number"?t:parseFloat(t);return isNaN(n)||isNaN(i)?!1:n<i}static isGreaterThanOrEqual(e,t){let n=typeof e=="number"?e:parseFloat(e),i=typeof t=="number"?t:parseFloat(t);return isNaN(n)||isNaN(i)?!1:n>=i}static isLessThanOrEqual(e,t){let n=typeof e=="number"?e:parseFloat(e),i=typeof t=="number"?t:parseFloat(t);return isNaN(n)||isNaN(i)?!1:n<=i}};ch.idCounter=0;yr=ch});function Sv(r){var n,i,a;let e=new Set;for(let s of(n=r==null?void 0:r.tags)!=null?n:[])QB(e,s.tag);let t=(i=r==null?void 0:r.frontmatter)!=null?i:null;for(let s of(a=(0,Ype.parseFrontMatterTags)(t))!=null?a:[])QB(e,s);return ZB(e,t==null?void 0:t.tags),ZB(e,t==null?void 0:t.tag),Array.from(e)}function ZB(r,e){if(Array.isArray(e)){for(let t of e)ZB(r,t);return}if(typeof e=="string")for(let t of e.split(/[,\s]+/))QB(r,t)}function QB(r,e){if(typeof e!="string")return;let t=e.trim().replace(/^#/,"");t&&r.add(t)}var Ype,W_=y(()=>{Ype=require("obsidian")});function rS(r,e){if(!r||!e)return 0;let t=r.toLowerCase().split(" ").filter(Boolean),n=e.toLowerCase(),i=0,a=0;for(let s=0;s<t.length;s++){let o=t[s],l=n.indexOf(o,i);if(l===-1)return 0;a+=Math.max(0,100-l),n.startsWith(o,l)&&(a+=10),s>0&&l===i&&(a+=5),i=l+o.length}return a}var Gpe=y(()=>{});var XB={};et(XB,{FileSuggestHelper:()=>JB,getActiveFolderPath:()=>Y_,isPathInIncludedFolders:()=>G_,resolveIncludeFolders:()=>Qpe});function V7e(r){var t;let e=(t=r==null?void 0:r.app)==null?void 0:t.vault;return typeof(e==null?void 0:e.getFiles)=="function"?e.getFiles():typeof(e==null?void 0:e.getMarkdownFiles)=="function"?e.getMarkdownFiles():[]}function q7e(r){return r.extension==="md"?r.basename:r.name||r.path.split("/").pop()||r.basename}function Zpe(r){return r.trim().replace(/\\/g,"/").replace(/^\/+/,"").replace(/\/+$/,"")}function W7e(r,e=""){let t=Zpe(e).split("/").filter(Boolean);for(let n of r.replace(/\\/g,"/").split("/"))!n||n==="."||(n===".."?t.pop():t.push(n));return t.join("/")}function Y7e(r,e){let t=Zpe(r);return t==="."||t===".."||t.startsWith("./")||t.startsWith("../")?W7e(t,e):t}function Y_(r){var t,n,i,a;let e=(i=(n=(t=r==null?void 0:r.app)==null?void 0:t.workspace)==null?void 0:n.getActiveFile)==null?void 0:i.call(n);if(((a=e==null?void 0:e.parent)==null?void 0:a.path)!==void 0)return e.parent.path;if(typeof(e==null?void 0:e.path)=="string")return e.path.split("/").slice(0,-1).join("/")}function Qpe(r,e){return r.filter(t=>t.trim().length>0).map(t=>Y7e(t,e))}function G_(r,e,t){return Qpe(e,t).some(i=>i===""||r===i||r.startsWith(`${i}/`))}var Kpe,JB,nS=y(()=>{Kpe=require("obsidian");Gpe();tS();q_();cu();Nw();W_();JB={async suggest(r,e,t=20,n,i=Y_(r)){var o,l;let a=async()=>{var w,S,x,C,D,_,O;let c=V7e(r),d=[],u=cc((w=r.settings)==null?void 0:w.excludedFolders),p=((C=(x=(S=r.settings)==null?void 0:S.projectAutosuggest)==null?void 0:x.rows)!=null?C:[]).slice(0,3),m=new Set;for(let L of p)try{let N=hc(L);for(let R of N)R.searchable&&!R.property.startsWith("literal:")&&m.add(R.property)}catch(N){}let f=(e||"").toLowerCase(),h=(D=n==null?void 0:n.requiredTags)!=null?D:[],g=(_=n==null?void 0:n.includeFolders)!=null?_:[],v=kv(n);for(let L of c){if(rv(L.path,u))continue;let N=r.app.metadataCache.getFileCache(L);if(h.length>0&&!yr.matchesTagConditions(Sv(N),h)||g.length>0&&!G_(L.path,g,i))continue;if(v.enabled){let te=N==null?void 0:N.frontmatter;if(!wv(te,v))continue}let R=L.basename,z="";if(N!=null&&N.frontmatter){let te=r.fieldMapper.mapFromFrontmatter(N.frontmatter,L.path,r.settings.storeTitleInFilename);z=typeof te.title=="string"?te.title:""}let H=N!=null&&N.frontmatter?(0,Kpe.parseFrontMatterAliases)(N.frontmatter)||[]:[],Y=0,J=f.length>0?rS(e,R):1;if(J>0&&(Y=Math.max(Y,J+15)),z){let te=rS(e,z);te>0&&(Y=Math.max(Y,te+5))}if(Array.isArray(H)){for(let te of H)if(typeof te=="string"){let Te=rS(e,te);Te>0&&(Y=Math.max(Y,Te))}}if(m.size>0){let te=(N==null?void 0:N.frontmatter)||{};for(let Te of m){let Ce="";if(Te==="file.path")Ce=L.path;else if(Te==="file.parent")Ce=((O=L.parent)==null?void 0:O.path)||"";else if(Te==="file.basename")Ce=R;else if(Te==="title")Ce=z;else if(Te==="aliases")Ce=(Array.isArray(H)?H.filter(ne=>typeof ne=="string"):[]).join(" ");else{let X=te[Te];X!=null&&(Array.isArray(X)?Ce=X.filter(ne=>typeof ne=="string").join(" "):typeof X=="object"?Ce=JSON.stringify(X):(typeof X=="string"||typeof X=="number"||typeof X=="boolean")&&(Ce=String(X)))}if(Ce){let X=rS(e,Ce),ne=X>0?X:Ce.toLowerCase().includes(f)?30:0;ne>0&&(Y=Math.max(Y,ne))}}}if(Y>0){let te=[];z&&z!==R&&te.push(`title: ${z}`);let Te=Array.isArray(H)?H.filter(X=>typeof X=="string"):[];Te.length&&te.push(`aliases: ${Te.join(", ")}`);let Ce=te.length?`${R} [${te.join(" | ")}]`:R;d.push({insertText:q7e(L),displayText:Ce,score:Y})}}d.sort((L,N)=>N.score-L.score);let k=[],b=new Set;for(let L of d)if(!b.has(L.insertText)&&(k.push(L),b.add(L.insertText),k.length>=t))break;return k},s=(l=(o=r.settings)==null?void 0:o.suggestionDebounceMs)!=null?l:0;return s?new Promise(c=>{let d=r;d.__fileSuggestTimer&&window.clearTimeout(d.__fileSuggestTimer),d.__fileSuggestTimer=window.setTimeout(()=>{(async()=>{let u=await a();c(u)})()},s)}):a()}}});var gc,G7e,yc,iS=y(()=>{gc=require("obsidian");V_();tS();q_();cu();W_();nS();G();G7e=I({tag:"Modals/ProjectSelectModal"}),yc=class extends gc.FuzzySuggestModal{constructor(e,t,n){super(e),this.plugin=t,this.onChoose=n,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 s,o,l,c,d,u,p;let e=this.app.vault.getAllLoadedFiles().filter(m=>m instanceof gc.TFile&&m.extension==="md"&&!m.path.includes(".trash")),t=(l=(o=(s=this.plugin.settings)==null?void 0:s.projectAutosuggest)==null?void 0:o.requiredTags)!=null?l:[],n=(u=(d=(c=this.plugin.settings)==null?void 0:c.projectAutosuggest)==null?void 0:d.includeFolders)!=null?u:[],i=kv((p=this.plugin.settings)==null?void 0:p.projectAutosuggest),a=Y_(this.plugin);return t.length===0&&n.length===0&&!i.enabled?e:e.filter(m=>{if(!(m instanceof gc.TFile))return!1;let f=this.app.metadataCache.getFileCache(m);if(t.length>0&&!yr.matchesTagConditions(Sv(f),t)||n.length>0&&!G_(m.path,n,a))return!1;if(i.enabled){let h=f==null?void 0:f.frontmatter;if(!wv(h,i))return!1}return!0})}getItemText(e){var s,o,l,c;if(!(e instanceof gc.TFile))return e.name;let t=`${e.name} ${e.path}`,n=(l=(o=(s=this.plugin.settings)==null?void 0:s.projectAutosuggest)==null?void 0:o.rows)!=null?l:[],i=new Set;for(let d of n)try{let u=hc(d);for(let p of u)p.searchable&&!p.property.startsWith("literal:")&&i.add(p.property)}catch(u){}let a=this.app.metadataCache.getFileCache(e);if(a!=null&&a.frontmatter){let d=this.plugin.fieldMapper.mapFromFrontmatter(a.frontmatter,e.path,this.plugin.settings.storeTitleInFilename),u=typeof d.title=="string"?d.title:"";u&&(t+=` ${u}`);let p=(0,gc.parseFrontMatterAliases)(a.frontmatter)||[];Array.isArray(p)&&p.length>0&&(t+=` ${p.join(" ")}`);for(let m of i){let f="";switch(m){case"file.path":f=e.path;break;case"file.parent":f=((c=e.parent)==null?void 0:c.name)||"";break;case"file.basename":f=e.basename;break;case"title":case"aliases":break;default:{let h=a.frontmatter[m];h!=null&&(f=Array.isArray(h)?h.join(" "):String(h));break}}f&&(t+=` ${f}`)}}return t}renderSuggestion(e,t){var s,o,l,c;let n=e.item;if(t.empty(),!(n instanceof gc.TFile)){t.textContent=n.name;return}let i=t.createDiv({cls:"project-suggestion"}),a=((l=(o=(s=this.plugin.settings)==null?void 0:s.projectAutosuggest)==null?void 0:o.rows)!=null?l:[]).slice(0,3);if(a.length===0){i.createSpan({cls:"project-name",text:n.basename});return}try{let d=this.app.metadataCache.getFileCache(n),u=(d==null?void 0:d.frontmatter)||{},p=this.plugin.fieldMapper.mapFromFrontmatter(u,n.path,this.plugin.settings.storeTitleInFilename),m=typeof p.title=="string"?p.title:"",f=(0,gc.parseFrontMatterAliases)(u)||[],h=Array.isArray(f)?f.filter(b=>typeof b=="string"):[],g={basename:n.basename,name:n.name,path:n.path,parent:((c=n.parent)==null?void 0:c.path)||"",title:m,aliases:h,frontmatter:u},v=new Rp({getFrontmatter:()=>u});i.createDiv({cls:"project-name",text:n.basename});let k=v.buildMetadataRows(a,g,hc);for(let b of k){let w=i.createDiv({cls:"project-meta"});w.textContent=b}}catch(d){G7e.error("Error rendering project suggestion:",{category:"internal",operation:"rendering-project-suggestion",error:d}),i.createSpan({cls:"project-name",text:n.basename})}}onChooseItem(e,t){this.onChoose(e)}}});function zs(r){if(r==null)return[];let e=[],t="",n=0,i=null;for(let s=0;s<r.length;s++){let o=r[s],l=r[s+1];if(!i&&o==="["&&l==="["){n++,t+="[[",s++;continue}if(!i&&o==="]"&&l==="]"&&n>0){n--,t+="]]",s++;continue}if(!n&&(o==='"'||o==="'")){i===null?i=o:i===o&&(i=null),t+=o;continue}if(o===","&&n===0&&i===null){let c=t.trim();c&&e.push(c),t="";continue}t+=o}let a=t.trim();return a&&e.push(a),e}var Op=y(()=>{});function K_(r){let e=r.search(/[#^]/);return(e===-1?r:r.slice(0,e)).trim()}function jt(r){if(!r)return r;let e=r.trim();if(e.startsWith("<")&&e.endsWith(">")){let n=e.slice(1,-1).trim(),i=/\.md$/i.test(n);try{n=decodeURIComponent(n)}catch(s){Jpe.debug("Failed to decode URI component:",{category:"internal",operation:"decode-uri-component",details:{value:n},error:s})}let a=K_(n);return i?n:a||n}if(e.startsWith("[[")&&e.endsWith("]]")){let n=e.slice(2,-2).trim(),i=n.indexOf("|"),a=i!==-1?n.substring(0,i):n;return K_(a)}let t=e.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(t){let n=t[2].trim();n.startsWith("<")&&n.endsWith(">")&&(n=n.slice(1,-1).trim());let i=/\.md$/i.test(n);try{n=decodeURIComponent(n)}catch(s){Jpe.debug("Failed to decode URI component:",{category:"internal",operation:"decode-uri-component",details:{value:n},error:s})}let a=K_(n);return i?n:a}return e}function kl(r,e){if(!r)return"";let t=r.trim(),n=t.match(/^\[([^\]]+)\]\(([^)]+)\)$/);if(n){let i=n[1].trim(),a=n[2].trim(),s=jt(a),o=Xpe(s,e,i);if(o)return o;if(i)return i;let l=s.replace(/\.md$/i,""),c=l.split("/");return c[c.length-1]||l}if(t.startsWith("[[")&&t.endsWith("]]")){let i=t.slice(2,-2).trim(),a=i.indexOf("|");if(a!==-1){let d=i.slice(a+1).trim();if(d)return d}let s=K_(i.split("|")[0]||i)||jt(t),o=Xpe(s,e);if(o)return o;let l=s.replace(/\.md$/i,""),c=l.split("/");return c[c.length-1]||l}return t}function Xpe(r,e,t){let n=e==null?void 0:e.metadataCache.getFirstLinkpathDest(r,"");if(!n)return null;let i=K7e(n,e);return i&&Z7e(t,n,r)?i:(t==null?void 0:t.trim())||n.basename}function K7e(r,e){var i,a,s,o;let t=(s=e==null?void 0:e.metadataCache.getFileCache(r))!=null?s:(a=(i=e==null?void 0:e.metadataCache)==null?void 0:i.getCache)==null?void 0:a.call(i,r.path),n=(o=t==null?void 0:t.frontmatter)==null?void 0:o.title;return typeof n=="string"&&n.trim().length>0?n.trim():null}function Z7e(r,e,t){let n=(r==null?void 0:r.trim())||"";if(!n)return!0;let i=e.path.replace(/\.md$/i,""),a=t.replace(/\.md$/i,"");return new Set([e.name,e.basename,e.path,i,t,a]).has(n)}function js(r,e,t,n,i,a){if(a)return r.fileManager.generateMarkdownLink(e,t,n||"",i||"");let o=`[[${r.metadataCache.fileToLinktext(e,t,!0)}`;return n&&(o+=n),i&&(o+=`|${i}`),o+="]]",o}function Z_(r,e,t,n,i){return js(r,e,t,"",n,i)}var Jpe,jn=y(()=>{G();Jpe=I({tag:"Utils/LinkUtils"})});function J7e(r){return Q7e.includes(r)}function e2(r){if(typeof r=="string")return r;if(typeof r=="object"&&r!==null){let e=r.uid;return typeof e=="string"?e:""}return""}function ts(r){if(typeof r=="string"){let e=r.trim();return e?{uid:jt(e),reltype:es}:null}if(typeof r=="object"&&r!==null){let e=r,t=typeof e.uid=="string"?e.uid.trim():"";if(!t)return null;let n=jt(t),i=typeof e.reltype=="string"?e.reltype.trim().toUpperCase():"",a=J7e(i)?i:es,s=typeof e.gap=="string"&&e.gap.trim().length>0?e.gap.trim():void 0;return s?{uid:n,reltype:a,gap:s}:{uid:n,reltype:a}}return null}function xv(r){if(r==null)return;let e=Array.isArray(r)?r:[r],t=[];for(let n of e){let i=ts(n);i&&t.push(i)}return t.length>0?t:void 0}function eme(r){return r.map(e=>{let n={uid:e.uid.startsWith("[[")?e.uid:`[[${e.uid}]]`,reltype:e.reltype};return e.gap&&e.gap.trim().length>0&&(n.gap=e.gap),n})}function wl(r,e,t){let n=e2(t);if(!n)return null;let i=jt(n);if(!i)return null;let a=new Set;a.add(i),i.endsWith(".md")&&a.add(i.replace(/\.md$/i,""));let s=(0,Ev.parseLinktext)(i);s.path&&s.path!==i&&a.add(s.path);for(let o of a){let l=r.metadataCache.getFirstLinkpathDest(o,e);if(l instanceof Ev.TFile)return{path:l.path,file:l};let c=r.vault.getAbstractFileByPath(o);if(c instanceof Ev.TFile)return{path:c.path,file:c}}return null}function To(r,e,t,n){let i=r.vault.getAbstractFileByPath(t);return i instanceof Ev.TFile?js(r,i,e,"","",n):`[[${(t.split("/").pop()||t).replace(/\.md$/i,"")}]]`}var Ev,es,Q7e,ko=y(()=>{Ev=require("obsidian");Op();jn();es="FINISHTOSTART",Q7e=["FINISHTOSTART","FINISHTOFINISH","STARTTOSTART","STARTTOFINISH"]});function Q_(r,e){var t;return new tme.Setting(r).setName(e.label).addButton(n=>{n.setButtonText(e.buttonText).setTooltip(e.buttonTooltip).onClick(e.onButtonClick),n.buttonEl.addClasses(["tn-btn","tn-btn--ghost"])}),(t=e.listElement)!=null?t:r.createDiv({cls:"task-projects-list"})}function rme(r,e){return Q_(e.container,{label:r.translate("modals.task.organization.projects"),buttonText:r.translate("modals.task.organization.addToProjectButton"),buttonTooltip:r.translate("modals.task.projectsTooltip"),onButtonClick:e.onButtonClick,listElement:e.listElement})}function nme(r,e){return Q_(e.container,{label:r.translate("modals.task.organization.subtasks"),buttonText:r.translate("modals.task.organization.addSubtasksButton"),buttonTooltip:r.translate("modals.task.organization.addSubtasksTooltip"),onButtonClick:e.onButtonClick,listElement:e.listElement})}function ime(r,e){return Q_(e.container,{label:r.translate("modals.task.dependencies.blockedBy"),buttonText:r.translate("modals.task.dependencies.addTaskButton"),buttonTooltip:r.translate("modals.task.dependencies.selectTaskTooltip"),onButtonClick:e.onButtonClick,listElement:e.listElement})}function ame(r,e){return Q_(e.container,{label:r.translate("modals.task.dependencies.blocking"),buttonText:r.translate("modals.task.dependencies.addTaskButton"),buttonTooltip:r.translate("modals.task.dependencies.selectTaskTooltip"),onButtonClick:e.onButtonClick,listElement:e.listElement})}var tme,sme=y(()=>{tme=require("obsidian")});function lme(r){let{task:e,plugin:t,excludeSelector:n,onSingleClick:i,onDoubleClick:a,contextMenuHandler:s,createBatchContextMenu:o}=r,l=n?`${ome}, ${n}`:ome,c=null,d=(S=!1)=>{let x=t.app.vault.getAbstractFileByPath(e.path);x instanceof t2.TFile&&(S?t.app.workspace.openLinkText(e.path,"",!0):t.app.workspace.getLeaf(!1).openFile(x))},u=async()=>{await t.openTaskEditModal(e)},p=async S=>{if(i){await i(S);return}if(S.ctrlKey||S.metaKey){d(!0);return}let x=t.settings.singleClickAction;x==="edit"?await u():x==="openNote"&&d(!1)},m=async S=>{if(a){await a(S);return}let x=t.settings.doubleClickAction;x==="edit"?await u():x==="openNote"&&d()},f=async S=>{if(S.target.closest(l))return;let C=t.taskSelectionService;if(C){if(S.shiftKey){S.stopPropagation(),C.isSelectionModeActive()||C.enterSelectionMode(),C.toggleSelection(e.path);return}C.isSelectionModeActive()&&(C.clearSelection(),C.exitSelectionMode())}if(S.stopPropagation(),t.settings.doubleClickAction==="none"){await p(S);return}c?(window.clearTimeout(c),c=null,await m(S)):c=window.setTimeout(()=>{c=null,p(S)},250)},h=S=>{f(S)},g=S=>{S.button!==1||S.target.closest(l)||(S.preventDefault(),S.stopPropagation(),c&&(window.clearTimeout(c),c=null),d(!0))},v=S=>{g(S)},k=S=>{},b=async S=>{S.preventDefault(),S.stopPropagation();let x=t.taskSelectionService;if(S.shiftKey&&x){if(x.isSelectionModeActive()||x.enterSelectionMode(),x.isSelected(e.path)||x.addToSelection(e.path),x.getSelectionCount()>0){let C=o==null?void 0:o(x.getSelectedPaths(),()=>{});C==null||C.show(S)}return}if(x&&x.getSelectionCount()>1){x.isSelected(e.path)||x.addToSelection(e.path);let C=o==null?void 0:o(x.getSelectedPaths(),()=>{});C==null||C.show(S);return}x!=null&&x.isSelectionModeActive()&&(x.clearSelection(),x.exitSelectionMode()),s&&await s(S)};return{clickHandler:h,auxclickHandler:v,dblclickHandler:k,contextmenuHandler:S=>{b(S)},cleanup:()=>{c&&(window.clearTimeout(c),c=null)}}}function cme(r,e){return t=>{e.app.vault.getAbstractFileByPath(r.path)&&e.app.workspace.trigger("hover-link",{event:t,source:"tasknotes-task-card",hoverParent:t.currentTarget,targetEl:t.currentTarget,linktext:r.path,sourcePath:r.path})}}async function dme(r,e,t,n,i){let a=(d=!1)=>{let u=e.app.vault.getAbstractFileByPath(r.path);u instanceof t2.TFile&&(d?e.app.workspace.openLinkText(r.path,"",!0):e.app.workspace.getLeaf(!1).openFile(u))},s=async()=>{await e.openTaskEditModal(r,i?()=>i():void 0)},o=async d=>{if(d.ctrlKey||d.metaKey){a(!0);return}let u=e.settings.singleClickAction;u==="edit"?await s():u==="openNote"&&a(!1)},l=async d=>{let u=e.settings.doubleClickAction;u==="edit"?await s():u==="openNote"&&a()};if(e.settings.doubleClickAction==="none"){await o(t);return}let c=J_.get(n);if(c)window.clearTimeout(c),J_.delete(n),await l(t);else{let d=window.setTimeout(()=>{J_.delete(n),o(t)},250);J_.set(n,d)}}var t2,ome,J_,r2=y(()=>{t2=require("obsidian"),ome=["a","button","input","textarea","select",'[role="button"]','[data-tn-no-drag="true"]','[data-tn-click-exclude="true"]',".tag"].join(", ");J_=new Map});var ume,ki,du=y(()=>{ume=require("obsidian"),ki=class extends ume.Menu{show(e){var t;if(e.instanceOf(MouseEvent))this.showAtMouseEvent(e);else if(e.instanceOf(KeyboardEvent)){let n=e.currentTarget;if(!n||!((t=n.instanceOf)!=null&&t.call(n,HTMLElement)))return;this.showAtPosition({x:n.getBoundingClientRect().left,y:n.getBoundingClientRect().bottom+4})}}}});var pme=y(()=>{});var mme,n2=y(()=>{mme={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}]}});var fme,hme=y(()=>{fme={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","scheduled","start"]},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 gme,yme=y(()=>{gme={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 vme,bme=y(()=>{vme={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 Tme,kme=y(()=>{Tme={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","geplant","starten"]},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 wme,Sme=y(()=>{wme={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 Eme,xme=y(()=>{Eme={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","\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 Cme,Dme=y(()=>{Cme={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","\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 Pme,Mme=y(()=>{Pme={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 _me,Ame=y(()=>{_me={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 Ime,Nme=y(()=>{Ime={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 Rme,Ome=y(()=>{Rme={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 Lme,Fme=y(()=>{Lme={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 $me=y(()=>{});function jme(r){return zme[r]||zme.en}var zme,i2=y(()=>{hme();yme();bme();kme();Sme();xme();Dme();Mme();Ame();Nme();Ome();Fme();$me();zme={en:fme,es:gme,fr:vme,de:Tme,ru:wme,zh:Eme,ja:Cme,it:Pme,nl:_me,pt:Ime,sv:Rme,uk:Lme}});var X_,a2=y(()=>{X_=class{constructor(e,t=[]){this.config=e,this.userFields=t,this.triggerMap=new Map,this.propertyMap=new Map,this.buildMaps()}buildMaps(){this.triggerMap.clear(),this.propertyMap.clear();for(let e of this.config.triggers)e.enabled&&(this.triggerMap.set(e.trigger,e),this.propertyMap.set(e.propertyId,e))}getTriggerForProperty(e){return this.propertyMap.get(e)}getPropertyForTrigger(e){var t;return(t=this.triggerMap.get(e))==null?void 0:t.propertyId}getAllEnabledTriggers(){return this.config.triggers.filter(e=>e.enabled)}getTriggersOrderedByLength(){return this.getAllEnabledTriggers().sort((e,t)=>t.trigger.length-e.trigger.length)}usesNativeTagSuggester(){let e=this.getTriggerForProperty("tags");return(e==null?void 0:e.trigger)==="#"&&(e==null?void 0:e.enabled)}getTagTrigger(){let e=this.getTriggerForProperty("tags");return e!=null&&e.enabled?e.trigger:void 0}getContextTrigger(){let e=this.getTriggerForProperty("contexts");return e!=null&&e.enabled?e.trigger:void 0}getProjectTrigger(){let e=this.getTriggerForProperty("projects");return e!=null&&e.enabled?e.trigger:void 0}getStatusTrigger(){let e=this.getTriggerForProperty("status");return e!=null&&e.enabled?e.trigger:void 0}getPriorityTrigger(){let e=this.getTriggerForProperty("priority");return e!=null&&e.enabled?e.trigger:void 0}getUserField(e){return this.userFields.find(t=>t.id===e)}isUserField(e){return this.userFields.some(t=>t.id===e)}getSuggesterType(e){if(e==="tags")return this.usesNativeTagSuggester()?"native-tag":"list";if(e==="contexts")return"list";if(e==="projects")return"file";if(e==="status")return"status";if(e==="priority")return"priority";let t=this.getUserField(e);if(t)switch(t.type){case"text":return t.autosuggestFilter?"file":"list";case"list":return"list";case"boolean":return"boolean";default:return"none"}return"none"}updateConfig(e){this.config=e,this.buildMaps()}updateUserFields(e){this.userFields=e}}});var Bme=E((s2,o2)=>{(function(r,e){typeof s2=="object"&&typeof o2!="undefined"?o2.exports=e():typeof define=="function"&&define.amd?define(e):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs_plugin_quarterOfYear=e()})(s2,(function(){"use strict";var r="month",e="quarter";return function(t,n){var i=n.prototype;i.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var a=i.add;i.add=function(o,l){return o=Number(o),this.$utils().p(l)===e?this.add(3*o,r):a.bind(this)(o,l)};var s=i.startOf;i.startOf=function(o,l){var c=this.$utils(),d=!!c.u(l)||l;if(c.p(o)===e){var u=this.quarter()-1;return d?this.month(3*u).startOf(r).startOf("day"):this.month(3*u+2).endOf(r).endOf("day")}return s.bind(this)(o,l)}}}))});var Xt=E((l2,c2)=>{(function(r,e){typeof l2=="object"&&typeof c2!="undefined"?c2.exports=e():typeof define=="function"&&define.amd?define(e):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs=e()})(l2,(function(){"use strict";var r=1e3,e=6e4,t=36e5,n="millisecond",i="second",a="minute",s="hour",o="day",l="week",c="month",d="quarter",u="year",p="date",m="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|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 R=["th","st","nd","rd"],z=N%100;return"["+N+(R[(z-20)%10]||R[z]||R[0])+"]"}},v=function(N,R,z){var H=String(N);return!H||H.length>=R?N:""+Array(R+1-H.length).join(z)+N},k={s:v,z:function(N){var R=-N.utcOffset(),z=Math.abs(R),H=Math.floor(z/60),Y=z%60;return(R<=0?"+":"-")+v(H,2,"0")+":"+v(Y,2,"0")},m:function N(R,z){if(R.date()<z.date())return-N(z,R);var H=12*(z.year()-R.year())+(z.month()-R.month()),Y=R.clone().add(H,c),se=z-Y<0,J=R.clone().add(H+(se?-1:1),c);return+(-(H+(z-Y)/(se?Y-J:J-Y))||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:a,s:i,ms:n,Q:d}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},b="en",w={};w[b]=g;var S="$isDayjsObject",x=function(N){return N instanceof O||!(!N||!N[S])},C=function N(R,z,H){var Y;if(!R)return b;if(typeof R=="string"){var se=R.toLowerCase();w[se]&&(Y=se),z&&(w[se]=z,Y=se);var J=R.split("-");if(!Y&&J.length>1)return N(J[0])}else{var te=R.name;w[te]=R,Y=te}return!H&&Y&&(b=Y),Y||!H&&b},D=function(N,R){if(x(N))return N.clone();var z=typeof R=="object"?R:{};return z.date=N,z.args=arguments,new O(z)},_=k;_.l=C,_.i=x,_.w=function(N,R){return D(N,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var O=(function(){function N(z){this.$L=C(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[S]=!0}var R=N.prototype;return R.parse=function(z){this.$d=(function(H){var Y=H.date,se=H.utc;if(Y===null)return new Date(NaN);if(_.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var J=Y.match(f);if(J){var te=J[2]-1||0,Te=(J[7]||"0").substring(0,3);return se?new Date(Date.UTC(J[1],te,J[3]||1,J[4]||0,J[5]||0,J[6]||0,Te)):new Date(J[1],te,J[3]||1,J[4]||0,J[5]||0,J[6]||0,Te)}}return new Date(Y)})(z),this.init()},R.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},R.$utils=function(){return _},R.isValid=function(){return this.$d.toString()!==m},R.isSame=function(z,H){var Y=D(z);return this.startOf(H)<=Y&&Y<=this.endOf(H)},R.isAfter=function(z,H){return D(z)<this.startOf(H)},R.isBefore=function(z,H){return this.endOf(H)<D(z)},R.$g=function(z,H,Y){return _.u(z)?this[H]:this.set(Y,z)},R.unix=function(){return Math.floor(this.valueOf()/1e3)},R.valueOf=function(){return this.$d.getTime()},R.startOf=function(z,H){var Y=this,se=!!_.u(H)||H,J=_.p(z),te=function(ot,ii){var Xi=_.w(Y.$u?Date.UTC(Y.$y,ii,ot):new Date(Y.$y,ii,ot),Y);return se?Xi:Xi.endOf(o)},Te=function(ot,ii){return _.w(Y.toDate()[ot].apply(Y.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice(ii)),Y)},Ce=this.$W,X=this.$M,ne=this.$D,st="set"+(this.$u?"UTC":"");switch(J){case u:return se?te(1,0):te(31,11);case c:return se?te(1,X):te(0,X+1);case l:var Ue=this.$locale().weekStart||0,Vt=(Ce<Ue?Ce+7:Ce)-Ue;return te(se?ne-Vt:ne+(6-Vt),X);case o:case p:return Te(st+"Hours",0);case s:return Te(st+"Minutes",1);case a:return Te(st+"Seconds",2);case i:return Te(st+"Milliseconds",3);default:return this.clone()}},R.endOf=function(z){return this.startOf(z,!1)},R.$set=function(z,H){var Y,se=_.p(z),J="set"+(this.$u?"UTC":""),te=(Y={},Y[o]=J+"Date",Y[p]=J+"Date",Y[c]=J+"Month",Y[u]=J+"FullYear",Y[s]=J+"Hours",Y[a]=J+"Minutes",Y[i]=J+"Seconds",Y[n]=J+"Milliseconds",Y)[se],Te=se===o?this.$D+(H-this.$W):H;if(se===c||se===u){var Ce=this.clone().set(p,1);Ce.$d[te](Te),Ce.init(),this.$d=Ce.set(p,Math.min(this.$D,Ce.daysInMonth())).$d}else te&&this.$d[te](Te);return this.init(),this},R.set=function(z,H){return this.clone().$set(z,H)},R.get=function(z){return this[_.p(z)]()},R.add=function(z,H){var Y,se=this;z=Number(z);var J=_.p(H),te=function(X){var ne=D(se);return _.w(ne.date(ne.date()+Math.round(X*z)),se)};if(J===c)return this.set(c,this.$M+z);if(J===u)return this.set(u,this.$y+z);if(J===o)return te(1);if(J===l)return te(7);var Te=(Y={},Y[a]=e,Y[s]=t,Y[i]=r,Y)[J]||1,Ce=this.$d.getTime()+z*Te;return _.w(Ce,this)},R.subtract=function(z,H){return this.add(-1*z,H)},R.format=function(z){var H=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||m;var se=z||"YYYY-MM-DDTHH:mm:ssZ",J=_.z(this),te=this.$H,Te=this.$m,Ce=this.$M,X=Y.weekdays,ne=Y.months,st=Y.meridiem,Ue=function(ii,Xi,xn,Os){return ii&&(ii[Xi]||ii(H,se))||xn[Xi].slice(0,Os)},Vt=function(ii){return _.s(te%12||12,ii,"0")},ot=st||function(ii,Xi,xn){var Os=ii<12?"AM":"PM";return xn?Os.toLowerCase():Os};return se.replace(h,(function(ii,Xi){return Xi||(function(xn){switch(xn){case"YY":return String(H.$y).slice(-2);case"YYYY":return _.s(H.$y,4,"0");case"M":return Ce+1;case"MM":return _.s(Ce+1,2,"0");case"MMM":return Ue(Y.monthsShort,Ce,ne,3);case"MMMM":return Ue(ne,Ce);case"D":return H.$D;case"DD":return _.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return Ue(Y.weekdaysMin,H.$W,X,2);case"ddd":return Ue(Y.weekdaysShort,H.$W,X,3);case"dddd":return X[H.$W];case"H":return String(te);case"HH":return _.s(te,2,"0");case"h":return Vt(1);case"hh":return Vt(2);case"a":return ot(te,Te,!0);case"A":return ot(te,Te,!1);case"m":return String(Te);case"mm":return _.s(Te,2,"0");case"s":return String(H.$s);case"ss":return _.s(H.$s,2,"0");case"SSS":return _.s(H.$ms,3,"0");case"Z":return J}return null})(ii)||J.replace(":","")}))},R.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},R.diff=function(z,H,Y){var se,J=this,te=_.p(H),Te=D(z),Ce=(Te.utcOffset()-this.utcOffset())*e,X=this-Te,ne=function(){return _.m(J,Te)};switch(te){case u:se=ne()/12;break;case c:se=ne();break;case d:se=ne()/3;break;case l:se=(X-Ce)/6048e5;break;case o:se=(X-Ce)/864e5;break;case s:se=X/t;break;case a:se=X/e;break;case i:se=X/r;break;default:se=X}return Y?se:_.a(se)},R.daysInMonth=function(){return this.endOf(c).$D},R.$locale=function(){return w[this.$L]},R.locale=function(z,H){if(!z)return this.$L;var Y=this.clone(),se=C(z,H,!0);return se&&(Y.$L=se),Y},R.clone=function(){return _.w(this.$d,this)},R.toDate=function(){return new Date(this.valueOf())},R.toJSON=function(){return this.isValid()?this.toISOString():null},R.toISOString=function(){return this.$d.toISOString()},R.toString=function(){return this.$d.toUTCString()},N})(),L=O.prototype;return D.prototype=L,[["$ms",n],["$s",i],["$m",a],["$H",s],["$W",o],["$M",c],["$y",u],["$D",p]].forEach((function(N){L[N[1]]=function(R){return this.$g(R,N[0],N[1])}})),D.extend=function(N,R){return N.$i||(N(R,O,D),N.$i=!0),D},D.locale=C,D.isDayjs=x,D.unix=function(N){return D(1e3*N)},D.en=w[b],D.Ls=w,D.p={},D}))});var B,We,Bs,Bt=y(()=>{(function(r){r[r.AM=0]="AM",r[r.PM=1]="PM"})(B||(B={}));(function(r){r[r.SUNDAY=0]="SUNDAY",r[r.MONDAY=1]="MONDAY",r[r.TUESDAY=2]="TUESDAY",r[r.WEDNESDAY=3]="WEDNESDAY",r[r.THURSDAY=4]="THURSDAY",r[r.FRIDAY=5]="FRIDAY",r[r.SATURDAY=6]="SATURDAY"})(We||(We={}));(function(r){r[r.JANUARY=1]="JANUARY",r[r.FEBRUARY=2]="FEBRUARY",r[r.MARCH=3]="MARCH",r[r.APRIL=4]="APRIL",r[r.MAY=5]="MAY",r[r.JUNE=6]="JUNE",r[r.JULY=7]="JULY",r[r.AUGUST=8]="AUGUST",r[r.SEPTEMBER=9]="SEPTEMBER",r[r.OCTOBER=10]="OCTOBER",r[r.NOVEMBER=11]="NOVEMBER",r[r.DECEMBER=12]="DECEMBER"})(Bs||(Bs={}))});function Ume(r,e){r.assign("day",e.getDate()),r.assign("month",e.getMonth()+1),r.assign("year",e.getFullYear())}function Hme(r,e){r.assign("hour",e.getHours()),r.assign("minute",e.getMinutes()),r.assign("second",e.getSeconds()),r.assign("millisecond",e.getMilliseconds()),r.assign("meridiem",e.getHours()<12?B.AM:B.PM)}function eA(r,e){r.imply("day",e.getDate()),r.imply("month",e.getMonth()+1),r.imply("year",e.getFullYear())}function Vme(r,e){r.imply("hour",e.getHours()),r.imply("minute",e.getMinutes()),r.imply("second",e.getSeconds()),r.imply("millisecond",e.getMilliseconds()),r.imply("meridiem",e.getHours()<12?B.AM:B.PM)}var d2=y(()=>{Bt()});function Lp(r,e,t,n,i=0){let a=0,s=0;for(;s<n;)a++,new Date(r,e-1,a).getDay()===t&&s++;return new Date(r,e-1,a,i)}function qme(r,e,t,n=0){let i=t===0?7:t,a=new Date(r,e-1+1,1,12),s=a.getDay()===0?7:a.getDay(),o;return s===i?o=7:s<i?o=7+s-i:o=s-i,a.setDate(a.getDate()-o),new Date(r,e-1,a.getDate(),n)}function tA(r,e,t={}){var i;if(r==null)return null;if(typeof r=="number")return r;let n=(i=t[r])!=null?i:eZe[r];return n==null?null:typeof n=="number"?n:e==null?null:(0,u2.default)(e).isAfter(n.dstStart(e.getFullYear()))&&!(0,u2.default)(e).isAfter(n.dstEnd(e.getFullYear()))?n.timezoneOffsetDuringDst:n.timezoneOffsetNonDst}var u2,eZe,p2=y(()=>{u2=tt(Xt(),1);Bt();eZe={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:r=>qme(r,Bs.MARCH,We.SUNDAY,2),dstEnd:r=>qme(r,Bs.OCTOBER,We.SUNDAY,3)},CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CT:{timezoneOffsetDuringDst:-300,timezoneOffsetNonDst:-360,dstStart:r=>Lp(r,Bs.MARCH,We.SUNDAY,2,2),dstEnd:r=>Lp(r,Bs.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:r=>Lp(r,Bs.MARCH,We.SUNDAY,2,2),dstEnd:r=>Lp(r,Bs.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:r=>Lp(r,Bs.MARCH,We.SUNDAY,2,2),dstEnd:r=>Lp(r,Bs.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:r=>Lp(r,Bs.MARCH,We.SUNDAY,2,2),dstEnd:r=>Lp(r,Bs.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 Wme(r,e){var n,i,a,s,o,l,c;let t=new Date(r);if(e.y&&(e.year=e.y,delete e.y),e.mo&&(e.month=e.mo,delete e.mo),e.M&&(e.month=e.M,delete e.M),e.w&&(e.week=e.w,delete e.w),e.d&&(e.day=e.d,delete e.d),e.h&&(e.hour=e.h,delete e.h),e.m&&(e.minute=e.m,delete e.m),e.s&&(e.second=e.s,delete e.s),e.ms&&(e.millisecond=e.ms,delete e.ms),"year"in e){let d=Math.floor(e.year);t.setFullYear(t.getFullYear()+d);let u=e.year-d;u>0&&(e.month=(n=e==null?void 0:e.month)!=null?n:0,e.month+=u*12)}if("quarter"in e){let d=Math.floor(e.quarter);t.setMonth(t.getMonth()+d*3)}if("month"in e){let d=Math.floor(e.month);t.setMonth(t.getMonth()+d);let u=e.month-d;u>0&&(e.week=(i=e==null?void 0:e.week)!=null?i:0,e.week+=u*4)}if("week"in e){let d=Math.floor(e.week);t.setDate(t.getDate()+d*7);let u=e.week-d;u>0&&(e.day=(a=e==null?void 0:e.day)!=null?a:0,e.day+=Math.round(u*7))}if("day"in e){let d=Math.floor(e.day);t.setDate(t.getDate()+d);let u=e.day-d;u>0&&(e.hour=(s=e==null?void 0:e.hour)!=null?s:0,e.hour+=Math.round(u*24))}if("hour"in e){let d=Math.floor(e.hour);t.setHours(t.getHours()+d);let u=e.hour-d;u>0&&(e.minute=(o=e==null?void 0:e.minute)!=null?o:0,e.minute+=Math.round(u*60))}if("minute"in e){let d=Math.floor(e.minute);t.setMinutes(t.getMinutes()+d);let u=e.minute-d;u>0&&(e.second=(l=e==null?void 0:e.second)!=null?l:0,e.second+=Math.round(u*60))}if("second"in e){let d=Math.floor(e.second);t.setSeconds(t.getSeconds()+d);let u=e.second-d;u>0&&(e.millisecond=(c=e==null?void 0:e.millisecond)!=null?c:0,e.millisecond+=Math.round(u*1e3))}if("millisecond"in e){let d=Math.floor(e.millisecond);t.setMilliseconds(t.getMilliseconds()+d)}return t}function Cv(r){let e={};for(let t in r)e[t]=-r[t];return e}var aS=y(()=>{});var Yme,m2,er,ee,Wt,lt=y(()=>{Yme=tt(Bme(),1),m2=tt(Xt(),1);d2();p2();aS();m2.default.extend(Yme.default);er=class r{constructor(e,t){A(this,"instant");A(this,"timezoneOffset");this.instant=e!=null?e:new Date,this.timezoneOffset=t!=null?t:null}static fromDate(e){return new r(e)}static fromInput(e,t){var a;if(e instanceof Date)return r.fromDate(e);let n=(a=e==null?void 0:e.instant)!=null?a:new Date,i=tA(e==null?void 0:e.timezone,n,t);return new r(n,i)}getDateWithAdjustedTimezone(){let e=new Date(this.instant);return this.timezoneOffset!==null&&e.setMinutes(e.getMinutes()-this.getSystemTimezoneAdjustmentMinute(this.instant)),e}getSystemTimezoneAdjustmentMinute(e,t){var a;(!e||e.getTime()<0)&&(e=new Date);let n=-e.getTimezoneOffset(),i=(a=t!=null?t:this.timezoneOffset)!=null?a:n;return n-i}getTimezoneOffset(){var e;return(e=this.timezoneOffset)!=null?e:-this.instant.getTimezoneOffset()}},ee=class r{constructor(e,t){A(this,"knownValues");A(this,"impliedValues");A(this,"reference");A(this,"_tags",new Set);if(this.reference=e,this.knownValues={},this.impliedValues={},t)for(let i in t)this.knownValues[i]=t[i];let n=e.getDateWithAdjustedTimezone();this.imply("day",n.getDate()),this.imply("month",n.getMonth()+1),this.imply("year",n.getFullYear()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}get(e){return e in this.knownValues?this.knownValues[e]:e in this.impliedValues?this.impliedValues[e]:null}isCertain(e){return e in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(e,t){return e in this.knownValues?this:(this.impliedValues[e]=t,this)}assign(e,t){return this.knownValues[e]=t,delete this.impliedValues[e],this}delete(e){delete this.knownValues[e],delete this.impliedValues[e]}clone(){let e=new r(this.reference);e.knownValues={},e.impliedValues={};for(let t in this.knownValues)e.knownValues[t]=this.knownValues[t];for(let t in this.impliedValues)e.impliedValues[t]=this.impliedValues[t];return e}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 e=this.dateWithoutTimezoneAdjustment();return!(e.getFullYear()!==this.get("year")||e.getMonth()!==this.get("month")-1||e.getDate()!==this.get("day")||this.get("hour")!=null&&e.getHours()!=this.get("hour")||this.get("minute")!=null&&e.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,m2.default)(this.dateWithoutTimezoneAdjustment())}date(){let e=this.dateWithoutTimezoneAdjustment(),t=this.reference.getSystemTimezoneAdjustmentMinute(e,this.get("timezoneOffset"));return new Date(e.getTime()+t*6e4)}addTag(e){return this._tags.add(e),this}addTags(e){for(let t of e)this._tags.add(t);return this}tags(){return new Set(this._tags)}dateWithoutTimezoneAdjustment(){let e=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 e.setFullYear(this.get("year")),e}static createRelativeFromReference(e,t){let n=Wme(e.getDateWithAdjustedTimezone(),t),i=new r(e);return i.addTag("result/relativeDate"),t.hour||t.minute||t.second?(i.addTag("result/relativeDateAndTime"),Hme(i,n),Ume(i,n),i.assign("timezoneOffset",e.getTimezoneOffset())):(Vme(i,n),i.imply("timezoneOffset",e.getTimezoneOffset()),t.day?(i.assign("day",n.getDate()),i.assign("month",n.getMonth()+1),i.assign("year",n.getFullYear()),i.assign("weekday",n.getDay())):t.week?(i.assign("day",n.getDate()),i.assign("month",n.getMonth()+1),i.assign("year",n.getFullYear()),i.imply("weekday",n.getDay())):(i.imply("day",n.getDate()),t.month?(i.assign("month",n.getMonth()+1),i.assign("year",n.getFullYear())):(i.imply("month",n.getMonth()+1),t.year?i.assign("year",n.getFullYear()):i.imply("year",n.getFullYear())))),i}},Wt=class r{constructor(e,t,n,i,a){A(this,"refDate");A(this,"index");A(this,"text");A(this,"reference");A(this,"start");A(this,"end");this.reference=e,this.refDate=e.instant,this.index=t,this.text=n,this.start=i||new ee(e),this.end=a}clone(){let e=new r(this.reference,this.index,this.text);return e.start=this.start?this.start.clone():null,e.end=this.end?this.end.clone():null,e}date(){return this.start.date()}addTag(e){return this.start.addTag(e),this.end&&this.end.addTag(e),this}addTags(e){return this.start.addTags(e),this.end&&this.end.addTags(e),this}tags(){let e=new Set(this.start.tags());if(this.end)for(let t of this.end.tags())e.add(t);return e}toString(){let e=Array.from(this.tags()).sort();return`[ParsingResult {index: ${this.index}, text: '${this.text}', tags: ${JSON.stringify(e)} ...}]`}}});function Ia(r,e,t="\\s{0,5},?\\s{0,5}"){let n=e.replace(/\((?!\?)/g,"(?:");return`${r}${n}(?:${t}${n}){0,10}`}function tZe(r){let e;return r instanceof Array?e=[...r]:r instanceof Map?e=Array.from(r.keys()):e=Object.keys(r),e}function oe(r){return`(?:${tZe(r).sort((t,n)=>n.length-t.length).join("|").replace(/\./g,"\\.")})`}var At=y(()=>{});function rs(r){return r<100&&(r>50?r=r+1900:r=r+2e3),r}function dr(r,e,t){let n=(0,Gme.default)(r),i=n;i=i.month(t-1),i=i.date(e),i=i.year(n.year());let a=i.add(1,"y"),s=i.add(-1,"y");return Math.abs(a.diff(n))<Math.abs(i.diff(n))?i=a:Math.abs(s.diff(n))<Math.abs(i.diff(n))&&(i=s),i.year()}var Gme,Dn=y(()=>{Gme=tt(Xt(),1)});function rZe(r){let e=r.toLowerCase();return f2[e]!==void 0?f2[e]:e==="a"||e==="an"||e=="the"?1:e.match(/few/)?3:e.match(/half/)?.5:e.match(/couple/)?2:e.match(/several/)?7:parseFloat(e)}function Pv(r){let e=r.toLowerCase();return h2[e]!==void 0?h2[e]:(e=e.replace(/(?:st|nd|rd|th)$/i,""),parseInt(e))}function $p(r){if(/BE/i.test(r))return r=r.replace(/BE/i,""),parseInt(r)-543;if(/BCE?/i.test(r))return r=r.replace(/BCE?/i,""),-parseInt(r);if(/(AD|CE)/i.test(r))return r=r.replace(/(AD|CE)/i,""),parseInt(r);let e=parseInt(r);return rs(e)}function So(r){let e={},t=r,n=Kme.exec(t);for(;n;)iZe(e,n),t=t.substring(n[0].length).trim(),n=Kme.exec(t);return Object.keys(e).length==0?null:e}function iZe(r,e){if(e[0].match(/^[a-zA-Z]+$/))return;let t=rZe(e[1]),n=sS[e[2].toLowerCase()];r[n]=t}var rA,g2,wo,f2,h2,Zme,sS,Qme,Dv,Fp,Jme,Kme,nZe,Xme,uu,zp,si=y(()=>{At();Dn();rA={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},g2={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},wo={...g2,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},f2={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12},h2={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},Zme={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"},sS={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",...Zme},Qme=`(?:${oe(f2)}|[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)?)`;Dv=`(?:${oe(h2)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;Fp="(?:[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])";Jme=`(${Qme})\\s{0,3}(${oe(sS)})`,Kme=new RegExp(Jme,"i"),nZe=`(${Qme})\\s{0,3}(${oe(Zme)})`,Xme="\\s{0,5},?(?:\\s*and)?\\s{0,5}",uu=Ia("(?:(?:about|around)\\s{0,3})?",Jme,Xme),zp=Ia("(?:(?:about|around)\\s{0,3})?",nZe,Xme)});var V,we=y(()=>{V=class{constructor(){A(this,"cachedInnerPattern",null);A(this,"cachedPattern",null)}innerPatternHasChange(e,t){return this.innerPattern(e)!==t}patternLeftBoundary(){return"(\\W|^)"}pattern(e){return this.cachedInnerPattern&&!this.innerPatternHasChange(e,this.cachedInnerPattern)?this.cachedPattern:(this.cachedInnerPattern=this.innerPattern(e),this.cachedPattern=new RegExp(`${this.patternLeftBoundary()}${this.cachedInnerPattern.source}`,this.cachedInnerPattern.flags),this.cachedPattern)}extract(e,t){var i;let n=(i=t[1])!=null?i:"";t.index=t.index+n.length,t[0]=t[0].substring(n.length);for(let a=2;a<t.length;a++)t[a-1]=t[a];return this.innerExtract(e,t)}}});var aZe,sZe,oZe,oS,efe=y(()=>{si();lt();we();aZe=new RegExp(`(?:(?:within|in|for)\\s*)?(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${uu})(?=\\W|$)`,"i"),sZe=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${uu})(?=\\W|$)`,"i"),oZe=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${zp})(?=\\W|$)`,"i"),oS=class extends V{constructor(t){super();A(this,"strictMode");this.strictMode=t}innerPattern(t){return this.strictMode?oZe:t.option.forwardDate?aZe:sZe}innerExtract(t,n){if(n[0].match(/^for\s*the\s*\w+/))return null;let i=So(n[1]);return i?(t.debug(()=>{console.log(i),console.log(ee.createRelativeFromReference(t.reference,i))}),ee.createRelativeFromReference(t.reference,i)):null}}});var lZe,tfe,rfe,cZe,nfe,lS,ife=y(()=>{Dn();si();si();si();At();we();lZe=new RegExp(`(?:on\\s{0,3})?(${Dv})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${Dv}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${oe(wo)})(?:(?:-|/|,?\\s{0,3})(${Fp}(?!\\w)))?(?=\\W|$)`,"i"),tfe=1,rfe=2,cZe=3,nfe=4,lS=class extends V{innerPattern(){return lZe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=wo[t[cZe].toLowerCase()],a=Pv(t[tfe]);if(a>31)return t.index=t.index+t[tfe].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[nfe]){let s=$p(t[nfe]);n.start.assign("year",s)}else{let s=dr(e.refDate,a,i);n.start.imply("year",s)}if(t[rfe]){let s=Pv(t[rfe]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var dZe,uZe,afe,y2,v2,cS,sfe=y(()=>{Dn();si();si();si();At();we();dZe=new RegExp(`(${oe(wo)})(?:-|/|\\s*,?\\s*)(${Dv})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${Dv})\\s*)?(?:(?:-|/|\\s*,\\s*|\\s+)(${Fp}))?(?=\\W|$)(?!\\:\\d)`,"i"),uZe=1,afe=2,y2=3,v2=4,cS=class extends V{constructor(t){super();A(this,"shouldSkipYearLikeDate");this.shouldSkipYearLikeDate=t}innerPattern(){return dZe}innerExtract(t,n){let i=wo[n[uZe].toLowerCase()],a=Pv(n[afe]);if(a>31||this.shouldSkipYearLikeDate&&!n[y2]&&!n[v2]&&n[afe].match(/^2[0-5]$/))return null;let s=t.createParsingComponents({day:a,month:i}).addTag("parser/ENMonthNameMiddleEndianParser");if(n[v2]){let c=$p(n[v2]);s.assign("year",c)}else{let c=dr(t.refDate,a,i);s.imply("year",c)}if(!n[y2])return s;let o=Pv(n[y2]),l=t.createParsingResult(n.index,n[0]);return l.start=s,l.end=s.clone(),l.end.assign("day",o),l}}});var pZe,mZe,fZe,ofe,dS,lfe=y(()=>{si();Dn();At();si();we();pZe=new RegExp(`((?:in)\\s*)?(${oe(wo)})\\s*(?:(?:,|-|of)?\\s*(${Fp})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),mZe=1,fZe=2,ofe=3,dS=class extends V{innerPattern(){return pZe}innerExtract(e,t){let n=t[fZe].toLowerCase();if(t[0].length<=3&&!g2[n])return null;let i=e.createParsingResult(t.index+(t[mZe]||"").length,t.index+t[0].length);i.start.imply("day",1),i.start.addTag("parser/ENMonthNameParser");let a=wo[n];if(i.start.assign("month",a),t[ofe]){let s=$p(t[ofe]);i.start.assign("year",s)}else{let s=dr(e.refDate,1,a);i.start.imply("year",s)}return i}}});var hZe,gZe,yZe,cfe,vZe,uS,dfe=y(()=>{si();At();we();hZe=new RegExp(`([0-9]{4})[-\\.\\/\\s](?:(${oe(wo)})|([0-9]{1,2}))[-\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),gZe=1,yZe=2,cfe=3,vZe=4,uS=class extends V{constructor(t){super();A(this,"strictMonthDateOrder");this.strictMonthDateOrder=t}innerPattern(){return hZe}innerExtract(t,n){let i=parseInt(n[gZe]),a=parseInt(n[vZe]),s=n[cfe]?parseInt(n[cfe]):wo[n[yZe].toLowerCase()];if(s<1||s>12){if(this.strictMonthDateOrder)return null;a>=1&&a<=12&&([s,a]=[a,s])}return a<1||a>31?null:{day:a,month:s,year:i}}}});var bZe,TZe,kZe,pS,ufe=y(()=>{we();bZe=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),TZe=1,kZe=2,pS=class extends V{innerPattern(){return bZe}innerExtract(e,t){let n=parseInt(t[kZe]),i=parseInt(t[TZe]);return e.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}}});function wZe(r,e,t,n){return new RegExp(`${r}${e}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,n)}function SZe(r,e){return new RegExp(`^(${r})(\\d{1,4})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,"i")}var pfe,Mv,nA,iA,mS,wi,pu=y(()=>{Bt();pfe=2,Mv=3,nA=4,iA=5,mS=6,wi=class{constructor(e=!1){A(this,"strictMode");A(this,"cachedPrimaryPrefix",null);A(this,"cachedPrimarySuffix",null);A(this,"cachedPrimaryTimePattern",null);A(this,"cachedFollowingPhase",null);A(this,"cachedFollowingSuffix",null);A(this,"cachedFollowingTimePatten",null);this.strictMode=e}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?!/)(?=\\W|$)"}followingSuffix(){return"(?!/)(?=\\W|$)"}pattern(e){return this.getPrimaryTimePatternThroughCache()}extract(e,t){let n=this.extractPrimaryTimeComponents(e,t);if(!n)return t[0].match(/^\d{4}/)?(t.index+=4,null):(t.index+=t[0].length,null);let i=t.index+t[1].length,a=t[0].substring(t[1].length),s=e.createParsingResult(i,a,n);t.index+=t[0].length;let o=e.text.substring(t.index),c=this.getFollowingTimePatternThroughCache().exec(o);return a.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(e,c,s),s.end&&(s.text+=c[0]),this.checkAndReturnWithFollowingPattern(s))}extractPrimaryTimeComponents(e,t,n=!1){let i=e.createParsingComponents(),a=0,s=null,o=parseInt(t[pfe]);if(o>100){if(this.strictMode||t[Mv]!=null)return null;a=o%100,o=Math.floor(o/100)}if(o>24)return null;if(t[Mv]!=null){if(t[Mv].length==1&&!t[mS])return null;a=parseInt(t[Mv])}if(a>=60)return null;if(o>12&&(s=B.PM),t[mS]!=null){if(o>12)return null;let l=t[mS][0].toLowerCase();l=="a"&&(s=B.AM,o==12&&(o=0)),l=="p"&&(s=B.PM,o!=12&&(o+=12))}if(i.assign("hour",o),i.assign("minute",a),s!==null?i.assign("meridiem",s):o<12?i.imply("meridiem",B.AM):i.imply("meridiem",B.PM),t[iA]!=null){let l=parseInt(t[iA].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(t[nA]!=null){let l=parseInt(t[nA]);if(l>=60)return null;i.assign("second",l)}return i}extractFollowingTimeComponents(e,t,n){let i=e.createParsingComponents();if(t[iA]!=null){let l=parseInt(t[iA].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(t[nA]!=null){let l=parseInt(t[nA]);if(l>=60)return null;i.assign("second",l)}let a=parseInt(t[pfe]),s=0,o=-1;if(t[Mv]!=null?s=parseInt(t[Mv]):a>100&&(s=a%100,a=Math.floor(a/100)),s>=60||a>24)return null;if(a>=12&&(o=B.PM),t[mS]!=null){if(a>12)return null;let l=t[mS][0].toLowerCase();l=="a"&&(o=B.AM,a==12&&(a=0,i.isCertain("day")||i.imply("day",i.get("day")+1))),l=="p"&&(o=B.PM,a!=12&&(a+=12)),n.start.isCertain("meridiem")||(o==B.AM?(n.start.imply("meridiem",B.AM),n.start.get("hour")==12&&n.start.assign("hour",0)):(n.start.imply("meridiem",B.PM),n.start.get("hour")!=12&&n.start.assign("hour",n.start.get("hour")+12)))}return i.assign("hour",a),i.assign("minute",s),o>=0?i.assign("meridiem",o):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>a?i.imply("meridiem",B.AM):a<=12&&(i.assign("hour",a+12),i.assign("meridiem",B.PM)):a>12?i.imply("meridiem",B.PM):a<=12&&i.imply("meridiem",B.AM),i.date().getTime()<n.start.date().getTime()&&i.imply("day",i.get("day")+1),i}checkAndReturnWithoutFollowingPattern(e){if(e.text.match(/^\d$/)||e.text.match(/^\d\d\d+$/)||e.text.match(/\d[apAP]$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)$/);if(t){let n=t[1];if(this.strictMode||n.includes(".")&&!n.match(/\d(\.\d{2})+$/)||parseInt(n)>24)return null}return e}checkAndReturnWithFollowingPattern(e){if(e.text.match(/^\d+-\d+$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(t){if(this.strictMode)return null;let n=t[1],i=t[2];if(i.includes(".")&&!i.match(/\d(\.\d{2})+$/))return null;let a=parseInt(i),s=parseInt(n);if(a>24||s>24)return null}return e}getPrimaryTimePatternThroughCache(){let e=this.primaryPrefix(),t=this.primarySuffix();return this.cachedPrimaryPrefix===e&&this.cachedPrimarySuffix===t?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=wZe(this.primaryPatternLeftBoundary(),e,t,this.patternFlags()),this.cachedPrimaryPrefix=e,this.cachedPrimarySuffix=t,this.cachedPrimaryTimePattern)}getFollowingTimePatternThroughCache(){let e=this.followingPhase(),t=this.followingSuffix();return this.cachedFollowingPhase===e&&this.cachedFollowingSuffix===t?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=SZe(e,t),this.cachedFollowingPhase=e,this.cachedFollowingSuffix=t,this.cachedFollowingTimePatten)}}});var fS,mfe=y(()=>{Bt();pu();fS=class extends wi{constructor(e){super(e)}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(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(!n)return n;if(t[0].endsWith("night")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",B.PM)):i<6&&n.assign("meridiem",B.AM)}if(t[0].endsWith("afternoon")){n.assign("meridiem",B.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}return t[0].endsWith("morning")&&(n.assign("meridiem",B.AM),n.get("hour")<12&&n.assign("hour",n.get("hour"))),n.addTag("parser/ENTimeExpressionParser")}extractFollowingTimeComponents(e,t,n){let i=super.extractFollowingTimeComponents(e,t,n);return i&&i.addTag("parser/ENTimeExpressionParser"),i}}});var EZe,xZe,hS,ffe=y(()=>{si();lt();we();aS();EZe=new RegExp(`(${uu})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,"i"),xZe=new RegExp(`(${zp})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,"i"),hS=class extends V{constructor(t){super();A(this,"strictMode");this.strictMode=t}innerPattern(){return this.strictMode?xZe:EZe}innerExtract(t,n){let i=So(n[1]);return i?ee.createRelativeFromReference(t.reference,Cv(i)):null}}});var CZe,DZe,PZe,gS,hfe=y(()=>{si();lt();we();CZe=new RegExp(`(${uu})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),DZe=new RegExp(`(${zp})\\s{0,5}(later|after|from now)(?=\\W|$)`,"i"),PZe=1,gS=class extends V{constructor(t){super();A(this,"strictMode");this.strictMode=t}innerPattern(){return this.strictMode?DZe:CZe}innerExtract(t,n){let i=So(n[PZe]);return i?ee.createRelativeFromReference(t.reference,i):null}}});var _v,ns,mu=y(()=>{_v=class{refine(e,t){return t.filter(n=>this.isValid(e,n))}},ns=class{refine(e,t){if(t.length<2)return t;let n=[],i=t[0],a=null;for(let s=1;s<t.length;s++){a=t[s];let o=e.text.substring(i.index+i.text.length,a.index);if(!this.shouldMergeResults(o,i,a,e))n.push(i),i=a;else{let l=i,c=a,d=this.mergeResults(o,l,c,e);e.debug(()=>{console.log(`${this.constructor.name} merged ${l} and ${c} into ${d}`)}),i=d}}return i!=null&&n.push(i),n}}});var Jr,Eo=y(()=>{mu();Jr=class extends ns{shouldMergeResults(e,t,n){return!t.end&&!n.end&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){if(!t.start.isOnlyWeekdayComponent()&&!n.start.isOnlyWeekdayComponent()&&(n.start.getCertainComponents().forEach(a=>{t.start.isCertain(a)||t.start.imply(a,n.start.get(a))}),t.start.getCertainComponents().forEach(a=>{n.start.isCertain(a)||n.start.imply(a,t.start.get(a))})),t.start.date().getTime()>n.start.date().getTime()){let a=t.start.dayjs(),s=n.start.dayjs();n.start.isOnlyWeekdayComponent()&&s.add(7,"days").isAfter(a)?(s=s.add(7,"days"),n.start.imply("day",s.date()),n.start.imply("month",s.month()+1),n.start.imply("year",s.year())):t.start.isOnlyWeekdayComponent()&&a.add(-7,"days").isBefore(s)?(a=a.add(-7,"days"),t.start.imply("day",a.date()),t.start.imply("month",a.month()+1),t.start.imply("year",a.year())):n.start.isDateWithUnknownYear()&&s.add(1,"years").isAfter(a)?(s=s.add(1,"years"),n.start.imply("year",s.year())):t.start.isDateWithUnknownYear()&&a.add(-1,"years").isBefore(s)?(a=a.add(-1,"years"),t.start.imply("year",a.year())):[n,t]=[t,n]}let i=t.clone();return i.start=t.start,i.end=n.start,i.index=Math.min(t.index,n.index),t.index<n.index?i.text=t.text+e+n.text:i.text=n.text+e+t.text,i}}});var yS,gfe=y(()=>{Eo();yS=class extends Jr{patternBetween(){return/^\s*(to|-||until|through|till)\s*$/i}}});function Sl(r,e){e=e.add(1,"day"),Vr(r,e),vc(r,e)}function yfe(r,e){e=e.add(1,"day"),b2(r,e),vc(r,e)}function Vr(r,e){r.assign("day",e.date()),r.assign("month",e.month()+1),r.assign("year",e.year())}function vfe(r,e){r.assign("hour",e.hour()),r.assign("minute",e.minute()),r.assign("second",e.second()),r.assign("millisecond",e.millisecond()),r.get("hour")<12?r.assign("meridiem",B.AM):r.assign("meridiem",B.PM)}function b2(r,e){r.imply("day",e.date()),r.imply("month",e.month()+1),r.imply("year",e.year())}function vc(r,e){r.imply("hour",e.hour()),r.imply("minute",e.minute()),r.imply("second",e.second()),r.imply("millisecond",e.millisecond())}var Us=y(()=>{Bt()});function T2(r,e){let t=r.clone(),n=r.start,i=e.start;if(t.start=bfe(n,i),r.end!=null||e.end!=null){let a=r.end==null?r.start:r.end,s=e.end==null?e.start:e.end,o=bfe(a,s);if(r.end==null&&o.date().getTime()<t.start.date().getTime()){let l=o.dayjs().add(1,"day");o.isCertain("day")?Vr(o,l):b2(o,l)}t.end=o}return t}function bfe(r,e){let t=r.clone();return e.isCertain("hour")?(t.assign("hour",e.get("hour")),t.assign("minute",e.get("minute")),e.isCertain("second")?(t.assign("second",e.get("second")),e.isCertain("millisecond")?t.assign("millisecond",e.get("millisecond")):t.imply("millisecond",e.get("millisecond"))):(t.imply("second",e.get("second")),t.imply("millisecond",e.get("millisecond")))):(t.imply("hour",e.get("hour")),t.imply("minute",e.get("minute")),t.imply("second",e.get("second")),t.imply("millisecond",e.get("millisecond"))),e.isCertain("timezoneOffset")&&t.assign("timezoneOffset",e.get("timezoneOffset")),e.isCertain("meridiem")?t.assign("meridiem",e.get("meridiem")):e.get("meridiem")!=null&&t.get("meridiem")==null&&t.imply("meridiem",e.get("meridiem")),t.get("meridiem")==B.PM&&t.get("hour")<12&&(e.isCertain("hour")?t.assign("hour",t.get("hour")+12):t.imply("hour",t.get("hour")+12)),t.addTags(r.tags()),t.addTags(e.tags()),t}var Tfe=y(()=>{Bt();Us()});var Xr,xo=y(()=>{mu();Tfe();Xr=class extends ns{shouldMergeResults(e,t,n){return(t.start.isOnlyDate()&&n.start.isOnlyTime()||n.start.isOnlyDate()&&t.start.isOnlyTime())&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){let i=t.start.isOnlyDate()?T2(t,n):T2(n,t);return i.index=t.index,i.text=t.text+e+n.text,i}}});var Av,kfe=y(()=>{xo();Av=class extends Xr{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-|\\.|\u2219|:)?\\s*$")}}});var MZe,vS,wfe=y(()=>{p2();MZe=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),vS=class{constructor(e){A(this,"timezoneOverrides");this.timezoneOverrides=e}refine(e,t){var i;let n=(i=e.option.timezones)!=null?i:{};return t.forEach(a=>{var m,f;let s=e.text.substring(a.index+a.text.length),o=MZe.exec(s);if(!o)return;let l=o[1].toUpperCase(),c=(f=(m=a.start.date())!=null?m:a.refDate)!=null?f:new Date,d={...this.timezoneOverrides,...n},u=tA(l,c,d);if(u==null)return;e.debug(()=>{console.log(`Extracting timezone: '${l}' into: ${u} for: ${a.start}`)});let p=a.start.get("timezoneOffset");p!==null&&u!=p&&(a.start.isCertain("timezoneOffset")||l!=o[1])||a.start.isOnlyDate()&&l!=o[1]||(a.text+=o[0],a.start.isCertain("timezoneOffset")||a.start.assign("timezoneOffset",u),a.end!=null&&!a.end.isCertain("timezoneOffset")&&a.end.assign("timezoneOffset",u))}),t}}});var _Ze,AZe,IZe,NZe,El,bS=y(()=>{_Ze=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),AZe=1,IZe=2,NZe=3,El=class{refine(e,t){return t.forEach(function(n){if(n.start.isCertain("timezoneOffset"))return;let i=e.text.substring(n.index+n.text.length),a=_Ze.exec(i);if(!a)return;e.debug(()=>{console.log(`Extracting timezone: '${a[0]}' into : ${n}`)});let s=parseInt(a[IZe]),o=parseInt(a[NZe]||"0"),l=s*60+o;l>840||(a[AZe]==="-"&&(l=-l),n.end!=null&&n.end.assign("timezoneOffset",l),n.start.assign("timezoneOffset",l),n.text+=a[0])}),t}}});var jp,k2=y(()=>{jp=class{refine(e,t){if(t.length<2)return t;let n=[],i=t[0];for(let a=1;a<t.length;a++){let s=t[a];if(s.index>=i.index+i.text.length){n.push(i),i=s;continue}let o=null,l=null;s.text.length>i.text.length?(o=s,l=i):(o=i,l=s),e.debug(()=>{console.log(`${this.constructor.name} remove ${l} by ${o}`)}),i=o}return i!=null&&n.push(i),n}}});var Sfe,TS,Efe=y(()=>{Sfe=tt(Xt(),1);d2();TS=class{refine(e,t){return e.option.forwardDate&&t.forEach(n=>{let i=(0,Sfe.default)(e.reference.getDateWithAdjustedTimezone());if(n.start.isOnlyTime()&&e.reference.instant>n.start.date()){let a=e.reference.getDateWithAdjustedTimezone(),s=new Date(a);s.setDate(s.getDate()+1),eA(n.start,s),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${n} time from the ref date (${a}) to the following day (${s})`)}),n.end&&n.end.isOnlyTime()&&(eA(n.end,s),n.start.date()>n.end.date()&&(s.setDate(s.getDate()+1),eA(n.end,s)))}if(n.start.isOnlyWeekdayComponent()&&i.isAfter(n.start.dayjs())&&(i.day()>=n.start.get("weekday")?i=i.day(n.start.get("weekday")+7):i=i.day(n.start.get("weekday")),n.start.imply("day",i.date()),n.start.imply("month",i.month()+1),n.start.imply("year",i.year()),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${n} weekday (${n.start})`)}),n.end&&n.end.isOnlyWeekdayComponent()&&(i.day()>n.end.get("weekday")?i=i.day(n.end.get("weekday")+7):i=i.day(n.end.get("weekday")),n.end.imply("day",i.date()),n.end.imply("month",i.month()+1),n.end.imply("year",i.year()),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${n} weekday (${n.end})`)}))),n.start.isDateWithUnknownYear()&&i.isAfter(n.start.dayjs()))for(let a=0;a<3&&i.isAfter(n.start.dayjs());a++)n.start.imply("year",n.start.get("year")+1),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${n} year (${n.start})`)}),n.end&&!n.end.isCertain("year")&&(n.end.imply("year",n.end.get("year")+1),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${n} month (${n.start})`)}))}),t}}});var kS,xfe=y(()=>{mu();kS=class extends _v{constructor(t){super();A(this,"strictMode");this.strictMode=t}isValid(t,n){return n.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(t.debug(()=>{console.log(`Removing unlikely result '${n.text}'`)}),!1):n.start.isValidDate()?n.end&&!n.end.isValidDate()?(t.debug(()=>{console.log(`Removing invalid result: ${n} (${n.end})`)}),!1):this.strictMode?this.isStrictModeValid(t,n):!0:(t.debug(()=>{console.log(`Removing invalid result: ${n} (${n.start})`)}),!1)}isStrictModeValid(t,n){return n.start.isOnlyWeekdayComponent()?(t.debug(()=>{console.log(`(Strict) Removing weekday only component: ${n} (${n.end})`)}),!1):!0}}});var RZe,OZe,LZe,FZe,Cfe,$Ze,Dfe,Pfe,zZe,Mfe,_fe,fu,aA=y(()=>{we();RZe=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"),OZe=1,LZe=2,FZe=3,Cfe=4,$Ze=5,Dfe=6,Pfe=7,zZe=8,Mfe=9,_fe=10,fu=class extends V{innerPattern(){return RZe}innerExtract(e,t){let n=e.createParsingComponents({year:parseInt(t[OZe]),month:parseInt(t[LZe]),day:parseInt(t[FZe])});if(t[Cfe]!=null&&(n.assign("hour",parseInt(t[Cfe])),n.assign("minute",parseInt(t[$Ze])),t[Dfe]!=null&&n.assign("second",parseInt(t[Dfe])),t[Pfe]!=null&&n.assign("millisecond",parseInt(t[Pfe])),t[zZe]!=null)){let i=0;if(t[Mfe]){let a=parseInt(t[Mfe]),s=0;t[_fe]!=null&&(s=parseInt(t[_fe])),i=a*60,i<0?i-=s:i+=s}n.assign("timezoneOffset",i)}return n.addTag("parser/ISOFormatParser")}}});var dh,w2=y(()=>{mu();dh=class extends ns{mergeResults(e,t,n){let i=n.clone();return i.index=t.index,i.text=t.text+e+i.text,i.start.assign("weekday",t.start.get("weekday")),i.end&&i.end.assign("weekday",t.start.get("weekday")),i}shouldMergeResults(e,t,n){return t.start.isOnlyWeekdayComponent()&&!t.start.isCertain("hour")&&n.start.isCertain("day")&&e.match(/^,?\s*$/)!=null}}});function ln(r,e=!1){return r.parsers.unshift(new fu),r.refiners.unshift(new dh),r.refiners.unshift(new El),r.refiners.unshift(new jp),r.refiners.push(new vS),r.refiners.push(new jp),r.refiners.push(new TS),r.refiners.push(new kS(e)),r}var Hs=y(()=>{wfe();bS();k2();Efe();xfe();aA();w2()});function aa(r){let e=(0,Bp.default)(r.getDateWithAdjustedTimezone()),t=new ee(r,{});return Vr(t,e),vfe(t,e),t.assign("timezoneOffset",r.getTimezoneOffset()),t.addTag("casualReference/now"),t}function Si(r){let e=(0,Bp.default)(r.getDateWithAdjustedTimezone()),t=new ee(r,{});return Vr(t,e),vc(t,e),t.addTag("casualReference/today"),t}function sa(r){return uh(r,1).addTag("casualReference/yesterday")}function uh(r,e){return bc(r,-e)}function oa(r){return bc(r,1).addTag("casualReference/tomorrow")}function bc(r,e){let t=(0,Bp.default)(r.getDateWithAdjustedTimezone()),n=new ee(r,{});return t=t.add(e,"day"),Vr(n,t),vc(n,t),n}function Afe(r,e=22){let t=(0,Bp.default)(r.getDateWithAdjustedTimezone()),n=new ee(r,{});return Vr(n,t),n.imply("hour",e),n.imply("meridiem",B.PM),n.addTag("casualReference/tonight"),n}function sA(r,e=0){let t=(0,Bp.default)(r.getDateWithAdjustedTimezone()),n=new ee(r,{});return t.hour()<6&&(t=t.add(-1,"day")),Vr(n,t),n.imply("hour",e),n}function Iv(r,e=20){let t=new ee(r,{});return t.imply("meridiem",B.PM),t.imply("hour",e),t.addTag("casualReference/evening"),t}function oA(r,e=20){let t=(0,Bp.default)(r.getDateWithAdjustedTimezone()),n=new ee(r,{});return t=t.add(-1,"day"),Vr(n,t),n.imply("hour",e),n.imply("meridiem",B.PM),n.addTag("casualReference/yesterday"),n.addTag("casualReference/evening"),n}function ph(r){let e=new ee(r,{}),t=(0,Bp.default)(r.getDateWithAdjustedTimezone());return t.hour()>2&&yfe(e,t),e.assign("hour",0),e.imply("minute",0),e.imply("second",0),e.imply("millisecond",0),e.addTag("casualReference/midnight"),e}function Nv(r,e=6){let t=new ee(r,{});return t.imply("meridiem",B.AM),t.imply("hour",e),t.imply("minute",0),t.imply("second",0),t.imply("millisecond",0),t.addTag("casualReference/morning"),t}function Ife(r,e=15){let t=new ee(r,{});return t.imply("meridiem",B.PM),t.imply("hour",e),t.imply("minute",0),t.imply("second",0),t.imply("millisecond",0),t.addTag("casualReference/afternoon"),t}function Rv(r){let e=new ee(r,{});return e.imply("meridiem",B.AM),e.assign("hour",12),e.imply("minute",0),e.imply("second",0),e.imply("millisecond",0),e.addTag("casualReference/noon"),e}var Bp,Vs=y(()=>{lt();Bp=tt(Xt(),1);Us();Bt()});var Nfe,jZe,wS,Rfe=y(()=>{Nfe=tt(Xt(),1);we();Us();Vs();jZe=/(now|today|tonight|tomorrow|overmorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,wS=class extends V{innerPattern(e){return jZe}innerExtract(e,t){let n=(0,Nfe.default)(e.refDate),i=t[0].toLowerCase(),a=e.createParsingComponents();switch(i){case"now":a=aa(e.reference);break;case"today":a=Si(e.reference);break;case"yesterday":a=sa(e.reference);break;case"tomorrow":case"tmr":case"tmrw":a=oa(e.reference);break;case"tonight":a=Afe(e.reference);break;case"overmorrow":a=bc(e.reference,2);break;default:i.match(/last\s*night/)&&(n.hour()>6&&(n=n.add(-1,"day")),Vr(a,n),a.imply("hour",0));break}return a.addTag("parser/ENCasualDateParser"),a}}});var BZe,SS,Ofe=y(()=>{we();Vs();BZe=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|midday|noon)(?=\W|$)/i,SS=class extends V{innerPattern(){return BZe}innerExtract(e,t){let n=null;switch(t[1].toLowerCase()){case"afternoon":n=Ife(e.reference);break;case"evening":case"night":n=Iv(e.reference);break;case"midnight":n=ph(e.reference);break;case"morning":n=Nv(e.reference);break;case"noon":case"midday":n=Rv(e.reference);break}return n&&n.addTag("parser/ENCasualTimeParser"),n}}});function Gn(r){let e={};for(let t in r)e[t]=-r[t];return e}function lA(r,e){let t=r.clone(),n=r.dayjs();for(let i in e)n=n.add(e[i],i);return("day"in e||"d"in e||"week"in e||"month"in e||"year"in e)&&(t.imply("day",n.date()),t.imply("month",n.month()+1),t.imply("year",n.year())),("second"in e||"minute"in e||"hour"in e)&&(t.imply("second",n.second()),t.imply("minute",n.minute()),t.imply("hour",n.hour())),t}var qs=y(()=>{});function Kn(r,e,t){let n=r.getDateWithAdjustedTimezone(),i=UZe(n,e,t),a=new ee(r);return a=lA(a,{day:i}),a.assign("weekday",e),a}function UZe(r,e,t){let n=r.getDay();switch(t){case"this":return cA(r,e);case"last":return Lfe(r,e);case"next":return n==We.SUNDAY?e==We.SUNDAY?7:e:n==We.SATURDAY?e==We.SATURDAY?7:e==We.SUNDAY?8:1+e:e<n&&e!=We.SUNDAY?cA(r,e):cA(r,e)+7}return HZe(r,e)}function HZe(r,e){let t=Lfe(r,e),n=cA(r,e);return n<-t?n:t}function cA(r,e){let t=r.getDay(),n=e-t;return n<0&&(n+=7),n}function Lfe(r,e){let t=r.getDay(),n=e-t;return n>=0&&(n-=7),n}var xl=y(()=>{Bt();lt();qs()});var VZe,qZe,WZe,YZe,ES,Ffe=y(()=>{si();At();we();xl();Bt();VZe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${oe(rA)}|weekend|weekday)(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),qZe=1,WZe=2,YZe=3,ES=class extends V{innerPattern(){return VZe}innerExtract(e,t){let n=t[qZe],i=t[YZe],a=n||i;a=a||"",a=a.toLowerCase();let s=null;a=="last"||a=="past"?s="last":a=="next"?s="next":a=="this"&&(s="this");let o=t[WZe].toLowerCase(),l;if(rA[o]!==void 0)l=rA[o];else if(o=="weekend")l=s=="last"?We.SUNDAY:We.SATURDAY;else if(o=="weekday"){let c=e.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 Kn(e.reference,l,s)}}});var $fe,GZe,KZe,ZZe,xS,zfe=y(()=>{si();lt();$fe=tt(Xt(),1);we();At();GZe=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${oe(sS)})(?=\\s*)(?=\\W|$)`,"i"),KZe=1,ZZe=2,xS=class extends V{innerPattern(){return GZe}innerExtract(e,t){let n=t[KZe].toLowerCase(),i=t[ZZe].toLowerCase(),a=sS[i];if(n=="next"||n.startsWith("after")){let l={};return l[a]=1,ee.createRelativeFromReference(e.reference,l)}if(n=="last"||n=="past"){let l={};return l[a]=-1,ee.createRelativeFromReference(e.reference,l)}let s=e.createParsingComponents(),o=(0,$fe.default)(e.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 QZe,JZe,XZe,jfe,Bfe,S2,oi,hu=y(()=>{Dn();QZe=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"),JZe=1,XZe=5,jfe=2,Bfe=3,S2=4,oi=class{constructor(e){A(this,"groupNumberMonth");A(this,"groupNumberDay");this.groupNumberMonth=e?Bfe:jfe,this.groupNumberDay=e?jfe:Bfe}pattern(){return QZe}extract(e,t){let n=t.index+t[JZe].length,i=t.index+t[0].length-t[XZe].length;if(n>0&&e.text.substring(0,n).match("\\d/?$")||i<e.text.length&&e.text.substring(i).match("^/?\\d"))return;let a=e.text.substring(n,i);if(a.match(/^\d\.\d$/)||a.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!t[S2]&&a.indexOf("/")<0)return;let s=e.createParsingResult(n,a),o=parseInt(t[this.groupNumberMonth]),l=parseInt(t[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),t[S2]){let c=parseInt(t[S2]),d=rs(c);s.start.assign("year",d)}else{let c=dr(e.refDate,l,o);s.start.imply("year",c)}return s.addTag("parser/SlashDateFormatParser")}}});var eQe,tQe,CS,Ufe=y(()=>{si();lt();we();aS();eQe=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${uu})(?=\\W|$)`,"i"),tQe=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${zp})(?=\\W|$)`,"i"),CS=class extends V{constructor(t=!0){super();A(this,"allowAbbreviations");this.allowAbbreviations=t}innerPattern(){return this.allowAbbreviations?eQe:tQe}innerExtract(t,n){let i=n[1].toLowerCase(),a=So(n[2]);if(!a)return null;switch(i){case"last":case"past":case"-":a=Cv(a);break}return ee.createRelativeFromReference(t.reference,a)}}});function rQe(r){return r.text.match(/^[+-]/i)!=null}function Hfe(r){return r.text.match(/^-/i)!=null}var DS,Vfe=y(()=>{mu();lt();si();qs();DS=class extends ns{shouldMergeResults(e,t,n){return e.match(/^\s*$/i)?rQe(n)||Hfe(n):!1}mergeResults(e,t,n,i){let a=So(n.text);Hfe(n)&&(a=Gn(a));let s=ee.createRelativeFromReference(er.fromDate(t.start.date()),a);return new Wt(t.reference,t.index,`${t.text}${e}${n.text}`,s)}}});function qfe(r){return r.text.match(/\s+(before|from)$/i)!=null}function nQe(r){return r.text.match(/\s+(after|since)$/i)!=null}var PS,Wfe=y(()=>{mu();lt();si();aS();PS=class extends ns{patternBetween(){return/^\s*$/i}shouldMergeResults(e,t,n){return!e.match(this.patternBetween())||!qfe(t)&&!nQe(t)?!1:!!n.start.get("day")&&!!n.start.get("month")&&!!n.start.get("year")}mergeResults(e,t,n){let i=So(t.text);qfe(t)&&(i=Cv(i));let a=ee.createRelativeFromReference(er.fromDate(n.start.date()),i);return new Wt(n.reference,t.index,`${t.text}${e}${n.text}`,a)}}});var iQe,aQe,MS,Yfe=y(()=>{si();iQe=new RegExp(`^\\s*(${Fp})`,"i"),aQe=1,MS=class{refine(e,t){return t.forEach(function(n){if(!n.start.isDateWithUnknownYear())return;let i=e.text.substring(n.index+n.text.length),a=iQe.exec(i);if(!a||a[0].trim().length<=3)return;e.debug(()=>{console.log(`Extracting year: '${a[0]}' into : ${n}`)});let s=$p(a[aQe]);n.end!=null&&n.end.assign("year",s),n.start.assign("year",s),n.text+=a[0]}),t}}});var _S,Gfe=y(()=>{mu();_S=class extends _v{constructor(){super()}isValid(e,t){let n=t.text.trim();return n===e.text.trim()?!0:n.toLowerCase()==="may"&&!e.text.substring(0,t.index).trim().match(/\b(in)$/i)?(e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1):n.toLowerCase().endsWith("the second")?(e.text.substring(t.index+t.text.length).trim().length>0&&e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1):!0}}});var mh,E2=y(()=>{efe();ife();sfe();lfe();dfe();ufe();mfe();ffe();hfe();gfe();kfe();Hs();Rfe();Ofe();Ffe();zfe();hu();Ufe();Vfe();Wfe();k2();Yfe();Gfe();mh=class{createCasualConfiguration(e=!1){let t=this.createConfiguration(!1,e);return t.parsers.push(new wS),t.parsers.push(new SS),t.parsers.push(new dS),t.parsers.push(new xS),t.parsers.push(new CS),t.refiners.push(new _S),t}createConfiguration(e=!0,t=!1){let n=ln({parsers:[new oi(t),new oS(e),new lS,new cS(t),new ES,new pS,new fS(e),new hS(e),new gS(e)],refiners:[new Av]},e);return n.parsers.unshift(new uS(e)),n.refiners.unshift(new PS),n.refiners.unshift(new DS),n.refiners.unshift(new jp),n.refiners.push(new Av),n.refiners.push(new MS),n.refiners.push(new yS),n}}});var ze,AS,is=y(()=>{lt();E2();ze=class r{constructor(e){A(this,"parsers");A(this,"refiners");A(this,"defaultConfig",new mh);e=e||this.defaultConfig.createCasualConfiguration(),this.parsers=[...e.parsers],this.refiners=[...e.refiners]}clone(){return new r({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(e,t,n){let i=this.parse(e,t,n);return i.length>0?i[0].start.date():null}parse(e,t,n){let i=new AS(e,t,n),a=[];return this.parsers.forEach(s=>{let o=r.executeParser(i,s);a=a.concat(o)}),a.sort((s,o)=>s.index-o.index),this.refiners.forEach(function(s){a=s.refine(i,a)}),a}static executeParser(e,t){let n=[],i=t.pattern(e),a=e.text,s=e.text,o=i.exec(s);for(;o;){let l=o.index+a.length-s.length;o.index=l;let c=t.extract(e,o);if(!c){s=a.substring(o.index+1),o=i.exec(s);continue}let d=null;c instanceof Wt?d=c:c instanceof ee?(d=e.createParsingResult(o.index,o[0]),d.start=c):d=e.createParsingResult(o.index,o[0],c);let u=d.index,p=d.text;e.debug(()=>console.log(`${t.constructor.name} extracted (at index=${u}) '${p}'`)),n.push(d),s=a.substring(u+p.length),o=i.exec(s)}return n}},AS=class{constructor(e,t,n){A(this,"text");A(this,"option");A(this,"reference");A(this,"refDate");this.text=e,this.option=n!=null?n:{},this.reference=er.fromInput(t,this.option.timezones),this.refDate=this.reference.instant}createParsingComponents(e){return e instanceof ee?e:new ee(this.reference,e)}createParsingResult(e,t,n,i){let a=typeof t=="string"?t:this.text.substring(e,t),s=n?this.createParsingComponents(n):null,o=i?this.createParsingComponents(i):null;return new Wt(this.reference,e,a,s,o)}debug(e){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(e):this.option.debug.debug(e))}}});var C2={};et(C2,{Chrono:()=>ze,GB:()=>sQe,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>IS,configuration:()=>dA,parse:()=>oQe,parseDate:()=>lQe,strict:()=>x2});function oQe(r,e,t){return IS.parse(r,e,t)}function lQe(r,e,t){return IS.parseDate(r,e,t)}var dA,IS,x2,sQe,Kfe=y(()=>{is();lt();Bt();E2();dA=new mh,IS=new ze(dA.createCasualConfiguration(!1)),x2=new ze(dA.createConfiguration(!0,!1)),sQe=new ze(dA.createCasualConfiguration(!0))});var NS,Zfe=y(()=>{pu();NS=class extends wi{primaryPrefix(){return"(?:(?:um|von)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|bis)\\s*"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}}});function A2(r){let e=r.toLowerCase();return D2[e]!==void 0?D2[e]:e==="ein"||e==="einer"||e==="einem"||e==="einen"||e==="eine"?1:e.match(/wenigen/)?2:e.match(/halb/)||e.match(/halben/)?.5:e.match(/einigen/)?3:e.match(/mehreren/)?7:parseFloat(e)}function Xfe(r){if(/v/i.test(r))return-parseInt(r.replace(/[^0-9]+/gi,""));if(/n/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));if(/z/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));let e=parseInt(r);return rs(e)}function rhe(r){let e={},t=r,n=Qfe.exec(t);for(;n;)cQe(e,n),t=t.substring(n[0].length),n=Qfe.exec(t);return e}function cQe(r,e){let t=A2(e[1]),n=RS[e[2].toLowerCase()];r[n]=t}var P2,M2,D2,RS,_2,Jfe,ehe,Qfe,the,Ov=y(()=>{At();Dn();P2={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},M2={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},D2={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},RS={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"},_2=`(?:${oe(D2)}|[0-9]+|[0-9]+\\.[0-9]+|halb?|halbe?|einigen?|wenigen?|mehreren?)`;Jfe="(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)";ehe=`(${_2})\\s{0,5}(${oe(RS)})\\s{0,5}`,Qfe=new RegExp(ehe,"i"),the=Ia("",ehe)});var dQe,uQe,pQe,mQe,OS,nhe=y(()=>{Ov();At();we();xl();dQe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${oe(P2)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),uQe=1,pQe=3,mQe=2,OS=class extends V{innerPattern(){return dQe}innerExtract(e,t){let n=t[mQe].toLowerCase(),i=P2[n],a=t[uQe],s=t[pQe],o=a||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"),Kn(e.reference,i,l)}}});var fQe,hQe,gQe,ihe,ahe,she,LS,ohe=y(()=>{Bt();fQe=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"),hQe=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"),gQe=2,ihe=3,ahe=4,she=5,LS=class r{pattern(e){return fQe}extract(e,t){let n=e.createParsingResult(t.index+t[1].length,t[0].substring(t[1].length));if(n.text.match(/^\d{4}$/)||(n.start=r.extractTimeComponent(n.start.clone(),t),!n.start))return t.index+=t[0].length,null;let i=e.text.substring(t.index+t[0].length),a=hQe.exec(i);return a&&(n.end=r.extractTimeComponent(n.start.clone(),a),n.end&&(n.text+=a[0])),n}static extractTimeComponent(e,t){let n=0,i=0,a=null;if(n=parseInt(t[gQe]),t[ihe]!=null&&(i=parseInt(t[ihe])),i>=60||n>24)return null;if(n>=12&&(a=B.PM),t[she]!=null){if(n>12)return null;let s=t[she].toLowerCase();s.match(/morgen|vormittag/)&&(a=B.AM,n==12&&(n=0)),s.match(/nachmittag|abend/)&&(a=B.PM,n!=12&&(n+=12)),s.match(/nacht/)&&(n==12?(a=B.AM,n=0):n<6?a=B.AM:(a=B.PM,n+=12))}if(e.assign("hour",n),e.assign("minute",i),a!==null?e.assign("meridiem",a):n<12?e.imply("meridiem",B.AM):e.imply("meridiem",B.PM),t[ahe]!=null){let s=parseInt(t[ahe]);if(s>=60)return null;e.assign("second",s)}return e}}});var FS,lhe=y(()=>{Eo();FS=class extends Jr{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}}});var $S,che=y(()=>{xo();$S=class extends Xr{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}}});var dhe,fh,I2=y(()=>{dhe=tt(Xt(),1);Bt();we();Us();qs();fh=class r extends V{innerPattern(e){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(e,t){let n=(0,dhe.default)(e.refDate),i=t[2].toLowerCase(),a=e.createParsingComponents();return vc(a,n),r.extractTimeComponents(a,i)}static extractTimeComponents(e,t){switch(t){case"morgen":e.imply("hour",6),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.AM);break;case"vormittag":e.imply("hour",9),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.AM);break;case"mittag":case"mittags":e.imply("hour",12),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.AM);break;case"nachmittag":e.imply("hour",15),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.PM);break;case"abend":e.imply("hour",18),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.PM);break;case"nacht":e.imply("hour",22),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.PM);break;case"mitternacht":e.get("hour")>1&&(e=lA(e,{day:1})),e.imply("hour",0),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",B.AM);break}return e}}});var uhe,yQe,vQe,bQe,zS,phe=y(()=>{uhe=tt(Xt(),1);we();Us();I2();Vs();yQe=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),vQe=1,bQe=2,zS=class extends V{innerPattern(e){return yQe}innerExtract(e,t){let n=(0,uhe.default)(e.refDate),i=(t[vQe]||"").toLowerCase(),a=(t[bQe]||"").toLowerCase(),s=e.createParsingComponents();switch(i){case"jetzt":s=aa(e.reference);break;case"heute":s=Si(e.reference);break;case"morgen":Sl(s,n);break;case"\xFCbermorgen":case"uebermorgen":n=n.add(1,"day"),Sl(s,n);break;case"gestern":n=n.add(-1,"day"),Vr(s,n),vc(s,n);break;case"vorgestern":n=n.add(-2,"day"),Vr(s,n),vc(s,n);break;default:i.match(/letzte\s*nacht/)&&(n.hour()>6&&(n=n.add(-1,"day")),Vr(s,n),s.imply("hour",0));break}return a&&(s=fh.extractTimeComponents(s,a)),s}}});var TQe,mhe,fhe,kQe,hhe,jS,ghe=y(()=>{Dn();Ov();Ov();At();we();TQe=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${oe(M2)})(?:(?:-|/|,?\\s*)(${Jfe}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),mhe=1,fhe=2,kQe=3,hhe=4,jS=class extends V{innerPattern(){return TQe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=M2[t[kQe].toLowerCase()],a=parseInt(t[mhe]);if(a>31)return t.index=t.index+t[mhe].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[hhe]){let s=Xfe(t[hhe]);n.start.assign("year",s)}else{let s=dr(e.refDate,a,i);n.start.imply("year",s)}if(t[fhe]){let s=parseInt(t[fhe]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var BS,yhe=y(()=>{Ov();lt();we();qs();At();BS=class extends V{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*)?(${_2})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${oe(RS)})`,"i")}innerExtract(e,t){let n=t[2]?A2(t[2]):1,i=RS[t[4].toLowerCase()],a={};a[i]=n;let s=t[1]||t[3]||"";if(s=s.toLowerCase(),!!s)return(/vor/.test(s)||/letzte/.test(s)||/vergangen/.test(s))&&(a=Gn(a)),ee.createRelativeFromReference(e.reference,a)}}});var US,vhe=y(()=>{Ov();lt();we();US=class extends V{innerPattern(){return new RegExp(`(?:in|f\xFCr|w\xE4hrend)\\s*(${the})(?=\\W|$)`,"i")}innerExtract(e,t){let n=rhe(t[1]);return ee.createRelativeFromReference(e.reference,n)}}});var O2={};et(O2,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>N2,createCasualConfiguration:()=>bhe,createConfiguration:()=>R2,parse:()=>SQe,parseDate:()=>EQe,strict:()=>wQe});function SQe(r,e,t){return N2.parse(r,e,t)}function EQe(r,e,t){return N2.parseDate(r,e,t)}function bhe(r=!0){let e=R2(!1,r);return e.parsers.unshift(new fh),e.parsers.unshift(new zS),e.parsers.unshift(new BS),e}function R2(r=!0,e=!0){return ln({parsers:[new fu,new oi(e),new NS,new LS,new jS,new OS,new US],refiners:[new FS,new $S]},r)}var N2,wQe,The=y(()=>{Hs();is();lt();Bt();hu();aA();Zfe();nhe();ohe();lhe();che();phe();I2();ghe();yhe();vhe();N2=new ze(bhe()),wQe=new ze(R2(!0))});var khe,HS,whe=y(()=>{khe=tt(Xt(),1);Bt();we();Us();Vs();HS=class extends V{innerPattern(e){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(e,t){let n=(0,khe.default)(e.refDate),i=t[0].toLowerCase(),a=e.createParsingComponents();switch(i){case"maintenant":return aa(e.reference);case"aujourd'hui":return Si(e.reference);case"hier":return sa(e.reference);case"demain":return oa(e.reference);default:i.match(/cette\s*nuit/)?(Vr(a,n),a.imply("hour",22),a.imply("meridiem",B.PM)):i.match(/la\s*veille/)&&(n=n.add(-1,"day"),Vr(a,n),a.imply("hour",0))}return a}}});var VS,She=y(()=>{Bt();we();VS=class extends V{innerPattern(e){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(e,t){let n=t[2].toLowerCase(),i=e.createParsingComponents();switch(n){case"apr\xE8s-midi":case"aprem":i.imply("hour",14),i.imply("minute",0),i.imply("meridiem",B.PM);break;case"soir":i.imply("hour",18),i.imply("minute",0),i.imply("meridiem",B.PM);break;case"matin":i.imply("hour",8),i.imply("minute",0),i.imply("meridiem",B.AM);break;case"a midi":i.imply("hour",12),i.imply("minute",0),i.imply("meridiem",B.AM);break;case"\xE0 minuit":i.imply("hour",0),i.imply("meridiem",B.AM);break}return i}}});var qS,Ehe=y(()=>{pu();qS=class extends wi{primaryPrefix(){return"(?:(?:[\xE0a])\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}}});var WS,xhe=y(()=>{xo();WS=class extends Xr{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|au|vers|de|,|-)?\\s*$")}}});var YS,Che=y(()=>{Eo();YS=class extends Jr{patternBetween(){return/^\s*(à|a|au|-)\s*$/i}}});function j2(r){let e=r.toLowerCase();return L2[e]!==void 0?L2[e]:e==="une"||e==="un"?1:e.match(/quelques?/)?3:e.match(/demi-?/)?.5:parseFloat(e)}function U2(r){let e=r.toLowerCase();return e=e.replace(/(?:er)$/i,""),parseInt(e)}function Mhe(r){if(/AC/i.test(r))return r=r.replace(/BC/i,""),-parseInt(r);if(/AD/i.test(r)||/C/i.test(r))return r=r.replace(/[^\d]+/i,""),parseInt(r);let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}function pA(r){let e={},t=r,n=Dhe.exec(t);for(;n;)xQe(e,n),t=t.substring(n[0].length),n=Dhe.exec(t);return e}function xQe(r,e){let t=j2(e[1]),n=GS[e[2].toLowerCase()];r[n]=t}var F2,$2,L2,GS,z2,B2,Phe,_he,Dhe,uA,Up=y(()=>{At();F2={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},$2={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},L2={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},GS={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"},z2=`(?:${oe(L2)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;B2="(?:[0-9]{1,2}(?:er)?)";Phe="(?:[1-9][0-9]{0,3}\\s*(?:AC|AD|p\\.\\s*C(?:hr?)?\\.\\s*n\\.)|[1-2][0-9]{3}|[5-9][0-9])";_he=`(${z2})\\s{0,5}(${oe(GS)})\\s{0,5}`,Dhe=new RegExp(_he,"i"),uA=Ia("",_he)});var CQe,DQe,PQe,KS,Ahe=y(()=>{Up();At();we();xl();CQe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${oe(F2)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),DQe=1,PQe=2,KS=class extends V{innerPattern(){return CQe}innerExtract(e,t){let n=t[DQe].toLowerCase(),i=F2[n];if(i===void 0)return null;let a=t[PQe];a=a||"",a=a.toLowerCase();let s=null;return a=="dernier"?s="last":a=="prochain"&&(s="next"),Kn(e.reference,i,s)}}});var MQe,_Qe,AQe,Ihe,Nhe,Rhe,ZS,Ohe=y(()=>{Bt();MQe=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"),_Qe=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"),AQe=2,Ihe=3,Nhe=4,Rhe=5,ZS=class r{pattern(e){return MQe}extract(e,t){let n=e.createParsingResult(t.index+t[1].length,t[0].substring(t[1].length));if(n.text.match(/^\d{4}$/)||(n.start=r.extractTimeComponent(n.start.clone(),t),!n.start))return t.index+=t[0].length,null;let i=e.text.substring(t.index+t[0].length),a=_Qe.exec(i);return a&&(n.end=r.extractTimeComponent(n.start.clone(),a),n.end&&(n.text+=a[0])),n}static extractTimeComponent(e,t){let n=0,i=0,a=null;if(n=parseInt(t[AQe]),t[Ihe]!=null&&(i=parseInt(t[Ihe])),i>=60||n>24)return null;if(n>=12&&(a=B.PM),t[Rhe]!=null){if(n>12)return null;let s=t[Rhe][0].toLowerCase();s=="a"&&(a=B.AM,n==12&&(n=0)),s=="p"&&(a=B.PM,n!=12&&(n+=12))}if(e.assign("hour",n),e.assign("minute",i),a!==null?e.assign("meridiem",a):n<12?e.imply("meridiem",B.AM):e.imply("meridiem",B.PM),t[Nhe]!=null){let s=parseInt(t[Nhe]);if(s>=60)return null;e.assign("second",s)}return e}}});var IQe,Lhe,Fhe,NQe,$he,QS,zhe=y(()=>{Dn();Up();Up();Up();At();we();IQe=new RegExp(`(?:on\\s*?)?(${B2})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${B2}))?(?:-|/|\\s*(?:de)?\\s*)(${oe($2)})(?:(?:-|/|,?\\s*)(${Phe}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),Lhe=1,Fhe=2,NQe=3,$he=4,QS=class extends V{innerPattern(){return IQe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=$2[t[NQe].toLowerCase()],a=U2(t[Lhe]);if(a>31)return t.index=t.index+t[Lhe].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[$he]){let s=Mhe(t[$he]);n.start.assign("year",s)}else{let s=dr(e.refDate,a,i);n.start.imply("year",s)}if(t[Fhe]){let s=U2(t[Fhe]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var JS,jhe=y(()=>{Up();lt();we();qs();JS=class extends V{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${uA})(?=(?:\\W|$))`,"i")}innerExtract(e,t){let n=pA(t[1]),i=Gn(n);return ee.createRelativeFromReference(e.reference,i)}}});var XS,Bhe=y(()=>{Up();lt();we();XS=class extends V{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${uA})(?=\\W|$)`,"i")}innerExtract(e,t){let n=pA(t[1]);return ee.createRelativeFromReference(e.reference,n)}}});var eE,Uhe=y(()=>{Up();lt();we();qs();At();eE=class extends V{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${z2})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${oe(GS)})(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?`,"i")}innerExtract(e,t){let n=t[1]?j2(t[1]):1,i=GS[t[3].toLowerCase()],a={};a[i]=n;let s=t[2]||t[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))&&(a=Gn(a)),ee.createRelativeFromReference(e.reference,a)}}});var q2={};et(q2,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>H2,createCasualConfiguration:()=>Hhe,createConfiguration:()=>V2,parse:()=>OQe,parseDate:()=>LQe,strict:()=>RQe});function OQe(r,e,t){return H2.parse(r,e,t)}function LQe(r,e,t){return H2.parseDate(r,e,t)}function Hhe(r=!0){let e=V2(!1,r);return e.parsers.unshift(new HS),e.parsers.unshift(new VS),e.parsers.unshift(new eE),e}function V2(r=!0,e=!0){return ln({parsers:[new oi(e),new QS,new qS,new ZS,new JS,new XS,new KS],refiners:[new WS,new YS]},r)}var H2,RQe,Vhe=y(()=>{Hs();is();lt();Bt();whe();She();hu();Ehe();xhe();Che();Ahe();Ohe();zhe();jhe();Bhe();Uhe();H2=new ze(Hhe()),RQe=new ze(V2(!0))});function Na(r){return String(r).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,FQe)}function FQe(r){return String.fromCharCode(r.charCodeAt(0)-65248)}function hh(r){let e=0;for(let t=0;t<r.length;t++){let n=r[t];n==="\u5341"?e=e===0?Tc[n]:e*Tc[n]:e+=Tc[n]}return e}var Tc,Lv,Fv=y(()=>{Tc={\u96F6:0,"\u3007":0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10},Lv={\u65E5:0,\u6708:1,\u706B:2,\u6C34:3,\u6728:4,\u91D1:5,\u571F:6}});var Whe,$Qe,qhe,zQe,W2,jQe,BQe,UQe,tE,Yhe=y(()=>{Fv();Dn();Whe=tt(Xt(),1),$Qe=/(?:(?:([同今本])|((昭和|平成|令和)?([0-9-]{1,4}|元)))年\s*)?([0-9-]{1,2})月\s*([0-9-]{1,2})日/i,qhe=1,zQe=2,W2=3,jQe=4,BQe=5,UQe=6,tE=class{pattern(){return $Qe}extract(e,t){let n=parseInt(Na(t[BQe])),i=parseInt(Na(t[UQe])),a=e.createParsingComponents({day:i,month:n});if(t[qhe]&&t[qhe].match("\u540C|\u4ECA|\u672C")){let s=(0,Whe.default)(e.refDate);a.assign("year",s.year())}if(t[zQe]){let s=t[jQe],o=s=="\u5143"?1:parseInt(Na(s));t[W2]=="\u4EE4\u548C"?o+=2018:t[W2]=="\u5E73\u6210"?o+=1988:t[W2]=="\u662D\u548C"&&(o+=1925),a.assign("year",o)}else{let s=dr(e.refDate,i,n);a.imply("year",s)}return a}}});var rE,Ghe=y(()=>{Eo();rE=class extends Jr{patternBetween(){return/^\s*(から||ー|-||~)\s*$/i}}});function VQe(r){switch(r){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 r}}var Khe,HQe,nE,Zhe=y(()=>{Khe=tt(Xt(),1);Bt();Vs();HQe=/今日|きょう|本日|ほんじつ|昨日|きのう|明日|あした|今夜|こんや|今夕|こんゆう|今晩|こんばん|今朝|けさ/i;nE=class{pattern(){return HQe}extract(e,t){let n=VQe(t[0]),i=(0,Khe.default)(e.refDate),a=e.createParsingComponents();switch(n){case"\u6628\u65E5":return sa(e.reference);case"\u660E\u65E5":return oa(e.reference);case"\u672C\u65E5":case"\u4ECA\u65E5":return Si(e.reference)}return n=="\u4ECA\u591C"||n=="\u4ECA\u5915"||n=="\u4ECA\u6669"?(a.imply("hour",22),a.assign("meridiem",B.PM)):n.match("\u4ECA\u671D")&&(a.imply("hour",6),a.assign("meridiem",B.AM)),a.assign("day",i.date()),a.assign("month",i.month()+1),a.assign("year",i.year()),a}}});var qQe,iE,Qhe=y(()=>{Fv();xl();qQe=new RegExp("((?<prefix>\u524D\u306E|\u6B21\u306E|\u4ECA\u9031))?(?<weekday>"+Object.keys(Lv).join("|")+")(?:\u66DC\u65E5|\u66DC)","i"),iE=class{pattern(){return qQe}extract(e,t){let n=t.groups.weekday,i=Lv[n];if(i===void 0)return null;let a=t.groups.prefix||"",s=null;return a.match(/前の/)?s="last":a.match(/次の/)?s="next":a.match(/今週/)&&(s="this"),Kn(e.reference,i,s)}}});var WQe,Jhe,YQe,GQe,aE,Xhe=y(()=>{Dn();Fv();WQe=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"),Jhe=1,YQe=2,GQe=3,aE=class{pattern(){return WQe}extract(e,t){let n=e.createParsingComponents(),i=parseInt(Na(t[YQe])),a=parseInt(Na(t[GQe]));if(i<1||i>12||a<1||a>31)return null;if(n.assign("day",a),n.assign("month",i),t[Jhe]){let s=parseInt(Na(t[Jhe])),o=rs(s);n.assign("year",o)}else{let s=dr(e.reference.instant,a,i);n.imply("year",s)}return n}}});var KQe,ZQe,mA,fA,Hp,$v,hA,sE,ege=y(()=>{we();Bt();Fv();KQe=new RegExp("(?:(\u5348\u524D|\u5348\u5F8C|A.M.|P.M.|AM|PM))?(?:[\\s,\uFF0C\u3001]*)(?:([0-9\uFF10-\uFF19]+|["+Object.keys(Tc).join("")+"]+)(?:\\s*)(?:\u6642|:|\uFF1A)(?:\\s*)([0-9\uFF10-\uFF19]+|\u534A|["+Object.keys(Tc).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)([0-9\uFF10-\uFF19]+|["+Object.keys(Tc).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),ZQe=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(Tc).join("")+"]+)(?:\\s*)(?:\u6642|:|\uFF1A)(?:\\s*)([0-9\uFF10-\uFF19]+|\u534A|["+Object.keys(Tc).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)([0-9\uFF10-\uFF19]+|["+Object.keys(Tc).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),mA=1,fA=2,Hp=3,$v=4,hA=5,sE=class extends V{innerPattern(){return KQe}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=e.createParsingResult(t.index,t[0]),i=0,a=0,s=-1;if(t[$v]){let o=parseInt(Na(t[$v]));if(isNaN(o)&&(o=hh(t[$v])),o>=60)return null;n.start.assign("second",o)}if(i=parseInt(Na(t[fA])),isNaN(i)&&(i=hh(t[fA])),t[Hp]?t[Hp]==="\u534A"?a=30:(a=parseInt(Na(t[Hp])),isNaN(a)&&(a=hh(t[Hp]))):i>100&&(a=i%100,i=Math.floor(i/100)),a>=60||i>24)return null;if(i>=12&&(s=B.PM),t[mA]){if(i>12)return null;let o=t[mA],l=o[0].toLowerCase();o==="\u5348\u524D"||l==="a"?(s=B.AM,i===12&&(i=0)):(o==="\u5348\u5F8C"||l==="p")&&(s=B.PM,i!=12&&(i+=12))}else if(t[hA]){if(i>12)return null;let o=t[hA][0].toLowerCase();o==="a"&&(s=B.AM,i===12&&(i=0)),o==="p"&&(s=B.PM,i!=12&&(i+=12))}if(n.start.assign("hour",i),n.start.assign("minute",a),s>=0?n.start.assign("meridiem",s):i<12?n.start.imply("meridiem",0):n.start.imply("meridiem",1),t=ZQe.exec(e.text.substring(n.index+n.text.length)),!t)return n.text.match(/^\d+$/)?null:n;if(n.end=e.createParsingComponents(),i=0,a=0,s=-1,t[$v]){let o=parseInt(Na(t[$v]));if(isNaN(o)&&(o=hh(t[$v])),o>=60)return null;n.end.assign("second",o)}if(i=parseInt(Na(t[fA])),isNaN(i)&&(i=hh(t[fA])),t[Hp]?t[Hp]==="\u534A"?a=30:(a=parseInt(Na(t[Hp])),isNaN(a)&&(a=hh(t[Hp]))):i>100&&(a=i%100,i=Math.floor(i/100)),a>=60||i>24)return null;if(i>=12&&(s=B.PM),t[mA]){if(i>12)return null;let o=t[mA],l=o[0].toLowerCase();o==="\u5348\u524D"||l==="a"?(s=B.AM,i===12&&(i=0)):(o==="\u5348\u5F8C"||l==="p")&&(s=B.PM,i!=12&&(i+=12)),n.start.isCertain("meridiem")||(s===B.AM?(n.start.imply("meridiem",B.AM),n.start.get("hour")===12&&n.start.assign("hour",0)):(n.start.imply("meridiem",1),n.start.get("hour")!=12&&n.start.assign("hour",n.start.get("hour")+12)))}else if(t[hA]){if(i>12)return null;let o=t[hA][0].toLowerCase();o==="a"&&(s=B.AM,i===12&&(i=0)),o==="p"&&(s=B.PM,i!=12&&(i+=12))}return n.text=n.text+t[0],n.end.assign("hour",i),n.end.assign("minute",a),s>=0?n.end.assign("meridiem",s):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>i?n.end.imply("meridiem",B.AM):i<=12&&(n.end.assign("hour",i+12),n.end.assign("meridiem",B.PM)):i>12?n.end.imply("meridiem",B.PM):i<=12&&n.end.imply("meridiem",B.AM),n.end.date().getTime()<n.start.date().getTime()&&n.end.imply("day",n.end.get("day")+1),n}}});var oE,tge=y(()=>{xo();oE=class extends Xr{patternBetween(){return/^\s*(の)?\s*$/i}}});var lE,rge=y(()=>{mu();lE=class extends ns{mergeResults(e,t,n){let i=t.clone();return i.text=t.text+e+n.text,i.start.assign("weekday",n.start.get("weekday")),i.end&&i.end.assign("weekday",n.start.get("weekday")),i}shouldMergeResults(e,t,n){return t.start.isCertain("day")&&n.start.isOnlyWeekdayComponent()&&!n.start.isCertain("hour")&&e.match(/^[,、の]?\s*$/)!==null}}});var QQe,cE,nge=y(()=>{Fv();xl();QQe=new RegExp("(?:\\(|\\\uFF08)(?<weekday>"+Object.keys(Lv).join("|")+")(?:\\)|\\\uFF09)","i"),cE=class{pattern(){return QQe}extract(e,t){let n=t.groups.weekday,i=Lv[n];return i===void 0?null:Kn(e.reference,i)}}});var K2={};et(K2,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>Y2,createCasualConfiguration:()=>ige,createConfiguration:()=>G2,parse:()=>XQe,parseDate:()=>eJe,strict:()=>JQe});function XQe(r,e,t){return Y2.parse(r,e,t)}function eJe(r,e,t){return Y2.parseDate(r,e,t)}function ige(){let r=G2(!1);return r.parsers.unshift(new nE),r}function G2(r=!0){let e=ln({parsers:[new tE,new iE,new cE,new aE,new sE],refiners:[new lE,new oE,new rE]},r);return e.refiners=e.refiners.filter(t=>!(t instanceof dh)),e}var Y2,JQe,age=y(()=>{Yhe();Ghe();Zhe();Qhe();Xhe();ege();tge();is();lt();Bt();rge();nge();Hs();w2();Y2=new ze(ige()),JQe=new ze(G2(!0))});function oge(r){if(r.match(/^[0-9]{1,4}$/)){let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}return r.match(/a\.?\s*c\.?/i)?(r=r.replace(/a\.?\s*c\.?/i,""),-parseInt(r)):parseInt(r)}var Z2,Q2,sge,gA=y(()=>{Z2={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},Q2={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},sge="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?"});var tJe,rJe,nJe,iJe,dE,lge=y(()=>{gA();At();we();xl();tJe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${oe(Z2)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),rJe=1,nJe=2,iJe=3,dE=class extends V{innerPattern(){return tJe}innerExtract(e,t){let n=t[nJe].toLowerCase(),i=Z2[n];if(i===void 0)return null;let a=t[rJe],s=t[iJe],o=a||s||"";o=o.toLowerCase();let l=null;return o=="passado"?l="this":o=="pr\xF3ximo"||o=="proximo"?l="next":o=="este"&&(l="this"),Kn(e.reference,i,l)}}});var uE,cge=y(()=>{pu();uE=class extends wi{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}}});var pE,dge=y(()=>{xo();pE=class extends Xr{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}}});var mE,uge=y(()=>{Eo();mE=class extends Jr{patternBetween(){return/^\s*(?:-)\s*$/i}}});var aJe,pge,mge,sJe,fge,fE,hge=y(()=>{Dn();gA();gA();At();we();aJe=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*)(${oe(Q2)})(?:\\s*(?:de|,)?\\s*(${sge}))?(?=\\W|$)`,"i"),pge=1,mge=2,sJe=3,fge=4,fE=class extends V{innerPattern(){return aJe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=Q2[t[sJe].toLowerCase()],a=parseInt(t[pge]);if(a>31)return t.index=t.index+t[pge].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[fge]){let s=oge(t[fge]);n.start.assign("year",s)}else{let s=dr(e.refDate,a,i);n.start.imply("year",s)}if(t[mge]){let s=parseInt(t[mge]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var hE,gge=y(()=>{we();Vs();hE=class extends V{innerPattern(e){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"agora":return aa(e.reference);case"hoje":return Si(e.reference);case"amanha":case"amanh\xE3":return oa(e.reference);case"ontem":return sa(e.reference)}return i}}});var yge,gE,vge=y(()=>{Bt();we();Us();yge=tt(Xt(),1),gE=class extends V{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(e,t){let n=(0,yge.default)(e.refDate),i=e.createParsingComponents();switch(t[1].toLowerCase()){case"tarde":i.imply("meridiem",B.PM),i.imply("hour",15);break;case"noite":i.imply("meridiem",B.PM),i.imply("hour",22);break;case"manha":case"manh\xE3":i.imply("meridiem",B.AM),i.imply("hour",6);break;case"meia-noite":Sl(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"meio-dia":i.imply("meridiem",B.AM),i.imply("hour",12);break}return i}}});var eU={};et(eU,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>J2,createCasualConfiguration:()=>bge,createConfiguration:()=>X2,parse:()=>lJe,parseDate:()=>cJe,strict:()=>oJe});function lJe(r,e,t){return J2.parse(r,e,t)}function cJe(r,e,t){return J2.parseDate(r,e,t)}function bge(r=!0){let e=X2(!1,r);return e.parsers.push(new hE),e.parsers.push(new gE),e}function X2(r=!0,e=!0){return ln({parsers:[new oi(e),new dE,new uE,new fE],refiners:[new pE,new mE]},r)}var J2,oJe,Tge=y(()=>{Hs();is();lt();Bt();hu();lge();cge();dge();uge();hge();gge();vge();J2=new ze(bge()),oJe=new ze(X2(!0))});var yE,kge=y(()=>{Eo();yE=class extends Jr{patternBetween(){return/^\s*(tot|-)\s*$/i}}});var vE,wge=y(()=>{xo();vE=class extends Xr{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}}});var bE,Sge=y(()=>{we();Vs();bE=class extends V{innerPattern(e){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"nu":return aa(e.reference);case"vandaag":return Si(e.reference);case"morgen":case"morgend":return oa(e.reference);case"gisteren":return sa(e.reference)}return i}}});var Ege,dJe,uJe,TE,xge=y(()=>{Bt();we();Ege=tt(Xt(),1);Us();dJe=1,uJe=2,TE=class extends V{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(e,t){let n=(0,Ege.default)(e.refDate),i=e.createParsingComponents();switch(t[dJe]==="deze"&&(i.assign("day",e.refDate.getDate()),i.assign("month",e.refDate.getMonth()+1),i.assign("year",e.refDate.getFullYear())),t[uJe].toLowerCase()){case"namiddag":case"'s namiddags":i.imply("meridiem",B.PM),i.imply("hour",15);break;case"avond":case"'s avonds'":i.imply("meridiem",B.PM),i.imply("hour",20);break;case"middernacht":Sl(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"ochtend":case"'s ochtends":i.imply("meridiem",B.AM),i.imply("hour",6);break;case"middag":case"'s middags":i.imply("meridiem",B.AM),i.imply("hour",12);break}return i}}});function mJe(r){let e=r.toLowerCase();return tU[e]!==void 0?tU[e]:e==="paar"?2:e==="half"||e.match(/halve?/)?.5:parseFloat(e.replace(",","."))}function aU(r){let e=r.toLowerCase();return rU[e]!==void 0?rU[e]:(e=e.replace(/(?:ste|de)$/i,""),parseInt(e))}function vA(r){if(/voor Christus/i.test(r))return r=r.replace(/voor Christus/i,""),-parseInt(r);if(/na Christus/i.test(r))return r=r.replace(/na Christus/i,""),parseInt(r);let e=parseInt(r);return rs(e)}function Vp(r){let e={},t=r,n=Cge.exec(t);for(;n;)fJe(e,n),t=t.substring(n[0].length),n=Cge.exec(t);return e}function fJe(r,e){let t=mJe(e[1]),n=kE[e[2].toLowerCase()];r[n]=t}var nU,gu,tU,rU,kE,pJe,iU,yA,Dge,Cge,kc,Ws=y(()=>{At();Dn();nU={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},gu={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},tU={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12},rU={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},kE={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"},pJe=`(?:${oe(tU)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;iU=`(?:${oe(rU)}|[0-9]{1,2}(?:ste|de)?)`;yA="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";Dge=`(${pJe})\\s{0,5}(${oe(kE)})\\s{0,5}`,Cge=new RegExp(Dge,"i"),kc=Ia("(?:(?:binnen|in)\\s*)?",Dge)});var wE,Pge=y(()=>{Ws();lt();we();wE=class extends V{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+kc+")(?=\\W|$)","i")}innerExtract(e,t){let n=Vp(t[1]);return ee.createRelativeFromReference(e.reference,n)}}});var hJe,gJe,yJe,vJe,SE,Mge=y(()=>{Ws();At();we();xl();hJe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${oe(nU)})(?=\\W|$)`,"i"),gJe=1,yJe=2,vJe=3,SE=class extends V{innerPattern(){return hJe}innerExtract(e,t){let n=t[yJe].toLowerCase(),i=nU[n],a=t[gJe],s=t[vJe],o=a||s;o=o||"",o=o.toLowerCase();let l=null;return o=="vorige"?l="last":o=="volgende"?l="next":o=="deze"&&(l="this"),Kn(e.reference,i,l)}}});var bJe,TJe,_ge,Age,Ige,EE,Nge=y(()=>{Dn();Ws();Ws();Ws();At();we();bJe=new RegExp(`(?:on\\s*?)?(${iU})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${iU}))?(?:-|/|\\s*(?:of)?\\s*)(`+oe(gu)+`)(?:(?:-|/|,?\\s*)(${yA}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),TJe=3,_ge=1,Age=2,Ige=4,EE=class extends V{innerPattern(){return bJe}innerExtract(e,t){let n=gu[t[TJe].toLowerCase()],i=aU(t[_ge]);if(i>31)return t.index=t.index+t[_ge].length,null;let a=e.createParsingComponents({day:i,month:n});if(t[Ige]){let l=vA(t[Ige]);a.assign("year",l)}else{let l=dr(e.refDate,i,n);a.imply("year",l)}if(!t[Age])return a;let s=aU(t[Age]),o=e.createParsingResult(t.index,t[0]);return o.start=a,o.end=a.clone(),o.end.assign("day",s),o}}});var kJe,wJe,Rge,zv,Oge=y(()=>{Ws();Dn();At();Ws();we();kJe=new RegExp(`(${oe(gu)})\\s*(?:[,-]?\\s*(${yA})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),wJe=1,Rge=2,zv=class extends V{innerPattern(){return kJe}innerExtract(e,t){let n=e.createParsingComponents();n.imply("day",1);let i=t[wJe],a=gu[i.toLowerCase()];if(n.assign("month",a),t[Rge]){let s=vA(t[Rge]);n.assign("year",s)}else{let s=dr(e.refDate,1,a);n.imply("year",s)}return n}}});var SJe,EJe,xJe,xE,Lge=y(()=>{we();SJe=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),EJe=1,xJe=2,xE=class extends V{innerPattern(){return SJe}innerExtract(e,t){let n=parseInt(t[xJe]),i=parseInt(t[EJe]);return e.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}}});var CE,Fge=y(()=>{pu();CE=class extends wi{primaryPrefix(){return"(?:(?:om)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|om|\\?)\\s*"}primarySuffix(){return"(?:\\s*(?:uur))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}}});var CJe,DJe,PJe,$ge,MJe,DE,zge=y(()=>{Ws();At();we();CJe=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${oe(gu)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),DJe=1,PJe=2,$ge=3,MJe=4,DE=class extends V{innerPattern(){return CJe}innerExtract(e,t){let n=t[$ge]?parseInt(t[$ge]):gu[t[PJe].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(t[DJe]);return{day:parseInt(t[MJe]),month:n,year:i}}}});var jge,_Je,AJe,PE,Bge=y(()=>{we();Bt();Us();jge=tt(Xt(),1),_Je=1,AJe=2,PE=class extends V{innerPattern(e){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(e,t){let n=t[_Je].toLowerCase(),i=t[AJe].toLowerCase(),a=e.createParsingComponents(),s=(0,jge.default)(e.refDate);switch(n){case"gisteren":Vr(a,s.add(-1,"day"));break;case"van":Vr(a,s);break;case"morgen":Sl(a,s);break}switch(i){case"ochtend":a.imply("meridiem",B.AM),a.imply("hour",6);break;case"middag":a.imply("meridiem",B.AM),a.imply("hour",12);break;case"namiddag":a.imply("meridiem",B.PM),a.imply("hour",15);break;case"avond":a.imply("meridiem",B.PM),a.imply("hour",20);break}return a}}});var IJe,NJe,RJe,ME,Uge=y(()=>{Ws();lt();we();qs();IJe=new RegExp(`(dit|deze|vorig|afgelopen|(?:aan)?komend|over|\\+|-)e?\\s*(${kc})(?=\\W|$)`,"i"),NJe=1,RJe=2,ME=class extends V{innerPattern(){return IJe}innerExtract(e,t){let n=t[NJe].toLowerCase(),i=Vp(t[RJe]);switch(n){case"vorig":case"afgelopen":case"-":i=Gn(i);break}return ee.createRelativeFromReference(e.reference,i)}}});var Hge,OJe,LJe,FJe,_E,Vge=y(()=>{Ws();lt();Hge=tt(Xt(),1);we();At();OJe=new RegExp(`(dit|deze|(?:aan)?komend|volgend|afgelopen|vorig)e?\\s*(${oe(kE)})(?=\\s*)(?=\\W|$)`,"i"),LJe=1,FJe=2,_E=class extends V{innerPattern(){return OJe}innerExtract(e,t){let n=t[LJe].toLowerCase(),i=t[FJe].toLowerCase(),a=kE[i];if(n=="volgend"||n=="komend"||n=="aankomend"){let l={};return l[a]=1,ee.createRelativeFromReference(e.reference,l)}if(n=="afgelopen"||n=="vorig"){let l={};return l[a]=-1,ee.createRelativeFromReference(e.reference,l)}let s=e.createParsingComponents(),o=(0,Hge.default)(e.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(/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)):i.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 $Je,zJe,AE,qge=y(()=>{Ws();lt();we();qs();$Je=new RegExp("("+kc+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),zJe=new RegExp("("+kc+")geleden(?=(?:\\W|$))","i"),AE=class extends V{constructor(t){super();A(this,"strictMode");this.strictMode=t}innerPattern(){return this.strictMode?zJe:$Je}innerExtract(t,n){let i=Vp(n[1]),a=Gn(i);return ee.createRelativeFromReference(t.reference,a)}}});var jJe,BJe,UJe,IE,Wge=y(()=>{Ws();lt();we();jJe=new RegExp("("+kc+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),BJe=new RegExp("("+kc+")(later|vanaf nu)(?=(?:\\W|$))","i"),UJe=1,IE=class extends V{constructor(t){super();A(this,"strictMode");this.strictMode=t}innerPattern(){return this.strictMode?BJe:jJe}innerExtract(t,n){let i=Vp(n[UJe]);return ee.createRelativeFromReference(t.reference,i)}}});var lU={};et(lU,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>sU,createCasualConfiguration:()=>Yge,createConfiguration:()=>oU,parse:()=>VJe,parseDate:()=>qJe,strict:()=>HJe});function VJe(r,e,t){return sU.parse(r,e,t)}function qJe(r,e,t){return sU.parseDate(r,e,t)}function Yge(r=!0){let e=oU(!1,r);return e.parsers.unshift(new bE),e.parsers.unshift(new TE),e.parsers.unshift(new PE),e.parsers.unshift(new zv),e.parsers.unshift(new _E),e.parsers.unshift(new ME),e}function oU(r=!0,e=!0){return ln({parsers:[new oi(e),new wE,new EE,new zv,new SE,new DE,new xE,new CE(r),new AE(r),new IE(r)],refiners:[new vE,new yE]},r)}var sU,HJe,Gge=y(()=>{Hs();is();lt();Bt();kge();wge();Sge();xge();hu();Pge();Mge();Nge();Oge();Lge();Fge();zge();Bge();Uge();Vge();qge();Wge();sU=new ze(Yge()),HJe=new ze(oU(!0))});function Do(r){let e=0;for(let t=0;t<r.length;t++){let n=r[t];n==="\u5341"?e=e===0?Ei[n]:e*Ei[n]:e+=Ei[n]}return e}function Kge(r){let e="";for(let t=0;t<r.length;t++){let n=r[t];e=e+Ei[n]}return parseInt(e)}var Ei,jv,Bv=y(()=>{Ei={\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},jv={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6}});var Qge,cU,Zge,dU,gh,uU=y(()=>{Qge=tt(Xt(),1);we();Bv();cU=1,Zge=2,dU=3,gh=class extends V{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(Ei).join("")+"]{4}|["+Object.keys(Ei).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(Ei).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(Ei).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(e,t){let n=(0,Qge.default)(e.refDate),i=e.createParsingResult(t.index,t[0]),a=parseInt(t[Zge]);if(isNaN(a)&&(a=Do(t[Zge])),i.start.assign("month",a),t[dU]){let s=parseInt(t[dU]);isNaN(s)&&(s=Do(t[dU])),i.start.assign("day",s)}else i.start.imply("day",n.date());if(t[cU]){let s=parseInt(t[cU]);isNaN(s)&&(s=Kge(t[cU])),i.start.assign("year",s)}else i.start.imply("year",n.year());return i}}});var Jge,WJe,pU,YJe,yh,mU=y(()=>{Jge=tt(Xt(),1);we();Bv();WJe=new RegExp("(\\d+|["+Object.keys(Ei).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"),pU=1,YJe=2,yh=class extends V{innerPattern(){return WJe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=parseInt(t[pU]);if(isNaN(i)&&(i=Do(t[pU])),isNaN(i)){let l=t[pU];if(l==="\u51E0")i=3;else if(l==="\u534A")i=.5;else return null}let a=(0,Jge.default)(e.refDate),o=t[YJe][0];return o.match(/[日天星礼月年]/)?(o=="\u65E5"||o=="\u5929"?a=a.add(i,"d"):o=="\u661F"||o=="\u793C"?a=a.add(i*7,"d"):o=="\u6708"?a=a.add(i,"month"):o=="\u5E74"&&(a=a.add(i,"year")),n.start.assign("year",a.year()),n.start.assign("month",a.month()+1),n.start.assign("day",a.date()),n):(o=="\u79D2"?a=a.add(i,"second"):o=="\u5206"?a=a.add(i,"minute"):(o=="\u5C0F"||o=="\u949F")&&(a=a.add(i,"hour")),n.start.imply("year",a.year()),n.start.imply("month",a.month()+1),n.start.imply("day",a.date()),n.start.assign("hour",a.hour()),n.start.assign("minute",a.minute()),n.start.assign("second",a.second()),n)}}});var Xge,GJe,vh,fU=y(()=>{Xge=tt(Xt(),1);we();Bv();GJe=new RegExp("(?<prefix>\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(jv).join("|")+")"),vh=class extends V{innerPattern(){return GJe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,a=jv[i];if(a===void 0)return null;let s=null,o=t.groups.prefix;o=="\u4E0A"?s="last":o=="\u4E0B"?s="next":o=="\u8FD9"&&(s="this");let l=(0,Xge.default)(e.refDate),c=!1,d=l.day();return s=="last"||s=="past"?(l=l.day(a-7),c=!0):s=="next"?(l=l.day(a+7),c=!0):s=="this"?l=l.day(a):Math.abs(a-7-d)<Math.abs(a-d)?l=l.day(a-7):Math.abs(a+7-d)<Math.abs(a-d)?l=l.day(a+7):l=l.day(a),n.start.assign("weekday",a),c?(n.start.assign("day",l.date()),n.start.assign("month",l.month()+1),n.start.assign("year",l.year())):(n.start.imply("day",l.date()),n.start.imply("month",l.month()+1),n.start.imply("year",l.year())),n}}});var eye,KJe,ZJe,bA,TA,kA,wA,SA,EA,Po,Uv,xA,bh,hU=y(()=>{eye=tt(Xt(),1);we();Bv();KJe=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(Ei).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Ei).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Ei).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),ZJe=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(Ei).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Ei).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Ei).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),bA=1,TA=2,kA=3,wA=4,SA=5,EA=6,Po=7,Uv=8,xA=9,bh=class extends V{innerPattern(){return KJe}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=(0,eye.default)(e.refDate),i=e.createParsingResult(t.index,t[0]),a=n.clone();if(t[bA]){let d=t[bA];d=="\u660E"?n.hour()>1&&(a=a.add(1,"day")):d=="\u6628"?a=a.add(-1,"day"):d=="\u524D"?a=a.add(-2,"day"):d=="\u5927\u524D"?a=a.add(-3,"day"):d=="\u540E"?a=a.add(2,"day"):d=="\u5927\u540E"&&(a=a.add(3,"day")),i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year())}else if(t[wA]){let d=t[wA];d=="\u660E"?a=a.add(1,"day"):d=="\u6628"?a=a.add(-1,"day"):d=="\u524D"?a=a.add(-2,"day"):d=="\u5927\u524D"?a=a.add(-3,"day"):d=="\u540E"?a=a.add(2,"day"):d=="\u5927\u540E"&&(a=a.add(3,"day")),i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year())}else i.start.imply("day",a.date()),i.start.imply("month",a.month()+1),i.start.imply("year",a.year());let s=0,o=0,l=-1;if(t[Uv]){let d=parseInt(t[Uv]);if(isNaN(d)&&(d=Do(t[Uv])),d>=60)return null;i.start.assign("second",d)}if(s=parseInt(t[EA]),isNaN(s)&&(s=Do(t[EA])),t[Po]?t[Po]=="\u534A"?o=30:t[Po]=="\u6B63"||t[Po]=="\u6574"?o=0:(o=parseInt(t[Po]),isNaN(o)&&(o=Do(t[Po]))):s>100&&(o=s%100,s=Math.floor(s/100)),o>=60||s>24)return null;if(s>=12&&(l=1),t[xA]){if(s>12)return null;let d=t[xA][0].toLowerCase();d=="a"&&(l=0,s==12&&(s=0)),d=="p"&&(l=1,s!=12&&(s+=12))}else if(t[TA]){let u=t[TA][0];u=="\u65E9"?(l=0,s==12&&(s=0)):u=="\u665A"&&(l=1,s!=12&&(s+=12))}else if(t[kA]){let u=t[kA][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(t[SA]){let u=t[SA][0];u=="\u4E0A"||u=="\u65E9"||u=="\u51CC"?(l=0,s==12&&(s=0)):(u=="\u4E0B"||u=="\u665A")&&(l=1,s!=12&&(s+=12))}if(i.start.assign("hour",s),i.start.assign("minute",o),l>=0?i.start.assign("meridiem",l):s<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),t=ZJe.exec(e.text.substring(i.index+i.text.length)),!t)return i.text.match(/^\d+$/)?null:i;let c=a.clone();if(i.end=e.createParsingComponents(),t[bA]){let d=t[bA];d=="\u660E"?n.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")),i.end.assign("day",c.date()),i.end.assign("month",c.month()+1),i.end.assign("year",c.year())}else if(t[wA]){let d=t[wA];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")),i.end.assign("day",c.date()),i.end.assign("month",c.month()+1),i.end.assign("year",c.year())}else i.end.imply("day",c.date()),i.end.imply("month",c.month()+1),i.end.imply("year",c.year());if(s=0,o=0,l=-1,t[Uv]){let d=parseInt(t[Uv]);if(isNaN(d)&&(d=Do(t[Uv])),d>=60)return null;i.end.assign("second",d)}if(s=parseInt(t[EA]),isNaN(s)&&(s=Do(t[EA])),t[Po]?t[Po]=="\u534A"?o=30:t[Po]=="\u6B63"||t[Po]=="\u6574"?o=0:(o=parseInt(t[Po]),isNaN(o)&&(o=Do(t[Po]))):s>100&&(o=s%100,s=Math.floor(s/100)),o>=60||s>24)return null;if(s>=12&&(l=1),t[xA]){if(s>12)return null;let d=t[xA][0].toLowerCase();d=="a"&&(l=0,s==12&&(s=0)),d=="p"&&(l=1,s!=12&&(s+=12)),i.start.isCertain("meridiem")||(l==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(t[TA]){let u=t[TA][0];u=="\u65E9"?(l=0,s==12&&(s=0)):u=="\u665A"&&(l=1,s!=12&&(s+=12))}else if(t[kA]){let u=t[kA][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(t[SA]){let u=t[SA][0];u=="\u4E0A"||u=="\u65E9"||u=="\u51CC"?(l=0,s==12&&(s=0)):(u=="\u4E0B"||u=="\u665A")&&(l=1,s!=12&&(s+=12))}return i.text=i.text+t[0],i.end.assign("hour",s),i.end.assign("minute",o),l>=0?i.end.assign("meridiem",l):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>s?i.end.imply("meridiem",0):s>12&&i.end.imply("meridiem",1),i.end.date().getTime()<i.start.date().getTime()&&i.end.imply("day",i.end.get("day")+1),i}}});var tye,QJe,Th,gU=y(()=>{tye=tt(Xt(),1);we();Bv();QJe=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(jv).join("|")+")"),Th=class extends V{innerPattern(){return QJe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,a=jv[i];if(a===void 0)return null;let s=(0,tye.default)(e.refDate),o=!1,l=s.day();return Math.abs(a-7-l)<Math.abs(a-l)?s=s.day(a-7):Math.abs(a+7-l)<Math.abs(a-l)?s=s.day(a+7):s=s.day(a),n.start.assign("weekday",a),o?(n.start.assign("day",s.date()),n.start.assign("month",s.month()+1),n.start.assign("year",s.year())):(n.start.imply("day",s.date()),n.start.imply("month",s.month()+1),n.start.imply("year",s.year())),n}}});var aye,JJe,rye,XJe,nye,iye,eXe,kh,yU=y(()=>{aye=tt(Xt(),1);we();JJe=1,rye=2,XJe=3,nye=4,iye=5,eXe=6,kh=class extends V{innerPattern(e){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(e,t){let n=t.index,i=e.createParsingResult(n,t[0]),a=(0,aye.default)(e.refDate),s=a;if(t[JJe])i.start.imply("hour",a.hour()),i.start.imply("minute",a.minute()),i.start.imply("second",a.second()),i.start.imply("millisecond",a.millisecond());else if(t[rye]){let o=t[rye],l=t[XJe];o=="\u660E"||o=="\u807D"?a.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"?i.start.imply("hour",6):l=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(t[nye]){let l=t[nye][0];l=="\u65E9"||l=="\u671D"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"||l=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}else if(t[iye]){let o=t[iye];o=="\u660E"||o=="\u807D"?a.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=t[eXe];if(l){let c=l[0];c=="\u65E9"||c=="\u671D"||c=="\u4E0A"?i.start.imply("hour",6):c=="\u4E0B"||c=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):c=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):c=="\u591C"||c=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):c=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year()),i}}});function Mo(r){let e=0;for(let t=0;t<r.length;t++){let n=r[t];n==="\u5341"?e=e===0?xi[n]:e*xi[n]:e+=xi[n]}return e}function sye(r){let e="";for(let t=0;t<r.length;t++){let n=r[t];e=e+xi[n]}return parseInt(e)}var xi,Hv,Vv=y(()=>{xi={\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},Hv={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6}});var lye,vU,oye,bU,wh,TU=y(()=>{lye=tt(Xt(),1);we();Vv();vU=1,oye=2,bU=3,wh=class extends V{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(xi).join("")+"]{4}|["+Object.keys(xi).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(xi).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(xi).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(e,t){let n=(0,lye.default)(e.refDate),i=e.createParsingResult(t.index,t[0]),a=parseInt(t[oye]);if(isNaN(a)&&(a=Mo(t[oye])),i.start.assign("month",a),t[bU]){let s=parseInt(t[bU]);isNaN(s)&&(s=Mo(t[bU])),i.start.assign("day",s)}else i.start.imply("day",n.date());if(t[vU]){let s=parseInt(t[vU]);isNaN(s)&&(s=sye(t[vU])),i.start.assign("year",s)}else i.start.imply("year",n.year());return i}}});var cye,tXe,kU,rXe,Sh,wU=y(()=>{cye=tt(Xt(),1);we();Vv();tXe=new RegExp("(\\d+|["+Object.keys(xi).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"),kU=1,rXe=2,Sh=class extends V{innerPattern(){return tXe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=parseInt(t[kU]);if(isNaN(i)&&(i=Mo(t[kU])),isNaN(i)){let l=t[kU];if(l==="\u5E7E")i=3;else if(l==="\u534A")i=.5;else return null}let a=(0,cye.default)(e.refDate),o=t[rXe][0];return o.match(/[日天星禮月年]/)?(o=="\u65E5"||o=="\u5929"?a=a.add(i,"d"):o=="\u661F"||o=="\u79AE"?a=a.add(i*7,"d"):o=="\u6708"?a=a.add(i,"month"):o=="\u5E74"&&(a=a.add(i,"year")),n.start.assign("year",a.year()),n.start.assign("month",a.month()+1),n.start.assign("day",a.date()),n):(o=="\u79D2"?a=a.add(i,"second"):o=="\u5206"?a=a.add(i,"minute"):(o=="\u5C0F"||o=="\u9418")&&(a=a.add(i,"hour")),n.start.imply("year",a.year()),n.start.imply("month",a.month()+1),n.start.imply("day",a.date()),n.start.assign("hour",a.hour()),n.start.assign("minute",a.minute()),n.start.assign("second",a.second()),n)}}});var dye,nXe,Eh,SU=y(()=>{dye=tt(Xt(),1);we();Vv();nXe=new RegExp("(?<prefix>\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(Hv).join("|")+")"),Eh=class extends V{innerPattern(){return nXe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,a=Hv[i];if(a===void 0)return null;let s=null,o=t.groups.prefix;o=="\u4E0A"?s="last":o=="\u4E0B"?s="next":(o=="\u4ECA"||o=="\u9019"||o=="\u5462")&&(s="this");let l=(0,dye.default)(e.refDate),c=!1,d=l.day();return s=="last"||s=="past"?(l=l.day(a-7),c=!0):s=="next"?(l=l.day(a+7),c=!0):s=="this"?l=l.day(a):Math.abs(a-7-d)<Math.abs(a-d)?l=l.day(a-7):Math.abs(a+7-d)<Math.abs(a-d)?l=l.day(a+7):l=l.day(a),n.start.assign("weekday",a),c?(n.start.assign("day",l.date()),n.start.assign("month",l.month()+1),n.start.assign("year",l.year())):(n.start.imply("day",l.date()),n.start.imply("month",l.month()+1),n.start.imply("year",l.year())),n}}});var uye,iXe,aXe,CA,DA,PA,MA,_A,AA,_o,qv,IA,xh,EU=y(()=>{uye=tt(Xt(),1);we();Vv();iXe=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(xi).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(xi).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(xi).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),aXe=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(xi).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(xi).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(xi).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),CA=1,DA=2,PA=3,MA=4,_A=5,AA=6,_o=7,qv=8,IA=9,xh=class extends V{innerPattern(){return iXe}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=(0,uye.default)(e.refDate),i=e.createParsingResult(t.index,t[0]),a=n.clone();if(t[CA]){var s=t[CA];s=="\u660E"||s=="\u807D"?n.hour()>1&&(a=a.add(1,"day")):s=="\u6628"||s=="\u5C0B"||s=="\u7434"?a=a.add(-1,"day"):s=="\u524D"?a=a.add(-2,"day"):s=="\u5927\u524D"?a=a.add(-3,"day"):s=="\u5F8C"?a=a.add(2,"day"):s=="\u5927\u5F8C"&&(a=a.add(3,"day")),i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year())}else if(t[MA]){var o=t[MA];o=="\u660E"||o=="\u807D"?a=a.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day")),i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year())}else i.start.imply("day",a.date()),i.start.imply("month",a.month()+1),i.start.imply("year",a.year());let l=0,c=0,d=-1;if(t[qv]){var u=parseInt(t[qv]);if(isNaN(u)&&(u=Mo(t[qv])),u>=60)return null;i.start.assign("second",u)}if(l=parseInt(t[AA]),isNaN(l)&&(l=Mo(t[AA])),t[_o]?t[_o]=="\u534A"?c=30:t[_o]=="\u6B63"||t[_o]=="\u6574"?c=0:(c=parseInt(t[_o]),isNaN(c)&&(c=Mo(t[_o]))):l>100&&(c=l%100,l=Math.floor(l/100)),c>=60||l>24)return null;if(l>=12&&(d=1),t[IA]){if(l>12)return null;var p=t[IA][0].toLowerCase();p=="a"&&(d=0,l==12&&(l=0)),p=="p"&&(d=1,l!=12&&(l+=12))}else if(t[DA]){var m=t[DA],f=m[0];f=="\u671D"||f=="\u65E9"?(d=0,l==12&&(l=0)):f=="\u665A"&&(d=1,l!=12&&(l+=12))}else if(t[PA]){var h=t[PA],g=h[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(t[_A]){var v=t[_A],k=v[0];k=="\u4E0A"||k=="\u671D"||k=="\u65E9"||k=="\u51CC"?(d=0,l==12&&(l=0)):(k=="\u4E0B"||k=="\u664F"||k=="\u665A")&&(d=1,l!=12&&(l+=12))}if(i.start.assign("hour",l),i.start.assign("minute",c),d>=0?i.start.assign("meridiem",d):l<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),t=aXe.exec(e.text.substring(i.index+i.text.length)),!t)return i.text.match(/^\d+$/)?null:i;let b=a.clone();if(i.end=e.createParsingComponents(),t[CA]){var s=t[CA];s=="\u660E"||s=="\u807D"?n.hour()>1&&(b=b.add(1,"day")):s=="\u6628"||s=="\u5C0B"||s=="\u7434"?b=b.add(-1,"day"):s=="\u524D"?b=b.add(-2,"day"):s=="\u5927\u524D"?b=b.add(-3,"day"):s=="\u5F8C"?b=b.add(2,"day"):s=="\u5927\u5F8C"&&(b=b.add(3,"day")),i.end.assign("day",b.date()),i.end.assign("month",b.month()+1),i.end.assign("year",b.year())}else if(t[MA]){var o=t[MA];o=="\u660E"||o=="\u807D"?b=b.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?b=b.add(-1,"day"):o=="\u524D"?b=b.add(-2,"day"):o=="\u5927\u524D"?b=b.add(-3,"day"):o=="\u5F8C"?b=b.add(2,"day"):o=="\u5927\u5F8C"&&(b=b.add(3,"day")),i.end.assign("day",b.date()),i.end.assign("month",b.month()+1),i.end.assign("year",b.year())}else i.end.imply("day",b.date()),i.end.imply("month",b.month()+1),i.end.imply("year",b.year());if(l=0,c=0,d=-1,t[qv]){var u=parseInt(t[qv]);if(isNaN(u)&&(u=Mo(t[qv])),u>=60)return null;i.end.assign("second",u)}if(l=parseInt(t[AA]),isNaN(l)&&(l=Mo(t[AA])),t[_o]?t[_o]=="\u534A"?c=30:t[_o]=="\u6B63"||t[_o]=="\u6574"?c=0:(c=parseInt(t[_o]),isNaN(c)&&(c=Mo(t[_o]))):l>100&&(c=l%100,l=Math.floor(l/100)),c>=60||l>24)return null;if(l>=12&&(d=1),t[IA]){if(l>12)return null;var p=t[IA][0].toLowerCase();p=="a"&&(d=0,l==12&&(l=0)),p=="p"&&(d=1,l!=12&&(l+=12)),i.start.isCertain("meridiem")||(d==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(t[DA]){var m=t[DA],f=m[0];f=="\u671D"||f=="\u65E9"?(d=0,l==12&&(l=0)):f=="\u665A"&&(d=1,l!=12&&(l+=12))}else if(t[PA]){var h=t[PA],g=h[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(t[_A]){var v=t[_A],k=v[0];k=="\u4E0A"||k=="\u671D"||k=="\u65E9"||k=="\u51CC"?(d=0,l==12&&(l=0)):(k=="\u4E0B"||k=="\u664F"||k=="\u665A")&&(d=1,l!=12&&(l+=12))}return i.text=i.text+t[0],i.end.assign("hour",l),i.end.assign("minute",c),d>=0?i.end.assign("meridiem",d):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>l?i.end.imply("meridiem",0):l>12&&i.end.imply("meridiem",1),i.end.date().getTime()<i.start.date().getTime()&&i.end.imply("day",i.end.get("day")+1),i}}});var pye,sXe,Ch,xU=y(()=>{pye=tt(Xt(),1);we();Vv();sXe=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(Hv).join("|")+")"),Ch=class extends V{innerPattern(){return sXe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,a=Hv[i];if(a===void 0)return null;let s=(0,pye.default)(e.refDate),o=!1,l=s.day();return Math.abs(a-7-l)<Math.abs(a-l)?s=s.day(a-7):Math.abs(a+7-l)<Math.abs(a-l)?s=s.day(a+7):s=s.day(a),n.start.assign("weekday",a),o?(n.start.assign("day",s.date()),n.start.assign("month",s.month()+1),n.start.assign("year",s.year())):(n.start.imply("day",s.date()),n.start.imply("month",s.month()+1),n.start.imply("year",s.year())),n}}});var Dh,CU=y(()=>{Eo();Dh=class extends Jr{patternBetween(){return/^\s*(至|到|\-|\~|||ー)\s*$/i}}});var Ph,DU=y(()=>{xo();Ph=class extends Xr{patternBetween(){return/^\s*$/i}}});var NA={};et(NA,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>PU,createCasualConfiguration:()=>MU,createConfiguration:()=>_U,hant:()=>oXe,parse:()=>cXe,parseDate:()=>dXe,strict:()=>lXe});function cXe(r,e,t){return PU.parse(r,e,t)}function dXe(r,e,t){return PU.parseDate(r,e,t)}function MU(){let r=_U();return r.parsers.unshift(new kh),r}function _U(){let r=ln({parsers:[new wh,new Eh,new Ch,new xh,new Sh],refiners:[new Dh,new Ph]});return r.refiners=r.refiners.filter(e=>!(e instanceof El)),r}var oXe,PU,lXe,mye=y(()=>{bS();Hs();is();lt();Bt();yU();TU();wU();SU();EU();xU();CU();DU();oXe=new ze(MU()),PU=new ze(MU()),lXe=new ze(_U())});var yye,uXe,fye,pXe,hye,gye,mXe,NE,vye=y(()=>{yye=tt(Xt(),1);we();uXe=1,fye=2,pXe=3,hye=4,gye=5,mXe=6,NE=class extends V{innerPattern(e){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(e,t){let n=t.index,i=e.createParsingResult(n,t[0]),a=(0,yye.default)(e.refDate),s=a;if(t[uXe])i.start.imply("hour",a.hour()),i.start.imply("minute",a.minute()),i.start.imply("second",a.second()),i.start.imply("millisecond",a.millisecond());else if(t[fye]){let o=t[fye],l=t[pXe];o=="\u660E"?a.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"?i.start.imply("hour",6):l=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(t[hye]){let l=t[hye][0];l=="\u65E9"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}else if(t[gye]){let o=t[gye];o=="\u660E"?a.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=t[mXe];if(l){let c=l[0];c=="\u65E9"||c=="\u4E0A"?i.start.imply("hour",6):c=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):c=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):c=="\u591C"||c=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):c=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year()),i}}});var RE,bye=y(()=>{Eo();RE=class extends Jr{patternBetween(){return/^\s*(至|到|-|~|||ー)\s*$/i}}});var OE,Tye=y(()=>{xo();OE=class extends Xr{patternBetween(){return/^\s*$/i}}});var RA={};et(RA,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>AU,createCasualConfiguration:()=>IU,createConfiguration:()=>NU,hans:()=>fXe,parse:()=>gXe,parseDate:()=>yXe,strict:()=>hXe});function gXe(r,e,t){return AU.parse(r,e,t)}function yXe(r,e,t){return AU.parseDate(r,e,t)}function IU(){let r=NU();return r.parsers.unshift(new NE),r}function NU(){let r=ln({parsers:[new gh,new vh,new Th,new bh,new yh],refiners:[new RE,new OE]});return r.refiners=r.refiners.filter(e=>!(e instanceof El)),r}var fXe,AU,hXe,kye=y(()=>{bS();Hs();is();lt();Bt();vye();uU();mU();fU();hU();gU();bye();Tye();fXe=new ze(IU()),AU=new ze(IU()),hXe=new ze(NU())});var LU={};et(LU,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>RU,createCasualConfiguration:()=>wye,createConfiguration:()=>OU,hans:()=>RA,hant:()=>NA,parse:()=>bXe,parseDate:()=>TXe,strict:()=>vXe});function bXe(r,e,t){return RU.parse(r,e,t)}function TXe(r,e,t){return RU.parseDate(r,e,t)}function wye(){let r=OU();return r.parsers.unshift(new kh),r}function OU(){let r=ln({parsers:[new wh,new gh,new Eh,new vh,new Ch,new Th,new xh,new bh,new Sh,new yh],refiners:[new Dh,new Ph]});return r.refiners=r.refiners.filter(e=>!(e instanceof El)),r}var RU,vXe,Sye=y(()=>{Hs();is();lt();Bt();bS();uU();mU();fU();hU();gU();yU();TU();wU();SU();EU();xU();CU();DU();mye();kye();RU=new ze(wye()),vXe=new ze(OU())});function wXe(r){let e=r.toLowerCase();return $U[e]!==void 0?$U[e]:e.match(/несколько/)?3:e.match(/пол/)?.5:e.match(/пар/)?2:e===""?1:parseFloat(e)}function HU(r){let e=r.toLowerCase();return zU[e]!==void 0?zU[e]:parseInt(e)}function LA(r){if(/(год|года|г|г.)/i.test(r)&&(r=r.replace(/(год|года|г|г.)/i,"")),/(до н.э.|до н. э.)/i.test(r))return r=r.replace(/(до н.э.|до н. э.)/i,""),-parseInt(r);if(/(н. э.|н.э.)/i.test(r))return r=r.replace(/(н. э.|н.э.)/i,""),parseInt(r);let e=parseInt(r);return rs(e)}function Gv(r){let e={},t=r,n=Eye.exec(t);for(;n;)SXe(e,n),t=t.substring(n[0].length).trim(),n=Eye.exec(t);return e}function SXe(r,e){let t=wXe(e[1]),n=LE[e[2].toLowerCase()];r[n]=t}var Ys,jU,BU,Wv,$U,zU,LE,kXe,UU,FU,OA,xye,Eye,Yv,Gs=y(()=>{At();Dn();Ys={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"},jU={\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},BU={\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},Wv={...BU,\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},$U={\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},zU={\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},LE={\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"},kXe=`(?:${oe($U)}|[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})`;UU=`(?:${oe(zU)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;FU="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?",OA=`(?:[1-9][0-9]{0,3}${FU}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${FU}|[5-9][0-9]${FU})`;xye=`(${kXe})\\s{0,3}(${oe(LE)})`,Eye=new RegExp(xye,"i"),Yv=Ia("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",xye)});var Cye,FE,Dye=y(()=>{Gs();lt();we();Cye=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${Yv})${Ys.rightBoundary}`,FE=class extends V{patternLeftBoundary(){return Ys.leftBoundary}innerPattern(e){return e.option.forwardDate?new RegExp(Cye,Ys.flags):new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${Cye}`,Ys.flags)}innerExtract(e,t){let n=Gv(t[1]);return ee.createRelativeFromReference(e.reference,n)}}});var Mh,as,yu=y(()=>{we();Gs();Mh=class extends V{patternLeftBoundary(){return Ys.leftBoundary}innerPattern(e){return new RegExp(this.innerPatternString(e),Ys.flags)}innerPatternHasChange(e,t){return!1}},as=class extends Mh{innerPattern(e){return new RegExp(`${this.innerPatternString(e)}${Ys.rightBoundary}`,Ys.flags)}}});var Pye,Mye,EXe,_ye,$E,Aye=y(()=>{Dn();Gs();Gs();Gs();At();yu();Pye=1,Mye=2,EXe=3,_ye=4,$E=class extends as{innerPatternString(e){return`(?:\u0441)?\\s*(${UU})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${UU}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${oe(Wv)})(?:(?:-|\\/|,?\\s{0,3})(${OA}(?![^\\s]\\d)))?`}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=Wv[t[EXe].toLowerCase()],a=HU(t[Pye]);if(a>31)return t.index=t.index+t[Pye].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[_ye]){let s=LA(t[_ye]);n.start.assign("year",s)}else{let s=dr(e.refDate,a,i);n.start.imply("year",s)}if(t[Mye]){let s=HU(t[Mye]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var xXe,Iye,zE,Nye=y(()=>{Gs();Dn();At();Gs();yu();xXe=2,Iye=3,zE=class extends Mh{innerPatternString(e){return`((?:\u0432)\\s*)?(${oe(Wv)})\\s*(?:[,-]?\\s*(${OA})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`}innerExtract(e,t){let n=t[xXe].toLowerCase();if(t[0].length<=3&&!BU[n])return null;let i=e.createParsingResult(t.index,t.index+t[0].length);i.start.imply("day",1);let a=Wv[n];if(i.start.assign("month",a),t[Iye]){let s=LA(t[Iye]);i.start.assign("year",s)}else{let s=dr(e.refDate,1,a);i.start.imply("year",s)}return i}}});var jE,Rye=y(()=>{Bt();pu();Gs();jE=class extends wi{constructor(e){super(e)}patternFlags(){return Ys.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))?(?!\\/)${Ys.rightBoundary}`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith("\u0432\u0435\u0447\u0435\u0440\u0430")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",B.PM)):i<6&&n.assign("meridiem",B.AM)}if(t[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){n.assign("meridiem",B.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}t[0].endsWith("\u0443\u0442\u0440\u0430")&&(n.assign("meridiem",B.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}}});var BE,Oye=y(()=>{Gs();lt();qs();yu();BE=class extends Mh{innerPatternString(e){return`(${Yv})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`}innerExtract(e,t){let n=Gv(t[1]),i=Gn(n);return ee.createRelativeFromReference(e.reference,i)}}});var UE,Lye=y(()=>{Eo();UE=class extends Jr{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}}});var HE,Fye=y(()=>{xo();HE=class extends Xr{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}}});var VE,$ye=y(()=>{Vs();yu();VE=class extends as{innerPatternString(e){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(e,t){let n=t[1].toLowerCase(),i=e.createParsingComponents();switch(n){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return Si(e.reference);case"\u0432\u0447\u0435\u0440\u0430":return sa(e.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return oa(e.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return bc(e.reference,2);case"\u043F\u043E\u0441\u043B\u0435\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return bc(e.reference,3);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return uh(e.reference,2);case"\u043F\u043E\u0437\u0430\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return uh(e.reference,3)}return i}}});var zye,qE,jye=y(()=>{Vs();Us();zye=tt(Xt(),1);yu();qE=class extends as{innerPatternString(e){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(e,t){let n=(0,zye.default)(e.refDate),i=t[0].toLowerCase(),a=e.createParsingComponents();if(i==="\u0441\u0435\u0439\u0447\u0430\u0441")return aa(e.reference);if(i==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||i==="\u0432\u0435\u0447\u0435\u0440\u0430")return Iv(e.reference);if(i.endsWith("\u0443\u0442\u0440\u043E\u043C")||i.endsWith("\u0443\u0442\u0440\u0430"))return Nv(e.reference);if(i.match(/в\s*полдень/))return Rv(e.reference);if(i.match(/прошлой\s*ночью/))return sA(e.reference);if(i.match(/прошлым\s*вечером/))return oA(e.reference);if(i.match(/следующей\s*ночью/)){let s=n.hour()<22?1:2;n=n.add(s,"day"),Vr(a,n),a.imply("hour",0)}return i.match(/в\s*полночь/)||i.endsWith("\u043D\u043E\u0447\u044C\u044E")?ph(e.reference):a}}});var CXe,DXe,PXe,WE,Bye=y(()=>{Gs();At();xl();yu();CXe=1,DXe=2,PXe=3,WE=class extends as{innerPatternString(e){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*)?(${oe(jU)})(?:\\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(e,t){let n=t[DXe].toLowerCase(),i=jU[n],a=t[CXe],s=t[PXe],o=a||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"),Kn(e.reference,i,l)}}});var Uye,MXe,_Xe,YE,Hye=y(()=>{Gs();lt();Uye=tt(Xt(),1);At();yu();MXe=1,_Xe=2,YE=class extends as{innerPatternString(e){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*(${oe(LE)})`}innerExtract(e,t){let n=t[MXe].toLowerCase(),i=t[_Xe].toLowerCase(),a=LE[i];if(n=="\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||n=="\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C"){let l={};return l[a]=1,ee.createRelativeFromReference(e.reference,l)}if(n=="\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C"||n=="\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439"){let l={};return l[a]=-1,ee.createRelativeFromReference(e.reference,l)}let s=e.createParsingComponents(),o=(0,Uye.default)(e.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 GE,Vye=y(()=>{Gs();lt();qs();yu();GE=class extends as{innerPatternString(e){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*(${Yv})`}innerExtract(e,t){let n=t[1].toLowerCase(),i=Gv(t[2]);switch(n){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":i=Gn(i);break}return ee.createRelativeFromReference(e.reference,i)}}});var WU={};et(WU,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>VU,createCasualConfiguration:()=>qye,createConfiguration:()=>qU,parse:()=>IXe,parseDate:()=>NXe,strict:()=>AXe});function IXe(r,e,t){return VU.parse(r,e,t)}function NXe(r,e,t){return VU.parseDate(r,e,t)}function qye(){let r=qU(!1);return r.parsers.unshift(new VE),r.parsers.unshift(new qE),r.parsers.unshift(new zE),r.parsers.unshift(new YE),r.parsers.unshift(new GE),r}function qU(r=!0){return ln({parsers:[new oi(!0),new FE,new $E,new WE,new jE(r),new BE],refiners:[new HE,new UE]},r)}var VU,AXe,Wye=y(()=>{Dye();Aye();Nye();Rye();Oye();Lye();Fye();Hs();$ye();jye();Bye();Hye();is();lt();Bt();hu();Vye();VU=new ze(qye()),AXe=new ze(qU(!0))});function OXe(r){let e=r.toLowerCase();return YU[e]!==void 0?YU[e]:e==="un"||e==="una"||e==="uno"?1:e.match(/algunos?/)||e.match(/unos?/)?3:e.match(/media?/)?.5:parseFloat(e)}function Zye(r){if(r.match(/^[0-9]{1,4}$/)){let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}return r.match(/a\.?\s*c\.?/i)?(r=r.replace(/a\.?\s*c\.?/i,""),-parseInt(r)):parseInt(r)}function Xye(r){let e={},t=r,n=Yye.exec(t);for(;n;)LXe(e,n),t=t.substring(n[0].length),n=Yye.exec(t);return e}function LXe(r,e){let t=OXe(e[1]),n=Gye[e[2].toLowerCase()];r[n]=t}var GU,KU,YU,Gye,RXe,Kye,Qye,Yye,Jye,KE=y(()=>{At();GU={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},KU={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},YU={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},Gye={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"},RXe=`(?:${oe(YU)}|[0-9]+|[0-9]+\\.[0-9]+|un?|uno?|una?|algunos?|unos?|demi-?)`;Kye="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";Qye=`(${RXe})\\s{0,5}(${oe(Gye)})\\s{0,5}`,Yye=new RegExp(Qye,"i"),Jye=Ia("",Qye)});var FXe,$Xe,zXe,jXe,ZE,eve=y(()=>{KE();At();we();xl();FXe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|pasado|pr[o\xF3]ximo)\\s*)?(${oe(GU)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|pasado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),$Xe=1,zXe=2,jXe=3,ZE=class extends V{innerPattern(){return FXe}innerExtract(e,t){let n=t[zXe].toLowerCase(),i=GU[n];if(i===void 0)return null;let a=t[$Xe],s=t[jXe],o=a||s||"";o=o.toLowerCase();let l=null;return o=="pasado"?l="this":o=="pr\xF3ximo"||o=="proximo"?l="next":o=="este"&&(l="this"),Kn(e.reference,i,l)}}});var QE,tve=y(()=>{pu();QE=class extends wi{primaryPrefix(){return"(?:(?:aslas|deslas|las?|al?|de|del)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:l)?|\\?)\\s*"}}});var JE,rve=y(()=>{xo();JE=class extends Xr{patternBetween(){return new RegExp("^\\s*(?:,|de|aslas|a)?\\s*$")}}});var XE,nve=y(()=>{Eo();XE=class extends Jr{patternBetween(){return/^\s*(?:-)\s*$/i}}});var BXe,ive,ave,UXe,sve,ex,ove=y(()=>{Dn();KE();KE();At();we();BXe=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*)(${oe(KU)})(?:\\s*(?:de|,)?\\s*(${Kye}))?(?=\\W|$)`,"i"),ive=1,ave=2,UXe=3,sve=4,ex=class extends V{innerPattern(){return BXe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=KU[t[UXe].toLowerCase()],a=parseInt(t[ive]);if(a>31)return t.index=t.index+t[ive].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[sve]){let s=Zye(t[sve]);n.start.assign("year",s)}else{let s=dr(e.refDate,a,i);n.start.imply("year",s)}if(t[ave]){let s=parseInt(t[ave]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var tx,lve=y(()=>{we();Vs();tx=class extends V{innerPattern(e){return/(ahora|hoy|mañana|ayer)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"ahora":return aa(e.reference);case"hoy":return Si(e.reference);case"ma\xF1ana":return oa(e.reference);case"ayer":return sa(e.reference)}return i}}});var cve,rx,dve=y(()=>{Bt();we();Us();cve=tt(Xt(),1),rx=class extends V{innerPattern(){return/(?:esta\s*)?(mañana|tarde|medianoche|mediodia|mediodía|noche)(?=\W|$)/i}innerExtract(e,t){let n=(0,cve.default)(e.refDate),i=e.createParsingComponents();switch(t[1].toLowerCase()){case"tarde":i.imply("meridiem",B.PM),i.imply("hour",15);break;case"noche":i.imply("meridiem",B.PM),i.imply("hour",22);break;case"ma\xF1ana":i.imply("meridiem",B.AM),i.imply("hour",6);break;case"medianoche":Sl(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"mediodia":case"mediod\xEDa":i.imply("meridiem",B.AM),i.imply("hour",12);break}return i}}});var nx,uve=y(()=>{KE();lt();we();nx=class extends V{innerPattern(){return new RegExp(`(?:en|por|durante|de|dentro de)\\s*(${Jye})(?=\\W|$)`,"i")}innerExtract(e,t){let n=Xye(t[1]);return ee.createRelativeFromReference(e.reference,n)}}});var JU={};et(JU,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>ZU,createCasualConfiguration:()=>pve,createConfiguration:()=>QU,parse:()=>VXe,parseDate:()=>qXe,strict:()=>HXe});function VXe(r,e,t){return ZU.parse(r,e,t)}function qXe(r,e,t){return ZU.parseDate(r,e,t)}function pve(r=!0){let e=QU(!1,r);return e.parsers.push(new tx),e.parsers.push(new rx),e}function QU(r=!0,e=!0){return ln({parsers:[new oi(e),new ZE,new QE,new ex,new nx],refiners:[new JE,new XE]},r)}var ZU,HXe,mve=y(()=>{Hs();is();lt();Bt();hu();eve();tve();rve();nve();ove();lve();dve();uve();ZU=new ze(pve()),HXe=new ze(QU(!0))});function YXe(r){let e=r.toLowerCase();return eH[e]!==void 0?eH[e]:e.match(/декілька/)?2:e.match(/пів/)?.5:e.match(/пар/)?2:e===""?1:parseFloat(e)}function aH(r){let e=r.toLowerCase();return tH[e]!==void 0?tH[e]:parseInt(e)}function $A(r){if(/(рік|року|р|р.)/i.test(r)&&(r=r.replace(/(рік|року|р|р.)/i,"")),/(до н.е.|до н. е.)/i.test(r))return r=r.replace(/(до н.е.|до н. е.)/i,""),-parseInt(r);if(/(н. е.|н.е.)/i.test(r))return r=r.replace(/(н. е.|н.е.)/i,""),parseInt(r);let e=parseInt(r);return rs(e)}function Qv(r){let e={},t=r,n=fve.exec(t);for(;n;)GXe(e,n),t=t.substring(n[0].length).trim(),n=fve.exec(t);return e}function GXe(r,e){let t=YXe(e[1]),n=ix[e[2].toLowerCase()];r[n]=t}var Ao,rH,nH,Kv,eH,tH,ix,WXe,iH,XU,FA,hve,fve,Zv,Ks=y(()=>{At();Dn();Ao={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"},rH={\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},nH={\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},Kv={...nH,\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},eH={\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},tH={\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},ix={\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"},WXe=`(?:${oe(eH)}|[0-9]+|[0-9]+\\.[0-9]+|\u043F\u0456\u0432|\u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430|\u043F\u0430\u0440(?:\u0443)|\\s{0,3})`;iH=`(?:${oe(tH)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435)?)`;XU="(?:\\s+(?:\u0440\u043E\u043A\u0443|\u0440\u0456\u043A|\u0440|\u0440.))?",FA=`(?:[1-9][0-9]{0,3}${XU}\\s*(?:\u043D.\u0435.|\u0434\u043E \u043D.\u0435.|\u043D. \u0435.|\u0434\u043E \u043D. \u0435.)|[1-2][0-9]{3}${XU}|[5-9][0-9]${XU})`;hve=`(${WXe})\\s{0,3}(${oe(ix)})`,fve=new RegExp(hve,"i"),Zv=Ia("(?:(?:\u0431\u043B\u0438\u0437\u044C\u043A\u043E|\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E)\\s{0,3})?",hve)});var gve,ax,yve=y(()=>{Ks();lt();we();gve=`(?:(?:\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E|\u043E\u0440\u0456\u0454\u043D\u0442\u043E\u0432\u043D\u043E)\\s*(?:~\\s*)?)?(${Zv})${Ao.rightBoundary}`,ax=class extends V{patternLeftBoundary(){return Ao.leftBoundary}innerPattern(e){return e.option.forwardDate?new RegExp(gve,"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*${gve}`,Ao.flags)}innerExtract(e,t){let n=Qv(t[1]);return ee.createRelativeFromReference(e.reference,n)}}});var _h,ss,vu=y(()=>{we();Ks();_h=class extends V{patternLeftBoundary(){return Ao.leftBoundary}innerPattern(e){return new RegExp(this.innerPatternString(e),Ao.flags)}innerPatternHasChange(e,t){return!1}},ss=class extends _h{innerPattern(e){return new RegExp(`${this.innerPatternString(e)}${Ao.rightBoundary}`,Ao.flags)}}});var vve,bve,KXe,Tve,sx,kve=y(()=>{Dn();Ks();Ks();Ks();At();vu();vve=1,bve=2,KXe=3,Tve=4,sx=class extends ss{innerPatternString(e){return`(?:\u0437|\u0456\u0437)?\\s*(${iH})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${iH}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${oe(Kv)})(?:(?:-|\\/|,?\\s{0,3})(${FA}(?![^\\s]\\d)))?`}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=Kv[t[KXe].toLowerCase()],a=aH(t[vve]);if(a>31)return t.index=t.index+t[vve].length,null;if(n.start.assign("month",i),n.start.assign("day",a),t[Tve]){let s=$A(t[Tve]);n.start.assign("year",s)}else{let s=dr(e.reference.instant,a,i);n.start.imply("year",s)}if(t[bve]){let s=aH(t[bve]);n.end=n.start.clone(),n.end.assign("day",s)}return n}}});var ZXe,wve,ox,Sve=y(()=>{Ks();Dn();At();Ks();vu();ZXe=2,wve=3,ox=class extends _h{innerPatternString(e){return`((?:\u0432|\u0443)\\s*)?(${oe(Kv)})\\s*(?:[,-]?\\s*(${FA})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`}innerExtract(e,t){let n=t[ZXe].toLowerCase();if(t[0].length<=3&&!nH[n])return null;let i=e.createParsingResult(t.index,t.index+t[0].length);i.start.imply("day",1);let a=Kv[n];if(i.start.assign("month",a),t[wve]){let s=$A(t[wve]);i.start.assign("year",s)}else{let s=dr(e.reference.instant,1,a);i.start.imply("year",s)}return i}}});var lx,Eve=y(()=>{Bt();pu();Ks();lx=class extends wi{constructor(e){super(e)}patternFlags(){return Ao.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))?(?!\\/)${Ao.rightBoundary}`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith("\u0432\u0435\u0447\u043E\u0440\u0430")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",B.PM)):i<6&&n.assign("meridiem",B.AM)}if(t[0].endsWith("\u043F\u043E \u043E\u0431\u0456\u0434\u0456")||t[0].endsWith("\u043F\u0456\u0441\u043B\u044F \u043E\u0431\u0456\u0434\u0443")){n.assign("meridiem",B.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}t[0].endsWith("\u0440\u0430\u043D\u043A\u0443")&&(n.assign("meridiem",B.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}}});var cx,xve=y(()=>{Ks();lt();qs();vu();cx=class extends _h{innerPatternString(e){return`(${Zv})\\s{0,5}\u0442\u043E\u043C\u0443(?=(?:\\W|$))`}innerExtract(e,t){let n=Qv(t[1]),i=Gn(n);return ee.createRelativeFromReference(e.reference,i)}}});var dx,Cve=y(()=>{Eo();dx=class extends Jr{patternBetween(){return/^\s*(і до|і по|до|по|-)\s*$/i}}});var ux,Dve=y(()=>{xo();ux=class extends Xr{patternBetween(){return new RegExp("^\\s*(T|\u0432|\u0443|\u043E|,|-)?\\s*$")}}});var px,Pve=y(()=>{Vs();vu();px=class extends ss{innerPatternString(e){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(e,t){let n=t[1].toLowerCase(),i=e.createParsingComponents();switch(n){case"\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456":return Si(e.reference);case"\u0432\u0447\u043E\u0440\u0430":return sa(e.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return oa(e.reference);case"\u043F\u0456\u0441\u043B\u044F\u0437\u0430\u0432\u0442\u0440\u0430":return bc(e.reference,2);case"\u043F\u0456\u0441\u043B\u044F\u043F\u0456\u0441\u043B\u044F\u0437\u0430\u0432\u0442\u0440\u0430":return bc(e.reference,3);case"\u043F\u043E\u0437\u0430\u0432\u0447\u043E\u0440\u0430":return uh(e.reference,2);case"\u043F\u043E\u0437\u0430\u043F\u043E\u0437\u0430\u0432\u0447\u043E\u0440\u0430":return uh(e.reference,3)}return i}}});var Mve,mx,_ve=y(()=>{Vs();Us();Mve=tt(Xt(),1);vu();mx=class extends ss{innerPatternString(e){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(e,t){let n=(0,Mve.default)(e.reference.instant),i=t[0].toLowerCase(),a=e.createParsingComponents();if(i==="\u0437\u0430\u0440\u0430\u0437")return aa(e.reference);if(i==="\u0432\u0432\u0435\u0447\u0435\u0440\u0456"||i==="\u0432\u0435\u0447\u043E\u0440\u0430")return Iv(e.reference);if(i.endsWith("\u0432\u0440\u0430\u043D\u0446\u0456")||i.endsWith("\u0440\u0430\u043D\u043A\u0443")||i.endsWith("\u0437\u0440\u0430\u043D\u043A\u0443"))return Nv(e.reference);if(i.endsWith("\u043E\u043F\u0456\u0432\u0434\u043D\u0456"))return Rv(e.reference);if(i.match(/минулої\s*ночі/))return sA(e.reference);if(i.match(/минулого\s*вечора/))return oA(e.reference);if(i.match(/наступної\s*ночі/)){let s=n.hour()<22?1:2;n=n.add(s,"day"),Vr(a,n),a.imply("hour",1)}return i.match(/цієї\s*ночі/)?ph(e.reference):i.endsWith("\u043E\u043F\u0456\u0432\u043D\u043E\u0447\u0456")||i.endsWith("\u0432\u043D\u043E\u0447\u0456")?ph(e.reference):a}}});var QXe,JXe,XXe,fx,Ave=y(()=>{Ks();At();xl();vu();QXe=1,JXe=2,XXe=3,fx=class extends ss{innerPatternString(e){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*)?(${oe(rH)})(?:\\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(e,t){let n=t[JXe].toLocaleLowerCase(),i=rH[n],a=t[QXe],s=t[XXe],o=a||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"),Kn(e.reference,i,l)}}});var Ive,eet,tet,hx,Nve=y(()=>{Ks();lt();Ive=tt(Xt(),1);At();vu();eet=1,tet=2,hx=class extends ss{innerPatternString(e){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*(${oe(ix)})(?=\\s*)`}innerExtract(e,t){let n=t[eet].toLowerCase(),i=t[tet].toLowerCase(),a=ix[i];if(n=="\u043D\u0430 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443"||n=="\u0432 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443"||n=="\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443"||n=="\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E"){let l={};return l[a]=1,ee.createRelativeFromReference(e.reference,l)}if(n=="\u043D\u0430 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443"||n=="\u0432 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443"||n=="\u0443 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443"||n=="\u043C\u0438\u043D\u0443\u043B\u043E\u0433\u043E"){let l={};return l[a]=-1,ee.createRelativeFromReference(e.reference,l)}let s=e.createParsingComponents(),o=(0,Ive.default)(e.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 gx,Rve=y(()=>{Ks();lt();qs();vu();gx=class extends ss{innerPatternString(e){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*(${Zv})`}innerExtract(e,t){let n=t[1].toLowerCase(),i=Qv(t[3]);switch(n){case"\u043E\u0441\u0442\u0430\u043D\u043D\u0456":case"\u043C\u0438\u043D\u0443\u043B\u0456":case"-":i=Gn(i);break}return ee.createRelativeFromReference(e.reference,i)}}});var lH={};et(lH,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>sH,createCasualConfiguration:()=>Ove,createConfiguration:()=>oH,parse:()=>net,parseDate:()=>iet,strict:()=>ret});function Ove(){let r=oH(!1);return r.parsers.unshift(new px),r.parsers.unshift(new mx),r.parsers.unshift(new ox),r.parsers.unshift(new hx),r.parsers.unshift(new gx),r}function oH(r){return ln({parsers:[new fu,new oi(!0),new ax,new sx,new fx,new lx(r),new cx],refiners:[new ux,new dx]},r)}function net(r,e,t){return sH.parse(r,e,t)}function iet(r,e,t){return sH.parseDate(r,e,t)}var sH,ret,Lve=y(()=>{yve();kve();Sve();Eve();xve();Cve();Dve();Hs();Pve();_ve();Ave();Nve();is();lt();Bt();hu();Rve();aA();sH=new ze(Ove()),ret=new ze(oH(!0))});var zA={};et(zA,{Chrono:()=>ze,Meridiem:()=>B,ParsingComponents:()=>ee,ParsingContext:()=>AS,ParsingResult:()=>Wt,ReferenceWithTimezone:()=>er,Weekday:()=>We,casual:()=>cH,de:()=>O2,en:()=>C2,es:()=>JU,fr:()=>q2,ja:()=>K2,nl:()=>lU,parse:()=>set,parseDate:()=>oet,pt:()=>eU,ru:()=>WU,strict:()=>aet,uk:()=>lH,zh:()=>LU});function set(r,e,t){return cH.parse(r,e,t)}function oet(r,e,t){return cH.parseDate(r,e,t)}var aet,cH,Fve=y(()=>{Kfe();is();lt();Bt();The();Vhe();age();Tge();Gge();Sye();Wye();mve();Lve();aet=x2,cH=IS});var cet,jA,$ve=y(()=>{Br();Fve();mv();i2();a2();n2();cet=ye,jA=class{constructor(e=[],t=[],n=!0,i="en",a,s,o={}){this.isValidDateString=c=>/^\d{4}-\d{2}-\d{2}$/.test(c),this.isValidTimeString=c=>/^([01]?[0-9]|2[0-3]):[0-5][0-9]$/.test(c),this.escapeRegex=c=>c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),this.cleanupWhitespace=c=>c.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").trim(),this.defaultToScheduled=n,this.languageConfig=jme(i),this.options=o,this.statusConfigs=e,this.priorityConfigs=t;let l=a||mme;this.triggerConfig=new X_(l,s||[]),this.boundaries=this.createBoundaryConfig(),this.recurrencePatterns=this.buildRecurrencePatterns(),this.processingPipeline=this.buildProcessingPipeline()}createBoundaryConfig(){let e=["ru","zh","ja","uk","fr"].includes(this.languageConfig.code);return{boundary:e?"(?:^|\\s)":"\\b",endBoundary:e?"(?=\\s|$)":"\\b",isNonAscii:e}}getChronoParser(){let e=this.languageConfig.chronoLocale;return zA[e]||zA}buildProcessingPipeline(){return[{name:"extractTags",process:(e,t)=>this.extractTags(e,t)},{name:"extractContexts",process:(e,t)=>this.extractContexts(e,t)},{name:"extractProjects",process:(e,t)=>this.extractProjects(e,t)},{name:"extractPriority",process:(e,t)=>this.extractPriority(e,t)},{name:"extractStatus",process:(e,t)=>this.extractStatus(e,t)},{name:"extractRecurrence",process:(e,t)=>this.extractRecurrence(e,t)},{name:"extractTimeEstimate",process:(e,t)=>this.extractTimeEstimate(e,t)},{name:"extractUserFields",process:(e,t)=>this.extractUserFields(e,t)},{name:"parseUnifiedDatesAndTimes",process:(e,t)=>this.parseUnifiedDatesAndTimes(e,t)}]}parseInput(e){let t={title:"",tags:[],contexts:[],projects:[]},n=this.protectNlpLiterals(e),i=this.normalizeNumericDateLiterals(n.text),[a,s]=this.extractTitleAndDetails(i);s&&(t.details=s);let o=a;for(let c of this.processingPipeline)try{o=c.process(o,t)}catch(d){console.debug(`Error in processor ${c.name}:`,d)}t.title=o.trim();let l=this.validateAndCleanupResult(t);return this.restoreProtectedLiterals(l,n.literals),l}protectNlpLiterals(e){let t=this.protectQuotedLiterals(e);return this.protectEscapedLiterals(t.text,t.literals)}protectQuotedLiterals(e){let t=[],n="",i=0;for(;i<e.length;){let a=e[i];if(!this.isQuoteDelimiter(a)||!this.isEligibleQuoteStart(e,i)){n+=a,i+=1;continue}let s=this.findClosingQuote(e,i+1,a);if(s===-1||!this.isEligibleQuoteEnd(e,s)){n+=a,i+=1;continue}let o=e.slice(i+1,s);if(o.trim().length===0){n+=a,i+=1;continue}let l=`__TASKNOTES_NLP_LITERAL_${t.length}__`;t.push(o),n+=l,i=s+1}return{text:n,literals:t}}protectEscapedLiterals(e,t){let n="",i=0;for(;i<e.length;){if(e[i]!=="\\"){n+=e[i],i+=1;continue}let a=i+1;if(a>=e.length||!this.shouldProtectEscapedLiteral(e,i,a)){n+=e[i],i+=1;continue}let s=a;for(;s<e.length&&!/\s/u.test(e[s]);)s+=1;let o=e.slice(a,s),l=`__TASKNOTES_NLP_LITERAL_${t.length}__`;t.push(o),n+=l,i=s}return{text:n,literals:t}}restoreProtectedLiterals(e,t){if(t.length!==0&&(e.title=this.restoreProtectedLiteralsInText(e.title,t).replace(/\s+/g," ").trim(),e.details&&(e.details=this.restoreProtectedLiteralsInText(e.details,t)),e.userFields))for(let[n,i]of Object.entries(e.userFields))typeof i=="string"?e.userFields[n]=this.restoreProtectedLiteralsInText(i,t):e.userFields[n]=i.map(a=>this.restoreProtectedLiteralsInText(a,t))}restoreProtectedLiteralsInText(e,t){let n=e;return t.forEach((i,a)=>{n=n.replace(`__TASKNOTES_NLP_LITERAL_${a}__`,i)}),n}isQuoteDelimiter(e){return e==='"'||e==="'"||e==="`"}isEligibleQuoteStart(e,t){if(e[t]!=="'")return!0;let i=t>0?e[t-1]:"";return!this.isWordCharacter(i)}isEligibleQuoteEnd(e,t){if(e[t]!=="'")return!0;let i=t+1<e.length?e[t+1]:"";return!this.isWordCharacter(i)}findClosingQuote(e,t,n){for(let i=t;i<e.length;i+=1)if(!(e[i]!==n||(i>0?e[i-1]:"")==="\\"))return i;return-1}shouldProtectEscapedLiteral(e,t,n){if(this.startsWithEscapableTrigger(e,n))return!0;let i=t>0?e[t-1]:"";return i&&!/\s/u.test(i)?!1:/[\p{L}\p{N}]/u.test(e[n])}startsWithEscapableTrigger(e,t){return this.getEscapableTriggers().some(n=>e.startsWith(n,t))}getEscapableTriggers(){let e=this.triggerConfig.getTriggersOrderedByLength().map(t=>t.trigger).filter(t=>t.length>0);return e.length>0?e:["#","@","+","*","!"]}normalizeNumericDateLiterals(e){let t=e.replace(/(^|[^\p{L}\p{N}_])(\d{4})[/.](\d{1,2})[/.](\d{1,2})(?=$|[^\p{L}\p{N}_])/gu,(n,i,a,s,o)=>{let l=this.toValidatedISODate(Number(a),Number(s),Number(o));return l?`${i}${l}`:n});return this.getNumericDateOrder()!=="day-first"?t:t.replace(/(^|[^\p{L}\p{N}_])(\d{1,2})[/.](\d{1,2})[/.](\d{4})(?=$|[^\p{L}\p{N}_])/gu,(n,i,a,s,o)=>{let l=this.toValidatedISODate(Number(o),Number(s),Number(a));return l?`${i}${l}`:n})}getNumericDateOrder(){if(this.options.dateOrder)return this.options.dateOrder;let e=this.options.dateLocale||this.languageConfig.code;try{let n=new Intl.DateTimeFormat(e).formatToParts(new Date(2006,10,22)).find(i=>i.type==="day"||i.type==="month"||i.type==="year");if((n==null?void 0:n.type)==="day")return"day-first"}catch(t){}return"month-first"}toValidatedISODate(e,t,n){let i=new Date(Date.UTC(e,t-1,n));return i.getUTCFullYear()!==e||i.getUTCMonth()!==t-1||i.getUTCDate()!==n?null:`${e}-${this.padDatePart(t)}-${this.padDatePart(n)}`}padDatePart(e){return String(e).padStart(2,"0")}extractTitleAndDetails(e){let t=e.trim(),n=t.indexOf(`
`);if(n!==-1){let i=t.substring(0,n).trim(),a=t.substring(n+1).trim();return[i,a]}return[t,void 0]}extractTags(e,t){let n=this.triggerConfig.getTagTrigger();if(!n)return e;let i=this.escapeRegex(n),a=new RegExp(`${i}[\\p{L}\\p{N}\\p{M}_/-]+`,"gu"),s=e.match(a);return s?(t.tags.push(...s.map(o=>o.substring(n.length))),this.cleanupWhitespace(e.replace(a,""))):e}extractContexts(e,t){let n=this.triggerConfig.getContextTrigger();if(!n)return e;let i=this.escapeRegex(n),a=new RegExp(`${i}[\\p{L}\\p{N}\\p{M}_/-]+`,"gu"),s=e.match(a);return s?(t.contexts.push(...s.map(o=>o.substring(n.length))),this.cleanupWhitespace(e.replace(a,""))):e}extractProjects(e,t){let n=this.triggerConfig.getProjectTrigger();if(!n)return e;let i=e,a=this.escapeRegex(n),s=new RegExp(`${a}\\[\\[.*?\\]\\]`,"g"),o=i.match(s);o&&(t.projects.push(...o.map(d=>d.slice(n.length))),i=this.cleanupWhitespace(i.replace(s,"")));let l=new RegExp(`${a}[\\p{L}\\p{N}\\p{M}_/-]+`,"gu"),c=i.match(l);return c&&(t.projects.push(...c.map(d=>d.substring(n.length))),i=this.cleanupWhitespace(i.replace(l,""))),i}extractUserFields(e,t){let n=e,i=this.triggerConfig.getAllEnabledTriggers().filter(a=>this.triggerConfig.isUserField(a.propertyId));for(let a of i){let s=this.triggerConfig.getUserField(a.propertyId);if(!s)continue;let o=this.escapeRegex(a.trigger);if(s.type==="list"){let l=new RegExp(`${o}(?:"([^"]+)"|([\\p{L}\\p{N}\\p{M}_/-]+))`,"gu"),c=[],d;for(;(d=l.exec(n))!==null;){let u=d[1]||d[2];c.push(u)}c.length>0&&(t.userFields||(t.userFields={}),t.userFields[s.id]=c,n=this.cleanupWhitespace(n.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=n.match(l);if(c){let d=c[1]||c[2];t.userFields||(t.userFields={}),s.type==="boolean"?t.userFields[s.id]=d.toLowerCase()==="true"?"true":"false":t.userFields[s.id]=d,n=this.cleanupWhitespace(n.replace(l,""))}}else if(s.type==="date"){let l=new RegExp(`${o}(?:"([^"]+)"|([\\p{L}\\p{N}\\p{M}_/-]+))`,"u"),c=n.match(l);if(c){let d=c[1]||c[2];t.userFields||(t.userFields={}),t.userFields[s.id]=d,n=this.cleanupWhitespace(n.replace(l,""))}}}return n}extractPriority(e,t){if(this.priorityConfigs.length>0){let a=[...this.priorityConfigs].sort((l,c)=>c.label.length-l.label.length),s=this.triggerConfig.getTriggerForProperty("priority"),o=s!=null&&s.enabled?s.trigger:"";for(let l of a){let c=[l.label,l.value];for(let d of c){if(!d||d.trim()==="")continue;if(o){let p=o+d,m=this.findTextMatch(e,p);if(m)return t.priority=l.value,this.cleanupWhitespace(e.replace(m.fullMatch,""))}let u=this.findTextMatch(e,d);if(u)return t.priority=l.value,this.cleanupWhitespace(e.replace(u.fullMatch,""))}}return e}let n=this.languageConfig.fallbackPriority,i=this.findPhraseValueMatch(e,[{value:"urgent",phrases:n.urgent},{value:"high",phrases:n.high},{value:"normal",phrases:n.normal},{value:"low",phrases:n.low}]);return i?(t.priority=i.value,this.removePhraseMatch(e,i.match)):e}extractStatus(e,t){if(this.statusConfigs.length>0){let a=[...this.statusConfigs].sort((l,c)=>c.label.length-l.label.length),s=this.triggerConfig.getTriggerForProperty("status"),o=s!=null&&s.enabled?s.trigger:"";for(let l of a){let c=[l.label,l.value];for(let d of c){if(!d||d.trim()==="")continue;if(o){let p=o+d,m=this.findTextMatch(e,p);if(m)return t.status=l.value,this.cleanupWhitespace(e.replace(m.fullMatch,""))}let u=this.findTextMatch(e,d);if(u)return t.status=l.value,this.cleanupWhitespace(e.replace(u.fullMatch,""))}}return e}let n=this.languageConfig.fallbackStatus,i=this.findPhraseValueMatch(e,[{value:"open",phrases:n.open},{value:"in-progress",phrases:n.inProgress},{value:"done",phrases:n.done},{value:"cancelled",phrases:n.cancelled},{value:"waiting",phrases:n.waiting}]);return i?(t.status=i.value,this.removePhraseMatch(e,i.match)):e}findTextMatch(e,t){let n=this.findPhraseMatch(e,[t]);if(!n)return null;let i=this.includeTrailingPhraseSeparator(e,n.endIndex);return{fullMatch:e.substring(n.startIndex,i),startIndex:n.startIndex}}findPhraseMatch(e,t){let n=t.filter(s=>s&&s.trim()!=="").sort((s,o)=>o.length-s.length);if(n.length===0)return null;let i=e.toLowerCase(),a=null;for(let s of n){let o=s.toLowerCase(),l=0;for(;l<=i.length;){let c=i.indexOf(o,l);if(c===-1)break;let d=c+s.length;if(this.hasPhraseBoundaries(e,c,d)){let u={fullMatch:e.substring(c,d),phrase:s,startIndex:c,endIndex:d};(!a||u.startIndex<a.startIndex||u.startIndex===a.startIndex&&u.phrase.length>a.phrase.length)&&(a=u)}l=c+1}}return a}findPhraseValueMatch(e,t){let n=null;for(let i of t){let a=this.findPhraseMatch(e,i.phrases);a&&(!n||a.startIndex<n.match.startIndex||a.startIndex===n.match.startIndex&&a.phrase.length>n.match.phrase.length)&&(n={value:i.value,match:a})}return n}removePhraseMatch(e,t){let n=this.includeTrailingPhraseSeparator(e,t.endIndex);return this.cleanupWhitespace(e.substring(0,t.startIndex)+e.substring(n))}hasPhraseBoundaries(e,t,n){if(["zh","ja"].includes(this.languageConfig.code))return!0;let i=this.getCodePointBefore(e,t),a=this.getCodePointAt(e,n);return!this.isWordCharacter(i)&&!this.isWordCharacter(a)}getCodePointBefore(e,t){return t<=0?"":Array.from(e.slice(0,t)).pop()||""}getCodePointAt(e,t){return t>=e.length?"":Array.from(e.slice(t))[0]||""}isWordCharacter(e){return e!==""&&/[\p{L}\p{N}\p{M}_]/u.test(e)}includeTrailingPhraseSeparator(e,t){return/[:,;]/.test(e[t]||"")?t+1:t}parseUnifiedDatesAndTimes(e,t){var i,a;let n=e;try{let s=this.getChronoParser(),o=this.languageConfig.dateTriggers,l=[{type:"due",phrases:o.due},{type:"scheduled",phrases:o.scheduled}],c=!1;for(let v of l){let k=this.findPhraseMatch(n,v.phrases);if(k){let b=n.substring(k.endIndex),w=this.parseChronoFromPosition(b);if(w.success){c=!0,v.type==="due"?(t.dueDate=w.date,w.time&&(t.dueTime=w.time)):(t.scheduledDate=w.date,w.time&&(t.scheduledTime=w.time));let S=this.getChronoMatchOffset(b,w),x=w.matchedText?k.endIndex+S+w.matchedText.length:k.endIndex;n=n.substring(0,k.startIndex)+n.substring(x),n=this.cleanupWhitespace(n)}}}if(c)return n;let d=s.parse(e,new Date,{forwardDate:!0});if(d.length===0)return e;let u=d[0],p=u.text,m=u.start.date(),f=(i=u.end)==null?void 0:i.date(),h=this.findPhraseMatch(u.text,o.due)!==null,g=this.findPhraseMatch(u.text,o.scheduled)!==null;if(f&&bi(f)&&f.getTime()!==m.getTime())t.scheduledDate=P(m,"yyyy-MM-dd"),u.start.isCertain("hour")&&(t.scheduledTime=P(m,"HH:mm")),t.dueDate=P(f,"yyyy-MM-dd"),(a=u.end)!=null&&a.isCertain("hour")&&(t.dueTime=P(f,"HH:mm"));else if(bi(m)){let v=P(m,"yyyy-MM-dd"),k=u.start.isCertain("hour")?P(m,"HH:mm"):void 0;h&&!g?(t.dueDate=v,t.dueTime=k):g&&!h||this.defaultToScheduled?(t.scheduledDate=v,t.scheduledTime=k):(t.dueDate=v,t.dueTime=k)}n=n.replace(p,"").trim(),n=this.cleanupWhitespace(n)}catch(s){console.debug("Error in unified date parsing:",s)}return n}parseChronoFromPosition(e){try{let n=this.getChronoParser().parse(e,new Date,{forwardDate:!0});if(n.length>0){let i=n[0];if(i.index<=3){let a=i.start.date();if(bi(a)){let s={success:!0,date:P(a,"yyyy-MM-dd"),matchedText:i.text,startIndex:i.index};return i.start.isCertain("hour")&&(s.time=P(a,"HH:mm")),s}}}}catch(t){console.debug("Error parsing date with chrono:",t)}return{success:!1}}getChronoMatchOffset(e,t){var a;let n=(a=t.startIndex)!=null?a:0;if(!t.matchedText)return n;let i=e.indexOf(t.matchedText);return i!==-1?i:n}buildRecurrencePatterns(){let e=this.languageConfig.recurrence,t=[],{boundary:n,endBoundary:i}=this.boundaries,a=s=>s.map(o=>this.escapeRegex(o)).join("|");return t.push(...this.buildOrdinalWeekdayPatterns(e,n,i,a)),t.push(...this.buildIntervalPatterns(e,n,i,a)),t.push(...this.buildEveryOtherPatterns(e,n,i,a)),t.push(...this.buildWeekdayPatterns(e,n,i,a)),t.push(...this.buildFrequencyPatterns(e,n,i,a)),t}buildOrdinalWeekdayPatterns(e,t,n,i){let a=i(e.every),s=i([...e.ordinals.first,...e.ordinals.second,...e.ordinals.third,...e.ordinals.fourth,...e.ordinals.last]),o=i([...e.weekdays.monday,...e.weekdays.tuesday,...e.weekdays.wednesday,...e.weekdays.thursday,...e.weekdays.friday,...e.weekdays.saturday,...e.weekdays.sunday]);return[{regex:new RegExp(`${t}(${a})\\s+(${s})\\s+(${o})${n}`,"i"),handler:l=>{let c=l[2].toLowerCase(),d=l[3].toLowerCase(),u=1;return e.ordinals.second.some(m=>m.toLowerCase()===c)?u=2:e.ordinals.third.some(m=>m.toLowerCase()===c)?u=3:e.ordinals.fourth.some(m=>m.toLowerCase()===c)?u=4:e.ordinals.last.some(m=>m.toLowerCase()===c)&&(u=-1),`FREQ=MONTHLY;BYDAY=${this.getWeekdayRRuleCode(d,e)};BYSETPOS=${u}`}}]}buildIntervalPatterns(e,t,n,i){let a=i(e.every),s=i([...e.periods.day,...e.periods.week,...e.periods.month,...e.periods.year]);return[{regex:new RegExp(`${t}(${a})\\s+(\\d+)\\s+(${s})${n}`,"i"),handler:o=>{let l=parseInt(o[2]),c=o[3].toLowerCase();return`FREQ=${this.getPeriodFrequency(c,e)};INTERVAL=${l}`}}]}buildEveryOtherPatterns(e,t,n,i){let a=i(e.every),s=i(e.other),o=i([...e.periods.day,...e.periods.week,...e.periods.month,...e.periods.year]);return[{regex:new RegExp(`${t}(${a})\\s+(${s})\\s+(${o})${n}`,"i"),handler:l=>{let c=l[3].toLowerCase();return`FREQ=${this.getPeriodFrequency(c,e)};INTERVAL=2`}}]}buildWeekdayPatterns(e,t,n,i){let a=i(e.every),s=i([...e.weekdays.monday,...e.weekdays.tuesday,...e.weekdays.wednesday,...e.weekdays.thursday,...e.weekdays.friday,...e.weekdays.saturday,...e.weekdays.sunday]),o=i([...e.pluralWeekdays.monday,...e.pluralWeekdays.tuesday,...e.pluralWeekdays.wednesday,...e.pluralWeekdays.thursday,...e.pluralWeekdays.friday,...e.pluralWeekdays.saturday,...e.pluralWeekdays.sunday]);return[{regex:new RegExp(`${t}(${a})\\s+(${s})${n}`,"i"),handler:l=>{let c=l[2].toLowerCase();return`FREQ=WEEKLY;BYDAY=${this.getWeekdayRRuleCode(c,e)}`}},{regex:new RegExp(`${t}(${o})${n}`,"i"),handler:l=>{let c=l[1].toLowerCase();return`FREQ=WEEKLY;BYDAY=${this.getPluralWeekdayRRuleCode(c,e)}`}}]}buildFrequencyPatterns(e,t,n,i){return[{regex:new RegExp(`${t}(${i(e.frequencies.daily)})${n}`,"i"),handler:()=>"FREQ=DAILY"},{regex:new RegExp(`${t}(${i(e.frequencies.weekly)})${n}`,"i"),handler:()=>"FREQ=WEEKLY"},{regex:new RegExp(`${t}(${i(e.frequencies.monthly)})${n}`,"i"),handler:()=>"FREQ=MONTHLY"},{regex:new RegExp(`${t}(${i(e.frequencies.yearly)})${n}`,"i"),handler:()=>"FREQ=YEARLY"}]}getPeriodFrequency(e,t){return t.periods.week.some(n=>n.toLowerCase()===e)?"WEEKLY":t.periods.month.some(n=>n.toLowerCase()===e)?"MONTHLY":t.periods.year.some(n=>n.toLowerCase()===e)?"YEARLY":"DAILY"}getWeekdayRRuleCode(e,t){return t.weekdays.tuesday.some(n=>n.toLowerCase()===e)?"TU":t.weekdays.wednesday.some(n=>n.toLowerCase()===e)?"WE":t.weekdays.thursday.some(n=>n.toLowerCase()===e)?"TH":t.weekdays.friday.some(n=>n.toLowerCase()===e)?"FR":t.weekdays.saturday.some(n=>n.toLowerCase()===e)?"SA":t.weekdays.sunday.some(n=>n.toLowerCase()===e)?"SU":"MO"}getPluralWeekdayRRuleCode(e,t){return t.pluralWeekdays.tuesday.some(n=>n.toLowerCase()===e)?"TU":t.pluralWeekdays.wednesday.some(n=>n.toLowerCase()===e)?"WE":t.pluralWeekdays.thursday.some(n=>n.toLowerCase()===e)?"TH":t.pluralWeekdays.friday.some(n=>n.toLowerCase()===e)?"FR":t.pluralWeekdays.saturday.some(n=>n.toLowerCase()===e)?"SA":t.pluralWeekdays.sunday.some(n=>n.toLowerCase()===e)?"SU":"MO"}extractRecurrence(e,t){for(let n of this.recurrencePatterns){let i=e.match(n.regex);if(i){let a=n.handler(i);if(this.isValidRRuleString(a))return t.recurrence=a,this.cleanupWhitespace(e.replace(n.regex,""))}}return e}isValidRRuleString(e){if(e.includes("BYDAY=undefined")||e.includes("BYDAY=;")||e.includes("BYDAY=")){let t=e.match(/BYDAY=([^;]*)/);if(t&&(!t[1]||t[1]==="undefined"||t[1].trim()===""))return!1}return!!e.includes("FREQ=")}extractTimeEstimate(e,t){let n=this.languageConfig.timeEstimate,{boundary:i,endBoundary:a}=this.boundaries,s=[{regex:new RegExp(`${i}(\\d+)(${n.hours.map(c=>this.escapeRegex(c)).join("|")})\\s*(\\d+)(${n.minutes.map(c=>this.escapeRegex(c)).join("|")})${a}`,"i"),handler:c=>parseInt(c[1])*60+parseInt(c[3])},{regex:new RegExp(`${i}(\\d+)\\s*(${n.hours.map(c=>this.escapeRegex(c)).join("|")})${a}`,"i"),handler:c=>parseInt(c[1])*60},{regex:new RegExp(`${i}(\\d+)\\s*(${n.minutes.map(c=>this.escapeRegex(c)).join("|")})${a}`,"i"),handler:c=>parseInt(c[1])}],o=e,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&&(t.estimate=l),o}validateAndCleanupResult(e){return e.title.trim()||(e.title="Untitled Task"),e.tags=[...new Set(e.tags.filter(Boolean))],e.contexts=[...new Set(e.contexts.filter(Boolean))],e.projects=[...new Set(e.projects.filter(Boolean))],e.dueDate&&!this.isValidDateString(e.dueDate)&&delete e.dueDate,e.scheduledDate&&!this.isValidDateString(e.scheduledDate)&&delete e.scheduledDate,e.dueTime&&!this.isValidTimeString(e.dueTime)&&delete e.dueTime,e.scheduledTime&&!this.isValidTimeString(e.scheduledTime)&&delete e.scheduledTime,e}getPreviewData(e){let t=[];if(e.title&&t.push({icon:"edit-3",text:`"${e.title}"`}),e.details&&t.push({icon:"file-text",text:`Details: "${e.details.substring(0,50)}${e.details.length>50?"...":""}"`}),e.dueDate){let n=e.dueTime?`${e.dueDate} at ${e.dueTime}`:e.dueDate;t.push({icon:"calendar",text:`Due: ${n}`})}if(e.scheduledDate){let n=e.scheduledTime?`${e.scheduledDate} at ${e.scheduledTime}`:e.scheduledDate;t.push({icon:"calendar-clock",text:`Scheduled: ${n}`})}if(e.priority&&t.push({icon:"alert-triangle",text:`Priority: ${e.priority}`}),e.status&&t.push({icon:"activity",text:`Status: ${e.status}`}),e.contexts&&e.contexts.length>0&&t.push({icon:"map-pin",text:`Contexts: ${e.contexts.map(n=>"@"+n).join(", ")}`}),e.projects&&e.projects.length>0){let n=e.projects.map(i=>`+${i}`).join(", ");t.push({icon:"folder",text:`Projects: ${n}`})}if(e.tags&&e.tags.length>0&&t.push({icon:"tag",text:`Tags: ${e.tags.map(n=>"#"+n).join(", ")}`}),e.recurrence){let n="Invalid recurrence";try{e.recurrence.includes("FREQ=")&&this.isValidRRuleString(e.recurrence)&&(n=cet.fromString(e.recurrence).toText())}catch(i){console.debug("Error parsing rrule for preview:",i)}t.push({icon:"repeat",text:`Recurrence: ${n}`})}if(e.estimate&&t.push({icon:"clock",text:`Estimate: ${e.estimate} min`}),e.userFields&&Object.keys(e.userFields).length>0)for(let[n,i]of Object.entries(e.userFields)){let a=this.triggerConfig.getUserField(n),s=(a==null?void 0:a.displayName)||n,o;Array.isArray(i)?o=i.join(", "):o=i,t.push({icon:"box",text:`${s}: ${o}`})}return t}getPreviewText(e){return this.getPreviewData(e).map(t=>t.text).join(" \u2022 ")}getStatusSuggestions(e,t=10){let n=e.toLowerCase();return this.statusConfigs.filter(i=>i&&typeof i.value=="string"&&typeof i.label=="string").filter(i=>i.value.trim()!==""&&i.label.trim()!=="").filter(i=>i.value.toLowerCase().includes(n)||i.label.toLowerCase().includes(n)).slice(0,t).map(i=>({value:i.value,label:i.label,display:i.label}))}}});var zve=y(()=>{pme();n2();i2();a2();$ve()});function det(){return typeof navigator!="undefined"&&navigator.language?navigator.language:void 0}function uet(r){var t,n;let e=(n=(t=r.settings.calendarViewSettings)==null?void 0:t.locale)==null?void 0:n.trim();return e||det()||r.settings.nlpLanguage||"en"}var Zn,wc=y(()=>{zve();Zn=class r extends jA{static fromPlugin(e){let t=e.settings;return new r(t.customStatuses,t.customPriorities,t.nlpDefaultToScheduled,t.nlpLanguage,t.nlpTriggers,t.userFields,{dateLocale:uet(e)})}constructor(e=[],t=[],n=!0,i="en",a,s,o){super(e,t,n,i,a,s,o),this.taskNotesNlpTriggers=a,this.taskNotesUserFields=s||[],this.taskNotesPriorityConfigs=t}parseInput(e){let t=super.parseInput(e),n=this.removePriorityShortcutResidue(e,t),i=this.extractLinkedUserFields(e,n);return this.normalizeUserFieldValues(i)}removePriorityShortcutResidue(e,t){if(!t.priority||this.taskNotesPriorityConfigs.length===0)return t;let n=this.taskNotesPriorityConfigs.find(c=>c.value===t.priority);if(!n)return t;let i=this.getPriorityTrigger(),a=[n.value,n.label].filter(c=>typeof c=="string"&&c.trim().length>0).flatMap(c=>i?[`${i}${c}`,c]:[c]),s=[n.label,n.value].filter(c=>typeof c=="string"&&c.trim().length>0),o=new Set;for(let c of a)if(this.containsToken(e,c))for(let d of s){let u=this.removeFirstCaseInsensitive(c,d);!u||u===c||o.add(u)}let l=t.title;for(let c of Array.from(o).sort((d,u)=>u.length-d.length))l=this.removeTokenFragment(l,c);return t.title=l||"Untitled Task",t}getPriorityTrigger(){var t;let e=(t=this.taskNotesNlpTriggers)==null?void 0:t.triggers.find(n=>n.propertyId==="priority");return(e==null?void 0:e.trigger)||""}containsToken(e,t){let n=this.escapeRegexLiteral(t);return new RegExp(`(^|\\s)${n}(?=\\s|$)`,"iu").test(e)}removeTokenFragment(e,t){let n=this.escapeRegexLiteral(t);return e.replace(new RegExp(`(^|\\s)${n}(?=\\s|$)`,"giu"),"$1").replace(/\s+/g," ").trim()}removeFirstCaseInsensitive(e,t){let n=e.toLowerCase().indexOf(t.toLowerCase());return n===-1?null:`${e.slice(0,n)}${e.slice(n+t.length)}`}normalizeUserFieldValues(e){if(!e.userFields)return e;let t=e.userFields;for(let n of this.taskNotesUserFields){if(n.type!=="boolean")continue;let i=t[n.id];if(typeof i!="string")continue;let a=i.trim().toLowerCase();a==="true"?t[n.id]=!0:a==="false"&&(t[n.id]=!1)}return e}extractLinkedUserFields(e,t){var a;let n=((a=this.taskNotesNlpTriggers)==null?void 0:a.triggers)||[];if(n.length===0||this.taskNotesUserFields.length===0)return t;let i=t.title;for(let s of n){if(!s.enabled)continue;let o=this.taskNotesUserFields.find(p=>p.id===s.propertyId);if(!o)continue;let l=this.escapeRegexLiteral(s.trigger),c=new RegExp(`${l}(\\[\\[[^\\]]+\\]\\]|\\[[^\\]]+\\]\\([^\\)]+\\))`,"gu"),d=Array.from(e.matchAll(c));if(d.length===0)continue;let u=d.map(p=>p[1]).filter(p=>typeof p=="string"&&p.length>0);if(u.length!==0){if(t.userFields||(t.userFields={}),o.type==="list"){let p=t.userFields[o.id],m=Array.isArray(p)?p:typeof p=="string"?[p]:[];t.userFields[o.id]=[...m,...u]}else t.userFields[o.id]=u[u.length-1];i=i.replace(c,"").replace(/\s+/g," ").trim()}}return t.title=i,t}escapeRegexLiteral(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}});function jve(r){return r.padStart(2,"0")}function Bve(r,e,t){let n=Number(r),i=Number(e),a=Number(t),s=new Date(n,i-1,a);return s.getFullYear()!==n||s.getMonth()!==i-1||s.getDate()!==a?null:`${r}-${jve(e)}-${jve(t)}`}function dH(r){let e=r.trim();if(!e)return null;let t=pet.exec(e);if(t)return Bve(t[1],t[2],t[3]);let n=met.exec(e);return n?Bve(n[1],n[2],n[3]):null}function uH(r,e,t){var n;r.value=e,(n=t.onCommit)==null||n.call(t,e),r.dispatchEvent(new Event("input",{bubbles:!0})),r.dispatchEvent(new Event("change",{bubbles:!0}))}function fet(r){return r.key.length===1&&/\d/.test(r.key)&&!r.altKey&&!r.ctrlKey&&!r.metaKey}function Sc(r,e={}){var c,d;let t="",n=0,i=(c=e.now)!=null?c:(()=>Date.now()),a=(d=e.typeBufferResetMs)!=null?d:1500,s=u=>{if(!fet(u))return;let p=i();p-n>a&&(t=""),n=p,t=`${t}${u.key}`.slice(-8);let m=dH(t);m&&(u.preventDefault(),t="",uH(r,m,e))},o=u=>{var f,h;let p=(h=(f=u.clipboardData)==null?void 0:f.getData("text"))!=null?h:"",m=dH(p);m&&(u.preventDefault(),t="",uH(r,m,e))},l=()=>{let u=dH(r.value);!u||u===r.value||(t="",uH(r,u,e))};return r.addEventListener("keydown",s),r.addEventListener("paste",o),r.addEventListener("input",l),()=>{r.removeEventListener("keydown",s),r.removeEventListener("paste",o),r.removeEventListener("input",l)}}var pet,met,yx=y(()=>{pet=/^(\d{4})(\d{2})(\d{2})$/,met=/^(\d{4})[-/](\d{1,2})[-/](\d{1,2})$/});var Wve={};et(Wve,{DateTimePickerModal:()=>Ih,formatCalendarDate:()=>Hve,getParsedDateTimeSelection:()=>Vve,parseNaturalLanguageDateTime:()=>qve});function Uve(r){return String(r).padStart(2,"0")}function Hve(r,e,t){return`${r}-${Uve(e+1)}-${Uve(t)}`}function Vve(r,e){let t=r.scheduledDate||r.dueDate,n=r.scheduledDate?r.scheduledTime:r.dueTime;if(e==="due"?(t=r.dueDate,n=r.dueTime):e==="scheduled"&&(t=r.scheduledDate,n=r.scheduledTime),t)return{date:t,time:n||null};let i=e==="due"?r.scheduledDate:r.dueDate,a=e==="due"?r.scheduledTime:r.dueTime;return i?{date:i,time:a||null}:null}function qve(r,e,t){let n=r.trim();return n?Vve(e.parseInput(n),t):null}function het(r,e){let t=new Date(r);return t.setDate(t.getDate()+e),t}function get(r){let e=new Date(r),t=(1-e.getDay()+7)%7||7;return e.setDate(e.getDate()+t),e}var Ah,Ih,BA=y(()=>{Ah=require("obsidian");wc();yx();Ih=class extends Ah.Modal{constructor(t,n){var i;super(t);this.naturalLanguageInput=null;this.dateInput=null;this.timeInput=null;this.selectButtonEl=null;this.detachDateInputBehavior=null;this.options=n,this.selectedDate=(i=n.currentDate)!=null?i:null}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-plugin","date-time-picker-modal"),this.options.title&&t.createEl("h3",{text:this.options.title,cls:"date-time-picker-modal__title"}),this.renderQuickActions(t),this.renderNaturalLanguageInput(t),this.renderDateInput(t),this.renderTimeInput(t),this.renderActions(t),this.updateSelectButtonState(),window.setTimeout(()=>{var n;(n=this.dateInput)==null||n.focus()},100)}onClose(){var t;(t=this.detachDateInputBehavior)==null||t.call(this),this.detachDateInputBehavior=null,this.contentEl.empty()}renderQuickActions(t){let n=new Date,i=[{label:"Today",date:n},{label:"Tomorrow",date:het(n,1)},{label:"Next week",date:get(n)}],a=t.createDiv({cls:"date-time-picker-modal__quick-actions"});for(let s of i)a.createEl("button",{text:s.label,cls:"date-time-picker-modal__quick-button",attr:{type:"button"}}).addEventListener("click",()=>{this.selectDate(Hve(s.date.getFullYear(),s.date.getMonth(),s.date.getDate()))})}renderNaturalLanguageInput(t){if(!this.canUseNaturalLanguageInput())return;let n=t.createDiv({cls:"date-time-picker-modal__nlp-row"});this.naturalLanguageInput=n.createEl("input",{cls:"date-time-picker-modal__nlp-input",attr:{type:"text",placeholder:"Tomorrow at 3pm","aria-label":"Natural language date"}}),this.naturalLanguageInput.addEventListener("keydown",a=>{a.key==="Enter"&&(a.preventDefault(),this.applyNaturalLanguageInput())});let i=n.createEl("button",{cls:"clickable-icon date-time-picker-modal__nlp-button",attr:{type:"button","aria-label":"Apply natural language date",title:"Apply natural language date"}});(0,Ah.setIcon)(i,"wand"),i.addEventListener("click",()=>this.applyNaturalLanguageInput())}renderDateInput(t){var o;let n=t.createDiv({cls:"date-time-picker-modal__date-field"});n.createEl("label",{text:"Date",cls:"date-time-picker-modal__field-label",attr:{for:"tasknotes-date-time-picker-date"}});let i=n.createDiv({cls:"date-time-picker-modal__native-date-control"});this.dateInput=i.createEl("input",{cls:"date-time-picker-modal__date-input",attr:{id:"tasknotes-date-time-picker-date",type:"date",value:(o=this.selectedDate)!=null?o:"","aria-label":"Date"}});let a=()=>{var l;this.updateSelectedDate(((l=this.dateInput)==null?void 0:l.value)||null)};this.dateInput.addEventListener("input",a),this.dateInput.addEventListener("change",a),this.detachDateInputBehavior=Sc(this.dateInput,{onCommit:l=>this.updateSelectedDate(l)}),this.dateInput.addEventListener("keydown",l=>{var c;l.key==="Enter"&&((c=this.dateInput)!=null&&c.value)&&(l.preventDefault(),this.updateSelectedDate(this.dateInput.value),this.confirmSelectedDate())});let s=i.createEl("button",{cls:"clickable-icon date-time-picker-modal__native-date-button",attr:{type:"button","aria-label":"Open native date picker",title:"Open native date picker"}});(0,Ah.setIcon)(s,"calendar-days"),s.addEventListener("click",()=>{var l,c,d;(c=(l=this.dateInput)==null?void 0:l.showPicker)==null||c.call(l),(d=this.dateInput)==null||d.focus()})}renderTimeInput(t){var i;let n=t.createDiv({cls:"date-time-picker-modal__time-field"});n.createEl("label",{text:"Time (optional)",cls:"date-time-picker-modal__field-label",attr:{for:"tasknotes-date-time-picker-time"}}),this.timeInput=n.createEl("input",{cls:"date-time-picker-modal__time-input",attr:{id:"tasknotes-date-time-picker-time",type:"time",value:(i=this.options.currentTime)!=null?i:""}}),this.timeInput.addEventListener("keydown",a=>{a.key==="Enter"&&this.selectedDate&&(a.preventDefault(),this.confirmSelectedDate())})}renderActions(t){let n=t.createDiv({cls:"date-time-picker-modal__actions"});this.options.currentDate&&n.createEl("button",{text:"Clear date",cls:"date-time-picker-modal__action-button",attr:{type:"button"}}).addEventListener("click",()=>{this.options.onSelect(null,null),this.close()}),n.createEl("button",{text:"Cancel",cls:"date-time-picker-modal__action-button",attr:{type:"button"}}).addEventListener("click",()=>this.close()),this.selectButtonEl=n.createEl("button",{text:"Select",cls:"mod-cta date-time-picker-modal__action-button",attr:{type:"button"}}),this.selectButtonEl.addEventListener("click",()=>this.confirmSelectedDate())}selectDate(t){this.updateSelectedDate(t),this.confirmSelectedDate()}updateSelectedDate(t){this.selectedDate=t,this.dateInput&&this.dateInput.value!==(t!=null?t:"")&&(this.dateInput.value=t!=null?t:""),this.updateSelectButtonState()}confirmSelectedDate(){var t;this.selectedDate&&(this.options.onSelect(this.selectedDate,((t=this.timeInput)==null?void 0:t.value)||null),this.close())}updateSelectButtonState(){this.selectButtonEl&&(this.selectButtonEl.disabled=!this.selectedDate)}canUseNaturalLanguageInput(){var t;return this.options.naturalLanguageParser?!0:!!((t=this.options.plugin)!=null&&t.settings.enableNaturalLanguageInput)}getNaturalLanguageParser(){var t;return this.options.naturalLanguageParser?this.options.naturalLanguageParser:(t=this.options.plugin)!=null&&t.settings.enableNaturalLanguageInput?Zn.fromPlugin(this.options.plugin):null}applyNaturalLanguageInput(){var a,s;let t=this.getNaturalLanguageParser(),n=(s=(a=this.naturalLanguageInput)==null?void 0:a.value)!=null?s:"",i=t?qve(n,t,this.options.dateRole):null;if(!i){new Ah.Notice("Could not find a date in that text.");return}this.options.onSelect(i.date,i.time),this.close()}}});var Gve={};et(Gve,{DateContextMenu:()=>Zs});function vet(r){if(!r||typeof r!="object")return null;let e=r;return e.nodeType!==1||typeof e.closest!="function"?null:e}function bet(){return(0,Yve.moment)()}function Tet(r){return r.setSubmenu()}var Yve,yet,Li,Zs,Nh=y(()=>{Yve=require("obsidian");du();BA();Ne();G();yet=I({tag:"Components/DateContextMenu"});Li=class Li{constructor(e){this.menu=new ki,this.options=e,this.buildMenu()}t(e,t,n){var i;return((i=this.options.plugin)==null?void 0:i.i18n.translate(e,n))||t||e}getFirstDayOfWeek(){var t,n,i;let e=(i=(n=(t=this.options.plugin)==null?void 0:t.settings)==null?void 0:n.calendarViewSettings)==null?void 0:i.firstDay;return typeof e=="number"&&Number.isInteger(e)&&e>=0&&e<=6?e:0}buildMenu(){this.options.title&&(this.menu.addItem(a=>{a.setTitle(this.options.title||""),a.setIcon("calendar"),a.setDisabled(!0)}),this.menu.addSeparator());let e=this.getDateOptions(),t=e.filter(a=>a.category==="increment");t.length>0&&(t.forEach(a=>{this.menu.addItem(s=>{a.icon&&s.setIcon(a.icon),s.setTitle(a.label),s.onClick(async()=>{this.options.onSelect(a.value,null)})})}),this.menu.addSeparator()),e.filter(a=>a.category==="basic").forEach(a=>{this.menu.addItem(s=>{a.icon&&s.setIcon(a.icon);let l=a.value&&a.value===this.options.currentValue?this.t("contextMenus.date.selected","\u2713 {label}",{label:a.label}):a.label;s.setTitle(l),s.onClick(async()=>{this.options.onSelect(a.value,null)})})});let i=e.filter(a=>a.category==="weekday");i.length>0&&(this.menu.addSeparator(),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.date.weekdaysLabel","Weekdays")),a.setIcon("calendar");let s=Tet(a);i.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(a=>{a.setTitle(this.t("contextMenus.date.pickDateTime","Pick date & time\u2026")),a.setIcon("calendar"),a.onClick(async()=>{this.showDateTimePicker()})}),this.options.currentValue&&this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.date.clearDate","Clear date")),a.setIcon("x"),a.onClick(async()=>{this.options.onSelect(null,null)})})}static closeActiveMenu(){let e=Li.activeMenu;Li.activeMenu=null,Li.activeTrigger=null,e==null||e.hide()}static getTriggerFromEvent(e){var n;let t=vet(e.target);return(n=t==null?void 0:t.closest('[data-tn-action="edit-date"], .task-card__metadata-date'))!=null?n:null}showWithTrigger(e,t){if(e&&Li.activeMenu&&Li.activeTrigger===e){Li.closeActiveMenu();return}Li.closeActiveMenu(),Li.activeMenu=this.menu,Li.activeTrigger=e,this.menu.onHide(()=>{Li.activeMenu===this.menu&&(Li.activeMenu=null,Li.activeTrigger=null)}),t()}getDateOptions(){let e=bet(),t=[];this.options.currentValue&&(t.push({label:this.t("contextMenus.date.increment.plusOneDay","+1 day"),value:gv(this.options.currentValue,1),icon:"plus",category:"increment"}),t.push({label:this.t("contextMenus.date.increment.minusOneDay","-1 day"),value:gv(this.options.currentValue,-1),icon:"minus",category:"increment"}),t.push({label:this.t("contextMenus.date.increment.plusOneWeek","+1 week"),value:gv(this.options.currentValue,7),icon:"plus-circle",category:"increment"}),t.push({label:this.t("contextMenus.date.increment.minusOneWeek","-1 week"),value:gv(this.options.currentValue,-7),icon:"minus-circle",category:"increment"})),t.push({label:this.t("contextMenus.date.basic.today","Today"),value:e.format("YYYY-MM-DD"),icon:"calendar-check",isToday:!0,category:"basic"}),t.push({label:this.t("contextMenus.date.basic.tomorrow","Tomorrow"),value:e.clone().add(1,"day").format("YYYY-MM-DD"),icon:"calendar-plus",category:"basic"});let n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],i=this.getFirstDayOfWeek();[...n.slice(i),...n.slice(0,i)].forEach(c=>{let d=n.indexOf(c),u=e.clone().day(d);u.isSameOrBefore(e,"day")&&(u=u.add(1,"week"));let p=this.t(`common.weekdays.${c.toLowerCase()}`,c);t.push({label:p,value:u.format("YYYY-MM-DD"),icon:"calendar",category:"weekday"})});let s=e.clone().day(6);(s.isBefore(e)||s.isSame(e,"day"))&&s.add(1,"week"),t.push({label:this.t("contextMenus.date.basic.thisWeekend","This weekend"),value:s.format("YYYY-MM-DD"),icon:"calendar-days",category:"basic"});let o=e.clone().day(1).add(1,"week");t.push({label:this.t("contextMenus.date.basic.nextWeek","Next week"),value:o.format("YYYY-MM-DD"),icon:"calendar-plus",category:"basic"});let l=e.clone().add(1,"month").startOf("month");return t.push({label:this.t("contextMenus.date.basic.nextMonth","Next month"),value:l.format("YYYY-MM-DD"),icon:"calendar-range",category:"basic"}),t}show(e){this.showWithTrigger(Li.getTriggerFromEvent(e),()=>{this.menu.show(e)})}showAtElement(e){this.showWithTrigger(e,()=>{this.menu.showAtPosition({x:e.getBoundingClientRect().left,y:e.getBoundingClientRect().bottom+4})})}showDateTimePicker(){var n;let e=this.options.app||((n=this.options.plugin)==null?void 0:n.app);if(!e){yet.error("DateContextMenu: No app instance available for modal",{category:"validation",operation:"datecontextmenu-no-app-instance-modal"});return}new Ih(e,{currentDate:this.options.currentValue||null,currentTime:this.options.currentTime||null,title:this.t("contextMenus.date.modal.title","Set date & time"),dateRole:this.options.dateRole,plugin:this.options.plugin,onSelect:(i,a)=>{this.options.onSelect(i,a)}}).open()}};Li.activeMenu=null,Li.activeTrigger=null;Zs=Li});async function bn(r,e){return new vx(r,e).show()}var UA,vx,Cl=y(()=>{UA=require("obsidian"),vx=class extends UA.Modal{constructor(e,t){super(e),this.options={confirmText:"Confirm",cancelText:"Cancel",isDestructive:!1,...t}}show(){return new Promise(e=>{this.resolve=e,this.open()})}onOpen(){let{contentEl:e}=this;e.empty(),new UA.Setting(e).setName(this.options.title).setHeading(),e.createEl("p",{text:this.options.message});let t=e.createEl("div",{cls:"modal-button-container"});t.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),t.classList.add("tn-static-display-flex-75816cae"),t.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),t.classList.add("tn-static-gap-10px-f3d7ce77"),t.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),t.classList.add("tn-static-justify-content-flex-end-455f8cca"),t.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),t.classList.add("tn-static-margin-top-20px-a26bda7d");let n=null;this.options.thirdButtonText&&(n=t.createEl("button",{text:this.options.thirdButtonText}),n.addEventListener("click",()=>{this.options.onThirdButton&&this.options.onThirdButton(),this.close()}));let i=t.createEl("button",{text:this.options.cancelText});i.addEventListener("click",()=>{this.resolve(!1),this.close()});let a=t.createEl("button",{text:this.options.confirmText,cls:this.options.isDestructive?"mod-warning":"mod-cta"});this.options.isDestructive&&(a.classList.remove("tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-text-accent-a954c70f"),a.classList.add("tn-static-background-color-var-color-red-134bc721"),a.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),a.classList.add("tn-static-color-white-0a43e56a")),a.addEventListener("click",()=>{this.resolve(!0),this.close()}),window.setTimeout(()=>{this.options.defaultToConfirm?a.focus():i.focus()},0)}onClose(){let{contentEl:e}=this;e.empty(),this.resolve&&this.resolve(!1)}}});async function Jv(r,e){return new pH(r,e).show()}var bx,pH,mH=y(()=>{bx=require("obsidian"),pH=class extends bx.Modal{constructor(e,t){super(e),this.options={confirmText:"Confirm",cancelText:"Cancel",...t}}show(){return new Promise(e=>{this.resolve=e,this.open()})}onOpen(){let{contentEl:e}=this;e.empty(),new bx.Setting(e).setName(this.options.title).setHeading(),new bx.Setting(e).addText(a=>{var s,o;this.inputEl=a.inputEl,a.setPlaceholder(this.options.placeholder||"").setValue(this.options.initialValue||"").onChange(()=>{}),window.setTimeout(()=>{this.inputEl.focus(),this.inputEl.select()},100),(o=(s=this.options).onInputReady)==null||o.call(s,this.inputEl)});let t=e.createEl("div",{cls:"modal-button-container"});t.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),t.classList.add("tn-static-display-flex-75816cae"),t.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),t.classList.add("tn-static-gap-10px-f3d7ce77"),t.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),t.classList.add("tn-static-justify-content-flex-end-455f8cca"),t.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),t.classList.add("tn-static-margin-top-20px-a26bda7d");let n=t.createEl("button",{text:this.options.cancelText});n.addEventListener("click",()=>{this.resolve(null),this.close()});let i=t.createEl("button",{text:this.options.confirmText,cls:"mod-cta"});i.addEventListener("click",()=>{let a=this.inputEl.value.trim();this.resolve(a||null),this.close()}),this.inputEl.addEventListener("keydown",a=>{a.key==="Enter"?(a.preventDefault(),i.click()):a.key==="Escape"&&(a.preventDefault(),n.click())})}onClose(){let{contentEl:e}=this;e.empty(),this.resolve&&this.resolve(null)}}});function Ec(r){let e=r.trim();return e.startsWith("#")?e.slice(1):e}function ket(r,e){let t=Ec(r),n=Ec(e);return!t||!n?!1:t.toLowerCase()===n.toLowerCase()}function HA(r,e,t="all"){let n=Ec(r),i=Ec(e);return t==="exact-only"?ket(n,i):yr.matchesHierarchicalTagExact(n,i)}function bu(r,e,t="all"){return r.filter(n=>!HA(n,e,t))}function wet(r){return r.taskIdentificationMethod==="tag"&&!!r.hideIdentifyingTagsInCards&&!!r.taskTag}function VA(r,e){return wet(e)?bu(r,e.taskTag,e.hideIdentifyingTagsMode):[...r]}function Kve(r,e,t,n="all"){let i=[...r],a=e.filter(o=>HA(o,t,n)).map(Ec),s=a.length>0?a:[Ec(t)];for(let o of s)o&&(i.some(l=>Ec(l)===o)||i.push(o));return i}var qp=y(()=>{cu()});function Zve(r,e){r.addEventListener("focus",e),r.addEventListener("click",e)}var YA,Eet,qA,Wp,WA,Tx=y(()=>{YA=require("obsidian");qp();G();Eet=I({tag:"Modals/TaskModalSuggests"});qA=class extends YA.AbstractInputSuggest{constructor(e,t,n){super(e,t),this.plugin=n,this.input=t,Zve(this.input,()=>this.open())}async getSuggestions(e){let t=this.input.value.split(",").map(s=>s.trim()),n=t[t.length-1],i=this.plugin.cacheManager.getAllContexts(),a=t.slice(0,-1);return i.filter(s=>s&&typeof s=="string").filter(s=>!a.includes(s)&&(!n||s.toLowerCase().includes(n.toLowerCase()))).slice(0,10).map(s=>({value:s,display:s,type:"context",toString(){return this.value}}))}renderSuggestion(e,t){t.textContent=e.display}selectSuggestion(e){let t=this.input.value.split(",").map(n=>n.trim());t[t.length-1]=e.value,this.input.value=t.join(", ")+", ",this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.focus()}},Wp=class extends YA.AbstractInputSuggest{constructor(e,t,n){super(e,t),this.plugin=n,this.input=t,Zve(this.input,()=>this.open())}async getSuggestions(e){let t=this.input.value.split(",").map(s=>s.trim()),n=t[t.length-1],i=VA(this.plugin.cacheManager.getAllTags(),this.plugin.settings),a=t.slice(0,-1);return i.filter(s=>s&&typeof s=="string").filter(s=>!a.includes(s)&&(!n||s.toLowerCase().includes(n.toLowerCase()))).slice(0,10).map(s=>({value:s,display:s,type:"tag",toString(){return this.value}}))}renderSuggestion(e,t){t.textContent=e.display}selectSuggestion(e){let t=this.input.value.split(",").map(n=>n.trim());t[t.length-1]=e.value,this.input.value=t.join(", ")+", ",this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.focus()}},WA=class extends YA.AbstractInputSuggest{constructor(e,t,n,i){super(e,t),this.plugin=n,this.input=t,this.fieldConfig=i}async getSuggestions(e){let t=this.fieldConfig.type==="list",n="",i=[];if(t?(i=this.input.value.split(",").map(o=>o.trim()),n=i[i.length-1]||""):n=this.input.value.trim(),!n)return[];let a=n.match(/\[\[([^\]]*)$/);if(a){let o=a[1]||"",{FileSuggestHelper:l}=await Promise.resolve().then(()=>(nS(),XB));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(n.toLowerCase())&&(!t||!i.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(e){var i,a;let t=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[e]!==void 0){let u=d[e];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 Eet.error("Error getting user field values:",{category:"persistence",operation:"getting-user-field-values",error:s}),[]}},n=(a=(i=this.plugin.settings)==null?void 0:i.suggestionDebounceMs)!=null?a:0;return n?new Promise(s=>{let o=this.plugin;o.__userFieldSuggestTimer&&window.clearTimeout(o.__userFieldSuggestTimer),o.__userFieldSuggestTimer=window.setTimeout(()=>{(async()=>s(await t()))()},n)}):t()}renderSuggestion(e,t){t.textContent=e.display}selectSuggestion(e){var n;if(this.fieldConfig.type==="list"){let i=this.input.value.split(","),a=(n=i.pop())!=null?n:"",s=i.join(","),o=a.trim(),l=/\[\[/.test(o)?o.replace(/\[\[[^\]]*$/,`[[${e.value}]]`):e.value,c=(s?s+", ":"")+l;this.input.value=c.endsWith(",")?c+" ":c+", "}else{let i=this.input.value,a=i.replace(/\[\[[^\]]*$/,`[[${e.value}]]`);this.input.value=a===i?e.value:a}this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.focus()}}});function GA(r,e,t=n=>n.path){return r.map(n=>{switch(e){case"filenames":return Qve(n.path);case"markdown-links":return`[[${t(n)}]]`;case"titles":return n.title||Qve(n.path);case"paths":return n.path}}).join(`
`)}function Qve(r){return(r.split("/").pop()||r).replace(/\.md$/i,"")}var fH=y(()=>{});function Xv(r){let e=new Set,t=[];for(let n of r!=null?r:[]){if(typeof n!="string")continue;let i=Ec(n);!i||e.has(i)||(e.add(i),t.push(i))}return t}function kx(r){return!r||typeof r!="string"?[]:Xv(r.split(","))}function Jve(r,e){let t=Xv(r.tags);return e.taskIdentificationMethod!=="tag"?t:bu(t,e.taskTag,e.hideIdentifyingTagsMode)}function KA(r,e){let t=Xv(r),n=new Set(t);for(let i of e){let a=Ec(i);!a||n.has(a)||(n.add(a),t.push(a))}return t.length>0?t:void 0}function wx(r,e){let t=new Set(kx(e.join(",")));if(t.size===0){let i=Xv(r);return i.length>0?i:void 0}let n=Xv(r).filter(i=>!t.has(i));return n.length>0?n:void 0}function ZA(r,e){let t=Xv(r);if(e.taskIdentificationMethod!=="tag")return;let n=t.filter(i=>HA(i,e.taskTag,e.hideIdentifyingTagsMode));return n.length>0?n:void 0}var hH=y(()=>{qp()});function eb(r){return r.setSubmenu()}function Xve(r){var t,n;let e=r;return(n=(t=e.dom)!=null?t:e.domEl)!=null?n:null}var Qn,Yp,tb,gH=y(()=>{Qn=require("obsidian");Nh();du();Cl();mH();Tx();fH();hH();G();Yp=I({tag:"Components/BatchContextMenu"});tb=class{constructor(e){this.menu=new ki,this.options=e,this.buildMenu()}t(e,t){return this.options.plugin.i18n.translate(e,t)}buildMenu(){let{selectedPaths:e}=this.options,t=e.length;this.menu.addItem(n=>{n.setTitle(`${t} tasks selected`),n.setIcon("check-square"),n.setDisabled(!0)}),this.menu.addSeparator(),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.status")),n.setIcon("circle");let i=eb(n);this.addStatusOptions(i)}),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.priority")),n.setIcon("star");let i=eb(n);this.addPriorityOptions(i)}),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.tags")),n.setIcon("tags");let i=eb(n);this.addTagOptions(i)}),this.menu.addSeparator(),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.dueDate")),n.setIcon("calendar");let i=eb(n);this.addDateOptions(i,"due")}),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.scheduledDate")),n.setIcon("calendar-clock");let i=eb(n);this.addDateOptions(i,"scheduled")}),this.menu.addSeparator(),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.archive")),n.setIcon("archive"),n.onClick(async()=>{await this.batchArchive(!0)})}),this.menu.addItem(n=>{n.setTitle(this.t("contextMenus.task.unarchive")),n.setIcon("archive-restore"),n.onClick(async()=>{await this.batchArchive(!1)})}),this.menu.addSeparator(),this.menu.addItem(n=>{n.setTitle("Copy selected tasks"),n.setIcon("copy");let i=eb(n);this.addCopyOptions(i)}),this.menu.addSeparator(),this.menu.addItem(n=>{n.setTitle("Clear selection"),n.setIcon("x"),n.onClick(()=>{var i,a;(i=this.options.plugin.taskSelectionService)==null||i.clearSelection(),(a=this.options.plugin.taskSelectionService)==null||a.exitSelectionMode()})}),this.menu.addSeparator(),this.menu.addItem(n=>{n.setTitle(`Delete ${t} tasks`),n.setIcon("trash"),n.onClick(async()=>{await this.batchDelete()})})}addTagOptions(e){e.addItem(t=>{t.setTitle(this.t("contextMenus.task.addTag")),t.setIcon("plus"),t.onClick(()=>{this.openBatchTagInput("add")})}),e.addItem(t=>{t.setTitle(this.t("contextMenus.task.removeTagInput")),t.setIcon("x"),t.onClick(()=>{this.openBatchTagInput("remove")})}),e.addSeparator(),e.addItem(t=>{t.setTitle(this.t("contextMenus.task.clearTags")),t.setIcon("eraser"),t.onClick(async()=>{await this.batchUpdateTags(n=>ZA(n.tags,this.options.plugin.settings))})})}addCopyOptions(e){let t=[{title:"Copy filenames",icon:"file-text",format:"filenames"},{title:"Copy Markdown links",icon:"link",format:"markdown-links"},{title:"Copy titles",icon:"text",format:"titles"},{title:"Copy paths",icon:"copy",format:"paths"}];for(let n of t)e.addItem(i=>{i.setTitle(n.title),i.setIcon(n.icon),i.onClick(async()=>{await this.copySelectedTasks(n.format)})})}addStatusOptions(e){let n=[...this.options.plugin.settings.customStatuses].sort((i,a)=>i.order-a.order);for(let i of n)e.addItem(a=>{a.setTitle(i.label),a.setIcon(i.icon||"circle"),a.onClick(async()=>{await this.batchUpdateProperty("status",i.value)}),i.color&&window.setTimeout(()=>{let s=Xve(a);if(s){let o=s.querySelector(".menu-item-icon");o&&(o.style.color=i.color)}},10)})}addPriorityOptions(e){let t=this.options.plugin.priorityManager.getPrioritiesByWeight();for(let n of t)e.addItem(i=>{i.setTitle(n.label),i.setIcon("star"),i.onClick(async()=>{await this.batchUpdateProperty("priority",n.value)}),n.color&&window.setTimeout(()=>{let a=Xve(i);if(a){let s=a.querySelector(".menu-item-icon");s&&(s.style.color=n.color)}},10)});e.addSeparator(),e.addItem(n=>{n.setTitle(this.t("contextMenus.priority.clearPriority")),n.setIcon("x"),n.onClick(async()=>{await this.batchUpdateProperty("priority",void 0)})})}addDateOptions(e,t){let a=new Zs({currentValue:void 0,onSelect:()=>{},plugin:this.options.plugin,app:this.options.plugin.app}).getDateOptions().filter(s=>s.category==="basic");for(let s of a)e.addItem(o=>{s.icon&&o.setIcon(s.icon),o.setTitle(s.label),o.onClick(async()=>{await this.batchUpdateProperty(t,s.value)})});e.addSeparator(),e.addItem(s=>{s.setTitle(this.t("contextMenus.date.clearDate")),s.setIcon("x"),s.onClick(async()=>{await this.batchUpdateProperty(t,void 0)})})}async openBatchTagInput(e){let{plugin:t}=this.options,n=await Jv(t.app,{title:e==="add"?this.t("contextMenus.task.addTag"):this.t("contextMenus.task.removeTagInput"),placeholder:this.t("contextMenus.task.tagPlaceholder"),confirmText:this.t("common.confirm"),cancelText:this.t("common.cancel"),onInputReady:a=>{new Wp(t.app,a,t)}}),i=kx(n);i.length!==0&&await this.batchUpdateTags(a=>e==="add"?KA(a.tags,i):wx(a.tags,i))}async copySelectedTasks(e){let{plugin:t,selectedPaths:n}=this.options,i=[];for(let s of n){let o=await t.cacheManager.getTaskInfo(s);i.push({path:s,title:o==null?void 0:o.title})}let a=GA(i,e,s=>this.getMarkdownLinkText(s.path));await navigator.clipboard.writeText(a),new Qn.Notice(`Copied ${i.length} tasks`)}getMarkdownLinkText(e){let t=this.options.plugin.app.vault.getAbstractFileByPath(e);return t instanceof Qn.TFile?this.options.plugin.app.metadataCache.fileToLinktext(t,""):e}async batchUpdateTags(e){var s,o;let{plugin:t,selectedPaths:n,onUpdate:i}=this.options,a=n.length;try{new Qn.Notice(`Updating tags on ${a} tasks...`);let l=0,c=0;for(let d of n)try{let u=await t.cacheManager.getTaskInfo(d);u?(await t.taskService.updateProperty(u,"tags",e(u)),l++):c++}catch(u){Yp.error(`[BatchContextMenu] Failed to update tags for ${d}:`,{category:"validation",operation:"update-tags",error:u}),c++}c===0?new Qn.Notice(`Updated tags on ${l} tasks`):new Qn.Notice(`Updated tags on ${l} tasks, ${c} failed`),(s=t.taskSelectionService)==null||s.clearSelection(),(o=t.taskSelectionService)==null||o.exitSelectionMode(),i==null||i()}catch(l){Yp.error("[BatchContextMenu] Batch tag update failed:",{category:"validation",operation:"batch-tag-update",error:l}),new Qn.Notice(this.t("contextMenus.task.notices.updateTagsFailed"))}}async batchUpdateProperty(e,t){var o,l;let{plugin:n,selectedPaths:i,onUpdate:a}=this.options,s=i.length;try{new Qn.Notice(`Updating ${s} tasks...`);let c=0,d=0;for(let u of i)try{let p=await n.cacheManager.getTaskInfo(u);p?(await n.taskService.updateProperty(p,e,t),c++):d++}catch(p){Yp.error(`[BatchContextMenu] Failed to update task ${u}:`,{category:"validation",operation:"update-task",error:p}),d++}d===0?new Qn.Notice(`Updated ${c} tasks`):new Qn.Notice(`Updated ${c} tasks, ${d} failed`),(o=n.taskSelectionService)==null||o.clearSelection(),(l=n.taskSelectionService)==null||l.exitSelectionMode(),a==null||a()}catch(c){Yp.error("[BatchContextMenu] Batch update failed:",{category:"validation",operation:"batch-update",error:c}),new Qn.Notice("Failed to update tasks")}}async batchArchive(e){var s,o;let{plugin:t,selectedPaths:n,onUpdate:i}=this.options,a=n.length;try{new Qn.Notice(`${e?"Archiving":"Unarchiving"} ${a} tasks...`);let l=0,c=0;for(let d of n)try{let u=await t.cacheManager.getTaskInfo(d);u&&u.archived!==e?(await t.toggleTaskArchive(u),l++):u?l++:c++}catch(u){Yp.error(`[BatchContextMenu] Failed to archive task ${d}:`,{category:"persistence",operation:"archive-task",error:u}),c++}c===0?new Qn.Notice(`${e?"Archived":"Unarchived"} ${l} tasks`):new Qn.Notice(`${e?"Archived":"Unarchived"} ${l} tasks, ${c} failed`),(s=t.taskSelectionService)==null||s.clearSelection(),(o=t.taskSelectionService)==null||o.exitSelectionMode(),i==null||i()}catch(l){Yp.error("[BatchContextMenu] Batch archive failed:",{category:"persistence",operation:"batch-archive",error:l}),new Qn.Notice("Failed to archive tasks")}}async batchDelete(){var s,o;let{plugin:e,selectedPaths:t,onUpdate:n}=this.options,i=t.length;if(await bn(e.app,{title:"Delete tasks",message:`Are you sure you want to delete ${i} tasks? This action cannot be undone.`,confirmText:"Delete",cancelText:this.t("common.cancel"),isDestructive:!0}))try{new Qn.Notice(`Deleting ${i} tasks...`);let l=0,c=0;for(let d of t)try{let u=await e.cacheManager.getTaskInfo(d);u?(await e.taskService.deleteTask(u),l++):c++}catch(u){Yp.error(`[BatchContextMenu] Failed to delete task ${d}:`,{category:"persistence",operation:"delete-task",error:u}),c++}c===0?new Qn.Notice(`Deleted ${l} tasks`):new Qn.Notice(`Deleted ${l} tasks, ${c} failed`),(s=e.taskSelectionService)==null||s.clearSelection(),(o=e.taskSelectionService)==null||o.exitSelectionMode(),n==null||n()}catch(l){Yp.error("[BatchContextMenu] Batch delete failed:",{category:"persistence",operation:"batch-delete",error:l}),new Qn.Notice("Failed to delete tasks")}}show(e){this.menu.showAtMouseEvent(e)}showAtPosition(e,t){this.menu.showAtPosition({x:e,y:t})}}});function Cet(r){return xet.includes(r)}function Ra(r,e){return r.map(t=>Cet(t)?t:t in e.fieldMapper.getMapping()?e.fieldMapper.toUserField(t):t)}function rb(r,e,t){return t.fieldMapper.isPropertyForField(r,e)}var xet,xc=y(()=>{xet=["tags","blocked","blocking"]});var Sx,Det,Pet,Met,_et,Aet,Iet,Net,yH,li,Rh=y(()=>{f_();f_();Sx=["status","priority","due","scheduled","projects","contexts"],Det=[{id:"none",value:"none",label:"None",color:"#cccccc",isCompleted:!1,excludeFromCycle:!1,order:0,autoArchive:!1,autoArchiveDelay:5},{id:"open",value:"open",label:"Open",color:"#808080",isCompleted:!1,excludeFromCycle:!1,order:1,autoArchive:!1,autoArchiveDelay:5},{id:"in-progress",value:"in-progress",label:"In progress",color:"#0066cc",isCompleted:!1,excludeFromCycle:!1,order:2,autoArchive:!1,autoArchiveDelay:5},{id:"done",value:"done",label:"Done",color:"#00aa00",isCompleted:!0,excludeFromCycle:!1,order:3,autoArchive:!1,autoArchiveDelay:5}],Pet=[{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}],Met={defaultContexts:"",defaultTags:"",defaultProjects:"",useParentNoteAsProject:!1,useParentHeaderAsProject:!1,inheritParentTaskProperties:!1,defaultTimeEstimate:0,defaultRecurrence:"none",defaultDueDate:"none",defaultDueTime:"none",defaultScheduledDate:"today",defaultScheduledTime:"none",bodyTemplate:"",useBodyTemplate:!1,defaultReminders:[]},_et={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,defaultShowScheduledToDueSpan:!1,defaultShowTimeEntries:!1,defaultShowRecurring:!0,defaultShowICSEvents:!0,enableTimeblocking:!1,defaultShowTimeblocks:!0,defaultTimeblockColor:"#6366f1",timeblockAttachmentSearchOrder:"name-asc",nowIndicator:!0,selectMirror:!0,weekNumbers:!1,showTodayHighlight:!0,eventMinHeight:15,slotEventOverlap:!0,eventMaxStack:null,dayMaxEvents:!0,dayMaxEventRows:!1},Aet={defaultNoteTemplate:"",defaultNoteFolder:"",icsNoteFilenameFormat:"title",customICSNoteFilenameTemplate:"{title}",enableAutoExport:!1,autoExportPath:"tasknotes-calendar.ics",autoExportInterval:60,useDurationForExport:!1,excludeArchivedFromExport:!1,excludeCompletedFromExport:!1,requireDueDateForExport:!1,requireScheduledDateForExport:!1,useICSEndAsDue:!1},Iet={enabled:!1,targetCalendarId:"",syncOnTaskCreate:!0,syncOnTaskUpdate:!0,syncOnTaskComplete:!0,syncOnTaskDelete:!0,eventTitleTemplate:"{{title}}",includeDescription:!0,eventColorId:null,syncTrigger:"scheduled",createAsAllDay:!0,defaultEventDuration:60,includeObsidianLink:!0,defaultReminderMinutes:null},Net={enableFuzzy:!1,rows:["{title|n(Title)}","{aliases|n(Aliases)}","{file.path|n(Path)}"],showAdvanced:!1,requiredTags:[],includeFolders:[],propertyKey:"",propertyValue:""},yH={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}]},li={tasksFolder:"TaskNotes/Tasks",moveArchivedTasks:!1,archiveFolder:"TaskNotes/Archive",taskTag:"task",taskIdentificationMethod:"tag",hideIdentifyingTagsInCards:!1,hideIdentifyingTagsMode:"all",taskPropertyName:"",taskPropertyValue:"",excludedFolders:"",defaultTaskPriority:"normal",defaultTaskStatus:"open",taskOrgFiltersCollapsed:!1,taskFilenameFormat:"zettel",storeTitleInFilename:!0,customFilenameTemplate:"{{title}}",taskCreationDefaults:Met,openTaskAfterCreation:"none",calendarViewSettings:_et,pomodoroWorkDuration:25,pomodoroShortBreakDuration:5,pomodoroLongBreakDuration:15,pomodoroLongBreakInterval:4,pomodoroAutoStartBreaks:!0,pomodoroAutoStartWork:!1,pomodoroNotifications:!0,pomodoroSoundEnabled:!0,pomodoroSoundVolume:50,pomodoroStorageLocation:"plugin",pomodoroMobileSidebar:"tab",showPomodoroInStatusBar:!0,enableTaskLinkOverlay:!0,disableOverlayOnAlias:!1,enableInstantTaskConvert:!0,useDefaultsOnInstantConvert:!0,preserveCheckboxOnConvert:!1,taskModalTabMovesFocus:!0,enableNaturalLanguageInput:!0,nlpDefaultToScheduled:!0,nlpLanguage:"en",uiLanguage:"system",statusSuggestionTrigger:"*",nlpTriggers:yH,singleClickAction:"edit",doubleClickAction:"openNote",projectAutosuggest:Net,inlineTaskConvertFolder:"{{currentNotePath}}",disableNoteIndexing:!1,suggestionDebounceMs:0,fieldMapping:jw,customStatuses:Det,customPriorities:Pet,recurrenceMigrated:!1,lastSeenVersion:void 0,showReleaseNotesOnUpdate:!0,showTrackedTasksInStatusBar:!1,autoStopTimeTrackingOnComplete:!0,autoStopTimeTrackingNotification:!1,showRelationships:!0,relationshipsPosition:"bottom",showTaskCardInNote:!0,showCompletedTaskStrikethrough:!0,showExpandableSubtasks:!0,expandSubtasksByDefault:!1,subtaskChevronPosition:"right",viewsButtonAlignment:"right",hideCompletedFromOverdue:!0,icsIntegration:Aet,savedViews:[],enableNotifications:!0,notificationType:"system",notificationSoundEnabled:!1,notificationSoundVolume:50,enableAPI:!1,apiPort:8080,apiAuthToken:"",enableMCP:!1,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,enableMdbaseSpec:!1,autoCreateDefaultBasesFiles:!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","pomodoro-stats-base":"TaskNotes/Views/pomodoro-stats.base",relationships:"TaskNotes/Views/relationships.base"},maintainDueDateOffsetInRecurring:!1,resetCheckboxesOnRecurrence:!1,useFrontmatterMarkdownLinks:!1,googleOAuthClientId:"",googleOAuthClientSecret:"",microsoftOAuthClientId:"",microsoftOAuthClientSecret:"",enableGoogleCalendar:!1,enableMicrosoftCalendar:!1,disableCalendarOnMobile:!1,enabledGoogleCalendars:[],googleCalendarSyncTokens:{},enabledMicrosoftCalendars:[],microsoftCalendarSyncTokens:{},googleCalendarExport:Iet,enableDebugLogging:!1}});function ebe(r){return Oet.has(r.trim().toLowerCase())}function JA(r){return typeof r=="object"&&r!==null&&typeof r.renderTo=="function"&&typeof r.toString=="function"}function QA(r){let e=r.toString();return e==="[object Object]"?"":e}function vH(r){var t;return r==null||((t=r.constructor)==null?void 0:t.name)==="NullValue"?!0:JA(r)&&ebe(QA(r))}function Ex(r){return vH(r)?!0:Array.isArray(r)?r.every(Ex):typeof r=="string"?r.trim()===""||ebe(r):JA(r)?QA(r).trim()==="":!1}function XA(r,e,t){if(!JA(e)||vH(e))return!1;try{e.renderTo(r,t),!r.hasChildNodes()&&!r.textContent&&(r.textContent=QA(e))}catch(n){Ret.debug("[TaskNotes] Error rendering Bases value:",{category:"persistence",operation:"rendering-bases-value",error:n}),r.textContent=QA(e)}return!0}function Tu(r){if(vH(r))return"";if(JA(r))return r;if(r&&typeof r=="object"&&"icon"in r){let e=r;if(e.icon==="lucide-link"&&"data"in e&&e.data!==null&&e.data!==void 0){let t=Z(e.data);if(!t.match(/^[a-z]+:\/\//i)){let i="display"in e&&e.display?Z(e.display):null;return i&&i!==t?`[[${t}|${i}]]`:`[[${t}]]`}let n="display"in e&&e.display?Z(e.display):null;return n?`[${n}](${t})`:t}return"display"in e&&e.display!==null&&e.display!==void 0?e.display:"date"in e&&e.date!==null&&e.date!==void 0?e.date:"data"in e&&e.data!==null&&e.data!==void 0?e.data:e.icon==="lucide-file-question"||e.icon==="lucide-help-circle"?"":e.icon?Z(e.icon).replace("lucide-",""):""}return r}function eI(r,e={},t){var i;let n=(i=e.propertyLabels)==null?void 0:i[r];return n&&n.trim()!==""?n:t&&t.trim()!==""?t:r.startsWith("formula.")?r.substring(8):r.charAt(0).toUpperCase()+r.slice(1)}var Ret,Oet,xx=y(()=>{gr();G();Ret=I({tag:"Ui/TaskCardPresentation"}),Oet=new Set(["null","undefined"])});function bH(r){return r!==null&&typeof r=="object"&&typeof r.getValue=="function"?r:null}function tbe(r){return Object.prototype.hasOwnProperty.call(nbe,r)}function rbe(r,e){return nbe[e](r)}function kH(r,e,t){try{let n=t.fieldMapper.lookupMappingKey(e);if(n&&tbe(n))return rbe(r,n);if(tbe(e))return rbe(r,e);if(e.startsWith("user:"))return Let(r,e,t);if(r.customProperties&&e in r.customProperties)return Tu(r.customProperties[e]);if(r.customProperties){let a=`file.${e}`;if(a in r.customProperties)return Tu(r.customProperties[a])}if(e.startsWith("file.")){let a=bH(r.basesData);if(a)try{let s=a.getValue(e);if(s!=null)return Tu(s)}catch(s){}}if(e.startsWith("formula."))try{let a=bH(r.basesData);if(!a)return"";let s=a.getValue(e);if(s==null)return"";let o=Tu(s);return o!==""?o:""}catch(a){return TH.debug(`[TaskNotes] Error computing formula ${e}:`,{category:"validation",operation:"computing-formula",error:a}),"[Formula Error]"}let i=bH(r.basesData);if(i)try{let a=`note.${e}`,s=i.getValue(a);if(s!=null)return Tu(s)}catch(a){}if(r.path){let a=ibe(r.path,e,t);if(a!==void 0)return a}return null}catch(n){return TH.warn(`TaskCard: Error getting property ${e}:`,{category:"persistence",operation:"taskcard-getting-property",error:n}),null}}function Let(r,e,t){var s;let n=e.slice(5),i=(s=t.settings.userFields)==null?void 0:s.find(o=>o.id===n);if(!(i!=null&&i.key))return null;let a=r[i.key];return a===void 0&&(a=ibe(r.path,i.key,t)),a}function ibe(r,e,t){try{let n=t.app.metadataCache.getCache(r);return n!=null&&n.frontmatter?n.frontmatter[e]:void 0}catch(n){TH.warn(`TaskCard: Error accessing frontmatter for ${r}:`,{category:"validation",operation:"taskcard-accessing-frontmatter",error:n});return}}var TH,nbe,abe=y(()=>{xx();G();TH=I({tag:"Ui/TaskCardPropertyAccess"});nbe={due:r=>r.due,scheduled:r=>r.scheduled,projects:r=>r.projects,contexts:r=>r.contexts,tags:r=>r.tags,blocked:r=>r.isBlocked,blocking:r=>r.isBlocking,blockedBy:r=>r.blockedBy,blockingTasks:r=>r.blocking,timeEstimate:r=>r.timeEstimate,timeEntries:r=>r.timeEntries,totalTrackedTime:r=>r.totalTrackedTime,recurrence:r=>r.recurrence,recurrenceParent:r=>r.recurrence_parent,occurrenceDate:r=>r.occurrence_date,occurrenceMaterialization:r=>r.occurrence_materialization,occurrenceNextTrigger:r=>r.occurrence_next_trigger,occurrenceTemplate:r=>r.occurrence_template,occurrencePastHorizon:r=>r.occurrence_past_horizon,occurrenceFutureHorizon:r=>r.occurrence_future_horizon,completedDate:r=>r.completedDate,reminders:r=>r.reminders,icsEventId:r=>r.icsEventId,completeInstances:r=>r.complete_instances,skippedInstances:r=>r.skipped_instances,dateCreated:r=>r.dateCreated,dateModified:r=>r.dateModified,sortOrder:r=>r.sortOrder,googleCalendarSync:r=>r.path,checklistProgress:r=>r.path}});function Qs(r,e,t){return r.i18n.translate(`ui.taskCard.${e}`,t)}function Cc(r,e,t){let n=t==null?void 0:t[r];if(n&&n.trim()!=="")return n;let i=Fet(r,e,t),a={due:Qs(e,"labels.due"),scheduled:Qs(e,"labels.scheduled"),recurrence:Qs(e,"labels.recurrence"),completedDate:Qs(e,"labels.completed"),dateCreated:Qs(e,"labels.created"),dateModified:Qs(e,"labels.modified"),blocked:Qs(e,"labels.blocked"),blocking:Qs(e,"labels.blocking")};return eI(r,{propertyLabels:i?{[r]:i}:t},a[r])}function Fet(r,e,t){var n,i;if(t){for(let[a,s]of Object.entries(t))if(!(a===r||s.trim()==="")&&((i=(n=e.fieldMapper)==null?void 0:n.lookupMappingKey)==null?void 0:i.call(n,a))===r)return s}}function Cx(r,e,t){return Qs(r,"recurrenceTooltip",{label:Cc("recurrence",r,t),value:Bpe(e)})}function wH(r,e){return e===1?Qs(r,"reminderTooltipOne"):Qs(r,"reminderTooltipMany",{count:e})}function tI(r,e){return e?Qs(r,"collapseSubtasks"):Qs(r,"expandSubtasks")}var SH=y(()=>{Ct();xx();abe()});function obe(r,e,t){r.createEl("a",{text:t,attr:{href:e,target:"_blank",rel:"noopener"}}).classList.add("external-link")}function jet(r){return zet.test(r)}function Dl(r,e,t,n,i={}){var p;let{cssClass:a="internal-link",hoverSource:s="tasknotes-property-link",showErrorNotices:o=!1,onPrimaryNavigate:l}=i,c=(p=n.sourcePath)!=null?p:"",d=jt(e),u=r.createEl("a",{cls:a,text:t,attr:{"data-href":d,role:"link",tabindex:"0"}});u.addEventListener("click",m=>{m.preventDefault(),m.stopPropagation(),(async()=>{try{if(m.ctrlKey||m.metaKey){n.workspace.openLinkText(d,c,!0);return}if(l&&await l(d,m)!==!1)return;let f=n.metadataCache.getFirstLinkpathDest(d,c)||n.metadataCache.getFirstLinkpathDest(d,"");f instanceof Gp.TFile?await n.workspace.getLeaf(!1).openFile(f):o&&new Gp.Notice(`Note "${t}" not found`)}catch(f){sbe.error("[TaskNotes] Error opening internal link:",{category:"internal",operation:"opening-internal-link",details:{filePath:e},error:f}),o&&new Gp.Notice(`Failed to open note "${t}"`)}})()}),u.addEventListener("auxclick",m=>{m.button===1&&(m.preventDefault(),m.stopPropagation(),(async()=>{try{(n.metadataCache.getFirstLinkpathDest(d,c)||n.metadataCache.getFirstLinkpathDest(d,""))instanceof Gp.TFile&&n.workspace.openLinkText(d,c,!0)}catch(f){sbe.error("[TaskNotes] Error opening internal link:",{category:"internal",operation:"opening-internal-link",details:{filePath:e},error:f})}})())}),u.addEventListener("keydown",m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),u.click())}),u.addEventListener("mouseover",m=>{let f=n.metadataCache.getFirstLinkpathDest(d,c)||n.metadataCache.getFirstLinkpathDest(d,"");if(f instanceof Gp.TFile){let h={event:m,source:s,hoverParent:r,targetEl:u,linktext:d,sourcePath:c||f.path};n.workspace.trigger("hover-link",h)}})}function Dc(r,e,t,n){let i=0,a;for(;(a=$et.exec(e))!==null;){let[o,l,c,d,u,p]=a,m=a.index;if(m>i&&r.appendChild(activeDocument.createTextNode(e.slice(i,m))),l){let f=l,h=f,g=f;if(f.includes("|")){let[v,k]=f.split("|");h=v,g=k}Dl(r,h,g,t)}else if(c&&d){let f=String(d).trim(),h=String(c).trim();jet(f)?obe(r,f,h):Dl(r,f,h,t)}else if(u||p){let f=String(u||p);obe(r,f,f)}else r.appendChild(activeDocument.createTextNode(o));i=m+o.length}let s=e.slice(i);if(s&&(n!=null&&n.onTagClick)){let o=/(^|\s)(#[\p{L}\p{N}\p{M}_/-]+)/gu,l=0,c;for(;(c=o.exec(s))!==null;){let[,d,u]=c,p=c.index;p>l&&r.appendChild(activeDocument.createTextNode(s.slice(l,p))),d&&r.appendChild(activeDocument.createTextNode(d));let m=r.createEl("a",{cls:"tag",text:u,attr:{href:u,role:"button",tabindex:"0","data-tn-click-exclude":"true"}});m.addEventListener("click",f=>{f.preventDefault(),f.stopPropagation(),n.onTagClick(u,f)}),m.addEventListener("keydown",f=>{(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),f.stopPropagation(),n.onTagClick(u,f))}),l=p+d.length+u.length}l<s.length&&r.appendChild(activeDocument.createTextNode(s.slice(l)))}else s&&r.appendChild(activeDocument.createTextNode(s))}function Bet(r){return!r||typeof r!="string"||!r.startsWith("[[")||!r.endsWith("]]")||r.startsWith("\\[[")||r.endsWith("\\]]")?!1:r.slice(2,-2).trim().length>0}function Uet(r){return!r||typeof r!="string"?!1:/^\[([^\]]*)\]\(([^)]+)\)$/.test(r)}function Het(r){let e=r.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(!e)return null;let t=e[1].trim(),n=e[2].trim(),i=jt(n);return{displayText:t,filePath:i}}function lbe(r,e,t){var u,p;let n=(u=t.sourcePath)!=null?u:"",i=jt(r),a=t.metadataCache.getFirstLinkpathDest(i,n)||t.metadataCache.getFirstLinkpathDest(i,"");if(!(a instanceof Gp.TFile))return e;let s=t.metadataCache.getCache(a.path),o=(p=s==null?void 0:s.frontmatter)==null?void 0:p.title;if(typeof o!="string"||o.trim().length===0)return e;let l=(e==null?void 0:e.trim())||"",c=a.name,d=a.basename;return l===""||l===c||l===d||l===a.path||l===i?o:e}function nb(r,e,t,n={}){r.innerHTML="",e.flat(2).filter(a=>a!=null&&typeof a=="string").forEach((a,s)=>{if(s>0&&r.appendChild(activeDocument.createTextNode(", ")),r.appendChild(activeDocument.createTextNode("+")),Bet(a)){let o=a.slice(2,-2),l=o,c=o;if(o.includes("|")){let u=o.split("|");l=u[0].trim(),c=u[1].trim()}let d=lbe(l,c,t);Dl(r,l,d,t,{cssClass:"task-card__project-link internal-link",hoverSource:"tasknotes-project-link",showErrorNotices:!0,onPrimaryNavigate:n.onPrimaryNavigate})}else if(Uet(a)){let o=Het(a);if(o){let l=lbe(o.filePath,o.displayText,t);Dl(r,o.filePath,l,t,{cssClass:"task-card__project-link internal-link",hoverSource:"tasknotes-project-link",showErrorNotices:!0,onPrimaryNavigate:n.onPrimaryNavigate})}else r.appendChild(activeDocument.createTextNode(a))}else r.appendChild(activeDocument.createTextNode(a))})}var Gp,sbe,$et,zet,Kp=y(()=>{Gp=require("obsidian");jn();G();sbe=I({tag:"Ui/Renderers/LinkRenderer"}),$et=/\[\[([^[\]]+)\]\]|\[([^\]]+)\]\(([^)]+)\)|<(https?:\/\/[^\s>]+)>|(https?:\/\/[^\s<>()]+[^\s<>().,;:!?])|\[([^\]]+)\]\s*\[([^\]]*)\]/g,zet=/^[a-z][a-z0-9+.-]*:/i});function cbe(r,e,t){if(!e||typeof e!="string")return;let n=Wet(e);if(!n)return;let i=r.createEl("a",{cls:"tag",text:n,attr:{href:n,role:"button",tabindex:"0","data-tn-click-exclude":"true"}});t!=null&&t.onTagClick&&(i.addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),t.onTagClick(n,a)}),i.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),a.stopPropagation(),t.onTagClick(n,a))}))}function pbe(r,e,t){if(typeof e=="string"){cbe(r,e,t);return}if(Array.isArray(e)){e.flat(2).filter(i=>i!=null&&typeof i=="string").forEach((i,a)=>{a>0&&r.appendChild(activeDocument.createTextNode(" ")),cbe(r,String(i),t)});return}e!=null&&r.appendChild(activeDocument.createTextNode(Z(e)))}function mbe(r,e,t){if(typeof e=="string"){dbe(r,e,t);return}if(Array.isArray(e)){e.flat(2).filter(i=>i!=null&&typeof i=="string").forEach((i,a)=>{a>0&&r.appendChild(activeDocument.createTextNode(", ")),dbe(r,i,t)||r.appendChild(activeDocument.createTextNode(String(i)))});return}e!=null&&r.appendChild(activeDocument.createTextNode(Z(e)))}function dbe(r,e,t){let n=Vet(e);if(t!=null&&t.linkServices&&qet(n)){let o=ube(n),l=r.createEl("span",{cls:`context-tag context-tag--link ${o}`,attr:{"data-tn-click-exclude":"true"}});return l.appendChild(activeDocument.createTextNode("@")),Dc(l,n,t.linkServices),!0}let i=Get(e);if(!i)return!1;let a=ube(i),s=r.createEl("span",{cls:`context-tag ${a}`,text:i,attr:{role:"button",tabindex:"0","data-tn-click-exclude":"true"}});return t!=null&&t.onTagClick&&(s.addEventListener("click",o=>{var l;o.preventDefault(),o.stopPropagation(),(l=t.onTagClick)==null||l.call(t,i,o)}),s.addEventListener("keydown",o=>{var l;(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),o.stopPropagation(),(l=t.onTagClick)==null||l.call(t,i,o))})),!0}function Vet(r){let e=r.trim();return e.startsWith("@")?e.slice(1).trim():e}function qet(r){return/\[\[[^[\]]+\]\]/.test(r)||/\[[^\]]+\]\([^)]+\)/.test(r)||/<https?:\/\/[^\s>]+>/i.test(r)||/https?:\/\/[^\s<>()]+[^\s<>().,;:!?]/i.test(r)}function Wet(r){if(!r||typeof r!="string")return null;let e=r.trim();if(!e)return null;let t=e.startsWith("#"),n=e.replace(/[^\p{L}\p{N}_#/-]/gu,"");return t?n.length>1?n:null:n?`#${n}`:null}function Yet(r){let e=5381;for(let t=0;t<r.length;t++)e=e*33^r.charCodeAt(t);return e>>>0}function ube(r){if(!r||typeof r!="string")return"context-tag--color-0";let e=r.replace(/^@/,"").toLowerCase();return e?`context-tag--color-${Yet(e)%20}`:"context-tag--color-0"}function Get(r){if(!r||typeof r!="string")return null;let e=r.trim();if(!e)return null;let t=e.startsWith("@"),n=e.replace(/[^\p{L}\p{N}_@/-]/gu,"");return t?n.length>1?n:null:n?`@${n}`:null}var fbe=y(()=>{gr();Kp()});function Zp(r,e,t){return r.i18n.translate(`ui.taskCard.${e}`,t)}function Ket(r){if(r.setAttribute("role","button"),r.tabIndex=0,r.dataset.tnNoDrag==="true"){r.setAttribute("draggable","false");return}r.dataset.tnNoDrag="true",r.setAttribute("draggable","false"),r.addEventListener("mousedown",e=>{e.preventDefault(),e.stopPropagation()}),r.addEventListener("keydown",e=>{e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),r.click())})}function Zet(r){return(Array.isArray(r)?r:r?[r]:[]).filter(t=>typeof t=="string").map(t=>t.trim()).filter(Boolean)}function Qet(r,e){let t=r.start?Ti(r.start,{userTimeFormat:e.settings.calendarViewSettings.timeFormat}):"";return t?`${r.title} (${t})`:r.title}function hbe(r){var e;return((e=r.split("/").pop())==null?void 0:e.replace(/\.md$/i,""))||r}function Jet(r,e,t){let n=ts(r);if(n){let i=wl(t.app,e.path,n),a=(i==null?void 0:i.path)||n.uid;return a?{path:a,displayText:(i==null?void 0:i.file.basename)||hbe(a)}:null}if(typeof r=="object"&&r!==null){let i=r.path;if(typeof i=="string"&&i.trim()!=="")return{path:i.trim(),displayText:hbe(i)}}return null}function bbe(r,e,t,n){Ket(r),r.addEventListener("click",i=>{i.stopPropagation();let a=n==="due"?e.due:e.scheduled;new Zs({currentValue:ke(a||""),currentTime:_a(a||""),onSelect:(o,l)=>{(async()=>{try{let c;o?l?c=`${o}T${l}`:c=o:c=void 0,await t.updateTaskProperty(e,n,c)}catch(c){let d=c instanceof Error?c.message:String(c);xH.error(`Error updating ${n} date:`,{category:"persistence",operation:"updating",details:{value:d}});let u=n==="due"?"contextMenus.task.notices.updateDueDateFailure":"contextMenus.task.notices.updateScheduledFailure";new ib.Notice(t.i18n.translate(u,{message:d}))}})()},dateRole:n,plugin:t,app:t.app}).show(i)})}function Tbe(r){let e=[...Sx,"tags","blocked","blocking","googleCalendarSync"];return Ra(e,r)}function Xet(r,e){let t=e.app.vault.getAbstractFileByPath(r);if(!(t instanceof ib.TFile))return null;let n=e.app.metadataCache.getFileCache(t);return ett(n)}function ett(r){if(r==null)return null;let e=r.listItems;if(!Array.isArray(e)||e.length===0)return null;let t=0,n=0;for(let i of e)!i||typeof i.task!="string"||typeof i.parent=="number"&&i.parent>=0||(t+=1,i.task.toLowerCase()==="x"&&(n+=1));return t===0?null:{completed:n,total:t,percent:Math.round(n/t*100)}}function kbe(r,e,t,n,i={}){let a=kH(t,e,n);if(!nI(a))return null;let s=r.createEl("span",{cls:`task-card__metadata-property task-card__metadata-property--${e.replace(":","-")}`});try{let l=n.fieldMapper.lookupMappingKey(e)||e;return l in gbe?gbe[l](s,a,t,n,i):e.startsWith("user:")?ttt(s,e,a,n):rtt(s,e,a,n,Cc(e,n,i.propertyLabels)),!s.textContent&&!s.hasChildNodes()?(s.remove(),null):s}catch(o){return xH.warn(`TaskCard: Error rendering property ${e}:`,{category:"persistence",operation:"taskcard-rendering-property",error:o}),s.textContent=`${e}: (error)`,s}}function nI(r){return!Ex(r)}function ttt(r,e,t,n){var c;let i=e.slice(5),a=(c=n.settings.userFields)==null?void 0:c.find(d=>d.id===i);if(!a){r.textContent=`${i}: (not found)`;return}let s=a.displayName||i;r.createEl("span",{text:`${s}: `});let o=r.createEl("span",{cls:"task-card__metadata-value"}),l={metadataCache:n.app.metadataCache,workspace:n.app.workspace};if(typeof t=="string"&&t.trim()!==""){let d=t.trim();EH(d)?Dc(o,d,l):o.textContent=vbe(t,a)}else if(a.type==="list"&&Array.isArray(t))t.map(u=>Tu(u)).filter(nI).forEach((u,p)=>{if(p>0&&o.appendChild(activeDocument.createTextNode(", ")),typeof u=="string"&&u.trim()!==""){let m=u.trim();if(EH(m)){let f=o.createEl("span");Dc(f,m,l)}else o.appendChild(activeDocument.createTextNode(String(u)))}else o.appendChild(activeDocument.createTextNode(String(u)))});else{let d=vbe(t,a);o.textContent=d.trim()!==""?d:"(empty)"}}function rtt(r,e,t,n,i){let a=eI(e,{},i);r.createEl("span",{text:`${a}: `});let s=r.createEl("span",{cls:"task-card__metadata-value"});Array.isArray(t)?t.map(l=>Tu(l)).filter(nI).forEach((l,c)=>{c>0&&s.appendChild(activeDocument.createTextNode(", ")),ybe(s,l,n)}):ybe(s,t,n)}function ybe(r,e,t){if(!nI(e)||t&&XA(r,e,t.app.renderContext))return;if(typeof e=="string"&&t){let i={metadataCache:t.app.metadataCache,workspace:t.app.workspace};if(EH(e)){Dc(r,e,i,{onTagClick:async a=>{let s=a.startsWith("#")?a.slice(1):a;await t.openTagsPane(`#${s}`)}});return}r.appendChild(activeDocument.createTextNode(e));return}let n;if(typeof e=="object"&&e!==null)if(e instanceof Date)n=Ti(e.toISOString(),{dateFormat:"MMM d, yyyy",timeFormat:"",showTime:!1});else{let i=Object.entries(e);n=i.length<=3?i.map(([a,s])=>`${a}: ${Z(s)}`).join(", "):Z(e)}else typeof e=="boolean"?n=e?"\u2713":"\u2717":typeof e=="number"?n=Number.isInteger(e)?String(e):e.toFixed(2):n=Z(e);n.length>100&&(n=n.substring(0,97)+"..."),r.appendChild(activeDocument.createTextNode(n))}function EH(r){return r.includes("[[")||r.includes("](")||/<https?:\/\/[^\s>]+>/i.test(r)||/(^|\s)https?:\/\/[^\s<>()]+/i.test(r)||r.includes("[")&&r.includes("](")||r.includes("#")&&/\s#\w+|#\w+/.test(r)}function vbe(r,e){if(r==null)return"";try{switch(e.type){case"text":case"number":return Z(r);case"date":return Ti(Z(r),{dateFormat:"MMM d, yyyy",timeFormat:"",showTime:!1});case"boolean":return r?"\u2713":"\u2717";case"list":return Array.isArray(r)?r.flat(2).map(Z).join(", "):Z(r);default:return Z(r)}}catch(t){return xH.warn("TaskCard: Error formatting user property value:",{category:"validation",operation:"taskcard-formatting-user-property-value",error:t}),Z(r)}}function rI(r){let e=Number(ke(r).slice(0,4));return Number.isInteger(e)&&e!==new Date().getFullYear()?"MMM d, yyyy":"MMM d"}function ntt(r,e,t,n,i){var p,m;let a=I_(e),s=n.statusManager.isCompletedStatus(t.status),o=(m=(p=n.settings)==null?void 0:p.hideCompletedFromOverdue)!=null?m:!0,l=iu(e,s,o),c=n.settings.calendarViewSettings.timeFormat,d=Cc("due",n,i),u="";if(a){let f=Ti(e,{dateFormat:"",showTime:!0,userTimeFormat:c});u=f.trim()===""?Zp(n,"dueToday",{label:d}):Zp(n,"dueTodayAt",{label:d,time:f})}else if(l){let f=Ti(e,{dateFormat:rI(e),showTime:!0,userTimeFormat:c});u=Zp(n,"dueOverdue",{label:d,display:f})}else{let f=Ti(e,{dateFormat:rI(e),showTime:!0,userTimeFormat:c});u=Zp(n,"dueLabel",{label:d,display:f})}r.textContent=u,r.classList.add("task-card__metadata-date","task-card__metadata-date--due"),l&&r.classList.add("task-card__metadata-date--overdue"),r.dataset.tnAction="edit-date",r.dataset.tnDateType="due",bbe(r,t,n,"due")}function itt(r,e,t,n,i){var p,m;let a=I_(e),s=n.statusManager.isCompletedStatus(t.status),o=(m=(p=n.settings)==null?void 0:p.hideCompletedFromOverdue)!=null?m:!0,l=iu(e,s,o),c=n.settings.calendarViewSettings.timeFormat,d=Cc("scheduled",n,i),u="";if(a){let f=Ti(e,{dateFormat:"",showTime:!0,userTimeFormat:c});u=f.trim()===""?Zp(n,"scheduledToday",{label:d}):Zp(n,"scheduledTodayAt",{label:d,time:f})}else if(l){let f=Ti(e,{dateFormat:rI(e),showTime:!0,userTimeFormat:c});u=Zp(n,"scheduledPast",{label:d,display:f})}else{let f=Ti(e,{dateFormat:rI(e),showTime:!0,userTimeFormat:c});u=Zp(n,"scheduledLabel",{label:d,display:f})}r.textContent=u,r.classList.add("task-card__metadata-date","task-card__metadata-date--scheduled"),l&&r.classList.add("task-card__metadata-date--past"),r.dataset.tnAction="edit-date",r.dataset.tnDateType="scheduled",bbe(r,t,n,"scheduled")}function wbe(r,e){r.style.display=e.length>0?"":"none"}var ib,xH,gbe,Sbe=y(()=>{ib=require("obsidian");Nh();Rh();Ct();qp();Ne();gr();xc();xx();SH();Kp();fbe();ko();G();xH=I({tag:"Ui/TaskCardProperties"});gbe={due:(r,e,t,n,i)=>{typeof e=="string"&&ntt(r,e,t,n,i==null?void 0:i.propertyLabels)},scheduled:(r,e,t,n,i)=>{typeof e=="string"&&itt(r,e,t,n,i==null?void 0:i.propertyLabels)},projects:(r,e,t,n)=>{if(Array.isArray(e)){let i={metadataCache:n.app.metadataCache,workspace:n.app.workspace,sourcePath:t.path};nb(r,e,i)}},contexts:(r,e,t,n)=>{if(Array.isArray(e)){let i={onTagClick:async a=>{let s=a.startsWith("@")?a.slice(1):a;await n.openTagsPane(`#${s}`)},linkServices:{metadataCache:n.app.metadataCache,workspace:n.app.workspace,sourcePath:t.path}};mbe(r,e,i)}},tags:(r,e,t,n)=>{if(Array.isArray(e)){let i=e;n.settings.taskIdentificationMethod==="tag"&&n.settings.hideIdentifyingTagsInCards&&(i=bu(e,n.settings.taskTag,n.settings.hideIdentifyingTagsMode)),i.length>0&&pbe(r,i,{onTagClick:async s=>{let o=s.startsWith("#")?s.slice(1):s;await n.openTagsPane(`#${o}`)}})}},timeEstimate:(r,e,t,n)=>{typeof e=="number"&&(r.textContent=`${n.formatTime(e)} estimated`)},totalTrackedTime:(r,e,t,n)=>{typeof e=="number"&&e>0&&(r.textContent=`${n.formatTime(e)} tracked`)},recurrence:(r,e,t,n,i)=>{typeof e=="string"&&(r.textContent=Cx(n,e,i==null?void 0:i.propertyLabels))},recurrenceParent:(r,e,t,n)=>{if(typeof e=="string"&&e.trim()!==""){r.createEl("span",{text:"Parent: "});let i={metadataCache:n.app.metadataCache,workspace:n.app.workspace,sourcePath:t.path};Dc(r,e,i)}},occurrenceDate:(r,e,t,n)=>{var i;typeof e=="string"&&(r.textContent=`Occurrence: ${Ti(e,{dateFormat:"MMM d",showTime:!1,userTimeFormat:(i=n.settings.calendarViewSettings)==null?void 0:i.timeFormat})}`,r.classList.add("task-card__metadata-pill--occurrence"))},occurrenceMaterialization:(r,e)=>{e==="manual"?r.textContent="Occurrence notes: manual":e==="on_completion"?r.textContent="Occurrence notes: after completion":e==="rolling"&&(r.textContent="Occurrence notes: rolling")},occurrenceNextTrigger:(r,e)=>{e==="completion"?r.textContent="Next note: completion":e==="completion_or_skip"&&(r.textContent="Next note: completion or skip")},occurrenceTemplate:(r,e,t,n)=>{if(typeof e=="string"&&e.trim()!==""){r.createEl("span",{text:"Template: "});let i={metadataCache:n.app.metadataCache,workspace:n.app.workspace,sourcePath:t.path};Dc(r,e,i)}},completeInstances:(r,e,t)=>{var n;if(Array.isArray(e)&&e.length>0){let i=e.length,a=((n=t.skipped_instances)==null?void 0:n.length)||0,s=zpe(t);if(s){let o=Math.max(s,i+a),l=Math.round(i/o*100);r.textContent=`\u2713 ${i}/${o} completed (${l}%)`}else r.textContent=`\u2713 ${i} completed`;r.classList.add("task-card__metadata-pill--completed-instances")}},skippedInstances:(r,e)=>{Array.isArray(e)&&e.length>0&&(r.textContent=`\u2298 ${e.length} skipped`,r.classList.add("task-card__metadata-pill--skipped-instances"))},completedDate:(r,e,t,n,i)=>{if(typeof e=="string"){let a=Cc("completedDate",n,i==null?void 0:i.propertyLabels);r.textContent=`${a}: ${Ti(e,{dateFormat:"MMM d",showTime:!1,userTimeFormat:n.settings.calendarViewSettings.timeFormat})}`}},dateCreated:(r,e,t,n,i)=>{if(typeof e=="string"){let a=Cc("dateCreated",n,i==null?void 0:i.propertyLabels);r.textContent=`${a}: ${Ti(e,{dateFormat:"MMM d",showTime:!1,userTimeFormat:n.settings.calendarViewSettings.timeFormat})}`}},dateModified:(r,e,t,n,i)=>{if(typeof e=="string"){let a=Cc("dateModified",n,i==null?void 0:i.propertyLabels);r.textContent=`${a}: ${Ti(e,{dateFormat:"MMM d",showTime:!1,userTimeFormat:n.settings.calendarViewSettings.timeFormat})}`}},blocked:(r,e,t,n,i)=>{var a,s;if(e===!0){let o=(s=(a=t.blockedBy)==null?void 0:a.length)!=null?s:0,l=Cc("blocked",n,i==null?void 0:i.propertyLabels);r.textContent=o>0?`${l} (${o})`:l,r.classList.add("task-card__metadata-pill--blocked")}},blocking:(r,e,t,n,i)=>{var a,s;if(e===!0){let o=(s=(a=t.blocking)==null?void 0:a.length)!=null?s:0,l=Cc("blocking",n,i==null?void 0:i.propertyLabels);r.textContent=o>0?`${l} (${o})`:l,r.classList.add("task-card__metadata-pill--blocking")}},blockedBy:(r,e,t,n)=>{if(Array.isArray(e)&&e.length>0){r.createEl("span",{text:"Blocked by: "});let i=r.createEl("span"),a={metadataCache:n.app.metadataCache,workspace:n.app.workspace,sourcePath:t.path};e.forEach((s,o)=>{o>0&&i.appendChild(activeDocument.createTextNode(", "));let l=Jet(s,t,n);l&&Dl(i,l.path,l.displayText,a)})}},blockingTasks:(r,e,t,n)=>{if(Array.isArray(e)&&e.length>0){r.createEl("span",{text:"Blocking: "});let i=r.createEl("span");e.forEach((a,s)=>{var l;s>0&&i.appendChild(activeDocument.createTextNode(", "));let o=i.createEl("a",{cls:"internal-link",attr:{href:a}});o.textContent=((l=a.split("/").pop())==null?void 0:l.replace(".md",""))||a,o.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),n.app.workspace.openLinkText(a,"",!1)})})}},timeEntries:(r,e,t,n)=>{if(Array.isArray(e)&&e.length>0){let i=Aa(e);i>0&&(r.textContent=`${n.formatTime(i)} tracked (${e.length} ${e.length===1?"entry":"entries"})`)}},reminders:(r,e)=>{Array.isArray(e)&&e.length>0&&(r.textContent=`${e.length} ${e.length===1?"reminder":"reminders"}`)},icsEventId:(r,e,t,n)=>{let i=Zet(e);if(i.length===0)return;let a=i.map(s=>{var o;return(o=n.icsNoteService.findEventById(s))==null?void 0:o.event}).filter(s=>!!s).map(s=>Qet(s,n));a.length>0?r.textContent=`Calendar: ${a.join(", ")}`:r.textContent=`Linked to ${i.length} calendar ${i.length===1?"event":"events"}`},checklistProgress:(r,e,t,n)=>{let i=Xet(t.path,n);if(!i)return;let a=r.createEl("span",{cls:"task-card__progress"}),o=a.createEl("span",{cls:"task-card__progress-bar"}).createEl("span",{cls:"task-card__progress-fill"});o.style.width=`${i.percent}%`,i.percent>0&&i.percent<5&&(o.classList.remove("tn-static-min-width-0-3922d326"),o.classList.add("tn-static-min-width-2px-709d7da0")),a.createEl("span",{cls:"task-card__progress-label",text:`${i.completed}/${i.total}`}),(0,ib.setTooltip)(a,`${i.percent}% complete (${i.completed}/${i.total})`,{placement:"top"})}}});function att(r){if(typeof r=="number")return r===1?"show-all":"inherit";let e=Z(r).trim().toLowerCase().replace(/^['"]|['"]$/g,"").replace(/[_\s]+/g,"-");return e==="show-all"||e==="1"?"show-all":"inherit"}function iI(r,e={}){var i,a;if(att((a=(i=e.resolveExpandedRelationshipFilterMode)==null?void 0:i.call(e))!=null?a:e.expandedRelationshipFilterMode)!=="inherit")return r;let n=e.expandedRelationshipTaskPaths;return n?r.filter(s=>n.has(s.path)):r}function Ebe(r,e={},t){let n=e.expandedRelationshipTaskOrder;if(!n||n.size===0)return t([...r]);let i=[],a=[];for(let s of r)n.has(s.path)?i.push(s):a.push(s);return i.sort((s,o)=>{let l=n.get(s.path),c=n.get(o.path);return l===void 0||c===void 0?0:l-c}),[...i,...t([...a])]}function Oh(r,e){let t=Array.isArray(r.blockedBy)?r.blockedBy:[],n=new Set;for(let i of t){let a=ts(i);if(!a)continue;let s=wl(e,r.path,a),o=(s==null?void 0:s.path)||a.uid;o&&n.add(o)}return Array.from(n)}var aI=y(()=>{ko();gr()});function Pl(r){if(r.setAttribute("role","button"),r.tabIndex=0,r.dataset.tnNoDrag==="true"){r.setAttribute("draggable","false");return}r.dataset.tnNoDrag="true",r.setAttribute("draggable","false"),r.addEventListener("mousedown",e=>{e.preventDefault(),e.stopPropagation()}),r.addEventListener("keydown",e=>{e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),r.click())})}function Pc(r){let{container:e,className:t,icon:n,tooltip:i,ariaLabel:a,onClick:s,visible:o=!0}=r;if(!o)return null;let l=e.createEl("div",{cls:t,attr:{"aria-label":a||i}});return(0,Dx.setIcon)(l,n),(0,Dx.setTooltip)(l,i,{placement:"top"}),s&&(Pl(l),l.addEventListener("click",c=>{c.stopPropagation(),s(c)})),l}function Lh(r,e,t){let n=r.querySelector(e);if(!t.shouldExist)return n==null||n.remove(),null;if(n)return n.setAttribute("aria-label",t.ariaLabel||t.tooltip),(0,Dx.setTooltip)(n,t.tooltip,{placement:"top"}),t.onClick&&Pl(n),n;let a=r.querySelector(".task-card__badges")||r.querySelector(".task-card__main-row");return a?Pc({container:a,...t}):null}var Dx,Px=y(()=>{Dx=require("obsidian")});var xbe={};et(xbe,{PriorityContextMenu:()=>ku});var ku,Mx=y(()=>{du();ku=class{constructor(e){this.targetDoc=activeDocument;this.menu=new ki,this.options=e,this.buildMenu()}buildMenu(){this.sortedPriorities=this.options.plugin.priorityManager.getPrioritiesByWeightAsc(),this.sortedPriorities.forEach(e=>{this.menu.addItem(t=>{let n=e.label;t.setIcon("star"),e.value===this.options.currentValue&&(n=`\u2713 ${e.label}`),t.setTitle(n),t.onClick(async()=>{this.options.onSelect(e.value)})})})}show(e){var t,n;(n=(t=e.target)==null?void 0:t.instanceOf)!=null&&n.call(t,HTMLElement)&&(this.targetDoc=e.target.ownerDocument),this.menu.show(e),window.setTimeout(()=>{this.applyColorStyling()},10)}showAtElement(e){this.targetDoc=e.ownerDocument,this.menu.showAtPosition({x:e.getBoundingClientRect().left,y:e.getBoundingClientRect().bottom+4}),window.setTimeout(()=>{this.applyColorStyling()},10)}applyColorStyling(){let e=this.targetDoc.querySelector(".menu");if(!e)return;let t=e.querySelectorAll(".menu-item");this.sortedPriorities.forEach((n,i)=>{let a=t[i];if(a&&n.color){let s=a.querySelector(".menu-item-icon");s&&(s.style.color=n.color)}})}}});var Ibe={};et(Ibe,{RecurrenceContextMenu:()=>Ml,buildCustomRecurrenceRule:()=>Abe,buildRecurrenceOptions:()=>_be,buildWeekdaysOnlyRecurrenceRule:()=>oI,formatDateForDTSTART:()=>Mbe,formatDateForInput:()=>DH,getMonthDayOptions:()=>PH,getOrderedRecurrenceWeekdays:()=>Dbe,getPluginCalendarLocale:()=>Ax,getRecurrenceStartDate:()=>_x,getWeekdayOnlyRRuleCodes:()=>Pbe});function Cbe(r){if(r)try{let e=Intl.Locale;return e?new e(r).weekInfo:void 0}catch(e){return}}function stt(r,e){var n;if(typeof r=="number"&&Number.isInteger(r)&&r>=0&&r<=6)return r;let t=(n=Cbe(e))==null?void 0:n.firstDay;return typeof t=="number"?t%7:1}function Ax(r){var n,i,a;let e=(a=(i=(n=r.settings)==null?void 0:n.calendarViewSettings)==null?void 0:i.locale)==null?void 0:a.trim();if(e)return e;let t=typeof navigator!="undefined"?navigator.language:"";if(t)return t;try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(s){return}}function Dbe(r,e){let t=stt(r,e),n=sI.findIndex(a=>a.dateIndex===t),i=n>=0?n:1;return[...sI.slice(i),...sI.slice(0,i)]}function Pbe(r){var i,a;let e=(a=(i=Cbe(r))==null?void 0:i.weekend)==null?void 0:a.map(s=>s%7).filter(s=>s>=0&&s<=6);if(!e||e.length===0)return["MO","TU","WE","TH","FR"];let t=new Set(e),n=sI.filter(s=>!t.has(s.dateIndex)).map(s=>s.code);return n.length>0&&n.length<7?n:["MO","TU","WE","TH","FR"]}function oI(r,e){return`DTSTART:${r};FREQ=WEEKLY;BYDAY=${Pbe(e).join(",")}`}function _x(r,e=new Date){let t=r==null?void 0:r.match(/^(\d{4})-(\d{2})-(\d{2})/);if(!t)return e;let n=parseInt(t[1],10),i=parseInt(t[2],10),a=parseInt(t[3],10),s=new Date(n,i-1,a);return s.getFullYear()!==n||s.getMonth()!==i-1||s.getDate()!==a?e:s}function Mbe(r){let e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}${t}${n}`}function DH(r){let e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}-${t}-${n}`}function ott(r){if(!(r!=null&&r.includes("T")))return;let e=r.match(/T(\d{2}):(\d{2})/);if(e)return`${e[1]}${e[2]}00Z`}function CH(r){let e=["th","st","nd","rd"],t=r%100;return r+(e[(t-20)%10]||e[t]||e[0])}function _be(r){let e=[],t=_x(r.scheduledDate),n=["SU","MO","TU","WE","TH","FR","SA"],i=["January","February","March","April","May","June","July","August","September","October","November","December"],a=n[t.getDay()],s=t.getDate(),o=t.getMonth()+1,l=i[t.getMonth()],c=t.toLocaleDateString(r.calendarLocale||void 0,{weekday:"long"}),d=Mbe(t);if(r.currentValue){let u=r.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}`}}else{let u=ott(r.scheduledDate);u&&(d=`${d}T${u}`)}return e.push({label:r.translate("components.recurrenceContextMenu.daily"),value:`DTSTART:${d};FREQ=DAILY;INTERVAL=1`,icon:"calendar-days"}),e.push({label:r.translate("components.recurrenceContextMenu.weeklyOn",{day:c}),value:`DTSTART:${d};FREQ=WEEKLY;INTERVAL=1;BYDAY=${a}`,icon:"calendar"}),e.push({label:r.translate("components.recurrenceContextMenu.everyTwoWeeksOn",{day:c}),value:`DTSTART:${d};FREQ=WEEKLY;INTERVAL=2;BYDAY=${a}`,icon:"calendar"}),e.push({label:r.translate("components.recurrenceContextMenu.monthlyOnThe",{ordinal:CH(s)}),value:`DTSTART:${d};FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=${s}`,icon:"calendar-range"}),e.push({label:r.translate("components.recurrenceContextMenu.everyThreeMonthsOnThe",{ordinal:CH(s)}),value:`DTSTART:${d};FREQ=MONTHLY;INTERVAL=3;BYMONTHDAY=${s}`,icon:"calendar-range"}),e.push({label:r.translate("components.recurrenceContextMenu.yearlyOn",{month:l,ordinal:CH(s)}),value:`DTSTART:${d};FREQ=YEARLY;INTERVAL=1;BYMONTH=${o};BYMONTHDAY=${s}`,icon:"calendar-clock"}),e.push({label:r.translate("components.recurrenceContextMenu.weekdaysOnly"),value:oI(d,r.calendarLocale),icon:"briefcase"}),e.push({label:"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",value:"",icon:void 0}),e.push({label:r.translate("components.recurrenceContextMenu.dailyAfterCompletion"),value:`DTSTART:${d};FREQ=DAILY;INTERVAL=1`,icon:"calendar-days",anchor:"completion"}),e.push({label:r.translate("components.recurrenceContextMenu.every3DaysAfterCompletion"),value:`DTSTART:${d};FREQ=DAILY;INTERVAL=3`,icon:"calendar-days",anchor:"completion"}),e.push({label:r.translate("components.recurrenceContextMenu.weeklyAfterCompletion"),value:`DTSTART:${d};FREQ=WEEKLY;INTERVAL=1`,icon:"calendar",anchor:"completion"}),e.push({label:r.translate("components.recurrenceContextMenu.monthlyAfterCompletion"),value:`DTSTART:${d};FREQ=MONTHLY;INTERVAL=1`,icon:"calendar-range",anchor:"completion"}),e}function Abe(r){let e=[],t=r.recurrenceAnchor==="completion";if(r.dtstart){let n=r.dtstart.replace(/-/g,"");if(r.dtstartTime){let i=r.dtstartTime.replace(":","")+"00";n=`${n}T${i}`}e.push(`DTSTART:${n}`)}switch(e.push(`FREQ=${r.frequency}`),r.interval>1&&e.push(`INTERVAL=${r.interval}`),r.frequency){case"DAILY":!t&&r.byDay.length>0&&e.push(`BYDAY=${r.byDay.join(",")}`);break;case"WEEKLY":!t&&r.byDay.length>0&&e.push(`BYDAY=${r.byDay.join(",")}`);break;case"MONTHLY":if(t)break;if(r.monthlyType==="bydate"){let n=r.byMonthDay.length>0?r.byMonthDay[0]:new Date().getDate();e.push(`BYMONTHDAY=${n}`)}else if(r.monthlyType==="byday"&&r.byDay.length>0){let n=r.bySetPos||1;e.push(`BYDAY=${n}${r.byDay[0]}`)}break;case"YEARLY":if(t)break;if(r.yearlyType==="bydate"){let n=r.byMonth.length>0?r.byMonth[0]:new Date().getMonth()+1,i=r.byMonthDay.length>0?r.byMonthDay[0]:new Date().getDate();e.push(`BYMONTH=${n}`),e.push(`BYMONTHDAY=${i}`)}else if(r.yearlyType==="byday"){let n=r.byMonth.length>0?r.byMonth[0]:new Date().getMonth()+1;if(e.push(`BYMONTH=${n}`),r.byDay.length>0){let i=r.bySetPos||1;e.push(`BYDAY=${i}${r.byDay[0]}`)}}break}switch(r.endType){case"count":r.count&&r.count>0&&e.push(`COUNT=${r.count}`);break;case"until":r.until&&e.push(`UNTIL=${r.until.replace(/-/g,"")}`);break}return e.join(";")}function PH(){return[...Array.from({length:31},(r,e)=>{let t=e+1;return{value:t.toString(),text:t.toString()}}),{value:"-1",text:"Last day"}]}var Io,sI,Ml,MH,ab=y(()=>{Io=require("obsidian");du();yx();sI=[{dateIndex:0,code:"SU",nameKey:"sunday",shortKey:"sun"},{dateIndex:1,code:"MO",nameKey:"monday",shortKey:"mon"},{dateIndex:2,code:"TU",nameKey:"tuesday",shortKey:"tue"},{dateIndex:3,code:"WE",nameKey:"wednesday",shortKey:"wed"},{dateIndex:4,code:"TH",nameKey:"thursday",shortKey:"thu"},{dateIndex:5,code:"FR",nameKey:"friday",shortKey:"fri"},{dateIndex:6,code:"SA",nameKey:"saturday",shortKey:"sat"}];Ml=class{constructor(e){this.menu=new ki,this.options=e,this.translate=e.plugin.i18n.translate.bind(e.plugin.i18n),this.buildMenu()}buildMenu(){this.getRecurrenceOptions().forEach(t=>{if(t.label.startsWith("\u2500")){this.menu.addSeparator();return}this.menu.addItem(n=>{let i=t.label;t.icon&&n.setIcon(t.icon),t.value===this.options.currentValue&&(i=`\u2713 ${t.label}`),n.setTitle(i),n.onClick(async()=>{let a=t.anchor||"scheduled";this.options.onSelect(t.value,a)})})}),this.menu.addSeparator(),this.menu.addItem(t=>{t.setTitle(this.translate("components.recurrenceContextMenu.customRecurrence")),t.setIcon("settings"),t.onClick(async()=>{this.showCustomRecurrenceModal()})}),this.options.currentValue&&this.menu.addItem(t=>{t.setTitle(this.translate("components.recurrenceContextMenu.clearRecurrence")),t.setIcon("x"),t.onClick(async()=>{this.options.onSelect(null)})})}getRecurrenceOptions(){return _be({currentValue:this.options.currentValue,scheduledDate:this.options.scheduledDate,calendarLocale:Ax(this.options.plugin),translate:this.translate})}showCustomRecurrenceModal(){new MH(this.options.app,this.options.currentValue||"",this.options.currentAnchor||"scheduled",this.options.scheduledDate,this.options.plugin,(e,t)=>{e&&this.options.onSelect(e,t)}).open()}show(e){this.menu.show(e)}},MH=class extends Io.Modal{constructor(t,n,i,a,s,o){super(t);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=n,this.recurrenceAnchor=i,this.scheduledDate=a,this.plugin=s,this.translate=s.i18n.translate.bind(s.i18n),this.onSubmit=o,this.parseCurrentValue()}parseCurrentValue(){if(!this.currentValue){if(this.dtstart=DH(_x(this.scheduledDate)),this.scheduledDate&&this.scheduledDate.includes("T")){let n=this.scheduledDate.match(/T(\d{2}):(\d{2})/);n&&(this.dtstartTime=`${n[1]}:${n[2]}`)}return}let t=this.currentValue.split(";");for(let n of t){let i=n.includes(":")&&n.startsWith("DTSTART")?":":"=",[a,s]=n.split(i);switch(a){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=DH(_x(this.scheduledDate)):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}}}onOpen(){var xn,Os;let{contentEl:t}=this;t.empty();let n=Ax(this.plugin),i=(Os=(xn=this.plugin.settings)==null?void 0:xn.calendarViewSettings)==null?void 0:Os.firstDay,a=Dbe(i,n),s=_x(this.scheduledDate);t.createEl("h2",{text:this.translate("components.recurrenceContextMenu.customRecurrenceModal.title")}),new Io.Setting(t).setName("Start date").setDesc("The date when the recurrence pattern begins").addText(ae=>{ae.inputEl.type="date",ae.setValue(this.dtstart).onChange(xe=>{this.dtstart=xe}),Sc(ae.inputEl,{onCommit:xe=>{this.dtstart=xe}})}),new Io.Setting(t).setName("Start time").setDesc("The time when recurring instances should appear (optional)").addText(ae=>{ae.inputEl.type="time",ae.setValue(this.dtstartTime).onChange(xe=>{this.dtstartTime=xe})}),new Io.Setting(t).setName("Recur from").setDesc("When should the next occurrence be calculated from?").addDropdown(ae=>{ae.addOption("scheduled","Scheduled date (fixed schedule)").addOption("completion","Completion date (flexible schedule)").setValue(this.recurrenceAnchor).onChange(xe=>{this.recurrenceAnchor=xe,this.updateFrequencySpecificVisibility()})}),new Io.Setting(t).setName("Frequency").addDropdown(ae=>{ae.addOption("DAILY","Daily").addOption("WEEKLY","Weekly").addOption("MONTHLY","Monthly").addOption("YEARLY","Yearly").setValue(this.frequency).onChange(xe=>{this.frequency=xe,this.updateFrequencySpecificVisibility()})}),new Io.Setting(t).setName("Interval").setDesc("Every X days/weeks/months/years").addText(ae=>{ae.setValue(this.interval.toString()).onChange(xe=>{this.interval=parseInt(xe)||1})});let o=new Io.Setting(t).setName("Days of week").setDesc("Select specific days (for daily or weekly recurrence)"),l=o.controlEl.createDiv("days-container");a.map(ae=>({key:ae.code,label:this.translate(`components.recurrenceContextMenu.customRecurrenceModal.weekdaysShort.${ae.shortKey}`)})).forEach(ae=>{let xe=l.createEl("label",{cls:"day-checkbox"});xe.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),xe.classList.add("tn-static-display-inline-block-60e32dcb"),xe.classList.remove("tn-static-margin-right-4px-c6b76b85"),xe.classList.add("tn-static-margin-right-8px-539fa9a0");let gn=xe.createEl("input",{type:"checkbox"});gn.checked=this.byDay.includes(ae.key),gn.addEventListener("change",()=>{gn.checked?this.byDay.includes(ae.key)||this.byDay.push(ae.key):this.byDay=this.byDay.filter(Uf=>Uf!==ae.key)}),xe.createSpan({text:` ${ae.label}`})});let d=new Io.Setting(t).setName("Monthly recurrence").setDesc("Choose how to repeat monthly"),u=d.controlEl.createDiv("monthly-options"),p=u.createEl("label",{cls:"radio-option"});p.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),p.classList.add("tn-static-display-block-2a1b75c9"),p.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),p.classList.add("tn-static-margin-bottom-8px-fdf33f23");let m=p.createEl("input",{type:"radio",value:"bydate"});m.name="monthly-type",m.checked=this.byMonthDay.length>0||this.byDay.length===0&&this.bySetPos===void 0,p.createSpan({text:" On "});let f=p.createEl("select");f.classList.add("tn-static-margin-left-4px-46cec891"),f.classList.remove("tn-static-margin-right-8px-539fa9a0"),f.classList.add("tn-static-margin-right-4px-c6b76b85");for(let ae of PH()){let xe=f.createEl("option",{value:ae.value,text:ae.text}),gn=parseInt(ae.value,10);(this.byMonthDay.length>0&&this.byMonthDay[0]===gn||this.byMonthDay.length===0&&gn===s.getDate())&&(xe.selected=!0)}p.createSpan({text:" of each month"});let h=u.createEl("label",{cls:"radio-option"});h.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),h.classList.add("tn-static-display-block-2a1b75c9"),h.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),h.classList.add("tn-static-margin-bottom-8px-fdf33f23");let g=h.createEl("input",{type:"radio",value:"byday"});g.name="monthly-type",g.checked=this.byDay.length>0&&this.bySetPos!==void 0,h.createSpan({text:" On the "});let v=h.createEl("select");v.classList.add("tn-static-margin-left-4px-46cec891"),v.classList.remove("tn-static-margin-right-8px-539fa9a0"),v.classList.add("tn-static-margin-right-4px-c6b76b85");let k=[{value:"1",text:"first"},{value:"2",text:"second"},{value:"3",text:"third"},{value:"4",text:"fourth"},{value:"-1",text:"last"}];k.forEach(ae=>{let xe=v.createEl("option",{value:ae.value,text:ae.text});(this.bySetPos===parseInt(ae.value)||!this.bySetPos&&ae.value==="1")&&(xe.selected=!0)});let b=h.createEl("select");b.classList.add("tn-static-margin-left-4px-46cec891"),b.classList.remove("tn-static-margin-right-8px-539fa9a0"),b.classList.add("tn-static-margin-right-4px-c6b76b85");let w=a.map(ae=>({value:ae.code,text:this.translate(`components.recurrenceContextMenu.customRecurrenceModal.weekdays.${ae.nameKey}`)})),S=["SU","MO","TU","WE","TH","FR","SA"][s.getDay()];w.forEach(ae=>{let xe=b.createEl("option",{value:ae.value,text:ae.text});(this.byDay.length>0&&this.byDay[0]===ae.value||this.byDay.length===0&&ae.value===S)&&(xe.selected=!0)}),h.createSpan({text:" of each month"});let x=new Io.Setting(t).setName("Yearly recurrence").setDesc("Choose how to repeat yearly"),C=x.controlEl.createDiv("yearly-options"),D=C.createEl("label",{cls:"radio-option"});D.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),D.classList.add("tn-static-display-block-2a1b75c9"),D.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),D.classList.add("tn-static-margin-bottom-8px-fdf33f23");let _=D.createEl("input",{type:"radio",value:"bydate"});_.name="yearly-type",_.checked=this.byMonthDay.length>0||this.byDay.length===0&&this.bySetPos===void 0,D.createSpan({text:" On "});let O=D.createEl("select");O.classList.add("tn-static-margin-left-4px-46cec891"),O.classList.remove("tn-static-margin-right-8px-539fa9a0"),O.classList.add("tn-static-margin-right-4px-c6b76b85");let L=["January","February","March","April","May","June","July","August","September","October","November","December"];L.forEach((ae,xe)=>{let gn=O.createEl("option",{value:(xe+1).toString(),text:ae});(this.byMonth.length>0&&this.byMonth[0]===xe+1||this.byMonth.length===0&&xe+1===s.getMonth()+1)&&(gn.selected=!0)});let N=D.createEl("select");N.classList.add("tn-static-margin-left-4px-46cec891"),N.classList.remove("tn-static-margin-right-8px-539fa9a0"),N.classList.add("tn-static-margin-right-4px-c6b76b85");for(let ae of PH()){let xe=N.createEl("option",{value:ae.value,text:ae.text}),gn=parseInt(ae.value,10);(this.byMonthDay.length>0&&this.byMonthDay[0]===gn||this.byMonthDay.length===0&&gn===s.getDate())&&(xe.selected=!0)}D.createSpan({text:" each year"});let R=C.createEl("label",{cls:"radio-option"});R.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),R.classList.add("tn-static-display-block-2a1b75c9"),R.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),R.classList.add("tn-static-margin-bottom-8px-fdf33f23");let z=R.createEl("input",{type:"radio",value:"byday"});z.name="yearly-type",z.checked=this.byDay.length>0&&this.bySetPos!==void 0,R.createSpan({text:" On the "});let H=R.createEl("select");H.classList.add("tn-static-margin-left-4px-46cec891"),H.classList.remove("tn-static-margin-right-8px-539fa9a0"),H.classList.add("tn-static-margin-right-4px-c6b76b85"),k.forEach(ae=>{let xe=H.createEl("option",{value:ae.value,text:ae.text});(this.bySetPos===parseInt(ae.value)||!this.bySetPos&&ae.value==="1")&&(xe.selected=!0)});let Y=R.createEl("select");Y.classList.add("tn-static-margin-left-4px-46cec891"),Y.classList.remove("tn-static-margin-right-8px-539fa9a0"),Y.classList.add("tn-static-margin-right-4px-c6b76b85"),w.forEach(ae=>{let xe=Y.createEl("option",{value:ae.value,text:ae.text});(this.byDay.length>0&&this.byDay[0]===ae.value||this.byDay.length===0&&ae.value===S)&&(xe.selected=!0)});let se=R.createEl("select");se.classList.add("tn-static-margin-left-4px-46cec891"),se.classList.remove("tn-static-margin-right-8px-539fa9a0"),se.classList.add("tn-static-margin-right-4px-c6b76b85"),L.forEach((ae,xe)=>{let gn=se.createEl("option",{value:(xe+1).toString(),text:ae});(this.byMonth.length>0&&this.byMonth[0]===xe+1||this.byMonth.length===0&&xe+1===s.getMonth()+1)&&(gn.selected=!0)}),R.createSpan({text:" each year"}),new Io.Setting(t).setName("End condition").setDesc("Choose when the recurrence should end");let J=t.createDiv("end-condition-container"),te=J.createEl("label",{cls:"radio-option"});te.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),te.classList.add("tn-static-display-block-2a1b75c9"),te.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),te.classList.add("tn-static-margin-bottom-8px-fdf33f23");let Te=te.createEl("input",{type:"radio",value:"never"});Te.name="end-type",Te.checked=this.endType==="never",te.createSpan({text:" Never ends"});let Ce=J.createEl("label",{cls:"radio-option"});Ce.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),Ce.classList.add("tn-static-display-block-2a1b75c9"),Ce.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),Ce.classList.add("tn-static-margin-bottom-8px-fdf33f23");let X=Ce.createEl("input",{type:"radio",value:"count"});X.name="end-type",X.checked=this.endType==="count",Ce.createSpan({text:" End after "});let ne=Ce.createEl("input",{type:"number",placeholder:"10"});ne.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-80px-8573bae3"),ne.classList.add("tn-static-width-60px-bd09c419"),ne.classList.add("tn-static-margin-left-4px-46cec891"),ne.classList.remove("tn-static-margin-right-8px-539fa9a0"),ne.classList.add("tn-static-margin-right-4px-c6b76b85"),ne.value=this.count?this.count.toString():"",Ce.createSpan({text:" occurrences"});let st=J.createEl("label",{cls:"radio-option"});st.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),st.classList.add("tn-static-display-block-2a1b75c9"),st.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f"),st.classList.add("tn-static-margin-bottom-8px-fdf33f23");let Ue=st.createEl("input",{type:"radio",value:"until"});Ue.name="end-type",Ue.checked=this.endType==="until",st.createSpan({text:" End on "});let Vt=st.createEl("input",{type:"date"});Vt.classList.add("tn-static-margin-left-4px-46cec891"),Vt.value=this.until?this.until.replace(/(\d{4})(\d{2})(\d{2})/,"$1-$2-$3"):"",Sc(Vt,{onCommit:ae=>{this.until=ae.replace(/-/g,""),Ue.checked=!0,this.endType="until"}}),Te.addEventListener("change",()=>{Te.checked&&(this.endType="never")}),X.addEventListener("change",()=>{X.checked&&(this.endType="count")}),Ue.addEventListener("change",()=>{Ue.checked&&(this.endType="until")}),ne.addEventListener("input",()=>{this.count=parseInt(ne.value)||void 0,ne.value&&(X.checked=!0,this.endType="count")}),Vt.addEventListener("input",()=>{this.until=Vt.value?Vt.value.replace(/-/g,""):"",Vt.value&&(Ue.checked=!0,this.endType="until")}),this.updateFrequencySpecificVisibility=()=>{let ae=this.recurrenceAnchor==="completion";o.settingEl.style.display=(this.frequency==="DAILY"||this.frequency==="WEEKLY")&&!ae?"flex":"none",d.settingEl.style.display=this.frequency==="MONTHLY"&&!ae?"flex":"none",x.settingEl.style.display=this.frequency==="YEARLY"&&!ae?"flex":"none"},this.updateFrequencySpecificVisibility();let ot=t.createDiv("button-container");ot.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),ot.classList.add("tn-static-display-flex-75816cae"),ot.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),ot.classList.add("tn-static-justify-content-flex-end-455f8cca"),ot.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db"),ot.classList.add("tn-static-gap-8px-33fcd4c3"),ot.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),ot.classList.add("tn-static-margin-top-16px-1b0f4999"),ot.createEl("button",{text:"Cancel"}).addEventListener("click",()=>{this.close()}),ot.createEl("button",{text:"Save",cls:"mod-cta"}).addEventListener("click",()=>{let ae=m.checked?"bydate":"byday",xe=_.checked?"bydate":"byday";this.frequency==="MONTHLY"?ae==="bydate"?(this.byMonthDay=[parseInt(f.value)],this.byDay=[],this.bySetPos=void 0):(this.byMonthDay=[],this.byDay=[b.value],this.bySetPos=parseInt(v.value)):this.frequency==="YEARLY"&&(xe==="bydate"?(this.byMonth=[parseInt(O.value)],this.byMonthDay=[parseInt(N.value)],this.byDay=[],this.bySetPos=void 0):(this.byMonth=[parseInt(se.value)],this.byMonthDay=[],this.byDay=[Y.value],this.bySetPos=parseInt(H.value)));let gn=this.buildRRule(ae,xe);this.onSubmit(gn,this.recurrenceAnchor),this.close()})}updateFrequencySpecificVisibility(){}buildRRule(t,n){return Abe({frequency:this.frequency,interval:this.interval,dtstart:this.dtstart,dtstartTime:this.dtstartTime,recurrenceAnchor:this.recurrenceAnchor,byDay:this.byDay,byMonthDay:this.byMonthDay,byMonth:this.byMonth,bySetPos:this.bySetPos,endType:this.endType,count:this.count,until:this.until,monthlyType:t,yearlyType:n})}onClose(){let{contentEl:t}=this;t.empty()}}});var Nbe={};et(Nbe,{ReminderModal:()=>_l});var cn,_H,_l,sb=y(()=>{cn=require("obsidian");Ne();yx();G();_H=I({tag:"Modals/ReminderModal"}),_l=class extends cn.Modal{constructor(t,n,i,a){super(t);this.selectedType="relative";this.relativeAnchor="due";this.relativeOffset=15;this.relativeUnit="minutes";this.relativeDirection="before";this.absoluteDate="";this.absoluteTime="";this.description="";this.plugin=n,this.task=i,this.reminders=i.reminders?[...i.reminders]:[],this.originalReminders=i.reminders?[...i.reminders]:[],this.onSave=a}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-plugin"),t.addClass("tasknotes-reminder-modal"),t.createDiv({cls:"reminder-modal__loading"}).createEl("div",{text:"Loading reminders..."}),this.initializeWithFreshData().catch(i=>{_H.error("Failed to initialize reminder modal:",{category:"internal",operation:"initialize-reminder-modal",error:i}),t.empty(),t.addClass("tasknotes-plugin"),t.addClass("tasknotes-reminder-modal"),t.createDiv({cls:"reminder-modal__error",text:"Failed to load task data. Please try again."})})}async initializeWithFreshData(){let{contentEl:t}=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]:[];t.empty(),t.addClass("tasknotes-plugin"),t.addClass("tasknotes-reminder-modal");let n=t.createDiv({cls:"reminder-modal__header"});n.createEl("h2",{text:"Task reminders"}),n.createDiv({cls:"reminder-modal__task-title",text:this.task.title});let i=this.getTaskContextInfo();if(i){let s=n.createDiv({cls:"reminder-modal__task-dates"});s.textContent=i}let a=t.createDiv({cls:"reminder-modal__content"});this.renderExistingReminders(a),this.renderAddReminderForm(a),this.renderActionButtons(t),this.setupKeyboardHandlers(),this.updateSaveButtonState()}renderActionButtons(t){let n=t.createDiv({cls:"reminder-modal__actions"});this.saveBtn=n.createEl("button",{text:"Save changes",cls:"mod-cta reminder-modal__save-btn"}),this.saveBtn.disabled=!0,this.saveBtn.onclick=async()=>{await this.save()};let i=n.createEl("button",{text:"Cancel",cls:"reminder-modal__cancel-btn"});i.onclick=()=>{this.cancel()}}getTaskContextInfo(){let t=[];return this.task.due&&t.push(`Due: ${ru(this.task.due)}`),this.task.scheduled&&t.push(`Scheduled: ${ru(this.task.scheduled)}`),t.length>0?t.join(" \u2022 "):null}setupKeyboardHandlers(){let t=n=>{n.key==="Enter"&&(n.ctrlKey||n.metaKey)&&!this.saveBtn.disabled?(n.preventDefault(),this.save()):n.key==="Escape"&&(n.preventDefault(),this.cancel())};this.contentEl.addEventListener("keydown",t),this.onClose=()=>{this.contentEl.removeEventListener("keydown",t);let{contentEl:n}=this;n.empty()}}updateSaveButtonState(){if(!this.saveBtn)return;let t=this.remindersHaveChanged();this.saveBtn.disabled=!t,this.saveBtn.textContent=t?"Save Changes":"No Changes"}renderExistingReminders(t){let n=t.createDiv({cls:"reminder-modal__section"}),i=n.createDiv({cls:"reminder-modal__section-header"});if(i.createEl("h3",{text:"Current reminders"}),this.reminders.length>0&&i.createSpan({cls:"reminder-modal__reminder-count",text:`(${this.reminders.length})`}),this.reminders.length===0){let s=n.createDiv({cls:"reminder-modal__empty-state"});(0,cn.setIcon)(s.createDiv({cls:"reminder-modal__empty-icon"}),"bell-off"),s.createEl("div",{cls:"reminder-modal__empty-text",text:"No reminders set"});return}let a=n.createDiv({cls:"reminder-modal__reminder-list"});this.reminders.forEach((s,o)=>{let l=a.createDiv({cls:"reminder-modal__reminder-card"}),c=l.createDiv({cls:"reminder-modal__reminder-icon"}),d=s.type==="absolute"?"calendar-clock":"timer";(0,cn.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 h=u.createDiv({cls:"reminder-modal__reminder-description"});h.textContent=`"${s.description}"`}let f=l.createDiv({cls:"reminder-modal__reminder-actions"}).createEl("button",{cls:"reminder-modal__action-btn reminder-modal__remove-btn"});(0,cn.setIcon)(f,"trash-2"),(0,cn.setTooltip)(f,"Delete this reminder"),f.onclick=async h=>{h.stopPropagation(),await this.removeReminder(o)}})}formatReminderDisplayText(t){if(t.type==="absolute"){if(t.absoluteTime)try{let n=new Date(t.absoluteTime);return`${n.toLocaleDateString()} at ${n.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}`}catch(n){return`At ${t.absoluteTime}`}return"Absolute reminder"}else{let n=t.relatedTo==="due"?"due date":"scheduled date";return`${this.formatOffset(t.offset||"")} ${n}`}}renderQuickActions(t){if(!(this.task.due||this.task.scheduled))return;let a=t.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=a.createEl("button",{cls:"reminder-modal__quick-btn"}),m=p.createSpan({cls:"reminder-modal__quick-btn-icon"});(0,cn.setIcon)(m,d),p.createSpan({cls:"reminder-modal__quick-btn-label",text:o}),(0,cn.setTooltip)(p,`Add reminder ${l} ${u} date`),p.onclick=async()=>{await this.addQuickReminder(u,c,l)}})}async addQuickReminder(t,n,i){let a={id:`rem_${Date.now()}`,type:"relative",relatedTo:t,offset:n,description:i};await this.addReminder(a),new cn.Notice(`Added reminder: ${i}`)}renderAddReminderForm(t){let n=t.createDiv({cls:"reminder-modal__section"});n.createDiv({cls:"reminder-modal__section-header"}).createEl("h3",{text:"Add new reminder"}),this.renderQuickActions(n);let a=n.createDiv({cls:"reminder-modal__form"}),s=a.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=f=>{this.selectedType=f,o.classList.toggle("reminder-modal__type-tab--active",f==="relative"),l.classList.toggle("reminder-modal__type-tab--active",f==="absolute"),this.updateFormVisibility(a,this.selectedType)};o.onclick=()=>c("relative"),l.onclick=()=>c("absolute");let d=a.createDiv({cls:"relative-fields"});new cn.Setting(d).setName("Time").addText(f=>{f.setPlaceholder("15").setValue(String(this.relativeOffset)).onChange(h=>{this.relativeOffset=parseInt(h)||0})}).addDropdown(f=>{f.addOption("minutes","Minutes").addOption("hours","Hours").addOption("days","Days").setValue(this.relativeUnit).onChange(h=>{this.relativeUnit=h})}),new cn.Setting(d).setName("Direction").addDropdown(f=>{f.addOption("before","Before").addOption("after","After").setValue(this.relativeDirection).onChange(h=>{this.relativeDirection=h})}),new cn.Setting(d).setName("Relative to").addDropdown(f=>{let h={};this.task.due&&(h.due=`Due date (${ru(this.task.due)})`),this.task.scheduled&&(h.scheduled=`Scheduled date (${ru(this.task.scheduled)})`),Object.keys(h).length===0?(h.none="No dates available",f.setDisabled(!0)):(Object.entries(h).forEach(([g,v])=>{f.addOption(g,v)}),f.setValue(this.relativeAnchor)),f.onChange(g=>{this.relativeAnchor=g})});let u=a.createDiv({cls:"absolute-fields"});new cn.Setting(u).setName("Date").addText(f=>{f.setPlaceholder("Yyyy-mm-dd").setValue(this.absoluteDate).onChange(h=>{this.absoluteDate=h}),f.inputEl.type="date",Sc(f.inputEl,{onCommit:h=>{this.absoluteDate=h}})}),new cn.Setting(u).setName("Time").addText(f=>{f.setPlaceholder("Hh:mm").setValue(this.absoluteTime).onChange(h=>{this.absoluteTime=h}),f.inputEl.type="time"}),new cn.Setting(a).setName("Description (optional)").addText(f=>{f.setPlaceholder("Custom reminder message").setValue(this.description).onChange(h=>{this.description=h})});let p=a.createEl("button",{cls:"reminder-add-btn"}),m=p.createSpan({cls:"reminder-add-btn-icon"});(0,cn.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 f=this.createReminder(this.selectedType,this.relativeAnchor,this.relativeOffset,this.relativeUnit,this.relativeDirection,this.absoluteDate,this.absoluteTime,this.description);f&&(await this.addReminder(f),this.selectedType==="relative"?(this.relativeOffset=15,this.relativeUnit="minutes",this.description=""):(this.absoluteDate="",this.absoluteTime="",this.description=""),this.resetFormInputs(a))}catch(f){_H.error("Error adding reminder:",{category:"internal",operation:"adding-reminder",error:f}),new cn.Notice("Failed to add reminder. Please check your inputs.")}finally{p.disabled=!1,p.classList.remove("reminder-add-btn--loading")}},this.updateFormVisibility(a,this.selectedType)}updateFormVisibility(t,n){let i=t.querySelector(".relative-fields"),a=t.querySelector(".absolute-fields");n==="relative"?(i.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),i.classList.add("tn-static-display-block-2a1b75c9"),a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-none-6b99de8b")):(i.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),i.classList.add("tn-static-display-none-6b99de8b"),a.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-block-2a1b75c9"))}createReminder(t,n,i,a,s,o,l,c){let d=`rem_${Date.now()}`;if(t==="relative"){if(!(n==="due"?this.task.due:this.task.scheduled))return new cn.Notice(`Cannot create reminder: Task has no ${n} date`),null;let p="PT";return a==="days"?p=`P${i}D`:a==="hours"?p=`PT${i}H`:p=`PT${i}M`,s==="before"&&(p="-"+p),{id:d,type:"relative",relatedTo:n,offset:p,description:c||void 0}}else{if(!o||!l)return new cn.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(t){if(t.type==="absolute")return"Absolute reminder";{let n=t.relatedTo==="due"?"due date":"scheduled date";return`${this.formatOffset(t.offset||"")} ${n}`}}formatReminderDetails(t){if(t.type==="absolute")return`At ${ru(t.absoluteTime||"")}`;{let n=t.relatedTo==="due"?this.task.due:this.task.scheduled;return n?`When ${t.relatedTo} date is ${ru(n)}`:`Relative to ${t.relatedTo} date (not set)`}}formatReminderDescription(t){if(t.description)return t.description;if(t.type==="absolute")return`At ${ru(t.absoluteTime||"")}`;{let n=t.relatedTo==="due"?"due date":"scheduled date";return`${this.formatOffset(t.offset||"")} ${n}`}}formatOffset(t){let n=t.startsWith("-"),a=(n?t.substring(1):t).match(/P(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?)?/);if(!a)return t;let[,s,o,l]=a,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 n?`${d} before`:`${d} after`}async addReminder(t){this.reminders.push(t),this.refreshRemindersListOnly(),this.task.path&&this.plugin.emitter.trigger("reminder-preview-changed",{taskPath:this.task.path,currentReminders:[...this.reminders],action:"added",reminder:t})}async removeReminder(t){let n=this.reminders[t];this.reminders.splice(t,1),this.refreshRemindersListOnly(),this.task.path&&n&&this.plugin.emitter.trigger("reminder-preview-changed",{taskPath:this.task.path,currentReminders:[...this.reminders],action:"removed",reminder:n})}async refresh(){await this.initializeWithFreshData()}refreshRemindersListOnly(){let t=this.contentEl.querySelector(".reminder-modal__content");if(t){let n=t.querySelector(".reminder-modal__section");n&&n.remove();let i=activeDocument.createElement("div");this.renderExistingReminders(i);let a=i.firstChild;a&&t.insertBefore(a,t.firstChild)}this.updateSaveButtonState()}resetFormInputs(t){let n=t.querySelector('input[placeholder="15"]');n&&(n.value=String(this.relativeOffset));let i=t.querySelector('input[placeholder="Custom reminder message"]');i&&(i.value=this.description);let a=t.querySelector('input[type="date"]');a&&(a.value=this.absoluteDate);let s=t.querySelector('input[type="time"]');s&&(s.value=this.absoluteTime);let o=t.querySelector('.setting-item:has(input[placeholder="15"]) select');o&&(o.value=this.relativeUnit);let l=t.querySelector(".setting-item:nth-child(2) select");l&&(l.value=this.relativeDirection);let c=t.querySelector(".setting-item:nth-child(3) select");c&&(c.value=this.relativeAnchor)}async save(){var t;this.saveBtn.disabled=!0,this.saveBtn.textContent="Saving...";try{this.task.path&&this.task.path.trim()!==""&&((t=this.plugin.notificationService)==null||t.clearProcessedRemindersForTask(this.task.path));let n=this.remindersHaveChanged();this.onSave(this.reminders),n&&this.task.path&&this.plugin.emitter.trigger("reminder-changed",{taskPath:this.task.path,oldReminders:this.originalReminders,newReminders:[...this.reminders]}),this.close()}catch(n){_H.error("Failed to save reminders:",{category:"persistence",operation:"save-reminders",error:n}),new cn.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((t,n)=>{let i=this.originalReminders[n];return i?t.id===i.id&&t.type===i.type&&t.relatedTo===i.relatedTo&&t.offset===i.offset&&t.absoluteTime===i.absoluteTime&&t.description===i.description:!1})}onClose(){let{contentEl:t}=this;t.empty()}}});function Ix(r){return I({tag:"TaskCard/Actions",isDebugEnabled:()=>r.settings.enableDebugLogging})}function AH(r){let{task:e,plugin:t,targetDate:n,updateStatusVisuals:i}=r;return a=>{a.stopPropagation(),(async()=>{let s=Ix(t);try{if(e.recurrence){let p=await t.toggleRecurringTaskComplete(e,n),m=bv(p,n,t.statusManager.getCompletedStatuses()[0]),f=t.statusManager.isCompletedStatus(m);i(p,m,f);return}let o=await t.cacheManager.getTaskInfo(e.path);if(!o){new Fh.Notice("Task not found");return}let l=o.status||t.settings.defaultTaskStatus,c=a.shiftKey?t.statusManager.getPreviousStatus(l):t.statusManager.getNextStatus(l),d=await t.updateTaskProperty(o,"status",c),u=t.statusManager.isCompletedStatus(c);i(d,c,u)}catch(o){let l=o instanceof Error?o.message:String(o);s.error("Error cycling task status",{category:"persistence",operation:"cycle-status",details:{taskPath:e.path,errorMessage:l},error:o}),new Fh.Notice(`Failed to update task status: ${l}`)}})()}}function IH(r,e){return t=>{t.stopPropagation(),new ku({currentValue:r.priority,onSelect:i=>{(async()=>{let a=Ix(e);try{await e.updateTaskProperty(r,"priority",i)}catch(s){a.error("Error updating priority",{category:"persistence",operation:"update-priority",details:{taskPath:r.path,newPriority:i},error:s}),new Fh.Notice("Failed to update priority")}})()},plugin:e}).show(t)}}function NH(r,e){return t=>{t.stopPropagation(),new Ml({currentValue:typeof r.recurrence=="string"?r.recurrence:void 0,currentAnchor:r.recurrence_anchor||"scheduled",scheduledDate:r.scheduled,onSelect:(i,a)=>{(async()=>{let s=Ix(e);try{await e.updateTaskProperty(r,"recurrence",i||void 0),a!==void 0&&await e.updateTaskProperty(r,"recurrence_anchor",a)}catch(o){s.error("Error updating recurrence",{category:"persistence",operation:"update-recurrence",details:{taskPath:r.path,newRecurrence:i,anchor:a},error:o}),new Fh.Notice("Failed to update recurrence")}})()},app:e.app,plugin:e}).show(t)}}function RH(r,e){return()=>{new _l(e.app,e,r,n=>{(async()=>{let i=Ix(e);try{await e.updateTaskProperty(r,"reminders",n.length>0?n:void 0)}catch(a){i.error("Error updating reminders",{category:"persistence",operation:"update-reminders",details:{taskPath:r.path,reminderCount:n.length},error:a}),new Fh.Notice("Failed to update reminders")}})()}).open()}}function OH(r,e){return()=>{(async()=>{let t=Ix(e);try{await e.applyProjectSubtaskFilter(r)}catch(n){t.error("Error filtering project subtasks",{category:"internal",operation:"filter-project-subtasks",details:{taskPath:r.path},error:n}),new Fh.Notice("Failed to filter project subtasks")}})()}}var Fh,LH=y(()=>{Fh=require("obsidian");Mx();ab();sb();Ct();G()});function lI(r){return I({tag:"TaskCard/Relationships",isDebugEnabled:()=>{var e;return((e=r.settings)==null?void 0:e.enableDebugLogging)===!0}})}function FH(r,e){var t,n;return(n=(t=r.getRelationshipOptions)==null?void 0:t.call(r,e))!=null?n:{}}function ltt(r,e){let t=()=>e.classList.add("task-card--nested-interactive-hover"),n=()=>e.classList.remove("task-card--nested-interactive-hover");r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",n)}function ctt(r){let e=r,t=e._clickHandler;t&&(r.removeEventListener("click",t),delete e._clickHandler)}function os(r,e){let t=r.querySelector(e);t&&(r.classList.remove("task-card--nested-interactive-hover"),ctt(t),t.remove())}function Rbe(r){os(r,".task-card__subtasks"),os(r,".task-card__blocking"),os(r,".task-card__blocked-by")}function $H(r,e,t,n={}){let i=r.querySelector(e);if(i)return i;let a=r.ownerDocument.createElement("div");a.className=t;let s=o=>{o.stopPropagation()};return a.addEventListener("click",s),a._clickHandler=s,n.stopExtraPointerEvents&&(a.addEventListener("dblclick",o=>o.stopPropagation()),a.addEventListener("contextmenu",o=>o.stopPropagation())),ltt(a,r),r.appendChild(a),a}function dtt(r){var n;let e=[],t=r.closest(".task-card");for(;t;){let i=t._taskPath;typeof i=="string"&&e.unshift(i),t=(n=t.parentElement)==null?void 0:n.closest(".task-card")}return e}function zH(r){for(;r.firstChild;)r.removeChild(r.firstChild)}function Obe(r,e,t,n,i){for(let a of e){let s=t.renderTaskCard(a,n);s.classList.add(i),r.appendChild(s)}}async function jH(r,e,t,n){let{plugin:i}=r,a=lI(i);try{if(!n){os(e,".task-card__subtasks");return}let s=$H(e,".task-card__subtasks","task-card__subtasks");zH(s);let o=s.createEl("div",{cls:"task-card__subtasks-loading",text:i.i18n.translate("contextMenus.task.subtasks.loading")});try{let l=i.app.vault.getAbstractFileByPath(t.path);if(!(l instanceof Nx.TFile))throw new Error("Task file not found");if(!i.projectSubtasksService)throw new Error("projectSubtasksService not initialized");let c=FH(r,e),d=iI(await i.projectSubtasksService.getTasksLinkedToProject(l),c);if(o.remove(),d.length===0){s.createEl("div",{cls:"task-card__subtasks-loading",text:i.i18n.translate("contextMenus.task.subtasks.noSubtasks")});return}let u=Ebe(d,c,m=>i.projectSubtasksService.sortTasks(m)),p=dtt(e);for(let m of u){if(p.includes(m.path)){a.warn("Skipped circular task relationship",{category:"validation",operation:"render-subtasks",details:{taskPath:t.path,subtaskPath:m.path,parentChain:p}});continue}let f=r.renderTaskCard(m,c);f.classList.add("task-card--subtask"),s.appendChild(f)}}catch(l){a.error("Error loading subtasks",{category:"provider",operation:"load-subtasks",details:{taskPath:t.path},error:l}),o.textContent=i.i18n.translate("contextMenus.task.subtasks.loadFailed")}}catch(s){throw a.error("Error toggling subtasks",{category:"internal",operation:"toggle-subtasks",details:{taskPath:t.path,expanded:n},error:s}),s}}async function Lbe(r,e,t,n){let{plugin:i}=r,a=lI(i);if(!n){os(e,".task-card__blocking");return}let s=$H(e,".task-card__blocking","task-card__blocking",{stopExtraPointerEvents:!0});zH(s);let o=s.createDiv({cls:"task-card__blocking-loading",text:i.i18n.translate("ui.taskCard.loadingDependencies")});try{let l=t.blocking?await Promise.all(t.blocking.map(u=>i.cacheManager.getTaskInfo(u))):[],c=FH(r,e),d=iI(l.filter(u=>!!u),c);if(o.remove(),d.length===0){s.createDiv({cls:"task-card__blocking-empty",text:i.i18n.translate("ui.taskCard.blockingEmpty")});return}Obe(s,d,r,c,"task-card--dependency")}catch(l){a.error("Error loading blocking tasks",{category:"provider",operation:"load-blocking-tasks",details:{taskPath:t.path},error:l}),o.textContent=i.i18n.translate("ui.taskCard.blockingLoadError")}}async function Fbe(r,e,t,n){let{plugin:i}=r,a=lI(i);if(!n){os(e,".task-card__blocked-by");return}let s=$H(e,".task-card__blocked-by","task-card__blocked-by",{stopExtraPointerEvents:!0});zH(s);let o=s.createDiv({cls:"task-card__blocked-by-loading",text:i.i18n.translate("ui.taskCard.loadingDependencies")});try{let l=Oh(t,i.app),c=await Promise.all(l.map(p=>i.cacheManager.getTaskInfo(p))),d=FH(r,e),u=iI(c.filter(p=>!!p),d);if(o.remove(),u.length===0){s.createDiv({cls:"task-card__blocked-by-empty",text:i.i18n.translate("ui.taskCard.blockedBadge")});return}Obe(s,u,r,d,"task-card--dependency")}catch(l){a.error("Error loading blocked-by tasks",{category:"provider",operation:"load-blocked-by-tasks",details:{taskPath:t.path},error:l}),o.textContent=i.i18n.translate("ui.taskCard.blockingLoadError")}}async function $be(r,e,t){let{plugin:n}=r,i=lI(n);if(!e.projects||e.projects.length===0)return;let a=0,s=10;for(;a<s;){try{let l=await n.cacheManager.getTaskInfo(e.path);if(l&&l.dateModified===e.dateModified)break}catch(l){}await new Promise(l=>window.setTimeout(l,10)),a++}let o=t.querySelectorAll(".task-card__chevron--expanded");for(let l of o){let c=l.closest(".task-card");if(!c)continue;let d=c.dataset.taskPath;if(!d)continue;let u=n.app.vault.getAbstractFileByPath(d);if(!(u instanceof Nx.TFile))continue;let p=u.basename;if(!(!e.projects.flat(2).some(h=>{if(h&&typeof h=="string"&&h.startsWith("[[")&&h.endsWith("]]")){let g=h.slice(2,-2).trim(),v=(0,Nx.parseLinktext)(g).path,k=n.app.metadataCache.getFirstLinkpathDest(v,"");return v===p||k&&k.path===d}return h===p||h===d})||!c.querySelector(".task-card__subtasks")))try{let h=await n.cacheManager.getTaskInfo(d);h&&await jH(r,c,h,!0)}catch(h){i.error("Error refreshing parent task subtasks",{category:"provider",operation:"refresh-parent-subtasks",details:{taskPath:e.path,projectTaskPath:d},error:h})}}}var Nx,BH=y(()=>{Nx=require("obsidian");G();aI()});function Ox(r){return I({tag:"TaskCard/Badges",isDebugEnabled:()=>r.settings.enableDebugLogging})}function ob(r,e,t){return r.i18n.translate(`ui.taskCard.${e}`,t)}function zbe(r){var e;return((e=r.settings)==null?void 0:e.expandSubtasksByDefault)===!0}function UH(r,e){var t;return((t=e.expandedProjectsService)==null?void 0:t.isExpanded(r.path,zbe(e)))||!1}function ptt(r){for(let e of utt)for(let t of r.querySelectorAll(e))t.remove();os(r,".task-card__subtasks"),os(r,".task-card__blocking"),os(r,".task-card__blocked-by")}function jbe(r,e,t){r.classList.toggle("task-card__chevron--expanded",t);let n=tI(e,t);r.setAttribute("aria-label",n),(0,Rx.setTooltip)(r,n,{placement:"top"})}function Bbe(r,e,t,n){return()=>{(async()=>{let i=Ox(e);try{if(!e.expandedProjectsService){new Rx.Notice("Service not available. Please try reloading the plugin.");return}let a=t.querySelector(".task-card__chevron");if(!a)return;let s=e.expandedProjectsService.toggle(r.path,zbe(e));jbe(a,e,s),await n.toggleSubtasks(t,r,s)}catch(a){i.error("Error toggling subtasks",{category:"internal",operation:"toggle-subtasks",details:{taskPath:r.path},error:a}),new Rx.Notice("Failed to toggle subtasks")}})()}}function Ube(r,e,t){return()=>{(async()=>{let n=e.querySelector(".task-card__blocking-toggle");if(!n)return;let i=n.classList.toggle("task-card__blocking-toggle--expanded");await t.toggleBlockingTasks(e,r,i)})()}}function Hbe(r,e,t,n){return()=>{HH({card:t,task:r,plugin:e,handlers:n})}}function mtt(r,e){let t=r.querySelector(".task-card__blocked-toggle");t&&(t.classList.toggle("task-card__blocked-toggle--expanded",e),t.setAttribute("aria-expanded",String(e)));for(let n of r.querySelectorAll(".task-card__metadata-pill--blocked"))n.getAttribute("role")==="button"&&n.setAttribute("aria-expanded",String(e))}async function HH(r){let{card:e,task:t,handlers:n}=r,i=!e.querySelector(".task-card__blocked-by");mtt(e,i),await n.toggleBlockedByTasks(e,t,i)}function ftt(r,e){var l;let{card:t,task:n,plugin:i,handlers:a}=r;if(!i.projectSubtasksService.isTaskUsedAsProjectSync(n.path)||(Pc({container:e,className:"task-card__project-indicator",icon:"folder",tooltip:ob(i,"projectTooltip"),onClick:OH(n,i)}),!((l=i.settings)!=null&&l.showExpandableSubtasks)))return;let o=UH(n,i);Pc({container:e,className:`task-card__chevron${o?" task-card__chevron--expanded":""}`,icon:"chevron-right",tooltip:tI(i,o),onClick:Bbe(n,i,t,a)}),o&&a.toggleSubtasks(t,n,!0).catch(c=>{Ox(i).error("Error showing initial subtasks",{category:"internal",operation:"show-initial-subtasks",details:{taskPath:n.path},error:c})})}function htt(r,e){let{card:t,task:n,plugin:i,handlers:a}=r;if(n.blocking&&n.blocking.length>0){let o=n.blocking.length,l=i.i18n.translate("ui.taskCard.blockingToggle",{count:o}),c=Pc({container:e,className:"task-card__blocking-toggle is-visible",icon:"git-branch",tooltip:l,onClick:Ube(n,t,a)});c&&(c.dataset.count=String(o))}let s=Oh(n,i.app);if(s.length>0){let o=`${ob(i,"blockedBadge")} (${s.length})`,l=Pc({container:e,className:"task-card__blocked-toggle is-visible",icon:"git-merge",tooltip:o,onClick:Hbe(n,i,t,a)});l&&(l.dataset.count=String(s.length))}}function Vbe(r){let{badgesContainer:e,task:t,plugin:n,hasDetails:i,propertyOptions:a}=r;if(!(!e||a.showSecondaryBadges===!1)){if(t.recurrence&&Pc({container:e,className:"task-card__recurring-indicator",icon:"rotate-ccw",tooltip:Cx(n,t.recurrence,a.propertyLabels),onClick:NH(t,n)}),t.reminders&&t.reminders.length>0){let s=t.reminders.length;Pc({container:e,className:"task-card__reminder-indicator",icon:"bell",tooltip:wH(n,s),onClick:RH(t,n)})}i&&Pc({container:e,className:"task-card__details-indicator",icon:"file-text",tooltip:ob(n,"detailsTooltip")}),ftt(r,e),htt(r,e)}}function gtt(r){let{card:e,mainRow:t,task:n,plugin:i,handlers:a}=r,s=Ox(i);i.projectSubtasksService.isTaskUsedAsProject(n.path).then(o=>{var d,u,p,m,f;(d=e.querySelector(".task-card__project-indicator-placeholder"))==null||d.remove(),(u=e.querySelector(".task-card__chevron-placeholder"))==null||u.remove(),Lh(e,".task-card__project-indicator",{shouldExist:o,className:"task-card__project-indicator",icon:"folder",tooltip:ob(i,"projectTooltip"),onClick:OH(n,i)});let l=o&&((p=i.settings)==null?void 0:p.showExpandableSubtasks),c=e.querySelector(".task-card__chevron");if(l&&!c){let h=UH(n,i);Pc({container:(f=(m=e.querySelector(".task-card__badges"))!=null?m:t)!=null?f:e,className:`task-card__chevron${h?" task-card__chevron--expanded":""}`,icon:"chevron-right",tooltip:tI(i,h),onClick:Bbe(n,i,e,a)}),h&&a.toggleSubtasks(e,n,!0).catch(g=>{s.error("Error showing initial subtasks in update",{category:"internal",operation:"show-initial-subtasks-update",details:{taskPath:n.path},error:g})})}else if(l&&c){let h=UH(n,i);jbe(c,i,h),h?a.toggleSubtasks(e,n,!0).catch(g=>{s.error("Error refreshing default-expanded subtasks",{category:"internal",operation:"refresh-default-expanded-subtasks",details:{taskPath:n.path},error:g})}):os(e,".task-card__subtasks")}else!l&&c&&(c.remove(),os(e,".task-card__subtasks"))}).catch(o=>{s.error("Error checking if task is used as project in update",{category:"internal",operation:"check-project-task",details:{taskPath:n.path},error:o})})}function ytt(r){var c,d;let{card:e,task:t,plugin:n,handlers:i}=r,a=(d=(c=t.blocking)==null?void 0:c.length)!=null?d:0,s=a>0,o=n.i18n.translate("ui.taskCard.blockingToggle",{count:a}),l=Lh(e,".task-card__blocking-toggle",{shouldExist:s,className:"task-card__blocking-toggle is-visible",icon:"git-branch",tooltip:o,onClick:Ube(t,e,i)});if(!s){os(e,".task-card__blocking");return}l&&(l.classList.add("is-visible"),l.classList.remove("is-hidden"),l.dataset.count=String(a),l.classList.contains("task-card__blocking-toggle--expanded")&&i.toggleBlockingTasks(e,t,!0).catch(u=>{Ox(n).error("Error refreshing blocking tasks",{category:"internal",operation:"refresh-blocking-tasks",details:{taskPath:t.path,blockingCount:a},error:u})}))}function vtt(r){let{card:e,task:t,plugin:n,handlers:i}=r,a=Oh(t,n.app),s=a.length>0,o=`${ob(n,"blockedBadge")} (${a.length})`,l=Lh(e,".task-card__blocked-toggle",{shouldExist:s,className:"task-card__blocked-toggle is-visible",icon:"git-merge",tooltip:o,onClick:Hbe(t,n,e,i)});if(!s){os(e,".task-card__blocked-by");return}l&&(l.classList.add("is-visible"),l.classList.remove("is-hidden"),l.dataset.count=String(a.length),l.classList.contains("task-card__blocked-toggle--expanded")&&i.toggleBlockedByTasks(e,t,!0).catch(c=>{Ox(n).error("Error refreshing blocked-by tasks",{category:"internal",operation:"refresh-blocked-by-tasks",details:{taskPath:t.path,blockedByCount:a.length},error:c})}))}function qbe(r){var c,d;let{card:e,mainRow:t,task:n,plugin:i,hasDetails:a,propertyOptions:s}=r,o=e.querySelector(".task-card__badges");if(!o||s.showSecondaryBadges===!1){ptt(e);return}Lh(e,".task-card__recurring-indicator",{shouldExist:!!n.recurrence,className:"task-card__recurring-indicator",icon:"rotate-ccw",tooltip:n.recurrence?Cx(i,n.recurrence,s.propertyLabels):"",onClick:NH(n,i)});let l=(d=(c=n.reminders)==null?void 0:c.length)!=null?d:0;Lh(e,".task-card__reminder-indicator",{shouldExist:l>0,className:"task-card__reminder-indicator",icon:"bell",tooltip:wH(i,l),onClick:RH(n,i)}),Lh(e,".task-card__details-indicator",{shouldExist:a,className:"task-card__details-indicator",icon:"file-text",tooltip:ob(i,"detailsTooltip")}),gtt({...r,mainRow:t!=null?t:o}),ytt(r),vtt(r)}var Rx,utt,VH=y(()=>{Rx=require("obsidian");G();LH();SH();Px();BH();aI();utt=[".task-card__recurring-indicator",".task-card__reminder-indicator",".task-card__details-indicator",".task-card__project-indicator",".task-card__chevron",".task-card__blocking-toggle",".task-card__blocked-toggle"]});function btt(r,e){return r||(e.settings.defaultVisibleProperties?Ra(e.settings.defaultVisibleProperties,e):Tbe(e))}function Ttt(r){var u,p;let{metadataLine:e,card:t,task:n,plugin:i,onBlockedByToggle:a}=r;if(!n.isBlocked)return null;let s=i.i18n.translate("ui.taskCard.blockedBadge"),o=Oh(n,i.app),l=(p=(u=n.blockedBy)==null?void 0:u.length)!=null?p:0,c=l>0?`${s} (${l})`:s,d=e.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--blocked",text:c});if(o.length>0){let m=`${s} (${o.length})`;Pl(d),d.setAttribute("aria-label",m),d.setAttribute("aria-expanded",String(!!t.querySelector(".task-card__blocked-by"))),(0,wu.setTooltip)(d,m,{placement:"top"}),d.addEventListener("click",f=>{f.stopPropagation(),a()})}else(0,wu.setTooltip)(d,i.i18n.translate("ui.taskCard.blockedBadgeTooltip"),{placement:"top"});return d}function ktt(r){var l,c;let{metadataLine:e,task:t,plugin:n}=r;if(!t.isBlocking)return null;let i=n.i18n.translate("ui.taskCard.blockingBadge"),a=(c=(l=t.blocking)==null?void 0:l.length)!=null?c:0,s=a>0?`${i} (${a})`:i,o=e.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--blocking",text:s});return(0,wu.setTooltip)(o,n.i18n.translate("ui.taskCard.blockingBadgeTooltip"),{placement:"top"}),o}function wtt(r){let{metadataLine:e,task:t,plugin:n}=r;if(!t.googleCalendarEventId)return null;let i=e.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--google-calendar"});return(0,wu.setIcon)(i,"calendar"),(0,wu.setTooltip)(i,n.i18n.translate("ui.taskCard.googleCalendarSyncTooltip"),{placement:"top"}),i}function Stt(r){var s;let{metadataLine:e,task:t,plugin:n}=r;if(!t.recurrence_parent||!t.occurrence_date)return null;let i=Ti(t.occurrence_date,{dateFormat:"MMM d",showTime:!1,userTimeFormat:(s=n.settings.calendarViewSettings)==null?void 0:s.timeFormat}),a=e.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--occurrence"});return(0,wu.setIcon)(a,"refresh-ccw"),a.createSpan({text:`Occurrence: ${i}`}),Pl(a),a.setAttribute("aria-label",`Open recurring parent for occurrence on ${t.occurrence_date}`),(0,wu.setTooltip)(a,`Occurrence of ${t.recurrence_parent} on ${t.occurrence_date}`,{placement:"top"}),a.addEventListener("click",o=>{o.stopPropagation();let l=jt(t.recurrence_parent||"");n.app.workspace.openLinkText(l,t.path,!1)}),a}function Ett(r){let{metadataLine:e,task:t,plugin:n,visibleProperties:i,propertyOptions:a={}}=r;e.empty();let s=[],o=btt(i,n),l=Stt(r);l&&s.push(l);for(let c of o){if(rb(c,"status",n)||rb(c,"priority",n))continue;if(c==="blocked"){let u=Ttt(r);u&&s.push(u);continue}if(c==="blocking"){let u=ktt(r);u&&s.push(u);continue}if(c==="googleCalendarSync"){let u=wtt(r);u&&s.push(u);continue}let d=kbe(e,c,t,n,a);d&&s.push(d)}return wbe(e,s),s}function qH(r){let{metadataLine:e,card:t,task:n,plugin:i,visibleProperties:a,propertyOptions:s,handlers:o}=r;return Ett({metadataLine:e,card:t,task:n,plugin:i,visibleProperties:a,propertyOptions:s,onBlockedByToggle:()=>void HH({card:t,task:n,plugin:i,handlers:o})})}var wu,Wbe=y(()=>{wu=require("obsidian");Ne();jn();xc();Sbe();aI();Px();VH()});function Ybe(r,e,t=!1){return!t&&(!r||r.some(n=>rb(n,"status",e)))}function Gbe(r,e){return!r||r.some(t=>rb(t,"priority",e))}function cI(r,e,t){let n=t.statusManager.getStatusConfig(e);n!=null&&n.color?r.style.setProperty("--current-status-color",n.color):r.style.removeProperty("--current-status-color");let i=t.statusManager.getNextStatus(e),a=t.statusManager.getStatusConfig(i);a!=null&&a.color?r.style.setProperty("--next-status-color",a.color):r.style.removeProperty("--next-status-color")}function YH(r,e,t){let n=t.priorityManager.getPriorityConfig(e.priority);return n!=null&&n.color?(r.style.setProperty("--priority-color",n.color),r.style.setProperty("--current-priority-color",n.color)):(r.style.removeProperty("--priority-color"),r.style.removeProperty("--current-priority-color")),n}function dI(r,e){e!=null&&e.color?r.style.borderColor=e.color:r.style.removeProperty("border-color"),e!=null&&e.icon?(r.addClass("task-card__status-dot--icon"),r.empty(),(0,WH.setIcon)(r,e.icon)):(r.removeClass("task-card__status-dot--icon"),r.empty(),r.removeAttribute("data-icon"),r.classList.remove("has-icon"))}function GH(r){let{mainRow:e,card:t,task:n,plugin:i,effectiveStatus:a,visibleProperties:s,hideStatusIndicator:o,onClick:l}=r;if(!Ybe(s,i,o)||!e)return null;let c=e.createEl("span",{cls:"task-card__status-dot"});return dI(c,i.statusManager.getStatusConfig(a)),Pl(c),c.addEventListener("click",l),c.dataset.taskPath=n.path,cI(t,a,i),c}function Kbe(r,e,t){let n=r.querySelector(t);if(n){n.insertAdjacentElement("afterend",e);return}let i=r.querySelector(".task-card__checkbox");if(i){i.insertAdjacentElement("afterend",e);return}r.insertBefore(e,r.firstChild)}function Zbe(r){let{mainRow:e,card:t,plugin:n,effectiveStatus:i,visibleProperties:a,hideStatusIndicator:s}=r,o=t.querySelector(".task-card__status-dot");if(cI(t,i,n),!Ybe(a,n,s))return o==null||o.remove(),null;if(o)return dI(o,n.statusManager.getStatusConfig(i)),o;if(!e)return null;let l=GH(r);return l&&Kbe(e,l,".task-card__checkbox"),l}function Qbe(r,e,t){r.style.borderColor=e.color,r.setAttribute("aria-label",t.i18n.translate("ui.taskCard.priorityAriaLabel",{label:e.label})),r.replaceChildren(),r.classList.toggle("task-card__priority-dot--icon",!!e.icon),e.icon?(0,WH.setIcon)(r,e.icon):(r.removeAttribute("data-icon"),r.classList.remove("has-icon"))}function KH(r){let{mainRow:e,task:t,plugin:n,visibleProperties:i,onClick:a}=r,s=n.priorityManager.getPriorityConfig(t.priority);if(!t.priority||!s||!Gbe(i,n)||!e)return null;let o=e.createEl("span",{cls:"task-card__priority-dot"});return Qbe(o,s,n),Pl(o),o.addEventListener("click",a),o}function Jbe(r){var c,d;let{mainRow:e,card:t,task:n,plugin:i,visibleProperties:a}={...r,card:(d=(c=r.mainRow)==null?void 0:c.closest(".task-card"))!=null?d:r.mainRow};if(!t)return null;let s=t.querySelector(".task-card__priority-dot"),o=i.priorityManager.getPriorityConfig(n.priority);if(!n.priority||!o||!Gbe(a,i))return s==null||s.remove(),null;if(!s){if(!e)return null;let u=KH(r);return u&&Kbe(e,u,".task-card__status-dot"),u}Qbe(s,o,i);let l=s.cloneNode(!0);return Pl(l),l.addEventListener("click",r.onClick),s.replaceWith(l),l}var WH,ZH=y(()=>{WH=require("obsidian");xc();Px()});function xtt(r){let e=/^(\d{4})-(\d{2})-(\d{2})$/.exec(r);if(!e)return null;let[,t,n,i]=e;return new Date(Date.UTC(Number(t),Number(n)-1,Number(i)))}function Ctt(){let r=new Date;return new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate()))}function Dtt(r){if(r.recurrence&&r.recurrence_anchor!=="completion"&&r.scheduled){let e=xtt(ke(r.scheduled));if(e)return e}return Ctt()}function QH(r,e){var n,i,a;if(typeof r.details=="string")return r.details.trim().length>0;if(!e||!r.path)return!1;let t=(a=(i=(n=e.app.metadataCache).getCache)==null?void 0:i.call(n,r.path))==null?void 0:a.sections;return t?t.some(s=>s.type!=="yaml"):!1}function JH(r){var e;return((e=r.settings)==null?void 0:e.showCompletedTaskStrikethrough)!==!1}function XH(r){let e=new Set;for(let t of Tl(r.projects||[])){let n=ou(t);n&&e.add(`task-card--project-${n}`)}return Array.from(e)}function Ptt(r,e,t){var a;let n=["task-card"];t.layout!=="default"&&n.push(`task-card--layout-${t.layout}`),t.isCompleted&&n.push("task-card--completed"),t.isCompleted&&JH(e)&&n.push("task-card--completed-strikethrough"),t.isSkipped&&n.push("task-card--skipped"),r.archived&&n.push("task-card--archived"),t.isActivelyTracked&&n.push("task-card--actively-tracked"),t.isRecurring&&n.push("task-card--recurring"),t.isMaterializedOccurrence&&n.push("task-card--materialized-occurrence"),t.hasDetails&&n.push("task-card--has-details"),r.priority&&n.push(`task-card--priority-${ou(r.priority)}`),t.effectiveStatus&&n.push(`task-card--status-${ou(t.effectiveStatus)}`),((a=e.settings)==null?void 0:a.subtaskChevronPosition)==="left"&&n.push("task-card--chevron-left");let i=XH(r);return i.length>0&&n.push("task-card--has-projects",...i),n}function eV(r,e,t={}){var c,d;let n=t.targetDate||Dtt(r),i=r.recurrence?bv(r,n,e.statusManager.getCompletedStatuses()[0]):r.status,a=t.layout||"default",s=r.recurrence?((c=r.complete_instances)==null?void 0:c.includes(ce(n)))||!1:e.statusManager.isCompletedStatus(i),o=r.recurrence&&((d=r.skipped_instances)==null?void 0:d.includes(ce(n)))||!1,l={targetDate:n,effectiveStatus:i,layout:a,isCompleted:s,isSkipped:o,isRecurring:!!r.recurrence,isMaterializedOccurrence:!!(r.recurrence_parent&&r.occurrence_date),isActivelyTracked:e.getActiveTimeSession(r)!==null,hasDetails:QH(r,e)};return{...l,cardClasses:Ptt(r,e,l)}}var tV=y(()=>{Ne();Ct()});function Ee(r,e,t){r==null||r.trigger(rV,{message:e,timeout:t})}var rV,ls=y(()=>{rV="user-notice"});function uI(r,e,t){return r.i18n.translate(e,t)}function Mtt(r){let e=new Set,t=[];for(let n of r){let i=n.trim();!i||e.has(i)||(e.add(i),t.push(i))}return t}function eTe(r,e,t){return js(r.app,e,t,"","",r.settings.useFrontmatterMarkdownLinks)}function _tt(r,e,t){var s,o;let n=e.trim();if(!n)return"";let i=jt(n),a=(o=(s=r.app.metadataCache).getFirstLinkpathDest)==null?void 0:o.call(s,i,t);return a instanceof Xbe.TFile?eTe(r,a,t):n}async function pI(r,e,t){let n=js(r.app,t,e.path,"","",r.settings.useFrontmatterMarkdownLinks),i=`[[${t.basename}]]`,a=Array.isArray(e.projects)?e.projects:[];if(a.includes(n)||a.includes(i))return Ee(r.emitter,uI(r,"contextMenus.task.organization.notices.alreadyInProject")),null;let o=[...a.filter(c=>c!==i),n],l=await r.updateTaskProperty(e,"projects",o);return Ee(r.emitter,uI(r,"contextMenus.task.organization.notices.addedToProject",{project:t.basename})),l}async function mI(r,e,t){let n=js(r.app,e,t.path,"","",r.settings.useFrontmatterMarkdownLinks),i=`[[${e.basename}]]`,a=Array.isArray(t.projects)?t.projects:[];if(a.includes(n)||a.includes(i))return Ee(r.emitter,uI(r,"contextMenus.task.organization.notices.alreadySubtask")),null;let o=[...a.filter(c=>c!==i),n],l=await r.updateTaskProperty(t,"projects",o);return Ee(r.emitter,uI(r,"contextMenus.task.organization.notices.addedAsSubtask",{subtask:t.title,parent:e.basename})),l}function tTe(r,e,t){var c;let n=!!((c=r.settings.taskCreationDefaults)!=null&&c.inheritParentTaskProperties),i=eTe(r,t,e.path),a=Array.isArray(e.tags)?e.tags:[],s=n?Array.isArray(e.projects)?e.projects.map(d=>_tt(r,d,e.path)):[]:[],o=n?r.settings.taskIdentificationMethod==="tag"?bu(a,r.settings.taskTag,r.settings.hideIdentifyingTagsMode):[...a]:[],l={projects:Mtt([...s,i])};return o.length>0&&(l.tags=o),n&&Array.isArray(e.contexts)&&e.contexts.length>0&&(l.contexts=[...e.contexts]),n&&e.priority&&(l.priority=e.priority),l}var Xbe,nV=y(()=>{Xbe=require("obsidian");jn();qp();ls()});var Mc=y(()=>{qB()});function Su(r,e,t={}){let n=Ye(),i={title:e.title.trim(),status:e.status||r.settings.defaultTaskStatus,priority:e.priority||r.settings.defaultTaskPriority,dateCreated:n,dateModified:n};if(t.creationContext&&(i.creationContext=t.creationContext),e.dueDate&&(i.due=e.dueTime?Ni(e.dueDate,e.dueTime):e.dueDate),e.scheduledDate&&(i.scheduled=e.scheduledTime?Ni(e.scheduledDate,e.scheduledTime):e.scheduledDate),e.contexts&&e.contexts.length>0&&(i.contexts=e.contexts),e.projects&&e.projects.length>0&&(i.projects=e.projects),e.tags&&e.tags.length>0&&(i.tags=e.tags.map(a=>Ri(a))),e.details&&(i.details=e.details),e.recurrence&&(i.recurrence=e.recurrence),e.estimate&&e.estimate>0&&(i.timeEstimate=e.estimate),e.userFields){let a=r.settings.userFields||[],s={};for(let[o,l]of Object.entries(e.userFields)){let c=a.find(d=>d.id===o);c&&(s[c.key]=Array.isArray(l)?l.join(", "):l)}Object.keys(s).length>0&&(i.customFrontmatter=s)}return i}var Lx=y(()=>{Ne();Ct()});function Att(r,e){if(!r.recurrence)return!1;let t=ce(e);return(Array.isArray(r.complete_instances)?r.complete_instances:[]).includes(t)}function rTe(r,e,t,n="open"){let i=t.getCompletedStatuses()[0]||"done",a=P_(r,e,i)||n;return!r.recurrence||Att(r,e)?a:t.isCompletedStatus(a)?n:a}function $h(r,e,t,n="open"){return t.isCompletedStatus(rTe(r,e,t,n))}function fI(r,e,t,n="open"){let i=rTe(r,e,t,n);return i===r.status?r:{...r,status:i}}var hI=y(()=>{yv();Ne()});var cb,Itt,lb,iV=y(()=>{cb=require("obsidian");wc();V_();tS();qp();G();Itt=I({tag:"Modals/TaskCreationSuggest"}),lb=class extends cb.AbstractInputSuggest{constructor(t,n,i){super(t,n);this.currentTrigger=null;this.projectMetadataResolver=null;this.plugin=i,this.textarea=n,this.obsidianApp=t}getCursorPosition(){var t;return(t=this.textarea.selectionStart)!=null?t:this.textarea.value.length}isBoundary(t,n){if(n===-1)return!1;if(n===0)return!0;let i=t[n-1];return!/\w/.test(i)}findActiveTrigger(t){let n=t.lastIndexOf("@"),i=t.lastIndexOf("#"),a=t.lastIndexOf("+"),s=(this.plugin.settings.statusSuggestionTrigger||"").trim(),o=s?t.lastIndexOf(s):-1,l=[{type:"@",index:n},{type:"#",index:i},{type:"+",index:a},{type:"status",index:o}].filter(m=>this.isBoundary(t,m.index));if(l.length===0)return{trigger:null,triggerIndex:-1,queryAfterTrigger:""};l.sort((m,f)=>f.index-m.index);let c=l[0].index,d=l[0].type,u=d==="status"?(s==null?void 0:s.length)||0:1,p=t.slice(c+u);return{trigger:d,triggerIndex:c,queryAfterTrigger:p}}shouldEndSuggestionContext(t,n){return!!(t==="+"&&/^\[\[[^\]]*\]\]/.test(n)||(t==="@"||t==="#"||t==="status")&&(n.includes(" ")||n.includes(`
`)))}getContextSuggestions(t){return this.plugin.cacheManager.getAllContexts().filter(i=>i&&typeof i=="string").filter(i=>i.toLowerCase().includes(t.toLowerCase())).slice(0,10).map(i=>({value:i,display:i,type:"context",toString(){return this.value}}))}getStatusSuggestions(t){return Zn.fromPlugin(this.plugin).getStatusSuggestions(t,10).map(i=>({...i,type:"status",toString(){return this.value}}))}getTagSuggestions(t){return VA(this.plugin.cacheManager.getAllTags(),this.plugin.settings).filter(i=>i&&typeof i=="string").filter(i=>i.toLowerCase().includes(t.toLowerCase())).slice(0,10).map(i=>({value:i,display:i,type:"tag",toString(){return this.value}}))}getProjectMetadataResolver(){var t;if(!this.projectMetadataResolver){let n=(t=this.obsidianApp)!=null?t:this.plugin.app;this.projectMetadataResolver=new Rp({getFrontmatter:i=>{let a=n==null?void 0:n.vault.getAbstractFileByPath(i.path),s=a instanceof cb.TFile?n==null?void 0:n.metadataCache.getFileCache(a):void 0;return(s==null?void 0:s.frontmatter)||{}}})}return this.projectMetadataResolver}async getProjectSuggestions(t){var s,o,l,c;let{FileSuggestHelper:n}=await Promise.resolve().then(()=>(nS(),XB)),i=await n.suggest(this.plugin,t,20,this.plugin.settings.projectAutosuggest),a=(s=this.obsidianApp)!=null?s:this.plugin.app;try{let d=this.getProjectMetadataResolver(),u=((c=(l=(o=this.plugin.settings)==null?void 0:o.projectAutosuggest)==null?void 0:l.rows)!=null?c:[]).slice(0,3);return i.map(p=>{var x;let m=a==null?void 0:a.vault.getMarkdownFiles().find(C=>C.basename===p.insertText);if(!m)return{basename:p.insertText,displayName:p.displayText,type:"project",toString(){return this.basename}};let f=a==null?void 0:a.metadataCache.getFileCache(m),h=(f==null?void 0:f.frontmatter)||{},g=this.plugin.fieldMapper.mapFromFrontmatter(h,m.path,this.plugin.settings.storeTitleInFilename),v=typeof g.title=="string"?g.title:"",k=(0,cb.parseFrontMatterAliases)(h)||[],b=Array.isArray(k)?k.filter(C=>typeof C=="string"):[],w={basename:m.basename,name:m.name,path:m.path,parent:((x=m.parent)==null?void 0:x.path)||"",title:v,aliases:b,frontmatter:h},S=this.generateProjectDisplayName(u,w,d,m.basename);return{basename:p.insertText,displayName:S,type:"project",entry:{basename:w.basename,name:w.name,path:w.path,parent:w.parent,title:w.title,aliases:w.aliases,frontmatter:w.frontmatter},toString(){return this.basename}}})}catch(d){return Itt.error("Enhanced project autosuggest failed, falling back to basic suggestions",{category:"persistence",operation:"enhanced-project-autosuggest-falling-back-basic-suggestions",error:d}),i.map(u=>({basename:u.insertText,displayName:u.displayText,type:"project",toString(){return this.basename}}))}}generateProjectDisplayName(t,n,i,a){var o;let s=[];for(let l of t)try{let c=hc(l),d=[];for(let p of c){if(p.property.startsWith("literal:")){d.push(p.property.slice(8));continue}let m=i.resolve(p.property,n)||"";if(m)if(p.showName){let f=(o=p.displayName)!=null?o:p.property;d.push(`${f}: ${m}`)}else d.push(m)}let u=d.join(" ");u.trim()&&s.push(u)}catch(c){}return s.join(" | ")||a}async getSuggestions(t){let n=this.getCursorPosition(),i=this.textarea.value.slice(0,n),{trigger:a,triggerIndex:s,queryAfterTrigger:o}=this.findActiveTrigger(i);if(!a||s===-1)return this.currentTrigger=null,[];if(this.shouldEndSuggestionContext(a,o))return this.currentTrigger=null,[];switch(this.currentTrigger=a,a){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(t,n){var c,d,u,p,m;n.setAttribute("role","option");let i=t.type==="project"?t.displayName:t.display;n.setAttribute("aria-label",`${t.type}: ${i}`);let a=n.createSpan("nlp-suggest-icon");a.textContent=this.currentTrigger==="status"?this.plugin.settings.statusSuggestionTrigger||"":this.currentTrigger||"",a.setAttribute("aria-hidden","true");let s=n.createSpan("nlp-suggest-text"),o=(f,h)=>{if(!h)return;let g=h.toLowerCase().split(/\s+/).filter(Boolean);if(!g.length)return;let v=k=>{var b;if(k.nodeType===Node.TEXT_NODE){let w=k.nodeValue||"",S=w.toLowerCase(),x=[];for(let O of g){let L=S.indexOf(O);for(;L!==-1;)x.push({start:L,end:L+O.length}),L=S.indexOf(O,L+1)}x.sort((O,L)=>O.start-L.start);let C=[];for(let O of x)(!C.length||O.start>=C[C.length-1].end)&&C.push(O);if(!C.length)return;let D=activeDocument.createDocumentFragment(),_=0;for(let O of C){O.start>_&&D.appendChild(activeDocument.createTextNode(w.slice(_,O.start)));let L=activeDocument.createElement("mark");L.textContent=w.slice(O.start,O.end),D.appendChild(L),_=O.end}_<w.length&&D.appendChild(activeDocument.createTextNode(w.slice(_))),(b=k.parentNode)==null||b.replaceChild(D,k)}else if(k.nodeType===Node.ELEMENT_NODE&&k.tagName!=="MARK"){let w=Array.from(k.childNodes);for(let S of w)v(S)}};v(f)},l="";if(this.currentTrigger==="+"){let f=this.getCursorPosition(),h=this.textarea.value.slice(0,f),g=h.lastIndexOf("+");if(g!==-1){let v=h.slice(g+1);v&&!v.includes(`
`)&&(l=v.trim())}}if(t.type==="project"){let f=s.createDiv({cls:"nlp-suggest-project__filename",text:t.basename});l&&o(f,l);let h=((u=(d=(c=this.plugin.settings)==null?void 0:c.projectAutosuggest)==null?void 0:d.rows)!=null?u:[]).slice(0,3);if(Array.isArray(h)&&h.length>0&&t.entry){let g=this.getProjectMetadataResolver();for(let v=0;v<Math.min(h.length,3);v++){let k=h[v];if(k)try{let b=hc(k),w=s.createDiv({cls:"nlp-suggest-project__meta"}),S=new Set(["title","aliases","file.basename"]),x=!1;for(let C of b){if(C.property.startsWith("literal:")){let L=C.property.slice(8);L&&(w.childNodes.length&&w.appendChild(activeDocument.createTextNode(" ")),w.appendChild(activeDocument.createTextNode(L)),x=!0);continue}let D=g.resolve(C.property,t.entry);if(!D)continue;if(w.childNodes.length&&w.appendChild(activeDocument.createTextNode(" ")),C.showName){let L=activeDocument.createElement("span");L.className="nlp-suggest-project__meta-label",L.textContent=`${(p=C.displayName)!=null?p:C.property}:`,w.appendChild(L),w.appendChild(activeDocument.createTextNode(" "))}let _=activeDocument.createElement("span");_.className="nlp-suggest-project__meta-value",_.textContent=D,w.appendChild(_),x=!0;let O=C.searchable===!0||S.has(C.property);l&&O&&o(_,l)}(!x||((m=w.textContent)==null?void 0:m.trim().length)===0)&&w.remove()}catch(b){}}}}else t.type,s.textContent=t.display}selectSuggestion(t){if(!this.currentTrigger)return;let n=this.getCursorPosition(),i=this.textarea.value.slice(0,n),a=this.textarea.value.slice(n),s=-1,o=(this.plugin.settings.statusSuggestionTrigger||"").trim();if(this.currentTrigger==="@"?s=i.lastIndexOf("@"):this.currentTrigger==="#"?s=i.lastIndexOf("#"):this.currentTrigger==="+"?s=i.lastIndexOf("+"):this.currentTrigger==="status"&&o&&(s=i.lastIndexOf(o)),s===-1)return;let l=t.type==="project"?t.basename:t.value,c=i.slice(0,s),d="";this.currentTrigger==="+"?d="+[["+l+"]]":this.currentTrigger==="status"?d=t.type==="status"?t.label:l:d=this.currentTrigger+l;let u=c+d+(d?" ":"")+a;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()}}});var sV={};et(sV,{TaskSelectorWithCreateModal:()=>$x,getTaskSelectorQueryRank:()=>aV,openTaskSelector:()=>Pn,openTaskSelectorWithCreate:()=>Rtt,taskMatchesSelectorQuery:()=>iTe});function Fx(r,e){return r==null||typeof r!="string"&&typeof r!="number"&&typeof r!="boolean"?!1:String(r).toLowerCase().includes(e)}function gI(r,e){if(r==null||typeof r!="string"&&typeof r!="number"&&typeof r!="boolean")return null;let t=String(r).toLowerCase();return t.includes(e)?t===e?0:t.startsWith(e)?1:t.split(/[^a-z0-9]+/).some(i=>i.startsWith(e))?2:3:null}function nTe(r,e){let t=null;for(let n of r){let i=gI(n,e);i!==null&&(t=t===null?i:Math.min(t,i))}return t}function iTe(r,e){var n;return!!(Fx(r.title,e)||Fx(r.due,e)||r.priority!=="normal"&&Fx(r.priority,e)||(n=r.contexts)!=null&&n.some(i=>Fx(i,e))||Tl(r.projects||[]).some(i=>Fx(i,e)))}function aV(r,e){let t=gI(r.title,e);if(t!==null)return t;let n=nTe(r.contexts||[],e);if(n!==null)return 10+n;let i=Tl(r.projects||[]),a=nTe(i,e);if(a!==null)return 20+a;if(r.priority!=="normal"){let o=gI(r.priority,e);if(o!==null)return 30+o}let s=gI(r.due,e);return s!==null?40+s:Number.MAX_SAFE_INTEGER}async function Rtt(r,e){let t=await r.cacheManager.getAllTasks();return new Promise(n=>{new $x(r.app,r,t,{onResult:n,...e}).open()})}function Pn(r,e,t,n){new $x(r.app,r,e,{placeholder:n==null?void 0:n.placeholder,title:n==null?void 0:n.title,targetDate:n==null?void 0:n.targetDate,onResult:a=>{a.type==="selected"||a.type==="created"?t(a.task):t(null)}}).open()}var _c,Ntt,$x,No=y(()=>{_c=require("obsidian");Ct();wc();la();Lx();hI();iV();G();Ntt=I({tag:"Modals/TaskSelectorWithCreateModal"});$x=class extends _c.SuggestModal{constructor(t,n,i,a){super(t);this.nlpSuggest=null;this.createFooterEl=null;this.currentQuery="";this.resultHandled=!1;this.isCreatingTask=!1;this.handleCreateFooterActivation=t=>{!this.createFooterEl||this.createFooterEl.classList.contains("tn-static-display-none-6b99de8b")||(t.preventDefault(),t.stopPropagation(),this.createNewTask())};this.handleCreateFooterKeydown=t=>{t.key!=="Enter"&&t.key!==" "||this.handleCreateFooterActivation(t)};this.handleInputChange=()=>{let t=this.inputEl.value.trim();this.currentQuery=t,this.updateCreateFooter(t)};this.plugin=n,this.tasks=i,this.options=a,this.targetDate=a.targetDate||new Date,this.translate=n.i18n.translate.bind(n.i18n),this.nlParser=Zn.fromPlugin(n),this.setPlaceholder(a.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(a.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",t=>(t.preventDefault(),t.stopPropagation(),this.createNewTask(),!1)),this.inputEl.addEventListener("input",this.handleInputChange),this.nlpSuggest=new lb(this.app,this.inputEl,this.plugin),window.setTimeout(()=>this.createFooter(),0)}createFooter(){var n;let t=((n=this.modalEl.querySelector(".prompt"))==null?void 0:n.parentElement)||this.modalEl;this.createFooterEl=t.createDiv({cls:"task-selector-create-footer"}),this.createFooterEl.setAttribute("role","button"),this.createFooterEl.setAttribute("aria-hidden","true"),this.createFooterEl.tabIndex=-1,this.createFooterEl.addEventListener("click",this.handleCreateFooterActivation),this.createFooterEl.addEventListener("keydown",this.handleCreateFooterKeydown),this.createFooterEl.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-none-6b99de8b"),this.currentQuery&&this.updateCreateFooter(this.currentQuery)}updateCreateFooter(t){if(!this.createFooterEl)return;if(!t){this.createFooterEl.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-none-6b99de8b"),this.createFooterEl.setAttribute("aria-hidden","true"),this.createFooterEl.removeAttribute("aria-label"),this.createFooterEl.tabIndex=-1,this.createFooterEl.empty();return}let n=this.nlParser.parseInput(t);if(n.title&&n.title!=="Untitled Task"){this.createFooterEl.empty(),this.createFooterEl.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-flex-75816cae"),this.createFooterEl.setAttribute("aria-hidden","false"),this.createFooterEl.setAttribute("aria-label",`${this.translate("modals.taskSelectorWithCreate.footer.createLabel").trim()} ${n.title}`.trim()),this.createFooterEl.tabIndex=0;let i=this.createFooterEl.createDiv({cls:"task-selector-create-footer__icon"});(0,_c.setIcon)(i,"plus-circle");let a=this.createFooterEl.createDiv({cls:"task-selector-create-footer__content"});a.createDiv({cls:"task-selector-create-footer__title-line"}).createSpan({cls:"task-selector-create-footer__title",text:n.title});let o=this.buildMetadataParts(n);if(o.length>0){let c=a.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,_c.setIcon)(p,d.icon),u.createSpan({cls:"task-selector-create-footer__chip-text",text:d.text})})}let l=a.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.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-none-6b99de8b"),this.createFooterEl.setAttribute("aria-hidden","true"),this.createFooterEl.removeAttribute("aria-label"),this.createFooterEl.tabIndex=-1,this.createFooterEl.empty()}buildMetadataParts(t){let n=[];if(t.dueDate){let i=t.dueTime?`${t.dueDate} ${t.dueTime}`:t.dueDate;n.push({icon:"calendar",text:i,type:"due"})}if(t.scheduledDate){let i=t.scheduledTime?`${t.scheduledDate} ${t.scheduledTime}`:t.scheduledDate;n.push({icon:"calendar-clock",text:i,type:"scheduled"})}if(t.priority&&t.priority!=="normal"&&n.push({icon:"flag",text:t.priority,type:"priority"}),t.status){let i=this.plugin.statusManager.getStatusConfig(t.status);n.push({icon:"circle-dot",text:(i==null?void 0:i.label)||t.status,type:"status"})}if(t.contexts&&t.contexts.length>0&&t.contexts.forEach(i=>{n.push({icon:"at-sign",text:i,type:"context"})}),t.projects&&t.projects.length>0&&t.projects.forEach(i=>{n.push({icon:"folder",text:i.replace(/^\[\[|\]\]$/g,""),type:"project"})}),t.tags&&t.tags.length>0&&t.tags.forEach(i=>{n.push({icon:"hash",text:i,type:"tag"})}),t.recurrence&&n.push({icon:"repeat",text:t.recurrence,type:"recurrence"}),t.estimate&&t.estimate>0){let i=Math.floor(t.estimate/60),a=t.estimate%60,s=i>0?`${i}h ${a}m`:`${a}m`;n.push({icon:"timer",text:s,type:"estimate"})}if(t.details){let i=t.details.length>30?t.details.substring(0,30)+"...":t.details;n.push({icon:"file-text",text:i,type:"details"})}if(t.userFields){let i=this.plugin.settings.userFields||[];for(let[a,s]of Object.entries(t.userFields)){let o=i.find(d=>d.id===a),l=(o==null?void 0:o.displayName)||a,c=Array.isArray(s)?s.join(", "):s;n.push({icon:"sliders-horizontal",text:`${l}: ${c}`,type:"userfield"})}}return n}async createNewTask(){if(this.isCreatingTask)return;let t=this.inputEl.value.trim();if(!t){new _c.Notice(this.translate("modals.taskSelectorWithCreate.notices.emptyQuery"));return}this.isCreatingTask=!0;try{let n=this.nlParser.parseInput(t);if(!n.title||n.title==="Untitled Task"){new _c.Notice(this.translate("modals.taskSelectorWithCreate.notices.invalidTitle"));return}let i=this.buildTaskDataFromParsed(n),a=await this.plugin.taskService.createTask(i);new _c.Notice(this.translate("modals.taskCreation.notices.success",{title:a.taskInfo.title})),this.resultHandled=!0,this.close(),this.options.onResult({type:"created",task:a.taskInfo})}catch(n){Ntt.error("Failed to create task:",{category:"persistence",operation:"create-task",error:n});let i=n instanceof Error?n.message:String(n);new _c.Notice(this.translate("modals.taskCreation.notices.failure",{message:i}))}finally{this.isCreatingTask=!1}}buildTaskDataFromParsed(t){return Su(this.plugin,t)}getSuggestions(t){return this.currentQuery=t,this.getFilteredTasks(t)}getFilteredTasks(t){let n=t.trim().toLowerCase(),i=n.length>0;return this.tasks.filter(a=>!a.archived).filter(a=>i?iTe(a,n):!0).sort((a,s)=>{var p,m;if(i){let f=aV(a,n)-aV(s,n);if(f!==0)return f}let o=$h(a,this.targetDate,this.plugin.statusManager,this.plugin.settings.defaultTaskStatus),l=$h(s,this.targetDate,this.plugin.statusManager,this.plugin.settings.defaultTaskStatus);if(o!==l)return o?1:-1;if(i){let f=a.title.localeCompare(s.title);if(f!==0)return f}if(a.due&&!s.due)return-1;if(!a.due&&s.due)return 1;if(a.due&&s.due){let f=a.due.localeCompare(s.due);if(f!==0)return f}let c={high:0,normal:1,low:2},d=(p=c[a.priority])!=null?p:1,u=(m=c[s.priority])!=null?m:1;return d!==u?d-u:a.title.localeCompare(s.title)})}renderSuggestion(t,n){let i=fI(t,this.targetDate,this.plugin.statusManager,this.plugin.settings.defaultTaskStatus),a=Sr(i,this.plugin,void 0,{layout:"default",targetDate:this.targetDate});a.classList.add("task-selector-modal__suggestion");let s=a.cloneNode(!0);n.appendChild(s)}onChooseSuggestion(t,n){this.resultHandled=!0,this.options.onResult({type:"selected",task:t})}onClose(){var t;this.inputEl.removeEventListener("input",this.handleInputChange),(t=this.nlpSuggest)==null||t.close(),this.nlpSuggest=null,this.createFooterEl&&(this.createFooterEl.removeEventListener("click",this.handleCreateFooterActivation),this.createFooterEl.removeEventListener("keydown",this.handleCreateFooterKeydown),this.createFooterEl.remove(),this.createFooterEl=null),window.setTimeout(()=>{this.resultHandled||this.options.onResult({type:"cancelled"})},0),super.onClose()}}});function aTe(r){let e=String(r.getHours()).padStart(2,"0"),t=String(r.getMinutes()).padStart(2,"0");return`${e}:${t}`}function sTe(r,e){let t=null;if(r.scheduled)try{t=ut(r.scheduled)}catch(a){t=null}(!t||isNaN(t.getTime()))&&(t=new Date(e)),isNaN(t.getTime())&&(t=new Date),(!r.scheduled||!kr(r.scheduled))&&t.setHours(9,0,0,0);let n=r.timeEstimate&&r.timeEstimate>0?r.timeEstimate:60,i=new Date(t.getTime()+n*60*1e3);return{date:ce(t),startTime:aTe(t),endTime:aTe(i)}}var oTe=y(()=>{Ne()});function Qp(r,e,t){new oV(r.app,r,{placeholder:t==null?void 0:t.placeholder,title:t==null?void 0:t.title,filter:t==null?void 0:t.filter,newFileFolder:t==null?void 0:t.newFileFolder,sortOrder:t==null?void 0:t.sortOrder,onResult:i=>{i.type==="selected"||i.type==="created"?e(i.file):e(null)}}).open()}var Ci,Ott,oV,zx=y(()=>{Ci=require("obsidian");G();Mc();Ott=I({tag:"Modals/FileSelectorModal"}),oV=class extends Ci.SuggestModal{constructor(t,n,i){super(t);this.currentQuery="";this.resultHandled=!1;this.createFooterEl=null;this.handleInputChange=()=>{this.currentQuery=this.inputEl.value.trim(),this.updateCreateFooter()};this.plugin=n,this.options=i,this.setPlaceholder(i.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"}]),i.title&&this.titleEl.setText(i.title),this.containerEl.addClass("file-selector-modal"),this.containerEl.addClass("tasknotes-plugin")}onOpen(){super.onOpen(),this.scope.register(["Shift"],"Enter",t=>(t.preventDefault(),t.stopPropagation(),this.createNewFile(),!1)),this.inputEl.addEventListener("input",this.handleInputChange),window.setTimeout(()=>this.createFooter(),0)}createFooter(){var n;let t=this.modalEl.querySelector(".prompt");t&&(this.createFooterEl=((n=t.parentElement)==null?void 0:n.createDiv({cls:"file-selector-create-footer"}))||null,this.createFooterEl&&(this.createFooterEl.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-none-6b99de8b")))}updateCreateFooter(){if(!this.createFooterEl)return;if(!this.currentQuery){this.createFooterEl.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-none-6b99de8b");return}this.createFooterEl.empty(),this.createFooterEl.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),this.createFooterEl.classList.add("tn-static-display-flex-75816cae");let n=this.createFooterEl.createDiv({cls:"file-selector-create-footer__content"}).createDiv({cls:"file-selector-create-footer__title-line"});n.createSpan({cls:"file-selector-create-footer__shortcut",text:"\u21E7\u21B5"}),n.createSpan({cls:"file-selector-create-footer__hint-text",text:" to create: "}),n.createSpan({cls:"file-selector-create-footer__filename",text:this.getNewFileName()})}getNewFileName(){let t=this.currentQuery;return t.toLowerCase().endsWith(".md")&&(t=t.slice(0,-3)),t+".md"}async createNewFile(){if(!this.currentQuery){new Ci.Notice("Please enter a file name");return}try{let t=this.currentQuery;t.toLowerCase().endsWith(".md")&&(t=t.slice(0,-3));let n=this.options.newFileFolder||"",i=n?`${n}/${t}.md`:`${t}.md`;if(this.app.vault.getAbstractFileByPath(i)){new Ci.Notice(`File "${i}" already exists`);return}n&&!await this.app.vault.adapter.exists(n)&&await Xw(this.app,n);let s=await sh(this.app,i,"");this.resultHandled=!0,this.close(),this.options.onResult({type:"created",file:s})}catch(t){Ott.error("Error creating file:",{category:"persistence",operation:"creating-file",error:t}),new Ci.Notice("Failed to create file")}}getSuggestions(t){this.currentQuery=t.trim(),this.updateCreateFooter();let n=this.app.vault.getAllLoadedFiles(),i=t.toLowerCase(),a,s=this.options.filter||"markdown";typeof s=="function"?a=n.filter(s):s==="markdown"?a=n.filter(c=>c instanceof Ci.TFile&&c.extension==="md"&&!c.path.includes(".trash")):a=n.filter(c=>c instanceof Ci.TFile&&!c.path.includes(".trash"));let o=this.options.sortOrder||"name-asc",l=[...a].sort((c,d)=>{let u=c instanceof Ci.TFile?c.stat.ctime:0,p=d instanceof Ci.TFile?d.stat.ctime:0,m=c instanceof Ci.TFile?c.stat.mtime:0,f=d instanceof Ci.TFile?d.stat.mtime:0;switch(o){case"name-desc":return d.name.localeCompare(c.name);case"path-asc":return c.path.localeCompare(d.path);case"path-desc":return d.path.localeCompare(c.path);case"created-recent":return p-u;case"created-oldest":return u-p;case"modified-recent":return f-m;case"modified-oldest":return m-f;case"name-asc":default:return c.name.localeCompare(d.name)}});return t?l.filter(c=>this.getSearchText(c).toLowerCase().includes(i)).slice(0,50):l.slice(0,50)}getSearchText(t){let n=`${t.name} ${t.path}`;if(t instanceof Ci.TFile){let i=this.app.metadataCache.getFileCache(t);if(i!=null&&i.frontmatter){let a=this.plugin.fieldMapper.toUserField("title"),s=i.frontmatter[a];s&&(n+=` ${s}`);let o=(0,Ci.parseFrontMatterAliases)(i.frontmatter);o&&o.length>0&&(n+=` ${o.join(" ")}`)}}return n}renderSuggestion(t,n){let i=n.createDiv({cls:"file-selector-suggestion"});if(i.createDiv({cls:"file-selector-suggestion__name",text:t.name}),t instanceof Ci.TFile){let a=this.app.metadataCache.getFileCache(t);if(a!=null&&a.frontmatter){let s=this.plugin.fieldMapper.toUserField("title"),o=a.frontmatter[s];if(o)i.createDiv({cls:"file-selector-suggestion__title",text:o});else{let l=(0,Ci.parseFrontMatterAliases)(a.frontmatter);l&&l.length>0&&i.createDiv({cls:"file-selector-suggestion__aliases",text:l.join(", ")})}}}t.parent&&t.parent.path!=="/"&&i.createDiv({cls:"file-selector-suggestion__path",text:t.parent.path})}onChooseSuggestion(t,n){this.resultHandled=!0,this.options.onResult({type:"selected",file:t})}onClose(){this.inputEl.removeEventListener("input",this.handleInputChange),this.createFooterEl&&(this.createFooterEl.remove(),this.createFooterEl=null),window.setTimeout(()=>{this.resultHandled||this.options.onResult({type:"cancelled"})},0),super.onClose()}}});function Ftt(){return(0,Jp.requireApiVersion)("1.11.0")}function Di(r){Promise.resolve().then(r).catch(e=>{Ltt.error("TaskNotes settings callback failed:",{category:"configuration",operation:"settings-callback",error:e})})}function kt(r,e,t){if(Ftt()){let n=new Jp.SettingGroup(r).setHeading(e.heading);if(e.className&&n.addClass(e.className),e.description){let i=e.description;n.addSetting(a=>{a.setDesc(i),a.settingEl.addClass("settings-view__group-description")})}return t(n),n}else{let n=new lV(r).setHeading(e.heading);if(e.className&&n.addClass(e.className),e.description){let i=e.description;n.addSetting(a=>{a.setDesc(i),a.settingEl.addClass("settings-view__group-description")})}return t(n),n}}function me(r,e){return r.setName(e.name).setDesc(e.desc).addToggle(t=>{t.setValue(e.getValue()).onChange(n=>{Di(()=>e.setValue(n))})})}function Mn(r,e){return r.setName(e.name).setDesc(e.desc).addText(t=>{t.setValue(e.getValue());let n=i=>{Di(()=>e.setValue(i))};if(e.debounceMs&&e.debounceMs>0){let i=db(n,e.debounceMs);t.onChange(i)}else t.onChange(n);return e.placeholder&&t.setPlaceholder(e.placeholder),e.ariaLabel&&t.inputEl.setAttribute("aria-label",e.ariaLabel),t.inputEl.addClass("settings-view__input"),t})}function dn(r,e){return r.setName(e.name).setDesc(e.desc).addDropdown(t=>(e.options.forEach(n=>{t.addOption(n.value,n.label)}),t.setValue(e.getValue()).onChange(n=>{Di(()=>e.setValue(n))}),e.ariaLabel&&t.selectEl.setAttribute("aria-label",e.ariaLabel),t))}function Oa(r,e){let t=e.debounceMs?db(n=>{Di(()=>e.setValue(n))},e.debounceMs):n=>{Di(()=>e.setValue(n))};return r.setName(e.name).setDesc(e.desc).addText(n=>(n.setValue(e.getValue().toString()).onChange(i=>{let a=parseInt(i);if(!isNaN(a)){if(e.min!==void 0&&a<e.min||e.max!==void 0&&a>e.max)return;t(a)}}),n.inputEl.type="number",e.placeholder&&n.setPlaceholder(e.placeholder),e.min!==void 0&&n.inputEl.setAttribute("min",e.min.toString()),e.max!==void 0&&n.inputEl.setAttribute("max",e.max.toString()),e.ariaLabel&&n.inputEl.setAttribute("aria-label",e.ariaLabel),n.inputEl.addClass("settings-view__input"),n))}function Ac(r,e){return r.setName(e.name).setDesc(e.desc).addButton(t=>(t.setButtonText(e.buttonText).onClick(()=>{Di(e.onClick)}),e.buttonClass?t.buttonEl.addClass(e.buttonClass):t.buttonEl.addClasses(["tn-btn","tn-btn--ghost"]),t))}function Xp(r,e){return new Jp.Setting(r).setName(e).setHeading()}function Ic(r,e){return r.createEl("p",{text:e,cls:"settings-view__help-note"})}function db(r,e,t=!1){let n,i,a,s=function(...o){i=o,a=this;let l=()=>{n=void 0,i=void 0,t||r.apply(a,o)},c=t&&!n;window.clearTimeout(n),n=window.setTimeout(l,e),c&&r.apply(this,o)};return s.flush=()=>{n&&i&&(window.clearTimeout(n),n=void 0,r.apply(a,i),i=void 0)},s}var Jp,Ltt,lV,Nc=y(()=>{Jp=require("obsidian");G();Ltt=I({tag:"Settings/Components/SettingHelpers"});lV=class{constructor(e){this.containerEl=e}setHeading(e){return new Jp.Setting(this.containerEl).setName(e).setHeading(),this}addClass(e){return this}addSetting(e){let t=new Jp.Setting(this.containerEl);return e(t),this}}});function vr(r,e){let t=r.createDiv("tasknotes-settings__card");e.id&&t.setAttribute("data-card-id",e.id),e.draggable&&t.addClass("tasknotes-settings__card--draggable"),e.collapsible&&(t.addClass("tasknotes-settings__card--collapsible"),e.defaultCollapsed&&t.addClass("tasknotes-settings__card--collapsed"));let n=t.createDiv("tasknotes-settings__card-header"),i=null;e.draggable&&(n.addClass("tasknotes-settings__card-header--with-drag-handle"),i=n.createDiv("tasknotes-settings__card-drag-handle"),i.textContent="\u22EE\u22EE",i.draggable=!0,i.title="Drag to reorder");let a=n.createDiv();if(a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-flex-75816cae"),a.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),a.classList.add("tn-static-align-items-center-7c619740"),a.classList.remove("tn-static-flex-1-14e3b769","tn-static-margin-top-12px-91e0f558"),a.classList.add("tn-static-flex-1-97445a8d"),a.classList.remove("tn-static-min-width-2px-709d7da0"),a.classList.add("tn-static-min-width-0-3922d326"),e.colorIndicator){let c=a.createDiv("tasknotes-settings__card-color-indicator");c.style.backgroundColor=_r(e.colorIndicator.color),e.colorIndicator.cssVar&&c.style.setProperty("--card-color",_r(e.colorIndicator.color))}let s=a.createDiv("tasknotes-settings__card-info"),o=s.createSpan("tasknotes-settings__card-primary-text");if(o.textContent=e.header.primaryText,e.header.secondaryText){let c=s.createSpan("tasknotes-settings__card-secondary-text");c.textContent=e.header.secondaryText}let l=n.createDiv();if(l.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),l.classList.add("tn-static-display-flex-75816cae"),l.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),l.classList.add("tn-static-align-items-center-7c619740"),l.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),l.classList.add("tn-static-gap-0-5rem-ce2fca4d"),e.header.meta&&e.header.meta.length>0){let c=l.createDiv("tasknotes-settings__card-meta");e.header.meta.forEach(d=>{c.appendChild(d)})}if(e.header.actions&&e.header.actions.length>0){let c=l.querySelector(".tasknotes-settings__card-header-actions")||l.createDiv("tasknotes-settings__card-header-actions");e.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,jx.setIcon)(p,d.icon),d.tooltip&&(u.title=d.tooltip),u.onclick=m=>{m.stopPropagation(),Di(d.onClick)}})}if(e.collapsible){let c=()=>{var u,p;t.hasClass("tasknotes-settings__card--collapsed")?(t.removeClass("tasknotes-settings__card--collapsed"),n.title="Collapse card",(u=e.onCollapseChange)==null||u.call(e,!1)):(t.addClass("tasknotes-settings__card--collapsed"),n.title="Expand card",(p=e.onCollapseChange)==null||p.call(e,!0))};n.addClass("tasknotes-settings__card-header--clickable"),n.title=e.defaultCollapsed?"Expand card":"Collapse card",n.onclick=d=>{d.target.closest(".tasknotes-settings__card-header-actions")||c()}}if(e.content&&e.content.sections.length>0){let c=t.createDiv("tasknotes-settings__card-content");e.draggable&&c.addClass("tasknotes-settings__card-content--with-drag-handle"),e.content.sections.forEach(d=>{d.rows.forEach(u=>{let p=c.createDiv("tasknotes-settings__card-config-row");u.fullWidth&&(p.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-min-height-800px-997b4c8c"),p.classList.add("tn-static-flex-direction-column-06c8b5ed"),p.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-center-7c619740"),p.classList.add("tn-static-align-items-flex-start-0486f781"),p.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),p.classList.add("tn-static-gap-0-5rem-ce2fca4d"));let m=p.createSpan("tasknotes-settings__card-config-label");m.textContent=u.label,p.appendChild(u.input)})})}if(e.actions&&e.actions.buttons.length>0){let c=t.createDiv("tasknotes-settings__card-actions");e.draggable&&c.addClass("tasknotes-settings__card-actions--with-drag-handle"),e.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,jx.setIcon)(p,d.icon),u.insertBefore(p,u.firstChild)}d.disabled&&(u.disabled=!0),u.onclick=()=>{Di(d.onClick)}})}return t}function La(r,e="default"){let t=activeDocument.createElement("span");return t.addClass("tasknotes-settings__card-status-badge"),t.addClass(`tasknotes-settings__card-status-badge--${e}`),t.textContent=r,t}function Al(r,e){return{icon:"trash-2",variant:"delete",tooltip:e||"Delete",onClick:r}}function Ge(r="text",e,t){let n=activeDocument.createElement("input");return n.type=r,n.addClass("tasknotes-settings__card-input"),e&&(n.placeholder=e),t&&(n.value=t),n}function Utt(){if(activeDocument.getElementById(dV))return;let r=activeDocument.createElement("datalist");r.id=dV;for(let e of Npe)r.createEl("option",{value:e});activeDocument.body.appendChild(r)}function cV(r){let e=r==null?void 0:r.trim().match(Btt);if(!e)return null;let t=e[1].toLowerCase();return t.length===3?`#${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}`:`#${t}`}function Htt(r){r.dispatchEvent(new Event("input",{bubbles:!0})),r.dispatchEvent(new Event("change",{bubbles:!0}))}function Vtt(r){var a;if(!r.parentElement)return;if((a=r.tasknotesThemeColorPicker)!=null&&a.isConnected){let s=cV(r.value);s&&(r.tasknotesThemeColorPicker.value=s);return}let t=activeDocument.createElement("input");t.type="color",t.addClass($tt),t.value=cV(r.value)||jtt,t.title="Open color picker",t.setAttribute("aria-label","Open color picker");let n=()=>{r.value!==t.value&&(r.value=t.value,Htt(r))},i=()=>{let s=cV(r.value);s&&(t.value=s)};t.addEventListener("input",n),t.addEventListener("change",n),r.addEventListener("input",i),r.addEventListener("change",i),r.insertAdjacentElement("afterend",t),r.tasknotesThemeColorPicker=t}function zh(r){let e=r;r.type="text",r.addClass(ztt),r.placeholder=F_,r.setAttribute("list",dV),r.title=F_,Utt(),Vtt(e)}function ub(r){let e=Ge("text",F_,au(r));return zh(e),e}function pb(r,e){let t=_r(r.value,e);return r.value=au(t),t}function _n(r=!1,e){let t=activeDocument.createElement("div"),n=new jx.Setting(t),i=null;if(n.addToggle(a=>{a.setValue(r),e&&a.onChange(s=>{Di(()=>e(s))}),i=a.toggleEl}),!i)throw new Error("Failed to create card toggle");return i}function ci(r,e){let t=activeDocument.createElement("select");return t.addClass("tasknotes-settings__card-input"),r.forEach(n=>{let i=t.createEl("option",{value:n.value,text:n.label});e===n.value&&(i.selected=!0)}),t}function mb(r,e,t){let n=r.querySelector(".tasknotes-settings__card-drag-handle");if(!n)return;let i=r.getAttribute("data-card-id");i&&(n.addEventListener("dragstart",a=>{a.dataTransfer&&(a.dataTransfer.setData("text/plain",i),r.addClass("tasknotes-settings__card--dragging"))}),n.addEventListener("dragend",()=>{r.removeClass("tasknotes-settings__card--dragging")}),r.addEventListener("dragover",a=>{a.preventDefault();let s=e.querySelector(".tasknotes-settings__card--dragging");if(s&&s!==r){let o=r.getBoundingClientRect(),l=o.top+o.height/2;r.removeClass("tasknotes-settings__card--drag-over-top","tasknotes-settings__card--drag-over-bottom"),a.clientY<l?r.addClass("tasknotes-settings__card--drag-over-top"):r.addClass("tasknotes-settings__card--drag-over-bottom")}}),r.addEventListener("dragleave",()=>{r.removeClass("tasknotes-settings__card--drag-over-top","tasknotes-settings__card--drag-over-bottom")}),r.addEventListener("drop",a=>{var l;a.preventDefault(),r.removeClass("tasknotes-settings__card--drag-over-top","tasknotes-settings__card--drag-over-bottom");let s=(l=a.dataTransfer)==null?void 0:l.getData("text/plain");if(!s)return;let o=i;if(s!==o){let c=r.getBoundingClientRect(),d=c.top+c.height/2,u=a.clientY<d;t(s,o,u)}}))}function em(r,e,t,n){let i=Ge("number");return r!==void 0&&(i.min=r.toString()),e!==void 0&&(i.max=e.toString()),t!==void 0&&(i.step=t.toString()),n!==void 0&&(i.value=n.toString()),i}function uV(r){return r&&r.replace(/^webcal:\/\//i,"http://").replace(/^webcals:\/\//i,"https://")}function yI(r,e){let t=activeDocument.createElement("input");return t.type="text",t.addClass("tasknotes-settings__card-input"),t.pattern="^(https?|webcals?)://.*",t.title="Enter an HTTP://, HTTPS://, webcal://, or webcals:// URL",r&&(t.placeholder=r),e&&(t.value=e),t}function fb(r){let e=activeDocument.createElement("span");return e.addClass("tasknotes-settings__card-info-badge"),e.textContent=r,e}function Rc(r,e,t,n){r.empty();let i=r.createDiv("tasknotes-settings__empty-state");if(i.createSpan("tasknotes-settings__empty-icon"),i.createSpan({text:e,cls:"tasknotes-settings__empty-text"}),t&&n){let a=i.createEl("button",{text:t,cls:"tn-btn tn-btn--primary"});a.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),a.classList.add("tn-static-margin-top-1rem-2239d6d5"),a.onclick=n}}var jx,dV,$tt,ztt,jtt,Btt,ca=y(()=>{jx=require("obsidian");fc();Nc();dV="tasknotes-theme-color-options",$tt="tasknotes-theme-color-picker",ztt="tasknotes-theme-color-text-input",jtt="#6366f1",Btt=/^#([0-9a-f]{3}|[0-9a-f]{6})$/i});function mV(r){return r instanceof Error?r.message:typeof r=="string"?r:""}function qtt(r=tm.getAllDailyNotes){try{return r()}catch(e){let t=mV(e),n=t?`: ${t}`:"";throw new Error(`Failed to read daily notes${n}. ${vI}`)}}function Wtt(r){let e=mV(r);return e?`Failed to create timeblock: ${e}`:"Failed to create timeblock. Check console for details."}function Ytt(r){return(0,br.moment)(r)}var br,tm,pV,vI,hb,fV=y(()=>{br=require("obsidian");Ct();zx();No();Ne();fc();ca();Mc();tm=tt(jd());G();pV=I({tag:"Modals/TimeblockCreationModal"}),vI="Check the Daily Notes core plugin settings and make sure the configured daily notes folder exists.";hb=class extends br.Modal{constructor(t,n,i){super(t);this.selectedAttachments=[];this.keyboardHandler=null;this.plugin=n,this.options=i,this.translate=n.i18n.translate.bind(n.i18n)}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("timeblock-creation-modal"),this.keyboardHandler=l=>{l.key==="Enter"&&(l.ctrlKey||l.metaKey)&&(l.preventDefault(),this.handleSubmit())},this.containerEl.addEventListener("keydown",this.keyboardHandler),new br.Setting(t).setName(this.translate("modals.timeblockCreation.heading")).setHeading();let n=t.createDiv({cls:"timeblock-date-display"});n.createEl("strong",{text:this.translate("modals.timeblockCreation.dateLabel")});let i=rh(this.options.date);n.createSpan({text:i.toLocaleDateString()}),new br.Setting(t).setName(this.translate("modals.timeblockCreation.titleLabel")).setDesc(this.translate("modals.timeblockCreation.titleDesc")).addText(l=>{this.titleInput=l.inputEl,l.setPlaceholder(this.translate("modals.timeblockCreation.titlePlaceholder")).setValue(this.options.prefilledTitle||"").onChange(()=>this.validateForm()),window.setTimeout(()=>this.titleInput.focus(),100)}),new br.Setting(t).setName(this.translate("modals.timeblockCreation.startTimeLabel")).setDesc(this.translate("modals.timeblockCreation.startTimeDesc")).addText(l=>{this.startTimeInput=l.inputEl,l.setPlaceholder(this.translate("modals.timeblockCreation.startTimePlaceholder")).setValue(this.options.startTime||"").onChange(()=>this.validateForm()),this.startTimeInput.type="time"}),new br.Setting(t).setName(this.translate("modals.timeblockCreation.endTimeLabel")).setDesc(this.translate("modals.timeblockCreation.endTimeDesc")).addText(l=>{this.endTimeInput=l.inputEl,l.setPlaceholder(this.translate("modals.timeblockCreation.endTimePlaceholder")).setValue(this.options.endTime||"").onChange(()=>{this.validateForm()}),this.endTimeInput.type="time"}),new br.Setting(t).setName(this.translate("modals.timeblockCreation.descriptionLabel")).setDesc(this.translate("modals.timeblockCreation.descriptionDesc")).addTextArea(l=>{this.descriptionInput=l.inputEl,l.setPlaceholder(this.translate("modals.timeblockCreation.descriptionPlaceholder")).setValue(""),this.descriptionInput.rows=3}),new br.Setting(t).setName(this.translate("modals.timeblockCreation.colorLabel")).setDesc(this.translate("modals.timeblockCreation.colorDesc")).addText(l=>{this.colorInput=l.inputEl,l.setPlaceholder(this.translate("modals.timeblockCreation.colorPlaceholder")).setValue(au(this.plugin.settings.calendarViewSettings.defaultTimeblockColor)),zh(this.colorInput)}),new br.Setting(t).setName(this.translate("modals.timeblockCreation.attachmentsLabel")).setDesc(this.translate("modals.timeblockCreation.attachmentsDesc")).addButton(l=>{l.setButtonText(this.translate("modals.timeblockCreation.addAttachmentButton")).setTooltip(this.translate("modals.timeblockCreation.addAttachmentTooltip")).onClick(()=>{Qp(this.plugin,c=>{c instanceof br.TAbstractFile&&this.addAttachment(c)},{placeholder:"Search files or type to create new...",filter:"all",sortOrder:this.plugin.settings.calendarViewSettings.timeblockAttachmentSearchOrder})})}).addButton(l=>{l.setButtonText("Add task").setTooltip("Select task").onClick(()=>{this.openTaskSelectorForTitle()})}),this.attachmentsList=t.createDiv({cls:"timeblock-attachments-list"}),this.initializePrefilledAttachments(),this.renderAttachmentsList();let a=t.createDiv({cls:"timeblock-modal-buttons"});a.createEl("button",{text:this.translate("common.cancel")}).addEventListener("click",()=>this.close()),a.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 t=this.contentEl.querySelector(".timeblock-create-button");if(!t)return;let n=(o=this.titleInput)==null?void 0:o.value.trim(),i=(l=this.startTimeInput)==null?void 0:l.value,a=(c=this.endTimeInput)==null?void 0:c.value,s=!!(n&&i&&a);if(s&&i&&a){let[d,u]=i.split(":").map(Number),[p,m]=a.split(":").map(Number),f=d*60+u,h=p*60+m;a==="00:00"&&f>0&&(h=1440),h<=f&&(s=!1)}t.disabled=!s,t.style.opacity=s?"1":"0.5"}initializePrefilledAttachments(){let t=this.options.prefilledAttachmentPaths||[];if(t.length===0)return;let n=new Set(t.filter(i=>typeof i=="string"&&i.trim().length>0));for(let i of n){let a=this.app.vault.getAbstractFileByPath(i);a&&this.selectedAttachments.push(a)}}async handleSubmit(){var t,n;try{let i=this.titleInput.value.trim(),a=this.startTimeInput.value,s=this.endTimeInput.value,o=this.descriptionInput.value.trim(),l=_r(this.colorInput.value,this.plugin.settings.calendarViewSettings.defaultTimeblockColor);if(!i||!a||!s){new br.Notice(this.translate("notices.timeblockRequiredFieldsMissing"));return}let c=this.selectedAttachments.map(p=>`[[${p.path}]]`),d={id:YB(),title:i,startTime:a,endTime:s};o&&(d.description=o),l&&(d.color=l),c.length>0&&(d.attachments=c);let u=await this.saveTimeblockToDailyNote(d);this.plugin.emitter.trigger("data-changed"),(n=(t=this.options).onCreated)==null||n.call(t,{timeblock:d,date:this.options.date,dailyNote:u}),new br.Notice(`Timeblock "${i}" created successfully`),this.close()}catch(i){pV.error("Error creating timeblock:",{category:"internal",operation:"creating-timeblock",error:i}),new br.Notice(Wtt(i))}}async saveTimeblockToDailyNote(t){if(!(0,tm.appHasDailyNotesPluginLoaded)())throw new Error(`Daily Notes core plugin is not enabled. ${vI}`);let n=Ytt(this.options.date),i=qtt(),a=(0,tm.getDailyNote)(n,i);if(!a){try{a=await(0,tm.createDailyNote)(n)}catch(u){let p=mV(u),m=p?`: ${p}`:"";throw new Error(`Failed to create daily note${m}. ${vI}`)}if(!a)throw new Error(`Failed to create daily note. ${vI}`)}let s=await this.app.vault.read(a),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,br.parseYaml)(p)||{}}catch(m){pV.error("Error parsing existing frontmatter:",{category:"validation",operation:"parsing-existing-frontmatter",error:m}),o={}}}}o.timeblocks||(o.timeblocks=[]),o.timeblocks.push(t);let d=`---
${(0,br.stringifyYaml)(o)}---${l}`;return await Xa(this.app,a,d),a}addAttachment(t){if(this.selectedAttachments.some(n=>n.path===t.path)){new br.Notice(this.translate("notices.timeblockAttachmentExists",{fileName:t.name}));return}if(this.titleInput&&!this.titleInput.value.trim()){let n=t instanceof br.TFile?t.basename:t.name;this.titleInput.value=n,this.validateForm()}this.selectedAttachments.push(t),this.renderAttachmentsList(),new br.Notice(this.translate("notices.timeblockAttachmentAdded",{fileName:t.name}))}async openTaskSelectorForTitle(){var t,n,i;try{let s=((i=await((n=(t=this.plugin.cacheManager).getAllTasks)==null?void 0:n.call(t)))!=null?i:[]).filter(o=>!o.archived);if(s.length===0){new br.Notice("No tasks available to select");return}Pn(this.plugin,s,o=>{if(!o)return;this.titleInput.value=o.title||"",this.validateForm();let l=this.app.vault.getAbstractFileByPath(o.path);l&&this.addAttachment(l)},{title:"Select task"})}catch(a){pV.error("Failed to open task selector for timeblock creation:",{category:"persistence",operation:"open-task-selector-timeblock-creation",error:a}),new br.Notice("Failed to open task selector")}}removeAttachment(t){this.selectedAttachments=this.selectedAttachments.filter(n=>n.path!==t.path),this.renderAttachmentsList(),new br.Notice(this.translate("notices.timeblockAttachmentRemoved",{fileName:t.name}))}renderAttachmentsList(){if(this.attachmentsList.empty(),this.selectedAttachments.length===0){let t=this.attachmentsList.createDiv({cls:"timeblock-attachments-empty"});t.textContent="No attachments added yet";return}this.selectedAttachments.forEach(t=>{let n=this.attachmentsList.createDiv({cls:"timeblock-attachment-item"}),i=n.createDiv({cls:"timeblock-attachment-info"}),a=i.createSpan({cls:"timeblock-attachment-name"});if(a.textContent=t.name,t.path!==t.name){let o=i.createDiv({cls:"timeblock-attachment-path"});o.textContent=t.path}let s=n.createEl("button",{cls:"timeblock-attachment-remove",text:"\xD7"});(0,br.setTooltip)(s,"Remove attachment",{placement:"top"}),s.addEventListener("click",()=>{this.removeAttachment(t)})})}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:t}=this;t.empty()}}});var lTe,rm,hV=y(()=>{Br();G();lTe=I({tag:"Services/CalendarExportService"}),rm=class{static generateCalendarURL(e){let{type:t,task:n,useScheduledAsDue:i=!0}=e;switch(t){case"google":return this.generateGoogleCalendarURL(n,i);case"outlook":return this.generateOutlookCalendarURL(n,i);case"yahoo":return this.generateYahooCalendarURL(n,i);case"ics":return this.generateICSDownloadURL(n);default:throw new Error("Unsupported calendar type")}}static generateGoogleCalendarURL(e,t){let n="https://calendar.google.com/calendar/render",i=new URLSearchParams;i.append("action","TEMPLATE"),i.append("text",e.title);let a=this.formatGoogleDates(e,t);a&&i.append("dates",a);let s=this.buildDescription(e);return s&&i.append("details",s),e.contexts&&e.contexts.length>0&&i.append("location",e.contexts.join(", ")),`${n}?${i.toString()}`}static generateOutlookCalendarURL(e,t){let n="https://outlook.live.com/calendar/0/deeplink/compose",i=new URLSearchParams;i.append("subject",e.title);let{startISO:a,endISO:s}=this.getTaskDateRange(e,t);a&&i.append("startdt",a),s&&i.append("enddt",s);let o=this.buildDescription(e);return o&&i.append("body",o),e.contexts&&e.contexts.length>0&&i.append("location",e.contexts.join(", ")),i.append("path","/calendar/action/compose"),i.append("rru","addevent"),`${n}?${i.toString()}`}static generateYahooCalendarURL(e,t){let n="https://calendar.yahoo.com/",i=new URLSearchParams;i.append("v","60"),i.append("title",e.title);let{startYahoo:a,endYahoo:s}=this.getYahooDateFormat(e,t);a&&i.append("st",a),s&&i.append("et",s);let o=this.buildDescription(e);return o&&i.append("desc",o),e.contexts&&e.contexts.length>0&&i.append("in_loc",e.contexts.join(", ")),`${n}?${i.toString()}`}static generateICSDownloadURL(e){let t=this.generateICSContent(e);return`data:text/calendar;charset=utf8,${encodeURIComponent(t)}`}static generateICSContent(e,t){let n=`${e.path.replace(/[^a-zA-Z0-9]/g,"-")}-${Date.now()}@tasknotes`,i=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:${n}`,`DTSTAMP:${i}`];a.push(`SUMMARY:${this.escapeICSText(e.title)}`);let{startLine:s,endLine:o}=this.getICSDateProperties(e,!0,t);s&&a.push(s),o&&a.push(o);let l=this.buildDescription(e,t);if(l&&a.push(`DESCRIPTION:${this.escapeICSText(l)}`),e.contexts&&e.contexts.length>0&&a.push(`LOCATION:${this.escapeICSText(e.contexts.join(", "))}`),e.tags&&e.tags.length>0&&a.push(`CATEGORIES:${e.tags.map(c=>this.escapeICSText(c)).join(",")}`),e.priority){let d={highest:"1",high:"3",medium:"5",low:"7",lowest:"9"}[e.priority]||"5";a.push(`PRIORITY:${d}`)}return e.status&&a.push(`STATUS:${this.getVEventStatus(e.status)}`),a.push("END:VEVENT"),a.push("END:VCALENDAR"),a.join(`\r
`)}static buildDescription(e,t){let n=[],i=[];e.priority&&i.push(`Priority: ${e.priority}`),e.status&&i.push(`Status: ${e.status}`),e.projects&&e.projects.length>0&&i.push(`Projects: ${e.projects.join(", ")}`),e.tags&&e.tags.length>0&&i.push(`Tags: ${e.tags.join(", ")}`),e.contexts&&e.contexts.length>0&&i.push(`Contexts: ${e.contexts.join(", ")}`),e.timeEstimate&&i.push(`Estimated time: ${e.timeEstimate} minutes`),i.length>0&&n.push(...i),n.length>0&&n.push(""),n.push(`Exported from TaskNotes: ${e.path}`);let a=this.buildObsidianOpenUri(e,t);return a&&n.push(`Open in Obsidian: ${a}`),n.join(`
`)}static buildObsidianOpenUri(e,t){return!(t!=null&&t.includeObsidianLink)||!t.vaultName?null:`obsidian://open?vault=${encodeURIComponent(t.vaultName)}&file=${encodeURIComponent(e.path)}`}static formatGoogleDates(e,t){let{startICS:n,endICS:i}=this.getICSDateFormat(e,t);if(!n)return null;if(i)return`${n}/${i}`;let a=this.parseICSDate(n),s=new Date(a.getTime()+3600*1e3),o=this.formatDateToICS(s);return`${n}/${o}`}static getTaskDateRange(e,t,n){let i=null,a=null;if(e.scheduled)try{i=this.parseTaskDate(e.scheduled).toISOString()}catch(s){lTe.warn("Invalid scheduled date:",{category:"provider",operation:"invalid-scheduled-date",details:{value:e.scheduled}})}if(n!=null&&n.useDurationForExport&&i&&e.timeEstimate&&e.timeEstimate>0){let s=new Date(i);a=new Date(s.getTime()+e.timeEstimate*60*1e3).toISOString()}else if(e.due)try{a=this.parseTaskDate(e.due).toISOString()}catch(s){lTe.warn("Invalid due date:",{category:"provider",operation:"invalid-due-date",details:{value:e.due}})}else if(t&&i){let s=new Date(i);a=new Date(s.getTime()+3600*1e3).toISOString()}return{startISO:i,endISO:a}}static getYahooDateFormat(e,t){let{startISO:n,endISO:i}=this.getTaskDateRange(e,t),a=s=>{let o=new Date(s);return P(o,"yyyyMMdd'T'HHmmss")};return{startYahoo:n?a(n):null,endYahoo:i?a(i):null}}static getICSDateFormat(e,t=!0,n){let{startISO:i,endISO:a}=this.getTaskDateRange(e,t,n),s=o=>{let l=new Date(o);return this.formatDateToICS(l)};return{startICS:i?s(i):null,endICS:a?s(a):null}}static getICSDateProperties(e,t=!0,n){if(e.scheduled&&!this.hasTimeComponent(e.scheduled)){let s=e.scheduled,o=this.getAllDayEndDate(e,t,n)||s;return{startLine:`DTSTART;VALUE=DATE:${this.formatDateOnlyToICS(s)}`,endLine:`DTEND;VALUE=DATE:${this.formatDateOnlyToICS(o)}`}}let{startICS:i,endICS:a}=this.getICSDateFormat(e,t,n);return{startLine:i?`DTSTART:${i}`:null,endLine:a?`DTEND:${a}`:null}}static formatDateToICS(e){return e.toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,"")}static parseICSDate(e){let t=e.slice(0,4),n=e.slice(4,6),i=e.slice(6,8),a=e.slice(9,11),s=e.slice(11,13),o=e.slice(13,15);return new Date(`${t}-${n}-${i}T${a}:${s}:${o}Z`)}static parseTaskDate(e){let t=e.trim().replace(" ","T");return this.hasTimeComponent(t)?Ls(t):Ls(`${t}T00:00:00`)}static hasTimeComponent(e){return/\d{4}-\d{2}-\d{2}[T\s]\d{2}:\d{2}/.test(e)}static formatDateOnlyToICS(e){return e.split(/[T\s]/)[0].replace(/-/g,"")}static getAllDayEndDate(e,t,n){if(!e.scheduled)return null;let i=e.scheduled;if(n!=null&&n.useDurationForExport&&e.timeEstimate&&e.timeEstimate>0){let a=Math.max(1,Math.ceil(e.timeEstimate/1440));return this.addDaysToDateString(e.scheduled,a)}if(e.due)i=e.due;else if(!t)return null;return this.addDaysToDateString(i,1)}static addDaysToDateString(e,t){let n=Ls(`${e.split(/[T\s]/)[0]}T00:00:00`);return n.setDate(n.getDate()+t),P(n,"yyyy-MM-dd")}static escapeICSText(e){return e.replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\n/g,"\\n").replace(/\r/g,"")}static foldICSLines(e){let t=e.split(`\r
`),n=[];return t.forEach(i=>{if(i.length<=75)n.push(i);else{let a=i;for(;a.length>75;)n.push(a.substring(0,75)),a=" "+a.substring(75);a.length>0&&n.push(a)}}),n.join(`\r
`)}static generateMultipleTasksICSContent(e,t){let n=new Date().toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),i=this.filterTasksForExport(e,t),a=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//TaskNotes//EN","CALSCALE:GREGORIAN"];return i.forEach((s,o)=>{let l=`${s.path.replace(/[^a-zA-Z0-9]/g,"-")}-${o}-${Date.now()}@tasknotes`;a.push("BEGIN:VEVENT"),a.push(`UID:${l}`),a.push(`DTSTAMP:${n}`),a.push(`SUMMARY:${this.escapeICSText(s.title)}`);let{startLine:c,endLine:d}=this.getICSDateProperties(s,!0,t);if(c){if(!d){let p=c.split(":",2)[1];if(c.includes("VALUE=DATE")){let m=Ls(`${p.slice(0,4)}-${p.slice(4,6)}-${p.slice(6,8)}T00:00:00`);m.setDate(m.getDate()+1),d=`DTEND;VALUE=DATE:${P(m,"yyyyMMdd")}`}else{let m=this.parseICSDate(p),f=new Date(m.getTime()+3600*1e3);d=`DTEND:${this.formatDateToICS(f)}`}}}else{let p;if(s.dateCreated?p=new Date(s.dateCreated):p=new Date,c=`DTSTART:${this.formatDateToICS(p)}`,!d){let f=new Date(p.getTime()+36e5);d=`DTEND:${this.formatDateToICS(f)}`}}a.push(c),a.push(d);let u=this.buildDescription(s,t);if(u&&a.push(`DESCRIPTION:${this.escapeICSText(u)}`),s.contexts&&s.contexts.length>0&&a.push(`LOCATION:${this.escapeICSText(s.contexts.join(", "))}`),s.tags&&s.tags.length>0&&a.push(`CATEGORIES:${s.tags.map(p=>this.escapeICSText(p)).join(",")}`),s.priority){let m={highest:"1",high:"3",medium:"5",low:"7",lowest:"9"}[s.priority]||"5";a.push(`PRIORITY:${m}`)}s.status&&a.push(`STATUS:${this.getVEventStatus(s.status)}`),a.push("END:VEVENT")}),a.push("END:VCALENDAR"),this.foldICSLines(a.join(`\r
`))}static filterTasksForExport(e,t){var i;if(!(t!=null&&t.excludeArchived)&&!(t!=null&&t.excludeCompleted)&&!(t!=null&&t.requireDueDate)&&!(t!=null&&t.requireScheduledDate))return e;let n=new Set((i=t.completedStatuses)!=null&&i.length?t.completedStatuses:["done"]);return e.filter(a=>!(t.excludeArchived&&a.archived||t.excludeCompleted&&n.has(a.status)||t.requireDueDate&&!a.due||t.requireScheduledDate&&!a.scheduled))}static getVEventStatus(e){let t=e.trim().toLowerCase();return t==="cancelled"||t==="canceled"?"CANCELLED":t==="tentative"?"TENTATIVE":"CONFIRMED"}static createMultipleTasksICSDownload(e,t){if(!e||e.length===0)return null;let n=this.filterTasksForExport(e,t);if(n.length===0)return null;let i=new Date().toISOString().split("T")[0];return{content:this.generateMultipleTasksICSContent(n,t),filename:`tasknotes-all-tasks-${i}.ics`,taskCount:n.length}}static createTaskICSDownload(e,t){return{content:this.generateICSContent(e,t),filename:`${e.title.replace(/[^a-zA-Z0-9]/g,"-")}.ics`,taskCount:1}}}});function Qe(r,e){return e===void 0?new gV.Notice(r):new gV.Notice(r,e)}var gV,Eu=y(()=>{gV=require("obsidian")});var dTe={};et(dTe,{downloadAllTasksICSFile:()=>Gtt,downloadTaskICSFile:()=>vV,openCalendarURL:()=>Bx});function gb(r,e,t,n){return r?r(e,n):t}function cTe(r){let e=new Blob([r.content],{type:"text/calendar"}),t=URL.createObjectURL(e);try{let n=activeDocument.createElement("a");n.href=t,n.download=r.filename,n.click()}finally{URL.revokeObjectURL(t)}}function Bx(r,e){try{let t=rm.generateCalendarURL(r);window.open(t,"_blank")}catch(t){yV.error("Failed to generate calendar URL:",{category:"provider",operation:"generate-calendar-url",error:t}),Qe(gb(e,"services.calendarExport.notices.generateLinkFailed","Failed to generate calendar link"))}}function Gtt(r,e,t){try{let n=rm.createMultipleTasksICSDownload(r,t);if(!n){Qe(gb(e,"services.calendarExport.notices.noTasksToExport","No tasks found to export"));return}cTe(n);let i=n.taskCount===1?"":"s";Qe(gb(e,"services.calendarExport.notices.downloadSuccess",`Downloaded ${n.filename} with ${n.taskCount} task${i}`,{filename:n.filename,count:n.taskCount,plural:i}))}catch(n){yV.error("Failed to download all tasks ICS file:",{category:"provider",operation:"download-all-tasks-ics-file",error:n}),Qe(gb(e,"services.calendarExport.notices.downloadFailed","Failed to download calendar file"))}}function vV(r,e,t){try{let n=rm.createTaskICSDownload(r,t);cTe(n),Qe(gb(e,"services.calendarExport.notices.singleDownloadSuccess",`Downloaded ${n.filename}`,{filename:n.filename}))}catch(n){yV.error("Failed to download ICS file:",{category:"provider",operation:"download-ics-file",error:n}),Qe(gb(e,"services.calendarExport.notices.downloadFailed","Failed to download calendar file"))}}var yV,bV=y(()=>{hV();G();Eu();yV=I({tag:"UI/CalendarExportActions"})});async function pTe(r){let{plugin:e,path:t,openInNewLeaf:n=!1}=r,i=e.app.vault.getAbstractFileByPath(t);if(i instanceof jh.TFile){await e.app.workspace.getLeaf(n).openFile(i);return}await e.app.workspace.openLinkText(t,"",n)}async function yb(r){let{plugin:e,parentTask:t,targetDate:n,openInNewLeaf:i=!1,onUpdate:a}=r,s=ce(n);try{let o=await e.taskService.findMaterializedOccurrence(t,n),l=await e.taskService.materializeOccurrence(t,n);return await pTe({plugin:e,path:l.path,openInNewLeaf:i}),a==null||a(),new jh.Notice(o?`Opened occurrence note for ${s}`:`Created occurrence note for ${s}`),l}catch(o){let l=o instanceof Error?o.message:String(o);return uTe.error("Error opening or creating occurrence note:",{category:"persistence",operation:"open-or-create-occurrence-note",details:{taskPath:t.path,targetDate:s},error:l}),new jh.Notice(`Failed to open occurrence note: ${l}`),null}}async function bI(r){let{plugin:e,occurrenceTask:t,openInNewLeaf:n=!1}=r;try{let i=await e.taskService.getMaterializedOccurrenceParent(t);return i?(await pTe({plugin:e,path:i.path,openInNewLeaf:n}),i):(new jh.Notice("Recurring parent not found"),null)}catch(i){let a=i instanceof Error?i.message:String(i);return uTe.error("Error opening materialized occurrence parent:",{category:"persistence",operation:"open-materialized-occurrence-parent",details:{taskPath:t.path,occurrenceDate:t.occurrence_date},error:a}),new jh.Notice(`Failed to open recurring parent: ${a}`),null}}var jh,uTe,TI=y(()=>{jh=require("obsidian");Ne();G();uTe=I({tag:"UI/OccurrenceNoteActions"})});function kI(r){return r.trim()}function Ux(r){let e=new Set,t=[];for(let n of r!=null?r:[]){if(typeof n!="string")continue;let i=kI(n);!i||e.has(i)||(e.add(i),t.push(i))}return t}function fTe(r,e){let t=kI(e),n=Ux(r);return t?n.includes(t)?n:[...n,t]:n.length>0?n:void 0}function Ktt(r,e){let t=kI(e),n=Ux(r).filter(i=>i!==t);return n.length>0?n:void 0}function Ztt(r,e){let t=kI(e),n=Ux(r);return t?n.includes(t)?Ktt(n,t):fTe(n,t):n.length>0?n:void 0}function Fi(r){return r.setSubmenu()}function mTe(r){var t,n;let e=r;return(n=(t=e.dom)!=null?t:e.domEl)!=null?n:null}function vb(r,e=""){let n=(typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="bigint"?String(r):"").trim();return n.length>0?n:e}var Oe,Er,nm,wI=y(()=>{Oe=require("obsidian");Ne();sb();nV();Mc();Cl();Nh();ab();mH();Tx();No();iS();ko();jn();du();oTe();fV();hH();bV();TI();G();Er=I({tag:"Components/TaskContextMenu"});nm=class r{constructor(e,t=new ki){this.targetDoc=activeDocument;this.menu=t,this.options=e,this.buildMenu()}static addToMenu(e,t){new r(t,e)}t(e,t){return this.options.plugin.i18n.translate(e,t)}buildMenu(){let{task:e,plugin:t}=this.options,n=this.addPromotedOccurrenceControls(e,t);this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.status")),i.setIcon("circle");let a=Fi(i);this.addStatusOptions(a,e,t)}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.priority")),i.setIcon("star");let a=Fi(i);this.addPriorityOptions(a,e,t)}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.tags")),i.setIcon("tags");let a=Fi(i);this.addTagOptions(a,e,t)}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.dueDate")),i.setIcon("calendar");let a=Fi(i);this.addDateOptions(a,e.due,async s=>{var o,l;try{await t.updateTaskProperty(e,"due",s||void 0),(l=(o=this.options).onUpdate)==null||l.call(o)}catch(c){let d=c instanceof Error?c.message:String(c);Er.error("Error updating task due date:",{category:"validation",operation:"updating-task-due-date",details:{taskPath:e.path},error:d}),new Oe.Notice(this.t("contextMenus.task.notices.updateDueDateFailure",{message:d}))}},()=>{t.openDueDateModal(e)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.scheduledDate")),i.setIcon("calendar-clock");let a=Fi(i);this.addDateOptions(a,e.scheduled,async s=>{var o,l;try{await t.updateTaskProperty(e,"scheduled",s||void 0),(l=(o=this.options).onUpdate)==null||l.call(o)}catch(c){let d=c instanceof Error?c.message:String(c);Er.error("Error updating task scheduled date:",{category:"validation",operation:"updating-task-scheduled-date",details:{taskPath:e.path},error:d}),new Oe.Notice(this.t("contextMenus.task.notices.updateScheduledFailure",{message:d}))}},()=>{t.openScheduledDateModal(e)})}),e.recurrence&&this.addRecurringInstanceMenuItems(e,t),!n&&e.recurrence_parent&&e.occurrence_date&&this.addMaterializedOccurrenceMenuItems(e,t),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.reminders")),i.setIcon("bell");let a=Fi(i);this.addQuickRemindersSection(a,e,t,"due",this.t("contextMenus.task.remindBeforeDue")),this.addQuickRemindersSection(a,e,t,"scheduled",this.t("contextMenus.task.remindBeforeScheduled")),a.addSeparator(),a.addItem(s=>{s.setTitle(this.t("contextMenus.task.manageReminders")),s.setIcon("settings"),s.onClick(()=>{new _l(t.app,t,e,l=>{(async()=>{var c,d;try{await t.updateTaskProperty(e,"reminders",l.length>0?l:void 0),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){Er.error("Error updating reminders:",{category:"persistence",operation:"updating-reminders",error:u}),new Oe.Notice(this.t("contextMenus.task.notices.updateRemindersFailure"))}})()}).open()})}),e.reminders&&e.reminders.length>0&&a.addItem(s=>{s.setTitle(this.t("contextMenus.task.clearReminders")),s.setIcon("trash"),s.onClick(async()=>{var o,l;try{await t.updateTaskProperty(e,"reminders",void 0),(l=(o=this.options).onUpdate)==null||l.call(o)}catch(c){Er.error("Error clearing reminders:",{category:"persistence",operation:"clearing-reminders",error:c}),new Oe.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 a=Fi(i);this.addDependencyMenuItems(a,e,t)}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.organization.title")),i.setIcon("folder-tree");let a=Fi(i);this.addOrganizationMenuItems(a,e,t)}),this.menu.addSeparator(),this.menu.addItem(i=>{let a=t.getActiveTimeSession(e);i.setTitle(a?this.t("contextMenus.task.stopTimeTracking"):this.t("contextMenus.task.startTimeTracking")),i.setIcon(a?"pause":"play"),i.onClick(async()=>{var o,l;t.getActiveTimeSession(e)?await t.stopTimeTracking(e):await t.startTimeTracking(e),(l=(o=this.options).onUpdate)==null||l.call(o)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.editTimeEntries")),i.setIcon("clock"),i.onClick(()=>{t.openTimeEntryEditor(e)})}),t.settings.calendarViewSettings.enableTimeblocking&&this.menu.addItem(i=>{i.setTitle("Create timeblock"),i.setIcon("calendar-plus"),i.onClick(()=>{let a=sTe(e,this.options.targetDate);new hb(t.app,t,{date:a.date,startTime:a.startTime,endTime:a.endTime,prefilledTitle:e.title,prefilledAttachmentPaths:[e.path]}).open()})}),this.menu.addItem(i=>{i.setTitle(e.archived?this.t("contextMenus.task.unarchive"):this.t("contextMenus.task.archive")),i.setIcon(e.archived?"archive-restore":"archive"),i.onClick(async()=>{var a,s;try{await t.toggleTaskArchive(e),(s=(a=this.options).onUpdate)==null||s.call(a)}catch(o){let l=o instanceof Error?o.message:String(o);Er.error("Error toggling task archive:",{category:"persistence",operation:"toggling-task-archive",details:{taskPath:e.path},error:l}),new Oe.Notice(this.t("contextMenus.task.notices.archiveFailure",{message:l}))}})}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.openNote")),i.setIcon("file-text"),i.onClick(()=>{let a=t.app.vault.getAbstractFileByPath(e.path);a instanceof Oe.TFile&&t.app.workspace.getLeaf(!1).openFile(a)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.openNoteInNewTab")),i.setIcon("external-link"),i.onClick(()=>{t.app.vault.getAbstractFileByPath(e.path)instanceof Oe.TFile&&t.app.workspace.openLinkText(e.path,"",!0)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.copyTitle")),i.setIcon("copy"),i.onClick(async()=>{try{await navigator.clipboard.writeText(e.title),new Oe.Notice(this.t("contextMenus.task.notices.copyTitleSuccess"))}catch(a){new Oe.Notice(this.t("contextMenus.task.notices.copyFailure"))}})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.noteActions")),i.setIcon("file-text");let a=Fi(i),s=t.app.vault.getAbstractFileByPath(e.path);if(s instanceof Oe.TFile){try{t.app.workspace.trigger("file-menu",a,s,"tasknotes-context-menu")}catch(o){Er.debug("Native file menu not available, using fallback",{category:"stale-data",operation:"native-file-menu-not-using-fallback"})}a.addItem(o=>{o.setTitle(this.t("contextMenus.task.rename")),o.setIcon("pencil"),o.onClick(async()=>{try{let l=s.basename,c=await Jv(t.app,{title:this.t("contextMenus.task.renameTitle"),placeholder:this.t("contextMenus.task.renamePlaceholder"),initialValue:l});if(c&&c.trim()!==""&&c!==l){let d=s.extension,u=c.endsWith(`.${d}`)?c:`${c}.${d}`,p=s.parent?`${s.parent.path}/${u}`:u;await VB(t.app,s,p),new Oe.Notice(this.t("contextMenus.task.notices.renameSuccess",{name:u})),this.options.onUpdate&&this.options.onUpdate()}}catch(l){Er.error("Error renaming file:",{category:"persistence",operation:"renaming-file",error:l}),new Oe.Notice(this.t("contextMenus.task.notices.renameFailure"))}})}),a.addItem(o=>{o.setTitle(this.t("contextMenus.task.delete")),o.setIcon("trash"),o.onClick(async()=>{if(await bn(t.app,{title:this.t("contextMenus.task.deleteTitle"),message:this.t("contextMenus.task.deleteMessage",{name:s.name}),confirmText:this.t("contextMenus.task.deleteConfirm"),cancelText:this.t("common.cancel"),isDestructive:!0}))try{await t.taskService.deleteTask(e),this.options.onUpdate&&this.options.onUpdate()}catch(c){let d=c instanceof Error?c.message:String(c);Er.error("Error deleting task:",{category:"persistence",operation:"deleting-task",error:c}),new Oe.Notice(`Failed to delete task: ${d}`)}})}),a.addSeparator(),a.addItem(o=>{o.setTitle(this.t("contextMenus.task.copyPath")),o.setIcon("copy"),o.onClick(()=>{navigator.clipboard.writeText(s.path).then(()=>{new Oe.Notice(this.t("contextMenus.task.notices.copyPathSuccess"))}).catch(()=>{new Oe.Notice(this.t("contextMenus.task.notices.copyFailure"))})})}),a.addItem(o=>{o.setTitle(this.t("contextMenus.task.copyUrl")),o.setIcon("link"),o.onClick(()=>{let l=`obsidian://open?vault=${encodeURIComponent(t.app.vault.getName())}&file=${encodeURIComponent(s.path)}`;navigator.clipboard.writeText(l).then(()=>{new Oe.Notice(this.t("contextMenus.task.notices.copyUrlSuccess"))}).catch(()=>{new Oe.Notice(this.t("contextMenus.task.notices.copyFailure"))})})}),a.addSeparator(),a.addItem(o=>{o.setTitle(this.t("contextMenus.task.showInExplorer")),o.setIcon("folder-open"),o.onClick(()=>{t.app.workspace.getLeaf().setViewState({type:"file-explorer",state:{}}).then(()=>{let l=t.app.workspace.getLeavesOfType("file-explorer")[0];l!=null&&l.view&&"revealInFolder"in l.view&&l.view.revealInFolder(s)}).catch(l=>{Er.warn("Failed to reveal task in file explorer:",{category:"persistence",operation:"reveal-task-file-explorer",error:l})})})})}}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.addToCalendar")),i.setIcon("calendar-plus");let a=Fi(i);a.addItem(s=>{s.setTitle(this.t("contextMenus.task.calendar.google")),s.setIcon("external-link"),s.onClick(()=>{Bx({type:"google",task:e,useScheduledAsDue:!0},this.t.bind(this))})}),a.addItem(s=>{s.setTitle(this.t("contextMenus.task.calendar.outlook")),s.setIcon("external-link"),s.onClick(()=>{Bx({type:"outlook",task:e,useScheduledAsDue:!0},this.t.bind(this))})}),a.addItem(s=>{s.setTitle(this.t("contextMenus.task.calendar.yahoo")),s.setIcon("external-link"),s.onClick(()=>{Bx({type:"yahoo",task:e,useScheduledAsDue:!0},this.t.bind(this))})}),a.addSeparator(),a.addItem(s=>{s.setTitle(this.t("contextMenus.task.calendar.downloadIcs")),s.setIcon("download"),s.onClick(()=>{vV(e,this.t.bind(this),{includeObsidianLink:!0,vaultName:t.app.vault.getName()})})}),a.addSeparator(),a.addItem(s=>{s.setTitle(this.t("contextMenus.task.calendar.syncToGoogle")),s.setIcon("refresh-cw"),s.onClick(async()=>{var o,l,c;if(!((o=t.taskCalendarSyncService)!=null&&o.isEnabled())){new Oe.Notice(this.t("contextMenus.task.calendar.syncToGoogleNotConfigured"));return}try{await t.taskCalendarSyncService.syncTaskToCalendar(e),new Oe.Notice(this.t("contextMenus.task.calendar.syncToGoogleSuccess")),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){Er.error("Failed to sync task to Google Calendar:",{category:"provider",operation:"sync-task-google-calendar",error:d}),new Oe.Notice(this.t("contextMenus.task.calendar.syncToGoogleFailed"))}})})}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.recurrence")),i.setIcon("refresh-ccw");let a=Fi(i),s=typeof e.recurrence=="string"?e.recurrence:void 0;this.addRecurrenceOptions(a,s,async o=>{var l,c;try{await t.updateTaskProperty(e,"recurrence",o||void 0),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){let u=d instanceof Error?d.message:String(d);Er.error("Error updating task recurrence:",{category:"persistence",operation:"updating-task-recurrence",details:{taskPath:e.path},error:u}),new Oe.Notice(this.t("contextMenus.task.notices.updateRecurrenceFailure",{message:u}))}},t),s&&this.addOccurrencePolicyOptions(a,e,t)}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.createSubtask")),i.setIcon("plus"),i.onClick(()=>{let a=t.app.vault.getAbstractFileByPath(e.path);a instanceof Oe.TFile&&t.openTaskCreationModal({...tTe(t,e,a)})})}),this.addMobileDismissOption(),window.setTimeout(()=>{this.updateMainMenuIconColors(e,t)},10)}addMobileDismissOption(){Oe.Platform.isMobile&&(this.menu.addSeparator(),this.menu.addItem(e=>{e.setTitle(this.t("common.close")),e.setIcon("x"),e.onClick(()=>{this.menu.hide()})}))}addRecurringInstanceMenuItems(e,t){var s,o;let n=ce(this.options.targetDate),i=((s=e.complete_instances)==null?void 0:s.includes(n))||!1;this.menu.addItem(l=>{l.setTitle(i?this.t("contextMenus.task.markIncomplete"):this.t("contextMenus.task.markComplete")),l.setIcon(i?"x":"check"),l.onClick(async()=>{var c,d;try{await t.toggleRecurringTaskComplete(e,this.options.targetDate),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){let p=u instanceof Error?u.message:String(u);Er.error("Error toggling recurring task completion:",{category:"persistence",operation:"toggling-recurring-task-completion",details:{taskPath:e.path},error:p}),new Oe.Notice(this.t("contextMenus.task.notices.toggleCompletionFailure",{message:p}))}})});let a=((o=e.skipped_instances)==null?void 0:o.includes(n))||!1;this.menu.addItem(l=>{l.setTitle(a?this.t("contextMenus.task.unskipInstance"):this.t("contextMenus.task.skipInstance")),l.setIcon(a?"undo":"x-circle"),l.onClick(async()=>{var c,d;try{await t.taskService.toggleRecurringTaskSkipped(e,this.options.targetDate),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){let p=u instanceof Error?u.message:String(u);Er.error("Error toggling recurring task skip:",{category:"persistence",operation:"toggling-recurring-task-skip",details:{taskPath:e.path},error:p}),new Oe.Notice(this.t("contextMenus.task.notices.toggleSkipFailure",{message:p}))}})}),this.options.promoteOccurrenceControls||this.addOccurrenceNoteMenuItem(e,t)}addPromotedOccurrenceControls(e,t){if(!this.options.promoteOccurrenceControls)return!1;let n=!1;return e.recurrence&&(this.addOccurrenceNoteMenuItem(e,t),n=!0),e.recurrence_parent&&e.occurrence_date&&(this.addMaterializedOccurrenceMenuItems(e,t),n=!0),n&&this.menu.addSeparator(),n}addOccurrenceNoteMenuItem(e,t){this.menu.addItem(n=>{n.setTitle("Open or create occurrence note"),n.setIcon("file-plus"),n.onClick(async()=>{await yb({plugin:t,parentTask:e,targetDate:this.options.targetDate,onUpdate:this.options.onUpdate})})})}addMaterializedOccurrenceMenuItems(e,t){this.menu.addItem(a=>{a.setTitle("Open recurring parent"),a.setIcon("refresh-ccw"),a.onClick(async()=>{await bI({plugin:t,occurrenceTask:e})})});let n=this.getSkippedStatusValue(t),i=this.isSkippedMaterializedOccurrence(e,t);!n&&!i||this.menu.addItem(a=>{a.setTitle(i?"Unskip occurrence":"Skip occurrence"),a.setIcon(i?"undo":"x-circle"),a.onClick(async()=>{var s,o;try{let l=i?await t.taskService.unskipMaterializedOccurrence(e):await t.taskService.skipMaterializedOccurrence(e,n);Object.assign(e,l),(o=(s=this.options).onUpdate)==null||o.call(s)}catch(l){let c=l instanceof Error?l.message:String(l);Er.error("Error updating materialized occurrence skip state:",{category:"persistence",operation:"updating-materialized-occurrence-skip-state",details:{taskPath:e.path,occurrenceDate:e.occurrence_date},error:c}),new Oe.Notice(`Failed to update occurrence: ${c}`)}})})}getSkippedStatusValue(e){var t,n;return(n=(t=e.settings.customStatuses)==null?void 0:t.find(i=>i.isSkipped))==null?void 0:n.value}isSkippedMaterializedOccurrence(e,t){var n;return((n=t.settings.customStatuses)==null?void 0:n.some(i=>i.isSkipped&&i.value===e.status))===!0}addDependencyMenuItems(e,t,n){var s,o;e.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.addBlockedBy")),l.setIcon("link-2"),l.onClick(()=>{this.menu.hide(),this.openBlockedBySelector(t,n)})});let i=(s=t.blockedBy)!=null?s:[];i.length>0&&e.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.removeBlockedBy")),l.setIcon("unlink");let c=Fi(l);i.forEach((d,u)=>{c.addItem(p=>{let m=vb(e2(d),this.t("contextMenus.task.dependencies.unknownDependency"));p.setTitle(m),p.onClick(async()=>{var f,h;try{let g=i.filter((k,b)=>b!==u),v=await n.updateTaskProperty(t,"blockedBy",g.length>0?g:void 0);Object.assign(t,v),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.blockedByRemoved")),(h=(f=this.options).onUpdate)==null||h.call(f)}catch(g){Er.error("Failed to remove blocked-by dependency:",{category:"persistence",operation:"remove-blocked-by-dependency",error:g}),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}})})})}),e.addSeparator(),e.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.addBlocking")),l.setIcon("git-branch-plus"),l.onClick(()=>{this.menu.hide(),this.openBlockingSelector(t,n)})});let a=(o=t.blocking)!=null?o:[];a.length>0&&e.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.removeBlocking")),l.setIcon("git-branch-minus");let c=Fi(l);a.forEach(d=>{let u=n.app.vault.getAbstractFileByPath(d),p=u instanceof Oe.TFile?n.app.metadataCache.fileToLinktext(u,t.path,!1):d.split("/").pop()||d;c.addItem(m=>{m.setTitle(p),m.onClick(async()=>{var f,h;try{await n.taskService.updateBlockingRelationships(t,[],[d],{});let g=await n.cacheManager.getTaskInfo(t.path);g&&Object.assign(t,g),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.blockingRemoved")),(h=(f=this.options).onUpdate)==null||h.call(f)}catch(g){Er.error("Failed to remove blocking dependency:",{category:"persistence",operation:"remove-blocking-dependency",error:g}),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}})})})})}dedupeDependencyEntries(e){let t=new Map;for(let n of e){let i=ts(n);if(!i)continue;let a=this.getDependencyKey(i);t.has(a)||t.set(a,i)}return Array.from(t.values())}async openBlockedBySelector(e,t){let n=new Set((Array.isArray(e.blockedBy)?e.blockedBy:[]).map(i=>i.uid));await this.openTaskDependencySelector(t,i=>{if(i.path===e.path)return!1;let a=To(t.app,e.path,i.path,t.settings.useFrontmatterMarkdownLinks);return!n.has(a)},async i=>{await this.handleBlockedBySelection(e,t,i)})}async openBlockingSelector(e,t){var i;let n=new Set((i=e.blocking)!=null?i:[]);await this.openTaskDependencySelector(t,a=>a.path===e.path?!1:!n.has(a.path),async a=>{await this.handleBlockingSelection(e,t,a)})}async openTaskDependencySelector(e,t,n){try{let a=(await e.cacheManager.getAllTasks()).filter(t);if(a.length===0){new Oe.Notice(this.t("contextMenus.task.dependencies.notices.noEligibleTasks"));return}Pn(e,a,s=>{s&&n(s)})}catch(i){Er.error("Failed to open task selector for dependencies:",{category:"persistence",operation:"open-task-selector-dependencies",error:i}),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}async handleBlockedBySelection(e,t,n){var i,a;if(n.path!==e.path)try{let s={uid:To(t.app,e.path,n.path,t.settings.useFrontmatterMarkdownLinks),reltype:es},o=Array.isArray(e.blockedBy)?e.blockedBy:[],l=this.dedupeDependencyEntries([...o,s]);if(l.length===o.length)return;let c=await t.updateTaskProperty(e,"blockedBy",l);Object.assign(e,c),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.blockedByAdded",{count:1})),(a=(i=this.options).onUpdate)==null||a.call(i)}catch(s){Er.error("Failed to add blocked-by dependency via selector:",{category:"persistence",operation:"add-blocked-by-dependency-via-selector",error:s}),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}async handleBlockingSelection(e,t,n){var a,s,o;let i=n.path;if(i!==e.path&&!((a=e.blocking)!=null&&a.includes(i)))try{let l={uid:To(t.app,i,e.path,t.settings.useFrontmatterMarkdownLinks),reltype:es};await t.taskService.updateBlockingRelationships(e,[i],[],{[i]:l});let c=await t.cacheManager.getTaskInfo(e.path);c?Object.assign(e,c):Array.isArray(e.blocking)?e.blocking=Array.from(new Set([...e.blocking,i])):e.blocking=[i],new Oe.Notice(this.t("contextMenus.task.dependencies.notices.blockingAdded",{count:1})),(o=(s=this.options).onUpdate)==null||o.call(s)}catch(l){Er.error("Failed to add blocking dependency via selector:",{category:"persistence",operation:"add-blocking-dependency-via-selector",error:l}),new Oe.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}getDependencyKey(e){var t;return`${e.uid}::${e.reltype}::${(t=e.gap)!=null?t:""}`}addOrganizationMenuItems(e,t,n){e.addItem(i=>{i.setTitle(this.t("contextMenus.task.organization.contexts")),i.setIcon("at-sign");let a=Fi(i);this.addContextMenuItems(a,t,n)}),e.addSeparator(),e.addItem(i=>{i.setTitle(this.t("contextMenus.task.organization.addToProject")),i.setIcon("folder-plus"),i.onClick(()=>{this.menu.hide(),this.openProjectSelector(t,n)})}),e.addItem(i=>{i.setTitle(this.t("contextMenus.task.organization.addSubtasks")),i.setIcon("indent"),i.onClick(()=>{this.menu.hide(),this.openSubtaskAssignmentSelector(t,n)})})}addContextMenuItems(e,t,n){let i=Ux(t.contexts),a=this.getContextOptions(t,n);if(e.addItem(s=>{s.setTitle(this.t("contextMenus.task.organization.addContext")),s.setIcon("plus"),s.onClick(()=>{this.menu.hide(),this.openContextInput(t,n)})}),a.length>0){e.addSeparator();for(let s of a)e.addItem(o=>{let l=i.includes(s);o.setTitle(l?this.t("contextMenus.task.organization.contextSelected",{context:s}):s),o.setIcon(l?"check":"at-sign"),o.onClick(async()=>{await this.updateTaskContexts(t,n,Ztt(t.contexts,s))})})}i.length>0&&(e.addSeparator(),e.addItem(s=>{s.setTitle(this.t("contextMenus.task.organization.clearContexts")),s.setIcon("x"),s.onClick(async()=>{await this.updateTaskContexts(t,n,void 0)})}))}getContextOptions(e,t){var a,s,o,l;let n=(o=(s=(a=t.cacheManager).getAllContexts)==null?void 0:s.call(a))!=null?o:[];return Ux([...n,...(l=e.contexts)!=null?l:[]]).sort((c,d)=>c.localeCompare(d))}async openContextInput(e,t){let n=await Jv(t.app,{title:this.t("contextMenus.task.organization.addContext"),placeholder:this.t("contextMenus.task.organization.contextPlaceholder"),confirmText:this.t("common.confirm"),cancelText:this.t("common.cancel")});n&&await this.updateTaskContexts(e,t,fTe(e.contexts,n))}async updateTaskContexts(e,t,n){var i,a;try{let s=await t.updateTaskProperty(e,"contexts",n);Object.assign(e,s),(a=(i=this.options).onUpdate)==null||a.call(i)}catch(s){Er.error("Failed to update task contexts:",{category:"validation",operation:"update-task-contexts",error:s}),new Oe.Notice(this.t("contextMenus.task.organization.notices.updateContextsFailed"))}}addTagOptions(e,t,n){let i=Jve(t,n.settings);if(e.addItem(a=>{a.setTitle(this.t("contextMenus.task.addTag")),a.setIcon("plus"),a.onClick(()=>{this.menu.hide(),this.openTagInput(t,n,"add")})}),i.length>0){e.addSeparator();for(let a of i)e.addItem(s=>{s.setTitle(this.t("contextMenus.task.removeTag",{tag:`#${a}`})),s.setIcon("x"),s.onClick(async()=>{await this.updateTaskTags(t,n,wx(t.tags,[a]))})});e.addSeparator(),e.addItem(a=>{a.setTitle(this.t("contextMenus.task.clearTags")),a.setIcon("eraser"),a.onClick(async()=>{await this.updateTaskTags(t,n,ZA(t.tags,n.settings))})})}}async openTagInput(e,t,n){let i=await Jv(t.app,{title:n==="add"?this.t("contextMenus.task.addTag"):this.t("contextMenus.task.removeTagInput"),placeholder:this.t("contextMenus.task.tagPlaceholder"),confirmText:this.t("common.confirm"),cancelText:this.t("common.cancel"),onInputReady:o=>{new Wp(t.app,o,t)}}),a=kx(i);if(a.length===0)return;let s=n==="add"?KA(e.tags,a):wx(e.tags,a);await this.updateTaskTags(e,t,s)}async updateTaskTags(e,t,n){var i,a;try{let s=await t.updateTaskProperty(e,"tags",n);Object.assign(e,s),(a=(i=this.options).onUpdate)==null||a.call(i)}catch(s){Er.error("Failed to update task tags:",{category:"validation",operation:"update-task-tags",error:s}),new Oe.Notice(this.t("contextMenus.task.notices.updateTagsFailed"))}}async openProjectSelector(e,t){try{new yc(t.app,t,i=>{i&&this.addTaskToProject(e,t,i)}).open()}catch(n){Er.error("Failed to open project selector:",{category:"persistence",operation:"open-project-selector",error:n}),new Oe.Notice(this.t("contextMenus.task.organization.notices.projectSelectFailed"))}}async openSubtaskAssignmentSelector(e,t){try{let i=(await t.cacheManager.getAllTasks()).filter(a=>a.path!==e.path);if(i.length===0){new Oe.Notice(this.t("contextMenus.task.organization.notices.noEligibleSubtasks"));return}Pn(t,i,a=>{a&&this.assignTaskAsSubtask(e,t,a)})}catch(n){Er.error("Failed to open subtask assignment selector:",{category:"persistence",operation:"open-subtask-assignment-selector",error:n}),new Oe.Notice(this.t("contextMenus.task.organization.notices.subtaskSelectFailed"))}}async addTaskToProject(e,t,n){var i,a;try{if(!(n instanceof Oe.TFile)){new Oe.Notice(this.t("contextMenus.task.organization.notices.projectSelectFailed"));return}let s=await pI(t,e,n);s&&(Object.assign(e,s),(a=(i=this.options).onUpdate)==null||a.call(i))}catch(s){Er.error("Failed to add task to project:",{category:"persistence",operation:"add-task-project",error:s}),new Oe.Notice(this.t("contextMenus.task.organization.notices.addToProjectFailed"))}}async assignTaskAsSubtask(e,t,n){var i,a;try{let s=t.app.vault.getAbstractFileByPath(e.path);if(!(s instanceof Oe.TFile)){new Oe.Notice(this.t("contextMenus.task.organization.notices.currentTaskNotFound"));return}let o=await mI(t,s,n);o&&(Object.assign(n,o),(a=(i=this.options).onUpdate)==null||a.call(i))}catch(s){Er.error("Failed to assign task as subtask:",{category:"persistence",operation:"assign-task-as-subtask",error:s}),new Oe.Notice(this.t("contextMenus.task.organization.notices.addAsSubtaskFailed"))}}buildProjectReference(e,t,n){return js(n.app,e,t,"","",n.settings.useFrontmatterMarkdownLinks)}updateMainMenuIconColors(e,t){let n=this.targetDoc.querySelector(".menu");if(!n)return;let i=n.querySelectorAll(".menu-item"),a=this.t("contextMenus.task.status"),s=this.t("contextMenus.task.priority");i.forEach(o=>{let l=o.querySelector(".menu-item-title"),c=o.querySelector(".menu-item-icon");if(l&&c){let d=l.textContent;if(d===a){let u=t.settings.customStatuses.find(p=>p.value===e.status);u&&u.color&&(c.style.color=u.color)}else if(d===s){let u=t.settings.customPriorities.find(p=>p.value===e.priority);u&&u.color&&(c.style.color=u.color)}}})}addStatusOptions(e,t,n){this.getStatusOptions(t,n).forEach((a,s)=>{e.addItem(o=>{let l=vb(a.label,a.value),c=l;o.setIcon(a.icon||"circle"),a.value===t.status&&(c=this.t("contextMenus.task.statusSelected",{label:l})),o.setTitle(c),o.onClick(async()=>{var u,p;try{await n.updateTaskProperty(t,"status",a.value),(p=(u=this.options).onUpdate)==null||p.call(u)}catch(m){let f=m instanceof Error?m.message:String(m);Er.error("Error updating task status:",{category:"persistence",operation:"updating-task-status",details:{taskPath:t.path},error:f}),new Oe.Notice(`Failed to update task status: ${f}`)}});let d=a.color;d&&window.setTimeout(()=>{let u=mTe(o);if(u){let p=u.querySelector(".menu-item-icon");p&&(p.style.color=d)}},10)})})}addPriorityOptions(e,t,n){n.priorityManager.getPrioritiesByWeight().forEach(a=>{let s=vb(a.value);if(!s)return;let o=vb(a.label,s);e.addItem(l=>{let c=o;l.setIcon("star"),s===t.priority&&(c=this.t("contextMenus.task.prioritySelected",{label:o})),l.setTitle(c),l.onClick(async()=>{var d,u;try{await n.updateTaskProperty(t,"priority",s),(u=(d=this.options).onUpdate)==null||u.call(d)}catch(p){let m=p instanceof Error?p.message:String(p);Er.error("Error updating task priority:",{category:"persistence",operation:"updating-task-priority",details:{taskPath:t.path},error:m}),new Oe.Notice(`Failed to update task priority: ${m}`)}}),a.color&&window.setTimeout(()=>{let d=mTe(l);if(d){let u=d.querySelector(".menu-item-icon");u&&(u.style.color=a.color)}},10)})})}addDateOptions(e,t,n,i){let s=new Zs({currentValue:t,onSelect:d=>{n(d)},onCustomDate:i,plugin:this.options.plugin,app:this.options.plugin.app}).getDateOptions(),o=s.filter(d=>d.category==="increment");o.length>0&&(o.forEach(d=>{e.addItem(u=>{d.icon&&u.setIcon(d.icon),u.setTitle(d.label),u.onClick(()=>{n(d.value)})})}),e.addSeparator()),s.filter(d=>d.category==="basic").forEach(d=>{e.addItem(u=>{d.icon&&u.setIcon(d.icon);let m=d.value===t?this.t("contextMenus.date.selected",{label:d.label}):d.label;u.setTitle(m),u.onClick(()=>{n(d.value)})})});let c=s.filter(d=>d.category==="weekday");c.length>0&&(e.addSeparator(),e.addItem(d=>{d.setTitle(this.t("contextMenus.date.weekdaysLabel")),d.setIcon("calendar");let u=Fi(d);c.forEach(p=>{u.addItem(m=>{let h=p.value===t?this.t("contextMenus.date.selected",{label:p.label}):p.label;m.setTitle(h),m.setIcon("calendar"),m.onClick(()=>{n(p.value)})})})})),e.addSeparator(),e.addItem(d=>{d.setTitle(this.t("contextMenus.date.pickDateTime")),d.setIcon("calendar"),d.onClick(i)}),t&&e.addItem(d=>{d.setTitle(this.t("contextMenus.date.clearDate")),d.setIcon("x"),d.onClick(()=>{n(null)})})}addRecurrenceOptions(e,t,n,i){let a=new Date,s=["SU","MO","TU","WE","TH","FR","SA"],o=[i.i18n.translate("common.months.january"),i.i18n.translate("common.months.february"),i.i18n.translate("common.months.march"),i.i18n.translate("common.months.april"),i.i18n.translate("common.months.may"),i.i18n.translate("common.months.june"),i.i18n.translate("common.months.july"),i.i18n.translate("common.months.august"),i.i18n.translate("common.months.september"),i.i18n.translate("common.months.october"),i.i18n.translate("common.months.november"),i.i18n.translate("common.months.december")],l=s[a.getDay()],c=a.getDate(),d=a.getMonth()+1,u=o[a.getMonth()],p=Ax(i),m=a.toLocaleDateString(p||void 0,{weekday:"long"}),f=k=>{let b=k.getFullYear(),w=String(k.getMonth()+1).padStart(2,"0"),S=String(k.getDate()).padStart(2,"0");return`${b}${w}${S}`},h=k=>{let b=["th","st","nd","rd"],w=k%100;return k+(b[(w-20)%10]||b[w]||b[0])},g=f(a);[{label:this.t("modals.task.recurrence.daily"),value:`DTSTART:${g};FREQ=DAILY;INTERVAL=1`,icon:"calendar-days"},{label:this.t("modals.task.recurrence.weeklyOn",{days:m}),value:`DTSTART:${g};FREQ=WEEKLY;INTERVAL=1;BYDAY=${l}`,icon:"calendar"},{label:this.t("modals.task.recurrence.everyTwoWeeks"),value:`DTSTART:${g};FREQ=WEEKLY;INTERVAL=2;BYDAY=${l}`,icon:"calendar"},{label:this.t("modals.task.recurrence.monthlyOnOrdinal",{ordinal:h(c)}),value:`DTSTART:${g};FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=${c}`,icon:"calendar-range"},{label:this.t("modals.task.recurrence.everyThreeMonths"),value:`DTSTART:${g};FREQ=MONTHLY;INTERVAL=3;BYMONTHDAY=${c}`,icon:"calendar-range"},{label:this.t("modals.task.recurrence.yearlyOn",{month:u,day:h(c)}),value:`DTSTART:${g};FREQ=YEARLY;INTERVAL=1;BYMONTH=${d};BYMONTHDAY=${c}`,icon:"calendar-clock"},{label:this.t("modals.task.recurrence.weekdays"),value:oI(g,p),icon:"briefcase"}].forEach(k=>{e.addItem(b=>{let w=k.value===t;b.setTitle(w?`\u2713 ${k.label}`:k.label),b.setIcon(k.icon),b.onClick(()=>{n(k.value)})})}),e.addSeparator(),e.addItem(k=>{k.setTitle(this.t("contextMenus.task.customRecurrence")),k.setIcon("settings"),k.onClick(()=>{new Ml({currentValue:typeof t=="string"?t:void 0,currentAnchor:this.options.task.recurrence_anchor||"scheduled",scheduledDate:this.options.task.scheduled,onSelect:w=>{n(w)},app:i.app,plugin:i}).showCustomRecurrenceModal()})}),t&&e.addItem(k=>{k.setTitle(this.t("contextMenus.task.clearRecurrence")),k.setIcon("x"),k.onClick(()=>{n(null)})})}addOccurrencePolicyOptions(e,t,n){let i=t.occurrence_materialization||"manual",a=t.occurrence_next_trigger||"completion";e.addSeparator(),e.addItem(s=>{s.setTitle("Occurrence notes"),s.setIcon("files");let o=Fi(s),l=(d,u,p)=>{o.addItem(m=>{m.setTitle(i===d?`\u2713 ${u}`:u),m.setIcon(p),m.onClick(async()=>{await this.updateOccurrenceMaterializationPolicy(t,n,d)})})};if(l("manual","Create manually","file-plus"),l("on_completion","Create next after completion","check-circle"),o.addItem(d=>{d.setTitle(i==="rolling"?"\u2713 Rolling window (not automated yet)":"Rolling window (not automated yet)"),d.setIcon("calendar-range"),d.setDisabled(!0)}),i!=="on_completion")return;o.addSeparator(),[{value:"completion",label:"Completion only",icon:"check"},{value:"completion_or_skip",label:"Completion or skip",icon:"check-check"}].forEach(d=>{o.addItem(u=>{u.setTitle(a===d.value?`\u2713 ${d.label}`:d.label),u.setIcon(d.icon),u.onClick(async()=>{await this.updateOccurrenceNextTrigger(t,n,d.value)})})})})}async updateOccurrenceMaterializationPolicy(e,t,n){var i,a;try{let s=await t.updateTaskProperty(e,"occurrence_materialization",n==="manual"?void 0:n);if(Object.assign(e,s),n!=="on_completion"&&e.occurrence_next_trigger){let o=await t.updateTaskProperty(e,"occurrence_next_trigger",void 0);Object.assign(e,o)}(a=(i=this.options).onUpdate)==null||a.call(i),new Oe.Notice(n==="manual"?"Occurrence notes set to manual creation":"Occurrence notes will be created after completion")}catch(s){let o=s instanceof Error?s.message:String(s);Er.error("Error updating occurrence materialization policy:",{category:"persistence",operation:"updating-occurrence-materialization-policy",details:{taskPath:e.path,mode:n},error:o}),new Oe.Notice(`Failed to update occurrence notes setting: ${o}`)}}async updateOccurrenceNextTrigger(e,t,n){var i,a;try{let s=await t.updateTaskProperty(e,"occurrence_next_trigger",n==="completion"?void 0:n);Object.assign(e,s),(a=(i=this.options).onUpdate)==null||a.call(i),new Oe.Notice(n==="completion"?"Next occurrence note will be created after completion":"Next occurrence note will be created after completion or skip")}catch(s){let o=s instanceof Error?s.message:String(s);Er.error("Error updating occurrence next trigger:",{category:"persistence",operation:"updating-occurrence-next-trigger",details:{taskPath:e.path,trigger:n},error:o}),new Oe.Notice(`Failed to update occurrence trigger: ${o}`)}}getStatusOptions(e,t){let n=t.settings.customStatuses,i=[];return n&&n.length>0&&[...n].sort((s,o)=>s.order-o.order).forEach(s=>{let o=vb(s.value);o&&i.push({label:vb(s.label,o),value:o,color:typeof s.color=="string"?s.color:void 0,icon:typeof s.icon=="string"?s.icon:void 0})}),i}addQuickRemindersSection(e,t,n,i,a){if(!(i==="due"?t.due:t.scheduled)){e.addItem(o=>{o.setTitle(a),o.setIcon("bell"),o.setDisabled(!0)});return}e.addItem(o=>{o.setTitle(a),o.setIcon("bell");let l=Fi(o);[{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(()=>{this.addQuickReminder(t,n,i,d.offset,p)})})})})}async addQuickReminder(e,t,n,i,a){var l,c;let s={id:`rem_${Date.now()}`,type:"relative",relatedTo:n,offset:i,description:a},o=[...e.reminders||[],s];try{await t.updateTaskProperty(e,"reminders",o),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){Er.error("Error adding reminder:",{category:"persistence",operation:"adding-reminder",error:d}),new Oe.Notice("Failed to add reminder")}}show(e){var t,n;(n=(t=e.target)==null?void 0:t.instanceOf)!=null&&n.call(t,HTMLElement)&&(this.targetDoc=e.target.ownerDocument),this.menu.showAtMouseEvent(e)}showAtElement(e){this.targetDoc=e.ownerDocument,this.menu.showAtPosition({x:e.getBoundingClientRect().left,y:e.getBoundingClientRect().bottom+4})}}});function Qtt(r,e,t){return r.i18n.translate(`ui.taskCard.${e}`,t)}function Jtt(r){return I({tag:"TaskCard/ContextMenu",isDebugEnabled:()=>r.settings.enableDebugLogging})}function hTe(r){let{mainRow:e,taskPath:t,plugin:n,targetDate:i,promoteOccurrenceControls:a}=r,s=Qtt(n,"taskOptions"),o=e.createEl("div",{cls:"task-card__context-menu",attr:{"aria-label":s}});return(0,Oc.setIcon)(o,"ellipsis-vertical"),(0,Oc.setTooltip)(o,s,{placement:"top"}),Pl(o),o.addEventListener("click",l=>{if(l.stopPropagation(),l.preventDefault(),a===void 0){Ro(l,t,n,i);return}Ro(l,t,n,i,{promoteOccurrenceControls:a})}),o}async function Ro(r,e,t,n,i={}){let a=t.app.vault.getAbstractFileByPath(e),s=()=>{a instanceof Oc.TFile&&Xtt(r,a,t)};try{let o=await t.cacheManager.getTaskInfo(e);if(!o){s();return}new nm({task:o,plugin:t,targetDate:n,promoteOccurrenceControls:i.promoteOccurrenceControls,onUpdate:()=>{t.app.workspace.trigger("tasknotes:refresh-views")}}).show(r)}catch(o){let l=o instanceof Error?o.message:String(o);Jtt(t).error("Error creating context menu",{category:"internal",operation:"create-context-menu",details:{taskPath:e,errorMessage:l},error:o}),new Oc.Notice(`Failed to create context menu: ${l}`),s()}}function Xtt(r,e,t){var a,s;let n=new Oc.Menu,i=!1;try{t.app.workspace.trigger("file-menu",n,e,"tasknotes-bases-view"),i=((s=(a=n.items)==null?void 0:a.length)!=null?s:0)>0}catch(o){i=!1}i||(n.addItem(o=>{o.setTitle("Open"),o.setIcon("file-text"),o.onClick(()=>{t.app.workspace.getLeaf(!1).openFile(e)})}),n.addItem(o=>{o.setTitle("Open in new tab"),o.setIcon("external-link"),o.onClick(()=>{t.app.workspace.openLinkText(e.path,"",!0)})})),n.showAtMouseEvent(r)}var Oc,TV=y(()=>{Oc=require("obsidian");wI();G();Px()});function ert(r,e){return Z(e).trim()||Z(r.title)}function gTe(r,e,t,n){r.empty();let i={metadataCache:t.app.metadataCache,workspace:t.app.workspace,sourcePath:e.path};Dc(r,ert(e,n),i)}function kV(r,e){let t=r.querySelector(".task-card__title"),n=r.querySelector(".task-card__title-text");t==null||t.classList.toggle("completed",e),n==null||n.classList.toggle("completed",e)}function yTe(r){let{contentContainer:e,layout:t,task:n,plugin:i,displayText:a,isCompleted:s=!1}=r,o=e.createEl(t==="inline"?"span":"div",{cls:"task-card__title"}),l=o.createSpan({cls:"task-card__title-text"});return gTe(l,n,i,a),o.classList.toggle("completed",s),l.classList.toggle("completed",s),{titleEl:o,titleTextEl:l}}function vTe(r){let{card:e,task:t,plugin:n,displayText:i,isCompleted:a=!1}=r,s=e.querySelector(".task-card__title-text");s&&gTe(s,t,n,i),kV(e,a)}var wV=y(()=>{gr();Kp()});function trt(r,e,t,n,i){var o;r.classList.toggle("task-card--completed",n),r.classList.toggle("task-card--completed-strikethrough",n&&JH(t)),r.classList.toggle("task-card--archived",!!e.archived),r.classList.toggle("task-card--actively-tracked",t.getActiveTimeSession(e)!==null),r.classList.toggle("task-card--recurring",!!e.recurrence),r.classList.toggle("task-card--chevron-left",((o=t.settings)==null?void 0:o.subtaskChevronPosition)==="left");let a=QH(e,t);r.classList.toggle("task-card--has-details",a),r.dataset.hasDetails=a?"true":"false",SV(r,"task-card--priority-"),e.priority&&r.classList.add(`task-card--priority-${ou(e.priority)}`),SV(r,"task-card--status-"),i&&r.classList.add(`task-card--status-${ou(i)}`),SV(r,"task-card--project-");let s=XH(e);r.classList.toggle("task-card--has-projects",s.length>0),s.forEach(l=>r.classList.add(l)),r.dataset.status=i,kV(r,n)}function EV({card:r,statusDot:e,plugin:t,updatedTask:n,effectiveStatus:i,isCompleted:a}){dI(e,t.statusManager.getStatusConfig(i)),cI(r,i,t);let s=r.querySelector(".task-card__checkbox");s&&(s.checked=a),trt(r,n,t,a,i)}function SV(r,e){for(let t of Array.from(r.classList))t.startsWith(e)&&r.classList.remove(t)}var bTe=y(()=>{Ct();tV();ZH();wV()});async function TTe(r,e){return new Promise((t,n)=>{new xV(e.app,r,async()=>{try{await e.taskService.deleteTask(r),t()}catch(a){n(a instanceof Error?a:new Error(String(a)))}}).open()})}var Hx,rrt,xV,kTe=y(()=>{Hx=require("obsidian");G();rrt=I({tag:"Ui/TaskCardDeletion"}),xV=class extends Hx.Modal{constructor(e,t,n){super(e),this.task=t,this.onConfirm=n}onOpen(){let{contentEl:e}=this;e.empty(),e.createEl("h2",{text:"Delete task"});let t=e.createEl("p");t.appendText('Are you sure you want to delete the task "'),t.createEl("strong",{text:this.task.title}),t.appendText('"?'),e.createEl("p",{cls:"mod-warning",text:"This action cannot be undone. The task file will be permanently deleted."});let n=e.createEl("div",{cls:"modal-button-container"});n.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),n.classList.add("tn-static-display-flex-75816cae"),n.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),n.classList.add("tn-static-gap-10px-f3d7ce77"),n.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),n.classList.add("tn-static-justify-content-flex-end-455f8cca"),n.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),n.classList.add("tn-static-margin-top-20px-a26bda7d");let i=n.createEl("button",{text:"Cancel"});i.addEventListener("click",()=>{this.close()});let a=n.createEl("button",{text:"Delete",cls:"mod-warning"});a.classList.remove("tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-text-accent-a954c70f"),a.classList.add("tn-static-background-color-var-color-red-134bc721"),a.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),a.classList.add("tn-static-color-white-0a43e56a"),a.addEventListener("click",()=>{(async()=>{try{await this.onConfirm(),this.close(),new Hx.Notice("Task deleted successfully")}catch(s){let o=s instanceof Error?s.message:String(s);new Hx.Notice(`Failed to delete task: ${o}`),rrt.error("Error in delete confirmation:",{category:"persistence",operation:"delete-confirmation",error:s})}})()}),i.focus()}onClose(){let{contentEl:e}=this;e.empty()}}});var bb={};et(bb,{DEFAULT_TASK_CARD_OPTIONS:()=>CV,cleanupTaskCard:()=>art,createTaskCard:()=>Sr,refreshParentTaskSubtasks:()=>srt,showDeleteConfirmationModal:()=>TTe,showTaskContextMenu:()=>Ro,toggleBlockedByTasks:()=>xTe,toggleBlockingTasks:()=>ETe,toggleSubtasks:()=>STe,updateTaskCard:()=>irt});function nrt(r){var e;return(e=r._taskCardOptions)!=null?e:{}}function SI(r){return{plugin:r,getRelationshipOptions:nrt,renderTaskCard:(e,t)=>Sr(e,r,void 0,t)}}function wTe(r){return{toggleSubtasks:(e,t,n)=>STe(e,t,r,n),toggleBlockingTasks:(e,t,n)=>ETe(e,t,r,n),toggleBlockedByTasks:(e,t,n)=>xTe(e,t,r,n)}}function Sr(r,e,t,n={}){let i={...CV,...n},a=eV(r,e,i),{targetDate:s,effectiveStatus:o,layout:l,isCompleted:c,hasDetails:d}=a,u=activeDocument.createElement(l==="inline"?"span":"div"),p=u;p._taskPath=r.path,p._taskCardOptions=i,u.className=a.cardClasses.join(" "),u.dataset.taskPath=r.path,u.dataset.key=r.path,u.dataset.status=o,r.priority?u.dataset.priority=r.priority:delete u.dataset.priority,u.dataset.hasDetails=d?"true":"false";let m=u.createEl(l==="inline"?"span":"div",{cls:"task-card__main-row"});YH(u,r,e),GH({mainRow:m,card:u,task:r,plugin:e,effectiveStatus:o,visibleProperties:t,hideStatusIndicator:i.hideStatusIndicator,onClick:AH({task:r,plugin:e,targetDate:s,updateStatusVisuals:(x,C,D)=>{let _=u.querySelector(".task-card__status-dot");_&&EV({card:u,statusDot:_,plugin:e,updatedTask:x,effectiveStatus:C,isCompleted:D})}})}),KH({mainRow:m,task:r,plugin:e,visibleProperties:t,onClick:IH(r,e)});let f=m.createEl(l==="inline"?"span":"div",{cls:"task-card__content"}),h=l!=="inline"?m.createEl("div",{cls:"task-card__badges"}):null,g=wTe(e);Vbe({card:u,badgesContainer:h,task:r,plugin:e,hasDetails:d,propertyOptions:i,handlers:g}),hTe({mainRow:m,taskPath:r.path,plugin:e,targetDate:s,promoteOccurrenceControls:i.promoteOccurrenceControlsInContextMenu}),yTe({contentContainer:f,layout:l,task:r,plugin:e,displayText:i.displayText,isCompleted:c});let v=f.createEl(l==="inline"?"span":"div",{cls:"task-card__metadata"});qH({metadataLine:v,card:u,task:r,plugin:e,visibleProperties:t,propertyOptions:i,handlers:g});let{clickHandler:k,auxclickHandler:b,dblclickHandler:w,contextmenuHandler:S}=lme({task:r,plugin:e,contextMenuHandler:x=>{let C=u.dataset.taskPath;if(C){if(i.promoteOccurrenceControlsInContextMenu===void 0){Ro(x,C,e,s);return}Ro(x,C,e,s,{promoteOccurrenceControls:i.promoteOccurrenceControlsInContextMenu})}},createBatchContextMenu:(x,C)=>new tb({plugin:e,selectedPaths:x,onUpdate:C})});return u.addEventListener("click",k),u.addEventListener("auxclick",b),u.addEventListener("dblclick",w),u.addEventListener("contextmenu",S),i.enableHoverPreview&&u.addEventListener("mouseover",cme(r,e)),u}function irt(r,e,t,n,i={}){let a={...CV,...i},s=eV(e,t,a),{targetDate:o,effectiveStatus:l,isCompleted:c,hasDetails:d}=s;r.className=s.cardClasses.join(" "),r.dataset.status=l,e.priority?r.dataset.priority=e.priority:delete r.dataset.priority,r.dataset.hasDetails=d?"true":"false";let u=r.querySelector(".task-card__main-row");YH(r,e,t);let p=r.querySelector(".task-card__checkbox");p&&(p.checked=t.statusManager.isCompletedStatus(l)),Zbe({mainRow:u,card:r,task:e,plugin:t,effectiveStatus:l,visibleProperties:n,hideStatusIndicator:a.hideStatusIndicator,onClick:AH({task:e,plugin:t,targetDate:o,updateStatusVisuals:(g,v,k)=>{let b=r.querySelector(".task-card__status-dot");b&&EV({card:r,statusDot:b,plugin:t,updatedTask:g,effectiveStatus:v,isCompleted:k})}})}),Jbe({mainRow:u,task:e,plugin:t,visibleProperties:n,onClick:IH(e,t)});let m=wTe(t);qbe({card:r,mainRow:u,task:e,plugin:t,hasDetails:d,propertyOptions:a,handlers:m}),vTe({card:r,task:e,plugin:t,displayText:a.displayText,isCompleted:c});let f=r.querySelector(".task-card__badge--blocked");f&&f.remove();let h=r.querySelector(".task-card__metadata");h&&qH({metadataLine:h,card:r,task:e,plugin:t,visibleProperties:n,propertyOptions:a,handlers:m})}function art(r){Rbe(r)}async function STe(r,e,t,n){await jH(SI(t),r,e,n)}async function ETe(r,e,t,n){await Lbe(SI(t),r,e,n)}async function xTe(r,e,t,n){await Fbe(SI(t),r,e,n)}async function srt(r,e,t){await $be(SI(e),r,t)}var CV,la=y(()=>{r2();gH();Wbe();BH();LH();ZH();tV();VH();TV();wV();bTe();kTe();TV();CV={layout:"default",showSecondaryBadges:!0,enableHoverPreview:!0}});function DV({plugin:r,sourcePath:e},t){return{dependency:{uid:To(r.app,e,t.path,r.settings.useFrontmatterMarkdownLinks),reltype:es},path:t.path,name:t.basename}}function CTe({plugin:r,sourcePath:e},t){var s;let n=ts(t);if(!n){let o=typeof t=="object"&&t&&"uid"in t&&typeof t.uid=="string"?t.uid:Z(t);return{dependency:{uid:o,reltype:es},name:o,unresolved:!0}}let i=wl(r.app,e,n);if(i){let o=((s=i.file)==null?void 0:s.basename)||i.path.split("/").pop()||n.uid;return{dependency:n,path:i.path,name:o}}let a=n.uid.replace(/^\[\[/,"").replace(/\]\]$/,"");return{dependency:n,name:a||t.uid,unresolved:!0}}function DTe({plugin:r,sourcePath:e},t){let n=r.app.vault.getAbstractFileByPath(t);if(n instanceof Vx.TFile)return DV({plugin:r,sourcePath:e},n);let a=(t.split("/").pop()||t).replace(/\.md$/i,"");return{dependency:{uid:`[[${a}]]`,reltype:es},path:t,name:a,unresolved:!0}}function ort(r,e){return r.some(t=>t.dependency.uid===e.dependency.uid||!!e.path&&t.path===e.path)}function PV(r,e){return ort(r,e)?[...r]:[...r,e]}function MV(r,e){return r.filter((t,n)=>n!==e)}async function PTe({plugin:r,listEl:e,items:t,linkServices:n,translate:i,onRemove:a}){if(e&&(e.empty(),t.length!==0))for(let[s,o]of t.entries()){let l=!!(o.path&&!o.unresolved),c=e.createDiv({cls:l?"task-project-item task-project-item--task-card":"task-project-item"});o.unresolved&&(c.addClass("task-project-item--unresolved"),(0,Vx.setTooltip)(c,i("contextMenus.task.dependencies.notices.unresolved",{entries:o.dependency.uid}),{placement:"top"}));let d=c.createDiv({cls:l?"task-project-card-host":"task-project-info"});o.path&&!o.unresolved?await lrt(r,d,o,n):crt(d,o);let u=c.createEl("button",{cls:"task-project-remove",text:"\xD7"});(0,Vx.setTooltip)(u,i("modals.task.dependencies.removeTaskTooltip"),{placement:"top"}),u.addEventListener("click",p=>{p.preventDefault(),p.stopPropagation(),a(s)})}}async function lrt(r,e,t,n){if(!t.path)return;let i=await r.cacheManager.getCachedTaskInfo(t.path);if(i){let s=Sr(i,r,void 0,{layout:"default",showSecondaryBadges:!1,enableHoverPreview:!1});e.appendChild(s);return}let a=e.createSpan({cls:"task-project-name clickable-dependency"});Dl(a,t.path,t.name,n,{cssClass:"task-dependency-link internal-link",hoverSource:"tasknotes-dependency-link",showErrorNotices:!0}),t.path!==t.name&&e.createDiv({cls:"task-project-path",text:t.path})}function crt(r,e){var i;let t=r.createSpan({cls:"task-project-name"});t.textContent=e.name;let n=(i=e.path)!=null?i:e.dependency.uid;r.createDiv({cls:"task-project-path",text:n})}function MTe(r,e,t){return To(r.app,e,t.path,r.settings.useFrontmatterMarkdownLinks)}function _Te({plugin:r,sourcePath:e,allTasks:t,existingItems:n,currentPath:i}){let a=new Set(n.map(s=>s.dependency.uid));return t.filter(s=>{if(i&&s.path===i)return!1;let o=MTe(r,e,s);return!a.has(o)})}function ATe({plugin:r,sourcePath:e,allTasks:t,existingItems:n,currentPath:i}){let a=new Set(n.map(o=>o.path).filter(o=>typeof o=="string")),s=new Set(n.map(o=>o.dependency.uid));return t.filter(o=>{if(i&&o.path===i||a.has(o.path))return!1;let l=MTe(r,e,o);return!s.has(l)})}var Vx,ITe=y(()=>{Vx=require("obsidian");ko();Kp();la();gr()});function drt(r){return parseInt(r)||0}function NTe(r,e){let t=null,n=new EI.Setting(e.container);if(n.settingEl.addClass("tn-task-modal__wide-text-setting"),n.setName(r.translate("modals.task.contextsLabel")).addText(i=>{i.setPlaceholder(r.translate("modals.task.contextsPlaceholder")).setValue(e.value).onChange(e.onChange),t=i.inputEl,r.attachMobileKeyboardScrollGuard(i.inputEl),new qA(r.app,i.inputEl,r.plugin)}),!t)throw new Error("Failed to create contexts input");return t}function RTe(r,e){let t=null,n=new EI.Setting(e.container);if(n.settingEl.addClass("tn-task-modal__wide-text-setting"),n.setName(r.translate("modals.task.tagsLabel")).addText(i=>{i.setPlaceholder(r.translate("modals.task.tagsPlaceholder")).setValue(e.value).onChange(a=>{e.onChange(Ri(a))}),t=i.inputEl,r.attachMobileKeyboardScrollGuard(i.inputEl),new Wp(r.app,i.inputEl,r.plugin)}),!t)throw new Error("Failed to create tags input");return t}function OTe(r,e){let t=null;if(new EI.Setting(e.container).setName(r.translate("modals.task.timeEstimateLabel")).addText(n=>{n.setPlaceholder(r.translate("modals.task.timeEstimatePlaceholder")).setValue(e.value.toString()).onChange(i=>{e.onChange(drt(i))}),t=n.inputEl,r.attachMobileKeyboardScrollGuard(n.inputEl)}),!t)throw new Error("Failed to create time estimate input");return t}var EI,LTe=y(()=>{EI=require("obsidian");Ct();Tx()});function im(r){return r==null?"":typeof r=="string"?r:typeof r=="number"||typeof r=="boolean"?String(r):Array.isArray(r)?r.map(im).join(", "):""}function $Te(r){return Array.isArray(r)?r.map(im).join(", "):im(r)}function _V(r){return r.split(",").map(e=>e.trim()).filter(e=>e.length>0)}function zTe(r){let e=_V(r);return e.length>0?e:null}function AV(r){let e=parseFloat(r);return isNaN(e)?null:e}function xI(r){return r||null}function IV(r){return r===!0||r==="true"}function jTe(r){let e={};for(let[t,n]of Object.entries(r))n!=null&&n!==""&&(e[t]=n);return e}function BTe(r,e,t){let n={};for(let i of t){if(!(i!=null&&i.key))continue;let a=r[i.key],s=e[i.key];urt(a,s)&&(n[i.key]=a==null||a===""?null:a)}return n}function urt(r,e){let t=FTe(r),n=FTe(e);return Array.isArray(t)||Array.isArray(n)?JSON.stringify(t)!==JSON.stringify(n):t!==n}function FTe(r){return r==null||r===""?null:r}var CI=y(()=>{});function UTe(r,e){let{container:t,field:n,values:i,inputRefs:a,toggleRefs:s,onValueChange:o}=e,l=new xu.Setting(t).setName(n.displayName);switch(n.type){case"text":case"list":{l.addText(c=>{let d=i[n.key],u=Array.isArray(d)?d.map(im).join(", "):im(d);c.setValue(u).onChange(p=>{o(n.key,n.type==="list"?_V(p):p)}),Bh(r,a,n,c.inputEl)});break}case"number":{l.addText(c=>{let d=i[n.key];c.setValue(im(d)).onChange(u=>{o(n.key,AV(u))}),c.inputEl.type="number",Bh(r,a,n,c.inputEl,{attachSuggest:!1})});break}case"date":{l.addText(c=>{let d=i[n.key];c.setValue(im(d)).onChange(u=>{o(n.key,u)}),c.inputEl.type="date",Sc(c.inputEl,{onCommit:u=>{o(n.key,u)}}),Bh(r,a,n,c.inputEl,{attachSuggest:!1})});break}case"boolean":{l.addToggle(c=>{let d=i[n.key];c.setValue(d===!0).onChange(u=>{o(n.key,u)}),s.set(n.key,c)});break}}}function HTe(r,e){let{container:t,fields:n}=e;n.length>0&&t.createDiv({cls:"tn-task-modal__user-fields"}).createDiv({text:r.translate("modals.task.customFieldsLabel"),cls:"tn-task-modal__section-label"});for(let i of n)!i||!i.key||!i.displayName||prt(r,e,i)}function VTe(r){for(let e of r.fields){let t=r.values[e.key],n=r.inputRefs.get(e.key);n&&(n.value=$Te(t));let i=r.toggleRefs.get(e.key);i&&i.setValue(IV(t))}}function prt(r,e,t){let n=e.values[t.key]||"";switch(t.type){case"boolean":new xu.Setting(e.container).setName(t.displayName).addToggle(i=>{i.setValue(IV(n)).onChange(a=>{e.onValueChange(t.key,a)}),e.toggleRefs.set(t.key,i)});break;case"number":new xu.Setting(e.container).setName(t.displayName).addText(i=>{i.setPlaceholder(r.translate("modals.task.userFields.numberPlaceholder")).setValue(n?Z(n):"").onChange(a=>{e.onValueChange(t.key,AV(a))}),Bh(r,e.inputRefs,t,i.inputEl,{attachSuggest:!1})});break;case"date":mrt(r,e,t,n);break;case"list":new xu.Setting(e.container).setName(t.displayName).addText(i=>{var o;let a=Array.isArray(n)?n.join(", "):n?Z(n):"";i.setPlaceholder(r.translate("modals.task.userFields.listPlaceholder")).setValue(a).onChange(l=>{e.onValueChange(t.key,zTe(l))}),Bh(r,e.inputRefs,t,i.inputEl);let s=e.container.querySelector(".user-field-link-preview");s&&((o=s.detach)==null||o.call(s))});break;case"text":default:new xu.Setting(e.container).setName(t.displayName).addText(i=>{i.setPlaceholder(r.translate("modals.task.userFields.textPlaceholder",{field:t.displayName})).setValue(n?Z(n):"").onChange(a=>{e.onValueChange(t.key,xI(a))}),Bh(r,e.inputRefs,t,i.inputEl)});break}}function mrt(r,e,t,n){new xu.Setting(e.container).setName(t.displayName).addText(i=>{i.setPlaceholder(r.translate("modals.task.userFields.datePlaceholder")).setValue(n?Z(n):"").onChange(o=>{e.onValueChange(t.key,xI(o))}),Bh(r,e.inputRefs,t,i.inputEl,{attachSuggest:!1});let a=i.inputEl.parentElement;a&&a.addClass("tn-date-control"),Sc(i.inputEl,{onCommit:o=>{e.onValueChange(t.key,o)}});let s=a==null?void 0:a.createEl("button",{cls:"user-field-date-picker-btn"});s&&(s.setAttribute("aria-label",r.translate("modals.task.userFields.pickDate",{field:t.displayName})),(0,xu.setIcon)(s,"calendar"),s.addEventListener("click",o=>{o.preventDefault(),new Zs({currentValue:frt(i)||void 0,onSelect:c=>{i.setValue(c||""),e.onValueChange(t.key,xI(c))},plugin:r.plugin,app:r.app}).showAtElement(s)}))})}function Bh(r,e,t,n,i={}){e.set(t.key,n),r.attachMobileKeyboardScrollGuard(n),i.attachSuggest!==!1&&new WA(r.app,n,r.plugin,t)}function frt(r){return typeof r.getValue=="function"?r.getValue():r.inputEl.value}var xu,qTe=y(()=>{xu=require("obsidian");Nh();yx();gr();Tx();CI()});function DI(r,e){var a;let t=e.container.createDiv("modal-button-container tn-task-modal__button-bar");for(let s of(a=e.leadingButtons)!=null?a:[])t.createEl("button",{cls:s.className,text:s.text}).addEventListener("click",s.onClick);let n=t.createEl("button",{cls:"mod-cta",text:r.translate("modals.task.buttons.save")});return n.addEventListener("click",()=>{hrt(n,e.onSave,e.onSaved)}),t.createEl("button",{text:r.translate("common.cancel")}).addEventListener("click",e.onCancel),t}async function hrt(r,e,t){r.disabled=!0;try{await e(),t()}finally{r.disabled=!1}}var NV=y(()=>{});function RV(r,e){let t=r.createDiv("action-icon");t.setAttribute("aria-label",e.tooltip),t.setAttribute("data-initial-tooltip",e.tooltip),t.setAttribute("tabindex","0"),t.setAttribute("role","button"),e.dataType&&t.setAttribute("data-type",e.dataType),(0,PI.setTooltip)(t,e.tooltip,{placement:"top"});let n=t.createSpan("icon");(0,PI.setIcon)(n,e.iconName);let i=a=>{a.preventDefault(),a.stopPropagation(),e.onClick(t,a)};return t.addEventListener("click",i),t.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&i(a)}),t}function WTe(r,e){return e.map(t=>RV(r,t))}var PI,YTe=y(()=>{PI=require("obsidian")});function KTe(r,e,t){r&&(GTe(r,e,"due-date",t.dueDate,{activeTooltipKey:"modals.task.tooltips.dueValue",defaultTooltipKey:"modals.task.actions.due"}),GTe(r,e,"scheduled-date",t.scheduledDate,{activeTooltipKey:"modals.task.tooltips.scheduledValue",defaultTooltipKey:"modals.task.actions.scheduled"}),yrt(r,e,t),vrt(r,e,t),brt(r,e,t),Trt(r,e,t.reminderCount))}function GTe(r,e,t,n,i){let a=qx(r,t);if(a){if(n){a.classList.add("has-value"),(0,Cu.setTooltip)(a,e.translate(i.activeTooltipKey,{value:n}),{placement:"top"});return}a.classList.remove("has-value"),(0,Cu.setTooltip)(a,e.translate(i.defaultTooltipKey),{placement:"top"})}}function yrt(r,e,t){let n=qx(r,"status");if(!n)return;let i=t.statusConfigs.find(s=>s.value===t.status),a=i?i.label:t.status;ZTe(n,e,{isActive:!!(t.status&&i&&i.value!==t.defaultStatus),activeTooltipKey:"modals.task.tooltips.statusValue",defaultTooltipKey:"modals.task.actions.status",label:a,color:i==null?void 0:i.color})}function vrt(r,e,t){let n=qx(r,"priority");if(!n)return;let i=t.priorityConfigs.find(s=>s.value===t.priority),a=i?i.label:t.priority;ZTe(n,e,{isActive:!!(t.priority&&i&&i.value!==t.defaultPriority),activeTooltipKey:"modals.task.tooltips.priorityValue",defaultTooltipKey:"modals.task.actions.priority",label:a,color:i==null?void 0:i.color})}function ZTe(r,e,t){t.isActive?(r.classList.add("has-value"),(0,Cu.setTooltip)(r,e.translate(t.activeTooltipKey,{value:t.label}),{placement:"top"})):(r.classList.remove("has-value"),(0,Cu.setTooltip)(r,e.translate(t.defaultTooltipKey),{placement:"top"}));let n=r.querySelector(".icon");if(n){if(t.color){n.style.color=t.color;return}n.classList.remove(...grt),n.style.removeProperty("color")}}function brt(r,e,t){let n=qx(r,"recurrence");if(n){if(t.recurrenceRule.trim()){n.classList.add("has-value"),(0,Cu.setTooltip)(n,e.translate("modals.task.tooltips.recurrenceValue",{value:t.recurrenceDisplayText}),{placement:"top"});return}n.classList.remove("has-value"),(0,Cu.setTooltip)(n,e.translate("modals.task.actions.recurrence"),{placement:"top"})}}function Trt(r,e,t){let n=qx(r,"reminders");if(n){if(t>0){n.classList.add("has-value");let i=t===1?e.translate("modals.task.tooltips.remindersSingle"):e.translate("modals.task.tooltips.remindersPlural",{count:t});(0,Cu.setTooltip)(n,i,{placement:"top"});return}n.classList.remove("has-value"),(0,Cu.setTooltip)(n,e.translate("modals.task.actions.reminders"),{placement:"top"})}}function qx(r,e){return r.querySelector(`[data-type="${e}"]`)}var Cu,grt,QTe=y(()=>{Cu=require("obsidian"),grt=["tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"]});function JTe(r){return!r||r.length===0?"open":[...r].sort((t,n)=>t.order-n.order)[0].value}function XTe(r){return!r||r.length===0?"normal":[...r].sort((t,n)=>t.weight-n.weight)[0].value}function eke(r){return r?r.includes("FREQ=DAILY")?"Daily":r.includes("FREQ=WEEKLY")?Srt(r):r.includes("FREQ=MONTHLY")?Ert(r):r.includes("FREQ=YEARLY")?xrt(r):`Custom${Crt(r)}`:""}function tke(r){let e=["th","st","nd","rd"],t=r%100;return r+(e[(t-20)%10]||e[t]||e[0])}function Srt(r){if(r.includes("INTERVAL=2"))return"Every 2 weeks";if(r.includes("BYDAY=MO,TU,WE,TH,FR"))return"Weekdays";if(!r.includes("BYDAY="))return"Weekly";let e=r.match(/BYDAY=([A-Z]{2})/);return e?`Weekly on ${krt[e[1]]||e[1]}`:"Weekly"}function Ert(r){if(r.includes("INTERVAL=3"))return"Every 3 months";if(r.includes("BYMONTHDAY=")){let e=r.match(/BYMONTHDAY=(\d+)/);return e?`Monthly on the ${tke(Number.parseInt(e[1],10))}`:"Monthly"}return r.includes("BYDAY=")?"Monthly (by weekday)":"Monthly"}function xrt(r){if(r.includes("BYMONTH=")&&r.includes("BYMONTHDAY=")){let e=r.match(/BYMONTH=(\d+)/),t=r.match(/BYMONTHDAY=(\d+)/);if(e&&t){let n=wrt[Number.parseInt(e[1],10)],i=tke(Number.parseInt(t[1],10));return`Yearly on ${n} ${i}`}}return"Yearly"}function Crt(r){if(r.includes("COUNT=")){let e=r.match(/COUNT=(\d+)/);return e?` (${e[1]} times)`:""}if(r.includes("UNTIL=")){let e=r.match(/UNTIL=(\d{8})/);if(e){let t=e[1];return` (until ${t.slice(0,4)}-${t.slice(4,6)}-${t.slice(6,8)})`}}return""}var krt,wrt,rke=y(()=>{krt={SU:"Sunday",MO:"Monday",TU:"Tuesday",WE:"Wednesday",TH:"Thursday",FR:"Friday",SA:"Saturday"},wrt=["","January","February","March","April","May","June","July","August","September","October","November","December"]});function nke(r){return{title:r.title,status:r.status,priority:r.priority,dueDate:r.dueDate,scheduledDate:r.scheduledDate,recurrenceRule:r.recurrenceRule,recurrenceAnchor:r.recurrenceAnchor,reminders:r.reminders||[]}}function ike(r){return{app:r.app,plugin:r.plugin,translate:r.translate,getState:r.getState,setDate:(e,t)=>{if(e==="due"){r.setDueDate(t);return}r.setScheduledDate(t)},setStatus:r.setStatus,setPriority:r.setPriority,setRecurrence:(e,t)=>{r.setRecurrenceRule(e),t!==void 0&&r.setRecurrenceAnchor(t)},setReminders:r.setReminders,onChange:r.onChange}}function ake(r,e){let t=e.statusConfigs||[],n=e.priorityConfigs||[];return{dueDate:r.dueDate,scheduledDate:r.scheduledDate,status:r.status,priority:r.priority,recurrenceRule:r.recurrenceRule,recurrenceDisplayText:eke(r.recurrenceRule),reminderCount:r.reminders.length,defaultStatus:JTe(t),defaultPriority:XTe(n),statusConfigs:t,priorityConfigs:n}}var ske=y(()=>{rke()});var MI,oke=y(()=>{sb();du();MI=class{constructor(e,t,n,i){this.plugin=e,this.task=t,this.triggerElement=n,this.onUpdate=i}show(e){let t=new ki;this.addQuickRemindersSection(t,"due",this.plugin.i18n.translate("components.reminderContextMenu.remindBeforeDue")),this.addQuickRemindersSection(t,"scheduled",this.plugin.i18n.translate("components.reminderContextMenu.remindBeforeScheduled")),t.addSeparator(),t.addItem(n=>{n.setTitle(this.plugin.i18n.translate("components.reminderContextMenu.manageAllReminders")).setIcon("settings").onClick(()=>{this.openReminderModal()})}),this.task.reminders&&this.task.reminders.length>0&&t.addItem(n=>{n.setTitle(this.plugin.i18n.translate("components.reminderContextMenu.clearAllReminders")).setIcon("trash").onClick(async()=>{await this.clearAllReminders()})}),t.show(e)}addQuickRemindersSection(e,t,n){if(!(t==="due"?this.task.due:this.task.scheduled)){e.addItem(a=>{a.setTitle(n).setIcon("bell").setDisabled(!0)});return}e.addItem(a=>{a.setTitle(n),a.setIcon("bell"),this.addQuickReminderSubmenu(a.setSubmenu(),t)})}addQuickReminderSubmenu(e,t){[{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(i=>{e.addItem(a=>{a.setTitle(i.label).onClick(async()=>{await this.addQuickReminder(t,i.offset,i.label)})})})}async addQuickReminder(e,t,n){let i={id:`rem_${Date.now()}`,type:"relative",relatedTo:e,offset:t,description:n},a=[...this.task.reminders||[],i];await this.saveReminders(a)}async clearAllReminders(){await this.saveReminders([])}async saveReminders(e){let t;if(this.task.path&&this.task.path.trim()!==""){let n=await this.plugin.cacheManager.getTaskInfo(this.task.path);n?(t={...n,reminders:e},await this.plugin.taskService.updateProperty(t,"reminders",e)):t={...this.task,reminders:e}}else t={...this.task,reminders:e};this.onUpdate(t)}openReminderModal(){new _l(this.plugin.app,this.plugin,this.task,t=>{this.saveReminders(t)}).open()}}});var _I,lke=y(()=>{du();_I=class{constructor(e){this.targetDoc=activeDocument;this.menu=new ki,this.options=e,this.buildMenu()}buildMenu(){this.getStatusOptions().forEach((t,n)=>{this.menu.addItem(i=>{let a=t.label;i.setIcon(t.icon||"circle"),t.value===this.options.currentValue&&(a=`\u2713 ${t.label}`),i.setTitle(a),i.onClick(async()=>{this.options.onSelect(t.value)})})})}getStatusOptions(){let e=this.options.plugin.settings.customStatuses,t=[];return e&&e.length>0&&[...e].sort((i,a)=>i.order-a.order).forEach(i=>{t.push({label:i.label,value:i.value,color:i.color,icon:i.icon})}),t}capitalizeFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}show(e){var t,n;(n=(t=e.target)==null?void 0:t.instanceOf)!=null&&n.call(t,HTMLElement)&&(this.targetDoc=e.target.ownerDocument),this.menu.show(e),window.setTimeout(()=>{this.applyColorStyling()},10)}showAtElement(e){this.targetDoc=e.ownerDocument,this.menu.showAtPosition({x:e.getBoundingClientRect().left,y:e.getBoundingClientRect().bottom+4}),window.setTimeout(()=>{this.applyColorStyling()},10)}applyColorStyling(){let e=this.getStatusOptions(),t=this.targetDoc.querySelector(".menu");if(!t)return;let n=t.querySelectorAll(".menu-item");e.forEach((i,a)=>{let s=n[a];if(s&&i.color){let o=s.querySelector(".menu-item-icon");o&&(o.style.color=i.color)}})}}});function cke(r,e){let t=Mrt(r.getState(),e);new Ih(r.app,{currentDate:t?ke(t):void 0,currentTime:t?_a(t):void 0,title:_rt(r,e),dateRole:e,plugin:r.plugin,onSelect:(i,a)=>{r.setDate(e,Drt(i,a)),r.onChange()}}).open()}function dke(r,e){new _I({currentValue:r.getState().status,onSelect:n=>{r.setStatus(n),r.onChange()},plugin:r.plugin}).show(e)}function uke(r,e){new ku({currentValue:r.getState().priority,onSelect:n=>{r.setPriority(n),r.onChange()},plugin:r.plugin}).show(e)}function pke(r,e){let t=r.getState();new Ml({currentValue:t.recurrenceRule,currentAnchor:t.recurrenceAnchor,scheduledDate:t.scheduledDate,onSelect:(i,a)=>{r.setRecurrence(i||"",a),r.onChange()},app:r.app,plugin:r.plugin}).show(e)}function AI(r,e,t){new MI(r.plugin,Prt(r.getState(),t),e.target,i=>{r.setReminders(i.reminders||[]),r.onChange()}).show(e)}function Drt(r,e){return r?e?Ni(r,e):r:""}function Prt(r,e){return{...e,title:r.title,status:r.status,priority:r.priority,due:r.dueDate,scheduled:r.scheduledDate,path:(e==null?void 0:e.path)||"",archived:(e==null?void 0:e.archived)||!1,reminders:r.reminders}}function Mrt(r,e){return e==="due"?r.dueDate:r.scheduledDate}function _rt(r,e){return e==="due"?r.translate("modals.task.dateMenu.dueTitle"):r.translate("modals.task.dateMenu.scheduledTitle")}var OV=y(()=>{Mx();ab();oke();lke();Ne();BA()});function II(r,e){return{file:r,name:r.basename,link:e}}function hke(r,e,t){let n=[...r];for(let i of e){let a=Art(i,t);!a||LV(n,a)||n.push(a)}return n}function gke(r,e){return r.filter(t=>t!==e)}function yke(r){return r.map(e=>e.link).join(", ")}function Art(r,e){if(!r||typeof r!="string"||r.trim()==="")return null;let t=r.match(/^\[\[([^\]]+)\]\]$/);if(t)return Nrt(r,t[1],e);let n=r.match(/^\[([^\]]*)\]\(([^)]+)\)$/);return n?Rrt(r,n,e):Ort(r,e)}function LV(r,e){let t=mke(e);return r.some(n=>{let i=mke(n);return t.some(a=>i.includes(a))})}function mke(r){var n;let e=new Set;(n=r.file)!=null&&n.path&&e.add(`path:${fke(r.file.path)}`);let t=jt(r.link);return t&&e.add(`path:${fke(t)}`),r.link&&e.add(`link:${r.link.trim().toLowerCase()}`),Array.from(e)}function fke(r){return r.trim().replace(/\.md$/i,"").toLowerCase()}function vke({app:r,listEl:e,items:t,sourcePath:n,translate:i,onRemove:a}){if(!e||(e.empty(),t.length===0))return;let s={metadataCache:r.metadataCache,workspace:r.workspace};for(let o of t){let l=e.createDiv({cls:"task-project-item"});o.unresolved&&l.addClass("task-project-item--unresolved");let c=l.createDiv({cls:"task-project-info"}),d=c.createDiv({cls:"task-project-name clickable-project"});if(o.file){let p=Z_(r,o.file,n,o.file.name);Irt(d,[p],s),o.file.path!==o.file.name&&c.createDiv({cls:"task-project-path",text:o.file.path})}else d.textContent=o.name,(0,Tb.setTooltip)(d,i("contextMenus.task.dependencies.notices.unresolved",{name:o.name}),{placement:"top"});let u=l.createEl("button",{cls:"task-project-remove",text:"\xD7"});(0,Tb.setTooltip)(u,i("modals.task.projectsRemoveTooltip"),{placement:"top"}),u.addEventListener("click",()=>{a(o)})}}function Irt(r,e,t){nb(r,e,t),Array.from(r.childNodes).forEach(n=>{var i;n.nodeType===Node.TEXT_NODE&&((i=n.textContent)==null?void 0:i.trim())==="+"&&n.remove()})}function Nrt(r,e,t){let n=t.resolveLink(e,t.sourcePath);return n instanceof Tb.TFile?II(n,r):{name:e.split("|")[0],link:r,unresolved:!0}}function Rrt(r,e,t){let n=jt(r),i=t.resolveLink(n,t.sourcePath);return i instanceof Tb.TFile?II(i,r):{name:e[1]||n,link:r,unresolved:!0}}function Ort(r,e){let t=e.getMarkdownFiles().find(n=>n.basename===r||n.name===`${r}.md`);return t?{file:t,name:t.basename,link:`[[${t.basename}]]`}:{name:r,link:r,unresolved:!0}}var Tb,bke=y(()=>{Tb=require("obsidian");Kp();jn()});function Tke(r,e,t){let n=new Set(e.map(i=>i.path));return r.filter(i=>t&&i.path===t?!1:!n.has(i.path))}function kke(r,e){return Lrt(r,e)?[...r]:[...r,e]}function wke(r,e){return r.filter(t=>t.path!==e.path)}function Lrt(r,e){return r.some(t=>t.path===e.path)}async function Ske({app:r,listEl:e,files:t,sourcePath:n,getCachedTaskInfo:i,createTaskCard:a,translate:s,onRemove:o}){if(!e||(e.empty(),t.length===0))return;let l={metadataCache:r.metadataCache,workspace:r.workspace};for(let c of t){if(!(c instanceof NI.TFile))return;let d=e.createDiv({cls:"task-project-item task-project-item--task-card"}),u=d.createDiv({cls:"task-project-card-host"}),p=await i(c.path);p?u.appendChild(a(p)):Frt(r,u,c,n,l);let m=d.createEl("button",{cls:"task-project-remove",text:"\xD7"});(0,NI.setTooltip)(m,s("modals.task.organization.removeSubtaskTooltip"),{placement:"top"}),m.addEventListener("click",()=>{o(c)})}}function Frt(r,e,t,n,i){let a=e.createDiv({cls:"task-project-info"}),s=a.createDiv({cls:"task-project-name clickable-project"}),o=Z_(r,t,n,t.name);$rt(s,[o],i),t.path!==t.name&&a.createDiv({cls:"task-project-path",text:t.path})}function $rt(r,e,t){nb(r,e,t),Array.from(r.childNodes).forEach(n=>{var i;n.nodeType===Node.TEXT_NODE&&((i=n.textContent)==null?void 0:i.trim())==="+"&&n.remove()})}var NI,Eke=y(()=>{NI=require("obsidian");Kp();jn()});async function RI({plugin:r,getAllTasks:e=async()=>{var u,p,m;return(m=await((p=(u=r.cacheManager).getAllTasks)==null?void 0:p.call(u)))!=null?m:[]},getCandidates:t,onSelect:n,translate:i,noEligibleTasksMessageKey:a,openFailedMessageKey:s,logOperation:o,openSelector:l=Pn,showNotice:c=u=>{new xke.Notice(u)},logger:d=zrt}){var u;try{let p=(u=await e())!=null?u:[],m=[...t(p)];return m.length===0?(c(i(a)),"empty"):(l(r,m,f=>{f&&n(f)}),"opened")}catch(p){return d.error("Failed to open task selector",{category:"stale-data",operation:o,error:p}),c(i(s)),"error"}}var xke,zrt,Cke=y(()=>{xke=require("obsidian");G();No();zrt=I({tag:"TaskModal/TaskSelector"})});function Mke({container:r,className:e,placeholder:t,value:n,onChange:i,attachFocusScrollGuard:a}){let s=r.createEl("textarea",{cls:e});return s.placeholder=t,s.rows=1,s.spellcheck=!0,s.setAttribute("aria-label",t),s.addEventListener("keydown",o=>{o.key==="Enter"&&!o.ctrlKey&&!o.metaKey&&o.preventDefault()}),jrt(s,{value:n,onChange:i,attachFocusScrollGuard:a}),s}function jrt(r,{value:e,onChange:t,attachFocusScrollGuard:n}){r.value=e,r.addEventListener("input",i=>{let a=i.target,s=Brt(a.value);a.value!==s&&(a.value=s),t(s),Dke(a)}),n==null||n(r),Dke(r)}function Brt(r){return r.replace(/\s*\n+\s*/g," ")}function Dke(r){var u;let e=r.ownerDocument.defaultView,t=(u=e==null?void 0:e.HTMLTextAreaElement)!=null?u:HTMLTextAreaElement;if(!(r instanceof t))return;let n=e==null?void 0:e.getComputedStyle(r),i=n?Number.parseFloat(n.lineHeight):0,a=n&&Number.parseFloat(n.paddingTop)||0,s=n&&Number.parseFloat(n.paddingBottom)||0,o=n&&Number.parseFloat(n.borderTopWidth)||0,l=n&&Number.parseFloat(n.borderBottomWidth)||0,c=(i>0?i*3:72)+a+s+o+l;Pke(r,{"--tn-task-modal-title-height":"auto"});let d=Math.min(r.scrollHeight,c);Pke(r,{"--tn-task-modal-title-height":`${d}px`,"--tn-task-modal-title-overflow-y":r.scrollHeight>c?"auto":"hidden"})}function Pke(r,e){if(typeof r.setCssProps=="function"){r.setCssProps(e);return}for(let[t,n]of Object.entries(e))r.style.setProperty(t,n)}var _ke=y(()=>{});function FI({detailsContainer:r,splitRightColumn:e}){LI(r),r.classList.add(OI),e&&(LI(e),e.classList.add(OI))}function Lke({containerEl:r,detailsContainer:e,splitRightColumn:t,timerWindow:n}){var a;LI(e,OI),e.classList.add(Hrt),r.classList.add("expanded"),t&&(LI(t,OI),t.style.removeProperty("display")),e.classList.remove(Ike,Nke),e.classList.add(Ake),e.classList.remove(Oke),e.classList.add(Rke),((a=n!=null?n:e.ownerDocument.defaultView)!=null?a:window).setTimeout(()=>{e.classList.remove(Ike,Ake),e.classList.add(Nke),e.classList.remove(Rke),e.classList.add(Oke)},50)}function LI(r,...e){r.classList.remove(...Urt,...e)}var Urt,OI,Hrt,Ake,Ike,Nke,Rke,Oke,FV=y(()=>{Urt=["tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"],OI="tn-static-display-none-6b99de8b",Hrt="tn-static-display-block-2a1b75c9",Ake="tn-static-opacity-0-8d919cb5",Ike="tn-static-opacity-0-6-d95b59ac",Nke="tn-static-opacity-1-c6e7979d",Rke="tn-static-transform-translatey-10px-5b91bf02",Oke="tn-static-transform-translatey-0-1b976432"});function Fke(r,e){var t;return((t=r.instanceOf)==null?void 0:t.call(r,e))===!0||e.prototype.isPrototypeOf(r)}var $I,$ke=y(()=>{$I=class{constructor(e){this.guardedTitleInputs=new WeakSet;this.guardedMobileKeyboardInputs=new WeakSet;this.pendingTitleFocusScrollPositions=null;this.mobileKeyboardFocusCleanups=[];this.mobileKeyboardScrollTimers=[];this.elements=e}focusTitleInput(e){this.getWindow().setTimeout(()=>{this.pendingTitleFocusScrollPositions=this.captureTitleFocusScrollPositions(e),e.focus({preventScroll:!0}),e.select(),this.restoreTitleFocusScrollPositions(this.pendingTitleFocusScrollPositions)},this.getInitialFocusDelay())}getInitialFocusDelay(){return this.isMobileLikeEnvironment()?350:100}isMobileLikeEnvironment(){var n,i;let e=this.elements.containerEl.ownerDocument,t=e.defaultView||window;return e.body.classList.contains("is-mobile")||((i=(n=t.matchMedia)==null?void 0:n.call(t,"(pointer: coarse)"))==null?void 0:i.matches)===!0}attachTitleFocusScrollGuard(e){if(this.guardedTitleInputs.has(e))return;this.guardedTitleInputs.add(e);let t=()=>{this.pendingTitleFocusScrollPositions=this.captureTitleFocusScrollPositions(e)};e.addEventListener("pointerdown",t,{capture:!0}),e.addEventListener("touchstart",t,{capture:!0}),e.addEventListener("focus",()=>{this.pendingTitleFocusScrollPositions&&this.scheduleTitleFocusScrollRestore(this.pendingTitleFocusScrollPositions)})}attachMobileKeyboardScrollGuard(e,t={}){var s;if(this.guardedMobileKeyboardInputs.has(e))return;this.guardedMobileKeyboardInputs.add(e);let n=(s=t.scrollOnFocus)!=null?s:!0,i=()=>{this.isMobileLikeEnvironment()&&(this.elements.containerEl.addClass("is-mobile-keyboard-focused"),n&&this.scheduleMobileKeyboardScrollIntoView(e))},a=()=>{(e.ownerDocument.defaultView||window).setTimeout(()=>{let l=e.ownerDocument.activeElement;(!l||!this.elements.modalEl.contains(l)||!this.isKeyboardTextEntryElement(l))&&this.elements.containerEl.removeClass("is-mobile-keyboard-focused")},100)};e.addEventListener("focus",i),e.addEventListener("blur",a),this.mobileKeyboardFocusCleanups.push(()=>{e.removeEventListener("focus",i),e.removeEventListener("blur",a)})}destroy(){for(let t of this.mobileKeyboardFocusCleanups)t();this.mobileKeyboardFocusCleanups=[];let e=this.getWindow();for(let t of this.mobileKeyboardScrollTimers)e.clearTimeout(t);this.mobileKeyboardScrollTimers=[],this.elements.containerEl.removeClass("is-mobile-keyboard-focused"),this.pendingTitleFocusScrollPositions=null}captureTitleFocusScrollPositions(e){if(!this.isMobileLikeEnvironment())return null;let t=new Set,n=a=>{var l;let s=a==null?void 0:a.ownerDocument.defaultView,o=(l=s==null?void 0:s.HTMLElement)!=null?l:HTMLElement;a instanceof o&&t.add(a)};n(this.elements.containerEl),n(this.elements.modalEl),n(this.elements.contentEl),this.elements.modalEl.querySelectorAll(".modal-content, .minimalist-modal-container, .modal-split-content, .modal-split-left, .modal-split-right, .details-container").forEach(n);let i=e.parentElement;for(;i&&i!==this.elements.containerEl.parentElement;)n(i),i=i.parentElement;return Array.from(t).map(a=>({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}))}restoreTitleFocusScrollPositions(e){if(e)for(let{element:t,scrollTop:n,scrollLeft:i}of e)t.scrollTop=n,t.scrollLeft=i}scheduleTitleFocusScrollRestore(e){this.restoreTitleFocusScrollPositions(e);let t=this.getWindow();t.requestAnimationFrame?t.requestAnimationFrame(()=>this.restoreTitleFocusScrollPositions(e)):t.setTimeout(()=>this.restoreTitleFocusScrollPositions(e),16),t.setTimeout(()=>this.restoreTitleFocusScrollPositions(e),50),t.setTimeout(()=>{this.restoreTitleFocusScrollPositions(e),this.pendingTitleFocusScrollPositions===e&&(this.pendingTitleFocusScrollPositions=null)},250)}isKeyboardTextEntryElement(e){var s,o;let t=e.ownerDocument.defaultView||window,n=(s=t.HTMLInputElement)!=null?s:HTMLInputElement,i=(o=t.HTMLTextAreaElement)!=null?o:HTMLTextAreaElement;return Fke(e,i)?!0:Fke(e,n)?!new Set(["button","checkbox","color","file","hidden","radio","range","reset","submit"]).has(e.type):!1}scheduleMobileKeyboardScrollIntoView(e){let t=e.ownerDocument.defaultView||window;for(let n of[0,150,350]){let i=t.setTimeout(()=>{this.mobileKeyboardScrollTimers=this.mobileKeyboardScrollTimers.filter(a=>a!==i),this.scrollMobileKeyboardTargetIntoView(e)},n);this.mobileKeyboardScrollTimers.push(i)}}scrollMobileKeyboardTargetIntoView(e){var n;if(!this.isMobileLikeEnvironment())return;let t=(n=e.closest(".setting-item"))!=null?n:e;t.scrollIntoView({block:"nearest",inline:"nearest",behavior:"auto"}),this.nudgeFocusedFieldInsideVisualViewport(t)}nudgeFocusedFieldInsideVisualViewport(e){var d,u,p;let t=e.ownerDocument.defaultView||window,n=t.visualViewport,i=n&&Number.isFinite(n.height)?n.offsetTop+n.height:t.innerHeight;if(!Number.isFinite(i)||i<=0)return;let a=(u=(d=e.closest(".modal-split-content"))!=null?d:e.closest(".modal-content"))!=null?u:this.elements.contentEl,s=e.getBoundingClientRect(),o=a.getBoundingClientRect(),l=Math.max((p=n==null?void 0:n.offsetTop)!=null?p:0,o.top)+24,c=Math.min(i,o.bottom)-24;s.bottom>c?a.scrollTop+=s.bottom-c:s.top<l&&(a.scrollTop-=l-s.top)}getWindow(){return this.elements.containerEl.ownerDocument.defaultView||window}}});var Wx,Vrt,kb,$V=y(()=>{Wx=require("obsidian");Wj();qde();eB();Ct();iS();ko();jn();sme();la();ITe();LTe();qTe();NV();YTe();QTe();ske();OV();bke();Eke();Cke();_ke();FV();$ke();G();Vrt=I({tag:"Modals/TaskModal"}),kb=class extends Wx.Modal{constructor(t,n){super(t);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.userFieldInputs=new Map;this.userFieldToggles=new Map;this.blockedByItems=[];this.blockingItems=[];this.selectedProjectItems=[];this.selectedSubtaskFiles=[];this.initialSubtaskFiles=[];this.detailsMarkdownEditor=null;this.isExpanded=!1;this.plugin=n,this.focusGuards=new $I({containerEl:this.containerEl,modalEl:this.modalEl,contentEl:this.contentEl})}createDependencyItemFromFile(t,n={}){var i;return DV({plugin:this.plugin,sourcePath:(i=n.sourcePath)!=null?i:this.getDependencySourcePath()},t)}createDependencyItemFromDependency(t,n){return CTe({plugin:this.plugin,sourcePath:n!=null?n:this.getDependencySourcePath()},t)}createDependencyItemFromPath(t){return DTe({plugin:this.plugin,sourcePath:this.getDependencySourcePath()},t)}getDependencySourcePath(){var t;return this.getCurrentTaskPath()||((t=this.plugin.app.workspace.getActiveFile())==null?void 0:t.path)||""}getCurrentTaskPath(){}getModalEditorFile(){let t=this.getCurrentTaskPath();if(!t)return this.app.workspace.getActiveFile();let n=this.app.vault.getAbstractFileByPath(t);return n instanceof Wx.TFile?n:this.app.workspace.getActiveFile()}async openTaskNote(){}renderDependencyLists(){this.renderBlockedByList(),this.renderBlockingList()}getLinkServices(){var t;return{metadataCache:this.plugin.app.metadataCache,workspace:this.plugin.app.workspace,sourcePath:this.getCurrentTaskPath()||((t=this.plugin.app.workspace.getActiveFile())==null?void 0:t.path)||""}}renderBlockedByList(){this.renderDependencyList(this.blockedByList,this.blockedByItems,t=>{this.blockedByItems=MV(this.blockedByItems,t),this.renderBlockedByList()})}renderBlockingList(){this.renderDependencyList(this.blockingList,this.blockingItems,t=>{this.blockingItems=MV(this.blockingItems,t),this.renderBlockingList()})}async renderDependencyList(t,n,i){t&&await PTe({plugin:this.plugin,listEl:t,items:n,linkServices:this.getLinkServices(),translate:(a,s)=>this.t(a,s),onRemove:i})}extractDetailsFromContent(t){let{body:n}=Np(t);return n.replace(/\r\n/g,`
`).trimEnd()}normalizeDetails(t){return t.replace(/\r\n/g,`
`).trimEnd()}addBlockedByTask(t){let n={uid:To(this.plugin.app,this.getDependencySourcePath(),t.path,this.plugin.settings.useFrontmatterMarkdownLinks),reltype:es};this.addBlockedByDependency(n)}addBlockingTask(t){this.addBlockingTaskFromPath(t.path)}addBlockedByDependency(t){let n=this.getDependencySourcePath(),i=this.createDependencyItemFromDependency(t,n),a=PV(this.blockedByItems,i);a.length!==this.blockedByItems.length&&(this.blockedByItems=a,this.renderBlockedByList())}addBlockingTaskFromPath(t){let n=this.getCurrentTaskPath();if(n&&t===n)return;let i=this.createDependencyItemFromPath(t),a=PV(this.blockingItems,i);a.length!==this.blockingItems.length&&(this.blockingItems=a,this.renderBlockingList())}async openBlockedBySelector(){let t=this.getDependencySourcePath();await RI({plugin:this.plugin,getCandidates:n=>_Te({plugin:this.plugin,sourcePath:t,allTasks:n,existingItems:this.blockedByItems,currentPath:this.getCurrentTaskPath()}),onSelect:n=>{let i={uid:To(this.plugin.app,t,n.path),reltype:es};this.addBlockedByDependency(i)},translate:n=>this.t(n),noEligibleTasksMessageKey:"contextMenus.task.dependencies.notices.noEligibleTasks",openFailedMessageKey:"contextMenus.task.dependencies.notices.updateFailed",logOperation:"open-blocked-by-selector"})}async openBlockingSelector(){let t=this.getDependencySourcePath();await RI({plugin:this.plugin,getCandidates:n=>ATe({plugin:this.plugin,sourcePath:t,allTasks:n,existingItems:this.blockingItems,currentPath:this.getCurrentTaskPath()}),onSelect:n=>{this.addBlockingTaskFromPath(n.path)},translate:n=>this.t(n),noEligibleTasksMessageKey:"contextMenus.task.dependencies.notices.noEligibleTasks",openFailedMessageKey:"contextMenus.task.dependencies.notices.updateFailed",logOperation:"open-blocking-selector"})}getApp(){return this.app}getPlugin(){return this.plugin}t(t,n){return this.plugin.i18n.translate(t,n)}getFileByPath(t){return this.app.vault.getAbstractFileByPath(t)}getMarkdownFiles(){return this.app.vault.getMarkdownFiles()}getFileCache(t){return this.app.metadataCache.getFileCache(t)}resolveLink(t,n){return this.app.metadataCache.getFirstLinkpathDest(t,n)}isEditMode(){return!1}isCreationMode(){return!1}async handleSubmitShortcut(t){await this.handleSave()}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=t=>{if(t.key==="Enter"&&(t.ctrlKey||t.metaKey)){if(t.target.closest(".cm-editor"))return;t.preventDefault(),this.handleSubmitShortcut(t.shiftKey)}},this.containerEl.addEventListener("keydown",this.keyboardHandler),this.initializeFormData().then(()=>{this.createModalContent(),this.focusTitleInput()})}createModalContent(){let{contentEl:t}=this;t.empty();let n=t.createDiv("minimalist-modal-container");this.splitContentWrapper=n.createDiv("modal-split-content"),this.splitLeftColumn=this.splitContentWrapper.createDiv("modal-split-left"),this.createPrimaryInput(this.splitLeftColumn),this.createActionBar(this.splitLeftColumn),this.splitRightColumn=this.splitLeftColumn.createDiv("modal-split-right"),this.createDetailsSection(n),this.createAdditionalSections(this.splitLeftColumn),this.createActionButtons(n)}createPrimaryInput(t){this.createTitleInput(t)}createAdditionalSections(t){}createTitleInput(t){let n=t.createDiv("title-input-container");this.titleInput=this.createTitleTextarea(n,"title-input",this.t("modals.task.titlePlaceholder"))}createTitleTextarea(t,n,i){return Mke({container:t,className:n,placeholder:i,value:this.title,onChange:a=>{this.title=a},attachFocusScrollGuard:a=>{this.attachTitleFocusScrollGuard(a),this.attachMobileKeyboardScrollGuard(a,{scrollOnFocus:!1})}})}createActionBar(t){this.actionBar=t.createDiv("tn-task-modal__action-bar"),this.createCoreActionIcons(this.actionBar),this.updateIconStates()}createCoreActionIcons(t){return WTe(t,this.getCoreActionIconSpecs())}getCoreActionIconSpecs(){return[{iconName:"dot-square",tooltip:this.t("modals.task.actions.status"),onClick:(t,n)=>{this.showStatusContextMenu(n)},dataType:"status"},{iconName:"star",tooltip:this.t("modals.task.actions.priority"),onClick:(t,n)=>{this.showPriorityContextMenu(n)},dataType:"priority"},{iconName:"calendar",tooltip:this.t("modals.task.actions.due"),onClick:(t,n)=>{this.showDateContextMenu(n,"due")},dataType:"due-date"},{iconName:"calendar-clock",tooltip:this.t("modals.task.actions.scheduled"),onClick:(t,n)=>{this.showDateContextMenu(n,"scheduled")},dataType:"scheduled-date"},{iconName:"refresh-ccw",tooltip:this.t("modals.task.actions.recurrence"),onClick:(t,n)=>{this.showRecurrenceContextMenu(n)},dataType:"recurrence"},{iconName:"bell",tooltip:this.t("modals.task.actions.reminders"),onClick:(t,n)=>{this.showReminderContextMenu(n)},dataType:"reminders"}]}createActionIcon(t,n,i,a,s){return RV(t,{iconName:n,tooltip:i,onClick:a,dataType:s})}createDetailsSection(t){this.userFieldInputs.clear(),this.userFieldToggles.clear(),this.detailsContainer=this.splitLeftColumn?this.splitLeftColumn.createDiv("details-container"):t.createDiv("details-container"),this.isExpanded||FI({detailsContainer:this.detailsContainer,splitRightColumn:this.splitRightColumn});let n=this.plugin.settings.modalFieldsConfig,i=this.shouldShowField("title",n),a=this.shouldShowField("details",n);this.splitContentWrapper.classList.toggle("modal-split-content--right-empty",!a);let s=this.isEditMode(),o=this.isCreationMode()&&this.plugin.settings.enableNaturalLanguageInput;if(i&&(s||o)){let l=this.detailsContainer.createDiv("detail-label");l.textContent=this.t("modals.task.titleLabel");let c=this.createTitleTextarea(this.detailsContainer,"title-input-detailed",this.t("modals.task.titleDetailedPlaceholder"));(s||o)&&!this.titleInput&&(this.titleInput=c)}if(a){let l=this.splitRightColumn||this.detailsContainer;this.detailsMarkdownEditor=Zde({app:this.app,parent:l,label:this.t("modals.task.detailsLabel"),value:this.details,placeholder:this.t("modals.task.detailsPlaceholder"),file:this.getModalEditorFile(),tabMovesFocus:this.plugin.settings.taskModalTabMovesFocus,onChange:c=>{this.details=c},onSubmit:c=>{this.handleSubmitShortcut(c)},onEscape:()=>{this.close()},focusNextField:()=>this.focusNextField(),focusPreviousField:()=>this.focusPreviousField()})}this.createAdditionalFields(this.detailsContainer)}shouldShowField(t,n){return Ude(t,n,this.isCreationMode())}createAdditionalFields(t){let n=this.plugin.settings.modalFieldsConfig;if(!n){Vrt.error("TaskModal: modalFieldsConfig is not initialized. This should never happen.",{category:"configuration",operation:"taskmodal-modalfieldsconfig-not-initialized-this-should-never-happen"});return}this.createFieldsFromConfig(t,n)}createFieldsFromConfig(t,n){Vde({container:t,config:n,isCreationMode:this.isCreationMode(),fieldRenderers:this.getFieldRenderers(),renderUserField:(i,a)=>{this.createUserFieldByConfig(i,a)}})}createField(t,n){Yj({container:t,fieldConfig:n,fieldRenderers:this.getFieldRenderers(),renderUserField:(i,a)=>{this.createUserFieldByConfig(i,a)}})}getFieldRenderers(){return{contexts:t=>this.createContextsField(t),tags:t=>this.createTagsField(t),"time-estimate":t=>this.createTimeEstimateField(t),projects:t=>this.createProjectsField(t),subtasks:t=>this.createSubtasksField(t),"blocked-by":t=>this.createBlockedByField(t),blocking:t=>this.createBlockingField(t)}}createContextsField(t){this.contextsInput=NTe(this.getMetadataFieldContext(),{container:t,value:this.contexts,onChange:n=>{this.contexts=n}})}createTagsField(t){this.tagsInput=RTe(this.getMetadataFieldContext(),{container:t,value:this.tags,onChange:n=>{this.tags=n}})}createTimeEstimateField(t){this.timeEstimateInput=OTe(this.getMetadataFieldContext(),{container:t,value:this.timeEstimate,onChange:n=>{this.timeEstimate=n}})}getMetadataFieldContext(){return{app:this.app,plugin:this.plugin,translate:t=>this.t(t),attachMobileKeyboardScrollGuard:t=>{this.attachMobileKeyboardScrollGuard(t)}}}createProjectsField(t){this.projectsList=rme(this.getOrganizationFieldContext(),{container:t,onButtonClick:()=>{new yc(this.app,this.plugin,i=>{this.addProject(i)}).open()},listElement:this.projectsList}),this.renderOrganizationLists()}createSubtasksField(t){this.subtasksList=nme(this.getOrganizationFieldContext(),{container:t,onButtonClick:()=>{this.openSubtaskSelector()},listElement:this.subtasksList}),this.renderOrganizationLists()}getOrganizationFieldContext(){return{translate:t=>this.t(t)}}getUserFieldContext(){return{app:this.app,plugin:this.plugin,translate:(t,n)=>this.t(t,n),attachMobileKeyboardScrollGuard:t=>{this.attachMobileKeyboardScrollGuard(t)}}}createBlockedByField(t){this.blockedByList=ime(this.getOrganizationFieldContext(),{container:t,onButtonClick:()=>{this.openBlockedBySelector()},listElement:this.blockedByList}),this.renderDependencyLists()}createBlockingField(t){this.blockingList=ame(this.getOrganizationFieldContext(),{container:t,onButtonClick:()=>{this.openBlockingSelector()},listElement:this.blockingList}),this.renderDependencyLists()}createUserFieldByConfig(t,n){var a;let i=(a=this.plugin.settings.userFields)==null?void 0:a.find(s=>s.id===n.id);i&&UTe(this.getUserFieldContext(),{container:t,field:i,values:this.userFields,inputRefs:this.userFieldInputs,toggleRefs:this.userFieldToggles,onValueChange:(s,o)=>{this.userFields[s]=o}})}updateUserFieldControls(){var t;VTe({fields:((t=this.plugin.settings)==null?void 0:t.userFields)||[],values:this.userFields,inputRefs:this.userFieldInputs,toggleRefs:this.userFieldToggles})}createUserFields(t){var n;HTe(this.getUserFieldContext(),{container:t,fields:((n=this.plugin.settings)==null?void 0:n.userFields)||[],values:this.userFields,inputRefs:this.userFieldInputs,toggleRefs:this.userFieldToggles,onValueChange:(i,a)=>{this.userFields[i]=a}})}createActionButtons(t){let n=[];this.isEditMode()&&n.push({className:"tn-task-modal__open-note-button",text:this.t("modals.task.buttons.openNote"),onClick:()=>{this.openTaskNote()}}),DI(this.getActionButtonContext(),{container:t,leadingButtons:n,onSave:()=>this.handleSave(),onSaved:()=>{this.close()},onCancel:()=>{this.close()}})}getActionButtonContext(){return{translate:t=>this.t(t)}}expandModal(){this.isExpanded||(this.isExpanded=!0,Lke({containerEl:this.containerEl,detailsContainer:this.detailsContainer,splitRightColumn:this.splitRightColumn}))}showDateContextMenu(t,n){cke(this.getActionMenuContext(),n)}showStatusContextMenu(t){dke(this.getActionMenuContext(),t)}showPriorityContextMenu(t){uke(this.getActionMenuContext(),t)}showRecurrenceContextMenu(t){pke(this.getActionMenuContext(),t)}showReminderContextMenu(t){AI(this.getActionMenuContext(),t)}getActionMenuState(){return nke({title:this.title,status:this.status,priority:this.priority,dueDate:this.dueDate,scheduledDate:this.scheduledDate,recurrenceRule:this.recurrenceRule,recurrenceAnchor:this.recurrenceAnchor,reminders:this.reminders})}getActionMenuContext(){return ike({app:this.app,plugin:this.plugin,translate:(t,n)=>this.t(t,n),getState:()=>this.getActionMenuState(),setDueDate:t=>{this.dueDate=t},setScheduledDate:t=>{this.scheduledDate=t},setStatus:t=>{this.status=t},setPriority:t=>{this.priority=t},setRecurrenceRule:t=>{this.recurrenceRule=t},setRecurrenceAnchor:t=>{this.recurrenceAnchor=t},setReminders:t=>{this.reminders=t},onChange:()=>this.updateIconStates()})}updateDateIconState(){this.updateIconStates()}updateStatusIconState(){this.updateIconStates()}updatePriorityIconState(){this.updateIconStates()}updateRecurrenceIconState(){this.updateIconStates()}updateReminderIconState(){this.updateIconStates()}updateIconStates(){let t=this.getActionMenuState();KTe(this.actionBar,{translate:(n,i)=>this.t(n,i)},ake(t,{statusConfigs:this.plugin.settings.customStatuses||[],priorityConfigs:this.plugin.settings.customPriorities||[]}))}focusTitleInput(){this.focusGuards.focusTitleInput(this.titleInput)}getInitialFocusDelay(){return this.focusGuards.getInitialFocusDelay()}isMobileLikeEnvironment(){return this.focusGuards.isMobileLikeEnvironment()}attachTitleFocusScrollGuard(t){this.focusGuards.attachTitleFocusScrollGuard(t)}attachMobileKeyboardScrollGuard(t,n){this.focusGuards.attachMobileKeyboardScrollGuard(t,n)}addProject(t){if(t instanceof Wx.TFile){let n=II(t,this.buildProjectReference(t,this.getCurrentTaskPath()||""));if(LV(this.selectedProjectItems,n))return;this.selectedProjectItems.push(n)}this.updateProjectsFromFiles(),this.renderProjectsList()}removeProject(t){this.selectedProjectItems=gke(this.selectedProjectItems,t),this.updateProjectsFromFiles(),this.renderProjectsList()}updateProjectsFromFiles(){this.projects=yke(this.selectedProjectItems)}buildProjectReference(t,n){return js(this.app,t,n,"","",this.plugin.settings.useFrontmatterMarkdownLinks)}initializeProjectsFromStrings(t){this.selectedProjectItems=[],this.addProjectsFromStrings(t)}addProjectsFromStrings(t){this.selectedProjectItems=hke(this.selectedProjectItems,t,this.getProjectStringContext()),this.updateProjectsFromFiles()}getProjectStringContext(){return{sourcePath:this.getCurrentTaskPath()||"",getMarkdownFiles:()=>this.getMarkdownFiles(),resolveLink:(t,n)=>this.resolveLink(t,n)}}renderProjectsList(){vke({app:this.app,listEl:this.projectsList,items:this.selectedProjectItems,sourcePath:this.getCurrentTaskPath()||"",translate:(t,n)=>this.t(t,n),onRemove:t=>this.removeProject(t)})}async openSubtaskSelector(){await RI({plugin:this.plugin,getCandidates:t=>Tke(t,this.selectedSubtaskFiles,this.getCurrentTaskPath()),onSelect:t=>{let n=this.app.vault.getAbstractFileByPath(t.path);n&&this.addSubtask(n)},translate:t=>this.t(t),noEligibleTasksMessageKey:"modals.task.organization.notices.noEligibleSubtasks",openFailedMessageKey:"modals.task.organization.notices.subtaskSelectFailed",logOperation:"open-subtask-selector"})}addSubtask(t){let n=kke(this.selectedSubtaskFiles,t);n.length!==this.selectedSubtaskFiles.length&&(this.selectedSubtaskFiles=n,this.renderSubtasksList())}removeSubtask(t){this.selectedSubtaskFiles=wke(this.selectedSubtaskFiles,t),this.renderSubtasksList()}async renderSubtasksList(){await Ske({app:this.app,listEl:this.subtasksList,files:this.selectedSubtaskFiles,sourcePath:this.getCurrentTaskPath()||"",getCachedTaskInfo:t=>this.plugin.cacheManager.getCachedTaskInfo(t),createTaskCard:t=>Sr(t,this.plugin,void 0,{layout:"default",showSecondaryBadges:!1,enableHoverPreview:!1}),translate:(t,n)=>this.t(t,n),onRemove:t=>this.removeSubtask(t)})}renderOrganizationLists(){this.renderProjectsList(),this.renderSubtasksList()}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(){let t=this.contextsInput||this.tagsInput||this.timeEstimateInput;return t?(window.setTimeout(()=>{t.focus()},50),!0):!1}focusPreviousField(){return this.titleInput?(window.setTimeout(()=>{var t;(t=this.titleInput)==null||t.focus()},50),!0):!1}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null),this.focusGuards.destroy(),Jde(this.detailsMarkdownEditor),this.detailsMarkdownEditor=null,super.onClose()}}});var zI,zke=y(()=>{zI=class{constructor(e,t=[]){this.config=e,this.userFields=t,this.triggerMap=new Map,this.propertyMap=new Map,this.buildMaps()}buildMaps(){this.triggerMap.clear(),this.propertyMap.clear();for(let e of this.config.triggers)e.enabled&&(this.triggerMap.set(e.trigger,e),this.propertyMap.set(e.propertyId,e))}getTriggerForProperty(e){return this.propertyMap.get(e)}getPropertyForTrigger(e){var t;return(t=this.triggerMap.get(e))==null?void 0:t.propertyId}getAllEnabledTriggers(){return this.config.triggers.filter(e=>e.enabled)}getTriggersOrderedByLength(){return this.getAllEnabledTriggers().sort((e,t)=>t.trigger.length-e.trigger.length)}usesNativeTagSuggester(){let e=this.getTriggerForProperty("tags");return(e==null?void 0:e.trigger)==="#"&&(e==null?void 0:e.enabled)}getTagTrigger(){let e=this.getTriggerForProperty("tags");return e!=null&&e.enabled?e.trigger:void 0}getContextTrigger(){let e=this.getTriggerForProperty("contexts");return e!=null&&e.enabled?e.trigger:void 0}getProjectTrigger(){let e=this.getTriggerForProperty("projects");return e!=null&&e.enabled?e.trigger:void 0}getStatusTrigger(){let e=this.getTriggerForProperty("status");return e!=null&&e.enabled?e.trigger:void 0}getPriorityTrigger(){let e=this.getTriggerForProperty("priority");return e!=null&&e.enabled?e.trigger:void 0}getUserField(e){return this.userFields.find(t=>t.id===e)}isUserField(e){return this.userFields.some(t=>t.id===e)}getSuggesterType(e){if(e==="tags")return this.usesNativeTagSuggester()?"native-tag":"list";if(e==="contexts")return"list";if(e==="projects")return"file";if(e==="status")return"status";if(e==="priority")return"priority";let t=this.getUserField(e);if(t)switch(t.type){case"text":case"list":return t.autosuggestFilter?"file":"list";case"boolean":return"boolean";default:return"none"}return"none"}updateConfig(e){this.config=e,this.buildMaps()}updateUserFields(e){this.userFields=e}}});function Bke(r){let e=(0,Lc.autocompletion)({override:[Yrt(r)],activateOnTyping:!0,closeOnBlur:!0,maxRenderedOptions:10,addToOptions:[{render:(n,i,a)=>Grt(n,a.dom.ownerDocument),position:100}]}),t=zV.Prec.high(jke.keymap.of([{key:"ArrowDown",run:(0,Lc.moveCompletionSelection)(!0)},{key:"ArrowUp",run:(0,Lc.moveCompletionSelection)(!1)},{key:"Enter",run:Lc.acceptCompletion},{key:"Tab",run:Lc.acceptCompletion},{key:"Escape",run:Lc.closeCompletion}]));return[zV.Prec.high(e),t]}function Yrt(r){return async e=>{let t=new zI(r.settings.nlpTriggers,r.settings.userFields||[]),n=e.state.doc.lineAt(e.pos),i=n.text.slice(0,e.pos-n.from),a=(p,m)=>{if(p===-1)return!1;if(p===0)return!0;let f=m[p-1];return!/\w/.test(f)},s=t.getTriggersOrderedByLength(),o=[];for(let p of s){if(p.propertyId==="tags"&&p.trigger==="#")continue;let m=i.lastIndexOf(p.trigger);a(m,i)&&o.push({propertyId:p.propertyId,trigger:p.trigger,index:m,triggerLength:p.trigger.length})}if(o.length===0)return null;o.sort((p,m)=>m.index-p.index);let l=o[0],c=l.index+l.triggerLength,d=i.slice(c);if(l.propertyId==="projects"&&/^\[\[[^\]]*\]\]/.test(d)||l.propertyId!=="projects"&&(d.includes(" ")||d.includes(`
`)))return null;let u=await Krt(l.propertyId,d,r,t);return!u||u.length===0?null:{from:n.from+l.index+l.triggerLength,to:e.pos,options:u,validFor:/^[\w\s-]*$/}}}function Grt(r,e=activeDocument){let t=r;if(!t.projectMetadata)return null;let n=e.createElement("div");n.className="cm-project-suggestion__metadata";for(let i of t.projectMetadata){let a=e.createElement("div");a.className="cm-project-suggestion__meta",i.forEach((s,o)=>{o>0&&a.appendChild(e.createTextNode(" "));let l=e.createElement("span");l.className=s.kind==="value"?"cm-project-suggestion__meta-value":s.kind==="label"?"cm-project-suggestion__meta-label":"cm-project-suggestion__meta-literal",s.searchable&&l.classList.add("cm-project-suggestion__meta-searchable"),s.searchable&&t.projectQuery?Xrt(l,s.text,t.projectQuery):l.textContent=s.text,a.appendChild(l)}),n.appendChild(a)}return n}async function Krt(r,e,t,n){switch(n.getSuggesterType(r)){case"list":return Zrt(r,e,t);case"file":return Qrt(r,e,t,n);case"status":return ent(e,t);case"priority":return tnt(e,t);case"boolean":return rnt(e);case"native-tag":return null;default:return null}}function Zrt(r,e,t){let n=[],i=r;switch(r){case"tags":n=t.cacheManager.getAllTags(),i="Tag";break;case"contexts":n=t.cacheManager.getAllContexts(),i="Context";break;default:n=[],i=r;break}return n.filter(a=>a&&typeof a=="string").filter(a=>a.toLowerCase().includes(e.toLowerCase())).slice(0,10).map(a=>({label:a,apply:a+" ",type:"text",info:i}))}async function Qrt(r,e,t,n){var i,a,s;try{let o;if(r==="projects")o=t.settings.projectAutosuggest;else{let c=n.getUserField(r);o=c==null?void 0:c.autosuggestFilter}let l=await JB.suggest(t,e,20,o);if(r==="projects"){let c=new Rp({getFrontmatter:u=>u.frontmatter}),d=((s=(a=(i=t.settings)==null?void 0:i.projectAutosuggest)==null?void 0:a.rows)!=null?s:[]).slice(0,3);return l.map(u=>{var g;let p=u.displayText||u.insertText,m=u.insertText,f=t.app.vault.getMarkdownFiles().find(v=>v.basename===u.insertText),h=[];if(f&&d.length>0){let v=t.app.metadataCache.getFileCache(f),k=(v==null?void 0:v.frontmatter)||{},b=t.fieldMapper.mapFromFrontmatter(k,f.path,t.settings.storeTitleInFilename),w=typeof b.title=="string"?b.title:"",S=Array.isArray(k.aliases)?k.aliases.filter(C=>typeof C=="string"):[],x={basename:f.basename,name:f.name,path:f.path,parent:((g=f.parent)==null?void 0:g.path)||"",title:w,aliases:S,frontmatter:k};h=Jrt(d,x,c)}return{label:p,apply:`[[${m}]] `,type:"text",info:"Project",projectMetadata:h.length>0?h:void 0,projectQuery:e}})}return l.map(c=>{let d=c.displayText||c.insertText,u=c.insertText;return{label:d,apply:`[[${u}]] `,type:"text",info:r==="projects"?"Project":r}})}catch(o){return qrt.error(`Error getting file suggestions for ${r}:`,{category:"persistence",operation:"getting-file-suggestions",error:o}),[]}}function Jrt(r,e,t){var a;let n=[],i=Math.min(r.length,3);for(let s=0;s<i;s++){let o=r[s];if(o)try{let l=hc(o),c=[];for(let d of l){if(d.property.startsWith("literal:")){let p=d.property.slice(8);p&&c.push({text:p,searchable:!1,kind:"literal"});continue}let u=t.resolve(d.property,e);u&&(d.showName&&c.push({text:`${(a=d.displayName)!=null?a:d.property}:`,searchable:!1,kind:"label"}),c.push({text:u,searchable:d.searchable===!0||Wrt.has(d.property),kind:"value"}))}c.some(d=>d.text.trim().length>0)&&n.push(c)}catch(l){}}return n}function Xrt(r,e,t){let n=r.ownerDocument,i=t.toLowerCase().split(/\s+/).filter(Boolean);if(i.length===0){r.textContent=e;return}let a=e.toLowerCase(),s=[];for(let c of i){let d=a.indexOf(c);for(;d!==-1;)s.push({start:d,end:d+c.length}),d=a.indexOf(c,d+1)}s.sort((c,d)=>c.start-d.start);let o=[];for(let c of s){let d=o[o.length-1];(!d||c.start>=d.end)&&o.push(c)}if(o.length===0){r.textContent=e;return}let l=0;for(let c of o){c.start>l&&r.appendChild(n.createTextNode(e.slice(l,c.start)));let d=n.createElement("mark");d.textContent=e.slice(c.start,c.end),r.appendChild(d),l=c.end}l<e.length&&r.appendChild(n.createTextNode(e.slice(l)))}function ent(r,e){return Zn.fromPlugin(e).getStatusSuggestions(r,10).map(i=>({label:i.display,apply:i.value+" ",type:"text",info:"Status"}))}function tnt(r,e){return(e.settings.customPriorities||[]).filter(n=>n.label.toLowerCase().includes(r.toLowerCase())).slice(0,10).map(n=>({label:n.label,apply:n.value+" ",type:"text",info:"Priority"}))}function rnt(r){return["true","false"].filter(t=>t.toLowerCase().includes(r.toLowerCase())).map(t=>({label:t,apply:t+" ",type:"text",info:"Boolean"}))}var Lc,zV,jke,qrt,Wrt,Uke=y(()=>{Lc=require("@codemirror/autocomplete"),zV=require("@codemirror/state"),jke=require("@codemirror/view");wc();zke();nS();V_();tS();G();qrt=I({tag:"Editor/NLPCodeMirrorAutocomplete"}),Wrt=new Set(["title","aliases","file.basename"])});function Hke(r){let e=Ye(),t=r.contexts.split(",").map(l=>l.trim()).filter(l=>l.length>0),n=zs(r.projects),i=Ri(r.tags).split(",").map(l=>l.trim()).filter(l=>l.length>0);r.taskIdentificationMethod==="tag"&&r.taskTag&&!i.includes(r.taskTag)&&i.push(r.taskTag);let a={title:r.title.trim(),due:r.dueDate||void 0,scheduled:r.scheduledDate||void 0,priority:r.priority,status:r.status,contexts:t.length>0?t:void 0,projects:n.length>0?n:void 0,tags:i.length>0?i:void 0,timeEstimate:r.timeEstimate>0?r.timeEstimate:void 0,recurrence:r.recurrenceRule||void 0,recurrence_anchor:r.recurrenceRule?r.recurrenceAnchor:void 0,reminders:r.reminders.length>0?r.reminders:void 0,creationContext:r.creationContext||"manual-creation",dateCreated:e,dateModified:e,customFrontmatter:jTe(r.userFields)},s=r.blockedByItems.map(l=>({...l.dependency}));s.length>0&&(a.blockedBy=s);let o=r.normalizeDetails(r.details).trimEnd();return o.length>0&&(a.details=o),a}function Vke(r){let e=[],t={},n=[];return r.forEach(i=>{i.path?e.includes(i.path)||(e.push(i.path),t[i.path]={...i.dependency}):n.push(i.dependency.uid)}),{added:e,raw:t,unresolved:n}}var qke=y(()=>{Ne();Ct();Op();CI()});var Gke={};et(Gke,{convertDefaultRemindersToReminders:()=>Yx,hasAnyUserFieldsEnabled:()=>Wke,isUserFieldConfigComplete:()=>Yke,isUserFieldEnabled:()=>nnt});function Yx(r,e){return r.map(t=>{let n={id:`rem_${Date.now()}_${Math.random().toString(36).slice(2,11)}`,type:t.type,description:t.description};if(t.type==="relative"){if(t.relatedTo&&t.offset!==void 0&&t.unit&&t.direction){let i="PT";t.unit==="days"?i=`P${t.offset}D`:t.unit==="hours"?i=`PT${t.offset}H`:i=`PT${t.offset}M`,t.direction==="before"&&(i="-"+i),n.relatedTo=t.relatedTo,n.offset=i}}else t.type==="absolute"&&t.absoluteDate&&t.absoluteTime&&(n.absoluteTime=`${t.absoluteDate}T${t.absoluteTime}:00`);return n}).filter(t=>t.type==="relative"?t.relatedTo&&t.offset:!!t.absoluteTime)}function Wke(r){let e=r.userFields;return!e||e.length===0?!1:e.some(t=>!!(t&&t.displayName&&t.key&&t.type))}function Yke(r){return!r||!r.enabled?!1:!!(r.displayName&&r.key&&r.type)}function nnt(r){return r.userFields&&r.userFields.length>0?Wke(r):Yke(r.userField)}var jI=y(()=>{});function Kke(r){let e=r.taskCreationDefaults,t={title:"",dueDate:Ip(e.defaultDueDate,e.defaultDueTime),scheduledDate:Ip(e.defaultScheduledDate,e.defaultScheduledTime),priority:r.defaultPriority,status:r.defaultStatus,contexts:e.defaultContexts||"",tags:e.defaultTags||"",projectStrings:e.defaultProjects?zs(e.defaultProjects):[],timeEstimate:e.defaultTimeEstimate&&e.defaultTimeEstimate>0?e.defaultTimeEstimate:0,recurrenceRule:"",recurrenceAnchor:"scheduled",reminders:e.defaultReminders&&e.defaultReminders.length>0?Yx(e.defaultReminders):[],userFields:int(r.userFields||[])};return r.prePopulatedValues&&snt(t,r.prePopulatedValues,r.taskTag),t}function int(r){let e={};for(let t of r)if(t.defaultValue!==void 0){if(t.type==="date"&&typeof t.defaultValue=="string"){let n=ant(t.defaultValue);n&&(e[t.key]=n);continue}e[t.key]=t.defaultValue}return e}function ant(r){return r!=="none"&&r!=="today"&&r!=="tomorrow"&&r!=="next-week"?"":eS(r)}function snt(r,e,t){if(e.title!==void 0&&(r.title=e.title),e.due!==void 0&&(r.dueDate=e.due),e.scheduled!==void 0&&(r.scheduledDate=e.scheduled),e.priority!==void 0&&(r.priority=e.priority),e.status!==void 0&&(r.status=e.status),e.contexts!==void 0&&(r.contexts=e.contexts.join(", ")),e.projects!==void 0&&(r.projectStrings=e.projects.filter(n=>n&&typeof n=="string"&&n.trim()!=="")),e.tags!==void 0&&(r.tags=Ri(e.tags.filter(n=>n!==t).join(", "))),e.timeEstimate!==void 0&&(r.timeEstimate=e.timeEstimate),e.recurrence!==void 0&&typeof e.recurrence=="string"&&(r.recurrenceRule=e.recurrence),e.recurrence_anchor!==void 0&&(r.recurrenceAnchor=e.recurrence_anchor),e.customFrontmatter)for(let[n,i]of Object.entries(e.customFrontmatter))r.userFields[n]=i}var Zke=y(()=>{Ct();jI();Op()});async function Qke(r){var t;let e={updated:0,missing:0,skipped:0,failed:0};if(!r.currentTaskFile)return e;for(let n of r.subtaskFiles)try{let i=await r.getTaskInfo(n.path);if(!i){e.missing+=1;continue}let a=r.buildProjectReference(r.currentTaskFile,n.path),s=jV(i.projects,a,ont(r.currentTaskFile));if(!s){e.skipped+=1;continue}await r.updateTaskProjects(i,s),e.updated+=1}catch(i){e.failed+=1,(t=r.onError)==null||t.call(r,i,n)}return e}function jV(r,e,t){let i=(Array.isArray(r)?r:[]).filter(a=>typeof a=="string");return i.includes(e)||i.includes(t)?null:[...i,e]}function ont(r){return`[[${r.basename}]]`}var BV=y(()=>{});function Jke(r){return r.replace(/\\/g,"/").replace(/\/+/g,"/").replace(/^\/+/,"")}function Xke(r,e){if(!r||!e)throw new Error("Invalid context or settings provided");if(!r.title||typeof r.title!="string")throw new Error("Context must have a valid title");if(r.title.trim().length===0)throw new Error("Title cannot be empty");let t=r.date||new Date;if(!(t instanceof Date)||isNaN(t.getTime()))throw new Error("Invalid date provided in context");try{let n=e.icsIntegration;if(n)switch(n.icsNoteFilenameFormat){case"title":return en(r.title);case"zettel":return Uh(t);case"timestamp":return twe(t);case"custom":{let i={icsEventTitle:r.icsEventTitle?en(r.icsEventTitle):en(r.title),icsEventLocation:r.icsEventLocation?en(r.icsEventLocation):"",icsEventDescription:r.icsEventDescription?en(r.icsEventDescription.substring(0,50)):"",icsEventTitleWithDate:en(`${r.icsEventTitle||r.title} - ${P(t,"PPP")}`)};return nwe(r,n.customICSNoteFilenameTemplate,t,i)}default:return en(r.title)}return en(r.title)}catch(n){return wb.error("Error generating ICS note filename:",{category:"provider",operation:"generating-ics-note-filename",error:n}),en(r.title)}}function ewe(r,e){if(!r||!e)throw new Error("Invalid context or settings provided");if(!r.title||typeof r.title!="string")throw new Error("Context must have a valid title");if(r.title.trim().length===0)throw new Error("Title cannot be empty");let t=r.date||new Date;if(!(t instanceof Date)||isNaN(t.getTime()))throw new Error("Invalid date provided in context");if(e.storeTitleInFilename)return en(r.title);try{switch(e.taskFilenameFormat){case"title":return en(r.title);case"zettel":return Uh(t);case"timestamp":return twe(t);case"uuid":return rwe();case"custom":return nwe(r,e.customFilenameTemplate,t);default:return Uh(t)}}catch(n){return wb.error("Error generating filename:",{category:"persistence",operation:"generating-filename",error:n}),Uh(t)}}function BI(r,e,t){if(!r.storeTitleInFilename&&r.taskFilenameFormat!=="title")return!1;let n=en(e);return t.startsWith("task-")&&t!==n}function Uh(r){let e=P(r,"yyMMdd"),t=new Date(r);t.setHours(0,0,0,0);let i=Math.floor((r.getTime()-t.getTime())/1e3).toString(36);return`${e}${i}`}function twe(r){return P(r,"yyyy-MM-dd-HHmmss")}function rwe(){let r=typeof window!="undefined"?window.crypto:void 0;if(typeof(r==null?void 0:r.randomUUID)=="function")return r.randomUUID();let e=new Uint8Array(16);if(typeof(r==null?void 0:r.getRandomValues)=="function")r.getRandomValues(e);else for(let n=0;n<e.length;n++)e[n]=Math.floor(Math.random()*256);e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e,n=>n.toString(16).padStart(2,"0"));return`${t.slice(0,4).join("")}-${t.slice(4,6).join("")}-${t.slice(6,8).join("")}-${t.slice(8,10).join("")}-${t.slice(10,16).join("")}`}function lnt(r){return Array.isArray(r)?r.map(e=>kl(e).trim()).filter(e=>e.length>0).map(e=>en(e)):[]}function cnt(r){return r?r.replace(/[^a-zA-Z0-9]/g,"").substring(0,4).toUpperCase():""}function nwe(r,e,t,n){var i;if(!r||!e||!t)throw new Error("Invalid inputs for custom filename generation");if(typeof e!="string"||e.trim().length===0)throw new Error("Template must be a non-empty string");if(!(t instanceof Date)||isNaN(t.getTime()))throw new Error("Invalid date for filename generation");try{let a=en(r.title),s=r.priority&&["low","normal","medium","high"].includes(r.priority)?r.priority:"normal",o=r.status?en(r.status):"open",l=Array.isArray(r.contexts)?r.contexts:[],c=lnt(r.projects),d=Array.isArray(r.tags)?r.tags:[],u={title:a,date:P(t,"yyyy-MM-dd"),time:P(t,"HHmmss"),priority:s,status:o,timestamp:P(t,"yyyy-MM-dd-HHmmss"),dateTime:P(t,"yyyy-MM-dd-HHmm"),year:P(t,"yyyy"),month:P(t,"MM"),day:P(t,"dd"),hour:P(t,"HH"),minute:P(t,"mm"),second:P(t,"ss"),dueDate:r.dueDate||"",scheduledDate:r.scheduledDate||"",context:l[0]?en(l[0]):"",contexts:l.map(m=>en(m)).join("/"),project:c[0]||"",projects:c.join("/"),projectId:cnt(c[0]),tags:d.map(m=>en(m)).join(", "),hashtags:d.map(m=>`#${en(m)}`).join(" "),timeEstimate:((i=r.timeEstimate)==null?void 0:i.toString())||"",details:r.details?en(r.details.substring(0,50)):"",parentNote:r.parentNote?en(r.parentNote):"",shortDate:P(t,"yyMMdd"),shortYear:P(t,"yy"),monthName:P(t,"MMMM"),monthNameShort:P(t,"MMM"),dayName:P(t,"EEEE"),dayNameShort:P(t,"EEE"),week:P(t,"ww"),quarter:P(t,"q"),time12:P(t,"hh:mm a"),time24:P(t,"HH:mm"),hourPadded:P(t,"HH"),hour12:P(t,"hh"),ampm:P(t,"a"),unix:Math.floor(t.getTime()/1e3).toString(),unixMs:t.getTime().toString(),milliseconds:P(t,"SSS"),ms:P(t,"SSS"),timezone:P(t,"xxx"),timezoneShort:P(t,"xx"),utcOffset:P(t,"xxx"),utcOffsetShort:P(t,"xx"),utcZ:"Z",priorityShort:s.substring(0,1).toUpperCase(),statusShort:o.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,(m,f)=>f===0?m.toLowerCase():m.toUpperCase()).replace(/\s+/g,""),titlePascal:a.replace(/(?:^\w|[A-Z]|\b\w)/g,m=>m.toUpperCase()).replace(/\s+/g,""),zettel:Uh(t),uuid:rwe(),nano:Date.now().toString()+Math.random().toString(36).substring(2,7),...n||{}},p=e;if(e.length>500)throw new Error("Template too long");return Object.entries(u).forEach(([m,f])=>{try{let h=new RegExp(`\\{\\{${m}\\}\\}`,"g");p=p.replace(h,f);let g=new RegExp(`\\{${m}\\}`,"g");p=p.replace(g,f)}catch(h){wb.warn(`Error replacing template variable ${m}:`,{category:"persistence",operation:"replacing-template-variable",error:h})}}),p=p.replace(/\{\{[^}]+\}\}/g,""),p=p.replace(/\{[^}]+\}/g,""),p.trim()||(p=a||Uh(t)),en(p)}catch(a){return wb.error("Error generating custom filename:",{category:"persistence",operation:"generating-custom-filename",error:a}),en(r.title)||Uh(t)}}function en(r){if(!r||typeof r!="string")return"untitled";try{let e=r.trim().replace(/\s+/g," ").replace(/[<>:"/\\|?*#[\]]/g,"").replace(/./g,n=>{let i=n.charCodeAt(0);return i<=31||i>=127&&i<=159?"":n}).replace(/^\.+|\.+$/g,"").trim();return(!e||e.length===0)&&(e="untitled"),["CON","PRN","AUX","NUL","COM1","COM2","COM3","COM4","COM5","COM6","COM7","COM8","COM9","LPT1","LPT2","LPT3","LPT4","LPT5","LPT6","LPT7","LPT8","LPT9"].includes(e.toUpperCase())&&(e=`task-${e}`),e}catch(e){return wb.error("Error sanitizing filename:",{category:"persistence",operation:"sanitizing-filename",error:e}),"untitled"}}async function Sb(r,e,t){if(!r||typeof r!="string")throw new Error("Base filename must be a non-empty string");if(typeof e!="string")throw new Error("Folder path must be a string");if(!t)throw new Error("Vault must be provided");let n=en(r);if(!n)throw new Error("Base filename cannot be sanitized to a valid name");let i=e.replace(/\.\./g,"").trim();try{let a=Jke(`${i}/${n}.md`);if(a.length>260)throw new Error("Generated path too long");if(!t.getAbstractFileByPath(a))return n;for(let l=2;l<=999;l++){let c=`${n}-${l}`,d=Jke(`${i}/${c}.md`);if(d.length>260)break;if(!t.getAbstractFileByPath(d))return c}let s=Date.now().toString(36),o=`${n.substring(0,50)}-${s}`;return en(o)}catch(a){return wb.error("Error generating unique filename:",{category:"persistence",operation:"generating-unique-filename",error:a}),`task-${Date.now().toString(36)}`}}var wb,Eb=y(()=>{Br();jn();G();wb=I({tag:"Utils/FilenameGenerator"})});var lwe={};et(lwe,{TaskCreationModal:()=>am,getTaskCreationFailureNoticeMessage:()=>awe,openCreatedTaskFileAfterSave:()=>owe,shouldOpenCreatedTaskAfterSave:()=>swe});function awe(r){let e=r instanceof Error&&r.message?r.message:String(r);return e.startsWith(iwe)?e.slice(iwe.length):e}function swe(r,e,t){return(r==="same-tab"||r==="new-tab")&&!e.createAnother&&!t}async function owe(r,e,t){await(t==="new-tab"?r.workspace.getLeaf("tab"):r.workspace.getLeaf(!1)).openFile(e)}function dnt(r,e,t){let n=(Jj(),WM(Qj));return new n.EmbeddableMarkdownEditor(r,e,t)}var Js,UI,iwe,am,HI=y(()=>{Js=require("obsidian");$V();Ct();wc();Ne();Uke();qke();Zke();BV();iV();Eb();eB();FV();G();UI=I({tag:"Modals/TaskCreationModal"}),iwe="Failed to create task: ";am=class r extends kb{constructor(t,n,i={}){super(t,n);this.nlMarkdownEditor=null;this.nlpSuggest=null;this.eventListeners=[];this.options=i,this.nlParser=Zn.fromPlugin(n)}getModalTitle(){return this.t("modals.taskCreation.title")}isCreationMode(){return!0}addTrackedEventListener(t,n,i){t.addEventListener(n,i),this.eventListeners.push({element:t,event:n,handler:i})}removeAllEventListeners(){for(let{element:t,event:n,handler:i}of this.eventListeners)t.removeEventListener(n,i);this.eventListeners=[]}createPrimaryInput(t){this.plugin.settings.enableNaturalLanguageInput?this.createNaturalLanguageInput(t):(this.createTitleInput(t),this.isExpanded=!0,this.containerEl.addClass("expanded"))}createAdditionalSections(t){(this.options.prePopulatedValues&&this.options.prePopulatedValues.projects||this.selectedProjectItems.length>0)&&this.renderProjectsList()}createNaturalLanguageInput(t){let n=t.createDiv("nl-input-container"),i=n.createDiv("tn-task-modal__markdown-editor tn-task-modal__markdown-editor--nlp");i.setAttribute("role","textbox"),i.setAttribute("aria-label",this.t("modals.taskCreation.nlPlaceholder")),i.setAttribute("aria-multiline","true"),this.nlPreviewContainer=n.createDiv("nl-preview-container"),this.nlPreviewContainer.setAttribute("role","status"),this.nlPreviewContainer.setAttribute("aria-live","polite"),this.nlPreviewContainer.setAttribute("aria-label","Task preview");try{let a=Bke(this.plugin);this.nlMarkdownEditor=dnt(this.app,i,{value:"",placeholder:this.t("modals.taskCreation.nlPlaceholder"),cls:"nlp-editor",extensions:a,enterVimInsertMode:!0,onChange:s=>{s.trim()?this.updateNaturalLanguagePreview(s.trim()):this.clearNaturalLanguagePreview()},onSubmit:(s,o)=>{this.handleSubmitShortcut(o)},onEscape:()=>{this.close()},onTab:s=>s?!1:(this.isExpanded||this.expandModal(),window.setTimeout(()=>{let o=this.modalEl.querySelector(".title-input-detailed");o&&o.focus()},50),!0),onEnter:(s,o,l)=>!!o})}catch(a){UI.error("Failed to create NLP markdown editor:",{category:"persistence",operation:"create-nlp-markdown-editor",error:a}),this.nlInput=i.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.handleSubmitShortcut(d.shiftKey)):d.key==="Tab"&&d.shiftKey&&(d.preventDefault(),this.parseAndFillForm(c))};this.addTrackedEventListener(this.nlInput,"keydown",o),this.nlpSuggest=new lb(this.app,this.nlInput,this.plugin)}}focusTitleInput(){if(!this.plugin.settings.enableNaturalLanguageInput){super.focusTitleInput();return}window.setTimeout(()=>{var n,i;let t=(i=(n=this.nlMarkdownEditor)==null?void 0:n.editor)==null?void 0:i.cm;if(t){t.focus(),t.scrollDOM.scrollTop=0;return}this.nlInput&&(this.nlInput.focus({preventScroll:!0}),this.nlInput.select())},this.getInitialFocusDelay())}updateNaturalLanguagePreview(t){if(!this.nlPreviewContainer)return;let n=this.nlParser.parseInput(t),i=this.nlParser.getPreviewData(n);i.length>0&&n.title?(this.nlPreviewContainer.empty(),this.nlPreviewContainer.classList.add("nl-preview-container--visible"),this.nlPreviewContainer.classList.remove("tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),i.forEach(a=>{let s=this.nlPreviewContainer.createDiv("nl-preview-item");s.textContent=a.text})):this.clearNaturalLanguagePreview()}clearNaturalLanguagePreview(){this.nlPreviewContainer&&(this.nlPreviewContainer.empty(),this.nlPreviewContainer.classList.remove("nl-preview-container--visible"),this.nlPreviewContainer.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"))}getNLPInputValue(){return this.nlMarkdownEditor?this.nlMarkdownEditor.value:this.nlInput?this.nlInput.value:""}createActionBar(t){if(this.actionBar=t.createDiv("tn-task-modal__action-bar"),this.plugin.settings.enableNaturalLanguageInput){this.createActionIcon(this.actionBar,"wand",this.t("modals.taskCreation.actions.fillFromNaturalLanguage"),(i,a)=>{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"),(i,a)=>{this.toggleDetailedForm();let s=i.querySelector(".icon");s&&(0,Js.setIcon)(s,this.isExpanded?"chevron-up":"chevron-down"),(0,Js.setTooltip)(i,this.isExpanded?this.t("modals.taskCreation.actions.hideDetailedOptions"):this.t("modals.taskCreation.actions.showDetailedOptions"),{placement:"top"})});let n=this.actionBar.createDiv("action-separator");n.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),n.classList.add("tn-static-width-1px-aa77e27e"),n.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-min-height-800px-997b4c8c"),n.classList.add("tn-static-height-24px-29a11d37"),n.classList.remove("tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-color-red-134bc721","tn-static-background-color-var-text-accent-a954c70f"),n.classList.add("tn-static-background-color-var-background-mo-94b219f0"),n.classList.remove("tn-static-margin-0-11696618","tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),n.classList.add("tn-static-margin-0-var-size-4-2-77f7dc08")}this.createCoreActionIcons(this.actionBar),this.updateIconStates()}parseAndFillForm(t){let n=this.nlParser.parseInput(t);this.applyParsedData(n),this.isExpanded||this.expandModal()}applyParsedData(t){var n;if(t.title&&(this.title=t.title),t.status&&(this.status=t.status),t.priority&&(this.priority=t.priority),t.dueDate&&(this.dueDate=t.dueTime?Ni(t.dueDate,t.dueTime):t.dueDate),t.scheduledDate&&(this.scheduledDate=t.scheduledTime?Ni(t.scheduledDate,t.scheduledTime):t.scheduledDate),t.contexts&&t.contexts.length>0&&(this.contexts=t.contexts.join(", ")),t.tags&&t.tags.length>0&&(this.tags=Ri(t.tags.join(", "))),t.details&&(this.details=t.details),t.recurrence&&(this.recurrenceRule=t.recurrence),t.estimate!==void 0&&(this.timeEstimate=t.estimate>0?t.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),Qde(this.detailsMarkdownEditor,this.details),this.contextsInput&&(this.contextsInput.value=this.contexts),this.tagsInput&&(this.tagsInput.value=this.tags),t.projects&&t.projects.length>0&&(this.addProjectsFromStrings(t.projects),this.renderProjectsList()),t.userFields){for(let[i,a]of Object.entries(t.userFields)){let s=(n=this.plugin.settings.userFields)==null?void 0:n.find(o=>o.id===i);s&&(this.userFields[s.key]=a)}this.updateUserFieldControls()}this.updateIconStates()}toggleDetailedForm(){this.isExpanded?(this.isExpanded=!1,FI({detailsContainer:this.detailsContainer,splitRightColumn:this.splitRightColumn}),this.containerEl.removeClass("expanded")):this.expandModal()}async initializeFormData(){let t=Kke({defaultPriority:this.plugin.settings.defaultTaskPriority,defaultStatus:this.plugin.settings.defaultTaskStatus,taskCreationDefaults:this.plugin.settings.taskCreationDefaults,taskTag:this.plugin.settings.taskTag,userFields:this.plugin.settings.userFields,prePopulatedValues:this.options.prePopulatedValues});this.title=t.title,this.dueDate=t.dueDate,this.scheduledDate=t.scheduledDate,this.priority=t.priority,this.status=t.status,this.contexts=t.contexts,this.tags=t.tags,this.timeEstimate=t.timeEstimate,this.recurrenceRule=t.recurrenceRule,this.recurrenceAnchor=t.recurrenceAnchor,this.reminders=t.reminders,this.userFields=t.userFields,t.projectStrings.length>0&&this.initializeProjectsFromStrings(t.projectStrings),this.details=this.normalizeDetails(this.details),this.originalDetails=this.details}async handleSubmitShortcut(t){await this.handleSave({createAnother:t})}async handleSave(t={}){if(this.plugin.settings.enableNaturalLanguageInput){let n=this.getNLPInputValue().trim();if(n&&!this.title.trim()){let i=this.nlParser.parseInput(n);this.applyParsedData(i)}}if(!this.validateForm()){new Js.Notice(this.t("modals.taskCreation.notices.titleRequired"));return}try{let n=this.buildTaskData(),i=await this.plugin.taskService.createTask(n,{applyDefaults:!1}),a=i.taskInfo;if(BI(this.plugin.settings,i.taskInfo.title,i.file.basename)?new Js.Notice(this.t("modals.taskCreation.notices.successShortened",{title:a.title})):new Js.Notice(this.t("modals.taskCreation.notices.success",{title:a.title})),this.blockingItems.length>0){let s=Vke(this.blockingItems);if(s.added.length>0){await this.plugin.taskService.updateBlockingRelationships(a,s.added,[],s.raw);let o=await this.plugin.cacheManager.getTaskInfo(a.path);o&&(a=o)}s.unresolved.length>0&&new Js.Notice(this.t("modals.taskCreation.notices.blockingUnresolved",{entries:s.unresolved.join(", ")})),this.blockingItems=[]}this.selectedSubtaskFiles.length>0&&await this.applySubtaskAssignments(a),this.options.onTaskCreated&&this.options.onTaskCreated(a),await this.openCreatedTaskIfConfigured(i.file,t),this.close(),t.createAnother&&window.setTimeout(()=>{new r(this.app,this.plugin,this.options).open()},0)}catch(n){UI.error("Failed to create task:",{category:"persistence",operation:"create-task",error:n});let i=awe(n);new Js.Notice(this.t("modals.taskCreation.notices.failure",{message:i}))}}async openCreatedTaskIfConfigured(t,n){var a;let i=(a=this.plugin.settings.openTaskAfterCreation)!=null?a:"none";if(swe(i,n,!!this.options.onTaskCreated))try{await owe(this.app,t,i)}catch(s){UI.error("Failed to open created task note:",{category:"persistence",operation:"open-created-task-note",error:s}),new Js.Notice(this.t("modals.taskCreation.notices.openCreatedTaskFailure"))}}buildTaskData(){var i;let t=Hke({title:this.title,dueDate:this.dueDate,scheduledDate:this.scheduledDate,priority:this.priority,status:this.status,contexts:this.contexts,projects:this.projects,tags:this.tags,timeEstimate:this.timeEstimate,recurrenceRule:this.recurrenceRule,recurrenceAnchor:this.recurrenceAnchor,reminders:this.reminders,blockedByItems:this.blockedByItems,details:this.details,userFields:this.userFields,creationContext:this.options.creationContext,taskIdentificationMethod:this.plugin.settings.taskIdentificationMethod,taskTag:this.plugin.settings.taskTag,normalizeDetails:a=>this.normalizeDetails(a)}),n=(i=this.options.prePopulatedValues)==null?void 0:i.customFrontmatter;return n&&(t.customFrontmatter={...n,...t.customFrontmatter}),t}createTitleInput(t){this.plugin.settings.enableNaturalLanguageInput||super.createTitleInput(t)}async applySubtaskAssignments(t){let n=this.app.vault.getAbstractFileByPath(t.path);n instanceof Js.TFile&&await Qke({currentTaskFile:n,subtaskFiles:this.selectedSubtaskFiles,getTaskInfo:i=>this.plugin.cacheManager.getTaskInfo(i),buildProjectReference:(i,a)=>this.buildProjectReference(i,a),updateTaskProjects:(i,a)=>this.plugin.updateTaskProperty(i,"projects",a),onError:i=>{UI.error("Failed to assign subtask:",{category:"persistence",operation:"assign-subtask",error:i})}})}onClose(){this.nlMarkdownEditor&&(this.nlMarkdownEditor.destroy(),this.nlMarkdownEditor=null),this.nlpSuggest&&(this.nlpSuggest.close(),this.nlpSuggest=null),this.removeAllEventListeners(),super.onClose()}}});var xb,WI,HV=y(()=>{xb=class{constructor(){this.inFlightRequests=new Map;this.prefetchQueue=new Set;this.prefetchPromises=new Map;this.activeTimeouts=new Set}async execute(e,t,n=5e3){if(this.inFlightRequests.has(e))return this.inFlightRequests.get(e);let i=this.createRequest(e,t,n);return this.inFlightRequests.set(e,i),i}async createRequest(e,t,n){try{let i=await t(),a=window.setTimeout(()=>{this.inFlightRequests.delete(e),this.activeTimeouts.delete(a)},n);return this.activeTimeouts.add(a),i}catch(i){throw this.inFlightRequests.delete(e),i}}prefetch(e,t,n="low"){if(!(this.inFlightRequests.has(e)||this.prefetchPromises.has(e)))if(n==="high")this.executePrefetch(e,t);else if(this.prefetchQueue.add(e),"requestIdleCallback"in window)requestIdleCallback(()=>{this.processPrefetchQueue(e,t)});else{let a=window.setTimeout(()=>{this.processPrefetchQueue(e,t),this.activeTimeouts.delete(a)},50);this.activeTimeouts.add(a)}}async executePrefetch(e,t){try{let n=t();this.prefetchPromises.set(e,n),await n;let i=window.setTimeout(()=>{this.prefetchPromises.delete(e),this.activeTimeouts.delete(i)},3e4);this.activeTimeouts.add(i)}catch(n){this.prefetchPromises.delete(e)}}processPrefetchQueue(e,t){this.prefetchQueue.has(e)&&(this.prefetchQueue.delete(e),this.executePrefetch(e,t))}getPrefetchedData(e){return this.prefetchPromises.get(e)||null}cancel(e){this.inFlightRequests.delete(e),this.prefetchPromises.delete(e),this.prefetchQueue.delete(e)}cancelAll(){this.inFlightRequests.clear(),this.prefetchPromises.clear(),this.prefetchQueue.clear();for(let e of this.activeTimeouts)window.clearTimeout(e);this.activeTimeouts.clear()}getStats(){return{inFlightCount:this.inFlightRequests.size,prefetchCount:this.prefetchPromises.size,queuedCount:this.prefetchQueue.size}}},WI=class{constructor(e){this.lastAccessTime=new Map;this.deduplicator=e}recordAccess(e,t,n){let i=this.getDateKey(e);this.lastAccessTime.set(i,Date.now()),this.prefetchAdjacentDates(e,t,n)}prefetchAdjacentDates(e,t,n){this.getAdjacentDates(e).forEach(({date:a,priority:s})=>{let o=`${t}-${this.getDateKey(a)}`;this.deduplicator.prefetch(o,()=>n(a),s)})}getAdjacentDates(e){let t=[],n=new Date(e);n.setDate(e.getDate()-1),t.push({date:n,priority:"high"});let i=new Date(e);i.setDate(e.getDate()+1),t.push({date:i,priority:"high"});for(let a=2;a<=7;a++){let s=new Date(e);s.setDate(e.getDate()-a),t.push({date:s,priority:"low"});let o=new Date(e);o.setDate(e.getDate()+a),t.push({date:o,priority:"low"})}return t}getDateKey(e){return e.toISOString().split("T")[0]}cleanup(){let e=Date.now(),t=1440*60*1e3;for(let[n,i]of this.lastAccessTime)e-i>t&&this.lastAccessTime.delete(n)}}});var Cnt,Cb,YI,Awe=y(()=>{G();Cnt=I({tag:"Utils/DOMReconciler"}),Cb=class{constructor(){this.updateQueue=[];this.isProcessing=!1;this.activeTimeouts=new Set}scheduleUpdate(e){this.updateQueue.push(e),this.isProcessing||(this.isProcessing=!0,window.requestAnimationFrame(()=>{this.processUpdates()}))}processUpdates(){let e=[...this.updateQueue];this.updateQueue=[];try{e.forEach(t=>{try{t()}catch(n){Cnt.error("Error processing DOM update:",{category:"validation",operation:"processing-dom-update",error:n})}})}finally{this.isProcessing=!1,this.updateQueue.length>0&&window.requestAnimationFrame(()=>{this.processUpdates()})}}updateAttributes(e,t){for(let[n,i]of Object.entries(t))i===null?e.removeAttribute(n):e.getAttribute(n)!==i&&e.setAttribute(n,i)}updateClasses(e,t){for(let[n,i]of Object.entries(t))i?e.classList.add(n):e.classList.remove(n)}updateTextContent(e,t){e.textContent!==t&&(e.textContent=t)}updateStyles(e,t){for(let[n,i]of Object.entries(t))i===null?e.style.removeProperty(n):e.style.setProperty(n,i)}preserveState(e){let t={scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,focused:activeDocument.activeElement===e,selection:null};return(e.instanceOf(HTMLInputElement)||e.instanceOf(HTMLTextAreaElement))&&(t.selection={start:e.selectionStart||0,end:e.selectionEnd||0}),t}restoreState(e,t){e.scrollTop=t.scrollTop,e.scrollLeft=t.scrollLeft,t.focused&&e.focus(),t.selection&&(e.instanceOf(HTMLInputElement)||e.instanceOf(HTMLTextAreaElement))&&e.setSelectionRange(t.selection.start,t.selection.end)}animateUpdate(e,t,n=1500){e.classList.add(`task-${t}`);let i=window.setTimeout(()=>{e.classList.remove(`task-${t}`),this.activeTimeouts.delete(i)},n);this.activeTimeouts.add(i)}updateList(e,t,n,i,a){let s=new Map,o=new Set;Array.from(e.children).forEach(d=>{let u=d.dataset.key;u&&(s.set(u,d),o.add(u))});let l=new Set(t.map(n)),c=activeDocument.createDocumentFragment();t.forEach(d=>{let u=n(d),p=s.get(u);if(p)a&&a(p,d),c.appendChild(p);else{let m=i(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()}}),e.replaceChildren(c)}createOptimisticUpdate(e,t,n){return t(e),{commit:()=>{},revert:()=>{n(e)}}}destroy(){this.updateQueue=[],this.isProcessing=!1;for(let e of this.activeTimeouts)window.clearTimeout(e);this.activeTimeouts.clear()}},YI=class{constructor(){this.stateMap=new Map}saveState(e,t){let n=new Cb;this.stateMap.set(e,n.preserveState(t))}restoreState(e,t){let n=this.stateMap.get(e);n&&new Cb().restoreState(t,n)}clearState(e){e?this.stateMap.delete(e):this.stateMap.clear()}destroy(){this.stateMap.clear()}}});var Iwe=y(()=>{fB()});var Db,VV=y(()=>{zw();fc();Db=class r{constructor(e,t="open"){this.statuses=e;this.defaultStatus=t}normalizeStatusValue(e){var t;return(t=Wd(e,this.statuses))!=null?t:String(e)}findStatusIndex(e,t){let n=this.normalizeStatusValue(t);return e.findIndex(i=>this.normalizeStatusValue(i.value)===n)}getCycleStatuses(){return this.getStatusesByOrder().filter(e=>!e.excludeFromCycle)}getNextStatus(e){var l,c;let t=this.getStatusConfig(e),n=t?this.normalizeStatusValue(t.value):void 0,i=t!=null&&t.nextStatus?this.normalizeStatusValue(t.nextStatus):void 0,a=i&&i!==n?this.getStatusConfig(i):void 0;if(a)return a.value;let s=this.getCycleStatuses(),o=this.findStatusIndex(s,e);if(s.length===0)return(t==null?void 0:t.value)||this.defaultStatus;if(o!==-1){let d=(o+1)%s.length;return s[d].value}return t?((c=s.find(d=>d.order>t.order))==null?void 0:c.value)||s[0].value:((l=s[0])==null?void 0:l.value)||this.defaultStatus}getPreviousStatus(e){var a,s,o;let t=this.getCycleStatuses(),n=this.findStatusIndex(t,e);if(t.length===0)return((a=this.getStatusConfig(e))==null?void 0:a.value)||this.defaultStatus;if(n!==-1){let l=(n-1+t.length)%t.length;return t[l].value}let i=this.getStatusConfig(e);return i?((o=[...t].reverse().find(l=>l.order<i.order))==null?void 0:o.value)||t[t.length-1].value:((s=t[t.length-1])==null?void 0:s.value)||this.defaultStatus}getStatusConfig(e){let t=this.normalizeStatusValue(e);return this.statuses.find(n=>this.normalizeStatusValue(n.value)===t)}getCompletedStatuses(){return this.statuses.filter(e=>e.isCompleted).map(e=>e.value)}getOpenStatuses(){return this.statuses.filter(e=>!e.isCompleted).map(e=>e.value)}getStatusesByOrder(){return[...this.statuses].sort((e,t)=>e.order-t.order)}isCompletedStatus(e){let t=this.getStatusConfig(e);return(t==null?void 0:t.isCompleted)||!1}getStatusOrder(e){let t=this.getStatusConfig(e);return(t==null?void 0:t.order)||0}getStatusStyles(){let e=[];for(let t of this.statuses){let n=`--status-${t.value.replace(/[^a-zA-Z0-9-]/g,"-")}-color`;e.push(`${n}: ${_r(t.color)};`)}return`:root { ${e.join(" ")} }`}getAllStatuses(){return[...this.statuses]}getNonCompletionStatuses(){return this.statuses.filter(e=>!e.isCompleted)}updateStatuses(e){this.statuses=e}static validateStatuses(e){let t=[];e.length<2&&t.push("At least 2 statuses are required"),e.some(l=>l.isCompleted)||t.push("At least one status must be marked as completed");let i=e.map(l=>l.value),a=new Set(i);i.length!==a.size&&t.push("Status values must be unique");let s=e.map(l=>l.id),o=new Set(s);s.length!==o.size&&t.push("Status IDs must be unique");for(let l of e){if(!l.value||l.value.trim()===""){t.push("Status values cannot be empty");break}if(!l.label||l.label.trim()===""){t.push("Status labels cannot be empty");break}if(!$_(l.color)){t.push("Status colors must be valid CSS colors or Obsidian theme colors");break}}return{valid:t.length===0,errors:t}}static generateStatusId(e){let t=new Set(e.map(a=>a.id)),n=1,i=`status-${n}`;for(;t.has(i);)n++,i=`status-${n}`;return i}static createDefaultStatus(e){let t=r.generateStatusId(e),n=Math.max(...e.map(i=>i.order),0)+1;return{id:t,value:"new-status",label:"New status",color:"#808080",isCompleted:!1,excludeFromCycle:!1,order:n,autoArchive:!1,autoArchiveDelay:5}}}});var GI,Nwe=y(()=>{zw();fc();GI=class r{constructor(e){this.priorities=e}normalizePriorityValue(e){var t;return(t=Cp(e,this.priorities))!=null?t:String(e)}getPriorityConfig(e){let t=this.normalizePriorityValue(e);return this.priorities.find(n=>n.value===t)}getPrioritiesByWeight(){return[...this.priorities].sort((e,t)=>t.weight-e.weight)}getPrioritiesByWeightAsc(){return[...this.priorities].sort((e,t)=>e.weight-t.weight)}getNextPriority(e){var s;let t=this.getPrioritiesByWeightAsc(),n=this.normalizePriorityValue(e),i=t.findIndex(o=>o.value===n);if(i===-1)return((s=t[0])==null?void 0:s.value)||"normal";let a=(i+1)%t.length;return t[a].value}comparePriorities(e,t){let n=this.getPriorityConfig(e),i=this.getPriorityConfig(t),a=(n==null?void 0:n.weight)||0;return((i==null?void 0:i.weight)||0)-a}getPriorityStyles(){let e=[];for(let t of this.priorities){let n=`--priority-${t.value.replace(/[^a-zA-Z0-9-]/g,"-")}-color`;e.push(`${n}: ${_r(t.color)};`)}return`:root { ${e.join(" ")} }`}getAllPriorities(){return[...this.priorities]}updatePriorities(e){this.priorities=e}getHighestPriority(){var t;return(t=this.getPrioritiesByWeight()[0])==null?void 0:t.value}getLowestPriority(){var t;return(t=this.getPrioritiesByWeightAsc()[0])==null?void 0:t.value}getPriorityWeight(e){let t=this.getPriorityConfig(e);return(t==null?void 0:t.weight)||0}isHigherPriority(e,t){return this.comparePriorities(e,t)>0}static validatePriorities(e){let t=[];e.length<1&&t.push("At least 1 priority is required");let n=e.map(c=>c.value),i=new Set(n);n.length!==i.size&&t.push("Priority values must be unique");let a=e.map(c=>c.id),s=new Set(a);a.length!==s.size&&t.push("Priority IDs must be unique");let o=e.map(c=>c.weight),l=new Set(o);o.length!==l.size&&t.push("Priority weights must be unique");for(let c of e){if(!c.value||c.value.trim()===""){t.push("Priority values cannot be empty");break}if(!c.label||c.label.trim()===""){t.push("Priority labels cannot be empty");break}if(!$_(c.color)){t.push("Priority colors must be valid CSS colors or Obsidian theme colors");break}if(typeof c.weight!="number"||c.weight<0){t.push("Priority weights must be non-negative numbers");break}}return{valid:t.length===0,errors:t}}static generatePriorityId(e){let t=new Set(e.map(a=>a.id)),n=1,i=`priority-${n}`;for(;t.has(i);)n++,i=`priority-${n}`;return i}static generatePriorityWeight(e){let t=e.map(n=>n.weight);return t.length===0?1:Math.max(...t)+1}static createDefaultPriority(e){let t=r.generatePriorityId(e),n=r.generatePriorityWeight(e);return{id:t,value:"new-priority",label:"New priority",color:"#808080",weight:n}}}});function Rwe({path:r,mappedTask:e,defaultTaskStatus:t,isBlocked:n,blockingTasks:i}){let a=e.timeEntries?Aa(e.timeEntries):0;return{...e,id:r,path:r,title:e.title||"Untitled task",status:e.status||t,priority:e.priority||"normal",archived:e.archived||!1,tags:Array.isArray(e.tags)?e.tags:[],contexts:Array.isArray(e.contexts)?e.contexts:[],projects:Array.isArray(e.projects)?e.projects:[],totalTrackedTime:a,isBlocked:n,isBlocking:i.length>0,blocking:i.length>0?i:void 0}}var Owe=y(()=>{Ct()});function Dnt(r){return!!r&&typeof r=="object"&&!Array.isArray(r)}function Lwe(r,e){if(typeof r=="boolean"){let t=e.toLowerCase();if(t==="true"||t==="false")return r===(t==="true")}return r===e}function Fwe(r,e){if(!Dnt(r))return!1;if(e.taskIdentificationMethod==="property"){let n=e.taskPropertyName,i=e.taskPropertyValue;if(!n||!i)return!1;let a=r[n];return a===void 0?!1:Array.isArray(a)?a.some(s=>Lwe(s,i)):Lwe(a,i)}return dc(r.tags).some(n=>yr.matchesHierarchicalTagExact(n,e.taskTag))}var $we=y(()=>{cu();iv()});var Il,Hh,KI,zwe=y(()=>{Il=require("obsidian");Ur();zw();Ne();Nw();Owe();$we();G();Hh=I({tag:"Utils/TaskManager"}),KI=class extends Il.Events{constructor(t,n,i){super();this.initialized=!1;this.eventListeners=[];this.debouncedHandlers=new Map;this.DEBOUNCE_DELAY=300;this.pendingTaskInfoByPath=new Map;this.app=t,this.settings=n,this.taskTag=n.taskTag,this.excludedFolders=cc(n.excludedFolders),this.fieldMapper=i,this.disableNoteIndexing=n.disableNoteIndexing,this.storeTitleInFilename=n.storeTitleInFilename}initialize(){this.initialized||(this.setupNativeEventListeners(),this.initialized=!0,this.trigger("cache-initialized",{message:"Task manager ready"}))}getApp(){return this.app}isTaskFile(t){return Fwe(t,this.settings)}setupNativeEventListeners(){let t=this.app.metadataCache.on("changed",(a,s,o)=>{a instanceof Il.TFile&&a.extension==="md"&&this.isValidFile(a.path)&&this.handleFileChangedDebounced(a,o)});this.eventListeners.push(t);let n=this.app.metadataCache.on("deleted",(a,s)=>{a instanceof Il.TFile&&a.extension==="md"&&this.handleFileDeleted(a.path,s)});this.eventListeners.push(n);let i=this.app.vault.on("rename",(a,s)=>{a instanceof Il.TFile&&a.extension==="md"&&this.handleFileRenamed(a,s)});this.eventListeners.push(i)}handleFileChangedDebounced(t,n){let i=t.path,a=this.debouncedHandlers.get(i);a&&window.clearTimeout(a);let s=window.setTimeout(()=>{this.debouncedHandlers.delete(i),this.handleFileChanged(t,n)},this.DEBOUNCE_DELAY);this.debouncedHandlers.set(i,s)}async handleFileChanged(t,n){let i=null;if(n&&typeof n=="object"&&"frontmatter"in n){let a=n.frontmatter;if(a&&this.isTaskFile(a)){let s=this.extractTaskInfoFromNative(t.path,a),o=this.getPendingTaskInfo(t.path);o&&this.shouldUsePendingTaskInfo(o,s)?i=o:(this.pendingTaskInfoByPath.delete(t.path),i=s)}else this.pendingTaskInfoByPath.delete(t.path)}this.trigger("file-updated",{path:t.path,file:t,updatedTask:i}),i&&this.trigger(nt,{path:t.path,task:i,taskInfo:i,updatedTask:i}),this.trigger("data-changed")}handleFileDeleted(t,n){this.pendingTaskInfoByPath.delete(t);let i=this.debouncedHandlers.get(t);i&&(window.clearTimeout(i),this.debouncedHandlers.delete(t)),this.trigger("file-deleted",{path:t,prevCache:n}),this.trigger("data-changed")}handleFileRenamed(t,n){let i=this.pendingTaskInfoByPath.get(n);i&&(this.pendingTaskInfoByPath.delete(n),this.pendingTaskInfoByPath.set(t.path,{...i,id:t.path,path:t.path}));let a=this.debouncedHandlers.get(n);a&&(window.clearTimeout(a),this.debouncedHandlers.delete(n)),this.trigger("file-renamed",{oldPath:n,newPath:t.path,file:t}),this.trigger("data-changed")}isValidFile(t){return!rv(t,this.excludedFolders)}async getTaskInfo(t){if(!this.isValidFile(t))return null;let n=this.app.vault.getAbstractFileByPath(t);if(!(n instanceof Il.TFile))return null;let i=this.getPendingTaskInfo(t),a=this.app.metadataCache.getFileCache(n);if(!(a!=null&&a.frontmatter)){if(i)return i;let o=await this.readFrontmatterFromFile(n);return!o||!this.isTaskFile(o)?null:this.extractTaskInfoFromNative(t,o)}let s=this.isTaskFile(a.frontmatter)?this.extractTaskInfoFromNative(t,a.frontmatter):null;return i&&this.shouldUsePendingTaskInfo(i,s)?i:(this.pendingTaskInfoByPath.delete(t),s)}getPendingTaskInfo(t){var i;let n=this.pendingTaskInfoByPath.get(t);return n?{...n,id:(i=n.id)!=null?i:t,path:t}:null}shouldUsePendingTaskInfo(t,n){return n?t.dateModified?n.dateModified!==t.dateModified:!1:!0}extractTaskInfoFromNative(t,n){if(!n||!this.fieldMapper||!this.isTaskFile(n))return null;try{let i=this.fieldMapper.mapFromFrontmatter(n,t,this.storeTitleInFilename),a=!1,s=[];return this._dependencyCache?(a=this._dependencyCache.isTaskBlocked(t),s=this._dependencyCache.getBlockedTaskPaths(t)):a=Array.isArray(i.blockedBy)&&i.blockedBy.length>0,Rwe({path:t,mappedTask:i,defaultTaskStatus:this.settings.defaultTaskStatus,isBlocked:a,blockingTasks:s})}catch(i){return Hh.error(`Error extracting task info from native metadata for ${t}:`,{category:"persistence",operation:"extracting-task-info-native-metadata",error:i}),null}}async getAllTasks(){let t=[],n=this.app.vault.getMarkdownFiles();for(let i of n){if(!this.isValidFile(i.path))continue;let a=await this.getTaskInfo(i.path);a&&t.push(a)}return t}getAllTaskPaths(){let t=new Set,n=this.app.vault.getMarkdownFiles();for(let i of n){if(!this.isValidFile(i.path))continue;let a=this.app.metadataCache.getFileCache(i);a!=null&&a.frontmatter&&this.isTaskFile(a.frontmatter)&&t.add(i.path)}return t}getTasksForDate(t){var l,c;let n=[],i=this.app.vault.getMarkdownFiles(),a=ke(t),s=((l=this.fieldMapper)==null?void 0:l.toUserField("scheduled"))||"scheduled",o=((c=this.fieldMapper)==null?void 0:c.toUserField("due"))||"due";for(let d of i){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[s],m=u.frontmatter[o],f=typeof p=="string"&&p.length>0?ke(p):void 0,h=typeof m=="string"&&m.length>0?ke(m):void 0;(f===a||h===a)&&n.push(d.path)}return n}getTaskPathsByStatus(t){var o,l;let n=[],i=this.app.vault.getMarkdownFiles(),a=((o=this.fieldMapper)==null?void 0:o.toUserField("status"))||"status",s=(l=Wd(t,this.settings.customStatuses))!=null?l:t;for(let c of i){if(!this.isValidFile(c.path))continue;let d=this.app.metadataCache.getFileCache(c);if(!(d!=null&&d.frontmatter)||!this.isTaskFile(d.frontmatter))continue;Wd(d.frontmatter[a],this.settings.customStatuses)===s&&n.push(c.path)}return n}getTaskPathsByPriority(t){var o,l;let n=[],i=this.app.vault.getMarkdownFiles(),a=((o=this.fieldMapper)==null?void 0:o.toUserField("priority"))||"priority",s=(l=Cp(t,this.settings.customPriorities))!=null?l:t;for(let c of i){if(!this.isValidFile(c.path))continue;let d=this.app.metadataCache.getFileCache(c);if(!(d!=null&&d.frontmatter)||!this.isTaskFile(d.frontmatter))continue;Cp(d.frontmatter[a],this.settings.customPriorities)===s&&n.push(c.path)}return n}getOverdueTaskPaths(){var o,l,c;let t=new Set,n=this.app.vault.getMarkdownFiles(),i=zn(),a=((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 n){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[a],m=Wd(u.frontmatter[s],this.settings.customStatuses),f=((c=this.settings.customStatuses)==null?void 0:c.some(h=>h.value===m&&h.isCompleted))||!1;p&&!f&&th(p,i)&&t.add(d.path)}return t}getAllStatuses(){var a;let t=new Set,n=this.app.vault.getMarkdownFiles(),i=((a=this.fieldMapper)==null?void 0:a.toUserField("status"))||"status";for(let s of n){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[i],c=Wd(l,this.settings.customStatuses);c&&t.add(c)}return Array.from(t).sort()}getAllPriorities(){var a;let t=new Set,n=this.app.vault.getMarkdownFiles(),i=((a=this.fieldMapper)==null?void 0:a.toUserField("priority"))||"priority";for(let s of n){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[i],c=Cp(l,this.settings.customPriorities);c&&t.add(c)}return Array.from(t).sort()}getAllTags(){let t=new Set,n=this.app.vault.getMarkdownFiles();for(let i of n){if(!this.isValidFile(i.path))continue;let a=this.app.metadataCache.getFileCache(i);if(!(a!=null&&a.frontmatter)||!this.isTaskFile(a.frontmatter))continue;let s=a.frontmatter.tags;Array.isArray(s)&&s.forEach(o=>{typeof o=="string"&&t.add(o)})}return Array.from(t).sort()}getAllContexts(){var a;let t=new Set,n=this.app.vault.getMarkdownFiles(),i=((a=this.fieldMapper)==null?void 0:a.toUserField("contexts"))||"context";for(let s of n){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[i];Array.isArray(l)?l.forEach(c=>{typeof c=="string"&&t.add(c)}):l&&t.add(l)}return Array.from(t).sort()}getAllProjects(){var a;let t=new Set,n=this.app.vault.getMarkdownFiles(),i=((a=this.fieldMapper)==null?void 0:a.toUserField("projects"))||"project";for(let s of n){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[i];Array.isArray(l)?l.forEach(c=>{typeof c=="string"&&t.add(c)}):l&&t.add(l)}return Array.from(t).sort()}getAllTimeEstimates(){var a;let t=new Map,n=this.app.vault.getMarkdownFiles(),i=((a=this.fieldMapper)==null?void 0:a.toUserField("timeEstimate"))||"timeEstimate";for(let s of n){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[i];typeof l=="number"&&l>0&&t.set(s.path,l)}return t}async getNotesForDate(t){if(this.disableNoteIndexing)return[];let n=[],i=ce(t),a=this.app.vault.getMarkdownFiles();for(let s of a){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)===i&&n.push({path:s.path,title:this.storeTitleInFilename?s.basename:o.frontmatter.title||s.basename,tags:o.frontmatter.tags||[]})}return n}async getTaskByPath(t){return this.getTaskInfo(t)}async getCachedTaskInfo(t){return this.getTaskInfo(t)}getCachedTaskInfoSync(t){if(!this.isValidFile(t))return null;let n=this.app.vault.getAbstractFileByPath(t);if(!(n instanceof Il.TFile))return null;let i=this.getPendingTaskInfo(t),a=this.app.metadataCache.getFileCache(n);if(!(a!=null&&a.frontmatter))return i;let s=this.isTaskFile(a.frontmatter)?this.extractTaskInfoFromNative(t,a.frontmatter):null;return i&&this.shouldUsePendingTaskInfo(i,s)?i:(this.pendingTaskInfoByPath.delete(t),s)}async readFrontmatterFromFile(t){try{let n=await this.app.vault.read(t);return this.parseFrontmatterFromContent(n,t.path)}catch(n){return Hh.warn(`TaskManager: Failed to read frontmatter fallback for ${t.path}`,{category:"validation",operation:"taskmanager-read-frontmatter-fallback",error:n}),null}}parseFrontmatterFromContent(t,n){let i=t.match(/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!i)return null;try{let a=(0,Il.parseYaml)(i[1]||"");return!a||typeof a!="object"||Array.isArray(a)?null:a}catch(a){let s=n?` for ${n}`:"";return Hh.warn(`TaskManager: Failed to parse frontmatter fallback${s}`,{category:"validation",operation:"taskmanager-parse-frontmatter-fallback",details:n?{path:n}:void 0,error:a}),null}}isInitialized(){return this.initialized}destroy(){this.debouncedHandlers.forEach(t=>{window.clearTimeout(t)}),this.debouncedHandlers.clear(),this.eventListeners.forEach(t=>{this.app.metadataCache.offref(t)}),this.eventListeners=[],this.initialized=!1}setDependencyCache(t){this._dependencyCache=t}getBlockingTaskPaths(t){return this._dependencyCache?this._dependencyCache.getBlockingTaskPaths(t):(Hh.warn("DependencyCache not set in TaskManager",{category:"stale-data",operation:"dependencycache-not-set-taskmanager"}),[])}getBlockedTaskPaths(t){return this._dependencyCache?this._dependencyCache.getBlockedTaskPaths(t):(Hh.warn("DependencyCache not set in TaskManager",{category:"stale-data",operation:"dependencycache-not-set-taskmanager"}),[])}isTaskBlocked(t){return this._dependencyCache?this._dependencyCache.isTaskBlocked(t):!1}getTasksReferencingProject(t){return this._dependencyCache?this._dependencyCache.getTasksReferencingProject(t):(Hh.warn("DependencyCache not set in TaskManager",{category:"stale-data",operation:"dependencycache-not-set-taskmanager"}),[])}isFileUsedAsProject(t){return this._dependencyCache?this._dependencyCache.isFileUsedAsProject(t):!1}async waitForFreshTaskData(t,n=10){let i=typeof t=="string"?t:t.path,a=typeof t=="string"?this.app.vault.getAbstractFileByPath(i):t;if(!(a instanceof Il.TFile)){await new Promise(s=>window.setTimeout(s,100));return}for(let s=0;s<n;s++){let o=this.app.metadataCache.getFileCache(a);if(o!=null&&o.frontmatter)return;await new Promise(l=>window.setTimeout(l,50*(s+1)))}Hh.warn(`TaskManager: Metadata cache not ready for ${i} after ${n} retries`,{category:"stale-data",operation:"taskmanager-metadata-cache-not-ready"})}updateConfig(t){this.settings=t,this.taskTag=t.taskTag,this.excludedFolders=cc(t.excludedFolders),this.disableNoteIndexing=t.disableNoteIndexing,this.storeTitleInFilename=t.storeTitleInFilename,this.pruneExcludedPendingTaskInfo(),this.trigger("data-changed")}pruneExcludedPendingTaskInfo(){for(let t of this.pendingTaskInfoByPath.keys())this.isValidFile(t)||this.pendingTaskInfoByPath.delete(t)}subscribe(t,n){return this.on(t,n),()=>{this.off(t,n)}}async getCalendarData(t,n){let i=await this.getAllTasks(),a={};for(let s of i)s.scheduled&&(a[s.scheduled]||(a[s.scheduled]=[]),a[s.scheduled].push(s)),s.due&&(a[s.due]||(a[s.due]=[]),a[s.due].includes(s)||a[s.due].push(s));return a}async getTaskInfoForDate(t){let n=ce(t),i=this.getTasksForDate(n),a=[];for(let s of i){let o=await this.getTaskInfo(s);o&&a.push(o)}return a}getTaskPathsByDate(t){return new Set(this.getTasksForDate(t))}getAllProjectsWithDetails(){return[]}getAllProjectFiles(){return[]}async rebuildDailyNotesCache(t,n){}async clearAllCaches(){this.pendingTaskInfoByPath.clear(),this.trigger("data-changed")}clearCacheEntry(t){this.pendingTaskInfoByPath.delete(t)}updateTaskInfoInCache(t,n){var i;if(!this.isValidFile(t)){this.pendingTaskInfoByPath.delete(t),this.trigger("data-changed");return}this.pendingTaskInfoByPath.set(t,{...n,id:(i=n.id)!=null?i:t,path:t}),this.trigger("file-updated",{path:t,updatedTask:n})}}});var sm,ZI,om,QI,qV=y(()=>{sm=require("obsidian");ko();Nw();G();ZI=I({tag:"Utils/DependencyCache"}),om="dependency-cache-changed",QI=class extends sm.Events{constructor(t,n,i,a,s){super();this.dependencySources=new Map;this.dependencyTargets=new Map;this.projectReferences=new Map;this.projectReferenceSources=new Map;this.initialized=!1;this.indexesBuilt=!1;this.eventListeners=[];this.app=t,this.settings=n,this.excludedFolders=cc(n.excludedFolders),this.fieldMapper=i,this.statusManager=a,this.isTaskFileCallback=s}initialize(){this.initialized||(this.setupEventListeners(),this.initialized=!0)}async buildIndexes(){if(this.indexesBuilt)return;let t=this.app.vault.getMarkdownFiles();for(let n of t){if(!this.isValidFile(n.path))continue;let i=this.app.metadataCache.getFileCache(n);!(i!=null&&i.frontmatter)||!this.isTaskFileCallback(i.frontmatter)||this.indexTaskFile(n.path,i.frontmatter)}this.indexesBuilt=!0,this.trigger(om)}setupEventListeners(){let t=this.app.metadataCache.on("changed",(a,s,o)=>{a instanceof sm.TFile&&a.extension==="md"&&this.handleFileChanged(a,o)});this.eventListeners.push(t);let n=this.app.metadataCache.on("deleted",(a,s)=>{a instanceof sm.TFile&&a.extension==="md"&&this.handleFileDeleted(a.path)});this.eventListeners.push(n);let i=this.app.vault.on("rename",(a,s)=>{a instanceof sm.TFile&&a.extension==="md"&&this.handleFileRenamed(a,s)});this.eventListeners.push(i)}handleFileChanged(t,n){let i=this.getFileRelationshipSignature(t.path);if(!this.isValidFile(t.path)){this.clearFileFromIndexes(t.path),this.triggerIfFileRelationshipsChanged(t.path,i);return}let a=this.app.metadataCache.getFileCache(t);if(!(a!=null&&a.frontmatter)){this.clearForwardDependencies(t.path),this.triggerIfFileRelationshipsChanged(t.path,i);return}if(!this.isTaskFileCallback(a.frontmatter)){this.clearForwardDependencies(t.path),this.triggerIfFileRelationshipsChanged(t.path,i);return}this.clearForwardDependencies(t.path),this.indexTaskFile(t.path,a.frontmatter),this.triggerIfFileRelationshipsChanged(t.path,i)}triggerIfFileRelationshipsChanged(t,n){this.getFileRelationshipSignature(t)!==n&&this.trigger(om)}getFileRelationshipSignature(t){let n=this.sortedSetValues(this.dependencySources.get(t)),i=this.sortedSetValues(this.dependencyTargets.get(t)),a=this.sortedSetValues(this.projectReferenceSources.get(t)),s=this.sortedSetValues(this.projectReferences.get(t));return JSON.stringify({blockedTasks:i,blockingTasks:n,projectTasks:s,referencedProjects:a})}sortedSetValues(t){return t?Array.from(t).sort():[]}handleFileDeleted(t){this.clearFileFromIndexes(t),this.trigger(om)}handleFileRenamed(t,n){let i=this.app.metadataCache.getFileCache(t);this.clearFileFromIndexes(n),this.isValidFile(t.path)&&(i!=null&&i.frontmatter)&&this.isTaskFileCallback(i.frontmatter)&&this.indexTaskFile(t.path,i.frontmatter),this.trigger(om)}resolveProjectReference(t,n){if(!n||typeof n!="string")return null;let i=n.trim();if(!i)return null;let a=wl(this.app,t,i);return(a==null?void 0:a.path)||null}indexTaskFile(t,n){var l,c;if(!this.isValidFile(t))return;let i=((l=this.fieldMapper)==null?void 0:l.toUserField("blockedBy"))||"blockedBy",a=((c=this.fieldMapper)==null?void 0:c.toUserField("projects"))||"project",s=n[i];if(s){let d=xv(s);if(d){let u=new Set;for(let p of d){let m=wl(this.app,t,p);m!=null&&m.path&&this.isValidFile(m.path)&&(u.add(m.path),this.dependencyTargets.has(m.path)||this.dependencyTargets.set(m.path,new Set),this.dependencyTargets.get(m.path).add(t))}u.size>0&&this.dependencySources.set(t,u)}}let o=n[a];if(o){let d=Array.isArray(o)?o:[o];for(let u of d)if(typeof u=="string"){let p=this.resolveProjectReference(t,u);p&&this.isValidFile(p)&&(this.projectReferences.has(p)||this.projectReferences.set(p,new Set),this.projectReferences.get(p).add(t),this.projectReferenceSources.has(t)||this.projectReferenceSources.set(t,new Set),this.projectReferenceSources.get(t).add(p))}}}clearForwardDependencies(t){let n=this.dependencySources.get(t);if(n){for(let a of n){let s=this.dependencyTargets.get(a);s&&(s.delete(t),s.size===0&&this.dependencyTargets.delete(a))}this.dependencySources.delete(t)}let i=this.projectReferenceSources.get(t);if(i){for(let a of i){let s=this.projectReferences.get(a);s&&(s.delete(t),s.size===0&&this.projectReferences.delete(a))}this.projectReferenceSources.delete(t)}}clearFileFromIndexes(t){let n=this.dependencySources.get(t);if(n){for(let o of n){let l=this.dependencyTargets.get(o);l&&(l.delete(t),l.size===0&&this.dependencyTargets.delete(o))}this.dependencySources.delete(t)}let i=this.dependencyTargets.get(t);if(i){for(let o of i){let l=this.dependencySources.get(o);l&&(l.delete(t),l.size===0&&this.dependencySources.delete(o))}this.dependencyTargets.delete(t)}let a=this.projectReferenceSources.get(t);if(a){for(let o of a){let l=this.projectReferences.get(o);l&&(l.delete(t),l.size===0&&this.projectReferences.delete(o))}this.projectReferenceSources.delete(t)}let s=this.projectReferences.get(t);if(s){for(let o of s){let l=this.projectReferenceSources.get(o);l&&(l.delete(t),l.size===0&&this.projectReferenceSources.delete(o))}this.projectReferences.delete(t)}}getBlockingTaskPaths(t){this.indexesBuilt||(ZI.warn("DependencyCache: getBlockingTaskPaths called before indexes built, building now...",{category:"stale-data",operation:"dependencycache-getblockingtaskpaths-called-indexes-built-building-now"}),this.buildIndexesSync());let n=this.dependencySources.get(t);return n?Array.from(n):[]}getBlockedTaskPaths(t){if(this.indexesBuilt||(ZI.warn("DependencyCache: getBlockedTaskPaths called before indexes built, building now...",{category:"stale-data",operation:"dependencycache-getblockedtaskpaths-called-indexes-built-building-now"}),this.buildIndexesSync()),this.isCompletedTask(t))return[];let n=this.dependencyTargets.get(t);return n?Array.from(n):[]}isTaskBlocked(t){var a;let n=this.getBlockingTaskPaths(t);if(n.length===0)return!1;let i=((a=this.fieldMapper)==null?void 0:a.toUserField("status"))||"status";for(let s of n){let o=this.app.vault.getAbstractFileByPath(s);if(!(o instanceof sm.TFile))continue;let l=this.app.metadataCache.getFileCache(o);if(!(l!=null&&l.frontmatter))continue;let c=l.frontmatter[i];if(!c||!this.statusManager.isCompletedStatus(c))return!0}return!1}isCompletedTask(t){var o;let n=this.app.vault.getAbstractFileByPath(t);if(!(n instanceof sm.TFile))return!1;let i=this.app.metadataCache.getFileCache(n);if(!(i!=null&&i.frontmatter))return!1;let a=((o=this.fieldMapper)==null?void 0:o.toUserField("status"))||"status",s=i.frontmatter[a];return!!(s&&this.statusManager.isCompletedStatus(s))}getTasksReferencingProject(t){this.indexesBuilt||(ZI.warn("DependencyCache: getTasksReferencingProject called before indexes built, building now...",{category:"stale-data",operation:"dependencycache-gettasksreferencingproject-called-indexes-built-building-now"}),this.buildIndexesSync());let n=this.projectReferences.get(t);return n?Array.from(n):[]}isFileUsedAsProject(t){return this.indexesBuilt||(ZI.warn("DependencyCache: isFileUsedAsProject called before indexes built, building now...",{category:"stale-data",operation:"dependencycache-isfileusedasproject-called-indexes-built-building-now"}),this.buildIndexesSync()),this.projectReferences.has(t)}buildIndexesSync(){if(this.indexesBuilt)return;let t=this.app.vault.getMarkdownFiles();for(let n of t){if(!this.isValidFile(n.path))continue;let i=this.app.metadataCache.getFileCache(n);!(i!=null&&i.frontmatter)||!this.isTaskFileCallback(i.frontmatter)||this.indexTaskFile(n.path,i.frontmatter)}this.indexesBuilt=!0,this.trigger(om)}updateConfig(t){this.settings=t,this.excludedFolders=cc(t.excludedFolders),this.clearIndexes(),this.indexesBuilt=!1}isValidFile(t){return!rv(t,this.excludedFolders)}clearIndexes(){this.dependencySources.clear(),this.dependencyTargets.clear(),this.projectReferences.clear(),this.projectReferenceSources.clear()}destroy(){this.eventListeners.forEach(t=>{this.app.metadataCache.offref(t)}),this.eventListeners=[],this.clearIndexes(),this.initialized=!1,this.indexesBuilt=!1}}});function Oo(r){let e=Wwe(r),t=e.match(JI);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s);if(!Gwe(o,l,c))throw new Error(`Invalid date "${r}".`);return new Date(Date.UTC(o,l-1,c,0,0,0,0))}if(!Ywe(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!XI(n))throw new Error(`Invalid date "${r}".`);return n}function Mnt(r){let e=Wwe(r),t=e.match(JI);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s),d=new Date(o,l-1,c,0,0,0,0);if(!XI(d)||d.getFullYear()!==o||d.getMonth()!==l-1||d.getDate()!==c)throw new Error(`Invalid date "${r}".`);return d}if(!Ywe(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!XI(n))throw new Error(`Invalid date "${r}".`);return n}function $c(r){if(!XI(r))return"";let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}function _nt(r){return $c(r)}function Ant(){let r=new Date,e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}-${t}-${n}`}function GV(r){return Oo(Pb(r))}function Int(r){if(!/^\d{4}-\d{2}-\d{2}$/.test(r))throw new Error(`Invalid date "${r}". Expected YYYY-MM-DD.`);return Oo(r),r}function Nnt(r){return r?/T\d{2}:\d{2}/.test(r):!1}function Pb(r){if(!r)return"";let e=r.trim();if(JI.test(e))return e;let t=e.indexOf("T");if(t>-1)return e.slice(0,t);let n=e.indexOf(" ");return n>-1&&JI.test(e.slice(0,n))?e.slice(0,n):$c(Oo(e))}function Wwe(r,e="Date string cannot be empty"){if(!r||r.trim().length===0)throw new Error(e);return r.trim()}function Ywe(r){let e=r.match(Pnt);if(!e)return!1;let[,t,n,i,a,s,o,,l,c,d]=e;return Gwe(Number(t),Number(n),Number(i))&&Rnt(Number(a),Number(s),Number(o))&&Ont(l,c,d)}function Gwe(r,e,t){let n=new Date(Date.UTC(r,e-1,t,0,0,0,0));return n.getUTCFullYear()===r&&n.getUTCMonth()===e-1&&n.getUTCDate()===t}function Rnt(r,e,t){return r>=0&&r<=23&&e>=0&&e<=59&&t>=0&&t<=59}function Ont(r,e,t){if(!r)return!0;let n=Number(e),i=Number(t);return!(n>14||i>59||n===14&&i!==0)}function XI(r){return r instanceof Date&&!Number.isNaN(r.getTime())}function Kwe(r,e){if(!r.recurrence||typeof r.recurrence!="string")return!0;try{let t=Qwe(r);if(!t)return!1;let n=GV(_nt(e));return t.between(n,new Date(n.getTime()+1440*60*1e3-1),!0).length>0}catch(t){return!0}}function Zwe(r,e,t){if(!r.recurrence||typeof r.recurrence!="string")return[];try{let n=Qwe(r);if(!n)return[];let i=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),0,0,0,0)),a=new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),23,59,59,999));return n.between(i,a,!0)}catch(n){let i=[],a=new Date(e);for(;a<=t;)Kwe(r,a)&&i.push(new Date(a)),a.setUTCDate(a.getUTCDate()+1);return i}}function Lnt(r,e={}){return r.recurrence?(r.recurrence_anchor||"scheduled")==="completion"?qnt(r,e):Vnt(r,e):null}function Fnt(r,e=!0,t={}){let n=Lnt(r,t),i=null,a=null,s=null;if(n){try{let o=r.scheduled?Oo(r.scheduled):null,l=r.due?Oo(r.due):null;if(o&&l){let c=!e&&l.getTime()<n.getTime();if(e||c){let d=l.getTime()-o.getTime();s=new Date(n.getTime()+d)}}}catch(o){s=null}r.scheduled&&r.scheduled.includes("T")?i=`${$c(n)}T${r.scheduled.split("T")[1]}`:i=$c(n),s&&r.due&&r.due.includes("T")?a=`${$c(s)}T${r.due.split("T")[1]}`:s&&(a=$c(s))}return{scheduled:i,due:a}}function $nt(r){if(!r.recurrence||typeof r.recurrence!="string")return null;if(r.recurrence.includes("DTSTART:"))return r.recurrence;let e=r.scheduled||r.dateCreated;return e?`DTSTART:${Xwe(e)};${r.recurrence}`:null}function znt(r,e){if(!r||typeof r!="string")return null;let t=Xwe(e);return r.includes("DTSTART:")?r.replace(/DTSTART:[^;]+;?/,`DTSTART:${t};`):`DTSTART:${t};${r}`}function Qwe(r){if(!r.recurrence||typeof r.recurrence!="string")return null;let e=jnt(r);if(!e)return null;let t=r.recurrence.replace(/DTSTART:[^;]+;?/,"").replace(/^;/,"").trim(),n=jwe.parseString(t);return n.dtstart=e,new jwe(n)}function jnt(r){return r.recurrence?KV(r.recurrence)||(r.scheduled?GV(r.scheduled):null)||(r.dateCreated?GV(r.dateCreated):null):null}function KV(r){let e=r.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);return e?Bnt(e[1],!1):null}function Bnt(r,e){let t=Number(r.slice(0,4)),n=Number(r.slice(4,6))-1,i=Number(r.slice(6,8));if(r.length===8)return e?new Date(Date.UTC(t,n,i,23,59,59,999)):new Date(Date.UTC(t,n,i,0,0,0,0));let a=Number(r.slice(9,11))||0,s=Number(r.slice(11,13))||0,o=Number(r.slice(13,15))||0;return new Date(Date.UTC(t,n,i,a,s,o,0))}function Unt(r){let e=r.match(/INTERVAL=(\d+)/);return e?Number.parseInt(e[1],10):1}function Jwe(r){let e=Unt(r);return r.includes("FREQ=DAILY")?Math.max(30,e*2):r.includes("FREQ=WEEKLY")?Math.max(90,e*7*2):r.includes("FREQ=MONTHLY")?Math.max(400,e*31*2):r.includes("FREQ=YEARLY")?Math.max(800,e*366*2):365}function Xwe(r){if(Nnt(r)){let e=Mnt(r),t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),s=String(e.getMinutes()).padStart(2,"0"),o=String(e.getSeconds()).padStart(2,"0");return`${t}${n}${i}T${a}${s}${o}Z`}return Hnt(Oo(r))}function Hnt(r){let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}${t}${n}`}function Vnt(r,e){if(!r.recurrence)return null;let t=Oo(e.today||qwe()),n=Jwe(r.recurrence),i=t,a=KV(r.recurrence);a&&a<t&&(i=a);let s=new Date(t.getTime()+n*24*60*60*1e3),o=Zwe(r,i,s),l=new Set([...r.complete_instances||[],...r.skipped_instances||[]]);for(let c of o){let d=$c(c);if(!l.has(d)&&c>=t)return c}return null}function qnt(r,e){if(!r.recurrence||typeof r.recurrence!="string")return null;let t=Oo(e.today||qwe()),n=Jwe(r.recurrence),i=KV(r.recurrence),a=i||t,s=new Date(a.getTime()+n*24*60*60*1e3),o=Zwe(r,a,s),l=new Set(r.skipped_instances||[]),c=i?i.getTime():0;for(let d of o){let u=$c(d);if(d.getTime()>c&&d>=t&&!l.has(u))return d}return null}function Wnt(r){let e=r.toLowerCase();return e==="true"||e==="false"?e==="true":r}function Ynt(r){let e=r.trim(),t=e.match(/^\[\[([^|\]#]+)(?:#[^\]|]+)?(?:\|[^\]]+)?\]\]$/);if(t)return t[1].trim();let n=e.match(/^\[[^\]]+\]\(([^)#]+)(?:#[^)]+)?\)$/);return n?decodeURI(n[1].trim()):e}function eSe(r,e="manual"){return Znt(r.occurrence_materialization)?r.occurrence_materialization:e}function Gnt(r,e="completion"){return Qnt(r.occurrence_next_trigger)?r.occurrence_next_trigger:e}function Qx(r){return typeof r.recurrence_parent=="string"&&typeof r.occurrence_date=="string"}function Vh(r){return r?Ynt(r).replace(/\\/g,"/").replace(/^\/+/,"").replace(/\.md$/i,"").trim().toLowerCase():""}function tSe(r){return`[[${r.path.replace(/\.md$/i,"")}]]`}function ZV(r,e,t,n=tSe(e)){let i=Vh(e.path),a=Vh(n);return r.find(s=>{if(s.occurrence_date!==t||!s.recurrence_parent)return!1;let o=Vh(s.recurrence_parent);return o===i||o===a})}function rSe({parentTask:r,targetDate:e,currentTimestamp:t,existingOccurrences:n=[],parentLink:i,defaultStatus:a=r.status,defaultPriority:s=r.priority,templateTask:o={},overrides:l={},allowNonGeneratedTarget:c=!0}){var v,k,b,w,S,x,C,D,_,O,L,N,R,z;if(!r.recurrence)throw new Error("occurrence_parent_not_recurring");let d=lSe(e),u=i||tSe(r),p=ZV(n,r,d,u),m=[];if(ait(r,d)||m.push({code:"materialization_target_not_generated",message:`Target date "${d}" is not generated by the parent recurrence rule.`,severity:c?"warning":"error",field:"occurrence_date"}),p)return{kind:"occurrence.materialize",parentTask:r,targetDate:d,parentReference:u,created:!1,existingOccurrence:p,occurrenceTask:p,fields:eN(p),issues:m,metadata:{idempotent:!0}};let f=Jnt(r,d),h=nit(f.customProperties,o.customProperties,l.customProperties),g=uSe({...f,...o,...l,id:void 0,path:void 0,archived:void 0,status:(k=(v=l.status)!=null?v:o.status)!=null?k:a,priority:(S=(w=(b=l.priority)!=null?b:o.priority)!=null?w:r.priority)!=null?S:s,scheduled:(D=(C=(x=l.scheduled)!=null?x:o.scheduled)!=null?C:f.scheduled)!=null?D:d,due:(O=(_=l.due)!=null?_:o.due)!=null?O:f.due,customProperties:h,recurrence:void 0,recurrence_anchor:void 0,complete_instances:void 0,skipped_instances:void 0,recurrence_parent:u,occurrence_date:d,occurrence_materialization:void 0,occurrence_next_trigger:void 0,occurrence_template:void 0,occurrence_past_horizon:void 0,occurrence_future_horizon:void 0,completedDate:void 0,timeEntries:void 0,totalTrackedTime:void 0,icsEventId:void 0,googleCalendarEventId:void 0,googleCalendarExceptionEventId:void 0,googleCalendarExceptionOriginalScheduled:void 0,googleCalendarMovedOriginalDates:void 0,basesData:void 0,blocking:void 0,isBlocked:void 0,isBlocking:void 0,hasSubtasks:void 0,dateCreated:(N=(L=l.dateCreated)!=null?L:o.dateCreated)!=null?N:t,dateModified:(z=(R=l.dateModified)!=null?R:o.dateModified)!=null?z:t});return{kind:"occurrence.materialize",parentTask:r,targetDate:d,parentReference:u,created:!0,occurrenceTask:g,fields:eN(g),issues:m,metadata:{idempotent:!1,template:r.occurrence_template}}}function nSe({occurrenceTask:r,parentTask:e,completedStatus:t,currentTimestamp:n,targetDate:i,maintainDueDateOffsetInRecurring:a}){let s=tN(r,i);if(rN(r,s),!e.recurrence)throw new Error("occurrence_parent_not_recurring");let o=pSe(Mb(e.complete_instances),s),l=Mb(e.skipped_instances).filter(f=>f!==s),c=dSe({parentTask:e,targetDate:s,completeInstances:o,skippedInstances:l,currentTimestamp:n,maintainDueDateOffsetInRecurring:a,advanceCompletionAnchor:!0}),d={status:t,completedDate:s,dateModified:n},u={...e,...c},p={...r,...d},m=eSe(e)==="on_completion"?Pb(u.scheduled||""):void 0;return nN({kind:"occurrence.complete",targetDate:s,occurrenceTask:r,parentTask:e,updatedOccurrenceTask:p,updatedParentTask:u,occurrenceUpdates:d,parentUpdates:c,currentTimestamp:n,materializeNextDate:m,metadata:{trigger:"completion"}})}function iSe({occurrenceTask:r,parentTask:e,activeStatus:t,currentTimestamp:n,targetDate:i}){let a=tN(r,i);rN(r,a);let s={complete_instances:Mb(e.complete_instances).filter(l=>l!==a),dateModified:n},o={status:t,completedDate:void 0,dateModified:n};return nN({kind:"occurrence.uncomplete",targetDate:a,occurrenceTask:r,parentTask:e,updatedOccurrenceTask:{...r,...o},updatedParentTask:{...e,...s},occurrenceUpdates:o,parentUpdates:s,currentTimestamp:n,metadata:{trigger:"uncomplete"}})}function aSe({occurrenceTask:r,parentTask:e,skippedStatus:t,currentTimestamp:n,targetDate:i,maintainDueDateOffsetInRecurring:a}){if(!t)throw new Error("missing_skipped_status");let s=tN(r,i);if(rN(r,s),!e.recurrence)throw new Error("occurrence_parent_not_recurring");let o=pSe(Mb(e.skipped_instances),s),l=Mb(e.complete_instances).filter(m=>m!==s),c=dSe({parentTask:e,targetDate:s,completeInstances:l,skippedInstances:o,currentTimestamp:n,maintainDueDateOffsetInRecurring:a,advanceCompletionAnchor:!1}),d={status:t,completedDate:void 0,dateModified:n},u={...e,...c},p=eSe(e)==="on_completion"&&Gnt(e)==="completion_or_skip"?Pb(u.scheduled||""):void 0;return nN({kind:"occurrence.skip",targetDate:s,occurrenceTask:r,parentTask:e,updatedOccurrenceTask:{...r,...d},updatedParentTask:u,occurrenceUpdates:d,parentUpdates:c,currentTimestamp:n,materializeNextDate:p,metadata:{trigger:"skip"}})}function sSe({occurrenceTask:r,parentTask:e,activeStatus:t,currentTimestamp:n,targetDate:i}){let a=tN(r,i);rN(r,a);let s={skipped_instances:Mb(e.skipped_instances).filter(l=>l!==a),dateModified:n},o={status:t,completedDate:void 0,dateModified:n};return nN({kind:"occurrence.unskip",targetDate:a,occurrenceTask:r,parentTask:e,updatedOccurrenceTask:{...r,...o},updatedParentTask:{...e,...s},occurrenceUpdates:o,parentUpdates:s,currentTimestamp:n,metadata:{trigger:"unskip"}})}function oSe(r,e){let t=[];for(let[n,i]of Object.entries(r)){let a=Knt(e,n);a&&(i===void 0||Array.isArray(i)&&i.length===0?t.push({op:"delete",field:a}):n==="status"?t.push({op:"set",field:a,value:Wnt(String(i))}):t.push({op:"set",field:a,value:i}))}return t}function eN(r){let e={};return qr(e,"title",r.title),qr(e,"status",r.status),qr(e,"priority",r.priority),qr(e,"due",r.due),qr(e,"scheduled",r.scheduled),qr(e,"completedDate",r.completedDate),qr(e,"dateCreated",r.dateCreated),qr(e,"dateModified",r.dateModified),qr(e,"recurrence",r.recurrence),qr(e,"recurrenceAnchor",r.recurrence_anchor),qr(e,"completeInstances",r.complete_instances),qr(e,"skippedInstances",r.skipped_instances),qr(e,"recurrenceParent",r.recurrence_parent),qr(e,"occurrenceDate",r.occurrence_date),qr(e,"occurrenceMaterialization",r.occurrence_materialization),qr(e,"occurrenceNextTrigger",r.occurrence_next_trigger),qr(e,"occurrenceTemplate",r.occurrence_template),qr(e,"occurrencePastHorizon",r.occurrence_past_horizon),qr(e,"occurrenceFutureHorizon",r.occurrence_future_horizon),qr(e,"timeEntries",r.timeEntries),qr(e,"tags",r.tags),qr(e,"contexts",r.contexts),qr(e,"projects",r.projects),qr(e,"timeEstimate",r.timeEstimate),qr(e,"blockedBy",r.blockedBy),qr(e,"reminders",r.reminders),e}function Knt(r,e){let n={title:"title",status:"status",priority:"priority",due:"due",scheduled:"scheduled",contexts:"contexts",projects:"projects",timeEstimate:"timeEstimate",completedDate:"completedDate",dateCreated:"dateCreated",dateModified:"dateModified",recurrence:"recurrence",recurrence_anchor:"recurrenceAnchor",complete_instances:"completeInstances",skipped_instances:"skippedInstances",recurrence_parent:"recurrenceParent",occurrence_date:"occurrenceDate",occurrence_materialization:"occurrenceMaterialization",occurrence_next_trigger:"occurrenceNextTrigger",occurrence_template:"occurrenceTemplate",occurrence_past_horizon:"occurrencePastHorizon",occurrence_future_horizon:"occurrenceFutureHorizon",timeEntries:"timeEntries",blockedBy:"blockedBy",reminders:"reminders",sortOrder:"sortOrder"}[e];return n?r[n]:void 0}function Znt(r){return r==="manual"||r==="on_completion"||r==="rolling"}function Qnt(r){return r==="completion"||r==="completion_or_skip"}function lSe(r){return Int(r instanceof Date?$c(r):Pb(r))}function tN(r,e){var t;return lSe((t=e!=null?e:r.occurrence_date)!=null?t:"")}function rN(r,e){if(!r.recurrence_parent||!r.occurrence_date)throw new Error("task_not_materialized_occurrence");if(r.occurrence_date!==e)throw new Error("occurrence_date_mismatch")}function Jnt(r,e){let t=r.scheduled?Bwe(r.scheduled,r.scheduled,e):e,n=r.due?Bwe(r.due,r.scheduled||r.due,e):void 0;return uSe({title:r.title,priority:r.priority,due:n,scheduled:t,contexts:YV(r.contexts),projects:YV(r.projects),tags:YV(r.tags),timeEstimate:r.timeEstimate,reminders:Uwe(r.reminders),blockedBy:Uwe(r.blockedBy),details:r.details,customProperties:rit(r.customProperties)})}function Bwe(r,e,t){try{let n=Pb(r),i=Pb(e);if(!n||!i)return;let a=eit(i,n),s=tit(t,a);return Xnt(r,s)}catch(n){return}}function Xnt(r,e){var i;let n=r.trim().match(/^(\d{4}-\d{2}-\d{2})(.*)$/);return n?`${e}${(i=n[2])!=null?i:""}`:e}function eit(r,e){let n=Oo(r).getTime(),i=Oo(e).getTime();return Math.round((i-n)/864e5)}function tit(r,e){let t=Oo(r);return t.setUTCDate(t.getUTCDate()+e),$c(t)}function YV(r){return Array.isArray(r)?[...r]:void 0}function Uwe(r){return Array.isArray(r)?r.map(e=>({...e})):void 0}function rit(r){if(!(!r||Object.keys(r).length===0))return cSe(r)}function nit(...r){let e={};for(let t of r)t&&Object.assign(e,cSe(t));return Object.keys(e).length>0?e:void 0}function cSe(r){let e={};for(let[t,n]of Object.entries(r))Array.isArray(n)?e[t]=[...n]:iit(n)?e[t]={...n}:e[t]=n;return e}function iit(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)}function ait(r,e){try{return Kwe(r,Oo(e))}catch(t){return!1}}function dSe({parentTask:r,targetDate:e,completeInstances:t,skippedInstances:n,currentTimestamp:i,maintainDueDateOffsetInRecurring:a,advanceCompletionAnchor:s}){let o=r.recurrence;typeof o=="string"&&o.length>0&&(s&&(r.recurrence_anchor||"scheduled")==="completion"?o=znt(o,e)||o:o.includes("DTSTART:")||(o=$nt(r)||o));let l={...r,recurrence:o,complete_instances:t,skipped_instances:n},c=Fnt(l,a,{today:e}),d={recurrence:o,complete_instances:t,skipped_instances:n,dateModified:i};return c.scheduled&&(d.scheduled=c.scheduled),c.due&&(d.due=c.due),d}function nN({kind:r,targetDate:e,occurrenceTask:t,parentTask:n,updatedOccurrenceTask:i,updatedParentTask:a,occurrenceUpdates:s,parentUpdates:o,currentTimestamp:l,materializeNextDate:c,metadata:d}){return{kind:r,targetDate:e,updatedOccurrenceTask:i,updatedParentTask:a,occurrenceUpdates:s,parentUpdates:o,occurrenceFields:eN(s),parentFields:eN(o),dateModified:l,changed:Hwe(t,s)||Hwe(n,o),materializeNextDate:c||void 0,metadata:d}}function Hwe(r,e){return Object.entries(e).some(([t,n])=>r[t]!==n)}function uSe(r){let e={};for(let[t,n]of Object.entries(r))n!==void 0&&(e[t]=n);return e}function qr(r,e,t){t!==void 0&&(r[e]=t)}function pSe(r,e){return r.includes(e)?r:[...r,e]}function Mb(r){return Array.isArray(r)?r.filter(e=>typeof e=="string"):[]}var JI,Pnt,qwe,WV,Vwe,jwe,QV=y(()=>{mv();JI=/^(\d{4})-(\d{2})-(\d{2})$/,Pnt=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d{1,3})?(?:Z|([+-])(\d{2}):(\d{2}))?$/;qwe=Ant;WV=Reflect.get(Mp,"default"),jwe=(Vwe=ye)!=null?Vwe:WV==null?void 0:WV.RRule});function ur(r){if(r&&typeof r=="object")switch(r[Fa]){case Nl:case Du:return!0}return!1}function Ut(r){if(r&&typeof r=="object")switch(r[Fa]){case iN:case Nl:case Xs:case Du:return!0}return!1}var iN,aN,Nl,JV,Xs,Du,Fa,Lo,Fo,$o,It,pt,zo,sN,tr=y(()=>{iN=Symbol.for("yaml.alias"),aN=Symbol.for("yaml.document"),Nl=Symbol.for("yaml.map"),JV=Symbol.for("yaml.pair"),Xs=Symbol.for("yaml.scalar"),Du=Symbol.for("yaml.seq"),Fa=Symbol.for("yaml.node.type"),Lo=r=>!!r&&typeof r=="object"&&r[Fa]===iN,Fo=r=>!!r&&typeof r=="object"&&r[Fa]===aN,$o=r=>!!r&&typeof r=="object"&&r[Fa]===Nl,It=r=>!!r&&typeof r=="object"&&r[Fa]===JV,pt=r=>!!r&&typeof r=="object"&&r[Fa]===Xs,zo=r=>!!r&&typeof r=="object"&&r[Fa]===Du;sN=r=>(pt(r)||ur(r))&&!!r.anchor});function Rl(r,e){let t=fSe(e);Fo(r)?_b(null,r.contents,t,Object.freeze([r]))===zc&&(r.contents=null):_b(null,r,t,Object.freeze([]))}function _b(r,e,t,n){let i=hSe(r,e,t,n);if(Ut(i)||It(i))return gSe(r,n,i),_b(r,i,t,n);if(typeof i!="symbol"){if(ur(e)){n=Object.freeze(n.concat(e));for(let a=0;a<e.items.length;++a){let s=_b(a,e.items[a],t,n);if(typeof s=="number")a=s-1;else{if(s===cs)return cs;s===zc&&(e.items.splice(a,1),a-=1)}}}else if(It(e)){n=Object.freeze(n.concat(e));let a=_b("key",e.key,t,n);if(a===cs)return cs;a===zc&&(e.key=null);let s=_b("value",e.value,t,n);if(s===cs)return cs;s===zc&&(e.value=null)}}return i}async function Jx(r,e){let t=fSe(e);Fo(r)?await Ab(null,r.contents,t,Object.freeze([r]))===zc&&(r.contents=null):await Ab(null,r,t,Object.freeze([]))}async function Ab(r,e,t,n){let i=await hSe(r,e,t,n);if(Ut(i)||It(i))return gSe(r,n,i),Ab(r,i,t,n);if(typeof i!="symbol"){if(ur(e)){n=Object.freeze(n.concat(e));for(let a=0;a<e.items.length;++a){let s=await Ab(a,e.items[a],t,n);if(typeof s=="number")a=s-1;else{if(s===cs)return cs;s===zc&&(e.items.splice(a,1),a-=1)}}}else if(It(e)){n=Object.freeze(n.concat(e));let a=await Ab("key",e.key,t,n);if(a===cs)return cs;a===zc&&(e.key=null);let s=await Ab("value",e.value,t,n);if(s===cs)return cs;s===zc&&(e.value=null)}}return i}function fSe(r){return typeof r=="object"&&(r.Collection||r.Node||r.Value)?Object.assign({Alias:r.Node,Map:r.Node,Scalar:r.Node,Seq:r.Node},r.Value&&{Map:r.Value,Scalar:r.Value,Seq:r.Value},r.Collection&&{Map:r.Collection,Seq:r.Collection},r):r}function hSe(r,e,t,n){var i,a,s,o,l;if(typeof t=="function")return t(r,e,n);if($o(e))return(i=t.Map)==null?void 0:i.call(t,r,e,n);if(zo(e))return(a=t.Seq)==null?void 0:a.call(t,r,e,n);if(It(e))return(s=t.Pair)==null?void 0:s.call(t,r,e,n);if(pt(e))return(o=t.Scalar)==null?void 0:o.call(t,r,e,n);if(Lo(e))return(l=t.Alias)==null?void 0:l.call(t,r,e,n)}function gSe(r,e,t){let n=e[e.length-1];if(ur(n))n.items[r]=t;else if(It(n))r==="key"?n.key=t:n.value=t;else if(Fo(n))n.contents=t;else{let i=Lo(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}var cs,mSe,zc,Xx=y(()=>{tr();cs=Symbol("break visit"),mSe=Symbol("skip children"),zc=Symbol("remove node");Rl.BREAK=cs;Rl.SKIP=mSe;Rl.REMOVE=zc;Jx.BREAK=cs;Jx.SKIP=mSe;Jx.REMOVE=zc});var sit,oit,jc,XV=y(()=>{tr();Xx();sit={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},oit=r=>r.replace(/[!,[\]{}]/g,e=>sit[e]),jc=class r{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},r.defaultYaml,e),this.tags=Object.assign({},r.defaultTags,t)}clone(){let e=new r(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new r(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:r.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},r.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:r.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},r.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[a,s]=n;return this.tags[a]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;let[a]=n;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{let s=/^\d+\.\d+$/.test(a);return t(6,`Unsupported YAML version ${a}`,s),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let s=e.slice(2,-1);return s==="!"||s==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),s)}let[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);let a=this.tags[n];if(a)try{return a+decodeURIComponent(i)}catch(s){return t(String(s)),null}return n==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+oit(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags),i;if(e&&n.length>0&&Ut(e.contents)){let a={};Rl(e.contents,(s,o)=>{Ut(o)&&o.tag&&(a[o.tag]=!0)}),i=Object.keys(a)}else i=[];for(let[a,s]of n)a==="!!"&&s==="tag:yaml.org,2002:"||(!e||i.some(o=>o.startsWith(s)))&&t.push(`%TAG ${a} ${s}`);return t.join(`
`)}};jc.defaultYaml={explicit:!1,version:"1.2"};jc.defaultTags={"!!":"tag:yaml.org,2002:"}});function oN(r){if(/[\x00-\x19\s,[\]{}]/.test(r)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(r)}`;throw new Error(t)}return!0}function eq(r){let e=new Set;return Rl(r,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function tq(r,e){for(let t=1;;++t){let n=`${r}${t}`;if(!e.has(n))return n}}function ySe(r,e){let t=[],n=new Map,i=null;return{onAnchor:a=>{t.push(a),i!=null||(i=eq(r));let s=tq(e,i);return i.add(s),s},setAnchors:()=>{for(let a of t){let s=n.get(a);if(typeof s=="object"&&s.anchor&&(pt(s.node)||ur(s.node)))s.node.anchor=s.anchor;else{let o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=a,o}}},sourceObjects:n}}var lN=y(()=>{tr();Xx()});function lm(r,e,t,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,a=n.length;i<a;++i){let s=n[i],o=lm(r,n,String(i),s);o===void 0?delete n[i]:o!==s&&(n[i]=o)}else if(n instanceof Map)for(let i of Array.from(n.keys())){let a=n.get(i),s=lm(r,n,i,a);s===void 0?n.delete(i):s!==a&&n.set(i,s)}else if(n instanceof Set)for(let i of Array.from(n)){let a=lm(r,n,i,i);a===void 0?n.delete(i):a!==i&&(n.delete(i),n.add(a))}else for(let[i,a]of Object.entries(n)){let s=lm(r,n,i,a);s===void 0?delete n[i]:s!==a&&(n[i]=s)}return r.call(e,t,n)}var rq=y(()=>{});function ui(r,e,t){if(Array.isArray(r))return r.map((n,i)=>ui(n,String(i),t));if(r&&typeof r.toJSON=="function"){if(!t||!sN(r))return r.toJSON(e,t);let n={aliasCount:0,count:1,res:void 0};t.anchors.set(r,n),t.onCreate=a=>{n.res=a,delete t.onCreate};let i=r.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof r=="bigint"&&!(t!=null&&t.keep)?Number(r):r}var cm=y(()=>{tr()});var dm,cN=y(()=>{rq();tr();cm();dm=class{constructor(e){Object.defineProperty(this,Fa,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:i,reviver:a}={}){if(!Fo(e))throw new TypeError("A document argument is required");let s={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},o=ui(this,"",s);if(typeof i=="function")for(let{count:l,res:c}of s.anchors.values())i(c,l);return typeof a=="function"?lm(a,{"":o},"",o):o}}});function dN(r,e,t){if(Lo(e)){let n=e.resolve(r),i=t&&n&&t.get(n);return i?i.count*i.aliasCount:0}else if(ur(e)){let n=0;for(let i of e.items){let a=dN(r,i,t);a>n&&(n=a)}return n}else if(It(e)){let n=dN(r,e.key,t),i=dN(r,e.value,t);return Math.max(n,i)}return 1}var Bc,eC=y(()=>{lN();Xx();tr();cN();cm();Bc=class extends dm{constructor(e){super(iN),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if((t==null?void 0:t.maxAliasCount)===0)throw new ReferenceError("Alias resolution is disabled");let n;t!=null&&t.aliasResolveCache?n=t.aliasResolveCache:(n=[],Rl(e,{Node:(a,s)=>{(Lo(s)||sN(s))&&n.push(s)}}),t&&(t.aliasResolveCache=n));let i;for(let a of n){if(a===this)break;a.anchor===this.source&&(i=a)}return i}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:i,maxAliasCount:a}=t,s=this.resolve(i,t);if(!s){let l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let o=n.get(s);if(o||(ui(s,null,t),o=n.get(s)),(o==null?void 0:o.res)===void 0){let l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(a>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=dN(i,s,n)),o.count*o.aliasCount>a)){let l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return o.res}toString(e,t,n){let i=`*${this.source}`;if(e){if(oN(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(a)}if(e.implicitKey)return`${i} `}return i}}});var uN,Pe,Jn=y(()=>{tr();cN();cm();uN=r=>!r||typeof r!="function"&&typeof r!="object",Pe=class extends dm{constructor(e){super(Xs),this.value=e}toJSON(e,t){return t!=null&&t.keep?this.value:ui(this.value,e,t)}toString(){return String(this.value)}};Pe.BLOCK_FOLDED="BLOCK_FOLDED";Pe.BLOCK_LITERAL="BLOCK_LITERAL";Pe.PLAIN="PLAIN";Pe.QUOTE_DOUBLE="QUOTE_DOUBLE";Pe.QUOTE_SINGLE="QUOTE_SINGLE"});function cit(r,e,t){var n;if(e){let i=t.filter(s=>s.tag===e),a=(n=i.find(s=>!s.format))!=null?n:i[0];if(!a)throw new Error(`Tag ${e} not found`);return a}return t.find(i=>{var a;return((a=i.identify)==null?void 0:a.call(i,r))&&!i.format})}function Pu(r,e,t){var u,p,m,f;if(Fo(r)&&(r=r.contents),Ut(r))return r;if(It(r)){let h=(p=(u=t.schema[Nl]).createNode)==null?void 0:p.call(u,t.schema,null,t);return h.items.push(r),h}(r instanceof String||r instanceof Number||r instanceof Boolean||typeof BigInt!="undefined"&&r instanceof BigInt)&&(r=r.valueOf());let{aliasDuplicateObjects:n,onAnchor:i,onTagObj:a,schema:s,sourceObjects:o}=t,l;if(n&&r&&typeof r=="object"){if(l=o.get(r),l)return(m=l.anchor)!=null||(l.anchor=i(r)),new Bc(l.anchor);l={anchor:null,node:null},o.set(r,l)}e!=null&&e.startsWith("!!")&&(e=lit+e.slice(2));let c=cit(r,e,s.tags);if(!c){if(r&&typeof r.toJSON=="function"&&(r=r.toJSON()),!r||typeof r!="object"){let h=new Pe(r);return l&&(l.node=h),h}c=r instanceof Map?s[Nl]:Symbol.iterator in Object(r)?s[Du]:s[Nl]}a&&(a(c),delete t.onTagObj);let d=c!=null&&c.createNode?c.createNode(t.schema,r,t):typeof((f=c==null?void 0:c.nodeClass)==null?void 0:f.from)=="function"?c.nodeClass.from(t.schema,r,t):new Pe(r);return e?d.tag=e:c.default||(d.tag=c.tag),l&&(l.node=d),d}var lit,tC=y(()=>{eC();tr();Jn();lit="tag:yaml.org,2002:"});function rC(r,e,t){let n=t;for(let i=e.length-1;i>=0;--i){let a=e[i];if(typeof a=="number"&&Number.isInteger(a)&&a>=0){let s=[];s[a]=n,n=s}else n=new Map([[a,n]])}return Pu(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:r,sourceObjects:new Map})}var Nb,Ib,pN=y(()=>{tC();tr();cN();Nb=r=>r==null||typeof r=="object"&&!!r[Symbol.iterator]().next().done,Ib=class extends dm{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(n=>Ut(n)||It(n)?n.clone(e):n),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Nb(e))this.add(t);else{let[n,...i]=e,a=this.get(n,!0);if(ur(a))a.addIn(i,t);else if(a===void 0&&this.schema)this.set(n,rC(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let i=this.get(t,!0);if(ur(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...i]=e,a=this.get(n,!0);return i.length===0?!t&&pt(a)?a.value:a:ur(a)?a.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!It(t))return!1;let n=t.value;return n==null||e&&pt(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let i=this.get(t,!0);return ur(i)?i.hasIn(n):!1}setIn(e,t){let[n,...i]=e;if(i.length===0)this.set(n,t);else{let a=this.get(n,!0);if(ur(a))a.setIn(i,t);else if(a===void 0&&this.schema)this.set(n,rC(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}}});function jo(r,e){return/^\n+$/.test(r)?r.substring(1):e?r.replace(/^(?! *$)/gm,e):r}var vSe,Uc,nC=y(()=>{vSe=r=>r.replace(/^(?!$)(?: $)?/gm,"#");Uc=(r,e,t)=>r.endsWith(`
`)?jo(t,e):t.includes(`
`)?`
`+jo(t,e):(r.endsWith(" ")?"":" ")+t});function aC(r,e,t="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:a=20,onFold:s,onOverflow:o}={}){if(!i||i<0)return r;i<a&&(a=0);let l=Math.max(1+a,1+i-e.length);if(r.length<=l)return r;let c=[],d={},u=i-e.length;typeof n=="number"&&(n>i-Math.max(2,a)?c.push(0):u=i-n);let p,m,f=!1,h=-1,g=-1,v=-1;t===mN&&(h=bSe(r,h,e.length),h!==-1&&(u=h+l));for(let b;b=r[h+=1];){if(t===iC&&b==="\\"){switch(g=h,r[h+1]){case"x":h+=3;break;case"u":h+=5;break;case"U":h+=9;break;default:h+=1}v=h}if(b===`
`)t===mN&&(h=bSe(r,h,e.length)),u=h+e.length+l,p=void 0;else{if(b===" "&&m&&m!==" "&&m!==`
`&&m!==" "){let w=r[h+1];w&&w!==" "&&w!==`
`&&w!==" "&&(p=h)}if(h>=u)if(p)c.push(p),u=p+l,p=void 0;else if(t===iC){for(;m===" "||m===" ";)m=b,b=r[h+=1],f=!0;let w=h>v+1?h-2:g-1;if(d[w])return r;c.push(w),d[w]=!0,u=w+l,p=void 0}else f=!0}m=b}if(f&&o&&o(),c.length===0)return r;s&&s();let k=r.slice(0,c[0]);for(let b=0;b<c.length;++b){let w=c[b],S=c[b+1]||r.length;w===0?k=`
${e}${r.slice(0,S)}`:(t===iC&&d[w]&&(k+=`${r[w]}\\`),k+=`
${e}${r.slice(w+1,S)}`)}return k}function bSe(r,e,t){let n=e,i=e+1,a=r[i];for(;a===" "||a===" ";)if(e<i+t)a=r[++e];else{do a=r[++e];while(a&&a!==`
`);n=e,i=e+1,a=r[i]}return n}var nq,mN,iC,TSe=y(()=>{nq="flow",mN="block",iC="quoted"});function dit(r,e,t){if(!e||e<0)return!1;let n=e-t,i=r.length;if(i<=n)return!1;for(let a=0,s=0;a<i;++a)if(r[a]===`
`){if(a-s>n)return!0;if(s=a+1,i-s<=n)return!1}return!0}function sC(r,e){let t=JSON.stringify(r);if(e.options.doubleQuotedAsJSON)return t;let{implicitKey:n}=e,i=e.options.doubleQuotedMinMultiLineLength,a=e.indent||(gN(r)?" ":""),s="",o=0;for(let l=0,c=t[l];c;c=t[++l])if(c===" "&&t[l+1]==="\\"&&t[l+2]==="n"&&(s+=t.slice(o,l)+"\\ ",l+=1,o=l,c="\\"),c==="\\")switch(t[l+1]){case"u":{s+=t.slice(o,l);let d=t.substr(l+2,4);switch(d){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:d.substr(0,2)==="00"?s+="\\x"+d.substr(2):s+=t.substr(l,6)}l+=5,o=l+1}break;case"n":if(n||t[l+2]==='"'||t.length<i)l+=1;else{for(s+=t.slice(o,l)+`
`;t[l+2]==="\\"&&t[l+3]==="n"&&t[l+4]!=='"';)s+=`
`,l+=2;s+=a,t[l+2]===" "&&(s+="\\"),l+=1,o=l+1}break;default:l+=1}return s=o?s+t.slice(o):t,n?s:aC(s,a,iC,hN(e,!1))}function iq(r,e){if(e.options.singleQuote===!1||e.implicitKey&&r.includes(`
`)||/[ \t]\n|\n[ \t]/.test(r))return sC(r,e);let t=e.indent||(gN(r)?" ":""),n="'"+r.replace(/'/g,"''").replace(/\n+/g,`$&
${t}`)+"'";return e.implicitKey?n:aC(n,t,nq,hN(e,!1))}function Rb(r,e){let{singleQuote:t}=e.options,n;if(t===!1)n=sC;else{let i=r.includes('"'),a=r.includes("'");i&&!a?n=iq:a&&!i?n=sC:n=t?iq:sC}return n(r,e)}function fN({comment:r,type:e,value:t},n,i,a){let{blockQuote:s,commentString:o,lineWidth:l}=n.options;if(!s||/\n[\t ]+$/.test(t))return Rb(t,n);let c=n.indent||(n.forceBlockIndent||gN(t)?" ":""),d=s==="literal"?!0:s==="folded"||e===Pe.BLOCK_FOLDED?!1:e===Pe.BLOCK_LITERAL?!0:!dit(t,l,c.length);if(!t)return d?`|
`:`>
`;let u,p;for(p=t.length;p>0;--p){let S=t[p-1];if(S!==`
`&&S!==" "&&S!==" ")break}let m=t.substring(p),f=m.indexOf(`
`);f===-1?u="-":t===m||f!==m.length-1?(u="+",a&&a()):u="",m&&(t=t.slice(0,-m.length),m[m.length-1]===`
`&&(m=m.slice(0,-1)),m=m.replace(aq,`$&${c}`));let h=!1,g,v=-1;for(g=0;g<t.length;++g){let S=t[g];if(S===" ")h=!0;else if(S===`
`)v=g;else break}let k=t.substring(0,v<g?v+1:g);k&&(t=t.substring(k.length),k=k.replace(/\n+/g,`$&${c}`));let w=(h?c?"2":"1":"")+u;if(r&&(w+=" "+o(r.replace(/ ?[\r\n]+/g," ")),i&&i()),!d){let S=t.replace(/\n+/g,`
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`),x=!1,C=hN(n,!0);s!=="folded"&&e!==Pe.BLOCK_FOLDED&&(C.onOverflow=()=>{x=!0});let D=aC(`${k}${S}${m}`,c,mN,C);if(!x)return`>${w}
${c}${D}`}return t=t.replace(/\n+/g,`$&${c}`),`|${w}
${c}${k}${t}${m}`}function uit(r,e,t,n){let{type:i,value:a}=r,{actualString:s,implicitKey:o,indent:l,indentStep:c,inFlow:d}=e;if(o&&a.includes(`
`)||d&&/[[\]{},]/.test(a))return Rb(a,e);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return o||d||!a.includes(`
`)?Rb(a,e):fN(r,e,t,n);if(!o&&!d&&i!==Pe.PLAIN&&a.includes(`
`))return fN(r,e,t,n);if(gN(a)){if(l==="")return e.forceBlockIndent=!0,fN(r,e,t,n);if(o&&l===c)return Rb(a,e)}let u=a.replace(/\n+/g,`$&
${l}`);if(s){let p=h=>{var g;return h.default&&h.tag!=="tag:yaml.org,2002:str"&&((g=h.test)==null?void 0:g.test(u))},{compat:m,tags:f}=e.doc.schema;if(f.some(p)||m!=null&&m.some(p))return Rb(a,e)}return o?u:aC(u,l,nq,hN(e,!1))}function Mu(r,e,t,n){let{implicitKey:i,inFlow:a}=e,s=typeof r.value=="string"?r:Object.assign({},r,{value:String(r.value)}),{type:o}=r;o!==Pe.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(o=Pe.QUOTE_DOUBLE);let l=d=>{switch(d){case Pe.BLOCK_FOLDED:case Pe.BLOCK_LITERAL:return i||a?Rb(s.value,e):fN(s,e,t,n);case Pe.QUOTE_DOUBLE:return sC(s.value,e);case Pe.QUOTE_SINGLE:return iq(s.value,e);case Pe.PLAIN:return uit(s,e,t,n);default:return null}},c=l(o);if(c===null){let{defaultKeyType:d,defaultStringType:u}=e.options,p=i&&d||u;if(c=l(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}var hN,gN,aq,oC=y(()=>{Jn();TSe();hN=(r,e)=>({indentAtStart:e?r.indent.length:r.indentAtStart,lineWidth:r.options.lineWidth,minContentWidth:r.options.minContentWidth}),gN=r=>/^(%|---|\.\.\.)/m.test(r);try{aq=new RegExp(`(^|(?<!
))
+(?!
|$)`,"g")}catch(r){aq=/\n+(?!\n|$)/g}});function yN(r,e){let t=Object.assign({blockQuote:!0,commentString:vSe,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},r.schema.toStringOptions,e),n;switch(t.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:r,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:n,options:t}}function pit(r,e){var i,a,s,o;if(e.tag){let l=r.filter(c=>c.tag===e.tag);if(l.length>0)return(i=l.find(c=>c.format===e.format))!=null?i:l[0]}let t,n;if(pt(e)){n=e.value;let l=r.filter(c=>{var d;return(d=c.identify)==null?void 0:d.call(c,n)});if(l.length>1){let c=l.filter(d=>d.test);c.length>0&&(l=c)}t=(a=l.find(c=>c.format===e.format))!=null?a:l.find(c=>!c.format)}else n=e,t=r.find(l=>l.nodeClass&&n instanceof l.nodeClass);if(!t){let l=(o=(s=n==null?void 0:n.constructor)==null?void 0:s.name)!=null?o:n===null?"null":typeof n;throw new Error(`Tag not resolved for ${l} value`)}return t}function mit(r,e,{anchors:t,doc:n}){var o;if(!n.directives)return"";let i=[],a=(pt(r)||ur(r))&&r.anchor;a&&oN(a)&&(t.add(a),i.push(`&${a}`));let s=(o=r.tag)!=null?o:e.default?null:e.tag;return s&&i.push(n.directives.tagString(s)),i.join(" ")}function _u(r,e,t,n){var l,c;if(It(r))return r.toString(e,t,n);if(Lo(r)){if(e.doc.directives)return r.toString(e);if((l=e.resolvedAliases)!=null&&l.has(r))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(r):e.resolvedAliases=new Set([r]),r=r.resolve(e.doc)}let i,a=Ut(r)?r:e.doc.createNode(r,{onTagObj:d=>i=d});i!=null||(i=pit(e.doc.schema.tags,a));let s=mit(a,i,e);s.length>0&&(e.indentAtStart=((c=e.indentAtStart)!=null?c:0)+s.length+1);let o=typeof i.stringify=="function"?i.stringify(a,e,t,n):pt(a)?Mu(a,e,t,n):a.toString(e,t,n);return s?pt(a)||o[0]==="{"||o[0]==="["?`${s} ${o}`:`${s}
${e.indent}${o}`:o}var lC=y(()=>{lN();tr();nC();oC()});function kSe({key:r,value:e},t,n,i){var C,D;let{allNullValues:a,doc:s,indent:o,indentStep:l,options:{commentString:c,indentSeq:d,simpleKeys:u}}=t,p=Ut(r)&&r.comment||null;if(u){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(ur(r)||!Ut(r)&&typeof r=="object"){let _="With simple keys, collection cannot be used as a key value";throw new Error(_)}}let m=!u&&(!r||p&&e==null&&!t.inFlow||ur(r)||(pt(r)?r.type===Pe.BLOCK_FOLDED||r.type===Pe.BLOCK_LITERAL:typeof r=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!m&&(u||!a),indent:o+l});let f=!1,h=!1,g=_u(r,t,()=>f=!0,()=>h=!0);if(!m&&!t.inFlow&&g.length>1024){if(u)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");m=!0}if(t.inFlow){if(a||e==null)return f&&n&&n(),g===""?"?":m?`? ${g}`:g}else if(a&&!u||e==null&&m)return g=`? ${g}`,p&&!f?g+=Uc(g,t.indent,c(p)):h&&i&&i(),g;f&&(p=null),m?(p&&(g+=Uc(g,t.indent,c(p))),g=`? ${g}
${o}:`):(g=`${g}:`,p&&(g+=Uc(g,t.indent,c(p))));let v,k,b;Ut(e)?(v=!!e.spaceBefore,k=e.commentBefore,b=e.comment):(v=!1,k=null,b=null,e&&typeof e=="object"&&(e=s.createNode(e))),t.implicitKey=!1,!m&&!p&&pt(e)&&(t.indentAtStart=g.length+1),h=!1,!d&&l.length>=2&&!t.inFlow&&!m&&zo(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substring(2));let w=!1,S=_u(e,t,()=>w=!0,()=>h=!0),x=" ";if(p||v||k){if(x=v?`
`:"",k){let _=c(k);x+=`
${jo(_,t.indent)}`}S===""&&!t.inFlow?x===`
`&&b&&(x=`
`):x+=`
${t.indent}`}else if(!m&&ur(e)){let _=S[0],O=S.indexOf(`
`),L=O!==-1,N=(D=(C=t.inFlow)!=null?C:e.flow)!=null?D:e.items.length===0;if(L||!N){let R=!1;if(L&&(_==="&"||_==="!")){let z=S.indexOf(" ");_==="&"&&z!==-1&&z<O&&S[z+1]==="!"&&(z=S.indexOf(" ",z+1)),(z===-1||O<z)&&(R=!0)}R||(x=`
${t.indent}`)}}else(S===""||S[0]===`
`)&&(x="");return g+=x+S,t.inFlow?w&&n&&n():b&&!w?g+=Uc(g,t.indent,c(b)):h&&i&&i(),g}var wSe=y(()=>{tr();Jn();lC();nC()});function vN(r,e){(r==="debug"||r==="warn")&&console.warn(e)}var sq=y(()=>{});function lq(r,e,t){let n=ESe(r,t);if(zo(n))for(let i of n.items)oq(r,e,i);else if(Array.isArray(n))for(let i of n)oq(r,e,i);else oq(r,e,n)}function oq(r,e,t){let n=ESe(r,t);if(!$o(n))throw new Error("Merge sources must be maps or map aliases");let i=n.toJSON(null,r,Map);for(let[a,s]of i)e instanceof Map?e.has(a)||e.set(a,s):e instanceof Set?e.add(a):Object.prototype.hasOwnProperty.call(e,a)||Object.defineProperty(e,a,{value:s,writable:!0,enumerable:!0,configurable:!0});return e}function ESe(r,e){return r&&Lo(e)?e.resolve(r.doc,r):e}var bN,Ol,SSe,TN=y(()=>{tr();Jn();bN="<<",Ol={identify:r=>r===bN||typeof r=="symbol"&&r.description===bN,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Pe(Symbol(bN)),{addToJSMap:lq}),stringify:()=>bN},SSe=(r,e)=>(Ol.identify(e)||pt(e)&&(!e.type||e.type===Pe.PLAIN)&&Ol.identify(e.value))&&(r==null?void 0:r.doc.schema.tags.some(t=>t.tag===Ol.tag&&t.default))});function kN(r,e,{key:t,value:n}){if(Ut(t)&&t.addToJSMap)t.addToJSMap(r,e,n);else if(SSe(r,t))lq(r,e,n);else{let i=ui(t,"",r);if(e instanceof Map)e.set(i,ui(n,i,r));else if(e instanceof Set)e.add(i);else{let a=fit(t,i,r),s=ui(n,a,r);a in e?Object.defineProperty(e,a,{value:s,writable:!0,enumerable:!0,configurable:!0}):e[a]=s}}return e}function fit(r,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(Ut(r)&&(t!=null&&t.doc)){let n=yN(t.doc,{});n.anchors=new Set;for(let a of t.anchors.keys())n.anchors.add(a.anchor);n.inFlow=!0,n.inStringifyKey=!0;let i=r.toString(n);if(!t.mapKeyWarned){let a=JSON.stringify(i);a.length>40&&(a=a.substring(0,36)+'..."'),vN(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${a}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return i}return JSON.stringify(e)}var cq=y(()=>{sq();TN();lC();tr();cm()});function Ob(r,e,t){let n=Pu(r,void 0,t),i=Pu(e,void 0,t);return new Tn(n,i)}var Tn,um=y(()=>{tC();wSe();cq();tr();Tn=class r{constructor(e,t=null){Object.defineProperty(this,Fa,{value:JV}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return Ut(t)&&(t=t.clone(e)),Ut(n)&&(n=n.clone(e)),new r(t,n)}toJSON(e,t){let n=t!=null&&t.mapAsMap?new Map:{};return kN(t,n,this)}toString(e,t,n){return e!=null&&e.doc?kSe(this,e,t,n):JSON.stringify(this)}}});function SN(r,e,t){var a;return(((a=e.inFlow)!=null?a:r.flow)?git:hit)(r,e,t)}function hit({comment:r,items:e},t,{blockItemPrefix:n,flowChars:i,itemIndent:a,onChompKeep:s,onComment:o}){let{indent:l,options:{commentString:c}}=t,d=Object.assign({},t,{indent:a,type:null}),u=!1,p=[];for(let f=0;f<e.length;++f){let h=e[f],g=null;if(Ut(h))!u&&h.spaceBefore&&p.push(""),wN(t,p,h.commentBefore,u),h.comment&&(g=h.comment);else if(It(h)){let k=Ut(h.key)?h.key:null;k&&(!u&&k.spaceBefore&&p.push(""),wN(t,p,k.commentBefore,u))}u=!1;let v=_u(h,d,()=>g=null,()=>u=!0);g&&(v+=Uc(v,a,c(g))),u&&g&&(u=!1),p.push(n+v)}let m;if(p.length===0)m=i.start+i.end;else{m=p[0];for(let f=1;f<p.length;++f){let h=p[f];m+=h?`
${l}${h}`:`
`}}return r?(m+=`
`+jo(c(r),l),o&&o()):u&&s&&s(),m}function git({items:r},e,{flowChars:t,itemIndent:n}){let{indent:i,indentStep:a,flowCollectionPadding:s,options:{commentString:o}}=e;n+=a;let l=Object.assign({},e,{indent:n,inFlow:!0,type:null}),c=!1,d=0,u=[];for(let f=0;f<r.length;++f){let h=r[f],g=null;if(Ut(h))h.spaceBefore&&u.push(""),wN(e,u,h.commentBefore,!1),h.comment&&(g=h.comment);else if(It(h)){let k=Ut(h.key)?h.key:null;k&&(k.spaceBefore&&u.push(""),wN(e,u,k.commentBefore,!1),k.comment&&(c=!0));let b=Ut(h.value)?h.value:null;b?(b.comment&&(g=b.comment),b.commentBefore&&(c=!0)):h.value==null&&(k!=null&&k.comment)&&(g=k.comment)}g&&(c=!0);let v=_u(h,l,()=>g=null);c||(c=u.length>d||v.includes(`
`)),f<r.length-1?v+=",":e.options.trailingComma&&(e.options.lineWidth>0&&(c||(c=u.reduce((k,b)=>k+b.length+2,2)+(v.length+2)>e.options.lineWidth)),c&&(v+=",")),g&&(v+=Uc(v,n,o(g))),u.push(v),d=u.length}let{start:p,end:m}=t;if(u.length===0)return p+m;if(!c){let f=u.reduce((h,g)=>h+g.length+2,2);c=e.options.lineWidth>0&&f>e.options.lineWidth}if(c){let f=p;for(let h of u)f+=h?`
${a}${i}${h}`:`
`;return`${f}
${i}${m}`}else return`${p}${s}${u.join(" ")}${s}${m}`}function wN({indent:r,options:{commentString:e}},t,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){let a=jo(e(n),r);t.push(a.trimStart())}}var dq=y(()=>{tr();lC();nC()});function pm(r,e){let t=pt(e)?e.value:e;for(let n of r)if(It(n)&&(n.key===e||n.key===t||pt(n.key)&&n.key.value===t))return n}var An,mm=y(()=>{dq();cq();pN();tr();um();Jn();An=class extends Ib{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Nl,e),this.items=[]}static from(e,t,n){let{keepUndefined:i,replacer:a}=n,s=new this(e),o=(l,c)=>{if(typeof a=="function")c=a.call(t,l,c);else if(Array.isArray(a)&&!a.includes(l))return;(c!==void 0||i)&&s.items.push(Ob(l,c,n))};if(t instanceof Map)for(let[l,c]of t)o(l,c);else if(t&&typeof t=="object")for(let l of Object.keys(t))o(l,t[l]);return typeof e.sortMapEntries=="function"&&s.items.sort(e.sortMapEntries),s}add(e,t){var s;let n;It(e)?n=e:!e||typeof e!="object"||!("key"in e)?n=new Tn(e,e==null?void 0:e.value):n=new Tn(e.key,e.value);let i=pm(this.items,n.key),a=(s=this.schema)==null?void 0:s.sortMapEntries;if(i){if(!t)throw new Error(`Key ${n.key} already set`);pt(i.value)&&uN(n.value)?i.value.value=n.value:i.value=n.value}else if(a){let o=this.items.findIndex(l=>a(n,l)<0);o===-1?this.items.push(n):this.items.splice(o,0,n)}else this.items.push(n)}delete(e){let t=pm(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){var a;let n=pm(this.items,e),i=n==null?void 0:n.value;return(a=!t&&pt(i)?i.value:i)!=null?a:void 0}has(e){return!!pm(this.items,e)}set(e,t){this.add(new Tn(e,t),!0)}toJSON(e,t,n){let i=n?new n:t!=null&&t.mapAsMap?new Map:{};t!=null&&t.onCreate&&t.onCreate(i);for(let a of this.items)kN(t,i,a);return i}toString(e,t,n){if(!e)return JSON.stringify(this);for(let i of this.items)if(!It(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),SN(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}});var Ll,Lb=y(()=>{tr();mm();Ll={collection:"map",default:!0,nodeClass:An,tag:"tag:yaml.org,2002:map",resolve(r,e){return $o(r)||e("Expected a mapping for this tag"),r},createNode:(r,e,t)=>An.from(r,e,t)}});function EN(r){let e=pt(r)?r.value:r;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}var $i,fm=y(()=>{tC();dq();pN();tr();Jn();cm();$i=class extends Ib{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Du,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=EN(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){let n=EN(e);if(typeof n!="number")return;let i=this.items[n];return!t&&pt(i)?i.value:i}has(e){let t=EN(e);return typeof t=="number"&&t<this.items.length}set(e,t){let n=EN(e);if(typeof n!="number")throw new Error(`Expected a valid index, not ${e}.`);let i=this.items[n];pt(i)&&uN(t)?i.value=t:this.items[n]=t}toJSON(e,t){let n=[];t!=null&&t.onCreate&&t.onCreate(n);let i=0;for(let a of this.items)n.push(ui(a,String(i++),t));return n}toString(e,t,n){return e?SN(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:i}=n,a=new this(e);if(t&&Symbol.iterator in Object(t)){let s=0;for(let o of t){if(typeof i=="function"){let l=t instanceof Set?o:String(s++);o=i.call(t,l,o)}a.items.push(Pu(o,void 0,n))}}return a}}});var Fl,Fb=y(()=>{tr();fm();Fl={collection:"seq",default:!0,nodeClass:$i,tag:"tag:yaml.org,2002:seq",resolve(r,e){return zo(r)||e("Expected a sequence for this tag"),r},createNode:(r,e,t)=>$i.from(r,e,t)}});var hm,cC=y(()=>{oC();hm={identify:r=>typeof r=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:r=>r,stringify(r,e,t,n){return e=Object.assign({actualString:!0},e),Mu(r,e,t,n)}}});var qh,xN=y(()=>{Jn();qh={identify:r=>r==null,createNode:()=>new Pe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Pe(null),stringify:({source:r},e)=>typeof r=="string"&&qh.test.test(r)?r:e.options.nullStr}});var dC,uq=y(()=>{Jn();dC={identify:r=>typeof r=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:r=>new Pe(r[0]==="t"||r[0]==="T"),stringify({source:r,value:e},t){if(r&&dC.test.test(r)){let n=r[0]==="t"||r[0]==="T";if(e===n)return r}return e?t.options.trueStr:t.options.falseStr}}});function da({format:r,minFractionDigits:e,tag:t,value:n}){if(typeof n=="bigint")return String(n);let i=typeof n=="number"?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let a=Object.is(n,-0)?"-0":JSON.stringify(n);if(!r&&e&&(!t||t==="tag:yaml.org,2002:float")&&/^-?\d/.test(a)&&!a.includes("e")){let s=a.indexOf(".");s<0&&(s=a.length,a+=".");let o=e-(a.length-s-1);for(;o-- >0;)a+="0"}return a}var $b=y(()=>{});var CN,DN,PN,pq=y(()=>{Jn();$b();CN={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:r=>r.slice(-3).toLowerCase()==="nan"?NaN:r[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:da},DN={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:r=>parseFloat(r),stringify(r){let e=Number(r.value);return isFinite(e)?e.toExponential():da(r)}},PN={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(r){let e=new Pe(parseFloat(r)),t=r.indexOf(".");return t!==-1&&r[r.length-1]==="0"&&(e.minFractionDigits=r.length-t-1),e},stringify:da}});function xSe(r,e,t){let{value:n}=r;return MN(n)&&n>=0?t+n.toString(e):da(r)}var MN,mq,_N,AN,IN,fq=y(()=>{$b();MN=r=>typeof r=="bigint"||Number.isInteger(r),mq=(r,e,t,{intAsBigInt:n})=>n?BigInt(r):parseInt(r.substring(e),t);_N={identify:r=>MN(r)&&r>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(r,e,t)=>mq(r,2,8,t),stringify:r=>xSe(r,8,"0o")},AN={identify:MN,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(r,e,t)=>mq(r,0,10,t),stringify:da},IN={identify:r=>MN(r)&&r>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(r,e,t)=>mq(r,2,16,t),stringify:r=>xSe(r,16,"0x")}});var CSe,DSe=y(()=>{Lb();xN();Fb();cC();uq();pq();fq();CSe=[Ll,Fl,hm,qh,dC,_N,AN,IN,CN,DN,PN]});function PSe(r){return typeof r=="bigint"||Number.isInteger(r)}var NN,yit,vit,MSe,_Se=y(()=>{Jn();Lb();Fb();NN=({value:r})=>JSON.stringify(r),yit=[{identify:r=>typeof r=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:r=>r,stringify:NN},{identify:r=>r==null,createNode:()=>new Pe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:NN},{identify:r=>typeof r=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:r=>r==="true",stringify:NN},{identify:PSe,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(r,e,{intAsBigInt:t})=>t?BigInt(r):parseInt(r,10),stringify:({value:r})=>PSe(r)?r.toString():JSON.stringify(r)},{identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:r=>parseFloat(r),stringify:NN}],vit={default:!0,tag:"",test:/^/,resolve(r,e){return e(`Unresolved plain scalar ${JSON.stringify(r)}`),r}},MSe=[Ll,Fl].concat(yit,vit)});var uC,hq=y(()=>{Jn();oC();uC={identify:r=>r instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(r,e){if(typeof atob=="function"){let t=atob(r.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let i=0;i<t.length;++i)n[i]=t.charCodeAt(i);return n}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),r},stringify({comment:r,type:e,value:t},n,i,a){if(!t)return"";let s=t,o;if(typeof btoa=="function"){let l="";for(let c=0;c<s.length;++c)l+=String.fromCharCode(s[c]);o=btoa(l)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e!=null||(e=Pe.BLOCK_LITERAL),e!==Pe.QUOTE_DOUBLE){let l=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),c=Math.ceil(o.length/l),d=new Array(c);for(let u=0,p=0;u<c;++u,p+=l)d[u]=o.substr(p,l);o=d.join(e===Pe.BLOCK_LITERAL?`
`:" ")}return Mu({comment:r,type:e,value:o},n,i,a)}}});function gq(r,e){var t;if(zo(r))for(let n=0;n<r.items.length;++n){let i=r.items[n];if(!It(i)){if($o(i)){i.items.length>1&&e("Each pair must have its own sequence indicator");let a=i.items[0]||new Tn(new Pe(null));if(i.commentBefore&&(a.key.commentBefore=a.key.commentBefore?`${i.commentBefore}
${a.key.commentBefore}`:i.commentBefore),i.comment){let s=(t=a.value)!=null?t:a.key;s.comment=s.comment?`${i.comment}
${s.comment}`:i.comment}i=a}r.items[n]=It(i)?i:new Tn(i)}}else e("Expected a sequence for this tag");return r}function yq(r,e,t){let{replacer:n}=t,i=new $i(r);i.tag="tag:yaml.org,2002:pairs";let a=0;if(e&&Symbol.iterator in Object(e))for(let s of e){typeof n=="function"&&(s=n.call(e,String(a++),s));let o,l;if(Array.isArray(s))if(s.length===2)o=s[0],l=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)o=c[0],l=s[o];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else o=s;i.items.push(Ob(o,l,t))}return i}var pC,RN=y(()=>{tr();um();Jn();fm();pC={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:gq,createNode:yq}});var zb,mC,vq=y(()=>{tr();cm();mm();fm();RN();zb=class r extends $i{constructor(){super(),this.add=An.prototype.add.bind(this),this.delete=An.prototype.delete.bind(this),this.get=An.prototype.get.bind(this),this.has=An.prototype.has.bind(this),this.set=An.prototype.set.bind(this),this.tag=r.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;t!=null&&t.onCreate&&t.onCreate(n);for(let i of this.items){let a,s;if(It(i)?(a=ui(i.key,"",t),s=ui(i.value,a,t)):a=ui(i,"",t),n.has(a))throw new Error("Ordered maps must not include duplicate keys");n.set(a,s)}return n}static from(e,t,n){let i=yq(e,t,n),a=new this;return a.items=i.items,a}};zb.tag="tag:yaml.org,2002:omap";mC={collection:"seq",identify:r=>r instanceof Map,nodeClass:zb,default:!1,tag:"tag:yaml.org,2002:omap",resolve(r,e){let t=gq(r,e),n=[];for(let{key:i}of t.items)pt(i)&&(n.includes(i.value)?e(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new zb,t)},createNode:(r,e,t)=>zb.from(r,e,t)}});function ASe({value:r,source:e},t){return e&&(r?bq:Tq).test.test(e)?e:r?t.options.trueStr:t.options.falseStr}var bq,Tq,ISe=y(()=>{Jn();bq={identify:r=>r===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Pe(!0),stringify:ASe},Tq={identify:r=>r===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Pe(!1),stringify:ASe}});var NSe,RSe,OSe,LSe=y(()=>{Jn();$b();NSe={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:r=>r.slice(-3).toLowerCase()==="nan"?NaN:r[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:da},RSe={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:r=>parseFloat(r.replace(/_/g,"")),stringify(r){let e=Number(r.value);return isFinite(e)?e.toExponential():da(r)}},OSe={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(r){let e=new Pe(parseFloat(r.replace(/_/g,""))),t=r.indexOf(".");if(t!==-1){let n=r.substring(t+1).replace(/_/g,"");n[n.length-1]==="0"&&(e.minFractionDigits=n.length)}return e},stringify:da}});function ON(r,e,t,{intAsBigInt:n}){let i=r[0];if((i==="-"||i==="+")&&(e+=1),r=r.substring(e).replace(/_/g,""),n){switch(t){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let s=BigInt(r);return i==="-"?BigInt(-1)*s:s}let a=parseInt(r,t);return i==="-"?-1*a:a}function kq(r,e,t){let{value:n}=r;if(fC(n)){let i=n.toString(e);return n<0?"-"+t+i.substr(1):t+i}return da(r)}var fC,FSe,$Se,zSe,jSe,BSe=y(()=>{$b();fC=r=>typeof r=="bigint"||Number.isInteger(r);FSe={identify:fC,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(r,e,t)=>ON(r,2,2,t),stringify:r=>kq(r,2,"0b")},$Se={identify:fC,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(r,e,t)=>ON(r,1,8,t),stringify:r=>kq(r,8,"0")},zSe={identify:fC,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(r,e,t)=>ON(r,0,10,t),stringify:da},jSe={identify:fC,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(r,e,t)=>ON(r,2,16,t),stringify:r=>kq(r,16,"0x")}});var jb,hC,wq=y(()=>{tr();um();mm();jb=class r extends An{constructor(e){super(e),this.tag=r.tag}add(e){let t;It(e)?t=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new Tn(e.key,null):t=new Tn(e,null),pm(this.items,t.key)||this.items.push(t)}get(e,t){let n=pm(this.items,e);return!t&&It(n)?pt(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=pm(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new Tn(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){let{replacer:i}=n,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let s of t)typeof i=="function"&&(s=i.call(t,s,s)),a.items.push(Ob(s,null,n));return a}};jb.tag="tag:yaml.org,2002:set";hC={collection:"map",identify:r=>r instanceof Set,nodeClass:jb,default:!1,tag:"tag:yaml.org,2002:set",createNode:(r,e,t)=>jb.from(r,e,t),resolve(r,e){if($o(r)){if(r.hasAllNullValues(!0))return Object.assign(new jb,r);e("Set items must all have null values")}else e("Expected a mapping for this tag");return r}}});function Sq(r,e){let t=r[0],n=t==="-"||t==="+"?r.substring(1):r,i=s=>e?BigInt(s):Number(s),a=n.replace(/_/g,"").split(":").reduce((s,o)=>s*i(60)+i(o),i(0));return t==="-"?i(-1)*a:a}function USe(r){let{value:e}=r,t=s=>s;if(typeof e=="bigint")t=s=>BigInt(s);else if(isNaN(e)||!isFinite(e))return da(r);let n="";e<0&&(n="-",e*=t(-1));let i=t(60),a=[e%i];return e<60?a.unshift(0):(e=(e-a[0])/i,a.unshift(e%i),e>=60&&(e=(e-a[0])/i,a.unshift(e))),n+a.map(s=>String(s).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var LN,FN,Bb,Eq=y(()=>{$b();LN={identify:r=>typeof r=="bigint"||Number.isInteger(r),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(r,e,{intAsBigInt:t})=>Sq(r,t),stringify:USe},FN={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:r=>Sq(r,!1),stringify:USe},Bb={identify:r=>r instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(r){let e=r.match(Bb.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,t,n,i,a,s,o]=e.map(Number),l=e[7]?Number((e[7]+"00").substr(1,3)):0,c=Date.UTC(t,n-1,i,a||0,s||0,o||0,l),d=e[8];if(d&&d!=="Z"){let u=Sq(d,!1);Math.abs(u)<30&&(u*=60),c-=6e4*u}return new Date(c)},stringify:({value:r})=>{var e;return(e=r==null?void 0:r.toISOString().replace(/(T00:00:00)?\.000Z$/,""))!=null?e:""}}});var xq,HSe=y(()=>{Lb();xN();Fb();cC();hq();ISe();LSe();BSe();TN();vq();RN();wq();Eq();xq=[Ll,Fl,hm,qh,bq,Tq,FSe,$Se,zSe,jSe,NSe,RSe,OSe,uC,Ol,mC,pC,hC,LN,FN,Bb]});function $N(r,e,t){let n=VSe.get(e);if(n&&!r)return t&&!n.includes(Ol)?n.concat(Ol):n.slice();let i=n;if(!i)if(Array.isArray(r))i=[];else{let a=Array.from(VSe.keys()).filter(s=>s!=="yaml11").map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${a} or define customTags array`)}if(Array.isArray(r))for(let a of r)i=i.concat(a);else typeof r=="function"&&(i=r(i.slice()));return t&&(i=i.concat(Ol)),i.reduce((a,s)=>{let o=typeof s=="string"?qSe[s]:s;if(!o){let l=JSON.stringify(s),c=Object.keys(qSe).map(d=>JSON.stringify(d)).join(", ");throw new Error(`Unknown custom tag ${l}; use one of ${c}`)}return a.includes(o)||a.push(o),a},[])}var VSe,qSe,WSe,YSe=y(()=>{Lb();xN();Fb();cC();uq();pq();fq();DSe();_Se();hq();TN();vq();RN();HSe();wq();Eq();VSe=new Map([["core",CSe],["failsafe",[Ll,Fl,hm]],["json",MSe],["yaml11",xq],["yaml-1.1",xq]]),qSe={binary:uC,bool:dC,float:PN,floatExp:DN,floatNaN:CN,floatTime:FN,int:AN,intHex:IN,intOct:_N,intTime:LN,map:Ll,merge:Ol,null:qh,omap:mC,pairs:pC,seq:Fl,set:hC,timestamp:Bb},WSe={"tag:yaml.org,2002:binary":uC,"tag:yaml.org,2002:merge":Ol,"tag:yaml.org,2002:omap":mC,"tag:yaml.org,2002:pairs":pC,"tag:yaml.org,2002:set":hC,"tag:yaml.org,2002:timestamp":Bb}});var bit,Ub,Cq=y(()=>{tr();Lb();Fb();cC();YSe();bit=(r,e)=>r.key<e.key?-1:r.key>e.key?1:0,Ub=class r{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:i,schema:a,sortMapEntries:s,toStringDefaults:o}){this.compat=Array.isArray(e)?$N(e,"compat"):e?$N(null,e):null,this.name=typeof a=="string"&&a||"core",this.knownTags=i?WSe:{},this.tags=$N(t,this.name,n),this.toStringOptions=o!=null?o:null,Object.defineProperty(this,Nl,{value:Ll}),Object.defineProperty(this,Xs,{value:hm}),Object.defineProperty(this,Du,{value:Fl}),this.sortMapEntries=typeof s=="function"?s:s===!0?bit:null}clone(){let e=Object.create(r.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}});function GSe(r,e){var l;let t=[],n=e.directives===!0;if(e.directives!==!1&&r.directives){let c=r.directives.toString(r);c?(t.push(c),n=!0):r.directives.docStart&&(n=!0)}n&&t.push("---");let i=yN(r,e),{commentString:a}=i.options;if(r.commentBefore){t.length!==1&&t.unshift("");let c=a(r.commentBefore);t.unshift(jo(c,""))}let s=!1,o=null;if(r.contents){if(Ut(r.contents)){if(r.contents.spaceBefore&&n&&t.push(""),r.contents.commentBefore){let u=a(r.contents.commentBefore);t.push(jo(u,""))}i.forceBlockIndent=!!r.comment,o=r.contents.comment}let c=o?void 0:()=>s=!0,d=_u(r.contents,i,()=>o=null,c);o&&(d+=Uc(d,"",a(o))),(d[0]==="|"||d[0]===">")&&t[t.length-1]==="---"?t[t.length-1]=`--- ${d}`:t.push(d)}else t.push(_u(r.contents,i));if((l=r.directives)!=null&&l.docEnd)if(r.comment){let c=a(r.comment);c.includes(`
`)?(t.push("..."),t.push(jo(c,""))):t.push(`... ${c}`)}else t.push("...");else{let c=r.comment;c&&s&&(c=c.replace(/^\n+/,"")),c&&((!s||o)&&t[t.length-1]!==""&&t.push(""),t.push(jo(a(c),"")))}return t.join(`
`)+`
`}var KSe=y(()=>{tr();lC();nC()});function Hb(r){if(ur(r))return!0;throw new Error("Expected a YAML collection as document contents")}var Hc,gC=y(()=>{eC();pN();tr();um();cm();Cq();KSe();lN();rq();tC();XV();Hc=class r{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Fa,{value:aN});let i=null;typeof t=="function"||Array.isArray(t)?i=t:n===void 0&&t&&(n=t,t=void 0);let a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=a;let{version:s}=a;n!=null&&n._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new jc({version:s}),this.setSchema(s,n),this.contents=e===void 0?null:this.createNode(e,i,n)}clone(){let e=Object.create(r.prototype,{[Fa]:{value:aN}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=Ut(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Hb(this.contents)&&this.contents.add(e)}addIn(e,t){Hb(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=eq(this);e.anchor=!t||n.has(t)?tq(t||"a",n):t}return new Bc(e.anchor)}createNode(e,t,n){let i;if(typeof t=="function")e=t.call({"":e},"",e),i=t;else if(Array.isArray(t)){let g=k=>typeof k=="number"||k instanceof String||k instanceof Number,v=t.filter(g).map(String);v.length>0&&(t=t.concat(v)),i=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:a,anchorPrefix:s,flow:o,keepUndefined:l,onTagObj:c,tag:d}=n!=null?n:{},{onAnchor:u,setAnchors:p,sourceObjects:m}=ySe(this,s||"a"),f={aliasDuplicateObjects:a!=null?a:!0,keepUndefined:l!=null?l:!1,onAnchor:u,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:m},h=Pu(e,d,f);return o&&ur(h)&&(h.flow=!0),p(),h}createPair(e,t,n={}){let i=this.createNode(e,null,n),a=this.createNode(t,null,n);return new Tn(i,a)}delete(e){return Hb(this.contents)?this.contents.delete(e):!1}deleteIn(e){return Nb(e)?this.contents==null?!1:(this.contents=null,!0):Hb(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return ur(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return Nb(e)?!t&&pt(this.contents)?this.contents.value:this.contents:ur(this.contents)?this.contents.getIn(e,t):void 0}has(e){return ur(this.contents)?this.contents.has(e):!1}hasIn(e){return Nb(e)?this.contents!==void 0:ur(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=rC(this.schema,[e],t):Hb(this.contents)&&this.contents.set(e,t)}setIn(e,t){Nb(e)?this.contents=t:this.contents==null?this.contents=rC(this.schema,Array.from(e),t):Hb(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e=="number"&&(e=String(e));let n;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new jc({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new jc({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let i=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new Ub(Object.assign(n,t));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:i,onAnchor:a,reviver:s}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},l=ui(this.contents,t!=null?t:"",o);if(typeof a=="function")for(let{count:c,res:d}of o.anchors.values())a(d,c);return typeof s=="function"?lm(s,{"":l},"",l):l}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return GSe(this,e)}}});var Vb,eo,qb,yC,vC=y(()=>{Vb=class extends Error{constructor(e,t,n,i){super(),this.name=e,this.code=n,this.message=i,this.pos=t}},eo=class extends Vb{constructor(e,t,n){super("YAMLParseError",e,t,n)}},qb=class extends Vb{constructor(e,t,n){super("YAMLWarning",e,t,n)}},yC=(r,e)=>t=>{if(t.pos[0]===-1)return;t.linePos=t.pos.map(o=>e.linePos(o));let{line:n,col:i}=t.linePos[0];t.message+=` at line ${n}, column ${i}`;let a=i-1,s=r.substring(e.lineStarts[n-1],e.lineStarts[n]).replace(/[\n\r]+$/,"");if(a>=60&&s.length>80){let o=Math.min(a-39,s.length-79);s="\u2026"+s.substring(o),a-=o-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),n>1&&/^ *$/.test(s.substring(0,a))){let o=r.substring(e.lineStarts[n-2],e.lineStarts[n-1]);o.length>80&&(o=o.substring(0,79)+`\u2026
`),s=o+s}if(/[^ ]/.test(s)){let o=1,l=t.linePos[1];(l==null?void 0:l.line)===n&&l.col>i&&(o=Math.max(1,Math.min(l.col-i,80-a)));let c=" ".repeat(a)+"^".repeat(o);t.message+=`:
${s}
${c}
`}}});function Vc(r,{flow:e,indicator:t,next:n,offset:i,onError:a,parentIndent:s,startOnNewline:o}){let l=!1,c=o,d=o,u="",p="",m=!1,f=!1,h=null,g=null,v=null,k=null,b=null,w=null,S=null;for(let D of r)switch(f&&(D.type!=="space"&&D.type!=="newline"&&D.type!=="comma"&&a(D.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),h&&(c&&D.type!=="comment"&&D.type!=="newline"&&a(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),D.type){case"space":!e&&(t!=="doc-start"||(n==null?void 0:n.type)!=="flow-collection")&&D.source.includes(" ")&&(h=D),d=!0;break;case"comment":{d||a(D,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let _=D.source.substring(1)||" ";u?u+=p+_:u=_,p="",c=!1;break}case"newline":c?u?u+=D.source:(!w||t!=="seq-item-ind")&&(l=!0):p+=D.source,c=!0,m=!0,(g||v)&&(k=D),d=!0;break;case"anchor":g&&a(D,"MULTIPLE_ANCHORS","A node can have at most one anchor"),D.source.endsWith(":")&&a(D.offset+D.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=D,S!=null||(S=D.offset),c=!1,d=!1,f=!0;break;case"tag":{v&&a(D,"MULTIPLE_TAGS","A node can have at most one tag"),v=D,S!=null||(S=D.offset),c=!1,d=!1,f=!0;break}case t:(g||v)&&a(D,"BAD_PROP_ORDER",`Anchors and tags must be after the ${D.source} indicator`),w&&a(D,"UNEXPECTED_TOKEN",`Unexpected ${D.source} in ${e!=null?e:"collection"}`),w=D,c=t==="seq-item-ind"||t==="explicit-key-ind",d=!1;break;case"comma":if(e){b&&a(D,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),b=D,c=!1,d=!1;break}default:a(D,"UNEXPECTED_TOKEN",`Unexpected ${D.type} token`),c=!1,d=!1}let x=r[r.length-1],C=x?x.offset+x.source.length:i;return f&&n&&n.type!=="space"&&n.type!=="newline"&&n.type!=="comma"&&(n.type!=="scalar"||n.source!=="")&&a(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h&&(c&&h.indent<=s||(n==null?void 0:n.type)==="block-map"||(n==null?void 0:n.type)==="block-seq")&&a(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,found:w,spaceBefore:l,comment:u,hasNewline:m,anchor:g,tag:v,newlineAfterProp:k,end:C,start:S!=null?S:C}}var bC=y(()=>{});function gm(r){if(!r)return null;switch(r.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(r.source.includes(`
`))return!0;if(r.end){for(let e of r.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(let e of r.items){for(let t of e.start)if(t.type==="newline")return!0;if(e.sep){for(let t of e.sep)if(t.type==="newline")return!0}if(gm(e.key)||gm(e.value))return!0}return!1;default:return!0}}var zN=y(()=>{});function TC(r,e,t){if((e==null?void 0:e.type)==="flow-collection"){let n=e.end[0];n.indent===r&&(n.source==="]"||n.source==="}")&&gm(e)&&t(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}var Dq=y(()=>{zN()});function jN(r,e,t){let{uniqueKeys:n}=r.options;if(n===!1)return!1;let i=typeof n=="function"?n:(a,s)=>a===s||pt(a)&&pt(s)&&a.value===s.value;return e.some(a=>i(a.key,t))}var Pq=y(()=>{tr()});function QSe({composeNode:r,composeEmptyNode:e},t,n,i,a){var d,u;let s=(d=a==null?void 0:a.nodeClass)!=null?d:An,o=new s(t.schema);t.atRoot&&(t.atRoot=!1);let l=n.offset,c=null;for(let p of n.items){let{start:m,key:f,sep:h,value:g}=p,v=Vc(m,{indicator:"explicit-key-ind",next:f!=null?f:h==null?void 0:h[0],offset:l,onError:i,parentIndent:n.indent,startOnNewline:!0}),k=!v.found;if(k){if(f&&(f.type==="block-seq"?i(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in f&&f.indent!==n.indent&&i(l,"BAD_INDENT",ZSe)),!v.anchor&&!v.tag&&!h){c=v.end,v.comment&&(o.comment?o.comment+=`
`+v.comment:o.comment=v.comment);continue}(v.newlineAfterProp||gm(f))&&i(f!=null?f:m[m.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((u=v.found)==null?void 0:u.indent)!==n.indent&&i(l,"BAD_INDENT",ZSe);t.atKey=!0;let b=v.end,w=f?r(t,f,v,i):e(t,b,m,null,v,i);t.schema.compat&&TC(n.indent,f,i),t.atKey=!1,jN(t,o.items,w)&&i(b,"DUPLICATE_KEY","Map keys must be unique");let S=Vc(h!=null?h:[],{indicator:"map-value-ind",next:g,offset:w.range[2],onError:i,parentIndent:n.indent,startOnNewline:!f||f.type==="block-scalar"});if(l=S.end,S.found){k&&((g==null?void 0:g.type)==="block-map"&&!S.hasNewline&&i(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&v.start<S.found.offset-1024&&i(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let x=g?r(t,g,S,i):e(t,l,h,null,S,i);t.schema.compat&&TC(n.indent,g,i),l=x.range[2];let C=new Tn(w,x);t.options.keepSourceTokens&&(C.srcToken=p),o.items.push(C)}else{k&&i(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),S.comment&&(w.comment?w.comment+=`
`+S.comment:w.comment=S.comment);let x=new Tn(w);t.options.keepSourceTokens&&(x.srcToken=p),o.items.push(x)}}return c&&c<l&&i(c,"IMPOSSIBLE","Map comment with trailing content"),o.range=[n.offset,l,c!=null?c:l],o}var ZSe,JSe=y(()=>{um();mm();bC();zN();Dq();Pq();ZSe="All mapping items must start at the same column"});function XSe({composeNode:r,composeEmptyNode:e},t,n,i,a){var d;let s=(d=a==null?void 0:a.nodeClass)!=null?d:$i,o=new s(t.schema);t.atRoot&&(t.atRoot=!1),t.atKey&&(t.atKey=!1);let l=n.offset,c=null;for(let{start:u,value:p}of n.items){let m=Vc(u,{indicator:"seq-item-ind",next:p,offset:l,onError:i,parentIndent:n.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||p)(p==null?void 0:p.type)==="block-seq"?i(m.end,"BAD_INDENT","All sequence items must start at the same column"):i(l,"MISSING_CHAR","Sequence item without - indicator");else{c=m.end,m.comment&&(o.comment=m.comment);continue}let f=p?r(t,p,m,i):e(t,m.end,u,null,m,i);t.schema.compat&&TC(n.indent,p,i),l=f.range[2],o.items.push(f)}return o.range=[n.offset,l,c!=null?c:l],o}var eEe=y(()=>{fm();bC();Dq()});function qc(r,e,t,n){let i="";if(r){let a=!1,s="";for(let o of r){let{source:l,type:c}=o;switch(c){case"space":a=!0;break;case"comment":{t&&!a&&n(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let d=l.substring(1)||" ";i?i+=s+d:i=d,s="";break}case"newline":i&&(s+=l),a=!0;break;default:n(o,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=l.length}}return{comment:i,offset:e}}var Wb=y(()=>{});function tEe({composeNode:r,composeEmptyNode:e},t,n,i,a){var g,v,k;let s=n.start.source==="{",o=s?"flow map":"flow sequence",l=(g=a==null?void 0:a.nodeClass)!=null?g:s?An:$i,c=new l(t.schema);c.flow=!0;let d=t.atRoot;d&&(t.atRoot=!1),t.atKey&&(t.atKey=!1);let u=n.offset+n.start.source.length;for(let b=0;b<n.items.length;++b){let w=n.items[b],{start:S,key:x,sep:C,value:D}=w,_=Vc(S,{flow:o,indicator:"explicit-key-ind",next:x!=null?x:C==null?void 0:C[0],offset:u,onError:i,parentIndent:n.indent,startOnNewline:!1});if(!_.found){if(!_.anchor&&!_.tag&&!C&&!D){b===0&&_.comma?i(_.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):b<n.items.length-1&&i(_.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),_.comment&&(c.comment?c.comment+=`
`+_.comment:c.comment=_.comment),u=_.end;continue}!s&&t.options.strict&&gm(x)&&i(x,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(b===0)_.comma&&i(_.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(_.comma||i(_.start,"MISSING_CHAR",`Missing , between ${o} items`),_.comment){let O="";e:for(let L of S)switch(L.type){case"comma":case"space":break;case"comment":O=L.source.substring(1);break e;default:break e}if(O){let L=c.items[c.items.length-1];It(L)&&(L=(v=L.value)!=null?v:L.key),L.comment?L.comment+=`
`+O:L.comment=O,_.comment=_.comment.substring(O.length+1)}}if(!s&&!C&&!_.found){let O=D?r(t,D,_,i):e(t,_.end,C,null,_,i);c.items.push(O),u=O.range[2],_q(D)&&i(O.range,"BLOCK_IN_FLOW",Mq)}else{t.atKey=!0;let O=_.end,L=x?r(t,x,_,i):e(t,O,S,null,_,i);_q(x)&&i(L.range,"BLOCK_IN_FLOW",Mq),t.atKey=!1;let N=Vc(C!=null?C:[],{flow:o,indicator:"map-value-ind",next:D,offset:L.range[2],onError:i,parentIndent:n.indent,startOnNewline:!1});if(N.found){if(!s&&!_.found&&t.options.strict){if(C)for(let H of C){if(H===N.found)break;if(H.type==="newline"){i(H,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}_.start<N.found.offset-1024&&i(N.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else D&&("source"in D&&((k=D.source)==null?void 0:k[0])===":"?i(D,"MISSING_CHAR",`Missing space after : in ${o}`):i(N.start,"MISSING_CHAR",`Missing , or : between ${o} items`));let R=D?r(t,D,N,i):N.found?e(t,N.end,C,null,N,i):null;R?_q(D)&&i(R.range,"BLOCK_IN_FLOW",Mq):N.comment&&(L.comment?L.comment+=`
`+N.comment:L.comment=N.comment);let z=new Tn(L,R);if(t.options.keepSourceTokens&&(z.srcToken=w),s){let H=c;jN(t,H.items,L)&&i(O,"DUPLICATE_KEY","Map keys must be unique"),H.items.push(z)}else{let H=new An(t.schema);H.flow=!0,H.items.push(z);let Y=(R!=null?R:L).range;H.range=[L.range[0],Y[1],Y[2]],c.items.push(H)}u=R?R.range[2]:N.end}}let p=s?"}":"]",[m,...f]=n.end,h=u;if((m==null?void 0:m.source)===p)h=m.offset+m.source.length;else{let b=o[0].toUpperCase()+o.substring(1),w=d?`${b} must end with a ${p}`:`${b} in block collection must be sufficiently indented and end with a ${p}`;i(u,d?"MISSING_CHAR":"BAD_INDENT",w),m&&m.source.length!==1&&f.unshift(m)}if(f.length>0){let b=qc(f,h,t.options.strict,i);b.comment&&(c.comment?c.comment+=`
`+b.comment:c.comment=b.comment),c.range=[n.offset,h,b.offset]}else c.range=[n.offset,h,h];return c}var Mq,_q,rEe=y(()=>{tr();um();mm();fm();Wb();bC();zN();Pq();Mq="Block collections are not allowed within flow collections",_q=r=>r&&(r.type==="block-map"||r.type==="block-seq")});function Aq(r,e,t,n,i,a){let s=t.type==="block-map"?QSe(r,e,t,n,a):t.type==="block-seq"?XSe(r,e,t,n,a):tEe(r,e,t,n,a),o=s.constructor;return i==="!"||i===o.tagName?(s.tag=o.tagName,s):(i&&(s.tag=i),s)}function nEe(r,e,t,n,i){var p,m,f;let a=n.tag,s=a?e.directives.tagName(a.source,h=>i(a,"TAG_RESOLVE_FAILED",h)):null;if(t.type==="block-seq"){let{anchor:h,newlineAfterProp:g}=n,v=h&&a?h.offset>a.offset?h:a:h!=null?h:a;v&&(!g||g.offset<v.offset)&&i(v,"MISSING_CHAR","Missing newline after block sequence props")}let o=t.type==="block-map"?"map":t.type==="block-seq"?"seq":t.start.source==="{"?"map":"seq";if(!a||!s||s==="!"||s===An.tagName&&o==="map"||s===$i.tagName&&o==="seq")return Aq(r,e,t,i,s);let l=e.schema.tags.find(h=>h.tag===s&&h.collection===o);if(!l){let h=e.schema.knownTags[s];if((h==null?void 0:h.collection)===o)e.schema.tags.push(Object.assign({},h,{default:!1})),l=h;else return h?i(a,"BAD_COLLECTION_TYPE",`${h.tag} used for ${o} collection, but expects ${(p=h.collection)!=null?p:"scalar"}`,!0):i(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Aq(r,e,t,i,s)}let c=Aq(r,e,t,i,s,l),d=(f=(m=l.resolve)==null?void 0:m.call(l,c,h=>i(a,"TAG_RESOLVE_FAILED",h),e.options))!=null?f:c,u=Ut(d)?d:new Pe(d);return u.range=c.range,u.tag=s,l!=null&&l.format&&(u.format=l.format),u}var iEe=y(()=>{tr();Jn();mm();fm();JSe();eEe();rEe()});function BN(r,e,t){let n=e.offset,i=Tit(e,r.options.strict,t);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};let a=i.mode===">"?Pe.BLOCK_FOLDED:Pe.BLOCK_LITERAL,s=e.source?kit(e.source):[],o=s.length;for(let h=s.length-1;h>=0;--h){let g=s[h][1];if(g===""||g==="\r")o=h;else break}if(o===0){let h=i.chomp==="+"&&s.length>0?`
`.repeat(Math.max(1,s.length-1)):"",g=n+i.length;return e.source&&(g+=e.source.length),{value:h,type:a,comment:i.comment,range:[n,g,g]}}let l=e.indent+i.indent,c=e.offset+i.length,d=0;for(let h=0;h<o;++h){let[g,v]=s[h];if(v===""||v==="\r")i.indent===0&&g.length>l&&(l=g.length);else{g.length<l&&t(c+g.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(l=g.length),d=h,l===0&&!r.atRoot&&t(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=g.length+v.length+1}for(let h=s.length-1;h>=o;--h)s[h][0].length>l&&(o=h+1);let u="",p="",m=!1;for(let h=0;h<d;++h)u+=s[h][0].slice(l)+`
`;for(let h=d;h<o;++h){let[g,v]=s[h];c+=g.length+v.length+1;let k=v[v.length-1]==="\r";if(k&&(v=v.slice(0,-1)),v&&g.length<l){let w=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;t(c-v.length-(k?2:1),"BAD_INDENT",w),g=""}a===Pe.BLOCK_LITERAL?(u+=p+g.slice(l)+v,p=`
`):g.length>l||v[0]===" "?(p===" "?p=`
`:!m&&p===`
`&&(p=`
`),u+=p+g.slice(l)+v,p=`
`,m=!0):v===""?p===`
`?u+=`
`:p=`
`:(u+=p+v,p=" ",m=!1)}switch(i.chomp){case"-":break;case"+":for(let h=o;h<s.length;++h)u+=`
`+s[h][0].slice(l);u[u.length-1]!==`
`&&(u+=`
`);break;default:u+=`
`}let f=n+i.length+e.source.length;return{value:u,type:a,comment:i.comment,range:[n,f,f]}}function Tit({offset:r,props:e},t,n){if(e[0].type!=="block-scalar-header")return n(e[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=e[0],a=i[0],s=0,o="",l=-1;for(let p=1;p<i.length;++p){let m=i[p];if(!o&&(m==="-"||m==="+"))o=m;else{let f=Number(m);!s&&f?s=f:l===-1&&(l=r+p)}}l!==-1&&n(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,d="",u=i.length;for(let p=1;p<e.length;++p){let m=e[p];switch(m.type){case"space":c=!0;case"newline":u+=m.source.length;break;case"comment":t&&!c&&n(m,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),u+=m.source.length,d=m.source.substring(1);break;case"error":n(m,"UNEXPECTED_TOKEN",m.message),u+=m.source.length;break;default:{let f=`Unexpected token in block scalar header: ${m.type}`;n(m,"UNEXPECTED_TOKEN",f);let h=m.source;h&&typeof h=="string"&&(u+=h.length)}}}return{mode:a,indent:s,chomp:o,comment:d,length:u}}function kit(r){let e=r.split(/\n( *)/),t=e[0],n=t.match(/^( *)/),a=[n!=null&&n[1]?[n[1],t.slice(n[1].length)]:["",t]];for(let s=1;s<e.length;s+=2)a.push([e[s],e[s+1]]);return a}var Iq=y(()=>{Jn()});function UN(r,e,t){let{offset:n,type:i,source:a,end:s}=r,o,l,c=(p,m,f)=>t(n+p,m,f);switch(i){case"scalar":o=Pe.PLAIN,l=wit(a,c);break;case"single-quoted-scalar":o=Pe.QUOTE_SINGLE,l=Sit(a,c);break;case"double-quoted-scalar":o=Pe.QUOTE_DOUBLE,l=Eit(a,c);break;default:return t(r,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[n,n+a.length,n+a.length]}}let d=n+a.length,u=qc(s,d,e,t);return{value:l,type:o,comment:u.comment,range:[n,d,u.offset]}}function wit(r,e){let t="";switch(r[0]){case" ":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":{t=`block scalar indicator ${r[0]}`;break}case"@":case"`":{t=`reserved character ${r[0]}`;break}}return t&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),aEe(r)}function Sit(r,e){return(r[r.length-1]!=="'"||r.length===1)&&e(r.length,"MISSING_CHAR","Missing closing 'quote"),aEe(r.slice(1,-1)).replace(/''/g,"'")}function aEe(r){var l;let e,t;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
`,"sy"),t=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
`,"sy")}catch(c){e=/(.*?)[ \t]*\r?\n/sy,t=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=e.exec(r);if(!n)return r;let i=n[1],a=" ",s=e.lastIndex;for(t.lastIndex=s;n=t.exec(r);)n[1]===""?a===`
`?i+=a:a=`
`:(i+=a+n[1],a=" "),s=t.lastIndex;let o=/[ \t]*(.*)/sy;return o.lastIndex=s,n=o.exec(r),i+a+((l=n==null?void 0:n[1])!=null?l:"")}function Eit(r,e){let t="";for(let n=1;n<r.length-1;++n){let i=r[n];if(!(i==="\r"&&r[n+1]===`
`))if(i===`
`){let{fold:a,offset:s}=xit(r,n);t+=a,n=s}else if(i==="\\"){let a=r[++n],s=Cit[a];if(s)t+=s;else if(a===`
`)for(a=r[n+1];a===" "||a===" ";)a=r[++n+1];else if(a==="\r"&&r[n+1]===`
`)for(a=r[++n+1];a===" "||a===" ";)a=r[++n+1];else if(a==="x"||a==="u"||a==="U"){let o=a==="x"?2:a==="u"?4:8;t+=Dit(r,n+1,o,e),n+=o}else{let o=r.substr(n-1,2);e(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),t+=o}}else if(i===" "||i===" "){let a=n,s=r[n+1];for(;s===" "||s===" ";)s=r[++n+1];s!==`
`&&!(s==="\r"&&r[n+2]===`
`)&&(t+=n>a?r.slice(a,n+1):i)}else t+=i}return(r[r.length-1]!=='"'||r.length===1)&&e(r.length,"MISSING_CHAR",'Missing closing "quote'),t}function xit(r,e){let t="",n=r[e+1];for(;(n===" "||n===" "||n===`
`||n==="\r")&&!(n==="\r"&&r[e+2]!==`
`);)n===`
`&&(t+=`
`),e+=1,n=r[e+1];return t||(t=" "),{fold:t,offset:e}}function Dit(r,e,t,n){let i=r.substr(e,t),s=i.length===t&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(s)}catch(o){let l=r.substr(e-2,t+2);return n(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}}var Cit,Nq=y(()=>{Jn();Wb();Cit={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "}});function Rq(r,e,t,n){let{value:i,type:a,comment:s,range:o}=e.type==="block-scalar"?BN(r,e,n):UN(e,r.options.strict,n),l=t?r.directives.tagName(t.source,u=>n(t,"TAG_RESOLVE_FAILED",u)):null,c;r.options.stringKeys&&r.atKey?c=r.schema[Xs]:l?c=Pit(r.schema,i,l,t,n):e.type==="scalar"?c=Mit(r,i,e,n):c=r.schema[Xs];let d;try{let u=c.resolve(i,p=>n(t!=null?t:e,"TAG_RESOLVE_FAILED",p),r.options);d=pt(u)?u:new Pe(u)}catch(u){let p=u instanceof Error?u.message:String(u);n(t!=null?t:e,"TAG_RESOLVE_FAILED",p),d=new Pe(i)}return d.range=o,d.source=i,a&&(d.type=a),l&&(d.tag=l),c.format&&(d.format=c.format),s&&(d.comment=s),d}function Pit(r,e,t,n,i){var o;if(t==="!")return r[Xs];let a=[];for(let l of r.tags)if(!l.collection&&l.tag===t)if(l.default&&l.test)a.push(l);else return l;for(let l of a)if((o=l.test)!=null&&o.test(e))return l;let s=r.knownTags[t];return s&&!s.collection?(r.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,t!=="tag:yaml.org,2002:str"),r[Xs])}function Mit({atKey:r,directives:e,schema:t},n,i,a){var o;let s=t.tags.find(l=>{var c;return(l.default===!0||r&&l.default==="key")&&((c=l.test)==null?void 0:c.test(n))})||t[Xs];if(t.compat){let l=(o=t.compat.find(c=>{var d;return c.default&&((d=c.test)==null?void 0:d.test(n))}))!=null?o:t[Xs];if(s.tag!==l.tag){let c=e.tagString(s.tag),d=e.tagString(l.tag),u=`Value may be parsed as either ${c} or ${d}`;a(i,"TAG_RESOLVE_FAILED",u,!0)}}return s}var sEe=y(()=>{tr();Jn();Iq();Nq()});function oEe(r,e,t){if(e){t!=null||(t=e.length);for(let n=t-1;n>=0;--n){let i=e[n];switch(i.type){case"space":case"comment":case"newline":r-=i.source.length;continue}for(i=e[++n];(i==null?void 0:i.type)==="space";)r+=i.source.length,i=e[++n];break}}return r}var lEe=y(()=>{});function Oq(r,e,t,n){let i=r.atKey,{spaceBefore:a,comment:s,anchor:o,tag:l}=t,c,d=!0;switch(e.type){case"alias":c=Ait(r,e,n),(o||l)&&n(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=Rq(r,e,l,n),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{c=nEe(_it,r,e,t,n),o&&(c.anchor=o.source.substring(1))}catch(u){let p=u instanceof Error?u.message:String(u);n(e,"RESOURCE_EXHAUSTION",p)}break;default:{let u=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;n(e,"UNEXPECTED_TOKEN",u),d=!1}}return c!=null||(c=HN(r,e.offset,void 0,null,t,n)),o&&c.anchor===""&&n(o,"BAD_ALIAS","Anchor cannot be an empty string"),i&&r.options.stringKeys&&(!pt(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&n(l!=null?l:e,"NON_STRING_KEY","With stringKeys, all keys must be strings"),a&&(c.spaceBefore=!0),s&&(e.type==="scalar"&&e.source===""?c.comment=s:c.commentBefore=s),r.options.keepSourceTokens&&d&&(c.srcToken=e),c}function HN(r,e,t,n,{spaceBefore:i,comment:a,anchor:s,tag:o,end:l},c){let d={type:"scalar",offset:oEe(e,t,n),indent:-1,source:""},u=Rq(r,d,o,c);return s&&(u.anchor=s.source.substring(1),u.anchor===""&&c(s,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),a&&(u.comment=a,u.range[2]=l),u}function Ait({options:r},{offset:e,source:t,end:n},i){let a=new Bc(t.substring(1));a.source===""&&i(e,"BAD_ALIAS","Alias cannot be an empty string"),a.source.endsWith(":")&&i(e+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let s=e+t.length,o=qc(n,s,r.strict,i);return a.range=[e,s,o.offset],o.comment&&(a.comment=o.comment),a}var _it,cEe=y(()=>{eC();tr();iEe();sEe();Wb();lEe();_it={composeNode:Oq,composeEmptyNode:HN}});function dEe(r,e,{offset:t,start:n,value:i,end:a},s){let o=Object.assign({_directives:e},r),l=new Hc(void 0,o),c={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},d=Vc(n,{indicator:"doc-start",next:i!=null?i:a==null?void 0:a[0],offset:t,onError:s,parentIndent:0,startOnNewline:!0});d.found&&(l.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!d.hasNewline&&s(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=i?Oq(c,i,d,s):HN(c,d.end,n,null,d,s);let u=l.contents.range[2],p=qc(a,u,!1,s);return p.comment&&(l.comment=p.comment),l.range=[t,u,p.offset],l}var uEe=y(()=>{gC();cEe();Wb();bC()});function kC(r){if(typeof r=="number")return[r,r+1];if(Array.isArray(r))return r.length===2?r:[r[0],r[1]];let{offset:e,source:t}=r;return[e,e+(typeof t=="string"?t.length:1)]}function pEe(r){var i;let e="",t=!1,n=!1;for(let a=0;a<r.length;++a){let s=r[a];switch(s[0]){case"#":e+=(e===""?"":n?`
`:`
`)+(s.substring(1)||" "),t=!0,n=!1;break;case"%":((i=r[a+1])==null?void 0:i[0])!=="#"&&(a+=1),t=!1;break;default:t||(n=!0),t=!1}}return{comment:e,afterEmptyLine:n}}var Wh,Lq=y(()=>{XV();gC();vC();tr();uEe();Wb();Wh=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(t,n,i,a)=>{let s=kC(t);a?this.warnings.push(new qb(s,n,i)):this.errors.push(new eo(s,n,i))},this.directives=new jc({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:i}=pEe(this.prelude);if(n){let a=e.contents;if(t)e.comment=e.comment?`${e.comment}
${n}`:n;else if(i||e.directives.docStart||!a)e.commentBefore=n;else if(ur(a)&&!a.flow&&a.items.length>0){let s=a.items[0];It(s)&&(s=s.key);let o=s.commentBefore;s.commentBefore=o?`${n}
${o}`:n}else{let s=a.commentBefore;a.commentBefore=s?`${n}
${s}`:n}}if(t){for(let a=0;a<this.errors.length;++a)e.errors.push(this.errors[a]);for(let a=0;a<this.warnings.length;++a)e.warnings.push(this.warnings[a])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:pEe(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let i of e)yield*this.next(i);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,i)=>{let a=kC(e);a[0]+=t,this.onError(a,"BAD_DIRECTIVE",n,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=dEe(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new eo(kC(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){let n="Unexpected doc-end without preceding document";this.errors.push(new eo(kC(e),"UNEXPECTED_TOKEN",n));break}this.doc.directives.docEnd=!0;let t=qc(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let n=this.doc.comment;this.doc.comment=n?`${n}
${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new eo(kC(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let n=Object.assign({_directives:this.directives},this.options),i=new Hc(void 0,n);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,t,t],this.decorate(i,!1),yield i}}}});function mEe(r,e=!0,t){if(r){let n=(i,a,s)=>{let o=typeof i=="number"?i:Array.isArray(i)?i[0]:i.offset;if(t)t(o,a,s);else throw new eo([o,o+1],a,s)};switch(r.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return UN(r,e,n);case"block-scalar":return BN({options:{strict:e}},r,n)}}return null}function fEe(r,e){var c;let{implicitKey:t=!1,indent:n,inFlow:i=!1,offset:a=-1,type:s="PLAIN"}=e,o=Mu({type:s,value:r},{implicitKey:t,indent:n>0?" ".repeat(n):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),l=(c=e.end)!=null?c:[{type:"newline",offset:-1,indent:n,source:`
`}];switch(o[0]){case"|":case">":{let d=o.indexOf(`
`),u=o.substring(0,d),p=o.substring(d+1)+`
`,m=[{type:"block-scalar-header",offset:a,indent:n,source:u}];return gEe(m,l)||m.push({type:"newline",offset:-1,indent:n,source:`
`}),{type:"block-scalar",offset:a,indent:n,props:m,source:p}}case'"':return{type:"double-quoted-scalar",offset:a,indent:n,source:o,end:l};case"'":return{type:"single-quoted-scalar",offset:a,indent:n,source:o,end:l};default:return{type:"scalar",offset:a,indent:n,source:o,end:l}}}function hEe(r,e,t={}){let{afterKey:n=!1,implicitKey:i=!1,inFlow:a=!1,type:s}=t,o="indent"in r?r.indent:null;if(n&&typeof o=="number"&&(o+=2),!s)switch(r.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{let c=r.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");s=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}let l=Mu({type:s,value:e},{implicitKey:i||o===null,indent:o!==null&&o>0?" ".repeat(o):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":Iit(r,l);break;case'"':Fq(r,l,"double-quoted-scalar");break;case"'":Fq(r,l,"single-quoted-scalar");break;default:Fq(r,l,"scalar")}}function Iit(r,e){let t=e.indexOf(`
`),n=e.substring(0,t),i=e.substring(t+1)+`
`;if(r.type==="block-scalar"){let a=r.props[0];if(a.type!=="block-scalar-header")throw new Error("Invalid block scalar header");a.source=n,r.source=i}else{let{offset:a}=r,s="indent"in r?r.indent:-1,o=[{type:"block-scalar-header",offset:a,indent:s,source:n}];gEe(o,"end"in r?r.end:void 0)||o.push({type:"newline",offset:-1,indent:s,source:`
`});for(let l of Object.keys(r))l!=="type"&&l!=="offset"&&delete r[l];Object.assign(r,{type:"block-scalar",indent:s,props:o,source:i})}}function gEe(r,e){if(e)for(let t of e)switch(t.type){case"space":case"comment":r.push(t);break;case"newline":return r.push(t),!0}return!1}function Fq(r,e,t){switch(r.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":r.type=t,r.source=e;break;case"block-scalar":{let n=r.props.slice(1),i=e.length;r.props[0].type==="block-scalar-header"&&(i-=r.props[0].source.length);for(let a of n)a.offset+=i;delete r.props,Object.assign(r,{type:t,source:e,end:n});break}case"block-map":case"block-seq":{let i={type:"newline",offset:r.offset+e.length,indent:r.indent,source:`
`};delete r.items,Object.assign(r,{type:t,source:e,end:[i]});break}default:{let n="indent"in r?r.indent:-1,i="end"in r&&Array.isArray(r.end)?r.end.filter(a=>a.type==="space"||a.type==="comment"||a.type==="newline"):[];for(let a of Object.keys(r))a!=="type"&&a!=="offset"&&delete r[a];Object.assign(r,{type:t,indent:n,source:e,end:i})}}}var yEe=y(()=>{Iq();Nq();vC();oC()});function qN(r){switch(r.type){case"block-scalar":{let e="";for(let t of r.props)e+=qN(t);return e+r.source}case"block-map":case"block-seq":{let e="";for(let t of r.items)e+=VN(t);return e}case"flow-collection":{let e=r.start.source;for(let t of r.items)e+=VN(t);for(let t of r.end)e+=t.source;return e}case"document":{let e=VN(r);if(r.end)for(let t of r.end)e+=t.source;return e}default:{let e=r.source;if("end"in r&&r.end)for(let t of r.end)e+=t.source;return e}}}function VN({start:r,key:e,sep:t,value:n}){let i="";for(let a of r)i+=a.source;if(e&&(i+=qN(e)),t)for(let a of t)i+=a.source;return n&&(i+=qN(n)),i}var vEe,bEe=y(()=>{vEe=r=>"type"in r?qN(r):VN(r)});function ym(r,e){"type"in r&&r.type==="document"&&(r={start:r.start,value:r.value}),kEe(Object.freeze([]),r,e)}function kEe(r,e,t){let n=t(e,r);if(typeof n=="symbol")return n;for(let i of["key","value"]){let a=e[i];if(a&&"items"in a){for(let s=0;s<a.items.length;++s){let o=kEe(Object.freeze(r.concat([[i,s]])),a.items[s],t);if(typeof o=="number")s=o-1;else{if(o===$q)return $q;o===TEe&&(a.items.splice(s,1),s-=1)}}typeof n=="function"&&i==="key"&&(n=n(e,r))}}return typeof n=="function"?n(e,r):n}var $q,Nit,TEe,wEe=y(()=>{$q=Symbol("break visit"),Nit=Symbol("skip children"),TEe=Symbol("remove item");ym.BREAK=$q;ym.SKIP=Nit;ym.REMOVE=TEe;ym.itemAtPath=(r,e)=>{let t=r;for(let[n,i]of e){let a=t==null?void 0:t[n];if(a&&"items"in a)t=a.items[i];else return}return t};ym.parentCollection=(r,e)=>{let t=ym.itemAtPath(r,e.slice(0,-1)),n=e[e.length-1][0],i=t==null?void 0:t[n];if(i&&"items"in i)return i;throw new Error("Parent collection not found")}});var jq={};et(jq,{BOM:()=>wC,DOCUMENT:()=>SC,FLOW_END:()=>EC,SCALAR:()=>Yb,createScalarToken:()=>fEe,isCollection:()=>Rit,isScalar:()=>Oit,prettyToken:()=>Lit,resolveAsScalar:()=>mEe,setScalarValue:()=>hEe,stringify:()=>vEe,tokenType:()=>zq,visit:()=>ym});function Lit(r){switch(r){case wC:return"<BOM>";case SC:return"<DOC>";case EC:return"<FLOW_END>";case Yb:return"<SCALAR>";default:return JSON.stringify(r)}}function zq(r){switch(r){case wC:return"byte-order-mark";case SC:return"doc-mode";case EC:return"flow-error-end";case Yb:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
`:case`\r
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(r[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}var wC,SC,EC,Yb,Rit,Oit,WN=y(()=>{yEe();bEe();wEe();wC="\uFEFF",SC="",EC="",Yb="",Rit=r=>!!r&&"items"in r,Oit=r=>!!r&&(r.type==="scalar"||r.type==="single-quoted-scalar"||r.type==="double-quoted-scalar"||r.type==="block-scalar")});function $l(r){switch(r){case void 0:case" ":case`
`:case"\r":case" ":return!0;default:return!1}}var SEe,Fit,YN,$it,Bq,Gb,Uq=y(()=>{WN();SEe=new Set("0123456789ABCDEFabcdef"),Fit=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),YN=new Set(",[]{}"),$it=new Set(` ,[]{}
\r `),Bq=r=>!r||$it.has(r),Gb=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){var i;if(e){if(typeof e!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=(i=this.next)!=null?i:"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===" "||t===" ";)t=this.buffer[++e];return!t||t==="#"||t===`
`?!0:t==="\r"?this.buffer[e+1]===`
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;t===" ";)t=this.buffer[++n+e];if(t==="\r"){let i=this.buffer[n+e+1];if(i===`
`||!i&&!this.atEnd)return e+n+1}return t===`
`||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if(t==="-"||t==="."){let n=this.buffer.substr(e,3);if((n==="---"||n==="...")&&$l(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===wC&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let t=e.length,n=e.indexOf("#");for(;n!==-1;){let a=e[n-1];if(a===" "||a===" "){t=n-1;break}else n=e.indexOf("#",n+1)}for(;;){let a=e[t-1];if(a===" "||a===" ")t-=1;else break}let i=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield SC,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let t=this.peek(3);if((t==="---"||t==="...")&&$l(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,t==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!$l(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&$l(t)){let n=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=n,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Bq),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let i=this.getLine();if(i===null)return this.setNext("flow");if((n!==-1&&n<this.indentNext&&i[0]!=="#"||n===0&&(i.startsWith("---")||i.startsWith("..."))&&$l(i[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield EC,yield*this.parseLineStart();let a=0;for(;i[a]===",";)a+=yield*this.pushCount(1),a+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(a+=yield*this.pushIndicators(),i[a]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-a),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Bq),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let s=this.charAt(1);if(this.flowKey||$l(s)||s===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;t!==-1&&this.buffer[t+1]==="'";)t=this.buffer.indexOf("'",t+2);else for(;t!==-1;){let a=0;for(;this.buffer[t-1-a]==="\\";)a+=1;if(a%2===0)break;t=this.buffer.indexOf('"',t+1)}let n=this.buffer.substring(0,t),i=n.indexOf(`
`,this.pos);if(i!==-1){for(;i!==-1;){let a=this.continueScalar(i+1);if(a===-1)break;i=n.indexOf(`
`,a)}i!==-1&&(t=i-(n[i-1]==="\r"?2:1))}if(t===-1){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if(t==="+")this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if(t!=="-")break}return yield*this.pushUntil(t=>$l(t)||t==="#")}*parseBlockScalar(){let e=this.pos-1,t=0,n;e:for(let a=this.pos;n=this.buffer[a];++a)switch(n){case" ":t+=1;break;case`
`:e=a,t=0;break;case"\r":{let s=this.buffer[a+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
`)break}default:break e}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let a=this.continueScalar(e+1);if(a===-1)break;e=this.buffer.indexOf(`
`,a)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let i=e+1;for(n=this.buffer[i];n===" ";)n=this.buffer[++i];if(n===" "){for(;n===" "||n===" "||n==="\r"||n===`
`;)n=this.buffer[++i];e=i-1}else if(!this.blockScalarKeep)do{let a=e-1,s=this.buffer[a];s==="\r"&&(s=this.buffer[--a]);let o=a;for(;s===" ";)s=this.buffer[--a];if(s===`
`&&a>=this.pos&&a+1+t>o)e=a;else break}while(!0);return yield Yb,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,t=this.pos-1,n=this.pos-1,i;for(;i=this.buffer[++n];)if(i===":"){let a=this.buffer[n+1];if($l(a)||e&&YN.has(a))break;t=n}else if($l(i)){let a=this.buffer[n+1];if(i==="\r"&&(a===`
`?(n+=1,i=`
`,a=this.buffer[n+1]):t=n),a==="#"||e&&YN.has(a))break;if(i===`
`){let s=this.continueScalar(n+1);if(s===-1)break;n=Math.max(n,s-2)}}else{if(e&&YN.has(i))break;t=n}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield Yb,yield*this.pushToIndex(t+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){let e=0;e:for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue e;case"&":e+=yield*this.pushUntil(Bq),e+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{let t=this.flowLevel>0,n=this.charAt(1);if($l(n)||t&&YN.has(n)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue e}}}break e}return e}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,t=this.buffer[e];for(;!$l(t)&&t!==">";)t=this.buffer[++e];return yield*this.pushToIndex(t===">"?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(Fit.has(t))t=this.buffer[++e];else if(t==="%"&&SEe.has(this.buffer[e+1])&&SEe.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
`?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,n;do n=this.buffer[++t];while(n===" "||e&&n===" ");let i=t-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=t),i}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}});var Kb,Hq=y(()=>{Kb=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let a=t+n>>1;this.lineStarts[a]<e?t=a+1:n=a}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};let i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}});function vm(r,e){for(let t=0;t<r.length;++t)if(r[t].type===e)return!0;return!1}function EEe(r){for(let e=0;e<r.length;++e)switch(r[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function CEe(r){switch(r==null?void 0:r.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function GN(r){var e;switch(r.type){case"document":return r.start;case"block-map":{let t=r.items[r.items.length-1];return(e=t.sep)!=null?e:t.start}case"block-seq":return r.items[r.items.length-1].start;default:return[]}}function Zb(r){var t;if(r.length===0)return[];let e=r.length;e:for(;--e>=0;)switch(r[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((t=r[++e])==null?void 0:t.type)==="space";);return r.splice(e,r.length)}function KN(r,e){if(e.length<1e5)Array.prototype.push.apply(r,e);else for(let t=0;t<e.length;++t)r.push(e[t])}function xEe(r){if(r.start.type==="flow-seq-start")for(let e of r.items)e.sep&&!e.value&&!vm(e.start,"explicit-key-ind")&&!vm(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,CEe(e.value)?e.value.end?KN(e.value.end,e.sep):e.value.end=e.sep:KN(e.start,e.sep),delete e.sep)}var Yh,Vq=y(()=>{WN();Uq();Yh=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Gb,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=zq(e);if(t)if(t==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let n=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:n,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if(this.type==="doc-end"&&(e==null?void 0:e.type)!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e!=null?e:this.stack.pop();if(!t)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield t;else{let n=this.peek(1);switch(t.type==="block-scalar"?t.indent="indent"in n?n.indent:0:t.type==="flow-collection"&&n.type==="document"&&(t.indent=0),t.type==="flow-collection"&&xEe(t),n.type){case"document":n.value=t;break;case"block-scalar":n.props.push(t);break;case"block-map":{let i=n.items[n.items.length-1];if(i.value){n.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=t;else{Object.assign(i,{key:t,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{let i=n.items[n.items.length-1];i.value?n.items.push({start:[],value:t}):i.value=t;break}case"flow-collection":{let i=n.items[n.items.length-1];!i||i.value?n.items.push({start:[],key:t,sep:[]}):i.sep?i.value=t:Object.assign(i,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((n.type==="document"||n.type==="block-map"||n.type==="block-seq")&&(t.type==="block-map"||t.type==="block-seq")){let i=t.items[t.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&EEe(i.start)===-1&&(t.indent===0||i.start.every(a=>a.type!=="comment"||a.indent<t.indent))&&(n.type==="document"?n.end=i.start:n.items.push({start:i.start}),t.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{EEe(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){let t=GN(this.peek(2)),n=Zb(t),i;e.end?(i=e.end,i.push(this.sourceToken),delete e.end):i=[this.sourceToken];let a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let t=this.source.indexOf(`
`)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
`,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){var n;let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let i="end"in t.value?t.value.end:void 0,a=Array.isArray(i)?i[i.length-1]:void 0;(a==null?void 0:a.type)==="comment"?i==null||i.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let i=e.items[e.items.length-2],a=(n=i==null?void 0:i.value)==null?void 0:n.end;if(Array.isArray(a)){KN(a,t.start),a.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let i=!this.onKeyLine&&this.indent===e.indent,a=i&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind",s=[];if(a&&t.sep&&!t.value){let o=[];for(let l=0;l<t.sep.length;++l){let c=t.sep[l];switch(c.type){case"newline":o.push(l);break;case"space":break;case"comment":c.indent>e.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(s=t.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":a||t.value?(s.push(this.sourceToken),e.items.push({start:s}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):a||t.value?(s.push(this.sourceToken),e.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(vm(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(CEe(t.key)&&!vm(t.sep,"newline")){let o=Zb(t.start),l=t.key,c=t.sep;c.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:l,sep:c}]})}else s.length>0?t.sep=t.sep.concat(s,this.sourceToken):t.sep.push(this.sourceToken);else if(vm(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let o=Zb(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||a?e.items.push({start:s,key:null,sep:[this.sourceToken]}):vm(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let o=this.flowScalar(this.type);a||t.value?(e.items.push({start:s,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{let o=this.startBlockValue(e);if(o){if(o.type==="block-seq"){if(!t.explicitKey&&t.sep&&!vm(t.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else i&&e.items.push({start:s});this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){var n;let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let i="end"in t.value?t.value.end:void 0,a=Array.isArray(i)?i[i.length-1]:void 0;(a==null?void 0:a.type)==="comment"?i==null||i.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let i=e.items[e.items.length-2],a=(n=i==null?void 0:i.value)==null?void 0:n.end;if(Array.isArray(a)){KN(a,t.start),a.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||vm(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let i=this.startBlockValue(e);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while((n==null?void 0:n.type)==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let i=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:i,sep:[]}):t.sep?this.stack.push(i):Object.assign(t,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){let i=GN(n),a=Zb(i);xEe(e);let s=e.end.splice(1,e.end.length);s.push(this.sourceToken);let o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:a,key:e,sep:s}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(`
`)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=GN(e),n=Zb(t);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=GN(e),n=Zb(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}});function DEe(r){let e=r.prettyErrors!==!1;return{lineCounter:r.lineCounter||e&&new Kb||null,prettyErrors:e}}function PEe(r,e={}){let{lineCounter:t,prettyErrors:n}=DEe(e),i=new Yh(t==null?void 0:t.addNewLine),a=new Wh(e),s=Array.from(a.compose(i.parse(r)));if(n&&t)for(let o of s)o.errors.forEach(yC(r,t)),o.warnings.forEach(yC(r,t));return s.length>0?s:Object.assign([],{empty:!0},a.streamInfo())}function qq(r,e={}){let{lineCounter:t,prettyErrors:n}=DEe(e),i=new Yh(t==null?void 0:t.addNewLine),a=new Wh(e),s=null;for(let o of a.compose(i.parse(r),!0,r.length))if(!s)s=o;else if(s.options.logLevel!=="silent"){s.errors.push(new eo(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&t&&(s.errors.forEach(yC(r,t)),s.warnings.forEach(yC(r,t))),s}function MEe(r,e,t){let n;typeof e=="function"?n=e:t===void 0&&e&&typeof e=="object"&&(t=e);let i=qq(r,t);if(!i)return null;if(i.warnings.forEach(a=>vN(i.options.logLevel,a)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},t))}function _Ee(r,e,t){var i;let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:t===void 0&&e&&(t=e),typeof t=="string"&&(t=t.length),typeof t=="number"){let a=Math.round(t);t=a<1?void 0:a>8?{indent:8}:{indent:a}}if(r===void 0){let{keepUndefined:a}=(i=t!=null?t:e)!=null?i:{};if(!a)return}return Fo(r)&&!n?r.toString(t):new Hc(r,n,t).toString(t)}var AEe=y(()=>{Lq();gC();vC();sq();tr();Hq();Vq()});var Wq={};et(Wq,{Alias:()=>Bc,CST:()=>jq,Composer:()=>Wh,Document:()=>Hc,Lexer:()=>Gb,LineCounter:()=>Kb,Pair:()=>Tn,Parser:()=>Yh,Scalar:()=>Pe,Schema:()=>Ub,YAMLError:()=>Vb,YAMLMap:()=>An,YAMLParseError:()=>eo,YAMLSeq:()=>$i,YAMLWarning:()=>qb,isAlias:()=>Lo,isCollection:()=>ur,isDocument:()=>Fo,isMap:()=>$o,isNode:()=>Ut,isPair:()=>It,isScalar:()=>pt,isSeq:()=>zo,parse:()=>MEe,parseAllDocuments:()=>PEe,parseDocument:()=>qq,stringify:()=>_Ee,visit:()=>Rl,visitAsync:()=>Jx});var Yq=y(()=>{Lq();gC();Cq();vC();eC();tr();um();Jn();mm();fm();WN();Uq();Hq();Vq();AEe();Xx()});var xC,ZN=y(()=>{Yq();Yq();xC=Wq});function QN(r,e){let t=zit(r),n=t.frontmatter?jit(t.frontmatter,e):{},i=Bit(t.body,e);return{frontmatter:n,body:i}}function zit(r){var t,n;let e=r.split(`
`);if(((t=e[0])==null?void 0:t.trim())==="---"){let i=-1;for(let a=1;a<e.length;a++)if(((n=e[a])==null?void 0:n.trim())==="---"){i=a;break}if(i>0){let s=e.slice(1,i).join(`
`),l=e.slice(i+1).join(`
`);return{frontmatter:s.trim()||null,body:l}}}return{frontmatter:null,body:r}}function jit(r,e){try{let t=Hit(Uit(r,e)),n=xC.parse(t);return typeof n!="object"||n===null?(IEe.warn("Template frontmatter did not parse to a valid object",{category:"validation",operation:"template-frontmatter-did-not-parse-valid-object"}),{}):n}catch(t){return IEe.error("Error processing template frontmatter:",{category:"validation",operation:"processing-template-frontmatter",error:t}),{}}}function Bit(r,e){return qit(r,e)}function Uit(r,e){var g;let t=r,n=new Date,i=e.title||"";t=Gh(t,"title",i),t=t.replace(/\{\{priority\}\}/g,e.priority||""),t=t.replace(/\{\{status\}\}/g,e.status||"");let a=Array.isArray(e.contexts)?e.contexts.join(", "):"";t=t.replace(/\{\{contexts\}\}/g,a);let s=Array.isArray(e.tags)?e.tags.join(", "):"";t=t.replace(/\{\{tags\}\}/g,s);let o=Array.isArray(e.tags)?e.tags.map(v=>`#${v}`).join(" "):"";t=t.replace(/\{\{hashtags\}\}/g,o),t=t.replace(/\{\{timeEstimate\}\}/g,((g=e.timeEstimate)==null?void 0:g.toString())||""),t=t.replace(/\{\{dueDate\}\}/g,e.dueDate||""),t=t.replace(/\{\{scheduledDate\}\}/g,e.scheduledDate||""),t=t.replace(/\{\{details\}\}/g,e.details||"");let l=e.parentNote||"";t=Gh(t,"parentNote",l,{alwaysQuote:!0}),t=t.replace(/\{\{date\}\}/g,P(n,"yyyy-MM-dd")),t=t.replace(/\{\{time\}\}/g,P(n,"HH:mm")),t=t.replace(/\{\{year\}\}/g,P(n,"yyyy")),t=t.replace(/\{\{month\}\}/g,P(n,"MM")),t=t.replace(/\{\{day\}\}/g,P(n,"dd")),t=t.replace(/\{\{hour\}\}/g,P(n,"HH")),t=t.replace(/\{\{minute\}\}/g,P(n,"mm")),t=t.replace(/\{\{second\}\}/g,P(n,"ss")),t=t.replace(/\{\{timestamp\}\}/g,P(n,"yyyy-MM-dd-HHmmss")),t=t.replace(/\{\{dateTime\}\}/g,P(n,"yyyy-MM-dd-HHmm")),t=t.replace(/\{\{shortDate\}\}/g,P(n,"yyMMdd")),t=t.replace(/\{\{shortYear\}\}/g,P(n,"yy")),t=t.replace(/\{\{monthName\}\}/g,P(n,"MMMM")),t=t.replace(/\{\{monthNameShort\}\}/g,P(n,"MMM")),t=t.replace(/\{\{dayName\}\}/g,P(n,"EEEE")),t=t.replace(/\{\{dayNameShort\}\}/g,P(n,"EEE")),t=t.replace(/\{\{week\}\}/g,P(n,"ww")),t=t.replace(/\{\{quarter\}\}/g,P(n,"q")),t=t.replace(/\{\{time12\}\}/g,P(n,"hh:mm a")),t=t.replace(/\{\{time24\}\}/g,P(n,"HH:mm")),t=t.replace(/\{\{hourPadded\}\}/g,P(n,"HH")),t=t.replace(/\{\{hour12\}\}/g,P(n,"hh")),t=t.replace(/\{\{ampm\}\}/g,P(n,"a")),t=t.replace(/\{\{unix\}\}/g,Math.floor(n.getTime()/1e3).toString()),t=t.replace(/\{\{unixMs\}\}/g,n.getTime().toString()),t=t.replace(/\{\{milliseconds\}\}/g,P(n,"SSS")),t=t.replace(/\{\{ms\}\}/g,P(n,"SSS")),t=t.replace(/\{\{timezone\}\}/g,P(n,"xxx")),t=t.replace(/\{\{timezoneShort\}\}/g,P(n,"xx")),t=t.replace(/\{\{utcOffset\}\}/g,P(n,"xxx")),t=t.replace(/\{\{utcOffsetShort\}\}/g,P(n,"xx")),t=t.replace(/\{\{utcZ\}\}/g,"Z");let c=P(n,"yyMMdd"),d=new Date(n);d.setHours(0,0,0,0);let u=Math.floor((n.getTime()-d.getTime())/1e3),p=`${c}${u.toString(36)}`;t=t.replace(/\{\{zettel\}\}/g,p),t=t.replace(/\{\{nano\}\}/g,Date.now().toString()+Math.random().toString(36).substring(2,7));let m=e.priority||"",f=e.status||"";t=t.replace(/\{\{priorityShort\}\}/g,m.substring(0,1).toUpperCase()),t=t.replace(/\{\{statusShort\}\}/g,f.substring(0,1).toUpperCase());let h=e.title||"";if(t=t.replace(/\{\{titleLower\}\}/g,h.toLowerCase()),t=t.replace(/\{\{titleUpper\}\}/g,h.toUpperCase()),t=t.replace(/\{\{titleSnake\}\}/g,h.toLowerCase().replace(/\s+/g,"_")),t=t.replace(/\{\{titleKebab\}\}/g,h.toLowerCase().replace(/\s+/g,"-")),t=t.replace(/\{\{titleCamel\}\}/g,h.replace(/(?:^\w|[A-Z]|\b\w)/g,(v,k)=>k===0?v.toLowerCase():v.toUpperCase()).replace(/\s+/g,"")),t=t.replace(/\{\{titlePascal\}\}/g,h.replace(/(?:^\w|[A-Z]|\b\w)/g,v=>v.toUpperCase()).replace(/\s+/g,"")),"icsEventTitle"in e){let v=e,k=v.icsEventTitle||"";t=Gh(t,"icsEventTitle",k),t=t.replace(/\{\{icsEventStart\}\}/g,v.icsEventStart||""),t=t.replace(/\{\{icsEventEnd\}\}/g,v.icsEventEnd||"");let b=v.icsEventLocation||"";t=Gh(t,"icsEventLocation",b);let w=v.icsEventDescription||"";t=Gh(t,"icsEventDescription",w),t=t.replace(/\{\{icsEventUrl\}\}/g,v.icsEventUrl||"");let S=v.icsEventSubscription||"";t=Gh(t,"icsEventSubscription",S);let x=v.icsEventId||"";t=Gh(t,"icsEventId",x,{alwaysQuote:!0})}return t}function Gh(r,e,t,n={}){let i=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=new RegExp(`(["'])\\{\\{${i}\\}\\}\\1`,"g"),s=t||"",o=r.replace(a,(d,u)=>{let p=u==="'"?s.replace(/'/g,"''"):Gq(s);return`${u}${p}${u}`}),l=s&&(n.alwaysQuote||Vit(s))?`"${Gq(s)}"`:s,c=new RegExp(`\\{\\{${i}\\}\\}`,"g");return o=o.replace(c,l),o}function Hit(r){return r.replace(/^(\s*[^#\n][^:\n]*:\s*)(<%.*?%>)(\s*)$/gm,(e,t,n,i)=>`${t}"${Gq(n)}"${i}`)}function Vit(r){if(!r)return!1;let e=/[[\]{}:>|*&!%#`@,]/,t=/^[-?]/,n=/^\d+\.?\d*$/,i=/^(true|false|yes|no|on|off)$/i;return e.test(r)||t.test(r)||n.test(r)||i.test(r)}function Gq(r){return r?r.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):""}function qit(r,e){var f;let t=r,n=new Date;t=t.replace(/\{\{title\}\}/g,e.title||""),t=t.replace(/\{\{priority\}\}/g,e.priority||""),t=t.replace(/\{\{status\}\}/g,e.status||"");let i=Array.isArray(e.contexts)?e.contexts.join(", "):"";t=t.replace(/\{\{contexts\}\}/g,i);let a=Array.isArray(e.tags)?e.tags.join(", "):"";t=t.replace(/\{\{tags\}\}/g,a);let s=Array.isArray(e.tags)?e.tags.map(h=>`#${h}`).join(" "):"";t=t.replace(/\{\{hashtags\}\}/g,s),t=t.replace(/\{\{timeEstimate\}\}/g,((f=e.timeEstimate)==null?void 0:f.toString())||""),t=t.replace(/\{\{dueDate\}\}/g,e.dueDate||""),t=t.replace(/\{\{scheduledDate\}\}/g,e.scheduledDate||""),t=t.replace(/\{\{details\}\}/g,e.details||""),t=t.replace(/\{\{parentNote\}\}/g,e.parentNote||""),t=t.replace(/\{\{date\}\}/g,P(n,"yyyy-MM-dd")),t=t.replace(/\{\{time\}\}/g,P(n,"HH:mm")),t=t.replace(/\{\{year\}\}/g,P(n,"yyyy")),t=t.replace(/\{\{month\}\}/g,P(n,"MM")),t=t.replace(/\{\{day\}\}/g,P(n,"dd")),t=t.replace(/\{\{hour\}\}/g,P(n,"HH")),t=t.replace(/\{\{minute\}\}/g,P(n,"mm")),t=t.replace(/\{\{second\}\}/g,P(n,"ss")),t=t.replace(/\{\{timestamp\}\}/g,P(n,"yyyy-MM-dd-HHmmss")),t=t.replace(/\{\{dateTime\}\}/g,P(n,"yyyy-MM-dd-HHmm")),t=t.replace(/\{\{shortDate\}\}/g,P(n,"yyMMdd")),t=t.replace(/\{\{shortYear\}\}/g,P(n,"yy")),t=t.replace(/\{\{monthName\}\}/g,P(n,"MMMM")),t=t.replace(/\{\{monthNameShort\}\}/g,P(n,"MMM")),t=t.replace(/\{\{dayName\}\}/g,P(n,"EEEE")),t=t.replace(/\{\{dayNameShort\}\}/g,P(n,"EEE")),t=t.replace(/\{\{week\}\}/g,P(n,"ww")),t=t.replace(/\{\{quarter\}\}/g,P(n,"q")),t=t.replace(/\{\{time12\}\}/g,P(n,"hh:mm a")),t=t.replace(/\{\{time24\}\}/g,P(n,"HH:mm")),t=t.replace(/\{\{hourPadded\}\}/g,P(n,"HH")),t=t.replace(/\{\{hour12\}\}/g,P(n,"hh")),t=t.replace(/\{\{ampm\}\}/g,P(n,"a")),t=t.replace(/\{\{unix\}\}/g,Math.floor(n.getTime()/1e3).toString()),t=t.replace(/\{\{unixMs\}\}/g,n.getTime().toString()),t=t.replace(/\{\{milliseconds\}\}/g,P(n,"SSS")),t=t.replace(/\{\{ms\}\}/g,P(n,"SSS")),t=t.replace(/\{\{timezone\}\}/g,P(n,"xxx")),t=t.replace(/\{\{timezoneShort\}\}/g,P(n,"xx")),t=t.replace(/\{\{utcOffset\}\}/g,P(n,"xxx")),t=t.replace(/\{\{utcOffsetShort\}\}/g,P(n,"xx")),t=t.replace(/\{\{utcZ\}\}/g,"Z");let o=P(n,"yyMMdd"),l=new Date(n);l.setHours(0,0,0,0);let c=Math.floor((n.getTime()-l.getTime())/1e3),d=`${o}${c.toString(36)}`;t=t.replace(/\{\{zettel\}\}/g,d),t=t.replace(/\{\{nano\}\}/g,Date.now().toString()+Math.random().toString(36).substring(2,7));let u=e.priority||"",p=e.status||"";t=t.replace(/\{\{priorityShort\}\}/g,u.substring(0,1).toUpperCase()),t=t.replace(/\{\{statusShort\}\}/g,p.substring(0,1).toUpperCase());let m=e.title||"";if(t=t.replace(/\{\{titleLower\}\}/g,m.toLowerCase()),t=t.replace(/\{\{titleUpper\}\}/g,m.toUpperCase()),t=t.replace(/\{\{titleSnake\}\}/g,m.toLowerCase().replace(/\s+/g,"_")),t=t.replace(/\{\{titleKebab\}\}/g,m.toLowerCase().replace(/\s+/g,"-")),t=t.replace(/\{\{titleCamel\}\}/g,m.replace(/(?:^\w|[A-Z]|\b\w)/g,(h,g)=>g===0?h.toLowerCase():h.toUpperCase()).replace(/\s+/g,"")),t=t.replace(/\{\{titlePascal\}\}/g,m.replace(/(?:^\w|[A-Z]|\b\w)/g,h=>h.toUpperCase()).replace(/\s+/g,"")),"icsEventTitle"in e){let h=e;t=t.replace(/\{\{icsEventTitle\}\}/g,h.icsEventTitle||""),t=t.replace(/\{\{icsEventStart\}\}/g,h.icsEventStart||""),t=t.replace(/\{\{icsEventEnd\}\}/g,h.icsEventEnd||""),t=t.replace(/\{\{icsEventLocation\}\}/g,h.icsEventLocation||""),t=t.replace(/\{\{icsEventDescription\}\}/g,h.icsEventDescription||""),t=t.replace(/\{\{icsEventUrl\}\}/g,h.icsEventUrl||""),t=t.replace(/\{\{icsEventSubscription\}\}/g,h.icsEventSubscription||""),t=t.replace(/\{\{icsEventId\}\}/g,h.icsEventId||"")}return t}function NEe(r,e){return{...e,...r}}var IEe,JN=y(()=>{Br();ZN();G();IEe=I({tag:"Utils/TemplateProcessor"})});function Kit(r,e){return r.replace(Git,t=>P(e,Yit[t]))}function Zit(r){return r.replace(/\\/g,"/").split("/").some(e=>e==="."||e==="..")}function Qit(r){let e=r.replace(/\\/g,"/"),t=e.endsWith("/"),n=[];for(let a of e.split("/"))if(!(!a||a===".")){if(a===".."){n.pop();continue}n.push(a)}let i=n.join("/");return t&&i?`${i}/`:i}function XN(r){return r.replace(/\.md$/i,"")}function Jit(r){let e=r.trim();if(!e)return"";if(e.startsWith("[[")&&e.endsWith("]]")){let n=e.slice(2,-2).trim(),i=n.indexOf("|"),a=i!==-1?n.slice(0,i):n;return XN(a.trim())}let t=e.match(/^\[[^\]]*\]\(([^)]+)\)$/);if(t){let n=t[1].trim();n.startsWith("<")&&n.endsWith(">")&&(n=n.slice(1,-1).trim());try{n=decodeURIComponent(n)}catch(i){Wit.debug("Failed to decode project path:",{category:"persistence",operation:"decode-project-path",details:{value:n},error:i})}return XN(n)}return XN(e)}function Xit(r){return XN(r.trim()).replace(/\\/g,"/").split("/").filter(t=>t.length>0).map(t=>t.replace(/[<>:"|?*]/g,"_")).join("/")}function REe(r,e){let t=e?e(r):Jit(r);return Xit(t)}function eR(r,e={}){if(!r)return r;let{date:t=new Date,taskData:n,icsData:i,extractProjectBasename:a,extractProjectFilePath:s}=e,o=r,l=Zit(r);if(o=Kit(o,t),n){let u=Array.isArray(n.contexts)&&n.contexts.length>0?n.contexts[0]:"";o=o.replace(/\{\{context\}\}/g,u);let p=Array.isArray(n.projects)&&n.projects.length>0?a?a(n.projects[0]):n.projects[0]:"";o=o.replace(/\{\{project\}\}/g,p);let m=Array.isArray(n.projects)&&n.projects.length>0?n.projects.map(z=>a?a(z):z).join("/"):"";o=o.replace(/\{\{projects\}\}/g,m);let f=Array.isArray(n.projects)&&n.projects.length>0?REe(n.projects[0],s):"";o=o.replace(/\{\{projectFilePath\}\}/g,f);let h=Array.isArray(n.projects)&&n.projects.length>0?n.projects.map(z=>REe(z,s)).filter(z=>z.length>0).join("/"):"";o=o.replace(/\{\{projectFilePaths\}\}/g,h);let g=Array.isArray(n.contexts)&&n.contexts.length>0?n.contexts.join("/"):"";o=o.replace(/\{\{contexts\}\}/g,g);let v=n.priority||"";o=o.replace(/\{\{priority\}\}/g,v);let k=n.status||"";o=o.replace(/\{\{status\}\}/g,k);let b=n.title?n.title.replace(/[<>:"/\\|?*]/g,"_"):"";o=o.replace(/\{\{title\}\}/g,b);let w=n.due||"";o=o.replace(/\{\{dueDate\}\}/g,w);let S=n.scheduled||"";o=o.replace(/\{\{scheduledDate\}\}/g,S);let x=v?v.substring(0,1).toUpperCase():"";o=o.replace(/\{\{priorityShort\}\}/g,x);let C=k?k.substring(0,1).toUpperCase():"";o=o.replace(/\{\{statusShort\}\}/g,C);let D=b?b.toLowerCase():"";o=o.replace(/\{\{titleLower\}\}/g,D);let _=b?b.toUpperCase():"";o=o.replace(/\{\{titleUpper\}\}/g,_);let O=b?b.toLowerCase().replace(/\s+/g,"_"):"";o=o.replace(/\{\{titleSnake\}\}/g,O);let L=b?b.toLowerCase().replace(/\s+/g,"-"):"";o=o.replace(/\{\{titleKebab\}\}/g,L);let N=b?b.replace(/(?:^\w|[A-Z]|\b\w)/g,(z,H)=>H===0?z.toLowerCase():z.toUpperCase()).replace(/\s+/g,""):"";o=o.replace(/\{\{titleCamel\}\}/g,N);let R=b?b.replace(/(?:^\w|[A-Z]|\b\w)/g,z=>z.toUpperCase()).replace(/\s+/g,""):"";o=o.replace(/\{\{titlePascal\}\}/g,R)}if(i){let u=i.title?i.title.replace(/[<>:"/\\|?*]/g,"_"):"";o=o.replace(/\{\{icsEventTitle\}\}/g,u);let p=u?u.toLowerCase():"";o=o.replace(/\{\{icsEventTitleLower\}\}/g,p);let m=u?u.toUpperCase():"";o=o.replace(/\{\{icsEventTitleUpper\}\}/g,m);let f=u?u.toLowerCase().replace(/\s+/g,"_"):"";o=o.replace(/\{\{icsEventTitleSnake\}\}/g,f);let h=u?u.toLowerCase().replace(/\s+/g,"-"):"";o=o.replace(/\{\{icsEventTitleKebab\}\}/g,h);let g=u?u.replace(/(?:^\w|[A-Z]|\b\w)/g,(w,S)=>S===0?w.toLowerCase():w.toUpperCase()).replace(/\s+/g,""):"";o=o.replace(/\{\{icsEventTitleCamel\}\}/g,g);let v=u?u.replace(/(?:^\w|[A-Z]|\b\w)/g,w=>w.toUpperCase()).replace(/\s+/g,""):"";o=o.replace(/\{\{icsEventTitlePascal\}\}/g,v);let k=i.location?i.location.replace(/[<>:"/\\|?*]/g,"_"):"";o=o.replace(/\{\{icsEventLocation\}\}/g,k);let b=i.description?i.description.replace(/[<>:"/\\|?*]/g,"_"):"";o=o.replace(/\{\{icsEventDescription\}\}/g,b)}o=o.replace(/\{\{year\}\}/g,P(t,"yyyy")),o=o.replace(/\{\{month\}\}/g,P(t,"MM")),o=o.replace(/\{\{day\}\}/g,P(t,"dd")),o=o.replace(/\{\{date\}\}/g,P(t,"yyyy-MM-dd")),o=o.replace(/\{\{time\}\}/g,P(t,"HHmmss")),o=o.replace(/\{\{timestamp\}\}/g,P(t,"yyyy-MM-dd-HHmmss")),o=o.replace(/\{\{dateTime\}\}/g,P(t,"yyyy-MM-dd-HHmm")),o=o.replace(/\{\{hour\}\}/g,P(t,"HH")),o=o.replace(/\{\{minute\}\}/g,P(t,"mm")),o=o.replace(/\{\{second\}\}/g,P(t,"ss")),o=o.replace(/\{\{shortDate\}\}/g,P(t,"yyMMdd")),o=o.replace(/\{\{shortYear\}\}/g,P(t,"yy")),o=o.replace(/\{\{monthName\}\}/g,P(t,"MMMM")),o=o.replace(/\{\{monthNameShort\}\}/g,P(t,"MMM")),o=o.replace(/\{\{dayName\}\}/g,P(t,"EEEE")),o=o.replace(/\{\{dayNameShort\}\}/g,P(t,"EEE")),o=o.replace(/\{\{week\}\}/g,P(t,"ww")),o=o.replace(/\{\{quarter\}\}/g,P(t,"q")),o=o.replace(/\{\{time12\}\}/g,P(t,"hh:mm a")),o=o.replace(/\{\{time24\}\}/g,P(t,"HH:mm")),o=o.replace(/\{\{hourPadded\}\}/g,P(t,"HH")),o=o.replace(/\{\{hour12\}\}/g,P(t,"hh")),o=o.replace(/\{\{ampm\}\}/g,P(t,"a")),o=o.replace(/\{\{unix\}\}/g,Math.floor(t.getTime()/1e3).toString()),o=o.replace(/\{\{unixMs\}\}/g,t.getTime().toString()),o=o.replace(/\{\{milliseconds\}\}/g,P(t,"SSS")),o=o.replace(/\{\{ms\}\}/g,P(t,"SSS")),o=o.replace(/\{\{timezone\}\}/g,P(t,"xxx")),o=o.replace(/\{\{timezoneShort\}\}/g,P(t,"xx")),o=o.replace(/\{\{utcOffset\}\}/g,P(t,"xxx")),o=o.replace(/\{\{utcOffsetShort\}\}/g,P(t,"xx")),o=o.replace(/\{\{utcZ\}\}/g,"Z");let c=(()=>{let u=P(t,"yyMMdd"),p=new Date(t);p.setHours(0,0,0,0);let f=Math.floor((t.getTime()-p.getTime())/1e3).toString(36);return`${u}${f}`})();o=o.replace(/\{\{zettel\}\}/g,c);let d=Date.now().toString()+Math.random().toString(36).substring(2,7);return o=o.replace(/\{\{nano\}\}/g,d),l?Qit(o):o}var Wit,Yit,Git,Kq=y(()=>{Br();G();Wit=I({tag:"Utils/FolderTemplateProcessor"}),Yit={YYYY:"yyyy",YY:"yy",MMMM:"MMMM",MMM:"MMM",MM:"MM",DD:"dd",dddd:"EEEE",ddd:"EEE"},Git=/YYYY|MMMM|dddd|MMM|ddd|YY|MM|DD/g});var OEe,tR,rR,LEe=y(()=>{OEe=require("obsidian");Ur();yv();Eb();Ct();Ne();gr();JN();iv();G();tR=I({tag:"Services/TaskService/TaskCreationService"}),rR=class{constructor(e){this.deps=e}setWebhookNotifier(e){this.deps.webhookNotifier=e}async createTask(e,t={}){var a;let{applyDefaults:n=!0}=t,{runtime:i}=this.deps;try{if(n&&(e=await this.deps.applyTaskCreationDefaults(e)),!e.title||!e.title.trim())throw new Error("Title is required");let s=e.title.trim(),o=this.deps.sanitizeTitleForStorage(s),l=i.settings.storeTitleInFilename?this.deps.sanitizeTitleForFilename(s):o,c=e.priority||i.settings.defaultTaskPriority,d=e.status||i.settings.defaultTaskStatus,u=e.dateCreated||Ye(),p=e.dateModified||Ye(),m=e.contexts||[],f=e.projects||[],h=dc(e.tags||[]);if(i.settings.taskIdentificationMethod==="tag"){let se=(a=dc(i.settings.taskTag)[0])!=null?a:i.settings.taskTag;se&&!h.includes(se)&&(h=[se,...h])}let g={title:l,priority:c,status:d,date:new Date,dueDate:e.due,scheduledDate:e.scheduled,contexts:m,projects:f,tags:h,timeEstimate:e.timeEstimate,details:e.details,parentNote:e.parentNote},v=ewe(g,i.settings),k=await this.resolveTargetFolder(e);k&&await Ap(i.app.vault,k);let b=await Sb(v,k,i.app.vault),w=k?`${k}/${b}.md`:`${b}.md`,S={title:o,status:d,priority:c,due:e.due||void 0,scheduled:e.scheduled||void 0,contexts:m.length>0?m:void 0,projects:f.length>0?f:void 0,timeEstimate:e.timeEstimate&&e.timeEstimate>0?e.timeEstimate:void 0,dateCreated:u,dateModified:p,recurrence:e.recurrence||void 0,recurrence_anchor:e.recurrence_anchor||void 0,recurrence_parent:e.recurrence_parent||void 0,occurrence_date:e.occurrence_date||void 0,occurrence_materialization:e.occurrence_materialization||void 0,occurrence_next_trigger:e.occurrence_next_trigger||void 0,occurrence_template:e.occurrence_template||void 0,occurrence_past_horizon:e.occurrence_past_horizon||void 0,occurrence_future_horizon:e.occurrence_future_horizon||void 0,reminders:e.reminders&&e.reminders.length>0?e.reminders:void 0,customProperties:e.customProperties||void 0,icsEventId:e.icsEventId||void 0,blockedBy:e.blockedBy&&e.blockedBy.length>0?e.blockedBy:void 0},x=i.fieldMapper.getUserFields();if(x.length>0){let se=e,J=S;for(let te of x)Object.prototype.hasOwnProperty.call(se,te.key)&&se[te.key]!==void 0&&(J[te.key]=se[te.key])}if(S.recurrence&&typeof S.recurrence=="string"&&!S.recurrence.includes("DTSTART:")){let se={...S,title:o,status:d,priority:c,path:"",archived:!1},J=Xf(se);J&&(S.recurrence=J)}let D=i.settings.taskIdentificationMethod==="tag"?i.settings.taskTag:void 0,_=i.fieldMapper.mapToFrontmatter(S,D,i.settings.storeTitleInFilename);if(i.settings.taskIdentificationMethod==="property"){let se=i.settings.taskPropertyName,J=i.settings.taskPropertyValue;se&&J&&nv(_,se,J),h.length>0&&(_.tags=h)}else _.tags=h;let O=await this.deps.applyTemplate(e),L=O.body?O.body.replace(/\r\n/g,`
`).trimEnd():e.details?e.details.replace(/\r\n/g,`
`).trimEnd():"",N=NEe(_,O.frontmatter);e.customFrontmatter&&(N={...N,...e.customFrontmatter}),i.settings.storeTitleInFilename&&delete N[i.fieldMapper.toUserField("title")],i.settings.taskIdentificationMethod==="property"&&nv(N,i.settings.taskPropertyName,i.settings.taskPropertyValue),h=dc(N.tags);let z=`---
${(0,OEe.stringifyYaml)(N)}---
`;L.length>0&&(z+=`${L}
`);let H=await i.app.vault.create(w,z),Y={...S,...N,title:Z(N.title||S.title||o),status:Z(N.status||S.status||d),priority:Z(N.priority||S.priority||c),path:H.path,tags:h,archived:!1,details:L};try{i.cacheManager.waitForFreshTaskData&&await i.cacheManager.waitForFreshTaskData(H),i.cacheManager.updateTaskInfoInCache(H.path,Y)}catch(se){tR.error("Error updating cache for new task:",{category:"stale-data",operation:"updating-cache-new-task",error:se})}if(i.emitter.trigger(nt,{path:H.path,updatedTask:Y}),this.deps.webhookNotifier)try{await this.deps.webhookNotifier.triggerWebhook("task.created",{task:Y})}catch(se){tR.warn("Failed to trigger webhook for task creation:",{category:"provider",operation:"trigger-webhook-task-creation",error:se})}return i.taskCalendarSyncService&&i.settings.googleCalendarExport.syncOnTaskCreate&&i.taskCalendarSyncService.syncTaskToCalendar(Y).catch(se=>{tR.warn("Failed to sync task to Google Calendar:",{category:"provider",operation:"sync-task-google-calendar",error:se})}),{file:H,taskInfo:Y}}catch(s){let o=s instanceof Error?s.message:String(s);throw tR.error("Error creating task:",{category:"persistence",operation:"creating-task",details:{stack:s instanceof Error?s.stack:void 0,taskData:e},error:o}),new Error(`Failed to create task: ${o}`)}}resolveCurrentNoteFolderVariables(e){var n;if(!e.includes("{{currentNotePath}}")&&!e.includes("{{currentNoteTitle}}"))return e;let t=this.deps.runtime.app.workspace.getActiveFile();return e.replace(/\{\{currentNotePath\}\}/g,((n=t==null?void 0:t.parent)==null?void 0:n.path)||"").replace(/\{\{currentNoteTitle\}\}/g,(t==null?void 0:t.basename)||"")}async resolveTargetFolder(e){let{runtime:t}=this.deps,n="";if(e.creationContext==="inline-conversion"||e.creationContext==="modal-inline-creation"){let a=t.settings.inlineTaskConvertFolder||"";if(a.trim())return n=this.resolveCurrentNoteFolderVariables(a),this.deps.processFolderTemplate(n,e);let s=this.resolveCurrentNoteFolderVariables(t.settings.tasksFolder||"");return this.deps.processFolderTemplate(s,e)}let i=this.resolveCurrentNoteFolderVariables(t.settings.tasksFolder||"");return this.deps.processFolderTemplate(i,e)}}});function Zq(r){return!!(r.googleCalendarEventId||r.googleCalendarExceptionEventId||r.googleCalendarExceptionOriginalScheduled||r.googleCalendarMovedOriginalDates&&r.googleCalendarMovedOriginalDates.length>0)&&!!r.recurrence&&(r.recurrence_anchor||"scheduled")==="scheduled"}function eat(r){let e=r.googleCalendarExceptionOriginalScheduled||r.scheduled||r.due;return ke(e||"")||void 0}function nR(r,e,t){if(!Zq(r)||e===r.scheduled)return;let n=eat(r);if(!n)return;let i=typeof e=="string"?ke(e):"";t.googleCalendarExceptionOriginalScheduled=i&&i!==n?n:void 0}function Kh(r){Zq(r)||(r.googleCalendarExceptionOriginalScheduled=void 0,r.googleCalendarMovedOriginalDates=void 0)}function Qq(r,e,t){if(!Zq(r))return;let n=ke(r.googleCalendarExceptionOriginalScheduled||"");if(!n)return;let i=ke(r.scheduled||"");!i||e!==i||(t.googleCalendarMovedOriginalDates=Array.from(new Set([...r.googleCalendarMovedOriginalDates||[],n])).sort(),t.googleCalendarExceptionOriginalScheduled=void 0)}var iR=y(()=>{Ne()});function FEe(r){return Array.isArray(r.timeEntries)?{...r,timeEntries:r.timeEntries.map(tat)}:{...r}}function tat(r){let e={...r};return delete e.duration,e}function $Ee(r){return Object.prototype.hasOwnProperty.call(r,"details")?typeof r.details=="string"?r.details.replace(/\r\n/g,`
`):"":null}function zEe({originalTask:r,updates:e,maintainDueDateOffsetInRecurring:t,updateToNextScheduledOccurrenceFn:n=ih,addDTSTARTToRecurrenceRuleFn:i=Xf}){let a={};if(e.recurrence!==void 0&&e.recurrence!==r.recurrence){let o={...r,...e},l=n(o,t);if(l.scheduled&&(a.scheduled=l.scheduled),l.due&&(a.due=l.due),typeof e.recurrence=="string"&&e.recurrence&&!e.recurrence.includes("DTSTART:")){let c={...r,...e,...a},d=i(c);d&&(a.recurrence=d)}}else if(e.recurrence!==void 0&&!r.recurrence&&e.recurrence&&typeof e.recurrence=="string"&&!e.recurrence.includes("DTSTART:")){let o={...r,...e},l=i(o);l&&(a.recurrence=l)}if(e.scheduled!==void 0&&e.scheduled!==r.scheduled&&r.recurrence&&typeof r.recurrence=="string"&&!r.recurrence.includes("DTSTART:")){let o={...r,...e},l=i(o);l&&(a.recurrence=l)}if(Object.prototype.hasOwnProperty.call(e,"scheduled")){let o={...r,...e,...a};nR(r,e.scheduled,o),a.googleCalendarExceptionOriginalScheduled=o.googleCalendarExceptionOriginalScheduled}let s={...r,...e,...a};return Kh(s),a.googleCalendarExceptionOriginalScheduled=s.googleCalendarExceptionOriginalScheduled,a.googleCalendarMovedOriginalDates=s.googleCalendarMovedOriginalDates,a}function jEe({frontmatter:r,originalTask:e,updates:t,recurrenceUpdates:n,dateModified:i,fieldMapper:a,taskIdentification:s,storeTitleInFilename:o,updateCompletedDateInFrontmatter:l}){let c={...e,...t,...n,dateModified:i},d=a.mapToFrontmatter(c,s.method==="tag"?s.tag:void 0,o);if(Object.entries(d).forEach(([u,p])=>{p!==void 0&&(r[u]=p)}),t.status!==void 0&&l(r,t.status,!!e.recurrence),s.method==="property"&&rat(r,s),t.customFrontmatter&&Object.entries(t.customFrontmatter).forEach(([u,p])=>{p===null?delete r[u]:r[u]=p}),nat(r,{...t,...n},a),o&&delete r[a.toUserField("title")],Object.prototype.hasOwnProperty.call(t,"tags")){let u=dc(t.tags);u.length>0?r.tags=u:delete r.tags}return s.method==="property"&&nv(r,s.propertyName,s.propertyValue),{finalTags:dc(r.tags)}}function rat(r,e){e.propertyName&&e.propertyValue&&nv(r,e.propertyName,e.propertyValue)}function nat(r,e,t){if(Object.prototype.hasOwnProperty.call(e,"due")&&e.due===void 0&&delete r[t.toUserField("due")],Object.prototype.hasOwnProperty.call(e,"scheduled")&&e.scheduled===void 0&&delete r[t.toUserField("scheduled")],Object.prototype.hasOwnProperty.call(e,"contexts")&&e.contexts===void 0&&delete r[t.toUserField("contexts")],Object.prototype.hasOwnProperty.call(e,"projects")){let n=t.toUserField("projects"),i=Array.isArray(e.projects)?e.projects:[];i.length>0?r[n]=i:delete r[n]}Object.prototype.hasOwnProperty.call(e,"timeEstimate")&&e.timeEstimate===void 0&&delete r[t.toUserField("timeEstimate")],Object.prototype.hasOwnProperty.call(e,"completedDate")&&e.completedDate===void 0&&delete r[t.toUserField("completedDate")],Object.prototype.hasOwnProperty.call(e,"recurrence")&&e.recurrence===void 0&&delete r[t.toUserField("recurrence")],Object.prototype.hasOwnProperty.call(e,"googleCalendarExceptionOriginalScheduled")&&e.googleCalendarExceptionOriginalScheduled===void 0&&delete r[t.toUserField("googleCalendarExceptionOriginalScheduled")],Object.prototype.hasOwnProperty.call(e,"googleCalendarMovedOriginalDates")&&(!Array.isArray(e.googleCalendarMovedOriginalDates)||e.googleCalendarMovedOriginalDates.length===0)&&delete r[t.toUserField("googleCalendarMovedOriginalDates")],Object.prototype.hasOwnProperty.call(e,"blockedBy")&&e.blockedBy===void 0&&delete r[t.toUserField("blockedBy")]}function BEe({originalTask:r,updates:e,recurrenceUpdates:t,newPath:n,dateModified:i,currentDateString:a,normalizedDetails:s,finalTags:o,isCompletedStatus:l}){let c={...r,...e,...t,path:n,dateModified:i};return o&&(c.tags=o),s!==null&&(c.details=s),e.status!==void 0&&!r.recurrence&&(l(e.status)?r.completedDate||(c.completedDate=a):c.completedDate=void 0),c}var UEe=y(()=>{yv();iR();iv()});var aR,Qb,sR,HEe=y(()=>{aR=require("obsidian");Ur();Ct();Eb();Ne();UEe();G();Qb=I({tag:"Services/TaskService/TaskUpdateService"}),sR=class{constructor(e){this.deps=e}setWebhookNotifier(e){this.deps.webhookNotifier=e}setAutoArchiveService(e){this.deps.autoArchiveService=e}async updateTask(e,t){var i;let{runtime:n}=this.deps;try{let a=FEe(t),s=n.app.vault.getAbstractFileByPath(e.path);if(!(s instanceof aR.TFile))throw new Error(`Cannot find task file: ${e.path}`);let o=n.settings.storeTitleInFilename&&a.title&&a.title!==e.title,l=e.path;if(o&&a.title){let h=s.parent?s.parent.path:"",g=await Sb(a.title,h,n.app.vault);l=h?`${h}/${g}.md`:`${g}.md`}let c=zEe({originalTask:e,updates:a,maintainDueDateOffsetInRecurring:n.settings.maintainDueDateOffsetInRecurring}),d=$Ee(a),u,p=Ye(),m=a.status!==void 0&&!e.recurrence?fv():"";if(await n.app.fileManager.processFrontMatter(s,h=>{u=jEe({frontmatter:h,originalTask:e,updates:a,recurrenceUpdates:c,dateModified:p,fieldMapper:n.fieldMapper,taskIdentification:{method:n.settings.taskIdentificationMethod,tag:n.settings.taskTag,propertyName:n.settings.taskPropertyName,propertyValue:n.settings.taskPropertyValue},storeTitleInFilename:n.settings.storeTitleInFilename,updateCompletedDateInFrontmatter:(v,k,b)=>this.deps.updateCompletedDateInFrontmatter(v,k,b)}).finalTags}),o&&await n.app.fileManager.renameFile(s,l),d!==null){let h=n.app.vault.getAbstractFileByPath(l);if(h instanceof aR.TFile){let g=await n.app.vault.read(h),{frontmatter:v}=Np(g),k=v!==null?`---
${v}
---
`:"",b=d.trimEnd(),w=b.length>0?`${b}
`:"";await n.app.vault.modify(h,`${k}${w}`)}}let f=BEe({originalTask:e,updates:a,recurrenceUpdates:c,newPath:l,dateModified:p,currentDateString:m,normalizedDetails:d,finalTags:u,isCompletedStatus:h=>n.statusManager.isCompletedStatus(h)});o&&(n.cacheManager.clearCacheEntry(e.path),n.expandedProjectsService.renamePath(e.path,l),n.projectSubtasksService.invalidateIndex());try{let h=n.app.vault.getAbstractFileByPath(l);if(h instanceof aR.TFile&&n.cacheManager.waitForFreshTaskData){let g={};a.title!==void 0&&(g.title=a.title),a.status!==void 0&&(g.status=a.status),a.priority!==void 0&&(g.priority=a.priority),Object.keys(g).length>0&&await n.cacheManager.waitForFreshTaskData(h)}n.cacheManager.updateTaskInfoInCache(l,f)}catch(h){Qb.error("Error updating task cache:",{category:"stale-data",operation:"updating-task-cache",details:{taskPath:l},error:h instanceof Error?h.message:String(h)})}try{n.emitter.trigger(nt,{path:l,originalTask:e,updatedTask:f})}catch(h){Qb.error("Error emitting task update event:",{category:"validation",operation:"emitting-task-update-event",details:{taskPath:l},error:h instanceof Error?h.message:String(h)})}if(this.deps.webhookNotifier)try{let h=n.statusManager.isCompletedStatus(e.status),g=n.statusManager.isCompletedStatus(f.status);!h&&g?await this.deps.webhookNotifier.triggerWebhook("task.completed",{task:f}):await this.deps.webhookNotifier.triggerWebhook("task.updated",{task:f,previous:e})}catch(h){Qb.warn("Failed to trigger webhook for task update:",{category:"provider",operation:"trigger-webhook-task-update",error:h})}if((i=n.taskCalendarSyncService)!=null&&i.isEnabled()){let h=n.statusManager.isCompletedStatus(e.status),g=n.statusManager.isCompletedStatus(f.status);(!h&&g?n.taskCalendarSyncService.completeTaskInCalendar(f):n.taskCalendarSyncService.updateTaskInCalendar(f,e)).catch(k=>{Qb.warn("Failed to sync task update to Google Calendar:",{category:"provider",operation:"sync-task-update-google-calendar",error:k})})}return await this.handleAutoArchive(e,f,a.status),f}catch(a){let s=a instanceof Error?a.message:String(a);throw Qb.error("Error updating task:",{category:"validation",operation:"updating-task",details:{stack:a instanceof Error?a.stack:void 0,taskPath:e.path,updates:t},error:s}),new Error(`Failed to update task: ${s}`)}}async handleAutoArchive(e,t,n){if(!(!this.deps.autoArchiveService||n===void 0||n===e.status))try{let i=this.deps.runtime.statusManager.getStatusConfig(t.status);if(!i)return;i.autoArchive?await this.deps.autoArchiveService.scheduleAutoArchive(t,i):await this.deps.autoArchiveService.cancelAutoArchive(t.path)}catch(i){Qb.warn("Failed to handle auto-archive for status change:",{category:"validation",operation:"handle-auto-archive-status-change",error:i})}}}});function VEe(r,e,t={}){var l,c,d,u;let n=e.taskCreationDefaults,i=(l=t.calculateDefaultDate)!=null?l:eS,a=(c=t.calculateDefaultDateTime)!=null?c:Ip,s=(d=t.convertDefaultRemindersToReminders)!=null?d:Yx,o={...r,customFrontmatter:r.customFrontmatter?{...r.customFrontmatter}:void 0};return o.due===void 0&&n.defaultDueDate!=="none"&&(o.due=a(n.defaultDueDate,n.defaultDueTime)),o.scheduled===void 0&&n.defaultScheduledDate!=="none"&&(o.scheduled=a(n.defaultScheduledDate,n.defaultScheduledTime)),!o.contexts&&n.defaultContexts&&(o.contexts=Jq(n.defaultContexts)),!o.projects&&n.defaultProjects&&(o.projects=Jq(n.defaultProjects)),!o.tags&&n.defaultTags&&(o.tags=Jq(n.defaultTags)),!o.timeEstimate&&n.defaultTimeEstimate>0&&(o.timeEstimate=n.defaultTimeEstimate),!o.recurrence&&n.defaultRecurrence!=="none"&&(o.recurrence=iat[n.defaultRecurrence]),!o.reminders&&n.defaultReminders&&n.defaultReminders.length>0&&(o.reminders=s(n.defaultReminders)),aat(o,(u=e.userFields)!=null?u:[],i),o}function Jq(r){return r.split(",").map(e=>e.trim()).filter(e=>e.length>0)}function aat(r,e,t){if(e.length!==0){r.customFrontmatter||(r.customFrontmatter={});for(let n of e){let i=sat(n);if(i!==void 0&&r.customFrontmatter[n.key]===void 0)if(n.type==="date"&&typeof i=="string"){let a=t(i);a&&(r.customFrontmatter[n.key]=a)}else r.customFrontmatter[n.key]=i}}}function sat(r){if(r.defaultValue!==void 0)return r.defaultValue;if(r.type==="boolean")return!1}var iat,qEe=y(()=>{Ct();jI();iat={none:void 0,daily:"FREQ=DAILY",weekly:"FREQ=WEEKLY",monthly:"FREQ=MONTHLY",yearly:"FREQ=YEARLY"}});function YEe(r){return r.replace(/./g,e=>{let t=e.charCodeAt(0);return t<=31||t>=127&&t<=159?"":e})}function GEe(r){return r.trim().replace(/\s+/g," ")}function KEe(r){return r.length>0?r:CC}function ZEe(r){if(!r||typeof r!="string")return CC;try{let e=YEe(GEe(r)).replace(/[<>:"/\\|?*#[\]]/g,"").replace(/^\.+|\.+$/g,"").trim();return KEe(e)}catch(e){return WEe.error("Error sanitizing title:",{category:"validation",operation:"sanitizing-title",error:e}),CC}}function QEe(r){if(!r||typeof r!="string")return CC;try{return KEe(YEe(GEe(r)).trim())}catch(e){return WEe.error("Error sanitizing title:",{category:"validation",operation:"sanitizing-title",error:e}),CC}}var WEe,CC,JEe=y(()=>{G();WEe=I({tag:"Services/TaskService/TaskTitleSanitizer"}),CC="untitled"});function Xq(r,e,t,n){return e!=="status"?null:{wasCompleted:r.statusManager.isCompletedStatus(r.normalizeStatusValue(t)),isCompleted:r.statusManager.isCompletedStatus(r.normalizeStatusValue(n))}}async function oat(r,e){try{r.cacheManager.waitForFreshTaskData&&await r.cacheManager.waitForFreshTaskData(e.file),r.cacheManager.updateTaskInfoInCache(e.originalTask.path,e.updatedTask)}catch(t){Jb.error("Error updating task cache:",{category:"stale-data",operation:"updating-task-cache",details:{taskPath:e.originalTask.path},error:t instanceof Error?t.message:String(t)})}}async function lat(r,e){try{r.emitter.trigger(nt,{path:e.originalTask.path,originalTask:e.originalTask,updatedTask:e.updatedTask});let t=Xq(r,e.property,e.oldValue,e.newValue);if(!t||t.wasCompleted===t.isCompleted)return;let n=r.cacheManager.getBlockedTaskPaths(e.originalTask.path);for(let i of n)try{let a=await r.cacheManager.getTaskInfo(i);a&&r.emitter.trigger(nt,{path:i,originalTask:a,updatedTask:a})}catch(a){Jb.error(`Error triggering update for dependent task ${i}:`,{category:"validation",operation:"triggering-update-dependent-task",error:a})}}catch(t){Jb.error("Error emitting task update event:",{category:"validation",operation:"emitting-task-update-event",details:{taskPath:e.originalTask.path},error:t instanceof Error?t.message:String(t)})}}async function cat(r,e){if(r.webhookNotifier)try{let t=Xq(r,e.property,e.oldValue,e.newValue);if(t&&!t.wasCompleted&&t.isCompleted){await r.webhookNotifier.triggerWebhook("task.completed",{task:e.updatedTask});return}await r.webhookNotifier.triggerWebhook("task.updated",{task:e.updatedTask,previous:e.originalTask})}catch(t){Jb.warn("Failed to trigger webhook for property update:",{category:"provider",operation:"trigger-webhook-property-update",error:t})}}function dat(r,e){var i;if(!((i=r.taskCalendarSyncService)!=null&&i.isEnabled()))return;let t=Xq(r,e.property,e.oldValue,e.newValue);(t&&!t.wasCompleted&&t.isCompleted?r.taskCalendarSyncService.completeTaskInCalendar(e.updatedTask):r.taskCalendarSyncService.updateTaskInCalendar(e.updatedTask,e.originalTask)).catch(a=>{Jb.warn("Failed to sync task update to Google Calendar:",{category:"provider",operation:"sync-task-update-google-calendar",error:a})})}async function uat(r,e){if(!(!r.autoArchiveService||e.property!=="status"||e.newValue===e.oldValue))try{let t=r.statusManager.getStatusConfig(e.newValue);if(!t)return;t.autoArchive?await r.autoArchiveService.scheduleAutoArchive(e.updatedTask,t):await r.autoArchiveService.cancelAutoArchive(e.updatedTask.path)}catch(t){Jb.warn("Failed to handle auto-archive for status property change:",{category:"persistence",operation:"handle-auto-archive-status-property-change",error:t})}}async function XEe(r,e){await oat(r,e),await lat(r,e),await cat(r,e),dat(r,e),await uat(r,e)}var Jb,exe=y(()=>{Ur();G();Jb=I({tag:"Services/TaskService/TaskPropertyChangeSideEffects"})});function mat(r,e){return typeof r=="string"&&Object.prototype.hasOwnProperty.call(e,r)}function Zh(r,e="frontmatter field"){if(typeof r!="string")throw new Error(`${e} resolved to a non-string frontmatter field name`);if(r.trim().length===0)throw new Error(`${e} resolved to an invalid frontmatter field name: ${r}`);return r}function txe(r,e){let t=r.getMapping();if(mat(e,t))return Zh(r.toUserField(e),`field mapping for ${String(e)}`);let n=pat[e];return n?Zh(r.toUserField(n),`field mapping for ${String(e)}`):Zh(String(e),`task property ${String(e)}`)}var pat,eW=y(()=>{pat={recurrence_anchor:"recurrenceAnchor",complete_instances:"completeInstances",skipped_instances:"skippedInstances",recurrence_parent:"recurrenceParent",occurrence_date:"occurrenceDate",occurrence_materialization:"occurrenceMaterialization",occurrence_next_trigger:"occurrenceNextTrigger",occurrence_template:"occurrenceTemplate",occurrence_past_horizon:"occurrencePastHorizon",occurrence_future_horizon:"occurrenceFutureHorizon"}});function fat(r,e,t){return r==="status"?t(e):r==="blockedBy"?hat(e):e}function hat(r){if(r==null)return;let t=(Array.isArray(r)?r:[r]).map(n=>ts(n)).filter(n=>!!n);return t.length>0?t:void 0}function rxe({freshTask:r,property:e,value:t,currentTimestamp:n,currentDateString:i,normalizeStatusValue:a,isCompletedStatus:s}){let o=fat(e,t,a),l={...r};if(l[e]=o,l.dateModified=n,e==="status"&&!r.recurrence){let c=a(o);s(c)?l.completedDate=i:l.completedDate=void 0}return{updatedTask:l,normalizedValue:o,dateModified:n}}function gat(r){let e=r.toLowerCase();return e==="true"||e==="false"?e==="true":r}function tW(r,e,t,n,i,a){if(!t){if(i(e)){r[n]=a;return}r[n]&&delete r[n]}}function nxe({frontmatter:r,property:e,fieldName:t,rawValue:n,normalizedValue:i,dateModified:a,dateModifiedField:s,completedDateField:o,isRecurring:l,normalizeStatusValue:c,isCompletedStatus:d,currentDateString:u}){let p=Zh(t,`task property ${String(e)}`),m=Zh(s,"dateModified field mapping"),f=Zh(o,"completedDate field mapping");if(e==="status"){let h=c(i);r[p]=gat(h),tW(r,h,l,f,d,u)}else if((e==="due"||e==="scheduled")&&!n)delete r[p];else if(e==="blockedBy"){let h=Array.isArray(i)?i:[];h.length>0?r[p]=eme(h):delete r[p]}else r[p]=i;r[m]=a}var ixe=y(()=>{ko();eW()});function axe(r,e,t){let n=!!r.archived,i={...r};i.archived=!n,i.dateModified=t;let a=Array.isArray(i.tags)?i.tags:[];return n?i.tags=a.filter(s=>s!==e):a.includes(e)?i.tags=[...a]:i.tags=[...a,e],{updatedTask:i,isCurrentlyArchived:n,operation:n?"unarchiving":"archiving",dateModified:t}}function sxe({frontmatter:r,archiveTag:e,isCurrentlyArchived:t,dateModified:n,dateModifiedField:i}){if(t){let a=r.tags;if(Array.isArray(a)){let s=a.filter(o=>o!==e);s.length===0?delete r.tags:r.tags=s}}else r.tags?Array.isArray(r.tags)||(r.tags=[r.tags]):r.tags=[],r.tags.includes(e)||r.tags.push(e);r[i]=n}function oxe({isCurrentlyArchived:r,moveArchivedTasks:e,archiveFolderTemplate:t,tasksFolderTemplate:n,fileName:i,taskData:a,processFolderTemplate:s}){if(!e)return null;let o=r?n==null?void 0:n.trim():t==null?void 0:t.trim();if(!o)return null;let l=r?"tasks":"archive",c=s(o,{title:a.title||"",priority:a.priority,status:a.status,contexts:a.contexts,projects:a.projects});return{operation:r?"unarchiving":"archiving",destinationKind:l,destinationFolder:c,newPath:`${c}/${i}`}}var lxe=y(()=>{});function oR(r){let e={...r};return delete e.duration,e}function lR(r){return Array.isArray(r)?r.map(oR):[]}function rW(r,e,t=e,n="Work session"){let i={startTime:t,description:n};return{updatedTask:{...r,dateModified:e,timeEntries:[...lR(r.timeEntries),i]},newEntry:i,dateModified:e}}function nW(r,e,t,n=t){let i={...r,dateModified:t},a=lR(r.timeEntries),s=a.findIndex(o=>o.startTime===e.startTime&&!o.endTime);return s!==-1&&(a[s]={...a[s],endTime:n},i.timeEntries=a),{updatedTask:i,stopTimestamp:n,dateModified:t}}function iW(r,e,t){if(!Array.isArray(r.timeEntries))throw new Error("Task has no time entries");if(e<0||e>=r.timeEntries.length)throw new Error("Invalid time entry index");return{updatedTask:{...r,dateModified:t,timeEntries:lR(r.timeEntries).filter((n,i)=>i!==e)},timeEntryIndex:e,dateModified:t}}var cxe=y(()=>{});function dxe({frontmatter:r,timeEntriesField:e,dateModifiedField:t,newEntry:n,dateModified:i}){r[e]||(r[e]=[]),Array.isArray(r[e])&&(r[e]=r[e].map(oR)),r[e].push(n),r[t]=i}function uxe({frontmatter:r,timeEntriesField:e,dateModifiedField:t,timeEntryIndex:n,dateModified:i}){r[e]&&Array.isArray(r[e])&&(r[e]=r[e].filter((a,s)=>s!==n)),r[t]=i}function pxe({frontmatter:r,timeEntriesField:e,dateModifiedField:t,activeSession:n,stopTimestamp:i,dateModified:a}){if(r[e]&&Array.isArray(r[e])){let s=r[e].map(oR),o=s.findIndex(l=>l.startTime===n.startTime&&!l.endTime);o!==-1&&(s[o].endTime=i),r[e]=s}r[t]=a}var mxe=y(()=>{cxe()});function Xb(r){return Array.isArray(r)?r.filter(e=>typeof e=="string"):[]}function fxe(r,e){if(e)return e;if(r.recurrence_anchor!=="completion"&&r.scheduled)return zt(ke(r.scheduled));let t=wr();return vn(t)}function hxe({freshTask:r,targetDate:e,currentTimestamp:t,maintainDueDateOffsetInRecurring:n}){if(!r.recurrence)throw new Error("Task is not recurring");let i=ce(e),a=Xb(r.complete_instances),o=!a.includes(i),l={...r,dateModified:t};if(o){a.includes(i)||(l.complete_instances=[...a,i]);let d=Xb(r.skipped_instances);l.skipped_instances=d.filter(u=>u!==i)}else{l.complete_instances=a.filter(u=>u!==i);let d=Xb(r.skipped_instances);l.skipped_instances=d.filter(u=>u!==i)}if(o&&typeof l.recurrence=="string"){if((l.recurrence_anchor||"scheduled")==="completion"){let u=M_(l.recurrence,i);u&&(l.recurrence=u)}else if(!l.recurrence.includes("DTSTART:")){let u=Xf(l);u&&(l.recurrence=u)}}let c=ih(l,n);return c.scheduled&&(l.scheduled=c.scheduled),c.due&&(l.due=c.due),Qq(r,i,l),Kh(l),{updatedTask:l,targetDate:e,dateStr:i,newComplete:o,dateModified:t,originalRecurrence:r.recurrence}}function gxe({frontmatter:r,completeInstancesField:e,skippedInstancesField:t,dateModifiedField:n,scheduledField:i,dueField:a,recurrenceField:s,googleCalendarExceptionOriginalScheduledField:o,googleCalendarMovedOriginalDatesField:l,plan:c}){r[e]||(r[e]=[]),r[t]||(r[t]=[]);let d=Xb(r[e]);c.newComplete?d.includes(c.dateStr)||(r[e]=[...d,c.dateStr]):r[e]=d.filter(u=>u!==c.dateStr),r[t]=c.updatedTask.skipped_instances||[],c.updatedTask.recurrence!==c.originalRecurrence&&(r[s]=c.updatedTask.recurrence),c.updatedTask.scheduled&&(r[i]=c.updatedTask.scheduled),c.updatedTask.due&&(r[a]=c.updatedTask.due),cR(r,o,c.updatedTask.googleCalendarExceptionOriginalScheduled),cR(r,l,c.updatedTask.googleCalendarMovedOriginalDates),r[n]=c.dateModified}function yxe({freshTask:r,targetDate:e,currentTimestamp:t,maintainDueDateOffsetInRecurring:n}){if(!r.recurrence)throw new Error("Task is not recurring");let i=ce(e),a=Xb(r.skipped_instances),o=!a.includes(i),l={...r,dateModified:t};if(o){a.includes(i)||(l.skipped_instances=[...a,i]);let d=Xb(r.complete_instances);l.complete_instances=d.filter(u=>u!==i)}else l.skipped_instances=a.filter(d=>d!==i);let c=ih(l,n);return c.scheduled&&(l.scheduled=c.scheduled),c.due&&(l.due=c.due),Qq(r,i,l),Kh(l),{updatedTask:l,targetDate:e,dateStr:i,newSkipped:o,dateModified:t}}function vxe({frontmatter:r,skippedField:e,completeField:t,dateModifiedField:n,scheduledField:i,dueField:a,googleCalendarExceptionOriginalScheduledField:s,googleCalendarMovedOriginalDatesField:o,plan:l}){r[e]||(r[e]=[]),r[e]=l.updatedTask.skipped_instances||[],r[t]||(r[t]=[]),r[t]=l.updatedTask.complete_instances||[],l.updatedTask.scheduled&&(r[i]=l.updatedTask.scheduled),l.updatedTask.due&&(r[a]=l.updatedTask.due),cR(r,s,l.updatedTask.googleCalendarExceptionOriginalScheduled),cR(r,o,l.updatedTask.googleCalendarMovedOriginalDates),r[n]=l.dateModified}function cR(r,e,t){if(t==null||Array.isArray(t)&&t.length===0){delete r[e];return}r[e]=t}var bxe=y(()=>{yv();Ne();iR()});function Txe(r,e){return{uniqueAdditions:Array.from(new Set(r)),uniqueRemovals:Array.from(new Set(e))}}function kxe({blockedTask:r,blockingTaskPath:e,action:t,rawEntry:n,useFrontmatterMarkdownLinks:i,resolveDependencyPath:a,formatDependencyLink:s}){var u;let o=Array.isArray(r.blockedBy)?r.blockedBy.map(p=>ts(p)).filter(p=>!!p):[];if(o.length===0&&t==="remove")return null;let l=!1,c=!1,d=[];for(let p of o){if(a(r.path,p)===e&&(c=!0,t==="remove")){l=!0;continue}d.push(p)}if(t==="add"&&!c){let p=n?ts(n):null,m={uid:s(r.path,e,i),reltype:(u=p==null?void 0:p.reltype)!=null?u:es};p!=null&&p.gap&&(m.gap=p.gap),d.push(m),l=!0}return l?d:null}function aW(r){return r===null?null:{blockedBy:r.length>0?r:void 0}}var wxe=y(()=>{ko()});var zi,xr,dR,Sxe=y(()=>{Ur();QV();zi=require("obsidian");JN();Ct();ko();jn();Ne();Kq();LEe();ls();HEe();qEe();JEe();exe();ixe();lxe();mxe();bxe();iR();wxe();eW();G();xr=I({tag:"Services/TaskService"}),dR=class{constructor(e){this.plugin=e;this.taskCreationService=new rR({runtime:this.plugin,webhookNotifier:this.webhookNotifier,applyTaskCreationDefaults:t=>Promise.resolve(VEe(t,this.plugin.settings)),applyTemplate:t=>this.applyTemplate(t),processFolderTemplate:(t,n,i)=>this.processFolderTemplate(t,n,i),sanitizeTitleForFilename:ZEe,sanitizeTitleForStorage:QEe}),this.taskUpdateService=new sR({runtime:this.plugin,webhookNotifier:this.webhookNotifier,autoArchiveService:this.autoArchiveService,updateCompletedDateInFrontmatter:(t,n,i)=>this.updateCompletedDateInFrontmatter(t,n,i)})}hasGoogleCalendarLinks(e){return!!(e.googleCalendarEventId||e.googleCalendarExceptionEventId)}createArchiveCalendarDeletionTask(e,t){return{...t,googleCalendarEventId:e.googleCalendarEventId,googleCalendarExceptionEventId:e.googleCalendarExceptionEventId,googleCalendarExceptionOriginalScheduled:e.googleCalendarExceptionOriginalScheduled,googleCalendarMovedOriginalDates:e.googleCalendarMovedOriginalDates?[...e.googleCalendarMovedOriginalDates]:void 0}}clearGoogleCalendarMetadata(e){e.googleCalendarEventId=void 0,e.googleCalendarExceptionEventId=void 0,e.googleCalendarExceptionOriginalScheduled=void 0,e.googleCalendarMovedOriginalDates=void 0}writeOptionalFrontmatterField(e,t,n){if(n==null||Array.isArray(n)&&n.length===0){delete e[t];return}e[t]=n}async deleteArchivedTaskFromCalendar(e){return!this.plugin.taskCalendarSyncService||await this.plugin.taskCalendarSyncService.deleteTaskFromCalendar(e)?!0:(xr.warn("Failed to delete archived task from Google Calendar during archive:",{category:"provider",operation:"delete-archived-task-google-calendar-archive",details:{taskPath:e.path,eventId:e.googleCalendarEventId}}),!1)}translate(e,t){return this.plugin.i18n.translate(e,t)}setWebhookNotifier(e){this.webhookNotifier=e,this.taskCreationService.setWebhookNotifier(e),this.taskUpdateService.setWebhookNotifier(e)}setAutoArchiveService(e){this.autoArchiveService=e,this.taskUpdateService.setAutoArchiveService(e)}normalizeStatusValue(e){return typeof e=="boolean"?e?"true":"false":typeof e=="string"?e:typeof e=="number"?String(e):""}getCompletionDateForTask(e){return e.occurrence_date||fv()}processFolderTemplate(e,t,n=new Date){let i=t?{title:t.title,priority:t.priority,status:t.status,contexts:t.contexts,projects:t.projects,due:t.due,scheduled:t.scheduled}:void 0;return eR(e,{date:n,taskData:i,extractProjectBasename:a=>this.extractProjectBasename(a),extractProjectFilePath:a=>this.extractProjectFilePath(a)})}async createTask(e,t={}){return this.taskCreationService.createTask(e,t)}async applyTemplate(e){var n,i,a,s;let t=this.plugin.settings.taskCreationDefaults;if(!t.useBodyTemplate||!((n=t.bodyTemplate)!=null&&n.trim()))return{frontmatter:{},body:((i=e.details)==null?void 0:i.trim())||""};try{let o=(0,zi.normalizePath)(t.bodyTemplate.trim());o.endsWith(".md")||(o+=".md");let l=this.plugin.app.vault.getAbstractFileByPath(o);if(l instanceof zi.TFile){let c=await this.plugin.app.vault.read(l),d={title:e.title||"",priority:e.priority||"",status:e.status||"",contexts:Array.isArray(e.contexts)?e.contexts:[],tags:Array.isArray(e.tags)?e.tags:[],timeEstimate:e.timeEstimate||0,dueDate:e.due||"",scheduledDate:e.scheduled||"",details:e.details||"",parentNote:e.parentNote||""};return QN(c,d)}else return xr.warn(`Task body template not found: ${o}`,{category:"persistence",operation:"task-body-template-not-found"}),Ee(this.plugin.emitter,this.translate("services.task.notices.templateNotFound",{path:o})),{frontmatter:{},body:((a=e.details)==null?void 0:a.trim())||""}}catch(o){return xr.error("Error reading task body template:",{category:"persistence",operation:"reading-task-body-template",error:o}),Ee(this.plugin.emitter,this.translate("services.task.notices.templateReadError",{template:t.bodyTemplate})),{frontmatter:{},body:((s=e.details)==null?void 0:s.trim())||""}}}async toggleStatus(e){try{let n=this.plugin.statusManager.isCompletedStatus(e.status)?this.plugin.settings.defaultTaskStatus:this.plugin.statusManager.getCompletedStatuses()[0]||"done";return await this.updateProperty(e,"status",n)}catch(t){let n=t instanceof Error?t.message:String(t);throw xr.error("Error toggling task status:",{category:"persistence",operation:"toggling-task-status",details:{stack:t instanceof Error?t.stack:void 0,taskPath:e.path,currentStatus:e.status},error:n}),new Error(`Failed to toggle task status: ${n}`)}}async updateProperty(e,t,n,i={}){try{let a=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(a instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let s=await this.plugin.cacheManager.getTaskInfo(e.path)||e,o=rxe({freshTask:s,property:t,value:n,currentTimestamp:Ye(),currentDateString:this.getCompletionDateForTask(s),normalizeStatusValue:l=>this.normalizeStatusValue(l),isCompletedStatus:l=>this.plugin.statusManager.isCompletedStatus(l)});return t==="scheduled"&&nR(s,o.normalizedValue,o.updatedTask),(t==="recurrence"||t==="recurrence_anchor")&&Kh(o.updatedTask),await this.plugin.app.fileManager.processFrontMatter(a,l=>{let c=txe(this.plugin.fieldMapper,t),d=this.plugin.fieldMapper.toUserField("dateModified"),u=this.plugin.fieldMapper.toUserField("completedDate");nxe({frontmatter:l,property:t,fieldName:c,rawValue:n,normalizedValue:o.normalizedValue,dateModified:o.dateModified,dateModifiedField:d,completedDateField:u,isRecurring:!!s.recurrence,normalizeStatusValue:p=>this.normalizeStatusValue(p),isCompletedStatus:p=>this.plugin.statusManager.isCompletedStatus(p),currentDateString:this.getCompletionDateForTask(s)}),this.writeOptionalFrontmatterField(l,this.plugin.fieldMapper.toUserField("googleCalendarExceptionOriginalScheduled"),o.updatedTask.googleCalendarExceptionOriginalScheduled),this.writeOptionalFrontmatterField(l,this.plugin.fieldMapper.toUserField("googleCalendarMovedOriginalDates"),o.updatedTask.googleCalendarMovedOriginalDates)}),await this.applyPropertyChangeSideEffects(a,s,o.updatedTask,t,s[t],o.normalizedValue),await this.reconcileMaterializedOccurrenceStatusChange(s,o.updatedTask,t,s[t],o.normalizedValue),o.updatedTask}catch(a){let s=a instanceof Error?a.message:String(a);throw xr.error("Error updating task property:",{category:"persistence",operation:"updating-task-property",details:{stack:a instanceof Error?a.stack:void 0,taskPath:e.path,property:t,value:n},error:s}),new Error(`Failed to update task property: ${s}`)}}async applyPropertyChangeSideEffects(e,t,n,i,a,s){await XEe({cacheManager:this.plugin.cacheManager,emitter:this.plugin.emitter,statusManager:this.plugin.statusManager,taskCalendarSyncService:this.plugin.taskCalendarSyncService,webhookNotifier:this.webhookNotifier,autoArchiveService:this.autoArchiveService,normalizeStatusValue:o=>this.normalizeStatusValue(o)},{file:e,originalTask:t,updatedTask:n,property:i,oldValue:a,newValue:s})}async materializeOccurrence(e,t,n={}){let i=await this.plugin.cacheManager.getTaskInfo(e.path)||e;if(!i.recurrence)throw new Error("Task is not recurring");let a=await this.plugin.cacheManager.getAllTasks(),s=rSe({parentTask:i,targetDate:t,currentTimestamp:Ye(),existingOccurrences:a,parentLink:this.buildOccurrenceParentReference(i),defaultStatus:this.plugin.settings.defaultTaskStatus,defaultPriority:this.plugin.settings.defaultTaskPriority,overrides:n});if(!s.created&&s.existingOccurrence)return s.existingOccurrence;let o={...s.occurrenceTask,creationContext:"api"},{taskInfo:l}=await this.createTask(o,{applyDefaults:!1});return l}async findMaterializedOccurrence(e,t){let n=await this.plugin.cacheManager.getTaskInfo(e.path)||e;if(!n.recurrence)return;let i=typeof t=="string"?t.slice(0,10):ce(t),a=await this.plugin.cacheManager.getAllTasks();return ZV(a,n,i,this.buildOccurrenceParentReference(n))}async getMaterializedOccurrenceParent(e){let t=await this.plugin.cacheManager.getTaskInfo(e.path)||e;return this.resolveOccurrenceParentTask(t)}async skipMaterializedOccurrence(e,t=this.getDefaultSkippedOccurrenceStatus()){let n=await this.plugin.cacheManager.getTaskInfo(e.path)||e,i=await this.resolveOccurrenceParentTask(n);if(!i)throw new Error("Cannot resolve occurrence parent");let a=aSe({occurrenceTask:n,parentTask:i,skippedStatus:t,currentTimestamp:Ye(),maintainDueDateOffsetInRecurring:this.plugin.settings.maintainDueDateOffsetInRecurring}),s=await this.persistTaskInfoUpdates(n,a.occurrenceUpdates,"skip-materialized-occurrence"),o=await this.persistTaskInfoUpdates(i,a.parentUpdates,"reconcile-skipped-materialized-occurrence-parent");if(a.materializeNextDate)try{await this.materializeOccurrence(o,a.materializeNextDate)}catch(l){xr.warn("Failed to materialize next occurrence after skip:",{category:"persistence",operation:"materialize-next-occurrence-after-skip",details:{parentPath:o.path,nextDate:a.materializeNextDate},error:l})}return s}async unskipMaterializedOccurrence(e){let t=await this.plugin.cacheManager.getTaskInfo(e.path)||e,n=await this.resolveOccurrenceParentTask(t);if(!n)throw new Error("Cannot resolve occurrence parent");let i=sSe({occurrenceTask:t,parentTask:n,activeStatus:this.plugin.settings.defaultTaskStatus,currentTimestamp:Ye()}),a=await this.persistTaskInfoUpdates(t,i.occurrenceUpdates,"unskip-materialized-occurrence");return await this.persistTaskInfoUpdates(n,i.parentUpdates,"reconcile-unskipped-materialized-occurrence-parent"),a}getDefaultSkippedOccurrenceStatus(){var e;return(e=this.plugin.settings.customStatuses.find(t=>t.isSkipped))==null?void 0:e.value}async reconcileMaterializedOccurrenceStatusChange(e,t,n,i,a){if(n!=="status"||!Qx(t))return;let s=this.plugin.statusManager.isCompletedStatus(this.normalizeStatusValue(i)),o=this.plugin.statusManager.isCompletedStatus(this.normalizeStatusValue(a));if(s===o)return;let l=await this.resolveOccurrenceParentTask(t);if(!l){xr.warn("Could not resolve materialized occurrence parent:",{category:"persistence",operation:"resolve-materialized-occurrence-parent",details:{taskPath:t.path,parent:t.recurrence_parent}});return}let c=Ye(),d=o?nSe({occurrenceTask:t,parentTask:l,completedStatus:this.normalizeStatusValue(a),currentTimestamp:c,maintainDueDateOffsetInRecurring:this.plugin.settings.maintainDueDateOffsetInRecurring}):iSe({occurrenceTask:e,parentTask:l,activeStatus:this.normalizeStatusValue(a),currentTimestamp:c}),u=await this.persistTaskInfoUpdates(l,d.parentUpdates,"reconcile-materialized-occurrence-parent");if(o&&this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("recurring.instance.completed",{task:u,occurrence:t,date:d.targetDate})}catch(p){xr.warn("Failed to trigger materialized occurrence webhook:",{category:"provider",operation:"trigger-materialized-occurrence-webhook",error:p})}if(o&&d.materializeNextDate)try{await this.materializeOccurrence(u,d.materializeNextDate)}catch(p){xr.warn("Failed to materialize next occurrence after completion:",{category:"persistence",operation:"materialize-next-occurrence-after-completion",details:{parentPath:u.path,nextDate:d.materializeNextDate},error:p})}}async resolveOccurrenceParentTask(e){var a,s;if(!e.recurrence_parent)return null;let t=jt(e.recurrence_parent),n=new Set([t]);t&&!t.endsWith(".md")&&n.add(`${t}.md`);for(let o of n){let l=await this.plugin.cacheManager.getTaskInfo(o);if(l)return l}let i=(s=(a=this.plugin.app.metadataCache).getFirstLinkpathDest)==null?void 0:s.call(a,t,e.path);return i instanceof zi.TFile?await this.plugin.cacheManager.getTaskInfo(i.path):null}buildOccurrenceParentReference(e){let t=this.plugin.app.vault.getAbstractFileByPath(e.path);return t instanceof zi.TFile?js(this.plugin.app,t,"",void 0,void 0,this.plugin.settings.useFrontmatterMarkdownLinks):`[[${e.path.replace(/\.md$/i,"")}]]`}applyModelTaskUpdatesToFrontmatter(e,t){let n=oSe(t,this.plugin.fieldMapper.getMapping());for(let i of n)i.op==="delete"?delete e[i.field]:e[i.field]=i.value}async persistTaskInfoUpdates(e,t,n){var s;if(Object.keys(t).length===0)return e;let i=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(i instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let a={...e,...t};await this.plugin.app.fileManager.processFrontMatter(i,o=>{this.applyModelTaskUpdatesToFrontmatter(o,t)});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(i),this.plugin.cacheManager.updateTaskInfoInCache(e.path,a)}catch(o){xr.error("Error updating cache for model task updates:",{category:"stale-data",operation:"persist-model-task-updates-cache",details:{taskPath:e.path,sourceOperation:n},error:o})}return this.plugin.emitter.trigger(nt,{path:e.path,originalTask:e,updatedTask:a}),(s=this.plugin.taskCalendarSyncService)!=null&&s.isEnabled()&&this.plugin.taskCalendarSyncService.updateTaskInCalendar(a,e).catch(o=>{xr.warn("Failed to sync model task update to Google Calendar:",{category:"provider",operation:"sync-model-task-update-google-calendar",details:{taskPath:e.path,sourceOperation:n},error:o})}),a}async toggleArchive(e){var u,p;let t=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(t instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let n=this.plugin.fieldMapper.getMapping().archiveTag,i=axe(e,n,Ye()),{updatedTask:a,isCurrentlyArchived:s,dateModified:o}=i;await this.plugin.app.fileManager.processFrontMatter(t,m=>{let f=this.plugin.fieldMapper.toUserField("dateModified");sxe({frontmatter:m,archiveTag:n,isCurrentlyArchived:s,dateModified:o,dateModifiedField:f})});let l=t,c=oxe({isCurrentlyArchived:s,moveArchivedTasks:this.plugin.settings.moveArchivedTasks,archiveFolderTemplate:this.plugin.settings.archiveFolder,tasksFolderTemplate:this.plugin.settings.tasksFolder,fileName:t.name,taskData:{title:a.title||"",priority:a.priority,status:a.status,contexts:a.contexts,projects:a.projects},processFolderTemplate:(m,f)=>this.processFolderTemplate(m,f)});if(c)try{if(await Ap(this.plugin.app.vault,c.destinationFolder),this.plugin.app.vault.getAbstractFileByPath(c.newPath))throw new Error(`A file named "${t.name}" already exists in the ${c.destinationKind} folder "${c.destinationFolder}". Cannot move task to avoid overwriting existing file.`);await this.plugin.app.fileManager.renameFile(t,c.newPath);let f=this.plugin.app.vault.getAbstractFileByPath(c.newPath);if(!(f instanceof zi.TFile))throw new Error(`Failed to resolve moved task file: ${c.newPath}`);l=f,a.path=c.newPath,this.plugin.cacheManager.clearCacheEntry(e.path)}catch(m){let f=m instanceof Error?m.message:String(m),h=c.operation;xr.error(`Error moving ${h} task:`,{category:"persistence",operation:"moving",details:{value:f}}),Ee(this.plugin.emitter,this.translate("services.task.notices.moveTaskFailed",{operation:h,error:f}))}let d=!0;if((u=this.plugin.taskCalendarSyncService)!=null&&u.isEnabled()&&a.archived&&this.hasGoogleCalendarLinks(e)){let m=this.createArchiveCalendarDeletionTask(e,a);d=await this.deleteArchivedTaskFromCalendar(m),d&&this.clearGoogleCalendarMetadata(a)}try{l instanceof zi.TFile&&this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(l),this.plugin.cacheManager.updateTaskInfoInCache(a.path,a)}catch(m){xr.error("Error updating cache for archived task:",{category:"stale-data",operation:"updating-cache-archived-task",error:m})}if(this.plugin.emitter.trigger(nt,{path:a.path,originalTask:e,updatedTask:a}),this.webhookNotifier)try{a.archived?await this.webhookNotifier.triggerWebhook("task.archived",{task:a}):await this.webhookNotifier.triggerWebhook("task.unarchived",{task:a})}catch(m){xr.warn("Failed to trigger webhook for task archive/unarchive:",{category:"provider",operation:"trigger-webhook-task-archive-unarchive",error:m})}return(p=this.plugin.taskCalendarSyncService)!=null&&p.isEnabled()&&(a.archived?!d&&this.hasGoogleCalendarLinks(a)&&xr.warn("Archived task still has Google Calendar links and will need retry cleanup:",{category:"provider",operation:"archived-task-still-has-google-calendar-links-and-will-need-retry-cleanup",details:{value:a.path}}):this.plugin.taskCalendarSyncService.updateTaskInCalendar(a,e).catch(m=>{xr.warn("Failed to sync unarchived task to Google Calendar:",{category:"provider",operation:"sync-unarchived-task-google-calendar",error:m})})),a}async startTimeTracking(e){var o;let t=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(t instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);if(this.plugin.getActiveTimeSession(e))throw new Error("Time tracking is already active for this task");let i=rW(e,Ye(),new Date().toISOString()),{updatedTask:a,newEntry:s}=i;await this.plugin.app.fileManager.processFrontMatter(t,l=>{let c=this.plugin.fieldMapper.toUserField("timeEntries"),d=this.plugin.fieldMapper.toUserField("dateModified");dxe({frontmatter:l,timeEntriesField:c,dateModifiedField:d,newEntry:s,dateModified:i.dateModified})});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(t),this.plugin.cacheManager.updateTaskInfoInCache(e.path,a)}catch(l){xr.error("Error updating cache for time tracking start:",{category:"stale-data",operation:"updating-cache-time-tracking-start",error:l})}if(this.plugin.emitter.trigger(nt,{path:e.path,originalTask:e,updatedTask:a}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("time.started",{task:a,session:(o=a.timeEntries)==null?void 0:o[a.timeEntries.length-1]})}catch(l){xr.warn("Failed to trigger webhook for time tracking start:",{category:"provider",operation:"trigger-webhook-time-tracking-start",error:l})}return a}async stopTimeTracking(e){var s;let t=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(t instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let n=this.plugin.getActiveTimeSession(e);if(!n)throw new Error("No active time tracking session for this task");let i=nW(e,n,Ye(),new Date().toISOString()),{updatedTask:a}=i;await this.plugin.app.fileManager.processFrontMatter(t,o=>{let l=this.plugin.fieldMapper.toUserField("timeEntries"),c=this.plugin.fieldMapper.toUserField("dateModified");pxe({frontmatter:o,timeEntriesField:l,dateModifiedField:c,activeSession:n,stopTimestamp:i.stopTimestamp,dateModified:i.dateModified})});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(t),this.plugin.cacheManager.updateTaskInfoInCache(e.path,a)}catch(o){xr.error("Error updating cache for time tracking stop:",{category:"stale-data",operation:"updating-cache-time-tracking-stop",error:o})}if(this.plugin.emitter.trigger(nt,{path:e.path,originalTask:e,updatedTask:a}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("time.stopped",{task:a,session:(s=a.timeEntries)==null?void 0:s[a.timeEntries.length-1]})}catch(o){xr.warn("Failed to trigger webhook for time tracking stop:",{category:"provider",operation:"trigger-webhook-time-tracking-stop",error:o})}return a}async updateTask(e,t){return this.taskUpdateService.updateTask(e,t)}async updateBlockingRelationships(e,t,n,i={}){let{uniqueAdditions:a,uniqueRemovals:s}=Txe(t,n);for(let o of s){let l=await this.plugin.cacheManager.getTaskInfo(o);if(!l)continue;let c=aW(this.computeBlockedByUpdate(l,e.path,"remove"));c&&await this.updateTask(l,c)}for(let o of a){let l=await this.plugin.cacheManager.getTaskInfo(o);if(!l)continue;let c=aW(this.computeBlockedByUpdate(l,e.path,"add",i[o]));c&&await this.updateTask(l,c)}}computeBlockedByUpdate(e,t,n,i){return kxe({blockedTask:e,blockingTaskPath:t,action:n,rawEntry:i,useFrontmatterMarkdownLinks:this.plugin.settings.useFrontmatterMarkdownLinks,resolveDependencyPath:(a,s)=>{var o,l;return(l=(o=wl(this.plugin.app,a,s))==null?void 0:o.path)!=null?l:null},formatDependencyLink:(a,s,o)=>To(this.plugin.app,a,s,o)})}async deleteTask(e){try{let t=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(t instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);if(this.plugin.taskCalendarSyncService&&this.hasGoogleCalendarLinks(e))try{await this.plugin.taskCalendarSyncService.deleteTaskFromCalendarByPath(e.path,e.googleCalendarEventId,e.googleCalendarExceptionEventId)}catch(n){xr.warn("Failed to delete task from Google Calendar:",{category:"provider",operation:"delete-task-google-calendar",error:n})}if(await this.plugin.app.fileManager.trashFile(t),this.plugin.cacheManager.clearCacheEntry(e.path),this.plugin.emitter.trigger(Ja,{path:e.path,deletedTask:e}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("task.deleted",{task:e})}catch(n){xr.warn("Failed to trigger webhook for task deletion:",{category:"provider",operation:"trigger-webhook-task-deletion",error:n})}}catch(t){let n=t instanceof Error?t.message:String(t);throw xr.error("Error deleting task:",{category:"persistence",operation:"deleting-task",details:{stack:t instanceof Error?t.stack:void 0,taskPath:e.path},error:n}),new Error(`Failed to delete task: ${n}`)}}async resolveRecurringTaskActionDate(e,t){if(t)return t;let n=await this.plugin.cacheManager.getTaskInfo(e.path)||e;return this.getRecurringTaskActionDate(n)}getRecurringTaskActionDate(e,t){return fxe(e,t)}async toggleRecurringTaskComplete(e,t){var d;let n=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(n instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let i=await this.plugin.cacheManager.getTaskInfo(e.path)||e;if(!i.recurrence)throw new Error("Task is not recurring");let a=hxe({freshTask:i,targetDate:this.getRecurringTaskActionDate(i,t),currentTimestamp:Ye(),maintainDueDateOffsetInRecurring:this.plugin.settings.maintainDueDateOffsetInRecurring}),{updatedTask:s,dateStr:o,newComplete:l,targetDate:c}=a;if(await this.plugin.app.fileManager.processFrontMatter(n,u=>{let p=this.plugin.fieldMapper.toUserField("completeInstances"),m=this.plugin.fieldMapper.toUserField("skippedInstances"),f=this.plugin.fieldMapper.toUserField("dateModified"),h=this.plugin.fieldMapper.toUserField("scheduled"),g=this.plugin.fieldMapper.toUserField("due"),v=this.plugin.fieldMapper.toUserField("recurrence"),k=this.plugin.fieldMapper.toUserField("googleCalendarExceptionOriginalScheduled"),b=this.plugin.fieldMapper.toUserField("googleCalendarMovedOriginalDates");gxe({frontmatter:u,completeInstancesField:p,skippedInstancesField:m,dateModifiedField:f,scheduledField:h,dueField:g,recurrenceField:v,googleCalendarExceptionOriginalScheduledField:k,googleCalendarMovedOriginalDatesField:b,plan:a})}),l&&this.plugin.settings.resetCheckboxesOnRecurrence){let u=await this.plugin.app.vault.read(n),{frontmatter:p,body:m}=Np(u),{content:f,changed:h}=$pe(m);if(h){let g=p!==null?`---
${p}
---
`:"",v=f.trimEnd(),k=v.length>0?`${g}${v}
`:g;await this.plugin.app.vault.modify(n,k),s.details=f.replace(/\r\n/g,`
`).trimEnd()}}try{if(this.plugin.cacheManager.waitForFreshTaskData){let u={complete_instances:s.complete_instances};s.scheduled!==i.scheduled&&(u.scheduled=s.scheduled),s.due!==i.due&&(u.due=s.due),await this.plugin.cacheManager.waitForFreshTaskData(n)}this.plugin.cacheManager.updateTaskInfoInCache(i.path,s)}catch(u){xr.error("Error updating cache for recurring task:",{category:"stale-data",operation:"updating-cache-recurring-task",error:u})}if(this.plugin.emitter.trigger(nt,{path:i.path,originalTask:i,updatedTask:s}),l&&this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("recurring.instance.completed",{task:s,date:o,targetDate:c})}catch(u){xr.error("Error triggering recurring task completion webhook:",{category:"provider",operation:"triggering-recurring-task-completion-webhook",error:u})}return(d=this.plugin.taskCalendarSyncService)!=null&&d.isEnabled()&&this.plugin.taskCalendarSyncService.updateTaskInCalendar(s,i).catch(u=>{xr.warn("Failed to sync recurring task update to Google Calendar:",{category:"provider",operation:"sync-recurring-task-update-google-calendar",error:u})}),s}async toggleRecurringTaskSkipped(e,t){var d;let n=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(n instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let i=await this.plugin.cacheManager.getTaskInfo(e.path)||e;if(!i.recurrence)throw new Error("Task is not recurring");let a=yxe({freshTask:i,targetDate:this.getRecurringTaskActionDate(i,t),currentTimestamp:Ye(),maintainDueDateOffsetInRecurring:this.plugin.settings.maintainDueDateOffsetInRecurring}),{updatedTask:s,dateStr:o,newSkipped:l,targetDate:c}=a;await this.plugin.app.fileManager.processFrontMatter(n,u=>{let p=this.plugin.fieldMapper.toUserField("skippedInstances"),m=this.plugin.fieldMapper.toUserField("completeInstances"),f=this.plugin.fieldMapper.toUserField("dateModified"),h=this.plugin.fieldMapper.toUserField("scheduled"),g=this.plugin.fieldMapper.toUserField("due"),v=this.plugin.fieldMapper.toUserField("googleCalendarExceptionOriginalScheduled"),k=this.plugin.fieldMapper.toUserField("googleCalendarMovedOriginalDates");vxe({frontmatter:u,skippedField:p,completeField:m,dateModifiedField:f,scheduledField:h,dueField:g,googleCalendarExceptionOriginalScheduledField:v,googleCalendarMovedOriginalDatesField:k,plan:a})});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(n),this.plugin.cacheManager.updateTaskInfoInCache(i.path,s)}catch(u){xr.error("Error updating cache for skipped recurring task:",{category:"stale-data",operation:"updating-cache-skipped-recurring-task",error:u})}if(this.plugin.emitter.trigger(nt,{path:i.path,originalTask:i,updatedTask:s}),l&&this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("recurring.instance.skipped",{task:s,date:o,targetDate:c})}catch(u){xr.error("Error triggering recurring task skip webhook:",{category:"provider",operation:"triggering-recurring-task-skip-webhook",error:u})}return(d=this.plugin.taskCalendarSyncService)!=null&&d.isEnabled()&&this.plugin.taskCalendarSyncService.updateTaskInCalendar(s,i).catch(u=>{xr.warn("Failed to sync recurring task skip to Google Calendar:",{category:"provider",operation:"sync-recurring-task-skip-google-calendar",error:u})}),s}async deleteTimeEntry(e,t){let n=this.plugin.app.vault.getAbstractFileByPath(e.path);if(!(n instanceof zi.TFile))throw new Error(`Cannot find task file: ${e.path}`);let i=iW(e,t,Ye()),{updatedTask:a}=i;await this.plugin.app.fileManager.processFrontMatter(n,s=>{let o=this.plugin.fieldMapper.toUserField("timeEntries"),l=this.plugin.fieldMapper.toUserField("dateModified");uxe({frontmatter:s,timeEntriesField:o,dateModifiedField:l,timeEntryIndex:i.timeEntryIndex,dateModified:i.dateModified})});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(n),this.plugin.cacheManager.updateTaskInfoInCache(e.path,a)}catch(s){xr.error("Error updating cache for time entry deletion:",{category:"stale-data",operation:"updating-cache-time-entry-deletion",error:s})}return this.plugin.emitter.trigger(nt,{path:e.path,originalTask:e,updatedTask:a}),a}updateCompletedDateInFrontmatter(e,t,n){if(n)return;let i=this.plugin.fieldMapper.toUserField("completedDate");tW(e,t,n,i,a=>this.plugin.statusManager.isCompletedStatus(a),fv())}extractProjectBasename(e){return kl(e,this.plugin.app)}extractProjectFilePath(e){var i,a,s;let t=jt(e),n=(a=(i=this.plugin.app.metadataCache).getFirstLinkpathDest)==null?void 0:a.call(i,t,"");return((s=n==null?void 0:n.path)!=null?s:t).replace(/\.md$/i,"")}}});var Wc,DC=y(()=>{Wc=class{constructor(){this.events={}}on(e,t){return this.events[e]||(this.events[e]=[]),this.events[e].push(t),()=>{let n=this.events[e];if(!n)return;let i=n.filter(a=>a!==t);i.length>0?this.events[e]=i:delete this.events[e]}}emit(e,...t){this.events[e]&&this.events[e].forEach(n=>{n(...t)})}removeAllListeners(e){e?delete this.events[e]:this.events={}}}});var uR,Exe=y(()=>{gr();uR=class{constructor(e){this.deps=e;this.indexQueryCache=new Map;this.cacheTimers=new Map;this.cacheTimeout=3e4}getIndexOptimizedTaskPaths(e){let t=this.analyzeQueryOptimizationSafety(e);if(!t.canOptimize)return this.deps.cacheManager.getAllTaskPaths();if(t.strategy==="intersect"){let n=this.getPathsForIndexableCondition(t.conditions[0]);for(let i=1;i<t.conditions.length;i++){let a=this.getPathsForIndexableCondition(t.conditions[i]);n=this.intersectPathSets(n,a)}return n}return t.strategy==="single"?this.getPathsForIndexableCondition(t.conditions[0]):this.deps.cacheManager.getAllTaskPaths()}clearIndexQueryCache(){for(let e of this.cacheTimers.values())this.deps.timer.clearTimeout(e);this.indexQueryCache.clear(),this.cacheTimers.clear()}getCacheStats(){return{entryCount:this.indexQueryCache.size,cacheKeys:Array.from(this.indexQueryCache.keys()),timeoutMs:this.cacheTimeout}}analyzeQueryOptimizationSafety(e){let t=this.findIndexableConditions(e);return t.length===0?{canOptimize:!1,conditions:[],reason:"No indexable conditions found"}:this.isSimpleQuery(e,t)?{canOptimize:!0,strategy:t.length===1?"single":"intersect",conditions:t}:{canOptimize:!1,conditions:t,reason:"Complex query structure with OR conditions - optimization not safe"}}isSimpleQuery(e,t){return t.length===0||this.hasIndexableConditionInOrGroup(e,t)?!1:t.length===1||e.type==="group"&&e.conjunction==="and"&&e.children.filter(i=>i.type==="condition"&&this.isIndexableCondition(i)).length===t.length}hasIndexableConditionInOrGroup(e,t){return this.checkNodeForOrWithIndexable(e,t)}checkNodeForOrWithIndexable(e,t){if(e.type==="condition")return!1;if(e.type==="group"){if(e.conjunction==="or"&&e.children.some(i=>i.type==="condition"&&t.includes(i)))return!0;for(let n of e.children)if(this.checkNodeForOrWithIndexable(n,t))return!0}return!1}findIndexableConditions(e){let t=[];if(e.type==="condition")this.isIndexableCondition(e)&&t.push(e);else if(e.type==="group")for(let n of e.children)t.push(...this.findIndexableConditions(n));return t}isIndexableCondition(e){let{property:t,operator:n,value:i}=e;return!!(t==="status"&&n==="is"&&i||t==="due"&&(n==="is"||n==="is-before"||n==="is-after")&&i||t==="scheduled"&&(n==="is"||n==="is-before"||n==="is-after")&&i)}getCachedIndexResult(e,t){let n=this.indexQueryCache.get(e);if(n)return new Set(n);let i=t();this.indexQueryCache.set(e,new Set(i));let a=this.cacheTimers.get(e);a&&this.deps.timer.clearTimeout(a);let s=this.deps.timer.setTimeout(()=>{this.indexQueryCache.delete(e),this.cacheTimers.delete(e)},this.cacheTimeout);return this.cacheTimers.set(e,s),i}getPathsForIndexableCondition(e){let{property:t,operator:n,value:i}=e,a=`${t}:${n}:${Z(i)}`;return this.getCachedIndexResult(a,()=>t==="status"&&n==="is"&&i&&typeof i=="string"?new Set(this.deps.cacheManager.getTaskPathsByStatus(i)):(t==="due"||t==="scheduled")&&n==="is"&&i&&typeof i=="string"?new Set(this.deps.cacheManager.getTasksForDate(i)):(t==="due"||t==="scheduled")&&(n==="is-before"||n==="is-after")&&i&&typeof i=="string"?this.getTaskPathsForDateRange(t,n,i):this.deps.cacheManager.getAllTaskPaths())}getTaskPathsForDateRange(e,t,n){return this.deps.cacheManager.getAllTaskPaths()}intersectPathSets(e,t){let n=new Set;for(let i of e)t.has(i)&&n.add(i);return n}}});function Cxe(r){return r.id||r.key}function pR(r,e){return r==null?1:e==null?-1:r.localeCompare(e)}function mR(r){if(typeof r=="boolean")return r;if(r==null)return;let e=Z(r).trim().toLowerCase();if(e==="true")return!0;if(e==="false")return!1}function Dxe(r){if(typeof r=="number")return String(r);if(typeof r!="string")return;let e=r.match(/^(\d+(?:\.\d+)?)/);return e?e[1]:void 0}function xxe(r){if(Array.isArray(r))return eT(r)[0];if(typeof r=="string")return r.trim().length===0?"":eT(r)[0]}function eT(r){let e=[],t=a=>{if(!a)return;let s=String(a).trim();if(!s)return;let o=s.match(/^\[\[([^|\]]+)(?:\|([^\]]+))?\]\]$/);if(o){let l=o[1]||"",d=o[2]||l.split("#")[0].split("/").pop()||l;d&&e.push(d),e.push(s);return}e.push(s)};if(Array.isArray(r))for(let a of r)t(Z(a));else if(typeof r=="string"){let a=zs(r);for(let s of a)t(s)}else r!=null&&t(Z(r));let n=new Set,i=[];for(let a of e)n.has(a)||(n.add(a),i.push(a));return i}function Qh(r,e){return r==null?void 0:r.find(t=>Cxe(t)===e)}function Pxe(r,e){return r==null?void 0:r.find(t=>Cxe(t)===e||t.key===e)}function Mxe(r,e){switch(r.type){case"boolean":return typeof e=="boolean"?e:Z(e).toLowerCase()==="true";case"number":return typeof e=="number"?e:e!=null?parseFloat(Z(e)):void 0;case"list":return eT(e);case"date":case"text":default:return e!=null?Z(e):void 0}}function _xe(r,e,t){switch(r.type){case"number":{let n=typeof e=="number"?e:e!=null?parseFloat(Z(e)):NaN,i=typeof t=="number"?t:t!=null?parseFloat(Z(t)):NaN,a=!isNaN(n),s=!isNaN(i);return a&&s?n-i:a&&!s?-1:!a&&s?1:0}case"boolean":{let n=mR(e),i=mR(t);return n===i?0:n===!0?-1:i===!0?1:n===!1?-1:i===!1?1:0}case"date":{let n=e?Date.parse(Z(e)):NaN,i=t?Date.parse(Z(t)):NaN,a=!isNaN(n),s=!isNaN(i);return a&&s?n-i:a&&!s?-1:!a&&s?1:0}case"list":{let n=xxe(e),i=xxe(t);return(n==null||n==="")&&(i==null||i==="")?0:n==null||n===""?1:i==null||i===""?-1:n.localeCompare(i)}case"text":default:{let n=e!=null?Z(e):"",i=t!=null?Z(t):"";return n.localeCompare(i)}}}function Axe(r,e,t=yat){var n;if(!r)return t.unknownField;try{switch(r.type){case"boolean":{let i=mR(e);return i==null?t.noValue:i?"true":"false"}case"number":return(n=Dxe(e))!=null?n:typeof e=="string"?t.nonNumeric:t.noValue;case"date":return e?Z(e):t.noDate;case"list":{if(Array.isArray(e)){let i=eT(e);return i.length>0?i[0]:t.empty}if(typeof e=="string"){if(e.trim().length===0)return t.empty;let i=eT(e);return i.length>0?i[0]:t.empty}return t.noValue}case"text":default:return e?Z(e).trim()||t.empty:t.noValue}}catch(i){return t.error}}function Ixe(r,e,t){if(!r)return[t];switch(r.type){case"boolean":{let n=mR(e);return n==null?[t]:[n?"true":"false"]}case"number":{let n=Dxe(e);return n?[n]:[t]}case"date":return e?[Z(e)]:[t];case"list":{let n=eT(e).filter(i=>!/^\[\[/.test(i));return n.length>0?n:[t]}case"text":default:{let n=Z(e).trim();return n?[n]:[t]}}}function Nxe(r,e){let t=[...r];if(!e)return t.sort();switch(e.type){case"number":return t.sort((n,i)=>{let a=parseFloat(n),s=parseFloat(i),o=!isNaN(a),l=!isNaN(s);return o&&l?s-a:o&&!l?-1:!o&&l?1:pR(n,i)});case"boolean":return t.sort((n,i)=>n==="true"&&i==="false"?-1:n==="false"&&i==="true"?1:pR(n,i));case"date":return t.sort((n,i)=>{let a=Date.parse(n),s=Date.parse(i),o=!isNaN(a),l=!isNaN(s);return o&&l?a-s:o&&!l?-1:!o&&l?1:pR(n,i)});case"text":case"list":default:return t.sort(pR)}}var yat,PC=y(()=>{Op();gr();yat={unknownField:"unknown-field",noValue:"no-value",noDate:"no-date",empty:"empty",nonNumeric:"non-numeric",error:"error"}});function Rxe(r,e){return!!r&&ke(r)!==e}function tT(r,e,t){return!!r&&iu(r,e,t)}function Oxe(r,e){if(r.recurrence)return U_(r,zt(e.dateStr));if(r.due&&ke(r.due)===e.dateStr||r.scheduled&&ke(r.scheduled)===e.dateStr)return!0;if(e.includeOverdue&&e.isViewingToday){let t=e.isCompletedStatus(r.status);if(Rxe(r.due,e.dateStr)&&tT(r.due,t,e.hideCompletedFromOverdue)||Rxe(r.scheduled,e.dateStr)&&tT(r.scheduled,t,e.hideCompletedFromOverdue))return!0}return!1}function Lxe(r,e){let t=e.isCompletedStatus(r.status);return r.recurrence&&!(t&&e.hideCompletedFromOverdue)&&vat(r,e.todayString)?!0:tT(r.due,t,e.hideCompletedFromOverdue)||tT(r.scheduled,t,e.hideCompletedFromOverdue)}function vat(r,e=zn()){if(!r.recurrence)return!1;let t=zt(e),n=new Date(t);n.setUTCDate(n.getUTCDate()-1);let i=bat(r,t);if(i>n)return!1;let a=new Set(r.complete_instances||[]),s=new Set(r.skipped_instances||[]);return Tv(r,i,n).some(l=>{let c=ce(l);return c<e&&!a.has(c)&&!s.has(c)})}function bat(r,e){let t=new Date(e);return t.setUTCFullYear(t.getUTCFullYear()-2),[r.dateCreated,r.scheduled,r.due].map(i=>i?ke(i):"").filter(i=>i.length>0).map(i=>zt(i)).reduce((i,a)=>a<i?a:i,t)}var Fxe=y(()=>{Ct();Ne()});function fR(r,e,t,n){return r.type==="condition"?kat(r,e,t,n):r.type==="group"?Tat(r,e,t,n):!0}function Tat(r,e,t,n){if(r.children.length===0)return!0;let i=r.children.filter(a=>a.type==="condition"?yr.isFilterNodeComplete(a):!0);return i.length===0?!0:r.conjunction==="and"?i.every(a=>fR(a,e,t,n)):r.conjunction==="or"?i.some(a=>fR(a,e,t,n)):!0}function kat(r,e,t,n){let{property:i,operator:a,value:s}=r;if(typeof i=="string"&&i.startsWith("user:"))return wat(r,e,t);let o=yr.getTaskPropertyValue(e,i);if(i==="hasSubtasks"&&t.projectSubtasksService&&(o=t.projectSubtasksService.isTaskUsedAsProjectSync(e.path)),i==="status.isCompleted"){let l=bv(e,n||new Date,t.getCompletedStatuses()[0]);o=t.isCompletedStatus(l)}return i==="projects"&&(a==="contains"||a==="does-not-contain")?Sat(o,a,s,t.app):yr.applyOperator(o,a,s,r.id,i)}function wat(r,e,t){let{property:n,operator:i,value:a}=r,s=n.slice(5),o=Qh(t.userFields,s),l=o?Mxe(o,t.getUserFieldRawValue(e,o.key)):void 0;if((o==null?void 0:o.type)==="list"&&(i==="contains"||i==="does-not-contain")){let d=Array.isArray(l)?l:l!=null?[String(l)]:[],p=(Array.isArray(a)?a:[String(a!=null?a:"")]).some(m=>typeof m=="string"&&d.some(f=>typeof f=="string"&&f.toLowerCase().includes(m.toLowerCase())));return i==="contains"?p:!p}let c=(o==null?void 0:o.type)==="date"?"due":n;return yr.applyOperator(l,i,a,r.id,c)}function Sat(r,e,t,n){if(!Array.isArray(r)||typeof t!="string")return!1;let i=$xe(t,n);if(!i)return!1;let a=r.some(s=>{if(!s||typeof s!="string")return!1;let o=$xe(s,n);return o?o===i?!0:Eat(s,t,n):!1});return e==="contains"?a:!a}function $xe(r,e){if(!r||typeof r!="string")return null;let t=kl(r,e);return t||null}function Eat(r,e,t){if(!t)return!1;let n=zxe(r),i=zxe(e);if(!n||!i)return!1;let a=t.metadataCache.getFirstLinkpathDest(n,""),s=t.metadataCache.getFirstLinkpathDest(i,"");return a&&s?a.path===s.path:!1}function zxe(r){return!r||typeof r!="string"?null:r.startsWith("[[")&&r.endsWith("]]")?r.slice(2,-2):r}var jxe=y(()=>{cu();Ct();jn();PC()});function lW(r,e,t,n){var a;if(e==="none")return new Map([["all",r]]);let i=new Map;for(let s of r){let o=Pat(s,e,t,n);for(let l of o)i.has(l)||i.set(l,[]),(a=i.get(l))==null||a.push(s)}return xat(i,e,t)}function xat(r,e,t){let n=new Map,i=Mat(r,e,t);for(let a of i){let s=r.get(a);s&&n.set(a,s)}return n}function Cat(r,e,t){var s;let n=t||new Date;n.setHours(0,0,0,0);let i=e.isCompletedStatus(r.status),a=(s=e.hideCompletedFromOverdue)!=null?s:!0;if(r.recurrence){if(U_(r,n)){let o=P(n,"yyyy-MM-dd");return sW(o,e,i,a)}return r.due?sW(r.due,e,i,a):bm("none",e)}return r.due?sW(r.due,e,i,a):bm("none",e)}function Dat(r,e){var t;return r.scheduled?Aat(r.scheduled,e,e.isCompletedStatus(r.status),(t=e.hideCompletedFromOverdue)!=null?t:!0):Jh("none",e)}function Pat(r,e,t,n){if(e==="project"){let i=Tl(r.projects||[]);return i.length===0?[Uxe(t)]:i.map(a=>t.resolveProjectToAbsolutePath(a))}if(e==="tags"){let i=r.tags||[];return i.length>0?i:[Hxe(t)]}if(typeof e=="string"&&e.startsWith("user:"))return[_at(r,e,t)];switch(e){case"status":return[r.status||"no-status"];case"priority":return[r.priority||"unknown"];case"context":return[r.contexts&&r.contexts.length>0?r.contexts[0]:"none"];case"due":return[Cat(r,t,n)];case"scheduled":return[Dat(r,t)];case"completedDate":return[Iat(r,t)];default:return["unknown"]}}function Mat(r,e,t){if(typeof e=="string"&&e.startsWith("user:")){let n=Nat(Array.from(r.keys()),e,t);return t.currentSortKey===e&&t.currentSortDirection==="desc"&&n.reverse(),n}switch(e){case"priority":return Array.from(r.keys()).sort((n,i)=>t.getPriorityWeight(i)-t.getPriorityWeight(n));case"status":return Array.from(r.keys()).sort((n,i)=>t.getStatusOrder(n)-t.getStatusOrder(i));case"due":{let n=["overdue","today","tomorrow","nextSevenDays","later","none"],i=new Map(n.map((a,s)=>[bm(a,t),s]));return Array.from(r.keys()).sort((a,s)=>{var c,d;let o=(c=i.get(a))!=null?c:n.length,l=(d=i.get(s))!=null?d:n.length;return o-l})}case"scheduled":{let n=["past","today","tomorrow","nextSevenDays","later","none"],i=new Map(n.map((a,s)=>[Jh(a,t),s]));return Array.from(r.keys()).sort((a,s)=>{var c,d;let o=(c=i.get(a))!=null?c:n.length,l=(d=i.get(s))!=null?d:n.length;return o-l})}case"project":return Array.from(r.keys()).sort((n,i)=>Bxe(n,i,Uxe(t),t.getLocale()));case"tags":return Array.from(r.keys()).sort((n,i)=>Bxe(n,i,Hxe(t),t.getLocale()));case"completedDate":return Array.from(r.keys()).sort((n,i)=>{if(n==="Not completed")return 1;if(i==="Not completed")return-1;if(n==="Invalid date")return 1;if(i==="Invalid date")return-1;if(n==null||i==null){if(n==null)return 1;if(i==null)return-1}return i.localeCompare(n)});default:return Array.from(r.keys()).sort((n,i)=>n==null?1:i==null?-1:n.localeCompare(i,t.getLocale()))}}function _at(r,e,t){let n=e.slice(5),i=Qh(t.userFields||[],n),a=i?t.getUserFieldRawValue(r,i.key):void 0;return Axe(i,a)}function sW(r,e,t,n){let i=zn();if(iu(r,t,n))return bm("overdue",e);let a=ke(r);if(bo(a,i))return bm("today",e);try{let s=new Date;s.setDate(s.getDate()+1);let o=P(s,"yyyy-MM-dd");if(bo(a,o))return bm("tomorrow",e);let l=new Date;l.setDate(l.getDate()+7);let c=P(l,"yyyy-MM-dd");return th(a,c)||bo(a,c)?bm("nextSevenDays",e):bm("later",e)}catch(s){return oW.error(`Error categorizing date ${r}:`,{category:"validation",operation:"categorizing-date",error:s}),MC(e)}}function Aat(r,e,t,n){let i=zn();if(iu(r,t,n))return Jh("past",e);let a=ke(r);if(bo(a,i))return Jh("today",e);try{let s=new Date;s.setDate(s.getDate()+1);let o=P(s,"yyyy-MM-dd");if(bo(a,o))return Jh("tomorrow",e);let l=new Date;l.setDate(l.getDate()+7);let c=P(l,"yyyy-MM-dd");return th(a,c)||bo(a,c)?Jh("nextSevenDays",e):Jh("later",e)}catch(s){return oW.error(`Error categorizing scheduled date ${r}:`,{category:"validation",operation:"categorizing-scheduled-date",error:s}),MC(e)}}function Iat(r,e){if(!r.completedDate)return"Not completed";try{return P(Ls(r.completedDate),"yyyy-MM-dd")}catch(t){return oW.error(`Error formatting completed date ${r.completedDate}:`,{category:"validation",operation:"formatting-completed-date",error:t}),MC(e)}}function Nat(r,e,t){let n=e.slice(5),i=Qh(t.userFields||[],n);return Nxe(r,i)}function Bxe(r,e,t,n){return r===t?1:e===t?-1:r==null?1:e==null?-1:r.localeCompare(e,n)}function bm(r,e){switch(r){case"overdue":return e.translate("services.filter.groupLabels.due.overdue","Overdue");case"today":return e.translate("services.filter.groupLabels.due.today","Today");case"tomorrow":return e.translate("services.filter.groupLabels.due.tomorrow","Tomorrow");case"nextSevenDays":return e.translate("services.filter.groupLabels.due.nextSevenDays","Next seven days");case"later":return e.translate("services.filter.groupLabels.due.later","Later");case"none":return e.translate("services.filter.groupLabels.due.none","No due date");case"invalid":default:return MC(e)}}function Jh(r,e){switch(r){case"past":return e.translate("services.filter.groupLabels.scheduled.past","Past scheduled");case"today":return e.translate("services.filter.groupLabels.scheduled.today","Today");case"tomorrow":return e.translate("services.filter.groupLabels.scheduled.tomorrow","Tomorrow");case"nextSevenDays":return e.translate("services.filter.groupLabels.scheduled.nextSevenDays","Next seven days");case"later":return e.translate("services.filter.groupLabels.scheduled.later","Later");case"none":return e.translate("services.filter.groupLabels.scheduled.none","No scheduled date");case"invalid":default:return MC(e)}}function Uxe(r){return r.translate("services.filter.groupLabels.noProject","No project")}function Hxe(r){return r.translate("services.filter.groupLabels.noTags","No tags")}function MC(r){return r.translate("services.filter.groupLabels.invalidDate","Invalid date")}var oW,Vxe=y(()=>{Br();Ne();Ct();PC();G();oW=I({tag:"Services/FilterService/FilterTaskGrouping"})});function qxe(r,e,t,n){return r.sort((i,a)=>{let s=Oat(i,a,e,n);return s!==0?t==="desc"?-s:s:jat(i,a,e,n)})}function rT(r,e){if(!r&&!e)return 0;if(!r)return 1;if(!e)return-1;try{return nu(r,e)?-1:nu(e,r)?1:0}catch(t){return Rat.error("Error comparing dates time-aware:",{category:"validation",operation:"comparing-dates-time-aware",details:{dateA:r,dateB:e},error:t}),r.localeCompare(e)}}function Oat(r,e,t,n){if(typeof t=="string"&&t.startsWith("user:"))return Bat(r,e,t,n);switch(t){case"due":return rT(r.due,e.due);case"scheduled":return rT(r.scheduled,e.scheduled);case"priority":return Fat(r.priority,e.priority,n);case"status":return $at(r.status,e.status,n);case"title":return r.title.localeCompare(e.title);case"dateCreated":return rT(r.dateCreated,e.dateCreated);case"completedDate":return rT(r.completedDate,e.completedDate);case"tags":return zat(r.tags,e.tags);default:return 0}}function Lat(r,e,t){let n=t.getPriorityWeight(r);return t.getPriorityWeight(e)-n}function Fat(r,e,t){let n=t.getPriorityWeight(r),i=t.getPriorityWeight(e);return n-i}function $at(r,e,t){return t.getStatusOrder(r)-t.getStatusOrder(e)}function zat(r,e){let t=r&&r.length>0?r:[],n=e&&e.length>0?e:[];return t.length===0&&n.length===0?0:t.length===0?1:n.length===0?-1:t[0].toLowerCase().localeCompare(n[0].toLowerCase())}function jat(r,e,t,n){let a=["due","scheduled","priority","title"].filter(s=>s!==t);for(let s of a){let o=0;switch(s){case"scheduled":o=rT(r.scheduled,e.scheduled);break;case"due":o=rT(r.due,e.due);break;case"priority":o=Lat(r.priority,e.priority,n);break;case"title":o=r.title.localeCompare(e.title);break}if(o!==0)return o}return 0}function Bat(r,e,t,n){let i=t.slice(5),a=Qh(n.userFields||[],i);return a?_xe(a,n.getUserFieldRawValue(r,a.key),n.getUserFieldRawValue(e,a.key)):0}var Rat,Wxe=y(()=>{Ne();PC();G();Rat=I({tag:"Services/FilterService/FilterTaskSorting"})});function Yxe(r){return{statuses:r.statuses,priorities:r.priorities,contexts:r.contexts,projects:r.projects,tags:r.tags,folders:Uat(r.taskPaths,r.rootFolderLabel),userProperties:Hat(r.userFields||[])}}function Uat(r,e){let t=new Set;for(let n of r){let i=n.lastIndexOf("/");i>0?t.add(n.substring(0,i)):i===-1&&t.add("")}return Array.from(t).sort().map(n=>n===""?e:n)}function Hat(r){let e=[];for(let t of r)!t||!t.key||!t.displayName||e.push({id:`user:${t.id||t.key}`,label:t.displayName,category:Vat(t.type),supportedOperators:Wat(t.type),valueInputType:qat(t.type)});return e}function Vat(r){switch(r){case"boolean":return"boolean";case"number":return"numeric";case"date":return"date";case"list":case"text":default:return"text"}}function qat(r){switch(r){case"number":return"number";case"date":return"date";case"boolean":return"none";case"list":case"text":default:return"text"}}function Wat(r){switch(r){case"number":return["is","is-not","is-greater-than","is-less-than","is-greater-than-or-equal","is-less-than-or-equal","is-empty","is-not-empty"];case"date":return["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"];case"boolean":return["is-checked","is-not-checked"];case"list":return["contains","does-not-contain","is-empty","is-not-empty"];case"text":default:return["is","is-not","contains","does-not-contain","is-empty","is-not-empty"]}}var Gxe=y(()=>{});function cW(r){return{type:"group",id:r(),conjunction:"and",children:[],sortKey:"due",sortDirection:"asc",groupKey:"none"}}function Zxe(r,e,t,n){let i=Gat(r);if(Yat(i,e),!t){let a=Kxe[e];i.children.push({type:"condition",id:n(),...a})}return i}function Qxe(r,e){let t=cW(e);return{...t,...r,type:"group",id:r.id||t.id,conjunction:r.conjunction||t.conjunction,children:r.children||t.children,sortKey:r.sortKey||t.sortKey,sortDirection:r.sortDirection||t.sortDirection,groupKey:r.groupKey||t.groupKey}}function Yat(r,e){let t=Kxe[e].property;r.children=r.children.filter(n=>n.type==="condition"?n.property!==t:!0)}function Gat(r){return JSON.parse(JSON.stringify(r))}var Kxe,Jxe=y(()=>{Kxe={showCompleted:{property:"status.isCompleted",operator:"is-not-checked",value:null},showArchived:{property:"archived",operator:"is-not-checked",value:null},showRecurrent:{property:"recurrence",operator:"is-empty",value:null}}});var Xxe={};et(Xxe,{HierarchicalGroupingService:()=>uW});function dW(r){return r==null?"":typeof r=="string"?r.trim():typeof r=="number"||typeof r=="boolean"?String(r):""}var uW,eCe=y(()=>{uW=class{constructor(e){this.resolveUserFieldValues=e}group(e,t,n,i="asc",a=[]){let s=new Map,o=(c,d)=>{var p,m,f,h,g,v,k,b;if(!d||d==="none")return["all"];let u=w=>{let S=w.map(dW).filter(x=>x!=="");return S.length?S:[]};if(d.startsWith("user:")){let w=d.slice(5);if(this.resolveUserFieldValues){let C=this.resolveUserFieldValues(c,w)||[],D=u(C);return D.length?D:[`No ${w}`]}let S=(p=c.customProperties)==null?void 0:p[w];if(Array.isArray(S)){let C=u(S);return C.length?C:[`No ${w}`]}let x=dW(S);return x!==""?[x]:[`No ${w}`]}switch(d){case"status":return[((m=c.status)!=null?m:"").trim()||"No Status"];case"priority":return[((f=c.priority)!=null?f:"").trim()||"No Priority"];case"context":{let w=u((h=c.contexts)!=null?h:[]);return w.length?w:["No Context"]}case"project":{let w=u((g=c.projects)!=null?g:[]).map(C=>{let D=C.match(/^\[\[([^|\]]+)(?:\|([^\]]+))?\]\]$/);if(D){let _=D[1]||"";return D[2]||_.split("#")[0].split("/").pop()||_||C}return C}),S=[],x=new Set;for(let C of w)x.has(C)||(x.add(C),S.push(C));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=((k=c.due)!=null?k:"").trim();return w?[w.split("T")[0]]:["No Due Date"]}case"scheduled":{let w=((b=c.scheduled)!=null?b:"").trim();return w?[w.split("T")[0]]:["No Scheduled Date"]}default:{let S=c[d];if(Array.isArray(S)){let C=u(S);return C.length?C:[`No ${d}`]}let x=dW(S);return x!==""?[x]:[`No ${d}`]}}};for(let c of e){let d=o(c,t),u=o(c,n);for(let p of d){s.has(p)||s.set(p,new Map);let m=s.get(p);for(let f of u)m.has(f)||m.set(f,[]),m.get(f).push(c)}}let l=new Map;for(let[c,d]of s){let u=this.sortSubgroups(d,n,i,a);l.set(c,u)}return l}sortSubgroups(e,t,n,i){let a=Array.from(e.keys()),s=this.sortSubgroupKeys(a,t,n,i),o=new Map;for(let l of s)o.set(l,e.get(l));return o}sortSubgroupKeys(e,t,n,i){let a=o=>/^No\s/i.test(o);if(typeof t=="string"&&t.startsWith("user:")){let o=t.slice(5),l=i.find(u=>(u.id||u.key)===o),c=(u,p)=>{if(a(u)&&!a(p))return-1;if(!a(u)&&a(p))return 1;if((l==null?void 0:l.type)==="number"){let m=parseFloat(u),f=parseFloat(p),h=isNaN(m)?Number.POSITIVE_INFINITY:m,g=isNaN(f)?Number.POSITIVE_INFINITY:f;if(h!==g)return h-g}else if((l==null?void 0:l.type)==="boolean"){let m=u==="true"?0:u==="false"?1:2,f=p==="true"?0:p==="false"?1:2;if(m!==f)return m-f}else if((l==null?void 0:l.type)==="date"){let m=Date.parse(u),f=Date.parse(p),h=isNaN(m)?Number.POSITIVE_INFINITY:m,g=isNaN(f)?Number.POSITIVE_INFINITY:f;if(h!==g)return h-g}return u.localeCompare(p)},d=e.slice().sort(c);return n==="desc"?d.reverse():d}let s=e.slice().sort((o,l)=>a(o)&&!a(l)?-1:!a(o)&&a(l)?1:o.localeCompare(l));return n==="desc"?s.reverse():s}}});var tCe,hR,nT,gR,rCe=y(()=>{tCe=require("obsidian");jn();DC();cu();Br();Ne();Exe();PC();Fxe();jxe();Vxe();Wxe();Gxe();Jxe();G();hR=I({tag:"Services/FilterService"}),nT=class nT extends Wc{constructor(t,n,i,a){super();this.runtime=a;this.filterOptionsCache=null;this.filterOptionsCacheTimestamp=0;this.filterOptionsCacheTTL=3e5;this.filterOptionsComputeCount=0;this.filterOptionsCacheHits=0;this.cacheManager=t,this.statusManager=n,this.priorityManager=i,this.queryPlanner=new uR({cacheManager:t,timer:{setTimeout:(s,o)=>window.setTimeout(s,o),clearTimeout:s=>window.clearTimeout(s)}}),nT.lastInstance=this}translate(t,n,i){var a;try{if((a=this.runtime)!=null&&a.i18n)return this.runtime.i18n.translate(t,i)}catch(s){hR.error("FilterService translation error:",{category:"internal",operation:"filterservice-translation",error:s})}return n}static translateStatic(t,n){let i=nT.lastInstance;return i?i.translate(t,n):n}getLocale(){var t,n,i;try{let a=(i=(n=(t=this.runtime)==null?void 0:t.i18n)==null?void 0:n.getCurrentLocale)==null?void 0:i.call(n);if(a)return a}catch(a){hR.error("FilterService locale error:",{category:"internal",operation:"filterservice-locale",error:a})}return"en"}getNoProjectLabel(){return this.translate("services.filter.groupLabels.noProject","No project")}async getGroupedTasks(t,n){try{yr.validateFilterNode(t,!1);let i=this.queryPlanner.getIndexOptimizedTaskPaths(t),s=(await this.pathsToTaskInfos(Array.from(i))).filter(l=>this.evaluateFilterNode(t,l,n)),o=this.sortTasks(s,t.sortKey||"due",t.sortDirection||"asc");return this.currentSortKey=t.sortKey||"due",this.currentSortDirection=t.sortDirection||"asc",lW(o,t.groupKey||"none",this.createTaskGroupingContext(),n)}catch(i){if(i instanceof Oi||i instanceof lu)return hR.error("Filter error:",{category:"internal",operation:"filter",details:{values:[i.message,{nodeId:i.nodeId,field:i.field}]}}),new Map;throw i}}async getHierarchicalGroupedTasks(t,n){var i,a;try{yr.validateFilterNode(t,!1);let s=this.queryPlanner.getIndexOptimizedTaskPaths(t),l=(await this.pathsToTaskInfos(Array.from(s))).filter(p=>this.evaluateFilterNode(t,p,n)),c=this.sortTasks(l,t.sortKey||"due",t.sortDirection||"asc");this.currentSortKey=t.sortKey||"due",this.currentSortDirection=t.sortDirection||"asc";let d=lW(c,t.groupKey||"none",this.createTaskGroupingContext(),n),u=t.subgroupKey;if(u&&u!=="none"&&t.groupKey&&t.groupKey!=="none"){let{HierarchicalGroupingService:p}=await Promise.resolve().then(()=>(eCe(),Xxe)),m=(k,b)=>{var D,_;let w=((_=(D=this.runtime)==null?void 0:D.settings)==null?void 0:_.userFields)||[],S=Pxe(w,b),x=`No ${(S==null?void 0:S.displayName)||(S==null?void 0:S.key)||b}`,C=S?this.getUserFieldRawValue(k,S.key):void 0;return Ixe(S,C,x)},h=new p(m).group(c,t.groupKey,u,this.currentSortDirection,((a=(i=this.runtime)==null?void 0:i.settings)==null?void 0:a.userFields)||[]),g=Array.from(d.keys()),v=new Map;for(let k of g){let b=h.get(k);b&&v.set(k,b)}for(let[k,b]of h)v.has(k)||v.set(k,b);return{groups:d,hierarchicalGroups:v}}return{groups:d}}catch(s){if(s instanceof Oi||s instanceof lu)return hR.error("Filter error (hierarchical):",{category:"internal",operation:"filter-hierarchical",details:{values:[s.message,{nodeId:s.nodeId}]}}),{groups:new Map};throw s}}getCacheStats(){return this.queryPlanner.getCacheStats()}async pathsToTaskInfos(t){let n=[];for(let a=0;a<t.length;a+=50){let s=t.slice(a,a+50),o=await Promise.all(s.map(l=>this.cacheManager.getCachedTaskInfo(l)));for(let l of o)l&&n.push(l)}return n}evaluateFilterNode(t,n,i){return fR(t,n,this.createPredicateEvaluationContext(),i)}createPredicateEvaluationContext(){var t,n,i,a;return{app:(t=this.runtime)==null?void 0:t.app,userFields:((i=(n=this.runtime)==null?void 0:n.settings)==null?void 0:i.userFields)||[],projectSubtasksService:(a=this.runtime)==null?void 0:a.projectSubtasksService,getUserFieldRawValue:(s,o)=>this.getUserFieldRawValue(s,o),getCompletedStatuses:()=>this.statusManager.getCompletedStatuses(),isCompletedStatus:s=>this.statusManager.isCompletedStatus(s)}}resolveProjectToAbsolutePath(t){var a;if(!t||typeof t!="string")return t||"";if(!((a=this.runtime)!=null&&a.app))return t;let n=this.parseLinkToPath(t),i=this.runtime.app.metadataCache.getFirstLinkpathDest(n,"");return i?i.path.replace(/\.md$/,""):n.replace(/\.md$/,"")}parseLinkToPath(t){return jt(t)}getPreferredProjectFormat(t){let n=this.getNoProjectLabel();return!t||t===n?t:t.includes("/")||t.endsWith(".md")?`[[${t}]]`:`[[${t}]]`}getOverdueTaskPaths(){return this.cacheManager.getOverdueTaskPaths()}sortTasks(t,n,i){return qxe(t,n,i,this.createTaskSortingContext())}createTaskGroupingContext(){var t,n,i,a;return{userFields:((n=(t=this.runtime)==null?void 0:t.settings)==null?void 0:n.userFields)||[],hideCompletedFromOverdue:(a=(i=this.runtime)==null?void 0:i.settings)==null?void 0:a.hideCompletedFromOverdue,currentSortKey:this.currentSortKey,currentSortDirection:this.currentSortDirection,isCompletedStatus:s=>this.statusManager.isCompletedStatus(s),getPriorityWeight:s=>this.priorityManager.getPriorityWeight(s),getStatusOrder:s=>this.statusManager.getStatusOrder(s),getUserFieldRawValue:(s,o)=>this.getUserFieldRawValue(s,o),resolveProjectToAbsolutePath:s=>this.resolveProjectToAbsolutePath(s),translate:(s,o,l)=>this.translate(s,o,l),getLocale:()=>this.getLocale()}}createTaskSortingContext(){var t,n;return{userFields:((n=(t=this.runtime)==null?void 0:t.settings)==null?void 0:n.userFields)||[],getPriorityWeight:i=>this.priorityManager.getPriorityWeight(i),getStatusOrder:i=>this.statusManager.getStatusOrder(i),getUserFieldRawValue:(i,a)=>this.getUserFieldRawValue(i,a)}}getUserFieldRawValue(t,n){var i;try{let a=this.cacheManager.getApp(),s=a.vault.getAbstractFileByPath(t.path),o=s instanceof tCe.TFile?(i=a.metadataCache.getFileCache(s))==null?void 0:i.frontmatter:void 0;return o?o[n]:void 0}catch(a){return}}async getFilterOptions(){var i,a;let t=Date.now();if(this.filterOptionsCache&&t-this.filterOptionsCacheTimestamp<this.filterOptionsCacheTTL)return this.filterOptionsCacheHits++,this.filterOptionsCache;let n=Yxe({statuses:this.statusManager.getAllStatuses(),priorities:this.priorityManager.getAllPriorities(),contexts:this.cacheManager.getAllContexts(),projects:this.cacheManager.getAllProjects(),tags:this.cacheManager.getAllTags(),taskPaths:this.cacheManager.getAllTaskPaths(),rootFolderLabel:this.translate("services.filter.folders.root","(Root)"),userFields:((a=(i=this.runtime)==null?void 0:i.settings)==null?void 0:a.userFields)||[]});return this.filterOptionsComputeCount++,this.filterOptionsCache=n,this.filterOptionsCacheTimestamp=t,n}checkAndInvalidateFilterOptionsCache(){if(!this.filterOptionsCache)return;Date.now()-this.filterOptionsCacheTimestamp>3e4&&this.invalidateFilterOptionsCache()}invalidateFilterOptionsCache(){this.filterOptionsCache&&(this.filterOptionsCache=null)}refreshFilterOptions(){this.invalidateFilterOptionsCache()}getFilterOptionsCacheStats(){let t=Date.now(),n=this.filterOptionsCache?t-this.filterOptionsCacheTimestamp:0,i=this.filterOptionsCache?Math.max(0,this.filterOptionsCacheTTL-n):0,a=this.filterOptionsCacheHits+this.filterOptionsComputeCount,s=a>0?(this.filterOptionsCacheHits/a*100).toFixed(1)+"%":"0%";return{cacheHits:this.filterOptionsCacheHits,computeCount:this.filterOptionsComputeCount,hitRate:s,isCurrentlyCached:!!this.filterOptionsCache,cacheAge:n,ttlRemaining:i}}createDefaultQuery(){return cW(()=>yr.generateId())}addQuickToggleCondition(t,n,i){return Zxe(t,n,i,()=>yr.generateId())}normalizeQuery(t){return Qxe(t,()=>yr.generateId())}initialize(){this.cacheManager.on("file-updated",()=>{this.queryPlanner.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("file-added",()=>{this.queryPlanner.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("file-deleted",()=>{this.queryPlanner.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("file-renamed",()=>{this.queryPlanner.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("indexes-built",()=>{this.queryPlanner.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")})}cleanup(){this.queryPlanner.clearIndexQueryCache(),this.invalidateFilterOptionsCache(),this.removeAllListeners()}static createDateRangeFromDates(t){if(t.length===0)throw new Error(nT.translateStatic("services.filter.errors.noDatesProvided","No dates provided"));let n=t[0],i=t[t.length-1];return{start:P(n,"yyyy-MM-dd"),end:P(i,"yyyy-MM-dd")}}static shouldIncludeOverdueForRange(t,n){if(!n)return!1;let a=P(new Date,"yyyy-MM-dd");return t.some(s=>P(s,"yyyy-MM-dd")===a)}async getTasksForDate(t,n,i=!1){var p,m,f;let a=ce(t),s=Jw(a),o=this.cacheManager.getAllTaskPaths(),c=(await this.pathsToTaskInfos(Array.from(o))).filter(h=>this.evaluateFilterNode(n,h)),d=(f=(m=(p=this.runtime)==null?void 0:p.settings)==null?void 0:m.hideCompletedFromOverdue)!=null?f:!0,u=c.filter(h=>Oxe(h,{dateStr:a,isViewingToday:s,includeOverdue:i,hideCompletedFromOverdue:d,isCompletedStatus:g=>this.statusManager.isCompletedStatus(g)}));return this.sortTasks(u,n.sortKey||"due",n.sortDirection||"asc")}async getOverdueTasks(t){var l,c,d;let n=this.cacheManager.getAllTaskPaths(),a=(await this.pathsToTaskInfos(Array.from(n))).filter(u=>this.evaluateFilterNode(t,u)),s=(d=(c=(l=this.runtime)==null?void 0:l.settings)==null?void 0:c.hideCompletedFromOverdue)!=null?d:!0,o=a.filter(u=>Lxe(u,{hideCompletedFromOverdue:s,isCompletedStatus:p=>this.statusManager.isCompletedStatus(p)}));return this.sortTasks(o,t.sortKey||"due",t.sortDirection||"asc")}async getAgendaDataWithOverdue(t,n,i=!1){let a=[];for(let o of t){let l=await this.getTasksForDate(o,n,!1);a.push({date:new Date(o),tasks:l})}let s=i?await this.getOverdueTasks(n):[];return{dailyData:a,overdueTasks:s}}async getAgendaData(t,n,i=!1){let a=[];for(let s of t){let o=await this.getTasksForDate(s,n,i&&zB(s));a.push({date:new Date(s),tasks:o})}return a}async getFlatAgendaData(t,n,i=!1){let a=await this.getAgendaData(t,n,i),s=[];for(let o of a)for(let l of o.tasks)s.push({...l,agendaDate:o.date});return s}};nT.lastInstance=null;gR=nT});var iT,pW=y(()=>{iT=class{constructor(e,t){this.cache=e;this.statusManager=t}getStats(e){let t={},n={},i=0,a=0,s=0,o=0,l=0,c=0,d=new Date().toISOString().split("T")[0];for(let u of e){t[u.status]=(t[u.status]||0)+1,n[u.priority]=(n[u.priority]||0)+1;let p=this.statusManager.isCompletedStatus(u.status);u.archived&&o++,p&&i++,!p&&!u.archived&&a++,u.due&&u.due<d&&!p&&!u.archived&&s++,u.timeEntries&&u.timeEntries.length>0&&(l++,c+=u.totalTrackedTime||0)}return{total:e.length,statusCounts:t,priorityCounts:n,completed:i,active:a,overdue:s,archived:o,withTimeEntries:l,totalTrackedMinutes:c,totalTrackedHours:Math.round(c/60*100)/100}}async getAggregatedTimeEstimate(e){let t=this.cache.getAllTimeEstimates();if(t.size===0)return 0;let{start:n,end:i}=this.getDateRange(e),a=0;for(let[s,o]of t.entries()){let l=await this.cache.getTaskInfo(s);l&&this.isTaskInRange(l,n,i)&&(a+=o)}return a}isTaskInRange(e,t,n){let i=e.due||e.scheduled;if(!i)return!1;let a=new Date(i);return a>=t&&a<=n}getDateRange(e){if(typeof e!="string")return e;let t=new Date,n=new Date(t),i=new Date(t);switch(e){case"daily":n.setHours(0,0,0,0),i.setHours(23,59,59,999);break;case"weekly":{let a=t.getDay(),s=t.getDate()-a+(a===0?-6:1);n.setDate(s),n.setHours(0,0,0,0),i.setDate(n.getDate()+6),i.setHours(23,59,59,999);break}case"monthly":n.setDate(1),n.setHours(0,0,0,0),i.setMonth(n.getMonth()+1),i.setDate(0),i.setHours(23,59,59,999);break;case"yearly":n.setMonth(0,1),n.setHours(0,0,0,0),i.setFullYear(n.getFullYear()+1),i.setDate(0),i.setHours(23,59,59,999);break}return{start:n,end:i}}}});var Tm,yR,nCe=y(()=>{DC();cu();G();Tm=I({tag:"Services/ViewStateManager"}),yR=class extends Wc{constructor(t,n){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=t,this.plugin=n,this.loadFromStorage(),this.loadPreferencesFromStorage(),this.savedViews=[...this.plugin.settings.savedViews]}async initializeSavedViews(){await this.migrateAndLoadSavedViews()}getFilterState(t){let n=this.filterState[t];if(n){if(typeof n!="object"||n.type!=="group"||!Array.isArray(n.children)||typeof n.conjunction!="string"){Tm.warn(`ViewStateManager: Ignoring old format filter state for ${t}, will use default`,{category:"validation",operation:"viewstatemanager-ignoring-old-format-filter-state"}),delete this.filterState[t],this.saveToStorage();return}return yr.deepCloneFilterQuery(n)}}setFilterState(t,n){this.filterState[t]=yr.deepCloneFilterQuery(n),this.saveToStorage(),this.emit("filter-state-changed",{viewType:t,query:yr.deepCloneFilterQuery(n)})}clearFilterState(t){delete this.filterState[t],this.saveToStorage(),this.emit("filter-state-cleared",{viewType:t})}clearAllFilterStates(){this.filterState={},this.saveToStorage(),this.emit("all-filter-states-cleared")}getViewPreferences(t){return this.viewPreferences[t]}setViewPreferences(t,n){this.viewPreferences[t]={...n},this.savePreferencesToStorage(),this.emit("view-preferences-changed",{viewType:t,preferences:n})}clearViewPreferences(t){delete this.viewPreferences[t],this.savePreferencesToStorage(),this.emit("view-preferences-cleared",{viewType:t})}clearAllViewPreferences(){this.viewPreferences={},this.savePreferencesToStorage(),this.emit("all-view-preferences-cleared")}loadFromStorage(){try{let t=this.app.loadLocalStorage(this.storageKey);t&&typeof t=="string"&&(this.filterState=JSON.parse(t))}catch(t){Tm.warn("Failed to load view filter state from storage:",{category:"persistence",operation:"load-view-filter-state-storage",error:t}),this.filterState={}}}saveToStorage(){try{this.app.saveLocalStorage(this.storageKey,JSON.stringify(this.filterState))}catch(t){Tm.warn("Failed to save view filter state to storage:",{category:"persistence",operation:"save-view-filter-state-storage",error:t})}}loadPreferencesFromStorage(){try{let t=this.app.loadLocalStorage(this.preferencesStorageKey);t&&typeof t=="string"&&(this.viewPreferences=JSON.parse(t))}catch(t){Tm.warn("Failed to load view preferences from storage:",{category:"configuration",operation:"load-view-preferences-storage",error:t}),this.viewPreferences={}}}savePreferencesToStorage(){try{this.app.saveLocalStorage(this.preferencesStorageKey,JSON.stringify(this.viewPreferences))}catch(t){Tm.warn("Failed to save view preferences to storage:",{category:"configuration",operation:"save-view-preferences-storage",error:t})}}getAllFilterStates(){return{...this.filterState}}getSavedViews(){return this.savedViews.map(t=>({...t,query:yr.deepCloneFilterQuery(t.query),viewOptions:t.viewOptions?{...t.viewOptions}:void 0}))}saveView(t,n,i,a){let s={id:this.generateId(),name:t,query:yr.deepCloneFilterQuery(n),viewOptions:i?{...i}:void 0,visibleProperties:a?[...a]:void 0};return this.savedViews.push(s),this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews()),s}updateView(t,n){let i=this.savedViews.findIndex(s=>s.id===t);if(i===-1)throw new Error(`Saved view with ID ${t} not found`);let a={...n};a.query&&(a.query=yr.deepCloneFilterQuery(a.query)),a.viewOptions&&(a.viewOptions={...a.viewOptions}),this.savedViews[i]={...this.savedViews[i],...a},this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}deleteView(t){let n=this.savedViews.findIndex(i=>i.id===t);if(n===-1)throw new Error(`Saved view with ID ${t} not found`);this.savedViews.splice(n,1),this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}getSavedView(t){let n=this.savedViews.find(i=>i.id===t);if(n)return{...n,query:yr.deepCloneFilterQuery(n.query),viewOptions:n.viewOptions?{...n.viewOptions}:void 0,visibleProperties:n.visibleProperties?[...n.visibleProperties]:void 0}}clearAllSavedViews(){this.savedViews=[],this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}updateSavedViewProperties(t,n){let i=this.savedViews.find(a=>a.id===t);i&&(i.visibleProperties=n,this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews()))}getSavedViewProperties(t){let n=this.savedViews.find(i=>i.id===t);return n==null?void 0:n.visibleProperties}reorderSavedViews(t,n){if(t<0||t>=this.savedViews.length||n<0||n>this.savedViews.length||t===n)return;n=Math.min(n,this.savedViews.length-1);let[i]=this.savedViews.splice(t,1);this.savedViews.splice(n,0,i),this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}generateId(){return Date.now().toString(36)+Math.random().toString(36).slice(2,11)}async migrateAndLoadSavedViews(){try{this.savedViews=[...this.plugin.settings.savedViews];let t=this.app.loadLocalStorage(this.savedViewsStorageKey);if(t&&typeof t=="string"&&this.savedViews.length===0){let n=JSON.parse(t);this.savedViews=[...n],await this.saveSavedViewsToPluginData(),this.app.saveLocalStorage(this.savedViewsStorageKey,null)}}catch(t){Tm.warn("Failed to load/migrate saved views:",{category:"persistence",operation:"load-migrate-saved-views",error:t}),this.savedViews=[]}}async saveSavedViewsToPluginData(){try{this.plugin.settings.savedViews=[...this.savedViews],await this.plugin.saveSettings()}catch(t){Tm.warn("Failed to save saved views to plugin data:",{category:"persistence",operation:"save-saved-views-plugin-data",error:t})}}needsMigration(){let n=!!this.app.loadLocalStorage(this.savedViewsStorageKey),i=this.plugin.settings.savedViews&&this.plugin.settings.savedViews.length>0;return n&&!i}async performMigration(){try{this.clearAllFilterStates(),await this.migrateAndLoadSavedViews(),this.emit("migration-complete")}catch(t){Tm.error("Error during ViewStateManager migration:",{category:"configuration",operation:"viewstatemanager-migration",error:t}),this.savedViews=[],await this.saveSavedViewsToPluginData()}}cleanup(){this.removeAllListeners()}}});var iCe,mW,vR,aCe=y(()=>{iCe=require("obsidian");jn();G();mW=I({tag:"Services/ProjectSubtasksService"}),vR=class{constructor(e){this.cacheEventRefs=[];this.projectIndex=new Map;this.indexLastBuilt=0;this.INDEX_TTL=3e4;this.stats={indexBuilds:0,indexHits:0,indexMisses:0};this.plugin=e,this.registerCacheInvalidation()}registerCacheInvalidation(){var t;if(!((t=this.plugin.cacheManager)!=null&&t.on))return;let e=()=>this.invalidateIndex();this.cacheEventRefs=[this.plugin.cacheManager.on("file-updated",e),this.plugin.cacheManager.on("file-renamed",e),this.plugin.cacheManager.on("file-deleted",e)]}getFilesLinkingToProject(e){let t=this.plugin.app.metadataCache.resolvedLinks,n=[];for(let[i,a]of Object.entries(t))a&&a[e]>0&&n.push(i);return n}getUnresolvedProjectReferences(e){let n=this.plugin.app.metadataCache.unresolvedLinks[e];return n?Object.keys(n).filter(i=>!i.includes("#")&&!i.includes("|")):[]}async getTasksLinkedToProject(e){try{let t=this.getFilesLinkingToProject(e.path),n=[];for(let i of t){let a=await this.plugin.cacheManager.getTaskInfo(i);a&&await this.isLinkFromProjectsField(i,e.path)&&n.push(a)}return n}catch(t){return mW.error("Error getting tasks linked to project:",{category:"persistence",operation:"getting-tasks-linked-project",error:t}),[]}}async isTaskUsedAsProject(e){return this.isTaskUsedAsProjectSync(e)}async isLinkFromProjectsField(e,t){var n;try{let i=this.plugin.app.vault.getAbstractFileByPath(e);if(!(i instanceof iCe.TFile))return!1;let a=this.plugin.app.metadataCache.getFileCache(i),s=this.plugin.fieldMapper.toUserField("projects");if(!((n=a==null?void 0:a.frontmatter)!=null&&n[s]))return!1;let o=a.frontmatter[s];if(!Array.isArray(o))return!1;for(let l of o){if(!l||typeof l!="string")continue;let c=jt(l);if(c===l&&!l.startsWith("[["))continue;let d=this.plugin.app.metadataCache.getFirstLinkpathDest(c,e);if(d&&d.path===t)return!0}return!1}catch(i){return mW.error("Error checking if link is from projects field:",{category:"persistence",operation:"checking-if-link-projects-field",error:i}),!1}}isTaskUsedAsProjectSync(e){return this.ensureIndexBuilt(),this.projectIndex.has(e)?(this.stats.indexHits++,this.projectIndex.get(e)):(this.stats.indexMisses++,!1)}buildProjectIndex(){this.projectIndex.clear(),this.stats.indexBuilds++;try{let e=this.plugin.app.metadataCache.resolvedLinks,t=new Set;for(let[n,i]of Object.entries(e)){if(!i)continue;let a=this.plugin.app.metadataCache.getCache(n);if(!(a!=null&&a.frontmatter)||!this.plugin.cacheManager.isTaskFile(a.frontmatter))continue;let s=this.plugin.fieldMapper.toUserField("projects"),o=a.frontmatter[s];if(Array.isArray(o))for(let l of o){if(!l||typeof l!="string")continue;let c=jt(l);if(c===l&&!l.startsWith("[["))continue;let d=this.plugin.app.metadataCache.getFirstLinkpathDest(c,n);d&&t.add(d.path)}}for(let n of t)this.projectIndex.set(n,!0);this.indexLastBuilt=Date.now()}catch(e){mW.error("Error building project index:",{category:"persistence",operation:"building-project-index",error:e})}}ensureIndexBuilt(){Date.now()-this.indexLastBuilt>this.INDEX_TTL&&this.buildProjectIndex()}invalidateIndex(){this.projectIndex.clear(),this.indexLastBuilt=0}destroy(){for(let e of this.cacheEventRefs)this.plugin.cacheManager.offref(e);this.cacheEventRefs=[],this.invalidateIndex(),this.stats={indexBuilds:0,indexHits:0,indexMisses:0}}sortTasks(e){return e.sort((t,n)=>{let i=this.plugin.statusManager.isCompletedStatus(t.status),a=this.plugin.statusManager.isCompletedStatus(n.status);if(i!==a)return i?1:-1;let s=this.plugin.priorityManager.getPriorityWeight(t.priority),o=this.plugin.priorityManager.getPriorityWeight(n.priority);return s!==o?o-s:t.due&&n.due?new Date(t.due).getTime()-new Date(n.due).getTime():t.due?-1:n.due?1:t.title.localeCompare(n.title)})}}});var bR,sCe=y(()=>{bR=class{constructor(e){this.expandedProjects=new Set;this.collapsedDefaultExpandedProjects=new Set;this.plugin=e}isExpanded(e,t=!1){return t?!this.collapsedDefaultExpandedProjects.has(e):this.expandedProjects.has(e)}toggle(e,t=!1){return t?this.collapsedDefaultExpandedProjects.has(e)?(this.collapsedDefaultExpandedProjects.delete(e),!0):(this.collapsedDefaultExpandedProjects.add(e),this.expandedProjects.delete(e),!1):(this.collapsedDefaultExpandedProjects.delete(e),this.expandedProjects.has(e)?(this.expandedProjects.delete(e),!1):(this.expandedProjects.add(e),!0))}setExpanded(e,t,n=!1){if(n){t?this.collapsedDefaultExpandedProjects.delete(e):(this.collapsedDefaultExpandedProjects.add(e),this.expandedProjects.delete(e));return}this.collapsedDefaultExpandedProjects.delete(e),t?this.expandedProjects.add(e):this.expandedProjects.delete(e)}renamePath(e,t){e!==t&&(this.expandedProjects.delete(e)&&this.expandedProjects.add(t),this.collapsedDefaultExpandedProjects.delete(e)&&this.collapsedDefaultExpandedProjects.add(t))}getExpandedProjects(){return Array.from(this.expandedProjects)}clearAll(){this.expandedProjects.clear(),this.collapsedDefaultExpandedProjects.clear()}collapseAll(){this.clearAll()}}});var aT,TR,oCe=y(()=>{G();aT=I({tag:"Services/AutoArchiveService"}),TR=class{constructor(e){this.processorTimer=null;this.isRunning=!1;this.PROCESSOR_INTERVAL_MS=6e4;this.plugin=e}hasGoogleCalendarLink(e){return!!e.googleCalendarEventId}normalizeStatusValue(e){return typeof e=="boolean"?e?"true":"false":String(e)}getCalendarCleanupState(){let e=this.plugin.settings.googleCalendarExport;return!(e!=null&&e.enabled)||!(e!=null&&e.syncOnTaskDelete)?"skip":this.plugin.taskCalendarSyncService&&this.plugin.taskCalendarSyncService.isEnabled()?"ready":"retry"}async start(){this.stop(),this.isRunning=!0,await this.processQueue(),this.scheduleNextProcess()}stop(){this.isRunning=!1,this.processorTimer!==null&&(window.clearTimeout(this.processorTimer),this.processorTimer=null)}scheduleNextProcess(){this.isRunning&&(this.processorTimer=window.setTimeout(()=>{this.processorTimer=null,this.processQueue().catch(e=>{aT.error("Error processing auto-archive queue:",{category:"persistence",operation:"processing-auto-archive-queue",error:e})}).finally(()=>{this.isRunning&&this.scheduleNextProcess()})},this.PROCESSOR_INTERVAL_MS))}async scheduleAutoArchive(e,t){if(!t.autoArchive)return;if(e.recurrence){await this.cancelAutoArchive(e.path);return}let n=Date.now(),i=n+t.autoArchiveDelay*60*1e3,a={taskPath:e.path,statusChangeTimestamp:n,archiveAfterTimestamp:i,statusValue:t.value};await this.cancelAutoArchive(e.path);let s=await this.getQueue();s.push(a),await this.saveQueue(s)}async cancelAutoArchive(e){let t=await this.getQueue(),n=t.filter(i=>i.taskPath!==e);n.length!==t.length&&await this.saveQueue(n)}async processQueue(){let e=await this.getQueue();if(e.length===0)return;let t=Date.now(),n=[],i=[];for(let o of e)t>=o.archiveAfterTimestamp?n.push(o):i.push(o);if(n.length===0)return;let a=[];for(let o of n)try{await this.processItem(o)||a.push(o)}catch(l){aT.error(`Error processing auto-archive for ${o.taskPath}:`,{category:"persistence",operation:"processing-auto-archive",error:l}),a.push(o)}let s=[...a,...i];await this.saveQueue(s)}async processItem(e){let t=await this.plugin.cacheManager.getTaskByPath(e.taskPath);if(!t||this.normalizeStatusValue(t.status)!==this.normalizeStatusValue(e.statusValue))return!0;if(t.archived){if(this.hasGoogleCalendarLink(t)){let n=this.getCalendarCleanupState();if(n==="skip")return!0;if(n==="retry")return aT.warn(`Auto-archive Google cleanup deferred until calendar sync is ready for ${e.taskPath}`,{category:"provider",operation:"auto-archive-google-cleanup-deferred-until-calendar-sync-ready"}),!1;let i=await this.plugin.taskCalendarSyncService.deleteTaskFromCalendar(t);return i||aT.warn(`Auto-archive Google cleanup still pending for ${e.taskPath}`,{category:"provider",operation:"auto-archive-google-cleanup-still-pending"}),i}return!0}try{let n=await this.plugin.taskService.toggleArchive(t);if(n.archived&&this.hasGoogleCalendarLink(n)){e.taskPath=n.path;let i=this.getCalendarCleanupState();return i==="skip"?!0:(i==="retry"&&aT.warn(`Auto-archive Google cleanup deferred until calendar sync is ready for ${e.taskPath}`,{category:"provider",operation:"auto-archive-google-cleanup-deferred-until-calendar-sync-ready"}),!1)}return!0}catch(n){return aT.error(`Failed to archive task ${e.taskPath}:`,{category:"persistence",operation:"archive-task",error:n}),!1}}async getQueue(){let e=await this.plugin.loadData();return(e==null?void 0:e.autoArchiveQueue)||[]}async saveQueue(e){let t=await this.plugin.loadData()||{};t.autoArchiveQueue=e,await this.plugin.saveData(t)}async clearQueue(){await this.saveQueue([])}async getQueueStatus(){let e=await this.getQueue();return{count:e.length,items:e}}}});function km(r,e){for(var t in e)r[t]=e[t];return r}function gCe(r){var e=r.parentNode;e&&e.removeChild(r)}function M(r,e,t){var n,i,a,s={};for(a in e)a=="key"?n=e[a]:a=="ref"?i=e[a]:s[a]=e[a];if(arguments.length>2&&(s.children=arguments.length>3?xR.call(arguments,2):t),typeof r=="function"&&r.defaultProps!=null)for(a in r.defaultProps)s[a]===void 0&&(s[a]=r.defaultProps[a]);return kR(r,s,n,i,null)}function kR(r,e,t,n,i){var a={type:r,props:e,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++pCe:i};return i==null&&je.vnode!=null&&je.vnode(a),a}function kn(){return{current:null}}function Yt(r){return r.children}function Zat(r,e,t,n,i){var a;for(a in t)a==="children"||a==="key"||a in e||SR(r,a,null,t[a],n);for(a in e)i&&typeof e[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||t[a]===e[a]||SR(r,a,e[a],t[a],n)}function cCe(r,e,t){e[0]==="-"?r.setProperty(e,t==null?"":t):r[e]=t==null?"":typeof t!="number"||Kat.test(e)?t:t+"px"}function SR(r,e,t,n,i){var a;e:if(e==="style")if(typeof t=="string")r.style.cssText=t;else{if(typeof n=="string"&&(r.style.cssText=n=""),n)for(e in n)t&&e in t||cCe(r.style,e,"");if(t)for(e in t)n&&t[e]===n[e]||cCe(r.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")a=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in r?e.toLowerCase().slice(2):e.slice(2),r.l||(r.l={}),r.l[e+a]=t,t?n||r.addEventListener(e,a?uCe:dCe,a):r.removeEventListener(e,a?uCe:dCe,a);else if(e!=="dangerouslySetInnerHTML"){if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in r)try{r[e]=t==null?"":t;break e}catch(s){}typeof t=="function"||(t==null||t===!1&&e.indexOf("-")==-1?r.removeAttribute(e):r.setAttribute(e,t))}}function dCe(r){sT=!0;try{return this.l[r.type+!1](je.event?je.event(r):r)}finally{sT=!1}}function uCe(r){sT=!0;try{return this.l[r.type+!0](je.event?je.event(r):r)}finally{sT=!1}}function ji(r,e){this.props=r,this.context=e}function _C(r,e){if(e==null)return r.__?_C(r.__,r.__.__k.indexOf(r)+1):null;for(var t;e<r.__k.length;e++)if((t=r.__k[e])!=null&&t.__e!=null)return t.__e;return typeof r.type=="function"?_C(r):null}function yCe(r){var e,t;if((r=r.__)!=null&&r.__c!=null){for(r.__e=r.__c.base=null,e=0;e<r.__k.length;e++)if((t=r.__k[e])!=null&&t.__e!=null){r.__e=r.__c.base=t.__e;break}return yCe(r)}}function Qat(r){sT?setTimeout(r):mCe(r)}function fW(r){(!r.__d&&(r.__d=!0)&&Xh.push(r)&&!ER.__r++||lCe!==je.debounceRendering)&&((lCe=je.debounceRendering)||Qat)(ER)}function ER(){var r,e,t,n,i,a,s,o;for(Xh.sort(function(l,c){return l.__v.__b-c.__v.__b});r=Xh.shift();)r.__d&&(e=Xh.length,n=void 0,i=void 0,s=(a=(t=r).__v).__e,(o=t.__P)&&(n=[],(i=km({},a)).__v=a.__v+1,gW(o,a,i,t.__n,o.ownerSVGElement!==void 0,a.__h!=null?[s]:null,n,s==null?_C(a):s,a.__h),wCe(n,a),a.__e!=s&&yCe(a)),Xh.length>e&&Xh.sort(function(l,c){return l.__v.__b-c.__v.__b}));ER.__r=0}function vCe(r,e,t,n,i,a,s,o,l,c){var d,u,p,m,f,h,g,v=n&&n.__k||hCe,k=v.length;for(t.__k=[],d=0;d<e.length;d++)if((m=t.__k[d]=(m=e[d])==null||typeof m=="boolean"?null:typeof m=="string"||typeof m=="number"||typeof m=="bigint"?kR(null,m,null,null,m):Array.isArray(m)?kR(Yt,{children:m},null,null,null):m.__b>0?kR(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)!=null){if(m.__=t,m.__b=t.__b+1,(p=v[d])===null||p&&m.key==p.key&&m.type===p.type)v[d]=void 0;else for(u=0;u<k;u++){if((p=v[u])&&m.key==p.key&&m.type===p.type){v[u]=void 0;break}p=null}gW(r,m,p=p||wR,i,a,s,o,l,c),f=m.__e,(u=m.ref)&&p.ref!=u&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(u,m.__c||f,m)),f!=null?(h==null&&(h=f),typeof m.type=="function"&&m.__k===p.__k?m.__d=l=bCe(m,l,r):l=TCe(r,m,p,v,f,l),typeof t.type=="function"&&(t.__d=l)):l&&p.__e==l&&l.parentNode!=r&&(l=_C(p))}for(t.__e=h,d=k;d--;)v[d]!=null&&(typeof t.type=="function"&&v[d].__e!=null&&v[d].__e==t.__d&&(t.__d=kCe(n).nextSibling),ECe(v[d],v[d]));if(g)for(d=0;d<g.length;d++)SCe(g[d],g[++d],g[++d])}function bCe(r,e,t){for(var n,i=r.__k,a=0;i&&a<i.length;a++)(n=i[a])&&(n.__=r,e=typeof n.type=="function"?bCe(n,e,t):TCe(t,n,n,i,n.__e,e));return e}function AC(r,e){return e=e||[],r==null||typeof r=="boolean"||(Array.isArray(r)?r.some(function(t){AC(t,e)}):e.push(r)),e}function TCe(r,e,t,n,i,a){var s,o,l;if(e.__d!==void 0)s=e.__d,e.__d=void 0;else if(t==null||i!=a||i.parentNode==null)e:if(a==null||a.parentNode!==r)r.appendChild(i),s=null;else{for(o=a,l=0;(o=o.nextSibling)&&l<n.length;l+=1)if(o==i)break e;r.insertBefore(i,a),s=a}return s!==void 0?s:i.nextSibling}function kCe(r){var e,t,n;if(r.type==null||typeof r.type=="string")return r.__e;if(r.__k){for(e=r.__k.length-1;e>=0;e--)if((t=r.__k[e])&&(n=kCe(t)))return n}return null}function gW(r,e,t,n,i,a,s,o,l){var c,d,u,p,m,f,h,g,v,k,b,w,S,x,C,D=e.type;if(e.constructor!==void 0)return null;t.__h!=null&&(l=t.__h,o=e.__e=t.__e,e.__h=null,a=[o]),(c=je.__b)&&c(e);try{e:if(typeof D=="function"){if(g=e.props,v=(c=D.contextType)&&n[c.__c],k=c?v?v.props.value:c.__:n,t.__c?h=(d=e.__c=t.__c).__=d.__E:("prototype"in D&&D.prototype.render?e.__c=d=new D(g,k):(e.__c=d=new ji(g,k),d.constructor=D,d.render=Xat),v&&v.sub(d),d.props=g,d.state||(d.state={}),d.context=k,d.__n=n,u=d.__d=!0,d.__h=[],d._sb=[]),d.__s==null&&(d.__s=d.state),D.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=km({},d.__s)),km(d.__s,D.getDerivedStateFromProps(g,d.__s))),p=d.props,m=d.state,d.__v=e,u)D.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(D.getDerivedStateFromProps==null&&g!==p&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(g,k),!d.__e&&d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(g,d.__s,k)===!1||e.__v===t.__v){for(e.__v!==t.__v&&(d.props=g,d.state=d.__s,d.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach(function(_){_&&(_.__=e)}),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&s.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(g,d.__s,k),d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(p,m,f)})}if(d.context=k,d.props=g,d.__P=r,w=je.__r,S=0,"prototype"in D&&D.prototype.render){for(d.state=d.__s,d.__d=!1,w&&w(e),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(e),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&&(n=km(km({},n),d.getChildContext())),u||d.getSnapshotBeforeUpdate==null||(f=d.getSnapshotBeforeUpdate(p,m)),C=c!=null&&c.type===Yt&&c.key==null?c.props.children:c,vCe(r,Array.isArray(C)?C:[C],e,t,n,i,a,s,o,l),d.base=e.__e,e.__h=null,d.__h.length&&s.push(d),h&&(d.__E=d.__=null),d.__e=!1}else a==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=Jat(t.__e,e,t,n,i,a,s,l);(c=je.diffed)&&c(e)}catch(_){e.__v=null,(l||a!=null)&&(e.__e=o,e.__h=!!l,a[a.indexOf(o)]=null),je.__e(_,e,t)}}function wCe(r,e){je.__c&&je.__c(e,r),r.some(function(t){try{r=t.__h,t.__h=[],r.some(function(n){n.call(t)})}catch(n){je.__e(n,t.__v)}})}function Jat(r,e,t,n,i,a,s,o){var l,c,d,u=t.props,p=e.props,m=e.type,f=0;if(m==="svg"&&(i=!0),a!=null){for(;f<a.length;f++)if((l=a[f])&&"setAttribute"in l==!!m&&(m?l.localName===m:l.nodeType===3)){r=l,a[f]=null;break}}if(r==null){if(m===null)return document.createTextNode(p);r=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),a=null,o=!1}if(m===null)u===p||o&&r.data===p||(r.data=p);else{if(a=a&&xR.call(r.childNodes),c=(u=t.props||wR).dangerouslySetInnerHTML,d=p.dangerouslySetInnerHTML,!o){if(a!=null)for(u={},f=0;f<r.attributes.length;f++)u[r.attributes[f].name]=r.attributes[f].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===r.innerHTML)||(r.innerHTML=d&&d.__html||""))}if(Zat(r,p,u,i,o),d)e.__k=[];else if(f=e.props.children,vCe(r,Array.isArray(f)?f:[f],e,t,n,i&&m!=="foreignObject",a,s,a?a[0]:t.__k&&_C(t,0),o),a!=null)for(f=a.length;f--;)a[f]!=null&&gCe(a[f]);o||("value"in p&&(f=p.value)!==void 0&&(f!==r.value||m==="progress"&&!f||m==="option"&&f!==u.value)&&SR(r,"value",f,u.value,!1),"checked"in p&&(f=p.checked)!==void 0&&f!==r.checked&&SR(r,"checked",f,u.checked,!1))}return r}function SCe(r,e,t){try{typeof r=="function"?r(e):r.current=e}catch(n){je.__e(n,t)}}function ECe(r,e,t){var n,i;if(je.unmount&&je.unmount(r),(n=r.ref)&&(n.current&&n.current!==r.__e||SCe(n,null,e)),(n=r.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){je.__e(a,e)}n.base=n.__P=null,r.__c=void 0}if(n=r.__k)for(i=0;i<n.length;i++)n[i]&&ECe(n[i],e,t||typeof r.type!="function");t||r.__e==null||gCe(r.__e),r.__=r.__e=r.__d=void 0}function Xat(r,e,t){return this.constructor(r,t)}function wm(r,e,t){var n,i,a;je.__&&je.__(r,e),i=(n=typeof t=="function")?null:t&&t.__k||e.__k,a=[],gW(e,r=(!n&&t||e).__k=M(Yt,null,[r]),i||wR,wR,e.ownerSVGElement!==void 0,!n&&t?[t]:i?null:e.firstChild?xR.call(e.childNodes):null,a,!n&&t?t:i?i.__e:e.firstChild,n),wCe(a,r)}function CR(r,e){var t={__c:e="__cC"+fCe++,__:r,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,a;return this.getChildContext||(i=[],(a={})[e]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(o){o.__e=!0,fW(o)})},this.sub=function(s){i.push(s);var o=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),o&&o.call(s)}}),n.children}};return t.Provider.__=t.Consumer.contextType=t}var xR,je,pCe,hW,sT,Xh,lCe,mCe,fCe,wR,hCe,Kat,Au=y(()=>{wR={},hCe=[],Kat=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;xR=hCe.slice,je={__e:function(r,e,t,n){for(var i,a,s;e=e.__;)if((i=e.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(r)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(r,n||{}),s=i.__d),s)return i.__E=i}catch(o){r=o}throw r}},pCe=0,hW=function(r){return r!=null&&r.constructor===void 0},sT=!1,ji.prototype.setState=function(r,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=km({},this.state),typeof r=="function"&&(r=r(km({},t),this.props)),r&&km(t,r),r!=null&&this.__v&&(e&&this._sb.push(e),fW(this))},ji.prototype.forceUpdate=function(r){this.__v&&(this.__e=!0,r&&this.__h.push(r),fW(this))},ji.prototype.render=Yt,Xh=[],mCe=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ER.__r=0,fCe=0});function rst(){for(var r;r=ICe.shift();)if(r.__P&&r.__H)try{r.__H.__h.forEach(DR),r.__H.__h.forEach(bW),r.__H.__h=[]}catch(e){r.__H.__h=[],je.__e(e,r.__v)}}function nst(r){var e,t=function(){clearTimeout(n),ACe&&cancelAnimationFrame(e),setTimeout(r)},n=setTimeout(t,100);ACe&&(e=requestAnimationFrame(t))}function DR(r){var e=Yc,t=r.__c;typeof t=="function"&&(r.__c=void 0,t()),Yc=e}function bW(r){var e=Yc;r.__c=r.__(),Yc=e}var tst,Yc,yW,xCe,ICe,vW,CCe,DCe,PCe,MCe,_Ce,ACe,TW=y(()=>{Au();ICe=[],vW=[],CCe=je.__b,DCe=je.__r,PCe=je.diffed,MCe=je.__c,_Ce=je.unmount;je.__b=function(r){Yc=null,CCe&&CCe(r)},je.__r=function(r){DCe&&DCe(r),tst=0;var e=(Yc=r.__c).__H;e&&(yW===Yc?(e.__h=[],Yc.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=vW,t.__N=t.i=void 0})):(e.__h.forEach(DR),e.__h.forEach(bW),e.__h=[])),yW=Yc},je.diffed=function(r){PCe&&PCe(r);var e=r.__c;e&&e.__H&&(e.__H.__h.length&&(ICe.push(e)!==1&&xCe===je.requestAnimationFrame||((xCe=je.requestAnimationFrame)||nst)(rst)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==vW&&(t.__=t.__V),t.i=void 0,t.__V=vW})),yW=Yc=null},je.__c=function(r,e){e.some(function(t){try{t.__h.forEach(DR),t.__h=t.__h.filter(function(n){return!n.__||bW(n)})}catch(n){e.some(function(i){i.__h&&(i.__h=[])}),e=[],je.__e(n,t.__v)}}),MCe&&MCe(r,e)},je.unmount=function(r){_Ce&&_Ce(r);var e,t=r.__c;t&&t.__H&&(t.__H.__.forEach(function(n){try{DR(n)}catch(i){e=i}}),t.__H=void 0,e&&je.__e(e,t.__v))};ACe=typeof requestAnimationFrame=="function"});function ist(r,e){for(var t in e)r[t]=e[t];return r}function NCe(r,e){for(var t in r)if(t!=="__source"&&!(t in e))return!0;for(var n in e)if(n!=="__source"&&r[n]!==e[n])return!0;return!1}function RCe(r){this.props=r}function UCe(r,e,t){return r&&(r.__c&&r.__c.__H&&(r.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),r.__c.__H=null),(r=ist({},r)).__c!=null&&(r.__c.__P===t&&(r.__c.__P=e),r.__c=null),r.__k=r.__k&&r.__k.map(function(n){return UCe(n,e,t)})),r}function HCe(r,e,t){return r&&(r.__v=null,r.__k=r.__k&&r.__k.map(function(n){return HCe(n,e,t)}),r.__c&&r.__c.__P===e&&(r.__e&&t.insertBefore(r.__e,r.__d),r.__c.__e=!0,r.__c.__P=t)),r}function kW(){this.__u=0,this.t=null,this.__b=null}function VCe(r){var e=r.__.__c;return e&&e.__a&&e.__a(r)}function PR(){this.u=null,this.o=null}function sst(r){return this.getChildContext=function(){return r.context},r.children}function ost(r){var e=this,t=r.i;e.componentWillUnmount=function(){wm(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),r.__v?(e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),wm(M(sst,{context:e.context},r.__v),e.l)):e.l&&e.componentWillUnmount()}function wW(r,e){var t=M(ost,{__v:r,i:e});return t.containerInfo=e,t}function pst(){}function mst(){return this.cancelBubble}function fst(){return this.defaultPrevented}var OCe,GAr,ast,LCe,FCe,lst,cst,dst,ust,$Ce,hst,zCe,jCe,BCe,IC=y(()=>{Au();Au();TW();TW();(RCe.prototype=new ji).isPureReactComponent=!0,RCe.prototype.shouldComponentUpdate=function(r,e){return NCe(this.props,r)||NCe(this.state,e)};OCe=je.__b;je.__b=function(r){r.type&&r.type.__f&&r.ref&&(r.props.ref=r.ref,r.ref=null),OCe&&OCe(r)};GAr=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,ast=je.__e;je.__e=function(r,e,t,n){if(r.then){for(var i,a=e;a=a.__;)if((i=a.__c)&&i.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),i.__c(r,e)}ast(r,e,t,n)};LCe=je.unmount;je.unmount=function(r){var e=r.__c;e&&e.__R&&e.__R(),e&&r.__h===!0&&(r.type=null),LCe&&LCe(r)},(kW.prototype=new ji).__c=function(r,e){var t=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(t);var i=VCe(n.__v),a=!1,s=function(){a||(a=!0,t.__R=null,i?i(o):o())};t.__R=s;var o=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=HCe(c,c.__c.__P,c.__c.__O)}var d;for(n.setState({__a:n.__b=null});d=n.t.pop();)d.forceUpdate()}},l=e.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),r.then(s,s)},kW.prototype.componentWillUnmount=function(){this.t=[]},kW.prototype.render=function(r,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=UCe(this.__b,t,n.__O=n.__P)}this.__b=null}var i=e.__a&&M(Yt,null,r.fallback);return i&&(i.__h=null),[M(Yt,null,e.__a?null:r.children),i]};FCe=function(r,e,t){if(++t[1]===t[0]&&r.o.delete(e),r.props.revealOrder&&(r.props.revealOrder[0]!=="t"||!r.o.size))for(t=r.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;r.u=t=t[2]}};(PR.prototype=new ji).__a=function(r){var e=this,t=VCe(e.__v),n=e.o.get(r);return n[0]++,function(i){var a=function(){e.props.revealOrder?(n.push(i),FCe(e,r,n)):i()};t?t(a):a()}},PR.prototype.render=function(r){this.u=null,this.o=new Map;var e=AC(r.children);r.revealOrder&&r.revealOrder[0]==="b"&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return r.children},PR.prototype.componentDidUpdate=PR.prototype.componentDidMount=function(){var r=this;this.o.forEach(function(e,t){FCe(r,t,e)})};lst=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,cst=/^(?: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]/,dst=typeof document!="undefined",ust=function(r){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(r)};ji.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(r){Object.defineProperty(ji.prototype,r,{configurable:!0,get:function(){return this["UNSAFE_"+r]},set:function(e){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:e})}})});$Ce=je.event;je.event=function(r){return $Ce&&(r=$Ce(r)),r.persist=pst,r.isPropagationStopped=mst,r.isDefaultPrevented=fst,r.nativeEvent=r};zCe={configurable:!0,get:function(){return this.class}},jCe=je.vnode;je.vnode=function(r){var e=r.type,t=r.props,n=t;if(typeof e=="string"){var i=e.indexOf("-")===-1;for(var a in n={},t){var s=t[a];dst&&a==="children"&&e==="noscript"||a==="value"&&"defaultValue"in t&&s==null||(a==="defaultValue"&&"value"in t&&t.value==null?a="value":a==="download"&&s===!0?s="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+e)&&!ust(t.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():i&&cst.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():s===null&&(s=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),n[a]&&(a="oninputCapture")),n[a]=s)}e=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=AC(t.children).forEach(function(o){o.props.selected=n.value.indexOf(o.props.value)!=-1})),e=="select"&&n.defaultValue!=null&&(n.value=AC(t.children).forEach(function(o){o.props.selected=n.multiple?n.defaultValue.indexOf(o.props.value)!=-1:n.defaultValue==o.props.value})),r.props=n,t.class!=t.className&&(zCe.enumerable="className"in t,t.className!=null&&(n.class=t.className),Object.defineProperty(n,"className",zCe))}r.$$typeof=lst,jCe&&jCe(r)};BCe=je.__r;je.__r=function(r){BCe&&BCe(r),hst=r.__c}});function Qc(r){iDe.push(r),NW.forEach(e=>{oDe(e,r)})}function aDe(r){r.isConnected&&r.getRootNode&&sDe(r.getRootNode())}function sDe(r){let e=NW.get(r);if(!e||!e.isConnected){if(e=r.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");let t=yst();t&&(e.nonce=t);let n=r===document?document.head:r,i=r===document?n.querySelector("script,link[rel=stylesheet],link[as=style],style"):n.firstChild;n.insertBefore(e,i)}NW.set(r,e),gst(e)}}function gst(r){for(let e of iDe)oDe(r,e)}function oDe(r,e){let{sheet:t}=r,n=t.cssRules.length;e.split("}").forEach((i,a)=>{i=i.trim(),i&&t.insertRule(i+"}",n+a)})}function yst(){return SW===void 0&&(SW=vst()),SW}function vst(){let r=document.querySelector('meta[name="csp-nonce"]');if(r&&r.hasAttribute("content"))return r.getAttribute("content");let e=document.querySelector("script[nonce]");return e&&e.nonce||""}function GC(r){r.parentNode&&r.parentNode.removeChild(r)}function pi(r,e){if(r.closest)return r.closest(e);if(!document.documentElement.contains(r))return null;do{if(qR(r,e))return r;r=r.parentElement||r.parentNode}while(r!==null&&r.nodeType===1);return null}function qR(r,e){return(r.matches||r.matchesSelector||r.msMatchesSelector).call(r,e)}function lDe(r,e){let t=r instanceof HTMLElement?[r]:r,n=[];for(let i=0;i<t.length;i+=1){let a=t[i].querySelectorAll(e);for(let s=0;s<a.length;s+=1)n.push(a[s])}return n}function mg(r,e){for(let t in e)HW(r,t,e[t])}function HW(r,e,t){t==null?r.style[e]="":typeof t=="number"&&Tst.test(e)?r.style[e]=`${t}px`:r.style[e]=t}function WR(r){var e,t;return(t=(e=r.composedPath)===null||e===void 0?void 0:e.call(r)[0])!==null&&t!==void 0?t:r.target}function ms(){return qCe+=1,"fc-dom-"+qCe}function KC(r){r.preventDefault()}function kst(r,e){return t=>{let n=pi(t.target,r);n&&e.call(n,t,n)}}function VW(r,e,t,n){let i=kst(t,n);return r.addEventListener(e,i),()=>{r.removeEventListener(e,i)}}function cDe(r,e,t,n){let i;return VW(r,"mouseover",e,(a,s)=>{if(s!==i){i=s,t(a,s);let o=l=>{i=null,n(l,s),s.removeEventListener("mouseleave",o)};s.addEventListener("mouseleave",o)}})}function qW(r,e){let t=n=>{e(n),WCe.forEach(i=>{r.removeEventListener(i,t)})};WCe.forEach(n=>{r.addEventListener(n,t)})}function dDe(r){return Object.assign({onClick:r},uDe(r))}function uDe(r){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(r(e),e.preventDefault())}}}function Fu(){return YCe+=1,String(YCe)}function pT(){document.body.classList.add("fc-not-allowed")}function mT(){document.body.classList.remove("fc-not-allowed")}function WW(r){r.style.userSelect="none",r.style.webkitUserSelect="none",r.addEventListener("selectstart",KC)}function YW(r){r.style.userSelect="",r.style.webkitUserSelect="",r.removeEventListener("selectstart",KC)}function GW(r){r.addEventListener("contextmenu",KC)}function KW(r){r.removeEventListener("contextmenu",KC)}function pDe(r){let e=[],t=[],n,i;for(typeof r=="string"?t=r.split(/\s*,\s*/):typeof r=="function"?t=[r]:Array.isArray(r)&&(t=r),n=0;n<t.length;n+=1)i=t[n],typeof i=="string"?e.push(i.charAt(0)==="-"?{field:i.substring(1),order:-1}:{field:i,order:1}):typeof i=="function"&&e.push({func:i});return e}function mDe(r,e,t){let n,i;for(n=0;n<t.length;n+=1)if(i=wst(r,e,t[n]),i)return i;return 0}function wst(r,e,t){return t.func?t.func(r,e):fDe(r[t.field],e[t.field])*(t.order||1)}function fDe(r,e){return!r&&!e?0:e==null?-1:r==null?1:typeof r=="string"||typeof e=="string"?String(r).localeCompare(String(e)):r-e}function tg(r,e){let t=String(r);return"000".substr(0,e-t.length)+t}function fT(r,e,t){return typeof r=="function"?r(...e):typeof r=="string"?e.reduce((n,i,a)=>n.replace("$"+a,i||""),r):t}function ZW(r,e){return r-e}function NC(r){return r%1===0}function Sst(r){let e=r.querySelector(".fc-scrollgrid-shrink-frame"),t=r.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!t)throw new Error("needs fc-scrollgrid-shrink-cushion className");return r.getBoundingClientRect().width-e.getBoundingClientRect().width+t.getBoundingClientRect().width}function ct(r,e){return typeof r=="string"?xst(r):typeof r=="object"&&r?KCe(r):typeof r=="number"?KCe({[e||"milliseconds"]:r}):null}function xst(r){let e=Est.exec(r);if(e){let t=e[1]?-1:1;return{years:0,months:0,days:t*(e[2]?parseInt(e[2],10):0),milliseconds:t*((e[3]?parseInt(e[3],10):0)*60*60*1e3+(e[4]?parseInt(e[4],10):0)*60*1e3+(e[5]?parseInt(e[5],10):0)*1e3+(e[6]?parseInt(e[6],10):0))}}return null}function KCe(r){let e={years:r.years||r.year||0,months:r.months||r.month||0,days:r.days||r.day||0,milliseconds:(r.hours||r.hour||0)*60*60*1e3+(r.minutes||r.minute||0)*60*1e3+(r.seconds||r.second||0)*1e3+(r.milliseconds||r.millisecond||r.ms||0)},t=r.weeks||r.week;return t&&(e.days+=t*7,e.specifiedWeeks=!0),e}function Cst(r,e){return r.years===e.years&&r.months===e.months&&r.days===e.days&&r.milliseconds===e.milliseconds}function ZC(r,e){return{years:r.years+e.years,months:r.months+e.months,days:r.days+e.days,milliseconds:r.milliseconds+e.milliseconds}}function hDe(r,e){return{years:r.years-e.years,months:r.months-e.months,days:r.days-e.days,milliseconds:r.milliseconds-e.milliseconds}}function QW(r,e){return{years:r.years*e,months:r.months*e,days:r.days*e,milliseconds:r.milliseconds*e}}function Dst(r){return oT(r)/365}function Pst(r){return oT(r)/30}function oT(r){return to(r)/864e5}function to(r){return r.years*(365*864e5)+r.months*(30*864e5)+r.days*864e5+r.milliseconds}function QC(r,e){let t=null;for(let n=0;n<GCe.length;n+=1){let i=GCe[n];if(e[i]){let a=r[i]/e[i];if(!NC(a)||t!==null&&t!==a)return null;t=a}else if(r[i])return null}return t}function RC(r){let e=r.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%(1e3*60)!==0)return{unit:"second",value:e/1e3};if(e%(1e3*60*60)!==0)return{unit:"minute",value:e/(1e3*60)};if(e)return{unit:"hour",value:e/(1e3*60*60)}}return r.days?r.specifiedWeeks&&r.days%7===0?{unit:"week",value:r.days/7}:{unit:"day",value:r.days}:r.months?{unit:"month",value:r.months}:r.years?{unit:"year",value:r.years}:{unit:"millisecond",value:0}}function Jc(r,e,t){if(r===e)return!0;let n=r.length,i;if(n!==e.length)return!1;for(i=0;i<n;i+=1)if(!(t?t(r[i],e[i]):r[i]===e[i]))return!1;return!0}function YR(r,e){let t=Em(r);return t[2]+=e*7,ds(t)}function un(r,e){let t=Em(r);return t[2]+=e,ds(t)}function Gc(r,e){let t=Em(r);return t[6]+=e,ds(t)}function JW(r,e){return Xc(r,e)/7}function Xc(r,e){return(e.valueOf()-r.valueOf())/(1e3*60*60*24)}function _st(r,e){return(e.valueOf()-r.valueOf())/(1e3*60*60)}function Ast(r,e){return(e.valueOf()-r.valueOf())/(1e3*60)}function Ist(r,e){return(e.valueOf()-r.valueOf())/1e3}function gDe(r,e){let t=pr(r),n=pr(e);return{years:0,months:0,days:Math.round(Xc(t,n)),milliseconds:e.valueOf()-n.valueOf()-(r.valueOf()-t.valueOf())}}function yDe(r,e){let t=lT(r,e);return t!==null&&t%7===0?t/7:null}function lT(r,e){return xm(r)===xm(e)?Math.round(Xc(r,e)):null}function pr(r){return ds([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()])}function Nst(r){return ds([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours()])}function Rst(r){return ds([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes()])}function Ost(r){return ds([r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds()])}function Lst(r,e,t){let n=r.getUTCFullYear(),i=EW(r,n,e,t);if(i<1)return EW(r,n-1,e,t);let a=EW(r,n+1,e,t);return a>=1?Math.min(i,a):i}function EW(r,e,t,n){let i=ds([e,0,1+Fst(e,t,n)]),a=pr(r),s=Math.round(Xc(i,a));return Math.floor(s/7)+1}function Fst(r,e,t){let n=7+e-t;return-((7+ds([r,0,n]).getUTCDay()-e)%7)+n-1}function ZCe(r){return[r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()]}function QCe(r){return new Date(r[0],r[1]||0,r[2]==null?1:r[2],r[3]||0,r[4]||0,r[5]||0)}function Em(r){return[r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()]}function ds(r){return r.length===1&&(r=r.concat([0])),new Date(Date.UTC(...r))}function XW(r){return!isNaN(r.valueOf())}function xm(r){return r.getUTCHours()*1e3*60*60+r.getUTCMinutes()*1e3*60+r.getUTCSeconds()*1e3+r.getUTCMilliseconds()}function GR(r,e,t=!1){let n=r.toISOString();return n=n.replace(".000",""),t&&(n=n.replace("T00:00:00Z","")),n.length>10&&(e==null?n=n.replace("Z",""):e!==0&&(n=n.replace("Z",t4(e,!0)))),n}function _m(r){return r.toISOString().replace(/T.*$/,"")}function hT(r){return r.toISOString().match(/^\d{4}-\d{2}/)[0]}function e4(r){return tg(r.getUTCHours(),2)+":"+tg(r.getUTCMinutes(),2)+":"+tg(r.getUTCSeconds(),2)}function t4(r,e=!1){let t=r<0?"-":"+",n=Math.abs(r),i=Math.floor(n/60),a=Math.round(n%60);return e?`${t+tg(i,2)}:${tg(a,2)}`:`GMT${t}${i}${a?`:${tg(a,2)}`:""}`}function Me(r,e,t){let n,i;return function(...a){if(!n)i=r.apply(this,a);else if(!Jc(n,a)){t&&t(i);let s=r.apply(this,a);(!e||!e(s,i))&&(i=s)}return n=a,i}}function gT(r,e,t){let n,i;return a=>{if(!n)i=r.call(this,a);else if(!ua(n,a)){t&&t(i);let s=r.call(this,a);(!e||!e(s,i))&&(i=s)}return n=a,i}}function JCe(r,e,t){let n=Object.keys(r).length;return n===1&&r.timeZoneName==="short"?i=>t4(i.timeZoneOffset):n===0&&e.week?i=>Wst(t.computeWeekNumber(i.marker),t.weekText,t.weekTextLong,t.locale,e.week):Ust(r,e,t)}function Ust(r,e,t){r=Object.assign({},r),e=Object.assign({},e),Hst(r,e),r.timeZone="UTC";let n=new Intl.DateTimeFormat(t.locale.codes,r),i;if(e.omitZeroMinute){let a=Object.assign({},r);delete a.minute,i=new Intl.DateTimeFormat(t.locale.codes,a)}return a=>{let{marker:s}=a,o;i&&!s.getUTCMinutes()?o=i:o=n;let l=o.format(s);return Vst(l,a,r,e,t)}}function Hst(r,e){r.timeZoneName&&(r.hour||(r.hour="2-digit"),r.minute||(r.minute="2-digit")),r.timeZoneName==="long"&&(r.timeZoneName="short"),e.omitZeroMinute&&(r.second||r.millisecond)&&delete e.omitZeroMinute}function Vst(r,e,t,n,i){return r=r.replace(jst,""),t.timeZoneName==="short"&&(r=qst(r,i.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":t4(e.timeZoneOffset))),n.omitCommas&&(r=r.replace($st,"").trim()),n.omitZeroMinute&&(r=r.replace(":00","")),n.meridiem===!1?r=r.replace(MR,"").trim():n.meridiem==="narrow"?r=r.replace(MR,(a,s)=>s.toLocaleLowerCase()):n.meridiem==="short"?r=r.replace(MR,(a,s)=>`${s.toLocaleLowerCase()}m`):n.meridiem==="lowercase"&&(r=r.replace(MR,a=>a.toLocaleLowerCase())),r=r.replace(zst," "),r=r.trim(),r}function qst(r,e){let t=!1;return r=r.replace(Bst,()=>(t=!0,e)),t||(r+=` ${e}`),r}function Wst(r,e,t,n,i){let a=[];return i==="long"?a.push(t):(i==="short"||i==="narrow")&&a.push(e),(i==="long"||i==="short")&&a.push(" "),a.push(n.simpleNumberFormat.format(r)),n.options.direction==="rtl"&&a.reverse(),a.join("")}function Yst(r,e,t){return t.getMarkerYear(r)!==t.getMarkerYear(e)?5:t.getMarkerMonth(r)!==t.getMarkerMonth(e)?4:t.getMarkerDay(r)!==t.getMarkerDay(e)?2:xm(r)!==xm(e)?1:0}function Gst(r,e){let t={};for(let n in r)(!(n in LR)||LR[n]<=e)&&(t[n]=r[n]);return t}function Kst(r,e,t,n){let i=0;for(;i<r.length;){let a=r.indexOf(e,i);if(a===-1)break;let s=r.substr(0,a);i=a+e.length;let o=r.substr(i),l=0;for(;l<t.length;){let c=t.indexOf(n,l);if(c===-1)break;let d=t.substr(0,c);l=c+n.length;let u=t.substr(l);if(s===d&&o===u)return{before:s,after:o}}}return null}function XCe(r,e){let t=e.markerToArray(r.marker);return{marker:r.marker,timeZoneOffset:r.timeZoneOffset,array:t,year:t[0],month:t[1],day:t[2],hour:t[3],minute:t[4],second:t[5],millisecond:t[6]}}function FR(r,e,t,n){let i=XCe(r,t.calendarSystem),a=e?XCe(e,t.calendarSystem):null;return{date:i,start:i,end:a,timeZone:t.timeZone,localeCodes:t.locale.codes,defaultSeparator:n||t.defaultSeparator}}function Gt(r){return typeof r=="object"&&r?new RW(r):typeof r=="string"?new OW(r):typeof r=="function"?new LW(r):null}function eg(r,e){return typeof r=="object"&&typeof e=="object"&&r&&e?ua(r,e):r===e}function _R(r,e){return Array.isArray(r)&&Array.isArray(e)?Jc(r,e):r===e}function KR(r){return ZR(r,Am)}function JC(r,e){let t={},n={};for(let i in e)i in r&&(t[i]=e[i](r[i]));for(let i in r)i in e||(n[i]=r[i]);return{refined:t,extra:n}}function j(r){return r}function ZR(r,e){let t={};if(e){for(let n in e)if(e[n]===eg){let i=[];for(let a=r.length-1;a>=0;a-=1){let s=r[a][n];if(typeof s=="object"&&s)i.unshift(s);else if(s!==void 0){t[n]=s;break}}i.length&&(t[n]=ZR(i))}}for(let n=r.length-1;n>=0;n-=1){let i=r[n];for(let a in i)a in t||(t[a]=i[a])}return t}function Iu(r,e){let t={};for(let n in r)e(r[n],n)&&(t[n]=r[n]);return t}function Uo(r,e){let t={};for(let n in r)t[n]=e(r[n],n);return t}function a4(r){let e={};for(let t of r)e[t]=!0;return e}function QR(r){let e=[];for(let t in r)e.push(r[t]);return e}function ua(r,e){if(r===e)return!0;for(let t in r)if($R.call(r,t)&&!(t in e))return!1;for(let t in e)if($R.call(e,t)&&r[t]!==e[t])return!1;return!0}function Qst(r,e){let t=Jst(r,e);for(let n of t)if(!Zst.test(n))return!1;return!0}function Jst(r,e){let t=[];for(let n in r)$R.call(r,n)&&(n in e||t.push(n));for(let n in e)$R.call(e,n)&&r[n]!==e[n]&&t.push(n);return t}function RR(r,e,t={}){if(r===e)return!0;for(let n in e)if(!(n in r&&Xst(r[n],e[n],t[n])))return!1;for(let n in r)if(!(n in e))return!1;return!0}function Xst(r,e,t){return r===e||t===!0?!0:t?t(r,e):!1}function bDe(r,e=0,t,n=1){let i=[];t==null&&(t=Object.keys(r).length);for(let a=e;a<t;a+=n){let s=r[a];s!==void 0&&i.push(s)}return i}function eot(r,e){TDe[r]=e}function tot(r){return new TDe[r]}function kDe(r){let e=rot.exec(r);if(e){let t=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?+`0.${e[12]}`*1e3:0));if(XW(t)){let n=null;return e[13]&&(n=(e[15]==="-"?-1:1)*(Number(e[16]||0)*60+Number(e[18]||0))),{marker:t,isTimeUnspecified:!e[6],timeZoneOffset:n}}}return null}function LC(r){r();let e=je.debounceRendering,t=[];function n(i){t.push(i)}for(je.debounceRendering=n,wm(M($W,{}),document.createElement("div"));t.length;)t.shift()();je.debounceRendering=e}function wDe(r){let e=CR(r),t=e.Provider;return e.Provider=function(){let n=!this.getChildContext,i=t.apply(this,arguments);if(n){let a=[];this.shouldComponentUpdate=s=>{this.props.value!==s.value&&a.forEach(o=>{o.context=s.value,o.forceUpdate()})},this.sub=s=>{a.push(s);let o=s.componentWillUnmount;s.componentWillUnmount=()=>{a.splice(a.indexOf(s),1),o&&o.call(s)}}}return i},e}function SDe(r,e,t,n,i,a,s,o,l,c,d,u,p,m){return{dateEnv:i,nowManager:a,options:t,pluginHooks:o,emitter:d,dispatch:l,getCurrentData:c,calendarApi:u,viewSpec:r,viewApi:e,dateProfileGenerator:n,theme:s,isRtl:t.direction==="rtl",addResizeHandler(f){d.on("_resize",f)},removeResizeHandler(f){d.off("_resize",f)},createScrollResponder(f){return new zR(f,d,ct(t.scrollTime),t.scrollTimeReset)},registerInteractiveComponent:p,unregisterInteractiveComponent:m}}function not(r){let e=Object.create(this.prototype.propEquality);Object.assign(e,r),this.prototype.propEquality=e}function iot(r){let e=Object.create(this.prototype.stateEquality);Object.assign(e,r),this.prototype.stateEquality=e}function no(r,e){typeof r=="function"?r(e):r&&(r.current=e)}function zW(r,e){var t;return!!(e.handleCustomRendering&&r&&(!((t=e.customRenderingMetaMap)===null||t===void 0)&&t[r]))}function s4(r,e,t){let n=Object.assign(Object.assign({},r.elAttrs),{ref:t});return(r.elClasses||e)&&(n.className=(r.elClasses||[]).concat(e||[]).concat(n.className||[]).filter(Boolean).join(" ")),r.elStyle&&(n.style=r.elStyle),n}function aot(r){return!!r}function sot(r,e){let t=r.props;return M(FC,Object.assign({renderProps:t.renderProps,generatorName:t.generatorName,customGenerator:t.customGenerator,defaultGenerator:t.defaultGenerator,renderId:r.context},e))}function oot(r,e){let t=typeof r=="function"?r(e):r||[];return typeof t=="string"?[t]:t}function l4(r){return[`fc-${r.type}-view`,"fc-view"]}function lot(r,e){let t=null,n=null;return r.start&&(t=e.createMarker(r.start)),r.end&&(n=e.createMarker(r.end)),!t&&!n||t&&n&&n<t?null:{start:t,end:n}}function eDe(r,e){let t=[],{start:n}=e,i,a;for(r.sort(cot),i=0;i<r.length;i+=1)a=r[i],a.start>n&&t.push({start:n,end:a.start}),a.end>n&&(n=a.end);return n<e.end&&t.push({start:n,end:e.end}),t}function cot(r,e){return r.start.valueOf()-e.start.valueOf()}function $a(r,e){let{start:t,end:n}=r,i=null;return e.start!==null&&(t===null?t=e.start:t=new Date(Math.max(t.valueOf(),e.start.valueOf()))),e.end!=null&&(n===null?n=e.end:n=new Date(Math.min(n.valueOf(),e.end.valueOf()))),(t===null||n===null||t<n)&&(i={start:t,end:n}),i}function EDe(r,e){return(r.start===null?null:r.start.valueOf())===(e.start===null?null:e.start.valueOf())&&(r.end===null?null:r.end.valueOf())===(e.end===null?null:e.end.valueOf())}function JR(r,e){return(r.end===null||e.start===null||r.end>e.start)&&(r.start===null||e.end===null||r.start<e.end)}function yT(r,e){return(r.start===null||e.start!==null&&e.start>=r.start)&&(r.end===null||e.end!==null&&e.end<=r.end)}function Bo(r,e){return(r.start===null||e>=r.start)&&(r.end===null||e<r.end)}function dot(r,e){return e.start!=null&&r<e.start?e.start:e.end!=null&&r>=e.end?new Date(e.end.valueOf()-1):r}function xDe(r){let e=Math.floor(Xc(r.start,r.end))||1,t=pr(r.start),n=un(t,e);return{start:t,end:n}}function XR(r,e=ct(0)){let t=null,n=null;if(r.end){n=pr(r.end);let i=r.end.valueOf()-n.valueOf();i&&i>=to(e)&&(n=un(n,1))}return r.start&&(t=pr(r.start),n&&n<=t&&(n=un(t,1))),{start:t,end:n}}function c4(r){let e=XR(r);return Xc(e.start,e.end)>1}function Cm(r,e,t,n){return n==="year"?ct(t.diffWholeYears(r,e),"year"):n==="month"?ct(t.diffWholeMonths(r,e),"month"):gDe(r,e)}function vT(r,e,t,n){return{instanceId:Fu(),defId:r,range:e,forcedStartTzo:t==null?null:t,forcedEndTzo:n==null?null:n}}function uot(r,e,t,n){for(let i=0;i<n.length;i+=1){let a=n[i].parse(r,t);if(a){let{allDay:s}=r;return s==null&&(s=e,s==null&&(s=a.allDayGuess,s==null&&(s=!1))),{allDay:s,duration:a.duration,typeData:a.typeData,typeId:i}}}return null}function ig(r,e,t){let{dateEnv:n,pluginHooks:i,options:a}=t,{defs:s,instances:o}=r;o=Iu(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?a.defaultAllDayEventDuration:a.defaultTimedEventDuration);let u=pot(c,d,e,n,i.recurringTypes);for(let p of u){let m=vT(l,{start:p,end:n.add(p,d)});o[m.instanceId]=m}}}return{defs:s,instances:o}}function pot(r,e,t,n,i){let s=i[r.recurringDef.typeId].expand(r.recurringDef.typeData,{start:n.subtract(t.start,e),end:t.end},n);return r.allDay&&(s=s.map(pr)),s}function DDe(r,e,t,n,i=d4(t),a,s){let{refined:o,extra:l}=XC(r,t,i),c=hot(e,t),d=uot(o,c,t.dateEnv,t.pluginHooks.recurringTypes);if(d){let p=cT(o,l,e?e.sourceId:"",d.allDay,!!d.duration,t,a);return p.recurringDef={typeId:d.typeId,typeData:d.typeData,duration:d.duration},{def:p,instance:null}}let u=fot(o,c,t,n);if(u){let p=cT(o,l,e?e.sourceId:"",u.allDay,u.hasEnd,t,a),m=vT(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 XC(r,e,t=d4(e)){return JC(r,t)}function d4(r){return Object.assign(Object.assign(Object.assign({},jR),mot),r.pluginHooks.eventRefiners)}function cT(r,e,t,n,i,a,s){let o={title:r.title||"",groupId:r.groupId||"",publicId:r.id||"",url:r.url||"",recurringDef:null,defId:(s&&r.id?s[r.id]:"")||Fu(),sourceId:t,allDay:n,hasEnd:i,interactive:r.interactive,ui:bT(r,a),extendedProps:Object.assign(Object.assign({},r.extendedProps||{}),e)};for(let l of a.pluginHooks.eventDefMemberAdders)Object.assign(o,l(r));return Object.freeze(o.ui.classNames),Object.freeze(o.extendedProps),o}function fot(r,e,t,n){let{allDay:i}=r,a,s=null,o=!1,l,c=null,d=r.start!=null?r.start:r.date;if(a=t.dateEnv.createMarkerMeta(d),a)s=a.marker;else if(!n)return null;return r.end!=null&&(l=t.dateEnv.createMarkerMeta(r.end)),i==null&&(e!=null?i=e:i=(!a||a.isTimeUnspecified)&&(!l||l.isTimeUnspecified)),i&&s&&(s=pr(s)),l&&(c=l.marker,i&&(c=pr(c)),s&&c<=s&&(c=null)),c?o=!0:n||(o=t.options.forceEventDuration||!1,c=t.dateEnv.add(s,i?t.options.defaultAllDayEventDuration:t.options.defaultTimedEventDuration)),{allDay:i,hasEnd:o,range:{start:s,end:c},forcedStartTzo:a?a.forcedTzo:null,forcedEndTzo:l?l.forcedTzo:null}}function hot(r,e){let t=null;return r&&(t=r.defaultAllDay),t==null&&(t=e.options.defaultAllDay),t}function $C(r,e,t,n,i,a){let s=mi(),o=d4(t);for(let l of r){let c=DDe(l,e,t,n,o,i,a);c&&ag(c,s)}return s}function ag(r,e=mi()){return e.defs[r.def.defId]=r.def,r.instance&&(e.instances[r.instance.instanceId]=r.instance),e}function eD(r,e){let t=r.instances[e];if(t){let n=r.defs[t.defId],i=tO(r,a=>got(n,a));return i.defs[n.defId]=n,i.instances[t.instanceId]=t,i}return mi()}function got(r,e){return!!(r.groupId&&r.groupId===e.groupId)}function mi(){return{defs:{},instances:{}}}function eO(r,e){return{defs:Object.assign(Object.assign({},r.defs),e.defs),instances:Object.assign(Object.assign({},r.instances),e.instances)}}function tO(r,e){let t=Iu(r.defs,e),n=Iu(r.instances,i=>t[i.defId]);return{defs:t,instances:n}}function yot(r,e){let{defs:t,instances:n}=r,i={},a={};for(let s in t)e.defs[s]||(i[s]=t[s]);for(let s in n)!e.instances[s]&&i[n[s].defId]&&(a[s]=n[s]);return{defs:i,instances:a}}function vot(r,e){return Array.isArray(r)?$C(r,null,e,!0):typeof r=="object"&&r?$C([r],null,e,!0):r!=null?String(r):null}function jW(r){return Array.isArray(r)?r:typeof r=="string"?r.split(/\s+/):[]}function bT(r,e){let t=vot(r.constraint,e);return{display:r.display||null,startEditable:r.startEditable!=null?r.startEditable:r.editable,durationEditable:r.durationEditable!=null?r.durationEditable:r.editable,constraints:t!=null?[t]:[],overlap:r.overlap!=null?r.overlap:null,allows:r.allow!=null?[r.allow]:[],backgroundColor:r.backgroundColor||r.color||"",borderColor:r.borderColor||r.color||"",textColor:r.textColor||"",classNames:(r.className||[]).concat(r.classNames||[])}}function u4(r){return r.reduce(Tot,bot)}function Tot(r,e){return{display:e.display!=null?e.display:r.display,startEditable:e.startEditable!=null?e.startEditable:r.startEditable,durationEditable:e.durationEditable!=null?e.durationEditable:r.durationEditable,constraints:r.constraints.concat(e.constraints),overlap:typeof e.overlap=="boolean"?e.overlap:r.overlap,allows:r.allows.concat(e.allows),backgroundColor:e.backgroundColor||r.backgroundColor,borderColor:e.borderColor||r.borderColor,textColor:e.textColor||r.textColor,classNames:r.classNames.concat(e.classNames)}}function p4(r,e,t=m4(e)){let n;if(typeof r=="string"?n={url:r}:typeof r=="function"||Array.isArray(r)?n={events:r}:typeof r=="object"&&r&&(n=r),n){let{refined:i,extra:a}=JC(n,t),s=wot(i,e);if(s)return{_raw:r,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:Fu(),sourceDefId:s.sourceDefId,meta:s.meta,ui:bT(i,e),extendedProps:a}}return null}function m4(r){return Object.assign(Object.assign(Object.assign({},jR),kot),r.pluginHooks.eventSourceRefiners)}function wot(r,e){let t=e.pluginHooks.eventSourceDefs;for(let n=t.length-1;n>=0;n-=1){let a=t[n].parseMeta(r);if(a)return{sourceDefId:n,meta:a}}return null}function PDe(r,e,t,n,i){switch(e.type){case"RECEIVE_EVENTS":return Sot(r,t[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,i);case"RESET_RAW_EVENTS":return Eot(r,t[e.sourceId],e.rawEvents,n.activeRange,i);case"ADD_EVENTS":return xot(r,e.eventStore,n?n.activeRange:null,i);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return eO(r,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ig(r,n.activeRange,i):r;case"REMOVE_EVENTS":return yot(r,e.eventStore);case"REMOVE_EVENT_SOURCE":return _De(r,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return tO(r,a=>!a.sourceId);case"REMOVE_ALL_EVENTS":return mi();default:return r}}function Sot(r,e,t,n,i,a){if(e&&t===e.latestFetchId){let s=$C(MDe(i,e,a),e,a);return n&&(s=ig(s,n,a)),eO(_De(r,e.sourceId),s)}return r}function Eot(r,e,t,n,i){let{defIdMap:a,instanceIdMap:s}=Dot(r),o=$C(MDe(t,e,i),e,i,!1,a,s);return ig(o,n,i)}function MDe(r,e,t){let n=t.options.eventDataTransform,i=e?e.eventDataTransform:null;return i&&(r=tDe(r,i)),n&&(r=tDe(r,n)),r}function tDe(r,e){let t;if(!e)t=r;else{t=[];for(let n of r){let i=e(n);i?t.push(i):i==null&&t.push(n)}}return t}function xot(r,e,t,n){return t&&(e=ig(e,t,n)),eO(r,e)}function f4(r,e,t){let{defs:n}=r,i=Uo(r.instances,a=>n[a.defId].allDay?a:Object.assign(Object.assign({},a),{range:{start:t.createMarker(e.toDate(a.range.start,a.forcedStartTzo)),end:t.createMarker(e.toDate(a.range.end,a.forcedEndTzo))},forcedStartTzo:t.canComputeOffset?null:a.forcedStartTzo,forcedEndTzo:t.canComputeOffset?null:a.forcedEndTzo}));return{defs:n,instances:i}}function _De(r,e){return tO(r,t=>t.sourceId!==e)}function Cot(r,e){return{defs:r.defs,instances:Iu(r.instances,t=>!e[t.instanceId])}}function Dot(r){let{defs:e,instances:t}=r,n={},i={};for(let a in e){let s=e[a],{publicId:o}=s;o&&(n[o]=a)}for(let a in t){let s=t[a],o=e[s.defId],{publicId:l}=o;l&&(i[l]=a)}return{defIdMap:n,instanceIdMap:i}}function Pot(r,e,t){(r[e]||(r[e]=[])).push(t)}function Mot(r,e,t){t?r[e]&&(r[e]=r[e].filter(n=>n!==t)):delete r[e]}function h4(r,e){return $C(Aot(r),null,e)}function Aot(r){let e;return r===!0?e=[{}]:Array.isArray(r)?e=r.filter(t=>t.daysOfWeek):typeof r=="object"&&r?e=[r]:e=[],e=e.map(t=>Object.assign(Object.assign({},_ot),t)),e}function rO(r,e,t){t.emitter.trigger("select",Object.assign(Object.assign({},g4(r,t)),{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view}))}function Iot(r,e){e.emitter.trigger("unselect",{jsEvent:r?r.origEvent:null,view:e.viewApi||e.calendarApi.view})}function g4(r,e){let t={};for(let n of e.pluginHooks.dateSpanTransforms)Object.assign(t,n(r,e));return Object.assign(t,Vot(r,e.dateEnv)),t}function zC(r,e,t){let{dateEnv:n,options:i}=t,a=e;return r?(a=pr(a),a=n.add(a,i.defaultAllDayEventDuration)):a=n.add(a,i.defaultTimedEventDuration),a}function tD(r,e,t,n){let i=BR(r.defs,e),a=mi();for(let s in r.defs){let o=r.defs[s];a.defs[s]=Not(o,i[s],t,n)}for(let s in r.instances){let o=r.instances[s],l=a.defs[o.defId];a.instances[s]=Rot(o,l,i[o.defId],t,n)}return a}function Not(r,e,t,n){let i=t.standardProps||{};i.hasEnd==null&&e.durationEditable&&(t.startDelta||t.endDelta)&&(i.hasEnd=!0);let a=Object.assign(Object.assign(Object.assign({},r),i),{ui:Object.assign(Object.assign({},r.ui),i.ui)});t.extendedProps&&(a.extendedProps=Object.assign(Object.assign({},a.extendedProps),t.extendedProps));for(let s of n.pluginHooks.eventDefMutationAppliers)s(a,t,n);return!a.hasEnd&&n.options.forceEventDuration&&(a.hasEnd=!0),a}function Rot(r,e,t,n,i){let{dateEnv:a}=i,s=n.standardProps&&n.standardProps.allDay===!0,o=n.standardProps&&n.standardProps.hasEnd===!1,l=Object.assign({},r);return s&&(l.range=xDe(l.range)),n.datesDelta&&t.startEditable&&(l.range={start:a.add(l.range.start,n.datesDelta),end:a.add(l.range.end,n.datesDelta)}),n.startDelta&&t.durationEditable&&(l.range={start:a.add(l.range.start,n.startDelta),end:l.range.end}),n.endDelta&&t.durationEditable&&(l.range={start:l.range.start,end:a.add(l.range.end,n.endDelta)}),o&&(l.range={start:l.range.start,end:zC(e.allDay,l.range.start,i)}),e.allDay&&(l.range={start:pr(l.range.start),end:pr(l.range.end)}),l.range.end<l.range.start&&(l.range.end=zC(e.allDay,l.range.start,i)),l}function ADe(r){let e=r._def,t=r._instance;return{defs:{[e.defId]:e},instances:t?{[t.instanceId]:t}:{}}}function td(r,e,t){let{defs:n,instances:i}=r,a=[],s=t?t.instanceId:"";for(let o in i){let l=i[o],c=n[l.defId];l.instanceId!==s&&a.push(new Nr(e,c,l))}return a}function dT(r,e,t,n){let i={},a={},s={},o=[],l=[],c=BR(r.defs,e);for(let d in r.defs){let u=r.defs[d];c[u.defId].display==="inverse-background"&&(u.groupId?(i[u.groupId]=[],s[u.groupId]||(s[u.groupId]=u)):a[d]=[])}for(let d in r.instances){let u=r.instances[d],p=r.defs[u.defId],m=c[p.defId],f=u.range,h=!p.allDay&&n?XR(f,n):f,g=$a(h,t);g&&(m.display==="inverse-background"?p.groupId?i[p.groupId].push(g):a[u.defId].push(g):m.display!=="none"&&(m.display==="background"?o:l).push({def:p,ui:m,instance:u,range:g,isStart:h.start&&h.start.valueOf()===g.start.valueOf(),isEnd:h.end&&h.end.valueOf()===g.end.valueOf()}))}for(let d in i){let u=i[d],p=eDe(u,t);for(let m of p){let f=s[d],h=c[f.defId];o.push({def:f,ui:h,instance:null,range:m,isStart:!1,isEnd:!1})}}for(let d in a){let u=a[d],p=eDe(u,t);for(let m of p)o.push({def:r.defs[d],ui:c[d],instance:null,range:m,isStart:!1,isEnd:!1})}return{bg:o,fg:l}}function y4(r){return r.ui.display==="background"||r.ui.display==="inverse-background"}function rDe(r,e){r.fcSeg=e}function $u(r){return r.fcSeg||r.parentNode.fcSeg||null}function BR(r,e){return Uo(r,t=>IDe(t,e))}function IDe(r,e){let t=[];return e[""]&&t.push(e[""]),e[r.defId]&&t.push(e[r.defId]),t.push(r.ui),u4(t)}function fg(r,e){let t=r.map(Oot);return t.sort((n,i)=>mDe(n,i,e)),t.map(n=>n._seg)}function Oot(r){let{eventRange:e}=r,t=e.def,n=e.instance?e.instance.range:e.range,i=n.start?n.start.valueOf():0,a=n.end?n.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},t.extendedProps),t),{id:t.publicId,start:i,end:a,duration:a-i,allDay:Number(t.allDay),_seg:r})}function Lot(r,e){let{pluginHooks:t}=e,n=t.isDraggableTransformers,{def:i,ui:a}=r.eventRange,s=a.startEditable;for(let o of n)s=o(s,i,a,e);return s}function Fot(r,e){return r.isStart&&r.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function $ot(r,e){return r.isEnd&&r.eventRange.ui.durationEditable}function Im(r,e,t,n,i,a,s){let{dateEnv:o,options:l}=t,{displayEventTime:c,displayEventEnd:d}=l,u=r.eventRange.def,p=r.eventRange.instance;c==null&&(c=n!==!1),d==null&&(d=i!==!1);let m=p.range.start,f=p.range.end,h=a||r.start||r.eventRange.range.start,g=s||r.end||r.eventRange.range.end,v=pr(m).valueOf()===pr(h).valueOf(),k=pr(Gc(f,-1)).valueOf()===pr(Gc(g,-1)).valueOf();return c&&!u.allDay&&(v||k)?(h=v?m:h,g=k?f:g,d&&u.hasEnd?o.formatRange(h,g,e,{forcedStartTzo:a?null:p.forcedStartTzo,forcedEndTzo:s?null:p.forcedEndTzo}):o.format(h,e,{forcedTzo:a?null:p.forcedStartTzo})):""}function io(r,e,t){let n=r.eventRange.range;return{isPast:n.end<=(t||e.start),isFuture:n.start>=(t||e.end),isToday:e&&Bo(e,n.start)}}function zot(r){let e=["fc-event"];return r.isMirror&&e.push("fc-event-mirror"),r.isDraggable&&e.push("fc-event-draggable"),(r.isStartResizable||r.isEndResizable)&&e.push("fc-event-resizable"),r.isDragging&&e.push("fc-event-dragging"),r.isResizing&&e.push("fc-event-resizing"),r.isSelected&&e.push("fc-event-selected"),r.isStart&&e.push("fc-event-start"),r.isEnd&&e.push("fc-event-end"),r.isPast&&e.push("fc-event-past"),r.isToday&&e.push("fc-event-today"),r.isFuture&&e.push("fc-event-future"),e}function rD(r){return r.instance?r.instance.instanceId:`${r.def.defId}:${r.range.start.toISOString()}`}function TT(r,e){let{def:t,instance:n}=r.eventRange,{url:i}=t;if(i)return{href:i};let{emitter:a,options:s}=e,{eventInteractive:o}=s;return o==null&&(o=t.interactive,o==null&&(o=!!a.hasHandlers("eventClick"))),o?uDe(l=>{a.trigger("eventClick",{el:l.target,event:new Nr(e,t,n),jsEvent:l,view:e.viewApi})}):{}}function Bot(r,e,t){let n=Uot(r,e),{range:i}=n;if(!i.start)return null;if(!i.end){if(t==null)return null;i.end=e.add(i.start,t)}return n}function Uot(r,e){let{refined:t,extra:n}=JC(r,jot),i=t.start?e.createMarkerMeta(t.start):null,a=t.end?e.createMarkerMeta(t.end):null,{allDay:s}=t;return s==null&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified)),Object.assign({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},n)}function v4(r,e){return EDe(r.range,e.range)&&r.allDay===e.allDay&&Hot(r,e)}function Hot(r,e){for(let t in e)if(t!=="range"&&t!=="allDay"&&r[t]!==e[t])return!1;for(let t in r)if(!(t in e))return!1;return!0}function Vot(r,e){return Object.assign(Object.assign({},NDe(r.range,e,r.allDay)),{allDay:r.allDay})}function b4(r,e,t){return Object.assign(Object.assign({},NDe(r,e,t)),{timeZone:e.timeZone})}function NDe(r,e,t){return{start:e.toDate(r.start),end:e.toDate(r.end),startStr:e.formatIso(r.start,{omitTime:t}),endStr:e.formatIso(r.end,{omitTime:t})}}function qot(r,e,t){let n=XC({editable:!1},t),i=cT(n.refined,n.extra,"",r.allDay,!0,t);return{def:i,ui:IDe(i,e),instance:vT(i.defId,r.range),range:r.range,isStart:!0,isEnd:!0}}function T4(r,e,t){let n=!1,i=function(o){n||(n=!0,e(o))},a=function(o){n||(n=!0,t(o))},s=r(i,a);s&&typeof s.then=="function"&&s.then(i,a)}function k4(r,e,t){r=r.toUpperCase();let n={method:r};return r==="GET"?e+=(e.indexOf("?")===-1?"?":"&")+new URLSearchParams(t):(n.body=new URLSearchParams(t),n.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(e,n).then(i=>{if(i.ok)return i.json().then(a=>[a,i],()=>{throw new UR("Failure parsing JSON",i)});throw new UR("Request failed",i)})}function w4(){return CW==null&&(CW=Wot()),CW}function Wot(){if(typeof document=="undefined")return!0;let r=document.createElement("div");r.style.position="absolute",r.style.top="0px",r.style.left="0px",r.innerHTML="<table><tr><td><div></div></td></tr></table>",r.querySelector("table").style.height="100px",r.querySelector("div").style.height="100%",document.body.appendChild(r);let t=r.querySelector("div").offsetHeight>0;return document.body.removeChild(r),t}function RDe(r,e){return{component:r,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function nD(r){return{[r.component.uid]:r}}function Yot(r){let e=pr(r),t=un(e,1);return{start:e,end:t}}function S4(r,e){return r.left>=e.left&&r.left<e.right&&r.top>=e.top&&r.top<e.bottom}function nO(r,e){let t={left:Math.max(r.left,e.left),right:Math.min(r.right,e.right),top:Math.max(r.top,e.top),bottom:Math.min(r.bottom,e.bottom)};return t.left<t.right&&t.top<t.bottom?t:!1}function E4(r,e){return{left:Math.min(Math.max(r.left,e.left),e.right),top:Math.min(Math.max(r.top,e.top),e.bottom)}}function x4(r){return{left:(r.left+r.right)/2,top:(r.top+r.bottom)/2}}function C4(r,e){return{left:r.left-e.left,top:r.top-e.top}}function Got(r,e,t){let n=[];r&&n.push(r),e&&n.push(e);let i={"":u4(n)};return t&&Object.assign(i,t),i}function iD(r,e,t,n){return{dow:r.getUTCDay(),isDisabled:!!(n&&(!n.activeRange||!Bo(n.activeRange,r))),isOther:!!(n&&!Bo(n.currentRange,r)),isToday:!!(e&&Bo(e,r)),isPast:!!(t?r<t:e&&r<e.start),isFuture:!!(t?r>t:e&&r>=e.end)}}function kT(r,e){let t=["fc-day",`fc-day-${Mst[r.dow]}`];return r.isDisabled?t.push("fc-day-disabled"):(r.isToday&&(t.push("fc-day-today"),t.push(e.getClass("today"))),r.isPast&&t.push("fc-day-past"),r.isFuture&&t.push("fc-day-future"),r.isOther&&t.push("fc-day-other")),t}function rd(r,e,t="day",n=!0){let{dateEnv:i,options:a,calendarApi:s}=r,o=i.format(e,t==="week"?Zot:Kot);if(a.navLinks){let l=i.toDate(e),c=d=>{let u=t==="day"?a.navLinkDayClick:t==="week"?a.navLinkWeekClick:null;typeof u=="function"?u.call(s,i.toDate(e),d):(typeof u=="string"&&(t=u),s.zoomTo(e,t))};return Object.assign({title:fT(a.navLinkHint,[o,l],o),"data-navlink":""},n?dDe(c):{onClick:c})}return{"aria-label":o}}function ODe(){return PW===null&&(PW=Qot()),PW}function Qot(){let r=document.createElement("div");mg(r,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),r.innerHTML="<div></div>",document.body.appendChild(r);let t=r.firstChild.getBoundingClientRect().left>r.getBoundingClientRect().left;return GC(r),t}function LDe(){return MW||(MW=Jot()),MW}function Jot(){let r=document.createElement("div");r.style.overflow="scroll",r.style.position="absolute",r.style.top="-9999px",r.style.left="-9999px",document.body.appendChild(r);let e=FDe(r);return document.body.removeChild(r),e}function FDe(r){return{x:r.offsetHeight-r.clientHeight,y:r.offsetWidth-r.clientWidth}}function $De(r,e=!1){let t=window.getComputedStyle(r),n=parseInt(t.borderLeftWidth,10)||0,i=parseInt(t.borderRightWidth,10)||0,a=parseInt(t.borderTopWidth,10)||0,s=parseInt(t.borderBottomWidth,10)||0,o=FDe(r),l=o.y-n-i,c=o.x-a-s,d={borderLeft:n,borderRight:i,borderTop:a,borderBottom:s,scrollbarBottom:c,scrollbarLeft:0,scrollbarRight:0};return ODe()&&t.direction==="rtl"?d.scrollbarLeft=l:d.scrollbarRight=l,e&&(d.paddingLeft=parseInt(t.paddingLeft,10)||0,d.paddingRight=parseInt(t.paddingRight,10)||0,d.paddingTop=parseInt(t.paddingTop,10)||0,d.paddingBottom=parseInt(t.paddingBottom,10)||0),d}function D4(r,e=!1,t){let n=t?r.getBoundingClientRect():aD(r),i=$De(r,e),a={left:n.left+i.borderLeft+i.scrollbarLeft,right:n.right-i.borderRight-i.scrollbarRight,top:n.top+i.borderTop,bottom:n.bottom-i.borderBottom-i.scrollbarBottom};return e&&(a.left+=i.paddingLeft,a.right-=i.paddingRight,a.top+=i.paddingTop,a.bottom-=i.paddingBottom),a}function aD(r){let e=r.getBoundingClientRect();return{left:e.left+window.scrollX,top:e.top+window.scrollY,right:e.right+window.scrollX,bottom:e.bottom+window.scrollY}}function Xot(r){let e=iO(r),t=r.getBoundingClientRect();for(let n of e){let i=nO(t,n.getBoundingClientRect());if(i)t=i;else return null}return t}function iO(r){let e=[];for(;r instanceof HTMLElement;){let t=window.getComputedStyle(r);if(t.position==="fixed")break;/(auto|scroll)/.test(t.overflow+t.overflowY+t.overflowX)&&e.push(r),r=r.parentNode}return e}function AR(r,e){let t=r.length;if(t!==e.length)return!1;for(let n=0;n<t;n++)if(Math.round(r[n])!==Math.round(e[n]))return!1;return!0}function qC(r){return r.span.end}function Zc(r){return r.index+":"+r.span.start}function P4(r){let e=[];for(let t of r){let n=[],i={span:t.span,entries:[t]};for(let a of e)sD(a.span,i.span)?i={entries:a.entries.concat(i.entries),span:elt(a.span,i.span)}:n.push(a);n.push(i),e=n}return e}function elt(r,e){return{start:Math.min(r.start,e.start),end:Math.max(r.end,e.end)}}function sD(r,e){let t=Math.max(r.start,e.start),n=Math.min(r.end,e.end);return t<n?{start:t,end:n}:null}function _W(r,e,t){r.splice(e,0,t)}function WC(r,e,t){let n=0,i=r.length;if(!i||e<t(r[n]))return[0,0];if(e>t(r[i-1]))return[i,0];for(;n<i;){let a=Math.floor(n+(i-n)/2),s=t(r[a]);if(e<s)i=a;else if(e>s)n=a+1;else return[a,1]}return[n,0]}function oD(r){let{refined:e,extra:t}=JC(r,tlt);return{startTime:e.startTime||null,duration:e.duration||null,create:e.create!=null?e.create:!0,sourceId:e.sourceId,leftoverProps:t}}function zDe(r,e){return!r||e>10?Gt({weekday:"short"}):e>1?Gt({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):Gt({weekday:"long"})}function BDe(r){return r.text}function nlt(r,e,t){return r||zDe(e,t)}function IR(r,e){let t=r.activeRange;return e?t:{start:Gc(t.start,r.slotMinTime.milliseconds),end:Gc(t.end,r.slotMaxTime.milliseconds-864e5)}}function lD(r,e,t){let{instances:n}=r.mutatedEvents;for(let i in n)if(!yT(e.validRange,n[i].range))return!1;return UDe({eventDrag:r},t)}function M4(r,e,t){return yT(e.validRange,r.range)?UDe({dateSelection:r},t):!1}function UDe(r,e){let t=e.getCurrentData(),n=Object.assign({businessHours:t.businessHours,dateSelection:"",eventStore:t.eventStore,eventUiBases:t.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},r);return(e.pluginHooks.isPropsValid||HDe)(n,e)}function HDe(r,e,t={},n){return!(r.eventDrag&&!ilt(r,e,t,n)||r.dateSelection&&!alt(r,e,t,n))}function ilt(r,e,t,n){let i=e.getCurrentData(),a=r.eventDrag,s=a.mutatedEvents,o=s.defs,l=s.instances,c=BR(o,a.isEvent?r.eventUiBases:{"":i.selectionConfig});n&&(c=Uo(c,n));let d=Cot(r.eventStore,a.affectedEvents.instances),u=d.defs,p=d.instances,m=BR(u,r.eventUiBases);for(let f in l){let h=l[f],g=h.range,v=c[h.defId],k=o[h.defId];if(!VDe(v.constraints,g,d,r.businessHours,e))return!1;let{eventOverlap:b}=e.options,w=typeof b=="function"?b:null;for(let x in p){let C=p[x];if(JR(g,C.range)&&(m[C.defId].overlap===!1&&a.isEvent||v.overlap===!1||w&&!w(new Nr(e,u[C.defId],C),new Nr(e,k,h))))return!1}let S=i.eventStore;for(let x of v.allows){let C=Object.assign(Object.assign({},t),{range:h.range,allDay:k.allDay}),D=S.defs[k.defId],_=S.instances[f],O;if(D?O=new Nr(e,D,_):O=new Nr(e,k),!x(g4(C,e),O))return!1}}return!0}function alt(r,e,t,n){let i=r.eventStore,a=i.defs,s=i.instances,o=r.dateSelection,l=o.range,{selectionConfig:c}=e.getCurrentData();if(n&&(c=n(c)),!VDe(c.constraints,l,i,r.businessHours,e))return!1;let{selectOverlap:d}=e.options,u=typeof d=="function"?d:null;for(let p in s){let m=s[p];if(JR(l,m.range)&&(c.overlap===!1||u&&!u(new Nr(e,a[m.defId],m),null)))return!1}for(let p of c.allows){let m=Object.assign(Object.assign({},t),o);if(!p(g4(m,e),null))return!1}return!0}function VDe(r,e,t,n,i){for(let a of r)if(!olt(slt(a,e,t,n,i),e))return!1;return!0}function slt(r,e,t,n,i){return r==="businessHours"?AW(ig(n,e,i)):typeof r=="string"?AW(tO(t,a=>a.groupId===r)):typeof r=="object"&&r?AW(ig(r,e,i)):[]}function AW(r){let{instances:e}=r,t=[];for(let n in e)t.push(e[n].range);return t}function olt(r,e){for(let t of r)if(yT(t,e))return!0;return!1}function qDe(r){let e=lDe(r,".fc-scrollgrid-shrink"),t=0;for(let n of e)t=Math.max(t,Sst(n));return Math.ceil(t)}function _4(r,e){return r.liquid&&e.liquid}function WDe(r,e){return e.maxHeight!=null||_4(r,e)}function YDe(r,e,t,n){let{expandRows:i}=t;return typeof e.content=="function"?e.content(t):M("table",{role:"presentation",className:[e.tableClassName,r.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:t.tableMinWidth,width:t.clientWidth,height:i?t.clientHeight:""}},t.tableColGroupNode,M(n?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(t):e.rowContent))}function GDe(r,e){return Jc(r,e,ua)}function KDe(r,e){let t=[];for(let n of r){let i=n.span||1;for(let a=0;a<i;a+=1)t.push(M("col",{style:{width:n.width==="shrink"?ZDe(e):n.width||"",minWidth:n.minWidth||""}}))}return M("colgroup",{},...t)}function ZDe(r){return r==null?4:r}function QDe(r){for(let e of r)if(e.width==="shrink")return!0;return!1}function JDe(r,e){let t=["fc-scrollgrid",e.theme.getClass("table")];return r&&t.push("fc-scrollgrid-liquid"),t}function XDe(r,e){let t=["fc-scrollgrid-section",`fc-scrollgrid-section-${r.type}`,r.className];return e&&r.liquid&&r.maxHeight==null&&t.push("fc-scrollgrid-section-liquid"),r.isSticky&&t.push("fc-scrollgrid-section-sticky"),t}function ST(r){return M("div",{className:"fc-scrollgrid-sticky-shim",style:{width:r.clientWidth,minWidth:r.tableMinWidth}})}function gg(r){let{stickyHeaderDates:e}=r;return(e==null||e==="auto")&&(e=r.height==="auto"||r.viewHeight==="auto"),e}function cD(r){let{stickyFooterScrollbar:e}=r;return(e==null||e==="auto")&&(e=r.height==="auto"||r.viewHeight==="auto"),e}function llt(r,e){for(let t of r)if(t.key===e)return t;return null}function clt(r){return M("div",{className:"fc-event-main-frame"},r.timeText&&M("div",{className:"fc-event-time"},r.timeText),M("div",{className:"fc-event-title-container"},M("div",{className:"fc-event-title fc-sticky"},r.event.title||M(Yt,null,"\xA0"))))}function ET(r){return!!(r.dayCellContent||zW("dayCellContent",r))}function ult(r){let{date:e,dateEnv:t,dateProfile:n,isMonthStart:i}=r,a=iD(e,r.todayRange,null,n),s=r.showDayNumber?t.format(e,i?r.monthStartFormat:dlt):"";return Object.assign(Object.assign(Object.assign({date:t.toDate(e),view:r.viewApi},a),{isMonthStart:i,dayNumberText:s}),r.extraRenderProps)}function plt(r){let{title:e}=r.event;return e&&M("div",{className:"fc-event-title"},r.event.title)}function uD(r){return M("div",{className:`fc-${r}`})}function mlt(r){return r.text}function flt(r){return r.text}function nDe(r){if(r.allDayDate)return{start:r.allDayDate,end:un(r.allDayDate,1)};let{hiddenSegs:e}=r;return{start:aO(e),end:glt(e)}}function aO(r){return r.reduce(hlt).eventRange.range.start}function hlt(r,e){return r.eventRange.range.start<e.eventRange.range.start?r:e}function glt(r){return r.reduce(ylt).eventRange.range.end}function ylt(r,e){return r.eventRange.range.end>e.eventRange.range.end?r:e}var iDe,NW,SW,bst,rg,Tst,qCe,WCe,YCe,GCe,Est,Mst,xW,LR,MR,$st,zst,jst,Bst,RW,OW,LW,r4,ed,n4,i4,Am,vDe,$R,Zst,TDe,FW,rot,OC,Nu,$W,zR,Ho,Kc,wt,FC,o4,In,ro,ng,OR,CDe,mot,jR,bot,kot,Ru,_ot,Sm,Nr,jot,UR,CW,jC,zl,hg,us,BC,DW,UC,Kot,Zot,PW,MW,jl,sg,HC,VC,Xn,og,YC,wT,tlt,jDe,HR,rlt,VR,Ou,lg,cg,dg,NR,uT,ps,Dm,Lu,Pm,dD,dlt,Mm,ug,pD,IW,BW,UW,pg,A4=y(()=>{Au();Au();IC();iDe=[],NW=new Map;typeof document!="undefined"&&sDe(document);bst=':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)}';Qc(bst);rg=class{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),e==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),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()}};Tst=/(top|left|right|bottom|width|height)$/i;qCe=0;WCe=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];YCe=0;GCe=["years","months","days","milliseconds"],Est=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;Mst=["sun","mon","tue","wed","thu","fri","sat"];xW={week:3,separator:9,omitZeroMinute:9,meridiem:9,omitCommas:9},LR={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},MR=/\s*([ap])\.?m\.?/i,$st=/,/g,zst=/\s+/g,jst=/\u200e/g,Bst=/UTC|GMT/,RW=class{constructor(e){let t={},n={},i=9;for(let a in e)a in xW?(n[a]=e[a],xW[a]<9&&(i=Math.min(xW[a],i))):(t[a]=e[a],a in LR&&(i=Math.min(LR[a],i)));this.standardDateProps=t,this.extendedSettings=n,this.smallestUnitNum=i,this.buildFormattingFunc=Me(JCe)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,i){let{standardDateProps:a,extendedSettings:s}=this,o=Yst(e.marker,t.marker,n.calendarSystem);if(!o)return this.format(e,n);let l=o;l>1&&(a.year==="numeric"||a.year==="2-digit")&&(a.month==="numeric"||a.month==="2-digit")&&(a.day==="numeric"||a.day==="2-digit")&&(l=1);let c=this.format(e,n),d=this.format(t,n);if(c===d)return c;let u=Gst(a,l),p=JCe(u,s,n),m=p(e),f=p(t),h=Kst(c,m,d,f),g=s.separator||i||n.defaultSeparator||"";return h?h.before+m+g+f+h.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"}}};OW=class{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,FR(e,null,t,n))}formatRange(e,t,n,i){return n.cmdFormatter(this.cmdStr,FR(e,t,n,i))}},LW=class{constructor(e){this.func=e}format(e,t,n){return this.func(FR(e,null,t,n))}formatRange(e,t,n,i){return this.func(FR(e,t,n,i))}};r4={navLinkDayClick:j,navLinkWeekClick:j,duration:ct,bootstrapFontAwesome:j,buttonIcons:j,customButtons:j,defaultAllDayEventDuration:ct,defaultTimedEventDuration:ct,nextDayThreshold:ct,scrollTime:ct,scrollTimeReset:Boolean,slotMinTime:ct,slotMaxTime:ct,dayPopoverFormat:Gt,slotDuration:ct,snapDuration:ct,headerToolbar:j,footerToolbar:j,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Gt,dayHeaderClassNames:j,dayHeaderContent:j,dayHeaderDidMount:j,dayHeaderWillUnmount:j,dayCellClassNames:j,dayCellContent:j,dayCellDidMount:j,dayCellWillUnmount:j,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:j,weekNumbers:Boolean,weekNumberClassNames:j,weekNumberContent:j,weekNumberDidMount:j,weekNumberWillUnmount:j,editable:Boolean,viewClassNames:j,viewDidMount:j,viewWillUnmount:j,nowIndicator:Boolean,nowIndicatorSnap:j,nowIndicatorClassNames:j,nowIndicatorContent:j,nowIndicatorDidMount:j,nowIndicatorWillUnmount:j,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:j,locale:j,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:j,eventOrder:pDe,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:j,contentHeight:j,direction:String,weekNumberFormat:Gt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:j,initialDate:j,now:j,eventDataTransform:j,stickyHeaderDates:j,stickyFooterScrollbar:j,viewHeight:j,defaultAllDay:Boolean,eventSourceFailure:j,eventSourceSuccess:j,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:j,eventConstraint:j,eventAllow:j,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:j,eventContent:j,eventDidMount:j,eventWillUnmount:j,selectConstraint:j,selectOverlap:j,selectAllow:j,droppable:Boolean,unselectCancel:String,slotLabelFormat:j,slotLaneClassNames:j,slotLaneContent:j,slotLaneDidMount:j,slotLaneWillUnmount:j,slotLabelClassNames:j,slotLabelContent:j,slotLabelDidMount:j,slotLabelWillUnmount:j,dayMaxEvents:j,dayMaxEventRows:j,dayMinWidth:Number,slotLabelInterval:ct,allDayText:String,allDayClassNames:j,allDayContent:j,allDayDidMount:j,allDayWillUnmount:j,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Gt,rerenderDelay:Number,moreLinkText:j,moreLinkHint:j,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:j,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:ct,hiddenDays:j,fixedWeekCount:Boolean,validRange:j,visibleRange:j,titleFormat:j,eventInteractive:Boolean,noEventsText:String,viewHint:j,navLinkHint:j,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:j,moreLinkClassNames:j,moreLinkContent:j,moreLinkDidMount:j,moreLinkWillUnmount:j,monthStartFormat:Gt,handleCustomRendering:j,customRenderingMetaMap:j,customRenderingReplaces:Boolean},ed={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"},n4={datesSet:j,eventsSet:j,eventAdd:j,eventChange:j,eventRemove:j,windowResize:j,eventClick:j,eventMouseEnter:j,eventMouseLeave:j,select:j,unselect:j,loading:j,_unmount:j,_beforeprint:j,_afterprint:j,_noEventDrop:j,_noEventResize:j,_resize:j,_scrollRequest:j},i4={buttonText:j,buttonHints:j,views:j,plugins:j,initialEvents:j,events:j,eventSources:j},Am={headerToolbar:eg,footerToolbar:eg,buttonText:eg,buttonHints:eg,buttonIcons:eg,dateIncrement:eg,plugins:_R,events:_R,eventSources:_R,resources:_R};vDe={type:String,component:j,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:j,usesMinMaxTime:Boolean,classNames:j,content:j,didMount:j,willUnmount:j};({hasOwnProperty:$R}=Object.prototype);Zst=/^on[A-Z]/;TDe={};FW=class{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return ds(e)}markerToArray(e){return Em(e)}};eot("gregory",FW);rot=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;OC=class{constructor(e){let t=this.timeZone=e.timeZone,n=t!=="local"&&t!=="UTC";e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=!!(!n||this.namedTimeZoneImpl),this.calendarSystem=tot(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,e.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof e.firstDay=="number"&&(this.weekDow=e.firstDay),typeof e.weekNumberCalculation=="function"&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=e.weekText!=null?e.weekText:e.locale.options.weekText,this.weekTextLong=(e.weekTextLong!=null?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return t===null?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):ds(ZCe(new Date))}createMarkerMeta(e){if(typeof e=="string")return this.parse(e);let t=null;return typeof e=="number"?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=ds(e)),t===null||!XW(t)?null:{marker:t,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let t=kDe(e);if(t===null)return null;let{marker:n}=t,i=null;return t.timeZoneOffset!==null&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-t.timeZoneOffset*60*1e3):i=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:i}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return xm(e)===xm(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return xm(e)===xm(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+(n.getMarkerYear(t)-n.getMarkerYear(e))*12:null}greatestWholeUnit(e,t){let n=this.diffWholeYears(e,t);return n!==null?{unit:"year",value:n}:(n=this.diffWholeMonths(e,t),n!==null?{unit:"month",value:n}:(n=yDe(e,t),n!==null?{unit:"week",value:n}:(n=lT(e,t),n!==null?{unit:"day",value:n}:(n=_st(e,t),NC(n)?{unit:"hour",value:n}:(n=Ast(e,t),NC(n)?{unit:"minute",value:n}:(n=Ist(e,t),NC(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,n){let i;return n.years&&(i=this.diffWholeYears(e,t),i!==null)?i/Dst(n):n.months&&(i=this.diffWholeMonths(e,t),i!==null)?i/Pst(n):n.days&&(i=lT(e,t),i!==null)?i/oT(n):(t.valueOf()-e.valueOf())/to(n)}startOf(e,t){return t==="year"?this.startOfYear(e):t==="month"?this.startOfMonth(e):t==="week"?this.startOfWeek(e):t==="day"?pr(e):t==="hour"?Nst(e):t==="minute"?Rst(e):t==="second"?Ost(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):Lst(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:n.forcedTzo!=null?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,i={}){return i.isEndExclusive&&(t=Gc(t,-1)),n.formatRange({marker:e,timeZoneOffset:i.forcedStartTzo!=null?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:i.forcedEndTzo!=null?i.forcedEndTzo:this.offsetForMarker(t)},this,i.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(t.forcedTzo!=null?n=t.forcedTzo:n=this.offsetForMarker(e)),GR(e,n,t.omitTime)}timestampToMarker(e){return this.timeZone==="local"?ds(ZCe(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):ds(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-QCe(Em(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Em(e)):null}toDate(e,t){return this.timeZone==="local"?QCe(Em(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(Em(e))*1e3*60):new Date(e.valueOf()-(t||0))}},Nu=class{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if(typeof e=="object"&&e){t=Object.assign({},this.iconClasses);for(n in e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else e===!1&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&e.indexOf(t)!==0&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return t&&this.rtlIconClasses?n=this.rtlIconClasses[e]||this.iconClasses[e]:n=this.iconClasses[e],n?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}};Nu.prototype.classes={};Nu.prototype.iconClasses={};Nu.prototype.baseIconClass="";Nu.prototype.iconOverridePrefix="";$W=class extends ji{render(){return M("div",{})}componentDidMount(){this.setState({})}};zR=class{constructor(e,t,n,i){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=i,this.handleScrollRequest=a=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},a),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}},Ho=wDe({});Kc=class extends ji{shouldComponentUpdate(e,t){return!RR(this.props,e,this.propEquality)||!RR(this.state,t,this.stateEquality)}safeSetState(e){RR(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}};Kc.addPropsEquality=not;Kc.addStateEquality=iot;Kc.contextType=Ho;Kc.prototype.propEquality={};Kc.prototype.stateEquality={};wt=class extends Kc{};wt.contextType=Ho;FC=class extends wt{constructor(){super(...arguments),this.id=Fu(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{let{options:t}=this.context,{generatorName:n}=this.props;(!t.customRenderingReplaces||!zW(n,t))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&no(this.props.elRef,e)}}render(){let{props:e,context:t}=this,{options:n}=t,{customGenerator:i,defaultGenerator:a,renderProps:s}=e,o=s4(e,[],this.handleEl),l=!1,c,d=[],u;if(i!=null){let p=typeof i=="function"?i(s,M):i;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?hW(p):typeof p!="function")?c=p:u=p}}else l=!zW(e.generatorName,n);return l&&a&&(c=a(s)),this.queuedDomNodes=d,this.currentGeneratorMeta=u,M(e.elTag,o,c)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;let{props:n,context:i}=this,{handleCustomRendering:a,customRenderingMetaMap:s}=i.options;if(a){let o=(t=this.currentGeneratorMeta)!==null&&t!==void 0?t:s==null?void 0:s[n.generatorName];o&&a(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:o},n),{elClasses:(n.elClasses||[]).filter(aot)}))}}applyQueueudDomNodes(){let{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!Jc(e,t)){t.forEach(GC);for(let i of e)n.appendChild(i);this.currentDomNodes=e}}};FC.addPropsEquality({elClasses:Jc,elStyle:ua,elAttrs:Qst,renderProps:ua});o4=wDe(0),In=class extends ji{constructor(){super(...arguments),this.InnerContent=sot.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(no(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){let{props:e}=this,t=oot(e.classNameGenerator,e.renderProps);if(e.children){let n=s4(e,t,this.handleEl),i=e.children(this.InnerContent,e.renderProps,n);return e.elTag?M(e.elTag,n,i):i}else return M(FC,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;this.el?(t=(e=this.props).didMount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,t;(t=(e=this.props).willUnmount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}};In.contextType=o4;ro=class extends wt{render(){let{props:e,context:t}=this,{options:n}=t,i={view:t.viewApi};return M(In,{elRef:e.elRef,elTag:e.elTag||"div",elAttrs:e.elAttrs,elClasses:[...l4(e.viewSpec),...e.elClasses||[]],elStyle:e.elStyle,renderProps:i,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount},()=>e.children)}};ng=class{constructor(e){this.props=e,this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:i}=this.props,a=i.subtract(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(a,-1,n)}buildNext(e,t,n){let{dateEnv:i}=this.props,a=i.add(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(a,1,n)}build(e,t,n=!0){let{props:i}=this,a,s,o,l,c,d;return a=this.buildValidRange(),a=this.trimHiddenDays(a),n&&(e=dot(e,a)),s=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(s.unit),l=this.buildRenderRange(this.trimHiddenDays(s.range),s.unit,o),l=this.trimHiddenDays(l),c=l,i.showNonCurrentDates||(c=$a(c,s.range)),c=this.adjustActiveRange(c),c=$a(c,a),d=JR(s.range,a),Bo(l,e)||(e=l.start),{currentDate:e,validRange:a,currentRange:s.range,currentRangeUnit:s.unit,isRangeAllDay:o,activeRange:c,renderRange:l,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,isValid:d,dateIncrement:this.buildDateIncrement(s.duration)}}buildValidRange(){let e=this.props.validRangeInput,t=typeof e=="function"?e.call(this.props.calendarApi,this.props.dateEnv.toDate(this.props.nowManager.getDateMarker())):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let{props:n}=this,i=null,a=null,s=null,o;return n.duration?(i=n.duration,a=n.durationUnit,s=this.buildRangeFromDuration(e,t,i,a)):(o=this.props.dayCount)?(a="day",s=this.buildRangeFromDayCount(e,t,o)):(s=this.buildCustomVisibleRange(e))?a=n.dateEnv.greatestWholeUnit(s.start,s.end).unit:(i=this.getFallbackDuration(),a=RC(i).unit,s=this.buildRangeFromDuration(e,t,i,a)),{duration:i,unit:a,range:s}}getFallbackDuration(){return ct({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:i,slotMaxTime:a}=this.props,{start:s,end:o}=e;return n&&(oT(i)<0&&(s=pr(s),s=t.add(s,i)),oT(a)>1&&(o=pr(o),o=un(o,-1),o=t.add(o,a))),{start:s,end:o}}buildRangeFromDuration(e,t,n,i){let{dateEnv:a,dateAlignment:s}=this.props,o,l,c;if(!s){let{dateIncrement:u}=this.props;u&&to(u)<to(n)?s=RC(u).unit:s=i}oT(n)<=1&&this.isHiddenDay(o)&&(o=this.skipHiddenDays(o,t),o=pr(o));function d(){o=a.startOf(e,s),l=a.add(o,n),c={start:o,end:l}}return d(),this.trimHiddenDays(c)||(e=this.skipHiddenDays(e,t),d()),c}buildRangeFromDayCount(e,t,n){let{dateEnv:i,dateAlignment:a}=this.props,s=0,o=e,l;a&&(o=i.startOf(o,a)),o=pr(o),o=this.skipHiddenDays(o,t),l=o;do l=un(l,1),this.isHiddenDay(l)||(s+=1);while(s<n);return{start:o,end:l}}buildCustomVisibleRange(e){let{props:t}=this,n=t.visibleRangeInput,i=typeof n=="function"?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,a=this.refineRange(i);return a&&(a.start==null||a.end==null)?null:a}buildRenderRange(e,t,n){return e}buildDateIncrement(e){let{dateIncrement:t}=this.props,n;return t||((n=this.props.dateAlignment)?ct(1,n):e||ct({days:1}))}refineRange(e){if(e){let t=lot(e,this.props.dateEnv);return t&&(t=XR(t)),t}return null}initHiddenDays(){let e=this.props.hiddenDays||[],t=[],n=0,i;for(this.props.weekends===!1&&e.push(0,6),i=0;i<7;i+=1)(t[i]=e.indexOf(i)!==-1)||(n+=1);if(!n)throw new Error("invalid hiddenDays");this.isHiddenDayHash=t}trimHiddenDays(e){let{start:t,end:n}=e;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),t==null||n==null||t<n?{start:t,end:n}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,t=1,n=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=un(e,t);return e}};OR={id:String,groupId:String,title:String,url:String,interactive:Boolean},CDe={start:j,end:j,date:j,allDay:Boolean},mot=Object.assign(Object.assign(Object.assign({},OR),CDe),{extendedProps:j});jR={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:j,overlap:j,allow:j,className:jW,classNames:jW,color:String,backgroundColor:String,borderColor:String,textColor:String},bot={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};kot={id:String,defaultAllDay:Boolean,url:String,format:String,events:j,eventDataTransform:j,success:j,failure:j};Ru=class{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){Pot(this.handlers,e,t)}off(e,t){Mot(this.handlers,e,t)}trigger(e,...t){let n=this.handlers[e]||[],i=this.options&&this.options[e],a=[].concat(i||[],n);for(let s of a)s.apply(this.thisContext,t)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}};_ot={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};Sm=class{constructor(e,t){this.context=e,this.internalEventSource=t}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}},Nr=class r{constructor(e,t,n){this._context=e,this._def=t,this._instance=n||null}setProp(e,t){if(e in CDe)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")t=OR[e](t),this.mutate({standardProps:{publicId:t}});else if(e in OR)t=OR[e](t),this.mutate({standardProps:{[e]:t}});else if(e in jR){let n=jR[e](t);e==="color"?n={backgroundColor:t,borderColor:t}:e==="editable"?n={startEditable:t,durationEditable:t}:n={[e]:t},this.mutate({standardProps:{ui:n}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,t){this.mutate({extendedProps:{[e]:t}})}setStart(e,t={}){let{dateEnv:n}=this._context,i=n.createMarker(e);if(i&&this._instance){let a=this._instance.range,s=Cm(a.start,i,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:s}):this.mutate({startDelta:s})}}setEnd(e,t={}){let{dateEnv:n}=this._context,i;if(!(e!=null&&(i=n.createMarker(e),!i))&&this._instance)if(i){let a=Cm(this._instance.range.end,i,n,t.granularity);this.mutate({endDelta:a})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,n={}){let{dateEnv:i}=this._context,a={allDay:n.allDay},s=i.createMarker(e),o;if(s&&!(t!=null&&(o=i.createMarker(t),!o))&&this._instance){let l=this._instance.range;n.allDay===!0&&(l=xDe(l));let c=Cm(l.start,s,i,n.granularity);if(o){let d=Cm(l.end,o,i,n.granularity);Cst(c,d)?this.mutate({datesDelta:c,standardProps:a}):this.mutate({startDelta:c,endDelta:d,standardProps:a})}else a.hasEnd=!1,this.mutate({datesDelta:c,standardProps:a})}}moveStart(e){let t=ct(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=ct(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=ct(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let n={allDay:e},{maintainDuration:i}=t;i==null&&(i=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=i),this.mutate({standardProps:n})}formatRange(e){let{dateEnv:t}=this._context,n=this._instance,i=Gt(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,i,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,i,{forcedTzo:n.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let n=this._def,i=this._context,{eventStore:a}=i.getCurrentData(),s=eD(a,t.instanceId);s=tD(s,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,i);let l=new r(i,n,t);this._def=s.defs[n.defId],this._instance=s.instances[t.instanceId],i.dispatch({type:"MERGE_EVENTS",eventStore:s}),i.emitter.trigger("eventChange",{oldEvent:l,event:this,relatedEvents:td(s,i,t),revert(){i.dispatch({type:"RESET_EVENTS",eventStore:a})}})}}remove(){let e=this._context,t=ADe(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}get source(){let{sourceId:e}=this._def;return e?new Sm(this._context,this._context.getCurrentData().eventSources[e]):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 e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.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(e={}){let t=this._def,{ui:n}=t,{startStr:i,endStr:a}=this,s={allDay:t.allDay};return t.title&&(s.title=t.title),i&&(s.start=i),a&&(s.end=a),t.publicId&&(s.id=t.publicId),t.groupId&&(s.groupId=t.groupId),t.url&&(s.url=t.url),n.display&&n.display!=="auto"&&(s.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?s.color=n.backgroundColor:(n.backgroundColor&&(s.backgroundColor=n.backgroundColor),n.borderColor&&(s.borderColor=n.borderColor)),n.textColor&&(s.textColor=n.textColor),n.classNames.length&&(s.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(s,t.extendedProps):s.extendedProps=t.extendedProps),s}toJSON(){return this.toPlainObject()}};jot={start:j,end:j,allDay:Boolean};UR=class extends Error{constructor(e,t){super(e),this.response=t}};jC=class extends wt{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{LC(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{LC(()=>{this.setState({forPrint:!1})})}}render(){let{props:e}=this,{options:t}=e,{forPrint:n}=this.state,i=n||t.height==="auto"||t.contentHeight==="auto",a=!i&&t.height!=null?t.height:"",s=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return w4()||s.push("fc-liquid-hack"),e.children(s,a,i,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}},zl=class{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}};hg={},us=class extends ji{constructor(e,t){super(e,t),this.handleRefresh=()=>{let n=this.computeTiming();n.state.nowDate.valueOf()!==this.state.nowDate.valueOf()&&this.setState(n.state),this.clearTimeout(),this.setTimeout(n.waitMs)},this.handleVisibilityChange=()=>{document.hidden||this.handleRefresh()},this.state=this.computeTiming().state}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout(),this.context.nowManager.addResetListener(this.handleRefresh),document.addEventListener("visibilitychange",this.handleVisibilityChange)}componentDidUpdate(e){e.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:e,context:t}=this,n=t.nowManager.getDateMarker(),{nowIndicatorSnap:i}=t.options;i==="auto"&&(i=/year|month|week|day/.test(e.unit)||(e.unitValue||1)===1);let a,s;return i?(a=t.dateEnv.startOf(n,e.unit),s=t.dateEnv.add(a,ct(1,e.unit)).valueOf()-n.valueOf()):(a=n,s=1e3*60),s=Math.min(1e3*60*60*24,s),{state:{nowDate:a,todayRange:Yot(a)},waitMs:s}}setTimeout(e=this.computeTiming().waitMs){this.timeoutId=setTimeout(()=>{let t=this.computeTiming();this.setState(t.state,()=>{this.setTimeout(t.waitMs)})},e)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}};us.contextType=Ho;BC=class{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering(()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:n}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:n.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,t){let n=this.getCurrentData(),i;t=t||"day",i=n.viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),i?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:i.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:t,toolbarConfig:n}=this.getCurrentData(),i=[].concat(n.header?n.header.viewsWithButtons:[],n.footer?n.footer.viewsWithButtons:[]),a,s;for(let o in t)i.push(o);for(a=0;a<i.length;a+=1)if(s=t[i[a]],s&&s.singleUnit===e)return s;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.nowManager.getDateMarker()})}gotoDate(e){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}incrementDate(e){let t=this.getCurrentData(),n=ct(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,t){let{dateEnv:n}=this.getCurrentData();return n.format(n.createMarker(e),Gt(t))}formatRange(e,t,n){let{dateEnv:i}=this.getCurrentData();return i.formatRange(i.createMarker(e),i.createMarker(t),Gt(n),n)}formatIso(e,t){let{dateEnv:n}=this.getCurrentData();return n.formatIso(n.createMarker(e),{omitTime:t})}select(e,t){let n;t==null?e.start!=null?n=e:n={start:e,end:null}:n={start:e,end:t};let i=this.getCurrentData(),a=Bot(n,i.dateEnv,ct({days:1}));a&&(this.dispatch({type:"SELECT_DATES",selection:a}),rO(a,null,i))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),Iot(e,t))}addEvent(e,t){if(e instanceof Nr){let s=e._def,o=e._instance;return this.getCurrentData().eventStore.defs[s.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:ag({def:s,instance:o})}),this.triggerEventAdd(e)),e}let n=this.getCurrentData(),i;if(t instanceof Sm)i=t.internalEventSource;else if(typeof t=="boolean")t&&([i]=QR(n.eventSources));else if(t!=null){let s=this.getEventSourceById(t);if(!s)return console.warn(`Could not find an event source with ID "${t}"`),null;i=s.internalEventSource}let a=DDe(e,i,n,!1);if(a){let s=new Nr(n,a.def,a.def.recurringDef?null:a.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:ag(a)}),this.triggerEventAdd(s),s}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:ADe(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:n,instances:i}=t.eventStore;e=String(e);for(let a in n){let s=n[a];if(s.publicId===e){if(s.recurringDef)return new Nr(t,s,null);for(let o in i){let l=i[o];if(l.defId===s.defId)return new Nr(t,s,l)}}}return null}getEvents(){let e=this.getCurrentData();return td(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,n=[];for(let i in t)n.push(new Sm(e,t[i]));return n}getEventSourceById(e){let t=this.getCurrentData(),n=t.eventSources;e=String(e);for(let i in n)if(n[i].publicId===e)return new Sm(t,n[i]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof Sm)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let n=p4(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new Sm(t,n)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=ct(e);t&&this.trigger("_scrollRequest",{time:t})}};DW=mi(),UC=class{constructor(){this.getKeysForEventDefs=Me(this._getKeysForEventDefs),this.splitDateSelection=Me(this._splitDateSpan),this.splitEventStore=Me(this._splitEventStore),this.splitIndividualUi=Me(this._splitIndividualUi),this.splitEventDrag=Me(this._splitInteraction),this.splitEventResize=Me(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let t=this.getKeyInfo(e),n=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),a=this.splitIndividualUi(e.eventUiBases,n),s=this.splitEventStore(e.eventStore,n),o=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};this.eventUiBuilders=Uo(t,(d,u)=>this.eventUiBuilders[u]||Me(Got));for(let d in t){let u=t[d],p=s[d]||DW,m=this.eventUiBuilders[d];c[d]={businessHours:u.businessHours||e.businessHours,dateSelection:i[d]||null,eventStore:p,eventUiBases:m(e.eventUiBases[""],u.ui,a[d]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:o[d]||null,eventResize:l[d]||null}}return c}_splitDateSpan(e){let t={};if(e){let n=this.getKeysForDateSpan(e);for(let i of n)t[i]=e}return t}_getKeysForEventDefs(e){return Uo(e.defs,t=>this.getKeysForEventDef(t))}_splitEventStore(e,t){let{defs:n,instances:i}=e,a={};for(let s in n)for(let o of t[s])a[o]||(a[o]=mi()),a[o].defs[s]=n[s];for(let s in i){let o=i[s];for(let l of t[o.defId])a[l]&&(a[l].instances[s]=o)}return a}_splitIndividualUi(e,t){let n={};for(let i in e)if(i)for(let a of t[i])n[a]||(n[a]={}),n[a][i]=e[i];return n}_splitInteraction(e){let t={};if(e){let n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),i=this._getKeysForEventDefs(e.mutatedEvents),a=this._splitEventStore(e.mutatedEvents,i),s=o=>{t[o]||(t[o]={affectedEvents:n[o]||DW,mutatedEvents:a[o]||DW,isEvent:e.isEvent})};for(let o in n)s(o);for(let o in a)s(o)}return t}};Kot=Gt({year:"numeric",month:"long",day:"numeric"}),Zot=Gt({week:"long"});PW=null;jl=class{constructor(e,t,n,i){this.els=t;let a=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(a.left),i&&this.buildElVerticals(a.top)}buildElHorizontals(e){let t=[],n=[];for(let i of this.els){let a=i.getBoundingClientRect();t.push(a.left-e),n.push(a.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(let i of this.els){let a=i.getBoundingClientRect();t.push(a.top-e),n.push(a.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){let{lefts:t,rights:n}=this,i=t.length,a;for(a=0;a<i;a+=1)if(e>=t[a]&&e<n[a])return a}topToIndex(e){let{tops:t,bottoms:n}=this,i=t.length,a;for(a=0;a<i;a+=1)if(e>=t[a]&&e<n[a])return a}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return AR(this.tops||[],e.tops||[])&&AR(this.bottoms||[],e.bottoms||[])&&AR(this.lefts||[],e.lefts||[])&&AR(this.rights||[],e.rights||[])}};sg=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()}},HC=class extends sg{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}},VC=class extends sg{getScrollTop(){return window.scrollY}getScrollLeft(){return window.scrollX}setScrollTop(e){window.scroll(window.scrollX,e)}setScrollLeft(e){window.scroll(e,window.scrollY)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}},Xn=class extends wt{constructor(){super(...arguments),this.uid=Fu()}prepareHits(){}queryHit(e,t,n,i){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!pi(e,".fc-event-mirror")}isValidDateDownEl(e){return!pi(e,".fc-event:not(.fc-bg-event)")&&!pi(e,".fc-more-link")&&!pi(e,"a[data-navlink]")&&!pi(e,".fc-popover")}},og=class{constructor(e=t=>t.thickness||1){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let n of e)this.insertEntry(n,t);return t}insertEntry(e,t){let n=this.findInsertion(e);this.isInsertionValid(n,e)?this.insertEntryAt(e,n):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(this.maxCoord===-1||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,n){if(this.allowReslicing&&e.touchingEntry){let i=Object.assign(Object.assign({},t),{span:sD(t.span,e.touchingEntry.span)});n.push(i),this.splitEntry(t,e.touchingEntry,n)}else n.push(t)}splitEntry(e,t,n){let i=e.span,a=t.span;i.start<a.start&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},n),i.end>a.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}},n)}insertEntryAt(e,t){let{entriesByLevel:n,levelCoords:i}=this;t.lateral===-1?(_W(i,t.level,t.levelCoord),_W(n,t.level,[e])):_W(n[t.level],t.lateral,e),this.stackCnts[Zc(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:n,strictOrder:i,stackCnts:a}=this,s=t.length,o=0,l=-1,c=-1,d=null,u=0;for(let f=0;f<s;f+=1){let h=t[f];if(!i&&h>=o+this.getEntryThickness(e))break;let g=n[f],v,k=WC(g,e.span.start,qC),b=k[0]+k[1];for(;(v=g[b])&&v.span.start<e.span.end;){let w=h+this.getEntryThickness(v);w>o&&(o=w,d=v,l=f,c=b),w===o&&(u=Math.max(u,a[Zc(v)]+1)),b+=1}}let p=0;if(d)for(p=l+1;p<s&&t[p]<o;)p+=1;let m=-1;return p<s&&t[p]===o&&(m=WC(n[p],e.span.end,qC)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:d,stackCnt:u,levelCoord:o,level:p,lateral:m}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,n=e.length,i=[];for(let a=0;a<n;a+=1){let s=e[a],o=t[a];for(let l of s)i.push(Object.assign(Object.assign({},l),{thickness:this.getEntryThickness(l),levelCoord:o}))}return i}};YC=class{constructor(e,t){this.emitter=new Ru}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}},wT={},tlt={startTime:ct,duration:ct,create:Boolean,sourceId:String};jDe="fc-col-header-cell";HR=class extends wt{render(){let{dateEnv:e,options:t,theme:n,viewApi:i}=this.context,{props:a}=this,{date:s,dateProfile:o}=a,l=iD(s,a.todayRange,null,o),c=[jDe].concat(kT(l,n)),d=e.format(s,a.dayHeaderFormat),u=!l.isDisabled&&a.colCnt>1?rd(this.context,s):{},p=e.toDate(s);e.namedTimeZoneImpl&&(p=Gc(p,36e5));let m=Object.assign(Object.assign(Object.assign({date:p,view:i},a.extraRenderProps),{text:d}),l);return M(In,{elTag:"th",elClasses:c,elAttrs:Object.assign({role:"columnheader",colSpan:a.colSpan,"data-date":l.isDisabled?void 0:_m(s)},a.extraDataAttrs),renderProps:m,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:BDe,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},f=>M("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&M(f,{elTag:"a",elAttrs:u,elClasses:["fc-col-header-cell-cushion",a.isSticky&&"fc-sticky"]})))}},rlt=Gt({weekday:"long"}),VR=class extends wt{render(){let{props:e}=this,{dateEnv:t,theme:n,viewApi:i,options:a}=this.context,s=un(new Date(2592e5),e.dow),o={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=t.format(s,e.dayHeaderFormat),c=Object.assign(Object.assign(Object.assign(Object.assign({date:s},o),{view:i}),e.extraRenderProps),{text:l});return M(In,{elTag:"th",elClasses:[jDe,...kT(o,n),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:c,generatorName:"dayHeaderContent",customGenerator:a.dayHeaderContent,defaultGenerator:BDe,classNameGenerator:a.dayHeaderClassNames,didMount:a.dayHeaderDidMount,willUnmount:a.dayHeaderWillUnmount},d=>M("div",{className:"fc-scrollgrid-sync-inner"},M(d,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(s,rlt)}})))}},Ou=class extends wt{constructor(){super(...arguments),this.createDayHeaderFormatter=Me(nlt)}render(){let{context:e}=this,{dates:t,dateProfile:n,datesRepDistinctDays:i,renderIntro:a}=this.props,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,t.length);return M(us,{unit:"day"},(o,l)=>M("tr",{role:"row"},a&&a("day"),t.map(c=>i?M(HR,{key:c.toISOString(),date:c,dateProfile:n,todayRange:l,colCnt:t.length,dayHeaderFormat:s}):M(VR,{key:c.getUTCDay(),dow:c.getUTCDay(),dayHeaderFormat:s}))))}};lg=class{constructor(e,t){let n=e.start,{end:i}=e,a=[],s=[],o=-1;for(;n<i;)t.isHiddenDay(n)?a.push(o+.5):(o+=1,a.push(o),s.push(n)),n=un(n,1);this.dates=s,this.indices=a,this.cnt=s.length}sliceRange(e){let t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(un(e.end,-1)),i=Math.max(0,t),a=Math.min(this.cnt-1,n);return i=Math.ceil(i),a=Math.floor(a),i<=a?{firstIndex:i,lastIndex:a,isStart:t===i,isEnd:n===a}:null}getDateDayIndex(e){let{indices:t}=this,n=Math.floor(Xc(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}},cg=class{constructor(e,t){let{dates:n}=e,i,a,s;if(t){for(a=n[0].getUTCDay(),i=1;i<n.length&&n[i].getUTCDay()!==a;i+=1);s=Math.ceil(n.length/i)}else s=1,i=n.length;this.rowCnt=s,this.colCnt=i,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let t=0;t<this.rowCnt;t+=1){let n=[];for(let i=0;i<this.colCnt;i+=1)n.push(this.buildCell(t,i));e.push(n)}return e}buildCell(e,t){let n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}}buildHeaderDates(){let e=[];for(let t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}sliceRange(e){let{colCnt:t}=this,n=this.daySeries.sliceRange(e),i=[];if(n){let{firstIndex:a,lastIndex:s}=n,o=a;for(;o<=s;){let l=Math.floor(o/t),c=Math.min((l+1)*t,s+1);i.push({row:l,firstCol:o%t,lastCol:(c-1)%t,isStart:n.isStart&&o===a,isEnd:n.isEnd&&c-1===s}),o=c}}return i}},dg=class{constructor(){this.sliceBusinessHours=Me(this._sliceBusinessHours),this.sliceDateSelection=Me(this._sliceDateSpan),this.sliceEventStore=Me(this._sliceEventStore),this.sliceEventDrag=Me(this._sliceInteraction),this.sliceEventResize=Me(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,n,i,...a){let{eventUiBases:s}=e,o=this.sliceEventStore(e.eventStore,s,t,n,...a);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,n,s,i,...a),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,n,i,...a),fgEventSegs:o.fg,bgEventSegs:o.bg,eventDrag:this.sliceEventDrag(e.eventDrag,s,t,n,...a),eventResize:this.sliceEventResize(e.eventResize,s,t,n,...a),eventSelection:e.eventSelection}}sliceNowDate(e,t,n,i,...a){return this._sliceDateSpan({range:{start:e,end:Gc(e,1)},allDay:!1},t,n,{},i,...a)}_sliceBusinessHours(e,t,n,i,...a){return e?this._sliceEventStore(ig(e,IR(t,!!n),i),{},t,n,...a).bg:[]}_sliceEventStore(e,t,n,i,...a){if(e){let s=dT(e,t,IR(n,!!i),i);return{bg:this.sliceEventRanges(s.bg,a),fg:this.sliceEventRanges(s.fg,a)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,n,i,...a){if(!e)return null;let s=dT(e.mutatedEvents,t,IR(n,!!i),i);return{segs:this.sliceEventRanges(s.fg,a),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,n,i,a,...s){if(!e)return[];let o=IR(t,!!n),l=$a(e.range,o);if(l){e=Object.assign(Object.assign({},e),{range:l});let c=qot(e,i,a),d=this.sliceRange(e.range,...s);for(let u of d)u.eventRange=c;return d}return[]}sliceEventRanges(e,t){let n=[];for(let i of e)n.push(...this.sliceEventRange(i,t));return n}sliceEventRange(e,t){let n=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(n={start:n.start,end:un(n.start,1)});let i=this.sliceRange(n,...t);for(let a of i)a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd;return i}};NR=/^(visible|hidden)$/,uT=class extends wt{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,no(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,i=t&&n,a=["fc-scroller"];return t&&(n?a.push("fc-scroller-liquid-absolute"):a.push("fc-scroller-liquid")),M("div",{ref:this.handleEl,className:a.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:i&&-(e.overcomeLeft||0)||"",right:i&&-(e.overcomeRight||0)||"",bottom:i&&-(e.overcomeBottom||0)||"",marginLeft:!i&&-(e.overcomeLeft||0)||"",marginRight:!i&&-(e.overcomeRight||0)||"",marginBottom:!i&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(NR.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:n}=e;for(let i=0;i<n.length;i+=1)if(n[i].getBoundingClientRect().width>t)return!0;return!1}needsYScrolling(){if(NR.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:n}=e;for(let i=0;i<n.length;i+=1)if(n[i].getBoundingClientRect().height>t)return!0;return!1}getXScrollbarWidth(){return NR.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return NR.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}},ps=class{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(t,n)=>{let{depths:i,currentMap:a}=this,s=!1,o=!1;t!==null?(s=n in a,a[n]=t,i[n]=(i[n]||0)+1,o=!0):(i[n]-=1,i[n]||(delete a[n],delete this.callbackMap[n],s=!0)),this.masterCallback&&(s&&this.masterCallback(null,String(n)),o&&this.masterCallback(t,String(n)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=n=>{this.handleValue(n,String(e))}),t}collect(e,t,n){return bDe(this.currentMap,e,t,n)}getAll(){return QR(this.currentMap)}};Dm=class extends wt{constructor(){super(...arguments),this.processCols=Me(e=>e,GDe),this.renderMicroColGroup=Me(KDe),this.scrollerRefs=new ps,this.scrollerElRefs=new ps(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:e,state:t,context:n}=this,i=e.sections||[],a=this.processCols(e.cols),s=this.renderMicroColGroup(a,t.shrinkWidth),o=JDe(e.liquid,n);e.collapsibleWidth&&o.push("fc-scrollgrid-collapsible");let l=i.length,c=0,d,u=[],p=[],m=[];for(;c<l&&(d=i[c]).type==="header";)u.push(this.renderSection(d,s,!0)),c+=1;for(;c<l&&(d=i[c]).type==="body";)p.push(this.renderSection(d,s,!1)),c+=1;for(;c<l&&(d=i[c]).type==="footer";)m.push(this.renderSection(d,s,!0)),c+=1;let f=!w4(),h={role:"rowgroup"};return M("table",{role:"grid",className:o.join(" "),style:{height:e.height}},!!(!f&&u.length)&&M("thead",h,...u),!!(!f&&p.length)&&M("tbody",h,...p),!!(!f&&m.length)&&M("tfoot",h,...m),f&&M("tbody",h,...u,...p,...m))}renderSection(e,t,n){return"outerContent"in e?M(Yt,{key:e.key},e.outerContent):M("tr",{key:e.key,role:"presentation",className:XDe(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))}renderChunkTd(e,t,n,i){if("outerContent"in n)return n.outerContent;let{props:a}=this,{forceYScrollbars:s,scrollerClientWidths:o,scrollerClientHeights:l}=this.state,c=WDe(a,e),d=_4(a,e),u=a.liquid?s?"scroll":c?"auto":"hidden":"visible",p=e.key,m=YDe(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:!a.collapsibleWidth&&o[p]!==void 0?o[p]:null,clientHeight:l[p]!==void 0?l[p]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},i);return M(i?"th":"td",{ref:n.elRef,role:"presentation"},M("div",{className:`fc-scroller-harness${d?" fc-scroller-harness-liquid":""}`},M(uT,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:u,overflowX:a.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:d,liquidIsAbsolute:!0},m)))}_handleScrollerEl(e,t){let n=llt(this.props.sections,t);n&&no(n.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return QDe(this.props.cols)?qDe(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=LDe(),{scrollerRefs:t,scrollerElRefs:n}=this,i=!1,a={},s={};for(let o in t.currentMap){let l=t.currentMap[o];if(l&&l.needsYScrolling()){i=!0;break}}for(let o of this.props.sections){let l=o.key,c=n.currentMap[l];if(c){let d=c.parentNode;a[l]=Math.floor(d.getBoundingClientRect().width-(i?e.y:0)),s[l]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:i,scrollerClientWidths:a,scrollerClientHeights:s}}};Dm.addStateEquality({scrollerClientWidths:ua,scrollerClientHeights:ua});Lu=class extends wt{constructor(){super(...arguments),this.buildPublicEvent=Me((e,t,n)=>new Nr(e,t,n)),this.handleEl=e=>{this.el=e,no(this.props.elRef,e),e&&rDe(e,this.props.seg)}}render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,{eventRange:a}=i,{ui:s}=a,o={event:this.buildPublicEvent(t,a.def,a.instance),view:t.viewApi,timeText:e.timeText,textColor:s.textColor,backgroundColor:s.backgroundColor,borderColor:s.borderColor,isDraggable:!e.disableDragging&&Lot(i,t),isStartResizable:!e.disableResizing&&Fot(i,t),isEndResizable:!e.disableResizing&&$ot(i),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!i.isStart,isEnd:!!i.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing};return M(In,{elRef:this.handleEl,elTag:e.elTag,elAttrs:e.elAttrs,elClasses:[...zot(o),...i.eventRange.ui.classNames,...e.elClasses||[]],elStyle:e.elStyle,renderProps:o,generatorName:"eventContent",customGenerator:n.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:n.eventClassNames,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount},e.children)}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&rDe(this.el,this.props.seg)}},Pm=class extends wt{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,{ui:a}=i.eventRange,s=n.eventTimeFormat||e.defaultTimeFormat,o=Im(i,s,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return M(Lu,Object.assign({},e,{elTag:"a",elStyle:{borderColor:a.borderColor,backgroundColor:a.backgroundColor},elAttrs:TT(i,t),defaultGenerator:clt,timeText:o}),(l,c)=>M(Yt,null,M(l,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:c.textColor}}),!!c.isStartResizable&&M("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!c.isEndResizable&&M("div",{className:"fc-event-resizer fc-event-resizer-end"})))}};Pm.addPropsEquality({seg:ua});dD=r=>M(Ho.Consumer,null,e=>{let{options:t}=e,n={isAxis:r.isAxis,date:e.dateEnv.toDate(r.date),view:e.viewApi};return M(In,{elRef:r.elRef,elTag:r.elTag||"div",elAttrs:r.elAttrs,elClasses:r.elClasses,elStyle:r.elStyle,renderProps:n,generatorName:"nowIndicatorContent",customGenerator:t.nowIndicatorContent,classNameGenerator:t.nowIndicatorClassNames,didMount:t.nowIndicatorDidMount,willUnmount:t.nowIndicatorWillUnmount},r.children)}),dlt=Gt({day:"numeric"}),Mm=class extends wt{constructor(){super(...arguments),this.refineRenderProps=gT(ult)}render(){let{props:e,context:t}=this,{options:n}=t,i=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return M(In,{elRef:e.elRef,elTag:e.elTag,elAttrs:Object.assign(Object.assign({},e.elAttrs),i.isDisabled?{}:{"data-date":_m(e.date)}),elClasses:[...kT(i,t.theme),...e.elClasses||[]],elStyle:e.elStyle,renderProps:i,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount},e.children)}};ug=class extends wt{render(){let{props:e}=this,{seg:t}=e;return M(Lu,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:plt,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}};pD=r=>M(Ho.Consumer,null,e=>{let{dateEnv:t,options:n}=e,{date:i}=r,a=n.weekNumberFormat||r.defaultFormat,s=t.computeWeekNumber(i),o=t.format(i,a),l={num:s,text:o,date:i};return M(In,{elRef:r.elRef,elTag:r.elTag,elAttrs:r.elAttrs,elClasses:r.elClasses,elStyle:r.elStyle,renderProps:l,generatorName:"weekNumberContent",customGenerator:n.weekNumberContent,defaultGenerator:mlt,classNameGenerator:n.weekNumberClassNames,didMount:n.weekNumberDidMount,willUnmount:n.weekNumberWillUnmount},r.children)});IW=10,BW=class extends wt{constructor(){super(...arguments),this.state={titleId:ms()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&no(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{let t=WR(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:n,state:i}=this,a=["fc-popover",e.getClass("popover")].concat(n.extraClassNames||[]);return wW(M("div",Object.assign({},n.extraAttrs,{id:n.id,className:a.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),M("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},M("span",{className:"fc-popover-title",id:i.titleId},n.title),M("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),M("div",{className:"fc-popover-body "+e.getClass("popoverContent")},n.children)),n.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:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props,{rootEl:i}=this,a=Xot(t);if(a){let s=i.getBoundingClientRect(),o=n?pi(t,".fc-scrollgrid").getBoundingClientRect().top:a.top,l=e?a.right-s.width:a.left;o=Math.max(o,IW),l=Math.min(l,document.documentElement.clientWidth-IW-s.width),l=Math.max(l,IW);let c=i.offsetParent.getBoundingClientRect();mg(i,{top:o-c.top,left:l-c.left})}}},UW=class extends Xn{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:n}=this,{startDate:i,todayRange:a,dateProfile:s}=n,o=t.format(i,e.dayPopoverFormat);return M(Mm,{elRef:this.handleRootEl,date:i,dateProfile:s,todayRange:a},(l,c,d)=>M(BW,{elRef:d.ref,id:n.id,title:o,extraClassNames:["fc-more-popover"].concat(d.className||[]),extraAttrs:d,parentEl:n.parentEl,alignmentEl:n.alignmentEl,alignGridTop:n.alignGridTop,onClose:n.onClose},ET(e)&&M(l,{elTag:"div",elClasses:["fc-more-popover-misc"]}),n.children))}queryHit(e,t,n,i){let{rootEl:a,props:s}=this;return e>=0&&e<n&&t>=0&&t<i?{dateProfile:s.dateProfile,dateSpan:Object.assign({allDay:!s.forceTimed,range:{start:s.startDate,end:s.endDate}},s.extraDateSpan),dayEl:a,rect:{left:0,top:0,right:n,bottom:i},layer:1}:null}},pg=class extends wt{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:ms()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&no(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:n}=this,{moreLinkClick:i}=n.options,a=nDe(t).start;function s(o){let{def:l,instance:c,range:d}=o.eventRange;return{event:new Nr(n,l,c),start:n.dateEnv.toDate(d.start),end:n.dateEnv.toDate(d.end),isStart:o.isStart,isEnd:o.isEnd}}typeof i=="function"&&(i=i({date:a,allDay:!!t.allDayDate,allSegs:t.allSegs.map(s),hiddenSegs:t.hiddenSegs.map(s),jsEvent:e,view:n.viewApi})),!i||i==="popover"?this.setState({isPopoverOpen:!0}):typeof i=="string"&&n.calendarApi.zoomTo(a,i)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return M(Ho.Consumer,null,n=>{let{viewApi:i,options:a,calendarApi:s}=n,{moreLinkText:o}=a,{moreCnt:l}=e,c=nDe(e),d=typeof o=="function"?o.call(s,l):`+${l} ${o}`,u=fT(a.moreLinkHint,[l],d),p={num:l,shortText:`+${l}`,text:d,view:i};return M(Yt,null,!!e.moreCnt&&M(In,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),dDe(this.handleClick)),{title:u,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:p,generatorName:"moreLinkContent",customGenerator:a.moreLinkContent,defaultGenerator:e.defaultGenerator||flt,classNameGenerator:a.moreLinkClassNames,didMount:a.moreLinkDidMount,willUnmount:a.moreLinkWillUnmount},e.children),t.isPopoverOpen&&M(UW,{id:t.popoverId,startDate:c.start,endDate:c.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=pi(this.linkEl,".fc-view-harness"))}}});function blt(r){let e=r.length>0?r[0].code:"en",t=vlt.concat(r),n={en:oPe};for(let i of t)n[i.code]=i;return{map:n,defaultCode:e}}function lPe(r,e){return typeof r=="object"&&!Array.isArray(r)?cPe(r.code,[r.code],r):Tlt(r,e)}function Tlt(r,e){let t=[].concat(r||[]),n=klt(t,e)||oPe;return cPe(r,t,n)}function klt(r,e){for(let t=0;t<r.length;t+=1){let n=r[t].toLocaleLowerCase().split("-");for(let i=n.length;i>0;i-=1){let a=n.slice(0,i).join("-");if(e[a])return e[a]}}return null}function cPe(r,e,t){let n=ZR([sPe,t],["buttonText"]);delete n.code;let{week:i}=n;return delete n.week,{codeArg:r,codes:e,week:i,simpleNumberFormat:new Intl.NumberFormat(r),options:n}}function pa(r){return{id:Fu(),name:r.name,premiumReleaseDate:r.premiumReleaseDate?new Date(r.premiumReleaseDate):void 0,deps:r.deps||[],reducers:r.reducers||[],isLoadingFuncs:r.isLoadingFuncs||[],contextInit:[].concat(r.contextInit||[]),eventRefiners:r.eventRefiners||{},eventDefMemberAdders:r.eventDefMemberAdders||[],eventSourceRefiners:r.eventSourceRefiners||{},isDraggableTransformers:r.isDraggableTransformers||[],eventDragMutationMassagers:r.eventDragMutationMassagers||[],eventDefMutationAppliers:r.eventDefMutationAppliers||[],dateSelectionTransformers:r.dateSelectionTransformers||[],datePointTransforms:r.datePointTransforms||[],dateSpanTransforms:r.dateSpanTransforms||[],views:r.views||{},viewPropsTransformers:r.viewPropsTransformers||[],isPropsValid:r.isPropsValid||null,externalDefTransforms:r.externalDefTransforms||[],viewContainerAppends:r.viewContainerAppends||[],eventDropTransformers:r.eventDropTransformers||[],componentInteractions:r.componentInteractions||[],calendarInteractions:r.calendarInteractions||[],themeClasses:r.themeClasses||{},eventSourceDefs:r.eventSourceDefs||[],cmdFormatter:r.cmdFormatter,recurringTypes:r.recurringTypes||[],namedTimeZonedImpl:r.namedTimeZonedImpl,initialView:r.initialView||"",elementDraggingImpl:r.elementDraggingImpl,optionChangeHandlers:r.optionChangeHandlers||{},scrollGridImpl:r.scrollGridImpl||null,listenerRefiners:r.listenerRefiners||{},optionRefiners:r.optionRefiners||{},propSetHandlers:r.propSetHandlers||{}}}function wlt(r,e){let t={},n={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 i(a){for(let s of a){let o=s.name,l=t[o];l===void 0?(t[o]=s.id,i(s.deps),n=Elt(n,s)):l!==s.id&&console.warn(`Duplicate plugin '${o}'`)}}return r&&i(r),i(e),n}function Slt(){let r=[],e=[],t;return(n,i)=>((!t||!Jc(n,r)||!Jc(i,e))&&(t=wlt(n,i)),r=n,e=i,t)}function Elt(r,e){return{premiumReleaseDate:xlt(r.premiumReleaseDate,e.premiumReleaseDate),reducers:r.reducers.concat(e.reducers),isLoadingFuncs:r.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:r.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},r.eventRefiners),e.eventRefiners),eventDefMemberAdders:r.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},r.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:r.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:r.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:r.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:r.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:r.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:r.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},r.views),e.views),viewPropsTransformers:r.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||r.isPropsValid,externalDefTransforms:r.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:r.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:r.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:r.calendarInteractions.concat(e.calendarInteractions),componentInteractions:r.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},r.themeClasses),e.themeClasses),eventSourceDefs:r.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||r.cmdFormatter,recurringTypes:r.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||r.namedTimeZonedImpl,initialView:r.initialView||e.initialView,elementDraggingImpl:r.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},r.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||r.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},r.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},r.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},r.propSetHandlers),e.propSetHandlers)}}function xlt(r,e){return r===void 0?e:e===void 0?r:new Date(Math.max(r.valueOf(),e.valueOf()))}function Clt(r,e){let t={},n;for(n in r)N4(n,t,r,e);for(n in e)N4(n,t,r,e);return t}function N4(r,e,t,n){if(e[r])return e[r];let i=Dlt(r,e,t,n);return i&&(e[r]=i),i}function Dlt(r,e,t,n){let i=t[r],a=n[r],s=d=>i&&i[d]!==null?i[d]:a&&a[d]!==null?a[d]:null,o=s("component"),l=s("superType"),c=null;if(l){if(l===r)throw new Error("Can't have a custom view type that references itself");c=N4(l,e,t,n)}return!o&&c&&(o=c.component),o?{type:r,component:o,defaults:Object.assign(Object.assign({},c?c.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),a?a.rawOptions:{})}:null}function ePe(r){return Uo(r,Plt)}function Plt(r){let e=typeof r=="function"?{component:r}:r,{component:t}=e;return e.content?t=tPe(e):t&&!(t.prototype instanceof wt)&&(t=tPe(Object.assign(Object.assign({},e),{content:t}))),{superType:e.type,component:t,rawOptions:e}}function tPe(r){return e=>M(Ho.Consumer,null,t=>M(In,{elTag:"div",elClasses:l4(t.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:t.options.nextDayThreshold}),generatorName:void 0,customGenerator:r.content,classNameGenerator:r.classNames,didMount:r.didMount,willUnmount:r.willUnmount}))}function Mlt(r,e,t,n){let i=ePe(r),a=ePe(e.views),s=Clt(i,a);return Uo(s,o=>_lt(o,a,e,t,n))}function _lt(r,e,t,n,i){let a=r.overrides.duration||r.defaults.duration||n.duration||t.duration,s=null,o="",l="",c={};if(a&&(s=Alt(a),s)){let p=RC(s);o=p.unit,p.value===1&&(l=o,c=e[o]?e[o].rawOptions:{})}let d=p=>{let m=p.buttonText||{},f=r.defaults.buttonTextKey;return f!=null&&m[f]!=null?m[f]:m[r.type]!=null?m[r.type]:m[l]!=null?m[l]:null},u=p=>{let m=p.buttonHints||{},f=r.defaults.buttonTextKey;return f!=null&&m[f]!=null?m[f]:m[r.type]!=null?m[r.type]:m[l]!=null?m[l]:null};return{type:r.type,component:r.component,duration:s,durationUnit:o,singleUnit:l,optionDefaults:r.defaults,optionOverrides:Object.assign(Object.assign({},c),r.overrides),buttonTextOverride:d(n)||d(t)||r.overrides.buttonText,buttonTextDefault:d(i)||r.defaults.buttonText||d(ed)||r.type,buttonTitleOverride:u(n)||u(t)||r.overrides.buttonHint,buttonTitleDefault:u(i)||r.defaults.buttonHint||u(ed)}}function Alt(r){let e=JSON.stringify(r),t=rPe[e];return t===void 0&&(t=ct(r),rPe[e]=t),t}function Ilt(r,e){switch(e.type){case"CHANGE_VIEW_TYPE":r=e.viewType}return r}function Nlt(r,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return r}}function Rlt(r,e,t){let n=r.initialDate;return n!=null?e.createMarker(n):t.getDateMarker()}function Olt(r,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},r),{[e.optionName]:e.rawOptionValue});default:return r}}function Llt(r,e,t,n){let i;switch(e.type){case"CHANGE_VIEW_TYPE":return n.build(e.dateMarker||t);case"CHANGE_DATE":return n.build(e.dateMarker);case"PREV":if(i=n.buildPrev(r,t),i.isValid)return i;break;case"NEXT":if(i=n.buildNext(r,t),i.isValid)return i;break}return r}function Flt(r,e,t){let n=e?e.activeRange:null;return uPe({},Vlt(r,t),n,t)}function $lt(r,e,t,n){let i=t?t.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return uPe(r,e.sources,i,n);case"REMOVE_EVENT_SOURCE":return jlt(r,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return t?pPe(r,i,n):r;case"FETCH_EVENT_SOURCES":return U4(r,e.sourceIds?a4(e.sourceIds):mPe(r,n),i,e.isRefetch||!1,n);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Hlt(r,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return r}}function zlt(r,e,t){let n=e?e.activeRange:null;return U4(r,mPe(r,t),n,!0,t)}function dPe(r){for(let e in r)if(r[e].isFetching)return!0;return!1}function uPe(r,e,t,n){let i={};for(let a of e)i[a.sourceId]=a;return t&&(i=pPe(i,t,n)),Object.assign(Object.assign({},r),i)}function jlt(r,e){return Iu(r,t=>t.sourceId!==e)}function pPe(r,e,t){return U4(r,Iu(r,n=>Blt(n,e,t)),e,!1,t)}function Blt(r,e,t){return fPe(r,t)?!t.options.lazyFetching||!r.fetchRange||r.isFetching||e.start<r.fetchRange.start||e.end>r.fetchRange.end:!r.latestFetchId}function U4(r,e,t,n,i){let a={};for(let s in r){let o=r[s];e[s]?a[s]=Ult(o,t,n,i):a[s]=o}return a}function Ult(r,e,t,n){let{options:i,calendarApi:a}=n,s=n.pluginHooks.eventSourceDefs[r.sourceDefId],o=Fu();return s.fetch({eventSource:r,range:e,isRefetch:t,context:n},l=>{let{rawEvents:c}=l;i.eventSourceSuccess&&(c=i.eventSourceSuccess.call(a,c,l.response)||c),r.success&&(c=r.success.call(a,c,l.response)||c),n.dispatch({type:"RECEIVE_EVENTS",sourceId:r.sourceId,fetchId:o,fetchRange:e,rawEvents:c})},l=>{let c=!1;i.eventSourceFailure&&(i.eventSourceFailure.call(a,l),c=!0),r.failure&&(r.failure(l),c=!0),c||console.warn(l.message,l),n.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:r.sourceId,fetchId:o,fetchRange:e,error:l})}),Object.assign(Object.assign({},r),{isFetching:!0,latestFetchId:o})}function Hlt(r,e,t,n){let i=r[e];return i&&t===i.latestFetchId?Object.assign(Object.assign({},r),{[e]:Object.assign(Object.assign({},i),{isFetching:!1,fetchRange:n})}):r}function mPe(r,e){return Iu(r,t=>fPe(t,e))}function Vlt(r,e){let t=m4(e),n=[].concat(r.eventSources||[]),i=[];r.initialEvents&&n.unshift(r.initialEvents),r.events&&n.unshift(r.events);for(let a of n){let s=p4(a,e,t);s&&i.push(s)}return i}function fPe(r,e){return!e.pluginHooks.eventSourceDefs[r.sourceDefId].ignoreRange}function qlt(r,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return r}}function Wlt(r,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return r}}function Ylt(r,e){let t;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return t=e.state,{affectedEvents:t.affectedEvents,mutatedEvents:t.mutatedEvents,isEvent:t.isEvent};default:return r}}function Glt(r,e){let t;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return t=e.state,{affectedEvents:t.affectedEvents,mutatedEvents:t.mutatedEvents,isEvent:t.isEvent};default:return r}}function Klt(r,e,t,n,i){let a=r.headerToolbar?nPe(r.headerToolbar,r,e,t,n,i):null,s=r.footerToolbar?nPe(r.footerToolbar,r,e,t,n,i):null;return{header:a,footer:s}}function nPe(r,e,t,n,i,a){let s={},o=[],l=!1;for(let c in r){let d=r[c],u=Zlt(d,e,t,n,i,a);s[c]=u.widgets,o.push(...u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:s,viewsWithButtons:o,hasTitle:l}}function Zlt(r,e,t,n,i,a){let s=e.direction==="rtl",o=e.customButtons||{},l=t.buttonText||{},c=e.buttonText||{},d=t.buttonHints||{},u=e.buttonHints||{},p=r?r.split(" "):[],m=[],f=!1;return{widgets:p.map(g=>g.split(",").map(v=>{if(v==="title")return f=!0,{buttonName:v};let k,b,w,S,x,C;if(k=o[v])w=D=>{k.click&&k.click.call(D.target,D,D.target)},(S=n.getCustomButtonIconClass(k))||(S=n.getIconClass(v,s))||(x=k.text),C=k.hint||k.text;else if(b=i[v]){m.push(v),w=()=>{a.changeView(v)},(x=b.buttonTextOverride)||(S=n.getIconClass(v,s))||(x=b.buttonTextDefault);let D=b.buttonTextOverride||b.buttonTextDefault;C=fT(b.buttonTitleOverride||b.buttonTitleDefault||e.viewHint,[D,v],D)}else if(a[v])if(w=()=>{a[v]()},(x=l[v])||(S=n.getIconClass(v,s))||(x=c[v]),v==="prevYear"||v==="nextYear"){let D=v==="prevYear"?"prev":"next";C=fT(d[D]||u[D],[c.year||"year","year"],c[v])}else C=D=>fT(d[v]||u[v],[c[D]||D,D],c[v]);return{buttonName:v,buttonClick:w,buttonIcon:S,buttonText:x,buttonHint:C}})),viewsWithButtons:m,hasTitle:f}}function ict(r,e,t){let{dateEnv:n,options:i}=t,a,s,o,l,c={};return a=r.startParam,a==null&&(a=i.startParam),s=r.endParam,s==null&&(s=i.endParam),o=r.timeZoneParam,o==null&&(o=i.timeZoneParam),typeof r.extraParams=="function"?l=r.extraParams():l=r.extraParams||{},Object.assign(c,l),c[a]=n.formatIso(e.start),c[s]=n.formatIso(e.end),n.timeZone!=="local"&&(c[o]=n.timeZone),c}function lct(r,e,t,n,i){let a=r?a4(r):null,s=pr(i.start),o=i.end,l=[];for(e&&(e.milliseconds<0?o=un(o,1):e.milliseconds>=1e3*60*60*24&&(s=un(s,-1)));s<o;){let c;(!a||a[s.getUTCDay()])&&(e?c=n.add(s,e):c=s,l.push(n.createMarker(t.toDate(c)))),s=un(s,1)}return l}function iPe(r,e){let t=QR(e.getCurrentData().eventSources);if(t.length===1&&r.length===1&&Array.isArray(t[0]._raw)&&Array.isArray(r[0])){e.dispatch({type:"RESET_RAW_EVENTS",sourceId:t[0].sourceId,rawEvents:r[0]});return}let n=[];for(let i of r){let a=!1;for(let s=0;s<t.length;s+=1)if(t[s]._raw===i){t.splice(s,1),a=!0;break}a||n.push(i)}for(let i of t)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:i.sourceId});for(let i of n)e.calendarApi.addEventSource(i)}function dct(r,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},b4(r.activeRange,e.dateEnv)),{view:e.viewApi}))}function uct(r,e){let{emitter:t}=e;t.hasHandlers("eventsSet")&&t.trigger("eventsSet",td(r,e))}function mct(r,e,t){let n;return/^(year|month)$/.test(r.currentRangeUnit)?n=r.currentRange:n=r.activeRange,t.formatRange(n.start,n.end,Gt(e.titleFormat||fct(r)),{isEndExclusive:r.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function fct(r){let{currentRangeUnit:e}=r;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let t=lT(r.currentRange.start,r.currentRange.end);return t!==null&&t>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}function hct(r,e,t,n,i,a,s,o){let l=lPe(e||s.defaultCode,s.map);return new OC({calendarSystem:"gregory",timeZone:r,namedTimeZoneImpl:a.namedTimeZonedImpl,locale:l,weekNumberCalculation:t,firstDay:n,weekText:i,cmdFormatter:a.cmdFormatter,defaultSeparator:o})}function gct(r,e){let t=e.themeClasses[r.themeSystem]||nd;return new t(r)}function yct(r){let e=r.dateProfileGeneratorClass||ng;return new e(r)}function vct(r,e,t){return new R4(r,e,t)}function bct(r){return Uo(r,e=>e.ui)}function Tct(r,e,t){let n={"":e};for(let i in r){let a=r[i];a.sourceId&&t[a.sourceId]&&(n[i]=t[a.sourceId])}return n}function kct(r){let{options:e}=r;return{eventUiSingleBase:bT({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},r),selectionConfig:bT({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},r)}}function I4(r,e){for(let t of e.pluginHooks.isLoadingFuncs)if(t(r))return!0;return!1}function wct(r){return h4(r.options.businessHours,r)}function aPe(r,e){for(let t in r)console.warn(`Unknown option '${t}'`+(e?` for view '${e}'`:""))}function Sct(r,e,t,n,i,a){let s=t.build(i,void 0,!1),o=t.buildPrev(e,n,!1),l=t.buildNext(e,n,!1);return{title:a,activeButton:r.type,navUnit:r.singleUnit,isTodayEnabled:s.isValid&&!Bo(e.currentRange,i),isPrevEnabled:o.isValid,isNextEnabled:l.isValid}}function Ect(r){return r.map(e=>new e)}var vlt,sPe,oPe,nd,rPe,R4,Qlt,Jlt,Xlt,ect,tct,rct,nct,act,sct,oct,cct,pct,O4,sO,L4,F4,oO,$4,z4,j4,B4,lO,yg=y(()=>{A4();Au();IC();vlt=[],sPe={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"},oPe=Object.assign(Object.assign({},sPe),{buttonHints:{prev:"Previous $0",next:"Next $0",today(r,e){return e==="day"?"Today":`This ${r}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(r){return`Show ${r} more event${r===1?"":"s"}`}});nd=class extends Nu{};nd.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};nd.prototype.baseIconClass="fc-icon";nd.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"};nd.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};nd.prototype.iconOverrideOption="buttonIcons";nd.prototype.iconOverrideCustomButtonOption="icon";nd.prototype.iconOverridePrefix="fc-icon-";rPe={};R4=class{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}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(e){return this.getCurrentData().options[e]}},Qlt={ignoreRange:!0,parseMeta(r){return Array.isArray(r.events)?r.events:null},fetch(r,e){e({rawEvents:r.eventSource.meta})}},Jlt=pa({name:"array-event-source",eventSourceDefs:[Qlt]}),Xlt={parseMeta(r){return typeof r.events=="function"?r.events:null},fetch(r,e,t){let{dateEnv:n}=r.context,i=r.eventSource.meta;T4(i.bind(null,b4(r.range,n)),a=>e({rawEvents:a}),t)}},ect=pa({name:"func-event-source",eventSourceDefs:[Xlt]}),tct={method:String,extraParams:j,startParam:String,endParam:String,timeZoneParam:String},rct={parseMeta(r){return r.url&&(r.format==="json"||!r.format)?{url:r.url,format:"json",method:(r.method||"GET").toUpperCase(),extraParams:r.extraParams,startParam:r.startParam,endParam:r.endParam,timeZoneParam:r.timeZoneParam}:null},fetch(r,e,t){let{meta:n}=r.eventSource,i=ict(n,r.range,r.context);k4(n.method,n.url,i).then(([a,s])=>{e({rawEvents:a,response:s})},t)}},nct=pa({name:"json-event-source",eventSourceRefiners:tct,eventSourceDefs:[rct]});act={daysOfWeek:j,startTime:ct,endTime:ct,duration:ct,startRecur:j,endRecur:j},sct={parse(r,e){if(r.daysOfWeek||r.startTime||r.endTime||r.startRecur||r.endRecur){let t={daysOfWeek:r.daysOfWeek||null,startTime:r.startTime||null,endTime:r.endTime||null,startRecur:r.startRecur?e.createMarker(r.startRecur):null,endRecur:r.endRecur?e.createMarker(r.endRecur):null,dateEnv:e},n;return r.duration&&(n=r.duration),!n&&r.startTime&&r.endTime&&(n=hDe(r.endTime,r.startTime)),{allDayGuess:!r.startTime&&!r.endTime,duration:n,typeData:t}}return null},expand(r,e,t){let n=$a(e,{start:r.startRecur,end:r.endRecur});return n?lct(r.daysOfWeek,r.startTime,r.dateEnv,t,n):[]}},oct=pa({name:"simple-recurring-event",recurringTypes:[sct],eventRefiners:act});cct=pa({name:"change-handler",optionChangeHandlers:{events(r,e){iPe([r],e)},eventSources:iPe}});pct=[Jlt,ect,nct,oct,cct,pa({name:"misc",isLoadingFuncs:[r=>dPe(r.eventSources)],propSetHandlers:{dateProfile:dct,eventStore:uct}})],O4=class{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new rg(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t=[],n;for(;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}};sO=class{constructor(){this.resetListeners=new Set}handleInput(e,t){let n=this.dateEnv;if(e!==n&&(typeof t=="function"?this.nowFn=t:n||(this.nowAnchorDate=e.toDate(t?e.createMarker(t):e.createNowMarker()),this.nowAnchorQueried=Date.now()),this.dateEnv=e,n))for(let i of this.resetListeners.values())i()}getDateMarker(){return this.nowAnchorDate?this.dateEnv.timestampToMarker(this.nowAnchorDate.valueOf()+(Date.now()-this.nowAnchorQueried)):this.dateEnv.createMarker(this.nowFn())}addResetListener(e){this.resetListeners.add(e)}removeResetListener(e){this.resetListeners.delete(e)}},L4=class{constructor(e){this.computeCurrentViewData=Me(this._computeCurrentViewData),this.organizeRawLocales=Me(blt),this.buildLocale=Me(lPe),this.buildPluginHooks=Slt(),this.buildDateEnv=Me(hct),this.buildTheme=Me(gct),this.parseToolbars=Me(Klt),this.buildViewSpecs=Me(Mlt),this.buildDateProfileGenerator=gT(yct),this.buildViewApi=Me(vct),this.buildViewUiProps=gT(kct),this.buildEventUiBySource=Me(bct,ua),this.buildEventUiBases=Me(Tct),this.parseContextBusinessHours=gT(wct),this.buildTitle=Me(mct),this.nowManager=new sO,this.emitter=new Ru,this.actionRunner=new O4(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=e,this.actionRunner.pause(),this.nowManager=new sO;let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),i=n.calendarOptions.initialView||n.pluginHooks.initialView,a=this.computeCurrentViewData(i,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(a.options);let s={nowManager:this.nowManager,dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o=Rlt(n.calendarOptions,n.dateEnv,this.nowManager),l=a.dateProfileGenerator.build(o);Bo(l.activeRange,o)||(o=l.currentRange.start);for(let p of n.pluginHooks.contextInit)p(s);let c=Flt(n.calendarOptions,l,s),d={dynamicOptionOverrides:t,currentViewType:i,currentDate:o,dateProfile:l,businessHours:this.parseContextBusinessHours(s),eventSources:c,eventUiBases:{},eventStore:mi(),renderableEventStore:mi(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(s).selectionConfig},u=Object.assign(Object.assign({},s),d);for(let p of n.pluginHooks.reducers)Object.assign(d,p(null,null,u));I4(d,s)&&this.emitter.trigger("loading",!0),this.state=d,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;t===void 0?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(t===void 0||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:n,emitter:i}=this,a=Olt(n.dynamicOptionOverrides,e),s=this.computeOptionsData(t.optionOverrides,a,t.calendarApi),o=Ilt(n.currentViewType,e),l=this.computeCurrentViewData(o,s,t.optionOverrides,a);t.calendarApi.currentDataManager=this,i.setThisContext(t.calendarApi),i.setOptions(l.options);let c={nowManager:this.nowManager,dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},{currentDate:d,dateProfile:u}=n;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(u=l.dateProfileGenerator.build(d)),d=Nlt(d,e),u=Llt(u,e,d,l.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!Bo(u.currentRange,d))&&(d=u.currentRange.start);let p=$lt(n.eventSources,e,u,c),m=PDe(n.eventStore,e,p,u,c),h=dPe(p)&&!l.options.progressiveEventRendering&&n.renderableEventStore||m,{eventUiSingleBase:g,selectionConfig:v}=this.buildViewUiProps(c),k=this.buildEventUiBySource(p),b=this.buildEventUiBases(h.defs,g,k),w={dynamicOptionOverrides:a,currentViewType:o,currentDate:d,dateProfile:u,eventSources:p,eventStore:m,renderableEventStore:h,selectionConfig:v,eventUiBases:b,businessHours:this.parseContextBusinessHours(c),dateSelection:qlt(n.dateSelection,e),eventSelection:Wlt(n.eventSelection,e),eventDrag:Ylt(n.eventDrag,e),eventResize:Glt(n.eventResize,e)},S=Object.assign(Object.assign({},c),w);for(let D of s.pluginHooks.reducers)Object.assign(w,D(n,e,S));let x=I4(n,c),C=I4(w,c);!x&&C?i.trigger("loading",!0):x&&!C&&i.trigger("loading",!1),this.state=w,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,i=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),a=this.computeCurrentViewData(t.currentViewType,i,e.optionOverrides,t.dynamicOptionOverrides),s=this.data=Object.assign(Object.assign(Object.assign({nowManager:this.nowManager,viewTitle:this.buildTitle(t.dateProfile,a.options,i.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},i),a),t),o=i.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,c=i.calendarOptions;if(l&&l!==c){l.timeZone!==c.timeZone&&(t.eventSources=s.eventSources=zlt(s.eventSources,t.dateProfile,s),t.eventStore=s.eventStore=f4(s.eventStore,n.dateEnv,s.dateEnv),t.renderableEventStore=s.renderableEventStore=f4(s.renderableEventStore,n.dateEnv,s.dateEnv));for(let d in o)(this.optionsForHandling.indexOf(d)!==-1||l[d]!==c[d])&&o[d](c[d],s)}this.optionsForHandling=[],e.onData&&e.onData(s)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:i,pluginHooks:a,localeDefaults:s,availableLocaleData:o,extra:l}=this.processRawCalendarOptions(e,t);aPe(l);let c=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,a,o,i.defaultRangeSeparator),d=this.buildViewSpecs(a.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,s),u=this.buildTheme(i,a),p=this.parseToolbars(i,this.stableOptionOverrides,u,d,n);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:a,dateEnv:c,viewSpecs:d,theme:u,toolbarConfig:p,localeDefaults:s,availableRawLocales:o.map}}processRawCalendarOptions(e,t){let{locales:n,locale:i}=KR([ed,e,t]),a=this.organizeRawLocales(n),s=a.map,o=this.buildLocale(i||a.defaultCode,s).options,l=this.buildPluginHooks(e.plugins||[],pct),c=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r4),n4),i4),l.listenerRefiners),l.optionRefiners),d={},u=KR([ed,o,e,t]),p={},m=this.currentCalendarOptionsInput,f=this.currentCalendarOptionsRefined,h=!1;for(let g in u)this.optionsForRefining.indexOf(g)===-1&&(u[g]===m[g]||Am[g]&&g in m&&Am[g](m[g],u[g]))?p[g]=f[g]:c[g]?(p[g]=c[g](u[g]),h=!0):d[g]=m[g];return h&&(this.currentCalendarOptionsInput=u,this.currentCalendarOptionsRefined=p,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:a,localeDefaults:o,extra:d}}_computeCurrentViewData(e,t,n,i){let a=t.viewSpecs[e];if(!a)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:s,extra:o}=this.processRawViewOptions(a,t.pluginHooks,t.localeDefaults,n,i);aPe(o),this.nowManager.handleInput(t.dateEnv,s.now);let l=this.buildDateProfileGenerator({dateProfileGeneratorClass:a.optionDefaults.dateProfileGeneratorClass,nowManager:this.nowManager,duration:a.duration,durationUnit:a.durationUnit,usesMinMaxTime:a.optionDefaults.usesMinMaxTime,dateEnv:t.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(e,this.getCurrentData,t.dateEnv);return{viewSpec:a,options:s,dateProfileGenerator:l,viewApi:c}}processRawViewOptions(e,t,n,i,a){let s=KR([ed,e.optionDefaults,n,i,e.optionOverrides,a]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r4),n4),i4),vDe),t.listenerRefiners),t.optionRefiners),l={},c=this.currentViewOptionsInput,d=this.currentViewOptionsRefined,u=!1,p={};for(let m in s)s[m]===c[m]||Am[m]&&Am[m](s[m],c[m])?l[m]=d[m]:(s[m]===this.currentCalendarOptionsInput[m]||Am[m]&&Am[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}}};F4=class extends wt{render(){let e=this.props.widgetGroups.map(t=>this.renderWidgetGroup(t));return M("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,i=[],a=!0;for(let s of e){let{buttonName:o,buttonClick:l,buttonText:c,buttonIcon:d,buttonHint:u}=s;if(o==="title")a=!1,i.push(M("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let p=o===t.activeButton,m=!t.isTodayEnabled&&o==="today"||!t.isPrevEnabled&&o==="prev"||!t.isNextEnabled&&o==="next",f=[`fc-${o}-button`,n.getClass("button")];p&&f.push(n.getClass("buttonActive")),i.push(M("button",{type:"button",title:typeof u=="function"?u(t.navUnit):u,disabled:m,"aria-pressed":p,className:f.join(" "),onClick:l},c||(d?M("span",{className:d,role:"img"}):"")))}}if(i.length>1){let s=a&&n.getClass("buttonGroup")||"";return M("div",{className:s},...i)}return i[0]}},oO=class extends wt{render(){let{model:e,extraClassName:t}=this.props,n=!1,i,a,s=e.sectionWidgets,o=s.center;return s.left?(n=!0,i=s.left):i=s.start,s.right?(n=!0,a=s.right):a=s.end,M("div",{className:[t||"","fc-toolbar",n?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",i||[]),this.renderSection("center",o||[]),this.renderSection("end",a||[]))}renderSection(e,t){let{props:n}=this;return M(F4,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}},$4=class extends wt{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,no(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],a="",s="";return n?t.availableWidth!==null?a=t.availableWidth/n:s=`${1/n*100}%`:a=e.height||"",M("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:a,paddingBottom:s}},e.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})}},z4=class extends zl{constructor(e){super(e),this.handleSegClick=(t,n)=>{let{component:i}=this,{context:a}=i,s=$u(n);if(s&&i.isValidSegDownEl(t.target)){let o=pi(t.target,".fc-event-forced-url"),l=o?o.querySelector("a[href]").href:"";a.emitter.trigger("eventClick",{el:n,event:new Nr(i.context,s.eventRange.def,s.eventRange.instance),jsEvent:t,view:a.viewApi}),l&&!t.defaultPrevented&&(window.location.href=l)}},this.destroy=VW(e.el,"click",".fc-event",this.handleSegClick)}},j4=class extends zl{constructor(e){super(e),this.handleEventElRemove=t=>{t===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(t,n)=>{$u(n)&&(this.currentSegEl=n,this.triggerEvent("eventMouseEnter",t,n))},this.handleSegLeave=(t,n)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",t,n))},this.removeHoverListeners=cDe(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:i}=this,{context:a}=i,s=$u(n);(!t||i.isValidSegDownEl(t.target))&&a.emitter.trigger(e,{el:n,event:new Nr(a,s.eventRange.def,s.eventRange.instance),jsEvent:t,view:a.viewApi})}},B4=class extends Kc{constructor(){super(...arguments),this.buildViewContext=Me(SDe),this.buildViewPropTransformers=Me(Ect),this.buildToolbarProps=Me(Sct),this.headerRef=kn(),this.footerRef=kn(),this.interactionsStore={},this.state={viewLabelId:ms()},this.registerInteractiveComponent=(e,t)=>{let n=RDe(e,t),s=[z4,j4].concat(this.props.pluginHooks.componentInteractions).map(o=>new o(n));this.interactionsStore[e.uid]=s,hg[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let n of t)n.destroy();delete this.interactionsStore[e.uid]}delete hg[e.uid]},this.resizeRunner=new rg(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:t,options:n}=e,i=!1,a="",s;e.isHeightAuto||e.forPrint?a="":n.height!=null?i=!0:n.contentHeight!=null?a=n.contentHeight:s=Math.max(n.aspectRatio,.5);let o=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.nowManager,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=t.header&&t.header.hasTitle?this.state.viewLabelId:void 0;return M(Ho.Provider,{value:o},M(us,{unit:"day"},c=>{let d=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,c,e.viewTitle);return M(Yt,null,t.header&&M(oO,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:t.header,titleId:l},d)),M($4,{liquid:i,height:a,aspectRatio:s,labeledById:l},this.renderView(e),this.buildAppendContent()),t.footer&&M(oO,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:t.footer,titleId:""},d)))}))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(n=>new n(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let i in n)t[i]!==e[i]&&n[i](t[i],t)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,t=e.pluginHooks.viewContainerAppends.map(n=>n(e));return M(Yt,{},...t)}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},a=this.buildViewPropTransformers(t.viewPropsTransformers);for(let o of a)Object.assign(i,o.transform(i,e));let s=n.component;return M(s,Object.assign({},i))}};lO=class extends BC{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=n=>{switch(n.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=n=>{this.currentData=n,this.renderRunner.request(n.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:n}=this;LC(()=>{wm(M(jC,{options:n.calendarOptions,theme:n.theme,emitter:n.emitter},(i,a,s,o)=>(this.setClassNames(i),this.setHeight(a),M(o4.Provider,{value:this.customContentRenderId},M(B4,Object.assign({isHeightAuto:s,forPrint:o},n))))),this.el)})}else this.isRendered&&(this.isRendered=!1,wm(null,this.el),this.setClassNames([]),this.setHeight(""))},aDe(e),this.el=e,this.renderRunner=new rg(this.handleRenderRequest),new L4({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){LC(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!Jc(e,this.currentClassNames)){let{classList:t}=this.el;for(let n of this.currentClassNames)t.remove(n);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){HW(this.el,"height",e)}}});var vg=y(()=>{A4();Au();IC()});function xct(r){return r.button===0&&!r.ctrlKey}function Cct(){H4+=1,setTimeout(()=>{H4-=1},wT.touchMouseIgnoreWait)}function Dct(){cO+=1,cO===1&&window.addEventListener("touchmove",gPe,{passive:!1})}function Pct(){cO-=1,cO||window.removeEventListener("touchmove",gPe,{passive:!1})}function gPe(r){V4&&r.preventDefault()}function Mct(r){let e=r.tagName;return e==="HTML"||e==="BODY"}function fO(r,e){return!r&&!e?!0:!!r!=!!e?!1:v4(r.dateSpan,e.dateSpan)}function e3(r,e){let t={};for(let n of e.pluginHooks.datePointTransforms)Object.assign(t,n(r,e));return Object.assign(t,_ct(r,e.dateEnv)),t}function _ct(r,e){return{date:e.toDate(r.range.start),dateStr:e.formatIso(r.range.start,{omitTime:r.allDay}),allDay:r.allDay}}function Act(r){let{options:e}=r.context,t=e.selectLongPressDelay;return t==null&&(t=e.longPressDelay),t}function Ict(r,e,t){let n=r.dateSpan,i=e.dateSpan,a=[n.range.start,n.range.end,i.range.start,i.range.end];a.sort(ZW);let s={};for(let o of t){let l=o(r,e);if(l===!1)return null;l&&Object.assign(s,l)}return s.range={start:a[0],end:a[3]},s.allDay=n.allDay,s}function Nct(r,e,t,n){let i=r.dateSpan,a=e.dateSpan,s=i.range.start,o=a.range.start,l={};i.allDay!==a.allDay&&(l.allDay=a.allDay,l.hasEnd=e.context.options.allDayMaintainDuration,a.allDay?s=pr(t):s=t);let c=Cm(s,o,r.context.dateEnv,r.componentId===e.componentId?r.largeUnit:null);c.milliseconds&&(l.allDay=!1);let d={datesDelta:c,standardProps:l};for(let u of n)u(d,r,e);return d}function Rct(r){let{options:e}=r.context,t=e.eventLongPressDelay;return t==null&&(t=e.longPressDelay),t}function Oct(r,e,t,n){let i=r.context.dateEnv,a=r.dateSpan.range.start,s=e.dateSpan.range.start,o=Cm(a,s,i,r.largeUnit);if(t){if(i.add(n.start,o)<n.end)return{startDelta:o}}else if(i.add(n.end,o)>n.start)return{endDelta:o};return null}function $ct(r,e,t){let n=Object.assign({},e.leftoverProps);for(let d of t.pluginHooks.externalDefTransforms)Object.assign(n,d(r,e));let{refined:i,extra:a}=XC(n,t),s=cT(i,a,e.sourceId,r.allDay,t.options.forceEventDuration||!!e.duration,t),o=r.range.start;r.allDay&&e.startTime&&(o=t.dateEnv.add(o,e.startTime));let l=e.duration?t.dateEnv.add(o,e.duration):zC(r.allDay,o,t),c=vT(s.defId,{start:o,end:l});return{def:s,instance:c}}function zct(r){let e=jct(r,"event"),t=e?JSON.parse(e):{create:!1};return oD(t)}function jct(r,e){let t=wT.dataAttrPrefix,n=(t?t+"-":"")+e;return r.getAttribute("data-"+n)||""}var H4,cO,V4,dO,q4,uO,pO,W4,hPe,Y4,Nm,G4,bg,K4,Z4,mD,Q4,J4,Lct,Fct,X4,mO,yPe,t3=y(()=>{yg();vg();wT.touchMouseIgnoreWait=500;H4=0,cO=0,V4=!1,dO=class{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=t=>{if(!this.shouldIgnoreMouse()&&xct(t)&&this.tryStart(t)){let n=this.createEventFromMouse(t,!0);this.emitter.trigger("pointerdown",n),this.initScrollWatch(n),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=t=>{let n=this.createEventFromMouse(t);this.recordCoords(n),this.emitter.trigger("pointermove",n)},this.handleMouseUp=t=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(t)),this.cleanup()},this.handleTouchStart=t=>{if(this.tryStart(t)){this.isTouchDragging=!0;let n=this.createEventFromTouch(t,!0);this.emitter.trigger("pointerdown",n),this.initScrollWatch(n);let i=t.target;this.shouldIgnoreMove||i.addEventListener("touchmove",this.handleTouchMove),i.addEventListener("touchend",this.handleTouchEnd),i.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=t=>{let n=this.createEventFromTouch(t);this.recordCoords(n),this.emitter.trigger("pointermove",n)},this.handleTouchEnd=t=>{if(this.isDragging){let n=t.target;n.removeEventListener("touchmove",this.handleTouchMove),n.removeEventListener("touchend",this.handleTouchEnd),n.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(t)),this.cleanup(),this.isTouchDragging=!1,Cct()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=t=>{if(!this.shouldIgnoreMove){let n=window.scrollX-this.prevScrollX+this.prevPageX,i=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:t,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:n,pageY:i,deltaX:n-this.origPageX,deltaY:i-this.origPageY})}},this.containerEl=e,this.emitter=new Ru,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Dct()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),Pct()}tryStart(e){let t=this.querySubjectEl(e),n=e.target;return t&&(!this.handleSelector||pi(n,this.handleSelector))?(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){V4=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?pi(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return H4||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(V4=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,i=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:i}}createEventFromTouch(e,t){let n=e.touches,i,a,s=0,o=0;return n&&n.length?(i=n[0].pageX,a=n[0].pageY):(i=e.pageX,a=e.pageY),t?(this.origPageX=i,this.origPageY=a):(s=i-this.origPageX,o=a-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:i,pageY:a,deltaX:s,deltaY:o}}};q4=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(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.scrollX,this.origScreenY=n-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=t-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){let n=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",mg(n,{left:i.left,top:i.top}),qW(n,()=>{n.style.transition="",e()})}cleanup(){this.mirrorEl&&(GC(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&mg(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||(t=this.mirrorEl=this.sourceEl.cloneNode(!0),t.style.userSelect="none",t.style.webkitUserSelect="none",t.style.pointerEvents="none",t.classList.add("fc-event-dragging"),mg(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}},uO=class extends sg{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.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(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}},pO=class extends uO{constructor(e,t){super(new HC(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return D4(this.scrollController.el)}},W4=class extends uO{constructor(e){super(new VC,e)}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()}},hPe=typeof performance=="function"?performance.now:Date.now,Y4=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 e=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(e){let t=hPe();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let n=e-window.scrollX,i=t-window.scrollY,a=this.pointerScreenY===null?0:i-this.pointerScreenY,s=this.pointerScreenX===null?0:n-this.pointerScreenX;a<0?this.everMovedUp=!0:a>0&&(this.everMovedDown=!0),s<0?this.everMovedLeft=!0:s>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(hPe()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:n}=e,{edgeThreshold:i}=this,a=i-e.distance,s=a*a/(i*i)*this.maxVelocity*t,o=1;switch(e.name){case"left":o=-1;case"right":n.setScrollLeft(n.getScrollLeft()+s*o);break;case"top":o=-1;case"bottom":n.setScrollTop(n.getScrollTop()+s*o);break}}computeBestEdge(e,t){let{edgeThreshold:n}=this,i=null,a=this.scrollCaches||[];for(let s of a){let o=s.clientRect,l=e-o.left,c=o.right-e,d=t-o.top,u=o.bottom-t;l>=0&&c>=0&&d>=0&&u>=0&&(d<=n&&this.everMovedUp&&s.canScrollUp()&&(!i||i.distance>d)&&(i={scrollCache:s,name:"top",distance:d}),u<=n&&this.everMovedDown&&s.canScrollDown()&&(!i||i.distance>u)&&(i={scrollCache:s,name:"bottom",distance:u}),l<=n&&this.everMovedLeft&&s.canScrollLeft()&&(!i||i.distance>l)&&(i={scrollCache:s,name:"left",distance:l}),c<=n&&this.everMovedRight&&s.canScrollRight()&&(!i||i.distance>c)&&(i={scrollCache:s,name:"right",distance:c}))}return i}buildCaches(e){return this.queryScrollEls(e).map(t=>t===window?new W4(!1):new pO(t,!1))}queryScrollEls(e){let t=[];for(let n of this.scrollQuery)typeof n=="object"?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}},Nm=class extends YC{constructor(e,t){super(e),this.containerEl=e,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=i=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,WW(document.body),GW(document.body),i.isTouch||i.origEvent.preventDefault(),this.emitter.trigger("pointerdown",i),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(i.subjectEl,i.pageX,i.pageY),this.startDelay(i),this.minDistance||this.handleDistanceSurpassed(i)))},this.onPointerMove=i=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",i),!this.isDistanceSurpassed){let a=this.minDistance,s,{deltaX:o,deltaY:l}=i;s=o*o+l*l,s>=a*a&&this.handleDistanceSurpassed(i)}this.isDragging&&(i.origEvent.type!=="scroll"&&(this.mirror.handleMove(i.pageX,i.pageY),this.autoScroller.handleMove(i.pageX,i.pageY)),this.emitter.trigger("dragmove",i))}},this.onPointerUp=i=>{this.isInteracting&&(this.isInteracting=!1,YW(document.body),KW(document.body),this.emitter.trigger("pointerup",i),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(i)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new dO(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new q4,this.autoScroller=new Y4}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}},G4=class{constructor(e){this.el=e,this.origRect=aD(e),this.scrollCaches=iO(e).map(t=>new pO(t,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let n={left:e,top:t};for(let i of this.scrollCaches)if(!Mct(i.getEventTarget())&&!S4(n,i.clientRect))return!1;return!0}};bg=class{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=n=>{let{dragging:i}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(n),this.initialHit||!this.requireInitial?(i.setIgnoreMove(!1),this.emitter.trigger("pointerdown",n)):i.setIgnoreMove(!0)},this.handleDragStart=n=>{this.emitter.trigger("dragstart",n),this.handleMove(n,!0)},this.handleDragMove=n=>{this.emitter.trigger("dragmove",n),this.handleMove(n)},this.handlePointerUp=n=>{this.releaseHits(),this.emitter.trigger("pointerup",n)},this.handleDragEnd=n=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,n),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",n)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Ru}processFirstCoord(e){let t={left:e.pageX,top:e.pageY},n=t,i=e.subjectEl,a;i instanceof HTMLElement&&(a=aD(i),n=E4(n,a));let s=this.initialHit=this.queryHitForOffset(n.left,n.top);if(s){if(this.useSubjectCenter&&a){let o=nO(a,s.rect);o&&(n=x4(o))}this.coordAdjust=C4(n,t)}else this.coordAdjust={left:0,top:0}}handleMove(e,t){let n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(t||!fO(this.movingHit,n))&&(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=Uo(this.droppableStore,e=>(e.component.prepareHits(),new G4(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:n,offsetTrackers:i}=this,a=null;for(let s in n){let o=n[s].component,l=i[s];if(l&&l.isWithinClipping(e,t)){let c=l.computeLeft(),d=l.computeTop(),u=e-c,p=t-d,{origRect:m}=l,f=m.right-m.left,h=m.bottom-m.top;if(u>=0&&u<f&&p>=0&&p<h){let g=o.queryHit(u,p,f,h);g&&yT(g.dateProfile.activeRange,g.dateSpan.range)&&(this.disablePointCheck||l.el.contains(l.el.getRootNode().elementFromPoint(u+c-window.scrollX,p+d-window.scrollY)))&&(!a||g.layer>a.layer)&&(g.componentId=s,g.context=o.context,g.rect.left+=c,g.rect.right+=c,g.rect.top+=d,g.rect.bottom+=d,a=g)}}}return a}};K4=class extends zl{constructor(e){super(e),this.handlePointerDown=n=>{let{dragging:i}=this,a=n.origEvent.target;i.setIgnoreMove(!this.component.isValidDateDownEl(a))},this.handleDragEnd=n=>{let{component:i}=this,{pointer:a}=this.dragging;if(!a.wasTouchScroll){let{initialHit:s,finalHit:o}=this.hitDragging;if(s&&o&&fO(s,o)){let{context:l}=i,c=Object.assign(Object.assign({},e3(s.dateSpan,l)),{dayEl:s.dayEl,jsEvent:n.origEvent,view:l.viewApi||l.calendarApi.view});l.emitter.trigger("dateClick",c)}}},this.dragging=new Nm(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new bg(this.dragging,nD(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}},Z4=class extends zl{constructor(e){super(e),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?Act(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=Ict(u,s,l.pluginHooks.dateSelectionTransformers)),(!c||!M4(c,s.dateProfile,l))&&(d=!0,c=null)}c?l.dispatch({type:"SELECT_DATES",selection:c}):o||l.dispatch({type:"UNSELECT_DATES"}),d?pT():mT(),o||(this.dragSelection=c)},this.handlePointerUp=s=>{this.dragSelection&&(rO(this.dragSelection,s,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:n}=t.context,i=this.dragging=new Nm(e.el);i.touchScrollAllowed=!1,i.minDistance=n.selectMinDistance||0,i.autoScroller.isEnabled=n.dragScroll;let a=this.hitDragging=new bg(this.dragging,nD(e));a.emitter.on("pointerdown",this.handlePointerDown),a.emitter.on("dragstart",this.handleDragStart),a.emitter.on("hitupdate",this.handleHitUpdate),a.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}};mD=class r extends zl{constructor(e){super(e),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=$u(s.subjectEl),h=(this.eventRange=m.eventRange).instance.instanceId;this.relevantEvents=eD(p.getCurrentData().eventStore,h),c.minDistance=s.isTouch?0:u.eventDragMinDistance,c.delay=s.isTouch&&h!==l.props.eventSelection?Rct(l):null,u.fixedMirrorParent?d.parentNode=u.fixedMirrorParent:d.parentNode=pi(o,".fc"),d.revertDuration=u.dragRevertDuration;let g=l.isValidSegDownEl(o)&&!pi(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 Nr(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,f=!1,h={affectedEvents:l,mutatedEvents:mi(),isEvent:!0};if(s){u=s.context;let g=u.options;d===u||g.editable&&g.droppable?(p=Nct(c,s,this.eventRange.instance.range.start,u.getCurrentData().pluginHooks.eventDragMutationMassagers),p&&(m=tD(l,u.getCurrentData().eventUiBases,p,u),h.mutatedEvents=m,lD(h,s.dateProfile,u)||(f=!0,p=null,m=null,h.mutatedEvents=mi()))):u=null}this.displayDrag(u,h),f?pT():mT(),o||(d===u&&fO(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 Nr(o,u,p),f=this.relevantEvents,h=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 Nr(o,h.defs[u.defId],p?h.instances[p.instanceId]:null);o.dispatch({type:"MERGE_EVENTS",eventStore:h});let k={oldEvent:m,event:v,relatedEvents:td(h,o,p),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:f})}},b={};for(let w of o.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(b,w(d,o));o.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},k),b),{el:s.subjectEl,delta:d.datesDelta,jsEvent:s.origEvent,view:l})),o.emitter.trigger("eventChange",k)}else if(c){let v={event:m,relatedEvents:td(f,o,p),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:f})}};o.emitter.trigger("eventLeave",Object.assign(Object.assign({},v),{draggedEl:s.subjectEl,view:l})),o.dispatch({type:"REMOVE_EVENTS",eventStore:f}),o.emitter.trigger("eventRemove",v);let k=h.defs[u.defId],b=h.instances[p.instanceId],w=new Nr(c,k,b);c.dispatch({type:"MERGE_EVENTS",eventStore:h});let S={event:w,relatedEvents:td(h,c,b),revert(){c.dispatch({type:"REMOVE_EVENTS",eventStore:h})}};c.emitter.trigger("eventAdd",S),s.isTouch&&c.dispatch({type:"SELECT_EVENT",eventInstanceId:p.instanceId}),c.emitter.trigger("drop",Object.assign(Object.assign({},e3(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:t}=this,{options:n}=t.context,i=this.dragging=new Nm(e.el);i.pointer.selector=r.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=n.dragScroll;let a=this.hitDragging=new bg(this.dragging,hg);a.useSubjectCenter=e.useEventCenter,a.emitter.on("pointerdown",this.handlePointerDown),a.emitter.on("dragstart",this.handleDragStart),a.emitter.on("hitupdate",this.handleHitUpdate),a.emitter.on("pointerup",this.handlePointerUp),a.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:mi(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.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}};mD.SELECTOR=".fc-event-draggable, .fc-event-resizable";Q4=class extends zl{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=a=>{let{component:s}=this,o=this.querySegEl(a),l=$u(o),c=this.eventRange=l.eventRange;this.dragging.minDistance=s.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(a.origEvent.target)||a.isTouch&&this.component.props.eventSelection!==c.instance.instanceId)},this.handleDragStart=a=>{let{context:s}=this.component,o=this.eventRange;this.relevantEvents=eD(s.getCurrentData().eventStore,this.eventRange.instance.instanceId);let l=this.querySegEl(a);this.draggingSegEl=l,this.draggingSeg=$u(l),s.calendarApi.unselect(),s.emitter.trigger("eventResizeStart",{el:l,event:new Nr(s,o.def,o.instance),jsEvent:a.origEvent,view:s.viewApi})},this.handleHitUpdate=(a,s,o)=>{let{context:l}=this.component,c=this.relevantEvents,d=this.hitDragging.initialHit,u=this.eventRange.instance,p=null,m=null,f=!1,h={affectedEvents:c,mutatedEvents:mi(),isEvent:!0};a&&(a.componentId===d.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(d,a)||(p=Oct(d,a,o.subjectEl.classList.contains("fc-event-resizer-start"),u.range))),p&&(m=tD(c,l.getCurrentData().eventUiBases,p,l),h.mutatedEvents=m,lD(h,a.dateProfile,l)||(f=!0,p=null,m=null,h.mutatedEvents=null)),m?l.dispatch({type:"SET_EVENT_RESIZE",state:h}):l.dispatch({type:"UNSET_EVENT_RESIZE"}),f?pT():mT(),s||(p&&fO(d,a)&&(p=null),this.validMutation=p,this.mutatedRelevantEvents=m)},this.handleDragEnd=a=>{let{context:s}=this.component,o=this.eventRange.def,l=this.eventRange.instance,c=new Nr(s,o,l),d=this.relevantEvents,u=this.mutatedRelevantEvents;if(s.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:c,jsEvent:a.origEvent,view:s.viewApi}),this.validMutation){let p=new Nr(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:td(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||ct(0),endDelta:this.validMutation.endDelta||ct(0),jsEvent:a.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:t}=e,n=this.dragging=new Nm(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let i=this.hitDragging=new bg(this.dragging,nD(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return pi(e.subjectEl,".fc-event")}};J4=class{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=n=>{n.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=n=>{let i=this.context.options.unselectCancel,a=WR(n.origEvent);this.matchesCancel=!!pi(a,i),this.matchesEvent=!!pi(a,mD.SELECTOR)},this.onDocumentPointerUp=n=>{let{context:i}=this,{documentPointer:a}=this,s=i.getCurrentData();if(!a.wasTouchScroll){if(s.dateSelection&&!this.isRecentPointerDateSelect){let o=i.options.unselectAuto;o&&(!o||!this.matchesCancel)&&i.calendarApi.unselect(n)}s.eventSelection&&!this.matchesEvent&&i.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new dO(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}},Lct={fixedMirrorParent:j},Fct={dateClick:j,eventDragStart:j,eventDragStop:j,eventDrop:j,eventResizeStart:j,eventResizeStop:j,eventResize:j,drop:j,eventReceive:j,eventLeave:j},X4=class{constructor(e,t){this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=i=>{this.dragMeta=this.buildDragMeta(i.subjectEl)},this.handleHitUpdate=(i,a,s)=>{let{dragging:o}=this.hitDragging,l=null,c=null,d=!1,u={affectedEvents:mi(),mutatedEvents:mi(),isEvent:this.dragMeta.create};i&&(l=i.context,this.canDropElOnCalendar(s.subjectEl,l)&&(c=$ct(i.dateSpan,this.dragMeta,l),u.mutatedEvents=ag(c),d=!lD(u,i.dateProfile,l),d&&(u.mutatedEvents=mi(),c=null))),this.displayDrag(l,u),o.setMirrorIsVisible(a||!c||!document.querySelector(".fc-event-mirror")),d?pT():mT(),a||(o.setMirrorNeedsRevert(!c),this.receivingContext=l,this.droppableEvent=c)},this.handleDragEnd=i=>{let{receivingContext:a,droppableEvent:s}=this;if(this.clearDrag(),a&&s){let o=this.hitDragging.finalHit,l=o.context.viewApi,c=this.dragMeta;if(a.emitter.trigger("drop",Object.assign(Object.assign({},e3(o.dateSpan,a)),{draggedEl:i.subjectEl,jsEvent:i.origEvent,view:l})),c.create){let d=ag(s);a.dispatch({type:"MERGE_EVENTS",eventStore:d}),i.isTouch&&a.dispatch({type:"SELECT_EVENT",eventInstanceId:s.instance.instanceId}),a.emitter.trigger("eventReceive",{event:new Nr(a,s.def,s.instance),relatedEvents:[],revert(){a.dispatch({type:"REMOVE_EVENTS",eventStore:d})},draggedEl:i.subjectEl,view:l})}}this.receivingContext=null,this.droppableEvent=null};let n=this.hitDragging=new bg(e,hg);n.requireInitial=!1,n.emitter.on("dragstart",this.handleDragStart),n.emitter.on("hitupdate",this.handleHitUpdate),n.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}buildDragMeta(e){return typeof this.suppliedDragMeta=="object"?oD(this.suppliedDragMeta):typeof this.suppliedDragMeta=="function"?oD(this.suppliedDragMeta(e)):zct(e)}displayDrag(e,t){let n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})}canDropElOnCalendar(e,t){let n=t.options.dropAccept;return typeof n=="function"?n.call(t.calendarApi,e):typeof n=="string"&&n?!!qR(e,n):!0}};wT.dataAttrPrefix="";mO=class{constructor(e,t={}){this.handlePointerDown=i=>{let{dragging:a}=this,{minDistance:s,longPressDelay:o}=this.settings;a.minDistance=s!=null?s:i.isTouch?0:ed.eventDragMinDistance,a.delay=i.isTouch?o!=null?o:ed.longPressDelay:0},this.handleDragStart=i=>{i.isTouch&&this.dragging.delay&&i.subjectEl.classList.contains("fc-event")&&this.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;let n=this.dragging=new Nm(e);n.touchScrollAllowed=!1,t.itemSelector!=null&&(n.pointer.selector=t.itemSelector),t.appendTo!=null&&(n.mirror.parentNode=t.appendTo),n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragstart",this.handleDragStart),new X4(n,t.eventData)}destroy(){this.dragging.destroy()}},yPe=pa({name:"@fullcalendar/interaction",componentInteractions:[K4,Z4,mD,Q4],calendarInteractions:[J4],elementDraggingImpl:Nm,optionRefiners:Lct,listenerRefiners:Fct})});var hO,vPe=y(()=>{t3();hO=class{constructor(e){this.draggableInstances=new Map;this.plugin=e}makeTaskCardDraggable(e,t){if(this.draggableInstances.has(e))return;e.dataset.taskPath=t;let n=new mO(e);this.draggableInstances.set(e,n),e.classList.remove("tn-static-cursor-pointer-2723efcc","tn-static-cursor-pointer-3b6a3a65"),e.classList.add("tn-static-cursor-grab-dad79857"),e.addEventListener("dragstart",i=>{e.classList.add("task-card--dragging"),i.dataTransfer&&(i.dataTransfer.setData("text/plain",t),i.dataTransfer.setData("application/x-task-path",t),i.dataTransfer.effectAllowed="copy")}),e.addEventListener("dragend",()=>{e.classList.remove("task-card--dragging")})}removeDraggable(e){let t=this.draggableInstances.get(e);t&&(t.destroy(),this.draggableInstances.delete(e))}destroy(){this.draggableInstances.forEach(e=>{e.destroy()}),this.draggableInstances.clear()}}});function gO(r){if(!r)return null;let e=Date.parse(r);return Number.isFinite(e)?e:null}function Rm(r){return Number.isFinite(r)?Math.max(1,Math.min(7200,Math.floor(r))):60}function r3(r){return Rm(r.plannedDuration*60)}function xT(r,e=Date.now()){var t;return((t=r.activePeriods)!=null?t:[]).reduce((n,i)=>{var l;let a=gO(i.startTime);if(a===null)return n;let s=(l=gO(i.endTime))!=null?l:e,o=Math.max(0,s-a);return n+Math.floor(o/1e3)},0)}function yO(r,e=Date.now()){let t=r3(r),n=xT(r,e);return Math.max(0,t-n)}function bPe(r,e=Date.now()){let t=r3(r);if(t<=0)return 0;let n=xT(r,e);return Math.max(0,Math.min(1,n/t))}function TPe(r,e=Date.now()){var n,i;let t=r3(r)*1e3;for(let a of(n=r.activePeriods)!=null?n:[]){let s=gO(a.startTime);if(s===null)continue;let o=(i=gO(a.endTime))!=null?i:e,l=Math.max(0,o-s);if(l>=t)return s+t;t-=l}return null}function kPe(r){let e=new Date(r),t=-e.getTimezoneOffset(),n=t>=0?"+":"-",i=(o,l=2)=>String(Math.abs(o)).padStart(l,"0"),a=i(Math.floor(Math.abs(t)/60)),s=i(Math.abs(t)%60);return`${e.getFullYear()}-${i(e.getMonth()+1)}-${i(e.getDate())}T${i(e.getHours())}:${i(e.getMinutes())}:${i(e.getSeconds())}.${i(e.getMilliseconds(),3)}${n}${a}:${s}`}function CT(r,e={}){var c;let t=Math.max(0,Math.floor(r)),n=Math.floor(t/60),i=t%60,a=Math.floor(n/60),s=n%60,o=(c=e.padMinutes)!=null?c:!0;return a>0?`${a}:${s.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`:`${o?n.toString().padStart(2,"0"):n.toString()}:${i.toString().padStart(2,"0")}`}function wPe(r){let e=r.trim();if(!e)return null;let t=e.split(":");if(t.length<1||t.length>3||!t.every(a=>/^\d+$/.test(a)))return null;let n=t.map(a=>Number(a));if(n.some(a=>!Number.isSafeInteger(a)))return null;let i;if(n.length===1)i=n[0]*60;else if(n.length===2){let[a,s]=n;if(s>59)return null;i=a*60+s}else{let[a,s,o]=n;if(s>59||o>59)return null;i=a*3600+s*60+o}return i<=0?null:Rm(i)}var vO=y(()=>{});var id,SPe,bO,EPe=y(()=>{Ur();HV();id=require("obsidian");No();vO();G();SPe=I({tag:"Services/StatusBarService"}),bO=class{constructor(e){this.statusBarElement=null;this.pomodoroStatusBarElement=null;this.updateTimeout=null;this.pomodoroUpdateTimeout=null;this.elapsedUpdateInterval=null;this.currentTrackedTasks=[];this.pomodoroEventRefs=[];this.plugin=e,this.requestDeduplicator=new xb}initialize(){this.ensureTrackedStatusBarElement(),this.ensurePomodoroStatusBarElement(),this.registerPomodoroEvents(),this.updateStatusBar(),this.updatePomodoroStatusBar()}ensureTrackedStatusBarElement(){this.statusBarElement||!this.plugin.settings.showTrackedTasksInStatusBar||(this.statusBarElement=this.plugin.addStatusBarItem(),this.statusBarElement.addClass("tasknotes-status-bar"),this.statusBarElement.classList.remove("tn-static-cursor-grab-dad79857","tn-static-cursor-pointer-2723efcc"),this.statusBarElement.classList.add("tn-static-cursor-pointer-3b6a3a65"),this.statusBarElement.addEventListener("click",()=>{this.handleStatusBarClick()}))}ensurePomodoroStatusBarElement(){this.pomodoroStatusBarElement||!this.plugin.settings.showPomodoroInStatusBar||(this.pomodoroStatusBarElement=this.plugin.addStatusBarItem(),this.pomodoroStatusBarElement.addClass("tasknotes-status-bar"),this.pomodoroStatusBarElement.addClass("tasknotes-pomodoro-status"),this.pomodoroStatusBarElement.classList.remove("tn-static-cursor-grab-dad79857","tn-static-cursor-pointer-2723efcc"),this.pomodoroStatusBarElement.classList.add("tn-static-cursor-pointer-3b6a3a65"),this.pomodoroStatusBarElement.addEventListener("click",()=>{this.plugin.activatePomodoroView()}))}registerPomodoroEvents(){var t;if(this.pomodoroEventRefs.length>0||!((t=this.plugin.emitter)!=null&&t.on))return;let e=()=>this.requestPomodoroUpdate();this.pomodoroEventRefs=[this.plugin.emitter.on(Ud,e),this.plugin.emitter.on(Pa,e),this.plugin.emitter.on(Hd,e),this.plugin.emitter.on(Vd,e)]}async updateStatusBar(){if(!this.statusBarElement){this.stopElapsedTicker();return}if(!this.plugin.settings.showTrackedTasksInStatusBar){this.hide();return}try{let e=await this.requestDeduplicator.execute("update-status-bar",()=>this.getTrackedTasks());this.renderStatusBar(e)}catch(e){SPe.error("Error updating status bar:",{category:"internal",operation:"updating-status-bar",error:e})}}updatePomodoroStatusBar(){if(!this.plugin.settings.showPomodoroInStatusBar){this.hidePomodoroStatusBar();return}if(this.ensurePomodoroStatusBarElement(),!this.pomodoroStatusBarElement||!this.plugin.pomodoroService)return;let e=this.plugin.pomodoroService.getState();if(!e.currentSession){this.hidePomodoroStatusBar();return}this.showElement(this.pomodoroStatusBarElement),this.renderPomodoroStatusBar(e)}async getTrackedTasks(){return(await this.plugin.cacheManager.getAllTasks()).filter(t=>t.archived?!1:this.plugin.getActiveTimeSession(t)!==null)}renderStatusBar(e){if(!this.statusBarElement)return;this.currentTrackedTasks=[...e];let t=e.length;if(t===0){this.stopElapsedTicker(),this.statusBarElement.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.statusBarElement.classList.add("tn-static-display-none-6b99de8b");return}this.startElapsedTicker(),this.statusBarElement.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),this.statusBarElement.style.removeProperty("display"),this.statusBarElement.empty();let n=this.statusBarElement.createEl("span",{cls:"tasknotes-status-icon"});(0,id.setIcon)(n,"timer");let i=this.statusBarElement.createEl("span",{cls:"tasknotes-status-text"});if(t===1){let a=e[0],s=a.title.length>30?a.title.substring(0,30)+"...":a.title,o=this.formatElapsedDuration(this.getActiveElapsedMs(a));i.setText(`Tracking: ${s} (${o})`),(0,id.setTooltip)(this.statusBarElement,`Currently tracking: ${a.title}
Elapsed: ${o}`,{placement:"top"})}else{let a=this.formatElapsedDuration(e.reduce((l,c)=>l+this.getActiveElapsedMs(c),0));i.setText(`Tracking ${t} tasks (${a} total)`);let s=e.slice(0,5).map(l=>`${l.title} - ${this.formatElapsedDuration(this.getActiveElapsedMs(l))}`).join(`
`),o=t>5?`${s}
... and ${t-5} more`:s;(0,id.setTooltip)(this.statusBarElement,`Currently tracking:
${o}`,{placement:"top"})}}renderPomodoroStatusBar(e){if(!this.pomodoroStatusBarElement||!e.currentSession)return;this.pomodoroStatusBarElement.empty();let t=this.pomodoroStatusBarElement.createEl("span",{cls:"tasknotes-status-icon"});(0,id.setIcon)(t,e.currentSession.type==="work"?"timer":"coffee");let n=this.pomodoroStatusBarElement.createEl("span",{cls:"tasknotes-status-text"}),i=CT(e.timeRemaining),a=this.getPomodoroSessionLabel(e.currentSession.type),s=e.isRunning?a:`${a} paused`;n.setText(`${s}: ${i}`),(0,id.setTooltip)(this.pomodoroStatusBarElement,`${s}
Remaining: ${i}
Click to open Pomodoro`,{placement:"top"})}getPomodoroSessionLabel(e){return e==="work"?"Focus":e==="short-break"?"Short break":"Long break"}showElement(e){e.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),e.style.removeProperty("display")}getActiveElapsedMs(e){let t=this.plugin.getActiveTimeSession(e);if(!(t!=null&&t.startTime))return 0;let n=Date.parse(t.startTime);return Number.isFinite(n)?Math.max(0,Date.now()-n):0}formatElapsedDuration(e){let t=Math.floor(e/1e3),n=t%60,i=Math.floor(t/60),a=i%60,s=Math.floor(i/60);return s>0?`${s}:${a.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`:`${a}:${n.toString().padStart(2,"0")}`}startElapsedTicker(){this.elapsedUpdateInterval===null&&(this.elapsedUpdateInterval=window.setInterval(()=>{if(this.currentTrackedTasks.length===0){this.stopElapsedTicker();return}this.renderStatusBar(this.currentTrackedTasks)},1e3))}stopElapsedTicker(){this.elapsedUpdateInterval!==null&&(window.clearInterval(this.elapsedUpdateInterval),this.elapsedUpdateInterval=null),this.currentTrackedTasks=[]}async handleStatusBarClick(){try{let e=await this.getTrackedTasks();if(e.length===0)return;if(e.length===1){let t=e[0],n=this.plugin.app.vault.getAbstractFileByPath(t.path);n instanceof id.TFile&&await this.plugin.app.workspace.getLeaf(!1).openFile(n)}else Pn(this.plugin,e,t=>{(async()=>{if(t){let n=this.plugin.app.vault.getAbstractFileByPath(t.path);n instanceof id.TFile&&await this.plugin.app.workspace.getLeaf(!1).openFile(n)}})()})}catch(e){SPe.error("Error handling status bar click:",{category:"internal",operation:"handling-status-bar-click",error:e})}}requestUpdate(){this.updateTimeout&&window.clearTimeout(this.updateTimeout),this.updateTimeout=window.setTimeout(()=>{this.updateStatusBar()},100)}requestPomodoroUpdate(){this.pomodoroUpdateTimeout&&window.clearTimeout(this.pomodoroUpdateTimeout),this.pomodoroUpdateTimeout=window.setTimeout(()=>{this.updatePomodoroStatusBar()},100)}updateVisibility(){this.plugin.settings.showTrackedTasksInStatusBar?this.statusBarElement?this.updateStatusBar():this.ensureTrackedStatusBarElement():this.hide(),this.plugin.settings.showPomodoroInStatusBar?(this.ensurePomodoroStatusBarElement(),this.updatePomodoroStatusBar()):this.hidePomodoroStatusBar()}hide(){this.stopElapsedTicker(),this.statusBarElement&&(this.statusBarElement.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.statusBarElement.classList.add("tn-static-display-none-6b99de8b"))}hidePomodoroStatusBar(){this.pomodoroStatusBarElement&&(this.pomodoroStatusBarElement.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.pomodoroStatusBarElement.classList.add("tn-static-display-none-6b99de8b"))}destroy(){var e;this.updateTimeout&&(window.clearTimeout(this.updateTimeout),this.updateTimeout=null),this.pomodoroUpdateTimeout&&(window.clearTimeout(this.pomodoroUpdateTimeout),this.pomodoroUpdateTimeout=null),this.stopElapsedTicker(),(e=this.plugin.emitter)!=null&&e.offref&&this.pomodoroEventRefs.forEach(t=>this.plugin.emitter.offref(t)),this.pomodoroEventRefs=[],this.requestDeduplicator&&this.requestDeduplicator.cancelAll(),this.statusBarElement=null,this.pomodoroStatusBarElement=null}}});var xPe,n3,TO,CPe=y(()=>{xPe=require("obsidian");Ur();Ne();G();Eu();n3=I({tag:"Services/NotificationService"}),TO=class{constructor(e){this.notificationQueue=[];this.processedReminders=new Set;this.activeAudioContexts=new Set;this.audioCleanupTimeouts=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=e}async initialize(){this.plugin.settings.enableNotifications&&(this.plugin.settings.notificationType==="system"&&typeof Notification!="undefined"&&Notification.permission==="default"&&await Notification.requestPermission(),this.setupTaskUpdateListener(),this.setupFileUpdateListener(),this.startBroadScan(),this.startQuickCheck(),await this.scanTasksAndBuildQueue())}destroy(){this.broadScanInterval&&window.clearInterval(this.broadScanInterval),this.quickCheckInterval&&window.clearInterval(this.quickCheckInterval),this.taskUpdateListener&&this.plugin.emitter.offref(this.taskUpdateListener),this.fileUpdateListener&&this.plugin.emitter.offref(this.fileUpdateListener);for(let e of this.audioCleanupTimeouts)window.clearTimeout(e);this.audioCleanupTimeouts.clear();for(let e of this.activeAudioContexts)e.state!=="closed"&&e.close().catch(()=>{});this.activeAudioContexts.clear(),this.notificationQueue=[],this.processedReminders.clear()}startBroadScan(){this.broadScanInterval=window.setInterval(()=>{(async()=>{let e=Date.now();e-this.lastBroadScanTime>this.BROAD_SCAN_INTERVAL+6e4&&await this.handleSystemWakeUp(),await this.scanTasksAndBuildQueue(),this.lastBroadScanTime=e})()},this.BROAD_SCAN_INTERVAL)}startQuickCheck(){this.quickCheckInterval=window.setInterval(()=>{let e=Date.now();e-this.lastQuickCheckTime>this.QUICK_CHECK_INTERVAL+6e4,this.checkNotificationQueue(),this.lastQuickCheckTime=e},this.QUICK_CHECK_INTERVAL)}async scanTasksAndBuildQueue(){this.notificationQueue=[];let e=await this.plugin.cacheManager.getAllTasks(),t=Date.now(),n=t+this.QUEUE_WINDOW;for(let i of e)if(!(!i.reminders||i.reminders.length===0))for(let a of i.reminders){let s=`${i.path}-${a.id}`;if(this.processedReminders.has(s))continue;let o=this.calculateNotificationTime(i,a);o!==null&&o>t&&o<=n&&this.notificationQueue.push({taskPath:i.path,reminder:a,notifyAt:o})}this.notificationQueue.sort((i,a)=>i.notifyAt-a.notifyAt)}calculateNotificationTime(e,t){try{if(t.type==="absolute")return t.absoluteTime?ut(t.absoluteTime).getTime():null;if(t.type==="relative"){if(!t.relatedTo||!t.offset)return null;let n=t.relatedTo==="due"?e.due:e.scheduled;if(!n)return null;let i=ut(n),a=this.parseISO8601Duration(t.offset);return a===null?null:i.getTime()+a}}catch(n){return n3.error("Error calculating notification time:",{category:"provider",operation:"calculating-notification-time",error:n}),null}return null}parseISO8601Duration(e){let t=e.match(/^(-?)P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/);if(!t)return null;let[,n,i,a,s,o,l,c,d]=t,u=0;return i&&(u+=parseInt(i)*365*24*60*60*1e3),a&&(u+=parseInt(a)*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),n==="-"?-u:u}checkNotificationQueue(){let e=Date.now(),t=[];for(let n=0;n<this.notificationQueue.length;n++){let i=this.notificationQueue[n];if(i.notifyAt<=e){this.triggerNotification(i),t.push(n);let a=`${i.taskPath}-${i.reminder.id}`;this.processedReminders.add(a)}else break}for(let n=t.length-1;n>=0;n--)this.notificationQueue.splice(t[n],1)}async triggerNotification(e){let t=this.plugin.app.vault.getAbstractFileByPath(e.taskPath);if(!(t instanceof xPe.TFile))return;let n=this.plugin.app.metadataCache.getFileCache(t);if(!n||!n.frontmatter)return;let i=this.plugin.fieldMapper.mapFromFrontmatter(n.frontmatter,e.taskPath,this.plugin.settings.storeTitleInFilename),a=e.reminder.description||this.generateDefaultMessage(i,e.reminder);if(this.playNotificationSound(),this.plugin.settings.notificationType==="system")if("Notification"in window&&Notification.permission==="granted"){let s=new Notification(i.title||"TaskNotes Reminder",{body:a,tag:`tasknotes-${e.taskPath}-${e.reminder.id}`});s.onclick=()=>{this.plugin.app.workspace.openLinkText(e.taskPath,"",!1),s.close()}}else this.showInAppNotice(a,e.taskPath);else this.showInAppNotice(a,e.taskPath);this.plugin.apiService&&await this.plugin.apiService.triggerWebhook("reminder.triggered",{task:i,reminder:e.reminder,notificationTime:new Date(e.notifyAt).toISOString(),message:a,notificationType:this.plugin.settings.notificationType})}playNotificationSound(){if(!this.plugin.settings.notificationSoundEnabled)return;let e=window.AudioContext||window.webkitAudioContext;if(e)try{let t=new e,n=t.createGain(),i=Math.max(0,Math.min(1,this.plugin.settings.notificationSoundVolume/100));n.gain.value=i*.3,n.connect(t.destination);let a=(l,c)=>{let d=t.createOscillator();d.connect(n),d.frequency.value=l,d.type="sine",d.start(),d.stop(t.currentTime+c)};a(880,.12),this.activeAudioContexts.add(t);let s=window.setTimeout(()=>{try{a(1175,.12)}catch(l){n3.error("Failed to play notification sound tone:",{category:"provider",operation:"play-notification-sound-tone",error:l})}},140);this.audioCleanupTimeouts.add(s);let o=window.setTimeout(()=>{this.activeAudioContexts.delete(t),this.audioCleanupTimeouts.delete(s),this.audioCleanupTimeouts.delete(o),t.close().catch(()=>{})},320);this.audioCleanupTimeouts.add(o)}catch(t){n3.error("Failed to play notification sound:",{category:"provider",operation:"play-notification-sound",error:t})}}async sendTestReminderNotification(){let e="TaskNotes Reminder",t="This is a test reminder from TaskNotes.";if(this.playNotificationSound(),this.plugin.settings.notificationType==="system"&&typeof Notification!="undefined"&&(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission==="granted")){new Notification(e,{body:t,tag:"tasknotes-test-reminder"});return}Qe(t,5e3)}showInAppNotice(e,t){let n=Qe(e,0),i=n.noticeEl;i.addEventListener("click",()=>{this.plugin.app.workspace.openLinkText(t,"",!1),n.hide()}),i.classList.remove("tn-static-cursor-grab-dad79857","tn-static-cursor-pointer-2723efcc"),i.classList.add("tn-static-cursor-pointer-3b6a3a65")}generateDefaultMessage(e,t){if(t.type==="absolute")return`Reminder: ${e.title}`;{let n=t.relatedTo==="due"?"due":"scheduled",i=this.formatDurationForDisplay(t.offset||"");return i.startsWith("-")?`${e.title} is ${n} in ${i.substring(1)}`:i==="PT0S"||i==="PT0M"?`${e.title} is ${n} now`:`${e.title} was ${n} ${i} ago`}}formatDurationForDisplay(e){let t=this.parseISO8601Duration(e);if(t===null)return e;let n=Math.abs(t),i=Math.floor(n/(60*1e3)),a=Math.floor(n/(3600*1e3)),s=Math.floor(n/(1440*60*1e3)),o="";return s>0?o=`${s} day${s>1?"s":""}`:a>0?o=`${a} hour${a>1?"s":""}`:i>0?o=`${i} minute${i>1?"s":""}`:o="now",t<0?`-${o}`:o}async refreshReminders(){await this.scanTasksAndBuildQueue()}queueRemindersForTask(e,t){let n=Date.now(),i=n+this.QUEUE_WINDOW;if(!(!t.reminders||t.reminders.length===0)){for(let a of t.reminders){let s=`${e}-${a.id}`;if(this.processedReminders.has(s))continue;let o=this.calculateNotificationTime(t,a);o!==null&&o>n&&o<=i&&this.notificationQueue.push({taskPath:e,reminder:a,notifyAt:o})}this.notificationQueue.sort((a,s)=>a.notifyAt-s.notifyAt)}}async refreshTaskReminders(e,t){this.removeNotificationsForTask(e),this.clearProcessedRemindersForTask(e);let n=t===void 0?await this.plugin.cacheManager.getTaskInfo(e):t;n&&this.queueRemindersForTask(e,n)}clearProcessedRemindersForTask(e){let t=[];for(let n of this.processedReminders)n.startsWith(`${e}-`)&&t.push(n);t.forEach(n=>this.processedReminders.delete(n))}setupTaskUpdateListener(){this.taskUpdateListener=this.plugin.emitter.on(nt,async({path:e,updatedTask:t})=>{!e||!t||await this.refreshTaskReminders(e,t)})}setupFileUpdateListener(){this.fileUpdateListener=this.plugin.emitter.on("file-updated",async({path:e})=>{e&&await this.refreshTaskReminders(e)})}removeNotificationsForTask(e){this.notificationQueue=this.notificationQueue.filter(t=>t.taskPath!==e)}async handleSystemWakeUp(){let e=Date.now(),t=[];for(let n of this.processedReminders){let[i,a]=n.split("-",2);if(!(!i||!a))try{let s=await this.plugin.cacheManager.getTaskInfo(i);if(s&&s.reminders){let o=s.reminders.find(l=>l.id===a);if(o){let l=this.calculateNotificationTime(s,o);l&&l<=e&&t.push(n)}}}catch(s){t.push(n)}}t.forEach(n=>this.processedReminders.delete(n)),await this.scanTasksAndBuildQueue()}}});var i3,kO,DPe=y(()=>{Ur();G();i3=I({tag:"Services/ViewPerformanceService"}),kO=class{constructor(e){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=e,this.setupGlobalEventListener()}registerView(e,t){this.viewConfigs.set(e.viewId,{debounceDelay:100,maxBatchSize:5,changeDetectionEnabled:!0,...e}),this.viewHandlers.set(e.viewId,t),this.viewPendingUpdates.set(e.viewId,new Set)}unregisterView(e){let t=this.viewDebounceTimers.get(e);t&&(window.clearTimeout(t),this.viewDebounceTimers.delete(e)),this.viewConfigs.delete(e),this.viewHandlers.delete(e),this.viewPendingUpdates.delete(e),this.updateInProgress.delete(e)}setupGlobalEventListener(){this.eventListener=this.plugin.emitter.on(nt,async({path:e,originalTask:t,updatedTask:n})=>{if(!e||!n){await this.triggerFullRefreshForAllViews();return}n.path||(n.path=e),this.hasTaskChanged(n)&&await this.handleTaskUpdateForAllViews(n,t)})}async handleTaskUpdateForAllViews(e,t){let n=[];for(let[i,a]of this.viewHandlers)a.shouldRefreshForTask&&!a.shouldRefreshForTask(t,e)||n.push(this.scheduleViewUpdate(i,e.path));await Promise.all(n),Math.random()<.1&&await this.cleanupTaskVersionCache()}async scheduleViewUpdate(e,t){let n=this.viewConfigs.get(e);if(!n)return;let i=this.viewPendingUpdates.get(e);i&&i.add(t);let a=this.viewDebounceTimers.get(e);a&&window.clearTimeout(a);let s=window.setTimeout(()=>{this.processPendingUpdatesForView(e)},n.debounceDelay);this.viewDebounceTimers.set(e,s)}async processPendingUpdatesForView(e){if(this.updateInProgress.has(e))return;let t=this.viewConfigs.get(e),n=this.viewHandlers.get(e),i=this.viewPendingUpdates.get(e);if(!(!t||!n||!i||i.size===0)){this.updateInProgress.add(e);try{let a=Array.from(i);if(i.clear(),a.length>t.maxBatchSize)await n.refresh();else{let s=a.map(o=>n.updateForTask(o,"update").catch(l=>{i3.error(`[ViewPerformanceService] Error updating task ${o} in ${e}:`,{category:"persistence",operation:"updating-task",error:l})}));await Promise.all(s)}}catch(a){i3.error(`[ViewPerformanceService] Error processing updates for ${e}:`,{category:"validation",operation:"processing-updates",error:a}),await n.refresh()}finally{this.updateInProgress.delete(e),this.viewDebounceTimers.delete(e)}}}async triggerFullRefreshForAllViews(){let e=[];for(let[t,n]of this.viewHandlers)this.updateInProgress.has(t)||e.push(n.refresh(!0));await Promise.all(e),this.lastGlobalRefreshTime=Date.now()}hasTaskChanged(e){let t=this.globalTaskVersionCache.get(e.path),n=e.dateModified||Date.now().toString();return t!==n?(this.globalTaskVersionCache.set(e.path,n),!0):!1}shouldDoFullRefresh(){let e=Date.now()-this.lastGlobalRefreshTime,t=this.globalTaskVersionCache.size;return e>600*1e3||Math.abs(t-this.globalTaskCount)>20||t===0}async cleanupTaskVersionCache(){try{let e=this.plugin.cacheManager.getAllTaskPaths(),t=new Set(e);for(let n of this.globalTaskVersionCache.keys())t.has(n)||this.globalTaskVersionCache.delete(n);this.globalTaskCount=t.size,this.globalTaskVersionCache.size>2e3&&(this.globalTaskVersionCache.clear(),this.lastGlobalRefreshTime=0)}catch(e){i3.error("[ViewPerformanceService] Error during cache cleanup:",{category:"stale-data",operation:"cache-cleanup",error:e})}}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((e,t)=>e+t.size,0),lastGlobalRefresh:new Date(this.lastGlobalRefreshTime).toISOString()}}destroy(){this.eventListener&&(this.plugin.emitter.offref(this.eventListener),this.eventListener=null);for(let e of this.viewDebounceTimers.values())window.clearTimeout(e);this.viewHandlers.clear(),this.viewDebounceTimers.clear(),this.viewPendingUpdates.clear(),this.viewConfigs.clear(),this.updateInProgress.clear(),this.globalTaskVersionCache.clear()}}});function Bct(r){return r.width>0&&r.height>0}function Uct(r){let e=r.cacheManager.getAllTaskPaths(),t=[];for(let n of e){let i=r.cacheManager.getCachedTaskInfoSync(n);i&&!i.archived&&t.push(i)}return t}function PPe(r,e){return Bct(r)?r:e}var zu,fD,wO,MPe=y(()=>{zu=require("obsidian");Ur();No();la();xc();hI();vO();G();fD=I({tag:"Views/PomodoroView"});wO=class extends zu.ItemView{constructor(t,n){super(t);this.timerDisplay=null;this.timerInput=null;this.statusDisplay=null;this.sessionMetaDisplay=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.isEditingTimer=!1;this.isTaskSelectorOpen=!1;this.todaysPomodoros=0;this.statElements={pomodoros:null};this.resizeObserver=null;this.resizeTimeout=null;this.functionListeners=[];this.currentCircleSize=300;this.currentCircumference=0;this.listeners=[];this.plugin=n,this.registerEvents()}refreshStats(){this.updateStats().catch(t=>{fD.error("Failed to update stats:",{category:"validation",operation:"update-stats",error:t})})}getViewType(){return Bd}getDisplayText(){return this.plugin.i18n.translate("views.pomodoro.title")}getIcon(){return"clock"}t(t,n){return this.plugin.i18n.translate(t,n)}registerEvents(){this.listeners.forEach(o=>this.plugin.emitter.offref(o)),this.listeners=[];let t=this.plugin.emitter.on(Ud,({session:o,task:l})=>{this.updateDisplay(o,l)});this.listeners.push(t);let n=this.plugin.emitter.on(Hd,({session:o,nextType:l})=>{this.onPomodoroComplete(o,l)});this.listeners.push(n);let i=this.plugin.emitter.on(Vd,()=>{this.updateDisplay(void 0,void 0,{refreshStats:!0})});this.listeners.push(i);let a=this.plugin.emitter.on(Pa,({timeRemaining:o,session:l})=>{this.updateTimer(o),this.updateDisplay(l)});this.listeners.push(a);let s=this.plugin.emitter.on(nt,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?window.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(t=>this.plugin.emitter.offref(t)),this.functionListeners.forEach(t=>t()),this.timerDisplay=null,this.timerInput=null,this.statusDisplay=null,this.sessionMetaDisplay=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.isEditingTimer=!1,this.statElements={pomodoros:null},this.contentEl.empty()}async render(){let t=this.contentEl.createDiv({cls:"tasknotes-plugin pomodoro-view"}),n=t.createDiv({cls:"pomodoro-view__timer-section"}),i=n.createDiv({cls:"pomodoro-view__timer-header"});this.statusDisplay=i.createDiv({cls:"pomodoro-view__status",text:this.t("views.pomodoro.status.ready")}),this.sessionMetaDisplay=i.createDiv({cls:"pomodoro-view__session-meta"}),this.progressContainer=n.createDiv({cls:"pomodoro-view__progress-container"});let a=activeDocument.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 s=activeDocument.createElementNS("http://www.w3.org/2000/svg","circle");s.setAttributeNS(null,"cx","150"),s.setAttributeNS(null,"cy","150"),s.setAttributeNS(null,"r","140"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"stroke","var(--tn-border-color)"),s.setAttributeNS(null,"stroke-width","2"),a.appendChild(s),this.progressCircle=activeDocument.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 l=2*Math.PI*140;this.progressCircle.setAttributeNS(null,"stroke-dasharray",l.toString()),this.progressCircle.setAttributeNS(null,"stroke-dashoffset",l.toString()),this.progressCircle.addClass("pomodoro-view__progress-circle"),a.appendChild(this.progressCircle);let c=this.progressContainer.createDiv({cls:"pomodoro-view__timer-overlay"}),u=`${this.plugin.settings.pomodoroWorkDuration.toString().padStart(2,"0")}:00`;this.timerDisplay=c.createDiv({cls:"pomodoro-view__timer-display",text:u}),this.timerDisplay.tabIndex=0,this.timerDisplay.setAttribute("role","button"),this.timerDisplay.setAttribute("aria-label",this.t("views.pomodoro.timer.editLabel")),this.timerInput=c.createEl("input",{cls:"pomodoro-view__timer-input pomodoro-view__timer-input--hidden",attr:{type:"text",inputmode:"numeric","aria-label":this.t("views.pomodoro.timer.inputLabel")}});let p=c.createDiv({cls:"pomodoro-view__time-controls"});this.subtractTimeButton=p.createEl("button",{cls:"pomodoro-view__time-adjust-button pomodoro-view__subtract-time",text:"-1m"}),this.subtractTimeButton.setAttribute("aria-label",this.t("views.pomodoro.buttons.subtractMinute")),this.addTimeButton=p.createEl("button",{cls:"pomodoro-view__time-adjust-button pomodoro-view__add-time",text:"+1m"}),this.addTimeButton.setAttribute("aria-label",this.t("views.pomodoro.buttons.addMinute")),this.taskDisplay=t.createDiv({cls:"pomodoro-view__task-display"});let m=t.createDiv({cls:"pomodoro-view__task-selector"}),f=m.createDiv({cls:"pomodoro-view__task-buttons"});this.taskSelectButton=f.createEl("button",{cls:"pomodoro-view__task-select-button",text:this.t("views.pomodoro.buttons.chooseTask")}),this.taskClearButton=f.createEl("button",{cls:"pomodoro-view__task-clear-button pomodoro-view__task-clear-button--hidden",text:this.t("views.pomodoro.buttons.clearTask")}),this.taskCardContainer=m.createDiv({cls:"pomodoro-view__task-card-container"});let h=t.createDiv({cls:"pomodoro-view__control-section"}),g=h.createDiv({cls:"pomodoro-view__primary-controls"});this.startButton=g.createEl("button",{text:this.t("views.pomodoro.buttons.startFocus"),cls:"pomodoro-view__start-button"}),this.pauseButton=g.createEl("button",{text:this.t("views.pomodoro.buttons.pause"),cls:"pomodoro-view__pause-button"}),this.pauseButton.addClass("pomodoro-view__pause-button--hidden"),this.stopButton=g.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 v=t.createDiv({cls:"pomodoro-view__stats-section"});this.statsDisplay=v.createDiv({cls:"pomodoro-view__stats"});let k=this.statsDisplay.createDiv({cls:"pomodoro-view__stat pomodoro-view__stat--clickable"});if(this.statElements.pomodoros=k.createSpan({cls:"pomodoro-view__stat-value",text:"0"}),k.createSpan({cls:"pomodoro-view__stat-label",text:this.t("views.pomodoro.statsLabel")}),this.registerDomEvent(k,"click",()=>{this.plugin.activatePomodoroStatsView()}),this.registerDomEvent(this.startButton,"click",async()=>{var b,w,S;if(!((b=this.startButton)!=null&&b.hasClass("is-loading"))){(w=this.startButton)==null||w.addClass("pomodoro-view__start-button--loading");try{let x=this.plugin.pomodoroService.getState();x.currentSession&&!x.isRunning?await this.plugin.pomodoroService.resumePomodoro():x.nextSessionType==="short-break"?await this.plugin.pomodoroService.startBreak(!1):x.nextSessionType==="long-break"?await this.plugin.pomodoroService.startBreak(!0):await this.plugin.pomodoroService.startPomodoro(this.currentSelectedTask||void 0)}finally{(S=this.startButton)==null||S.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 b=this.plugin.pomodoroService.getState();b.currentSession?this.plugin.pomodoroService.stopPomodoro():(b.nextSessionType==="short-break"||b.nextSessionType==="long-break")&&this.plugin.pomodoroService.skipBreak()}),this.registerDomEvent(this.addTimeButton,"click",()=>{this.adjustSessionTime(60)}),this.registerDomEvent(this.subtractTimeButton,"click",()=>{this.adjustSessionTime(-60)}),this.registerDomEvent(this.timerDisplay,"click",()=>{this.beginTimerEdit()}),this.registerDomEvent(this.timerDisplay,"keydown",b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),this.beginTimerEdit())}),this.registerDomEvent(this.timerInput,"keydown",b=>{b.key==="Enter"?(b.preventDefault(),this.commitTimerEdit()):b.key==="Escape"&&(b.preventDefault(),this.cancelTimerEdit())}),this.registerDomEvent(this.timerInput,"blur",()=>{this.commitTimerEdit()}),this.registerDomEvent(this.taskSelectButton,"click",async()=>{await this.openTaskSelector()}),this.registerDomEvent(this.taskClearButton,"click",async()=>{await this.selectTask(null)}),this.restoreLastSelectedTask(),this.updateDisplay(),this.refreshStats(),this.plugin.pomodoroService){let b=this.plugin.pomodoroService.getState();this.updateTimer(b.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 t=this.contentEl.ownerDocument.defaultView||window,n=()=>{this.resizeTimeout&&t.clearTimeout(this.resizeTimeout),this.resizeTimeout=t.setTimeout(()=>{this.updateResponsiveLayout()},150)};t.ResizeObserver&&(this.resizeObserver=new t.ResizeObserver(n),this.contentEl.querySelector(".pomodoro-view")&&this.resizeObserver.observe(this.contentEl));let i=this.plugin.app.workspace.on("layout-change",n);this.listeners.push(i),t.addEventListener("resize",n),this.functionListeners.push(()=>t.removeEventListener("resize",n));let a=this.plugin.app.workspace.on("active-leaf-change",s=>{s===this.leaf&&t.setTimeout(()=>{this.updateResponsiveLayout()},100)});this.listeners.push(a),this.updateResponsiveLayout()}ensureResizeHandlingSetup(t=0){let i=Math.min(100*Math.pow(1.5,t),1e3);window.setTimeout(()=>{if(!this.resizeObserver){let a=this.contentEl.querySelector(".pomodoro-view");if(a){let s=this.contentEl.getBoundingClientRect(),o=a.getBoundingClientRect(),{width:l,height:c}=PPe({width:s.width,height:s.height},{width:o.width,height:o.height});l>0&&c>0?this.setupResizeHandling():t<10&&this.ensureResizeHandlingSetup(t+1)}else t<10&&this.ensureResizeHandlingSetup(t+1)}},i)}updateResponsiveLayout(){let t=this.contentEl.querySelector(".pomodoro-view");if(!t)return;let n=t.getBoundingClientRect(),i=this.contentEl.getBoundingClientRect(),{width:a,height:s}=PPe({width:i.width,height:i.height},{width:n.width,height:n.height}),o=Math.min(a/600,1),l=Math.min(s/800,1),c=Math.min(o*.7+l*.3,1);t.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?t.classList.add("pomodoro-view--tiny"):a<=250?t.classList.add("pomodoro-view--extra-narrow"):a<=300?t.classList.add("pomodoro-view--very-narrow"):a<=350?t.classList.add("pomodoro-view--narrow"):a<=400?t.classList.add("pomodoro-view--small"):a<=500?t.classList.add("pomodoro-view--medium-small"):a<=600?t.classList.add("pomodoro-view--medium"):t.classList.add("pomodoro-view--wide");let d=t.querySelector(".pomodoro-view__timer-display"),u=t.querySelector(".pomodoro-view__timer-input");if(d||u){let p,m;a<=200?(p=2,m="700"):a<=250?(p=2.2,m="650"):a<=300?(p=2.5,m="600"):a<=350?(p=3,m="600"):a<=400?(p=3.2,m="550"):a<=500?(p=3.6,m="500"):a<=600?(p=4,m="500"):(p=4.5,m="400");let h=`${Math.max(p*c,1.5).toFixed(1)}rem`;d&&(d.style.fontSize=h,d.style.fontWeight=m),u&&(u.style.fontSize=h,u.style.fontWeight=m)}this.updateProgressCircleSize(a,s)}updateProgressCircleSize(t,n){if(!this.progressContainer)return;let i=this.progressContainer.querySelector(".pomodoro-view__progress-svg");if(!i)return;let a=Math.min(t*.8,n*.4),s;if(t<=200?s=Math.max(120,Math.min(a,t-40)):t<=250?s=Math.max(150,Math.min(a,t-50)):t<=300?s=Math.max(180,Math.min(a,t-60)):t<=350?s=Math.max(200,Math.min(a,t-70)):t<=400?s=Math.max(230,Math.min(a,t-80)):t<=500?s=Math.max(250,Math.min(a,t-100)):t<=600?s=Math.max(280,Math.min(a,300)):s=Math.max(300,Math.min(a,t*.5,400)),s===this.currentCircleSize)return;this.currentCircleSize=s,i.setAttribute("width",s.toString()),i.setAttribute("height",s.toString()),i.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(i.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(){if(!this.isTaskSelectorOpen){this.isTaskSelectorOpen=!0;try{let t=Uct(this.plugin),n=new Date;if(t.length===0){new zu.Notice(this.t("views.pomodoro.notices.noTasks")),this.isTaskSelectorOpen=!1;return}Pn(this.plugin,t,i=>{this.isTaskSelectorOpen=!1,this.selectTask(i)},{targetDate:n})}catch(t){this.isTaskSelectorOpen=!1,fD.error("Error opening task selector:",{category:"persistence",operation:"opening-task-selector",error:t}),new zu.Notice(this.t("views.pomodoro.notices.loadFailed"))}}}async selectTask(t){this.currentSelectedTask=t,this.taskSelectButton&&(t?(this.taskSelectButton.textContent=this.t("views.pomodoro.buttons.changeTask"),(0,zu.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&&(t?this.taskClearButton.removeClass("pomodoro-view__task-clear-button--hidden"):this.taskClearButton.addClass("pomodoro-view__task-clear-button--hidden")),this.updateTaskCardDisplay(t),await this.plugin.pomodoroService.saveLastSelectedTask(t==null?void 0:t.path);let n=this.plugin.pomodoroService.getState();n.currentSession&&n.currentSession.type==="work"&&await this.plugin.pomodoroService.assignTaskToCurrentSession(t||void 0)}updateTaskCardDisplay(t){if(this.taskCardContainer)if(this.taskCardContainer.empty(),t){let n=this.plugin.settings.defaultVisibleProperties?Ra(this.plugin.settings.defaultVisibleProperties,this.plugin):void 0,i=new Date,a=fI(t,i,this.plugin.statusManager,this.plugin.settings.defaultTaskStatus),s=Sr(a,this.plugin,n,{targetDate:i});this.taskCardContainer.appendChild(s),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)return;let t=await this.plugin.pomodoroService.getLastSelectedTaskPath();if(t){let n=await this.plugin.cacheManager.getTaskByPath(t);n&&!$h(n,new Date,this.plugin.statusManager,this.plugin.settings.defaultTaskStatus)&&!n.archived&&await this.selectTask(n)}}catch(t){fD.error("Error restoring last selected task:",{category:"persistence",operation:"restoring-last-selected-task",error:t})}}async updateTaskButtonFromPath(t){try{let n=await this.plugin.cacheManager.getTaskInfo(t);if(n){this.currentSelectedTask=n,this.taskSelectButton&&(this.taskSelectButton.textContent=this.t("views.pomodoro.buttons.changeTask"),(0,zu.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(n);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(n){fD.error("Error updating task button from path:",{category:"persistence",operation:"updating-task-button-path",error:n})}}updateDisplay(t,n,i={}){var s,o;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.updateSessionMeta(a),this.statusDisplay)if(a.isRunning&&a.currentSession){let l=a.currentSession.type==="work"?this.t("views.pomodoro.status.focus"):a.currentSession.type==="short-break"?this.t("views.pomodoro.status.shortBreak"):this.t("views.pomodoro.status.longBreak");this.statusDisplay.textContent=l,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 l=(s=a.currentSession)==null?void 0:s.taskPath,c=this.taskDisplay.dataset.currentTaskPath;l!==c&&(this.taskDisplay.empty(),this.taskDisplay.dataset.currentTaskPath=l||"")}if(this.taskSelectButton&&(o=a.currentSession)!=null&&o.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.startFocus"),this.pauseButton.addClass("pomodoro-view__pause-button--hidden"),this.stopButton.addClass("pomodoro-view__stop-button--hidden"))),this.skipBreakButton){let l=a.currentSession&&(a.currentSession.type==="short-break"||a.currentSession.type==="long-break"),c=!a.currentSession&&(a.nextSessionType==="short-break"||a.nextSessionType==="long-break");l||c?(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.timerDisplay&&(this.canEditTimer()?(this.timerDisplay.addClass("pomodoro-view__timer-display--editable"),this.timerDisplay.setAttribute("aria-disabled","false")):(this.timerDisplay.removeClass("pomodoro-view__timer-display--editable"),this.timerDisplay.setAttribute("aria-disabled","true"))),i.refreshStats&&this.refreshStats()}updateSessionMeta(t){if(!this.sessionMetaDisplay)return;let n=CT(t.timeRemaining,{padMinutes:!1}),i;if(t.currentSession){let a=this.getSessionTypeLabel(t.currentSession.type);t.isRunning?i=this.t("views.pomodoro.meta.running",{time:n}):i=this.t("views.pomodoro.meta.paused",{type:a,time:n})}else t.nextSessionType==="short-break"||t.nextSessionType==="long-break"?i=this.t("views.pomodoro.meta.breakReady",{type:this.getSessionTypeLabel(t.nextSessionType),time:n}):i=this.t("views.pomodoro.meta.ready",{time:n,count:this.todaysPomodoros});this.sessionMetaDisplay.textContent=i}getSessionTypeLabel(t){return t==="work"?this.t("views.pomodoro.status.focus"):t==="short-break"?this.t("views.pomodoro.status.shortBreak"):this.t("views.pomodoro.status.longBreak")}canEditTimer(){var n;let t=(n=this.plugin.pomodoroService)==null?void 0:n.getState();return!!(t&&!t.isRunning)}beginTimerEdit(){if(!this.timerDisplay||!this.timerInput||!this.plugin.pomodoroService||!this.canEditTimer())return;let t=this.plugin.pomodoroService.getState();this.isEditingTimer=!0,this.timerInput.value=CT(t.timeRemaining,{padMinutes:!1}),this.timerDisplay.addClass("pomodoro-view__timer-display--hidden"),this.timerInput.removeClass("pomodoro-view__timer-input--hidden"),this.timerInput.focus(),this.timerInput.select()}commitTimerEdit(){var a,s;if(!this.isEditingTimer||!this.timerInput||!this.timerDisplay)return;let t=wPe(this.timerInput.value);if(this.isEditingTimer=!1,this.timerInput.addClass("pomodoro-view__timer-input--hidden"),this.timerDisplay.removeClass("pomodoro-view__timer-display--hidden"),t===null){new zu.Notice(this.t("views.pomodoro.notices.invalidDuration"));let o=(a=this.plugin.pomodoroService)==null?void 0:a.getState();o&&this.updateTimer(o.timeRemaining);return}let n=(s=this.plugin.pomodoroService)==null?void 0:s.getState();if(!n)return;n.currentSession?this.plugin.pomodoroService.setCurrentSessionRemainingTime(t):this.plugin.pomodoroService.adjustPreparedTimer(t);let i=this.plugin.pomodoroService.getState();this.updateTimer(i.timeRemaining),this.updateProgress(i),this.updateSessionMeta(i)}cancelTimerEdit(){var n;if(!this.timerInput||!this.timerDisplay)return;this.isEditingTimer=!1,this.timerInput.addClass("pomodoro-view__timer-input--hidden"),this.timerDisplay.removeClass("pomodoro-view__timer-display--hidden");let t=(n=this.plugin.pomodoroService)==null?void 0:n.getState();t&&this.updateTimer(t.timeRemaining)}updateTimer(t){if(this.timerDisplay){if(this.isEditingTimer)return;let n=Math.max(0,Math.floor(t));this.timerDisplay.textContent=CT(n),n<=60&&n>0?this.timerDisplay.addClass("pomodoro-view__timer-display--warning"):this.timerDisplay.removeClass("pomodoro-view__timer-display--warning")}}updateProgress(t){if(!this.progressCircle)return;let n=this.currentCircumference;if(n===0){let s=this.progressCircle.getAttribute("r"),o=s?parseInt(s):140;n=2*Math.PI*o,this.currentCircumference=n}if(!t.currentSession){this.progressCircle.setAttributeNS(null,"stroke-dashoffset",n.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 i=t.isRunning?bPe(t.currentSession):(()=>{let s=xT(t.currentSession),o=t.currentSession.plannedDuration*60;return o>0?Math.max(0,Math.min(1,s/o)):0})(),a=n-i*n;this.progressCircle.setAttributeNS(null,"stroke-dashoffset",a.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--${t.currentSession.type}`),t.timeRemaining<=60&&t.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 t=await this.plugin.pomodoroService.getTodayStats();this.todaysPomodoros=t.pomodorosCompleted,this.statElements.pomodoros&&this.statElements.pomodoros.textContent!==t.pomodorosCompleted.toString()&&(this.statElements.pomodoros.textContent=t.pomodorosCompleted.toString()),this.updateSessionMeta(this.plugin.pomodoroService.getState())}catch(t){fD.error("Failed to update stats:",{category:"validation",operation:"update-stats",error:t}),this.statElements.pomodoros&&(this.statElements.pomodoros.textContent="0")}}adjustSessionTime(t){if(!this.plugin.pomodoroService)return;let n=this.plugin.pomodoroService.getState();if(n.currentSession)this.plugin.pomodoroService.adjustSessionTime(t);else{let i=Math.max(60,n.timeRemaining+t);this.plugin.pomodoroService.adjustPreparedTimer(i)}if(this.plugin.pomodoroService){let i=this.plugin.pomodoroService.getState();this.updateTimer(i.timeRemaining),this.updateProgress(i)}}onPomodoroComplete(t,n){if(this.updateDisplay(void 0,void 0,{refreshStats:!0}),this.statusDisplay)if(t.type==="work"){let i=n==="long-break",a=this.t(i?"views.pomodoro.status.breakLength.long":"views.pomodoro.status.breakLength.short");this.statusDisplay.textContent=this.t("views.pomodoro.status.breakPrompt",{length:a})}else this.statusDisplay.textContent=this.t("views.pomodoro.status.breakComplete")}}});function SO(r){if(r.activePeriods&&Array.isArray(r.activePeriods))return r.activePeriods.filter(e=>e.endTime).reduce((e,t)=>{let n=new Date(t.startTime),a=new Date(t.endTime).getTime()-n.getTime();return e+Math.round(a/(1e3*60))},0);if(r.duration!==void 0)return r.duration;if(r.startTime&&r.endTime){let e=new Date(r.startTime),n=new Date(r.endTime).getTime()-e.getTime();return Math.round(n/(1e3*60))}return 0}var a3=y(()=>{});function hD(r){return[...r].sort((e,t)=>new Date(e.startTime).getTime()-new Date(t.startTime).getTime())}function Hct(r){var n;let e=(n=r.match(/^(\d{4}-\d{2}-\d{2})(?:[T\s]|$)/))==null?void 0:n[1];if(e)return e;let t=new Date(r);return isNaN(t.getTime())?"":ce(t)}function DT(r){return Hct(r.startTime)}function _Pe(r,e){return e?r.filter(t=>DT(t)===e):[]}function APe(r,e,t){let n=ce(e),i=ce(t);if(!n||!i)return[];let[a,s]=n<=i?[n,i]:[i,n];return r.filter(o=>{let l=DT(o);return l>=a&&l<=s})}function IPe(r,e){let t=ce(r),n=ce(e);if(!t||!n)return[];let[i,a]=t<=n?[t,n]:[n,t],[s,o,l]=i.split("-").map(Number),[c,d,u]=a.split("-").map(Number),p=new Date(Date.UTC(s,o-1,l)),m=new Date(Date.UTC(c,d-1,u)),f=[];for(;p<=m;)f.push(ce(p)),p.setUTCDate(p.getUTCDate()+1);return f}function PT(r){let e=hD(r).filter(o=>o.type==="work"),t=e.filter(o=>o.completed),n=0;for(let o=e.length-1;o>=0&&e[o].completed;o--)n++;let i=t.reduce((o,l)=>o+SO(l),0),a=t.length>0?i/t.length:0,s=e.length>0?t.length/e.length*100:0;return{pomodorosCompleted:t.length,currentStreak:n,totalMinutes:i,averageSessionLength:Math.round(a),completionRate:Math.round(s)}}var s3=y(()=>{Ne();a3()});function qct(r){return Number.isInteger(r)&&r>=0&&r<=6}var fi,Vct,EO,NPe=y(()=>{fi=require("obsidian");Br();Ur();Cl();Ne();a3();s3();G();Vct=I({tag:"Views/PomodoroStatsView"});EO=class extends fi.ItemView{constructor(t,n){super(t);this.overviewStatsEl=null;this.todayStatsEl=null;this.weekStatsEl=null;this.recentSessionsEl=null;this.overallStatsEl=null;this.plugin=n}getViewType(){return av}getDisplayText(){return this.plugin.i18n.translate("views.pomodoroStats.title")}getIcon(){return"bar-chart"}t(t,n){return this.plugin.i18n.translate(t,n)}async onOpen(){await this.plugin.onReady(),await this.waitForPomodoroService(),await this.render()}async onClose(){this.contentEl.empty()}async render(){this.contentEl.empty();let t=this.contentEl.createDiv({cls:"tasknotes-plugin tasknotes-container pomodoro-stats-container pomodoro-stats-view"}),n=t.createDiv({cls:"pomodoro-stats-header pomodoro-stats-view__header"});new fi.Setting(n).setName(this.t("views.pomodoroStats.heading")).setHeading();let i=n.createDiv({cls:"pomodoro-stats-view__header-actions"});this.renderBasesMigrationHelp(i);let a=i.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 s=t.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new fi.Setting(s).setName(this.t("views.pomodoroStats.sections.overview")).setHeading(),this.overviewStatsEl=s.createDiv({cls:"pomodoro-overview-grid pomodoro-stats-view__overview-grid"});let o=t.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new fi.Setting(o).setName(this.t("views.pomodoroStats.sections.today")).setHeading(),this.todayStatsEl=o.createDiv({cls:"pomodoro-stats-grid pomodoro-stats-view__stats-grid"});let l=t.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new fi.Setting(l).setName(this.t("views.pomodoroStats.sections.week")).setHeading(),this.weekStatsEl=l.createDiv({cls:"pomodoro-stats-grid pomodoro-stats-view__stats-grid"});let c=t.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new fi.Setting(c).setName(this.t("views.pomodoroStats.sections.allTime")).setHeading(),this.overallStatsEl=c.createDiv({cls:"pomodoro-stats-grid pomodoro-stats-view__stats-grid"});let d=t.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new fi.Setting(d).setName(this.t("views.pomodoroStats.sections.recent")).setHeading(),this.recentSessionsEl=d.createDiv({cls:"pomodoro-recent-sessions pomodoro-stats-view__recent-sessions"}),await this.refreshStats()}renderBasesMigrationHelp(t){if(this.plugin.settings.pomodoroStorageLocation==="daily-notes")return;let n=t.createEl("button",{cls:"pomodoro-stats-view__bases-help"}),i=this.t("views.pomodoroStats.basesMigration.title"),a=this.t("views.pomodoroStats.basesMigration.description");(0,fi.setIcon)(n,"help-circle"),n.setAttr("aria-label",`${i}: ${a}`),(0,fi.setTooltip)(n,a,{placement:"bottom"})}async waitForPomodoroService(){let t=Date.now();for(;!this.plugin.pomodoroService&&Date.now()-t<5e3;)await new Promise(n=>window.setTimeout(n,50))}async refreshStats(){try{if(!this.plugin.pomodoroService)return;let t=wr(),n=vn(t),i=new Date(t);i.setDate(i.getDate()-1);let a=vn(i),s=this.plugin.settings.calendarViewSettings.firstDay||0,l={weekStartsOn:qct(s)?s:0},c=Ca(n,l),d=Ky(n,l),[u,p,m,f]=await Promise.all([this.plugin.pomodoroService.getTodayStats(),this.plugin.pomodoroService.getStatsForDate(a),this.plugin.pomodoroService.getStatsForDateRange(c,d),this.plugin.pomodoroService.getSessionHistory()]),h=PT(f);this.overviewStatsEl&&this.renderOverviewStats(this.overviewStatsEl,u,h,p),this.todayStatsEl&&this.renderStatsGrid(this.todayStatsEl,u),this.weekStatsEl&&this.renderStatsGrid(this.weekStatsEl,m),this.overallStatsEl&&this.renderStatsGrid(this.overallStatsEl,h),this.recentSessionsEl&&this.renderRecentSessions(this.recentSessionsEl,f)}catch(t){Vct.error("Failed to refresh stats:",{category:"stale-data",operation:"refresh-stats",error:t})}}renderRecentSessions(t,n){var a;let i=n.filter(s=>s.type==="work").slice(-10).reverse();if(t.empty(),i.length===0){t.createDiv({cls:"pomodoro-no-sessions pomodoro-stats-view__no-sessions",text:this.t("views.pomodoroStats.recents.empty")});return}for(let s of i){let o=t.createDiv({cls:"pomodoro-session-item pomodoro-stats-view__session-item"});this.registerDomEvent(o,"contextmenu",f=>{f.preventDefault(),this.showSessionContextMenu(f,s)});let l=o.createSpan({cls:"session-date pomodoro-stats-view__session-date"}),c=this.plugin.settings.calendarViewSettings.timeFormat;l.textContent=P(new Date(s.startTime),c==="12"?"MMM d, h:mm a":"MMM d, HH:mm");let d=o.createSpan({cls:"session-duration pomodoro-stats-view__session-duration"}),u=SO(s);d.textContent=this.t("views.pomodoroStats.recents.duration",{minutes:u});let p=o.createSpan({cls:"session-status pomodoro-stats-view__session-status"});if(p.textContent=this.t(s.completed?"views.pomodoroStats.recents.status.completed":"views.pomodoroStats.recents.status.interrupted"),p.addClass(s.completed?"status-completed":"status-interrupted"),p.addClass(s.completed?"pomodoro-stats-view__session-status--completed":"pomodoro-stats-view__session-status--interrupted"),s.taskPath){let f=o.createSpan({cls:"session-task pomodoro-stats-view__session-task"}),h=((a=s.taskPath.split("/").pop())==null?void 0:a.replace(".md",""))||"";f.textContent=h}let m=o.createEl("button",{cls:"pomodoro-stats-view__session-delete-button",attr:{type:"button","aria-label":this.t("views.pomodoroStats.recents.deleteAria")}});(0,fi.setIcon)(m,"trash-2"),(0,fi.setTooltip)(m,this.t("views.pomodoroStats.recents.delete"),{placement:"top"}),this.registerDomEvent(m,"click",f=>{f.preventDefault(),f.stopPropagation(),this.confirmDeleteSession(s)})}}showSessionContextMenu(t,n){let i=new fi.Menu;i.addItem(a=>{a.setTitle(this.t("views.pomodoroStats.recents.delete")),a.setIcon("trash"),a.onClick(()=>{this.confirmDeleteSession(n)})}),i.showAtMouseEvent(t)}async confirmDeleteSession(t){if(!await bn(this.plugin.app,{title:this.t("views.pomodoroStats.recents.deleteConfirmTitle"),message:this.t("views.pomodoroStats.recents.deleteConfirmMessage"),confirmText:this.t("views.pomodoroStats.recents.deleteConfirmButton"),cancelText:this.t("common.cancel"),isDestructive:!0})||!this.plugin.pomodoroService)return;let i=await this.plugin.pomodoroService.deleteSessionFromHistory(t);new fi.Notice(this.t(i?"views.pomodoroStats.recents.deleteSuccess":"views.pomodoroStats.recents.deleteNotFound")),i&&await this.refreshStats()}renderOverviewStats(t,n,i,a){t.empty();let s=v=>{if(v<60)return`${v}m`;let k=Math.floor(v/60),b=v%60;return b>0?`${k}h${b}m`:`${k}h`},o=n.pomodorosCompleted-a.pomodorosCompleted,l=n.totalMinutes-a.totalMinutes,c=t.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),d=c.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});if(d.textContent=n.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=t.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),p=u.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});p.textContent=i.pomodorosCompleted.toString(),u.createDiv({cls:"overview-label pomodoro-stats-view__overview-label",text:this.t("views.pomodoroStats.overviewCards.totalPomos.label")});let m=t.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),f=m.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});if(f.textContent=s(n.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 h=t.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),g=h.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});g.textContent=s(i.totalMinutes),h.createDiv({cls:"overview-label pomodoro-stats-view__overview-label",text:this.t("views.pomodoroStats.overviewCards.totalFocus.label")})}renderStatsGrid(t,n){t.empty();let i=t.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});i.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:n.pomodorosCompleted.toString()}),i.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.pomodoros")});let a=t.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});a.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:n.currentStreak.toString()}),a.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.streak")});let s=t.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});s.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:n.totalMinutes.toString()}),s.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.minutes")});let o=t.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});o.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:n.averageSessionLength.toString()}),o.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.average")});let l=t.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});l.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:`${n.completionRate}%`}),l.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.completion")})}}});function Wct(r){return Number.isInteger(r)&&r>=0&&r<=6}function MT(){return{dateRange:"all",selectedProjects:[],minTimeSpent:0}}function Gct(r){return typeof r=="string"&&Yct.has(r)}function OPe(r){return typeof r=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(r)}function Kct(r){if(!r||typeof r!="object")return MT();let e=r,t=MT();Gct(e.dateRange)&&(t.dateRange=e.dateRange),OPe(e.customStartDate)&&(t.customStartDate=e.customStartDate),OPe(e.customEndDate)&&(t.customEndDate=e.customEndDate),Array.isArray(e.selectedProjects)&&(t.selectedProjects=e.selectedProjects.filter(i=>typeof i=="string"));let n=typeof e.minTimeSpent=="number"?e.minTimeSpent:Number(e.minTimeSpent);return Number.isFinite(n)&&n>0&&(t.minTimeSpent=Math.floor(n)),t}var Vo,gD,RPe,Yct,xO,LPe=y(()=>{Vo=require("obsidian");Br();Ur();Ct();Ne();la();xc();jn();G();gD=I({tag:"Views/StatsView"});RPe="tasknotes-stats-view-filters",Yct=new Set(["all","7days","30days","90days","custom"]);xO=class extends Vo.ItemView{constructor(t,n){super(t);this.overviewStatsEl=null;this.todayStatsEl=null;this.weekStatsEl=null;this.monthStatsEl=null;this.projectsStatsEl=null;this.filtersEl=null;this.currentFilters=MT();this.drilldownModal=null;this.currentDrilldownData=null;this.listeners=[];this.statsCache=new Map;this.lastCacheTime=0;this.CACHE_DURATION=6e4;this.debounceTimeout=null;this.plugin=n}getViewType(){return sv}getDisplayText(){return this.plugin.i18n.translate("views.stats.title")}getIcon(){return"bar-chart-4"}async onOpen(){await this.plugin.onReady(),this.currentFilters=this.loadPersistedFilters();let t=this.plugin.emitter.on(nt,async({path:n,originalTask:i,updatedTask:a})=>{if(!n||!a||!this.drilldownModal||!this.currentDrilldownData)return;this.currentDrilldownData.tasks.some(o=>o.path===n||i&&o.path===i.path)&&await this.refreshDrilldownModal()});this.listeners.push(t),await this.render()}async onClose(){this.contentEl.empty(),this.listeners.forEach(t=>this.plugin.emitter.offref(t)),this.listeners=[]}loadPersistedFilters(){try{let t=this.plugin.app.loadLocalStorage(RPe);return typeof t!="string"||t.length===0?MT():Kct(JSON.parse(t))}catch(t){return gD.warn("[TaskNotes] Failed to load Stats view filters:",{category:"persistence",operation:"load-stats-view-filters",error:t}),MT()}}savePersistedFilters(){try{this.plugin.app.saveLocalStorage(RPe,JSON.stringify(this.currentFilters))}catch(t){gD.warn("[TaskNotes] Failed to save Stats view filters:",{category:"persistence",operation:"save-stats-view-filters",error:t})}}async render(){let t=this.contentEl.createDiv({cls:"tasknotes-plugin tasknotes-container stats-container stats-view"}),n=t.createDiv({cls:"stats-header stats-view__header"});new Vo.Setting(n).setName(this.plugin.i18n.translate("views.stats.taskProjectStats")).setHeading();let i=n.createEl("button",{cls:"stats-refresh-button stats-view__refresh-button",text:this.plugin.i18n.translate("views.stats.refreshButton")});this.registerDomEvent(i,"click",()=>{this.refreshStats()});let a=t.createDiv({cls:"stats-section stats-view__section"});new Vo.Setting(a).setName(this.plugin.i18n.translate("views.stats.sections.filters")).setHeading(),this.filtersEl=a.createDiv({cls:"stats-filters stats-view__filters"}),this.renderFilters();let s=t.createDiv({cls:"stats-section stats-view__section"});new Vo.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=t.createDiv({cls:"stats-section stats-view__section"});new Vo.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=t.createDiv({cls:"stats-section stats-view__section"});new Vo.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=t.createDiv({cls:"stats-section stats-view__section"});new Vo.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=t.createDiv({cls:"stats-section stats-view__section"});new Vo.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 t=await Promise.allSettled([this.updateOverviewStats(),this.updateTodayStats(),this.updateWeekStats(),this.updateMonthStats(),this.updateProjectStats()])}catch(t){}}async getAllTasks(){let t=`all-tasks-${JSON.stringify(this.currentFilters)}`;if(this.isCacheValid()&&this.statsCache.has(t)){let a=this.statsCache.get(t);if(a)return a}let n=this.plugin.cacheManager.getAllTaskPaths(),i=[];for(let a of n)try{let s=await this.plugin.cacheManager.getTaskInfo(a);s&&i.push(s)}catch(s){}return i=this.applyTaskFilters(i),this.statsCache.set(t,i),this.lastCacheTime=Date.now(),i}applyTaskFilters(t){let n=t,i=this.getFilterDateRange();return(i.start||i.end)&&(n=n.filter(a=>{if(a.timeEntries&&a.timeEntries.length>0)return a.timeEntries.some(s=>{if(!s.startTime)return!1;let o=new Date(s.startTime);return!(i.start&&o<i.start||i.end&&o>i.end)});if(a.completedDate){let s=new Date(a.completedDate);return!(i.start&&s<i.start||i.end&&s>i.end)}if(a.dateCreated){let s=new Date(a.dateCreated);return!(i.start&&s<i.start||i.end&&s>i.end)}return!(i.start||i.end)})),this.currentFilters.minTimeSpent>0&&(n=n.filter(a=>Aa(a.timeEntries||[])>=this.currentFilters.minTimeSpent)),n}async updateOverviewStats(){if(!this.overviewStatsEl)return;let t=await this.getAllTasks(),n=this.calculateOverallStats(t);this.renderOverviewStats(this.overviewStatsEl,n)}async updateTodayStats(){if(!this.todayStatsEl)return;let t=wr(),n=await this.calculateStatsForRange(yl(t),Ew(t));this.renderTimeRangeStats(this.todayStatsEl,n)}async updateWeekStats(){if(!this.weekStatsEl)return;let t=wr(),n=this.plugin.settings.calendarViewSettings.firstDay||0,a={weekStartsOn:Wct(n)?n:0},s=Ca(t,a),o=Ky(t,a),l=await this.calculateStatsForRange(s,o);this.renderTimeRangeStats(this.weekStatsEl,l)}async updateMonthStats(){if(!this.monthStatsEl)return;let t=wr(),n=t_(t),i=e_(t),a=await this.calculateStatsForRange(n,i);this.renderTimeRangeStats(this.monthStatsEl,a)}async updateProjectStats(){if(!this.projectsStatsEl)return;let t=await this.getAllTasks(),n=this.calculateProjectStats(t);await this.renderProjectStats(this.projectsStatsEl,n)}consolidateProjectName(t){var i,a;if(!t||typeof t!="string")return t;let n=kl(t,(i=this.plugin)==null?void 0:i.app);if(n&&n!==t)return n;if(t.startsWith("[[")&&t.endsWith("]]")){let s=this.extractWikilinkPath(t);if(s&&((a=this.plugin)!=null&&a.app)){let o=this.plugin.app.metadataCache.getFirstLinkpathDest(s,"");if(o)return o.basename;let l=this.extractProjectName(t);if(l)return l}}if(t.includes("|")){let s=t.split("|");return s[s.length-1]||t}if(t.includes("/")){let s=t.split("/");return s[s.length-1]||t}return t}extractWikilinkPath(t){if(!t||typeof t!="string"||!t.startsWith("[[")||!t.endsWith("]]"))return null;let n=t.slice(2,-2);return(0,Vo.parseLinktext)(n).path}extractProjectName(t){var i;return t&&kl(t,(i=this.plugin)==null?void 0:i.app)||null}calculateOverallStats(t){let n=0,i=0,a=0,s=new Set;for(let o of t){n+=Aa(o.timeEntries||[]),i+=o.timeEstimate||0,this.plugin.statusManager.isCompletedStatus(o.status)&&a++;let l=this.getTaskProjects(o);for(let c of l)s.add(c)}return{totalTimeSpent:n,totalTimeEstimate:i,totalTasks:t.length,completedTasks:a,activeProjects:s.size,completionRate:t.length>0?a/t.length*100:0,avgTimePerTask:t.length>0?n/t.length:0}}async calculateStatsForRange(t,n){let a=(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>=t&&d<=n});if(l.completedDate){let c=new Date(l.completedDate);return c>=t&&c<=n}if(l.dateCreated){let c=new Date(l.dateCreated);return c>=t&&c<=n}return!1}),s=this.calculateOverallStats(a),o=this.calculateProjectStats(a);return{overall:s,projects:o}}calculateProjectStats(t){let n=new Map;for(let s of t){let o=Aa(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,f)=>new Date(f.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){n.has(p)||n.set(p,{tasks:[],totalTime:0,totalTimeEstimate:0,completedCount:0,lastActivity:void 0});let m=n.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 i=[];for(let[s,o]of n.entries())i.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 a=this.plugin.i18n.translate("views.stats.noProject");return i.sort((s,o)=>s.projectName===a?1:o.projectName===a?-1:o.totalTimeSpent-s.totalTimeSpent),i}renderFilters(){if(!this.filtersEl)return;this.filtersEl.empty();let t=this.filtersEl.createDiv({cls:"stats-view__filter-grid"}),n=t.createDiv({cls:"stats-view__filter-item"}),i=n.createDiv({cls:"stats-view__filter-label"});i.textContent=this.plugin.i18n.translate("views.stats.sections.dateRange");let a=n.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 f=a.createEl("option",{value:m.value,text:m.text});m.value===this.currentFilters.dateRange&&(f.selected=!0)}this.registerDomEvent(a,"change",()=>{this.currentFilters.dateRange=a.value,this.renderCustomDateInputs(),this.applyFilters()});let o=t.createDiv({cls:"stats-view__custom-dates"});this.currentFilters.dateRange==="custom"&&this.renderCustomDateInputs(o);let l=t.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=t.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=MT(),this.renderFilters(),this.applyFilters()})}renderCustomDateInputs(t){var i;let n=t||((i=this.filtersEl)==null?void 0:i.querySelector(".stats-view__custom-dates"));if(n&&(n.empty(),this.currentFilters.dateRange==="custom")){let a=n.createDiv({cls:"stats-view__date-input-container"});a.createDiv({cls:"stats-view__date-label",text:this.plugin.i18n.translate("views.stats.dateRangeFrom")});let s=a.createEl("input",{cls:"stats-view__date-input",type:"date",value:this.currentFilters.customStartDate||""}),o=n.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.savePersistedFilters(),this.debounceTimeout&&window.clearTimeout(this.debounceTimeout),this.debounceTimeout=window.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(t){try{if(!t||!Array.isArray(t.projects))return[this.plugin.i18n.translate("views.stats.noProject")];let n=Tl(t.projects);return n.length>0?n.map(i=>this.consolidateProjectName(i)).filter(i=>typeof i=="string"&&i.length>0):[this.plugin.i18n.translate("views.stats.noProject")]}catch(n){return[this.plugin.i18n.translate("views.stats.noProject")]}}getFilterDateRange(){let t=wr();switch(this.currentFilters.dateRange){case"7days":return{start:yl(Xy(t,7)),end:Ew(t)};case"30days":return{start:yl(Xy(t,30)),end:Ew(t)};case"90days":return{start:yl(Xy(t,90)),end:Ew(t)};case"custom":return{start:this.currentFilters.customStartDate?new Date(`${this.currentFilters.customStartDate}T00:00:00`):void 0,end:this.currentFilters.customEndDate?new Date(`${this.currentFilters.customEndDate}T23:59:59.999`):void 0};case"all":default:return{}}}renderOverviewStats(t,n){t.empty();let i=h=>{if(h<60)return`${Math.round(h)}m`;let g=Math.floor(h/60),v=Math.round(h%60);return v>0?`${g}h ${v}m`:`${g}h`},a=t.createDiv({cls:"stats-overview-card stats-view__overview-card"}),s=a.createDiv({cls:"overview-value stats-view__overview-value"});s.textContent=`${i(n.totalTimeSpent)} / ${i(n.totalTimeEstimate)}`,a.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.timeTrackedEstimated")});let o=t.createDiv({cls:"stats-overview-card stats-view__overview-card"}),l=o.createDiv({cls:"overview-value stats-view__overview-value"});l.textContent=n.totalTasks.toString(),o.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.totalTasks")});let c=t.createDiv({cls:"stats-overview-card stats-view__overview-card"}),d=c.createDiv({cls:"overview-value stats-view__overview-value"});d.textContent=`${Math.round(n.completionRate)}%`,c.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.completionRate")});let u=t.createDiv({cls:"stats-overview-card stats-view__overview-card"}),p=u.createDiv({cls:"overview-value stats-view__overview-value"});p.textContent=n.activeProjects.toString(),u.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.activeProjects")});let m=t.createDiv({cls:"stats-overview-card stats-view__overview-card"}),f=m.createDiv({cls:"overview-value stats-view__overview-value"});f.textContent=i(n.avgTimePerTask),m.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.avgTimePerTask")})}renderTimeRangeStats(t,n){t.empty();let i=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`},a=t.createDiv({cls:"stats-stat-card stats-view__stat-card"});a.createDiv({cls:"stat-value stats-view__stat-value",text:`${i(n.overall.totalTimeSpent)} / ${i(n.overall.totalTimeEstimate)}`}),a.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.cards.timeTrackedEstimated")});let s=t.createDiv({cls:"stats-stat-card stats-view__stat-card"});s.createDiv({cls:"stat-value stats-view__stat-value",text:n.overall.totalTasks.toString()}),s.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.labels.tasks")});let o=t.createDiv({cls:"stats-stat-card stats-view__stat-card"});o.createDiv({cls:"stat-value stats-view__stat-value",text:n.overall.completedTasks.toString()}),o.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.labels.completed")});let l=t.createDiv({cls:"stats-stat-card stats-view__stat-card"});l.createDiv({cls:"stat-value stats-view__stat-value",text:n.overall.activeProjects.toString()}),l.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.labels.projects")})}async renderProjectStats(t,n){if(t.empty(),n.length===0){t.createDiv({cls:"stats-no-data stats-view__no-data",text:this.plugin.i18n.translate("views.stats.noProjectData")});return}let i=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`},a=s=>{if(!s)return this.plugin.i18n.translate("views.stats.notAvailable");try{let o=new Date(s);return P(o,"MMM d, yyyy")}catch(o){return this.plugin.i18n.translate("views.stats.notAvailable")}};for(let s of n){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=t.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 f=p.createDiv({cls:"stats-view__stats-container"});if(s.totalTimeSpent>0||s.totalTimeEstimate>0){let k=f.createDiv({cls:"stats-view__time-bar"}),w=k.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.classList.remove("tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-red-134bc721","tn-static-background-color-var-text-accent-a954c70f"),w.classList.add("tn-static-background-color-var-color-base-40-ef5f175e")),w.style.width=`${Math.min(S,100)}%`,S>100&&(w.classList.remove("tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-text-accent-a954c70f"),w.classList.add("tn-static-background-color-var-color-red-134bc721"));let x=k.createDiv({cls:"stats-view__time-bar-label"});x.textContent=`${i(s.totalTimeSpent)} / ${i(s.totalTimeEstimate)}`}let h=f.createDiv({cls:"project-stats stats-view__project-stats"});if(s.lastActivity){let k=h.createDiv({cls:"project-stat stats-view__project-stat"});k.textContent=`Last activity: ${a(s.lastActivity)}`}if(s.avgTimePerTask>0){let k=h.createDiv({cls:"project-stat stats-view__project-stat"});k.textContent=`Avg: ${i(s.avgTimePerTask)}/task`}let g=f.createDiv({cls:"stats-view__trend-container"}),v=g.createDiv({cls:"stats-view__sparkline"});try{let k=await this.calculateProjectTrend(s.projectName);k.length>0&&k.some(b=>b.value>0)?this.renderSparkline(v,k):g.remove()}catch(k){g.remove()}}}renderProgressCircle(t,n,i,a){let c=2*Math.PI*27.5,d=c-n/100*c,u=activeDocument.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=activeDocument.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=activeDocument.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 f=activeDocument.createElementNS("http://www.w3.org/2000/svg","text");f.setAttribute("x","50%"),f.setAttribute("y","50%"),f.setAttribute("dy","0.3em"),f.setAttribute("text-anchor","middle"),f.classList.add("stats-view__progress-circle-text"),f.textContent=`${Math.round(n)}%`,u.appendChild(p),u.appendChild(m),u.appendChild(f),t.appendChild(u);let h=t.createDiv({cls:"stats-view__progress-label"});h.textContent=`${i}/${a} tasks`}async calculateProjectTrend(t){try{let n=this.plugin.cacheManager.getAllTaskPaths(),i=[];for(let o of n)try{let l=await this.plugin.cacheManager.getTaskInfo(o);l&&this.getTaskProjects(l).includes(t)&&i.push(l)}catch(l){}let a=[],s=wr();for(let o=29;o>=0;o--){let l=Xy(s,o),c=P(l,"yyyy-MM-dd"),d=0;for(let u of i)if(u.timeEntries)for(let p of u.timeEntries)p.startTime&&P(new Date(p.startTime),"yyyy-MM-dd")===c&&(d+=Aa([p]));a.push({date:c,value:d})}return a}catch(n){return[]}}renderSparkline(t,n){if(t.empty(),n.length===0)return;let i=100,a=20,s=Math.max(...n.map(d=>d.value));if(s===0)return;let o=activeDocument.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("width",i.toString()),o.setAttribute("height",a.toString()),o.setAttribute("viewBox",`0 0 ${i} ${a}`),o.classList.add("stats-view__sparkline-svg");let l=activeDocument.createElementNS("http://www.w3.org/2000/svg","path"),c="";n.forEach((d,u)=>{let p=u/(n.length-1)*i,m=a-d.value/s*a;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),t.appendChild(o)}async openProjectDrilldown(t){this.closeDrilldownModal();let n=this.contentEl.ownerDocument,i=n.body.createDiv({cls:"stats-view__modal-backdrop"});this.drilldownModal=i;let a=i.createDiv({cls:"stats-view__modal tasknotes-plugin"}),s=a.createDiv({cls:"stats-view__modal-header"}),o=s.createDiv({cls:"stats-view__modal-title"});o.textContent=`${t} - Detailed View`;let l=s.createEl("button",{cls:"stats-view__modal-close",text:"\xD7"}),c=a.createDiv({cls:"stats-view__modal-content"});c.textContent=this.plugin.i18n.translate("views.stats.loading"),this.registerDomEvent(l,"click",()=>this.closeDrilldownModal()),this.registerDomEvent(i,"click",u=>{u.target===i&&this.closeDrilldownModal()});let d=u=>{u.key==="Escape"&&(this.closeDrilldownModal(),n.removeEventListener("keydown",d))};n.addEventListener("keydown",d);try{let u=await this.getProjectDrilldownData(t);this.currentDrilldownData=u,this.renderDrilldownContent(c,u)}catch(u){gD.error("Error loading drill-down data:",{category:"persistence",operation:"loading-drill-down-data",error:u}),c.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 t=this.drilldownModal.querySelector(".stats-view__modal-content");if(t)try{let n=await this.getProjectDrilldownData(this.currentDrilldownData.projectName);this.currentDrilldownData=n,this.renderDrilldownContent(t,n)}catch(n){gD.error("Error refreshing drill-down modal:",{category:"stale-data",operation:"refreshing-drill-down-modal",error:n})}}async getProjectDrilldownData(t){var p;let n=this.plugin.cacheManager.getAllTaskPaths(),i=[];for(let m of n)try{let f=await this.plugin.cacheManager.getTaskInfo(m);f&&this.getTaskProjects(f).includes(t)&&i.push(f)}catch(f){gD.error(`Failed to get task for drill-down: ${m}`,{category:"persistence",operation:"get-task-drill-down",error:f})}let a=i.reduce((m,f)=>m+Aa(f.timeEntries||[]),0),s=i.reduce((m,f)=>m+(f.timeEstimate||0),0),o=i.filter(m=>this.plugin.statusManager.isCompletedStatus(m.status)).length,l=i.length>0?o/i.length*100:0,c=i.filter(m=>{var f;return((f=m.timeEntries)==null?void 0:f.length)||m.completedDate}).sort((m,f)=>{var v,k;let h=(v=m.timeEntries)!=null&&v.length?Math.max(...m.timeEntries.map(b=>new Date(b.startTime).getTime())):m.completedDate?new Date(m.completedDate).getTime():0;return((k=f.timeEntries)!=null&&k.length?Math.max(...f.timeEntries.map(b=>new Date(b.startTime).getTime())):f.completedDate?new Date(f.completedDate).getTime():0)-h}).slice(0,10),d=[],u=wr();for(let m=29;m>=0;m--){let f=Xy(u,m),h=P(f,"yyyy-MM-dd"),g=0,v=0,k=0;for(let b of i){if(b.timeEntries){let w=b.timeEntries.filter(S=>P(new Date(S.startTime),"yyyy-MM-dd")===h);w.length>0&&(g+=Aa(w),v++)}b.completedDate&&P(new Date(b.completedDate),"yyyy-MM-dd")===h&&(k++,(p=b.timeEntries)!=null&&p.some(w=>P(new Date(w.startTime),"yyyy-MM-dd")===h)||v++)}d.push({date:h,timeSpent:g,taskCount:v,completedTasks:k})}return{projectName:t,tasks:i,totalTimeSpent:a,totalTimeEstimate:s,completionRate:l,timeByDay:d,recentActivity:c}}renderDrilldownContent(t,n){t.empty();let i=S=>{if(S<60)return`${Math.round(S)}m`;let x=Math.floor(S/60),C=Math.round(S%60);return C>0?`${x}h ${C}m`:`${x}h`},s=t.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:`${i(n.totalTimeSpent)} / ${i(n.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:n.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(n.completionRate)}%`}),c.createDiv({cls:"stats-view__drilldown-label",text:"Completed"});let d=s.createDiv({cls:"stats-view__drilldown-card"}),u=n.tasks.length>0?n.totalTimeSpent/n.tasks.length:0,p=n.tasks.length>0?n.totalTimeEstimate/n.tasks.length:0;d.createDiv({cls:"stats-view__drilldown-value",text:`${i(u)} / ${i(p)}`}),d.createDiv({cls:"stats-view__drilldown-label",text:"Avg per Task"});let m=t.createDiv({cls:"stats-view__drilldown-section"});m.createDiv({cls:"stats-view__drilldown-heading",text:"Activity Over Time (Last 30 Days)"});let f=m.createDiv({cls:"stats-view__activity-chart"});this.renderActivityChart(f,n.timeByDay);let h=t.createDiv({cls:"stats-view__drilldown-section"}),g=h.createDiv({cls:"stats-view__section-header"});g.createDiv({cls:"stats-view__drilldown-heading",text:"All Project Tasks"});let k=g.createDiv({cls:"stats-view__task-filters"}).createEl("select",{cls:"stats-view__filter-select"});k.createEl("option",{value:"all",text:this.plugin.i18n.translate("views.stats.filters.allTasks")}),k.createEl("option",{value:"active",text:this.plugin.i18n.translate("views.stats.filters.activeOnly")}),k.createEl("option",{value:"completed",text:this.plugin.i18n.translate("views.stats.filters.completedOnly")});let b=h.createDiv({cls:"stats-view__task-list"}),w=(S="all")=>{b.empty();let x=n.tasks;if(S==="active"?x=n.tasks.filter(D=>!this.plugin.statusManager.isCompletedStatus(D.status)):S==="completed"&&(x=n.tasks.filter(D=>this.plugin.statusManager.isCompletedStatus(D.status))),x.sort((D,_)=>{let O=this.plugin.statusManager.isCompletedStatus(D.status),L=this.plugin.statusManager.isCompletedStatus(_.status);if(O!==L)return O?1:-1;let N=R=>{var z;return(z=R.timeEntries)!=null&&z.length?Math.max(...R.timeEntries.map(H=>new Date(H.startTime).getTime())):R.dateModified?new Date(R.dateModified).getTime():0};return N(_)-N(D)}),x.length===0){b.createDiv({cls:"stats-view__no-data",text:this.plugin.i18n.translate("views.stats.noTasks")});return}let C=b.createDiv({cls:"stats-view__task-count"});C.textContent=`Showing ${x.length} task${x.length!==1?"s":""}`;for(let D of x){let _=this.plugin.settings.defaultVisibleProperties?Ra(this.plugin.settings.defaultVisibleProperties,this.plugin):void 0,O=Sr(D,this.plugin,_);b.appendChild(O)}};w("all"),this.registerDomEvent(k,"change",()=>{w(k.value)})}renderActivityChart(t,n){if(t.empty(),n.length===0)return;let i=Math.max(...n.map(s=>s.timeSpent));if(i===0){t.createDiv({cls:"stats-view__no-data",text:"No time tracking data"});return}let a=t.createDiv({cls:"stats-view__bar-chart"});for(let s of n){let l=a.createDiv({cls:"stats-view__bar-container"}).createDiv({cls:"stats-view__bar"}),c=s.timeSpent/i*40;l.style.height=`${c}px`;let d=`${P(new Date(s.date),"MMM d")}: ${Math.round(s.timeSpent)}m`;l.setAttribute("title",d)}}}});function Zct(r,e=o3){return r.replace(/\(((?:#\d+\s*)(?:,\s*#\d+\s*)*)\)/g,(t,n)=>`(${n.split(",").map(a=>a.trim()).filter(Boolean).map(a=>{let s=a.slice(1);return`[#${s}](${e}/issues/${s})`}).join(", ")})`)}var DO,yD,FPe,o3,CO,l3=y(()=>{DO=require("obsidian");Br();yD="tasknotes-release-notes",FPe="https://github.com/callumalpass/tasknotes/releases",o3="https://github.com/callumalpass/tasknotes";CO=class extends DO.ItemView{constructor(e,t,n,i){super(e),this.plugin=t,this.releaseNotesBundle=n,this.version=i}getViewType(){return yD}getDisplayText(){return this.plugin.i18n.translate("views.releaseNotes.title",{version:this.version})}getIcon(){return"book-open"}transformIssueLinks(e){return Zct(e)}formatDate(e){if(!e)return"";try{let t=Ls(e);return P(t,"MMMM d, yyyy")}catch(t){return""}}async createVersionSection(e,t,n){let i=e.createDiv({cls:"release-notes-version-section"});i.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-8px-fdf33f23"),i.classList.add("tn-static-margin-bottom-20px-49f14f8f"),i.classList.remove("tn-static-border-none-2eda1daa","tn-static-padding-12px-43bef435"),i.classList.add("tn-static-border-1px-solid-var-background-mo-b65b5121"),i.classList.remove("tn-static-border-radius-4px-c290c56e","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),i.classList.add("tn-static-border-radius-6px-0dc8408c"),i.classList.remove("tn-static-flex-1-14e3b769"),i.classList.add("tn-static-overflow-hidden-69824400");let a=i.createDiv({cls:"release-notes-version-header"});a.classList.remove("tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),a.classList.add("tn-static-padding-16px-287f770e"),a.classList.remove("tn-static-cursor-grab-dad79857","tn-static-cursor-pointer-2723efcc"),a.classList.add("tn-static-cursor-pointer-3b6a3a65"),a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-flex-75816cae"),a.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-flex-end-455f8cca"),a.classList.add("tn-static-justify-content-space-between-a562f4fd"),a.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),a.classList.add("tn-static-align-items-center-7c619740"),a.style.backgroundColor=t.isCurrent?"var(--background-secondary)":"var(--background-primary)",a.classList.add("tn-static-transition-background-color-0-2s-8142f01e"),a.addEventListener("mouseenter",()=>{a.classList.remove("tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-color-red-134bc721","tn-static-background-color-var-text-accent-a954c70f"),a.classList.add("tn-static-background-color-var-background-se-9087a23e")}),a.addEventListener("mouseleave",()=>{a.style.backgroundColor=t.isCurrent?"var(--background-secondary)":"var(--background-primary)"});let s=a.createDiv({cls:"release-notes-version-info"});s.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),s.classList.add("tn-static-display-flex-75816cae"),s.classList.remove("tn-static-align-items-center-7c619740","tn-static-align-items-flex-start-0486f781"),s.classList.add("tn-static-align-items-baseline-4b95b5c7"),s.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-10px-f3d7ce77","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),s.classList.add("tn-static-gap-12px-ed7b3d87");let o=s.createEl("h2",{text:t.version});if(o.classList.remove("tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),o.classList.add("tn-static-margin-0-11696618"),o.classList.remove("tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-0-9em-65025e95","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-font-size-var-tn-font-size-sm-0274a31d","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),o.classList.add("tn-static-font-size-1-2em-3a352995"),o.classList.remove("tn-static-cursor-pointer-2723efcc","tn-static-font-weight-500-02a2d333","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd"),o.classList.add("tn-static-font-weight-600-eed0f8fb"),t.isCurrent){let p=s.createEl("span",{text:"Current"});p.classList.remove("tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-0-9em-65025e95","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-font-size-var-tn-font-size-sm-0274a31d","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),p.classList.add("tn-static-font-size-0-75em-948e16e5"),p.classList.remove("tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2rem-42aa6d9c"),p.classList.add("tn-static-padding-2px-8px-c8eea84a"),p.classList.remove("tn-static-border-radius-6px-0dc8408c","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),p.classList.add("tn-static-border-radius-4px-c290c56e"),p.classList.remove("tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-color-red-134bc721"),p.classList.add("tn-static-background-color-var-text-accent-a954c70f"),p.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),p.classList.add("tn-static-color-var-text-on-accent-f3e1679d"),p.classList.remove("tn-static-cursor-pointer-2723efcc","tn-static-font-weight-600-eed0f8fb","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd"),p.classList.add("tn-static-font-weight-500-02a2d333")}if(t.date){let p=s.createEl("span",{text:this.formatDate(t.date)});p.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),p.classList.add("tn-static-color-var-text-muted-5872de20"),p.classList.remove("tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-font-size-var-tn-font-size-sm-0274a31d","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),p.classList.add("tn-static-font-size-0-9em-65025e95")}let l=a.createEl("span",{text:n?"\u25BC":"\u25B6"});l.classList.remove("tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-9em-65025e95","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-font-size-var-tn-font-size-sm-0274a31d","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),l.classList.add("tn-static-font-size-0-8em-19dc7c13"),l.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),l.classList.add("tn-static-color-var-text-muted-5872de20");let c=i.createDiv({cls:"release-notes-version-content"});c.classList.remove("tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),c.classList.add("tn-static-padding-0-16px-16px-16px-f1aa998c"),c.style.display=n?"block":"none";let d=this.transformIssueLinks(t.content),u=t.isCurrent?`${this.plugin.i18n.translate("views.releaseNotes.baseFilesNotice")}
${d}`:d;await DO.MarkdownRenderer.render(this.plugin.app,u,c,"",this),a.addEventListener("click",()=>{let p=c.style.display!=="none";c.style.display=p?"none":"block",l.textContent=p?"\u25B6":"\u25BC"})}async onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("tasknotes-release-notes-view");let t=e.createDiv({cls:"tasknotes-release-notes-container"});t.classList.remove("tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),t.classList.add("tn-static-padding-20px-769fed37"),t.classList.add("tn-static-max-width-900px-1d34c094"),t.classList.remove("tn-static-margin-0-11696618","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),t.classList.add("tn-static-margin-0-auto-266e9b04");let n=t.createEl("div",{cls:"release-notes-header"});n.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-8px-fdf33f23"),n.classList.add("tn-static-margin-bottom-20px-49f14f8f"),n.createEl("h1",{text:this.plugin.i18n.translate("views.releaseNotes.header",{version:this.version})});let i=t.createEl("p");i.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-8px-fdf33f23"),i.classList.add("tn-static-margin-bottom-20px-49f14f8f"),i.classList.remove("tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-font-size-var-tn-font-size-sm-0274a31d","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),i.classList.add("tn-static-font-size-0-9em-65025e95"),i.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),i.classList.add("tn-static-color-var-text-muted-5872de20");let a=this.plugin.i18n.translate("views.releaseNotes.starMessage"),s=a.toLowerCase().lastIndexOf("github");if(s!==-1){i.appendText(a.substring(0,s));let d=i.createEl("a",{text:a.substring(s,s+6),href:o3});d.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),d.classList.add("tn-static-color-var-text-accent-65b47ee3"),d.addEventListener("click",u=>{u.preventDefault(),window.open(o3,"_blank")}),i.appendText(a.substring(s+6))}else i.appendText(a);let o=t.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=t.createEl("div",{cls:"release-notes-footer"});l.classList.add("tn-static-border-top-1px-solid-var-backgroun-aab7c2ca"),l.classList.add("tn-static-padding-top-20px-49826953"),l.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),l.classList.add("tn-static-margin-top-30px-2fbbbcd4"),l.classList.remove("tn-static-padding-20px-7a035d95"),l.classList.add("tn-static-text-align-center-91a87015");let c=l.createEl("a",{text:this.plugin.i18n.translate("views.releaseNotes.viewAllLink"),href:FPe});c.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),c.classList.add("tn-static-color-var-text-accent-65b47ee3"),c.classList.remove("tn-static-text-decoration-line-through-7059a4e5"),c.classList.add("tn-static-text-decoration-none-80d654f9"),c.addEventListener("click",d=>{d.preventDefault(),window.open(FPe,"_blank")})}async onClose(){let{contentEl:e}=this;e.empty()}}});var $Pe,zPe=y(()=>{$Pe=`# TaskNotes 4.10.0
## Added
- **New companion plugin:** TaskNotes Workflows adds Markdown-defined automation for TaskNotes tasks, events, schedules, and manual commands. It keeps automation workflows outside TaskNotes core while using the runtime API for safe task reads, writes, queries, events, and relationship resolution. See [TaskNotes Workflows](https://tasknotes.dev/companion-plugins/tasknotes-workflows/).
- (#1530) \`Auto-start time tracking\` starts a timer when a task moves into active work. Thanks to @Jendrik0 and @benmartinek for the request and follow-up.
- (#222, #184) \`Stop time tracking on complete\` stops active timers when a task is completed. Thanks to @bcohen44 and @cathywu for the requests, and @amarjt for the follow-up.
- (#265) \`Stamp started timestamp\` records a custom started timestamp when a task first moves into active work. Thanks to @cathywu, @digitaldoctors, and @Leo310 for the request and discussion.
- (#1703) \`Clear scheduled when started\` clears the scheduled date when a task moves into active work. Thanks to @kmaustral for the request.
- (#1293) \`Rollover overdue scheduled tasks\` moves incomplete tasks with past scheduled dates back to today. Thanks to @grosserfrank for the request.
- (#1896) \`Escalate upcoming due tasks\` raises priority as due dates approach. Thanks to @Neptune-Illusion for the request.
- (#214, #518, #1785, #1855) The subtask inheritance workflows can copy parent contexts, tags, priority, planning dates, and dependencies into new subtasks. Thanks to @timfidd, @bepolymathe, @AndyEveritt, @lindsaylearns, @tomsymonds, @wedgen, @poulpoulsen, and @misolex for the related requests and discussion.
- (#1166) \`Blocked task review\` provides a reminder-style review for blocked tasks without automatically deleting dependency links. Thanks to @jpmoo and @jortscity for the request and follow-up.
- Added a versioned TaskNotes JavaScript runtime API for companion plugins, with namespaced model validation, canonical task query validation/normalization/explain helpers, catalogs, query/support helpers, lifecycle events, typed errors/results, task, time-tracking, Pomodoro, recurring-task, settings, NLP, event, and extension-registry surfaces. Runtime API mutations carry source and correlation metadata so companion plugins can debug and coordinate workflow runs. See [JavaScript API](https://tasknotes.dev/javascript-api/).
- Added documentation for the companion-plugin model. See [Companion Plugins](https://tasknotes.dev/companion-plugins/).
- (#288, #345, #361, #523, #573, #703, #925, #929, #1115, #1137, #1260, #1303, #1324, #1394, #1445, #1509, #1735, #1736, #1743, #1780, #1874, #1951, #1974) Added support for TaskNotes spec 0.2.0 materialized occurrences, including recurrence parent/date fields, generated mdbase schema roles, parent reconciliation when occurrence notes are completed, occurrence notes that inherit parent planning metadata without copying history, occurrence note controls in task, calendar, and edit-modal completion menus, and visible occurrence identity on task cards. This gives recurring tasks a concrete occurrence-note path for per-instance state, related notes, subtasks, templates, scheduling changes, completion history, and calendar behavior without forcing every recurring task to create files. See [Recurring Tasks](https://tasknotes.dev/features/recurring-tasks/#materialized-occurrence-notes) and [Property Types Reference](https://tasknotes.dev/settings/property-types-reference/#materialized-occurrence-properties). Thanks to @LuxBetancourt, @jerzy-dudzic, @luciolebrillante, @BryanWall, @jhedlund, @kazerniel, @nschenone, @realJohnDoe, @cathywu, @Lorite, @EllenGYY, @JcMinarro, @gsssr, @slipstyle, @3zra47, @Leonard-44, @ak-42, @RumiaKitinari, @atos2212-blip, @kmaustral, @eugenedefox, @notDavid, @zitongcharliedeng, and @Jomo94 for the related recurrence, occurrence, completion, and calendar requests.
- (#1951) Added Calendar support for recurring tasks stretched between scheduled and due dates when the existing stretch option is enabled. Date-only ranges stay as all-day spans, and timed ranges render once per day in the range. Thanks to @atos2212-blip for the request.
- (#1751, #1792, #1969) Added a Task List and Kanban view option to hide top-level subtasks when their parent task is also in the filtered view, while still allowing inherited expanded relationships to show the subtasks under the parent. Thanks to @Glint-Eye and @Proxybat for the request and follow-up, and @stanley-910 and @Spencerduran for the earlier PRs.
## Changed
- Moved core TaskNotes model behavior for field mapping, dates, recurrence, time-tracking, and adapter operation planning into a shared package used by the plugin and companion tooling.
- Calendar views now coalesce materialized occurrence notes with their matching virtual recurring instances. Dragging a materialized occurrence reschedules that occurrence note without changing the parent recurrence rule or the note's \`occurrence_date\` identity. See [Recurring Tasks](https://tasknotes.dev/features/recurring-tasks/#calendar-drag-and-drop).
- Improved the Calendar Bases View Options menu by splitting settings into clearer groups and hiding view-specific controls until they apply to the selected calendar mode.
## Fixed
- (#1976) Fixed embedded Calendar and Agenda Bases so "Navigate to date from property" can use the containing note's date property when the Base rows do not have that property. Thanks to @matesvecenik for reporting this.
- (#1977) Fixed Calendar and Agenda views showing duplicate all-day entries when a task's scheduled date and due date are the same day. Timed due dates on the same day still show as separate deadline markers. Thanks to @pdgBC for reporting this.
- Fixed the release notes view using cramped interface typography instead of regular reading typography.
- (#216) Improved inline conversion for Tasks plugin task lines, including Dataview-style fields, priority markers, recurrence text, date aliases, block links, and safer trailing-field parsing. Thanks to @ksdavidc for the request, @natleahh for the Dataview example, and @hangryscribe3 and @nayatiuh for the discussion.
- (#1974) Stopped Calendar and Agenda property-based events from logging date parse errors for entries that do not have the selected date property. Thanks to @Jomo94 for suggesting completed-date Agenda events.
- (#1973) Reduced unnecessary Calendar view recreations when external calendar providers are reported in a different order, and preserved Calendar scroll position when a config-driven refresh has to recreate the view. Thanks to @e-zz for reporting this.
- (#1972) Fixed ICS calendar event related notes so standalone events with similar numeric IDs no longer show unrelated notes or tasks on every event. Thanks to @ks-studio-net for reporting this.
- (#1970) Fixed generated default Base filters so updating default files applies configured excluded folders to TaskNotes task views. Thanks to @henrim01 for reporting that templates could still appear in regenerated views.
- (#1968) Fixed inline task link overlays collapsing on Obsidian mobile, which could hide the task title and leave a tall empty gap after the widget. Thanks to @renatomen for reporting and diagnosing the containment issue.
`});var jPe,BPe=y(()=>{jPe=`# TaskNotes 4.9.2
## Added
- (#1791) Added collapse and expand controls for grouped Bases Task List views, including a default collapsed state option.
- Thanks to @renatomen for the contribution.
## Fixed
- Fixed Pomodoro storage migration so existing plugin-data history is written to daily notes before switching storage, and clarified that daily notes can come from either the core Daily Notes plugin or Periodic Notes.
- (#1964) Fixed Microsoft Calendar OAuth so connecting no longer forces a fresh consent prompt every time, and clarified the Microsoft desktop app setup steps.
- Thanks to @thechonta for reporting.
- (#1966) Fixed custom priority icons so they render as icons instead of filled squares on task cards.
- Thanks to @sruiz-savia for reporting.
- (#1963) Fixed Google Calendar sync so duplicate event ID fields are repaired when saving task calendar metadata.
- Thanks to @christenbc for reporting.
- (#1961) Fixed the default custom filename template so it uses the recommended double-brace syntax and no longer warns on first use.
- Thanks to @chmac for reporting.
- (#1962) Fixed task tag normalization so tags entered with spaces are saved with hyphens for Obsidian tag compatibility.
- Thanks to @christenbc for reporting.
- (#1959) Fixed the MCP \`tasknotes_list_tasks\` tool so circular internal task data and live Obsidian object references no longer break task-list responses.
- Thanks to @kmaustral for reporting.
- (#1957) Fixed the Pomodoro timer layout in vertically split panes so the timer header and progress circle remain reachable when the pane is short.
- Thanks to @sumiyalairu03 for reporting.
- (#1956) Fixed Google Calendar sync so completing a recurring task updates the linked event title with the completion checkmark.
- Thanks to @jacksoluke for reporting.
- (#1953) Fixed inline task conversion so source-line wikilinks no longer create nested wikilinks in the replacement link text.
- Thanks to @bgk0018 for reporting.
- (#1952) Fixed Pomodoro task picker search results so matching task titles are ranked and sorted ahead of due-date ordering.
- Thanks to @KFrancoD for reporting.
- (#1392, #1949) Fixed due and scheduled date picker fields so typed or pasted date edits stay open until you choose Select, including compact \`YYYYMMDD\` entry when a date is already set.
- Thanks to @kazerniel for reporting and following up.
- (#982, #1947) Restored larger mobile task-card typography and let secondary card icons wrap below the task details when they no longer fit comfortably on mobile.
- Thanks to @3zra47 for reporting the font-size regression, @chrsdk and @scottaltham-payroc for confirming the mobile font-size issue, and @Jomo94 for reporting the mobile card layout problem.
`});var UPe,HPe=y(()=>{UPe=`# TaskNotes 4.9.1
## Added
- (#1885) Added Shift+arrow keyboard range selection while bulk task selection mode is active.
- Thanks to @chrabia for suggesting bulk selection improvements and @sumiyalairu03 for the keyboard selection idea.
## Fixed
- (#781, #1085) Fixed Outlook-published ICS calendar events appearing at the wrong time when their feed used Windows timezone names without matching timezone definitions.
- Thanks to @chrlaney for reporting and @mjkrasny for confirming the Outlook timezone case.
- (#1696) Fixed Google Calendar export for scheduled recurring tasks when a single occurrence is moved to a different date.
- Keeps the recurring master event on its original rule, excludes the original occurrence date, and syncs the moved occurrence as a detached event.
- Thanks to @martin-forge for reporting and contributing the fix.
- (#1912) Fixed "Create subtask" inserting the full path of the parent task in the Projects field instead of using the normal Obsidian link text.
- Thanks to @pkuehne for reporting and @benmartinek for confirming.
- (#1921) Fixed Google Calendar and auto-archive updates not running after direct task file edits.
- TaskNotes now picks up status, completion, and date changes made directly in a task file without triggering a large one-time Google Calendar rewrite at startup.
- Recovery also removes stale Google Calendar links when task files were deleted or replaced outside TaskNotes.
- Thanks to @martin-forge for reporting and contributing the fix.
- (#1938) Fixed partial HTTP API task updates rewriting native tags with \`#\` prefixes or duplicate task tags.
- Thanks to @joseluisgonzalezdelgado-ctrl for reporting.
- (#1939) Fixed the task Details field rendering as a small nested textarea when the embedded editor falls back.
- Thanks to @g-arthurvanderbilt for reporting and @cookbr for confirming the desktop impact.
- Fixed tag and modal preview edge cases found during validation: double-hash tags no longer match the task tag, empty tag lists stay empty when read back, and natural-language previews remain visible when enabled.
- (#1941) Fixed mobile Kanban boards scrolling the whole board vertically instead of keeping each list independently scrollable.
- Thanks to @pxxush for reporting.
- (#1943) Fixed MCP task-query tool instructions so filter operators match the operators TaskNotes actually accepts.
- Thanks to @jordankbartos for reporting and proposing a fix in #1944.
- (#1945) Fixed Google Calendar export so overlapping sync services do not create duplicate events for the same task while the saved event ID is still catching up.
- Thanks to @martin-forge for reporting and contributing the fix.
- (#1946) Fixed the bottom task in virtualized Task List Bases being partially hidden behind Obsidian's mobile bottom bar.
- Thanks to @3zra47 for reporting.
- (#1947) Fixed mobile Task List cards with left-positioned subtask chevrons so the chevron remains visible and project/detail badges stay on the main row.
- Thanks to @Jomo94 for reporting.
- (#1948) Fixed Agenda Calendar Bases so completed recurring instances can appear on their recorded completion dates, even when recurring task projections are hidden or the completion date is outside the recurrence pattern.
- Thanks to @Jomo94 for reporting.
`});var VPe,qPe=y(()=>{VPe=`# TaskNotes 4.9.0
## Security
- (#1923) Restricted the HTTP API server to loopback and limited browser CORS access to loopback origins.
- Thanks to @martin-forge for reporting.
## Added
- (#1932) Added middle-click support for opening task cards in a new tab.
- Thanks to @imsuck for the request.
## Fixed
- (#1934) Fixed custom priority colors being overridden by default task-card priority styles in views.
- Thanks to @KittehBit for reporting.
- (#1933) Added the note path to fallback frontmatter parse warnings so malformed task YAML is easier to find.
- Thanks to @rayvermey for reporting.
- (#1931) Made the Pomodoro task chooser open from cached task data and ignore repeated clicks while it is already opening.
- Thanks to @sumiyalairu03 for reporting.
- (#1930) Fixed starting the Pomodoro timer from its hotkey without starting time tracking for the selected Pomodoro task.
- Thanks to @sumiyalairu03 for reporting.
- (#1929) Fixed the bottom Relationships widget overlapping embedded content such as Bases/Kanban views in task notes.
- Thanks to @rchaklashiya for reporting and following up with the embed case.
- (#1922) Restored the native color picker alongside manual color text entry in Create/Edit Timeblock fields.
- Thanks to @AndreMonthy for reporting.
- (#1921) Fixed direct frontmatter edits to lifecycle-relevant task fields not triggering Google Calendar sync or auto-archive side effects.
- Thanks to @martin-forge for reporting and verifying the direct-edit reproduction.
- (#1919) Fixed the Pomodoro view rapidly resizing at certain sidebar sizes.
- Thanks to @RumiaKitinari for reporting.
- (#1898, #1907) Fixed Calendar time labels shifting into the middle of Day and sidebar calendar grids after switching views.
- Thanks to @ddevaal for reporting and confirming the regression, and to @kmaustral for confirming the sidebar case in 4.8.1.
- (#1936) Added a Calendar Base drag/drop resolution option so events can snap to smaller increments than the visible time slot grid.
- Thanks to @benmartinek for suggesting this.
- Improved mobile task cards, inline widgets, modals, and settings layouts so dense controls and long labels fit more comfortably on small screens.
- (#1916) Fixed Markdown task links using Obsidian's generated filename label instead of the TaskNote title in the task link overlay.
- Thanks to @minchinweb for reporting.
- (#1911) Fixed recurrence choices starting from today instead of the selected calendar date when creating a task from Calendar view.
- Thanks to @mikhailmarka for reporting.
- (#1912) Fixed "Create subtask" pre-filling the parent task's full folder path in the Projects field instead of using the normal Obsidian link text.
- Thanks to @pkuehne for reporting and @benmartinek for confirming.
`});var WPe,YPe,GPe=y(()=>{zPe();BPe();HPe();qPe();WPe="4.10.0",YPe=[{version:"4.10.0",content:$Pe,date:"2026-06-01T21:50:12+10:00",isCurrent:!0},{version:"4.9.2",content:jPe,date:"2026-05-30T05:43:04+10:00",isCurrent:!1},{version:"4.9.1",content:UPe,date:"2026-05-26T18:40:45+10:00",isCurrent:!1},{version:"4.9.0",content:VPe,date:"2026-05-24T09:35:31+10:00",isCurrent:!1}]});function Qct(r){try{return decodeURIComponent(r)}catch(e){return r}}function Jct(r){let e=r.trim();return e.startsWith("<")&&e.endsWith(">")?e.slice(1,-1).trim():e}function PO(r){var i;if(!r)return"";let e=Qct(Jct(r));return((i=e.split(/[#!^]/)[0])!=null?i:e).replace(/^\/+/,"").replace(/\.md$/i,"").trim()}function KPe(r){var n;let e=PO(r),t=e.split("/").filter(Boolean);return(n=t[t.length-1])!=null?n:e}function c3(r,e,t){let n=PO(r);if(!n||!e)return!1;let i=PO(e),a=PO(t),s=new Set([i,KPe(i)]);return a&&(s.add(a),s.add(KPe(a))),s.has(n)}function _T(r,e,t){let n=r==null?void 0:r.trim();if(n&&!c3(n,e,t))return n}var MO=y(()=>{});var d3={};et(d3,{TaskLinkDetectionService:()=>vD});var Tg,vD,_O=y(()=>{Tg=require("obsidian");G();MO();vD=class{constructor(e,t){this.linkCache=new Map;this.plugin=e,this.logger=t!=null?t:I({tag:"TaskLinkDetectionService",isDebugEnabled:()=>e.settings.enableDebugLogging})}async detectTaskLink(e,t,n="wikilink"){let i=n==="wikilink"?this.parseWikilink(e):this.parseMarkdownLink(e);if(!i)return{isValidTaskLink:!1};let{linkPath:a,displayText:s}=i,o=`${t}:${a}`,l=this.linkCache.get(o);if(l){let p=this.plugin.app.vault.getAbstractFileByPath(a);if(p instanceof Tg.TFile&&p.stat.mtime===l.lastModified)return l.result}let c=this.resolveLinkPath(a,t);if(!c){let p={isValidTaskLink:!1};return this.cacheResult(o,p,0),p}let d=this.plugin.app.vault.getAbstractFileByPath(c);if(!(d instanceof Tg.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=n==="markdown"?_T(s,p.path,a):s,f={isValidTaskLink:!0,taskPath:c,taskInfo:p,displayText:m};return this.cacheResult(o,f,d.stat.mtime),f}}catch(p){this.logger.debug("Error checking task info for link",{category:"stale-data",operation:"detect-task-link",details:{resolvedPath:c},error:p})}let u={isValidTaskLink:!1};return this.cacheResult(o,u,d.stat.mtime),u}parseWikilink(e){let t=e.slice(2,-2).trim();if(!t)return null;let n=t.indexOf("|");if(n!==-1){let a=t.slice(0,n).trim(),s=t.slice(n+1).trim();return!a||!s?null:{linkPath:(0,Tg.parseLinktext)(a).path,displayText:s}}let i=(0,Tg.parseLinktext)(t);return{linkPath:i.path,displayText:i.subpath||void 0}}parseMarkdownLink(e){let t=e.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(!t)return null;let n=t[1].trim(),i=t[2].trim();if(i.startsWith("<")&&i.endsWith(">")&&(i=i.slice(1,-1).trim()),!i)return null;try{i=decodeURIComponent(i)}catch(s){this.logger.debug("Failed to decode URI component",{category:"validation",operation:"parse-markdown-link",details:{linkPath:i},error:s})}let a=(0,Tg.parseLinktext)(i);return{linkPath:a.path,displayText:n||a.subpath||void 0}}resolveLinkPath(e,t){try{let n=this.plugin.app.metadataCache.getFirstLinkpathDest(e,t);return(n==null?void 0:n.path)||null}catch(n){return this.logger.debug("Error resolving link path",{category:"provider",operation:"resolve-link-path",details:{linkPath:e,sourcePath:t},error:n}),null}}cacheResult(e,t,n){if(this.linkCache.set(e,{result:t,lastModified:n}),this.linkCache.size>1e3){let i=this.linkCache.keys().next().value;this.linkCache.delete(i)}}clearCacheForFile(e){for(let[t]of this.linkCache)t.includes(e)&&this.linkCache.delete(t)}clearCache(){this.linkCache.clear()}findWikilinks(e){let t=[],n=/\[\[([^\]]+)\]\]/g,i;for(;(i=n.exec(e))!==null;)t.push({match:i[0],start:i.index,end:i.index+i[0].length,type:"wikilink"});let a=/\[([^\]]*)\]\(([^)]+)\)/g;for(n.lastIndex=0;(i=a.exec(e))!==null;)t.push({match:i[0],start:i.index,end:i.index+i[0].length,type:"markdown"});return t.sort((s,o)=>s.start-o.start)}cleanup(){this.linkCache.clear()}}});var ZPe,kg,u3=y(()=>{ZPe=require("@codemirror/view");AO();la();xc();Ne();kg=class r extends ZPe.WidgetType{constructor(e,t,n,i,a=vn(new Date)){super(),this.taskInfo=e,this.plugin=t,this.originalText=n,this.displayText=i,this.targetDate=a,this.targetDateKey=ce(a)}toDOM(e){let t=this.plugin.settings.inlineVisibleProperties||["status","priority","due","scheduled","recurrence"],n=Ra(t,this.plugin),i=activeDocument.createElement("span");i.className="tasknotes-plugin tasknotes-inline-widget",i.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),i.classList.add("tn-static-display-inline-cccfa456"),i.classList.add("tn-static-vertical-align-baseline-657d9c46");let a=Sr(this.taskInfo,this.plugin,n,{layout:"inline",targetDate:this.targetDate,displayText:this.displayText});return i.appendChild(a),a.dataset.originalText=this.originalText,a.addEventListener("tasknotes:task-updated",()=>{window.setTimeout(()=>{e&&typeof e.dispatch=="function"&&Om(e,this.taskInfo.path)},50)}),i}eq(e){return e instanceof r?this.taskInfo.path===e.taskInfo.path&&this.taskInfo.status===e.taskInfo.status&&this.taskInfo.title===e.taskInfo.title&&this.taskInfo.priority===e.taskInfo.priority&&this.taskInfo.archived===e.taskInfo.archived&&this.taskInfo.due===e.taskInfo.due&&this.taskInfo.scheduled===e.taskInfo.scheduled&&this.taskInfo.recurrence===e.taskInfo.recurrence&&this.displayText===e.displayText&&this.targetDateKey===e.targetDateKey&&JSON.stringify(this.taskInfo.complete_instances)===JSON.stringify(e.taskInfo.complete_instances)&&JSON.stringify(this.taskInfo.skipped_instances)===JSON.stringify(e.taskInfo.skipped_instances)&&this.taskInfo.dateModified===e.taskInfo.dateModified:!1}ignoreEvent(e){return e.type==="mousedown"||e.type==="click"}get estimatedHeight(){return-1}get block(){return!1}}});function Xct(r){let e=new Map,t=new Map;return Bl.ViewPlugin.fromClass(class{constructor(n){this.eventListeners=[];this.view=n,this.decorations=this.buildDecorations(n),this.setupEventListeners()}destroy(){this.eventListeners.forEach(n=>{r.emitter.offref(n)}),this.eventListeners=[]}setupEventListeners(){let n=r.emitter.on(ea,()=>{this.refreshDecorations()}),i=r.emitter.on(nt,()=>{this.refreshDecorations()}),a=r.emitter.on(Ja,l=>{l!=null&&l.path&&t.delete(l.path),this.refreshDecorations()}),s=r.emitter.on(xp,()=>{t.clear(),this.refreshDecorations()}),o=r.emitter.on("settings-changed",()=>{this.refreshDecorations()});this.eventListeners.push(n,i,a,s,o)}refreshDecorations(){this.view&&typeof this.view.dispatch=="function"&&queueMicrotask(()=>{try{e.clear(),this.view.dispatch({effects:[IO.of({})]})}catch(n){bD.error("Error dispatching task link update:",{category:"validation",operation:"dispatching-task-link-update",error:n})}})}update(n){var a,s;if(this.view=n.view,!((a=r==null?void 0:r.settings)!=null&&a.enableTaskLinkOverlay)){this.decorations=Bl.Decoration.none;return}try{if(!n.state.field(Ul.editorLivePreviewField)){this.decorations=Bl.Decoration.none;return}}catch(o){this.decorations=Bl.Decoration.none;return}let i=n.transactions.some(o=>o.effects.some(l=>l.is(IO)));if(n.docChanged||n.selectionSet||i){if(i){let o=(s=n.transactions.flatMap(l=>l.effects).find(l=>l.is(IO)))==null?void 0:s.value;if(o!=null&&o.taskPath)for(let[l]of e.entries())l.includes(o.taskPath)&&e.delete(l);else e.clear()}this.decorations=this.buildDecorations(n.view)}}buildDecorations(n){var i,a;try{if(!((i=r==null?void 0:r.settings)!=null&&i.enableTaskLinkOverlay))return Bl.Decoration.none;if(!n.state.field(Ul.editorLivePreviewField))return Bl.Decoration.none;let o=n.state.field(Ul.editorInfoField,!1),l=(a=o==null?void 0:o.file)==null?void 0:a.path;return edt(n.state,r,e,l,t)}catch(s){return bD.error("Error building task link decorations:",{category:"persistence",operation:"building-task-link-decorations",error:s}),Bl.Decoration.none}}},{decorations:n=>n.decorations})}function edt(r,e,t,n,i){var l,c;let a=new NO.RangeSetBuilder;if(!r||!e||!t)return a.finish();let s=r.doc;if(!s||!e.app||!e.app.workspace)return a.finish();let o=e.taskLinkDetectionService||new vD(e);if(!n){let d=e.app.workspace.getActiveViewOfType(Ul.MarkdownView);if(!d)return a.finish();n=(l=d.file)==null?void 0:l.path}if(!n||typeof n!="string"||n.length===0)return a.finish();try{let d=s.toString();if(typeof d!="string"||d.length>1e5)return a.finish();let u=(c=r.selection)==null?void 0:c.main.head,p=o.findWikilinks(d);if(!Array.isArray(p))return a.finish();for(let m of p)try{if(!m||typeof m.match!="string"||typeof m.start!="number"||typeof m.end!="number"||m.start<0||m.end<=m.start||m.start>=d.length||m.end>d.length||e.settings.disableOverlayOnAlias&&m.type==="wikilink"&&m.match.includes("|"))continue;let f=m.type==="wikilink"?tdt(m.match):rdt(m.match);if(!f)continue;let{linkPath:h}=f;if(!h||typeof h!="string"||h.trim().length===0)continue;let g=ndt(h,n,e);if(!g)continue;let v=idt(g,e);if(v){if(!v.title||typeof v.title!="string"||u!==void 0&&u>=m.start&&u<m.end)continue;let k=`${g}-${m.start}-${m.end}`,b=m.type==="markdown"?_T(f.displayText,v.path,h):f.displayText,w=new kg(v,e,m.match,b),S=t.get(k);(!S||!S.eq(w))&&t.set(k,w),i==null||i.set(g,w);let x=Bl.Decoration.replace({widget:t.get(k),inclusive:!0});a.add(m.start,m.end,x)}else if(i!=null&&i.has(g)){if(u!==void 0&&u>=m.start&&u<m.end)continue;let k=i.get(g);if(!k)continue;let b=`${g}-${m.start}-${m.end}`;t.set(b,k);let w=Bl.Decoration.replace({widget:k,inclusive:!0});a.add(m.start,m.end,w)}}catch(f){continue}}catch(d){bD.error("Error in buildTaskLinkDecorations:",{category:"persistence",operation:"buildtasklinkdecorations",error:d})}return a.finish()}function tdt(r){if(!r||typeof r!="string"||r.length<4||!r.startsWith("[[")||!r.endsWith("]]"))return null;let e=r.slice(2,-2).trim();if(!e||e.length===0||e.length>500)return null;let t=e.indexOf("|");if(t!==-1){let i=e.slice(0,t).trim(),a=e.slice(t+1).trim();if(!i||!a)return null;let s=(0,Ul.parseLinktext)(i);return s.path?{linkPath:s.path,displayText:a}:null}let n=(0,Ul.parseLinktext)(e);return n.path?{linkPath:n.path,displayText:n.subpath||void 0}:null}function rdt(r){if(!r||typeof r!="string")return null;let e=r.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(!e)return null;let t=e[1].trim(),n=e[2].trim();if(n.startsWith("<")&&n.endsWith(">")&&(n=n.slice(1,-1).trim()),!n||n.length===0||n.length>500)return null;try{n=decodeURIComponent(n)}catch(a){}let i=(0,Ul.parseLinktext)(n);return i.path?{linkPath:i.path,displayText:t||i.subpath||void 0}:null}function ndt(r,e,t){if(!r||typeof r!="string"||r.trim().length===0||!e||typeof e!="string"||!t||!t.app||!t.app.metadataCache)return null;try{let n=t.app.metadataCache.getFirstLinkpathDest(r,e);return!n||!n.path||typeof n.path!="string"?null:n.path}catch(n){return null}}function idt(r,e){if(!r||typeof r!="string"||r.trim().length===0||!e)return null;try{let t=/[<>:"|?*]/,n=r.split("").some(s=>{let o=s.charCodeAt(0);return o<=31||o===127});if(t.test(r)||n)return null;let i=e.cacheManager;if(!i||!i.getCachedTaskInfoSync)return null;let a=i.getCachedTaskInfoSync(r);return a&&typeof a=="object"&&a.title?a:null}catch(t){return null}}function QPe(r){return Xct(r)}function Om(r,e){if(!r||typeof r.dispatch!="function"){bD.warn("Invalid EditorView passed to dispatchTaskUpdate:",{category:"validation",operation:"invalid-editorview-passed-dispatchtaskupdate",details:{value:r}});return}try{r.dispatch({effects:[IO.of({taskPath:e})]})}catch(t){bD.error("Error dispatching task update:",{category:"validation",operation:"dispatching-task-update",error:t})}}var NO,Bl,Ul,bD,IO,AO=y(()=>{NO=require("@codemirror/state"),Bl=require("@codemirror/view"),Ul=require("obsidian");Ur();_O();u3();G();MO();bD=I({tag:"Editor/TaskLinkOverlay"}),IO=NO.StateEffect.define()});var AT,p3=y(()=>{AT=class{constructor(){this.states=new WeakMap}schedule(e,t){let n=this.getState(e);if(n.version+=1,n.running){n.rerun=!0;return}n.running=!0,this.runLoop(e,t)}getState(e){let t=this.states.get(e);return t||(t={running:!1,rerun:!1,version:0},this.states.set(e,t)),t}async runLoop(e,t){let n=this.getState(e);try{do{n.rerun=!1;let i=n.version;await t({isCurrent:()=>{var a;return((a=this.states.get(e))==null?void 0:a.version)===i}})}while(n.rerun)}finally{n.running=!1,n.rerun&&(n.running=!0,this.runLoop(e,t))}}}});function JPe(r){return!!(r!=null&&r.closest(".canvas-node-content"))}function e0e(r){if(!r||typeof r!="object")return!1;let e=r;return"parent"in e&&e.parent==null}function m3(r){return!!(r!=null&&r.closest(adt))}function RO(r,e=sdt){if(JPe(r.dom))return!1;if(m3(r.dom))return!0;try{let t=r.state.field(XPe.editorInfoField,!1);return e0e(t==null?void 0:t.leaf)?!0:JPe(t==null?void 0:t.containerEl)?!1:m3(t==null?void 0:t.containerEl)}catch(t){return e.debug("Error checking markdown widget editor context",{category:"provider",operation:"check-editor-context",error:t}),!1}}function OO(r){var t;if(e0e(r))return!0;let e=(t=r.view)==null?void 0:t.containerEl;return m3(e)}var XPe,adt,sdt,f3=y(()=>{XPe=require("obsidian");G();adt=[".blp-inline-edit-root",".internal-embed.markdown-embed",".markdown-embed",".popover.hover-popover"].join(", "),sdt=I({tag:"MarkdownWidgetContext"})});function odt(r,e){let t=e;for(;t!=null&&t.parentElement&&t.parentElement!==r;)t=t.parentElement;return(t==null?void 0:t.parentElement)===r?t:null}function ldt(r){for(let e=0;e<r.children.length;e++){let t=r.children.item(e);if(t!=null&&t.classList.contains("mod-header")&&t.classList.contains("mod-ui"))return t}return null}function cdt(r,e){for(let t=0;t<r.children.length;t++){let n=r.children.item(t);if(n!=null&&n.classList.contains(e))return n}return null}function ddt(r){var i;let e=r.querySelector(".metadata-container");if(e){let a=odt(r,e);return(i=a==null?void 0:a.nextSibling)!=null?i:null}let t=ldt(r);if(t)return t.nextSibling;let n=cdt(r,"markdown-preview-pusher");return n?n.nextSibling:r.firstChild}function wg(r,e){r.insertBefore(e,ddt(r))}function LO(r,e){let t=r.parentNode;return t?(t.insertBefore(e,r.nextSibling),!0):!1}var h3=y(()=>{});function i0e(r){return Array.from(r.children).filter(e=>e.instanceOf(HTMLElement))}function pdt(r,e){var s;let t=r.settings.projectAutosuggest;if(!t)return!1;let n=(s=t.requiredTags)!=null?s:[];if(n.some(o=>!o.trim().startsWith("-"))&&yr.matchesTagConditions(Sv(e),n))return!0;let a=kv(t);return a.enabled&&wv(e==null?void 0:e.frontmatter,a)}function FO(r,e,t){var n;return!!((n=r.dependencyCache)!=null&&n.isFileUsedAsProject(e.path)||pdt(r,t))}function mdt(r){var n;let e=r.querySelector(".cm-content");if(e)return(n=e.closest(".cm-contentContainer"))!=null?n:e;let t=i0e(r).filter(i=>!i.classList.contains(TD)&&!i.classList.contains("embedded-backlinks")&&!i.classList.contains("markdown-preview-pusher")&&!i.classList.contains("mod-footer"));return t.length>0?t[t.length-1]:null}function t0e(r){let e=Number.parseFloat(r);return Number.isFinite(e)?e:null}function fdt(r){var a;let t=((a=r.ownerDocument.defaultView)!=null?a:window).getComputedStyle(r),n=t0e(t.marginTop);if(n!==null)return n;let i=t0e(t.fontSize);return i!==null?i*1.5:24}function r0e(r){let e=r.getBoundingClientRect();return e.width<=0&&e.height<=0?null:e.bottom}function hdt(r){let e=r0e(r);return r.querySelectorAll("*").forEach(t=>{let n=r0e(t);n!==null&&(e===null||n>e)&&(e=n)}),e}function gdt(r){let e=null;for(let t of r){let n=hdt(t);n!==null&&(e===null||n>e)&&(e=n)}return e}function a0e(r,e){e.style.removeProperty("--tn-relationships-widget-margin-top");let t=r.querySelector(".cm-content");if(!t)return;let n=i0e(t).filter(o=>o.classList.contains("cm-line")),i=gdt(n),a=t.closest(".cm-contentContainer");if(i===null||!a)return;let s=Math.max(0,Math.round(a.getBoundingClientRect().bottom-i));if(s>0){let o=fdt(e),l=Math.round(o-s);e.style.setProperty("--tn-relationships-widget-margin-top",`${l}px`)}}function s0e(r,e){let t=mdt(r);t?LO(t,e):r.appendChild(e),a0e(r,e)}async function o0e(r,e){let t=activeDocument.createElement("div");t.className=`tasknotes-plugin ${TD}`,t.setAttribute("contenteditable","false"),t.setAttribute("spellcheck","false"),t.setAttribute("data-widget-type","relationships");let n=activeDocument.createElement("div");n.className="relationships__bases-container",t.appendChild(n);let i=new qo.Component;i.load(),t.component=i;try{let a=r.settings.commandFileMapping.relationships;if(!a){let o=activeDocument.createElement("div");return o.className="relationships__error",o.textContent="Relationships view not configured",n.appendChild(o),t}let s=`![[${a}]]`;await qo.MarkdownRenderer.render(r.app,s,n,e,i)}catch(a){ad.error("[TaskNotes] Error rendering Bases view in relationships widget:",{category:"internal",operation:"rendering-bases-view-relationships-widget",error:a});let s=activeDocument.createElement("div");s.className="relationships__error",s.textContent="Failed to load relationships view",n.appendChild(s)}return t}function l0e(r){return n0e.ViewPlugin.fromClass(class extends g3{constructor(e){super(e,r)}destroy(){super.destroy()}})}async function ydt(r,e,t){var l;let n=r.view;if(!(n instanceof qo.MarkdownView)||n.getMode()!=="preview"||OO(r))return;let i=n.file;if(!i||!e.settings.showRelationships)return;let a=!1,s=!1,o=e.app.metadataCache.getFileCache(i);if(o!=null&&o.frontmatter&&(a=e.cacheManager.isTaskFile(o.frontmatter)),s=FO(e,i,o),!a&&!s){try{n.previewMode.containerEl.querySelectorAll(`.${TD}`).forEach(u=>{var m;(m=u.component)==null||m.unload(),u.remove()})}catch(c){ad.debug("[TaskNotes] Error cleaning up relationships widget in reading mode:",{category:"persistence",operation:"cleaning-up-relationships-widget-reading-mode",error:c})}return}try{let d=n.previewMode.containerEl;d.querySelectorAll(`.${TD}`).forEach(h=>{var v;(v=h.component)==null||v.unload(),h.remove()});let u=e.settings.relationshipsPosition||"bottom",p=i.path,m=await o0e(e,p);if(t&&!t.isCurrent()){(l=m.component)==null||l.unload(),m.remove();return}let f=d.querySelector(".markdown-preview-sizer");if(!f){ad.warn("[TaskNotes] Could not find .markdown-preview-sizer for relationships in reading mode",{category:"stale-data",operation:"find-markdown-preview-sizer-relationships-reading-mode"});return}if(u==="top"){let h=f.querySelector(".tasknotes-task-card-note-widget");h?LO(h,m):wg(f,m)}else s0e(f,m)}catch(c){ad.error("[TaskNotes] Error injecting relationships widget in reading mode:",{category:"persistence",operation:"injecting-relationships-widget-reading-mode",error:c})}}function c0e(r){var f;let e=[],t=[],n=[],i=new AT,a=h=>{i.schedule(h,g=>ydt(h,r,g))},s=null,o=()=>{s&&window.clearTimeout(s),s=window.setTimeout(()=>{r.app.workspace.getLeavesOfType("markdown").forEach(g=>{a(g)})},100)},l=r.app.workspace.on("layout-change",o);e.push(l);let c=r.app.workspace.on("active-leaf-change",h=>{h&&a(h)});e.push(c);let d=new Map,u=r.app.metadataCache.on("changed",h=>{let g=d.get(h.path);g&&window.clearTimeout(g);let v=window.setTimeout(()=>{d.delete(h.path),r.app.workspace.getLeavesOfType("markdown").forEach(b=>{let w=b.view;w instanceof qo.MarkdownView&&w.file===h&&a(b)})},500);d.set(h.path,v)});t.push(u);let p=(f=r.dependencyCache)==null?void 0:f.on(om,o);return p&&n.push(p),r.app.workspace.getLeavesOfType("markdown").forEach(h=>{a(h)}),()=>{s&&window.clearTimeout(s),e.forEach(h=>r.app.workspace.offref(h)),t.forEach(h=>r.app.metadataCache.offref(h)),n.forEach(h=>{var g;return(g=r.dependencyCache)==null?void 0:g.offref(h)})}}var n0e,qo,ad,TD,udt,g3,d0e=y(()=>{n0e=require("@codemirror/view"),qo=require("obsidian");qV();p3();f3();h3();cu();W_();q_();G();ad=I({tag:"Editor/RelationshipsDecorations"}),TD="tasknotes-relationships-widget",udt="task-card-injected";g3=class{constructor(e,t){this.plugin=t;this.currentFile=null;this.currentWidget=null;this.widgetContainer=null;this.debounceTimer=null;this.eventListeners=[];this.dependencyCacheEventListeners=[];this.injectionRunId=0;this.bottomOffsetFrame=null;this.view=e,this.currentFile=this.getFileFromView(e),this.setupEventListeners(),this.debouncedInjectWidget(e)}update(e){this.view=e.view;let t=this.getFileFromView(e.view);t!==this.currentFile?(this.currentFile=t,this.debouncedInjectWidget(e.view)):(e.docChanged||e.geometryChanged||e.viewportChanged)&&this.scheduleBottomOffsetRefresh()}destroy(){this.injectionRunId++,this.debounceTimer&&(window.clearTimeout(this.debounceTimer),this.debounceTimer=null),this.bottomOffsetFrame!==null&&(window.cancelAnimationFrame(this.bottomOffsetFrame),this.bottomOffsetFrame=null),this.removeWidget(),this.eventListeners.forEach(e=>{this.plugin.emitter.offref(e)}),this.eventListeners=[],this.dependencyCacheEventListeners.forEach(e=>{var t;(t=this.plugin.dependencyCache)==null||t.offref(e)}),this.dependencyCacheEventListeners=[]}setupEventListeners(){var i;let e=this.plugin.emitter.on(udt,()=>{this.debouncedInjectWidget(this.view)});this.eventListeners.push(e);let t=this.plugin.emitter.on("settings-changed",()=>{this.debouncedInjectWidget(this.view)});this.eventListeners.push(t);let n=(i=this.plugin.dependencyCache)==null?void 0:i.on(om,()=>{this.debouncedInjectWidget(this.view)});n&&this.dependencyCacheEventListeners.push(n)}debouncedInjectWidget(e){this.debounceTimer&&window.clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(()=>{this.debounceTimer=null,this.injectWidget(e)},100)}scheduleBottomOffsetRefresh(){!this.currentWidget||!this.widgetContainer||(this.plugin.settings.relationshipsPosition||"bottom")!=="bottom"||(this.bottomOffsetFrame!==null&&window.cancelAnimationFrame(this.bottomOffsetFrame),this.bottomOffsetFrame=window.requestAnimationFrame(()=>{var e,t;this.bottomOffsetFrame=null,(e=this.currentWidget)!=null&&e.isConnected&&((t=this.widgetContainer)!=null&&t.isConnected)&&a0e(this.widgetContainer,this.currentWidget)}))}getFileFromView(e){try{let t=e.state.field(qo.editorInfoField,!1);return(t==null?void 0:t.file)||null}catch(t){return ad.debug("[TaskNotes] Error getting file from editor view:",{category:"persistence",operation:"getting-file-editor-view",error:t}),null}}isTableCellEditor(e){try{let t=e.dom;if(!t)return!1;if(RO(e)||t.closest("td, th")||t.closest(".cm-table-widget")||t.closest(".popover.hover-popover")||t.closest(".markdown-embed[data-type='footnote']"))return!0;let o=e.state.field(qo.editorInfoField,!1);if(!(o!=null&&o.file)){let l=t.parentElement,c=0,d=20;for(;l&&l!==activeDocument.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(t){return ad.debug("[TaskNotes] Error detecting table cell editor:",{category:"internal",operation:"detecting-table-cell-editor",error:t}),!1}}removeWidget(){var e;this.bottomOffsetFrame!==null&&(window.cancelAnimationFrame(this.bottomOffsetFrame),this.bottomOffsetFrame=null),this.currentWidget&&((e=this.currentWidget.component)==null||e.unload(),this.currentWidget.remove(),this.currentWidget=null),this.widgetContainer=null}cleanupOrphanedWidgets(e){try{let t=e.dom.closest(".workspace-leaf-content");if(!t){ad.debug("[TaskNotes] Could not find workspace-leaf-content for orphan cleanup",{category:"stale-data",operation:"find-workspace-leaf-content-orphan-cleanup"});return}t.querySelectorAll(`.${TD}`).forEach(n=>{var a;(a=n.component)==null||a.unload(),n.remove()}),this.currentWidget=null,this.widgetContainer=null}catch(t){ad.error("[TaskNotes] Error cleaning up orphaned relationships widgets:",{category:"stale-data",operation:"cleaning-up-orphaned-relationships-widgets",error:t})}}async injectWidget(e){var n,i;let t=++this.injectionRunId;if(this.removeWidget(),!this.isTableCellEditor(e)){this.cleanupOrphanedWidgets(e);try{if(!this.plugin.settings.showRelationships)return;let a=this.currentFile||this.getFileFromView(e);if(!(a instanceof qo.TFile))return;let s=!1,o=!1,l=this.plugin.app.metadataCache.getFileCache(a);if(l!=null&&l.frontmatter?(s=this.plugin.cacheManager.isTaskFile(l.frontmatter),o=FO(this.plugin,a,l)):o=FO(this.plugin,a,l),!s&&!o)return;let c=a.path,d=this.plugin.settings.relationshipsPosition||"bottom",u=(n=e.dom.closest(".markdown-source-view"))==null?void 0:n.querySelector(".cm-sizer");if(!u){ad.warn("[TaskNotes] Could not find .cm-sizer container for relationships widget",{category:"stale-data",operation:"find-cm-sizer-container-relationships-widget"});return}let p=await o0e(this.plugin,c);if(t!==this.injectionRunId){(i=p.component)==null||i.unload(),p.remove();return}if(this.cleanupOrphanedWidgets(e),this.currentWidget=p,this.widgetContainer=u,d==="top"){let m=u.querySelector(".tasknotes-task-card-note-widget");m?LO(m,p):wg(u,p)}else s0e(u,p),this.scheduleBottomOffsetRefresh()}catch(a){ad.error("[TaskNotes] Error injecting relationships widget:",{category:"internal",operation:"injecting-relationships-widget",error:a}),this.removeWidget()}}}}});function b3(r,e){let t=activeDocument.createElement("div");t.className=`tasknotes-plugin task-card-note-widget ${kD}`,t.setAttribute("contenteditable","false"),t.setAttribute("spellcheck","false"),t.setAttribute("data-widget-type","task-card"),t.setAttribute("data-task-path",e.path);let n=new Hl.Component;n.load(),t.component=n;let i=r.settings.defaultVisibleProperties?Ra(r.settings.defaultVisibleProperties,r):void 0,a=Sr(e,r,i);return a.classList.add("task-card-note-widget__card"),t.appendChild(a),t}function y3(r){r.querySelectorAll(`.${kD}`).forEach(e=>{var n;(n=e.component)==null||n.unload(),e.remove()})}function p0e(r){return r.querySelector(".markdown-preview-sizer")}function bdt(r){let e=r,t=r.ownerDocument.defaultView;for(;e;){let n=t==null?void 0:t.getComputedStyle(e);if(e.style.display==="none"||(n==null?void 0:n.display)==="none"||(n==null?void 0:n.visibility)==="hidden")return!0;e=e.parentElement}return!1}function m0e(r,e){if(r.isEditing||e.querySelector(".markdown-source-view, .cm-editor"))return!0;let t=p0e(e);return!!(t&&bdt(t))}function Tdt(r,e){let t=Array.from(e.querySelectorAll(`.${kD}`));if(t.length===0)return!0;let n=t.some(a=>a.parentElement===e),i=t.some(a=>!!a.closest(".markdown-preview-sizer"));return m0e(r,e)?!n:n||!i}function kdt(r){var i;let e=(i=r.view)==null?void 0:i.canvas,t=e==null?void 0:e.nodes,n=t==null?void 0:t.values;return typeof n!="function"?[]:Array.from(n.call(t))}function wdt(r){return typeof r.filePath=="string"&&r.filePath.trim()?r.filePath:typeof r.file=="string"&&r.file.trim()?r.file:r.file instanceof Hl.TFile?r.file.path:null}function f0e(r){return u0e.ViewPlugin.fromClass(class extends v3{constructor(e){super(e,r)}destroy(){super.destroy()}})}async function Sdt(r,e,t){var s;let n=r.view;if(!(n instanceof Hl.MarkdownView)||n.getMode()!=="preview"||OO(r))return;let i=n.file;if(!i||!e.settings.showTaskCardInNote)return;let a=e.cacheManager.getCachedTaskInfoSync(i.path);if(!a){try{let l=n.previewMode.containerEl;y3(l)}catch(o){sd.debug("[TaskNotes] Error cleaning up task card in reading mode:",{category:"persistence",operation:"cleaning-up-task-card-reading-mode",error:o})}return}try{let l=n.previewMode.containerEl;y3(l);let c=b3(e,a);if(t&&!t.isCurrent()){(s=c.component)==null||s.unload(),c.remove();return}let d=l.querySelector(".markdown-preview-sizer");if(!d){sd.warn("[TaskNotes] Could not find .markdown-preview-sizer for task card in reading mode",{category:"stale-data",operation:"find-markdown-preview-sizer-task-card-reading-mode"});return}wg(d,c)}catch(o){sd.error("[TaskNotes] Error injecting task card widget in reading mode:",{category:"persistence",operation:"injecting-task-card-widget-reading-mode",error:o})}}function h0e(r,e={}){if(r.settings.showTaskCardInNote)for(let t of r.app.workspace.getLeavesOfType("canvas"))for(let n of kdt(t)){let i=wdt(n),a=n.contentEl;if(!i||!a)continue;let s=m0e(n,a),o=a.querySelector(".markdown-source-view, .cm-editor");if(o!=null&&o.querySelector(`.${kD}`))continue;let l=p0e(a);if(!s&&!l||!e.force&&!Tdt(n,a))continue;let c=r.cacheManager.getCachedTaskInfoSync(i);if(y3(a),!c)continue;let d=b3(r,c);s?a.insertBefore(d,a.firstChild):l&&wg(l,d)}}function g0e(r){let e=[],t=[],n=[],i=[],a=[],s=new WeakSet,o=new AT,l=S=>{o.schedule(S,x=>Sdt(S,r,x))},c=null,d=null,u=(S={})=>{d&&window.clearTimeout(d),d=window.setTimeout(()=>{h0e(r,S),d=null},100)},p=()=>{for(let S of r.app.workspace.getLeavesOfType("canvas")){let x=S.view.containerEl;if(!x||s.has(x))continue;let C=new MutationObserver(()=>{u()});C.observe(x,{attributes:!0,attributeFilter:["class","style"],childList:!0,subtree:!0});let D=()=>{u({force:!0})};x.addEventListener("pointerdown",D,!0),x.addEventListener("focusin",D,!0),a.push(()=>{x.removeEventListener("pointerdown",D,!0),x.removeEventListener("focusin",D,!0)}),s.add(x),i.push(C)}},m=()=>{c&&window.clearTimeout(c),c=window.setTimeout(()=>{r.app.workspace.getLeavesOfType("markdown").forEach(x=>{l(x)}),p(),u({force:!0})},100)},f=r.app.workspace.on("layout-change",m);e.push(f);let h=r.app.workspace.on("active-leaf-change",S=>{S&&(l(S),p(),u())});e.push(h);let g=new Map,v=r.app.metadataCache.on("changed",S=>{let x=g.get(S.path);x&&window.clearTimeout(x);let C=window.setTimeout(()=>{g.delete(S.path),r.app.workspace.getLeavesOfType("markdown").forEach(_=>{let O=_.view;O instanceof Hl.MarkdownView&&O.file===S&&l(_)}),u({force:!0})},500);g.set(S.path,C)});t.push(v);let k=r.emitter.on(nt,m);n.push(k);let b=r.emitter.on(ea,m);return n.push(b),r.app.workspace.getLeavesOfType("markdown").forEach(S=>{l(S)}),p(),u({force:!0}),()=>{c&&window.clearTimeout(c),d&&window.clearTimeout(d),i.forEach(S=>S.disconnect()),a.forEach(S=>S()),e.forEach(S=>r.app.workspace.offref(S)),t.forEach(S=>r.app.metadataCache.offref(S)),n.forEach(S=>r.emitter.offref(S))}}var u0e,Hl,sd,kD,vdt,v3,y0e=y(()=>{u0e=require("@codemirror/view");Ur();Hl=require("obsidian");la();xc();p3();f3();h3();G();sd=I({tag:"Editor/TaskCardNoteDecorations"}),kD="tasknotes-task-card-note-widget",vdt="task-card-injected";v3=class{constructor(e,t){this.plugin=t;this.cachedTask=null;this.currentFile=null;this.eventListeners=[];this.currentWidget=null;this.widgetContainer=null;this.debounceTimer=null;this.view=e,this.currentFile=this.getFileFromView(e),this.setupEventListeners(),this.loadTaskForCurrentFile(e)}update(e){this.view=e.view;let t=this.getFileFromView(e.view);t!==this.currentFile&&(this.currentFile=t,this.loadTaskForCurrentFile(e.view))}destroy(){this.debounceTimer&&(window.clearTimeout(this.debounceTimer),this.debounceTimer=null),this.removeWidget(),this.eventListeners.forEach(e=>{this.plugin.emitter.offref(e)}),this.eventListeners=[]}setupEventListeners(){let e=()=>{this.debounceTimer&&window.clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(()=>{this.loadTaskForCurrentFile(this.view)},100)},t=this.plugin.emitter.on(ea,e),n=this.plugin.emitter.on(nt,e),i=this.plugin.emitter.on(Ja,e),a=this.plugin.emitter.on(xp,e),s=this.plugin.emitter.on("settings-changed",e);this.eventListeners.push(t,n,i,a,s)}removeWidget(){var e;this.currentWidget&&((e=this.currentWidget.component)==null||e.unload(),this.currentWidget.remove(),this.currentWidget=null),this.widgetContainer=null}cleanupOrphanedWidgets(e){var t;try{let n=(t=e.dom.closest(".canvas-node-content"))!=null?t:e.dom.closest(".workspace-leaf-content");if(!n){sd.debug("[TaskNotes] Could not find workspace-leaf-content for orphan cleanup",{category:"stale-data",operation:"find-workspace-leaf-content-orphan-cleanup"});return}n.querySelectorAll(`.${kD}`).forEach(i=>{var a;i!==this.currentWidget&&((a=i.component)==null||a.unload(),i.remove())})}catch(n){sd.error("[TaskNotes] Error cleaning up orphaned task card widgets:",{category:"stale-data",operation:"cleaning-up-orphaned-task-card-widgets",error:n})}}loadTaskForCurrentFile(e){var n,i,a,s,o,l,c,d,u,p,m,f,h;let t=this.getFileFromView(e);if(t instanceof Hl.TFile)try{let g=this.plugin.cacheManager.getCachedTaskInfoSync(t.path),v=b=>!(b!=null&&b.timeEntries)||b.timeEntries.length===0?!1:!b.timeEntries[b.timeEntries.length-1].endTime;(((n=this.cachedTask)==null?void 0:n.title)!==(g==null?void 0:g.title)||((i=this.cachedTask)==null?void 0:i.status)!==(g==null?void 0:g.status)||((a=this.cachedTask)==null?void 0:a.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(((f=this.cachedTask)==null?void 0:f.projects)||[])!==JSON.stringify((g==null?void 0:g.projects)||[])||JSON.stringify(((h=this.cachedTask)==null?void 0:h.complete_instances)||[])!==JSON.stringify((g==null?void 0:g.complete_instances)||[]))&&(this.cachedTask=g,this.injectWidget(e))}catch(g){sd.error("[TaskNotes] Error loading task for task note:",{category:"persistence",operation:"loading-task-task-note",error:g})}else this.cachedTask!==null&&(this.cachedTask=null,this.injectWidget(e))}getFileFromView(e){try{let t=e.state.field(Hl.editorInfoField,!1);return(t==null?void 0:t.file)||null}catch(t){return sd.debug("[TaskNotes] Error getting file from editor view:",{category:"persistence",operation:"getting-file-editor-view",error:t}),null}}isTableCellEditor(e){try{let t=e.dom;if(!t)return!1;if(RO(e)||t.closest("td, th")||t.closest(".cm-table-widget")||t.closest(".popover.hover-popover")||t.closest(".markdown-embed[data-type='footnote']"))return!0;let o=e.state.field(Hl.editorInfoField,!1);if(!(o!=null&&o.file)){let l=t.parentElement,c=0,d=20;for(;l&&l!==activeDocument.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(t){return sd.debug("[TaskNotes] Error detecting table cell editor:",{category:"persistence",operation:"detecting-table-cell-editor",error:t}),!1}}injectWidget(e){var t;if(this.removeWidget(),this.isTableCellEditor(e)){e.dom.closest(".canvas-node-content")&&window.setTimeout(()=>{h0e(this.plugin,{force:!0})},0);return}this.cleanupOrphanedWidgets(e);try{if(!this.plugin.settings.showTaskCardInNote||!this.cachedTask)return;let n=(t=e.dom.closest(".markdown-source-view"))==null?void 0:t.querySelector(".cm-sizer");if(!n){sd.warn("[TaskNotes] Could not find .cm-sizer container for task card widget",{category:"stale-data",operation:"find-cm-sizer-container-task-card-widget"});return}let i=b3(this.plugin,this.cachedTask);this.currentWidget=i,this.widgetContainer=n,wg(n,i),this.plugin.emitter.trigger(vdt,{container:n})}catch(n){sd.error("[TaskNotes] Error injecting task card widget:",{category:"persistence",operation:"injecting-task-card-widget",error:n}),this.removeWidget()}}}});function Edt(r){try{return decodeURIComponent(r)}catch(e){return r}}function wD(r){let e=Edt(r).trim();if(!e)return"";if(e.startsWith("app://"))try{e=new URL(e).pathname}catch(t){}return e=e.replace(/^\/+/,""),e=e.split("#")[0].trim(),e.endsWith(".md")&&(e=e.slice(0,-3)),e}function v0e(r){var n;let e=wD(r),t=e.split("/");return(n=t[t.length-1])!=null?n:e}function xdt(r,e){let t=wD(r),n=wD(e);return!t||!n?!1:t===n?!0:v0e(t)===v0e(n)}function Cdt(r){let e=[],t=/!?\[\[([^\]]+)\]\]/g,n;for(;(n=t.exec(r))!==null;){if(n[0].startsWith("!"))continue;let i=n[1].trim();if(!i)continue;let a=i.indexOf("|"),s=a===-1?i:i.slice(0,a),o=wD(s);o&&e.push({target:o,hasAlias:a!==-1})}return e}function Ddt(r,e,t){let n=wD(t);if(!n)return null;let i=()=>{for(let s=e.index;s<r.length;s++){let o=r[s];if(xdt(o.target,n))return e.index=s+1,o}return null},a=i();return a||(e.index>0?(e.index=0,i()):null)}function Pdt(r,e){return`${r}\0${e}`}function Mdt(){return{index:0}}function Adt(r){if(!r.disableOverlayOnAlias)return!1;if(r.hasExplicitAlias)return!0;let e=r.linkText.trim();return c3(e,r.taskPath,r.originalLinkPath)?!1:e!==r.originalLinkPath&&e!==r.taskTitle}function Idt(r,e){var t,n,i;try{return(i=(n=(t=r.getSectionInfo)==null?void 0:t.call(r,e))==null?void 0:n.text)!=null?i:""}catch(a){return""}}function b0e(r){return new T3(r).createPostProcessor()}var $O,_dt,T3,T0e=y(()=>{Ur();u3();G();MO();$O=I({tag:"Editor/ReadingModeTaskLinkProcessor"});_dt=".task-inline-preview--reading-mode[data-task-path]";T3=class{constructor(e){this.sourceLinkCursors=new Map;this.refreshTimer=null;this.pendingRefreshAll=!1;this.pendingRefreshTaskPaths=new Set;this.plugin=e,this.setupEventListeners()}createPostProcessor(){return(e,t)=>{var l,c,d;if(!this.plugin.settings.enableTaskLinkOverlay)return;let n=e.querySelectorAll("a"),i=Idt(t,e),a=Cdt(i),s=Pdt(t.sourcePath,i),o=(l=this.sourceLinkCursors.get(s))!=null?l:Mdt();this.sourceLinkCursors.set(s,o);for(let u of Array.from(n)){let p=u,m=p.getAttribute("href"),f=p.getAttribute("data-href")||m||"",h=a.length>0?Ddt(a,o,f):null;p.classList.contains("internal-link")?this.processLink(p,t.sourcePath,"internal",(c=h==null?void 0:h.hasAlias)!=null?c:!1):m&&!m.startsWith("http://")&&!m.startsWith("https://")&&!m.includes("://")&&this.processLink(p,t.sourcePath,"external",(d=h==null?void 0:h.hasAlias)!=null?d:!1)}}}async processLink(e,t,n,i){try{let a=e.getAttribute("href");if(!a)return;let s=a;if(n==="internal"){if(a.startsWith("app://")){let c=new URL(a);s=decodeURIComponent(c.pathname),s.startsWith("/")&&(s=s.substring(1))}}else{if(a.startsWith("http://")||a.startsWith("https://")||a.includes("://"))return;s=a}let o=this.resolveLinkPath(s,t);if(!o)return;let l=this.getTaskInfo(o);if(!l)return;await this.replaceWithTaskWidget(e,l,s,i)}catch(a){$O.debug("Error processing link in reading mode:",{category:"persistence",operation:"processing-link-reading-mode",error:a})}}setupEventListeners(){this.plugin.registerEvent(this.plugin.emitter.on(nt,e=>{var t,n,i,a;this.scheduleReadingModeWidgetRefresh((a=(n=e==null?void 0:e.path)!=null?n:(t=e==null?void 0:e.updatedTask)==null?void 0:t.path)!=null?a:(i=e==null?void 0:e.task)==null?void 0:i.path)})),this.plugin.registerEvent(this.plugin.emitter.on(Ja,e=>{this.scheduleReadingModeWidgetRefresh(e==null?void 0:e.path)})),this.plugin.registerEvent(this.plugin.emitter.on(ea,()=>{this.scheduleReadingModeWidgetRefresh()})),this.plugin.registerEvent(this.plugin.emitter.on(xp,()=>{this.scheduleReadingModeWidgetRefresh()})),this.plugin.registerEvent(this.plugin.emitter.on("settings-changed",()=>{this.scheduleReadingModeWidgetRefresh()})),this.plugin.register(()=>{this.refreshTimer!==null&&(window.clearTimeout(this.refreshTimer),this.refreshTimer=null)})}scheduleReadingModeWidgetRefresh(e){e?this.pendingRefreshAll||this.pendingRefreshTaskPaths.add(e):(this.pendingRefreshAll=!0,this.pendingRefreshTaskPaths.clear()),this.refreshTimer!==null&&window.clearTimeout(this.refreshTimer),this.refreshTimer=window.setTimeout(()=>{this.refreshTimer=null;let t=this.pendingRefreshAll?void 0:new Set(this.pendingRefreshTaskPaths);this.pendingRefreshAll=!1,this.pendingRefreshTaskPaths.clear(),this.refreshReadingModeWidgets(t)},100)}refreshReadingModeWidgets(e){let t=this.getReadingModeContainers();if(t.length!==0)for(let n of t){let i=Array.from(n.querySelectorAll(_dt));for(let a of i){let s=a.dataset.taskPath;if(!s||e&&!e.has(s))continue;if(!this.plugin.settings.enableTaskLinkOverlay){this.replaceWidgetWithOriginalLink(a);continue}let o=this.getTaskInfo(s);if(!o){this.replaceWidgetWithOriginalLink(a);continue}let l=a.dataset.originalLinkPath||o.path,c=a.dataset.originalText||o.title,d=a.dataset.displayText||void 0,u=new kg(o,this.plugin,c,d),p=this.createReadingModeWidget(u,o,l,c,d);a.replaceWith(p)}}}getReadingModeContainers(){var n,i,a,s,o;let e=(a=(i=(n=this.plugin.app.workspace).getLeavesOfType)==null?void 0:i.call(n,"markdown"))!=null?a:[],t=[];for(let l of e){let c=l.view;if(typeof c.getMode=="function"&&c.getMode()!=="preview")continue;let d=(o=(s=c.previewMode)==null?void 0:s.containerEl)!=null?o:c.containerEl;d&&t.push(d)}return t}replaceWidgetWithOriginalLink(e){let t=e.dataset.originalLinkPath;if(!t){e.remove();return}let n=activeDocument.createElement("a");n.className="internal-link",n.setAttribute("href",t),n.setAttribute("data-href",t),n.textContent=e.dataset.originalText||t,e.replaceWith(n)}resolveLinkPath(e,t){try{let n=this.plugin.app.metadataCache.getFirstLinkpathDest(e,t);return(n==null?void 0:n.path)||null}catch(n){return $O.debug("Error resolving link path:",{category:"persistence",operation:"resolving-link-path",details:{value:e},error:n}),null}}getTaskInfo(e){try{if(!e||typeof e!="string"||e.trim().length===0)return null;let t=this.plugin.cacheManager;if(!t||!t.getCachedTaskInfoSync)return null;let n=t.getCachedTaskInfoSync(e);return n&&typeof n=="object"&&n.title?n:null}catch(t){return $O.debug("Error getting task info for:",{category:"persistence",operation:"getting-task-info",details:{value:e},error:t}),null}}async replaceWithTaskWidget(e,t,n,i){var a;try{let s=e.textContent||`[[${n}]]`;if(Adt({disableOverlayOnAlias:this.plugin.settings.disableOverlayOnAlias,hasExplicitAlias:i,linkText:e.textContent||"",originalLinkPath:n,taskPath:t.path,taskTitle:t.title}))return;let o,l=e.textContent||"";i?o=l.trim()||void 0:l!==n&&l!==t.title&&(o=_T(l,t.path,n));let c=new kg(t,this.plugin,s,o),d=this.createReadingModeWidget(c,t,n,s,o);(a=e.parentNode)==null||a.replaceChild(d,e)}catch(s){$O.error("Error replacing wikilink with task widget:",{category:"persistence",operation:"replacing-wikilink-task-widget",error:s})}}createReadingModeWidget(e,t,n,i,a){let s={},o=e.toDOM(s);return o.classList.add("task-inline-preview--reading-mode"),o.dataset.taskPath=t.path,o.dataset.originalLinkPath=n,o.dataset.originalText=i,a&&(o.dataset.displayText=a),o}}});function Odt(r,e,t){let n;switch(r){case"P":e&&e==="-"?t.isNegative=!0:t.isNegative=!1;break;case"D":n="days";break;case"W":n="weeks";break;case"H":n="hours";break;case"M":n="minutes";break;case"S":n="seconds";break;default:return 0}if(n){if(!e&&e!==0)throw new Error('invalid duration value: Missing number before "'+r+'"');let i=parseInt(e,10);if(xD(i))throw new Error('invalid duration value: Invalid number "'+e+'" before "'+r+'"');t[n]=i}return 1}function Tr(r){let e={},t=e.component=[];if(e.stack=[t],Tr._eachLine(r,function(n,i){Tr._handleContentLine(i,e)}),e.stack.length>1)throw new Hu("invalid ical body. component began but did not end");return e=null,t.length==1?t[0]:t}function Udt(r){let e,t,n,i,a;if(!r||r.name!=="vcalendar")return r;for(e=r.getAllSubcomponents(),t=[],n={},a=0;a<e.length;a++)if(e[a].name==="vtimezone"){let s=e[a].getFirstProperty("tzid").getFirstValue();n[s]=e[a]}else t=t.concat(e[a].getAllProperties());for(i={},a=0;a<t.length;a++){let s=t[a].getParameter("tzid");s&&(i[s]=!0)}for(let[s,o]of Object.entries(n))i[s]||r.removeSubcomponent(o);for(let s of Object.keys(i))!n[s]&&YO.has(s)&&r.addSubcomponent(YO.get(s).component);return r}function xD(r){return typeof r=="number"&&isNaN(r)}function ma(r){let e=parseInt(r,10);if(xD(e))throw new Error('Could not extract integer from "'+r+'"');return e}function Bu(r,e){if(typeof r!="undefined")return r instanceof e?r:new e(r)}function I0e(r,e,t){for(;(t=r.indexOf(e,t))!==-1;)if(t>0&&r[t-1]==="\\")t+=1;else return t;return-1}function Eg(r,e,t){if(!r.length)return 0;let n=0,i=r.length-1,a,s;for(;n<=i;)if(a=n+Math.floor((i-n)/2),s=t(e,r[a]),s<0)i=a-1;else if(s>0)n=a+1;else break;return s<0?a:s>0?a+1:a}function Cg(r,e){if(!r||typeof r!="object")return r;if(r instanceof Date)return new Date(r.getTime());if("clone"in r)return r.clone();if(Array.isArray(r)){let t=[];for(let n=0;n<r.length;n++)t.push(e?Cg(r[n],!0):r[n]);return t}else{let t={};for(let[n,i]of Object.entries(r))e?t[n]=Cg(i,!0):t[n]=i;return t}}function N0e(r){let e="",t=r||"",n=0,i=0;for(;t.length;){let a=t.codePointAt(n);a<128?++i:a<2048?i+=2:a<65536?i+=3:i+=4,i<oo.foldLength+1?n+=a>65535?2:1:(e+=oo.newLineChar+" "+t.slice(0,Math.max(0,n)),t=t.slice(Math.max(0,n)),n=i=0)}return e.slice(oo.newLineChar.length+1)}function gs(r){switch(typeof r!="string"&&(typeof r=="number"&&(r=parseInt(r)),r=String(r)),r.length){case 0:return"00";case 1:return"0"+r;default:return r}}function Pi(r){return r<0?Math.ceil(r):Math.floor(r)}function Dg(r,e){for(let t in r){let n=Object.getOwnPropertyDescriptor(r,t);n&&!Object.getOwnPropertyDescriptor(e,t)&&Object.defineProperty(e,t,n)}return e}function Lm(r,e,t,n){let i=n;if(n[0]==="+"&&(i=n.slice(1)),i=ma(i),e!==void 0&&n<e)throw new Error(r+': invalid value "'+n+'" must be > '+e);if(t!==void 0&&n>t)throw new Error(r+': invalid value "'+n+'" must be < '+e);return i}function E3(r,e){return{matches:/.*/,fromICAL:function(n,i){return Zdt(n,r,i)},toICAL:function(n,i){let a=e;return i&&(a=new RegExp(a.source+"|"+i,a.flags)),n.replace(a,function(s){switch(s){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case`
`:return"\\n";default:return s}})}}}function Kdt(r){switch(r){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return`
`;default:return r}}function Zdt(r,e,t){return r.indexOf("\\")===-1?r:(t&&(e=new RegExp(e.source+"|\\\\"+t,e.flags)),r.replace(e,Kdt))}function wn(r){typeof r[0]=="string"&&(r=[r]);let e=0,t=r.length,n="";for(;e<t;e++)n+=wn.component(r[e])+VO;return n}function A0e(r,e){return r[0]>e[0]?1:e[0]>r[0]?-1:0}var qO,Ndt,Rdt,so,ED,NT,be,_e,Ldt,WO,S3,Fdt,$dt,zdt,jdt,Hu,Bdt,RT,OT,sr,Cr,za,YO,Hdt,Uu,Sg,hs,CD,IT,Vdt,qdt,R0e,Wdt,k0e,Vl,k3,w3,Ydt,Gdt,w0e,S0e,or,DD,GO,zO,jO,BO,fs,E0e,x0e,C0e,C3,D3,Qdt,ei,Jdt,ao,Xdt,eut,tut,rut,nut,ju,D0e,P0e,Dr,VO,M0e,iut,_0e,UO,HO,Fm,xg,$m,od,zm,aut,sut,Wo,KO,SD,ZO,x3,oo,O0e=y(()=>{qO=class r{constructor(e){A(this,"icaltype","binary");this.value=e}static fromString(e){return new r(e)}decodeValue(){return this._b64_decode(this.value)}setEncodedValue(e){this.value=this._b64_encode(e)}_b64_encode(e){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n,i,a,s,o,l,c,d,u=0,p=0,m="",f=[];if(!e)return e;do n=e.charCodeAt(u++),i=e.charCodeAt(u++),a=e.charCodeAt(u++),d=n<<16|i<<8|a,s=d>>18&63,o=d>>12&63,l=d>>6&63,c=d&63,f[p++]=t.charAt(s)+t.charAt(o)+t.charAt(l)+t.charAt(c);while(u<e.length);m=f.join("");let h=e.length%3;return(h?m.slice(0,h-3):m)+"===".slice(h||3)}_b64_decode(e){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n,i,a,s,o,l,c,d,u=0,p=0,m="",f=[];if(!e)return e;e+="";do s=t.indexOf(e.charAt(u++)),o=t.indexOf(e.charAt(u++)),l=t.indexOf(e.charAt(u++)),c=t.indexOf(e.charAt(u++)),d=s<<18|o<<12|l<<6|c,n=d>>16&255,i=d>>8&255,a=d&255,l==64?f[p++]=String.fromCharCode(n):c==64?f[p++]=String.fromCharCode(n,i):f[p++]=String.fromCharCode(n,i,a);while(u<e.length);return m=f.join(""),m}toString(){return this.value}},Ndt=/([PDWHMTS]{1,1})/,Rdt=["weeks","days","hours","minutes","seconds","isNegative"],so=class r{constructor(e){A(this,"weeks",0);A(this,"days",0);A(this,"hours",0);A(this,"minutes",0);A(this,"seconds",0);A(this,"isNegative",!1);A(this,"icalclass","icalduration");A(this,"icaltype","duration");this.wrappedJSObject=this,this.fromData(e)}static fromSeconds(e){return new r().fromSeconds(e)}static isValueString(e){return e[0]==="P"||e[1]==="P"}static fromString(e){let t=0,n=Object.create(null),i=0;for(;(t=e.search(Ndt))!==-1;){let a=e[t],s=e.slice(0,Math.max(0,t));e=e.slice(t+1),i+=Odt(a,s,n)}if(i<2)throw new Error('invalid duration value: Not enough duration components in "'+e+'"');return new r(n)}static fromData(e){return new r(e)}clone(){return r.fromData(this)}toSeconds(){let e=this.seconds+60*this.minutes+3600*this.hours+86400*this.days+604800*this.weeks;return this.isNegative?-e:e}fromSeconds(e){let t=Math.abs(e);return this.isNegative=e<0,this.days=Pi(t/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,t-=(this.days+7*this.weeks)*86400,this.hours=Pi(t/3600),t-=this.hours*3600,this.minutes=Pi(t/60),t-=this.minutes*60,this.seconds=t,this}fromData(e){for(let t of Rdt)e&&t in e?this[t]=e[t]:this[t]=0}reset(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0}compare(e){let t=this.toSeconds(),n=e.toSeconds();return(t>n)-(t<n)}normalize(){this.fromSeconds(this.toSeconds())}toString(){if(this.toSeconds()==0)return"PT0S";{let e="";this.isNegative&&(e+="-"),e+="P";let t=!1;return this.weeks?this.days||this.hours||this.minutes||this.seconds?e+=this.weeks*7+this.days+"D":(e+=this.weeks+"W",t=!0):this.days&&(e+=this.days+"D"),t||(this.hours||this.minutes||this.seconds)&&(e+="T",this.hours&&(e+=this.hours+"H"),this.minutes&&(e+=this.minutes+"M"),this.seconds&&(e+=this.seconds+"S")),e}}toICALString(){return this.toString()}};ED=class r{constructor(e){A(this,"start",null);A(this,"end",null);A(this,"duration",null);A(this,"icalclass","icalperiod");A(this,"icaltype","period");if(this.wrappedJSObject=this,e&&"start"in e){if(e.start&&!(e.start instanceof _e))throw new TypeError(".start must be an instance of ICAL.Time");this.start=e.start}if(e&&e.end&&e.duration)throw new Error("cannot accept both end and duration");if(e&&"end"in e){if(e.end&&!(e.end instanceof _e))throw new TypeError(".end must be an instance of ICAL.Time");this.end=e.end}if(e&&"duration"in e){if(e.duration&&!(e.duration instanceof so))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=e.duration}}static fromString(e,t){let n=e.split("/");if(n.length!==2)throw new Error('Invalid string value: "'+e+'" must contain a "/" char.');let i={start:_e.fromDateTimeString(n[0],t)},a=n[1];return so.isValueString(a)?i.duration=so.fromString(a):i.end=_e.fromDateTimeString(a,t),new r(i)}static fromData(e){return new r(e)}static fromJSON(e,t,n){function i(a,s){return n?_e.fromString(a,s):_e.fromDateTimeString(a,s)}return so.isValueString(e[1])?r.fromData({start:i(e[0],t),duration:so.fromString(e[1])}):r.fromData({start:i(e[0],t),end:i(e[1],t)})}clone(){return r.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 e=this.start.clone();return e.addDuration(this.duration),e}}compare(e){return e.compare(this.start)<0?1:e.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()}},be=class be{constructor(e,t){A(this,"icalclass","icaltime");A(this,"_cachedUnixTime",null);A(this,"zone",null);A(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(e,t)}static daysInMonth(e,t){let n=[0,31,28,31,30,31,30,31,31,30,31,30,31],i=30;return e<1||e>12||(i=n[e],e==2&&(i+=be.isLeapYear(t))),i}static isLeapYear(e){return e<=1752?e%4==0:e%4==0&&e%100!=0||e%400==0}static fromDayOfYear(e,t){let n=t,i=e,a=new be;a.auto_normalize=!1;let s=be.isLeapYear(n)?1:0;if(i<1)return n--,s=be.isLeapYear(n)?1:0,i+=be.daysInYearPassedMonth[s][12],be.fromDayOfYear(i,n);if(i>be.daysInYearPassedMonth[s][12])return s=be.isLeapYear(n)?1:0,i-=be.daysInYearPassedMonth[s][12],n++,be.fromDayOfYear(i,n);a.year=n,a.isDate=!0;for(let o=11;o>=0;o--)if(i>be.daysInYearPassedMonth[s][o]){a.month=o+1,a.day=i-be.daysInYearPassedMonth[s][o];break}return a.auto_normalize=!0,a}static fromStringv2(e){return new be({year:parseInt(e.slice(0,4),10),month:parseInt(e.slice(5,7),10),day:parseInt(e.slice(8,10),10),isDate:!0})}static fromDateString(e){return new be({year:ma(e.slice(0,4)),month:ma(e.slice(5,7)),day:ma(e.slice(8,10)),isDate:!0})}static fromDateTimeString(e,t){if(e.length<19)throw new Error('invalid date-time value: "'+e+'"');let n,i;e.slice(-1)==="Z"?n=Cr.utcTimezone:t&&(i=t.getParameter("tzid"),t.parent&&(t.parent.name==="standard"||t.parent.name==="daylight"?n=Cr.localTimezone:i&&(n=t.parent.getTimeZoneByID(i))));let a={year:ma(e.slice(0,4)),month:ma(e.slice(5,7)),day:ma(e.slice(8,10)),hour:ma(e.slice(11,13)),minute:ma(e.slice(14,16)),second:ma(e.slice(17,19))};return i&&!n&&(a.timezone=i),new be(a,n)}static fromString(e,t){return e.length>10?be.fromDateTimeString(e,t):be.fromDateString(e)}static fromJSDate(e,t){return new be().fromJSDate(e,t)}static now(){return be.fromJSDate(new Date,!1)}static weekOneStarts(e,t){let n=be.fromData({year:e,month:1,day:1,isDate:!0}),i=n.dayOfWeek(),a=t||be.DEFAULT_WEEK_START;return i>be.THURSDAY&&(n.day+=7),a>be.THURSDAY&&(n.day-=7),n.day-=i-a,n}static getDominicalLetter(e){let t="GFEDCBA",n=(e+(e/4|0)+(e/400|0)-(e/100|0)-1)%7;return be.isLeapYear(e)?t[(n+6)%7]+t[n]:t[n]}static get epochTime(){return ho(this,NT)||$d(this,NT,be.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"})),ho(this,NT)}static _cmp_attr(e,t,n){return e[n]>t[n]?1:e[n]<t[n]?-1:0}get icaltype(){return this.isDate?"date":"date-time"}get year(){return this._getTimeAttr("year")}set year(e){this._setTimeAttr("year",e)}get month(){return this._getTimeAttr("month")}set month(e){this._setTimeAttr("month",e)}get day(){return this._getTimeAttr("day")}set day(e){this._setTimeAttr("day",e)}get hour(){return this._getTimeAttr("hour")}set hour(e){this._setTimeAttr("hour",e)}get minute(){return this._getTimeAttr("minute")}set minute(e){this._setTimeAttr("minute",e)}get second(){return this._getTimeAttr("second")}set second(e){this._setTimeAttr("second",e)}get isDate(){return this._getTimeAttr("isDate")}set isDate(e){this._setTimeAttr("isDate",e)}_getTimeAttr(e){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[e]}_setTimeAttr(e,t){e==="isDate"&&t&&!this._time.isDate&&this.adjust(0,0,0,0),this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[e]=t}clone(){return new be(this._time,this.zone)}reset(){this.fromData(be.epochTime),this.zone=Cr.utcTimezone}resetTo(e,t,n,i,a,s,o){this.fromData({year:e,month:t,day:n,hour:i,minute:a,second:s,zone:o})}fromJSDate(e,t){return e?t?(this.zone=Cr.utcTimezone,this.year=e.getUTCFullYear(),this.month=e.getUTCMonth()+1,this.day=e.getUTCDate(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds()):(this.zone=Cr.localTimezone,this.year=e.getFullYear(),this.month=e.getMonth()+1,this.day=e.getDate(),this.hour=e.getHours(),this.minute=e.getMinutes(),this.second=e.getSeconds()):this.reset(),this._cachedUnixTime=null,this}fromData(e,t){if(e)for(let[n,i]of Object.entries(e))n!=="icaltype"&&(this[n]=i);if(t&&(this.zone=t),e&&!("isDate"in e)?this.isDate=!("hour"in e):e&&"isDate"in e&&(this.isDate=e.isDate),e&&"timezone"in e){let n=YO.get(e.timezone);this.zone=n||Cr.localTimezone}return e&&"zone"in e&&(this.zone=e.zone),this.zone||(this.zone=Cr.localTimezone),this._cachedUnixTime=null,this}dayOfWeek(e){let t=e||be.SUNDAY,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(n in be._dowCache)return be._dowCache[n];let i=this.day,a=this.month+(this.month<3?12:0),s=this.year-(this.month<3?1:0),o=i+s+Pi((a+1)*26/10)+Pi(s/4);return o+=Pi(s/100)*6+Pi(s/400),o=(o+7-t)%7+1,be._dowCache[n]=o,o}dayOfYear(){let e=be.isLeapYear(this.year)?1:0;return be.daysInYearPassedMonth[e][this.month-1]+this.day}startOfWeek(e){let t=e||be.SUNDAY,n=this.clone();return n.day-=(this.dayOfWeek()+7-t)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n}endOfWeek(e){let t=e||be.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+t-be.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n}startOfMonth(){let e=this.clone();return e.day=1,e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e}endOfMonth(){let e=this.clone();return e.day=be.daysInMonth(e.month,e.year),e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e}startOfYear(){let e=this.clone();return e.day=1,e.month=1,e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e}endOfYear(){let e=this.clone();return e.day=31,e.month=12,e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e}startDoyWeek(e){let t=e||be.SUNDAY,n=this.dayOfWeek()-t;return n<0&&(n+=7),this.dayOfYear()-n}getDominicalLetter(){return be.getDominicalLetter(this.year)}nthWeekDay(e,t){let n=be.daysInMonth(this.month,this.year),i,a=t,s=0,o=this.clone();if(a>=0){o.day=1,a!=0&&a--,s=o.day;let l=o.dayOfWeek(),c=e-l;c<0&&(c+=7),s+=c,s-=e,i=e}else{o.day=n;let l=o.dayOfWeek();a++,i=l-e,i<0&&(i+=7),i=n-i}return i+=a*7,s+i}isNthWeekDay(e,t){let n=this.dayOfWeek();return t===0&&n===e||this.nthWeekDay(e,t)===this.day}weekNumber(e){let t=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(t in be._wnCache)return be._wnCache[t];let n,i=this.clone();i.isDate=!0;let a=this.year;i.month==12&&i.day>25?(n=be.weekOneStarts(a+1,e),i.compare(n)<0?n=be.weekOneStarts(a,e):a++):(n=be.weekOneStarts(a,e),i.compare(n)<0&&(n=be.weekOneStarts(--a,e)));let s=i.subtractDate(n).toSeconds()/86400,o=Pi(s/7)+1;return be._wnCache[t]=o,o}addDuration(e){let t=e.isNegative?-1:1,n=this.second,i=this.minute,a=this.hour,s=this.day;n+=t*e.seconds,i+=t*e.minutes,a+=t*e.hours,s+=t*e.days,s+=t*7*e.weeks,this.second=n,this.minute=i,this.hour=a,this.day=s,this._cachedUnixTime=null}subtractDate(e){let t=this.toUnixTime()+this.utcOffset(),n=e.toUnixTime()+e.utcOffset();return so.fromSeconds(t-n)}subtractDateTz(e){let t=this.toUnixTime(),n=e.toUnixTime();return so.fromSeconds(t-n)}compare(e){if(e instanceof ED)return-1*e.compare(this);{let t=this.toUnixTime(),n=e.toUnixTime();return t>n?1:n>t?-1:0}}compareDateOnlyTz(e,t){let n=this.convertToZone(t),i=e.convertToZone(t),a=0;return(a=be._cmp_attr(n,i,"year"))!=0||(a=be._cmp_attr(n,i,"month"))!=0||(a=be._cmp_attr(n,i,"day"))!=0,a}convertToZone(e){let t=this.clone(),n=this.zone.tzid==e.tzid;return!this.isDate&&!n&&Cr.convert_time(t,this.zone,e),t.zone=e,t}utcOffset(){return this.zone==Cr.localTimezone||this.zone==Cr.utcTimezone?0:this.zone.utcOffset(this)}toICALString(){let e=this.toString();return e.length>10?Dr.icalendar.value["date-time"].toICAL(e):Dr.icalendar.value.date.toICAL(e)}toString(){let e=this.year+"-"+gs(this.month)+"-"+gs(this.day);return this.isDate||(e+="T"+gs(this.hour)+":"+gs(this.minute)+":"+gs(this.second),this.zone===Cr.utcTimezone&&(e+="Z")),e}toJSDate(){return this.zone==Cr.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(e,t,n,i,a){let s,o,l=0,c=0,d,u,p,m,f,h=a||this._time;if(h.isDate||(d=h.second+i,h.second=d%60,s=Pi(d/60),h.second<0&&(h.second+=60,s--),u=h.minute+n+s,h.minute=u%60,o=Pi(u/60),h.minute<0&&(h.minute+=60,o--),p=h.hour+t+o,h.hour=p%24,l=Pi(p/24),h.hour<0&&(h.hour+=24,l--)),h.month>12?c=Pi((h.month-1)/12):h.month<1&&(c=Pi(h.month/12)-1),h.year+=c,h.month-=12*c,m=h.day+e+l,m>0)for(;f=be.daysInMonth(h.month,h.year),!(m<=f);)h.month++,h.month>12&&(h.year++,h.month=1),m-=f;else for(;m<=0;)h.month==1?(h.year--,h.month=12):h.month--,m+=be.daysInMonth(h.month,h.year);return h.day=m,this._cachedUnixTime=null,this}fromUnixTime(e){this.zone=Cr.utcTimezone;let t=new Date(e*1e3);this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this._time.isDate?(this.hour=0,this.minute=0,this.second=0):(this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()),this._cachedUnixTime=null}toUnixTime(){if(this._cachedUnixTime!==null)return this._cachedUnixTime;let e=this.utcOffset(),t=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-e);return this._cachedUnixTime=t/1e3,this._cachedUnixTime}toJSON(){let e=["year","month","day","hour","minute","second","isDate"],t=Object.create(null),n=0,i=e.length,a;for(;n<i;n++)a=e[n],t[a]=this[a];return this.zone&&(t.timezone=this.zone.tzid),t}};NT=new WeakMap,A(be,"_dowCache",{}),A(be,"_wnCache",{}),A(be,"fromData",function(t,n){return new be().fromData(t,n)}),Hf(be,NT,null),A(be,"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]]),A(be,"SUNDAY",1),A(be,"MONDAY",2),A(be,"TUESDAY",3),A(be,"WEDNESDAY",4),A(be,"THURSDAY",5),A(be,"FRIDAY",6),A(be,"SATURDAY",7),A(be,"DEFAULT_WEEK_START",2);_e=be,Ldt=/[^ \t]/,WO=":",S3=";",Fdt="=",$dt="unknown",zdt="text",jdt={"^'":'"',"^n":`
`,"^^":"^"};Tr.property=function(r,e){let t={component:[[],[]],designSet:e||Dr.defaultSet};return Tr._handleContentLine(r,t),t.component[1][0]};Tr.component=function(r){return Tr(r)};Hu=class extends Error{constructor(){super(...arguments);A(this,"name",this.constructor.name)}};Tr.ParserError=Hu;Tr._handleContentLine=function(r,e){let t=r.indexOf(WO),n=r.indexOf(S3),i,a,s,o,l={};n!==-1&&t!==-1&&n>t&&(n=-1);let c;if(n!==-1){if(s=r.slice(0,Math.max(0,n)).toLowerCase(),c=Tr._parseParameters(r.slice(Math.max(0,n)),0,e.designSet),c[2]==-1)throw new Hu("Invalid parameters in '"+r+"'");l=c[0];let v;if(typeof c[1]=="string"?v=c[1].length:v=c[1].reduce((k,b)=>k+b.length,0),i=v+c[2]+n,(a=r.slice(Math.max(0,i)).indexOf(WO))!==-1)o=r.slice(Math.max(0,i+a+1));else throw new Hu("Missing parameter value in '"+r+"'")}else if(t!==-1){if(s=r.slice(0,Math.max(0,t)).toLowerCase(),o=r.slice(Math.max(0,t+1)),s==="begin"){let v=[o.toLowerCase(),[],[]];e.stack.length===1?e.component.push(v):e.component[2].push(v),e.stack.push(e.component),e.component=v,e.designSet||(e.designSet=Dr.getDesignSet(e.component[0]));return}else if(s==="end"){e.component=e.stack.pop();return}}else throw new Hu('invalid line (no token ";" or ":") "'+r+'"');let d,u=!1,p=!1,m,f,h;e.designSet.propertyGroups&&s.indexOf(".")!==-1?(f=s.split("."),l.group=f[0],h=f[1]):h=s,h in e.designSet.property&&(m=e.designSet.property[h],"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=$dt),delete l.value;let g;u&&p?(o=Tr._parseMultiValue(o,p,d,[],u,e.designSet,p),g=[h,l,d,o]):u?(g=[h,l,d],Tr._parseMultiValue(o,u,d,g,null,e.designSet,!1)):p?(o=Tr._parseMultiValue(o,p,d,[],null,e.designSet,p),g=[h,l,d,o]):(o=Tr._parseValue(o,d,e.designSet,!1),g=[h,l,d,o]),e.component[0]==="vcard"&&e.component[1].length===0&&!(s==="version"&&o==="4.0")&&(e.designSet=Dr.getDesignSet("vcard3")),e.component[1].push(g)};Tr._parseValue=function(r,e,t,n){return e in t.value&&"fromICAL"in t.value[e]?t.value[e].fromICAL(r,n):r};Tr._parseParameters=function(r,e,t){let n=e,i=0,a=Fdt,s={},o,l,c,d=-1,u,p,m;for(;i!==!1&&(i=r.indexOf(a,i+1))!==-1;){if(o=r.slice(n+1,i),o.length==0)throw new Hu("Empty parameter name in '"+r+"'");if(l=o.toLowerCase(),m=!1,p=!1,l in t.param&&t.param[l].valueType?u=t.param[l].valueType:u=zdt,l in t.param&&(p=t.param[l].multiValue,t.param[l].multiValueSeparateDQuote&&(m=Tr._rfc6868Escape('"'+p+'"'))),r[i+1]==='"'){if(d=i+2,i=r.indexOf('"',d),p&&i!=-1){let v=!0;for(;v;)r[i+1]==p&&r[i+2]=='"'?i=r.indexOf('"',i+3):v=!1}if(i===-1)throw new Hu('invalid line (no matching double quote) "'+r+'"');c=r.slice(d,i),n=r.indexOf(S3,i);let g=r.indexOf(WO,i);(n===-1||g!==-1&&n>g)&&(i=!1)}else{d=i+1;let g=r.indexOf(S3,d),v=r.indexOf(WO,d);v!==-1&&g>v?(g=v,i=!1):g===-1?(v===-1?g=r.length:g=v,i=!1):(n=g,i=g),c=r.slice(d,g)}let h=c.length;if(c=Tr._rfc6868Escape(c),d+=h-c.length,p){let g=m||p;c=Tr._parseMultiValue(c,g,u,[],null,t)}else c=Tr._parseValue(c,u,t);p&&l in s?Array.isArray(s[l])?s[l].push(c):s[l]=[s[l],c]:s[l]=c}return[s,c,d]};Tr._rfc6868Escape=function(r){return r.replace(/\^['n^]/g,function(e){return jdt[e]})};Tr._parseMultiValue=function(r,e,t,n,i,a,s){let o=0,l=0,c;if(e.length===0)return r;for(;(o=I0e(r,e,l))!==-1;)c=r.slice(l,o),i?c=Tr._parseMultiValue(c,i,t,[],null,a,s):c=Tr._parseValue(c,t,a,s),n.push(c),l=o+e.length;return c=r.slice(l),i?c=Tr._parseMultiValue(c,i,t,[],null,a,s):c=Tr._parseValue(c,t,a,s),n.push(c),n.length==1?n[0]:n};Tr._eachLine=function(r,e){let t=r.length,n=r.search(Ldt),i=n,a,s,o;do i=r.indexOf(`
`,n)+1,i>1&&r[i-2]==="\r"?o=2:o=1,i===0&&(i=t,o=0),s=r[n],s===" "||s===" "?a+=r.slice(n+1,i-o):(a&&e(null,a),a=r.slice(n,i-o)),n=i;while(i!==t);a=a.trim(),a.length&&e(null,a)};Bdt=["tzid","location","tznames","latitude","longitude"],sr=class sr{constructor(e){A(this,"tzid","");A(this,"location","");A(this,"tznames","");A(this,"latitude",0);A(this,"longitude",0);A(this,"component",null);A(this,"expandedUntilYear",0);A(this,"icalclass","icaltimezone");this.wrappedJSObject=this,this.fromData(e)}static _compare_change_fn(e,t){return e.year<t.year?-1:e.year>t.year?1:e.month<t.month?-1:e.month>t.month?1:e.day<t.day?-1:e.day>t.day?1:e.hour<t.hour?-1:e.hour>t.hour?1:e.minute<t.minute?-1:e.minute>t.minute?1:e.second<t.second?-1:e.second>t.second?1:0}static convert_time(e,t,n){if(e.isDate||t.tzid==n.tzid||t==sr.localTimezone||n==sr.localTimezone)return e.zone=n,e;let i=t.utcOffset(e);return e.adjust(0,0,0,-i),i=n.utcOffset(e),e.adjust(0,0,0,i),null}static fromData(e){return new sr().fromData(e)}static get utcTimezone(){return ho(this,RT)||$d(this,RT,sr.fromData({tzid:"UTC"})),ho(this,RT)}static get localTimezone(){return ho(this,OT)||$d(this,OT,sr.fromData({tzid:"floating"})),ho(this,OT)}static adjust_change(e,t,n,i,a){return _e.prototype.adjust.call(e,t,n,i,a,e)}fromData(e){if(this.expandedUntilYear=0,this.changes=[],e instanceof Wo)this.component=e;else{if(e&&"component"in e)if(typeof e.component=="string"){let t=Tr(e.component);this.component=new Wo(t)}else e.component instanceof Wo?this.component=e.component:this.component=null;for(let t of Bdt)e&&t in e&&(this[t]=e[t])}return this.component instanceof Wo&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this}utcOffset(e){if(this==sr.utcTimezone||this==sr.localTimezone||(this._ensureCoverage(e.year),!this.changes.length))return 0;let t={year:e.year,month:e.month,day:e.day,hour:e.hour,minute:e.minute,second:e.second},n=this._findNearbyChange(t),i=-1,a=1;for(;;){let l=Cg(this.changes[n],!0);if(l.utcOffset<l.prevUtcOffset?sr.adjust_change(l,0,0,0,l.utcOffset):sr.adjust_change(l,0,0,0,l.prevUtcOffset),sr._compare_change_fn(t,l)>=0?i=n:a=-1,a==-1&&i!=-1)break;if(n+=a,n<0)return 0;if(n>=this.changes.length)break}let s=this.changes[i];if(s.utcOffset-s.prevUtcOffset<0&&i>0){let l=Cg(s,!0);if(sr.adjust_change(l,0,0,0,l.prevUtcOffset),sr._compare_change_fn(t,l)<0){let c=this.changes[i-1],d=!1;s.is_daylight!=d&&c.is_daylight==d&&(s=c)}}return s.utcOffset}_findNearbyChange(e){let t=Eg(this.changes,e,sr._compare_change_fn);return t>=this.changes.length?this.changes.length-1:t}_ensureCoverage(e){if(sr._minimumExpansionYear==-1){let n=_e.now();sr._minimumExpansionYear=n.year}let t=e;if(t<sr._minimumExpansionYear&&(t=sr._minimumExpansionYear),t+=sr.EXTRA_COVERAGE,!this.changes.length||this.expandedUntilYear<e){let n=this.component.getAllSubcomponents(),i=n.length,a=0;for(;a<i;a++)this._expandComponent(n[a],t,this.changes);this.changes.sort(sr._compare_change_fn),this.expandedUntilYear=t}}_expandComponent(e,t,n){if(!e.hasProperty("dtstart")||!e.hasProperty("tzoffsetto")||!e.hasProperty("tzoffsetfrom"))return null;let i=e.getFirstProperty("dtstart").getFirstValue(),a;function s(l){return l.factor*(l.hours*3600+l.minutes*60)}function o(){let l={};return l.is_daylight=e.name=="daylight",l.utcOffset=s(e.getFirstProperty("tzoffsetto").getFirstValue()),l.prevUtcOffset=s(e.getFirstProperty("tzoffsetfrom").getFirstValue()),l}if(!e.hasProperty("rrule")&&!e.hasProperty("rdate"))a=o(),a.year=i.year,a.month=i.month,a.day=i.day,a.hour=i.hour,a.minute=i.minute,a.second=i.second,sr.adjust_change(a,0,0,0,-a.prevUtcOffset),n.push(a);else{let l=e.getAllProperties("rdate");for(let d of l){let u=d.getFirstValue();a=o(),a.year=u.year,a.month=u.month,a.day=u.day,u.isDate?(a.hour=i.hour,a.minute=i.minute,a.second=i.second,i.zone!=sr.utcTimezone&&sr.adjust_change(a,0,0,0,-a.prevUtcOffset)):(a.hour=u.hour,a.minute=u.minute,a.second=u.second,u.zone!=sr.utcTimezone&&sr.adjust_change(a,0,0,0,-a.prevUtcOffset)),n.push(a)}let c=e.getFirstProperty("rrule");if(c){c=c.getFirstValue(),a=o(),c.until&&c.until.zone==sr.utcTimezone&&(c.until.adjust(0,0,0,a.prevUtcOffset),c.until.zone=sr.localTimezone);let d=c.iterator(i),u;for(;(u=d.next())&&(a=o(),!(u.year>t||!u));)a.year=u.year,a.month=u.month,a.day=u.day,a.hour=u.hour,a.minute=u.minute,a.second=u.second,a.isDate=u.isDate,sr.adjust_change(a,0,0,0,-a.prevUtcOffset),n.push(a)}}return n}toString(){return this.tznames?this.tznames:this.tzid}};RT=new WeakMap,OT=new WeakMap,Hf(sr,RT,null),Hf(sr,OT,null),A(sr,"_minimumExpansionYear",-1),A(sr,"EXTRA_COVERAGE",5);Cr=sr,za=null,YO={get count(){return za===null?0:Object.keys(za).length},reset:function(){za=Object.create(null);let r=Cr.utcTimezone;za.Z=r,za.UTC=r,za.GMT=r},_hard_reset:function(){za=null},has:function(r){return za===null?!1:!!za[r]},get:function(r){return za===null&&this.reset(),za[r]},register:function(r,e){if(za===null&&this.reset(),typeof r=="string"&&e instanceof Cr&&([r,e]=[e,r]),e||(r instanceof Cr?e=r.tzid:r.name==="vtimezone"&&(r=new Cr(r),e=r.tzid)),!e)throw new TypeError("Neither a timezone nor a name was passed");if(r instanceof Cr)za[e]=r;else throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component")},remove:function(r){return za===null?null:delete za[r]}};Hdt=Object.freeze({__proto__:null,binsearchInsert:Eg,clone:Cg,extend:Dg,foldline:N0e,formatClassType:Bu,isStrictlyNaN:xD,pad2:gs,strictParseInt:ma,trunc:Pi,unescapedIndexOf:I0e,updateTimezones:Udt}),Uu=class r{constructor(e){A(this,"hours",0);A(this,"minutes",0);A(this,"factor",1);A(this,"icaltype","utc-offset");this.fromData(e)}static fromString(e){let t={};return t.factor=e[0]==="+"?1:-1,t.hours=ma(e.slice(1,3)),t.minutes=ma(e.slice(4,6)),new r(t)}static fromSeconds(e){let t=new r;return t.fromSeconds(e),t}clone(){return r.fromSeconds(this.toSeconds())}fromData(e){if(e)for(let[t,n]of Object.entries(e))this[t]=n;this._normalize()}fromSeconds(e){let t=Math.abs(e);return this.factor=e<0?-1:1,this.hours=Pi(t/3600),t-=this.hours*3600,this.minutes=Pi(t/60),this}toSeconds(){return this.factor*(60*this.minutes+3600*this.hours)}compare(e){let t=this.toSeconds(),n=e.toSeconds();return(t>n)-(n>t)}_normalize(){let e=this.toSeconds(),t=this.factor;for(;e<-43200;)e+=97200;for(;e>50400;)e-=97200;this.fromSeconds(e),e==0&&(this.factor=t)}toICALString(){return Dr.icalendar.value["utc-offset"].toICAL(this.toString())}toString(){return(this.factor==1?"+":"-")+gs(this.hours)+":"+gs(this.minutes)}},Sg=class r extends _e{constructor(t,n,i){super(t,n);A(this,"icalclass","vcardtime");A(this,"icaltype","date-and-or-time");this.icaltype=i||"date-and-or-time"}static fromDateAndOrTimeString(t,n){function i(g,v,k){return g?ma(g.slice(v,v+k)):null}let a=t.split("T"),s=a[0],o=a[1],l=o?Dr.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]=="-",f=d&&d[0]=="-",h={year:m?null:i(s,0,4),month:m&&(u==4||u==7)?i(s,2,2):u==7||u==10?i(s,5,2):null,day:u==5?i(s,3,2):u==7&&m?i(s,5,2):u==10?i(s,8,2):null,hour:f?null:i(d,0,2),minute:f&&p==3?i(d,1,2):p>4?f?i(d,1,2):i(d,3,2):null,second:p==4?i(d,2,2):p==6?i(d,4,2):p==8?i(d,6,2):null};return c=="Z"?c=Cr.utcTimezone:c&&c[3]==":"?c=Uu.fromString(c):c=null,new r(h,c,n)}clone(){return new r(this._time,this.zone,this.icaltype)}_normalize(){return this}utcOffset(){return this.zone instanceof Uu?this.zone.toSeconds():_e.prototype.utcOffset.apply(this,arguments)}toICALString(){return Dr.vcard.value[this.icaltype].toICAL(this.toString())}toString(){let t=this.year,n=this.month,i=this.day,a=this.hour,s=this.minute,o=this.second,l=t!==null,c=n!==null,d=i!==null,u=a!==null,p=s!==null,m=o!==null,f=(l?gs(t)+(c||d?"-":""):c||d?"--":"")+(c?gs(n):"")+(d?"-"+gs(i):""),h=(u?gs(a):"-")+(u&&p?":":"")+(p?gs(s):"")+(!u&&!p?"-":"")+(p&&m?":":"")+(m?gs(o):""),g;switch(this.zone===Cr.utcTimezone?g="Z":this.zone instanceof Uu?g=this.zone.toString():this.zone===Cr.localTimezone?g="":this.zone instanceof Cr?g=Uu.fromSeconds(this.zone.utcOffset(this)).toString():g="",this.icaltype){case"time":return h+g;case"date-and-or-time":case"date-time":return f+(h=="--"?"":"T"+h+g);case"date":return f}return null}},hs=class hs{constructor(e){A(this,"completed",!1);A(this,"rule",null);A(this,"dtstart",null);A(this,"last",null);A(this,"occurrence_number",0);A(this,"by_indices",null);A(this,"initialized",!1);A(this,"by_data",null);A(this,"days",null);A(this,"days_index",0);this.fromData(e)}fromData(e){if(this.rule=Bu(e.rule,Vl),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=Bu(e.dtstart,_e),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");if(e.by_data?this.by_data=e.by_data:this.by_data=Cg(this.rule.parts,!0),e.occurrence_number&&(this.occurrence_number=e.occurrence_number),this.days=e.days||[],e.last&&(this.last=Bu(e.last,_e)),this.by_indices=e.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=e.initialized||!1,!this.initialized)try{this.init()}catch(t){if(t instanceof IT)this.completed=!0;else throw t}}init(){this.initialized=!0,this.last=this.dtstart.clone();let e=this.by_data;if("BYDAY"in e&&this.sort_byday_rules(e.BYDAY),"BYYEARDAY"in e&&("BYMONTH"in e||"BYWEEKNO"in e||"BYMONTHDAY"in e))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in e&&"BYMONTHDAY"in e)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if(this.rule.freq=="MONTHLY"&&("BYYEARDAY"in e||"BYWEEKNO"in e))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if(this.rule.freq=="WEEKLY"&&("BYYEARDAY"in e||"BYMONTHDAY"in e))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if(this.rule.freq!="YEARLY"&&"BYYEARDAY"in e)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 e){let[,t]=this.ruleDayOfWeek(e.BYDAY[0],this.rule.wkst),n=t-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<t&&n>=0||n<0)&&(this.last.day+=n)}else{let t=Vl.numericDayToIcalDay(this.dtstart.dayOfWeek());e.BYDAY=[t]}if(this.rule.freq=="YEARLY"){let t=this.rule.until?this.rule.until.year:2e4;for(;this.last.year<=t&&(this.expand_year_days(this.last.year),!(this.days.length>0));)this.increment_year(this.rule.interval);if(this.days.length==0)throw new IT;if(!this._nextByYearDay()&&!this.next_year()&&!this.next_year()&&!this.next_year())throw new IT}if(this.rule.freq=="MONTHLY"){if(this.has_by_data("BYDAY")){let t=null,n=this.last.clone(),i=_e.daysInMonth(this.last.month,this.last.year);for(let a of this.by_data.BYDAY){this.last=n.clone();let[s,o]=this.ruleDayOfWeek(a),l=this.last.nthWeekDay(o,s);if(s>=6||s<=-6)throw new Error("Malformed values in BYDAY part");if(l>i||l<=0){if(t&&t.month==n.month)continue;for(;l>i||l<=0;)this.increment_month(),i=_e.daysInMonth(this.last.month,this.last.year),l=this.last.nthWeekDay(o,s)}this.last.day=l,(!t||this.last.compare(t)<0)&&(t=this.last.clone())}if(this.last=t.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>i||this.last.day==0)throw new Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")){this.last.day=1;let t=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY).filter(n=>n>=this.last.day);if(t.length)this.last.day=t[0],this.by_data.BYMONTHDAY=t;else if(!this.next_month()&&!this.next_month()&&!this.next_month())throw new IT}}}next(e=!1){let t=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 n,i=0;do switch(n=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(n=this.next_month(),n)i=0;else if(++i==336)return this.completed=!0,null;break;case"YEARLY":if(n=this.next_year(),n)i=0;else if(++i==28)return this.completed=!0,null;break;default:return null}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!n);if(this.last.compare(t)==0){if(e)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(e){return this.increment_generic(e,"second",60,"minute")}next_minute(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")}increment_minute(e){return this.increment_generic(e,"minute",60,"hour")}next_hour(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")}increment_hour(e){this.increment_generic(e,"hour",24,"monthday")}next_day(){let e=this.rule.freq=="DAILY";return this.next_hour()==0||(e?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0}next_week(){let e=0;if(this.next_weekday_by_week()==0)return e;if(this.has_by_data("BYWEEKNO")){this.by_indices.BYWEEKNO++,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,e=1),this.last.month=1,this.last.day=1;let t=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*t,e&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return e}normalizeByMonthDayRules(e,t,n){let i=_e.daysInMonth(t,e),a=[],s=0,o=n.length,l;for(;s<o;s++){if(l=parseInt(n[s],10),isNaN(l))throw new Error("Invalid BYMONTHDAY value");if(!(Math.abs(l)>i)){if(l<0)l=i+(l+1);else if(l===0)continue;a.indexOf(l)===-1&&a.push(l)}}return a.sort(function(c,d){return c-d})}_byDayAndMonthDay(e){let t,n=this.by_data.BYDAY,i,a=0,s,o=n.length,l=0,c,d=this,u=this.last.day;function p(){for(c=_e.daysInMonth(d.last.month,d.last.year),t=d.normalizeByMonthDayRules(d.last.year,d.last.month,d.by_data.BYMONTHDAY),s=t.length;t[a]<=u&&!(e&&t[a]==u)&&a<s-1;)a++}function m(){u=0,d.increment_month(),a=0,p()}p(),e&&(u-=1);let f=48;for(;!l&&f;){if(f--,i=u+1,i>c){m();continue}let h=t[a++];if(h>=i)u=h;else{m();continue}for(let g=0;g<o;g++){let v=this.ruleDayOfWeek(n[g]),k=v[0],b=v[1];if(this.last.day=u,this.last.isNthWeekDay(b,k)){l=1;break}}if(!l&&a===s){m();continue}}if(f<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return l}next_month(){let e=1;if(this.next_hour()==0)return e;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))e=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){let t=_e.daysInMonth(this.last.month,this.last.year),n=0,i=0;if(this.has_by_data("BYSETPOS")){let s=this.last.day;for(let o=1;o<=t;o++)this.last.day=o,this.is_day_in_byday(this.last)&&(i++,o<=s&&n++);this.last.day=s}e=0;let a;for(a=this.last.day+1;a<=t;a++)if(this.last.day=a,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++n)||this.check_set_position(n-i-1))){e=1;break}a>t&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(e=1):e=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 t=_e.daysInMonth(this.last.month,this.last.year),n=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];n<0&&(n=t+n+1),n>t?(this.last.day=1,e=this.is_day_in_byday(this.last)):this.last.day=n}else{this.increment_month();let t=_e.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>t?e=0:this.last.day=this.by_data.BYMONTHDAY[0]}return e}next_weekday_by_week(){let e=0;if(this.next_hour()==0)return e;if(!this.has_by_data("BYDAY"))return 1;for(;;){let t=new _e;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,e=1);let n=this.by_data.BYDAY[this.by_indices.BYDAY],a=this.ruleDayOfWeek(n)[1];a-=this.rule.wkst,a<0&&(a+=7),t.year=this.last.year,t.month=this.last.month,t.day=this.last.day;let s=t.startDoyWeek(this.rule.wkst);if(a+s<1&&!e)continue;let o=_e.fromDayOfYear(s+a,this.last.year);return this.last.year=o.year,this.last.month=o.month,this.last.day=o.day,e}}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 e=this.days[this.days_index],t=this.last.year;if(Math.abs(e)==366&&!_e.isLeapYear(this.last.year))return 0;e<1&&(e+=1,t+=1);let n=_e.fromDayOfYear(e,t);return this.last.day=n.day,this.last.month=n.month,1}ruleDayOfWeek(e,t){let n=e.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);if(n){let i=parseInt(n[1]||0,10);return e=Vl.icalDayToNumericDay(n[2],t),[i,e]}else return[0,0]}next_generic(e,t,n,i,a){let s=e in this.by_data,o=this.rule.freq==t,l=0;if(a&&this[a]()==0)return l;if(s){this.by_indices[e]++;let c=this.by_data[e];this.by_indices[e]==c.length&&(this.by_indices[e]=0,l=1),this.last[n]=c[this.by_indices[e]]}else o&&this["increment_"+n](this.rule.interval);return s&&l&&o&&this["increment_"+i](1),l}increment_monthday(e){for(let t=0;t<e;t++){let n=_e.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>n&&(this.last.day-=n,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 e=Pi(this.last.month/12);this.last.month%=12,this.last.month++,e!=0&&this.increment_year(e)}this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY))}increment_year(e){this.last.day=1,this.last.year+=e}increment_generic(e,t,n,i){this.last[t]+=e;let a=Pi(this.last[t]/n);this.last[t]%=n,a!=0&&this["increment_"+i](a)}has_by_data(e){return e in this.rule.parts}expand_year_days(e){let t=new _e;this.days=[];let n={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(let o of i)o in this.rule.parts&&(n[o]=this.rule.parts[o]);if("BYMONTH"in n&&"BYWEEKNO"in n){let o=1,l={};t.year=e,t.isDate=!0;for(let c=0;c<this.by_data.BYMONTH.length;c++){let d=this.by_data.BYMONTH[c];t.month=d,t.day=1;let u=t.weekNumber(this.rule.wkst);t.day=_e.daysInMonth(d,e);let p=t.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 n.BYMONTH:delete n.BYWEEKNO}let a=Object.keys(n).length;if(a==0){let o=this.dtstart.clone();o.year=this.last.year,this.days.push(o.dayOfYear())}else if(a==1&&"BYMONTH"in n)for(let o of this.by_data.BYMONTH){let l=this.dtstart.clone();l.year=e,l.month=o,l.isDate=!0,this.days.push(l.dayOfYear())}else if(a==1&&"BYMONTHDAY"in n)for(let o of this.by_data.BYMONTHDAY){let l=this.dtstart.clone();if(o<0){let c=_e.daysInMonth(l.month,e);o=o+c+1}l.day=o,l.year=e,l.isDate=!0,this.days.push(l.dayOfYear())}else if(a==2&&"BYMONTHDAY"in n&&"BYMONTH"in n)for(let o of this.by_data.BYMONTH){let l=_e.daysInMonth(o,e);for(let c of this.by_data.BYMONTHDAY)c<0&&(c=c+l+1),t.day=c,t.month=o,t.year=e,t.isDate=!0,this.days.push(t.dayOfYear())}else if(!(a==1&&"BYWEEKNO"in n)){if(!(a==2&&"BYWEEKNO"in n&&"BYMONTHDAY"in n)){if(a==1&&"BYDAY"in n)this.days=this.days.concat(this.expand_by_day(e));else if(a==2&&"BYDAY"in n&&"BYMONTH"in n){for(let o of this.by_data.BYMONTH){let l=_e.daysInMonth(o,e);t.year=e,t.month=o,t.day=1,t.isDate=!0;let c=t.dayOfWeek(),d=t.dayOfYear()-1;t.day=l;let u=t.dayOfWeek();if(this.has_by_data("BYSETPOS")){let p=[];for(let m=1;m<=l;m++)t.day=m,this.is_day_in_byday(t)&&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),f=m[0],h=m[1],g,v=(h+7-c)%7+1,k=l-(u+7-h)%7;if(f==0)for(let b=v;b<=l;b+=7)this.days.push(d+b);else f>0?(g=v+(f-1)*7,g<=l&&this.days.push(d+g)):(g=k+(f+1)*7,g>0&&this.days.push(d+g))}}this.days.sort(function(o,l){return o-l})}else if(a==2&&"BYDAY"in n&&"BYMONTHDAY"in n){let o=this.expand_by_day(e);for(let l of o){let c=_e.fromDayOfYear(l,e);this.by_data.BYMONTHDAY.indexOf(c.day)>=0&&this.days.push(l)}}else if(a==3&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n){let o=this.expand_by_day(e);for(let l of o){let c=_e.fromDayOfYear(l,e);this.by_data.BYMONTH.indexOf(c.month)>=0&&this.by_data.BYMONTHDAY.indexOf(c.day)>=0&&this.days.push(l)}}else if(a==2&&"BYDAY"in n&&"BYWEEKNO"in n){let o=this.expand_by_day(e);for(let l of o){let d=_e.fromDayOfYear(l,e).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(d)&&this.days.push(l)}}else if(!(a==3&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n))if(a==1&&"BYYEARDAY"in n)this.days=this.days.concat(this.by_data.BYYEARDAY);else if(a==2&&"BYYEARDAY"in n&&"BYDAY"in n){let o=_e.isLeapYear(e)?366:365,l=new Set(this.expand_by_day(e));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=_e.isLeapYear(e)?366:365;return this.days.sort((o,l)=>(o<0&&(o+=s+1),l<0&&(l+=s+1),o-l)),0}expand_by_day(e){let t=[],n=this.last.clone();n.year=e,n.month=1,n.day=1,n.isDate=!0;let i=n.dayOfWeek();n.month=12,n.day=31,n.isDate=!0;let a=n.dayOfWeek(),s=n.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-i)%7+1;for(let p=u;p<=s;p+=7)t.push(p)}else if(c>0){let u;d>=i?u=d-i+1:u=d-i+8,t.push(u+(c-1)*7)}else{let u;c=-c,d<=a?u=s-a+d:u=s-a+d-7,t.push(u-(c-1)*7)}}return t}is_day_in_byday(e){if(this.by_data.BYDAY)for(let t of this.by_data.BYDAY){let n=this.ruleDayOfWeek(t),i=n[0],a=n[1],s=e.dayOfWeek();if(i==0&&a==s||e.nthWeekDay(a,i)==e.day)return 1}return 0}check_set_position(e){return this.has_by_data("BYSETPOS")?this.by_data.BYSETPOS.indexOf(e)!==-1:!1}sort_byday_rules(e){for(let t=0;t<e.length;t++)for(let n=0;n<t;n++){let i=this.ruleDayOfWeek(e[n],this.rule.wkst)[1],a=this.ruleDayOfWeek(e[t],this.rule.wkst)[1];if(i>a){let s=e[t];e[t]=e[n],e[n]=s}}}check_contract_restriction(e,t){let n=hs._indexMap[e],i=hs._expandMap[this.rule.freq][n],a=!1;if(e in this.by_data&&i==hs.CONTRACT){let s=this.by_data[e];for(let o of s)if(o==t){a=!0;break}}else a=!0;return a}check_contracting_rules(){let e=this.last.dayOfWeek(),t=this.last.weekNumber(this.rule.wkst),n=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",Vl.numericDayToIcalDay(e))&&this.check_contract_restriction("BYWEEKNO",t)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",n)}setup_defaults(e,t,n){let i=hs._indexMap[e];return hs._expandMap[this.rule.freq][i]!=hs.CONTRACT&&(e in this.by_data||(this.by_data[e]=[n]),this.rule.freq!=t)?this.by_data[e][0]:n}toJSON(){let e=Object.create(null);return e.initialized=this.initialized,e.rule=this.rule.toJSON(),e.dtstart=this.dtstart.toJSON(),e.by_data=this.by_data,e.days=this.days,e.last=this.last.toJSON(),e.by_indices=this.by_indices,e.occurrence_number=this.occurrence_number,e}};A(hs,"_indexMap",{BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8}),A(hs,"_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]}),A(hs,"UNKNOWN",0),A(hs,"CONTRACT",1),A(hs,"EXPAND",2),A(hs,"ILLEGAL",3);CD=hs,IT=class extends Error{constructor(){super("Recurrence rule has no valid occurrences")}},Vdt=/^(SU|MO|TU|WE|TH|FR|SA)$/,qdt=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,R0e={SU:_e.SUNDAY,MO:_e.MONDAY,TU:_e.TUESDAY,WE:_e.WEDNESDAY,TH:_e.THURSDAY,FR:_e.FRIDAY,SA:_e.SATURDAY},Wdt=Object.fromEntries(Object.entries(R0e).map(r=>r.reverse())),k0e=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],Vl=class r{constructor(e){A(this,"parts",null);A(this,"interval",1);A(this,"wkst",_e.MONDAY);A(this,"until",null);A(this,"count",null);A(this,"freq",null);A(this,"icalclass","icalrecur");A(this,"icaltype","recur");this.wrappedJSObject=this,this.parts={},e&&typeof e=="object"&&this.fromData(e)}static fromString(e){let t=this._stringToData(e,!1);return new r(t)}static fromData(e){return new r(e)}static _stringToData(e,t){let n=Object.create(null),i=e.split(";"),a=i.length;for(let s=0;s<a;s++){let o=i[s].split("="),l=o[0].toUpperCase(),c=o[0].toLowerCase(),d=t?c:l,u=o[1];if(l in w3){let p=u.split(","),m=new Set;for(let f of p)m.add(w3[l](f));p=[...m],n[d]=p.length==1?p[0]:p}else l in k3?k3[l](u,n,t):n[c]=u}return n}static icalDayToNumericDay(e,t){let n=t||_e.SUNDAY;return(R0e[e]-n+7)%7+1}static numericDayToIcalDay(e,t){let n=t||_e.SUNDAY,i=e+n-_e.SUNDAY;return i>7&&(i-=7),Wdt[i]}iterator(e){return new CD({rule:this,dtstart:e})}clone(){return new r(this.toJSON())}isFinite(){return!!(this.count||this.until)}isByCount(){return!!(this.count&&!this.until)}addComponent(e,t){let n=e.toUpperCase();n in this.parts?this.parts[n].push(t):this.parts[n]=[t]}setComponent(e,t){this.parts[e.toUpperCase()]=t.slice()}getComponent(e){let t=e.toUpperCase();return t in this.parts?this.parts[t].slice():[]}getNextOccurrence(e,t){let n=this.iterator(e),i;do i=n.next();while(i&&i.compare(t)<=0);return i&&t.zone&&(i.zone=t.zone),i}fromData(e){for(let t in e){let n=t.toUpperCase();n in w3?Array.isArray(e[t])?this.parts[n]=e[t]:this.parts[n]=[e[t]]:this[t]=e[t]}this.interval&&typeof this.interval!="number"&&k3.INTERVAL(this.interval,this),this.wkst&&typeof this.wkst!="number"&&(this.wkst=r.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof _e)&&(this.until=_e.fromString(this.until))}toJSON(){let e=Object.create(null);e.freq=this.freq,this.count&&(e.count=this.count),this.interval>1&&(e.interval=this.interval);for(let[t,n]of Object.entries(this.parts))Array.isArray(n)&&n.length==1?e[t.toLowerCase()]=n[0]:e[t.toLowerCase()]=Cg(n);return this.until&&(e.until=this.until.toString()),"wkst"in this&&this.wkst!==_e.DEFAULT_WEEK_START&&(e.wkst=r.numericDayToIcalDay(this.wkst)),e}toString(){let e="FREQ="+this.freq;this.count&&(e+=";COUNT="+this.count),this.interval>1&&(e+=";INTERVAL="+this.interval);for(let[t,n]of Object.entries(this.parts))e+=";"+t+"="+n;return this.until&&(e+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==_e.DEFAULT_WEEK_START&&(e+=";WKST="+r.numericDayToIcalDay(this.wkst)),e}};k3={FREQ:function(r,e,t){if(k0e.indexOf(r)!==-1)e.freq=r;else throw new Error('invalid frequency "'+r+'" expected: "'+k0e.join(", ")+'"')},COUNT:function(r,e,t){e.count=ma(r)},INTERVAL:function(r,e,t){e.interval=ma(r),e.interval<1&&(e.interval=1)},UNTIL:function(r,e,t){r.length>10?e.until=Dr.icalendar.value["date-time"].fromICAL(r):e.until=Dr.icalendar.value.date.fromICAL(r),t||(e.until=_e.fromString(e.until))},WKST:function(r,e,t){if(Vdt.test(r))e.wkst=Vl.icalDayToNumericDay(r);else throw new Error('invalid WKST value "'+r+'"')}},w3={BYSECOND:Lm.bind(void 0,"BYSECOND",0,60),BYMINUTE:Lm.bind(void 0,"BYMINUTE",0,59),BYHOUR:Lm.bind(void 0,"BYHOUR",0,23),BYDAY:function(r){if(qdt.test(r))return r;throw new Error('invalid BYDAY value "'+r+'"')},BYMONTHDAY:Lm.bind(void 0,"BYMONTHDAY",-31,31),BYYEARDAY:Lm.bind(void 0,"BYYEARDAY",-366,366),BYWEEKNO:Lm.bind(void 0,"BYWEEKNO",-53,53),BYMONTH:Lm.bind(void 0,"BYMONTH",1,12),BYSETPOS:Lm.bind(void 0,"BYSETPOS",-366,366)},Ydt=/\\\\|\\;|\\,|\\[Nn]/g,Gdt=/\\|;|,|\n/g,w0e=/\\\\|\\,|\\[Nn]/g,S0e=/\\|,|\n/g;or={defaultType:"text"},DD={defaultType:"text",multiValue:","},GO={defaultType:"text",structuredValue:";"},zO={defaultType:"integer"},jO={defaultType:"date-time",allowedTypes:["date-time","date"]},BO={defaultType:"date-time"},fs={defaultType:"uri"},E0e={defaultType:"utc-offset"},x0e={defaultType:"recur"},C0e={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};C3={categories:DD,url:fs,version:or,uid:or},D3={boolean:{values:["TRUE","FALSE"],fromICAL:function(r){switch(r){case"TRUE":return!0;case"FALSE":return!1;default:return!1}},toICAL:function(r){return r?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(r){let e=parseFloat(r);return xD(e)?0:e},toICAL:function(r){return String(r)}},integer:{fromICAL:function(r){let e=parseInt(r);return xD(e)?0:e},toICAL:function(r){return String(r)}},"utc-offset":{toICAL:function(r){return r.length<7?r.slice(0,3)+r.slice(4,6):r.slice(0,3)+r.slice(4,6)+r.slice(7,9)},fromICAL:function(r){return r.length<6?r.slice(0,3)+":"+r.slice(3,5):r.slice(0,3)+":"+r.slice(3,5)+":"+r.slice(5,7)},decorate:function(r){return Uu.fromString(r)},undecorate:function(r){return r.toString()}}},Qdt={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}},ei=Dg(D3,{text:E3(Ydt,Gdt),uri:{},binary:{decorate:function(r){return qO.fromString(r)},undecorate:function(r){return r.toString()}},"cal-address":{},date:{decorate:function(r,e){return Dr.strict?_e.fromDateString(r,e):_e.fromString(r,e)},undecorate:function(r){return r.toString()},fromICAL:function(r){return!Dr.strict&&r.length>=15?ei["date-time"].fromICAL(r):r.slice(0,4)+"-"+r.slice(4,6)+"-"+r.slice(6,8)},toICAL:function(r){let e=r.length;return e==10?r.slice(0,4)+r.slice(5,7)+r.slice(8,10):e>=19?ei["date-time"].toICAL(r):r}},"date-time":{fromICAL:function(r){if(!Dr.strict&&r.length==8)return ei.date.fromICAL(r);{let e=r.slice(0,4)+"-"+r.slice(4,6)+"-"+r.slice(6,8)+"T"+r.slice(9,11)+":"+r.slice(11,13)+":"+r.slice(13,15);return r[15]&&r[15]==="Z"&&(e+="Z"),e}},toICAL:function(r){let e=r.length;if(e==10&&!Dr.strict)return ei.date.toICAL(r);if(e>=19){let t=r.slice(0,4)+r.slice(5,7)+r.slice(8,13)+r.slice(14,16)+r.slice(17,19);return r[19]&&r[19]==="Z"&&(t+="Z"),t}else return r},decorate:function(r,e){return Dr.strict?_e.fromDateTimeString(r,e):_e.fromString(r,e)},undecorate:function(r){return r.toString()}},duration:{decorate:function(r){return so.fromString(r)},undecorate:function(r){return r.toString()}},period:{fromICAL:function(r){let e=r.split("/");return e[0]=ei["date-time"].fromICAL(e[0]),so.isValueString(e[1])||(e[1]=ei["date-time"].fromICAL(e[1])),e},toICAL:function(r){return r=r.slice(),!Dr.strict&&r[0].length==10?r[0]=ei.date.toICAL(r[0]):r[0]=ei["date-time"].toICAL(r[0]),so.isValueString(r[1])||(!Dr.strict&&r[1].length==10?r[1]=ei.date.toICAL(r[1]):r[1]=ei["date-time"].toICAL(r[1])),r.join("/")},decorate:function(r,e){return ED.fromJSON(r,e,!Dr.strict)},undecorate:function(r){return r.toJSON()}},recur:{fromICAL:function(r){return Vl._stringToData(r,!0)},toICAL:function(r){let e="";for(let[t,n]of Object.entries(r))t=="until"?n.length>10?n=ei["date-time"].toICAL(n):n=ei.date.toICAL(n):t=="wkst"?typeof n=="number"&&(n=Vl.numericDayToIcalDay(n)):Array.isArray(n)&&(n=n.join(",")),e+=t.toUpperCase()+"="+n+";";return e.slice(0,Math.max(0,e.length-1))},decorate:function(e){return Vl.fromData(e)},undecorate:function(r){return r.toJSON()}},time:{fromICAL:function(r){if(r.length<6)return r;let e=r.slice(0,2)+":"+r.slice(2,4)+":"+r.slice(4,6);return r[6]==="Z"&&(e+="Z"),e},toICAL:function(r){if(r.length<8)return r;let e=r.slice(0,2)+r.slice(3,5)+r.slice(6,8);return r[8]==="Z"&&(e+="Z"),e}}}),Jdt=Dg(C3,{action:or,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:or,class:or,comment:or,completed:BO,contact:or,created:BO,description:or,dtend:jO,dtstamp:BO,dtstart:jO,due:jO,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:x0e,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":BO,location:or,method:or,organizer:{defaultType:"cal-address"},"percent-complete":zO,priority:zO,prodid:or,"related-to":or,repeat:zO,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(r){return r.indexOf("/")!==-1?"period":r.indexOf("T")===-1?"date":"date-time"}},"recurrence-id":jO,resources:DD,"request-status":GO,rrule:x0e,sequence:zO,status:or,summary:or,transp:or,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:E0e,tzoffsetto:E0e,tzurl:fs,tzid:or,tzname:or}),ao=Dg(D3,{text:E3(w0e,S0e),uri:E3(w0e,S0e),date:{decorate:function(r){return Sg.fromDateAndOrTimeString(r,"date")},undecorate:function(r){return r.toString()},fromICAL:function(r){return r.length==8?ei.date.fromICAL(r):r[0]=="-"&&r.length==6?r.slice(0,4)+"-"+r.slice(4):r},toICAL:function(r){return r.length==10?ei.date.toICAL(r):r[0]=="-"&&r.length==7?r.slice(0,4)+r.slice(5):r}},time:{decorate:function(r){return Sg.fromDateAndOrTimeString("T"+r,"time")},undecorate:function(r){return r.toString()},fromICAL:function(r){let e=ao.time._splitZone(r,!0),t=e[0],n=e[1];return n.length==6?n=n.slice(0,2)+":"+n.slice(2,4)+":"+n.slice(4,6):n.length==4&&n[0]!="-"?n=n.slice(0,2)+":"+n.slice(2,4):n.length==5&&(n=n.slice(0,3)+":"+n.slice(3,5)),t.length==5&&(t[0]=="-"||t[0]=="+")&&(t=t.slice(0,3)+":"+t.slice(3)),n+t},toICAL:function(r){let e=ao.time._splitZone(r),t=e[0],n=e[1];return n.length==8?n=n.slice(0,2)+n.slice(3,5)+n.slice(6,8):n.length==5&&n[0]!="-"?n=n.slice(0,2)+n.slice(3,5):n.length==6&&(n=n.slice(0,3)+n.slice(4,6)),t.length==6&&(t[0]=="-"||t[0]=="+")&&(t=t.slice(0,3)+t.slice(4)),n+t},_splitZone:function(r,e){let t=r.length-1,n=r.length-(e?5:6),i=r[n],a,s;return r[t]=="Z"?(a=r[t],s=r.slice(0,Math.max(0,t))):r.length>6&&(i=="-"||i=="+")?(a=r.slice(n),s=r.slice(0,Math.max(0,n))):(a="",s=r),[a,s]}},"date-time":{decorate:function(r){return Sg.fromDateAndOrTimeString(r,"date-time")},undecorate:function(r){return r.toString()},fromICAL:function(r){return ao["date-and-or-time"].fromICAL(r)},toICAL:function(r){return ao["date-and-or-time"].toICAL(r)}},"date-and-or-time":{decorate:function(r){return Sg.fromDateAndOrTimeString(r,"date-and-or-time")},undecorate:function(r){return r.toString()},fromICAL:function(r){let e=r.split("T");return(e[0]?ao.date.fromICAL(e[0]):"")+(e[1]?"T"+ao.time.fromICAL(e[1]):"")},toICAL:function(r){let e=r.split("T");return ao.date.toICAL(e[0])+(e[1]?"T"+ao.time.toICAL(e[1]):"")}},timestamp:ei["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/},"phone-number":{fromICAL:function(r){return Array.from(r).filter(function(e){return e==="\\"?void 0:e}).join("")},toICAL:function(r){return Array.from(r).map(function(e){return e===","||e===";"?"\\"+e:e}).join("")}}}),Xdt={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}},eut=Dg(C3,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:C0e,bday:C0e,caladruri:fs,caluri:fs,clientpidmap:GO,email:or,fburl:fs,fn:or,gender:GO,geo:fs,impp:fs,key:fs,kind:or,lang:{defaultType:"language-tag"},logo:fs,member:fs,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:DD,note:or,org:{defaultType:"text",structuredValue:";"},photo:fs,related:fs,rev:{defaultType:"timestamp"},role:or,sound:fs,source:fs,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:or,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:or}),tut=Dg(D3,{binary:ei.binary,date:ao.date,"date-time":ao["date-time"],"phone-number":ao["phone-number"],uri:ei.uri,text:ao.text,time:ei.time,vcard:ei.text,"utc-offset":{toICAL:function(r){return r.slice(0,7)},fromICAL:function(r){return r.slice(0,7)},decorate:function(r){return Uu.fromString(r)},undecorate:function(r){return r.toString()}}}),rut={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}},nut=Dg(C3,{fn:or,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:DD,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(r){return r.indexOf("T")===-1?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:or,tel:{defaultType:"phone-number"},email:or,mailer:or,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:or,role:or,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:GO,note:DD,prodid:or,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(r){return r.indexOf("T")===-1?"date":"date-time"}},"sort-string":or,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:or,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),ju={name:"ical",value:ei,param:Qdt,property:Jdt,propertyGroups:!1},D0e={name:"vcard4",value:ao,param:Xdt,property:eut,propertyGroups:!0},P0e={name:"vcard3",value:tut,param:rut,property:nut,propertyGroups:!0},Dr={strict:!0,defaultSet:ju,defaultType:"unknown",components:{vcard:D0e,vcard3:P0e,vevent:ju,vtodo:ju,vjournal:ju,valarm:ju,vtimezone:ju,daylight:ju,standard:ju},icalendar:ju,vcard:D0e,vcard3:P0e,getDesignSet:function(r){return r&&r in Dr.components?Dr.components[r]:Dr.defaultSet}},VO=`\r
`,M0e="unknown",iut={'"':"^'","\n":"^n","^":"^^"};wn.component=function(r,e){let t=r[0].toUpperCase(),n="BEGIN:"+t+VO,i=r[1],a=0,s=i.length,o=r[0];for(o==="vcard"&&r[1].length>0&&!(r[1][0][0]==="version"&&r[1][0][3]==="4.0")&&(o="vcard3"),e=e||Dr.getDesignSet(o);a<s;a++)n+=wn.property(i[a],e)+VO;let l=r[2]||[],c=0,d=l.length;for(;c<d;c++)n+=wn.component(l[c],e)+VO;return n+="END:"+t,n};wn.property=function(r,e,t){let n=r[0].toUpperCase(),i=r[0],a=r[1];e||(e=Dr.defaultSet);let s=a.group,o;e.propertyGroups&&s?o=s.toUpperCase()+"."+n:o=n;for(let[m,f]of Object.entries(a)){if(e.propertyGroups&&m=="group")continue;let h=e.param[m],g=h&&h.multiValue;g&&Array.isArray(f)?(f=f.map(function(v){return v=wn._rfc6868Unescape(v),v=wn.paramPropertyValue(v,h.multiValueSeparateDQuote),v}),f=wn.multiValue(f,g,"unknown",null,e)):(f=wn._rfc6868Unescape(f),f=wn.paramPropertyValue(f)),o+=";"+m.toUpperCase()+"="+f}if(r.length===3)return o+":";let l=r[2],c,d=!1,u=!1,p=!1;return i in e.property?(c=e.property[i],"multiValue"in c&&(d=c.multiValue),"structuredValue"in c&&Array.isArray(r[3])&&(u=c.structuredValue),"defaultType"in c?l===c.defaultType&&(p=!0):l===M0e&&(p=!0)):l===M0e&&(p=!0),p||(o+=";VALUE="+l.toUpperCase()),o+=":",d&&u?o+=wn.multiValue(r[3],u,l,d,e,u):d?o+=wn.multiValue(r.slice(3),d,l,null,e,!1):u?o+=wn.multiValue(r[3],u,l,null,e,u):o+=wn.value(r[3],l,e,!1),t?o:N0e(o)};wn.paramPropertyValue=function(r,e){return!e&&r.indexOf(",")===-1&&r.indexOf(":")===-1&&r.indexOf(";")===-1?r:'"'+r+'"'};wn.multiValue=function(r,e,t,n,i,a){let s="",o=r.length,l=0;for(;l<o;l++)n&&Array.isArray(r[l])?s+=wn.multiValue(r[l],n,t,null,i,a):s+=wn.value(r[l],t,i,a),l!==o-1&&(s+=e);return s};wn.value=function(r,e,t,n){return e in t.value&&"toICAL"in t.value[e]?t.value[e].toICAL(r,n):r};wn._rfc6868Unescape=function(r){return r.replace(/[\n^"]/g,function(e){return iut[e]})};_0e=0,UO=1,HO=2,Fm=3,xg=class r{static fromString(e,t){return new r(Tr.property(e,t))}constructor(e,t){this._parent=t||null,typeof e=="string"?(this.jCal=[e,{},Dr.defaultType],this.jCal[HO]=this.getDefaultType()):this.jCal=e,this._updateType()}get type(){return this.jCal[HO]}get name(){return this.jCal[_0e]}get parent(){return this._parent}set parent(e){let t=!this._parent||e&&e._designSet!=this._parent._designSet;this._parent=e,this.type==Dr.defaultType&&t&&(this.jCal[HO]=this.getDefaultType(),this._updateType())}get _designSet(){return this.parent?this.parent._designSet:Dr.defaultSet}_updateType(){let e=this._designSet;this.type in e.value&&("decorate"in e.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in e.property&&(this.isMultiValue="multiValue"in e.property[this.name],this.isStructuredValue="structuredValue"in e.property[this.name]))}_hydrateValue(e){return this._values&&this._values[e]?this._values[e]:this.jCal.length<=Fm+e?null:this.isDecorated?(this._values||(this._values=[]),this._values[e]=this._decorate(this.jCal[Fm+e])):this.jCal[Fm+e]}_decorate(e){return this._designSet.value[this.type].decorate(e,this)}_undecorate(e){return this._designSet.value[this.type].undecorate(e,this)}_setDecoratedValue(e,t){this._values||(this._values=[]),typeof e=="object"&&"icaltype"in e?(this.jCal[Fm+t]=this._undecorate(e),this._values[t]=e):(this.jCal[Fm+t]=e,this._values[t]=this._decorate(e))}getParameter(e){if(e in this.jCal[UO])return this.jCal[UO][e]}getFirstParameter(e){let t=this.getParameter(e);return Array.isArray(t)?t[0]:t}setParameter(e,t){let n=e.toLowerCase();typeof t=="string"&&n in this._designSet.param&&"multiValue"in this._designSet.param[n]&&(t=[t]),this.jCal[UO][e]=t}removeParameter(e){delete this.jCal[UO][e]}getDefaultType(){let e=this.jCal[_0e],t=this._designSet;if(e in t.property){let n=t.property[e];if("defaultType"in n)return n.defaultType}return Dr.defaultType}resetType(e){this.removeAllValues(),this.jCal[HO]=e,this._updateType()}getFirstValue(){return this._hydrateValue(0)}getValues(){let e=this.jCal.length-Fm;if(e<1)return[];let t=0,n=[];for(;t<e;t++)n[t]=this._hydrateValue(t);return n}removeAllValues(){this._values&&(this._values.length=0),this.jCal.length=3}setValues(e){if(!this.isMultiValue)throw new Error(this.name+`: does not not support mulitValue.
override isMultiValue`);let t=e.length,n=0;if(this.removeAllValues(),t>0&&typeof e[0]=="object"&&"icaltype"in e[0]&&this.resetType(e[0].icaltype),this.isDecorated)for(;n<t;n++)this._setDecoratedValue(e[n],n);else for(;n<t;n++)this.jCal[Fm+n]=e[n]}setValue(e){this.removeAllValues(),typeof e=="object"&&"icaltype"in e&&this.resetType(e.icaltype),this.isDecorated?this._setDecoratedValue(e,0):this.jCal[Fm]=e}toJSON(){return this.jCal}toICALString(){return wn.property(this.jCal,this._designSet,!0)}},$m=0,od=1,zm=2,aut=0,sut=3,Wo=class r{constructor(e,t){A(this,"_hydratedPropertyCount",0);A(this,"_hydratedComponentCount",0);A(this,"_timezoneCache",null);A(this,"_components",null);A(this,"_properties",null);typeof e=="string"&&(e=[e,[],[]]),this.jCal=e,this.parent=t||null,!this.parent&&this.name==="vcalendar"&&(this._timezoneCache=new Map)}static fromString(e){return new r(Tr.component(e))}get name(){return this.jCal[$m]}get _designSet(){var t;let e=this.parent&&this.parent._designSet;if(!e&&this.name=="vcard"){let n=(t=this.jCal[od])==null?void 0:t[0];if(n&&n[aut]=="version"&&n[sut]=="3.0")return Dr.getDesignSet("vcard3")}return e||Dr.getDesignSet(this.name)}_hydrateComponent(e){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[e])return this._components[e];let t=new r(this.jCal[zm][e],this);return this._hydratedComponentCount++,this._components[e]=t}_hydrateProperty(e){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[e])return this._properties[e];let t=new xg(this.jCal[od][e],this);return this._hydratedPropertyCount++,this._properties[e]=t}getFirstSubcomponent(e){if(e){let t=0,n=this.jCal[zm],i=n.length;for(;t<i;t++)if(n[t][$m]===e)return this._hydrateComponent(t)}else if(this.jCal[zm].length)return this._hydrateComponent(0);return null}getAllSubcomponents(e){let t=this.jCal[zm].length,n=0;if(e){let i=this.jCal[zm],a=[];for(;n<t;n++)e===i[n][$m]&&a.push(this._hydrateComponent(n));return a}else{if(!this._components||this._hydratedComponentCount!==t)for(;n<t;n++)this._hydrateComponent(n);return this._components||[]}}hasProperty(e){let t=this.jCal[od],n=t.length,i=0;for(;i<n;i++)if(t[i][$m]===e)return!0;return!1}getFirstProperty(e){if(e){let t=0,n=this.jCal[od],i=n.length;for(;t<i;t++)if(n[t][$m]===e)return this._hydrateProperty(t)}else if(this.jCal[od].length)return this._hydrateProperty(0);return null}getFirstPropertyValue(e){let t=this.getFirstProperty(e);return t?t.getFirstValue():null}getAllProperties(e){let t=this.jCal[od].length,n=0;if(e){let i=this.jCal[od],a=[];for(;n<t;n++)e===i[n][$m]&&a.push(this._hydrateProperty(n));return a}else{if(!this._properties||this._hydratedPropertyCount!==t)for(;n<t;n++)this._hydrateProperty(n);return this._properties||[]}}_removeObjectByIndex(e,t,n){if(t=t||[],t[n]){let i=t[n];"parent"in i&&(i.parent=null)}t.splice(n,1),this.jCal[e].splice(n,1)}_removeObject(e,t,n){let i=0,a=this.jCal[e],s=a.length,o=this[t];if(typeof n=="string"){for(;i<s;i++)if(a[i][$m]===n)return this._removeObjectByIndex(e,o,i),!0}else if(o){for(;i<s;i++)if(o[i]&&o[i]===n)return this._removeObjectByIndex(e,o,i),!0}return!1}_removeAllObjects(e,t,n){let i=this[t],a=this.jCal[e],s=a.length-1;for(;s>=0;s--)(!n||a[s][$m]===n)&&this._removeObjectByIndex(e,i,s)}addSubcomponent(e){this._components||(this._components=[],this._hydratedComponentCount=0),e.parent&&e.parent.removeSubcomponent(e);let t=this.jCal[zm].push(e.jCal);return this._components[t-1]=e,this._hydratedComponentCount++,e.parent=this,e}removeSubcomponent(e){let t=this._removeObject(zm,"_components",e);return t&&this._hydratedComponentCount--,t}removeAllSubcomponents(e){let t=this._removeAllObjects(zm,"_components",e);return this._hydratedComponentCount=0,t}addProperty(e){if(!(e instanceof xg))throw new TypeError("must be instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),e.parent&&e.parent.removeProperty(e);let t=this.jCal[od].push(e.jCal);return this._properties[t-1]=e,this._hydratedPropertyCount++,e.parent=this,e}addPropertyWithValue(e,t){let n=new xg(e);return n.setValue(t),this.addProperty(n),n}updatePropertyWithValue(e,t){let n=this.getFirstProperty(e);return n?n.setValue(t):n=this.addPropertyWithValue(e,t),n}removeProperty(e){let t=this._removeObject(od,"_properties",e);return t&&this._hydratedPropertyCount--,t}removeAllProperties(e){let t=this._removeAllObjects(od,"_properties",e);return this._hydratedPropertyCount=0,t}toJSON(){return this.jCal}toString(){return wn.component(this.jCal,this._designSet)}getTimeZoneByID(e){if(this.parent)return this.parent.getTimeZoneByID(e);if(!this._timezoneCache)return null;if(this._timezoneCache.has(e))return this._timezoneCache.get(e);let t=this.getAllSubcomponents("vtimezone");for(let n of t)if(n.getFirstProperty("tzid").getFirstValue()===e){let i=new Cr({component:n,tzid:e});return this._timezoneCache.set(e,i),i}return null}},KO=class{constructor(e){A(this,"complete",!1);A(this,"ruleIterators",null);A(this,"ruleDates",null);A(this,"exDates",null);A(this,"ruleDateInc",0);A(this,"exDateInc",0);A(this,"exDate",null);A(this,"ruleDate",null);A(this,"dtstart",null);A(this,"last",null);this.ruleDates=[],this.exDates=[],this.fromData(e)}fromData(e){let t=Bu(e.dtstart,_e);if(t)this.dtstart=t;else throw new Error(".dtstart (ICAL.Time) must be given");if(e.component)this._init(e.component);else{if(this.last=Bu(e.last,_e)||t.clone(),!e.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=e.ruleIterators.map(function(n){return Bu(n,CD)}),this.ruleDateInc=e.ruleDateInc,this.exDateInc=e.exDateInc,e.ruleDates&&(this.ruleDates=e.ruleDates.map(n=>Bu(n,_e)),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.exDates&&(this.exDates=e.exDates.map(n=>Bu(n,_e)),this.exDate=this.exDates[this.exDateInc]),typeof e.complete!="undefined"&&(this.complete=e.complete)}}_compare_special(e,t){return!e.isDate&&t.isDate?new _e({year:e.year,month:e.month,day:e.day}).compare(t):e.compare(t)}next(){let e,t,n,i=500,a=0;for(;;){if(a++>i)throw new Error("max tries have occurred, rule may be impossible to fulfill.");if(t=this.ruleDate,e=this._nextRecurrenceIter(this.last),!t&&!e){this.complete=!0;break}if((!t||e&&t.compare(e.last)>0)&&(t=e.last.clone(),e.next()),this.ruleDate===t&&this._nextRuleDay(),this.last=t,this.exDate&&(n=this._compare_special(this.last,this.exDate),n>0&&this._nextExDay(),n===0)){this._nextExDay();continue}return this.last}}toJSON(){function e(n){return n.toJSON()}let t=Object.create(null);return t.ruleIterators=this.ruleIterators.map(e),this.ruleDates&&(t.ruleDates=this.ruleDates.map(e)),this.exDates&&(t.exDates=this.exDates.map(e)),t.ruleDateInc=this.ruleDateInc,t.exDateInc=this.exDateInc,t.last=this.last.toJSON(),t.dtstart=this.dtstart.toJSON(),t.complete=this.complete,t}_extractDates(e,t){let n=[],i=e.getAllProperties(t);for(let a=0,s=i.length;a<s;a++)for(let o of i[a].getValues()){let l=Eg(n,o,(c,d)=>c.compare(d));n.splice(l,0,o)}return n}_init(e){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!e.hasProperty("rdate")&&!e.hasProperty("rrule")&&!e.hasProperty("recurrence-id")){this.ruleDate=this.last.clone(),this.complete=!0;return}if(e.hasProperty("rdate")&&(this.ruleDates=this._extractDates(e,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=Eg(this.ruleDates,this.last,(t,n)=>t.compare(n)),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.hasProperty("rrule")){let t=e.getAllProperties("rrule"),n=0,i=t.length,a,s;for(;n<i;n++)a=t[n].getFirstValue(),s=a.iterator(this.dtstart),this.ruleIterators.push(s),s.next()}e.hasProperty("exdate")&&(this.exDates=this._extractDates(e,"exdate"),this.exDateInc=Eg(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 e=this.ruleIterators;if(e.length===0)return null;let t=e.length,n,i,a=0,s;for(;a<t;a++){if(n=e[a],i=n.last,n.completed){t--,a!==0&&a--,e.splice(a,1);continue}(!s||s.last.compare(i)>0)&&(s=n)}return s}},SD=class SD{constructor(e,t){A(this,"exceptions",null);A(this,"strictExceptions",!1);e instanceof Wo||(t=e,e=null),e?this.component=e:this.component=new Wo("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],t&&t.strictExceptions&&(this.strictExceptions=t.strictExceptions),t&&t.exceptions?t.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach(function(n){n.hasProperty("recurrence-id")&&this.relateException(n)},this)}relateException(e){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(e instanceof Wo&&(e=new SD(e)),this.strictExceptions&&e.uid!==this.uid)throw new Error("attempted to relate unrelated exception");let t=e.recurrenceId.toString();if(this.exceptions[t]=e,e.modifiesFuture()){let n=[e.recurrenceId.toUnixTime(),t],i=Eg(this.rangeExceptions,n,A0e);this.rangeExceptions.splice(i,0,n)}}modifiesFuture(){return this.component.hasProperty("recurrence-id")?this.component.getFirstProperty("recurrence-id").getParameter("range")===SD.THISANDFUTURE:!1}findRangeException(e){if(!this.rangeExceptions.length)return null;let t=e.toUnixTime(),n=Eg(this.rangeExceptions,[t],A0e);if(n-=1,n<0)return null;let i=this.rangeExceptions[n];return t<i[0]?null:i[1]}getOccurrenceDetails(e){let t=e.toString(),n=e.convertToZone(Cr.utcTimezone).toString(),i,a={recurrenceId:e};if(t in this.exceptions)i=a.item=this.exceptions[t],a.startDate=i.startDate,a.endDate=i.endDate,a.item=i;else if(n in this.exceptions)i=this.exceptions[n],a.startDate=i.startDate,a.endDate=i.endDate,a.item=i;else{let s=this.findRangeException(e),o;if(s){let l=this.exceptions[s];a.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=e.clone();d.zone=l.startDate.zone,d.addDuration(c),o=d.clone(),o.addDuration(l.duration),a.startDate=d,a.endDate=o}else o=e.clone(),o.addDuration(this.duration),a.endDate=o,a.startDate=e,a.item=this}return a}iterator(e){return new KO({component:this.component,dtstart:e||this.startDate})}isRecurring(){let e=this.component;return e.hasProperty("rrule")||e.hasProperty("rdate")}isRecurrenceException(){return this.component.hasProperty("recurrence-id")}getRecurrenceTypes(){let e=this.component.getAllProperties("rrule"),t=0,n=e.length,i=Object.create(null);for(;t<n;t++){let a=e[t].getFirstValue();i[a.freq]=!0}return i}get uid(){return this._firstProp("uid")}set uid(e){this._setProp("uid",e)}get startDate(){return this._firstProp("dtstart")}set startDate(e){this._setTime("dtstart",e)}get endDate(){let e=this._firstProp("dtend");if(!e){let t=this._firstProp("duration");e=this.startDate.clone(),t?e.addDuration(t):e.isDate&&(e.day+=1)}return e}set endDate(e){this.component.hasProperty("duration")&&this.component.removeProperty("duration"),this._setTime("dtend",e)}get duration(){let e=this._firstProp("duration");return e||this.endDate.subtractDateTz(this.startDate)}set duration(e){this.component.hasProperty("dtend")&&this.component.removeProperty("dtend"),this._setProp("duration",e)}get location(){return this._firstProp("location")}set location(e){this._setProp("location",e)}get attendees(){return this.component.getAllProperties("attendee")}get summary(){return this._firstProp("summary")}set summary(e){this._setProp("summary",e)}get description(){return this._firstProp("description")}set description(e){this._setProp("description",e)}get color(){return this._firstProp("color")}set color(e){this._setProp("color",e)}get organizer(){return this._firstProp("organizer")}set organizer(e){this._setProp("organizer",e)}get sequence(){return this._firstProp("sequence")}set sequence(e){this._setProp("sequence",e)}get recurrenceId(){return this._firstProp("recurrence-id")}set recurrenceId(e){this._setTime("recurrence-id",e)}_setTime(e,t){let n=this.component.getFirstProperty(e);n||(n=new xg(e),this.component.addProperty(n)),t.zone===Cr.localTimezone||t.zone===Cr.utcTimezone?n.removeParameter("tzid"):n.setParameter("tzid",t.zone.tzid),n.setValue(t)}_setProp(e,t){this.component.updatePropertyWithValue(e,t)}_firstProp(e){return this.component.getFirstPropertyValue(e)}toString(){return this.component.toString()}};A(SD,"THISANDFUTURE","THISANDFUTURE");ZO=SD;x3=class{constructor(e){A(this,"parseEvent",!0);A(this,"parseTimezone",!0);A(this,"oncomplete",function(){});A(this,"onerror",function(e){});A(this,"ontimezone",function(e){});A(this,"onevent",function(e){});typeof e=="undefined"&&(e={});for(let[t,n]of Object.entries(e))this[t]=n}process(e){typeof e=="string"&&(e=Tr(e)),e instanceof Wo||(e=new Wo(e));let t=e.getAllSubcomponents(),n=0,i=t.length,a;for(;n<i;n++)switch(a=t[n],a.name){case"vtimezone":if(this.parseTimezone){let s=a.getFirstPropertyValue("tzid");s&&this.ontimezone(new Cr({tzid:s,component:a}))}break;case"vevent":this.parseEvent&&this.onevent(new ZO(a));break;default:continue}this.oncomplete()}},oo={foldLength:75,debug:!1,newLineChar:`\r
`,Binary:qO,Component:Wo,ComponentParser:x3,Duration:so,Event:ZO,Period:ED,Property:xg,Recur:Vl,RecurExpansion:KO,RecurIterator:CD,Time:_e,Timezone:Cr,TimezoneService:YO,UtcOffset:Uu,VCardTime:Sg,parse:Tr,stringify:wn,design:Dr,helpers:Hdt}});function L0e(r){let e=P3.get(r);if(e!==void 0)return e;try{return new Intl.DateTimeFormat("en-US",{timeZone:r}),P3.set(r,!0),!0}catch(t){return P3.set(r,!1),!1}}function $0e(r){if(!r)return null;let e=r.trim();if(!e)return null;let t=e.replace(/^\([^)]+\)\s*/u,"").trim();if(L0e(t))return t;let n=out[t];return n&&L0e(n)?n:null}function lut(r){let e=F0e.get(r);return e||(e=new Intl.DateTimeFormat("en-US",{timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}),F0e.set(r,e)),e}function cut(r,e){let t=lut(e).formatToParts(new Date(r)),n={};for(let a of t)n[a.type]=a.value;let i=parseInt(n.hour,10)%24;return{year:parseInt(n.year,10),month:parseInt(n.month,10),day:parseInt(n.day,10),hour:i,minute:parseInt(n.minute,10),second:parseInt(n.second,10)}}function z0e(r,e){let t={year:r.year,month:r.month,day:r.day,hour:r.hour,minute:r.minute,second:r.second},n=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second);for(let i=0;i<3;i++){let a=cut(n,e),s=Date.UTC(a.year,a.month-1,a.day,a.hour,a.minute,a.second),o=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second),l=s-o;if(l===0)break;n-=l}return new Date(n).toISOString()}var out,P3,F0e,j0e=y(()=>{out=Object.freeze({"AUS Central Standard Time":"Australia/Darwin","AUS Eastern Standard Time":"Australia/Sydney","Afghanistan Standard Time":"Asia/Kabul","Alaskan Standard Time":"America/Anchorage","Aleutian Standard Time":"America/Adak","Altai Standard Time":"Asia/Barnaul","Arab Standard Time":"Asia/Riyadh","Arabian Standard Time":"Asia/Dubai","Arabic Standard Time":"Asia/Baghdad","Argentina Standard Time":"America/Buenos_Aires","Astrakhan Standard Time":"Europe/Astrakhan","Atlantic Standard Time":"America/Halifax","Aus Central W. Standard Time":"Australia/Eucla","Azerbaijan Standard Time":"Asia/Baku","Azores Standard Time":"Atlantic/Azores","Bahia Standard Time":"America/Bahia","Bangladesh Standard Time":"Asia/Dhaka","Belarus Standard Time":"Europe/Minsk","Bougainville Standard Time":"Pacific/Bougainville","Canada Central Standard Time":"America/Regina","Cape Verde Standard Time":"Atlantic/Cape_Verde","Caucasus Standard Time":"Asia/Yerevan","Cen. Australia Standard Time":"Australia/Adelaide","Central America Standard Time":"America/Guatemala","Central Asia Standard Time":"Asia/Almaty","Central Brazilian Standard Time":"America/Cuiaba","Central Europe Standard Time":"Europe/Budapest","Central European Standard Time":"Europe/Warsaw","Central Pacific Standard Time":"Pacific/Guadalcanal","Central Standard Time":"America/Chicago","Central Standard Time (Mexico)":"America/Mexico_City","Chatham Islands Standard Time":"Pacific/Chatham","China Standard Time":"Asia/Shanghai","Cuba Standard Time":"America/Havana","Dateline Standard Time":"Etc/GMT+12","E. Africa Standard Time":"Africa/Nairobi","E. Australia Standard Time":"Australia/Brisbane","E. Europe Standard Time":"Europe/Chisinau","E. South America Standard Time":"America/Sao_Paulo","Easter Island Standard Time":"Pacific/Easter","Eastern Standard Time":"America/New_York","Eastern Standard Time (Mexico)":"America/Cancun","Egypt Standard Time":"Africa/Cairo","Ekaterinburg Standard Time":"Asia/Yekaterinburg","FLE Standard Time":"Europe/Kiev","Fiji Standard Time":"Pacific/Fiji","GMT Standard Time":"Europe/London","GTB Standard Time":"Europe/Bucharest","Georgian Standard Time":"Asia/Tbilisi","Greenland Standard Time":"America/Godthab","Greenwich Standard Time":"Atlantic/Reykjavik","Haiti Standard Time":"America/Port-au-Prince","Hawaiian Standard Time":"Pacific/Honolulu","India Standard Time":"Asia/Kolkata","Iran Standard Time":"Asia/Tehran","Israel Standard Time":"Asia/Jerusalem","Jordan Standard Time":"Asia/Amman","Kaliningrad Standard Time":"Europe/Kaliningrad","Korea Standard Time":"Asia/Seoul","Libya Standard Time":"Africa/Tripoli","Line Islands Standard Time":"Pacific/Kiritimati","Lord Howe Standard Time":"Australia/Lord_Howe","Magadan Standard Time":"Asia/Magadan","Magallanes Standard Time":"America/Punta_Arenas","Marquesas Standard Time":"Pacific/Marquesas","Mauritius Standard Time":"Indian/Mauritius","Middle East Standard Time":"Asia/Beirut","Montevideo Standard Time":"America/Montevideo","Morocco Standard Time":"Africa/Casablanca","Mountain Standard Time":"America/Denver","Mountain Standard Time (Mexico)":"America/Chihuahua","Myanmar Standard Time":"Asia/Yangon","N. Central Asia Standard Time":"Asia/Novosibirsk","Namibia Standard Time":"Africa/Windhoek","Nepal Standard Time":"Asia/Katmandu","New Zealand Standard Time":"Pacific/Auckland","Newfoundland Standard Time":"America/St_Johns","Norfolk Standard Time":"Pacific/Norfolk","North Asia East Standard Time":"Asia/Irkutsk","North Asia Standard Time":"Asia/Krasnoyarsk","North Korea Standard Time":"Asia/Pyongyang","Omsk Standard Time":"Asia/Omsk","Pacific SA Standard Time":"America/Santiago","Pacific Standard Time":"America/Los_Angeles","Pacific Standard Time (Mexico)":"America/Tijuana","Pakistan Standard Time":"Asia/Karachi","Paraguay Standard Time":"America/Asuncion","Qyzylorda Standard Time":"Asia/Qyzylorda","Romance Standard Time":"Europe/Paris","Russia Time Zone 10":"Asia/Srednekolymsk","Russia Time Zone 11":"Asia/Kamchatka","Russia Time Zone 3":"Europe/Samara","Russian Standard Time":"Europe/Moscow","SA Eastern Standard Time":"America/Cayenne","SA Pacific Standard Time":"America/Bogota","SA Western Standard Time":"America/La_Paz","SE Asia Standard Time":"Asia/Bangkok","Saint Pierre Standard Time":"America/Miquelon","Sakhalin Standard Time":"Asia/Sakhalin","Samoa Standard Time":"Pacific/Apia","Sao Tome Standard Time":"Africa/Sao_Tome","Saratov Standard Time":"Europe/Saratov","Singapore Standard Time":"Asia/Singapore","South Africa Standard Time":"Africa/Johannesburg","South Sudan Standard Time":"Africa/Juba","Sri Lanka Standard Time":"Asia/Colombo","Sudan Standard Time":"Africa/Khartoum","Syria Standard Time":"Asia/Damascus","Taipei Standard Time":"Asia/Taipei","Tasmania Standard Time":"Australia/Hobart","Tocantins Standard Time":"America/Araguaina","Tokyo Standard Time":"Asia/Tokyo","Tomsk Standard Time":"Asia/Tomsk","Tonga Standard Time":"Pacific/Tongatapu","Transbaikal Standard Time":"Asia/Chita","Turkey Standard Time":"Europe/Istanbul","Turks And Caicos Standard Time":"America/Grand_Turk","US Eastern Standard Time":"America/Indianapolis","US Mountain Standard Time":"America/Phoenix",UTC:"Etc/UTC","UTC+12":"Etc/GMT-12","UTC+13":"Etc/GMT-13","UTC-02":"Etc/GMT+2","UTC-08":"Etc/GMT+8","UTC-09":"Etc/GMT+9","UTC-11":"Etc/GMT+11","Ulaanbaatar Standard Time":"Asia/Ulaanbaatar","Venezuela Standard Time":"America/Caracas","Vladivostok Standard Time":"Asia/Vladivostok","Volgograd Standard Time":"Europe/Volgograd","W. Australia Standard Time":"Australia/Perth","W. Central Africa Standard Time":"Africa/Lagos","W. Europe Standard Time":"Europe/Berlin","W. Mongolia Standard Time":"Asia/Hovd","West Asia Standard Time":"Asia/Tashkent","West Bank Standard Time":"Asia/Hebron","West Pacific Standard Time":"Pacific/Port_Moresby","Yakutsk Standard Time":"Asia/Yakutsk"}),P3=new Map;F0e=new Map});function B0e(r){let e=r.getFirstPropertyValue("tzid");return typeof e=="string"?e.trim():null}function mut(r){let e=r.replace(/\s+\([^)]+\)$/u,"").trim();return e&&e!==r?[e]:[]}function fut(r,e){var t;return(t=r.getAllSubcomponents("vtimezone").find(n=>B0e(n)===e))!=null?t:null}function hut(r,e){let t=new oo.Component(JSON.parse(JSON.stringify(r.toJSON())));return t.updatePropertyWithValue("tzid",e),t}function gut(r){r.getAllSubcomponents("vtimezone").forEach(t=>{let n=B0e(t);oo.TimezoneService.register(t),n&&mut(n).forEach(i=>{let a=fut(r,i),s=a!=null?a:hut(t,i),o=new oo.Timezone({component:s,tzid:i});a||r.addSubcomponent(s),oo.TimezoneService.register(o)})})}var JO,PD,dut,uut,put,QO,U0e=y(()=>{JO=require("obsidian");O0e();DC();gr();G();ls();j0e();PD=I({tag:"Services/ICSSubscriptionService"}),dut=365*24*60*60*1e3,uut=3e3,put=1e4;QO=class extends Wc{constructor(t){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.destroyed=!1;this.CACHE_GRACE_PERIOD=300*1e3;this.plugin=t}translate(t,n){return this.plugin.i18n.translate(t,n)}icalTimeToISOString(t,n){var s;if(t.isDate){let o=t.year.toString().padStart(4,"0"),l=t.month.toString().padStart(2,"0"),c=t.day.toString().padStart(2,"0");return`${o}-${l}-${c}`}let i=(s=t.zone)==null?void 0:s.tzid;if(i==="floating"||i===void 0){let o=$0e(n);if(o)return z0e(t,o)}let a=t.toUnixTime();return new Date(a*1e3).toISOString()}rawTzidOf(t,n){let i=t.getFirstProperty(n);if(!i)return null;let a=i.getParameter("tzid");return typeof a=="string"?a:null}async initialize(){this.destroyed=!1,await this.loadSubscriptions();let t=[];this.subscriptions.forEach(n=>{if(n.enabled){n.type==="remote"?this.startRefreshTimer(n):n.type==="local"&&this.startFileWatcher(n);let i=this.cache.get(n.id);(!i||new Date(i.expires)<=new Date)&&t.push(this.fetchSubscription(n.id))}}),await Promise.allSettled(t),this.emit("data-changed")}async loadSubscriptions(){try{let t=await this.plugin.loadData();this.subscriptions=(t==null?void 0:t.icsSubscriptions)||[]}catch(t){PD.error("Failed to load ICS subscriptions:",{category:"provider",operation:"load-ics-subscriptions",error:t}),this.subscriptions=[]}}async saveSubscriptions(){try{let t=await this.plugin.loadData()||{};t.icsSubscriptions=this.subscriptions,await this.plugin.saveData(t)}catch(t){throw PD.error("Failed to save ICS subscriptions:",{category:"provider",operation:"save-ics-subscriptions",error:t}),t}}getSubscriptions(){return[...this.subscriptions]}getLastFetched(t){return this.lastFetched.get(t)}getLastError(t){return this.lastError.get(t)}async addSubscription(t){let n={...t,filePath:t.type==="local"&&t.filePath?this.normalizeLocalICSFilePathIfPossible(t.filePath):t.filePath,id:this.generateId()};return this.subscriptions.push(n),await this.saveSubscriptions(),n.enabled&&(n.type==="remote"?(this.startRefreshTimer(n),await this.fetchSubscription(n.id)):n.type==="local"&&(this.startFileWatcher(n),await this.fetchSubscription(n.id))),this.emit("data-changed"),n}async updateSubscription(t,n){let i=this.subscriptions.findIndex(l=>l.id===t);if(i===-1)throw new Error("Subscription not found");let a=this.subscriptions[i],s={...n};typeof n.filePath=="string"&&(s.filePath=this.normalizeLocalICSFilePathIfPossible(n.filePath));let o={...a,...s};this.subscriptions[i]=o,await this.saveSubscriptions(),this.stopRefreshTimer(t),this.stopFileWatcher(t),o.enabled&&(o.type==="remote"?this.startRefreshTimer(o):o.type==="local"&&this.startFileWatcher(o)),(n.url&&n.url!==a.url||n.filePath&&n.filePath!==a.filePath)&&this.cache.delete(t),this.emit("data-changed")}async removeSubscription(t){let n=this.subscriptions.findIndex(i=>i.id===t);if(n===-1)throw new Error("Subscription not found");this.subscriptions.splice(n,1),await this.saveSubscriptions(),this.stopRefreshTimer(t),this.stopFileWatcher(t),this.cache.delete(t),this.lastFetched.delete(t),this.lastError.delete(t),this.emit("data-changed")}async fetchSubscription(t){let n=this.subscriptions.find(i=>i.id===t);if(!(!n||!n.enabled))try{let i;if(n.type==="remote"){if(!n.url)throw new Error("Remote subscription missing URL");i=(await(0,JO.requestUrl)({url:n.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(n.type==="local"){if(!n.filePath)throw new Error("Local subscription missing file path");let o=this.normalizeLocalICSFilePath(n.filePath);i=await this.readLocalICSFile(o),n.filePath!==o&&(n.filePath=o,await this.saveSubscriptions())}else throw new Error("Unknown subscription type");let a=this.parseICS(i,n.id),s={subscriptionId:t,events:a,lastUpdated:new Date().toISOString(),expires:new Date(Date.now()+n.refreshInterval*60*1e3).toISOString()};this.cache.set(t,s),this.lastFetched.set(t,new Date().toISOString()),this.lastError.delete(t),this.emit("data-changed")}catch(i){let a=i instanceof Error?i.message:String(i);this.lastError.set(t,a),n.type==="remote"?a.includes("404")?Ee(this.plugin.emitter,this.translate("services.icsSubscription.notices.calendarNotFound",{name:n.name})):a.includes("500")||a.includes("OwaBasicUnsupportedException")?Ee(this.plugin.emitter,this.translate("services.icsSubscription.notices.calendarAccessDenied",{name:n.name})):Ee(this.plugin.emitter,this.translate("services.icsSubscription.notices.fetchRemoteFailed",{name:n.name,error:a})):Ee(this.plugin.emitter,this.translate("services.icsSubscription.notices.readLocalFailed",{name:n.name,error:a}))}}parseICS(t,n){try{let i=oo.parse(t),a=new oo.Component(i);gut(a);let s=a.getAllSubcomponents("vevent"),o=[],l=new Map;return s.forEach(c=>{let d=new oo.Event(c),u=d.uid;if(!u)return;let p=c.getFirstPropertyValue("recurrence-id");if(p){l.has(u)||l.set(u,new Map);let m=Z(p);l.get(u).set(m,d)}}),s.forEach(c=>{try{let d=new oo.Event(c);if(c.getFirstPropertyValue("recurrence-id"))return;let p=c.getFirstPropertyValue("status");if(typeof p=="string"&&p.toUpperCase()==="CANCELLED")return;let m=c.getAllProperties("attendee");if(m&&m.length>0&&m.some(N=>{let R=N.getParameter("partstat");return typeof R=="string"&&R.toUpperCase()==="DECLINED"}))return;let f=d.summary||"Untitled Event",h=d.description||void 0,g=d.location||void 0,v=d.startDate,k=d.endDate;if(!v)return;let b=this.rawTzidOf(c,"dtstart"),w=this.rawTzidOf(c,"dtend"),S=v.isDate,x=this.icalTimeToISOString(v,b),C=k?this.icalTimeToISOString(k,w!=null?w:b):void 0,D=d.uid||`${n}-${o.length}`,_=`${n}-${D}`,O={id:_,subscriptionId:n,title:f,description:h,start:x,end:C,allDay:S,location:g,url:d.url||void 0};if(d.isRecurring()){let L=new Set;c.getAllProperties("exdate").forEach(te=>{let Te=te.getFirstValue();Te&&(Array.isArray(Te)?Te:[Te]).forEach(X=>{X&&typeof X.toString=="function"&&L.add(X.toString())})});let R=l.get(D)||new Map,z=d.iterator(v),H=new oo.Time;H.fromJSDate(new Date(Date.now()+dut));let Y,se=0,J=0;for(;(Y=z.next())&&se<put&&J<uut&&(se++,!(Y.compare(H)>0));){let te=Y.toString();if(L.has(te))continue;let Te=`${_}-${J}`,Ce=R.get(te);if(Ce){let X=Ce.startDate,ne=Ce.endDate,st=Ce.component,Ue=st?this.rawTzidOf(st,"dtstart"):null,Vt=st?this.rawTzidOf(st,"dtend"):null;X&&(o.push({id:Te,subscriptionId:n,title:Ce.summary||f,description:Ce.description||h,start:this.icalTimeToISOString(X,Ue),end:ne?this.icalTimeToISOString(ne,Vt!=null?Vt:Ue):void 0,allDay:X.isDate,location:Ce.location||g,url:Ce.url||O.url,recurringEventId:_}),J++)}else{let X=this.icalTimeToISOString(Y,b),ne=C;if(C&&x&&!S){let st=new Date(C).getTime()-new Date(x).getTime();ne=new Date(new Date(X).getTime()+st).toISOString()}o.push({...O,id:Te,start:X,end:ne,recurringEventId:_}),J++}}}else o.push(O)}catch(d){PD.warn("Failed to parse individual event:",{category:"provider",operation:"parse-individual-event",error:d})}}),o}catch(i){throw PD.error("Failed to parse ICS data:",{category:"provider",operation:"parse-ics-data",error:i}),new Error("Invalid ICS format")}}getAllEvents(){let t=[],n=new Date;return this.subscriptions.forEach(i=>{if(!i.enabled)return;let a=this.cache.get(i.id);if(!a){this.pendingRefreshes.has(i.id)||(this.pendingRefreshes.add(i.id),this.fetchSubscription(i.id).finally(()=>this.pendingRefreshes.delete(i.id)));return}let s=new Date(a.expires),o=new Date(s.getTime()+this.CACHE_GRACE_PERIOD);n<o?(t.push(...a.events),n>s&&!this.pendingRefreshes.has(i.id)&&(this.pendingRefreshes.add(i.id),this.fetchSubscription(i.id).finally(()=>this.pendingRefreshes.delete(i.id)))):this.pendingRefreshes.has(i.id)||(this.pendingRefreshes.add(i.id),this.fetchSubscription(i.id).finally(()=>this.pendingRefreshes.delete(i.id)))}),t}getEventsForSubscription(t){let n=this.cache.get(t);if(!n){let l=this.subscriptions.find(c=>c.id===t);return l&&l.enabled&&!this.pendingRefreshes.has(t)&&(this.pendingRefreshes.add(t),this.fetchSubscription(t).finally(()=>this.pendingRefreshes.delete(t))),[]}let i=new Date,a=new Date(n.expires),s=new Date(a.getTime()+this.CACHE_GRACE_PERIOD);return i>=s?(this.pendingRefreshes.has(t)||(this.pendingRefreshes.add(t),this.fetchSubscription(t).finally(()=>this.pendingRefreshes.delete(t))),[]):(i>a&&!this.pendingRefreshes.has(t)&&(this.pendingRefreshes.add(t),this.fetchSubscription(t).finally(()=>this.pendingRefreshes.delete(t))),[...n.events])}async refreshAllSubscriptions(){let t=this.subscriptions.filter(n=>n.enabled);for(let n of t)await this.fetchSubscription(n.id)}getVaultBasePath(){let t=this.plugin.app.vault.adapter;if(typeof(t==null?void 0:t.getBasePath)=="function")try{let n=t.getBasePath();return typeof n=="string"&&n.trim()?n:void 0}catch(n){PD.warn("Failed to resolve vault base path for local ICS file:",{category:"provider",operation:"resolve-vault-base-path-local-ics-file",error:n});return}}normalizePathSeparators(t){return t.trim().replace(/\\/g,"/").replace(/^\.\/+/u,"")}isAbsoluteFilePath(t){return t.startsWith("/")||/^[A-Za-z]:\//u.test(t)}normalizeLocalICSFilePath(t){let n=this.normalizePathSeparators(t);if(!this.isAbsoluteFilePath(n))return n;let i=this.getVaultBasePath();if(i){let a=this.normalizePathSeparators(i).replace(/\/+$/u,"");if(n.startsWith(`${a}/`))return n.slice(a.length+1)}throw new Error('Local ICS files must be inside the current Obsidian vault. Move the file into the vault or use a vault-relative path such as "Calendar.ics".')}normalizeLocalICSFilePathIfPossible(t){try{return this.normalizeLocalICSFilePath(t)}catch(n){return this.normalizePathSeparators(t)}}async readLocalICSFile(t){try{let n=this.normalizeLocalICSFilePath(t),i=this.plugin.app.vault.getAbstractFileByPath(n);if(!i||!(i instanceof JO.TFile))throw new Error(`File not found: ${n}`);if(i.extension!=="ics")throw new Error(`File is not an ICS file: ${n}`);return await this.plugin.app.vault.cachedRead(i)}catch(n){throw new Error(`Failed to read local ICS file "${t}": ${n instanceof Error?n.message:String(n)}`)}}startFileWatcher(t){if(!t.filePath)return;this.stopFileWatcher(t.id);let n=this.normalizeLocalICSFilePathIfPossible(t.filePath),i=(l,c)=>{(l.path===n||c===n)&&window.setTimeout(()=>{this.fetchSubscription(t.id)},1e3)},a=this.plugin.app.vault.on("modify",i),s=this.plugin.app.vault.on("rename",i),o=this.plugin.app.vault.on("delete",l=>{l.path===n&&this.lastError.set(t.id,"Local ICS file was deleted")});this.fileWatchers.set(t.id,()=>{this.plugin.app.vault.offref(a),this.plugin.app.vault.offref(s),this.plugin.app.vault.offref(o)}),this.startFileRefreshTimer(t)}stopFileWatcher(t){let n=this.fileWatchers.get(t);n&&(n(),this.fileWatchers.delete(t))}async refreshSubscription(t){await this.fetchSubscription(t)}startRefreshTimer(t){this.stopRefreshTimer(t.id),this.startRemoteRefreshTimer(t)}startFileRefreshTimer(t){let n=t.refreshInterval*60*1e3,i=window.setTimeout(()=>{this.refreshTimers.delete(t.id),this.fetchSubscription(t.id).finally(()=>{this.shouldContinueRefresh(t.id)&&this.startFileRefreshTimer(t)})},n);this.refreshTimers.set(t.id,i)}startRemoteRefreshTimer(t){let n=t.refreshInterval*60*1e3,i=window.setTimeout(()=>{this.refreshTimers.delete(t.id),this.fetchSubscription(t.id).finally(()=>{this.shouldContinueRefresh(t.id)&&this.startRemoteRefreshTimer(t)})},n);this.refreshTimers.set(t.id,i)}shouldContinueRefresh(t){return!this.destroyed&&this.subscriptions.some(n=>n.id===t&&n.enabled)}stopRefreshTimer(t){let n=this.refreshTimers.get(t);n&&(window.clearTimeout(n),this.refreshTimers.delete(t))}generateId(){return"ics_"+Math.random().toString(36).substring(2,11)+Date.now().toString(36)}destroy(){this.destroyed=!0,this.refreshTimers.forEach(t=>window.clearTimeout(t)),this.refreshTimers.clear(),this.fileWatchers.forEach(t=>t()),this.fileWatchers.clear(),this.cache.clear(),this.pendingRefreshes.clear(),this.removeAllListeners()}getLocalICSFiles(){return this.plugin.app.vault.getFiles().filter(t=>t.extension==="ics").sort((t,n)=>t.path.localeCompare(n.path))}}});var MD,ld,XO,H0e=y(()=>{MD=require("obsidian");Br();Kq();Ne();Eb();Ct();JN();G();ls();ld=I({tag:"Services/ICSNoteService"}),XO=class{constructor(e){this.plugin=e}translate(e,t){return this.plugin.i18n.translate(e,t)}findEventById(e){var s,o,l,c,d,u,p,m,f;let t=e.trim();if(!t)return null;let n=(s=this.plugin.icsSubscriptionService)==null?void 0:s.getAllEvents().find(h=>h.id===t);if(n){let h=(l=(o=this.plugin.icsSubscriptionService)==null?void 0:o.getSubscriptions().find(g=>g.id===n.subscriptionId))==null?void 0:l.name;return{event:n,subscriptionName:h}}let i=(c=this.plugin.googleCalendarService)==null?void 0:c.getAllEvents().find(h=>h.id===t);if(i){let h=i.subscriptionId.replace("google-",""),g=((u=(d=this.plugin.googleCalendarService)==null?void 0:d.getAvailableCalendars().find(v=>v.id===h))==null?void 0:u.summary)||"Google Calendar";return{event:i,subscriptionName:g}}let a=(p=this.plugin.microsoftCalendarService)==null?void 0:p.getAllEvents().find(h=>h.id===t);if(a){let h=a.subscriptionId.replace("microsoft-",""),g=((f=(m=this.plugin.microsoftCalendarService)==null?void 0:m.getAvailableCalendars().find(v=>v.id===h))==null?void 0:f.summary)||"Microsoft Calendar";return{event:a,subscriptionName:g}}return null}getLoadedCalendarEvents(){var e,t,n,i,a,s;return[...(t=(e=this.plugin.icsSubscriptionService)==null?void 0:e.getAllEvents())!=null?t:[],...(i=(n=this.plugin.googleCalendarService)==null?void 0:n.getAllEvents())!=null?i:[],...(s=(a=this.plugin.microsoftCalendarService)==null?void 0:a.getAllEvents())!=null?s:[]]}getExplicitSeriesId(e){var n;return((n=e.recurringEventId)==null?void 0:n.trim())||null}buildEventSeriesIndex(){let e=new Map;for(let i of this.getLoadedCalendarEvents()){let a=this.getExplicitSeriesId(i);if(!a)continue;let s=e.get(a);s||(s=new Set,e.set(a,s)),s.add(i.id)}let t=new Map,n=new Map;for(let[i,a]of e){n.set(i,a);for(let s of a)t.set(s,i)}return{seriesIdByEventId:t,eventIdsBySeriesId:n}}getRelatedEventIds(e,t){var s;let n=new Set([e]),i=t.seriesIdByEventId.get(e),a=t.eventIdsBySeriesId.has(e)?e:i;if(a){n.add(a);for(let o of(s=t.eventIdsBySeriesId.get(a))!=null?s:[])n.add(o)}return n}eventIdsMatchSeries(e,t,n){for(let i of this.getRelatedEventIds(e,n))if(t.has(i))return!0;return!1}async getRelatedNoteCountsByEventId(){let e=new Map,t=this.plugin.fieldMapper.toUserField("icsEventId"),n=this.buildEventSeriesIndex(),i=(a,s)=>{for(let o of this.normalizeEventIds(a))for(let l of this.getRelatedEventIds(o,n)){let c=e.get(l);c||(c=new Set,e.set(l,c)),c.add(s)}};try{let a=await this.plugin.cacheManager.getAllTasks();for(let o of a)i(o.icsEventId,o.path);let s=this.plugin.app.vault.getMarkdownFiles();for(let o of s){let l=this.plugin.app.metadataCache.getFileCache(o),c=l==null?void 0:l.frontmatter;c&&i(c[t],o.path)}}catch(a){return ld.error("Error counting related notes for ICS events:",{category:"provider",operation:"counting-related-notes-ics-events",error:a}),new Map}return new Map(Array.from(e.entries()).map(([a,s])=>[a,s.size]))}normalizeEventIds(e){return(Array.isArray(e)?e:e?[e]:[]).filter(n=>typeof n=="string").map(n=>n.trim()).filter(Boolean)}async createTaskFromICS(e,t){var n;try{let i=this.plugin.icsSubscriptionService.getSubscriptions().find(l=>l.id===e.subscriptionId),a=(i==null?void 0:i.name)||"Unknown Calendar",s=(t==null?void 0:t.scheduled)!==void 0?t.scheduled:this.computeScheduledFromICSEvent(e),o={title:(t==null?void 0:t.title)||e.title,status:(t==null?void 0:t.status)||this.plugin.settings.defaultTaskStatus,priority:(t==null?void 0:t.priority)||this.plugin.settings.defaultTaskPriority,due:(t==null?void 0:t.due)!==void 0?t.due:(n=this.plugin.settings.icsIntegration)!=null&&n.useICSEndAsDue?this.computeDueFromICSEnd(e):void 0,scheduled:s,contexts:(t==null?void 0:t.contexts)||(e.location?[e.location]:void 0),projects:t==null?void 0:t.projects,tags:(t==null?void 0:t.tags)||[this.plugin.fieldMapper.toUserField("icsEventTag")],timeEstimate:(t==null?void 0:t.timeEstimate)||this.calculateEventDuration(e),details:(t==null?void 0:t.details)||this.buildICSEventDetails(e,a),icsEventId:[e.id],creationContext:"ics-event",dateCreated:Ye(),dateModified:Ye(),...Object.fromEntries(Object.entries(t||{}).filter(([l])=>l!=="due"))};return await this.plugin.taskService.createTask(o,{applyDefaults:!1})}catch(i){let a=i instanceof Error?i.message:String(i);throw ld.error("Error creating task from ICS event:",{category:"provider",operation:"creating-task-ics-event",details:{icsEventId:e.id,icsEventTitle:e.title},error:a}),new Error(`Failed to create task from ICS event: ${a}`)}}computeScheduledFromICSEvent(e){try{if(!e.start)return;let t=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,n=new Date(t);return e.allDay?ce(n):P(n,"yyyy-MM-dd'T'HH:mm")}catch(t){return ld.warn("Failed to compute scheduled from ICS event start:",{category:"provider",operation:"compute-scheduled-ics-event-start",details:{start:e.start},error:t}),e.start}}computeDueFromICSEnd(e){try{if(!e.end)return;if(e.allDay){if(!e.start)return;let i=/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,a=new Date(i);return ce(a)}let t=/^\d{4}-\d{2}-\d{2}$/.test(e.end)?e.end+"T00:00:00":e.end,n=new Date(t);return P(n,"yyyy-MM-dd'T'HH:mm")}catch(t){ld.warn("Failed to compute due from ICS event end:",{category:"provider",operation:"compute-due-ics-event-end",details:{end:e.end},error:t});return}}async createNoteFromICS(e,t){var n;try{let i=this.plugin.icsSubscriptionService.getSubscriptions().find(O=>O.id===e.subscriptionId),a=(i==null?void 0:i.name)||"Unknown Calendar",s=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,o=new Date(s),l=(t==null?void 0:t.title)||`${e.title} - ${P(o,"PPP")}`,c=(t==null?void 0:t.folder)||((n=this.plugin.settings.icsIntegration)==null?void 0:n.defaultNoteFolder)||"",d=eR(c,{date:o,icsData:{title:e.title,location:e.location,description:e.description}}),u={title:e.title,priority:"",status:"",date:o,dueDate:e.end,scheduledDate:e.start,icsEventTitle:e.title,icsEventLocation:e.location,icsEventDescription:e.description},p=Xke(u,this.plugin.settings),m=await Sb(p,d,this.plugin.app.vault),f=d?`${d}/${m}.md`:`${m}.md`;d&&await Ap(this.plugin.app.vault,d);let h={title:l,priority:"",status:"",contexts:e.location?[e.location]:[],tags:[this.plugin.fieldMapper.toUserField("icsEventTag")],timeEstimate:0,dueDate:e.end||"",scheduledDate:e.start||"",details:e.description||"",parentNote:"",icsEventTitle:e.title,icsEventStart:e.start,icsEventEnd:e.end||"",icsEventLocation:e.location||"",icsEventDescription:e.description||"",icsEventUrl:e.url||"",icsEventSubscription:a,icsEventId:e.id},g=this.plugin.fieldMapper.toUserField("dateCreated"),v=this.plugin.fieldMapper.toUserField("dateModified"),k={title:l,[g]:Ye(),[v]:Ye(),tags:[this.plugin.fieldMapper.toUserField("icsEventTag")],[this.plugin.fieldMapper.toUserField("icsEventId")]:[e.id]},b=this.buildICSEventDetails(e,a);if(t!=null&&t.template)try{let O=(0,MD.normalizePath)(t.template.trim()),L=this.plugin.app.vault.getAbstractFileByPath(O.endsWith(".md")?O:`${O}.md`);if(L instanceof MD.TFile){let N=await this.plugin.app.vault.read(L),R=QN(N,h);k={...k,...R.frontmatter},b=R.body||b}else ld.warn(`ICS note template not found: ${O}`,{category:"provider",operation:"ics-note-template-not-found"}),Ee(this.plugin.emitter,this.translate("services.icsNote.notices.templateNotFound",{path:O}))}catch(O){ld.error("Error processing ICS note template:",{category:"provider",operation:"processing-ics-note-template",error:O}),Ee(this.plugin.emitter,this.translate("services.icsNote.notices.templateProcessError",{template:t.template}))}let S=`${Object.keys(k).length>0?`---
${Object.entries(k).map(([O,L])=>`${O}: ${this.formatYamlValue(L)}`).join(`
`)}
---
`:""}${b}`,x=await this.plugin.app.vault.create(f,S),C=Array.isArray(k.tags)?k.tags.filter(O=>typeof O=="string"):[],D=typeof k[g]=="string"?k[g]:void 0,_={title:l,path:x.path,tags:C,createdDate:D,lastModified:Date.now()};return{file:x,noteInfo:_}}catch(i){let a=i instanceof Error?i.message:String(i);throw ld.error("Error creating note from ICS event:",{category:"provider",operation:"creating-note-ics-event",details:{icsEventId:e.id,icsEventTitle:e.title},error:a}),new Error(`Failed to create note from ICS event: ${a}`)}}async findRelatedNotes(e){try{let t=[],n=new Set,i=this.plugin.fieldMapper.toUserField("icsEventId"),a=this.buildEventSeriesIndex(),s=this.getRelatedEventIds(e.id,a),o=d=>this.normalizeEventIds(d).some(u=>this.eventIdsMatchSeries(u,s,a)),l=await this.plugin.cacheManager.getAllTasks();for(let d of l)if(o(d.icsEventId)){if(n.has(d.path))continue;t.push(d),n.add(d.path)}let c=this.plugin.app.vault.getMarkdownFiles();for(let d of c)try{let u=this.plugin.app.metadataCache.getFileCache(d),p=u==null?void 0:u.frontmatter;if(p&&o(p[i])){if(n.has(d.path))continue;let m={title:p.title||d.basename,path:d.path,tags:p.tags||[],createdDate:p.dateCreated,lastModified:d.stat.mtime};t.push(m),n.add(d.path)}}catch(u){continue}return t}catch(t){return ld.error("Error finding related notes for ICS event:",{category:"provider",operation:"finding-related-notes-ics-event",error:t}),[]}}async linkNoteToICS(e,t){try{let n=this.plugin.app.vault.getAbstractFileByPath(e);if(!(n instanceof MD.TFile))throw new Error(`Cannot find note file: ${e}`);await this.plugin.app.fileManager.processFrontMatter(n,i=>{let a=this.plugin.fieldMapper.toUserField("icsEventId"),s=i[a];s?Array.isArray(s)||(s=[s]):s=[],s.includes(t.id)||s.push(t.id),i[a]=s;let o=this.plugin.fieldMapper.toUserField("dateModified");i[o]=Ye()}),Ee(this.plugin.emitter,this.translate("services.icsNote.notices.linkedToEvent",{title:t.title}))}catch(n){let i=n instanceof Error?n.message:String(n);throw ld.error("Error linking note to ICS event:",{category:"provider",operation:"linking-note-ics-event",details:{notePath:e,icsEventId:t.id},error:i}),new Error(`Failed to link note to ICS event: ${i}`)}}buildICSEventDetails(e,t){let n=[];if(n.push(`# ${e.title}`),n.push(""),e.start){let i=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,a=new Date(i);n.push(`**Start:** ${P(a,"PPPp")}`)}if(e.end&&!e.allDay){let i=/^\d{4}-\d{2}-\d{2}$/.test(e.end)?e.end+"T00:00:00":e.end,a=new Date(i);n.push(`**End:** ${P(a,"PPPp")}`)}return e.location&&n.push(`**Location:** ${e.location}`),n.push(`**Calendar:** ${t}`),e.description&&(n.push(""),n.push("## Description"),n.push(e.description)),e.url&&(n.push(""),n.push(`**Event URL:** ${e.url}`)),n.join(`
`)}formatYamlValue(e){return typeof e=="string"?e.includes(":")||e.includes("#")||e.includes("[")||e.includes("{")?`"${e.replace(/"/g,'\\"')}"`:e:Array.isArray(e)?`[${e.map(t=>typeof t=="string"?`"${t}"`:t).join(", ")}]`:String(e)}calculateEventDuration(e){if(!(!e.start||!e.end))try{let t=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,n=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.end)?e.end+"T00:00:00":e.end,i=new Date(t).getTime(),a=new Date(n).getTime();if(isNaN(i)||isNaN(a))return;let s=a-i,o=Math.round(s/(1e3*60));return o>0&&o<1440?o:void 0}catch(t){ld.warn("Error calculating event duration:",{category:"provider",operation:"calculating-event-duration",error:t});return}}}});var eL,ql,LT,EOr,FT=y(()=>{eL={TOKEN_REFRESH_BUFFER_MS:3e5,CALLBACK_PORT_START:8080,CALLBACK_PORT_END:8090},ql={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,MAX_REMINDER_MINUTES:40320,RATE_LIMIT:{MAX_RETRIES:3,INITIAL_BACKOFF_MS:1e3,MAX_BACKOFF_MS:16e3,BACKOFF_MULTIPLIER:2}},LT={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}},EOr={SECOND_MS:1e3,MINUTE_MS:60*1e3,HOUR_MS:3600*1e3,DAY_MS:1440*60*1e3}});var _D,AD,ys,Pg,ID,Bi,jm,$T,Yo,Mg,zT=y(()=>{_D=class extends Error{constructor(t,n){super(t);this.code=n;this.name="TaskNotesServiceError",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},AD=class extends _D{constructor(t,n,i){super(t,i);this.provider=n;this.name="OAuthError"}},ys=class extends AD{constructor(e){super(`${e} authentication expired. Please reconnect.`,e,"TOKEN_EXPIRED"),this.name="TokenExpiredError"}},Pg=class extends AD{constructor(t,n,i){let a=`${t} connection expired. Please reconnect in Settings > Integrations.`;super(a,t,"TOKEN_REFRESH_FAILED");this.oauthErrorCode=n;this.oauthErrorDescription=i;this.name="TokenRefreshError"}},ID=class extends AD{constructor(e){super(`${e} OAuth is not configured. Please provide OAuth credentials in settings.`,e,"NOT_CONFIGURED"),this.name="OAuthNotConfiguredError"}},Bi=class extends _D{constructor(t,n,i){super(t,i);this.statusCode=n;this.name="GoogleCalendarError"}},jm=class extends Bi{constructor(e){super(`Calendar event not found: ${e}`,404,"EVENT_NOT_FOUND"),this.name="EventNotFoundError"}},$T=class extends Bi{constructor(e){super(`Calendar not found: ${e}`,404,"CALENDAR_NOT_FOUND"),this.name="CalendarNotFoundError"}},Yo=class extends Bi{constructor(e){let t=e?`Rate limit exceeded. Retry after ${e} seconds.`:"Rate limit exceeded. Please try again later.";super(t,429,"RATE_LIMIT"),this.name="RateLimitError"}},Mg=class extends _D{constructor(t,n){super(t,"VALIDATION_ERROR");this.field=n;this.name="ValidationError"}}});function V0e(){if(!_g.Platform.isDesktopApp)throw new Error("OAuth redirect handling is only available on desktop.");return M3||(M3=require("http")),M3}var _g,Wl,M3,tL,q0e=y(()=>{_g=require("obsidian");FT();zT();G();ls();Wl=I({tag:"Services/OAuthService"}),M3=null;tL=class{constructor(e){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=e,this.loadClientIds()}async loadClientIds(){this.configs.google.clientId=this.plugin.settings.googleOAuthClientId||"",this.configs.google.clientSecret=this.plugin.settings.googleOAuthClientSecret||"",this.configs.microsoft.clientId=this.plugin.settings.microsoftOAuthClientId||"",this.configs.microsoft.clientSecret=this.plugin.settings.microsoftOAuthClientSecret||""}async authenticate(e){if(!this.configs[e].clientId)throw new ID(e);if(!(e==="google"&&this.plugin.settings.googleOAuthClientId||e==="microsoft"&&this.plugin.settings.microsoftOAuthClientId))throw new ID(e);return await this.authenticateStandard(e)}async authenticateStandard(e){try{let t=this.configs[e];if(!_g.Platform.isDesktopApp)throw Ee(this.plugin.emitter,"OAUTH authentication requires the desktop app."),new Error("OAuth authentication requires the desktop app.");let n=this.generateCodeVerifier(),i=await this.generateCodeChallenge(n),a=this.generateState(),s=await this.findAvailablePort(eL.CALLBACK_PORT_START,eL.CALLBACK_PORT_END);await this.startCallbackServer(s);let o=t.redirectUri;t.redirectUri=`http://127.0.0.1:${s}`;try{let l=this.buildAuthorizationUrl(t,i,a);this.pendingOAuthState.set(a,{provider:e,codeVerifier:n,resolve:()=>{},reject:()=>{}}),Ee(this.plugin.emitter,`Opening browser for ${e} authorization...`),window.open(l,"_blank");let c=await this.waitForCallback(a,3e5),d=await this.exchangeCodeForTokens(t,c,n);await this.storeConnection(e,d),Ee(this.plugin.emitter,`Successfully connected to ${e} Calendar!`)}finally{t.redirectUri=o}}catch(t){throw Wl.error(`OAuth authentication failed for ${e}:`,{category:"provider",operation:"oauth-authentication",error:t}),Ee(this.plugin.emitter,`Failed to connect to ${e}: ${t.message}`),t}finally{await this.stopCallbackServer()}}async findAvailablePort(e,t){let n=V0e();for(let i=e;i<=t;i++)try{return await new Promise((a,s)=>{let o=n.createServer();o.once("error",s),o.once("listening",()=>{o.close(),a()}),o.listen(i,"127.0.0.1")}),i}catch(a){continue}throw new Error(`No available ports found between ${e} and ${t}`)}generateCodeVerifier(){return this.base64UrlEncode(crypto.getRandomValues(new Uint8Array(32)))}async generateCodeChallenge(e){let t=new TextEncoder().encode(e),n=await crypto.subtle.digest("SHA-256",t);return this.base64UrlEncode(new Uint8Array(n))}generateState(){return Array.from(crypto.getRandomValues(new Uint8Array(16))).map(e=>e.toString(16).padStart(2,"0")).join("")}base64UrlEncode(e){let t="";return e.forEach(n=>{t+=String.fromCharCode(n)}),btoa(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}buildAuthorizationUrl(e,t,n){let i=new URLSearchParams({client_id:e.clientId,redirect_uri:e.redirectUri,response_type:"code",scope:e.scope.join(" "),state:n,code_challenge:t,code_challenge_method:"S256"});return e.provider==="google"&&(i.set("access_type","offline"),i.set("prompt","consent")),`${e.authorizationEndpoint}?${i.toString()}`}async startCallbackServer(e){return new Promise((t,n)=>{if(this.callbackServer){t();return}let i;try{i=V0e()}catch(a){n(a instanceof Error?a:new Error(String(a)));return}this.callbackServer=i.createServer((a,s)=>{this.handleCallback(a,s)}),this.callbackServer.once("error",a=>{Wl.error("OAuth callback server error:",{category:"provider",operation:"oauth-callback-server",error:a}),n(a)}),this.callbackServer.listen(e,"127.0.0.1",()=>{t()})})}async stopCallbackServer(){return new Promise(e=>{if(!this.callbackServer){e();return}this.callbackServer.close(()=>{this.callbackServer=null,e()})})}handleCallback(e,t){let n=e.headers.host,i=Array.isArray(n)?n[0]:n!=null?n:"localhost",a=new URL(e.url||"",`http://${i}`),s=a.searchParams.get("code"),o=a.searchParams.get("state"),l=a.searchParams.get("error");if(t.writeHead(200,{"Content-Type":"text/html"}),l){t.end(`
<!DOCTYPE html>
<html>
<head><title>OAuth Error</title></head>
<body>
<h1>Authorization Failed</h1>
<p>Error: ${l}</p>
<p>You can close this window.</p>
</body>
</html>
`);let d=o?this.pendingOAuthState.get(o):null;d&&o&&(d.reject(new Error(`OAuth error: ${l}`)),this.pendingOAuthState.delete(o));return}if(!s||!o){t.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}t.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 c=this.pendingOAuthState.get(o);c&&(c.resolve(s),this.pendingOAuthState.delete(o))}waitForCallback(e,t){return new Promise((n,i)=>{let a=this.pendingOAuthState.get(e);if(!a){i(new Error("Invalid OAuth state"));return}a.resolve=n,a.reject=i,window.setTimeout(()=>{this.pendingOAuthState.has(e)&&(this.pendingOAuthState.delete(e),i(new Error("OAuth timeout - authorization took too long")))},t)})}async exchangeCodeForTokens(e,t,n){let i={client_id:e.clientId,code:t,code_verifier:n,redirect_uri:e.redirectUri,grant_type:"authorization_code"};e.clientSecret&&(i.client_secret=e.clientSecret);let a=new URLSearchParams(i);try{let s=await(0,_g.requestUrl)({url:e.tokenEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:a.toString(),throw:!1});if(s.status!==200)throw Wl.error("Token exchange failed with status:",{category:"provider",operation:"token-exchange-status",details:{value:s.status}}),Wl.error("Response headers:",{category:"provider",operation:"response-headers",details:{value:s.headers}}),Wl.error("Response body:",{category:"provider",operation:"response-body",details:{value:s.text}}),Wl.error("Response JSON:",{category:"provider",operation:"response-json",details:{value: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||e.scope.join(" "),tokenType:o.token_type||"Bearer"}}catch(s){throw Wl.error("Token exchange error:",{category:"provider",operation:"token-exchange",error:s}),new Error(`Failed to exchange code for tokens: ${s.message}`)}}async refreshToken(e){let t=await this.getConnection(e);if(!t)throw new Error(`No ${e} connection found`);if(!t.tokens.refreshToken)throw new Error(`No refresh token available for ${e}`);let n=this.configs[e],i={client_id:n.clientId,refresh_token:t.tokens.refreshToken,grant_type:"refresh_token"};n.clientSecret&&(i.client_secret=n.clientSecret);let a=new URLSearchParams(i);try{let s=await(0,_g.requestUrl)({url:n.tokenEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:a.toString(),throw:!1});if(s.status!==200){let u,p;try{let f=s.json;u=f==null?void 0:f.error,p=f==null?void 0:f.error_description}catch(f){}throw Wl.error("[OAuth] Token refresh failed:",{category:"provider",operation:"token-refresh",details:{status:s.status,description:p},error:u}),s.status===401||s.status===400&&(u==="invalid_grant"||u==="invalid_client")?(await this.clearConnection(e),Ee(this.plugin.emitter,`${e} connection expired. Please reconnect in Settings > Integrations.`),new Pg(e,u,p)):new Error(`Token refresh failed with status ${s.status}: ${u||s.text||"Unknown error"}`)}let o=s.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||t.tokens.refreshToken,expiresAt:c,scope:o.scope||t.tokens.scope,tokenType:o.token_type||"Bearer"};return await this.storeConnection(e,d,t.userEmail),d}catch(s){throw s instanceof Pg?s:(Wl.error("Token refresh failed:",{category:"provider",operation:"token-refresh",error:s}),new Error(`Failed to refresh ${e} token: ${s.message}`))}}async clearConnection(e){let t=await this.plugin.loadData()||{};t.oauthConnections&&(delete t.oauthConnections[e],await this.plugin.saveData(t))}async getValidToken(e){let t=await this.getConnection(e);if(!t)throw new ys(e);let n=Date.now(),i=eL.TOKEN_REFRESH_BUFFER_MS;if(t.tokens.expiresAt-i<n){let a=this.tokenRefreshPromises.get(e);if(a)return(await a).accessToken;let s=this.refreshToken(e).finally(()=>{this.tokenRefreshPromises.delete(e)});return this.tokenRefreshPromises.set(e,s),(await s).accessToken}return t.tokens.accessToken}async storeConnection(e,t,n){let i={provider:e,tokens:t,userEmail:n,connectedAt:new Date().toISOString(),lastRefreshed:new Date().toISOString()},a=await this.plugin.loadData()||{};a.oauthConnections||(a.oauthConnections={}),a.oauthConnections[e]=i,await this.plugin.saveData(a)}async getConnection(e){var n;let t=await this.plugin.loadData();return((n=t==null?void 0:t.oauthConnections)==null?void 0:n[e])||null}async isConnected(e){return await this.getConnection(e)!==null}async disconnect(e){let t=await this.getConnection(e);if(!t)return;await this.revokeToken(e,t.tokens.accessToken),t.tokens.refreshToken&&await this.revokeToken(e,t.tokens.refreshToken);let n=await this.plugin.loadData()||{};n.oauthConnections&&(delete n.oauthConnections[e],await this.plugin.saveData(n)),Ee(this.plugin.emitter,`Disconnected from ${e} Calendar`)}async revokeToken(e,t){let n=this.configs[e];if(!n.revocationEndpoint){Wl.warn(`No revocation endpoint configured for ${e}`,{category:"provider",operation:"no-revocation-endpoint-configured"});return}try{await(0,_g.requestUrl)({url:n.revocationEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({token:t,...n.clientId&&{client_id:n.clientId}}).toString(),throw:!1})}catch(i){Wl.error(`[OAuth] Failed to revoke token for ${e}:`,{category:"provider",operation:"revoke-token",error:i})}}async destroy(){await this.stopCallbackServer(),this.pendingOAuthState.clear(),this.tokenRefreshPromises.clear()}}});function W0e(r,e){if(!r||r.trim()==="")throw new Mg(`${e} cannot be empty`,e)}function Go(r,e){if(r==null)throw new Mg(`${e} is required`,e)}function Bm(r){if(W0e(r,"Calendar ID"),!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$|^[a-zA-Z0-9_-]+$|^[a-zA-Z0-9+/]+=*$/.test(r))throw new Mg("Invalid calendar ID format. Expected email-like, alphanumeric, or Base64 format.","calendarId")}function jT(r){if(W0e(r,"Event ID"),!/^[a-zA-Z0-9_+/=-]+$/.test(r))throw new Mg("Invalid event ID format. Expected alphanumeric or Base64 format.","eventId")}var _3=y(()=>{zT()});var yut,BT,rL,nL=y(()=>{DC();G();yut=I({tag:"Services/CalendarProvider"}),BT=class extends Wc{ownsEvent(e){var t,n;return(n=(t=e.subscriptionId)==null?void 0:t.startsWith(`${this.providerId}-`))!=null?n:!1}extractEventIds(e){let t=e.subscriptionId.replace(`${this.providerId}-`,""),n=e.id.replace(`${this.providerId}-${t}-`,"");return{calendarId:t,eventId:n}}},rL=class{constructor(){this.providers=new Map}register(e){this.providers.set(e.providerId,e)}unregister(e){this.providers.delete(e)}getProvider(e){return this.providers.get(e)}getAllProviders(){return Array.from(this.providers.values())}findProviderForEvent(e){for(let t of this.providers.values())if(t.ownsEvent(e))return t}getAllEvents(){let e=[];for(let t of this.providers.values())e.push(...t.getAllEvents());return e}async refreshAll(){let e=Array.from(this.providers.values()).map(t=>t.refresh().catch(n=>{yut.error(`Failed to refresh ${t.providerName}:`,{category:"provider",operation:"refresh",error:n})}));await Promise.all(e)}destroyAll(){for(let e of this.providers.values())e.destroy();this.providers.clear()}}});var Um,Ko,vut,iL,Y0e=y(()=>{Um=require("obsidian");Br();FT();zT();_3();nL();G();ls();Ko=I({tag:"Services/GoogleCalendarService"}),vut={1:"#a4bdfc",2:"#7ae7bf",3:"#dbadff",4:"#ff887c",5:"#fbd75b",6:"#ffb878",7:"#46d6db",8:"#e1e1e1",9:"#5484ed",10:"#51b749",11:"#dc2127"},iL=class extends BT{constructor(t,n){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=t,this.oauthService=n}sleep(t){return new Promise(n=>window.setTimeout(n,t))}async withRetry(t,n){let{MAX_RETRIES:i,INITIAL_BACKOFF_MS:a,MAX_BACKOFF_MS:s,BACKOFF_MULTIPLIER:o}=ql.RATE_LIMIT,l=null,c=a;for(let d=0;d<=i;d++)try{return await t()}catch(u){l=u;let p=u.status===429,m=u.status>=500&&u.status<600,f=d===i;if(!p&&!m)throw u;if(f)throw Ko.error(`[GoogleCalendar] ${n} failed after ${i} retries`,{category:"provider",operation:"retry-google-calendar-request",details:{context:n,attempts:i},error:u}),u;let h=Math.random()*.3*c,g=Math.min(c+h,s);Ko.warn("Google Calendar request failed and will be retried",{category:"provider",operation:"retry-google-calendar-request",details:{context:n,status:u.status,delayMs:Math.round(g),nextAttempt:d+1,maxRetries:i},error:u}),await this.sleep(g),c=Math.min(c*o,s)}throw l instanceof Error?l:new Error(String(l))}getAvailableCalendars(){return this.availableCalendars}getEnabledCalendarIds(){return this.plugin.settings.enabledGoogleCalendars.length===0?this.availableCalendars.map(t=>t.id):this.plugin.settings.enabledGoogleCalendars}getSyncToken(t){return this.plugin.settings.googleCalendarSyncTokens[t]}async saveSyncToken(t,n){this.plugin.settings.googleCalendarSyncTokens[t]!==n&&(this.plugin.settings.googleCalendarSyncTokens[t]=n,await this.persistSettingsDataOnly())}async clearSyncToken(t){t in this.plugin.settings.googleCalendarSyncTokens&&(delete this.plugin.settings.googleCalendarSyncTokens[t],await this.persistSettingsDataOnly())}async persistSettingsDataOnly(){let t=this.plugin.saveSettingsDataOnly;typeof t=="function"&&await t.call(this.plugin)}async initialize(){await this.oauthService.isConnected("google")&&(await this.refreshAllCalendars(),this.startRefreshTimer())}startRefreshTimer(){this.refreshTimer&&window.clearTimeout(this.refreshTimer),this.refreshTimer=window.setTimeout(()=>{this.refreshTimer=null,this.refreshAllCalendars().catch(t=>{Ko.error("Google Calendar refresh failed:",{category:"provider",operation:"google-calendar-refresh",error:t})}).finally(()=>{this.oauthService.isConnected("google").then(t=>{t&&this.startRefreshTimer()})})},ql.REFRESH_INTERVAL_MS)}stopRefreshTimer(){this.refreshTimer&&(window.clearTimeout(this.refreshTimer),this.refreshTimer=null)}async listCalendars(){try{return await this.withRetry(async()=>{let t=await this.oauthService.getValidToken("google"),a=(await(0,Um.requestUrl)({url:`${this.baseUrl}/users/me/calendarList`,method:"GET",headers:{Authorization:`Bearer ${t}`,Accept:"application/json"}})).json.items||[],s=[];for(let o of a)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(t){throw Ko.error("Failed to list calendars:",{category:"provider",operation:"list-calendars",error:t}),new Bi(`Failed to fetch calendar list: ${t.message}`,t.status)}}async fetchCalendarEvents(t,n,i){try{let a=await this.oauthService.getValidToken("google"),s=this.getSyncToken(t),o=[],l,c,d=!s,u=!1;do try{let p=new URLSearchParams({singleEvents:"true",maxResults:ql.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=n||new Date(g.getTime()-720*60*60*1e3),k=i||new Date(g.getTime()+2160*60*60*1e3);p.set("timeMin",v.toISOString()),p.set("timeMax",k.toISOString()),p.set("orderBy","startTime")}let f=(await this.withRetry(async()=>await(0,Um.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(t)}/events?${p.toString()}`,method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}}),`Fetch events for ${t}`)).json,h=f.items||[];!d&&h.some(g=>g.status==="cancelled")&&(u=!0),o.push(...h),l=f.nextPageToken,f.nextSyncToken&&(c=f.nextSyncToken)}catch(p){if(p.status===410)return await this.clearSyncToken(t),await this.fetchCalendarEvents(t,n,i);throw p}while(l);return c&&await this.saveSyncToken(t,c),{events:o,isFullSync:d,hasDeletes:u}}catch(a){throw Ko.error(`Failed to fetch events from calendar ${t}:`,{category:"provider",operation:"fetch-events-calendar",error:a}),new Error(`Failed to fetch calendar events: ${a.message}`)}}convertToICSEvent(t,n){var c,d;let i,a,s;if(t.start.date)i=t.start.date,a=(c=t.end)==null?void 0:c.date,s=!0;else{let u=new Date(t.start.dateTime),p=(d=t.end)!=null&&d.dateTime?new Date(t.end.dateTime):void 0;i=P(u,"yyyy-MM-dd'T'HH:mm:ss"),a=p?P(p,"yyyy-MM-dd'T'HH:mm:ss"):void 0,s=!1}let o;t.colorId&&(o=vut[t.colorId]),o||(o=this.calendarColors.get(n)),o||(o="#4285F4");let l=t.recurringEventId?`google-${n}-${t.recurringEventId}`:void 0;return{id:`google-${n}-${t.id}`,subscriptionId:`google-${n}`,title:t.summary||"Untitled Event",description:t.description,start:i,end:a,allDay:s,location:t.location,url:t.htmlLink,recurringEventId:l,color:o}}async refreshAllCalendars(t={}){try{if(!await this.oauthService.isConnected("google"))return;this.availableCalendars=await this.listCalendars();let i=this.getEnabledCalendarIds(),a=this.cache.get("all")||[];for(let s of i)try{let{events:o,isFullSync:l}=await this.fetchCalendarEvents(s);if(l){a=a.filter(d=>d.subscriptionId!==`google-${s}`);let c=o.filter(d=>d.status!=="cancelled").map(d=>this.convertToICSEvent(d,s));a.push(...c)}else for(let c of o){let d=`google-${s}-${c.id}`,u=a.findIndex(p=>p.id===d);if(c.status==="cancelled")u!==-1&&a.splice(u,1);else{let p=this.convertToICSEvent(c,s);u!==-1?a[u]=p:a.push(p)}}}catch(o){Ko.error(`Failed to fetch events from calendar ${s}:`,{category:"provider",operation:"fetch-events-calendar",error:o})}this.cache.set("all",a),this.emit("data-changed")}catch(n){if(Ko.error("Failed to refresh Google calendars:",{category:"provider",operation:"refresh-google-calendars",error:n}),n.message&&n.message.includes("401")&&Ko.warn("[GoogleCalendar] Authentication expired - caller should handle re-authentication",{category:"provider",operation:"authentication-expired-caller-should-handle-re-authentication"}),t.propagateErrors)throw n}}getAllEvents(){return this.cache.get("all")||[]}getCachedEvents(){return this.getAllEvents()}async getEvents(t,n,i){let{events:a}=await this.fetchCalendarEvents(t,n,i);return a.filter(s=>s.status!=="cancelled").map(s=>this.convertToICSEvent(s,t))}async manualRefresh(){return this.refresh()}async refresh(){let t=Date.now(),n=t-this.lastManualRefresh,i=ql.MIN_MANUAL_REFRESH_INTERVAL_MS;if(n<i){let a=i-n;Ee(this.plugin.emitter,`Please wait ${Math.ceil(a/1e3)}s before refreshing again`);return}this.lastManualRefresh=t,await this.refreshAllCalendars({propagateErrors:!0})}clearCache(){this.cache.clear()}async updateEvent(t,n,i){Bm(t),jT(n),Go(i,"updates");try{let a=await this.oauthService.getValidToken("google"),l={...(await this.withRetry(async()=>await(0,Um.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`,method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}}),`Get event ${n}`)).json};l.status==="cancelled"&&(l.status="confirmed"),(i.title!==void 0||i.summary!==void 0)&&(l.summary=i.summary||i.title),i.description!==void 0&&(l.description=i.description),i.location!==void 0&&(l.location=i.location),i.reminders!==void 0&&(l.reminders=i.reminders),i.colorId!==void 0&&(l.colorId=i.colorId),i.recurrence!==void 0&&(l.recurrence=i.recurrence),i.start!==void 0&&(typeof i.start=="string"?i.isAllDay||!/T/.test(i.start)?l.start={date:i.start}:l.start={dateTime:i.start,timeZone:"UTC"}:l.start=i.start),i.end!==void 0&&(typeof i.end=="string"?i.isAllDay||!/T/.test(i.end)?l.end={date:i.end}:l.end={dateTime:i.end,timeZone:"UTC"}:l.end=i.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,Um.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`,method:"PUT",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(l)}),`Update event ${n}`)).json,u=this.convertToICSEvent(d,t);return await this.refreshAllCalendars(),u}catch(a){throw Ko.error("Failed to update Google Calendar event:",{category:"provider",operation:"update-google-calendar-event",error:a}),a.status===404?new jm(n):a.status===401||a.status===403?new ys("google"):a.status===429?new Yo:new Bi(`Failed to update event: ${a.message}`,a.status)}}async createEvent(t,n){Bm(t),Go(n,"event");let i=n.summary||n.title;Go(i,"event.summary"),Go(n.start,"event.start"),Go(n.end,"event.end");try{let a=await this.oauthService.getValidToken("google"),s={summary:i,description:n.description,location:n.location};n.reminders&&(s.reminders=n.reminders),n.colorId&&(s.colorId=n.colorId),n.recurrence&&n.recurrence.length>0&&(s.recurrence=n.recurrence),typeof n.start=="string"?n.isAllDay||!/T/.test(n.start)?(s.start={date:n.start},s.end={date:n.end}):(s.start={dateTime:n.start,timeZone:"UTC"},s.end={dateTime:n.end,timeZone:"UTC"}):(s.start=n.start,s.end=typeof n.end=="string"?{dateTime:n.end,timeZone:"UTC"}:n.end);let l=(await this.withRetry(async()=>await(0,Um.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(t)}/events`,method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),`Create event in ${t}`)).json,c=this.convertToICSEvent(l,t);return await this.refreshAllCalendars(),c}catch(a){throw Ko.error("Failed to create Google Calendar event:",{category:"provider",operation:"create-google-calendar-event",error:a}),a.status===404?new $T(t):a.status===401||a.status===403?new ys("google"):a.status===429?new Yo:new Bi(`Failed to create event: ${a.message}`,a.status)}}async deleteEvent(t,n){Bm(t),jT(n);try{let i=await this.oauthService.getValidToken("google");await this.withRetry(async()=>await(0,Um.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`,method:"DELETE",headers:{Authorization:`Bearer ${i}`}}),`Delete event ${n}`),await this.refreshAllCalendars()}catch(i){if(i.status===410)return;throw Ko.error("Failed to delete Google Calendar event:",{category:"provider",operation:"delete-google-calendar-event",error:i}),i.status===404?new jm(n):i.status===401||i.status===403?new ys("google"):i.status===429?new Yo:new Bi(`Failed to delete event: ${i.message}`,i.status)}}async createCalendar(t,n){try{let i=await this.oauthService.getValidToken("google"),s=(await this.withRetry(async()=>await(0,Um.requestUrl)({url:`${this.baseUrl}/calendars`,method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({summary:t,description:n,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone})}),"Create calendar")).json;return this.availableCalendars=await this.listCalendars(),s.id}catch(i){throw Ko.error("Failed to create calendar:",{category:"provider",operation:"create-calendar",error:i}),i.status===401||i.status===403?new ys("google"):i.status===429?new Yo:new Bi(`Failed to create calendar: ${i.message}`,i.status)}}destroy(){this.stopRefreshTimer(),this.cache.clear(),this.removeAllListeners()}}});var yt=E(Je=>{"use strict";Je.secondsInYear=Je.secondsInWeek=Je.secondsInQuarter=Je.secondsInMonth=Je.secondsInMinute=Je.secondsInHour=Je.secondsInDay=Je.quartersInYear=Je.monthsInYear=Je.monthsInQuarter=Je.minutesInYear=Je.minutesInMonth=Je.minutesInHour=Je.minutesInDay=Je.minTime=Je.millisecondsInWeek=Je.millisecondsInSecond=Je.millisecondsInMinute=Je.millisecondsInHour=Je.millisecondsInDay=Je.maxTime=Je.daysInYear=Je.daysInWeek=Je.constructFromSymbol=void 0;var WOr=Je.daysInWeek=7,but=Je.daysInYear=365.2425,Tut=Je.maxTime=Math.pow(10,8)*24*60*60*1e3,YOr=Je.minTime=-Tut,GOr=Je.millisecondsInWeek=6048e5,KOr=Je.millisecondsInDay=864e5,ZOr=Je.millisecondsInMinute=6e4,QOr=Je.millisecondsInHour=36e5,JOr=Je.millisecondsInSecond=1e3,XOr=Je.minutesInYear=525600,eLr=Je.minutesInMonth=43200,tLr=Je.minutesInDay=1440,rLr=Je.minutesInHour=60,nLr=Je.monthsInQuarter=3,iLr=Je.monthsInYear=12,aLr=Je.quartersInYear=4,kut=Je.secondsInHour=3600,sLr=Je.secondsInMinute=60,G0e=Je.secondsInDay=kut*24,oLr=Je.secondsInWeek=G0e*7,wut=Je.secondsInYear=G0e*but,Sut=Je.secondsInMonth=wut/12,lLr=Je.secondsInQuarter=Sut*3,cLr=Je.constructFromSymbol=Symbol.for("constructDateFrom")});var Ve=E(Z0e=>{"use strict";Z0e.constructFrom=Eut;var K0e=yt();function Eut(r,e){return typeof r=="function"?r(e):r&&typeof r=="object"&&K0e.constructFromSymbol in r?r[K0e.constructFromSymbol](e):r instanceof Date?new r.constructor(e):new Date(e)}});var Q=E(Q0e=>{"use strict";Q0e.toDate=Cut;var xut=Ve();function Cut(r,e){return(0,xut.constructFrom)(e||r,r)}});var cd=E(J0e=>{"use strict";J0e.addDays=Mut;var Dut=Ve(),Put=Q();function Mut(r,e,t){let n=(0,Put.toDate)(r,t==null?void 0:t.in);return isNaN(e)?(0,Dut.constructFrom)((t==null?void 0:t.in)||r,NaN):(e&&n.setDate(n.getDate()+e),n)}});var UT=E(eMe=>{"use strict";eMe.addMonths=Aut;var X0e=Ve(),_ut=Q();function Aut(r,e,t){let n=(0,_ut.toDate)(r,t==null?void 0:t.in);if(isNaN(e))return(0,X0e.constructFrom)((t==null?void 0:t.in)||r,NaN);if(!e)return n;let i=n.getDate(),a=(0,X0e.constructFrom)((t==null?void 0:t.in)||r,n.getTime());a.setMonth(n.getMonth()+e+1,0);let s=a.getDate();return i>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),i),n)}});var A3=E(tMe=>{"use strict";tMe.add=Lut;var Iut=cd(),Nut=UT(),Rut=Ve(),Out=Q();function Lut(r,e,t){let{years:n=0,months:i=0,weeks:a=0,days:s=0,hours:o=0,minutes:l=0,seconds:c=0}=e,d=(0,Out.toDate)(r,t==null?void 0:t.in),u=i||n?(0,Nut.addMonths)(d,i+n*12):d,p=s||a?(0,Iut.addDays)(u,s+a*7):u,m=l+o*60,h=(c+m*60)*1e3;return(0,Rut.constructFrom)((t==null?void 0:t.in)||r,+p+h)}});var I3=E(rMe=>{"use strict";rMe.isSaturday=$ut;var Fut=Q();function $ut(r,e){return(0,Fut.toDate)(r,e==null?void 0:e.in).getDay()===6}});var N3=E(nMe=>{"use strict";nMe.isSunday=jut;var zut=Q();function jut(r,e){return(0,zut.toDate)(r,e==null?void 0:e.in).getDay()===0}});var ND=E(iMe=>{"use strict";iMe.isWeekend=Uut;var But=Q();function Uut(r,e){let t=(0,But.toDate)(r,e==null?void 0:e.in).getDay();return t===0||t===6}});var O3=E(aMe=>{"use strict";aMe.addBusinessDays=Yut;var Hut=Ve(),Vut=I3(),qut=N3(),R3=ND(),Wut=Q();function Yut(r,e,t){let n=(0,Wut.toDate)(r,t==null?void 0:t.in),i=(0,R3.isWeekend)(n,t);if(isNaN(e))return(0,Hut.constructFrom)(t==null?void 0:t.in,NaN);let a=n.getHours(),s=e<0?-1:1,o=Math.trunc(e/5);n.setDate(n.getDate()+o*7);let l=Math.abs(e%5);for(;l>0;)n.setDate(n.getDate()+s),(0,R3.isWeekend)(n,t)||(l-=1);return i&&(0,R3.isWeekend)(n,t)&&e!==0&&((0,Vut.isSaturday)(n,t)&&n.setDate(n.getDate()+(s<0?2:-1)),(0,qut.isSunday)(n,t)&&n.setDate(n.getDate()+(s<0?1:-2))),n.setHours(a),n}});var RD=E(sMe=>{"use strict";sMe.addMilliseconds=Zut;var Gut=Ve(),Kut=Q();function Zut(r,e,t){return(0,Gut.constructFrom)((t==null?void 0:t.in)||r,+(0,Kut.toDate)(r)+e)}});var L3=E(oMe=>{"use strict";oMe.addHours=Xut;var Qut=RD(),Jut=yt();function Xut(r,e,t){return(0,Qut.addMilliseconds)(r,e*Jut.millisecondsInHour,t)}});var fa=E(F3=>{"use strict";F3.getDefaultOptions=ept;F3.setDefaultOptions=tpt;var lMe={};function ept(){return lMe}function tpt(r){lMe=r}});var Yl=E(cMe=>{"use strict";cMe.startOfWeek=ipt;var rpt=fa(),npt=Q();function ipt(r,e){var o,l,c,d,u,p,m,f;let t=(0,rpt.getDefaultOptions)(),n=(f=(m=(d=(c=e==null?void 0:e.weekStartsOn)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:t.weekStartsOn)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?f:0,i=(0,npt.toDate)(r,e==null?void 0:e.in),a=i.getDay(),s=(a<n?7:0)+a-n;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}});var dd=E(dMe=>{"use strict";dMe.startOfISOWeek=spt;var apt=Yl();function spt(r,e){return(0,apt.startOfWeek)(r,{...e,weekStartsOn:1})}});var Hm=E(mMe=>{"use strict";mMe.getISOWeekYear=lpt;var uMe=Ve(),pMe=dd(),opt=Q();function lpt(r,e){let t=(0,opt.toDate)(r,e==null?void 0:e.in),n=t.getFullYear(),i=(0,uMe.constructFrom)(t,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let a=(0,pMe.startOfISOWeek)(i),s=(0,uMe.constructFrom)(t,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);let o=(0,pMe.startOfISOWeek)(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}});var Vu=E(fMe=>{"use strict";fMe.getTimezoneOffsetInMilliseconds=dpt;var cpt=Q();function dpt(r){let e=(0,cpt.toDate)(r),t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+r-+t}});var Ar=E(hMe=>{"use strict";hMe.normalizeDates=ppt;var upt=Ve();function ppt(r,...e){let t=upt.constructFrom.bind(null,r||e.find(n=>typeof n=="object"));return e.map(t)}});var OD=E(gMe=>{"use strict";gMe.startOfDay=fpt;var mpt=Q();function fpt(r,e){let t=(0,mpt.toDate)(r,e==null?void 0:e.in);return t.setHours(0,0,0,0),t}});var qu=E(bMe=>{"use strict";bMe.differenceInCalendarDays=ypt;var yMe=Vu(),hpt=Ar(),gpt=yt(),vMe=OD();function ypt(r,e,t){let[n,i]=(0,hpt.normalizeDates)(t==null?void 0:t.in,r,e),a=(0,vMe.startOfDay)(n),s=(0,vMe.startOfDay)(i),o=+a-(0,yMe.getTimezoneOffsetInMilliseconds)(a),l=+s-(0,yMe.getTimezoneOffsetInMilliseconds)(s);return Math.round((o-l)/gpt.millisecondsInDay)}});var HT=E(TMe=>{"use strict";TMe.startOfISOWeekYear=kpt;var vpt=Ve(),bpt=Hm(),Tpt=dd();function kpt(r,e){let t=(0,bpt.getISOWeekYear)(r,e),n=(0,vpt.constructFrom)((e==null?void 0:e.in)||r,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,Tpt.startOfISOWeek)(n)}});var $3=E(wMe=>{"use strict";wMe.setISOWeekYear=xpt;var wpt=Ve(),Spt=qu(),kMe=HT(),Ept=Q();function xpt(r,e,t){let n=(0,Ept.toDate)(r,t==null?void 0:t.in),i=(0,Spt.differenceInCalendarDays)(n,(0,kMe.startOfISOWeekYear)(n,t)),a=(0,wpt.constructFrom)((t==null?void 0:t.in)||r,0);return a.setFullYear(e,0,4),a.setHours(0,0,0,0),n=(0,kMe.startOfISOWeekYear)(a),n.setDate(n.getDate()+i),n}});var z3=E(SMe=>{"use strict";SMe.addISOWeekYears=Ppt;var Cpt=Hm(),Dpt=$3();function Ppt(r,e,t){return(0,Dpt.setISOWeekYear)(r,(0,Cpt.getISOWeekYear)(r,t)+e,t)}});var aL=E(EMe=>{"use strict";EMe.addMinutes=Apt;var Mpt=yt(),_pt=Q();function Apt(r,e,t){let n=(0,_pt.toDate)(r,t==null?void 0:t.in);return n.setTime(n.getTime()+e*Mpt.millisecondsInMinute),n}});var sL=E(xMe=>{"use strict";xMe.addQuarters=Npt;var Ipt=UT();function Npt(r,e,t){return(0,Ipt.addMonths)(r,e*3,t)}});var j3=E(CMe=>{"use strict";CMe.addSeconds=Opt;var Rpt=RD();function Opt(r,e,t){return(0,Rpt.addMilliseconds)(r,e*1e3,t)}});var LD=E(DMe=>{"use strict";DMe.addWeeks=Fpt;var Lpt=cd();function Fpt(r,e,t){return(0,Lpt.addDays)(r,e*7,t)}});var B3=E(PMe=>{"use strict";PMe.addYears=zpt;var $pt=UT();function zpt(r,e,t){return(0,$pt.addMonths)(r,e*12,t)}});var _Me=E(MMe=>{"use strict";MMe.areIntervalsOverlapping=jpt;var oL=Q();function jpt(r,e,t){let[n,i]=[+(0,oL.toDate)(r.start,t==null?void 0:t.in),+(0,oL.toDate)(r.end,t==null?void 0:t.in)].sort((o,l)=>o-l),[a,s]=[+(0,oL.toDate)(e.start,t==null?void 0:t.in),+(0,oL.toDate)(e.end,t==null?void 0:t.in)].sort((o,l)=>o-l);return t!=null&&t.inclusive?n<=s&&a<=i:n<s&&a<i}});var U3=E(IMe=>{"use strict";IMe.max=Upt;var AMe=Ve(),Bpt=Q();function Upt(r,e){let t,n=e==null?void 0:e.in;return r.forEach(i=>{!n&&typeof i=="object"&&(n=AMe.constructFrom.bind(null,i));let a=(0,Bpt.toDate)(i,n);(!t||t<a||isNaN(+a))&&(t=a)}),(0,AMe.constructFrom)(n,t||NaN)}});var H3=E(RMe=>{"use strict";RMe.min=Vpt;var NMe=Ve(),Hpt=Q();function Vpt(r,e){let t,n=e==null?void 0:e.in;return r.forEach(i=>{!n&&typeof i=="object"&&(n=NMe.constructFrom.bind(null,i));let a=(0,Hpt.toDate)(i,n);(!t||t>a||isNaN(+a))&&(t=a)}),(0,NMe.constructFrom)(n,t||NaN)}});var LMe=E(OMe=>{"use strict";OMe.clamp=Gpt;var qpt=Ar(),Wpt=U3(),Ypt=H3();function Gpt(r,e,t){let[n,i,a]=(0,qpt.normalizeDates)(t==null?void 0:t.in,r,e.start,e.end);return(0,Ypt.min)([(0,Wpt.max)([n,i],t),a],t)}});var V3=E($Me=>{"use strict";$Me.closestIndexTo=Kpt;var FMe=Q();function Kpt(r,e){let t=+(0,FMe.toDate)(r);if(isNaN(t))return NaN;let n,i;return e.forEach((a,s)=>{let o=(0,FMe.toDate)(a);if(isNaN(+o)){n=NaN,i=NaN;return}let l=Math.abs(t-+o);(n==null||l<i)&&(n=s,i=l)}),n}});var jMe=E(zMe=>{"use strict";zMe.closestTo=Xpt;var Zpt=Ar(),Qpt=V3(),Jpt=Ve();function Xpt(r,e,t){let[n,...i]=(0,Zpt.normalizeDates)(t==null?void 0:t.in,r,...e),a=(0,Qpt.closestIndexTo)(n,i);if(typeof a=="number"&&isNaN(a))return(0,Jpt.constructFrom)(n,NaN);if(a!==void 0)return i[a]}});var Ag=E(UMe=>{"use strict";UMe.compareAsc=emt;var BMe=Q();function emt(r,e){let t=+(0,BMe.toDate)(r)-+(0,BMe.toDate)(e);return t<0?-1:t>0?1:t}});var qMe=E(VMe=>{"use strict";VMe.compareDesc=tmt;var HMe=Q();function tmt(r,e){let t=+(0,HMe.toDate)(r)-+(0,HMe.toDate)(e);return t>0?-1:t<0?1:t}});var hi=E(WMe=>{"use strict";WMe.constructNow=nmt;var rmt=Ve();function nmt(r){return(0,rmt.constructFrom)(r,Date.now())}});var GMe=E(YMe=>{"use strict";YMe.daysToWeeks=amt;var imt=yt();function amt(r){let e=Math.trunc(r/imt.daysInWeek);return e===0?0:e}});var VT=E(ZMe=>{"use strict";ZMe.isSameDay=omt;var smt=Ar(),KMe=OD();function omt(r,e,t){let[n,i]=(0,smt.normalizeDates)(t==null?void 0:t.in,r,e);return+(0,KMe.startOfDay)(n)==+(0,KMe.startOfDay)(i)}});var q3=E(QMe=>{"use strict";QMe.isDate=lmt;function lmt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}});var Wu=E(JMe=>{"use strict";JMe.isValid=umt;var cmt=q3(),dmt=Q();function umt(r){return!(!(0,cmt.isDate)(r)&&typeof r!="number"||isNaN(+(0,dmt.toDate)(r)))}});var r_e=E(t_e=>{"use strict";t_e.differenceInBusinessDays=gmt;var pmt=Ar(),XMe=cd(),mmt=qu(),fmt=VT(),e_e=Wu(),hmt=ND();function gmt(r,e,t){let[n,i]=(0,pmt.normalizeDates)(t==null?void 0:t.in,r,e);if(!(0,e_e.isValid)(n)||!(0,e_e.isValid)(i))return NaN;let a=(0,mmt.differenceInCalendarDays)(n,i),s=a<0?-1:1,o=Math.trunc(a/7),l=o*5,c=(0,XMe.addDays)(i,o*7);for(;!(0,fmt.isSameDay)(n,c);)l+=(0,hmt.isWeekend)(c,t)?0:s,c=(0,XMe.addDays)(c,s);return l===0?0:l}});var W3=E(i_e=>{"use strict";i_e.differenceInCalendarISOWeekYears=vmt;var ymt=Ar(),n_e=Hm();function vmt(r,e,t){let[n,i]=(0,ymt.normalizeDates)(t==null?void 0:t.in,r,e);return(0,n_e.getISOWeekYear)(n,t)-(0,n_e.getISOWeekYear)(i,t)}});var l_e=E(o_e=>{"use strict";o_e.differenceInCalendarISOWeeks=kmt;var a_e=Vu(),bmt=Ar(),Tmt=yt(),s_e=dd();function kmt(r,e,t){let[n,i]=(0,bmt.normalizeDates)(t==null?void 0:t.in,r,e),a=(0,s_e.startOfISOWeek)(n),s=(0,s_e.startOfISOWeek)(i),o=+a-(0,a_e.getTimezoneOffsetInMilliseconds)(a),l=+s-(0,a_e.getTimezoneOffsetInMilliseconds)(s);return Math.round((o-l)/Tmt.millisecondsInWeek)}});var lL=E(c_e=>{"use strict";c_e.differenceInCalendarMonths=Smt;var wmt=Ar();function Smt(r,e,t){let[n,i]=(0,wmt.normalizeDates)(t==null?void 0:t.in,r,e),a=n.getFullYear()-i.getFullYear(),s=n.getMonth()-i.getMonth();return a*12+s}});var Y3=E(d_e=>{"use strict";d_e.getQuarter=xmt;var Emt=Q();function xmt(r,e){let t=(0,Emt.toDate)(r,e==null?void 0:e.in);return Math.trunc(t.getMonth()/3)+1}});var G3=E(p_e=>{"use strict";p_e.differenceInCalendarQuarters=Dmt;var Cmt=Ar(),u_e=Y3();function Dmt(r,e,t){let[n,i]=(0,Cmt.normalizeDates)(t==null?void 0:t.in,r,e),a=n.getFullYear()-i.getFullYear(),s=(0,u_e.getQuarter)(n)-(0,u_e.getQuarter)(i);return a*4+s}});var cL=E(h_e=>{"use strict";h_e.differenceInCalendarWeeks=_mt;var m_e=Vu(),Pmt=Ar(),Mmt=yt(),f_e=Yl();function _mt(r,e,t){let[n,i]=(0,Pmt.normalizeDates)(t==null?void 0:t.in,r,e),a=(0,f_e.startOfWeek)(n,t),s=(0,f_e.startOfWeek)(i,t),o=+a-(0,m_e.getTimezoneOffsetInMilliseconds)(a),l=+s-(0,m_e.getTimezoneOffsetInMilliseconds)(s);return Math.round((o-l)/Mmt.millisecondsInWeek)}});var dL=E(g_e=>{"use strict";g_e.differenceInCalendarYears=Imt;var Amt=Ar();function Imt(r,e,t){let[n,i]=(0,Amt.normalizeDates)(t==null?void 0:t.in,r,e);return n.getFullYear()-i.getFullYear()}});var uL=E(v_e=>{"use strict";v_e.differenceInDays=Omt;var Nmt=Ar(),Rmt=qu();function Omt(r,e,t){let[n,i]=(0,Nmt.normalizeDates)(t==null?void 0:t.in,r,e),a=y_e(n,i),s=Math.abs((0,Rmt.differenceInCalendarDays)(n,i));n.setDate(n.getDate()-a*s);let o=+(y_e(n,i)===-a),l=a*(s-o);return l===0?0:l}function y_e(r,e){let t=r.getFullYear()-e.getFullYear()||r.getMonth()-e.getMonth()||r.getDate()-e.getDate()||r.getHours()-e.getHours()||r.getMinutes()-e.getMinutes()||r.getSeconds()-e.getSeconds()||r.getMilliseconds()-e.getMilliseconds();return t<0?-1:t>0?1:t}});var Yu=E(b_e=>{"use strict";b_e.getRoundingMethod=Lmt;function Lmt(r){return e=>{let n=(r?Math[r]:Math.trunc)(e);return n===0?0:n}}});var pL=E(T_e=>{"use strict";T_e.differenceInHours=jmt;var Fmt=Yu(),$mt=Ar(),zmt=yt();function jmt(r,e,t){let[n,i]=(0,$mt.normalizeDates)(t==null?void 0:t.in,r,e),a=(+n-+i)/zmt.millisecondsInHour;return(0,Fmt.getRoundingMethod)(t==null?void 0:t.roundingMethod)(a)}});var K3=E(k_e=>{"use strict";k_e.subISOWeekYears=Umt;var Bmt=z3();function Umt(r,e,t){return(0,Bmt.addISOWeekYears)(r,-e,t)}});var E_e=E(S_e=>{"use strict";S_e.differenceInISOWeekYears=Wmt;var Hmt=Ar(),w_e=Ag(),Vmt=W3(),qmt=K3();function Wmt(r,e,t){let[n,i]=(0,Hmt.normalizeDates)(t==null?void 0:t.in,r,e),a=(0,w_e.compareAsc)(n,i),s=Math.abs((0,Vmt.differenceInCalendarISOWeekYears)(n,i,t)),o=(0,qmt.subISOWeekYears)(n,a*s,t),l=+((0,w_e.compareAsc)(o,i)===-a),c=a*(s-l);return c===0?0:c}});var mL=E(C_e=>{"use strict";C_e.differenceInMilliseconds=Ymt;var x_e=Q();function Ymt(r,e){return+(0,x_e.toDate)(r)-+(0,x_e.toDate)(e)}});var fL=E(D_e=>{"use strict";D_e.differenceInMinutes=Qmt;var Gmt=Yu(),Kmt=yt(),Zmt=mL();function Qmt(r,e,t){let n=(0,Zmt.differenceInMilliseconds)(r,e)/Kmt.millisecondsInMinute;return(0,Gmt.getRoundingMethod)(t==null?void 0:t.roundingMethod)(n)}});var hL=E(P_e=>{"use strict";P_e.endOfDay=Xmt;var Jmt=Q();function Xmt(r,e){let t=(0,Jmt.toDate)(r,e==null?void 0:e.in);return t.setHours(23,59,59,999),t}});var gL=E(M_e=>{"use strict";M_e.endOfMonth=tft;var eft=Q();function tft(r,e){let t=(0,eft.toDate)(r,e==null?void 0:e.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}});var Z3=E(__e=>{"use strict";__e.isLastDayOfMonth=aft;var rft=hL(),nft=gL(),ift=Q();function aft(r,e){let t=(0,ift.toDate)(r,e==null?void 0:e.in);return+(0,rft.endOfDay)(t,e)==+(0,nft.endOfMonth)(t,e)}});var FD=E(A_e=>{"use strict";A_e.differenceInMonths=cft;var sft=Ar(),Q3=Ag(),oft=lL(),lft=Z3();function cft(r,e,t){let[n,i,a]=(0,sft.normalizeDates)(t==null?void 0:t.in,r,r,e),s=(0,Q3.compareAsc)(i,a),o=Math.abs((0,oft.differenceInCalendarMonths)(i,a));if(o<1)return 0;i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-s*o);let l=(0,Q3.compareAsc)(i,a)===-s;(0,lft.isLastDayOfMonth)(n)&&o===1&&(0,Q3.compareAsc)(n,a)===1&&(l=!1);let c=s*(o-+l);return c===0?0:c}});var N_e=E(I_e=>{"use strict";I_e.differenceInQuarters=pft;var dft=Yu(),uft=FD();function pft(r,e,t){let n=(0,uft.differenceInMonths)(r,e,t)/3;return(0,dft.getRoundingMethod)(t==null?void 0:t.roundingMethod)(n)}});var $D=E(R_e=>{"use strict";R_e.differenceInSeconds=hft;var mft=Yu(),fft=mL();function hft(r,e,t){let n=(0,fft.differenceInMilliseconds)(r,e)/1e3;return(0,mft.getRoundingMethod)(t==null?void 0:t.roundingMethod)(n)}});var L_e=E(O_e=>{"use strict";O_e.differenceInWeeks=vft;var gft=Yu(),yft=uL();function vft(r,e,t){let n=(0,yft.differenceInDays)(r,e,t)/7;return(0,gft.getRoundingMethod)(t==null?void 0:t.roundingMethod)(n)}});var J3=E($_e=>{"use strict";$_e.differenceInYears=kft;var bft=Ar(),F_e=Ag(),Tft=dL();function kft(r,e,t){let[n,i]=(0,bft.normalizeDates)(t==null?void 0:t.in,r,e),a=(0,F_e.compareAsc)(n,i),s=Math.abs((0,Tft.differenceInCalendarYears)(n,i));n.setFullYear(1584),i.setFullYear(1584);let o=(0,F_e.compareAsc)(n,i)===-a,l=a*(s-+o);return l===0?0:l}});var ud=E(z_e=>{"use strict";z_e.normalizeInterval=Sft;var wft=Ar();function Sft(r,e){let[t,n]=(0,wft.normalizeDates)(r,e.start,e.end);return{start:t,end:n}}});var X3=E(j_e=>{"use strict";j_e.eachDayOfInterval=Cft;var Eft=ud(),xft=Ve();function Cft(r,e){var c;let{start:t,end:n}=(0,Eft.normalizeInterval)(e==null?void 0:e.in,r),i=+t>+n,a=i?+t:+n,s=i?n:t;s.setHours(0,0,0,0);let o=(c=e==null?void 0:e.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,i=!i);let l=[];for(;+s<=a;)l.push((0,xft.constructFrom)(t,s)),s.setDate(s.getDate()+o),s.setHours(0,0,0,0);return i?l.reverse():l}});var U_e=E(B_e=>{"use strict";B_e.eachHourOfInterval=Mft;var Dft=ud(),Pft=Ve();function Mft(r,e){var c;let{start:t,end:n}=(0,Dft.normalizeInterval)(e==null?void 0:e.in,r),i=+t>+n,a=i?+t:+n,s=i?n:t;s.setMinutes(0,0,0);let o=(c=e==null?void 0:e.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,i=!i);let l=[];for(;+s<=a;)l.push((0,Pft.constructFrom)(t,s)),s.setHours(s.getHours()+o);return i?l.reverse():l}});var V_e=E(H_e=>{"use strict";H_e.eachMinuteOfInterval=Nft;var _ft=ud(),Aft=aL(),Ift=Ve();function Nft(r,e){var c;let{start:t,end:n}=(0,_ft.normalizeInterval)(e==null?void 0:e.in,r);t.setSeconds(0,0);let i=+t>+n,a=i?+t:+n,s=i?n:t,o=(c=e==null?void 0:e.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,i=!i);let l=[];for(;+s<=a;)l.push((0,Ift.constructFrom)(t,s)),s=(0,Aft.addMinutes)(s,o);return i?l.reverse():l}});var W_e=E(q_e=>{"use strict";q_e.eachMonthOfInterval=Lft;var Rft=ud(),Oft=Ve();function Lft(r,e){var c;let{start:t,end:n}=(0,Rft.normalizeInterval)(e==null?void 0:e.in,r),i=+t>+n,a=i?+t:+n,s=i?n:t;s.setHours(0,0,0,0),s.setDate(1);let o=(c=e==null?void 0:e.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,i=!i);let l=[];for(;+s<=a;)l.push((0,Oft.constructFrom)(t,s)),s.setMonth(s.getMonth()+o);return i?l.reverse():l}});var yL=E(Y_e=>{"use strict";Y_e.startOfQuarter=$ft;var Fft=Q();function $ft(r,e){let t=(0,Fft.toDate)(r,e==null?void 0:e.in),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}});var K_e=E(G_e=>{"use strict";G_e.eachQuarterOfInterval=Uft;var zft=ud(),jft=sL(),Bft=Ve(),vL=yL();function Uft(r,e){var c;let{start:t,end:n}=(0,zft.normalizeInterval)(e==null?void 0:e.in,r),i=+t>+n,a=i?+(0,vL.startOfQuarter)(t):+(0,vL.startOfQuarter)(n),s=i?(0,vL.startOfQuarter)(n):(0,vL.startOfQuarter)(t),o=(c=e==null?void 0:e.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,i=!i);let l=[];for(;+s<=a;)l.push((0,Bft.constructFrom)(t,s)),s=(0,jft.addQuarters)(s,o);return i?l.reverse():l}});var Q_e=E(Z_e=>{"use strict";Z_e.eachWeekOfInterval=Wft;var Hft=ud(),Vft=LD(),qft=Ve(),bL=Yl();function Wft(r,e){var u;let{start:t,end:n}=(0,Hft.normalizeInterval)(e==null?void 0:e.in,r),i=+t>+n,a=i?(0,bL.startOfWeek)(n,e):(0,bL.startOfWeek)(t,e),s=i?(0,bL.startOfWeek)(t,e):(0,bL.startOfWeek)(n,e);a.setHours(15),s.setHours(15);let o=+s.getTime(),l=a,c=(u=e==null?void 0:e.step)!=null?u:1;if(!c)return[];c<0&&(c=-c,i=!i);let d=[];for(;+l<=o;)l.setHours(0),d.push((0,qft.constructFrom)(t,l)),l=(0,Vft.addWeeks)(l,c),l.setHours(15);return i?d.reverse():d}});var TL=E(J_e=>{"use strict";J_e.eachWeekendOfInterval=Qft;var Yft=ud(),Gft=Ve(),Kft=X3(),Zft=ND();function Qft(r,e){let{start:t,end:n}=(0,Yft.normalizeInterval)(e==null?void 0:e.in,r),i=(0,Kft.eachDayOfInterval)({start:t,end:n},e),a=[],s=0;for(;s<i.length;){let o=i[s++];(0,Zft.isWeekend)(o)&&a.push((0,Gft.constructFrom)(t,o))}return a}});var zD=E(X_e=>{"use strict";X_e.startOfMonth=Xft;var Jft=Q();function Xft(r,e){let t=(0,Jft.toDate)(r,e==null?void 0:e.in);return t.setDate(1),t.setHours(0,0,0,0),t}});var tAe=E(eAe=>{"use strict";eAe.eachWeekendOfMonth=nht;var eht=TL(),tht=gL(),rht=zD();function nht(r,e){let t=(0,rht.startOfMonth)(r,e),n=(0,tht.endOfMonth)(r,e);return(0,eht.eachWeekendOfInterval)({start:t,end:n},e)}});var eY=E(rAe=>{"use strict";rAe.endOfYear=aht;var iht=Q();function aht(r,e){let t=(0,iht.toDate)(r,e==null?void 0:e.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}});var kL=E(nAe=>{"use strict";nAe.startOfYear=oht;var sht=Q();function oht(r,e){let t=(0,sht.toDate)(r,e==null?void 0:e.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}});var aAe=E(iAe=>{"use strict";iAe.eachWeekendOfYear=uht;var lht=TL(),cht=eY(),dht=kL();function uht(r,e){let t=(0,dht.startOfYear)(r,e),n=(0,cht.endOfYear)(r,e);return(0,lht.eachWeekendOfInterval)({start:t,end:n},e)}});var oAe=E(sAe=>{"use strict";sAe.eachYearOfInterval=fht;var pht=ud(),mht=Ve();function fht(r,e){var c;let{start:t,end:n}=(0,pht.normalizeInterval)(e==null?void 0:e.in,r),i=+t>+n,a=i?+t:+n,s=i?n:t;s.setHours(0,0,0,0),s.setMonth(0,1);let o=(c=e==null?void 0:e.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,i=!i);let l=[];for(;+s<=a;)l.push((0,mht.constructFrom)(t,s)),s.setFullYear(s.getFullYear()+o);return i?l.reverse():l}});var cAe=E(lAe=>{"use strict";lAe.endOfDecade=ght;var hht=Q();function ght(r,e){let t=(0,hht.toDate)(r,e==null?void 0:e.in),n=t.getFullYear(),i=9+Math.floor(n/10)*10;return t.setFullYear(i,11,31),t.setHours(23,59,59,999),t}});var uAe=E(dAe=>{"use strict";dAe.endOfHour=vht;var yht=Q();function vht(r,e){let t=(0,yht.toDate)(r,e==null?void 0:e.in);return t.setMinutes(59,59,999),t}});var tY=E(pAe=>{"use strict";pAe.endOfWeek=kht;var bht=fa(),Tht=Q();function kht(r,e){var o,l,c,d,u,p,m,f;let t=(0,bht.getDefaultOptions)(),n=(f=(m=(d=(c=e==null?void 0:e.weekStartsOn)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:t.weekStartsOn)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?f:0,i=(0,Tht.toDate)(r,e==null?void 0:e.in),a=i.getDay(),s=(a<n?-7:0)+6-(a-n);return i.setDate(i.getDate()+s),i.setHours(23,59,59,999),i}});var fAe=E(mAe=>{"use strict";mAe.endOfISOWeek=Sht;var wht=tY();function Sht(r,e){return(0,wht.endOfWeek)(r,{...e,weekStartsOn:1})}});var gAe=E(hAe=>{"use strict";hAe.endOfISOWeekYear=Dht;var Eht=Ve(),xht=Hm(),Cht=dd();function Dht(r,e){let t=(0,xht.getISOWeekYear)(r,e),n=(0,Eht.constructFrom)((e==null?void 0:e.in)||r,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);let i=(0,Cht.startOfISOWeek)(n,e);return i.setMilliseconds(i.getMilliseconds()-1),i}});var vAe=E(yAe=>{"use strict";yAe.endOfMinute=Mht;var Pht=Q();function Mht(r,e){let t=(0,Pht.toDate)(r,e==null?void 0:e.in);return t.setSeconds(59,999),t}});var TAe=E(bAe=>{"use strict";bAe.endOfQuarter=Aht;var _ht=Q();function Aht(r,e){let t=(0,_ht.toDate)(r,e==null?void 0:e.in),n=t.getMonth(),i=n-n%3+3;return t.setMonth(i,0),t.setHours(23,59,59,999),t}});var wAe=E(kAe=>{"use strict";kAe.endOfSecond=Nht;var Iht=Q();function Nht(r,e){let t=(0,Iht.toDate)(r,e==null?void 0:e.in);return t.setMilliseconds(999),t}});var EAe=E(SAe=>{"use strict";SAe.endOfToday=Oht;var Rht=hL();function Oht(r){return(0,Rht.endOfDay)(Date.now(),r)}});var DAe=E(CAe=>{"use strict";CAe.endOfTomorrow=Lht;var xAe=hi();function Lht(r){let e=(0,xAe.constructNow)(r==null?void 0:r.in),t=e.getFullYear(),n=e.getMonth(),i=e.getDate(),a=(0,xAe.constructNow)(r==null?void 0:r.in);return a.setFullYear(t,n,i+1),a.setHours(23,59,59,999),r!=null&&r.in?r.in(a):a}});var MAe=E(PAe=>{"use strict";PAe.endOfYesterday=zht;var Fht=Ve(),$ht=hi();function zht(r){let e=(0,$ht.constructNow)(r==null?void 0:r.in),t=(0,Fht.constructFrom)(r==null?void 0:r.in,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()-1),t.setHours(23,59,59,999),t}});var _Ae=E(rY=>{"use strict";rY.formatDistance=void 0;var jht={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"}},Bht=(r,e,t)=>{let n,i=jht[r];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};rY.formatDistance=Bht});var IAe=E(AAe=>{"use strict";AAe.buildFormatLongFn=Uht;function Uht(r){return(e={})=>{let t=e.width?String(e.width):r.defaultWidth;return r.formats[t]||r.formats[r.defaultWidth]}}});var NAe=E(iY=>{"use strict";iY.formatLong=void 0;var nY=IAe(),Hht={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Vht={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qht={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},GFr=iY.formatLong={date:(0,nY.buildFormatLongFn)({formats:Hht,defaultWidth:"full"}),time:(0,nY.buildFormatLongFn)({formats:Vht,defaultWidth:"full"}),dateTime:(0,nY.buildFormatLongFn)({formats:qht,defaultWidth:"full"})}});var RAe=E(aY=>{"use strict";aY.formatRelative=void 0;var Wht={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yht=(r,e,t,n)=>Wht[r];aY.formatRelative=Yht});var LAe=E(OAe=>{"use strict";OAe.buildLocalizeFn=Ght;function Ght(r){return(e,t)=>{let n=t!=null&&t.context?String(t.context):"standalone",i;if(n==="formatting"&&r.formattingValues){let s=r.defaultFormattingWidth||r.defaultWidth,o=t!=null&&t.width?String(t.width):s;i=r.formattingValues[o]||r.formattingValues[s]}else{let s=r.defaultWidth,o=t!=null&&t.width?String(t.width):r.defaultWidth;i=r.values[o]||r.values[s]}let a=r.argumentCallback?r.argumentCallback(e):e;return i[a]}}});var FAe=E(sY=>{"use strict";sY.localize=void 0;var jD=LAe(),Kht={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zht={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qht={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"]},Jht={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"]},Xht={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"}},egt={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"}},tgt=(r,e)=>{let t=Number(r),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},JFr=sY.localize={ordinalNumber:tgt,era:(0,jD.buildLocalizeFn)({values:Kht,defaultWidth:"wide"}),quarter:(0,jD.buildLocalizeFn)({values:Zht,defaultWidth:"wide",argumentCallback:r=>r-1}),month:(0,jD.buildLocalizeFn)({values:Qht,defaultWidth:"wide"}),day:(0,jD.buildLocalizeFn)({values:Jht,defaultWidth:"wide"}),dayPeriod:(0,jD.buildLocalizeFn)({values:Xht,defaultWidth:"wide",formattingValues:egt,defaultFormattingWidth:"wide"})}});var zAe=E($Ae=>{"use strict";$Ae.buildMatchFn=rgt;function rgt(r){return(e,t={})=>{let n=t.width,i=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],a=e.match(i);if(!a)return null;let s=a[0],o=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(o)?igt(o,u=>u.test(s)):ngt(o,u=>u.test(s)),c;c=r.valueCallback?r.valueCallback(l):l,c=t.valueCallback?t.valueCallback(c):c;let d=e.slice(s.length);return{value:c,rest:d}}}function ngt(r,e){for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&e(r[t]))return t}function igt(r,e){for(let t=0;t<r.length;t++)if(e(r[t]))return t}});var BAe=E(jAe=>{"use strict";jAe.buildMatchPatternFn=agt;function agt(r){return(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let i=n[0],a=e.match(r.parsePattern);if(!a)return null;let s=r.valueCallback?r.valueCallback(a[0]):a[0];s=t.valueCallback?t.valueCallback(s):s;let o=e.slice(i.length);return{value:s,rest:o}}}});var UAe=E(oY=>{"use strict";oY.match=void 0;var BD=zAe(),sgt=BAe(),ogt=/^(\d+)(th|st|nd|rd)?/i,lgt=/\d+/i,cgt={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},dgt={any:[/^b/i,/^(a|c)/i]},ugt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},pgt={any:[/1/i,/2/i,/3/i,/4/i]},mgt={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},fgt={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]},hgt={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},ggt={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]},ygt={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},vgt={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}},r1r=oY.match={ordinalNumber:(0,sgt.buildMatchPatternFn)({matchPattern:ogt,parsePattern:lgt,valueCallback:r=>parseInt(r,10)}),era:(0,BD.buildMatchFn)({matchPatterns:cgt,defaultMatchWidth:"wide",parsePatterns:dgt,defaultParseWidth:"any"}),quarter:(0,BD.buildMatchFn)({matchPatterns:ugt,defaultMatchWidth:"wide",parsePatterns:pgt,defaultParseWidth:"any",valueCallback:r=>r+1}),month:(0,BD.buildMatchFn)({matchPatterns:mgt,defaultMatchWidth:"wide",parsePatterns:fgt,defaultParseWidth:"any"}),day:(0,BD.buildMatchFn)({matchPatterns:hgt,defaultMatchWidth:"wide",parsePatterns:ggt,defaultParseWidth:"any"}),dayPeriod:(0,BD.buildMatchFn)({matchPatterns:ygt,defaultMatchWidth:"any",parsePatterns:vgt,defaultParseWidth:"any"})}});var HAe=E(lY=>{"use strict";lY.enUS=void 0;var bgt=_Ae(),Tgt=NAe(),kgt=RAe(),wgt=FAe(),Sgt=UAe(),i1r=lY.enUS={code:"en-US",formatDistance:bgt.formatDistance,formatLong:Tgt.formatLong,formatRelative:kgt.formatRelative,localize:wgt.localize,match:Sgt.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}});var Ig=E(VAe=>{"use strict";Object.defineProperty(VAe,"defaultLocale",{enumerable:!0,get:function(){return Egt.enUS}});var Egt=HAe()});var cY=E(qAe=>{"use strict";qAe.getDayOfYear=Pgt;var xgt=qu(),Cgt=kL(),Dgt=Q();function Pgt(r,e){let t=(0,Dgt.toDate)(r,e==null?void 0:e.in);return(0,xgt.differenceInCalendarDays)(t,(0,Cgt.startOfYear)(t))+1}});var wL=E(WAe=>{"use strict";WAe.getISOWeek=Ngt;var Mgt=yt(),_gt=dd(),Agt=HT(),Igt=Q();function Ngt(r,e){let t=(0,Igt.toDate)(r,e==null?void 0:e.in),n=+(0,_gt.startOfISOWeek)(t)-+(0,Agt.startOfISOWeekYear)(t);return Math.round(n/Mgt.millisecondsInWeek)+1}});var UD=E(KAe=>{"use strict";KAe.getWeekYear=Lgt;var Rgt=fa(),YAe=Ve(),GAe=Yl(),Ogt=Q();function Lgt(r,e){var d,u,p,m,f,h,g,v;let t=(0,Ogt.toDate)(r,e==null?void 0:e.in),n=t.getFullYear(),i=(0,Rgt.getDefaultOptions)(),a=(v=(g=(m=(p=e==null?void 0:e.firstWeekContainsDate)!=null?p:(u=(d=e==null?void 0:e.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)!=null?m:i.firstWeekContainsDate)!=null?g:(h=(f=i.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)!=null?v:1,s=(0,YAe.constructFrom)((e==null?void 0:e.in)||r,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);let o=(0,GAe.startOfWeek)(s,e),l=(0,YAe.constructFrom)((e==null?void 0:e.in)||r,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);let c=(0,GAe.startOfWeek)(l,e);return+t>=+o?n+1:+t>=+c?n:n-1}});var SL=E(ZAe=>{"use strict";ZAe.startOfWeekYear=Bgt;var Fgt=fa(),$gt=Ve(),zgt=UD(),jgt=Yl();function Bgt(r,e){var o,l,c,d,u,p,m,f;let t=(0,Fgt.getDefaultOptions)(),n=(f=(m=(d=(c=e==null?void 0:e.firstWeekContainsDate)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)!=null?d:t.firstWeekContainsDate)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)!=null?f:1,i=(0,zgt.getWeekYear)(r,e),a=(0,$gt.constructFrom)((e==null?void 0:e.in)||r,0);return a.setFullYear(i,0,n),a.setHours(0,0,0,0),(0,jgt.startOfWeek)(a,e)}});var EL=E(QAe=>{"use strict";QAe.getWeek=Wgt;var Ugt=yt(),Hgt=Yl(),Vgt=SL(),qgt=Q();function Wgt(r,e){let t=(0,qgt.toDate)(r,e==null?void 0:e.in),n=+(0,Hgt.startOfWeek)(t,e)-+(0,Vgt.startOfWeekYear)(t,e);return Math.round(n/Ugt.millisecondsInWeek)+1}});var Ng=E(JAe=>{"use strict";JAe.addLeadingZeros=Ygt;function Ygt(r,e){let t=r<0?"-":"",n=Math.abs(r).toString().padStart(e,"0");return t+n}});var uY=E(dY=>{"use strict";dY.lightFormatters=void 0;var Vm=Ng(),m1r=dY.lightFormatters={y(r,e){let t=r.getFullYear(),n=t>0?t:1-t;return(0,Vm.addLeadingZeros)(e==="yy"?n%100:n,e.length)},M(r,e){let t=r.getMonth();return e==="M"?String(t+1):(0,Vm.addLeadingZeros)(t+1,2)},d(r,e){return(0,Vm.addLeadingZeros)(r.getDate(),e.length)},a(r,e){let t=r.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(r,e){return(0,Vm.addLeadingZeros)(r.getHours()%12||12,e.length)},H(r,e){return(0,Vm.addLeadingZeros)(r.getHours(),e.length)},m(r,e){return(0,Vm.addLeadingZeros)(r.getMinutes(),e.length)},s(r,e){return(0,Vm.addLeadingZeros)(r.getSeconds(),e.length)},S(r,e){let t=e.length,n=r.getMilliseconds(),i=Math.trunc(n*Math.pow(10,t-3));return(0,Vm.addLeadingZeros)(i,e.length)}}});var tIe=E(pY=>{"use strict";pY.formatters=void 0;var Ggt=cY(),Kgt=wL(),Zgt=Hm(),Qgt=EL(),Jgt=UD(),Bn=Ng(),qm=uY(),qT={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},h1r=pY.formatters={G:function(r,e,t){let n=r.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(r,e,t){if(e==="yo"){let n=r.getFullYear(),i=n>0?n:1-n;return t.ordinalNumber(i,{unit:"year"})}return qm.lightFormatters.y(r,e)},Y:function(r,e,t,n){let i=(0,Jgt.getWeekYear)(r,n),a=i>0?i:1-i;if(e==="YY"){let s=a%100;return(0,Bn.addLeadingZeros)(s,2)}return e==="Yo"?t.ordinalNumber(a,{unit:"year"}):(0,Bn.addLeadingZeros)(a,e.length)},R:function(r,e){let t=(0,Zgt.getISOWeekYear)(r);return(0,Bn.addLeadingZeros)(t,e.length)},u:function(r,e){let t=r.getFullYear();return(0,Bn.addLeadingZeros)(t,e.length)},Q:function(r,e,t){let n=Math.ceil((r.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return(0,Bn.addLeadingZeros)(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,e,t){let n=Math.ceil((r.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return(0,Bn.addLeadingZeros)(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,e,t){let n=r.getMonth();switch(e){case"M":case"MM":return qm.lightFormatters.M(r,e);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(r,e,t){let n=r.getMonth();switch(e){case"L":return String(n+1);case"LL":return(0,Bn.addLeadingZeros)(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(r,e,t,n){let i=(0,Qgt.getWeek)(r,n);return e==="wo"?t.ordinalNumber(i,{unit:"week"}):(0,Bn.addLeadingZeros)(i,e.length)},I:function(r,e,t){let n=(0,Kgt.getISOWeek)(r);return e==="Io"?t.ordinalNumber(n,{unit:"week"}):(0,Bn.addLeadingZeros)(n,e.length)},d:function(r,e,t){return e==="do"?t.ordinalNumber(r.getDate(),{unit:"date"}):qm.lightFormatters.d(r,e)},D:function(r,e,t){let n=(0,Ggt.getDayOfYear)(r);return e==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):(0,Bn.addLeadingZeros)(n,e.length)},E:function(r,e,t){let n=r.getDay();switch(e){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(r,e,t,n){let i=r.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return(0,Bn.addLeadingZeros)(a,2);case"eo":return t.ordinalNumber(a,{unit:"day"});case"eee":return t.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(i,{width:"short",context:"formatting"});case"eeee":default:return t.day(i,{width:"wide",context:"formatting"})}},c:function(r,e,t,n){let i=r.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return(0,Bn.addLeadingZeros)(a,e.length);case"co":return t.ordinalNumber(a,{unit:"day"});case"ccc":return t.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(i,{width:"narrow",context:"standalone"});case"cccccc":return t.day(i,{width:"short",context:"standalone"});case"cccc":default:return t.day(i,{width:"wide",context:"standalone"})}},i:function(r,e,t){let n=r.getDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return(0,Bn.addLeadingZeros)(i,e.length);case"io":return t.ordinalNumber(i,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(r,e,t){let i=r.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(r,e,t){let n=r.getHours(),i;switch(n===12?i=qT.noon:n===0?i=qT.midnight:i=n/12>=1?"pm":"am",e){case"b":case"bb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(r,e,t){let n=r.getHours(),i;switch(n>=17?i=qT.evening:n>=12?i=qT.afternoon:n>=4?i=qT.morning:i=qT.night,e){case"B":case"BB":case"BBB":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(r,e,t){if(e==="ho"){let n=r.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return qm.lightFormatters.h(r,e)},H:function(r,e,t){return e==="Ho"?t.ordinalNumber(r.getHours(),{unit:"hour"}):qm.lightFormatters.H(r,e)},K:function(r,e,t){let n=r.getHours()%12;return e==="Ko"?t.ordinalNumber(n,{unit:"hour"}):(0,Bn.addLeadingZeros)(n,e.length)},k:function(r,e,t){let n=r.getHours();return n===0&&(n=24),e==="ko"?t.ordinalNumber(n,{unit:"hour"}):(0,Bn.addLeadingZeros)(n,e.length)},m:function(r,e,t){return e==="mo"?t.ordinalNumber(r.getMinutes(),{unit:"minute"}):qm.lightFormatters.m(r,e)},s:function(r,e,t){return e==="so"?t.ordinalNumber(r.getSeconds(),{unit:"second"}):qm.lightFormatters.s(r,e)},S:function(r,e){return qm.lightFormatters.S(r,e)},X:function(r,e,t){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(e){case"X":return eIe(n);case"XXXX":case"XX":return Rg(n);case"XXXXX":case"XXX":default:return Rg(n,":")}},x:function(r,e,t){let n=r.getTimezoneOffset();switch(e){case"x":return eIe(n);case"xxxx":case"xx":return Rg(n);case"xxxxx":case"xxx":default:return Rg(n,":")}},O:function(r,e,t){let n=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+XAe(n,":");case"OOOO":default:return"GMT"+Rg(n,":")}},z:function(r,e,t){let n=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+XAe(n,":");case"zzzz":default:return"GMT"+Rg(n,":")}},t:function(r,e,t){let n=Math.trunc(+r/1e3);return(0,Bn.addLeadingZeros)(n,e.length)},T:function(r,e,t){return(0,Bn.addLeadingZeros)(+r,e.length)}};function XAe(r,e=""){let t=r>0?"-":"+",n=Math.abs(r),i=Math.trunc(n/60),a=n%60;return a===0?t+String(i):t+String(i)+e+(0,Bn.addLeadingZeros)(a,2)}function eIe(r,e){return r%60===0?(r>0?"-":"+")+(0,Bn.addLeadingZeros)(Math.abs(r)/60,2):Rg(r,e)}function Rg(r,e=""){let t=r>0?"-":"+",n=Math.abs(r),i=(0,Bn.addLeadingZeros)(Math.trunc(n/60),2),a=(0,Bn.addLeadingZeros)(n%60,2);return t+i+e+a}});var fY=E(mY=>{"use strict";mY.longFormatters=void 0;var rIe=(r,e)=>{switch(r){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},nIe=(r,e)=>{switch(r){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Xgt=(r,e)=>{let t=r.match(/(P+)(p+)?/)||[],n=t[1],i=t[2];if(!i)return rIe(r,e);let a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",rIe(n,e)).replace("{{time}}",nIe(i,e))},y1r=mY.longFormatters={p:nIe,P:Xgt}});var hY=E(xL=>{"use strict";xL.isProtectedDayOfYearToken=nyt;xL.isProtectedWeekYearToken=iyt;xL.warnOrThrowProtectedError=ayt;var eyt=/^D+$/,tyt=/^Y+$/,ryt=["D","DD","YY","YYYY"];function nyt(r){return eyt.test(r)}function iyt(r){return tyt.test(r)}function ayt(r,e,t){let n=syt(r,e,t);if(console.warn(n),ryt.includes(r))throw new RangeError(n)}function syt(r,e,t){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${e}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}});var vY=E(HD=>{"use strict";HD.format=HD.formatDate=gyt;Object.defineProperty(HD,"formatters",{enumerable:!0,get:function(){return yY.formatters}});Object.defineProperty(HD,"longFormatters",{enumerable:!0,get:function(){return iIe.longFormatters}});var oyt=Ig(),lyt=fa(),yY=tIe(),iIe=fY(),gY=hY(),cyt=Wu(),dyt=Q(),uyt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pyt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,myt=/^'([^]*?)'?$/,fyt=/''/g,hyt=/[a-zA-Z]/;function gyt(r,e,t){var d,u,p,m,f,h,g,v,k,b,w,S,x,C,D,_,O,L;let n=(0,lyt.getDefaultOptions)(),i=(u=(d=t==null?void 0:t.locale)!=null?d:n.locale)!=null?u:oyt.defaultLocale,a=(b=(k=(h=(f=t==null?void 0:t.firstWeekContainsDate)!=null?f:(m=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)!=null?h:n.firstWeekContainsDate)!=null?k:(v=(g=n.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)!=null?b:1,s=(L=(O=(C=(x=t==null?void 0:t.weekStartsOn)!=null?x:(S=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:S.weekStartsOn)!=null?C:n.weekStartsOn)!=null?O:(_=(D=n.locale)==null?void 0:D.options)==null?void 0:_.weekStartsOn)!=null?L:0,o=(0,dyt.toDate)(r,t==null?void 0:t.in);if(!(0,cyt.isValid)(o))throw new RangeError("Invalid time value");let l=e.match(pyt).map(N=>{let R=N[0];if(R==="p"||R==="P"){let z=iIe.longFormatters[R];return z(N,i.formatLong)}return N}).join("").match(uyt).map(N=>{if(N==="''")return{isToken:!1,value:"'"};let R=N[0];if(R==="'")return{isToken:!1,value:yyt(N)};if(yY.formatters[R])return{isToken:!0,value:N};if(R.match(hyt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return{isToken:!1,value:N}});i.localize.preprocessor&&(l=i.localize.preprocessor(o,l));let c={firstWeekContainsDate:a,weekStartsOn:s,locale:i};return l.map(N=>{if(!N.isToken)return N.value;let R=N.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&(0,gY.isProtectedWeekYearToken)(R)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&(0,gY.isProtectedDayOfYearToken)(R))&&(0,gY.warnOrThrowProtectedError)(R,e,String(r));let z=yY.formatters[R[0]];return z(o,R,i.localize,c)}).join("")}function yyt(r){let e=r.match(myt);return e?e[1].replace(fyt,"'"):r}});var bY=E(sIe=>{"use strict";sIe.formatDistance=Eyt;var vyt=Ig(),byt=fa(),aIe=Vu(),Tyt=Ar(),kyt=Ag(),WT=yt(),wyt=FD(),Syt=$D();function Eyt(r,e,t){var f,h;let n=(0,byt.getDefaultOptions)(),i=(h=(f=t==null?void 0:t.locale)!=null?f:n.locale)!=null?h:vyt.defaultLocale,a=2520,s=(0,kyt.compareAsc)(r,e);if(isNaN(s))throw new RangeError("Invalid time value");let o=Object.assign({},t,{addSuffix:t==null?void 0:t.addSuffix,comparison:s}),[l,c]=(0,Tyt.normalizeDates)(t==null?void 0:t.in,...s>0?[e,r]:[r,e]),d=(0,Syt.differenceInSeconds)(c,l),u=((0,aIe.getTimezoneOffsetInMilliseconds)(c)-(0,aIe.getTimezoneOffsetInMilliseconds)(l))/1e3,p=Math.round((d-u)/60),m;if(p<2)return t!=null&&t.includeSeconds?d<5?i.formatDistance("lessThanXSeconds",5,o):d<10?i.formatDistance("lessThanXSeconds",10,o):d<20?i.formatDistance("lessThanXSeconds",20,o):d<40?i.formatDistance("halfAMinute",0,o):d<60?i.formatDistance("lessThanXMinutes",1,o):i.formatDistance("xMinutes",1,o):p===0?i.formatDistance("lessThanXMinutes",1,o):i.formatDistance("xMinutes",p,o);if(p<45)return i.formatDistance("xMinutes",p,o);if(p<90)return i.formatDistance("aboutXHours",1,o);if(p<WT.minutesInDay){let g=Math.round(p/60);return i.formatDistance("aboutXHours",g,o)}else{if(p<a)return i.formatDistance("xDays",1,o);if(p<WT.minutesInMonth){let g=Math.round(p/WT.minutesInDay);return i.formatDistance("xDays",g,o)}else if(p<WT.minutesInMonth*2)return m=Math.round(p/WT.minutesInMonth),i.formatDistance("aboutXMonths",m,o)}if(m=(0,wyt.differenceInMonths)(c,l),m<12){let g=Math.round(p/WT.minutesInMonth);return i.formatDistance("xMonths",g,o)}else{let g=m%12,v=Math.trunc(m/12);return g<3?i.formatDistance("aboutXYears",v,o):g<9?i.formatDistance("overXYears",v,o):i.formatDistance("almostXYears",v+1,o)}}});var TY=E(lIe=>{"use strict";lIe.formatDistanceStrict=_yt;var xyt=Ig(),Cyt=fa(),Dyt=Yu(),oIe=Vu(),Pyt=Ar(),Myt=Ag(),Wm=yt();function _yt(r,e,t){var g,v,k;let n=(0,Cyt.getDefaultOptions)(),i=(v=(g=t==null?void 0:t.locale)!=null?g:n.locale)!=null?v:xyt.defaultLocale,a=(0,Myt.compareAsc)(r,e);if(isNaN(a))throw new RangeError("Invalid time value");let s=Object.assign({},t,{addSuffix:t==null?void 0:t.addSuffix,comparison:a}),[o,l]=(0,Pyt.normalizeDates)(t==null?void 0:t.in,...a>0?[e,r]:[r,e]),c=(0,Dyt.getRoundingMethod)((k=t==null?void 0:t.roundingMethod)!=null?k:"round"),d=l.getTime()-o.getTime(),u=d/Wm.millisecondsInMinute,p=(0,oIe.getTimezoneOffsetInMilliseconds)(l)-(0,oIe.getTimezoneOffsetInMilliseconds)(o),m=(d-p)/Wm.millisecondsInMinute,f=t==null?void 0:t.unit,h;if(f?h=f:u<1?h="second":u<60?h="minute":u<Wm.minutesInDay?h="hour":m<Wm.minutesInMonth?h="day":m<Wm.minutesInYear?h="month":h="year",h==="second"){let b=c(d/1e3);return i.formatDistance("xSeconds",b,s)}else if(h==="minute"){let b=c(u);return i.formatDistance("xMinutes",b,s)}else if(h==="hour"){let b=c(u/60);return i.formatDistance("xHours",b,s)}else if(h==="day"){let b=c(m/Wm.minutesInDay);return i.formatDistance("xDays",b,s)}else if(h==="month"){let b=c(m/Wm.minutesInMonth);return b===12&&f!=="month"?i.formatDistance("xYears",1,s):i.formatDistance("xMonths",b,s)}else{let b=c(m/Wm.minutesInYear);return i.formatDistance("xYears",b,s)}}});var dIe=E(cIe=>{"use strict";cIe.formatDistanceToNow=Nyt;var Ayt=hi(),Iyt=bY();function Nyt(r,e){return(0,Iyt.formatDistance)(r,(0,Ayt.constructNow)(r),e)}});var pIe=E(uIe=>{"use strict";uIe.formatDistanceToNowStrict=Lyt;var Ryt=hi(),Oyt=TY();function Lyt(r,e){return(0,Oyt.formatDistanceStrict)(r,(0,Ryt.constructNow)(r),e)}});var fIe=E(mIe=>{"use strict";mIe.formatDuration=jyt;var Fyt=Ig(),$yt=fa(),zyt=["years","months","weeks","days","hours","minutes","seconds"];function jyt(r,e){var l,c,d,u,p;let t=(0,$yt.getDefaultOptions)(),n=(c=(l=e==null?void 0:e.locale)!=null?l:t.locale)!=null?c:Fyt.defaultLocale,i=(d=e==null?void 0:e.format)!=null?d:zyt,a=(u=e==null?void 0:e.zero)!=null?u:!1,s=(p=e==null?void 0:e.delimiter)!=null?p:" ";return n.formatDistance?i.reduce((m,f)=>{let h=`x${f.replace(/(^.)/,v=>v.toUpperCase())}`,g=r[f];return g!==void 0&&(a||r[f])?m.concat(n.formatDistance(h,g)):m},[]).join(s):""}});var gIe=E(hIe=>{"use strict";hIe.formatISO=Uyt;var Ym=Ng(),Byt=Q();function Uyt(r,e){var c,d;let t=(0,Byt.toDate)(r,e==null?void 0:e.in);if(isNaN(+t))throw new RangeError("Invalid time value");let n=(c=e==null?void 0:e.format)!=null?c:"extended",i=(d=e==null?void 0:e.representation)!=null?d:"complete",a="",s="",o=n==="extended"?"-":"",l=n==="extended"?":":"";if(i!=="time"){let u=(0,Ym.addLeadingZeros)(t.getDate(),2),p=(0,Ym.addLeadingZeros)(t.getMonth()+1,2);a=`${(0,Ym.addLeadingZeros)(t.getFullYear(),4)}${o}${p}${o}${u}`}if(i!=="date"){let u=t.getTimezoneOffset();if(u!==0){let v=Math.abs(u),k=(0,Ym.addLeadingZeros)(Math.trunc(v/60),2),b=(0,Ym.addLeadingZeros)(v%60,2);s=`${u<0?"+":"-"}${k}:${b}`}else s="Z";let p=(0,Ym.addLeadingZeros)(t.getHours(),2),m=(0,Ym.addLeadingZeros)(t.getMinutes(),2),f=(0,Ym.addLeadingZeros)(t.getSeconds(),2),h=a===""?"":"T",g=[p,m,f].join(l);a=`${a}${h}${g}${s}`}return a}});var vIe=E(yIe=>{"use strict";yIe.formatISO9075=qyt;var YT=Ng(),Hyt=Wu(),Vyt=Q();function qyt(r,e){var l,c;let t=(0,Vyt.toDate)(r,e==null?void 0:e.in);if(!(0,Hyt.isValid)(t))throw new RangeError("Invalid time value");let n=(l=e==null?void 0:e.format)!=null?l:"extended",i=(c=e==null?void 0:e.representation)!=null?c:"complete",a="",s=n==="extended"?"-":"",o=n==="extended"?":":"";if(i!=="time"){let d=(0,YT.addLeadingZeros)(t.getDate(),2),u=(0,YT.addLeadingZeros)(t.getMonth()+1,2);a=`${(0,YT.addLeadingZeros)(t.getFullYear(),4)}${s}${u}${s}${d}`}if(i!=="date"){let d=(0,YT.addLeadingZeros)(t.getHours(),2),u=(0,YT.addLeadingZeros)(t.getMinutes(),2),p=(0,YT.addLeadingZeros)(t.getSeconds(),2);a=`${a}${a===""?"":" "}${d}${o}${u}${o}${p}`}return a}});var TIe=E(bIe=>{"use strict";bIe.formatISODuration=Wyt;function Wyt(r){let{years:e=0,months:t=0,days:n=0,hours:i=0,minutes:a=0,seconds:s=0}=r;return`P${e}Y${t}M${n}DT${i}H${a}M${s}S`}});var wIe=E(kIe=>{"use strict";kIe.formatRFC3339=Kyt;var Gm=Ng(),Yyt=Wu(),Gyt=Q();function Kyt(r,e){var m;let t=(0,Gyt.toDate)(r,e==null?void 0:e.in);if(!(0,Yyt.isValid)(t))throw new RangeError("Invalid time value");let n=(m=e==null?void 0:e.fractionDigits)!=null?m:0,i=(0,Gm.addLeadingZeros)(t.getDate(),2),a=(0,Gm.addLeadingZeros)(t.getMonth()+1,2),s=t.getFullYear(),o=(0,Gm.addLeadingZeros)(t.getHours(),2),l=(0,Gm.addLeadingZeros)(t.getMinutes(),2),c=(0,Gm.addLeadingZeros)(t.getSeconds(),2),d="";if(n>0){let f=t.getMilliseconds(),h=Math.trunc(f*Math.pow(10,n-3));d="."+(0,Gm.addLeadingZeros)(h,n)}let u="",p=t.getTimezoneOffset();if(p!==0){let f=Math.abs(p),h=(0,Gm.addLeadingZeros)(Math.trunc(f/60),2),g=(0,Gm.addLeadingZeros)(f%60,2);u=`${p<0?"+":"-"}${h}:${g}`}else u="Z";return`${s}-${a}-${i}T${o}:${l}:${c}${d}${u}`}});var EIe=E(SIe=>{"use strict";SIe.formatRFC7231=evt;var CL=Ng(),Zyt=Wu(),Qyt=Q(),Jyt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Xyt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function evt(r){let e=(0,Qyt.toDate)(r);if(!(0,Zyt.isValid)(e))throw new RangeError("Invalid time value");let t=Jyt[e.getUTCDay()],n=(0,CL.addLeadingZeros)(e.getUTCDate(),2),i=Xyt[e.getUTCMonth()],a=e.getUTCFullYear(),s=(0,CL.addLeadingZeros)(e.getUTCHours(),2),o=(0,CL.addLeadingZeros)(e.getUTCMinutes(),2),l=(0,CL.addLeadingZeros)(e.getUTCSeconds(),2);return`${t}, ${n} ${i} ${a} ${s}:${o}:${l} GMT`}});var CIe=E(xIe=>{"use strict";xIe.formatRelative=svt;var tvt=Ig(),rvt=fa(),nvt=Ar(),ivt=qu(),avt=vY();function svt(r,e,t){var u,p,m,f,h,g,v,k,b,w;let[n,i]=(0,nvt.normalizeDates)(t==null?void 0:t.in,r,e),a=(0,rvt.getDefaultOptions)(),s=(p=(u=t==null?void 0:t.locale)!=null?u:a.locale)!=null?p:tvt.defaultLocale,o=(w=(b=(g=(h=t==null?void 0:t.weekStartsOn)!=null?h:(f=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:f.weekStartsOn)!=null?g:a.weekStartsOn)!=null?b:(k=(v=a.locale)==null?void 0:v.options)==null?void 0:k.weekStartsOn)!=null?w:0,l=(0,ivt.differenceInCalendarDays)(n,i);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,n,i,{locale:s,weekStartsOn:o});return(0,avt.format)(n,d,{locale:s,weekStartsOn:o})}});var PIe=E(DIe=>{"use strict";DIe.fromUnixTime=lvt;var ovt=Q();function lvt(r,e){return(0,ovt.toDate)(r*1e3,e==null?void 0:e.in)}});var kY=E(MIe=>{"use strict";MIe.getDate=dvt;var cvt=Q();function dvt(r,e){return(0,cvt.toDate)(r,e==null?void 0:e.in).getDate()}});var VD=E(_Ie=>{"use strict";_Ie.getDay=pvt;var uvt=Q();function pvt(r,e){return(0,uvt.toDate)(r,e==null?void 0:e.in).getDay()}});var wY=E(AIe=>{"use strict";AIe.getDaysInMonth=hvt;var mvt=Ve(),fvt=Q();function hvt(r,e){let t=(0,fvt.toDate)(r,e==null?void 0:e.in),n=t.getFullYear(),i=t.getMonth(),a=(0,mvt.constructFrom)(t,0);return a.setFullYear(n,i+1,0),a.setHours(0,0,0,0),a.getDate()}});var SY=E(IIe=>{"use strict";IIe.isLeapYear=yvt;var gvt=Q();function yvt(r,e){let n=(0,gvt.toDate)(r,e==null?void 0:e.in).getFullYear();return n%400===0||n%4===0&&n%100!==0}});var RIe=E(NIe=>{"use strict";NIe.getDaysInYear=Tvt;var vvt=SY(),bvt=Q();function Tvt(r,e){let t=(0,bvt.toDate)(r,e==null?void 0:e.in);return Number.isNaN(+t)?NaN:(0,vvt.isLeapYear)(t)?366:365}});var LIe=E(OIe=>{"use strict";OIe.getDecade=wvt;var kvt=Q();function wvt(r,e){let n=(0,kvt.toDate)(r,e==null?void 0:e.in).getFullYear();return Math.floor(n/10)*10}});var EY=E(FIe=>{"use strict";FIe.getDefaultOptions=Evt;var Svt=fa();function Evt(){return Object.assign({},(0,Svt.getDefaultOptions)())}});var zIe=E($Ie=>{"use strict";$Ie.getHours=Cvt;var xvt=Q();function Cvt(r,e){return(0,xvt.toDate)(r,e==null?void 0:e.in).getHours()}});var xY=E(jIe=>{"use strict";jIe.getISODay=Pvt;var Dvt=Q();function Pvt(r,e){let t=(0,Dvt.toDate)(r,e==null?void 0:e.in).getDay();return t===0?7:t}});var HIe=E(UIe=>{"use strict";UIe.getISOWeeksInYear=Avt;var Mvt=LD(),_vt=yt(),BIe=HT();function Avt(r,e){let t=(0,BIe.startOfISOWeekYear)(r,e),i=+(0,BIe.startOfISOWeekYear)((0,Mvt.addWeeks)(t,60))-+t;return Math.round(i/_vt.millisecondsInWeek)}});var qIe=E(VIe=>{"use strict";VIe.getMilliseconds=Nvt;var Ivt=Q();function Nvt(r){return(0,Ivt.toDate)(r).getMilliseconds()}});var YIe=E(WIe=>{"use strict";WIe.getMinutes=Ovt;var Rvt=Q();function Ovt(r,e){return(0,Rvt.toDate)(r,e==null?void 0:e.in).getMinutes()}});var KIe=E(GIe=>{"use strict";GIe.getMonth=Fvt;var Lvt=Q();function Fvt(r,e){return(0,Lvt.toDate)(r,e==null?void 0:e.in).getMonth()}});var JIe=E(QIe=>{"use strict";QIe.getOverlappingDaysInIntervals=zvt;var ZIe=Vu(),$vt=yt(),DL=Q();function zvt(r,e){let[t,n]=[+(0,DL.toDate)(r.start),+(0,DL.toDate)(r.end)].sort((u,p)=>u-p),[i,a]=[+(0,DL.toDate)(e.start),+(0,DL.toDate)(e.end)].sort((u,p)=>u-p);if(!(t<a&&i<n))return 0;let o=i<t?t:i,l=o-(0,ZIe.getTimezoneOffsetInMilliseconds)(o),c=a>n?n:a,d=c-(0,ZIe.getTimezoneOffsetInMilliseconds)(c);return Math.ceil((d-l)/$vt.millisecondsInDay)}});var eNe=E(XIe=>{"use strict";XIe.getSeconds=Bvt;var jvt=Q();function Bvt(r){return(0,jvt.toDate)(r).getSeconds()}});var rNe=E(tNe=>{"use strict";tNe.getTime=Hvt;var Uvt=Q();function Hvt(r){return+(0,Uvt.toDate)(r)}});var iNe=E(nNe=>{"use strict";nNe.getUnixTime=qvt;var Vvt=Q();function qvt(r){return Math.trunc(+(0,Vvt.toDate)(r)/1e3)}});var sNe=E(aNe=>{"use strict";aNe.getWeekOfMonth=Qvt;var Wvt=fa(),Yvt=kY(),Gvt=VD(),Kvt=zD(),Zvt=Q();function Qvt(r,e){var l,c,d,u,p,m,f,h;let t=(0,Wvt.getDefaultOptions)(),n=(h=(f=(u=(d=e==null?void 0:e.weekStartsOn)!=null?d:(c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)!=null?u:t.weekStartsOn)!=null?f:(m=(p=t.locale)==null?void 0:p.options)==null?void 0:m.weekStartsOn)!=null?h:0,i=(0,Yvt.getDate)((0,Zvt.toDate)(r,e==null?void 0:e.in));if(isNaN(i))return NaN;let a=(0,Gvt.getDay)((0,Kvt.startOfMonth)(r,e)),s=n-a;s<=0&&(s+=7);let o=i-s;return Math.ceil(o/7)+1}});var CY=E(lNe=>{"use strict";lNe.lastDayOfMonth=Jvt;var oNe=Q();function Jvt(r,e){let t=(0,oNe.toDate)(r,e==null?void 0:e.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),(0,oNe.toDate)(t,e==null?void 0:e.in)}});var dNe=E(cNe=>{"use strict";cNe.getWeeksInMonth=nbt;var Xvt=cL(),ebt=CY(),tbt=zD(),rbt=Q();function nbt(r,e){let t=(0,rbt.toDate)(r,e==null?void 0:e.in);return(0,Xvt.differenceInCalendarWeeks)((0,ebt.lastDayOfMonth)(t,e),(0,tbt.startOfMonth)(t,e),e)+1}});var pNe=E(uNe=>{"use strict";uNe.getYear=abt;var ibt=Q();function abt(r,e){return(0,ibt.toDate)(r,e==null?void 0:e.in).getFullYear()}});var fNe=E(mNe=>{"use strict";mNe.hoursToMilliseconds=obt;var sbt=yt();function obt(r){return Math.trunc(r*sbt.millisecondsInHour)}});var gNe=E(hNe=>{"use strict";hNe.hoursToMinutes=cbt;var lbt=yt();function cbt(r){return Math.trunc(r*lbt.minutesInHour)}});var vNe=E(yNe=>{"use strict";yNe.hoursToSeconds=ubt;var dbt=yt();function ubt(r){return Math.trunc(r*dbt.secondsInHour)}});var TNe=E(bNe=>{"use strict";bNe.interval=mbt;var pbt=Ar();function mbt(r,e,t){let[n,i]=(0,pbt.normalizeDates)(t==null?void 0:t.in,r,e);if(isNaN(+n))throw new TypeError("Start date is invalid");if(isNaN(+i))throw new TypeError("End date is invalid");if(t!=null&&t.assertPositive&&+n>+i)throw new TypeError("End date must be after start date");return{start:n,end:i}}});var wNe=E(kNe=>{"use strict";kNe.intervalToDuration=kbt;var fbt=ud(),qD=A3(),hbt=uL(),gbt=pL(),ybt=fL(),vbt=FD(),bbt=$D(),Tbt=J3();function kbt(r,e){let{start:t,end:n}=(0,fbt.normalizeInterval)(e==null?void 0:e.in,r),i={},a=(0,Tbt.differenceInYears)(n,t);a&&(i.years=a);let s=(0,qD.add)(t,{years:i.years}),o=(0,vbt.differenceInMonths)(n,s);o&&(i.months=o);let l=(0,qD.add)(s,{months:i.months}),c=(0,hbt.differenceInDays)(n,l);c&&(i.days=c);let d=(0,qD.add)(l,{days:i.days}),u=(0,gbt.differenceInHours)(n,d);u&&(i.hours=u);let p=(0,qD.add)(d,{hours:i.hours}),m=(0,ybt.differenceInMinutes)(n,p);m&&(i.minutes=m);let f=(0,qD.add)(p,{minutes:i.minutes}),h=(0,bbt.differenceInSeconds)(n,f);return h&&(i.seconds=h),i}});var ENe=E(SNe=>{"use strict";SNe.intlFormat=Sbt;var wbt=Q();function Sbt(r,e,t){let n;return Ebt(e)?n=e:t=e,new Intl.DateTimeFormat(t==null?void 0:t.locale,n).format((0,wbt.toDate)(r))}function Ebt(r){return r!==void 0&&!("locale"in r)}});var _Ne=E(MNe=>{"use strict";MNe.intlFormatDistance=Cbt;var xbt=Ar(),Og=yt(),DY=qu(),xNe=lL(),PY=G3(),CNe=cL(),MY=dL(),DNe=pL(),PNe=fL(),_Y=$D();function Cbt(r,e,t){let n=0,i,[a,s]=(0,xbt.normalizeDates)(t==null?void 0:t.in,r,e);if(t!=null&&t.unit)i=t==null?void 0:t.unit,i==="second"?n=(0,_Y.differenceInSeconds)(a,s):i==="minute"?n=(0,PNe.differenceInMinutes)(a,s):i==="hour"?n=(0,DNe.differenceInHours)(a,s):i==="day"?n=(0,DY.differenceInCalendarDays)(a,s):i==="week"?n=(0,CNe.differenceInCalendarWeeks)(a,s):i==="month"?n=(0,xNe.differenceInCalendarMonths)(a,s):i==="quarter"?n=(0,PY.differenceInCalendarQuarters)(a,s):i==="year"&&(n=(0,MY.differenceInCalendarYears)(a,s));else{let l=(0,_Y.differenceInSeconds)(a,s);Math.abs(l)<Og.secondsInMinute?(n=(0,_Y.differenceInSeconds)(a,s),i="second"):Math.abs(l)<Og.secondsInHour?(n=(0,PNe.differenceInMinutes)(a,s),i="minute"):Math.abs(l)<Og.secondsInDay&&Math.abs((0,DY.differenceInCalendarDays)(a,s))<1?(n=(0,DNe.differenceInHours)(a,s),i="hour"):Math.abs(l)<Og.secondsInWeek&&(n=(0,DY.differenceInCalendarDays)(a,s))&&Math.abs(n)<7?i="day":Math.abs(l)<Og.secondsInMonth?(n=(0,CNe.differenceInCalendarWeeks)(a,s),i="week"):Math.abs(l)<Og.secondsInQuarter?(n=(0,xNe.differenceInCalendarMonths)(a,s),i="month"):Math.abs(l)<Og.secondsInYear&&(0,PY.differenceInCalendarQuarters)(a,s)<4?(n=(0,PY.differenceInCalendarQuarters)(a,s),i="quarter"):(n=(0,MY.differenceInCalendarYears)(a,s),i="year")}return new Intl.RelativeTimeFormat(t==null?void 0:t.locale,{numeric:"auto",...t}).format(n,i)}});var NNe=E(INe=>{"use strict";INe.isAfter=Dbt;var ANe=Q();function Dbt(r,e){return+(0,ANe.toDate)(r)>+(0,ANe.toDate)(e)}});var LNe=E(ONe=>{"use strict";ONe.isBefore=Pbt;var RNe=Q();function Pbt(r,e){return+(0,RNe.toDate)(r)<+(0,RNe.toDate)(e)}});var zNe=E($Ne=>{"use strict";$Ne.isEqual=Mbt;var FNe=Q();function Mbt(r,e){return+(0,FNe.toDate)(r)==+(0,FNe.toDate)(e)}});var BNe=E(jNe=>{"use strict";jNe.isExists=_bt;function _bt(r,e,t){let n=new Date(r,e,t);return n.getFullYear()===r&&n.getMonth()===e&&n.getDate()===t}});var HNe=E(UNe=>{"use strict";UNe.isFirstDayOfMonth=Ibt;var Abt=Q();function Ibt(r,e){return(0,Abt.toDate)(r,e==null?void 0:e.in).getDate()===1}});var qNe=E(VNe=>{"use strict";VNe.isFriday=Rbt;var Nbt=Q();function Rbt(r,e){return(0,Nbt.toDate)(r,e==null?void 0:e.in).getDay()===5}});var YNe=E(WNe=>{"use strict";WNe.isFuture=Lbt;var Obt=Q();function Lbt(r){return+(0,Obt.toDate)(r)>Date.now()}});var AY=E(GNe=>{"use strict";GNe.transpose=$bt;var Fbt=Ve();function $bt(r,e){let t=zbt(e)?new e(0):(0,Fbt.constructFrom)(e,0);return t.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),t.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),t}function zbt(r){var e;return typeof r=="function"&&((e=r.prototype)==null?void 0:e.constructor)===r}});var RY=E(Lg=>{"use strict";Lg.ValueSetter=Lg.Setter=Lg.DateTimezoneSetter=void 0;var KNe=Ve(),jbt=AY(),Bbt=10,WD=class{constructor(){A(this,"subPriority",0)}validate(e,t){return!0}};Lg.Setter=WD;var IY=class extends WD{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}};Lg.ValueSetter=IY;var NY=class extends WD{constructor(t,n){super();A(this,"priority",Bbt);A(this,"subPriority",-1);this.context=t||(i=>(0,KNe.constructFrom)(n,i))}set(t,n){return n.timestampIsSet?t:(0,KNe.constructFrom)(t,(0,jbt.transpose)(t,this.context))}};Lg.DateTimezoneSetter=NY});var mr=E(LY=>{"use strict";LY.Parser=void 0;var Ubt=RY(),OY=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new Ubt.ValueSetter(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}};LY.Parser=OY});var ZNe=E($Y=>{"use strict";$Y.EraParser=void 0;var Hbt=mr(),FY=class extends Hbt.Parser{constructor(){super(...arguments);A(this,"priority",140);A(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}};$Y.EraParser=FY});var ha=E(YD=>{"use strict";YD.timezonePatterns=YD.numericPatterns=void 0;var T$r=YD.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}/},k$r=YD.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 Pr=E(pd=>{"use strict";pd.dayPeriodEnumToHours=Kbt;pd.isLeapYearIndex=Qbt;pd.mapValue=Vbt;pd.normalizeTwoDigitYear=Zbt;pd.parseAnyDigitsSigned=Wbt;pd.parseNDigits=Ybt;pd.parseNDigitsSigned=Gbt;pd.parseNumericPattern=Zo;pd.parseTimezonePattern=qbt;var zY=yt(),Gu=ha();function Vbt(r,e){return r&&{value:e(r.value),rest:r.rest}}function Zo(r,e){let t=e.match(r);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function qbt(r,e){let t=e.match(r);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};let n=t[1]==="+"?1:-1,i=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,s=t[5]?parseInt(t[5],10):0;return{value:n*(i*zY.millisecondsInHour+a*zY.millisecondsInMinute+s*zY.millisecondsInSecond),rest:e.slice(t[0].length)}}function Wbt(r){return Zo(Gu.numericPatterns.anyDigitsSigned,r)}function Ybt(r,e){switch(r){case 1:return Zo(Gu.numericPatterns.singleDigit,e);case 2:return Zo(Gu.numericPatterns.twoDigits,e);case 3:return Zo(Gu.numericPatterns.threeDigits,e);case 4:return Zo(Gu.numericPatterns.fourDigits,e);default:return Zo(new RegExp("^\\d{1,"+r+"}"),e)}}function Gbt(r,e){switch(r){case 1:return Zo(Gu.numericPatterns.singleDigitSigned,e);case 2:return Zo(Gu.numericPatterns.twoDigitsSigned,e);case 3:return Zo(Gu.numericPatterns.threeDigitsSigned,e);case 4:return Zo(Gu.numericPatterns.fourDigitsSigned,e);default:return Zo(new RegExp("^-?\\d{1,"+r+"}"),e)}}function Kbt(r){switch(r){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 Zbt(r,e){let t=e>0,n=t?e:1-e,i;if(n<=50)i=r||100;else{let a=n+50,s=Math.trunc(a/100)*100,o=r>=a%100;i=r+s-(o?100:0)}return t?i:1-i}function Qbt(r){return r%400===0||r%4===0&&r%100!==0}});var QNe=E(BY=>{"use strict";BY.YearParser=void 0;var Jbt=mr(),GT=Pr(),jY=class extends Jbt.Parser{constructor(){super(...arguments);A(this,"priority",130);A(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=s=>({year:s,isTwoDigitYear:n==="yy"});switch(n){case"y":return(0,GT.mapValue)((0,GT.parseNDigits)(4,t),a);case"yo":return(0,GT.mapValue)(i.ordinalNumber(t,{unit:"year"}),a);default:return(0,GT.mapValue)((0,GT.parseNDigits)(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let o=(0,GT.normalizeTwoDigitYear)(i.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}};BY.YearParser=jY});var XNe=E(HY=>{"use strict";HY.LocalWeekYearParser=void 0;var Xbt=UD(),JNe=Yl(),eTt=mr(),KT=Pr(),UY=class extends eTt.Parser{constructor(){super(...arguments);A(this,"priority",130);A(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=s=>({year:s,isTwoDigitYear:n==="YY"});switch(n){case"Y":return(0,KT.mapValue)((0,KT.parseNDigits)(4,t),a);case"Yo":return(0,KT.mapValue)(i.ordinalNumber(t,{unit:"year"}),a);default:return(0,KT.mapValue)((0,KT.parseNDigits)(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let s=(0,Xbt.getWeekYear)(t,a);if(i.isTwoDigitYear){let l=(0,KT.normalizeTwoDigitYear)(i.year,s);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),(0,JNe.startOfWeek)(t,a)}let o=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),(0,JNe.startOfWeek)(t,a)}};HY.LocalWeekYearParser=UY});var tRe=E(qY=>{"use strict";qY.ISOWeekYearParser=void 0;var tTt=dd(),rTt=Ve(),nTt=mr(),eRe=Pr(),VY=class extends nTt.Parser{constructor(){super(...arguments);A(this,"priority",130);A(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return n==="R"?(0,eRe.parseNDigitsSigned)(4,t):(0,eRe.parseNDigitsSigned)(n.length,t)}set(t,n,i){let a=(0,rTt.constructFrom)(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),(0,tTt.startOfISOWeek)(a)}};qY.ISOWeekYearParser=VY});var nRe=E(YY=>{"use strict";YY.ExtendedYearParser=void 0;var iTt=mr(),rRe=Pr(),WY=class extends iTt.Parser{constructor(){super(...arguments);A(this,"priority",130);A(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return n==="u"?(0,rRe.parseNDigitsSigned)(4,t):(0,rRe.parseNDigitsSigned)(n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}};YY.ExtendedYearParser=WY});var iRe=E(KY=>{"use strict";KY.QuarterParser=void 0;var aTt=mr(),sTt=Pr(),GY=class extends aTt.Parser{constructor(){super(...arguments);A(this,"priority",120);A(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return(0,sTt.parseNDigits)(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}};KY.QuarterParser=GY});var aRe=E(QY=>{"use strict";QY.StandAloneQuarterParser=void 0;var oTt=mr(),lTt=Pr(),ZY=class extends oTt.Parser{constructor(){super(...arguments);A(this,"priority",120);A(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return(0,lTt.parseNDigits)(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}};QY.StandAloneQuarterParser=ZY});var sRe=E(XY=>{"use strict";XY.MonthParser=void 0;var cTt=ha(),dTt=mr(),GD=Pr(),JY=class extends dTt.Parser{constructor(){super(...arguments);A(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);A(this,"priority",110)}parse(t,n,i){let a=s=>s-1;switch(n){case"M":return(0,GD.mapValue)((0,GD.parseNumericPattern)(cTt.numericPatterns.month,t),a);case"MM":return(0,GD.mapValue)((0,GD.parseNDigits)(2,t),a);case"Mo":return(0,GD.mapValue)(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};XY.MonthParser=JY});var oRe=E(t9=>{"use strict";t9.StandAloneMonthParser=void 0;var uTt=ha(),pTt=mr(),KD=Pr(),e9=class extends pTt.Parser{constructor(){super(...arguments);A(this,"priority",110);A(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=s=>s-1;switch(n){case"L":return(0,KD.mapValue)((0,KD.parseNumericPattern)(uTt.numericPatterns.month,t),a);case"LL":return(0,KD.mapValue)((0,KD.parseNDigits)(2,t),a);case"Lo":return(0,KD.mapValue)(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};t9.StandAloneMonthParser=e9});var r9=E(cRe=>{"use strict";cRe.setWeek=fTt;var mTt=EL(),lRe=Q();function fTt(r,e,t){let n=(0,lRe.toDate)(r,t==null?void 0:t.in),i=(0,mTt.getWeek)(n,t)-e;return n.setDate(n.getDate()-i*7),(0,lRe.toDate)(n,t==null?void 0:t.in)}});var uRe=E(i9=>{"use strict";i9.LocalWeekParser=void 0;var hTt=r9(),gTt=Yl(),yTt=ha(),vTt=mr(),dRe=Pr(),n9=class extends vTt.Parser{constructor(){super(...arguments);A(this,"priority",100);A(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return(0,dRe.parseNumericPattern)(yTt.numericPatterns.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return(0,dRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return(0,gTt.startOfWeek)((0,hTt.setWeek)(t,i,a),a)}};i9.LocalWeekParser=n9});var a9=E(pRe=>{"use strict";pRe.setISOWeek=kTt;var bTt=wL(),TTt=Q();function kTt(r,e,t){let n=(0,TTt.toDate)(r,t==null?void 0:t.in),i=(0,bTt.getISOWeek)(n,t)-e;return n.setDate(n.getDate()-i*7),n}});var fRe=E(o9=>{"use strict";o9.ISOWeekParser=void 0;var wTt=a9(),STt=dd(),ETt=ha(),xTt=mr(),mRe=Pr(),s9=class extends xTt.Parser{constructor(){super(...arguments);A(this,"priority",100);A(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return(0,mRe.parseNumericPattern)(ETt.numericPatterns.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return(0,mRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return(0,STt.startOfISOWeek)((0,wTt.setISOWeek)(t,i))}};o9.ISOWeekParser=s9});var hRe=E(d9=>{"use strict";d9.DateParser=void 0;var CTt=ha(),DTt=mr(),l9=Pr(),PTt=[31,28,31,30,31,30,31,31,30,31,30,31],MTt=[31,29,31,30,31,30,31,31,30,31,30,31],c9=class extends DTt.Parser{constructor(){super(...arguments);A(this,"priority",90);A(this,"subPriority",1);A(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return(0,l9.parseNumericPattern)(CTt.numericPatterns.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return(0,l9.parseNDigits)(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=(0,l9.isLeapYearIndex)(i),s=t.getMonth();return a?n>=1&&n<=MTt[s]:n>=1&&n<=PTt[s]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}};d9.DateParser=c9});var gRe=E(m9=>{"use strict";m9.DayOfYearParser=void 0;var _Tt=ha(),ATt=mr(),u9=Pr(),p9=class extends ATt.Parser{constructor(){super(...arguments);A(this,"priority",90);A(this,"subpriority",1);A(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return(0,u9.parseNumericPattern)(_Tt.numericPatterns.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return(0,u9.parseNDigits)(n.length,t)}}validate(t,n){let i=t.getFullYear();return(0,u9.isLeapYearIndex)(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};m9.DayOfYearParser=p9});var ZD=E(yRe=>{"use strict";yRe.setDay=OTt;var ITt=fa(),NTt=cd(),RTt=Q();function OTt(r,e,t){var u,p,m,f,h,g,v,k;let n=(0,ITt.getDefaultOptions)(),i=(k=(v=(f=(m=t==null?void 0:t.weekStartsOn)!=null?m:(p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?f:n.weekStartsOn)!=null?v:(g=(h=n.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)!=null?k:0,a=(0,RTt.toDate)(r,t==null?void 0:t.in),s=a.getDay(),l=(e%7+7)%7,c=7-i,d=e<0||e>6?e-(s+c)%7:(l+c)%7-(s+c)%7;return(0,NTt.addDays)(a,d,t)}});var vRe=E(h9=>{"use strict";h9.DayParser=void 0;var LTt=ZD(),FTt=mr(),f9=class extends FTt.Parser{constructor(){super(...arguments);A(this,"priority",90);A(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=(0,LTt.setDay)(t,i,a),t.setHours(0,0,0,0),t}};h9.DayParser=f9});var bRe=E(v9=>{"use strict";v9.LocalDayParser=void 0;var $Tt=ZD(),zTt=mr(),g9=Pr(),y9=class extends zTt.Parser{constructor(){super(...arguments);A(this,"priority",90);A(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let s=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return(0,g9.mapValue)((0,g9.parseNDigits)(n.length,t),s);case"eo":return(0,g9.mapValue)(i.ordinalNumber(t,{unit:"day"}),s);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=(0,$Tt.setDay)(t,i,a),t.setHours(0,0,0,0),t}};v9.LocalDayParser=y9});var TRe=E(k9=>{"use strict";k9.StandAloneLocalDayParser=void 0;var jTt=ZD(),BTt=mr(),b9=Pr(),T9=class extends BTt.Parser{constructor(){super(...arguments);A(this,"priority",90);A(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let s=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return(0,b9.mapValue)((0,b9.parseNDigits)(n.length,t),s);case"co":return(0,b9.mapValue)(i.ordinalNumber(t,{unit:"day"}),s);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=(0,jTt.setDay)(t,i,a),t.setHours(0,0,0,0),t}};k9.StandAloneLocalDayParser=T9});var w9=E(kRe=>{"use strict";kRe.setISODay=qTt;var UTt=cd(),HTt=xY(),VTt=Q();function qTt(r,e,t){let n=(0,VTt.toDate)(r,t==null?void 0:t.in),i=(0,HTt.getISODay)(n,t),a=e-i;return(0,UTt.addDays)(n,a,t)}});var wRe=E(E9=>{"use strict";E9.ISODayParser=void 0;var WTt=w9(),YTt=mr(),QD=Pr(),S9=class extends YTt.Parser{constructor(){super(...arguments);A(this,"priority",90);A(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=s=>s===0?7:s;switch(n){case"i":case"ii":return(0,QD.parseNDigits)(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return(0,QD.mapValue)(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return(0,QD.mapValue)(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return(0,QD.mapValue)(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return(0,QD.mapValue)(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=(0,WTt.setISODay)(t,i),t.setHours(0,0,0,0),t}};E9.ISODayParser=S9});var SRe=E(C9=>{"use strict";C9.AMPMParser=void 0;var GTt=mr(),KTt=Pr(),x9=class extends GTt.Parser{constructor(){super(...arguments);A(this,"priority",80);A(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours((0,KTt.dayPeriodEnumToHours)(i),0,0,0),t}};C9.AMPMParser=x9});var ERe=E(P9=>{"use strict";P9.AMPMMidnightParser=void 0;var ZTt=mr(),QTt=Pr(),D9=class extends ZTt.Parser{constructor(){super(...arguments);A(this,"priority",80);A(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours((0,QTt.dayPeriodEnumToHours)(i),0,0,0),t}};P9.AMPMMidnightParser=D9});var xRe=E(_9=>{"use strict";_9.DayPeriodParser=void 0;var JTt=mr(),XTt=Pr(),M9=class extends JTt.Parser{constructor(){super(...arguments);A(this,"priority",80);A(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours((0,XTt.dayPeriodEnumToHours)(i),0,0,0),t}};_9.DayPeriodParser=M9});var DRe=E(I9=>{"use strict";I9.Hour1to12Parser=void 0;var ekt=ha(),tkt=mr(),CRe=Pr(),A9=class extends tkt.Parser{constructor(){super(...arguments);A(this,"priority",70);A(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return(0,CRe.parseNumericPattern)(ekt.numericPatterns.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return(0,CRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}};I9.Hour1to12Parser=A9});var MRe=E(R9=>{"use strict";R9.Hour0to23Parser=void 0;var rkt=ha(),nkt=mr(),PRe=Pr(),N9=class extends nkt.Parser{constructor(){super(...arguments);A(this,"priority",70);A(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return(0,PRe.parseNumericPattern)(rkt.numericPatterns.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return(0,PRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}};R9.Hour0to23Parser=N9});var ARe=E(L9=>{"use strict";L9.Hour0To11Parser=void 0;var ikt=ha(),akt=mr(),_Re=Pr(),O9=class extends akt.Parser{constructor(){super(...arguments);A(this,"priority",70);A(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return(0,_Re.parseNumericPattern)(ikt.numericPatterns.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return(0,_Re.parseNDigits)(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}};L9.Hour0To11Parser=O9});var NRe=E($9=>{"use strict";$9.Hour1To24Parser=void 0;var skt=ha(),okt=mr(),IRe=Pr(),F9=class extends okt.Parser{constructor(){super(...arguments);A(this,"priority",70);A(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return(0,IRe.parseNumericPattern)(skt.numericPatterns.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return(0,IRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}};$9.Hour1To24Parser=F9});var ORe=E(j9=>{"use strict";j9.MinuteParser=void 0;var lkt=ha(),ckt=mr(),RRe=Pr(),z9=class extends ckt.Parser{constructor(){super(...arguments);A(this,"priority",60);A(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return(0,RRe.parseNumericPattern)(lkt.numericPatterns.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return(0,RRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}};j9.MinuteParser=z9});var FRe=E(U9=>{"use strict";U9.SecondParser=void 0;var dkt=ha(),ukt=mr(),LRe=Pr(),B9=class extends ukt.Parser{constructor(){super(...arguments);A(this,"priority",50);A(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return(0,LRe.parseNumericPattern)(dkt.numericPatterns.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return(0,LRe.parseNDigits)(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}};U9.SecondParser=B9});var zRe=E(V9=>{"use strict";V9.FractionOfSecondParser=void 0;var pkt=mr(),$Re=Pr(),H9=class extends pkt.Parser{constructor(){super(...arguments);A(this,"priority",30);A(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return(0,$Re.mapValue)((0,$Re.parseNDigits)(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}};V9.FractionOfSecondParser=H9});var jRe=E(W9=>{"use strict";W9.ISOTimezoneWithZParser=void 0;var mkt=Ve(),fkt=Vu(),JD=ha(),hkt=mr(),XD=Pr(),q9=class extends hkt.Parser{constructor(){super(...arguments);A(this,"priority",10);A(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return(0,XD.parseTimezonePattern)(JD.timezonePatterns.basicOptionalMinutes,t);case"XX":return(0,XD.parseTimezonePattern)(JD.timezonePatterns.basic,t);case"XXXX":return(0,XD.parseTimezonePattern)(JD.timezonePatterns.basicOptionalSeconds,t);case"XXXXX":return(0,XD.parseTimezonePattern)(JD.timezonePatterns.extendedOptionalSeconds,t);case"XXX":default:return(0,XD.parseTimezonePattern)(JD.timezonePatterns.extended,t)}}set(t,n,i){return n.timestampIsSet?t:(0,mkt.constructFrom)(t,t.getTime()-(0,fkt.getTimezoneOffsetInMilliseconds)(t)-i)}};W9.ISOTimezoneWithZParser=q9});var BRe=E(G9=>{"use strict";G9.ISOTimezoneParser=void 0;var gkt=Ve(),ykt=Vu(),eP=ha(),vkt=mr(),tP=Pr(),Y9=class extends vkt.Parser{constructor(){super(...arguments);A(this,"priority",10);A(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return(0,tP.parseTimezonePattern)(eP.timezonePatterns.basicOptionalMinutes,t);case"xx":return(0,tP.parseTimezonePattern)(eP.timezonePatterns.basic,t);case"xxxx":return(0,tP.parseTimezonePattern)(eP.timezonePatterns.basicOptionalSeconds,t);case"xxxxx":return(0,tP.parseTimezonePattern)(eP.timezonePatterns.extendedOptionalSeconds,t);case"xxx":default:return(0,tP.parseTimezonePattern)(eP.timezonePatterns.extended,t)}}set(t,n,i){return n.timestampIsSet?t:(0,gkt.constructFrom)(t,t.getTime()-(0,ykt.getTimezoneOffsetInMilliseconds)(t)-i)}};G9.ISOTimezoneParser=Y9});var URe=E(Z9=>{"use strict";Z9.TimestampSecondsParser=void 0;var bkt=Ve(),Tkt=mr(),kkt=Pr(),K9=class extends Tkt.Parser{constructor(){super(...arguments);A(this,"priority",40);A(this,"incompatibleTokens","*")}parse(t){return(0,kkt.parseAnyDigitsSigned)(t)}set(t,n,i){return[(0,bkt.constructFrom)(t,i*1e3),{timestampIsSet:!0}]}};Z9.TimestampSecondsParser=K9});var HRe=E(J9=>{"use strict";J9.TimestampMillisecondsParser=void 0;var wkt=Ve(),Skt=mr(),Ekt=Pr(),Q9=class extends Skt.Parser{constructor(){super(...arguments);A(this,"priority",20);A(this,"incompatibleTokens","*")}parse(t){return(0,Ekt.parseAnyDigitsSigned)(t)}set(t,n,i){return[(0,wkt.constructFrom)(t,i),{timestampIsSet:!0}]}};J9.TimestampMillisecondsParser=Q9});var VRe=E(X9=>{"use strict";X9.parsers=void 0;var xkt=ZNe(),Ckt=QNe(),Dkt=XNe(),Pkt=tRe(),Mkt=nRe(),_kt=iRe(),Akt=aRe(),Ikt=sRe(),Nkt=oRe(),Rkt=uRe(),Okt=fRe(),Lkt=hRe(),Fkt=gRe(),$kt=vRe(),zkt=bRe(),jkt=TRe(),Bkt=wRe(),Ukt=SRe(),Hkt=ERe(),Vkt=xRe(),qkt=DRe(),Wkt=MRe(),Ykt=ARe(),Gkt=NRe(),Kkt=ORe(),Zkt=FRe(),Qkt=zRe(),Jkt=jRe(),Xkt=BRe(),ewt=URe(),twt=HRe(),Rzr=X9.parsers={G:new xkt.EraParser,y:new Ckt.YearParser,Y:new Dkt.LocalWeekYearParser,R:new Pkt.ISOWeekYearParser,u:new Mkt.ExtendedYearParser,Q:new _kt.QuarterParser,q:new Akt.StandAloneQuarterParser,M:new Ikt.MonthParser,L:new Nkt.StandAloneMonthParser,w:new Rkt.LocalWeekParser,I:new Okt.ISOWeekParser,d:new Lkt.DateParser,D:new Fkt.DayOfYearParser,E:new $kt.DayParser,e:new zkt.LocalDayParser,c:new jkt.StandAloneLocalDayParser,i:new Bkt.ISODayParser,a:new Ukt.AMPMParser,b:new Hkt.AMPMMidnightParser,B:new Vkt.DayPeriodParser,h:new qkt.Hour1to12Parser,H:new Wkt.Hour0to23Parser,K:new Ykt.Hour0To11Parser,k:new Gkt.Hour1To24Parser,m:new Kkt.MinuteParser,s:new Zkt.SecondParser,S:new Qkt.FractionOfSecondParser,X:new Jkt.ISOTimezoneWithZParser,x:new Xkt.ISOTimezoneParser,t:new ewt.TimestampSecondsParser,T:new twt.TimestampMillisecondsParser}});var t6=E(ML=>{"use strict";Object.defineProperty(ML,"longFormatters",{enumerable:!0,get:function(){return e6.longFormatters}});ML.parse=pwt;Object.defineProperty(ML,"parsers",{enumerable:!0,get:function(){return WRe.parsers}});var rwt=Ig(),e6=fY(),PL=hY(),nwt=Ve(),iwt=EY(),qRe=Q(),awt=RY(),WRe=VRe(),swt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,owt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lwt=/^'([^]*?)'?$/,cwt=/''/g,dwt=/\S/,uwt=/[a-zA-Z]/;function pwt(r,e,t,n){var g,v,k,b,w,S,x,C,D,_,O,L,N,R,z,H,Y,se;let i=()=>(0,nwt.constructFrom)((n==null?void 0:n.in)||t,NaN),a=(0,iwt.getDefaultOptions)(),s=(v=(g=n==null?void 0:n.locale)!=null?g:a.locale)!=null?v:rwt.defaultLocale,o=(_=(D=(S=(w=n==null?void 0:n.firstWeekContainsDate)!=null?w:(b=(k=n==null?void 0:n.locale)==null?void 0:k.options)==null?void 0:b.firstWeekContainsDate)!=null?S:a.firstWeekContainsDate)!=null?D:(C=(x=a.locale)==null?void 0:x.options)==null?void 0:C.firstWeekContainsDate)!=null?_:1,l=(se=(Y=(R=(N=n==null?void 0:n.weekStartsOn)!=null?N:(L=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:L.weekStartsOn)!=null?R:a.weekStartsOn)!=null?Y:(H=(z=a.locale)==null?void 0:z.options)==null?void 0:H.weekStartsOn)!=null?se:0;if(!e)return r?i():(0,qRe.toDate)(t,n==null?void 0:n.in);let c={firstWeekContainsDate:o,weekStartsOn:l,locale:s},d=[new awt.DateTimezoneSetter(n==null?void 0:n.in,t)],u=e.match(owt).map(J=>{let te=J[0];if(te in e6.longFormatters){let Te=e6.longFormatters[te];return Te(J,s.formatLong)}return J}).join("").match(swt),p=[];for(let J of u){!(n!=null&&n.useAdditionalWeekYearTokens)&&(0,PL.isProtectedWeekYearToken)(J)&&(0,PL.warnOrThrowProtectedError)(J,e,r),!(n!=null&&n.useAdditionalDayOfYearTokens)&&(0,PL.isProtectedDayOfYearToken)(J)&&(0,PL.warnOrThrowProtectedError)(J,e,r);let te=J[0],Te=WRe.parsers[te];if(Te){let{incompatibleTokens:Ce}=Te;if(Array.isArray(Ce)){let ne=p.find(st=>Ce.includes(st.token)||st.token===te);if(ne)throw new RangeError(`The format string mustn't contain \`${ne.fullToken}\` and \`${J}\` at the same time`)}else if(Te.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${J}\` and any other token at the same time`);p.push({token:te,fullToken:J});let X=Te.run(r,J,s.match,c);if(!X)return i();d.push(X.setter),r=X.rest}else{if(te.match(uwt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(J==="''"?J="'":te==="'"&&(J=mwt(J)),r.indexOf(J)===0)r=r.slice(J.length);else return i()}}if(r.length>0&&dwt.test(r))return i();let m=d.map(J=>J.priority).sort((J,te)=>te-J).filter((J,te,Te)=>Te.indexOf(J)===te).map(J=>d.filter(te=>te.priority===J).sort((te,Te)=>Te.subPriority-te.subPriority)).map(J=>J[0]),f=(0,qRe.toDate)(t,n==null?void 0:n.in);if(isNaN(+f))return i();let h={};for(let J of m){if(!J.validate(f,c))return i();let te=J.set(f,h,c);Array.isArray(te)?(f=te[0],Object.assign(h,te[1])):f=te}return f}function mwt(r){return r.match(lwt)[1].replace(cwt,"'")}});var GRe=E(YRe=>{"use strict";YRe.isMatch=gwt;var fwt=Wu(),hwt=t6();function gwt(r,e,t){return(0,fwt.isValid)((0,hwt.parse)(r,e,new Date,t))}});var ZRe=E(KRe=>{"use strict";KRe.isMonday=vwt;var ywt=Q();function vwt(r,e){return(0,ywt.toDate)(r,e==null?void 0:e.in).getDay()===1}});var JRe=E(QRe=>{"use strict";QRe.isPast=Twt;var bwt=Q();function Twt(r){return+(0,bwt.toDate)(r)<Date.now()}});var r6=E(XRe=>{"use strict";XRe.startOfHour=wwt;var kwt=Q();function wwt(r,e){let t=(0,kwt.toDate)(r,e==null?void 0:e.in);return t.setMinutes(0,0,0),t}});var n6=E(tOe=>{"use strict";tOe.isSameHour=Ewt;var Swt=Ar(),eOe=r6();function Ewt(r,e,t){let[n,i]=(0,Swt.normalizeDates)(t==null?void 0:t.in,r,e);return+(0,eOe.startOfHour)(n)==+(0,eOe.startOfHour)(i)}});var _L=E(nOe=>{"use strict";nOe.isSameWeek=Cwt;var xwt=Ar(),rOe=Yl();function Cwt(r,e,t){let[n,i]=(0,xwt.normalizeDates)(t==null?void 0:t.in,r,e);return+(0,rOe.startOfWeek)(n,t)==+(0,rOe.startOfWeek)(i,t)}});var i6=E(iOe=>{"use strict";iOe.isSameISOWeek=Pwt;var Dwt=_L();function Pwt(r,e,t){return(0,Dwt.isSameWeek)(r,e,{...t,weekStartsOn:1})}});var oOe=E(sOe=>{"use strict";sOe.isSameISOWeekYear=_wt;var aOe=HT(),Mwt=Ar();function _wt(r,e,t){let[n,i]=(0,Mwt.normalizeDates)(t==null?void 0:t.in,r,e);return+(0,aOe.startOfISOWeekYear)(n)==+(0,aOe.startOfISOWeekYear)(i)}});var a6=E(lOe=>{"use strict";lOe.startOfMinute=Iwt;var Awt=Q();function Iwt(r,e){let t=(0,Awt.toDate)(r,e==null?void 0:e.in);return t.setSeconds(0,0),t}});var s6=E(dOe=>{"use strict";dOe.isSameMinute=Nwt;var cOe=a6();function Nwt(r,e){return+(0,cOe.startOfMinute)(r)==+(0,cOe.startOfMinute)(e)}});var o6=E(uOe=>{"use strict";uOe.isSameMonth=Owt;var Rwt=Ar();function Owt(r,e,t){let[n,i]=(0,Rwt.normalizeDates)(t==null?void 0:t.in,r,e);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}});var l6=E(mOe=>{"use strict";mOe.isSameQuarter=Fwt;var Lwt=Ar(),pOe=yL();function Fwt(r,e,t){let[n,i]=(0,Lwt.normalizeDates)(t==null?void 0:t.in,r,e);return+(0,pOe.startOfQuarter)(n)==+(0,pOe.startOfQuarter)(i)}});var c6=E(fOe=>{"use strict";fOe.startOfSecond=zwt;var $wt=Q();function zwt(r,e){let t=(0,$wt.toDate)(r,e==null?void 0:e.in);return t.setMilliseconds(0),t}});var d6=E(gOe=>{"use strict";gOe.isSameSecond=jwt;var hOe=c6();function jwt(r,e){return+(0,hOe.startOfSecond)(r)==+(0,hOe.startOfSecond)(e)}});var u6=E(yOe=>{"use strict";yOe.isSameYear=Uwt;var Bwt=Ar();function Uwt(r,e,t){let[n,i]=(0,Bwt.normalizeDates)(t==null?void 0:t.in,r,e);return n.getFullYear()===i.getFullYear()}});var bOe=E(vOe=>{"use strict";vOe.isThisHour=Wwt;var Hwt=hi(),Vwt=n6(),qwt=Q();function Wwt(r,e){return(0,Vwt.isSameHour)((0,qwt.toDate)(r,e==null?void 0:e.in),(0,Hwt.constructNow)((e==null?void 0:e.in)||r))}});var kOe=E(TOe=>{"use strict";TOe.isThisISOWeek=Zwt;var Ywt=Ve(),Gwt=hi(),Kwt=i6();function Zwt(r,e){return(0,Kwt.isSameISOWeek)((0,Ywt.constructFrom)((e==null?void 0:e.in)||r,r),(0,Gwt.constructNow)((e==null?void 0:e.in)||r))}});var SOe=E(wOe=>{"use strict";wOe.isThisMinute=Xwt;var Qwt=hi(),Jwt=s6();function Xwt(r){return(0,Jwt.isSameMinute)(r,(0,Qwt.constructNow)(r))}});var xOe=E(EOe=>{"use strict";EOe.isThisMonth=nSt;var eSt=Ve(),tSt=hi(),rSt=o6();function nSt(r,e){return(0,rSt.isSameMonth)((0,eSt.constructFrom)((e==null?void 0:e.in)||r,r),(0,tSt.constructNow)((e==null?void 0:e.in)||r))}});var DOe=E(COe=>{"use strict";COe.isThisQuarter=oSt;var iSt=Ve(),aSt=hi(),sSt=l6();function oSt(r,e){return(0,sSt.isSameQuarter)((0,iSt.constructFrom)((e==null?void 0:e.in)||r,r),(0,aSt.constructNow)((e==null?void 0:e.in)||r))}});var MOe=E(POe=>{"use strict";POe.isThisSecond=dSt;var lSt=hi(),cSt=d6();function dSt(r){return(0,cSt.isSameSecond)(r,(0,lSt.constructNow)(r))}});var AOe=E(_Oe=>{"use strict";_Oe.isThisWeek=fSt;var uSt=Ve(),pSt=hi(),mSt=_L();function fSt(r,e){return(0,mSt.isSameWeek)((0,uSt.constructFrom)((e==null?void 0:e.in)||r,r),(0,pSt.constructNow)((e==null?void 0:e.in)||r),e)}});var NOe=E(IOe=>{"use strict";IOe.isThisYear=vSt;var hSt=Ve(),gSt=hi(),ySt=u6();function vSt(r,e){return(0,ySt.isSameYear)((0,hSt.constructFrom)((e==null?void 0:e.in)||r,r),(0,gSt.constructNow)((e==null?void 0:e.in)||r))}});var OOe=E(ROe=>{"use strict";ROe.isThursday=TSt;var bSt=Q();function TSt(r,e){return(0,bSt.toDate)(r,e==null?void 0:e.in).getDay()===4}});var FOe=E(LOe=>{"use strict";LOe.isToday=ESt;var kSt=Ve(),wSt=hi(),SSt=VT();function ESt(r,e){return(0,SSt.isSameDay)((0,kSt.constructFrom)((e==null?void 0:e.in)||r,r),(0,wSt.constructNow)((e==null?void 0:e.in)||r))}});var zOe=E($Oe=>{"use strict";$Oe.isTomorrow=PSt;var xSt=cd(),CSt=hi(),DSt=VT();function PSt(r,e){return(0,DSt.isSameDay)(r,(0,xSt.addDays)((0,CSt.constructNow)((e==null?void 0:e.in)||r),1),e)}});var BOe=E(jOe=>{"use strict";jOe.isTuesday=_St;var MSt=Q();function _St(r,e){return(0,MSt.toDate)(r,e==null?void 0:e.in).getDay()===2}});var HOe=E(UOe=>{"use strict";UOe.isWednesday=ISt;var ASt=Q();function ISt(r,e){return(0,ASt.toDate)(r,e==null?void 0:e.in).getDay()===3}});var qOe=E(VOe=>{"use strict";VOe.isWithinInterval=NSt;var p6=Q();function NSt(r,e,t){let n=+(0,p6.toDate)(r,t==null?void 0:t.in),[i,a]=[+(0,p6.toDate)(e.start,t==null?void 0:t.in),+(0,p6.toDate)(e.end,t==null?void 0:t.in)].sort((s,o)=>s-o);return n>=i&&n<=a}});var rP=E(WOe=>{"use strict";WOe.subDays=OSt;var RSt=cd();function OSt(r,e,t){return(0,RSt.addDays)(r,-e,t)}});var GOe=E(YOe=>{"use strict";YOe.isYesterday=jSt;var LSt=Ve(),FSt=hi(),$St=VT(),zSt=rP();function jSt(r,e){return(0,$St.isSameDay)((0,LSt.constructFrom)((e==null?void 0:e.in)||r,r),(0,zSt.subDays)((0,FSt.constructNow)((e==null?void 0:e.in)||r),1))}});var QOe=E(ZOe=>{"use strict";ZOe.lastDayOfDecade=BSt;var KOe=Q();function BSt(r,e){let t=(0,KOe.toDate)(r,e==null?void 0:e.in),n=t.getFullYear(),i=9+Math.floor(n/10)*10;return t.setFullYear(i+1,0,0),t.setHours(0,0,0,0),(0,KOe.toDate)(t,e==null?void 0:e.in)}});var m6=E(JOe=>{"use strict";JOe.lastDayOfWeek=VSt;var USt=fa(),HSt=Q();function VSt(r,e){var o,l,c,d,u,p,m,f;let t=(0,USt.getDefaultOptions)(),n=(f=(m=(d=(c=e==null?void 0:e.weekStartsOn)!=null?c:(l=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:t.weekStartsOn)!=null?m:(p=(u=t.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?f:0,i=(0,HSt.toDate)(r,e==null?void 0:e.in),a=i.getDay(),s=(a<n?-7:0)+6-(a-n);return i.setHours(0,0,0,0),i.setDate(i.getDate()+s),i}});var eLe=E(XOe=>{"use strict";XOe.lastDayOfISOWeek=WSt;var qSt=m6();function WSt(r,e){return(0,qSt.lastDayOfWeek)(r,{...e,weekStartsOn:1})}});var rLe=E(tLe=>{"use strict";tLe.lastDayOfISOWeekYear=ZSt;var YSt=Ve(),GSt=Hm(),KSt=dd();function ZSt(r,e){let t=(0,GSt.getISOWeekYear)(r,e),n=(0,YSt.constructFrom)((e==null?void 0:e.in)||r,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);let i=(0,KSt.startOfISOWeek)(n,e);return i.setDate(i.getDate()-1),i}});var iLe=E(nLe=>{"use strict";nLe.lastDayOfQuarter=JSt;var QSt=Q();function JSt(r,e){let t=(0,QSt.toDate)(r,e==null?void 0:e.in),n=t.getMonth(),i=n-n%3+3;return t.setMonth(i,0),t.setHours(0,0,0,0),t}});var sLe=E(aLe=>{"use strict";aLe.lastDayOfYear=eEt;var XSt=Q();function eEt(r,e){let t=(0,XSt.toDate)(r,e==null?void 0:e.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}});var lLe=E(f6=>{"use strict";f6.lightFormat=oEt;Object.defineProperty(f6,"lightFormatters",{enumerable:!0,get:function(){return oLe.lightFormatters}});var oLe=uY(),tEt=Wu(),rEt=Q(),nEt=/(\w)\1*|''|'(''|[^'])+('|$)|./g,iEt=/^'([^]*?)'?$/,aEt=/''/g,sEt=/[a-zA-Z]/;function oEt(r,e){let t=(0,rEt.toDate)(r);if(!(0,tEt.isValid)(t))throw new RangeError("Invalid time value");let n=e.match(nEt);return n?n.map(a=>{if(a==="''")return"'";let s=a[0];if(s==="'")return lEt(a);let o=oLe.lightFormatters[s];if(o)return o(t,a);if(s.match(sEt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return a}).join(""):""}function lEt(r){let e=r.match(iEt);return e?e[1].replace(aEt,"'"):r}});var uLe=E(dLe=>{"use strict";dLe.milliseconds=cEt;var cLe=yt();function cEt({years:r,months:e,weeks:t,days:n,hours:i,minutes:a,seconds:s}){let o=0;r&&(o+=r*cLe.daysInYear),e&&(o+=e*(cLe.daysInYear/12)),t&&(o+=t*7),n&&(o+=n);let l=o*24*60*60;return i&&(l+=i*60*60),a&&(l+=a*60),s&&(l+=s),Math.trunc(l*1e3)}});var mLe=E(pLe=>{"use strict";pLe.millisecondsToHours=uEt;var dEt=yt();function uEt(r){let e=r/dEt.millisecondsInHour;return Math.trunc(e)}});var hLe=E(fLe=>{"use strict";fLe.millisecondsToMinutes=mEt;var pEt=yt();function mEt(r){let e=r/pEt.millisecondsInMinute;return Math.trunc(e)}});var yLe=E(gLe=>{"use strict";gLe.millisecondsToSeconds=hEt;var fEt=yt();function hEt(r){let e=r/fEt.millisecondsInSecond;return Math.trunc(e)}});var bLe=E(vLe=>{"use strict";vLe.minutesToHours=yEt;var gEt=yt();function yEt(r){let e=r/gEt.minutesInHour;return Math.trunc(e)}});var kLe=E(TLe=>{"use strict";TLe.minutesToMilliseconds=bEt;var vEt=yt();function bEt(r){return Math.trunc(r*vEt.millisecondsInMinute)}});var SLe=E(wLe=>{"use strict";wLe.minutesToSeconds=kEt;var TEt=yt();function kEt(r){return Math.trunc(r*TEt.secondsInMinute)}});var xLe=E(ELe=>{"use strict";ELe.monthsToQuarters=SEt;var wEt=yt();function SEt(r){let e=r/wEt.monthsInQuarter;return Math.trunc(e)}});var DLe=E(CLe=>{"use strict";CLe.monthsToYears=xEt;var EEt=yt();function xEt(r){let e=r/EEt.monthsInYear;return Math.trunc(e)}});var Ku=E(PLe=>{"use strict";PLe.nextDay=PEt;var CEt=cd(),DEt=VD();function PEt(r,e,t){let n=e-(0,DEt.getDay)(r,t);return n<=0&&(n+=7),(0,CEt.addDays)(r,n,t)}});var _Le=E(MLe=>{"use strict";MLe.nextFriday=_Et;var MEt=Ku();function _Et(r,e){return(0,MEt.nextDay)(r,5,e)}});var ILe=E(ALe=>{"use strict";ALe.nextMonday=IEt;var AEt=Ku();function IEt(r,e){return(0,AEt.nextDay)(r,1,e)}});var RLe=E(NLe=>{"use strict";NLe.nextSaturday=REt;var NEt=Ku();function REt(r,e){return(0,NEt.nextDay)(r,6,e)}});var LLe=E(OLe=>{"use strict";OLe.nextSunday=LEt;var OEt=Ku();function LEt(r,e){return(0,OEt.nextDay)(r,0,e)}});var $Le=E(FLe=>{"use strict";FLe.nextThursday=$Et;var FEt=Ku();function $Et(r,e){return(0,FEt.nextDay)(r,4,e)}});var jLe=E(zLe=>{"use strict";zLe.nextTuesday=jEt;var zEt=Ku();function jEt(r,e){return(0,zEt.nextDay)(r,2,e)}});var ULe=E(BLe=>{"use strict";BLe.nextWednesday=UEt;var BEt=Ku();function UEt(r,e){return(0,BEt.nextDay)(r,3,e)}});var WLe=E(qLe=>{"use strict";qLe.parseISO=VEt;var IL=yt(),HEt=Ve(),HLe=Q();function VEt(r,e){var c;let t=()=>(0,HEt.constructFrom)(e==null?void 0:e.in,NaN),n=(c=e==null?void 0:e.additionalDigits)!=null?c:2,i=GEt(r),a;if(i.date){let d=KEt(i.date,n);a=ZEt(d.restDateString,d.year)}if(!a||isNaN(+a))return t();let s=+a,o=0,l;if(i.time&&(o=QEt(i.time),isNaN(o)))return t();if(i.timezone){if(l=JEt(i.timezone),isNaN(l))return t()}else{let d=new Date(s+o),u=(0,HLe.toDate)(0,e==null?void 0:e.in);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return(0,HLe.toDate)(s+o+l,e==null?void 0:e.in)}var AL={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},qEt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,WEt=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,YEt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function GEt(r){let e={},t=r.split(AL.dateTimeDelimiter),n;if(t.length>2)return e;if(/:/.test(t[0])?n=t[0]:(e.date=t[0],n=t[1],AL.timeZoneDelimiter.test(e.date)&&(e.date=r.split(AL.timeZoneDelimiter)[0],n=r.substr(e.date.length,r.length))),n){let i=AL.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function KEt(r,e){let t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=r.match(t);if(!n)return{year:NaN,restDateString:""};let i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?i:a*100,restDateString:r.slice((n[1]||n[2]).length)}}function ZEt(r,e){if(e===null)return new Date(NaN);let t=r.match(qEt);if(!t)return new Date(NaN);let n=!!t[4],i=nP(t[1]),a=nP(t[2])-1,s=nP(t[3]),o=nP(t[4]),l=nP(t[5])-1;if(n)return nxt(e,o,l)?XEt(e,o,l):new Date(NaN);{let c=new Date(0);return!txt(e,a,s)||!rxt(e,i)?new Date(NaN):(c.setUTCFullYear(e,a,Math.max(i,s)),c)}}function nP(r){return r?parseInt(r):1}function QEt(r){let e=r.match(WEt);if(!e)return NaN;let t=h6(e[1]),n=h6(e[2]),i=h6(e[3]);return ixt(t,n,i)?t*IL.millisecondsInHour+n*IL.millisecondsInMinute+i*1e3:NaN}function h6(r){return r&&parseFloat(r.replace(",","."))||0}function JEt(r){if(r==="Z")return 0;let e=r.match(YEt);if(!e)return 0;let t=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return axt(n,i)?t*(n*IL.millisecondsInHour+i*IL.millisecondsInMinute):NaN}function XEt(r,e,t){let n=new Date(0);n.setUTCFullYear(r,0,4);let i=n.getUTCDay()||7,a=(e-1)*7+t+1-i;return n.setUTCDate(n.getUTCDate()+a),n}var ext=[31,null,31,30,31,30,31,31,30,31,30,31];function VLe(r){return r%400===0||r%4===0&&r%100!==0}function txt(r,e,t){return e>=0&&e<=11&&t>=1&&t<=(ext[e]||(VLe(r)?29:28))}function rxt(r,e){return e>=1&&e<=(VLe(r)?366:365)}function nxt(r,e,t){return e>=1&&e<=53&&t>=0&&t<=6}function ixt(r,e,t){return r===24?e===0&&t===0:t>=0&&t<60&&e>=0&&e<60&&r>=0&&r<25}function axt(r,e){return e>=0&&e<=59}});var KLe=E(GLe=>{"use strict";GLe.parseJSON=sxt;var YLe=Q();function sxt(r,e){let t=r.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return t?(0,YLe.toDate)(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*(t[8]=="-"?-1:1),+t[5]-(+t[10]||0)*(t[8]=="-"?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3)),e==null?void 0:e.in):(0,YLe.toDate)(NaN,e==null?void 0:e.in)}});var Zu=E(ZLe=>{"use strict";ZLe.previousDay=cxt;var oxt=VD(),lxt=rP();function cxt(r,e,t){let n=(0,oxt.getDay)(r,t)-e;return n<=0&&(n+=7),(0,lxt.subDays)(r,n,t)}});var JLe=E(QLe=>{"use strict";QLe.previousFriday=uxt;var dxt=Zu();function uxt(r,e){return(0,dxt.previousDay)(r,5,e)}});var eFe=E(XLe=>{"use strict";XLe.previousMonday=mxt;var pxt=Zu();function mxt(r,e){return(0,pxt.previousDay)(r,1,e)}});var rFe=E(tFe=>{"use strict";tFe.previousSaturday=hxt;var fxt=Zu();function hxt(r,e){return(0,fxt.previousDay)(r,6,e)}});var iFe=E(nFe=>{"use strict";nFe.previousSunday=yxt;var gxt=Zu();function yxt(r,e){return(0,gxt.previousDay)(r,0,e)}});var sFe=E(aFe=>{"use strict";aFe.previousThursday=bxt;var vxt=Zu();function bxt(r,e){return(0,vxt.previousDay)(r,4,e)}});var lFe=E(oFe=>{"use strict";oFe.previousTuesday=kxt;var Txt=Zu();function kxt(r,e){return(0,Txt.previousDay)(r,2,e)}});var dFe=E(cFe=>{"use strict";cFe.previousWednesday=Sxt;var wxt=Zu();function Sxt(r,e){return(0,wxt.previousDay)(r,3,e)}});var pFe=E(uFe=>{"use strict";uFe.quartersToMonths=xxt;var Ext=yt();function xxt(r){return Math.trunc(r*Ext.monthsInQuarter)}});var fFe=E(mFe=>{"use strict";mFe.quartersToYears=Dxt;var Cxt=yt();function Dxt(r){let e=r/Cxt.quartersInYear;return Math.trunc(e)}});var gFe=E(hFe=>{"use strict";hFe.roundToNearestHours=Axt;var Pxt=Yu(),Mxt=Ve(),_xt=Q();function Axt(r,e){var u,p;let t=(u=e==null?void 0:e.nearestTo)!=null?u:1;if(t<1||t>12)return(0,Mxt.constructFrom)((e==null?void 0:e.in)||r,NaN);let n=(0,_xt.toDate)(r,e==null?void 0:e.in),i=n.getMinutes()/60,a=n.getSeconds()/60/60,s=n.getMilliseconds()/1e3/60/60,o=n.getHours()+i+a+s,l=(p=e==null?void 0:e.roundingMethod)!=null?p:"round",d=(0,Pxt.getRoundingMethod)(l)(o/t)*t;return n.setHours(d,0,0,0),n}});var vFe=E(yFe=>{"use strict";yFe.roundToNearestMinutes=Oxt;var Ixt=Yu(),Nxt=Ve(),Rxt=Q();function Oxt(r,e){var d,u;let t=(d=e==null?void 0:e.nearestTo)!=null?d:1;if(t<1||t>30)return(0,Nxt.constructFrom)(r,NaN);let n=(0,Rxt.toDate)(r,e==null?void 0:e.in),i=n.getSeconds()/60,a=n.getMilliseconds()/1e3/60,s=n.getMinutes()+i+a,o=(u=e==null?void 0:e.roundingMethod)!=null?u:"round",c=(0,Ixt.getRoundingMethod)(o)(s/t)*t;return n.setMinutes(c,0,0),n}});var TFe=E(bFe=>{"use strict";bFe.secondsToHours=Fxt;var Lxt=yt();function Fxt(r){let e=r/Lxt.secondsInHour;return Math.trunc(e)}});var wFe=E(kFe=>{"use strict";kFe.secondsToMilliseconds=zxt;var $xt=yt();function zxt(r){return r*$xt.millisecondsInSecond}});var EFe=E(SFe=>{"use strict";SFe.secondsToMinutes=Bxt;var jxt=yt();function Bxt(r){let e=r/jxt.secondsInMinute;return Math.trunc(e)}});var NL=E(xFe=>{"use strict";xFe.setMonth=qxt;var Uxt=Ve(),Hxt=wY(),Vxt=Q();function qxt(r,e,t){let n=(0,Vxt.toDate)(r,t==null?void 0:t.in),i=n.getFullYear(),a=n.getDate(),s=(0,Uxt.constructFrom)((t==null?void 0:t.in)||r,0);s.setFullYear(i,e,15),s.setHours(0,0,0,0);let o=(0,Hxt.getDaysInMonth)(s);return n.setMonth(e,Math.min(a,o)),n}});var DFe=E(CFe=>{"use strict";CFe.set=Kxt;var Wxt=Ve(),Yxt=NL(),Gxt=Q();function Kxt(r,e,t){let n=(0,Gxt.toDate)(r,t==null?void 0:t.in);return isNaN(+n)?(0,Wxt.constructFrom)((t==null?void 0:t.in)||r,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=(0,Yxt.setMonth)(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}});var MFe=E(PFe=>{"use strict";PFe.setDate=Qxt;var Zxt=Q();function Qxt(r,e,t){let n=(0,Zxt.toDate)(r,t==null?void 0:t.in);return n.setDate(e),n}});var AFe=E(_Fe=>{"use strict";_Fe.setDayOfYear=Xxt;var Jxt=Q();function Xxt(r,e,t){let n=(0,Jxt.toDate)(r,t==null?void 0:t.in);return n.setMonth(0),n.setDate(e),n}});var RFe=E(NFe=>{"use strict";NFe.setDefaultOptions=eCt;var IFe=fa();function eCt(r){let e={},t=(0,IFe.getDefaultOptions)();for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);for(let n in r)Object.prototype.hasOwnProperty.call(r,n)&&(r[n]===void 0?delete e[n]:e[n]=r[n]);(0,IFe.setDefaultOptions)(e)}});var LFe=E(OFe=>{"use strict";OFe.setHours=rCt;var tCt=Q();function rCt(r,e,t){let n=(0,tCt.toDate)(r,t==null?void 0:t.in);return n.setHours(e),n}});var $Fe=E(FFe=>{"use strict";FFe.setMilliseconds=iCt;var nCt=Q();function iCt(r,e,t){let n=(0,nCt.toDate)(r,t==null?void 0:t.in);return n.setMilliseconds(e),n}});var jFe=E(zFe=>{"use strict";zFe.setMinutes=sCt;var aCt=Q();function sCt(r,e,t){let n=(0,aCt.toDate)(r,t==null?void 0:t.in);return n.setMinutes(e),n}});var UFe=E(BFe=>{"use strict";BFe.setQuarter=cCt;var oCt=NL(),lCt=Q();function cCt(r,e,t){let n=(0,lCt.toDate)(r,t==null?void 0:t.in),i=Math.trunc(n.getMonth()/3)+1,a=e-i;return(0,oCt.setMonth)(n,n.getMonth()+a*3)}});var VFe=E(HFe=>{"use strict";HFe.setSeconds=uCt;var dCt=Q();function uCt(r,e,t){let n=(0,dCt.toDate)(r,t==null?void 0:t.in);return n.setSeconds(e),n}});var YFe=E(WFe=>{"use strict";WFe.setWeekYear=gCt;var pCt=fa(),mCt=Ve(),fCt=qu(),qFe=SL(),hCt=Q();function gCt(r,e,t){var l,c,d,u,p,m,f,h;let n=(0,pCt.getDefaultOptions)(),i=(h=(f=(u=(d=t==null?void 0:t.firstWeekContainsDate)!=null?d:(c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)!=null?u:n.firstWeekContainsDate)!=null?f:(m=(p=n.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)!=null?h:1,a=(0,fCt.differenceInCalendarDays)((0,hCt.toDate)(r,t==null?void 0:t.in),(0,qFe.startOfWeekYear)(r,t),t),s=(0,mCt.constructFrom)((t==null?void 0:t.in)||r,0);s.setFullYear(e,0,i),s.setHours(0,0,0,0);let o=(0,qFe.startOfWeekYear)(s,t);return o.setDate(o.getDate()+a),o}});var KFe=E(GFe=>{"use strict";GFe.setYear=bCt;var yCt=Ve(),vCt=Q();function bCt(r,e,t){let n=(0,vCt.toDate)(r,t==null?void 0:t.in);return isNaN(+n)?(0,yCt.constructFrom)((t==null?void 0:t.in)||r,NaN):(n.setFullYear(e),n)}});var QFe=E(ZFe=>{"use strict";ZFe.startOfDecade=kCt;var TCt=Q();function kCt(r,e){let t=(0,TCt.toDate)(r,e==null?void 0:e.in),n=t.getFullYear(),i=Math.floor(n/10)*10;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}});var XFe=E(JFe=>{"use strict";JFe.startOfToday=SCt;var wCt=OD();function SCt(r){return(0,wCt.startOfDay)(Date.now(),r)}});var t1e=E(e1e=>{"use strict";e1e.startOfTomorrow=CCt;var ECt=Ve(),xCt=hi();function CCt(r){let e=(0,xCt.constructNow)(r==null?void 0:r.in),t=e.getFullYear(),n=e.getMonth(),i=e.getDate(),a=(0,ECt.constructFrom)(r==null?void 0:r.in,0);return a.setFullYear(t,n,i+1),a.setHours(0,0,0,0),a}});var i1e=E(n1e=>{"use strict";n1e.startOfYesterday=DCt;var r1e=hi();function DCt(r){let e=(0,r1e.constructNow)(r==null?void 0:r.in),t=e.getFullYear(),n=e.getMonth(),i=e.getDate(),a=(0,r1e.constructNow)(r==null?void 0:r.in);return a.setFullYear(t,n,i-1),a.setHours(0,0,0,0),a}});var g6=E(a1e=>{"use strict";a1e.subMonths=MCt;var PCt=UT();function MCt(r,e,t){return(0,PCt.addMonths)(r,-e,t)}});var o1e=E(s1e=>{"use strict";s1e.sub=NCt;var _Ct=Ve(),ACt=rP(),ICt=g6();function NCt(r,e,t){let{years:n=0,months:i=0,weeks:a=0,days:s=0,hours:o=0,minutes:l=0,seconds:c=0}=e,d=(0,ICt.subMonths)(r,i+n*12,t),u=(0,ACt.subDays)(d,s+a*7,t),p=l+o*60,f=(c+p*60)*1e3;return(0,_Ct.constructFrom)((t==null?void 0:t.in)||r,+u-f)}});var c1e=E(l1e=>{"use strict";l1e.subBusinessDays=OCt;var RCt=O3();function OCt(r,e,t){return(0,RCt.addBusinessDays)(r,-e,t)}});var u1e=E(d1e=>{"use strict";d1e.subHours=FCt;var LCt=L3();function FCt(r,e,t){return(0,LCt.addHours)(r,-e,t)}});var m1e=E(p1e=>{"use strict";p1e.subMilliseconds=zCt;var $Ct=RD();function zCt(r,e,t){return(0,$Ct.addMilliseconds)(r,-e,t)}});var h1e=E(f1e=>{"use strict";f1e.subMinutes=BCt;var jCt=aL();function BCt(r,e,t){return(0,jCt.addMinutes)(r,-e,t)}});var y1e=E(g1e=>{"use strict";g1e.subQuarters=HCt;var UCt=sL();function HCt(r,e,t){return(0,UCt.addQuarters)(r,-e,t)}});var b1e=E(v1e=>{"use strict";v1e.subSeconds=qCt;var VCt=j3();function qCt(r,e,t){return(0,VCt.addSeconds)(r,-e,t)}});var k1e=E(T1e=>{"use strict";T1e.subWeeks=YCt;var WCt=LD();function YCt(r,e,t){return(0,WCt.addWeeks)(r,-e,t)}});var S1e=E(w1e=>{"use strict";w1e.subYears=KCt;var GCt=B3();function KCt(r,e,t){return(0,GCt.addYears)(r,-e,t)}});var x1e=E(E1e=>{"use strict";E1e.weeksToDays=QCt;var ZCt=yt();function QCt(r){return Math.trunc(r*ZCt.daysInWeek)}});var D1e=E(C1e=>{"use strict";C1e.yearsToDays=XCt;var JCt=yt();function XCt(r){return Math.trunc(r*JCt.daysInYear)}});var M1e=E(P1e=>{"use strict";P1e.yearsToMonths=tDt;var eDt=yt();function tDt(r){return Math.trunc(r*eDt.monthsInYear)}});var A1e=E(_1e=>{"use strict";_1e.yearsToQuarters=nDt;var rDt=yt();function nDt(r){return Math.trunc(r*rDt.quartersInYear)}});var I1e=E(T=>{"use strict";var y6=A3();Object.keys(y6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===y6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return y6[r]}})});var v6=O3();Object.keys(v6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===v6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return v6[r]}})});var b6=cd();Object.keys(b6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===b6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return b6[r]}})});var T6=L3();Object.keys(T6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===T6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return T6[r]}})});var k6=z3();Object.keys(k6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===k6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return k6[r]}})});var w6=RD();Object.keys(w6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===w6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return w6[r]}})});var S6=aL();Object.keys(S6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===S6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return S6[r]}})});var E6=UT();Object.keys(E6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===E6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return E6[r]}})});var x6=sL();Object.keys(x6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===x6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return x6[r]}})});var C6=j3();Object.keys(C6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===C6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return C6[r]}})});var D6=LD();Object.keys(D6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===D6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return D6[r]}})});var P6=B3();Object.keys(P6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===P6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return P6[r]}})});var M6=_Me();Object.keys(M6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===M6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return M6[r]}})});var _6=LMe();Object.keys(_6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===_6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return _6[r]}})});var A6=V3();Object.keys(A6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===A6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return A6[r]}})});var I6=jMe();Object.keys(I6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===I6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return I6[r]}})});var N6=Ag();Object.keys(N6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===N6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return N6[r]}})});var R6=qMe();Object.keys(R6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===R6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return R6[r]}})});var O6=Ve();Object.keys(O6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===O6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return O6[r]}})});var L6=hi();Object.keys(L6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===L6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return L6[r]}})});var F6=GMe();Object.keys(F6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===F6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return F6[r]}})});var $6=r_e();Object.keys($6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===$6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return $6[r]}})});var z6=qu();Object.keys(z6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===z6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return z6[r]}})});var j6=W3();Object.keys(j6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===j6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return j6[r]}})});var B6=l_e();Object.keys(B6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===B6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return B6[r]}})});var U6=lL();Object.keys(U6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===U6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return U6[r]}})});var H6=G3();Object.keys(H6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===H6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return H6[r]}})});var V6=cL();Object.keys(V6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===V6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return V6[r]}})});var q6=dL();Object.keys(q6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===q6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return q6[r]}})});var W6=uL();Object.keys(W6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===W6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return W6[r]}})});var Y6=pL();Object.keys(Y6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===Y6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return Y6[r]}})});var G6=E_e();Object.keys(G6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===G6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return G6[r]}})});var K6=mL();Object.keys(K6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===K6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return K6[r]}})});var Z6=fL();Object.keys(Z6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===Z6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return Z6[r]}})});var Q6=FD();Object.keys(Q6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===Q6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return Q6[r]}})});var J6=N_e();Object.keys(J6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===J6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return J6[r]}})});var X6=$D();Object.keys(X6).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===X6[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return X6[r]}})});var eG=L_e();Object.keys(eG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===eG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return eG[r]}})});var tG=J3();Object.keys(tG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===tG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return tG[r]}})});var rG=X3();Object.keys(rG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===rG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return rG[r]}})});var nG=U_e();Object.keys(nG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===nG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return nG[r]}})});var iG=V_e();Object.keys(iG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===iG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return iG[r]}})});var aG=W_e();Object.keys(aG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===aG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return aG[r]}})});var sG=K_e();Object.keys(sG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===sG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return sG[r]}})});var oG=Q_e();Object.keys(oG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===oG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return oG[r]}})});var lG=TL();Object.keys(lG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===lG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return lG[r]}})});var cG=tAe();Object.keys(cG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===cG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return cG[r]}})});var dG=aAe();Object.keys(dG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===dG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return dG[r]}})});var uG=oAe();Object.keys(uG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===uG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return uG[r]}})});var pG=hL();Object.keys(pG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===pG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return pG[r]}})});var mG=cAe();Object.keys(mG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===mG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return mG[r]}})});var fG=uAe();Object.keys(fG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===fG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return fG[r]}})});var hG=fAe();Object.keys(hG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===hG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return hG[r]}})});var gG=gAe();Object.keys(gG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===gG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return gG[r]}})});var yG=vAe();Object.keys(yG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===yG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return yG[r]}})});var vG=gL();Object.keys(vG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===vG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return vG[r]}})});var bG=TAe();Object.keys(bG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===bG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return bG[r]}})});var TG=wAe();Object.keys(TG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===TG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return TG[r]}})});var kG=EAe();Object.keys(kG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===kG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return kG[r]}})});var wG=DAe();Object.keys(wG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===wG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return wG[r]}})});var SG=tY();Object.keys(SG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===SG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return SG[r]}})});var EG=eY();Object.keys(EG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===EG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return EG[r]}})});var xG=MAe();Object.keys(xG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===xG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return xG[r]}})});var CG=vY();Object.keys(CG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===CG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return CG[r]}})});var DG=bY();Object.keys(DG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===DG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return DG[r]}})});var PG=TY();Object.keys(PG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===PG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return PG[r]}})});var MG=dIe();Object.keys(MG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===MG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return MG[r]}})});var _G=pIe();Object.keys(_G).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===_G[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return _G[r]}})});var AG=fIe();Object.keys(AG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===AG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return AG[r]}})});var IG=gIe();Object.keys(IG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===IG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return IG[r]}})});var NG=vIe();Object.keys(NG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===NG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return NG[r]}})});var RG=TIe();Object.keys(RG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===RG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return RG[r]}})});var OG=wIe();Object.keys(OG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===OG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return OG[r]}})});var LG=EIe();Object.keys(LG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===LG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return LG[r]}})});var FG=CIe();Object.keys(FG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===FG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return FG[r]}})});var $G=PIe();Object.keys($G).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===$G[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return $G[r]}})});var zG=kY();Object.keys(zG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===zG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return zG[r]}})});var jG=VD();Object.keys(jG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===jG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return jG[r]}})});var BG=cY();Object.keys(BG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===BG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return BG[r]}})});var UG=wY();Object.keys(UG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===UG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return UG[r]}})});var HG=RIe();Object.keys(HG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===HG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return HG[r]}})});var VG=LIe();Object.keys(VG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===VG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return VG[r]}})});var qG=EY();Object.keys(qG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===qG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return qG[r]}})});var WG=zIe();Object.keys(WG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===WG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return WG[r]}})});var YG=xY();Object.keys(YG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===YG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return YG[r]}})});var GG=wL();Object.keys(GG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===GG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return GG[r]}})});var KG=Hm();Object.keys(KG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===KG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return KG[r]}})});var ZG=HIe();Object.keys(ZG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===ZG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return ZG[r]}})});var QG=qIe();Object.keys(QG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===QG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return QG[r]}})});var JG=YIe();Object.keys(JG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===JG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return JG[r]}})});var XG=KIe();Object.keys(XG).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===XG[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return XG[r]}})});var e5=JIe();Object.keys(e5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===e5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return e5[r]}})});var t5=Y3();Object.keys(t5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===t5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return t5[r]}})});var r5=eNe();Object.keys(r5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===r5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return r5[r]}})});var n5=rNe();Object.keys(n5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===n5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return n5[r]}})});var i5=iNe();Object.keys(i5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===i5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return i5[r]}})});var a5=EL();Object.keys(a5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===a5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return a5[r]}})});var s5=sNe();Object.keys(s5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===s5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return s5[r]}})});var o5=UD();Object.keys(o5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===o5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return o5[r]}})});var l5=dNe();Object.keys(l5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===l5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return l5[r]}})});var c5=pNe();Object.keys(c5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===c5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return c5[r]}})});var d5=fNe();Object.keys(d5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===d5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return d5[r]}})});var u5=gNe();Object.keys(u5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===u5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return u5[r]}})});var p5=vNe();Object.keys(p5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===p5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return p5[r]}})});var m5=TNe();Object.keys(m5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===m5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return m5[r]}})});var f5=wNe();Object.keys(f5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===f5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return f5[r]}})});var h5=ENe();Object.keys(h5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===h5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return h5[r]}})});var g5=_Ne();Object.keys(g5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===g5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return g5[r]}})});var y5=NNe();Object.keys(y5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===y5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return y5[r]}})});var v5=LNe();Object.keys(v5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===v5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return v5[r]}})});var b5=q3();Object.keys(b5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===b5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return b5[r]}})});var T5=zNe();Object.keys(T5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===T5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return T5[r]}})});var k5=BNe();Object.keys(k5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===k5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return k5[r]}})});var w5=HNe();Object.keys(w5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===w5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return w5[r]}})});var S5=qNe();Object.keys(S5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===S5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return S5[r]}})});var E5=YNe();Object.keys(E5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===E5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return E5[r]}})});var x5=Z3();Object.keys(x5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===x5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return x5[r]}})});var C5=SY();Object.keys(C5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===C5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return C5[r]}})});var D5=GRe();Object.keys(D5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===D5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return D5[r]}})});var P5=ZRe();Object.keys(P5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===P5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return P5[r]}})});var M5=JRe();Object.keys(M5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===M5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return M5[r]}})});var _5=VT();Object.keys(_5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===_5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return _5[r]}})});var A5=n6();Object.keys(A5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===A5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return A5[r]}})});var I5=i6();Object.keys(I5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===I5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return I5[r]}})});var N5=oOe();Object.keys(N5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===N5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return N5[r]}})});var R5=s6();Object.keys(R5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===R5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return R5[r]}})});var O5=o6();Object.keys(O5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===O5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return O5[r]}})});var L5=l6();Object.keys(L5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===L5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return L5[r]}})});var F5=d6();Object.keys(F5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===F5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return F5[r]}})});var $5=_L();Object.keys($5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===$5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return $5[r]}})});var z5=u6();Object.keys(z5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===z5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return z5[r]}})});var j5=I3();Object.keys(j5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===j5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return j5[r]}})});var B5=N3();Object.keys(B5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===B5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return B5[r]}})});var U5=bOe();Object.keys(U5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===U5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return U5[r]}})});var H5=kOe();Object.keys(H5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===H5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return H5[r]}})});var V5=SOe();Object.keys(V5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===V5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return V5[r]}})});var q5=xOe();Object.keys(q5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===q5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return q5[r]}})});var W5=DOe();Object.keys(W5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===W5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return W5[r]}})});var Y5=MOe();Object.keys(Y5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===Y5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return Y5[r]}})});var G5=AOe();Object.keys(G5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===G5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return G5[r]}})});var K5=NOe();Object.keys(K5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===K5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return K5[r]}})});var Z5=OOe();Object.keys(Z5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===Z5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return Z5[r]}})});var Q5=FOe();Object.keys(Q5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===Q5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return Q5[r]}})});var J5=zOe();Object.keys(J5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===J5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return J5[r]}})});var X5=BOe();Object.keys(X5).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===X5[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return X5[r]}})});var eK=Wu();Object.keys(eK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===eK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return eK[r]}})});var tK=HOe();Object.keys(tK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===tK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return tK[r]}})});var rK=ND();Object.keys(rK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===rK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return rK[r]}})});var nK=qOe();Object.keys(nK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===nK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return nK[r]}})});var iK=GOe();Object.keys(iK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===iK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return iK[r]}})});var aK=QOe();Object.keys(aK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===aK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return aK[r]}})});var sK=eLe();Object.keys(sK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===sK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return sK[r]}})});var oK=rLe();Object.keys(oK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===oK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return oK[r]}})});var lK=CY();Object.keys(lK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===lK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return lK[r]}})});var cK=iLe();Object.keys(cK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===cK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return cK[r]}})});var dK=m6();Object.keys(dK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===dK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return dK[r]}})});var uK=sLe();Object.keys(uK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===uK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return uK[r]}})});var pK=lLe();Object.keys(pK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===pK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return pK[r]}})});var mK=U3();Object.keys(mK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===mK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return mK[r]}})});var fK=uLe();Object.keys(fK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===fK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return fK[r]}})});var hK=mLe();Object.keys(hK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===hK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return hK[r]}})});var gK=hLe();Object.keys(gK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===gK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return gK[r]}})});var yK=yLe();Object.keys(yK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===yK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return yK[r]}})});var vK=H3();Object.keys(vK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===vK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return vK[r]}})});var bK=bLe();Object.keys(bK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===bK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return bK[r]}})});var TK=kLe();Object.keys(TK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===TK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return TK[r]}})});var kK=SLe();Object.keys(kK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===kK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return kK[r]}})});var wK=xLe();Object.keys(wK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===wK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return wK[r]}})});var SK=DLe();Object.keys(SK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===SK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return SK[r]}})});var EK=Ku();Object.keys(EK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===EK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return EK[r]}})});var xK=_Le();Object.keys(xK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===xK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return xK[r]}})});var CK=ILe();Object.keys(CK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===CK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return CK[r]}})});var DK=RLe();Object.keys(DK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===DK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return DK[r]}})});var PK=LLe();Object.keys(PK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===PK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return PK[r]}})});var MK=$Le();Object.keys(MK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===MK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return MK[r]}})});var _K=jLe();Object.keys(_K).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===_K[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return _K[r]}})});var AK=ULe();Object.keys(AK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===AK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return AK[r]}})});var IK=t6();Object.keys(IK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===IK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return IK[r]}})});var NK=WLe();Object.keys(NK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===NK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return NK[r]}})});var RK=KLe();Object.keys(RK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===RK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return RK[r]}})});var OK=Zu();Object.keys(OK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===OK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return OK[r]}})});var LK=JLe();Object.keys(LK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===LK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return LK[r]}})});var FK=eFe();Object.keys(FK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===FK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return FK[r]}})});var $K=rFe();Object.keys($K).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===$K[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return $K[r]}})});var zK=iFe();Object.keys(zK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===zK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return zK[r]}})});var jK=sFe();Object.keys(jK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===jK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return jK[r]}})});var BK=lFe();Object.keys(BK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===BK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return BK[r]}})});var UK=dFe();Object.keys(UK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===UK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return UK[r]}})});var HK=pFe();Object.keys(HK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===HK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return HK[r]}})});var VK=fFe();Object.keys(VK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===VK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return VK[r]}})});var qK=gFe();Object.keys(qK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===qK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return qK[r]}})});var WK=vFe();Object.keys(WK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===WK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return WK[r]}})});var YK=TFe();Object.keys(YK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===YK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return YK[r]}})});var GK=wFe();Object.keys(GK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===GK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return GK[r]}})});var KK=EFe();Object.keys(KK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===KK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return KK[r]}})});var ZK=DFe();Object.keys(ZK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===ZK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return ZK[r]}})});var QK=MFe();Object.keys(QK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===QK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return QK[r]}})});var JK=ZD();Object.keys(JK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===JK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return JK[r]}})});var XK=AFe();Object.keys(XK).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===XK[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return XK[r]}})});var e8=RFe();Object.keys(e8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===e8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return e8[r]}})});var t8=LFe();Object.keys(t8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===t8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return t8[r]}})});var r8=w9();Object.keys(r8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===r8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return r8[r]}})});var n8=a9();Object.keys(n8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===n8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return n8[r]}})});var i8=$3();Object.keys(i8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===i8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return i8[r]}})});var a8=$Fe();Object.keys(a8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===a8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return a8[r]}})});var s8=jFe();Object.keys(s8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===s8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return s8[r]}})});var o8=NL();Object.keys(o8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===o8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return o8[r]}})});var l8=UFe();Object.keys(l8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===l8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return l8[r]}})});var c8=VFe();Object.keys(c8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===c8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return c8[r]}})});var d8=r9();Object.keys(d8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===d8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return d8[r]}})});var u8=YFe();Object.keys(u8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===u8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return u8[r]}})});var p8=KFe();Object.keys(p8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===p8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return p8[r]}})});var m8=OD();Object.keys(m8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===m8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return m8[r]}})});var f8=QFe();Object.keys(f8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===f8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return f8[r]}})});var h8=r6();Object.keys(h8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===h8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return h8[r]}})});var g8=dd();Object.keys(g8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===g8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return g8[r]}})});var y8=HT();Object.keys(y8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===y8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return y8[r]}})});var v8=a6();Object.keys(v8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===v8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return v8[r]}})});var b8=zD();Object.keys(b8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===b8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return b8[r]}})});var T8=yL();Object.keys(T8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===T8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return T8[r]}})});var k8=c6();Object.keys(k8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===k8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return k8[r]}})});var w8=XFe();Object.keys(w8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===w8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return w8[r]}})});var S8=t1e();Object.keys(S8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===S8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return S8[r]}})});var E8=Yl();Object.keys(E8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===E8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return E8[r]}})});var x8=SL();Object.keys(x8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===x8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return x8[r]}})});var C8=kL();Object.keys(C8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===C8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return C8[r]}})});var D8=i1e();Object.keys(D8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===D8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return D8[r]}})});var P8=o1e();Object.keys(P8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===P8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return P8[r]}})});var M8=c1e();Object.keys(M8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===M8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return M8[r]}})});var _8=rP();Object.keys(_8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===_8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return _8[r]}})});var A8=u1e();Object.keys(A8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===A8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return A8[r]}})});var I8=K3();Object.keys(I8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===I8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return I8[r]}})});var N8=m1e();Object.keys(N8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===N8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return N8[r]}})});var R8=h1e();Object.keys(R8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===R8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return R8[r]}})});var O8=g6();Object.keys(O8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===O8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return O8[r]}})});var L8=y1e();Object.keys(L8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===L8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return L8[r]}})});var F8=b1e();Object.keys(F8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===F8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return F8[r]}})});var $8=k1e();Object.keys($8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===$8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return $8[r]}})});var z8=S1e();Object.keys(z8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===z8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return z8[r]}})});var j8=Q();Object.keys(j8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===j8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return j8[r]}})});var B8=AY();Object.keys(B8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===B8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return B8[r]}})});var U8=x1e();Object.keys(U8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===U8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return U8[r]}})});var H8=D1e();Object.keys(H8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===H8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return H8[r]}})});var V8=M1e();Object.keys(V8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===V8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return V8[r]}})});var q8=A1e();Object.keys(q8).forEach(function(r){r==="default"||r==="__esModule"||r in T&&T[r]===q8[r]||Object.defineProperty(T,r,{enumerable:!0,get:function(){return q8[r]}})})});var Fg,ja,RL,N1e=y(()=>{Fg=require("obsidian");FT();zT();_3();nL();G();ls();ja=I({tag:"Services/MicrosoftCalendarService"}),RL=class extends BT{constructor(t,n){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.syncStatus={lastAttempt:null,lastSuccess:null,lastError:null,calendarErrors:[],calendarsChecked:0,eventsLoaded:0};this.plugin=t,this.oauthService=n}sleep(t){return new Promise(n=>window.setTimeout(n,t))}async withRetry(t,n){let{MAX_RETRIES:i,INITIAL_BACKOFF_MS:a,MAX_BACKOFF_MS:s,BACKOFF_MULTIPLIER:o}=LT.RATE_LIMIT,l=null,c=a;for(let d=0;d<=i;d++)try{return await t()}catch(u){l=u;let p=u.status===429,m=u.status>=500&&u.status<600,f=d===i;if(!p&&!m)throw u;if(f)throw ja.error(`[MicrosoftCalendar] ${n} failed after ${i} retries`,{category:"provider",operation:"retry-microsoft-calendar-request",details:{context:n,attempts:i},error:u}),u;let h=Math.random()*.3*c,g=Math.min(c+h,s);ja.warn("Microsoft Calendar request failed and will be retried",{category:"provider",operation:"retry-microsoft-calendar-request",details:{context:n,status:u.status,delayMs:Math.round(g),nextAttempt:d+1,maxRetries:i},error:u}),await this.sleep(g),c=Math.min(c*o,s)}throw l instanceof Error?l:new Error(String(l))}getAvailableCalendars(){return this.availableCalendars}getSyncStatus(){return{...this.syncStatus,calendarErrors:this.syncStatus.calendarErrors.map(t=>({...t}))}}getEnabledCalendarIds(){return this.plugin.settings.enabledMicrosoftCalendars.length===0?this.availableCalendars.map(t=>t.id):this.plugin.settings.enabledMicrosoftCalendars}getSyncToken(t){var n;return(n=this.plugin.settings.microsoftCalendarSyncTokens)==null?void 0:n[t]}async saveSyncToken(t,n){this.plugin.settings.microsoftCalendarSyncTokens||(this.plugin.settings.microsoftCalendarSyncTokens={}),this.plugin.settings.microsoftCalendarSyncTokens[t]!==n&&(this.plugin.settings.microsoftCalendarSyncTokens[t]=n,await this.persistSettingsDataOnly())}async clearSyncToken(t){this.plugin.settings.microsoftCalendarSyncTokens&&t in this.plugin.settings.microsoftCalendarSyncTokens&&(delete this.plugin.settings.microsoftCalendarSyncTokens[t],await this.persistSettingsDataOnly())}async persistSettingsDataOnly(){let t=this.plugin.saveSettingsDataOnly;typeof t=="function"&&await t.call(this.plugin)}getErrorMessage(t){if(t instanceof Error)return t.message;if(typeof t=="object"&&t!==null&&"message"in t){let n=t.message;if(typeof n=="string")return n}return String(t)}getErrorStatus(t){if(typeof t!="object"||t===null)return;let n=t.status;if(typeof n=="number")return n;let i=t.statusCode;return typeof i=="number"?i:void 0}createSyncError(t,n){return{calendarId:n==null?void 0:n.id,calendarName:n==null?void 0:n.summary,message:this.getErrorMessage(t),status:this.getErrorStatus(t),occurredAt:new Date().toISOString()}}formatSyncErrorSummary(t){if(t.length===0)return null;let n=t[0],i=n.calendarName||n.calendarId||"Microsoft calendar";return t.length===1?`${i}: ${n.message}`:`${t.length} Microsoft calendars failed to refresh. First error: ${i}: ${n.message}`}async initialize(){await this.oauthService.isConnected("microsoft")&&(await this.refreshAllCalendars(),this.startRefreshTimer())}startRefreshTimer(){this.refreshTimer&&window.clearTimeout(this.refreshTimer),this.refreshTimer=window.setTimeout(()=>{this.refreshTimer=null,this.refreshAllCalendars().catch(t=>{ja.error("Microsoft Calendar refresh failed:",{category:"provider",operation:"microsoft-calendar-refresh",error:t})}).finally(()=>{this.oauthService.isConnected("microsoft").then(t=>{t&&this.startRefreshTimer()})})},LT.REFRESH_INTERVAL_MS)}stopRefreshTimer(){this.refreshTimer&&(window.clearTimeout(this.refreshTimer),this.refreshTimer=null)}async listCalendars(){try{return await this.withRetry(async()=>{let t=await this.oauthService.getValidToken("microsoft"),n=[],i=`${this.baseUrl}/me/calendars`;for(;i;){let s=(await(0,Fg.requestUrl)({url:i,method:"GET",headers:{Authorization:`Bearer ${t}`,Accept:"application/json"}})).json,o=s.value||[];n.push(...o),i=s["@odata.nextLink"]}return n.map(a=>({id:a.id,summary:a.name,name:a.name,color:a.hexColor||void 0,backgroundColor:a.hexColor||void 0,primary:a.isDefaultCalendar||!1,isDefault:a.isDefaultCalendar||!1}))},"List calendars")}catch(t){throw ja.error("Failed to list calendars:",{category:"provider",operation:"list-calendars",error:t}),new Bi(`Failed to fetch calendar list: ${t.message}`,t.status)}}async fetchCalendarEvents(t,n,i){try{let a=await this.oauthService.getValidToken("microsoft"),s=this.getSyncToken(t),o=[],l,c,d=!s,u=!1,p;if(s)p=s;else{let m=new Date,f=n||new Date(m.getTime()-720*60*60*1e3),h=i||new Date(m.getTime()+2160*60*60*1e3),g=new URLSearchParams({startDateTime:f.toISOString(),endDateTime:h.toISOString(),$top:LT.MAX_RESULTS_PER_REQUEST.toString()});p=`${this.baseUrl}/me/calendars/${encodeURIComponent(t)}/calendarView?${g.toString()}`}do try{let f=(await this.withRetry(async()=>{let g=[`odata.maxpagesize=${LT.MAX_RESULTS_PER_REQUEST}`,'outlook.timezone="UTC"'];return await(0,Fg.requestUrl)({url:l||p,method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json",Prefer:g.join(", ")}})},`Fetch events for ${t}`)).json,h=f.value||[];!d&&h.some(g=>g.isCancelled||g["@removed"])&&(u=!0),o.push(...h),l=f["@odata.nextLink"],f["@odata.deltaLink"]&&(c=f["@odata.deltaLink"])}catch(m){if(m.status===410)return await this.clearSyncToken(t),await this.fetchCalendarEvents(t,n,i);throw m}while(l);return c&&await this.saveSyncToken(t,c),{events:o,isFullSync:d,hasDeletes:u}}catch(a){ja.error(`Failed to fetch events from calendar ${t}:`,{category:"provider",operation:"fetch-events-calendar",error:a});let s=new Error(`Failed to fetch calendar events: ${this.getErrorMessage(a)}`),o=this.getErrorStatus(a);throw s.status=o,s.statusCode=o,s}}convertToICSEvent(t,n){var c,d;if(!t.start||!t.end)throw new Error("Event missing start/end");let i,a,s=t.isAllDay||!1;if(s)i=t.start.dateTime.split("T")[0],a=t.end.dateTime.split("T")[0];else{let{format:u,parseISO:p}=I1e(),m=this.ensureUtcDateTime(t.start.dateTime,t.start.timeZone),f=this.ensureUtcDateTime(t.end.dateTime,t.end.timeZone),h=p(m),g=p(f);i=u(h,"yyyy-MM-dd'T'HH:mm:ss"),a=u(g,"yyyy-MM-dd'T'HH:mm:ss")}let o="#0078D4",l=t.seriesMasterId?`microsoft-${n}-${t.seriesMasterId}`:void 0;return{id:`microsoft-${n}-${t.id}`,subscriptionId:`microsoft-${n}`,title:t.subject||"Untitled Event",description:t.bodyPreview||((c=t.body)==null?void 0:c.content),start:i,end:a,allDay:s,location:(d=t.location)==null?void 0:d.displayName,url:t.webLink,recurringEventId:l,color:o}}async refreshAllCalendars(){var n,i;let t=new Date().toISOString();this.syncStatus={...this.syncStatus,lastAttempt:t,lastError:null,calendarErrors:[],calendarsChecked:0,eventsLoaded:((n=this.cache.get("all"))==null?void 0:n.length)||0};try{if(!await this.oauthService.isConnected("microsoft"))return;this.availableCalendars=await this.listCalendars();let s=this.getEnabledCalendarIds(),o=new Map(this.availableCalendars.map(d=>[d.id,d])),l=[],c=this.cache.get("all")||[];for(let d of s)try{let{events:u,isFullSync:p}=await this.fetchCalendarEvents(d);if(p){c=c.filter(f=>f.subscriptionId!==`microsoft-${d}`);let m=u.filter(f=>!f.isCancelled&&!f["@removed"]).map(f=>this.convertToICSEvent(f,d));c.push(...m)}else for(let m of u){let f=m["@removed"],h=`microsoft-${d}-${m.id}`,g=c.findIndex(v=>v.id===h);if(f){g!==-1&&c.splice(g,1);continue}if(m.isCancelled)g!==-1&&c.splice(g,1);else try{let v=this.convertToICSEvent(m,d);g!==-1?c[g]=v:c.push(v)}catch(v){ja.warn("[MicrosoftCalendar] Failed to convert event during refresh",{category:"provider",operation:"convert-event-refresh",details:{value:m.id},error:v})}}}catch(u){ja.error(`Failed to fetch events from calendar ${d}:`,{category:"provider",operation:"fetch-events-calendar",error:u}),l.push(this.createSyncError(u,o.get(d)))}this.cache.set("all",c),this.syncStatus={lastAttempt:t,lastSuccess:l.length===0?new Date().toISOString():this.syncStatus.lastSuccess,lastError:this.formatSyncErrorSummary(l),calendarErrors:l,calendarsChecked:s.length,eventsLoaded:c.length},this.emit("data-changed")}catch(a){ja.error("Failed to refresh Microsoft calendars:",{category:"provider",operation:"refresh-microsoft-calendars",error:a});let s=this.createSyncError(a);this.syncStatus={...this.syncStatus,lastAttempt:t,lastError:s.message,calendarErrors:[s],calendarsChecked:0,eventsLoaded:((i=this.cache.get("all"))==null?void 0:i.length)||0},this.getErrorMessage(a).includes("401")&&ja.warn("[MicrosoftCalendar] Authentication expired - caller should handle re-authentication",{category:"provider",operation:"authentication-expired-caller-should-handle-re-authentication"})}}getAllEvents(){return this.cache.get("all")||[]}getCachedEvents(){return this.getAllEvents()}async getEvents(t,n,i){let{events:a}=await this.fetchCalendarEvents(t,n,i),s=[];for(let o of a)if(!(o["@removed"]||o.isCancelled))try{s.push(this.convertToICSEvent(o,t))}catch(l){ja.warn("[MicrosoftCalendar] Skipping event due to conversion failure",{category:"provider",operation:"skipping-event-due-conversion",details:{value:o.id},error:l})}return s}async manualRefresh(){return this.refresh()}async disconnect(){this.clearCache(),this.stopRefreshTimer()}async refresh(){let t=Date.now(),n=t-this.lastManualRefresh,i=LT.MIN_MANUAL_REFRESH_INTERVAL_MS;if(n<i){let a=i-n;Ee(this.plugin.emitter,`Please wait ${Math.ceil(a/1e3)}s before refreshing again`);return}this.lastManualRefresh=t,await this.refreshAllCalendars()}clearCache(){this.cache.clear()}async updateEvent(t,n,i){Bm(t),jT(n),Go(i,"updates");try{let a=await this.oauthService.getValidToken("microsoft"),s={};(i.title!==void 0||i.summary!==void 0)&&(s.subject=i.summary||i.title),i.description!==void 0&&(s.body={contentType:"text",content:i.description});let o=!1,l=!1;i.start!==void 0&&(o=!0,typeof i.start=="string"?(l=i.isAllDay!==void 0?i.isAllDay:!/T/.test(i.start),s.start={dateTime:i.start,timeZone:"UTC"}):(s.start={dateTime:i.start.dateTime||i.start.date,timeZone:i.start.timeZone||"UTC"},i.start.date&&!i.start.dateTime&&(l=!0))),i.end!==void 0&&(o=!0,typeof i.end=="string"?s.end={dateTime:i.end,timeZone:"UTC"}:s.end={dateTime:i.end.dateTime||i.end.date,timeZone:i.end.timeZone||"UTC"}),i.isAllDay!==void 0?s.isAllDay=i.isAllDay:o&&(s.isAllDay=l),i.location!==void 0&&(s.location={displayName:i.location});let d=(await this.withRetry(async()=>await(0,Fg.requestUrl)({url:`${this.baseUrl}/me/calendars/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`,method:"PATCH",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),`Update event ${n}`)).json,u=this.convertToICSEvent(d,t);return await this.refreshAllCalendars(),u}catch(a){throw ja.error("Failed to update Microsoft Calendar event:",{category:"provider",operation:"update-microsoft-calendar-event",error:a}),a.status===404?new jm(n):a.status===401||a.status===403?new ys("microsoft"):a.status===429?new Yo:new Bi(`Failed to update event: ${a.message}`,a.status)}}async createEvent(t,n){Bm(t),Go(n,"event");let i=n.summary||n.title;Go(i,"event.summary"),Go(n.start,"event.start"),Go(n.end,"event.end");try{let a=await this.oauthService.getValidToken("microsoft"),s={subject:i};if(n.description&&(s.body={contentType:"text",content:n.description}),n.location&&(s.location={displayName:n.location}),typeof n.start=="string"){let d=n.isAllDay||!/T/.test(n.start);s.start={dateTime:n.start,timeZone:"UTC"},s.end={dateTime:typeof n.end=="string"?n.end:n.end.dateTime||n.end.date,timeZone:"UTC"},s.isAllDay=d}else{let d=n.end;s.start={dateTime:n.start.dateTime||n.start.date,timeZone:n.start.timeZone||"UTC"},s.end={dateTime:typeof d=="string"?d:d.dateTime||d.date,timeZone:typeof d=="string"?"UTC":d.timeZone||"UTC"},n.start.date&&!n.start.dateTime&&(s.isAllDay=!0)}let l=(await this.withRetry(async()=>await(0,Fg.requestUrl)({url:`${this.baseUrl}/me/calendars/${encodeURIComponent(t)}/events`,method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),`Create event in ${t}`)).json,c=this.convertToICSEvent(l,t);return await this.refreshAllCalendars(),c}catch(a){throw ja.error("Failed to create Microsoft Calendar event:",{category:"provider",operation:"create-microsoft-calendar-event",error:a}),a.status===404?new $T(t):a.status===401||a.status===403?new ys("microsoft"):a.status===429?new Yo:new Bi(`Failed to create event: ${a.message}`,a.status)}}async deleteEvent(t,n){Bm(t),jT(n);try{let i=await this.oauthService.getValidToken("microsoft");await this.withRetry(async()=>await(0,Fg.requestUrl)({url:`${this.baseUrl}/me/calendars/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`,method:"DELETE",headers:{Authorization:`Bearer ${i}`}}),`Delete event ${n}`),await this.refreshAllCalendars()}catch(i){throw i.status===404?new jm(n):(ja.error("Failed to delete Microsoft Calendar event:",{category:"provider",operation:"delete-microsoft-calendar-event",error:i}),i.status===401||i.status===403?new ys("microsoft"):i.status===429?new Yo:new Bi(`Failed to delete event: ${i.message}`,i.status))}}async createCalendar(t,n){try{let i=await this.oauthService.getValidToken("microsoft"),s=(await this.withRetry(async()=>await(0,Fg.requestUrl)({url:`${this.baseUrl}/me/calendars`,method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({name:t})}),"Create calendar")).json;return this.availableCalendars=await this.listCalendars(),s.id}catch(i){throw ja.error("Failed to create calendar:",{category:"provider",operation:"create-calendar",error:i}),i.status===401||i.status===403?new ys("microsoft"):i.status===429?new Yo:new Bi(`Failed to create calendar: ${i.message}`,i.status)}}ensureUtcDateTime(t,n){if(!t)throw new Error("Missing dateTime value");return/[+-]\d{2}:\d{2}$/.test(t)||t.endsWith("Z")?t:(n&&n.toUpperCase()!=="UTC"&&ja.warn(`[MicrosoftCalendar] Falling back to UTC conversion for timezone "${n}"`,{category:"provider",operation:"falling-back-utc-conversion-timezone"}),`${t.replace(/\.\d+$/,"")}Z`)}destroy(){this.stopRefreshTimer(),this.cache.clear(),this.removeAllListeners()}}});function iDt(r,e){return r!==null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,e)}function aDt(r,e){return JSON.stringify(r)===JSON.stringify(e)}function R1e(r,e,t){return!aDt(r==null?void 0:r.pomodoroState,e)||(r==null?void 0:r.lastPomodoroDate)!==t}function O1e(r,e){return e===void 0?iDt(r,"lastSelectedTaskPath"):(r==null?void 0:r.lastSelectedTaskPath)!==e}var L1e=y(()=>{});var sDt,OL,F1e=y(()=>{sDt=`
let timerInterval = null;
self.onmessage = function(event) {
if (event.data && event.data.command === "start") {
if (timerInterval) {
clearInterval(timerInterval);
}
timerInterval = setInterval(function() {
self.postMessage({ type: "tick" });
}, 1000);
return;
}
if (event.data && event.data.command === "stop") {
if (timerInterval) {
clearInterval(timerInterval);
timerInterval = null;
}
}
};
`,OL=class{constructor(e){this.onTick=e;this.worker=null;this.workerUrl=null;this.fallbackInterval=null;this.running=!1}start(){if(!this.running){if(this.running=!0,this.canUseWorker()){this.startWorkerTicker();return}this.fallbackInterval=window.setInterval(this.onTick,1e3)}}stop(){!this.running&&!this.worker&&this.fallbackInterval===null||(this.running=!1,this.worker&&(this.worker.postMessage({command:"stop"}),this.worker.terminate(),this.worker=null),this.workerUrl&&(URL.revokeObjectURL(this.workerUrl),this.workerUrl=null),this.fallbackInterval!==null&&(window.clearInterval(this.fallbackInterval),this.fallbackInterval=null))}destroy(){this.stop()}canUseWorker(){return typeof Worker!="undefined"&&typeof Blob!="undefined"&&typeof URL!="undefined"&&typeof URL.createObjectURL=="function"}startWorkerTicker(){let e=new Blob([sDt],{type:"application/javascript"});this.workerUrl=URL.createObjectURL(e),this.worker=new Worker(this.workerUrl),this.worker.onmessage=t=>{var n;((n=t.data)==null?void 0:n.type)==="tick"&&this.onTick()},this.worker.postMessage({command:"start"})}}});var z1e={};et(z1e,{PomodoroService:()=>iP});function LL(r){return(0,$1e.moment)(r)}function FL(r){return r!==null&&typeof r=="object"&&typeof r.id=="string"}var $1e,Nn,Nt,iP,W8=y(()=>{$1e=require("obsidian"),Nn=tt(jd());Ur();ls();Mc();Ne();s3();L1e();F1e();vO();hI();G();Nt=I({tag:"Services/PomodoroService"});iP=class{constructor(e){this.ticker=null;this.activeAudioContexts=new Set;this.cleanupTimeouts=new Set;this.lastSelectedTaskPathLoaded=!1;this.completionInProgress=!1;this.plugin=e,this.state={isRunning:!1,timeRemaining:e.settings.pomodoroWorkDuration*60}}translate(e,t){return this.plugin.i18n.translate(e,t)}async initialize(){await this.loadState(),this.setupTicker(),this.subscribeToTaskFileRenames(),this.state.isRunning&&this.state.currentSession&&this.resumeTimer()}subscribeToTaskFileRenames(){this.taskFileRenameUnsubscribe||(this.taskFileRenameUnsubscribe=this.plugin.cacheManager.subscribe("file-renamed",e=>{if(!e||typeof e!="object")return;let{oldPath:t,newPath:n}=e;typeof t!="string"||typeof n!="string"||this.handleTaskFileRenamed(t,n)}))}async handleTaskFileRenamed(e,t){var a;if(!e||!t||e===t)return;let n=!1,i=!1;((a=this.state.currentSession)==null?void 0:a.taskPath)===e&&(this.state.currentSession.taskPath=t,n=!0),this.lastWorkSessionTaskPath===e&&(this.lastWorkSessionTaskPath=t),this.lastSelectedTaskPath===e&&(this.lastSelectedTaskPath=t,this.lastSelectedTaskPathLoaded=!0,i=!0);try{let s=await this.plugin.loadData()||{},o=!1;n&&(s.pomodoroState=this.state,s.lastPomodoroDate=ce(wr()),o=!0),(i||s.lastSelectedTaskPath===e)&&(this.lastSelectedTaskPath=t,this.lastSelectedTaskPathLoaded=!0,s.lastSelectedTaskPath=t,o=!0),o&&await this.plugin.saveData(s)}catch(s){Nt.error("Failed to persist Pomodoro task path after file rename:",{category:"persistence",operation:"persist-pomodoro-task-path-file-rename",error:s})}n&&this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession})}setWebhookNotifier(e){this.webhookNotifier=e}setupTicker(){var e;(e=this.ticker)==null||e.destroy(),this.ticker=new OL(()=>this.handleTimerTick())}handleTimerTick(){if(!this.state.isRunning||!this.state.currentSession)return;this.syncRunningTimeRemaining()<=0&&!this.completionInProgress&&(this.completionInProgress=!0,this.completePomodoro().finally(()=>{this.completionInProgress=!1}))}async loadState(){try{let e=await this.plugin.loadData();if(e!=null&&e.pomodoroState){this.state=e.pomodoroState,this.state.timeRemaining=Math.max(0,this.state.timeRemaining||0);let t=ce(wr());if(e.lastPomodoroDate!==t&&this.state.currentSession&&(this.state.currentSession=void 0,this.state.isRunning=!1,this.state.nextSessionType=void 0),this.state.currentSession){let i=new Date(this.state.currentSession.startTime).getTime();(Date.now()-i)/(1e3*60*60)>24&&(this.state.currentSession=void 0,this.state.isRunning=!1,this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,this.state.nextSessionType=void 0)}this.state.currentSession||(this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,this.state.nextSessionType=void 0)}}catch(e){Nt.error("Failed to load pomodoro state:",{category:"persistence",operation:"load-pomodoro-state",error:e}),this.state={isRunning:!1,timeRemaining:this.plugin.settings.pomodoroWorkDuration*60}}}async saveState(){try{let e=await this.plugin.loadData()||{},t=ce(wr());if(!R1e(e,this.state,t))return;e.pomodoroState=this.state,e.lastPomodoroDate=t,await this.plugin.saveData(e)}catch(e){Nt.error("Failed to save pomodoro state:",{category:"persistence",operation:"save-pomodoro-state",error:e})}}async saveLastSelectedTask(e){this.lastSelectedTaskPath=e,this.lastSelectedTaskPathLoaded=!0;try{let t=await this.plugin.loadData()||{};if(!O1e(t,e))return;e===void 0?delete t.lastSelectedTaskPath:t.lastSelectedTaskPath=e,await this.plugin.saveData(t)}catch(t){Nt.error("Failed to save last selected task:",{category:"persistence",operation:"save-last-selected-task",error:t})}}async getLastSelectedTaskPath(){if(this.lastSelectedTaskPathLoaded)return this.lastSelectedTaskPath;try{let e=await this.plugin.loadData(),t=e==null?void 0:e.lastSelectedTaskPath;return typeof t=="string"&&t.trim().length>0?this.lastSelectedTaskPath=t:this.lastSelectedTaskPath=void 0,this.lastSelectedTaskPathLoaded=!0,this.lastSelectedTaskPath}catch(e){Nt.error("Failed to load last selected task:",{category:"persistence",operation:"load-last-selected-task",error:e});return}}async startPomodoro(e,t){var c;if(this.state.isRunning){Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.alreadyRunning"));return}if(this.state.currentSession&&!this.state.isRunning){Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.resumeCurrentSession"));return}let n=this.state.nextSessionType==="short-break"||this.state.nextSessionType==="long-break"?this.plugin.settings.pomodoroWorkDuration*60:this.state.timeRemaining,i=t!==void 0?t*60:void 0,a=Rm(i!=null?i:n),s=a/60,o=Ye(),l={id:Date.now().toString(),taskPath:e==null?void 0:e.path,startTime:o,plannedDuration:s,type:"work",completed:!1,activePeriods:[{startTime:o}]};if(e!=null&&e.path&&(this.lastWorkSessionTaskPath=e.path,this.lastSelectedTaskPath=e.path,this.lastSelectedTaskPathLoaded=!0),this.state.currentSession=l,this.state.isRunning=!0,this.state.timeRemaining=a,this.state.nextSessionType=void 0,await this.saveState(),this.startTimer(),e)try{await this.plugin.taskService.startTimeTracking(e)}catch(d){(c=d.message)!=null&&c.includes("Time tracking is already active")||Nt.error("Failed to start time tracking for Pomodoro:",{category:"internal",operation:"start-time-tracking-pomodoro",error:d})}if(this.plugin.emitter.trigger(Ud,{session:l,task:e}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("pomodoro.started",{session:l,task:e})}catch(d){Nt.warn("Failed to trigger webhook for pomodoro start:",{category:"provider",operation:"trigger-webhook-pomodoro-start",error:d})}this.showPomodoroNotification(`Pomodoro started${e?` for: ${e.title}`:""}`)}async startPomodoroWithLastSelectedTask(e){let t=await this.getAutoStartTask();await this.startPomodoro(t,e)}async startBreak(e=!1){if(this.state.isRunning){Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.timerAlreadyRunning"));return}if(this.state.currentSession&&!this.state.isRunning){Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.resumeSessionInstead"));return}let t=e?Math.max(1,Math.min(60,this.plugin.settings.pomodoroLongBreakDuration)):Math.max(1,Math.min(30,this.plugin.settings.pomodoroShortBreakDuration)),n=Ye(),i={id:Date.now().toString(),startTime:n,plannedDuration:t,type:e?"long-break":"short-break",completed:!1,activePeriods:[{startTime:n}]};this.state.currentSession=i,this.state.isRunning=!0,this.state.timeRemaining=i.plannedDuration*60,this.state.nextSessionType=void 0,await this.saveState(),this.startTimer(),Ee(this.plugin.emitter,this.translate(e?"services.pomodoro.notices.longBreakStarted":"services.pomodoro.notices.shortBreakStarted"))}async pausePomodoro(){if(!this.state.isRunning)return;this.syncRunningTimeRemaining(),this.stopTimer(),this.state.isRunning=!1;let e=Ye();if(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=e)}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){Nt.error("Failed to stop time tracking for Pomodoro pause:",{category:"internal",operation:"stop-time-tracking-pomodoro-pause",error:t})}await this.saveState(),this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.paused"))}async resumePomodoro(){var e;if(!(this.state.isRunning||!this.state.currentSession)){if(this.state.isRunning=!0,this.state.currentSession&&this.state.currentSession.activePeriods.push({startTime:Ye()}),await this.saveState(),this.startTimer(),this.state.currentSession&&this.state.currentSession.taskPath)try{let t=await this.plugin.cacheManager.getTaskInfo(this.state.currentSession.taskPath);t&&await this.plugin.taskService.startTimeTracking(t)}catch(t){(e=t.message)!=null&&e.includes("Time tracking is already active")||Nt.error("Failed to start time tracking for Pomodoro resume:",{category:"internal",operation:"start-time-tracking-pomodoro-resume",error:t})}this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.resumed"))}}async stopPomodoro(){if(!this.state.currentSession)return;let e=this.state.isRunning;e&&this.syncRunningTimeRemaining(),this.stopTimer();let t=Ye();if(this.state.currentSession){if(this.state.currentSession.interrupted=!0,this.state.currentSession.endTime=t,this.state.currentSession.activePeriods.length>0){let n=this.state.currentSession.activePeriods[this.state.currentSession.activePeriods.length-1];n.endTime||(n.endTime=t)}await this.addSessionToHistory(this.state.currentSession)}if(this.plugin.emitter.trigger(Vd,{session:this.state.currentSession}),this.webhookNotifier&&this.state.currentSession)try{let n=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:n})}catch(n){Nt.warn("Failed to trigger webhook for pomodoro interruption:",{category:"provider",operation:"trigger-webhook-pomodoro-interruption",error:n})}if(this.state.currentSession&&this.state.currentSession.taskPath&&e)try{let n=await this.plugin.cacheManager.getTaskInfo(this.state.currentSession.taskPath);n&&await this.plugin.taskService.stopTimeTracking(n)}catch(n){Nt.error("Failed to stop time tracking for Pomodoro interrupt:",{category:"internal",operation:"stop-time-tracking-pomodoro-interrupt",error:n})}this.state.currentSession=void 0,this.state.isRunning=!1,this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,this.state.nextSessionType=void 0,await this.saveState(),this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),e&&Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.stoppedAndReset"))}async skipBreak(){this.state.currentSession||this.state.nextSessionType!=="short-break"&&this.state.nextSessionType!=="long-break"||(this.stopTimer(),this.state.isRunning=!1,this.state.currentSession=void 0,this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,this.state.nextSessionType=void 0,await this.saveState(),this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}))}startTimer(){var e;this.ticker||this.setupTicker(),this.syncRunningTimeRemaining(),(e=this.ticker)==null||e.start()}stopTimer(){var e;(e=this.ticker)==null||e.stop()}resumeTimer(){if(this.state.currentSession&&this.state.currentSession.startTime){let e=new Date(this.state.currentSession.startTime).getTime(),t=Date.now();if(e>t){this.stopPomodoro();return}!this.state.isRunning&&this.state.timeRemaining>0?this.state.timeRemaining=Math.min(this.state.timeRemaining,Rm(this.state.currentSession.plannedDuration*60)):this.state.isRunning&&(this.state.timeRemaining=yO(this.state.currentSession,t)),this.state.timeRemaining>0&&this.state.isRunning?this.startTimer():this.state.timeRemaining<=0&&this.completePomodoro()}}syncRunningTimeRemaining(e=Date.now()){return this.state.currentSession?(this.state.isRunning&&(this.state.timeRemaining=yO(this.state.currentSession,e)),this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),this.state.timeRemaining):this.state.timeRemaining}async autoStartWorkSession(){if(!this.state.isRunning)try{let e=await this.getAutoStartTask();e?await this.startPomodoro(e):await this.startPomodoro()}catch(e){Nt.error("Failed to auto-start work session:",{category:"internal",operation:"auto-start-work-session",error:e})}}async getAutoStartTask(){var i;let e=[];this.lastWorkSessionTaskPath&&e.push(this.lastWorkSessionTaskPath),(i=this.state.currentSession)!=null&&i.taskPath&&e.push(this.state.currentSession.taskPath);let t=await this.getLastSelectedTaskPath();t&&e.push(t);let n=Array.from(new Set(e.filter(a=>typeof a=="string"&&a.length>0)));for(let a of n)try{let s=await this.plugin.cacheManager.getTaskInfo(a);if(!s){this.clearCachedTaskPath(a);continue}let o=$h(s,new Date,this.plugin.statusManager,this.plugin.settings.defaultTaskStatus);if(s.archived||o){this.clearCachedTaskPath(a);continue}return s}catch(s){Nt.warn(`Failed to load task for auto-start (${a}):`,{category:"persistence",operation:"load-task-auto-start",error:s})}}clearCachedTaskPath(e){this.lastWorkSessionTaskPath===e&&(this.lastWorkSessionTaskPath=void 0),this.lastSelectedTaskPath===e&&(this.lastSelectedTaskPath=void 0,this.lastSelectedTaskPathLoaded=!0)}async completePomodoro(){if(this.stopTimer(),!this.state.currentSession)return;let e=this.state.currentSession,t=TPe(e),n=t!==null?kPe(t):Ye();if(e.completed=!0,e.endTime=n,e.type==="work"&&e.taskPath&&(this.lastWorkSessionTaskPath=e.taskPath),e.activePeriods.length>0){let o=e.activePeriods[e.activePeriods.length-1];o.endTime||(o.endTime=n)}if(e.type==="work"&&this.state.isRunning&&e.taskPath)try{let o=await this.plugin.cacheManager.getTaskInfo(e.taskPath);o&&await this.plugin.taskService.stopTimeTracking(o)}catch(o){Nt.error("Failed to stop time tracking for Pomodoro completion:",{category:"internal",operation:"stop-time-tracking-pomodoro-completion",error:o})}let i=!1;if(e.type==="work")try{i=((await this.getTodayStats()).pomodorosCompleted+1)%this.plugin.settings.pomodoroLongBreakInterval===0}catch(o){Nt.error("Failed to calculate break type:",{category:"internal",operation:"calculate-break-type",error:o}),i=!1}if(await this.addSessionToHistory(e),this.plugin.emitter.trigger(Hd,{session:e,nextType:e.type==="work"?i?"long-break":"short-break":"work"}),this.webhookNotifier)try{let o=e.taskPath?await this.plugin.cacheManager.getTaskInfo(e.taskPath):void 0;await this.webhookNotifier.triggerWebhook("pomodoro.completed",{session:e,task:o})}catch(o){Nt.warn("Failed to trigger webhook for pomodoro completion:",{category:"provider",operation:"trigger-webhook-pomodoro-completion",error:o})}let a=e.type==="work"?"\u{1F345} Pomodoro completed!":"\u2615 Break completed!",s=e.type==="work"?`Time for a ${i?"long break \u{1F4A4}":"short break \u2615"}`:"Ready for the next pomodoro?";if(this.showPomodoroNotification(a,{body:s}),this.plugin.settings.pomodoroSoundEnabled&&this.playCompletionSound(),this.state.currentSession=void 0,this.state.isRunning=!1,e.type==="work"){let o=i?this.plugin.settings.pomodoroLongBreakDuration:this.plugin.settings.pomodoroShortBreakDuration;if(this.state.timeRemaining=o*60,this.state.nextSessionType=i?"long-break":"short-break",this.plugin.settings.pomodoroAutoStartBreaks){let l=window.setTimeout(()=>{this.startBreak(i)},1e3);this.cleanupTimeouts.add(l)}}else if(this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,this.state.nextSessionType="work",this.plugin.settings.pomodoroAutoStartWork){let o=window.setTimeout(()=>{this.autoStartWorkSession()},1e3);this.cleanupTimeouts.add(o)}await this.saveState(),this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession})}playCompletionSound(){try{let e=new(window.AudioContext||window.webkitAudioContext),t=e.createOscillator(),n=e.createGain();t.connect(n),n.connect(e.destination);let i=Math.max(0,Math.min(1,this.plugin.settings.pomodoroSoundVolume/100));n.gain.value=i*.3,t.frequency.value=800,t.type="sine",t.start(),t.stop(e.currentTime+.1),this.activeAudioContexts.add(e);let a=window.setTimeout(()=>{try{let o=e.createOscillator();o.connect(n),o.frequency.value=1e3,o.type="sine",o.start(),o.stop(e.currentTime+.1)}catch(o){Nt.error("Failed to play second beep:",{category:"provider",operation:"play-second-beep",error:o})}},150);this.cleanupTimeouts.add(a);let s=window.setTimeout(()=>{this.activeAudioContexts.delete(e),e.close().catch(()=>{})},300);this.cleanupTimeouts.add(s)}catch(e){Nt.error("Failed to play completion sound:",{category:"provider",operation:"play-completion-sound",error:e})}}showPomodoroNotification(e,t){if(this.plugin.settings.pomodoroNotifications&&!(typeof Notification=="undefined"||Notification.permission!=="granted"))try{new Notification(e,t)}catch(n){Nt.warn("Failed to show Pomodoro notification:",{category:"provider",operation:"show-pomodoro-notification",error:n})}}getState(){return{...this.state}}adjustSessionTime(e){if(this.state.currentSession){let t=Rm(this.state.timeRemaining+e);this.setCurrentSessionRemainingTime(t)}}setCurrentSessionRemainingTime(e){if(!this.state.currentSession)return;let t=Date.now();this.state.isRunning&&(this.state.timeRemaining=yO(this.state.currentSession,t));let n=Rm(e),i=xT(this.state.currentSession,t);this.state.timeRemaining=n,this.state.currentSession.plannedDuration=(i+n)/60,this.saveState(),this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession})}adjustPreparedTimer(e){this.state.currentSession||(this.stopTimer(),this.state.timeRemaining=Rm(e),this.saveState(),this.plugin.emitter.trigger(Pa,{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(e){var s;if(!this.state.currentSession)return;let t=this.state.currentSession,n=t.taskPath,i=e==null?void 0:e.path,a=this.state.isRunning&&t.type==="work"&&n!==i;if(a&&n)try{let o=await this.plugin.cacheManager.getTaskInfo(n);o&&await this.plugin.taskService.stopTimeTracking(o)}catch(o){Nt.error("Failed to stop time tracking for previous Pomodoro task:",{category:"persistence",operation:"stop-time-tracking-previous-pomodoro-task",error:o})}if(t.taskPath=i,i?(this.lastWorkSessionTaskPath=i,this.lastSelectedTaskPath=i,this.lastSelectedTaskPathLoaded=!0):(this.lastWorkSessionTaskPath=void 0,this.lastSelectedTaskPath=void 0,this.lastSelectedTaskPathLoaded=!0),await this.saveState(),a&&e)try{await this.plugin.taskService.startTimeTracking(e)}catch(o){(s=o.message)!=null&&s.includes("Time tracking is already active")||Nt.error("Failed to start time tracking for new Pomodoro task:",{category:"persistence",operation:"start-time-tracking-new-pomodoro-task",error:o})}this.plugin.emitter.trigger(Pa,{timeRemaining:this.state.timeRemaining,session:t})}async getSessionHistory(){try{let e=await this.loadPluginHistory(),t;if(this.plugin.settings.pomodoroStorageLocation==="daily-notes"){let n=await this.loadHistoryFromDailyNotes();t=n,e.length>0&&(t=this.mergeHistories(e,n))}else t=e;return hD(t)}catch(e){return Nt.error("Failed to load session history:",{category:"persistence",operation:"load-session-history",error:e}),[]}}async getSessionsForDate(e){try{let t=ce(e);if(!t)return[];let n=await this.loadPluginHistoryForDateKey(t),i;if(this.plugin.settings.pomodoroStorageLocation==="daily-notes"){let a=await this.loadHistoryFromDailyNoteForDateKey(t);i=n.length>0?this.mergeHistories(n,a):a}else i=n;return hD(i)}catch(t){return Nt.error("Failed to load session history for date:",{category:"validation",operation:"load-session-history-date",error:t}),[]}}async getSessionsForDateRange(e,t){try{let n=await this.loadPluginHistoryForDateRange(e,t),i;if(this.plugin.settings.pomodoroStorageLocation==="daily-notes"){let a=await this.loadHistoryFromDailyNotesForDateRange(e,t);i=n.length>0?this.mergeHistories(n,a):a}else i=n;return hD(i)}catch(n){return Nt.error("Failed to load session history for date range:",{category:"validation",operation:"load-session-history-date-range",error:n}),[]}}async saveSessionHistory(e){try{this.plugin.settings.pomodoroStorageLocation==="daily-notes"?await this.saveHistoryToDailyNotes(e):await this.savePluginHistory(e)}catch(t){Nt.error("Failed to save session history:",{category:"persistence",operation:"save-session-history",error:t})}}async deleteSessionFromHistory(e){let t=!1;try{let n=await this.loadPluginHistory(),i=n.filter(a=>a.id!==e.id);i.length!==n.length&&(await this.savePluginHistory(i),t=!0),this.plugin.settings.pomodoroStorageLocation==="daily-notes"&&(t=await this.deleteSessionFromDailyNote(e)||t)}catch(n){Nt.error("Failed to delete pomodoro session:",{category:"persistence",operation:"delete-pomodoro-session",error:n})}return t}async addSessionToHistory(e){if(!e.endTime){Nt.warn("Cannot add session to history without end time",{category:"persistence",operation:"add-session-history-without-end-time"});return}let t={id:e.id,startTime:e.startTime,endTime:e.endTime,plannedDuration:e.plannedDuration,type:e.type,taskPath:e.taskPath,completed:e.completed&&!e.interrupted,activePeriods:e.activePeriods.slice()};try{if(this.plugin.settings.pomodoroStorageLocation==="daily-notes")await this.addSingleSessionToDailyNote(t);else{let n=await this.getSessionHistory();n.push(t),await this.saveSessionHistory(n)}}catch(n){Nt.error("Failed to add session to history:",{category:"persistence",operation:"add-session-history",error:n})}}async getStatsForDate(e){let t=await this.getSessionsForDate(e);return PT(t)}async getStatsForDateRange(e,t){let n=await this.getSessionsForDateRange(e,t);return PT(n)}async getOverallStats(){let e=await this.getSessionHistory();return PT(e)}async getTodayStats(){let e=wr(),t=vn(e);return this.getStatsForDate(t)}cleanup(){var e,t;this.stopTimer(),(e=this.ticker)==null||e.destroy(),this.ticker=null,(t=this.taskFileRenameUnsubscribe)==null||t.call(this),this.taskFileRenameUnsubscribe=void 0;for(let n of this.cleanupTimeouts)window.clearTimeout(n);this.cleanupTimeouts.clear();for(let n of this.activeAudioContexts)n.state!=="closed"&&n.close().catch(()=>{});this.activeAudioContexts.clear(),this.saveState()}async loadPluginHistory(){let e=await this.plugin.loadData(),t=e==null?void 0:e.pomodoroHistory;return Array.isArray(t)?t:[]}async savePluginHistory(e){let t=await this.plugin.loadData()||{};t.pomodoroHistory=e,await this.plugin.saveData(t)}async loadPluginHistoryForDateKey(e){return _Pe(await this.loadPluginHistory(),e)}async loadPluginHistoryForDateRange(e,t){return APe(await this.loadPluginHistory(),e,t)}async saveHistoryToDailyNotes(e){try{if(!(0,Nn.appHasDailyNotesPluginLoaded)())throw new Error("Daily notes must be enabled in the core Daily Notes plugin or Periodic Notes");let t=this.groupSessionsByDate(e);for(let[n,i]of t)await this.updateDailyNotePomodoros(n,i)}catch(t){throw Nt.error("Failed to save history to daily notes:",{category:"persistence",operation:"save-history-daily-notes",error:t}),t}}async loadHistoryFromDailyNotesForDateRange(e,t){try{if(!(0,Nn.appHasDailyNotesPluginLoaded)())return[];let n=(0,Nn.getAllDailyNotes)(),i=[];for(let a of IPe(e,t)){let s=await this.loadHistoryFromDailyNoteForDateKey(a,n);i.push(...s)}return i}catch(n){return Nt.error("Failed to load history from daily notes for date range:",{category:"validation",operation:"load-history-daily-notes-date-range",error:n}),[]}}async loadHistoryFromDailyNoteForDateKey(e,t){try{if(!e||!(0,Nn.appHasDailyNotesPluginLoaded)())return[];let n=t!=null?t:(0,Nn.getAllDailyNotes)(),i=ut(e),a=LL(i),s=(0,Nn.getDailyNote)(a,n);return s?this.readPomodoroSessionsFromDailyNote(s):[]}catch(n){return Nt.warn(`Failed to load pomodoro history for daily note ${e}:`,{category:"persistence",operation:"load-pomodoro-history-daily-note",error:n}),[]}}async loadHistoryFromDailyNotes(){try{if(!(0,Nn.appHasDailyNotesPluginLoaded)())return[];let e=[],t=(0,Nn.getAllDailyNotes)();for(let[,n]of Object.entries(t))try{e.push(...this.readPomodoroSessionsFromDailyNote(n))}catch(i){Nt.warn(`Failed to read pomodoro data from daily note ${n.path}:`,{category:"persistence",operation:"read-pomodoro-data-daily-note",error:i})}return e}catch(e){return Nt.error("Failed to load history from daily notes:",{category:"persistence",operation:"load-history-daily-notes",error:e}),[]}}readPomodoroSessionsFromDailyNote(e){let t=this.plugin.app.metadataCache.getFileCache(e),n=t==null?void 0:t.frontmatter,i=this.plugin.fieldMapper.toUserField("pomodoros"),a=n==null?void 0:n[i];return Array.isArray(a)?a.filter(FL):[]}groupSessionsByDate(e){let t=new Map;for(let n of e){let i=DT(n);i&&(t.has(i)||t.set(i,[]),t.get(i).push(n))}return t}async addSingleSessionToDailyNote(e){try{let t=DT(e);if(!t)throw new Error(`Invalid Pomodoro session start time: ${e.startTime}`);let n=ut(t),i=LL(n),a=(0,Nn.getAllDailyNotes)(),s=(0,Nn.getDailyNote)(i,a);if(!s&&(s=await(0,Nn.createDailyNote)(i),!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 ah(this.plugin.app,s,l=>{let c=Array.isArray(l[o])?l[o].filter(FL):[];new Set(c.map(u=>u.id)).has(e.id)||(l[o]=[...c,e])})}catch(t){Nt.error("Failed to add session to daily note:",{category:"persistence",operation:"add-session-daily-note",error:t})}}async deleteSessionFromDailyNote(e){try{if(!(0,Nn.appHasDailyNotesPluginLoaded)())return!1;let t=DT(e);if(!t)return!1;let n=ut(t),i=LL(n),a=(0,Nn.getDailyNote)(i,(0,Nn.getAllDailyNotes)());if(!a)return!1;let s=this.plugin.fieldMapper.toUserField("pomodoros"),o=!1;return await ah(this.plugin.app,a,l=>{let c=Array.isArray(l[s])?l[s].filter(FL):[],d=c.filter(u=>u.id!==e.id);d.length!==c.length&&(l[s]=d,o=!0)}),o}catch(t){return Nt.error("Failed to delete pomodoro session from daily note:",{category:"persistence",operation:"delete-pomodoro-session-daily-note",error:t}),!1}}async updateDailyNotePomodoros(e,t){try{let n=ut(e),i=LL(n),a=(0,Nn.getAllDailyNotes)(),s=(0,Nn.getDailyNote)(i,a);if(!s&&(s=await(0,Nn.createDailyNote)(i),!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 ah(this.plugin.app,s,l=>{let c=Array.isArray(l[o])?l[o].filter(FL):[],d=new Set(c.map(p=>p.id)),u=t.filter(p=>!d.has(p.id));u.length>0&&(l[o]=[...c,...u])})}catch(n){Nt.error(`Failed to update daily note for ${e}:`,{category:"validation",operation:"update-daily-note",error:n})}}mergeHistories(e,t){let n=[...t],i=new Set(t.map(a=>a.id));for(let a of e)i.has(a.id)||n.push(a);return n}async migrateTodailyNotes(){try{if(!(0,Nn.appHasDailyNotesPluginLoaded)())throw new Error("Daily notes must be enabled in the core Daily Notes plugin or Periodic Notes for migration");let e=await this.plugin.loadData(),t=(e==null?void 0:e.pomodoroHistory)||[];if(t.length===0)return;await this.saveHistoryToDailyNotes(t),e.pomodoroHistory=[],await this.plugin.saveData(e),Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.migrationSuccess",{count:t.length}))}catch(e){throw Nt.error("Failed to migrate pomodoro data to daily notes:",{category:"persistence",operation:"migrate-pomodoro-data-daily-notes",error:e}),Ee(this.plugin.emitter,this.translate("services.pomodoro.notices.migrationFailure")),e}}}});var oDt,$L,j1e=y(()=>{hV();G();ls();Mc();oDt=I({tag:"Services/AutoExportService"}),$L=class{constructor(e){this.scheduledExportId=null;this.lastExportTime=null;this.nextExportTime=null;this.isRunning=!1;this.plugin=e}translate(e,t){return this.plugin.i18n.translate(e,t)}start(){this.plugin.settings.icsIntegration.enableAutoExport&&(this.stop(),this.isRunning=!0,this.scheduleNextExport())}stop(){this.isRunning=!1,this.scheduledExportId!==null&&(window.clearTimeout(this.scheduledExportId),this.scheduledExportId=null),this.nextExportTime=null}updateInterval(e){this.plugin.settings.icsIntegration.enableAutoExport&&this.start()}async exportNow(){await this.performExport()}getLastExportTime(){return this.lastExportTime}getNextExportTime(){return this.nextExportTime}scheduleNextExport(){if(!this.isRunning||!this.plugin.settings.icsIntegration.enableAutoExport){this.nextExportTime=null;return}let t=this.plugin.settings.icsIntegration.autoExportInterval*60*1e3;this.nextExportTime=new Date(Date.now()+t),this.scheduledExportId=window.setTimeout(()=>{this.scheduledExportId=null,this.performExport().finally(()=>{this.isRunning&&this.scheduleNextExport()})},t)}async performExport(){var e,t,n,i;try{let a=this.plugin.settings.icsIntegration.autoExportPath||"tasknotes-calendar.ics",s=await this.plugin.cacheManager.getAllTasks();if(s.length===0)return;let o={useDurationForExport:this.plugin.settings.icsIntegration.useDurationForExport,excludeArchived:(e=this.plugin.settings.icsIntegration.excludeArchivedFromExport)!=null?e:!1,excludeCompleted:(t=this.plugin.settings.icsIntegration.excludeCompletedFromExport)!=null?t:!1,completedStatuses:this.plugin.statusManager.getCompletedStatuses(),requireDueDate:(n=this.plugin.settings.icsIntegration.requireDueDateForExport)!=null?n:!1,requireScheduledDate:(i=this.plugin.settings.icsIntegration.requireScheduledDateForExport)!=null?i:!1,includeObsidianLink:!0,vaultName:this.plugin.app.vault.getName()},l=rm.generateMultipleTasksICSContent(s,o),c=a;await this.plugin.app.vault.adapter.exists(c)?await this.plugin.app.vault.adapter.write(c,l):await sh(this.plugin.app,c,l),this.lastExportTime=new Date}catch(a){oDt.error("TaskNotes: Auto export failed:",{category:"provider",operation:"auto-export",error:a}),(!this.lastExportTime||Date.now()-this.lastExportTime.getTime()>360*60*1e3)&&Ee(this.plugin.emitter,this.translate("services.autoExport.notices.exportFailed",{error:a instanceof Error?a.message:String(a)}))}}destroy(){this.stop()}}});function cDt(r){var e,t;return(t=(e=r.updatedTask)!=null?e:r.taskInfo)!=null?t:r.task}function zL(r){if(r===void 0)return null;if(Array.isArray(r))return r.map(e=>zL(e));if(r&&typeof r=="object"){let e=r;return Object.keys(e).sort().reduce((t,n)=>(t[n]=zL(e[n]),t),{})}return r}function dDt(r,e){return JSON.stringify(zL(r))===JSON.stringify(zL(e))}function uDt(r,e){var t;return(t=lDt.find(n=>!dDt(r[n],e[n])))!=null?t:null}var U1e,B1e,lDt,jL,H1e=y(()=>{U1e=require("obsidian");Ur();G();B1e=I({tag:"Services/TaskFileLifecycleReconciliationService"}),lDt=["status","title","scheduled","due","priority","recurrence","complete_instances","skipped_instances","timeEstimate","tags","contexts","projects"];jL=class{constructor(e){this.plugin=e;this.taskSnapshots=new Map;this.taskUpdatedRef=null;this.handlingPaths=new Set}async initialize(){await this.captureCurrentTasks(),this.taskUpdatedRef=this.plugin.emitter.on(nt,e=>{this.handleTaskUpdatedEvent(e)})}destroy(){this.taskUpdatedRef&&(this.plugin.emitter.offref(this.taskUpdatedRef),this.taskUpdatedRef=null),this.handlingPaths.clear(),this.taskSnapshots.clear()}async handleTaskUpdatedEvent(e){var o;let t=cDt(e),n=(o=e.path)!=null?o:t==null?void 0:t.path;if(!n||!t)return;if(e.originalTask){e.originalTask.path!==n&&this.taskSnapshots.delete(e.originalTask.path),this.taskSnapshots.set(n,t);return}let i=this.taskSnapshots.get(n);if(this.taskSnapshots.set(n,t),!i||this.handlingPaths.has(n))return;let a=uDt(i,t);if(!a)return;let s=this.plugin.app.vault.getAbstractFileByPath(n);if(s instanceof U1e.TFile){this.handlingPaths.add(n);try{await this.plugin.taskService.applyPropertyChangeSideEffects(s,i,t,a,i[a],t[a])}catch(l){B1e.warn("Failed to reconcile direct task file edit:",{category:"persistence",operation:"reconcile-direct-task-file-edit",details:{taskPath:n,property:a},error:l})}finally{this.handlingPaths.delete(n)}}}async captureCurrentTasks(){try{let e=await this.plugin.cacheManager.getAllTasks();for(let t of e)this.taskSnapshots.set(t.path,t)}catch(e){B1e.warn("Failed to snapshot tasks for direct file edit reconciliation:",{category:"stale-data",operation:"snapshot-direct-task-file-reconciliation",error:e})}}}});var Rt,Y8,fe,md,aP=y(()=>{(function(r){r.assertEqual=i=>{};function e(i){}r.assertIs=e;function t(i){throw new Error}r.assertNever=t,r.arrayToEnum=i=>{let a={};for(let s of i)a[s]=s;return a},r.getValidEnumValues=i=>{let a=r.objectKeys(i).filter(o=>typeof i[i[o]]!="number"),s={};for(let o of a)s[o]=i[o];return r.objectValues(s)},r.objectValues=i=>r.objectKeys(i).map(function(a){return i[a]}),r.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let a=[];for(let s in i)Object.prototype.hasOwnProperty.call(i,s)&&a.push(s);return a},r.find=(i,a)=>{for(let s of i)if(a(s))return s},r.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function n(i,a=" | "){return i.map(s=>typeof s=="string"?`'${s}'`:s).join(a)}r.joinValues=n,r.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Rt||(Rt={}));(function(r){r.mergeShapes=(e,t)=>({...e,...t})})(Y8||(Y8={}));fe=Rt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),md=r=>{switch(typeof r){case"undefined":return fe.undefined;case"string":return fe.string;case"number":return Number.isNaN(r)?fe.nan:fe.number;case"boolean":return fe.boolean;case"function":return fe.function;case"bigint":return fe.bigint;case"symbol":return fe.symbol;case"object":return Array.isArray(r)?fe.array:r===null?fe.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?fe.promise:typeof Map!="undefined"&&r instanceof Map?fe.map:typeof Set!="undefined"&&r instanceof Set?fe.set:typeof Date!="undefined"&&r instanceof Date?fe.date:fe.object;default:return fe.unknown}}});var re,pDt,vs,BL=y(()=>{aP();re=Rt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),pDt=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:"),vs=class r extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(a){return a.message},n={_errors:[]},i=a=>{for(let s of a.issues)if(s.code==="invalid_union")s.unionErrors.map(i);else if(s.code==="invalid_return_type")i(s.returnTypeError);else if(s.code==="invalid_arguments")i(s.argumentsError);else if(s.path.length===0)n._errors.push(t(s));else{let o=n,l=0;for(;l<s.path.length;){let c=s.path[l];l===s.path.length-1?(o[c]=o[c]||{_errors:[]},o[c]._errors.push(t(s))):o[c]=o[c]||{_errors:[]},o=o[c],l++}}};return i(this),n}static assert(e){if(!(e instanceof r))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Rt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){let t={},n=[];for(let i of this.issues)if(i.path.length>0){let a=i.path[0];t[a]=t[a]||[],t[a].push(e(i))}else n.push(e(i));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};vs.create=r=>new vs(r)});var mDt,Qu,G8=y(()=>{BL();aP();mDt=(r,e)=>{let t;switch(r.code){case re.invalid_type:r.received===fe.undefined?t="Required":t=`Expected ${r.expected}, received ${r.received}`;break;case re.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(r.expected,Rt.jsonStringifyReplacer)}`;break;case re.unrecognized_keys:t=`Unrecognized key(s) in object: ${Rt.joinValues(r.keys,", ")}`;break;case re.invalid_union:t="Invalid input";break;case re.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${Rt.joinValues(r.options)}`;break;case re.invalid_enum_value:t=`Invalid enum value. Expected ${Rt.joinValues(r.options)}, received '${r.received}'`;break;case re.invalid_arguments:t="Invalid function arguments";break;case re.invalid_return_type:t="Invalid function return type";break;case re.invalid_date:t="Invalid date";break;case re.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(t=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?t=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?t=`Invalid input: must end with "${r.validation.endsWith}"`:Rt.assertNever(r.validation):r.validation!=="regex"?t=`Invalid ${r.validation}`:t="Invalid";break;case re.too_small:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="bigint"?t=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:t="Invalid input";break;case re.too_big:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?t=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:t="Invalid input";break;case re.custom:t="Invalid input";break;case re.invalid_intersection_types:t="Intersection results could not be merged";break;case re.not_multiple_of:t=`Number must be a multiple of ${r.multipleOf}`;break;case re.not_finite:t="Number must be finite";break;default:t=e.defaultError,Rt.assertNever(r)}return{message:t}},Qu=mDt});function fDt(r){V1e=r}function ZT(){return V1e}var V1e,UL=y(()=>{G8();V1e=Qu});function ue(r,e){let t=ZT(),n=sP({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,t,t===Qu?void 0:Qu].filter(i=>!!i)});r.common.issues.push(n)}var sP,hDt,Ui,Ke,$g,ga,HL,VL,Km,QT,K8=y(()=>{UL();G8();sP=r=>{let{data:e,path:t,errorMaps:n,issueData:i}=r,a=[...t,...i.path||[]],s={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let o="",l=n.filter(c=>!!c).slice().reverse();for(let c of l)o=c(s,{data:e,defaultError:o}).message;return{...i,path:a,message:o}},hDt=[];Ui=class r{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let i of t){if(i.status==="aborted")return Ke;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let i of t){let a=await i.key,s=await i.value;n.push({key:a,value:s})}return r.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let i of t){let{key:a,value:s}=i;if(a.status==="aborted"||s.status==="aborted")return Ke;a.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),a.value!=="__proto__"&&(typeof s.value!="undefined"||i.alwaysSet)&&(n[a.value]=s.value)}return{status:e.value,value:n}}},Ke=Object.freeze({status:"aborted"}),$g=r=>({status:"dirty",value:r}),ga=r=>({status:"valid",value:r}),HL=r=>r.status==="aborted",VL=r=>r.status==="dirty",Km=r=>r.status==="valid",QT=r=>typeof Promise!="undefined"&&r instanceof Promise});var q1e=y(()=>{});var Ae,W1e=y(()=>{(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(Ae||(Ae={}))});function mt(r){if(!r)return{};let{errorMap:e,invalid_type_error:t,required_error:n,description:i}=r;if(e&&(t||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(s,o)=>{var c,d;let{message:l}=r;return s.code==="invalid_enum_value"?{message:l!=null?l:o.defaultError}:typeof o.data=="undefined"?{message:(c=l!=null?l:n)!=null?c:o.defaultError}:s.code!=="invalid_type"?{message:o.defaultError}:{message:(d=l!=null?l:t)!=null?d:o.defaultError}},description:i}}function Z1e(r){let e="[0-5]\\d";r.precision?e=`${e}\\.\\d{${r.precision}}`:r.precision==null&&(e=`${e}(\\.\\d+)?`);let t=r.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${t}`}function IDt(r){return new RegExp(`^${Z1e(r)}$`)}function Q1e(r){let e=`${K1e}T${Z1e(r)}`,t=[];return t.push(r.local?"Z?":"Z"),r.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function NDt(r,e){return!!((e==="v4"||!e)&&xDt.test(r)||(e==="v6"||!e)&&DDt.test(r))}function RDt(r,e){if(!kDt.test(r))return!1;try{let[t]=r.split(".");if(!t)return!1;let n=t.replace(/-/g,"+").replace(/_/g,"/").padEnd(t.length+(4-t.length%4)%4,"="),i=JSON.parse(atob(n));return!(typeof i!="object"||i===null||"typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&i.alg!==e)}catch(t){return!1}}function ODt(r,e){return!!((e==="v4"||!e)&&CDt.test(r)||(e==="v6"||!e)&&PDt.test(r))}function LDt(r,e){let t=(r.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=t>n?t:n,a=Number.parseInt(r.toFixed(i).replace(".","")),s=Number.parseInt(e.toFixed(i).replace(".",""));return a%s/10**i}function JT(r){if(r instanceof Ts){let e={};for(let t in r.shape){let n=r.shape[t];e[t]=bs.create(JT(n))}return new Ts({...r._def,shape:()=>e})}else return r instanceof ep?new ep({...r._def,type:JT(r.element)}):r instanceof bs?bs.create(JT(r.unwrap())):r instanceof hd?hd.create(JT(r.unwrap())):r instanceof fd?fd.create(r.items.map(e=>JT(e))):r}function Q8(r,e){let t=md(r),n=md(e);if(r===e)return{valid:!0,data:r};if(t===fe.object&&n===fe.object){let i=Rt.objectKeys(e),a=Rt.objectKeys(r).filter(o=>i.indexOf(o)!==-1),s={...r,...e};for(let o of a){let l=Q8(r[o],e[o]);if(!l.valid)return{valid:!1};s[o]=l.data}return{valid:!0,data:s}}else if(t===fe.array&&n===fe.array){if(r.length!==e.length)return{valid:!1};let i=[];for(let a=0;a<r.length;a++){let s=r[a],o=e[a],l=Q8(s,o);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return t===fe.date&&n===fe.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}function J1e(r,e){return new Kg({values:r,typeName:ie.ZodEnum,...mt(e)})}function G1e(r,e){let t=typeof r=="function"?r(e):typeof r=="string"?{message:r}:r;return typeof t=="string"?{message:t}:t}function X1e(r,e={},t){return r?Qm.create().superRefine((n,i)=>{var s,o;let a=r(n);if(a instanceof Promise)return a.then(l=>{var c,d;if(!l){let u=G1e(e,n),p=(d=(c=u.fatal)!=null?c:t)!=null?d:!0;i.addIssue({code:"custom",...u,fatal:p})}});if(!a){let l=G1e(e,n),c=(o=(s=l.fatal)!=null?s:t)!=null?o:!0;i.addIssue({code:"custom",...l,fatal:c})}}):Qm.create()}var Qo,Y1e,vt,gDt,yDt,vDt,bDt,TDt,kDt,wDt,SDt,EDt,Z8,xDt,CDt,DDt,PDt,MDt,_Dt,K1e,ADt,Zm,zg,jg,Bg,Ug,XT,Hg,Vg,Qm,Xu,Gl,ek,ep,Ts,qg,Ju,qL,Wg,fd,WL,tk,rk,YL,Yg,Gg,Kg,Zg,Jm,Jo,bs,hd,Qg,Jg,nk,FDt,oP,lP,Xg,$Dt,ie,zDt,e$e,t$e,jDt,BDt,r$e,UDt,HDt,VDt,qDt,WDt,YDt,GDt,KDt,ZDt,J8,QDt,JDt,XDt,ePt,tPt,rPt,nPt,iPt,aPt,sPt,oPt,lPt,cPt,dPt,uPt,pPt,mPt,fPt,hPt,gPt,yPt,vPt,bPt,TPt,n$e=y(()=>{BL();UL();W1e();K8();aP();Qo=class{constructor(e,t,n,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Y1e=(r,e)=>{if(Km(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new vs(r.common.issues);return this._error=t,this._error}}};vt=class{get description(){return this._def.description}_getType(e){return md(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:md(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ui,ctx:{common:e.parent.common,data:e.data,parsedType:md(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(QT(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var a;let n={common:{issues:[],async:(a=t==null?void 0:t.async)!=null?a:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:md(e)},i=this._parseSync({data:e,path:n.path,parent:n});return Y1e(n,i)}"~validate"(e){var n,i;let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:md(e)};if(!this["~standard"].async)try{let a=this._parseSync({data:e,path:[],parent:t});return Km(a)?{value:a.value}:{issues:t.common.issues}}catch(a){(i=(n=a==null?void 0:a.message)==null?void 0:n.toLowerCase())!=null&&i.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(a=>Km(a)?{value:a.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:md(e)},i=this._parse({data:e,path:n.path,parent:n}),a=await(QT(i)?i:Promise.resolve(i));return Y1e(n,a)}refine(e,t){let n=i=>typeof t=="string"||typeof t=="undefined"?{message:t}:typeof t=="function"?t(i):t;return this._refinement((i,a)=>{let s=e(i),o=()=>a.addIssue({code:re.custom,...n(i)});return typeof Promise!="undefined"&&s instanceof Promise?s.then(l=>l?!0:(o(),!1)):s?!0:(o(),!1)})}refinement(e,t){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof t=="function"?t(n,i):t),!1))}_refinement(e){return new Jo({schema:this,typeName:ie.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:t=>this["~validate"](t)}}optional(){return bs.create(this,this._def)}nullable(){return hd.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ep.create(this)}promise(){return Jm.create(this,this._def)}or(e){return qg.create([this,e],this._def)}and(e){return Wg.create(this,e,this._def)}transform(e){return new Jo({...mt(this._def),schema:this,typeName:ie.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t=typeof e=="function"?e:()=>e;return new Qg({...mt(this._def),innerType:this,defaultValue:t,typeName:ie.ZodDefault})}brand(){return new oP({typeName:ie.ZodBranded,type:this,...mt(this._def)})}catch(e){let t=typeof e=="function"?e:()=>e;return new Jg({...mt(this._def),innerType:this,catchValue:t,typeName:ie.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return lP.create(this,e)}readonly(){return Xg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},gDt=/^c[^\s-]{8,}$/i,yDt=/^[0-9a-z]+$/,vDt=/^[0-9A-HJKMNP-TV-Z]{26}$/i,bDt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,TDt=/^[a-z0-9_-]{21}$/i,kDt=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,wDt=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,SDt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,EDt="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",xDt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,CDt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,DDt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,PDt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,MDt=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,_Dt=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,K1e="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",ADt=new RegExp(`^${K1e}$`);Zm=class r extends vt{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==fe.string){let a=this._getOrReturnCtx(e);return ue(a,{code:re.invalid_type,expected:fe.string,received:a.parsedType}),Ke}let n=new Ui,i;for(let a of this._def.checks)if(a.kind==="min")e.data.length<a.value&&(i=this._getOrReturnCtx(e,i),ue(i,{code:re.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="max")e.data.length>a.value&&(i=this._getOrReturnCtx(e,i),ue(i,{code:re.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="length"){let s=e.data.length>a.value,o=e.data.length<a.value;(s||o)&&(i=this._getOrReturnCtx(e,i),s?ue(i,{code:re.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):o&&ue(i,{code:re.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),n.dirty())}else if(a.kind==="email")SDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"email",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="emoji")Z8||(Z8=new RegExp(EDt,"u")),Z8.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"emoji",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="uuid")bDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"uuid",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="nanoid")TDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"nanoid",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid")gDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"cuid",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid2")yDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"cuid2",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="ulid")vDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"ulid",code:re.invalid_string,message:a.message}),n.dirty());else if(a.kind==="url")try{new URL(e.data)}catch(s){i=this._getOrReturnCtx(e,i),ue(i,{validation:"url",code:re.invalid_string,message:a.message}),n.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"regex",code:re.invalid_string,message:a.message}),n.dirty())):a.kind==="trim"?e.data=e.data.trim():a.kind==="includes"?e.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(e,i),ue(i,{code:re.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),n.dirty()):a.kind==="toLowerCase"?e.data=e.data.toLowerCase():a.kind==="toUpperCase"?e.data=e.data.toUpperCase():a.kind==="startsWith"?e.data.startsWith(a.value)||(i=this._getOrReturnCtx(e,i),ue(i,{code:re.invalid_string,validation:{startsWith:a.value},message:a.message}),n.dirty()):a.kind==="endsWith"?e.data.endsWith(a.value)||(i=this._getOrReturnCtx(e,i),ue(i,{code:re.invalid_string,validation:{endsWith:a.value},message:a.message}),n.dirty()):a.kind==="datetime"?Q1e(a).test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{code:re.invalid_string,validation:"datetime",message:a.message}),n.dirty()):a.kind==="date"?ADt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{code:re.invalid_string,validation:"date",message:a.message}),n.dirty()):a.kind==="time"?IDt(a).test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{code:re.invalid_string,validation:"time",message:a.message}),n.dirty()):a.kind==="duration"?wDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"duration",code:re.invalid_string,message:a.message}),n.dirty()):a.kind==="ip"?NDt(e.data,a.version)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"ip",code:re.invalid_string,message:a.message}),n.dirty()):a.kind==="jwt"?RDt(e.data,a.alg)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"jwt",code:re.invalid_string,message:a.message}),n.dirty()):a.kind==="cidr"?ODt(e.data,a.version)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"cidr",code:re.invalid_string,message:a.message}),n.dirty()):a.kind==="base64"?MDt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"base64",code:re.invalid_string,message:a.message}),n.dirty()):a.kind==="base64url"?_Dt.test(e.data)||(i=this._getOrReturnCtx(e,i),ue(i,{validation:"base64url",code:re.invalid_string,message:a.message}),n.dirty()):Rt.assertNever(a);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(i=>e.test(i),{validation:t,code:re.invalid_string,...Ae.errToObj(n)})}_addCheck(e){return new r({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Ae.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Ae.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Ae.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Ae.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Ae.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Ae.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Ae.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Ae.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Ae.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Ae.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Ae.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Ae.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Ae.errToObj(e)})}datetime(e){var t,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)=="undefined"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!=null?t:!1,local:(n=e==null?void 0:e.local)!=null?n:!1,...Ae.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)=="undefined"?null:e==null?void 0:e.precision,...Ae.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...Ae.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...Ae.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...Ae.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...Ae.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...Ae.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...Ae.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...Ae.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...Ae.errToObj(t)})}nonempty(e){return this.min(1,Ae.errToObj(e))}trim(){return new r({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new r({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new r({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}};Zm.create=r=>{var e;return new Zm({checks:[],typeName:ie.ZodString,coerce:(e=r==null?void 0:r.coerce)!=null?e:!1,...mt(r)})};zg=class r extends vt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==fe.number){let a=this._getOrReturnCtx(e);return ue(a,{code:re.invalid_type,expected:fe.number,received:a.parsedType}),Ke}let n,i=new Ui;for(let a of this._def.checks)a.kind==="int"?Rt.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),ue(n,{code:re.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(n=this._getOrReturnCtx(e,n),ue(n,{code:re.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(n=this._getOrReturnCtx(e,n),ue(n,{code:re.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?LDt(e.data,a.value)!==0&&(n=this._getOrReturnCtx(e,n),ue(n,{code:re.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),ue(n,{code:re.not_finite,message:a.message}),i.dirty()):Rt.assertNever(a);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,Ae.toString(t))}gt(e,t){return this.setLimit("min",e,!1,Ae.toString(t))}lte(e,t){return this.setLimit("max",e,!0,Ae.toString(t))}lt(e,t){return this.setLimit("max",e,!1,Ae.toString(t))}setLimit(e,t,n,i){return new r({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:Ae.toString(i)}]})}_addCheck(e){return new r({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Ae.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ae.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ae.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ae.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ae.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Ae.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:Ae.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ae.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ae.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Rt.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}};zg.create=r=>new zg({checks:[],typeName:ie.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...mt(r)});jg=class r extends vt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(a){return this._getInvalidInput(e)}if(this._getType(e)!==fe.bigint)return this._getInvalidInput(e);let n,i=new Ui;for(let a of this._def.checks)a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(n=this._getOrReturnCtx(e,n),ue(n,{code:re.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(n=this._getOrReturnCtx(e,n),ue(n,{code:re.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?e.data%a.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),ue(n,{code:re.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Rt.assertNever(a);return{status:i.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return ue(t,{code:re.invalid_type,expected:fe.bigint,received:t.parsedType}),Ke}gte(e,t){return this.setLimit("min",e,!0,Ae.toString(t))}gt(e,t){return this.setLimit("min",e,!1,Ae.toString(t))}lte(e,t){return this.setLimit("max",e,!0,Ae.toString(t))}lt(e,t){return this.setLimit("max",e,!1,Ae.toString(t))}setLimit(e,t,n,i){return new r({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:Ae.toString(i)}]})}_addCheck(e){return new r({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ae.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ae.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ae.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ae.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Ae.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}};jg.create=r=>{var e;return new jg({checks:[],typeName:ie.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!=null?e:!1,...mt(r)})};Bg=class extends vt{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==fe.boolean){let n=this._getOrReturnCtx(e);return ue(n,{code:re.invalid_type,expected:fe.boolean,received:n.parsedType}),Ke}return ga(e.data)}};Bg.create=r=>new Bg({typeName:ie.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...mt(r)});Ug=class r extends vt{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==fe.date){let a=this._getOrReturnCtx(e);return ue(a,{code:re.invalid_type,expected:fe.date,received:a.parsedType}),Ke}if(Number.isNaN(e.data.getTime())){let a=this._getOrReturnCtx(e);return ue(a,{code:re.invalid_date}),Ke}let n=new Ui,i;for(let a of this._def.checks)a.kind==="min"?e.data.getTime()<a.value&&(i=this._getOrReturnCtx(e,i),ue(i,{code:re.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),n.dirty()):a.kind==="max"?e.data.getTime()>a.value&&(i=this._getOrReturnCtx(e,i),ue(i,{code:re.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),n.dirty()):Rt.assertNever(a);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new r({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:Ae.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:Ae.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}};Ug.create=r=>new Ug({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:ie.ZodDate,...mt(r)});XT=class extends vt{_parse(e){if(this._getType(e)!==fe.symbol){let n=this._getOrReturnCtx(e);return ue(n,{code:re.invalid_type,expected:fe.symbol,received:n.parsedType}),Ke}return ga(e.data)}};XT.create=r=>new XT({typeName:ie.ZodSymbol,...mt(r)});Hg=class extends vt{_parse(e){if(this._getType(e)!==fe.undefined){let n=this._getOrReturnCtx(e);return ue(n,{code:re.invalid_type,expected:fe.undefined,received:n.parsedType}),Ke}return ga(e.data)}};Hg.create=r=>new Hg({typeName:ie.ZodUndefined,...mt(r)});Vg=class extends vt{_parse(e){if(this._getType(e)!==fe.null){let n=this._getOrReturnCtx(e);return ue(n,{code:re.invalid_type,expected:fe.null,received:n.parsedType}),Ke}return ga(e.data)}};Vg.create=r=>new Vg({typeName:ie.ZodNull,...mt(r)});Qm=class extends vt{constructor(){super(...arguments),this._any=!0}_parse(e){return ga(e.data)}};Qm.create=r=>new Qm({typeName:ie.ZodAny,...mt(r)});Xu=class extends vt{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ga(e.data)}};Xu.create=r=>new Xu({typeName:ie.ZodUnknown,...mt(r)});Gl=class extends vt{_parse(e){let t=this._getOrReturnCtx(e);return ue(t,{code:re.invalid_type,expected:fe.never,received:t.parsedType}),Ke}};Gl.create=r=>new Gl({typeName:ie.ZodNever,...mt(r)});ek=class extends vt{_parse(e){if(this._getType(e)!==fe.undefined){let n=this._getOrReturnCtx(e);return ue(n,{code:re.invalid_type,expected:fe.void,received:n.parsedType}),Ke}return ga(e.data)}};ek.create=r=>new ek({typeName:ie.ZodVoid,...mt(r)});ep=class r extends vt{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),i=this._def;if(t.parsedType!==fe.array)return ue(t,{code:re.invalid_type,expected:fe.array,received:t.parsedType}),Ke;if(i.exactLength!==null){let s=t.data.length>i.exactLength.value,o=t.data.length<i.exactLength.value;(s||o)&&(ue(t,{code:s?re.too_big:re.too_small,minimum:o?i.exactLength.value:void 0,maximum:s?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&t.data.length<i.minLength.value&&(ue(t,{code:re.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&t.data.length>i.maxLength.value&&(ue(t,{code:re.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((s,o)=>i.type._parseAsync(new Qo(t,s,t.path,o)))).then(s=>Ui.mergeArray(n,s));let a=[...t.data].map((s,o)=>i.type._parseSync(new Qo(t,s,t.path,o)));return Ui.mergeArray(n,a)}get element(){return this._def.type}min(e,t){return new r({...this._def,minLength:{value:e,message:Ae.toString(t)}})}max(e,t){return new r({...this._def,maxLength:{value:e,message:Ae.toString(t)}})}length(e,t){return new r({...this._def,exactLength:{value:e,message:Ae.toString(t)}})}nonempty(e){return this.min(1,e)}};ep.create=(r,e)=>new ep({type:r,minLength:null,maxLength:null,exactLength:null,typeName:ie.ZodArray,...mt(e)});Ts=class r extends vt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=Rt.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==fe.object){let c=this._getOrReturnCtx(e);return ue(c,{code:re.invalid_type,expected:fe.object,received:c.parsedType}),Ke}let{status:n,ctx:i}=this._processInputParams(e),{shape:a,keys:s}=this._getCached(),o=[];if(!(this._def.catchall instanceof Gl&&this._def.unknownKeys==="strip"))for(let c in i.data)s.includes(c)||o.push(c);let l=[];for(let c of s){let d=a[c],u=i.data[c];l.push({key:{status:"valid",value:c},value:d._parse(new Qo(i,u,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof Gl){let c=this._def.unknownKeys;if(c==="passthrough")for(let d of o)l.push({key:{status:"valid",value:d},value:{status:"valid",value:i.data[d]}});else if(c==="strict")o.length>0&&(ue(i,{code:re.unrecognized_keys,keys:o}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let d of o){let u=i.data[d];l.push({key:{status:"valid",value:d},value:c._parse(new Qo(i,u,i.path,d)),alwaysSet:d in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let c=[];for(let d of l){let u=await d.key,p=await d.value;c.push({key:u,value:p,alwaysSet:d.alwaysSet})}return c}).then(c=>Ui.mergeObjectSync(n,c)):Ui.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(e){return Ae.errToObj,new r({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var a,s,o,l;let i=(o=(s=(a=this._def).errorMap)==null?void 0:s.call(a,t,n).message)!=null?o:n.defaultError;return t.code==="unrecognized_keys"?{message:(l=Ae.errToObj(e).message)!=null?l:i}:{message:i}}}:{}})}strip(){return new r({...this._def,unknownKeys:"strip"})}passthrough(){return new r({...this._def,unknownKeys:"passthrough"})}extend(e){return new r({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new r({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ie.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new r({...this._def,catchall:e})}pick(e){let t={};for(let n of Rt.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new r({...this._def,shape:()=>t})}omit(e){let t={};for(let n of Rt.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new r({...this._def,shape:()=>t})}deepPartial(){return JT(this)}partial(e){let t={};for(let n of Rt.objectKeys(this.shape)){let i=this.shape[n];e&&!e[n]?t[n]=i:t[n]=i.optional()}return new r({...this._def,shape:()=>t})}required(e){let t={};for(let n of Rt.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let a=this.shape[n];for(;a instanceof bs;)a=a._def.innerType;t[n]=a}return new r({...this._def,shape:()=>t})}keyof(){return J1e(Rt.objectKeys(this.shape))}};Ts.create=(r,e)=>new Ts({shape:()=>r,unknownKeys:"strip",catchall:Gl.create(),typeName:ie.ZodObject,...mt(e)});Ts.strictCreate=(r,e)=>new Ts({shape:()=>r,unknownKeys:"strict",catchall:Gl.create(),typeName:ie.ZodObject,...mt(e)});Ts.lazycreate=(r,e)=>new Ts({shape:r,unknownKeys:"strip",catchall:Gl.create(),typeName:ie.ZodObject,...mt(e)});qg=class extends vt{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function i(a){for(let o of a)if(o.result.status==="valid")return o.result;for(let o of a)if(o.result.status==="dirty")return t.common.issues.push(...o.ctx.common.issues),o.result;let s=a.map(o=>new vs(o.ctx.common.issues));return ue(t,{code:re.invalid_union,unionErrors:s}),Ke}if(t.common.async)return Promise.all(n.map(async a=>{let s={...t,common:{...t.common,issues:[]},parent:null};return{result:await a._parseAsync({data:t.data,path:t.path,parent:s}),ctx:s}})).then(i);{let a,s=[];for(let l of n){let c={...t,common:{...t.common,issues:[]},parent:null},d=l._parseSync({data:t.data,path:t.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!a&&(a={result:d,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(a)return t.common.issues.push(...a.ctx.common.issues),a.result;let o=s.map(l=>new vs(l));return ue(t,{code:re.invalid_union,unionErrors:o}),Ke}}get options(){return this._def.options}};qg.create=(r,e)=>new qg({options:r,typeName:ie.ZodUnion,...mt(e)});Ju=r=>r instanceof Yg?Ju(r.schema):r instanceof Jo?Ju(r.innerType()):r instanceof Gg?[r.value]:r instanceof Kg?r.options:r instanceof Zg?Rt.objectValues(r.enum):r instanceof Qg?Ju(r._def.innerType):r instanceof Hg?[void 0]:r instanceof Vg?[null]:r instanceof bs?[void 0,...Ju(r.unwrap())]:r instanceof hd?[null,...Ju(r.unwrap())]:r instanceof oP||r instanceof Xg?Ju(r.unwrap()):r instanceof Jg?Ju(r._def.innerType):[],qL=class r extends vt{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==fe.object)return ue(t,{code:re.invalid_type,expected:fe.object,received:t.parsedType}),Ke;let n=this.discriminator,i=t.data[n],a=this.optionsMap.get(i);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(ue(t,{code:re.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Ke)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let i=new Map;for(let a of t){let s=Ju(a.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let o of s){if(i.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);i.set(o,a)}}return new r({typeName:ie.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...mt(n)})}};Wg=class extends vt{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),i=(a,s)=>{if(HL(a)||HL(s))return Ke;let o=Q8(a.value,s.value);return o.valid?((VL(a)||VL(s))&&t.dirty(),{status:t.value,value:o.data}):(ue(n,{code:re.invalid_intersection_types}),Ke)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([a,s])=>i(a,s)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};Wg.create=(r,e,t)=>new Wg({left:r,right:e,typeName:ie.ZodIntersection,...mt(t)});fd=class r extends vt{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==fe.array)return ue(n,{code:re.invalid_type,expected:fe.array,received:n.parsedType}),Ke;if(n.data.length<this._def.items.length)return ue(n,{code:re.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ke;!this._def.rest&&n.data.length>this._def.items.length&&(ue(n,{code:re.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let a=[...n.data].map((s,o)=>{let l=this._def.items[o]||this._def.rest;return l?l._parse(new Qo(n,s,n.path,o)):null}).filter(s=>!!s);return n.common.async?Promise.all(a).then(s=>Ui.mergeArray(t,s)):Ui.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new r({...this._def,rest:e})}};fd.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new fd({items:r,typeName:ie.ZodTuple,rest:null,...mt(e)})};WL=class r extends vt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==fe.object)return ue(n,{code:re.invalid_type,expected:fe.object,received:n.parsedType}),Ke;let i=[],a=this._def.keyType,s=this._def.valueType;for(let o in n.data)i.push({key:a._parse(new Qo(n,o,n.path,o)),value:s._parse(new Qo(n,n.data[o],n.path,o)),alwaysSet:o in n.data});return n.common.async?Ui.mergeObjectAsync(t,i):Ui.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof vt?new r({keyType:e,valueType:t,typeName:ie.ZodRecord,...mt(n)}):new r({keyType:Zm.create(),valueType:e,typeName:ie.ZodRecord,...mt(t)})}},tk=class extends vt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==fe.map)return ue(n,{code:re.invalid_type,expected:fe.map,received:n.parsedType}),Ke;let i=this._def.keyType,a=this._def.valueType,s=[...n.data.entries()].map(([o,l],c)=>({key:i._parse(new Qo(n,o,n.path,[c,"key"])),value:a._parse(new Qo(n,l,n.path,[c,"value"]))}));if(n.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let l of s){let c=await l.key,d=await l.value;if(c.status==="aborted"||d.status==="aborted")return Ke;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),o.set(c.value,d.value)}return{status:t.value,value:o}})}else{let o=new Map;for(let l of s){let c=l.key,d=l.value;if(c.status==="aborted"||d.status==="aborted")return Ke;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),o.set(c.value,d.value)}return{status:t.value,value:o}}}};tk.create=(r,e,t)=>new tk({valueType:e,keyType:r,typeName:ie.ZodMap,...mt(t)});rk=class r extends vt{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==fe.set)return ue(n,{code:re.invalid_type,expected:fe.set,received:n.parsedType}),Ke;let i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(ue(n,{code:re.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(ue(n,{code:re.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());let a=this._def.valueType;function s(l){let c=new Set;for(let d of l){if(d.status==="aborted")return Ke;d.status==="dirty"&&t.dirty(),c.add(d.value)}return{status:t.value,value:c}}let o=[...n.data.values()].map((l,c)=>a._parse(new Qo(n,l,n.path,c)));return n.common.async?Promise.all(o).then(l=>s(l)):s(o)}min(e,t){return new r({...this._def,minSize:{value:e,message:Ae.toString(t)}})}max(e,t){return new r({...this._def,maxSize:{value:e,message:Ae.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};rk.create=(r,e)=>new rk({valueType:r,minSize:null,maxSize:null,typeName:ie.ZodSet,...mt(e)});YL=class r extends vt{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==fe.function)return ue(t,{code:re.invalid_type,expected:fe.function,received:t.parsedType}),Ke;function n(o,l){return sP({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,ZT(),Qu].filter(c=>!!c),issueData:{code:re.invalid_arguments,argumentsError:l}})}function i(o,l){return sP({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,ZT(),Qu].filter(c=>!!c),issueData:{code:re.invalid_return_type,returnTypeError:l}})}let a={errorMap:t.common.contextualErrorMap},s=t.data;if(this._def.returns instanceof Jm){let o=this;return ga(async function(...l){let c=new vs([]),d=await o._def.args.parseAsync(l,a).catch(m=>{throw c.addIssue(n(l,m)),c}),u=await Reflect.apply(s,this,d);return await o._def.returns._def.type.parseAsync(u,a).catch(m=>{throw c.addIssue(i(u,m)),c})})}else{let o=this;return ga(function(...l){let c=o._def.args.safeParse(l,a);if(!c.success)throw new vs([n(l,c.error)]);let d=Reflect.apply(s,this,c.data),u=o._def.returns.safeParse(d,a);if(!u.success)throw new vs([i(d,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new r({...this._def,args:fd.create(e).rest(Xu.create())})}returns(e){return new r({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new r({args:e||fd.create([]).rest(Xu.create()),returns:t||Xu.create(),typeName:ie.ZodFunction,...mt(n)})}},Yg=class extends vt{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};Yg.create=(r,e)=>new Yg({getter:r,typeName:ie.ZodLazy,...mt(e)});Gg=class extends vt{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return ue(t,{received:t.data,code:re.invalid_literal,expected:this._def.value}),Ke}return{status:"valid",value:e.data}}get value(){return this._def.value}};Gg.create=(r,e)=>new Gg({value:r,typeName:ie.ZodLiteral,...mt(e)});Kg=class r extends vt{_parse(e){if(typeof e.data!="string"){let t=this._getOrReturnCtx(e),n=this._def.values;return ue(t,{expected:Rt.joinValues(n),received:t.parsedType,code:re.invalid_type}),Ke}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return ue(t,{received:t.data,code:re.invalid_enum_value,options:n}),Ke}return ga(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return r.create(e,{...this._def,...t})}exclude(e,t=this._def){return r.create(this.options.filter(n=>!e.includes(n)),{...this._def,...t})}};Kg.create=J1e;Zg=class extends vt{_parse(e){let t=Rt.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==fe.string&&n.parsedType!==fe.number){let i=Rt.objectValues(t);return ue(n,{expected:Rt.joinValues(i),received:n.parsedType,code:re.invalid_type}),Ke}if(this._cache||(this._cache=new Set(Rt.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let i=Rt.objectValues(t);return ue(n,{received:n.data,code:re.invalid_enum_value,options:i}),Ke}return ga(e.data)}get enum(){return this._def.values}};Zg.create=(r,e)=>new Zg({values:r,typeName:ie.ZodNativeEnum,...mt(e)});Jm=class extends vt{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==fe.promise&&t.common.async===!1)return ue(t,{code:re.invalid_type,expected:fe.promise,received:t.parsedType}),Ke;let n=t.parsedType===fe.promise?t.data:Promise.resolve(t.data);return ga(n.then(i=>this._def.type.parseAsync(i,{path:t.path,errorMap:t.common.contextualErrorMap})))}};Jm.create=(r,e)=>new Jm({type:r,typeName:ie.ZodPromise,...mt(e)});Jo=class extends vt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ie.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),i=this._def.effect||null,a={addIssue:s=>{ue(n,s),s.fatal?t.abort():t.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){let s=i.transform(n.data,a);if(n.common.async)return Promise.resolve(s).then(async o=>{if(t.value==="aborted")return Ke;let l=await this._def.schema._parseAsync({data:o,path:n.path,parent:n});return l.status==="aborted"?Ke:l.status==="dirty"?$g(l.value):t.value==="dirty"?$g(l.value):l});{if(t.value==="aborted")return Ke;let o=this._def.schema._parseSync({data:s,path:n.path,parent:n});return o.status==="aborted"?Ke:o.status==="dirty"?$g(o.value):t.value==="dirty"?$g(o.value):o}}if(i.type==="refinement"){let s=o=>{let l=i.refinement(o,a);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?Ke:(o.status==="dirty"&&t.dirty(),s(o.value),{status:t.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?Ke:(o.status==="dirty"&&t.dirty(),s(o.value).then(()=>({status:t.value,value:o.value}))))}if(i.type==="transform")if(n.common.async===!1){let s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Km(s))return Ke;let o=i.transform(s.value,a);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>Km(s)?Promise.resolve(i.transform(s.value,a)).then(o=>({status:t.value,value:o})):Ke);Rt.assertNever(i)}};Jo.create=(r,e,t)=>new Jo({schema:r,typeName:ie.ZodEffects,effect:e,...mt(t)});Jo.createWithPreprocess=(r,e,t)=>new Jo({schema:e,effect:{type:"preprocess",transform:r},typeName:ie.ZodEffects,...mt(t)});bs=class extends vt{_parse(e){return this._getType(e)===fe.undefined?ga(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};bs.create=(r,e)=>new bs({innerType:r,typeName:ie.ZodOptional,...mt(e)});hd=class extends vt{_parse(e){return this._getType(e)===fe.null?ga(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};hd.create=(r,e)=>new hd({innerType:r,typeName:ie.ZodNullable,...mt(e)});Qg=class extends vt{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===fe.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};Qg.create=(r,e)=>new Qg({innerType:r,typeName:ie.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...mt(e)});Jg=class extends vt{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return QT(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new vs(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new vs(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};Jg.create=(r,e)=>new Jg({innerType:r,typeName:ie.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...mt(e)});nk=class extends vt{_parse(e){if(this._getType(e)!==fe.nan){let n=this._getOrReturnCtx(e);return ue(n,{code:re.invalid_type,expected:fe.nan,received:n.parsedType}),Ke}return{status:"valid",value:e.data}}};nk.create=r=>new nk({typeName:ie.ZodNaN,...mt(r)});FDt=Symbol("zod_brand"),oP=class extends vt{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},lP=class r extends vt{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let a=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?Ke:a.status==="dirty"?(t.dirty(),$g(a.value)):this._def.out._parseAsync({data:a.value,path:n.path,parent:n})})();{let i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?Ke:i.status==="dirty"?(t.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,t){return new r({in:e,out:t,typeName:ie.ZodPipeline})}},Xg=class extends vt{_parse(e){let t=this._def.innerType._parse(e),n=i=>(Km(i)&&(i.value=Object.freeze(i.value)),i);return QT(t)?t.then(i=>n(i)):n(t)}unwrap(){return this._def.innerType}};Xg.create=(r,e)=>new Xg({innerType:r,typeName:ie.ZodReadonly,...mt(e)});$Dt={object:Ts.lazycreate};(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(ie||(ie={}));zDt=(r,e={message:`Input not instance of ${r.name}`})=>X1e(t=>t instanceof r,e),e$e=Zm.create,t$e=zg.create,jDt=nk.create,BDt=jg.create,r$e=Bg.create,UDt=Ug.create,HDt=XT.create,VDt=Hg.create,qDt=Vg.create,WDt=Qm.create,YDt=Xu.create,GDt=Gl.create,KDt=ek.create,ZDt=ep.create,J8=Ts.create,QDt=Ts.strictCreate,JDt=qg.create,XDt=qL.create,ePt=Wg.create,tPt=fd.create,rPt=WL.create,nPt=tk.create,iPt=rk.create,aPt=YL.create,sPt=Yg.create,oPt=Gg.create,lPt=Kg.create,cPt=Zg.create,dPt=Jm.create,uPt=Jo.create,pPt=bs.create,mPt=hd.create,fPt=Jo.createWithPreprocess,hPt=lP.create,gPt=()=>e$e().optional(),yPt=()=>t$e().optional(),vPt=()=>r$e().optional(),bPt={string:(r=>Zm.create({...r,coerce:!0})),number:(r=>zg.create({...r,coerce:!0})),boolean:(r=>Bg.create({...r,coerce:!0})),bigint:(r=>jg.create({...r,coerce:!0})),date:(r=>Ug.create({...r,coerce:!0}))},TPt=Ke});var F={};et(F,{BRAND:()=>FDt,DIRTY:()=>$g,EMPTY_PATH:()=>hDt,INVALID:()=>Ke,NEVER:()=>TPt,OK:()=>ga,ParseStatus:()=>Ui,Schema:()=>vt,ZodAny:()=>Qm,ZodArray:()=>ep,ZodBigInt:()=>jg,ZodBoolean:()=>Bg,ZodBranded:()=>oP,ZodCatch:()=>Jg,ZodDate:()=>Ug,ZodDefault:()=>Qg,ZodDiscriminatedUnion:()=>qL,ZodEffects:()=>Jo,ZodEnum:()=>Kg,ZodError:()=>vs,ZodFirstPartyTypeKind:()=>ie,ZodFunction:()=>YL,ZodIntersection:()=>Wg,ZodIssueCode:()=>re,ZodLazy:()=>Yg,ZodLiteral:()=>Gg,ZodMap:()=>tk,ZodNaN:()=>nk,ZodNativeEnum:()=>Zg,ZodNever:()=>Gl,ZodNull:()=>Vg,ZodNullable:()=>hd,ZodNumber:()=>zg,ZodObject:()=>Ts,ZodOptional:()=>bs,ZodParsedType:()=>fe,ZodPipeline:()=>lP,ZodPromise:()=>Jm,ZodReadonly:()=>Xg,ZodRecord:()=>WL,ZodSchema:()=>vt,ZodSet:()=>rk,ZodString:()=>Zm,ZodSymbol:()=>XT,ZodTransformer:()=>Jo,ZodTuple:()=>fd,ZodType:()=>vt,ZodUndefined:()=>Hg,ZodUnion:()=>qg,ZodUnknown:()=>Xu,ZodVoid:()=>ek,addIssueToContext:()=>ue,any:()=>WDt,array:()=>ZDt,bigint:()=>BDt,boolean:()=>r$e,coerce:()=>bPt,custom:()=>X1e,date:()=>UDt,datetimeRegex:()=>Q1e,defaultErrorMap:()=>Qu,discriminatedUnion:()=>XDt,effect:()=>uPt,enum:()=>lPt,function:()=>aPt,getErrorMap:()=>ZT,getParsedType:()=>md,instanceof:()=>zDt,intersection:()=>ePt,isAborted:()=>HL,isAsync:()=>QT,isDirty:()=>VL,isValid:()=>Km,late:()=>$Dt,lazy:()=>sPt,literal:()=>oPt,makeIssue:()=>sP,map:()=>nPt,nan:()=>jDt,nativeEnum:()=>cPt,never:()=>GDt,null:()=>qDt,nullable:()=>mPt,number:()=>t$e,object:()=>J8,objectUtil:()=>Y8,oboolean:()=>vPt,onumber:()=>yPt,optional:()=>pPt,ostring:()=>gPt,pipeline:()=>hPt,preprocess:()=>fPt,promise:()=>dPt,quotelessJson:()=>pDt,record:()=>rPt,set:()=>iPt,setErrorMap:()=>fDt,strictObject:()=>QDt,string:()=>e$e,symbol:()=>HDt,transformer:()=>uPt,tuple:()=>tPt,undefined:()=>VDt,union:()=>JDt,unknown:()=>YDt,util:()=>Rt,void:()=>KDt});var GL=y(()=>{UL();K8();q1e();aP();n$e();BL()});var KL=y(()=>{GL();GL()});function o$e(r={}){return{...tp,...r,fieldMapping:{...s$e,...r.fieldMapping},statuses:r.statuses?r.statuses.map(e=>({...e})):tp.statuses.map(e=>({...e})),priorities:r.priorities?r.priorities.map(e=>({...e})):tp.priorities.map(e=>({...e})),defaults:{...tp.defaults,...r.defaults},taskIdentification:{...tp.taskIdentification,...r.taskIdentification},userFields:r.userFields?r.userFields.map(e=>({...e})):[],recurrence:{...tp.recurrence,...r.recurrence},occurrences:{...tp.occurrences,...r.occurrences},timeTracking:{...tp.timeTracking,...r.timeTracking}}}function SPt(r,e=tp.statuses){return r?e.some(t=>t.value===r&&t.isCompleted):!1}function l$e(r){let e=DPt(r),t=e.match(t7);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s);if(!c$e(o,l,c))throw new Error(`Invalid date "${r}".`);return new Date(Date.UTC(o,l-1,c,0,0,0,0))}if(!PPt(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!d$e(n))throw new Error(`Invalid date "${r}".`);return n}function xPt(r){if(!d$e(r))return"";let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}function X8(r){if(!/^\d{4}-\d{2}-\d{2}$/.test(r))throw new Error(`Invalid date "${r}". Expected YYYY-MM-DD.`);return l$e(r),r}function CPt(r){if(!r)return"";let e=r.trim();if(t7.test(e))return e;let t=e.indexOf("T");if(t>-1)return e.slice(0,t);let n=e.indexOf(" ");return n>-1&&t7.test(e.slice(0,n))?e.slice(0,n):xPt(l$e(e))}function DPt(r,e="Date string cannot be empty"){if(!r||r.trim().length===0)throw new Error(e);return r.trim()}function PPt(r){let e=r.match(EPt);if(!e)return!1;let[,t,n,i,a,s,o,,l,c,d]=e;return c$e(Number(t),Number(n),Number(i))&&MPt(Number(a),Number(s),Number(o))&&_Pt(l,c,d)}function c$e(r,e,t){let n=new Date(Date.UTC(r,e-1,t,0,0,0,0));return n.getUTCFullYear()===r&&n.getUTCMonth()===e-1&&n.getUTCDate()===t}function MPt(r,e,t){return r>=0&&r<=23&&e>=0&&e<=59&&t>=0&&t<=59}function _Pt(r,e,t){if(!r)return!0;let n=Number(e),i=Number(t);return!(n>14||i>59||n===14&&i!==0)}function d$e(r){return r instanceof Date&&!Number.isNaN(r.getTime())}function r7(r){let e=[],t=p$e.partial().safeParse(r);if(!t.success)for(let n of t.error.issues)e.push({code:"schema_invalid",message:n.message,severity:"error",path:n.path.map(String)});for(let n of["due","scheduled","completedDate","dateCreated","dateModified"]){let i=r[n];if(i!==void 0&&typeof i=="string")try{X8(CPt(i))}catch(a){e.push({code:"invalid_date",message:`${n} must contain a valid date`,severity:"error",field:n})}}if(r.complete_instances)for(let n of r.complete_instances)try{X8(n)}catch(i){e.push({code:"invalid_complete_instance",message:`Invalid completed recurrence instance "${n}"`,severity:"warning",field:"complete_instances"})}if(r.skipped_instances)for(let n of r.skipped_instances)try{X8(n)}catch(i){e.push({code:"invalid_skipped_instance",message:`Invalid skipped recurrence instance "${n}"`,severity:"warning",field:"skipped_instances"})}return r.timeEntries&&e.push(...RPt(r.timeEntries).issues),{valid:!e.some(n=>n.severity==="error"),issues:e}}function RPt(r){let e=[];return Array.isArray(r)?(r.forEach((n,i)=>{let a=u$e.safeParse(n);if(!a.success){for(let s of a.error.issues)e.push({code:"invalid_time_entry",message:s.message,severity:"error",path:["timeEntries",String(i),...s.path.map(String)]});return}OPt(a.data,i,e)}),r.filter(n=>n&&!n.endTime).length>1&&e.push({code:"multiple_active_time_entries",message:"Only one active time entry is allowed",severity:"warning",field:"timeEntries"}),{valid:!e.some(n=>n.severity==="error"),issues:e}):{valid:!1,issues:[{code:"time_entries_not_array",message:"timeEntries must be an array",severity:"error",field:"timeEntries"}]}}function m$e(r,e){let t=r7(r);return r.status&&SPt(r.status,e)&&r.recurrence&&r.completedDate&&t.issues.push({code:"recurring_task_completed_date",message:"Recurring task completion is tracked per instance, not with completedDate",severity:"warning",field:"completedDate"}),{valid:!t.issues.some(n=>n.severity==="error"),issues:t.issues}}function OPt(r,e,t){let n=new Date(r.startTime);if(Number.isNaN(n.getTime())){t.push({code:"invalid_time_entry_start",message:"Time entry startTime must be a valid datetime",severity:"error",path:["timeEntries",String(e),"startTime"]});return}if(!r.endTime)return;let i=new Date(r.endTime);if(Number.isNaN(i.getTime())){t.push({code:"invalid_time_entry_end",message:"Time entry endTime must be a valid datetime",severity:"error",path:["timeEntries",String(e),"endTime"]});return}i<n&&t.push({code:"time_entry_negative_duration",message:"Time entry endTime must not be before startTime",severity:"error",path:["timeEntries",String(e),"endTime"]})}var a$e,s$e,kPt,wPt,tp,t7,EPt,APt,IPt,u$e,NPt,j2r,B2r,p$e,U2r,e7,i$e,H2r,f$e=y(()=>{KL();mv();ZN();a$e="0.2.0",s$e={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",recurrenceParent:"recurrence_parent",occurrenceDate:"occurrence_date",occurrenceMaterialization:"occurrence_materialization",occurrenceNextTrigger:"occurrence_next_trigger",occurrenceTemplate:"occurrence_template",occurrencePastHorizon:"occurrence_past_horizon",occurrenceFutureHorizon:"occurrence_future_horizon",archiveTag:"archived",timeEntries:"timeEntries",completeInstances:"complete_instances",skippedInstances:"skipped_instances",blockedBy:"blockedBy",pomodoros:"pomodoros",icsEventId:"icsEventId",icsEventTag:"ics_event",googleCalendarEventId:"googleCalendarEventId",googleCalendarExceptionEventId:"googleCalendarExceptionEventId",googleCalendarExceptionOriginalScheduled:"googleCalendarExceptionOriginalScheduled",googleCalendarMovedOriginalDates:"googleCalendarMovedOriginalDates",reminders:"reminders",sortOrder:"tasknotes_manual_order"},kPt=[{id:"none",value:"none",label:"None",color:"#cccccc",isCompleted:!1,excludeFromCycle:!1,order:0,autoArchive:!1,autoArchiveDelay:5},{id:"open",value:"open",label:"Open",color:"#808080",isCompleted:!1,excludeFromCycle:!1,order:1,autoArchive:!1,autoArchiveDelay:5},{id:"in-progress",value:"in-progress",label:"In progress",color:"#0066cc",isCompleted:!1,excludeFromCycle:!1,order:2,autoArchive:!1,autoArchiveDelay:5},{id:"done",value:"done",label:"Done",color:"#00aa00",isCompleted:!0,excludeFromCycle:!1,order:3,autoArchive:!1,autoArchiveDelay:5}],wPt=[{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}],tp={fieldMapping:s$e,statuses:kPt,priorities:wPt,defaults:{status:"open",priority:"normal",taskTag:"task"},taskIdentification:{method:"tag",tag:"task",propertyName:"isTask",propertyValue:"true"},storeTitleInFilename:!1,userFields:[],recurrence:{maintainDueDateOffset:!0,resetCheckboxesOnRecurrence:!1},occurrences:{defaultMaterialization:"manual",defaultNextTrigger:"completion",pastHorizon:"P0D",futureHorizon:"P14D"},timeTracking:{autoStopOnComplete:!1,autoStopNotification:!0,defaultSessionDescription:"Work session"}};t7=/^(\d{4})-(\d{2})-(\d{2})$/,EPt=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d{1,3})?(?:Z|([+-])(\d{2}):(\d{2}))?$/;APt=F.enum(["FINISHTOSTART","FINISHTOFINISH","STARTTOSTART","STARTTOFINISH"]),IPt=F.object({uid:F.string().min(1),reltype:APt,gap:F.string().optional()}),u$e=F.object({startTime:F.string().min(1),endTime:F.string().min(1).optional(),description:F.string().optional(),duration:F.number().optional()}),NPt=F.object({id:F.string().min(1),type:F.enum(["absolute","relative"]),relatedTo:F.enum(["due","scheduled"]).optional(),offset:F.string().optional(),absoluteTime:F.string().optional(),description:F.string().optional()}),j2r=F.object({id:F.string().min(1),value:F.string().min(1),label:F.string().min(1),color:F.string().min(1),icon:F.string().optional(),isCompleted:F.boolean(),isSkipped:F.boolean().optional(),excludeFromCycle:F.boolean().optional(),nextStatus:F.string().optional(),order:F.number(),autoArchive:F.boolean(),autoArchiveDelay:F.number()}),B2r=F.object({id:F.string().min(1),value:F.string().min(1),label:F.string().min(1),color:F.string().min(1),icon:F.string().optional(),weight:F.number()}),p$e=F.object({id:F.string().optional(),title:F.string(),status:F.string(),priority:F.string(),due:F.string().optional(),scheduled:F.string().optional(),path:F.string(),archived:F.boolean(),tags:F.array(F.string()).optional(),contexts:F.array(F.string()).optional(),projects:F.array(F.string()).optional(),recurrence:F.string().optional(),recurrence_anchor:F.enum(["scheduled","completion"]).optional(),complete_instances:F.array(F.string()).optional(),skipped_instances:F.array(F.string()).optional(),recurrence_parent:F.string().optional(),occurrence_date:F.string().optional(),occurrence_materialization:F.enum(["manual","on_completion","rolling"]).optional(),occurrence_next_trigger:F.enum(["completion","completion_or_skip"]).optional(),occurrence_template:F.string().optional(),occurrence_past_horizon:F.string().optional(),occurrence_future_horizon:F.string().optional(),completedDate:F.string().optional(),timeEstimate:F.number().optional(),timeEntries:F.array(u$e).optional(),totalTrackedTime:F.number().optional(),dateCreated:F.string().optional(),dateModified:F.string().optional(),icsEventId:F.array(F.string()).optional(),googleCalendarEventId:F.string().optional(),googleCalendarExceptionEventId:F.string().optional(),googleCalendarExceptionOriginalScheduled:F.string().optional(),googleCalendarMovedOriginalDates:F.array(F.string()).optional(),reminders:F.array(NPt).optional(),customProperties:F.record(F.unknown()).optional(),basesData:F.unknown().optional(),blockedBy:F.array(IPt).optional(),blocking:F.array(F.string()).optional(),isBlocked:F.boolean().optional(),isBlocking:F.boolean().optional(),hasSubtasks:F.boolean().optional(),details:F.string().optional(),sortOrder:F.string().optional()}),U2r=F.object({frontmatter:F.record(F.unknown()),body:F.string(),task:p$e.partial(),path:F.string().optional()}),e7=Reflect.get(Mp,"default"),H2r=(i$e=ye)!=null?i$e:e7==null?void 0:e7.RRule});function LPt(r){return!r||r.length===0?0:r.reduce((e,t)=>{if(t.endTime){let n=new Date(t.endTime).getTime()-new Date(t.startTime).getTime();return e+Math.floor(n/(1e3*60))}else{let n=Date.now()-new Date(t.startTime).getTime();return e+Math.floor(n/(1e3*60))}},0)}function ik(r,e){let t=[];for(let n of r){let i=e(n);if(i){let a=new Date(i.startTime),s=Math.floor((Date.now()-a.getTime())/(1e3*60));t.push({task:{id:n.path,title:n.title,status:n.status,priority:n.priority,tags:n.tags||[],projects:n.projects||[]},session:{startTime:i.startTime,description:i.description,elapsedMinutes:s},elapsedMinutes:s})}}return{activeSessions:t,totalActiveSessions:t.length,totalElapsedMinutes:t.reduce((n,i)=>n+i.elapsedMinutes,0)}}function FPt(r){let e,t=new Date;switch(r.period){case"today":e=new Date,e.setHours(0,0,0,0);break;case"week":e=new Date,e.setDate(e.getDate()-e.getDay()),e.setHours(0,0,0,0);break;case"month":e=new Date,e.setDate(1),e.setHours(0,0,0,0);break;case"all":e=new Date(0);break;default:r.fromDate?(e=r.fromDate,r.toDate&&(t=r.toDate)):(e=new Date,e.setHours(0,0,0,0))}return{startDate:e,endDate:t}}function ak(r,e,t){let{startDate:n,endDate:i}=FPt(e),a=0,s=0,o=0,l=[],c=new Map,d=e.includeTags?new Map:null;for(let m of r){if(!m.timeEntries||m.timeEntries.length===0)continue;let f=0,h=!1;for(let g of m.timeEntries){let v=new Date(g.startTime);if(v>=n&&v<=i)if(!g.endTime)f+=Math.floor((Date.now()-v.getTime())/(1e3*60)),h=!0;else{let k=new Date(g.endTime);f+=Math.floor((k.getTime()-v.getTime())/(1e3*60))}}if(f>0){if(a+=f,l.push({task:m.path,title:m.title,minutes:f}),h?o++:t(m.status)&&s++,m.projects)for(let g of m.projects)c.set(g,(c.get(g)||0)+f);if(d&&m.tags)for(let g of m.tags)d.set(g,(d.get(g)||0)+f)}}l.sort((m,f)=>f.minutes-m.minutes);let u=Array.from(c.entries()).sort((m,f)=>f[1]-m[1]).slice(0,10).map(([m,f])=>({project:m,minutes:f})),p={period:e.period,dateRange:{from:n.toISOString(),to:i.toISOString()},summary:{totalMinutes:a,totalHours:Math.round(a/60*100)/100,tasksWithTime:l.length,activeTasks:o,completedTasks:s},topTasks:l.slice(0,10),topProjects:u};return d&&(p.topTags=Array.from(d.entries()).sort((m,f)=>f[1]-m[1]).slice(0,10).map(([m,f])=>({tag:m,minutes:f}))),p}function Xm(r,e){let t=r.timeEntries||[],n=e(r),i=LPt(t),a=t.filter(l=>l.endTime).length,s=t.filter(l=>l.endTime),o=s.length>0?Math.round(s.reduce((l,c)=>l+Math.floor((new Date(c.endTime).getTime()-new Date(c.startTime).getTime())/(1e3*60)),0)/s.length*100)/100:0;return{task:{id:r.path,title:r.title,status:r.status,priority:r.priority},summary:{totalMinutes:i,totalHours:Math.round(i/60*100)/100,totalSessions:t.length,completedSessions:a,activeSessions:n?1:0,averageSessionMinutes:o},activeSession:n?{startTime:n.startTime,description:n.description,elapsedMinutes:Math.floor((Date.now()-new Date(n.startTime).getTime())/(1e3*60))}:null,timeEntries:t.map(l=>({startTime:l.startTime,endTime:l.endTime||null,description:l.description||null,duration:l.endTime?Math.floor((new Date(l.endTime).getTime()-new Date(l.startTime).getTime())/(1e3*60)):Math.floor((Date.now()-new Date(l.startTime).getTime())/(1e3*60)),isActive:!l.endTime}))}}var cP=y(()=>{});function n7(r){if(!r||typeof r!="object")return!1;let e=r;return e.name==="TaskNotesApiError"&&typeof e.message=="string"&&typeof e.status=="number"&&typeof e.code=="string"&&$Pt.includes(e.code)}function v$e(r){return r instanceof tn||n7(r)}var h$e,g$e,gd,y$e,$Pt,tn,b$e,dP=y(()=>{h$e=["model.read","model.validate","catalog.read","extensions.read","extensions.register","tasks.read","tasks.write","tasks.delete","tasks.move","tasks.events","relationships.read","events.list","time.read","time.write","time.summary","pomodoro.read","pomodoro.write","pomodoro.events","recurring.write","recurring.events","settings.snapshot","nlp.parse","query.tasks","query.validate","query.explain","query.filter-options","stats.tasks","system.health","lifecycle.events","errors.typed"],g$e=[{name:"task.created",label:"Task created",description:"A TaskNotes task was created.",category:"task"},{name:"task.updated",label:"Task updated",description:"Any tracked TaskNotes task property changed.",category:"task"},{name:"task.deleted",label:"Task deleted",description:"A TaskNotes task was deleted.",category:"task"},{name:"task.moved",label:"Task moved",description:"A TaskNotes task note moved to a new path.",category:"task"},{name:"task.status.changed",label:"Task status changed",description:"A TaskNotes task status changed.",category:"task"},{name:"task.completed",label:"Task completed",description:"A TaskNotes task moved into a completed status.",category:"task"},{name:"task.uncompleted",label:"Task uncompleted",description:"A TaskNotes task moved out of a completed status.",category:"task"},{name:"task.archived",label:"Task archived",description:"A TaskNotes task was archived.",category:"task"},{name:"task.unarchived",label:"Task unarchived",description:"A TaskNotes task was unarchived.",category:"task"},{name:"task.scheduled.changed",label:"Task scheduled date changed",description:"A TaskNotes task scheduled date changed.",category:"task"},{name:"task.due.changed",label:"Task due date changed",description:"A TaskNotes task due date changed.",category:"task"},{name:"task.priority.changed",label:"Task priority changed",description:"A TaskNotes task priority changed.",category:"task"},{name:"task.tags.changed",label:"Task tags changed",description:"A TaskNotes task tag list changed.",category:"task"},{name:"task.contexts.changed",label:"Task contexts changed",description:"A TaskNotes task context list changed.",category:"task"},{name:"task.projects.changed",label:"Task projects changed",description:"A TaskNotes task project list changed.",category:"task"},{name:"task.reminders.changed",label:"Task reminders changed",description:"A TaskNotes task reminder list changed.",category:"task"},{name:"task.dependencies.changed",label:"Task dependencies changed",description:"A TaskNotes task dependency list changed.",category:"task"},{name:"task.recurrence.changed",label:"Task recurrence changed",description:"A TaskNotes task recurrence rule changed.",category:"task"},{name:"time.started",label:"Time tracking started",description:"A time entry started on a TaskNotes task.",category:"time"},{name:"time.stopped",label:"Time tracking stopped",description:"A time entry stopped on a TaskNotes task.",category:"time"},{name:"pomodoro.started",label:"Pomodoro started",description:"A Pomodoro session started.",category:"pomodoro"},{name:"pomodoro.completed",label:"Pomodoro completed",description:"A Pomodoro session completed.",category:"pomodoro"},{name:"pomodoro.interrupted",label:"Pomodoro interrupted",description:"A Pomodoro session was interrupted.",category:"pomodoro"},{name:"recurring.instance.completed",label:"Recurring instance completed",description:"A recurring task instance was completed.",category:"recurring"},{name:"recurring.instance.skipped",label:"Recurring instance skipped",description:"A recurring task instance was skipped.",category:"recurring"}],gd={ready:"tasknotes:runtime.ready","layout.ready":"tasknotes:runtime.layout-ready","settings.changed":"settings-changed","cache.changed":"tasknotes:cache.changed","cache.rebuilt":"tasknotes:cache.rebuilt","extension.registered":"tasknotes:extension.registered","extension.unregistered":"tasknotes:extension.unregistered",unloading:"tasknotes:runtime.unloading"},y$e=[{name:"ready",label:"Runtime ready",description:"TaskNotes loaded its runtime API.",category:"runtime"},{name:"layout.ready",label:"Layout ready",description:"TaskNotes completed post-layout initialization.",category:"runtime"},{name:"settings.changed",label:"Settings changed",description:"TaskNotes settings were saved or reloaded.",category:"settings"},{name:"cache.changed",label:"Cache changed",description:"TaskNotes task data changed or was invalidated.",category:"cache"},{name:"cache.rebuilt",label:"Cache rebuilt",description:"TaskNotes cache was explicitly rebuilt.",category:"cache"},{name:"extension.registered",label:"Extension registered",description:"A companion plugin registered a runtime API extension namespace.",category:"extension"},{name:"extension.unregistered",label:"Extension unregistered",description:"A companion plugin unregistered a runtime API extension namespace.",category:"extension"},{name:"unloading",label:"Runtime unloading",description:"TaskNotes started unloading.",category:"runtime"}],$Pt=["invalid_input","invalid_task_path","invalid_status","task_not_found","task_file_not_found","file_already_exists","extension_invalid","extension_namespace_reserved","extension_namespace_conflict","extension_not_registered","operation_failed"],tn=class extends Error{constructor(t,n,i={}){var a;super(n);this.name="TaskNotesApiError";this.code=t,this.status=(a=i.status)!=null?a:500,this.details=i.details,i.cause!==void 0&&(this.cause=i.cause)}toJSON(){return{name:this.name,code:this.code,message:this.message,status:this.status,details:this.details}}};b$e=["eq","ne","contains","notContains","in","notIn","exists","missing","lt","lte","gt","gte","isTrue","isFalse"]});function WPt(r){let e=jt(r).trim();return e?(0,Ba.normalizePath)(e):null}function Un(r,e,t,n,i,a,s={}){var l,c,d,u,p;let o=Rde.find(m=>m.id===e);return{id:r,internalProperty:e,label:t,category:n,valueType:i,source:a,queryable:!0,sortable:(l=s.sortable)!=null?l:!1,groupable:(c=s.groupable)!=null?c:!1,supportedOperators:GPt((d=o==null?void 0:o.supportedOperators)!=null?d:QL(i)),aliases:s.aliases,valueInputType:(p=(u=s.valueInputType)!=null?u:o==null?void 0:o.valueInputType)!=null?p:"text"}}function YPt(r){return a7.find(e=>e.internalProperty===r)}function GPt(r){let e=r.map(t=>P$e(t)).filter(yd);return e.includes("eq")&&e.push("in"),e.includes("ne")&&e.push("notIn"),Array.from(new Set(e))}function QL(r){return r==="boolean"?["isTrue","isFalse"]:r==="number"?["eq","ne","in","notIn","lt","lte","gt","gte","exists","missing"]:r==="date"||r==="datetime"?["eq","ne","in","notIn","lt","lte","gt","gte","exists","missing"]:r.endsWith("[]")?["contains","notContains","exists","missing"]:["eq","ne","in","notIn","contains","notContains","exists","missing"]}function k$e(r){return r==="number"?"number":r==="date"?"date":r==="boolean"?"none":r==="list"?"multi-select":"text"}function P$e(r){if(typeof r!="string")return null;let e=r.trim(),t=HPt.get(e);return t||(b$e.includes(e)?e:null)}function KPt(r){return!["exists","missing","isTrue","isFalse"].includes(r)}function w$e(){return{sort:[],offset:0,group:[],scope:{includeArchived:!0}}}function ZPt(r,e,t){if(!(typeof r=="undefined"||r===null)){if(typeof r!="number"||!Number.isInteger(r)||r<=0){t.push({path:e,code:"limit_invalid",message:"Runtime query limit must be a positive integer."});return}return r}}function QPt(r,e,t){return typeof r=="undefined"||r===null?0:typeof r!="number"||!Number.isInteger(r)||r<0?(t.push({path:e,code:"offset_invalid",message:"Runtime query offset must be a non-negative integer."}),0):r}function JPt(r,e){return typeof r=="undefined"||r===null?{includeArchived:!0}:rp(r)?{includeArchived:r.includeArchived!==!1,folders:S$e(r.folders,"$.scope.folders",e),excludeFolders:S$e(r.excludeFolders,"$.scope.excludeFolders",e)}:(e.push({path:"$.scope",code:"scope_not_object",message:"Runtime query scope must be an object."}),{includeArchived:!0})}function S$e(r,e,t){if(typeof r=="undefined")return;if(!Array.isArray(r)){t.push({path:e,code:"folder_list_invalid",message:"Runtime query folder scope must be an array of folder paths."});return}let n=r.map((i,a)=>typeof i!="string"||i.trim().length===0?(t.push({path:`${e}.${a}`,code:"folder_invalid",message:"Runtime query folder path must be a non-empty string."}),null):(0,Ba.normalizePath)(i)).filter(yd);return n.length>0?n:void 0}function XL(r){if(Array.isArray(r))return r.map(XL);if(rp(r)){let e=r.fn;if(e==="today")return{fn:"today"};if(e==="now")return{fn:"now"};if(e==="date"&&typeof r.value=="string")return{fn:"date",value:r.value};if(e==="dateAdd"&&Number.isFinite(r.amount)&&(r.unit==="day"||r.unit==="week"||r.unit==="month"))return{fn:"dateAdd",value:XL(r.value),amount:Number(r.amount),unit:r.unit}}return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null?r:M$e(r)}function eF(r){if(typeof r=="undefined")return null;if(Array.isArray(r))return r.map(e=>String(eF(e)));if(rp(r)){if(r.fn==="today")return"today";if(r.fn==="now")return new Date().toISOString();if(r.fn==="date"&&typeof r.value=="string")return r.value;if(r.fn==="dateAdd")return XPt(r)}return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null?r:M$e(r)}function M$e(r){var e;if(typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="bigint")return String(r);try{return(e=JSON.stringify(r))!=null?e:""}catch(t){return""}}function XPt(r){let e=eF(r.value),t=e==="today"?new Date:typeof e=="string"?new Date(e):new Date;return r.unit==="day"&&t.setDate(t.getDate()+r.amount),r.unit==="week"&&t.setDate(t.getDate()+r.amount*7),r.unit==="month"&&t.setMonth(t.getMonth()+r.amount),t.toISOString().slice(0,10)}function s7(r){if("all"in r)return{any:r.all.map(s7).filter(yd)};if("any"in r)return{all:r.any.map(s7).filter(yd)};if("not"in r)return r.not;let e=e0t(r.op);return e?{...r,op:e}:null}function e0t(r){var t;return(t={eq:"ne",ne:"eq",contains:"notContains",notContains:"contains",in:"notIn",notIn:"in",exists:"missing",missing:"exists",lt:"gte",lte:"gt",gt:"lte",gte:"lt",isTrue:"isFalse",isFalse:"isTrue"}[r])!=null?t:null}function t0t(r,e){return r.filter(t=>{var n;return!(!e.includeArchived&&t.archived||e.folders&&!e.folders.some(i=>E$e(t,i))||(n=e.excludeFolders)!=null&&n.some(i=>E$e(t,i)))})}function E$e(r,e){let t=(0,Ba.normalizePath)(e);return t?r.path===t||r.path.startsWith(`${t}/`):!0}function r0t(r,e){let t=[];for(let[n,i]of r.entries()){let a=i.map(s=>s.path).filter(s=>e.has(s));a.length>0&&t.push({key:n,label:n,taskPaths:a})}return t}function uP(r){return`runtime:${r.replace(/[^a-z0-9._-]+/giu,"-")}`}function yd(r){return r!==null&&typeof r!="undefined"}function n0t(r){let e=(0,Ba.normalizePath)(r),t=[e];return/\.md$/iu.test(e)||t.push(`${e}.md`),t}function i7(r){let e=new Set,t=[];for(let n of r)e.has(n.path)||(e.add(n.path),t.push(n));return t}function i0t(r){return{...r}}function pP(r){switch(r){case"number":return"number";case"date":return"date";case"boolean":return"boolean";case"list":return"string[]";case"text":default:return"string"}}function x$e(r){return r?r instanceof Date?r:new Date(r):null}function rp(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)}function a0t(r,e){let t={},n=new Set([...Object.keys(r!=null?r:{}),...Object.keys(e!=null?e:{})]);for(let i of n){if(i==="basesData")continue;let a=r==null?void 0:r[i],s=e==null?void 0:e[i];sk(a,s)||(t[i]={before:a,after:s})}return t}function sk(r,e){if(Object.is(r,e))return!0;if(typeof r!="object"||r===null||typeof e!="object"||e===null)return!1;try{return JSON.stringify(r)===JSON.stringify(e)}catch(t){return!1}}function ZL(r){var e;return((e=r.timeEntries)!=null?e:[]).filter(t=>!t.endTime).length}function C$e(r,e){let t=new Set(r!=null?r:[]);return(e!=null?e:[]).some(n=>!t.has(n))}function s0t(r){return r==="task.deleted"?Ja:r==="pomodoro.started"?Ud:r==="pomodoro.completed"?Hd:r==="pomodoro.interrupted"?Vd:nt}function Mr(r){let e={...r};return r.tags&&(e.tags=[...r.tags]),r.contexts&&(e.contexts=[...r.contexts]),r.projects&&(e.projects=[...r.projects]),r.complete_instances&&(e.complete_instances=[...r.complete_instances]),r.skipped_instances&&(e.skipped_instances=[...r.skipped_instances]),r.icsEventId&&(e.icsEventId=[...r.icsEventId]),r.googleCalendarMovedOriginalDates&&(e.googleCalendarMovedOriginalDates=[...r.googleCalendarMovedOriginalDates]),r.reminders&&(e.reminders=r.reminders.map(t=>({...t}))),r.timeEntries&&(e.timeEntries=r.timeEntries.map(t=>({...t}))),r.blockedBy&&(e.blockedBy=r.blockedBy.map(t=>({...t}))),r.blocking&&(e.blocking=[...r.blocking]),r.customProperties&&(e.customProperties={...r.customProperties}),e}var Ba,jPt,BPt,UPt,D$e,HPt,a7,T$e,VPt,qPt,JL,_$e=y(()=>{Ba=require("obsidian");f$e();wc();Ur();Ct();jn();cP();dP();dP();jPt=new Set(["apiversion","capabilities","events","extensions","hascapability","nlp","pomodoro","relationships","recurring","settings","tasks","time"]),BPt=[{id:"title",label:"Title",valueType:"string",source:"model",writable:!0,required:!0},{id:"status",label:"Status",valueType:"string",source:"model",writable:!0,required:!0},{id:"priority",label:"Priority",valueType:"string",source:"model",writable:!0,required:!0},{id:"due",label:"Due",valueType:"date",source:"model",writable:!0},{id:"scheduled",label:"Scheduled",valueType:"date",source:"model",writable:!0},{id:"archived",label:"Archived",valueType:"boolean",source:"model",writable:!0},{id:"tags",label:"Tags",valueType:"string[]",source:"model",writable:!0},{id:"contexts",label:"Contexts",valueType:"string[]",source:"model",writable:!0},{id:"projects",label:"Projects",valueType:"string[]",source:"model",writable:!0},{id:"recurrence",label:"Recurrence",valueType:"string",source:"model",writable:!0},{id:"recurrence_anchor",label:"Recurrence anchor",valueType:"string",source:"model",writable:!0},{id:"complete_instances",label:"Complete instances",valueType:"string[]",source:"model",writable:!0},{id:"skipped_instances",label:"Skipped instances",valueType:"string[]",source:"model",writable:!0},{id:"recurrence_parent",label:"Recurrence parent",valueType:"string",source:"model",writable:!0},{id:"occurrence_date",label:"Occurrence date",valueType:"date",source:"model",writable:!0},{id:"occurrence_materialization",label:"Occurrence materialization",valueType:"string",source:"model",writable:!0},{id:"occurrence_next_trigger",label:"Occurrence next trigger",valueType:"string",source:"model",writable:!0},{id:"occurrence_template",label:"Occurrence template",valueType:"string",source:"model",writable:!0},{id:"occurrence_past_horizon",label:"Occurrence past horizon",valueType:"string",source:"model",writable:!0},{id:"occurrence_future_horizon",label:"Occurrence future horizon",valueType:"string",source:"model",writable:!0},{id:"completedDate",label:"Completed date",valueType:"date",source:"model",writable:!0},{id:"timeEstimate",label:"Time estimate",valueType:"number",source:"model",writable:!0},{id:"timeEntries",label:"Time entries",valueType:"timeEntry[]",source:"model",writable:!0},{id:"dateCreated",label:"Date created",valueType:"datetime",source:"model",writable:!0},{id:"dateModified",label:"Date modified",valueType:"datetime",source:"model",writable:!0},{id:"reminders",label:"Reminders",valueType:"reminder[]",source:"model",writable:!0},{id:"blockedBy",label:"Blocked by",valueType:"dependency[]",source:"model",writable:!0},{id:"details",label:"Details",valueType:"string",source:"model",writable:!0},{id:"sortOrder",label:"Sort order",valueType:"string",source:"model",writable:!0},{id:"path",label:"Path",valueType:"string",source:"model",writable:!1},{id:"totalTrackedTime",label:"Total tracked time",valueType:"number",source:"computed",writable:!1},{id:"blocking",label:"Blocking",valueType:"string[]",source:"computed",writable:!1},{id:"isBlocked",label:"Is blocked",valueType:"boolean",source:"computed",writable:!1},{id:"isBlocking",label:"Is blocking",valueType:"boolean",source:"computed",writable:!1},{id:"hasSubtasks",label:"Has subtasks",valueType:"boolean",source:"computed",writable:!1}],UPt={title:"title",status:"status",priority:"priority",due:"due",scheduled:"scheduled",contexts:"contexts",projects:"projects",recurrence:"recurrence",recurrence_anchor:"recurrenceAnchor",complete_instances:"completeInstances",skipped_instances:"skippedInstances",recurrence_parent:"recurrenceParent",occurrence_date:"occurrenceDate",occurrence_materialization:"occurrenceMaterialization",occurrence_next_trigger:"occurrenceNextTrigger",occurrence_template:"occurrenceTemplate",occurrence_past_horizon:"occurrencePastHorizon",occurrence_future_horizon:"occurrenceFutureHorizon",completedDate:"completedDate",timeEstimate:"timeEstimate",timeEntries:"timeEntries",dateCreated:"dateCreated",dateModified:"dateModified",reminders:"reminders",blockedBy:"blockedBy",sortOrder:"sortOrder"},D$e=[{id:"eq",label:"equals",valueRequired:!0,appliesTo:["string","number","boolean","date","datetime","string[]"],aliases:["is"]},{id:"ne",label:"does not equal",valueRequired:!0,appliesTo:["string","number","boolean","date","datetime","string[]"],aliases:["is-not"]},{id:"contains",label:"contains",valueRequired:!0,appliesTo:["string","string[]","dependency[]"]},{id:"notContains",label:"does not contain",valueRequired:!0,appliesTo:["string","string[]","dependency[]"],aliases:["does-not-contain"]},{id:"in",label:"is one of",valueRequired:!0,appliesTo:["string","number","boolean","date","datetime"]},{id:"notIn",label:"is not one of",valueRequired:!0,appliesTo:["string","number","boolean","date","datetime"]},{id:"exists",label:"exists",valueRequired:!1,appliesTo:["string","number","boolean","date","datetime","string[]"],aliases:["is-not-empty"]},{id:"missing",label:"is missing",valueRequired:!1,appliesTo:["string","number","boolean","date","datetime","string[]"],aliases:["is-empty"]},{id:"lt",label:"is less than",valueRequired:!0,appliesTo:["number","date","datetime"],aliases:["is-before","is-less-than"]},{id:"lte",label:"is less than or equal",valueRequired:!0,appliesTo:["number","date","datetime"],aliases:["is-on-or-before","is-less-than-or-equal"]},{id:"gt",label:"is greater than",valueRequired:!0,appliesTo:["number","date","datetime"],aliases:["is-after","is-greater-than"]},{id:"gte",label:"is greater than or equal",valueRequired:!0,appliesTo:["number","date","datetime"],aliases:["is-on-or-after","is-greater-than-or-equal"]},{id:"isTrue",label:"is true",valueRequired:!1,appliesTo:["boolean"],aliases:["is-checked"]},{id:"isFalse",label:"is false",valueRequired:!1,appliesTo:["boolean"],aliases:["is-not-checked"]}],HPt=new Map(D$e.flatMap(r=>{var e;return[[r.id,r.id],...((e=r.aliases)!=null?e:[]).map(t=>[t,r.id])]})),a7=[Un("task.title","title","Title","text","string","model",{aliases:["title","note.title"],sortable:!0}),Un("file.path","path","Path","file","string","file",{aliases:["path","task.path","note.path"]}),Un("task.status","status","Status","select","string","model",{aliases:["status","note.status"],sortable:!0,groupable:!0}),Un("task.priority","priority","Priority","select","string","model",{aliases:["priority","note.priority"],sortable:!0,groupable:!0}),Un("task.tags","tags","Tags","select","string[]","model",{aliases:["tags","file.tags","note.tags"],sortable:!0,groupable:!0}),Un("task.contexts","contexts","Contexts","select","string[]","model",{aliases:["contexts"],groupable:!0}),Un("task.projects","projects","Projects","select","string[]","model",{aliases:["projects"],groupable:!0}),Un("task.blockedBy","blockedBy","Blocked by","select","dependency[]","model",{aliases:["blockedBy"]}),Un("task.blocking","blocking","Blocking","select","string[]","computed",{aliases:["blocking"]}),Un("task.due","due","Due date","date","date","model",{aliases:["due","note.due"],sortable:!0,groupable:!0}),Un("task.scheduled","scheduled","Scheduled date","date","date","model",{aliases:["scheduled","note.scheduled"],sortable:!0,groupable:!0}),Un("task.completedDate","completedDate","Completed date","date","date","model",{aliases:["completedDate"],sortable:!0,groupable:!0}),Un("task.dateCreated","dateCreated","Created date","date","datetime","model",{aliases:["dateCreated","file.ctime"],sortable:!0}),Un("task.dateModified","dateModified","Modified date","date","datetime","model",{aliases:["dateModified","file.mtime"]}),Un("task.archived","archived","Archived","boolean","boolean","model",{aliases:["archived"]}),Un("task.hasSubtasks","hasSubtasks","Has subtasks","boolean","boolean","computed",{aliases:["hasSubtasks"]}),Un("task.isBlocked","dependencies.isBlocked","Blocked","boolean","boolean","computed",{aliases:["dependencies.isBlocked","isBlocked"]}),Un("task.isBlocking","dependencies.isBlocking","Blocking others","boolean","boolean","computed",{aliases:["dependencies.isBlocking","isBlocking"]}),Un("task.timeEstimate","timeEstimate","Time estimate","numeric","number","model",{aliases:["timeEstimate"],sortable:!0}),Un("task.recurrence","recurrence","Recurrence","special","string","model",{aliases:["recurrence"]}),Un("task.isCompleted","status.isCompleted","Completed","boolean","boolean","computed",{aliases:["status.isCompleted","completed"]})],T$e={eq:"is",ne:"is-not",contains:"contains",notContains:"does-not-contain",in:"is",notIn:"is-not",exists:"is-not-empty",missing:"is-empty",lt:"is-before",lte:"is-on-or-before",gt:"is-after",gte:"is-on-or-after",isTrue:"is-checked",isFalse:"is-not-checked"},VPt=[{id:"parents",label:"Parents",description:"Tasks referenced from this task's projects."},{id:"subtasks",label:"Subtasks",description:"Tasks that reference this task as a project."},{id:"dependencies",label:"Dependencies",description:"Tasks this task is blocked by."},{id:"blocking",label:"Blocking",description:"Tasks blocked by this task."}],qPt=[{value:"FINISHTOSTART",label:"Finish to start",description:"The blocking task should finish before this task starts."},{value:"FINISHTOFINISH",label:"Finish to finish",description:"The blocking task should finish before this task finishes."},{value:"STARTTOSTART",label:"Start to start",description:"The blocking task should start before this task starts."},{value:"STARTTOFINISH",label:"Start to finish",description:"The blocking task should start before this task finishes."}],JL=class{constructor(e){this.plugin=e;this.apiVersion=1;this.model={info:()=>({packageName:"@tasknotes/model",specVersion:a$e,runtimeApiVersion:this.apiVersion}),config:()=>this.getModelConfig(),validateTask:e=>this.validateTask(e),validatePatch:e=>this.validateTaskPatch(e)};this.catalog={statuses:()=>this.getStatuses(),priorities:()=>this.getPriorities(),userFields:()=>this.getUserFields(),fields:()=>this.getFieldDefinitions(),writableFields:()=>this.getFieldDefinitions().filter(e=>e.writable),filterProperties:()=>this.getFilterPropertyDefinitions(),filterOperators:()=>D$e.map(e=>({...e})),relationships:()=>VPt.map(e=>({...e})),dependencyRelTypes:()=>qPt.map(e=>({...e})),events:()=>this.events.list()};this.tasks={get:e=>this.getTask(e),list:e=>this.listTasks(e),create:(e,t)=>this.createTask(e,t),update:(e,t,n)=>this.updateTask(e,t,n),patch:(e,t,n)=>this.updateTask(e,t,n),delete:(e,t)=>this.deleteTask(e,t),complete:(e,t,n)=>this.completeTask(e,t,n),uncomplete:(e,t,n)=>this.uncompleteTask(e,t,n),setStatus:(e,t,n)=>this.setTaskProperty(e,"status",t,n),setPriority:(e,t,n)=>this.setTaskProperty(e,"priority",t,n),setDue:(e,t,n)=>this.setTaskProperty(e,"due",t,n),clearDue:(e,t)=>this.setTaskProperty(e,"due",void 0,t),setScheduled:(e,t,n)=>this.setTaskProperty(e,"scheduled",t,n),clearScheduled:(e,t)=>this.setTaskProperty(e,"scheduled",void 0,t),reschedule:(e,t,n)=>this.rescheduleTask(e,t,n),archive:(e,t,n)=>this.archiveTask(e,t,n),move:(e,t,n)=>this.moveTask(e,t,n),addTag:(e,t,n)=>this.updateStringList(e,"tags",t,"add",n),removeTag:(e,t,n)=>this.updateStringList(e,"tags",t,"remove",n),addProject:(e,t,n)=>this.updateStringList(e,"projects",t,"add",n),removeProject:(e,t,n)=>this.updateStringList(e,"projects",t,"remove",n),addContext:(e,t,n)=>this.updateStringList(e,"contexts",t,"add",n),removeContext:(e,t,n)=>this.updateStringList(e,"contexts",t,"remove",n),setReminders:(e,t,n)=>this.updateTask(e,{reminders:t.map(i=>({...i}))},n),addReminder:(e,t,n)=>this.addReminder(e,t,n),removeReminder:(e,t,n)=>this.removeReminder(e,t,n),addDependency:(e,t,n)=>this.addDependency(e,t,n),removeDependency:(e,t,n)=>this.removeDependency(e,t,n)};this.relationships={parents:e=>this.getParentTasks(e),subtasks:e=>this.getSubtasks(e),dependencies:e=>this.getTaskDependencies(e),blocking:e=>this.getBlockingTasks(e),all:e=>this.getTaskRelationships(e)};this.time={start:(e,t,n)=>this.startTime(e,t,n),stop:(e,t)=>this.stopTime(e,t),active:()=>this.getActiveTimeEntries(),summary:e=>this.getTimeSummary(e),task:e=>this.getTaskTimeData(e),append:(e,t,n)=>this.appendTimeEntry(e,t,n),deleteEntry:(e,t,n)=>this.deleteTimeEntry(e,t,n)};this.pomodoro={status:()=>Promise.resolve(this.copyPomodoroState(this.plugin.pomodoroService.getState())),start:(e,t)=>this.startPomodoro(e,t),stop:e=>this.stopPomodoro(e),pause:e=>this.pausePomodoro(e),resume:e=>this.resumePomodoro(e),assignTask:(e,t)=>this.assignPomodoroTask(e,t),sessions:e=>this.getPomodoroSessions(e),stats:e=>this.getPomodoroStats(e)};this.recurring={toggleCompleteInstance:(e,t,n)=>this.toggleRecurringComplete(e,t,n),toggleSkippedInstance:(e,t,n)=>this.toggleRecurringSkipped(e,t,n)};this.events={on:(e,t)=>this.on(e,t),off:e=>this.off(e),list:()=>g$e.map(e=>({...e}))};this.settings={snapshot:()=>this.getSettingsSnapshot()};this.nlp={parse:e=>this.parseNaturalLanguage(e)};this.query={tasks:e=>this.queryTasks(e),validate:e=>this.validateRuntimeQuery(e),normalize:e=>this.normalizeRuntimeQueryOrThrow(e),explain:e=>this.explainRuntimeQuery(e),filterOptions:()=>this.getFilterOptions()};this.stats={tasks:e=>this.getTaskStats(e)};this.system={health:()=>this.getHealth()};this.lifecycle={ready:()=>this.plugin.onReady(),isReady:()=>this.plugin.initializationComplete===!0,on:(e,t)=>this.onLifecycle(e,t),off:e=>this.off(e),list:()=>y$e.map(e=>({...e}))};this.errors={isApiError:e=>v$e(e),normalize:e=>this.normalizeError(e),toResult:async e=>{try{return{ok:!0,value:await e()}}catch(t){return{ok:!1,error:this.normalizeError(t)}}}};this.extensions={register:e=>this.registerExtension(e),get:e=>this.getExtension(e),require:e=>this.requireExtension(e),has:e=>this.hasExtension(e),list:()=>this.listExtensions(),capabilities:()=>this.getExtensionCapabilities()};this.mutationContextByPath=new Map;this.mutationContextStack=[];this.extensionRegistry=new Map}get capabilities(){return[...h$e,...this.getExtensionCapabilities()]}hasCapability(e){return this.capabilities.includes(e)}parseNaturalLanguage(e){if(typeof e!="string")throw new tn("invalid_input","TaskNotes API parseNaturalLanguage expects a string",{status:400});return Zn.fromPlugin(this.plugin).parseInput(e)}getModelConfig(){var t,n,i,a,s,o,l,c,d,u,p,m,f,h;let e=this.plugin.settings;return o$e({fieldMapping:e.fieldMapping,statuses:e.customStatuses,priorities:e.customPriorities,defaults:{status:(t=e.defaultTaskStatus)!=null?t:"open",priority:(n=e.defaultTaskPriority)!=null?n:"normal",taskTag:(i=e.taskTag)!=null?i:"task"},taskIdentification:{method:(a=e.taskIdentificationMethod)!=null?a:"tag",tag:(s=e.taskTag)!=null?s:"task",propertyName:(o=e.taskPropertyName)!=null?o:"type",propertyValue:(l=e.taskPropertyValue)!=null?l:"task",excludedFolders:(c=e.excludedFolders)!=null?c:""},storeTitleInFilename:(d=e.storeTitleInFilename)!=null?d:!1,userFields:(u=e.userFields)!=null?u:[],recurrence:{maintainDueDateOffset:(p=e.maintainDueDateOffsetInRecurring)!=null?p:!0,resetCheckboxesOnRecurrence:(m=e.resetCheckboxesOnRecurrence)!=null?m:!0},timeTracking:{autoStopOnComplete:(f=e.autoStopTimeTrackingOnComplete)!=null?f:!1,autoStopNotification:(h=e.autoStopTimeTrackingNotification)!=null?h:!0,defaultSessionDescription:""}})}validateTask(e){var t;return m$e(e,(t=this.plugin.settings.customStatuses)!=null?t:[])}validateTaskPatch(e){return r7(e)}normalizeError(e){return e instanceof tn?e.toJSON():n7(e)?e:new tn("operation_failed",e instanceof Error?e.message:String(e),{status:500,cause:e}).toJSON()}getStatuses(){var e;return((e=this.plugin.settings.customStatuses)!=null?e:[]).map(t=>({...t}))}getPriorities(){var e;return((e=this.plugin.settings.customPriorities)!=null?e:[]).map(t=>({...t}))}getUserFields(){var e;return((e=this.plugin.settings.userFields)!=null?e:[]).map(t=>({...t}))}getFieldDefinitions(){var i;let e=(i=this.plugin.settings.fieldMapping)!=null?i:{},t=BPt.map(a=>{var l,c,d;let s=UPt[a.id],o=YPt(a.id);return{...a,frontmatterKey:s?e[s]:void 0,queryable:!!o,sortable:(l=o==null?void 0:o.sortable)!=null?l:!1,groupable:(c=o==null?void 0:o.groupable)!=null?c:!1,supportedOperators:o==null?void 0:o.supportedOperators,aliases:o?[o.id,...(d=o.aliases)!=null?d:[]]:void 0}}),n=this.getUserFields().map(a=>({id:`user:${a.id||a.key}`,label:a.displayName||a.key,valueType:pP(a.type),source:"user",writable:!0,queryable:!0,sortable:!0,groupable:!0,supportedOperators:QL(pP(a.type)),aliases:[`user.${a.id||a.key}`,`user:${a.id||a.key}`],frontmatterKey:a.key,description:`User-defined field ${a.key}`}));return[...t,...n]}getFilterPropertyDefinitions(){let e=this.getUserFields().map(t=>({id:`user.${t.id||t.key}`,label:t.displayName||t.key,category:"user",valueType:pP(t.type),source:"user",queryable:!0,sortable:!0,groupable:!0,supportedOperators:QL(pP(t.type)),aliases:[`user:${t.id||t.key}`,`user.${t.key}`,`user:${t.key}`],frontmatterKey:t.key,valueInputType:k$e(t.type)}));return[...a7.map(({internalProperty:t,...n})=>({...n,aliases:n.aliases?[...n.aliases]:void 0,supportedOperators:[...n.supportedOperators]})),...e]}async queryTasks(e){let t=this.normalizeRuntimeQueryForExecution(e);if(!t.validation.valid)throw new tn("invalid_input","TaskNotes runtime query is invalid",{status:400,details:{issues:t.validation.issues}});let n=await this.plugin.cacheManager.getAllTasks(),i=t0t(n,t.normalized.scope),a=new Set(i.map(m=>m.path)),s=await this.plugin.filterService.getGroupedTasks(t.filterQuery),o=new Map;for(let m of s.values())for(let f of m)a.has(f.path)&&!o.has(f.path)&&o.set(f.path,f);let l=Array.from(o.values()),c=t.normalized.offset,d=t.normalized.limit,u=typeof d=="number"?l.slice(c,c+d):l.slice(c),p=new Set(u.map(m=>m.path));return{tasks:u.map(Mr),total:i.length,matched:l.length,returned:u.length,groups:t.normalized.group.length>0?r0t(s,p):void 0,query:t.normalized,warnings:t.validation.warnings}}validateRuntimeQuery(e){return this.normalizeRuntimeQueryForExecution(e).validation}normalizeRuntimeQueryOrThrow(e){let t=this.normalizeRuntimeQueryForExecution(e);if(!t.validation.valid)throw new tn("invalid_input","TaskNotes runtime query is invalid",{status:400,details:{issues:t.validation.issues}});return t.normalized}async explainRuntimeQuery(e){var a;let t=this.normalizeRuntimeQueryForExecution(e);if(!t.validation.valid)return{valid:!1,issues:t.validation.issues,warnings:t.validation.warnings,notes:["Query validation failed before execution."]};let n=await this.queryTasks(e),i=[];return t.normalized.sort.length>1&&i.push("Only the first sort is currently applied by the TaskNotes filter engine."),t.normalized.group.length>1&&i.push("Only the first group is currently applied by the TaskNotes filter engine."),{valid:!0,query:n.query,issues:[],warnings:(a=n.warnings)!=null?a:[],total:n.total,matched:n.matched,returned:n.returned,groups:n.groups,appliedSort:n.query.sort.slice(0,1),appliedLimit:n.query.limit,appliedOffset:n.query.offset,notes:i}}async getFilterOptions(){return this.plugin.filterService.getFilterOptions()}normalizeRuntimeQueryForExecution(e){let t=[],n=[],i=this.normalizeRuntimeTaskQuery(e,t,n);return{filterQuery:this.runtimeQueryToFilterQuery(i,t,n),normalized:i,validation:{valid:t.length===0,issues:t,warnings:n,normalized:t.length===0?i:void 0}}}normalizeRuntimeTaskQuery(e,t,n){if(e==null)return w$e();if(!rp(e))return t.push({path:"$",code:"query_not_object",message:"Runtime task query must be an object."}),w$e();let i=typeof e.where=="undefined"?void 0:this.normalizeRuntimePredicate(e.where,"$.where",t),a=this.normalizeRuntimeSorts(e.sort,t,n),s=this.normalizeRuntimeGroups(e.group,t,n),o=ZPt(e.limit,"$.limit",t),l=QPt(e.offset,"$.offset",t),c=JPt(e.scope,t);return{where:i,sort:a,limit:o,offset:l,group:s,scope:c}}normalizeRuntimePredicate(e,t,n){if(!rp(e)){n.push({path:t,code:"predicate_not_object",message:"Runtime query predicate must be an object."});return}if(Array.isArray(e.all))return{all:e.all.map((i,a)=>this.normalizeRuntimePredicate(i,`${t}.all.${a}`,n)).filter(yd)};if(Array.isArray(e.any))return{any:e.any.map((i,a)=>this.normalizeRuntimePredicate(i,`${t}.any.${a}`,n)).filter(yd)};if(typeof e.not!="undefined"){let i=this.normalizeRuntimePredicate(e.not,`${t}.not`,n);return i?{not:i}:void 0}return this.normalizeRuntimeCondition(e,t,n)}normalizeRuntimeCondition(e,t,n){if(typeof e.field!="string"||e.field.trim().length===0){n.push({path:`${t}.field`,code:"field_required",message:"Runtime query condition requires a field."});return}let i=this.resolveRuntimeQueryField(e.field);if(!i){n.push({path:`${t}.field`,code:"field_unknown",message:`Unsupported runtime query field: ${e.field}`});return}let a=P$e(e.op);if(!a){n.push({path:`${t}.op`,code:"operator_unknown",message:`Unsupported runtime query operator: ${String(e.op)}`});return}if(!i.definition.supportedOperators.includes(a)){n.push({path:`${t}.op`,code:"operator_unsupported",message:`Operator ${a} is not supported for ${i.definition.id}.`});return}let s=KPt(a);if(s&&typeof e.value=="undefined"){n.push({path:`${t}.value`,code:"value_required",message:`Operator ${a} requires a value.`});return}if((a==="in"||a==="notIn")&&!Array.isArray(e.value)){n.push({path:`${t}.value`,code:"value_array_required",message:`Operator ${a} requires an array value.`});return}return{field:i.definition.id,op:a,value:s?XL(e.value):void 0}}normalizeRuntimeSorts(e,t,n){if(typeof e=="undefined")return[];if(!Array.isArray(e))return t.push({path:"$.sort",code:"sort_not_array",message:"Runtime query sort must be an array."}),[];let i=e.map((a,s)=>{if(!rp(a)||typeof a.field!="string")return t.push({path:`$.sort.${s}`,code:"sort_invalid",message:"Runtime query sort entries require a field."}),null;let o=this.resolveRuntimeQueryField(a.field);if(!o||!o.definition.sortable)return t.push({path:`$.sort.${s}.field`,code:"sort_field_unsupported",message:`Runtime query field is not sortable: ${a.field}`}),null;let l=a.direction==="desc"?"desc":"asc";return{field:o.definition.id,direction:l}}).filter(yd);return i.length>1&&n.push({path:"$.sort",code:"multiple_sorts",message:"Only the first sort is currently applied by TaskNotes."}),i}normalizeRuntimeGroups(e,t,n){if(typeof e=="undefined")return[];if(!Array.isArray(e))return t.push({path:"$.group",code:"group_not_array",message:"Runtime query group must be an array."}),[];let i=e.map((a,s)=>{if(!rp(a)||typeof a.field!="string")return t.push({path:`$.group.${s}`,code:"group_invalid",message:"Runtime query group entries require a field."}),null;let o=this.resolveRuntimeQueryField(a.field);return!o||!o.definition.groupable?(t.push({path:`$.group.${s}.field`,code:"group_field_unsupported",message:`Runtime query field is not groupable: ${a.field}`}),null):{field:o.definition.id}}).filter(yd);return i.length>1&&n.push({path:"$.group",code:"multiple_groups",message:"Only the first group is currently applied by TaskNotes."}),i}runtimeQueryToFilterQuery(e,t,n){var c;let i=this.runtimePredicateToFilterNode(e.where,"$.where",t),s={type:"group",id:"runtime-query-root",conjunction:"and",children:i?i.type==="group"&&i.conjunction==="and"?i.children:[i]:[]},o=e.sort[0];if(o){let d=this.runtimeFieldToSortKey(o.field);d?(s.sortKey=d,s.sortDirection=(c=o.direction)!=null?c:"asc"):n.push({path:"$.sort.0.field",code:"sort_not_applied",message:`Sort field ${o.field} could not be mapped to TaskNotes sorting.`})}let l=e.group[0];if(l){let d=this.runtimeFieldToGroupKey(l.field);d?s.groupKey=d:n.push({path:"$.group.0.field",code:"group_not_applied",message:`Group field ${l.field} could not be mapped to TaskNotes grouping.`})}return s}runtimePredicateToFilterNode(e,t,n){if(!e)return null;if("all"in e)return{type:"group",id:uP(t),conjunction:"and",children:e.all.map((i,a)=>this.runtimePredicateToFilterNode(i,`${t}.all.${a}`,n)).filter(yd)};if("any"in e)return{type:"group",id:uP(t),conjunction:"or",children:e.any.map((i,a)=>this.runtimePredicateToFilterNode(i,`${t}.any.${a}`,n)).filter(yd)};if("not"in e){let i=s7(e.not);return i?this.runtimePredicateToFilterNode(i,`${t}.not`,n):(n.push({path:`${t}.not`,code:"not_unsupported",message:"Unable to invert runtime query predicate."}),null)}return this.runtimeConditionToFilterNode(e,t)}runtimeConditionToFilterNode(e,t){var a;let n=this.resolveRuntimeQueryField(e.field),i=Array.isArray(e.value)&&(e.op==="in"||e.op==="notIn")?e.value:null;return i?{type:"group",id:uP(t),conjunction:e.op==="in"?"or":"and",children:i.map((s,o)=>{var l;return{type:"condition",id:uP(`${t}.value.${o}`),property:(l=n==null?void 0:n.internalProperty)!=null?l:e.field,operator:T$e[e.op],value:eF(XL(s))}})}:{type:"condition",id:uP(t),property:(a=n==null?void 0:n.internalProperty)!=null?a:e.field,operator:T$e[e.op],value:eF(e.value)}}resolveRuntimeQueryField(e){let t=e.trim(),n=this.resolveRuntimeUserField(t);if(n)return n;let i=a7.find(a=>{var s;return a.id===t||((s=a.aliases)!=null?s:[]).includes(t)});return i?{definition:i,internalProperty:i.internalProperty}:null}resolveRuntimeUserField(e){if(!e.startsWith("user.")&&!e.startsWith("user:"))return null;let t=e.slice(5),n=this.getUserFields().find(s=>s.id===t||s.key===t);if(!n)return null;let i=n.id||n.key,a=pP(n.type);return{internalProperty:`user:${i}`,definition:{id:`user.${i}`,label:n.displayName||n.key,category:"user",valueType:a,source:"user",queryable:!0,sortable:!0,groupable:!0,supportedOperators:QL(a),aliases:[`user:${i}`,`user.${n.key}`,`user:${n.key}`],frontmatterKey:n.key,valueInputType:k$e(n.type)}}}runtimeFieldToSortKey(e){let t=this.resolveRuntimeQueryField(e);if(!t)return null;let n=t.internalProperty;return n.startsWith("user:")||n==="due"||n==="scheduled"||n==="priority"||n==="status"||n==="title"||n==="dateCreated"||n==="completedDate"||n==="tags"?n:null}runtimeFieldToGroupKey(e){let t=this.resolveRuntimeQueryField(e);if(!t)return null;let n=t.internalProperty;return n.startsWith("user:")||n==="priority"||n==="due"||n==="scheduled"||n==="status"||n==="tags"||n==="completedDate"?n:n==="contexts"?"context":n==="projects"?"project":null}async getTaskStats(e){var i,a;let t=e?(await this.queryTasks(e)).tasks:await this.plugin.cacheManager.getAllTasks(),n=(a=(i=this.plugin.taskStatsService)==null?void 0:i.getStats(t))!=null?a:this.computeTaskStats(t);return{total:n.total,statusCounts:{...n.statusCounts},priorityCounts:{...n.priorityCounts},completed:n.completed,active:n.active,overdue:n.overdue,archived:n.archived,withTimeEntries:n.withTimeEntries,totalTrackedMinutes:n.totalTrackedMinutes,totalTrackedHours:n.totalTrackedHours}}async getTimeSummary(e={}){var n,i;let t=await this.plugin.cacheManager.getAllTasks();return ak(t,{period:(n=e.period)!=null?n:"today",fromDate:x$e(e.from),toDate:x$e(e.to),includeTags:(i=e.includeTags)!=null?i:!0},a=>this.plugin.statusManager.isCompletedStatus(a))}async getTaskTimeData(e){let t=await this.requireTask(e);return Xm(t,n=>this.plugin.getActiveTimeSession(n))}async getHealth(){let e=await this.plugin.cacheManager.getAllTasks();return{status:"ok",timestamp:new Date().toISOString(),apiVersion:this.apiVersion,capabilities:this.capabilities,vault:this.getVaultInfo(),tasks:{total:e.length}}}getVaultInfo(){let e=this.plugin.app.vault.adapter,t=null;try{typeof e.basePath=="string"?t=e.basePath:typeof e.path=="string"&&(t=e.path)}catch(n){t=null}return{name:this.plugin.app.vault.getName(),path:t}}computeTaskStats(e){var u,p,m,f,h;let t={},n={},i=0,a=0,s=0,o=0,l=0,c=0,d=(u=new Date().toISOString().split("T")[0])!=null?u:"";for(let g of e){t[g.status]=((p=t[g.status])!=null?p:0)+1,n[g.priority]=((m=n[g.priority])!=null?m:0)+1;let v=this.plugin.statusManager.isCompletedStatus(g.status);v&&i++,g.archived&&o++,!v&&!g.archived&&a++,g.due&&g.due<d&&!v&&!g.archived&&s++,(f=g.timeEntries)!=null&&f.length&&(l++,c+=(h=g.totalTrackedTime)!=null?h:0)}return{total:e.length,statusCounts:t,priorityCounts:n,completed:i,active:a,overdue:s,archived:o,withTimeEntries:l,totalTrackedMinutes:c,totalTrackedHours:Math.round(c/60*100)/100}}async getTask(e){let t=await this.plugin.cacheManager.getTaskInfo(this.normalizeTaskPath(e));return t?Mr(t):null}async listTasks(e){return e?(await this.queryTasks(e)).tasks:(await this.plugin.cacheManager.getAllTasks()).map(Mr)}async getParentTasks(e){var i;let t=await this.requireTask(e),n=[];for(let a of(i=t.projects)!=null?i:[]){let s=await this.resolveTaskReference(a,t.path);s&&n.push(s)}return i7(n).map(Mr)}async getSubtasks(e){var a;let t=await this.requireTask(e),n=await this.plugin.cacheManager.getAllTasks(),i=[];for(let s of n)if(s.path!==t.path){for(let o of(a=s.projects)!=null?a:[])if(await this.taskReferenceMatches(o,s.path,t.path)){i.push(s);break}}return i7(i).map(Mr)}async getTaskDependencies(e){var i,a;let t=await this.requireTask(e),n=[];for(let s of(i=t.blockedBy)!=null?i:[]){let o=await this.resolveTaskReferencePath(s.uid,t.path),l=o?await this.plugin.cacheManager.getTaskInfo(o):null;n.push({dependency:i0t(s),task:l?Mr(l):null,path:(a=l==null?void 0:l.path)!=null?a:o})}return n}async getBlockingTasks(e){var a;let t=await this.requireTask(e),n=await this.plugin.cacheManager.getAllTasks(),i=[];for(let s of n)if(s.path!==t.path){for(let o of(a=s.blockedBy)!=null?a:[])if(await this.taskReferenceMatches(o.uid,s.path,t.path)){i.push(s);break}}return i7(i).map(Mr)}async getTaskRelationships(e){let t=await this.requireTask(e),[n,i,a,s]=await Promise.all([this.getParentTasks(t.path),this.getSubtasks(t.path),this.getTaskDependencies(t.path),this.getBlockingTasks(t.path)]);return{task:Mr(t),parents:n,subtasks:i,dependencies:a,blocking:s}}async createTask(e,t){let n=await this.withMutationContext([],t,async()=>{var i;return this.plugin.taskService.createTask({...e,creationContext:(i=e.creationContext)!=null?i:"api"},{applyDefaults:!0})});return Mr(n.taskInfo)}async updateTask(e,t,n){let i=await this.requireTask(e),a=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.updateTask(i,t));return Mr(a)}async completeTask(e,t,n){var o,l;let i=await this.requireTask(e),a=(l=(o=t==null?void 0:t.status)!=null?o:this.plugin.statusManager.getCompletedStatuses()[0])!=null?l:"done";if(!this.plugin.statusManager.isCompletedStatus(a))throw new tn("invalid_status",`Status "${a}" is not configured as a completed status`,{status:400,details:{status:a}});if(!(t!=null&&t.status)&&this.plugin.statusManager.isCompletedStatus(i.status))return Mr(i);let s=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.updateProperty(i,"status",a));return Mr(s)}async rescheduleTask(e,t,n){let i=await this.requireTask(e),a=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.updateProperty(i,"scheduled",t!=null?t:void 0));return Mr(a)}async archiveTask(e,t,n){let i=await this.requireTask(e);if(i.archived===t)return Mr(i);let a=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.toggleArchive(i));return Mr(a)}async moveTask(e,t,n){let i=await this.requireTask(e),a=this.requireTaskFile(i.path),s=(0,Ba.normalizePath)(t),o=s?`${s}/${a.name}`:a.name;return o===i.path?Mr(i):this.withMutationContext([i.path,o],n,async()=>{if(s&&await Ap(this.plugin.app.vault,s),this.plugin.app.vault.getAbstractFileByPath(o))throw new tn("file_already_exists",`Cannot move task to "${o}" because a file already exists`,{status:409,details:{path:o}});await this.plugin.app.fileManager.renameFile(a,o);let c=Mr({...i,id:i.id&&i.id!==i.path?i.id:o,path:o});return this.plugin.cacheManager.clearCacheEntry(i.path),this.plugin.cacheManager.updateTaskInfoInCache(o,c),this.plugin.emitter.trigger(nt,{path:o,originalTask:i,updatedTask:c}),c})}async deleteTask(e,t){let n=await this.requireTask(e);await this.withMutationContext([n.path],t,()=>this.plugin.taskService.deleteTask(n))}async uncompleteTask(e,t,n){var o,l;let i=await this.requireTask(e),a=(l=(o=t==null?void 0:t.status)!=null?o:this.plugin.settings.defaultTaskStatus)!=null?l:"open";if(!this.plugin.statusManager.isCompletedStatus(i.status)&&!(t!=null&&t.status))return Mr(i);let s=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.updateProperty(i,"status",a));return Mr(s)}async startTimeEntry(e,t){await this.startTime(e,void 0,t)}async stopTimeEntry(e,t){await this.stopTime(e,t)}async setTaskProperty(e,t,n,i){let a=await this.requireTask(e),s=await this.withMutationContext([a.path],i,()=>this.plugin.taskService.updateProperty(a,t,n));return Mr(s)}async updateStringList(e,t,n,i,a){var d;let s=await this.requireTask(e),o=(d=s[t])!=null?d:[],l=n.trim();if(!l)throw new tn("invalid_input",`TaskNotes API ${i} ${t} expects a non-empty value`,{status:400,details:{operation:i,property:t}});let c=i==="add"?Array.from(new Set([...o,l])):o.filter(u=>u!==l);return this.updateTask(s.path,{[t]:c},a)}async addReminder(e,t,n){var s;let i=await this.requireTask(e),a=[...(s=i.reminders)!=null?s:[],{...t}];return this.updateTask(i.path,{reminders:a},n)}async removeReminder(e,t,n){var s;let i=await this.requireTask(e),a=((s=i.reminders)!=null?s:[]).filter(o=>o.id!==t);return this.updateTask(i.path,{reminders:a},n)}async addDependency(e,t,n){var l;let i=await this.requireTask(e),a=(l=i.blockedBy)!=null?l:[],s=a.findIndex(c=>c.uid===t.uid),o=s>=0?a.map((c,d)=>d===s?{...t}:{...c}):[...a.map(c=>({...c})),{...t}];return this.updateTask(i.path,{blockedBy:o},n)}async removeDependency(e,t,n){var s;let i=await this.requireTask(e),a=((s=i.blockedBy)!=null?s:[]).filter(o=>o.uid!==t);return this.updateTask(i.path,{blockedBy:a},n)}async startTime(e,t,n){var s;let i=await this.requireTask(e),a=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.startTimeTracking(i));if(t!=null&&t.description&&((s=a.timeEntries)!=null&&s.length)){let o=a.timeEntries.map(c=>({...c})),l=-1;for(let c=o.length-1;c>=0;c--)if(!o[c].endTime){l=c;break}l>=0&&(o[l]={...o[l],description:t.description},a=await this.updateTask(a.path,{timeEntries:o},n))}return Mr(a)}async stopTime(e,t){let n=await this.requireTask(e),i=await this.withMutationContext([n.path],t,()=>this.plugin.taskService.stopTimeTracking(n));return Mr(i)}async appendTimeEntry(e,t,n){var s;let i=await this.requireTask(e),a=[...((s=i.timeEntries)!=null?s:[]).map(o=>({...o})),{...t}];return this.updateTask(i.path,{timeEntries:a},n)}async deleteTimeEntry(e,t,n){let i=await this.requireTask(e),a=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.deleteTimeEntry(i,t));return Mr(a)}async getActiveTimeEntries(){var n;let e=await this.plugin.cacheManager.getAllTasks(),t=[];for(let i of e)for(let[a,s]of((n=i.timeEntries)!=null?n:[]).entries())s.endTime||t.push({taskPath:i.path,task:Mr(i),entry:{...s},index:a});return t}getSettingsSnapshot(){return JSON.parse(JSON.stringify(this.plugin.settings))}registerExtension(e){var o;if(!e||typeof e!="object")throw new tn("extension_invalid","TaskNotes API extension registration expects an object",{status:400});if(typeof e.id!="string"||e.id.trim().length===0)throw new tn("extension_invalid","TaskNotes API extension registration expects a non-empty id",{status:400});if(e.api===null||typeof e.api=="undefined")throw new tn("extension_invalid","TaskNotes API extension registration expects an api object",{status:400});let t=e.id.trim(),n=this.normalizeExtensionNamespace(e.namespace);if(jPt.has(n))throw new tn("extension_namespace_reserved",`Cannot register TaskNotes API extension namespace "${n}"`,{status:400,details:{namespace:n}});if(this.extensionRegistry.has(n))throw new tn("extension_namespace_conflict",`TaskNotes API extension namespace "${n}" is already registered`,{status:409,details:{namespace:n}});let i=Symbol(n),a=Array.from(new Set(((o=e.capabilities)!=null?o:[]).map(l=>this.normalizeExtensionCapability(l)))),s={id:t,namespace:n,api:e.api,displayName:e.displayName,version:e.version,capabilities:a,token:i};return this.extensionRegistry.set(n,s),this.emitLifecycle("extension.registered",{extension:this.extensionInfo(s)}),{id:t,namespace:n,unregister:()=>{let l=this.extensionRegistry.get(n);(l==null?void 0:l.token)===i&&(this.extensionRegistry.delete(n),this.emitLifecycle("extension.unregistered",{extension:this.extensionInfo(l)}))}}}getExtension(e){var t;return(t=this.extensionRegistry.get(this.normalizeExtensionNamespace(e)))==null?void 0:t.api}requireExtension(e){let t=this.normalizeExtensionNamespace(e),n=this.extensionRegistry.get(t);if(!n)throw new tn("extension_not_registered",`TaskNotes API extension namespace "${t}" is not registered`,{status:404,details:{namespace:t}});return n.api}hasExtension(e){return this.extensionRegistry.has(this.normalizeExtensionNamespace(e))}listExtensions(){return Array.from(this.extensionRegistry.values()).map(e=>this.extensionInfo(e))}extensionInfo(e){return{id:e.id,namespace:e.namespace,displayName:e.displayName,version:e.version,capabilities:[...e.capabilities]}}getExtensionCapabilities(){return Array.from(this.extensionRegistry.values()).flatMap(e=>[...e.capabilities])}normalizeExtensionNamespace(e){if(typeof e!="string"||e.trim().length===0)throw new tn("extension_invalid","TaskNotes API extension namespace must be a non-empty string",{status:400});let t=e.trim().toLowerCase();if(!/^[a-z][a-z0-9._-]*$/.test(t))throw new tn("extension_invalid",`TaskNotes API extension namespace "${e}" must use letters, numbers, dots, underscores, or dashes`,{status:400,details:{namespace:e}});return t}normalizeExtensionCapability(e){if(typeof e!="string"||e.trim().length===0)throw new tn("extension_invalid","TaskNotes API extension capabilities must be non-empty strings",{status:400});let t=e.trim().toLowerCase();if(!/^[a-z][a-z0-9._:-]*$/.test(t))throw new tn("extension_invalid",`TaskNotes API extension capability "${e}" must use letters, numbers, dots, underscores, dashes, or colons`,{status:400,details:{capability:e}});return t}async startPomodoro(e,t){let n=e!=null&&e.taskPath?await this.requireTask(e.taskPath):void 0;return await this.withMutationContext(n?[n.path]:[],t,()=>this.plugin.pomodoroService.startPomodoro(n,e==null?void 0:e.duration)),this.copyPomodoroState(this.plugin.pomodoroService.getState())}async stopPomodoro(e){return await this.withMutationContext([],e,()=>this.plugin.pomodoroService.stopPomodoro()),this.copyPomodoroState(this.plugin.pomodoroService.getState())}async pausePomodoro(e){return await this.withMutationContext([],e,()=>this.plugin.pomodoroService.pausePomodoro()),this.copyPomodoroState(this.plugin.pomodoroService.getState())}async resumePomodoro(e){return await this.withMutationContext([],e,()=>this.plugin.pomodoroService.resumePomodoro()),this.copyPomodoroState(this.plugin.pomodoroService.getState())}async assignPomodoroTask(e,t){let n=e?await this.requireTask(e):void 0;return await this.withMutationContext(n?[n.path]:[],t,()=>this.plugin.pomodoroService.assignTaskToCurrentSession(n)),this.copyPomodoroState(this.plugin.pomodoroService.getState())}async getPomodoroSessions(e){let t=await this.plugin.pomodoroService.getSessionHistory();return e!=null&&e.date&&(t=t.filter(n=>new Date(n.startTime).toISOString().split("T")[0]===e.date)),e!=null&&e.limit&&e.limit>0&&(t=t.slice(-e.limit)),t.map(n=>({...n}))}getPomodoroStats(e){return e?this.plugin.pomodoroService.getStatsForDate(new Date(e)):this.plugin.pomodoroService.getTodayStats()}copyPomodoroState(e){return JSON.parse(JSON.stringify(e))}async toggleRecurringComplete(e,t,n){let i=await this.requireTask(e),a=t?new Date(t):void 0,s=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.toggleRecurringTaskComplete(i,a));return Mr(s)}async toggleRecurringSkipped(e,t,n){let i=await this.requireTask(e),a=t?new Date(t):void 0,s=await this.withMutationContext([i.path],n,()=>this.plugin.taskService.toggleRecurringTaskSkipped(i,a));return Mr(s)}on(e,t){let n=s0t(e);return this.plugin.emitter.on(n,i=>{let a=this.normalizeRawEvent(n,i);for(let s of a)s.event===e&&t(s)})}onLifecycle(e,t){let n=gd[e],i=this.plugin.emitter.on(n,a=>{t(this.normalizeLifecycleEvent(e,n,a))});return e==="ready"&&this.plugin.onReady().then(()=>{t(this.normalizeLifecycleEvent(e,n,void 0))}),i}emitLifecycle(e,t={}){this.plugin.emitter.trigger(gd[e],{...t,timestamp:new Date().toISOString()})}off(e){this.plugin.emitter.offref(e)}async resolveTaskReference(e,t){let n=await this.resolveTaskReferencePath(e,t);return n?await this.plugin.cacheManager.getTaskInfo(n):null}async taskReferenceMatches(e,t,n){return await this.resolveTaskReferencePath(e,t)===(0,Ba.normalizePath)(n)}async resolveTaskReferencePath(e,t){var s;let n=WPt(e);if(!n)return null;let i=this.plugin.app.metadataCache,a=(s=i==null?void 0:i.getFirstLinkpathDest)==null?void 0:s.call(i,n,t);if(a instanceof Ba.TFile)return(0,Ba.normalizePath)(a.path);for(let o of n0t(n)){let l=await this.plugin.cacheManager.getTaskInfo(o);if(l)return l.path}return(0,Ba.normalizePath)(n)}async requireTask(e){let t=this.normalizeTaskPath(e),n=await this.plugin.cacheManager.getTaskInfo(t);if(!n)throw new tn("task_not_found",`Task not found: ${t}`,{status:404,details:{path:t}});return n}requireTaskFile(e){let t=this.plugin.app.vault.getAbstractFileByPath(e);if(!(t instanceof Ba.TFile))throw new tn("task_file_not_found",`Cannot find task file: ${e}`,{status:404,details:{path:e}});return t}normalizeTaskPath(e){if(typeof e!="string"||e.trim().length===0)throw new tn("invalid_task_path","TaskNotes API expects a non-empty task path",{status:400});return(0,Ba.normalizePath)(e)}async withMutationContext(e,t,n){var a;if(!t)return n();let i=e.map(s=>(0,Ba.normalizePath)(s));for(let s of i){let o=(a=this.mutationContextByPath.get(s))!=null?a:[];o.push(t),this.mutationContextByPath.set(s,o)}this.mutationContextStack.push(t);try{return await n()}finally{for(let s of i){let o=this.mutationContextByPath.get(s);o==null||o.pop(),o!=null&&o.length||this.mutationContextByPath.delete(s)}this.mutationContextStack.pop()}}normalizeUpdatedEvent(e){var c,d,u,p,m,f,h,g,v,k,b,w,S;let t=e.originalTask?Mr(e.originalTask):void 0,n=e.updatedTask?Mr(e.updatedTask):void 0,i=(u=(d=(c=n==null?void 0:n.path)!=null?c:t==null?void 0:t.path)!=null?d:e.path)!=null?u:"",a=a0t(t,n),s=this.getMutationContext(e),o=this.buildEventPayloadBase({taskPath:i,before:t,after:n,task:n,changes:a,context:s,rawEvent:nt}),l=[];if(!t&&n&&l.push({...o,event:"task.created"}),l.push({...o,event:"task.updated"}),t&&n&&t.path!==n.path&&l.push({...o,event:"task.moved"}),t&&n&&t.status!==n.status){l.push({...o,event:"task.status.changed"});let x=this.plugin.statusManager.isCompletedStatus(t.status),C=this.plugin.statusManager.isCompletedStatus(n.status);!x&&C?l.push({...o,event:"task.completed"}):x&&!C&&l.push({...o,event:"task.uncompleted"})}return t&&n&&t.archived!==n.archived&&l.push({...o,event:n.archived?"task.archived":"task.unarchived"}),t&&n&&t.scheduled!==n.scheduled&&l.push({...o,event:"task.scheduled.changed"}),t&&n&&t.due!==n.due&&l.push({...o,event:"task.due.changed"}),t&&n&&t.priority!==n.priority&&l.push({...o,event:"task.priority.changed"}),t&&n&&!sk((p=t.tags)!=null?p:[],(m=n.tags)!=null?m:[])&&l.push({...o,event:"task.tags.changed"}),t&&n&&!sk((f=t.contexts)!=null?f:[],(h=n.contexts)!=null?h:[])&&l.push({...o,event:"task.contexts.changed"}),t&&n&&!sk((g=t.projects)!=null?g:[],(v=n.projects)!=null?v:[])&&l.push({...o,event:"task.projects.changed"}),t&&n&&!sk((k=t.reminders)!=null?k:[],(b=n.reminders)!=null?b:[])&&l.push({...o,event:"task.reminders.changed"}),t&&n&&!sk((w=t.blockedBy)!=null?w:[],(S=n.blockedBy)!=null?S:[])&&l.push({...o,event:"task.dependencies.changed"}),t&&n&&t.recurrence!==n.recurrence&&l.push({...o,event:"task.recurrence.changed"}),t&&n&&C$e(t.complete_instances,n.complete_instances)&&l.push({...o,event:"recurring.instance.completed"}),t&&n&&C$e(t.skipped_instances,n.skipped_instances)&&l.push({...o,event:"recurring.instance.skipped"}),t&&n&&ZL(t)!==ZL(n)&&l.push({...o,event:ZL(n)>ZL(t)?"time.started":"time.stopped"}),l}normalizeDeletedEvent(e){var a,s;let t=e.deletedTask?Mr(e.deletedTask):void 0,n=(s=(a=t==null?void 0:t.path)!=null?a:e.path)!=null?s:"",i=this.getMutationContext(e);return[this.buildEventPayloadBase({event:"task.deleted",taskPath:n,deletedTask:t,task:t,changes:{},context:i,rawEvent:Ja})]}normalizeLifecycleEvent(e,t,n){var s;let i=rp(n)?n:{},a=rp(i.extension)?i.extension:void 0;return{event:e,timestamp:typeof i.timestamp=="string"?i.timestamp:new Date().toISOString(),data:(s=i.data)!=null?s:n,settings:e==="settings.changed"?this.getSettingsSnapshot():void 0,extension:a,filePath:typeof i.filePath=="string"?i.filePath:void 0,force:typeof i.force=="boolean"?i.force:void 0,rawEvent:t}}buildEventPayloadBase(e){var t,n,i,a;return{event:(t=e.event)!=null?t:"task.updated",timestamp:new Date().toISOString(),taskPath:e.taskPath,task:e.task,before:e.before,after:e.after,deletedTask:e.deletedTask,changes:e.changes,data:e.data,context:e.context,source:(n=e.context)==null?void 0:n.source,correlationId:(i=e.context)==null?void 0:i.correlationId,reason:(a=e.context)==null?void 0:a.reason,rawEvent:e.rawEvent}}getMutationContext(e){var n,i,a;let t=[e.path,"originalTask"in e?(n=e.originalTask)==null?void 0:n.path:void 0,"updatedTask"in e?(i=e.updatedTask)==null?void 0:i.path:void 0,"deletedTask"in e?(a=e.deletedTask)==null?void 0:a.path:void 0].filter(s=>!!s).map(s=>(0,Ba.normalizePath)(s));for(let s of t){let o=this.mutationContextByPath.get(s),l=o==null?void 0:o[o.length-1];if(l)return l}return this.mutationContextStack[this.mutationContextStack.length-1]}normalizeRawEvent(e,t){return e===Ja?this.normalizeDeletedEvent(t):e===Ud?this.normalizePomodoroEvent("pomodoro.started",e,t):e===Hd?this.normalizePomodoroEvent("pomodoro.completed",e,t):e===Vd?this.normalizePomodoroEvent("pomodoro.interrupted",e,t):this.normalizeUpdatedEvent(t)}normalizePomodoroEvent(e,t,n){var l,c;let i=n,a=i.task?Mr(i.task):void 0,s=(c=a==null?void 0:a.path)!=null?c:(l=i.session)==null?void 0:l.taskPath,o=this.mutationContextStack[this.mutationContextStack.length-1];return[this.buildEventPayloadBase({event:e,taskPath:s,task:a,changes:{},data:n,context:o,rawEvent:t})]}}});function tF(r,e=A$e.Platform.isMobile){return e&&r.disableCalendarOnMobile}var A$e,o7=y(()=>{A$e=require("obsidian")});var N$e={};et(N$e,{TaskSelectionService:()=>l7});var I$e,l7,R$e=y(()=>{G();I$e=I({tag:"Services/TaskSelectionService"}),l7=class{constructor(e){this.selectedTaskPaths=new Set;this.lastSelectedPath=null;this.primarySelectedPath=null;this.selectionModeActive=!1;this.selectionModeListeners=[];this.selectionChangeListeners=[];this.plugin=e}isSelectionModeActive(){return this.selectionModeActive}enterSelectionMode(){this.selectionModeActive||(this.selectionModeActive=!0,this.notifySelectionModeChange(!0))}exitSelectionMode(e=!1){this.selectionModeActive&&(this.selectionModeActive=!1,e&&this.clearSelection(),this.notifySelectionModeChange(!1))}toggleSelectionMode(){this.selectionModeActive?this.exitSelectionMode():this.enterSelectionMode()}isSelected(e){return this.selectedTaskPaths.has(e)}toggleSelection(e){this.selectedTaskPaths.has(e)?(this.selectedTaskPaths.delete(e),this.primarySelectedPath===e&&(this.primarySelectedPath=this.selectedTaskPaths.size>0?Array.from(this.selectedTaskPaths)[0]:null)):(this.selectedTaskPaths.size===0&&(this.primarySelectedPath=e),this.selectedTaskPaths.add(e)),this.lastSelectedPath=e,this.selectedTaskPaths.size>0&&!this.selectionModeActive&&this.enterSelectionMode(),this.selectedTaskPaths.size===0&&this.selectionModeActive&&this.exitSelectionMode(),this.notifySelectionChange()}selectTask(e){this.selectedTaskPaths.clear(),this.selectedTaskPaths.add(e),this.lastSelectedPath=e,this.primarySelectedPath=e,this.notifySelectionChange()}addToSelection(e){this.selectedTaskPaths.size===0&&(this.primarySelectedPath=e),this.selectedTaskPaths.add(e),this.lastSelectedPath=e,this.notifySelectionChange()}removeFromSelection(e){this.selectedTaskPaths.delete(e),this.notifySelectionChange()}selectRange(e,t){if(!this.lastSelectedPath){this.selectTask(e);return}let n=t.indexOf(this.lastSelectedPath),i=t.indexOf(e);if(n===-1||i===-1){this.toggleSelection(e);return}let a=Math.min(n,i),s=Math.max(n,i);for(let o=a;o<=s;o++)this.selectedTaskPaths.add(t[o]);this.lastSelectedPath=e,this.notifySelectionChange()}selectAdjacentRange(e,t){var s;if(t.length===0)return;let n=this.lastSelectedPath;if((!n||!t.includes(n))&&(n=(s=t.find(o=>this.selectedTaskPaths.has(o)))!=null?s:null),!n){this.selectTask(e>0?t[0]:t[t.length-1]);return}let i=t.indexOf(n);if(i===-1)return;let a=Math.max(0,Math.min(t.length-1,i+e));a!==i&&(this.lastSelectedPath=n,this.selectRange(t[a],t))}selectAll(e){this.selectedTaskPaths.size===0&&e.length>0&&(this.primarySelectedPath=e[0]);for(let t of e)this.selectedTaskPaths.add(t);e.length>0&&(this.lastSelectedPath=e[e.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 e=[];for(let t of this.selectedTaskPaths){let n=await this.plugin.cacheManager.getTaskInfo(t);n&&e.push(n)}return e}onSelectionModeChange(e){return this.selectionModeListeners.push(e),()=>{let t=this.selectionModeListeners.indexOf(e);t!==-1&&this.selectionModeListeners.splice(t,1)}}onSelectionChange(e){return this.selectionChangeListeners.push(e),()=>{let t=this.selectionChangeListeners.indexOf(e);t!==-1&&this.selectionChangeListeners.splice(t,1)}}notifySelectionModeChange(e){for(let t of this.selectionModeListeners)try{t(e)}catch(n){I$e.error("[TaskSelectionService] Error in selection mode listener:",{category:"persistence",operation:"selection-mode-listener",error:n})}}notifySelectionChange(){let e=this.getSelectedPaths();for(let t of this.selectionChangeListeners)try{t(e)}catch(n){I$e.error("[TaskSelectionService] Error in selection change listener:",{category:"persistence",operation:"selection-change-listener",error:n})}}destroy(){this.selectedTaskPaths.clear(),this.selectionModeListeners=[],this.selectionChangeListeners=[]}}});var O$e={};et(O$e,{BasesFilterConverter:()=>d7});function o0t(r){return r instanceof Error?r.message:String(r)}function l0t(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}var c7,d7,L$e=y(()=>{gr();G();c7=I({tag:"Services/BasesFilterConverter"});d7=class{constructor(e){this.plugin=e,this.statusManager=e.statusManager,this.priorityManager=e.priorityManager}convertToBasesFilter(e){try{let t=this.convertNodeToObject(e);return t||null}catch(t){throw c7.error("Error converting TaskNotes filter to Bases:",{category:"validation",operation:"converting-tasknotes-filter-bases",error:t}),new Error(`Failed to convert filter: ${o0t(t)}`)}}convertNodeToObject(e){return e.type=="group"?this.convertGroupToObject(e):e.type=="condition"?this.convertConditionToString(e):null}convertGroupToObject(e){let t=e.children.filter(a=>a.type=="condition"?this.isConditionComplete(a):!0);if(t.length==0)return null;let n=t.map(a=>this.convertNodeToObject(a)).filter(a=>a!==null);return n.length==0?null:n.length===1?n[0]:{[e.conjunction=="and"?"and":"or"]:n}}convertConditionToString(e){let{property:t,operator:n,value:i}=e;if(t=="status.isCompleted")return this.convertCompletedStatusCondition(n,i);if(t=="archived")return this.convertArchivedCondition(n);if(t=="dependencies.isBlocked")return this.convertIsBlockedCondition(n);if(t.startsWith("user:"))return this.convertUserFieldCondition(t,n,i);let a=this.getBasesPropertyPath(t);return this.convertOperator(a,n,i,t)}isConditionComplete(e){let{property:t,operator:n,value:i}=e;return!t||!n?!1:["is-empty","is-not-empty","is-checked","is-not-checked"].includes(n)?!0:i!=null&&i!==""}convertCompletedStatusCondition(e,t){let n=this.statusManager.getCompletedStatuses(),i=this.plugin.fieldMapper,a=i.toUserField("status"),s=n.map(u=>`note.${a} == "${this.escapeString(u)}"`).join(" || "),o=n.length>1?`(${s})`:s,l=i.toUserField("completeInstances"),c=`note.${l} && note.${l}.map(date(value).format("YYYY-MM-DD")).contains(today().format("YYYY-MM-DD"))`,d=`(${o}) || (${c})`;return e=="is-not-checked"||e=="is-not"?`!(${d})`:d}convertArchivedCondition(e){let n=this.plugin.fieldMapper.toUserField("archiveTag"),i=`file.tags.contains("${this.escapeString(n)}")`;return e=="is-not-checked"||e=="is-not"?`!${i}`:i}convertIsBlockedCondition(e){let n=this.plugin.fieldMapper.toUserField("blockedBy"),i=`(note.${n} && list(note.${n}).length > 0)`;return e=="is-not-checked"||e=="is-not"?`!(${i})`:i}convertUserFieldCondition(e,t,n){let i=e.slice(5),s=(this.plugin.settings.userFields||[]).find(l=>(l.id||l.key)===i||l.key===i);if(!s)return c7.warn(`User field not found: ${i}`,{category:"validation",operation:"user-field-not-found"}),"true";let o=`note.${s.key}`;return this.convertOperator(o,t,n,e,s.type)}getBasesPropertyPath(e){let t=this.plugin.fieldMapper,n;switch(e){case"title":return"file.name";case"status":n=t.toUserField("status");break;case"priority":n=t.toUserField("priority");break;case"due":n=t.toUserField("due");break;case"scheduled":n=t.toUserField("scheduled");break;case"contexts":n=t.toUserField("contexts");break;case"projects":n=t.toUserField("projects");break;case"tags":return"file.tags";case"path":return"file.path";case"dateCreated":return"file.ctime";case"dateModified":return"file.mtime";case"timeEstimate":n=t.toUserField("timeEstimate");break;case"completedDate":n=t.toUserField("completedDate");break;case"recurrence":n=t.toUserField("recurrence");break;case"blockedBy":n=t.toUserField("blockedBy");break;case"blocking":n="blocking";break;default:n=e}return`note.${n}`}convertOperator(e,t,n,i,a){switch(t){case"is":return this.convertIsOperator(e,n,a);case"is-not":return`!(${this.convertIsOperator(e,n,a)})`;case"contains":return this.convertContainsOperator(e,n,i);case"does-not-contain":return`!(${this.convertContainsOperator(e,n,i)})`;case"is-before":return`${e} < "${this.escapeString(String(n))}"`;case"is-after":return`${e} > "${this.escapeString(String(n))}"`;case"is-on-or-before":return`${e} <= "${this.escapeString(String(n))}"`;case"is-on-or-after":return`${e} >= "${this.escapeString(String(n))}"`;case"is-empty":return`${e}.isEmpty()`;case"is-not-empty":return`!${e}.isEmpty()`;case"is-checked":return`${e} == true`;case"is-not-checked":return`${e} != true`;case"is-greater-than":return`${e} > ${this.formatNumericValue(n)}`;case"is-less-than":return`${e} < ${this.formatNumericValue(n)}`;case"is-greater-than-or-equal":return`${e} >= ${this.formatNumericValue(n)}`;case"is-less-than-or-equal":return`${e} <= ${this.formatNumericValue(n)}`;default:return c7.warn("Unknown operator:",{category:"validation",operation:"unknown-operator",details:{value:t}}),"true"}}convertIsOperator(e,t,n){if(Array.isArray(t)){if(t.length==0)return`(!${e} || ${e}.length == 0)`;let i=t.map(a=>`${e}.contains("${this.escapeString(Z(a))}")`);return i.length>1?`(${i.join(" || ")})`:i[0]}if(n=="list")return`${e}.contains("${this.escapeString(Z(t))}")`;if(typeof t=="boolean"||n=="boolean"){let i=typeof t=="boolean"?t?"true":"false":Z(t);return`${e} == ${i}`}return typeof t=="number"||n=="number"?`${e} == ${this.formatNumericValue(t)}`:t==null||t==""?`(!${e} || ${e} == "" || ${e} == null)`:`${e} == "${this.escapeString(Z(t))}"`}convertContainsOperator(e,t,n){if(["tags","contexts","projects"].includes(n)){if(Array.isArray(t)){let a=t.map(s=>`${e}.contains("${this.escapeString(String(s))}")`);return a.length>1?`(${a.join(" || ")})`:a[0]}if(n=="projects"){let a=String(t);return a.startsWith("[[")&&a.endsWith("]]")?`${e}.contains("${this.escapeString(a)}")`:`(${e}.contains("[[${this.escapeString(a)}]]") || ${e}.contains("${this.escapeString(a)}"))`}return`${e}.contains("${this.escapeString(Z(t))}")`}return`${e}.lower().contains("${this.escapeString(Z(t).toLowerCase())}")`}formatNumericValue(e){if(typeof e=="number")return String(e);let t=parseFloat(Z(e));return isNaN(t)?"0":String(t)}escapeString(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}filterObjectToYAML(e,t=0){let n=" ".repeat(t);if(typeof e=="string")return`'${e.replace(/'/g,"\\'")}'`;if(Array.isArray(e))return e.map(i=>`
${n}- ${this.filterObjectToYAML(i,t+1)}`).join("");if(l0t(e)){let i=Object.keys(e)[0],a=e[i];return Array.isArray(a)?`
${n}${i}:${a.map(s=>`
${n} - ${this.filterObjectToYAML(s,t+2)}`).join("")}`:`
${n}${i}: ${this.filterObjectToYAML(a,t+1)}`}return String(e)}convertSavedViewToBasesFile(e,t="tasknotesTaskList"){let n=this.convertToBasesFilter(e.query),i=`# ${e.name}
`;if(n&&(i+=`filters:${this.filterObjectToYAML(n,1)}
`),i+=`views:
`,i+=` - type: ${t}
`,i+=` name: "${e.name}"
`,e.query.sortKey){let a=this.mapSortKeyToBasesColumn(e.query.sortKey),s=(e.query.sortDirection||"asc").toUpperCase();i+=` sort:
`,i+=` - column: ${a}
`,i+=` direction: ${s}
`}if(e.query.groupKey&&e.query.groupKey!=="none"){let a=this.mapGroupKeyToBasesColumn(e.query.groupKey),s=(e.query.sortDirection||"asc").toUpperCase();i+=` groupBy:
`,i+=` property: ${a}
`,i+=` direction: ${s}
`}return e.viewOptions&&Object.keys(e.viewOptions).length>0&&(i+=` options:
`,Object.entries(e.viewOptions).forEach(([a,s])=>{let o;typeof s=="boolean"||typeof s=="number"?o=String(s):typeof s=="string"?o=`"${this.escapeString(s)}"`:o=JSON.stringify(s),i+=` ${a}: ${o}
`})),i}mapSortKeyToBasesColumn(e){let t=this.plugin.fieldMapper;switch(e){case"due":return t.toUserField("due");case"scheduled":return t.toUserField("scheduled");case"priority":return t.toUserField("priority");case"status":return t.toUserField("status");case"title":return t.toUserField("title");case"dateCreated":return"file.ctime";case"dateModified":return"file.mtime";case"completedDate":return t.toUserField("completedDate");case"tags":return"file.tags";case"path":return"file.path";case"timeEstimate":return t.toUserField("timeEstimate");case"recurrence":return t.toUserField("recurrence");default:if(e.startsWith("user:")){let n=e.slice(5),a=(this.plugin.settings.userFields||[]).find(s=>(s.id||s.key)===n||s.key===n);return(a==null?void 0:a.key)||e}return e}}mapGroupKeyToBasesColumn(e){return this.mapSortKeyToBasesColumn(e)}convertAllSavedViewsToBasesFile(e){if(!e||e.length==0)return"";let t=`# All Saved Views
`;t+=`# Converted from TaskNotes saved views
`;let n=[];for(let i of e){let a=this.detectViewType(i),s=this.convertToBasesFilter(i.query),o=` - type: ${a}
`;if(o+=` name: "${i.name}"
`,s&&(o+=` filters:${this.filterObjectToYAML(s,3)}
`),i.query.sortKey){let l=this.mapSortKeyToBasesColumn(i.query.sortKey),c=(i.query.sortDirection||"asc").toUpperCase();o+=` sort:
`,o+=` - column: ${l}
`,o+=` direction: ${c}
`}if(i.query.groupKey&&i.query.groupKey!=="none"){let l=this.mapGroupKeyToBasesColumn(i.query.groupKey),c=(i.query.sortDirection||"asc").toUpperCase();o+=` groupBy:
`,o+=` property: ${l}
`,o+=` direction: ${c}
`}i.viewOptions&&Object.keys(i.viewOptions).length>0&&(o+=` options:
`,Object.entries(i.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}
`})),n.push(o)}return t+=`views:
`,t+=n.join(`
`),t}detectViewType(e){let t=e.viewOptions||{};return["showScheduled","showDue","showRecurring","showTimeEntries","showTimeblocks","showPropertyBasedEvents","calendarView","customDayCount","firstDay","slotMinTime","slotMaxTime","slotDuration","snapDuration"].some(o=>o in t)?"tasknotesCalendar":["columnWidth","hideEmptyColumns","pinnedColumns","cardLayout"].some(o=>o in t)?"tasknotesKanban":"tasknotesTaskList"}}});var $$e={};et($$e,{MdbaseSpecService:()=>p7});function ey(r){return`"${r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function c0t(r){return ey(r)}function d0t(r){let e=r.toLowerCase();return e==="true"||e==="false"?e:ey(r)}var F$e,u7,mP,p7,z$e=y(()=>{F$e=require("obsidian");ZN();G();u7=I({tag:"Services/MdbaseSpecService"}),mP="_types",p7=class{constructor(e){this.plugin=e}async onSettingsChanged(){this.plugin.settings.enableMdbaseSpec&&await this.generate()}async generate(){try{let e=this.plugin.app.vault,t=await this.getTypesFolder(),n=`${t}/task.md`;await this.ensureFolderPath(t);let i=this.buildTaskTypeDef();if(await this.writeFile(n,i),!await e.adapter.exists("mdbase.yaml")){let s=this.buildMdbaseYaml(t);await this.writeFile("mdbase.yaml",s)}u7.debug(`[TaskNotes][mdbase-spec] Generated mdbase.yaml and ${n}`,{category:"configuration",operation:"generated-mdbase-yaml-and"})}catch(e){u7.error("[TaskNotes][mdbase-spec] Failed to generate files:",{category:"configuration",operation:"generate-files",error:e})}}async getTypesFolder(){var n,i;let e=this.plugin.app.vault;if(!await e.adapter.exists("mdbase.yaml"))return mP;try{let a=await e.adapter.read("mdbase.yaml"),s=xC.parse(a);return(i=this.normalizeTypesFolder((n=s==null?void 0:s.settings)==null?void 0:n.types_folder))!=null?i:mP}catch(a){return u7.warn("[TaskNotes][mdbase-spec] Failed to read mdbase.yaml:",{category:"configuration",operation:"read-mdbase-yaml",error:a}),mP}}normalizeTypesFolder(e){if(typeof e!="string")return null;let t=e.trim();if(!t||t.startsWith("/")||t==="."||t==="..")return null;let n=(0,F$e.normalizePath)(t);return!n||n==="."||n===".."||n.startsWith("../")||n.includes("/../")?null:n}async ensureFolderPath(e){let t=this.plugin.app.vault,n=e.split("/").filter(Boolean),i="";for(let a of n)i=i?`${i}/${a}`:a,await t.adapter.exists(i)||await t.createFolder(i)}async writeFile(e,t){let n=this.plugin.app.vault;await n.adapter.exists(e)?await n.adapter.write(e,t):await n.create(e,t)}buildMdbaseYaml(e=mP){var n;let t=(n=this.normalizeTypesFolder(e))!=null?n:mP;return['spec_version: "0.2.0"','name: "TaskNotes"','description: "Task collection managed by TaskNotes for Obsidian"',"settings:",` types_folder: ${ey(t)}`," default_strict: false"," exclude:",` - ${ey(t)}`,""].join(`
`)}buildTaskTypeDef(){let e=this.plugin.settings,t=this.plugin.fieldMapper,n=[];if(n.push("---"),n.push("name: task"),n.push("description: A task managed by the TaskNotes plugin for Obsidian."),n.push(`display_name_key: ${t.toUserField("title")}`),n.push("strict: false"),n.push(`path_pattern: ${ey(this.buildPathPattern())}`),n.push(""),n.push("match:"),this.addMatchRules(n),n.push(""),n.push("fields:"),this.addRoleField(n,"title",{type:"string",required:!0,description:"Short summary of the task."}),this.addRoleField(n,"status",{type:"enum",required:!0,values:e.customStatuses.map(i=>i.value),default:e.defaultTaskStatus,tn_completed_values:e.customStatuses.filter(i=>i.isCompleted).map(i=>i.value)}),this.addRoleField(n,"priority",{type:"enum",values:e.customPriorities.map(i=>i.value),default:e.defaultTaskPriority}),this.addRoleField(n,"due",{type:"date"}),this.addRoleField(n,"scheduled",{type:"date"}),this.addRoleField(n,"contexts",{type:"list",items:{type:"string"}}),this.addRoleField(n,"projects",{type:"list",items:{type:"link"},description:"Wikilinks to related project notes."}),this.addRoleField(n,"timeEstimate",{type:"integer",min:0,description:"Estimated time in minutes."}),this.addRoleField(n,"completedDate",{type:"date"}),this.addRoleField(n,"dateCreated",{type:"datetime",required:!0,generated:"now"}),this.addRoleField(n,"dateModified",{type:"datetime",generated:"now_on_write"}),this.addRoleField(n,"recurrence",{type:"string"}),this.addRoleField(n,"recurrenceAnchor",{type:"enum",values:["scheduled","completion"],default:"scheduled"}),this.addRoleField(n,"occurrenceMaterialization",{type:"enum",values:["manual","on_completion","rolling"],default:"manual",description:"How occurrence task notes are materialized for a recurring parent task."}),this.addRoleField(n,"occurrenceNextTrigger",{type:"enum",values:["completion","completion_or_skip"],default:"completion",description:"Which occurrence state changes should materialize the next occurrence."}),this.addRoleField(n,"occurrenceTemplate",{type:"link",description:"Optional template note used when materializing occurrences."}),this.addRoleField(n,"occurrencePastHorizon",{type:"string",description:"ISO 8601 duration controlling rolling materialization before today."}),this.addRoleField(n,"occurrenceFutureHorizon",{type:"string",description:"ISO 8601 duration controlling rolling materialization after today."}),this.addRoleField(n,"recurrenceParent",{type:"link",description:"Parent recurring task for a materialized occurrence note."}),this.addRoleField(n,"occurrenceDate",{type:"date",description:"Target recurrence date for a materialized occurrence note."}),this.addField(n,"tags",{type:"list",items:{type:"string"},tn_role:"tags"}),this.addRoleField(n,"timeEntries",{type:"list",items:{type:"object",fields:{startTime:{type:"datetime"},endTime:{type:"datetime"},description:{type:"string"},duration:{type:"integer"}}}}),this.addRoleField(n,"reminders",{type:"list",items:{type:"object",fields:{id:{type:"string",required:!0},type:{type:"enum",values:["absolute","relative"]},description:{type:"string"},relatedTo:{type:"enum",values:["due","scheduled"],description:"Field the reminder is relative to (e.g. 'due')."},offset:{type:"string",description:"ISO 8601 duration offset (e.g. '-PT1H')."},absoluteTime:{type:"datetime"}}},description:"Reminder objects with id, type, offset, etc."}),this.addRoleField(n,"blockedBy",{type:"list",items:{type:"object",fields:{uid:{type:"link",required:!0},reltype:{type:"string"},gap:{type:"string"}}}}),this.addRoleField(n,"completeInstances",{type:"list",items:{type:"date"}}),this.addRoleField(n,"skippedInstances",{type:"list",items:{type:"date"}}),this.addRoleField(n,"icsEventId",{type:"list",items:{type:"string"}}),this.addRoleField(n,"googleCalendarEventId",{type:"string"}),this.addRoleField(n,"googleCalendarExceptionEventId",{type:"string"}),this.addRoleField(n,"googleCalendarExceptionOriginalScheduled",{type:"date"}),this.addRoleField(n,"googleCalendarMovedOriginalDates",{type:"list",items:{type:"date"}}),e.userFields&&e.userFields.length>0)for(let i of e.userFields)this.addField(n,i.key,this.mapUserFieldType(i));return n.push("---"),n.push(""),n.push("# Task"),n.push(""),n.push("This type definition describes the data schema for tasks managed by"),n.push("[TaskNotes](https://github.com/callumalpass/tasknotes), an Obsidian plugin"),n.push("for note-based task management."),n.push(""),n.push("It conforms to [mdbase-spec](https://github.com/callumalpass/mdbase-spec) v0.2.0,"),n.push("a specification for typed markdown collections."),n.push(""),n.push("TaskNotes also adds a non-standard `tn_role` field annotation on schema"),n.push("fields. This maps each field to its TaskNotes semantic role so custom"),n.push("frontmatter field names can still be interpreted consistently."),n.push("The status field also includes `tn_completed_values`, listing"),n.push("which status values count as completed."),n.push(""),n.push("This file is automatically generated from TaskNotes settings and should not be"),n.push("edited manually. Changes to TaskNotes settings (statuses, priorities, field"),n.push("mappings, user fields) will cause this file to be regenerated."),n.push(""),n.join(`
`)}addField(e,t,n,i=2){let a=" ".repeat(i);e.push(`${a}${t}:`),this.writeFieldProps(e,n,i+2)}addRoleField(e,t,n,i=2){let a=this.plugin.fieldMapper.toUserField(t);this.addField(e,a,{...n,tn_role:t},i)}writeFieldProps(e,t,n){let i=" ".repeat(n);if(e.push(`${i}type: ${t.type}`),t.required&&e.push(`${i}required: true`),t.generated&&e.push(`${i}generated: ${t.generated}`),t.values&&e.push(`${i}values: [${t.values.join(", ")}]`),t.tn_completed_values&&t.tn_completed_values.length>0&&e.push(`${i}tn_completed_values: [${t.tn_completed_values.join(", ")}]`),t.default!==void 0&&e.push(`${i}default: ${t.default}`),t.min!==void 0&&e.push(`${i}min: ${t.min}`),t.description&&e.push(`${i}description: ${ey(t.description)}`),t.tn_role&&e.push(`${i}tn_role: ${t.tn_role}`),t.items)if(t.items.type==="object"&&t.items.fields){e.push(`${i}items:`),e.push(`${i} type: object`),e.push(`${i} fields:`);for(let[a,s]of Object.entries(t.items.fields))this.addField(e,a,s,n+4)}else e.push(`${i}items:`),e.push(`${i} type: ${t.items.type}`)}mapUserFieldType(e){switch(e.type){case"text":return{type:"string"};case"number":return{type:"number"};case"date":return{type:"date"};case"boolean":return{type:"boolean"};case"list":return{type:"list",items:{type:"string"}};default:return{type:"string"}}}addMatchRules(e){var n,i;let t=this.plugin.settings;if(t.taskIdentificationMethod==="property"){let a=(n=t.taskPropertyName)==null?void 0:n.trim(),s=(i=t.taskPropertyValue)==null?void 0:i.trim();if(!a){this.addTagMatchRule(e);return}e.push(" where:"),e.push(` ${c0t(a)}:`),s?e.push(` eq: ${d0t(s)}`):e.push(" exists: true");return}this.addTagMatchRule(e)}addTagMatchRule(e){var n;let t=((n=this.plugin.settings.taskTag)==null?void 0:n.trim())||"task";e.push(" where:"),e.push(" tags:"),e.push(` contains: ${ey(t)}`)}buildPathPattern(){let e=this.toMdbaseTemplate(this.plugin.settings.tasksFolder||""),t=this.getFilenameTemplate(),n=this.toMdbaseTemplate(t)||`{${this.plugin.fieldMapper.toUserField("title")}}`,i=n.endsWith(".md")?n:`${n}.md`;return e?`${e}/${i}`:i}getFilenameTemplate(){var t;let e=this.plugin.settings;if(e.storeTitleInFilename||e.taskFilenameFormat==="title")return"{{title}}";switch(e.taskFilenameFormat){case"timestamp":return"{{timestamp}}";case"uuid":return"{{uuid}}";case"custom":return((t=e.customFilenameTemplate)==null?void 0:t.trim())||"{{title}}";case"zettel":default:return"{{zettel}}"}}toMdbaseTemplate(e){let t=(e||"").trim();if(!t)return"";let n=this.getPathVariableMap();return t.replace(/\{\{(\w+)\}\}|\{(\w+)\}/g,(a,s,o)=>{let l=String(s!=null?s:o);return`{${n[l]||l}}`}).replace(/\\/g,"/").replace(/\/+/g,"/").replace(/^\/+|\/+$/g,"")}getPathVariableMap(){let e=this.plugin.fieldMapper;return{title:e.toUserField("title"),priority:e.toUserField("priority"),status:e.toUserField("status"),dueDate:e.toUserField("due"),scheduledDate:e.toUserField("scheduled"),due:e.toUserField("due"),scheduled:e.toUserField("scheduled")}}}});function fP(r){var i,a;if(r==null)return null;let e=r;if(((i=e.constructor)==null?void 0:i.name)==="NullValue")return null;if(typeof e.data!="undefined")return e.data;let t=B$e(e);if(t)return t;if(e.date instanceof Date)return e.date.toISOString();if(((a=e.constructor)==null?void 0:a.name)==="DateValue"&&e.toISOString)return e.toISOString();if(e.file)return e.file.path;let n=Reflect.get(e,"toString");if(typeof n=="function"&&n!==Object.prototype.toString){let s=Reflect.apply(n,e,[]);if(s!=="[object Object]")return s}return r}function j$e(r){var n;if(r==null)return"Unknown";let e=r;if(((n=e.constructor)==null?void 0:n.name)==="NullValue")return"Unknown";let t=u0t(e);return p0t(t)}function u0t(r){if(r.file&&typeof r.file=="object")return r.file.path;if(r.date instanceof Date)return r.date;let e=B$e(r);return e||(typeof r.data!="undefined"?r.data:r)}function p0t(r){if(r==null)return"None";if(r instanceof Date){let e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}-${t}-${n}`}return typeof r=="string"?r||"None":typeof r=="number"?String(r):typeof r=="boolean"?r?"True":"False":Array.isArray(r)?r.length>0?r.map(Z).join(", "):"None":Z(r)||"None"}function B$e(r){let e=typeof r.get=="function"?r.get.bind(r):typeof r.at=="function"?r.at.bind(r):null;if(typeof r.length=="function"&&e){let t=r.length(),n=[];for(let i=0;i<t;i++){let a=e(i);n.push(fP(a))}return n}return Array.isArray(r.value)?r.value.map(t=>fP(t)):null}var U$e=y(()=>{gr()});function H$e(r){let t={...r.frontmatter||r.properties||{}},n=r.file;return n&&(n.name!==void 0&&(t["file.name"]=n.name),n.basename!==void 0&&(t["file.basename"]=n.basename),n.extension!==void 0&&(t["file.extension"]=n.extension),n.path!==void 0&&(t["file.path"]=n.path),n.stat&&(n.stat.size!==void 0&&(t["file.size"]=n.stat.size),n.stat.ctime!==void 0&&(t["file.ctime"]=n.stat.ctime),n.stat.mtime!==void 0&&(t["file.mtime"]=n.stat.mtime))),t}var V$e=y(()=>{});var rF,q$e=y(()=>{G();U$e();V$e();rF=class{constructor(e,t=I({tag:"Bases/DataAdapter"})){this.basesView=e;this.logger=t}extractDataItems(){return this.basesView.data.data.map(t=>({key:t.file.path,data:t,file:t.file,path:t.file.path,properties:this.extractEntryProperties(t),basesData:t}))}getGroupedData(){return this.basesView.data.groupedData}isGrouped(){let e=this.basesView.data.groupedData;return e.length!==1?!0:e[0].hasKey()}getSortConfig(){return this.basesView.config.getSort()}getVisiblePropertyIds(){return this.basesView.config.getOrder()}getPropertyDisplayName(e){return this.basesView.config.getDisplayName(e)}getPropertyValue(e,t){try{let n=e.getValue(t);return fP(n)}catch(n){return this.logger.warn("Failed to get property value",{category:"provider",operation:"get-property-value",details:{propertyId:t},error:n}),null}}convertGroupKeyToString(e){return j$e(e)}extractEntryProperties(e){return H$e(e)}getComputedProperty(e,t){if(!e||typeof e!="object")return null;try{let n=e.getValue;if(typeof n!="function")return null;let i=n.call(e,t);return fP(i)}catch(n){return null}}}});var hP,m7=y(()=>{hP=class{constructor(e,t){this.fieldMapper=t!=null?t:e}basesToTaskCardProperty(e){if(this.fieldMapper&&this.fieldMapper.isRecognizedProperty(e))return this.applySpecialTransformations(e);if(e.startsWith("note.")){let t=e.substring(5);return this.fieldMapper&&this.fieldMapper.isRecognizedProperty(t)?this.applySpecialTransformations(t):t==="dateCreated"?"dateCreated":t==="dateModified"?"dateModified":t==="completedDate"?"completedDate":this.applySpecialTransformations(t)}if(e.startsWith("task.")){let t=e.substring(5);return this.fieldMapper&&this.fieldMapper.isRecognizedProperty(t)?this.applySpecialTransformations(t):this.applySpecialTransformations(t)}return e.startsWith("file.")?e==="file.ctime"?"dateCreated":e==="file.mtime"?"dateModified":e==="file.tasks"?"checklistProgress":e:e.startsWith("formula.")?e==="formula.checklistProgress"?"checklistProgress":e:this.applySpecialTransformations(e)}internalToUserProperty(e){let t=this.fieldMapper.getMapping();return e in t?this.fieldMapper.toUserField(e):e}userPropertyToInternal(e){return this.fieldMapper.lookupMappingKey(e)||e}basesToUserProperty(e){let t=this.basesToTaskCardProperty(e);return this.internalToUserProperty(t)}applySpecialTransformations(e){return e==="timeEntries"?"totalTrackedTime":e==="blockedBy"?"blocked":e==="file.tasks"||e==="formula.checklistProgress"?"checklistProgress":e}basesToInternal(e){return this.basesToTaskCardProperty(e)}basesToTaskInfoProperty(e){var i;let t=e.replace(/^(note\.|file\.|task\.)/,""),n=(i=this.fieldMapper)==null?void 0:i.lookupMappingKey(t);return n||(t==="ctime"||e==="file.ctime"?"dateCreated":t==="mtime"||e==="file.mtime"?"dateModified":t==="name"||t==="basename"?"title":t)}mapVisibleProperties(e){let t=new Set,n=[];for(let i of e){let a=this.basesToTaskCardProperty(i);t.has(a)||(t.add(a),n.push(a))}return n}}});function ok(r){if(r!=null)return H_(r)}function vd(r){if(r!=null)return Z(r)}function h0t(r){if(typeof r=="number")return r;if(typeof r=="string"&&r.trim()!==""){let e=Number(r);return Number.isNaN(e)?void 0:e}}function g0t(r){return Array.isArray(r)?r:void 0}function y0t(r){return Array.isArray(r)?r:void 0}function v0t(r){return r===void 0?void 0:xv(r)}function W$e(r,e,t){var d,u,p;let n=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","sortOrder","customProperties"]),i={};Object.keys(r).forEach(m=>{n.has(m)||(i[m]=r[m])});let a=g0t(r.timeEntries),s=a?Aa(a):0,o=!1,l=[],c=!1;return t!=null&&t.dependencyCache&&e.path?(o=t.dependencyCache.isTaskBlocked(e.path),l=t.dependencyCache.getBlockedTaskPaths(e.path),c=l.length>0):o=Array.isArray(r.blockedBy)&&r.blockedBy.length>0,{title:vd(r.title)||e.name||((u=(d=e.path)==null?void 0:d.split("/").pop())==null?void 0:u.replace(".md",""))||"Untitled",status:vd(r.status)||((p=t==null?void 0:t.settings)==null?void 0:p.defaultTaskStatus)||"open",priority:vd(r.priority)||"normal",path:e.path||"",archived:r.archived===!0,due:vd(r.due),scheduled:vd(r.scheduled),contexts:ok(r.contexts),projects:ok(r.projects),tags:ok(r.tags),timeEstimate:h0t(r.timeEstimate),completedDate:vd(r.completedDate),recurrence:vd(r.recurrence),dateCreated:vd(r.dateCreated),dateModified:vd(r.dateModified),timeEntries:a,totalTrackedTime:s,reminders:y0t(r.reminders),icsEventId:ok(r.icsEventId),complete_instances:ok(r.complete_instances),skipped_instances:ok(r.skipped_instances),blockedBy:v0t(r.blockedBy),blocking:l.length>0?l:void 0,isBlocked:o,isBlocking:c,sortOrder:vd(r.sortOrder),customProperties:Object.keys(i).length>0?i:void 0,basesData:e.basesData}}function b0t(r,e){if(!(r!=null&&r.path))return null;let t=r.properties||r.frontmatter||{};if(e!=null&&e.fieldMapper){let n=e.fieldMapper.mapFromFrontmatter(t,r.path,e.settings.storeTitleInFilename),i=W$e(n,r,e),a={};return Object.keys(t).forEach(s=>{s.startsWith("file.")&&(a[s]=t[s])}),{...i,customProperties:{...n.customProperties,...i.customProperties,...a}}}else return W$e(t,r,e)}async function np(r,e,t){let n=t||b0t,i=[];for(let a of r)if(a!=null&&a.path)try{let s=n(a,e);s&&i.push(s)}catch(s){f0t.warn("[TaskNotes][BasesPOC] Error converting Bases item to TaskInfo:",{category:"validation",operation:"converting-bases-item-taskinfo",error:s})}return i}var m0t,f0t,gP=y(()=>{m0t=require("obsidian");Ct();xc();Rh();m7();ko();gr();G();f0t=I({tag:"Bases/Helpers"})});function f7(r){return Array.isArray(r)?r.map(String):[String(r)]}function Xo(r,e,t){return r[e.toUserField(t)]}function ef(r){return Z(r)}function k0t(r,e){return new Set([...T0t.map(t=>r.toUserField(t)),r.toUserField("archiveTag"),"tags",...e.map(t=>t.key)])}function Y$e(r,e,t=[]){let n={},i={},a=Xo(r,e,"title");a!==void 0&&(n.title=ef(a));let s=Xo(r,e,"status");s!==void 0&&(n.status=ef(s));let o=Xo(r,e,"priority");o!==void 0&&(n.priority=ef(o));let l=Xo(r,e,"due");l!==void 0&&(n.due=ef(l));let c=Xo(r,e,"scheduled");c!==void 0&&(n.scheduled=ef(c));let d=Xo(r,e,"contexts");d!==void 0&&(n.contexts=f7(d));let u=Xo(r,e,"projects");u!==void 0&&(n.projects=f7(u)),r.tags!==void 0&&(n.tags=f7(r.tags)),Array.isArray(r.tags)&&(n.archived=r.tags.includes(e.toUserField("archiveTag")));let p=Xo(r,e,"timeEstimate");p!==void 0&&(n.timeEstimate=Number(p));let m=Xo(r,e,"recurrence");m!==void 0&&(n.recurrence=ef(m));let f=Xo(r,e,"completedDate");f!==void 0&&(n.completedDate=ef(f));let h=Xo(r,e,"dateCreated");h!==void 0&&(n.dateCreated=ef(h));let g=Xo(r,e,"blockedBy");g!==void 0&&(n.blockedBy=xv(g));for(let b of t)r[b.key]!==void 0&&(i[b.key]=r[b.key]);let v=k0t(e,t);for(let[b,w]of Object.entries(r))v.has(b)||(i[b]=w);let k={...n};return Object.keys(i).length>0&&(k.customFrontmatter=i),k}var T0t,G$e=y(()=>{ko();gr();T0t=["title","status","priority","due","scheduled","contexts","projects","timeEstimate","recurrence","completedDate","dateCreated","blockedBy"]});function iF(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}function h7(r){try{return JSON.parse(`"${r}"`)}catch(e){return r}}function K$e(r){let e={},t=iF(r.config)?r.config:{},n=iF(t.query)?t.query:void 0;return y7(n==null?void 0:n.filters,e,r),y7(t.filters,e,r),e}function y7(r,e,t){if(!iF(r))return;let n=r,i=Array.isArray(n.filters)?n.filters:[];if(i.length>0){if(n.conjunction!==void 0&&n.conjunction!=="and")return;for(let s of i)y7(s,e,t);return}let a=iF(n.rule)?n.rule.text:void 0;typeof a=="string"&&w0t(a,e,t)}function w0t(r,e,t){let n=r.trim(),i=n.match(/^file\.hasTag\("((?:\\.|[^"\\])*)"\)$/);if(i){let l=h7(i[1]);l!==t.taskTag&&nF(e,"tags",l,t.fieldMapper);return}let a=n.match(/^(.+?)\s*==\s*"((?:\\.|[^"\\])*)"$/);if(a){let l=g7(a[1],t);l&&nF(e,l,h7(a[2]),t.fieldMapper);return}let s=n.match(/^(.+?)\.contains\("((?:\\.|[^"\\])*)"\)$/);if(s){let l=g7(s[1],t);l&&nF(e,l,h7(s[2]),t.fieldMapper);return}let o=n.match(/^(.+?)\.contains\(this\.file\.asLink\(\)\)$/);if(o){let l=g7(o[1],t),c=S0t(t.currentFileLink);l&&c&&nF(e,l,c,t.fieldMapper)}}function S0t(r){return typeof r=="function"?r():r!=null?r:null}function g7(r,e){var i;let t=r.trim(),n=t.match(/^list\((.+)\)$/);if(n&&(t=n[1].trim()),t=t.replace(/^(note|task)\./,""),t==="tags"||t==="file.tags")return"tags";for(let a of E0t){let s=e.fieldMapper.toUserField(a);if(t===a||t===s)return s}return(i=e.userFields)!=null&&i.some(a=>a.key===t)?t:null}function nF(r,e,t,n){if(!new Set(["tags",n.toUserField("contexts"),n.toUserField("projects"),n.toUserField("blockedBy")]).has(e)){r[e]===void 0&&(r[e]=t);return}let a=r[e],s=Array.isArray(a)?a.filter(o=>typeof o=="string"):typeof a=="string"?[a]:[];s.includes(t)||(r[e]=[...s,t])}var E0t,Z$e=y(()=>{E0t=["title","status","priority","due","scheduled","contexts","projects","timeEstimate","completedDate","dateCreated","recurrence","blockedBy"]});function Q$e({config:r,fieldMapper:e,taskTag:t,userFields:n=[],currentFileLink:i,frontmatterProcessor:a}){let s=K$e({config:r,fieldMapper:e,taskTag:t,userFields:n,currentFileLink:i});return a==null||a(s),Y$e(s,e,n)}function J$e(r){let e=r.workspace.getActiveFile();return!e||e.extension==="base"?null:r.fileManager.generateMarkdownLink(e,e.path)}var X$e=y(()=>{G$e();Z$e()});function tze(r,e){let t=x0t(e),n=r.map(i=>t.map(a=>{var s,o;return a.id==="file"?(o=(s=i.file)==null?void 0:s.path)!=null?o:"":C0t(e.getPropertyValue(i,a.id))}));return{columns:t,rows:n}}function x0t(r){let e=r.getVisiblePropertyIds();return[{id:"file",label:"File"},...e.map(t=>({id:t,label:r.getPropertyDisplayName(t)||t}))]}function C0t(r){return Z(r).replace(/\r?\n/g," ")}function rze(r){return[r.columns.map(e=>eze(e.label)),...r.rows].map(e=>e.map(eze).join(" ")).join(`
`)}function nze(r){return[r.columns.map(e=>e.label),...r.rows].map(e=>e.map(D0t).join(",")).join(`
`)}function ize(r,e){let n=Z(r)||e||"tasknotes-bases-export";return`${P0t(n)}.csv`}function eze(r){return r.replace(/\t/g," ")}function D0t(r){return/[",\r\n]/.test(r)?`"${r.replace(/"/g,'""')}"`:r}function P0t(r){return r.trim().replace(/[\\/:*?"<>|]+/g,"-").replace(/\s+/g,"-").replace(/^-+|-+$/g,"")||"tasknotes-bases-export"}var aze=y(()=>{gr()});function sze(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}function oze(r,e){var o,l,c,d;let t=sze(r)?r:{},n=(l=(o=t.updatedTask)!=null?o:t.task)!=null?l:t.taskInfo;if(!(n!=null&&n.path))return{action:"ignore"};let i=n.path,a=(d=(c=t.originalTask)==null?void 0:c.path)!=null?d:typeof t.path=="string"?t.path:void 0;return e.has(i)||(a?e.has(a):!1)?a&&a!==i?{action:"refresh-renamed-task",removePath:a,addPath:i}:{action:"handle-task",task:n,source:_0t(t)}:M0t(t)?{action:"refresh-view"}:{action:"ignore"}}function M0t(r){return r.originalTask?!0:!(r.task!==void 0||r.taskInfo!==void 0)}function _0t(r){return r.task!==void 0||r.taskInfo!==void 0?"metadata-cache":"tasknotes-service"}function lze(r,e){var s,o,l,c;let t=sze(r)?r:{},n=typeof t.path=="string"?t.path:(s=t.deletedTask)==null?void 0:s.path,i=typeof n=="string"&&e.renderedTaskPaths.has(n),a=((c=(l=(o=t.deletedTask)==null?void 0:o.projects)==null?void 0:l.length)!=null?c:0)>0||A0t(t.prevCache,e.projectsField);return{deletedPath:n,shouldRefresh:i||a}}function cze(r){let e=new Set;if(!r)return e;let t=r.querySelectorAll(".task-card[data-task-path]");for(let n of Array.from(t))n.dataset.taskPath&&e.add(n.dataset.taskPath);return e}function A0t(r,e){let t=r==null?void 0:r.frontmatter;if(!t)return!1;let n=t[e];return Array.isArray(n)?n.length>0:typeof n=="string"&&n.trim().length>0}var v7=y(()=>{});function pze(r){var n;let e=r.closest(".bases-view"),t=e==null?void 0:e.parentElement;(n=t==null?void 0:t.querySelector(`.${b7}`))==null||n.remove(),t==null||t.classList.remove(uze)}function mze(r){var d;let e=r.containerEl.closest(".bases-view");if(!e)return"missing-bases-view";let t=e.parentElement;if(!t)return"missing-parent";t.classList.add(uze);let n=t.querySelector(".bases-toolbar");if(!n)return"missing-toolbar";(d=n.querySelector(`.${b7}`))==null||d.remove();let i=r.containerEl.ownerDocument,a=i.createElement("div");a.className=`bases-toolbar-item ${b7}`;let s=i.createElement("button");s.className="text-icon-button",s.type="button",s.setAttribute("aria-label",r.label);let o=i.createElement("span");o.className="text-button-icon",(0,dze.setIcon)(o,"plus"),s.appendChild(o);let l=i.createElement("span");l.className="text-button-label",l.textContent=r.label,s.appendChild(l),a.appendChild(s),a.addEventListener("click",r.onClick);let c=n.querySelector(".bases-toolbar-new-item-menu");return c?c.before(a):n.appendChild(a),"injected"}var dze,uze,b7,fze=y(()=>{dze=require("obsidian"),uze="tasknotes-view-active",b7="tn-bases-new-task-btn"});function hze({basesPropertyIds:r,propertyMapper:e,fallbackInternalProperties:t,toUserProperties:n}){let i=e.mapVisibleProperties([...r]);return i.length>0?i:n(t)}function gze({basesPropertyIds:r,propertyMapper:e,getDisplayName:t}){let n={};for(let i of r){let a=e.basesToTaskCardProperty(i),s=t(i);a&&typeof s=="string"&&s.trim()!==""&&(n[a]=s)}return n}var yze=y(()=>{});var vze,aF,bze=y(()=>{vze=require("obsidian");Nc();aF=class{constructor(e,t,n=300){this.searchBoxEl=null;this.inputEl=null;this.clearBtnEl=null;this.debouncedSearch=null;this.destroyed=!1;this.handleInput=()=>{if(!this.inputEl)return;let e=this.inputEl.value;this.updateClearButtonVisibility(),this.debouncedSearch&&this.debouncedSearch(e)};this.handleKeydown=e=>{e.key==="Escape"&&(this.clear(),this.debouncedSearch&&this.debouncedSearch(""))};this.handleClear=()=>{var e;this.clear(),this.debouncedSearch&&this.debouncedSearch(""),(e=this.inputEl)==null||e.focus()};this.container=e,this.onSearch=t,this.debounceMs=n,this.debouncedSearch=db(i=>{this.destroyed||this.onSearch(i)},this.debounceMs,!1)}render(){let e=this.container.ownerDocument;this.searchBoxEl=e.createElement("div"),this.searchBoxEl.className="tn-search-box";let t=e.createElement("div");t.className="tn-search-box__input-wrapper";let n=e.createElement("div");n.className="tn-search-box__icon",(0,vze.setIcon)(n,"search"),this.inputEl=e.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 i=e.createElement("button");return i.type="button",i.className="tn-search-box__clear",i.textContent="\xD7",i.setAttribute("aria-label","Clear search"),this.clearBtnEl=i,t.appendChild(n),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 e;return((e=this.inputEl)==null?void 0:e.value)||""}setValue(e){this.inputEl&&(this.inputEl.value=e,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 sF,Tze=y(()=>{gr();sF=class{constructor(e){this.visibleProperties=e||[]}filterTasks(e,t){let i=this.normalizeSearchTerm(t).split(/\s+/).filter(Boolean);return i.length===0?e:e.filter(a=>{let s=this.extractSearchableText(a);return i.some(o=>s.includes(o))})}extractSearchableText(e){let t=[];if(t.push(e.title||""),t.push(e.status||""),t.push(e.priority||""),e.tags&&Array.isArray(e.tags)&&t.push(e.tags.join(" ")),e.contexts&&Array.isArray(e.contexts)&&t.push(e.contexts.join(" ")),e.projects&&Array.isArray(e.projects)&&t.push(e.projects.join(" ")),e.customProperties&&this.visibleProperties.length>0)for(let n of this.visibleProperties){let i=e.customProperties[n];i!=null&&(Array.isArray(i)?t.push(i.join(" ")):t.push(Z(i)))}return t.join(" ").toLowerCase()}normalizeSearchTerm(e){return e.trim().toLowerCase()}}});function kze({container:r,visibleProperties:e,currentSearchTerm:t,onSearch:n,debounceMs:i=300}){let s=r.ownerDocument.createElement("div");s.className="tn-search-container",r.firstChild?r.insertBefore(s,r.firstChild):r.appendChild(s);let o=new sF([...e]),l=new aF(s,n,i);return l.render(),t&&l.setValue(t),{searchContainer:s,searchBox:l,searchFilter:o}}function wze(r,e,t){return r.length>0&&e===0&&t>0}function Sze(r,e){let t=r.ownerDocument,n=t.createElement("div");n.className="tn-search-no-results";let i=t.createElement("div");i.className="tn-search-no-results__text",i.textContent=`No tasks match "${e}"`;let a=t.createElement("div");return a.className="tn-search-no-results__hint",a.textContent="Try a different search term or clear the search",n.appendChild(i),n.appendChild(a),r.appendChild(n),n}var Eze=y(()=>{bze();Tze()});function Dze(r,e){if(e){r.classList.add("tn-selection-mode"),r.setAttribute("data-selection-mode","true");return}r.classList.remove("tn-selection-mode"),r.removeAttribute("data-selection-mode"),oF(r)}function Pze(r,e){if(!e){oF(r);return}let t=e.getPrimarySelectedPath(),n=r.querySelectorAll(".task-card");for(let a of n)Cze({element:a,path:a.dataset.taskPath,selected:a.dataset.taskPath?e.isSelected(a.dataset.taskPath):!1,primary:a.dataset.taskPath===t,selectedClass:"task-card--selected",primaryClass:"task-card--selected-primary"});let i=r.querySelectorAll(".kanban-view__card-wrapper");for(let a of i)Cze({element:a,path:a.dataset.taskPath,selected:a.dataset.taskPath?e.isSelected(a.dataset.taskPath):!1,primary:a.dataset.taskPath===t,selectedClass:"kanban-view__card-wrapper--selected",primaryClass:"kanban-view__card-wrapper--selected-primary"})}function oF(r){let e=r.querySelectorAll(".task-card--selected");for(let n of e)n.classList.remove("task-card--selected"),n.classList.remove("task-card--selected-primary");let t=r.querySelectorAll(".kanban-view__card-wrapper--selected");for(let n of t)n.classList.remove("kanban-view__card-wrapper--selected"),n.classList.remove("kanban-view__card-wrapper--selected-primary")}function Mze({rootElement:r,indicatorEl:e,count:t,onClearSelection:n}){if(t<=0)return e&&xze(e,"tn-static-display-none-6b99de8b"),e;let i=e!=null?e:N0t(r);return i.onclick=()=>{n()},i.onkeydown=a=>{a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),n())},i.textContent=`${t} selected`,i.setAttribute("aria-label",`${t} selected. Activate to clear selection.`),xze(i,"tn-static-display-block-2a1b75c9"),i}function _ze({event:r,taskPath:e,selectionService:t,getVisibleTaskPaths:n,updateSelectionVisuals:i}){return!t||!t.isSelectionModeActive()&&!r.shiftKey&&!r.ctrlKey&&!r.metaKey?!1:(r.shiftKey&&!t.isSelectionModeActive()&&t.enterSelectionMode(),r.shiftKey?t.selectRange(e,n()):(r.ctrlKey||r.metaKey||t.isSelectionModeActive())&&t.toggleSelection(e),i(),!0)}function Aze({event:r,selectionService:e,getVisibleTaskPaths:t,updateSelectionModeUi:n,updateSelectionVisuals:i}){if(!(e!=null&&e.isSelectionModeActive())||O0t(r.target))return!1;if(r.key==="Escape")return e.exitSelectionMode(!0),n(!1),!0;if((r.ctrlKey||r.metaKey)&&r.key.toLowerCase()==="a")return r.preventDefault(),e.selectAll(t()),i(),!0;let a=R0t(r);return a!==null?(r.preventDefault(),e.selectAdjacentRange(a,t()),i(),!0):!1}function Ize(r){if(!r)return[];let e=r.querySelectorAll(".task-card[data-task-path]"),t=[];for(let n of e){let i=n.dataset.taskPath;i&&t.push(i)}return t}function N0t(r){let t=r.ownerDocument.createElement("div");return t.className="tn-selection-indicator",t.setAttribute("role","button"),t.tabIndex=0,r.appendChild(t),t}function xze(r,e){r.classList.remove(...I0t),r.classList.add(e)}function Cze({element:r,path:e,selected:t,primary:n,selectedClass:i,primaryClass:a}){if(!e||!t){r.classList.remove(i),r.classList.remove(a);return}r.classList.add(i),n?r.classList.add(a):r.classList.remove(a)}function R0t(r){return r.shiftKey?r.key==="ArrowUp"||r.key==="ArrowLeft"?-1:r.key==="ArrowDown"||r.key==="ArrowRight"?1:null:null}function O0t(r){if(!(r instanceof HTMLElement))return!1;if(r.isContentEditable)return!0;let e=r.tagName.toLowerCase();return e==="input"||e==="textarea"||e==="select"}var I0t,Nze=y(()=>{I0t=["tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"]});function L0t(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}function F0t(r,e,t){let n=r;if(n&&typeof n.then=="function"){n.then(e,e);return}t(e,0)}function Rze({controller:r,view:e,isConnected:t,refresh:n,scheduleTimeout:i}){if(!L0t(r)||typeof r.onConfigChanged!="function")return null;let a=r,s=a.onConfigChanged;if(!s)return null;let o=()=>{a.view&&a.view!==e||t()&&n()},l=(...c)=>{let d=s.apply(a,c);return F0t(d,o,i),d};return a.onConfigChanged=l,()=>{a.onConfigChanged===l&&(a.onConfigChanged=s)}}function Oze({currentTimer:r,scheduler:e,isConnected:t,beforeRender:n,render:i,onTimerCleared:a,onRenderError:s,delayMs:o=500}){return t()?(r&&e.clearTimeout(r),e.setTimeout(()=>{a();try{n(),i()}catch(l){s(l)}},o)):r}function Lze({currentTimer:r,scheduler:e,render:t,onTimerCleared:n,delayMs:i=300}){return r&&e.clearTimeout(r),e.setTimeout(()=>{try{t()}finally{n()}},i)}var Fze=y(()=>{});function zze(r){return[{name:"Copy task filenames",icon:"lucide-file-text",callback:()=>r("filenames")},{name:"Copy task links",icon:"lucide-link",callback:()=>r("markdown-links")},{name:"Copy task titles",icon:"lucide-text",callback:()=>r("titles")}]}async function jze({dataItems:r,format:e,identifyTaskNotes:t,filterTasks:n,resolveLinkText:i,writeText:a}){let s=await t(r),l=n(s).map(d=>({path:d.path,title:d.title}));if(l.length===0)return{status:"empty"};let c=GA(l,e,i);return await a(c),{status:"copied",count:l.length}}function Bze(r,e){let t=r.vault.getAbstractFileByPath(e);return t instanceof $ze.TFile?r.metadataCache.fileToLinktext(t,""):e}var $ze,Uze=y(()=>{$ze=require("obsidian");fH()});async function $0t({eventData:r,isConnected:e,relevantPathsCache:t,handleTaskUpdate:n,debouncedRefresh:i,onError:a}){try{if(!e())return;let s=oze(r,t);if(s.action==="refresh-view"){i();return}if(s.action==="refresh-renamed-task"){t.delete(s.removePath),t.add(s.addPath),i();return}s.action==="handle-task"&&await n(s.task,s.source)}catch(s){a(s),i()}}function Hze({emitter:r,isConnected:e,relevantPathsCache:t,handleTaskUpdate:n,handleTaskDeleted:i,debouncedRefresh:a,onError:s}){let o=r.on(nt,d=>$0t({eventData:d,isConnected:e,relevantPathsCache:t,handleTaskUpdate:n,debouncedRefresh:a,onError:s})),l=r.on(Ja,d=>{i(d)}),c=r.on("file-deleted",d=>{i(d)});return[o,l,c]}function Vze(r,e){for(let t of e)r.offref(t)}var qze=y(()=>{Ur();v7()});function z0t(r,e){return e!==r||r.trim().startsWith("[[")}function j0t(r,e,t){if(!Array.isArray(r.projects)||r.projects.length===0)return!1;for(let n of r.projects){if(typeof n!="string"||n.trim().length===0)continue;let i=jt(n);if(!z0t(n,i))continue;let a=t(i,r.path);if(a!=null&&a.path&&e.has(a.path))return!0}return!1}function Wze(r,e){let t=new Set(r.map(n=>n.path));return r.filter(n=>!j0t(n,t,e))}var Yze=y(()=>{jn()});function B0t(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}var bd,Td,yP=y(()=>{bd=require("obsidian");q$e();m7();xc();Rh();gH();gP();X$e();aze();v7();fze();yze();Eze();Nze();Fze();Uze();qze();Yze();G();Td=class extends bd.Component{constructor(t,n,i){super();this.rootElement=null;this.taskUpdateListener=null;this.updateDebounceTimer=null;this.dataUpdateDebounceTimer=null;this.restoreConfigChangeHook=null;this.relevantPathsCache=new Set;this.enableSearch=!1;this.searchBox=null;this.searchContainerEl=null;this.searchFilter=null;this.currentSearchTerm="";this.selectionModeCleanup=null;this.selectionIndicatorEl=null;this.plugin=i,this.containerEl=n,this.logger=I({tag:()=>`Bases/${this.type}`,isDebugEnabled:()=>this.plugin.settings.enableDebugLogging}),this.dataAdapter=new rF(this,this.logger.child("DataAdapter")),this.propertyMapper=new hP(i.fieldMapper),this.createFileForView=this.createFileForView.bind(this),this.setupConfigChangeHook(t)}setupConfigChangeHook(t){let n=Rze({controller:t,view:this,isConnected:()=>{var i;return!!((i=this.rootElement)!=null&&i.isConnected)},refresh:()=>this.debouncedRefresh(),scheduleTimeout:(i,a)=>{this.getTimeoutScheduler().setTimeout(i,a)}});n&&(this.restoreConfigChangeHook=n,typeof this.register=="function"&&this.register(()=>{var i;(i=this.restoreConfigChangeHook)==null||i.call(this),this.restoreConfigChangeHook=null}))}getTimeoutScheduler(){let t=this.containerEl.ownerDocument.defaultView||window;return{setTimeout:(n,i)=>t.setTimeout(n,i),clearTimeout:n=>t.clearTimeout(n)}}onload(){this.setupContainer(),this.setupTaskUpdateListener(),this.setupSelectionHandling(),this.updateRelevantPathsCache(),this.render()}onDataUpdated(){var t;(t=this.rootElement)!=null&&t.isConnected&&(this.dataUpdateDebounceTimer=Oze({currentTimer:this.dataUpdateDebounceTimer,scheduler:this.getTimeoutScheduler(),isConnected:()=>{var n;return!!((n=this.rootElement)!=null&&n.isConnected)},beforeRender:()=>this.updateRelevantPathsCache(),render:()=>this.render(),onTimerCleared:()=>{this.dataUpdateDebounceTimer=null},onRenderError:n=>{this.logger.error("Render error during data update",{category:"internal",operation:"data-update-render",error:n}),this.renderError(n)},delayMs:500}))}updateRelevantPathsCache(){this.relevantPathsCache.clear();try{let t=this.dataAdapter.extractDataItems();for(let n of t)n.path&&this.relevantPathsCache.add(n.path)}catch(t){}}getEphemeralState(){var t;return{scrollTop:((t=this.rootElement)==null?void 0:t.scrollTop)||0}}setEphemeralState(t){if(!(!B0t(t)||!this.rootElement||!this.rootElement.isConnected))try{let n=t;typeof n.scrollTop=="number"&&(this.rootElement.scrollTop=n.scrollTop)}catch(n){this.logger.debug("Failed to restore ephemeral state",{category:"stale-data",operation:"restore-ephemeral-state",error:n})}}focus(){var t;try{(t=this.rootElement)!=null&&t.isConnected&&typeof this.rootElement.focus=="function"&&this.rootElement.focus()}catch(n){this.logger.debug("Failed to focus view",{category:"internal",operation:"focus-view",error:n})}}refresh(){this.render()}copyToClipboard(){this.copyBasesTableToClipboard()}exportTable(){this.exportBasesTableAsCsv()}getViewActions(){return zze(t=>{this.copyCurrentViewTasks(t)})}onResize(){}setupContainer(){this.containerEl.empty();let n=this.containerEl.ownerDocument.createElement("div");n.className=`tn-bases-integration tasknotes-plugin tasknotes-container tn-${this.type}`,n.tabIndex=-1,this.containerEl.appendChild(n),this.rootElement=n,this.setupNewTaskButton()}setupNewTaskButton(){window.setTimeout(()=>this.injectNewTaskButton(),100),this.register(()=>this.cleanupNewTaskButton())}cleanupNewTaskButton(){pze(this.containerEl)}injectNewTaskButton(){let t=mze({containerEl:this.containerEl,label:this.plugin.i18n.translate("common.new"),onClick:n=>{n.preventDefault(),n.stopPropagation(),this.createFileForView("New Task")}});if(t==="missing-bases-view"){this.logger.debug("No .bases-view element found",{category:"provider",operation:"inject-new-task-button"});return}if(t==="missing-parent"){this.logger.debug("No parent element found for Bases view",{category:"provider",operation:"inject-new-task-button"});return}if(t==="missing-toolbar"){this.logger.debug("No .bases-toolbar element found",{category:"provider",operation:"inject-new-task-button"});return}this.logger.debug("Injected New Task button into toolbar",{category:"provider",operation:"inject-new-task-button"})}setupTaskUpdateListener(){this.taskUpdateListener||(this.taskUpdateListener=Hze({emitter:this.plugin.emitter,isConnected:()=>{var t;return!!((t=this.rootElement)!=null&&t.isConnected)},relevantPathsCache:this.relevantPathsCache,handleTaskUpdate:(t,n)=>this.handleTaskUpdate(t,n),handleTaskDeleted:t=>this.handleTaskDeletedEvent(t),debouncedRefresh:()=>this.debouncedRefresh(),onError:t=>{this.logger.error("Error in task update handler",{category:"internal",operation:"task-update-handler",error:t})}}),this.register(()=>{this.taskUpdateListener&&(Vze(this.plugin.emitter,this.taskUpdateListener),this.taskUpdateListener=null)}))}handleTaskDeletedEvent(t){var i,a;let n=lze(t,{projectsField:this.plugin.fieldMapper.toUserField("projects"),renderedTaskPaths:cze(this.rootElement)});n.deletedPath&&this.relevantPathsCache.delete(n.deletedPath),(i=this.plugin.projectSubtasksService)==null||i.invalidateIndex(),(a=this.rootElement)!=null&&a.isConnected&&n.shouldRefresh&&this.debouncedRefresh()}debouncedRefresh(){this.updateDebounceTimer=Lze({currentTimer:this.updateDebounceTimer,scheduler:this.getTimeoutScheduler(),render:()=>this.render(),onTimerCleared:()=>{this.updateDebounceTimer=null},delayMs:300})}async createFileForView(t,n){let{TaskCreationModal:i}=await Promise.resolve().then(()=>(HI(),lwe)),a=this.app||this.plugin.app,s=Q$e({config:this.config,fieldMapper:this.plugin.fieldMapper,taskTag:this.plugin.settings.taskTag,userFields:this.plugin.settings.userFields||[],currentFileLink:()=>J$e(a),frontmatterProcessor:n});new i(a,this.plugin,{prePopulatedValues:s,onTaskCreated:l=>{this.refresh()}}).open()}getVisibleProperties(){let t=this.plugin.settings.defaultVisibleProperties||[...Sx,"tags"];return hze({basesPropertyIds:this.config.getOrder(),propertyMapper:this.propertyMapper,fallbackInternalProperties:t,toUserProperties:n=>Ra([...n],this.plugin)})}getVisiblePropertyLabels(){return gze({basesPropertyIds:this.config.getOrder(),propertyMapper:this.propertyMapper,getDisplayName:t=>{var n,i;return(i=(n=this.config).getDisplayName)==null?void 0:i.call(n,t)}})}buildTaskCardOptions(t={}){return{propertyLabels:this.getVisiblePropertyLabels(),...t}}filterTopLevelSubtasks(t){return Wze(t,(n,i)=>this.plugin.app.metadataCache.getFirstLinkpathDest(n,i))}setupSearch(t){if(this.searchBox&&!this.enableSearch){this.teardownSearch();return}if(this.searchBox){this.currentSearchTerm&&this.searchBox.getValue()!==this.currentSearchTerm&&this.searchBox.setValue(this.currentSearchTerm);return}if(!this.enableSearch)return;let n=[];try{this.config&&(n=this.getVisibleProperties())}catch(a){this.logger.debug("Could not get visible properties during search setup",{category:"provider",operation:"setup-search",error:a})}let i=kze({container:t,visibleProperties:n,currentSearchTerm:this.currentSearchTerm,onSearch:a=>this.handleSearch(a)});this.searchFilter=i.searchFilter,this.searchBox=i.searchBox,this.searchContainerEl=i.searchContainer,this.register(()=>this.teardownSearch())}teardownSearch(){var t;this.searchBox&&(this.searchBox.destroy(),this.searchBox=null),(t=this.searchContainerEl)==null||t.remove(),this.searchContainerEl=null,this.searchFilter=null,this.currentSearchTerm=""}handleSearch(t){let n=performance.now();this.currentSearchTerm=t,this.render();let i=performance.now()-n;i>200&&this.logger.warn("Slow search",{category:"internal",operation:"search",details:{elapsedMs:i,term:t}})}applySearchFilter(t){if(!this.searchFilter||!this.currentSearchTerm)return t;let n=performance.now(),i=this.searchFilter.filterTasks(t,this.currentSearchTerm),a=performance.now()-n;return a>100&&this.logger.warn("Slow filter operation",{category:"internal",operation:"filter",details:{elapsedMs:a,taskCount:t.length}}),i}async copyCurrentViewTasks(t){try{let n=this.app||this.plugin.app,i=await jze({dataItems:this.dataAdapter.extractDataItems(),format:t,identifyTaskNotes:a=>np(a,this.plugin),filterTasks:a=>this.applySearchFilter(a),resolveLinkText:a=>Bze(n,a.path),writeText:a=>navigator.clipboard.writeText(a)});if(i.status==="empty"){new bd.Notice("No tasks to copy");return}new bd.Notice(`Copied ${i.count} tasks`)}catch(n){this.logger.error("Failed to copy current view tasks",{category:"provider",operation:"copy-current-view-tasks",error:n}),new bd.Notice("Failed to copy tasks")}}getBasesExportTable(){var t,n;return tze((n=(t=this.data)==null?void 0:t.data)!=null?n:[],this.dataAdapter)}getBasesExportFileName(){var n;let t=typeof((n=this.config)==null?void 0:n.get)=="function"?this.config.get("name"):"";return ize(t,this.type)}async copyBasesTableToClipboard(){try{let t=this.getBasesExportTable(),n=rze(t);await navigator.clipboard.writeText(n),new bd.Notice(`Copied ${t.rows.length} rows`)}catch(t){this.logger.error("Failed to copy Bases table",{category:"provider",operation:"copy-bases-table",error:t}),new bd.Notice("Failed to copy table")}}async exportBasesTableAsCsv(){var t;try{let n=this.getBasesExportTable(),i=nze(n),a=new Blob([i],{type:"text/csv;charset=utf-8"}),s=(t=this.containerEl.ownerDocument.defaultView)!=null?t:window,o=s.URL.createObjectURL(a),l=this.containerEl.ownerDocument.createElement("a");l.href=o,l.download=this.getBasesExportFileName(),l.click(),s.URL.revokeObjectURL(o),new bd.Notice(`Exported ${n.rows.length} rows`)}catch(n){this.logger.error("Failed to export Bases table",{category:"provider",operation:"export-bases-table",error:n}),new bd.Notice("Failed to export table")}}isSearchWithNoResults(t,n){return wze(this.currentSearchTerm,t.length,n)}renderSearchNoResults(t){Sze(t,this.currentSearchTerm)}setupSelectionHandling(){if(!this.rootElement)return;let t=this.plugin.taskSelectionService;if(!t)return;let n=s=>{Aze({event:s,selectionService:t,getVisibleTaskPaths:()=>this.getVisibleTaskPaths(),updateSelectionModeUi:o=>this.updateSelectionModeUI(o),updateSelectionVisuals:()=>this.updateSelectionVisuals()})};this.rootElement.addEventListener("keydown",n);let i=t.onSelectionChange(s=>{this.updateSelectionVisuals(),this.updateSelectionIndicator(s.length)}),a=t.onSelectionModeChange(s=>{this.updateSelectionModeUI(s)});this.register(()=>{var s;(s=this.rootElement)==null||s.removeEventListener("keydown",n),i(),a()})}updateSelectionModeUI(t){this.rootElement&&Dze(this.rootElement,t)}updateSelectionVisuals(){if(!this.rootElement)return;let t=this.plugin.taskSelectionService;t&&Pze(this.rootElement,t)}clearSelectionVisuals(){this.rootElement&&oF(this.rootElement)}updateSelectionIndicator(t){this.rootElement&&(this.selectionIndicatorEl=Mze({rootElement:this.rootElement,indicatorEl:this.selectionIndicatorEl,count:t,onClearSelection:()=>{var n,i;(n=this.plugin.taskSelectionService)==null||n.clearSelection(),(i=this.plugin.taskSelectionService)==null||i.exitSelectionMode()}}))}handleSelectionClick(t,n){var s;let i=this.plugin.taskSelectionService,a=_ze({event:t,taskPath:n,selectionService:i,getVisibleTaskPaths:()=>this.getVisibleTaskPaths(),updateSelectionVisuals:()=>this.updateSelectionVisuals()});return a&&((s=this.rootElement)==null||s.focus({preventScroll:!0})),a}showBatchContextMenu(t){let n=this.plugin.taskSelectionService;if(!n)return;let i=n.getSelectedPaths();if(i.length===0)return;new tb({plugin:this.plugin,selectedPaths:i,onUpdate:()=>{this.render()}}).show(t)}getVisibleTaskPaths(){return Ize(this.rootElement)}}});function Kze(r,e,t){var c,d;let n=(c=t.sourcePath)!=null?c:"",i=jt(r),a=t.metadataCache.getFirstLinkpathDest(i,n)||t.metadataCache.getFirstLinkpathDest(i,"");if(!(a instanceof vP.TFile))return e;let s=t.metadataCache.getCache(a.path),o=(d=s==null?void 0:s.frontmatter)==null?void 0:d.title,l=U0t(e,a,i);if(typeof o=="string"&&o.trim().length>0)return l?o:e;if(l){let u=(e==null?void 0:e.trim())||"";return u&&!u.includes("/")?u:a.basename}return e}function U0t(r,e,t){let n=(r==null?void 0:r.trim())||"",i=e.path.replace(/\.md$/i,""),a=t.replace(/\.md$/i,"");return new Set(["",e.name,e.basename,e.path,i,t,a]).has(n)}function Zze(r){let e=r.match(/^\[\[([^\]]+)\]\]$/);if(!e)return null;let t=e[1];if(t.includes("|")){let i=t.split("|");return{filePath:i[0].trim(),displayText:i[1].trim()}}let n=(0,vP.parseLinktext)(t);return{filePath:n.path,displayText:n.path}}function Qze(r){let e=r.match(/^\[([^\]]*)\]\(([^)]+)\)$/);return e?{displayText:e[1].trim(),filePath:jt(r)}:null}function H0t(r){return Zze(r)||Qze(r)}function V0t(r,e){let t=r.slice(e),n=t.match(/^\[\[([^\]]+)\]\]/);if(n){let a=Zze(n[0]);return a?{segment:a,endIndex:e+n[0].length}:null}let i=t.match(/^\[([^\]]*)\]\(([^)]+)\)/);if(i){let a=Qze(i[0]);return a?{segment:a,endIndex:e+i[0].length}:null}return null}function q0t(r){var i,a,s,o,l;let e=[],t=0,n=0;for(;t<r.length;){let c=(a=(i=r.slice(t).match(/^\s*/))==null?void 0:i[0])!=null?a:"";t+=c.length;let d=V0t(r,t);if(!d)return null;e.push(d.segment),n+=1,t=d.endIndex;let u=(o=(s=r.slice(t).match(/^\s*/))==null?void 0:s[0])!=null?o:"";if(t+=u.length,t>=r.length)break;let p=(l=r.slice(t).match(/^,\s*/))==null?void 0:l[0];if(!p)return null;e.push(p),t+=p.length}return n>1?e:null}function Gze(r,e,t){let n=Kze(e.filePath,e.displayText,t);Dl(r,e.filePath,n,t,{cssClass:"internal-link task-group-link",hoverSource:"tasknotes-bases-group",showErrorNotices:!1})}function lF(r,e,t){let n=H0t(e);if(n){Gze(r,n,t);return}let i=q0t(e);if(i){for(let o of i)typeof o=="string"?r.appendChild(activeDocument.createTextNode(o)):Gze(r,o,t);return}let a=e.endsWith(".md")?e.replace(/\.md$/,""):e,s=t.metadataCache.getFirstLinkpathDest(a,"");if(s instanceof vP.TFile){let o=s.basename,l=Kze(a,o,t);Dl(r,a,l,t,{cssClass:"internal-link task-group-link",hoverSource:"tasknotes-bases-group",showErrorNotices:!1});return}r.textContent=e}var vP,T7=y(()=>{vP=require("obsidian");Kp();jn()});var W0t,tf,k7=y(()=>{G();W0t=I({tag:"Utils/VirtualScroller"}),tf=class{constructor(e){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.invalidatedKeys=new Set;this.handleScroll=()=>{this.scrollRAF===null&&(this.scrollRAF=window.requestAnimationFrame(()=>{this.updateVisibleRange(),this.scrollRAF=null}))};var t,n,i;this.container=e.container,this.items=e.items,this.estimatedHeight=(t=e.itemHeight)!=null?t:0,this.overscan=(n=e.overscan)!=null?n:5,this.renderItem=e.renderItem,this.getItemKey=(i=e.getItemKey)!=null?i:((a,s)=>String(s)),this.setupDOM(),this.attachScrollListener(),this.setupResizeObserver(),!e.itemHeight&&this.items.length>0&&this.calculateEstimatedHeight(),this.rebuildPositionCache(),this.updateVisibleRange()}setupDOM(){this.container.empty(),this.container.classList.remove("tn-static-margin-top-12px-91e0f558"),this.container.classList.add("tn-static-position-relative-d461c96d"),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 e=Math.min(5,this.items.length),t=[],n=this.contentContainer.createDiv({cls:"virtual-scroller__sample"});n.style.cssText=`
position: absolute;
visibility: hidden;
pointer-events: none;
`;for(let i=0;i<e;i++){let a=this.renderItem(this.items[i],i);n.appendChild(a);let s=a.getBoundingClientRect().height;s>0&&t.push(s)}if(n.remove(),t.length>0){let i=t.reduce((a,s)=>a+s,0);this.estimatedHeight=Math.ceil(i/t.length)}else this.estimatedHeight=60}findScrollContainer(e){let t=e;for(;t;){let i=window.getComputedStyle(t).overflowY;if(i==="scroll"||i==="auto")return t;t=t.parentElement}return e}getContainerBottomPadding(){var i;let e=this.container.ownerDocument.defaultView,t=(i=e==null?void 0:e.getComputedStyle(this.container).paddingBottom)!=null?i:"",n=Number.parseFloat(t);return Number.isFinite(n)?n:0}updateSpacerHeight(){this.spacer.style.height=`${this.totalHeight+this.getContainerBottomPadding()}px`}binarySearchPosition(e){if(this.positionCache.length===0)return 0;let t=0,n=this.positionCache.length-1;for(;t<n;){let i=Math.floor((t+n)/2);this.positionCache[i]<e?t=i+1:n=i}return Math.max(0,t-1)}getItemHeight(e){var t;return(t=this.itemHeights.get(e))!=null?t:this.estimatedHeight}getItemPosition(e){return e<0||e>=this.positionCache.length?0:this.positionCache[e]}rebuildPositionCache(){this.positionCache=[];let e=0;for(let t=0;t<this.items.length;t++)this.positionCache[t]=e,e+=this.getItemHeight(t);this.totalHeight=e,this.updateSpacerHeight()}getItemEntries(){return this.items.map((e,t)=>({item:e,key:this.getItemKey(e,t),height:this.itemHeights.get(t)}))}hasUniqueStableKeys(e){let t=new Set;for(let n of e){if(t.has(n.key))return!1;t.add(n.key)}return!0}applyItemEntries(e){this.items=e.map(n=>n.item),this.state.totalItems=this.items.length;let t=new Map;e.forEach((n,i)=>{n.height!==void 0&&t.set(i,n.height)}),this.itemHeights=t,this.pendingMeasurements.clear(),this.rebuildPositionCache()}forceVisibleRangeUpdate(){this.state.startIndex=-1,this.state.endIndex=-1,this.updateVisibleRange()}getUniqueCurrentEntries(){let e=this.getItemEntries();return this.hasUniqueStableKeys(e)?e:null}buildEntriesAfterRemoval(e){let t=new Set(e);if(e.length===0||t.size!==e.length)return null;let n=this.getUniqueCurrentEntries();if(!n)return null;let i=new Set(n.map(o=>o.key));if(!e.every(o=>i.has(o)))return null;let a=n.filter(o=>!t.has(o.key));return a.every((o,l)=>this.getItemKey(o.item,l)===o.key)?a:null}buildEntriesAfterInsertion(e){var l;if(e.items.length===0)return null;let t=this.getUniqueCurrentEntries();if(!t)return null;let n=(l=e.position)!=null?l:"end";if(n!=="end"&&!e.targetKey)return null;let i=t.length;if(n!=="end"){let c=t.findIndex(d=>d.key===e.targetKey);if(c===-1)return null;i=n==="before"?c:c+1}let a=e.items.map((c,d)=>({item:c,key:this.getItemKey(c,i+d)})),s=[...t.slice(0,i),...a,...t.slice(i)];return this.hasUniqueStableKeys(s)&&s.every((c,d)=>this.getItemKey(c.item,d)===c.key)?s:null}setupResizeObserver(){this.resizeObserver=new ResizeObserver(e=>{for(let t of e){let n=t.target,i=parseInt(n.dataset.virtualIndex||"-1",10);i>=0&&i<this.items.length&&this.pendingMeasurements.add(i)}this.measurementRAF===null&&(this.measurementRAF=window.requestAnimationFrame(()=>{this.processPendingMeasurements(),this.measurementRAF=null}))})}processPendingMeasurements(){if(this.pendingMeasurements.size===0)return;let e=!1;for(let t of this.pendingMeasurements){let n=this.contentContainer.querySelector(`[data-virtual-index="${t}"]`);if(n){let i=n.getBoundingClientRect().height;this.itemHeights.get(t)!==i&&i>0&&(this.itemHeights.set(t,i),e=!0)}}this.pendingMeasurements.clear(),e&&this.rebuildPositionCache()}measureRenderedItems(){let e=this.contentContainer.querySelectorAll("[data-virtual-index]"),t=!1;for(let n of e){let i=parseInt(n.dataset.virtualIndex||"-1",10);if(i>=0&&i<this.items.length){let a=n.getBoundingClientRect().height;this.itemHeights.get(i)!==a&&a>0&&(this.itemHeights.set(i,a),t=!0)}}t&&this.rebuildPositionCache()}attachScrollListener(){this.scrollContainer.addEventListener("scroll",this.handleScroll)}updateVisibleRange(){var o;let e=this.scrollContainer.scrollTop,t=this.scrollContainer.clientHeight;t===0&&(t=((o=this.scrollContainer.parentElement)==null?void 0:o.clientHeight)||0),t===0&&(t=window.innerHeight,W0t.warn("[VirtualScroller] Using window height as fallback:",{category:"configuration",operation:"using-window-height-as-fallback",details:{value:t}}));let n=Math.max(0,this.binarySearchPosition(e)-this.overscan),i=n,a=e+t;for(;i<this.items.length-1&&!(this.getItemPosition(i)+this.getItemHeight(i)>a);)i++;i=Math.min(this.items.length-1,i+this.overscan);let s=this.getItemPosition(n);(n!==this.state.startIndex||i!==this.state.endIndex||this.items.length!==this.state.totalItems)&&(this.state={startIndex:n,endIndex:i,totalItems:this.items.length,offsetY:s},this.renderVisibleItems())}renderVisibleItems(){let{startIndex:e,endIndex:t,offsetY:n}=this.state,i=new Set;this.contentContainer.style.transform=`translateY(${n}px)`;let a=new Map;for(let[o,l]of this.renderedElements)l.parentElement===this.contentContainer&&a.set(o,l);let s=null;for(let o=e;o<=t;o++){let l=this.items[o],c=this.getItemKey(l,o);i.add(c);let d=this.renderedElements.get(c);d&&this.invalidatedKeys.has(c)&&(this.resizeObserver&&this.resizeObserver.unobserve(d),d.remove(),this.renderedElements.delete(c),d=void 0),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)),this.invalidatedKeys.delete(c),s?d.previousElementSibling!==s&&s.after(d):this.contentContainer.firstChild!==d&&this.contentContainer.prepend(d),s=d}for(let[o,l]of this.renderedElements)i.has(o)||(this.resizeObserver&&this.resizeObserver.unobserve(l),l.remove(),this.renderedElements.delete(o),this.invalidatedKeys.delete(o));window.requestAnimationFrame(()=>{this.measureRenderedItems()})}updateItems(e){let t=this.scrollContainer.scrollTop;this.items=e,this.state.totalItems=e.length;let n=this.itemHeights.size;for(let i=e.length;i<n;i++)this.itemHeights.delete(i);this.rebuildPositionCache();for(let i of this.renderedElements.values())this.resizeObserver&&this.resizeObserver.unobserve(i);this.renderedElements.clear(),this.contentContainer.empty(),this.state.startIndex=-1,this.state.endIndex=-1,this.scrollContainer.scrollTop=t,this.updateVisibleRange()}getItems(){return[...this.items]}reorderItems(e){let t=[...e.movedKeys],n=new Set(t);if(t.length===0||n.size!==t.length||n.has(e.targetKey))return!1;let i=this.getItemEntries();if(!this.hasUniqueStableKeys(i))return!1;let a=new Map(i.map(m=>[m.key,m]));if(!a.has(e.targetKey)||!t.every(m=>a.has(m)))return!1;let s=i.filter(m=>!n.has(m.key)),o=s.findIndex(m=>m.key===e.targetKey);if(o===-1)return!1;let l=[];for(let m of t){let f=a.get(m);if(!f)return!1;l.push(f)}let c=e.position==="before"?o:o+1,d=[...s.slice(0,c),...l,...s.slice(c)];if(!d.every((m,f)=>this.getItemKey(m.item,f)===m.key))return!1;let p=this.scrollContainer.scrollTop;return this.applyItemEntries(d),this.scrollContainer.scrollTop=p,this.forceVisibleRangeUpdate(),!0}canRemoveItems(e){return this.buildEntriesAfterRemoval(e)!==null}removeItems(e){let t=this.buildEntriesAfterRemoval(e);if(!t)return!1;let n=this.scrollContainer.scrollTop;for(let i of e){let a=this.renderedElements.get(i);a&&(this.resizeObserver&&this.resizeObserver.unobserve(a),a.remove(),this.renderedElements.delete(i)),this.invalidatedKeys.delete(i)}return this.applyItemEntries(t),this.scrollContainer.scrollTop=n,this.forceVisibleRangeUpdate(),!0}canInsertItems(e){return this.buildEntriesAfterInsertion(e)!==null}insertItems(e){let t=this.buildEntriesAfterInsertion(e);if(!t)return!1;let n=this.scrollContainer.scrollTop;return this.applyItemEntries(t),this.scrollContainer.scrollTop=n,this.forceVisibleRangeUpdate(),!0}invalidateItems(e,t={}){if(e.length===0)return;let n=new Set(e);if(t.invalidateHeights){for(let i of n){let a=this.renderedElements.get(i);if(!a)continue;let s=parseInt(a.dataset.virtualIndex||"-1",10);s>=0&&this.itemHeights.delete(s)}this.rebuildPositionCache()}for(let i of n)this.invalidatedKeys.add(i);this.forceVisibleRangeUpdate()}scrollToIndex(e,t="smooth"){let n=this.getItemPosition(e);this.scrollContainer.scrollTo({top:n,behavior:t})}recalculate(){this.state.startIndex=-1,this.state.endIndex=-1,this.updateSpacerHeight(),this.updateVisibleRange()}invalidateItem(e){this.invalidateItems([e],{invalidateHeights:!0})}invalidateHeights(e){for(let t of e)this.itemHeights.delete(t);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(),this.invalidatedKeys.clear()}}});var Jze=E(cF=>{"use strict";Object.defineProperty(cF,"__esModule",{value:!0});cF.lexoHelper=void 0;cF.lexoHelper={arrayCopy:Y0t};function Y0t(r,e,t,n,i){let a=n,s=e+i;for(let o=e;o<s;o++)t[a]=r[o],++a}});var dF=E(S7=>{"use strict";Object.defineProperty(S7,"__esModule",{value:!0});var w7=class{constructor(e=""){this.str=e}get length(){return this.str.length}set length(e){this.str=this.str.substring(0,e)}append(e){return this.str=this.str+e,this}remove(e,t){return this.str=this.str.substr(0,e)+this.str.substr(e+t),this}insert(e,t){return this.str=this.str.substr(0,e)+t+this.str.substr(e),this}toString(){return this.str}};S7.default=w7});var mF=E(pF=>{"use strict";Object.defineProperty(pF,"__esModule",{value:!0});pF.LexoInteger=void 0;var uF=Jze(),G0t=dF(),rf=class r{constructor(e,t,n){this.sys=e,this.sign=t,this.mag=n}static parse(e,t){let n=e,i=1;e.indexOf(t.getPositiveChar())===0?n=e.substring(1):e.indexOf(t.getNegativeChar())===0&&(n=e.substring(1),i=-1);let a=new Array(n.length),s=a.length-1;for(let o=0;s>=0;++o)a[o]=t.toDigit(n.charAt(s)),--s;return r.make(t,i,a)}static zero(e){return new r(e,0,r.ZERO_MAG)}static one(e){return r.make(e,1,r.ONE_MAG)}static make(e,t,n){let i;for(i=n.length;i>0&&n[i-1]===0;--i);if(i===0)return r.zero(e);if(i===n.length)return new r(e,t,n);let a=new Array(i).fill(0);return uF.lexoHelper.arrayCopy(n,0,a,0,i),new r(e,t,a)}static add(e,t,n){let i=Math.max(t.length,n.length),a=new Array(i).fill(0),s=0;for(let o=0;o<i;++o){let l=o<t.length?t[o]:0,c=o<n.length?n[o]:0,d=l+c+s;for(s=0;d>=e.getBase();d-=e.getBase())++s;a[o]=d}return r.extendWithCarry(a,s)}static extendWithCarry(e,t){if(t>0){let n=new Array(e.length+1).fill(0);return uF.lexoHelper.arrayCopy(e,0,n,0,e.length),n[n.length-1]=t,n}return e}static subtract(e,t,n){let i=r.complement(e,n,t.length),a=r.add(e,t,i);return a[a.length-1]=0,r.add(e,a,r.ONE_MAG)}static multiply(e,t,n){let i=new Array(t.length+n.length).fill(0);for(let a=0;a<t.length;++a)for(let s=0;s<n.length;++s){let o=a+s;for(i[o]+=t[a]*n[s];i[o]>=e.getBase();i[o]-=e.getBase())++i[o+1]}return i}static complement(e,t,n){if(n<=0)throw new Error("Expected at least 1 digit");let i=new Array(n).fill(e.getBase()-1);for(let a=0;a<t.length;++a)i[a]=e.getBase()-1-t[a];return i}static compare(e,t){if(e.length<t.length)return-1;if(e.length>t.length)return 1;for(let n=e.length-1;n>=0;--n){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0}add(e){if(this.checkSystem(e),this.isZero())return e;if(e.isZero())return this;if(this.sign!==e.sign){let n;return this.sign===-1?(n=this.negate(),n.subtract(e).negate()):(n=e.negate(),this.subtract(n))}let t=r.add(this.sys,this.mag,e.mag);return r.make(this.sys,this.sign,t)}subtract(e){if(this.checkSystem(e),this.isZero())return e.negate();if(e.isZero())return this;if(this.sign!==e.sign){let n;return this.sign===-1?(n=this.negate(),n.add(e).negate()):(n=e.negate(),this.add(n))}let t=r.compare(this.mag,e.mag);return t===0?r.zero(this.sys):t<0?r.make(this.sys,this.sign===-1?1:-1,r.subtract(this.sys,e.mag,this.mag)):r.make(this.sys,this.sign===-1?-1:1,r.subtract(this.sys,this.mag,e.mag))}multiply(e){if(this.checkSystem(e),this.isZero())return this;if(e.isZero())return e;if(this.isOneish())return this.sign===e.sign?r.make(this.sys,1,e.mag):r.make(this.sys,-1,e.mag);if(e.isOneish())return this.sign===e.sign?r.make(this.sys,1,this.mag):r.make(this.sys,-1,this.mag);let t=r.multiply(this.sys,this.mag,e.mag);return this.sign===e.sign?r.make(this.sys,1,t):r.make(this.sys,-1,t)}negate(){return this.isZero()?this:r.make(this.sys,this.sign===1?-1:1,this.mag)}shiftLeft(e=1){if(e===0)return this;if(e<0)return this.shiftRight(Math.abs(e));let t=new Array(this.mag.length+e).fill(0);return uF.lexoHelper.arrayCopy(this.mag,0,t,e,this.mag.length),r.make(this.sys,this.sign,t)}shiftRight(e=1){if(this.mag.length-e<=0)return r.zero(this.sys);let t=new Array(this.mag.length-e).fill(0);return uF.lexoHelper.arrayCopy(this.mag,e,t,0,t.length),r.make(this.sys,this.sign,t)}complement(){return this.complementDigits(this.mag.length)}complementDigits(e){return r.make(this.sys,this.sign,r.complement(this.sys,this.mag,e))}isZero(){return this.sign===0&&this.mag.length===1&&this.mag[0]===0}isOne(){return this.sign===1&&this.mag.length===1&&this.mag[0]===1}getMag(e){return this.mag[e]}compareTo(e){if(this===e)return 0;if(!e)return 1;if(this.sign===-1){if(e.sign===-1){let t=r.compare(this.mag,e.mag);return t===-1?1:t===1?-1:0}return-1}return this.sign===1?e.sign===1?r.compare(this.mag,e.mag):1:e.sign===-1?1:e.sign===1?-1:0}getSystem(){return this.sys}format(){if(this.isZero())return""+this.sys.toChar(0);let e=new G0t.default,t=this.mag,n=t.length;for(let i=0;i<n;++i){let a=t[i];e.insert(0,this.sys.toChar(a))}return this.sign===-1&&e.insert(0,this.sys.getNegativeChar()),e.toString()}equals(e){return this===e?!0:e?this.sys.getBase()===e.sys.getBase()&&this.compareTo(e)===0:!1}toString(){return this.format()}isOneish(){return this.mag.length===1&&this.mag[0]===1}checkSystem(e){if(this.sys.getBase()!==e.sys.getBase())throw new Error("Expected numbers of same numeral sys")}};pF.LexoInteger=rf;rf.ZERO_MAG=[0];rf.ONE_MAG=[1];rf.NEGATIVE_SIGN=-1;rf.ZERO_SIGN=0;rf.POSITIVE_SIGN=1});var x7=E(fF=>{"use strict";Object.defineProperty(fF,"__esModule",{value:!0});fF.LexoDecimal=void 0;var bP=mF(),K0t=dF(),E7=class r{constructor(e,t){this.mag=e,this.sig=t}static half(e){let t=e.getBase()/2|0;return r.make(bP.LexoInteger.make(e,1,[t]),1)}static parse(e,t){let n=e.indexOf(t.getRadixPointChar());if(e.lastIndexOf(t.getRadixPointChar())!==n)throw new Error("More than one "+t.getRadixPointChar());if(n<0)return r.make(bP.LexoInteger.parse(e,t),0);let i=e.substring(0,n)+e.substring(n+1);return r.make(bP.LexoInteger.parse(i,t),e.length-1-n)}static from(e){return r.make(e,0)}static make(e,t){if(e.isZero())return new r(e,0);let n=0;for(let s=0;s<t&&e.getMag(s)===0;++s)++n;let i=e.shiftRight(n),a=t-n;return new r(i,a)}getSystem(){return this.mag.getSystem()}add(e){let t=this.mag,n=this.sig,i=e.mag,a;for(a=e.sig;n<a;++n)t=t.shiftLeft();for(;n>a;)i=i.shiftLeft(),++a;return r.make(t.add(i),n)}subtract(e){let t=this.mag,n=this.sig,i=e.mag,a;for(a=e.sig;n<a;++n)t=t.shiftLeft();for(;n>a;)i=i.shiftLeft(),++a;return r.make(t.subtract(i),n)}multiply(e){return r.make(this.mag.multiply(e.mag),this.sig+e.sig)}floor(){return this.mag.shiftRight(this.sig)}ceil(){if(this.isExact())return this.mag;let e=this.floor();return e.add(bP.LexoInteger.one(e.getSystem()))}isExact(){if(this.sig===0)return!0;for(let e=0;e<this.sig;++e)if(this.mag.getMag(e)!==0)return!1;return!0}getScale(){return this.sig}setScale(e,t=!1){if(e>=this.sig)return this;e<0&&(e=0);let n=this.sig-e,i=this.mag.shiftRight(n);return t&&(i=i.add(bP.LexoInteger.one(i.getSystem()))),r.make(i,e)}compareTo(e){if(this===e)return 0;if(!e)return 1;let t=this.mag,n=e.mag;return this.sig>e.sig?n=n.shiftLeft(this.sig-e.sig):this.sig<e.sig&&(t=t.shiftLeft(e.sig-this.sig)),t.compareTo(n)}format(){let e=this.mag.format();if(this.sig===0)return e;let t=new K0t.default(e),n=t[0],i=n===this.mag.getSystem().getPositiveChar()||n===this.mag.getSystem().getNegativeChar();for(i&&t.remove(0,1);t.length<this.sig+1;)t.insert(0,this.mag.getSystem().toChar(0));return t.insert(t.length-this.sig,this.mag.getSystem().getRadixPointChar()),t.length-this.sig===0&&t.insert(0,this.mag.getSystem().toChar(0)),i&&t.insert(0,n),t.toString()}equals(e){return this===e?!0:e?this.mag.equals(e.mag)&&this.sig===e.sig:!1}toString(){return this.format()}};fF.LexoDecimal=E7});var P7=E(D7=>{"use strict";Object.defineProperty(D7,"__esModule",{value:!0});var Xze=mF(),eje=M7(),C7=class r{constructor(e){this.value=Xze.LexoInteger.parse(e,eje.LexoRank.NUMERAL_SYSTEM)}static get BUCKET_0(){return this._BUCKET_0||(this._BUCKET_0=new r("0")),this._BUCKET_0}static get BUCKET_1(){return this._BUCKET_1||(this._BUCKET_1=new r("1")),this._BUCKET_1}static get BUCKET_2(){return this._BUCKET_2||(this._BUCKET_2=new r("2")),this._BUCKET_2}static get VALUES(){return this._VALUES||(this._VALUES=[r.BUCKET_0,r.BUCKET_1,r.BUCKET_2]),this._VALUES}static max(){return r.VALUES[r.VALUES.length-1]}static from(e){let t=Xze.LexoInteger.parse(e,eje.LexoRank.NUMERAL_SYSTEM),n=r.VALUES,i=n.length;for(let a=0;a<i;++a){let s=n[a];if(s.value.equals(t))return s}throw new Error("Unknown bucket: "+e)}static resolve(e){let t=r.VALUES,n=t.length;for(let i=0;i<n;++i){let a=t[i];if(a.equals(r.from(e.toString())))return a}throw new Error("No bucket found with id "+e)}format(){return this.value.format()}next(){return this.equals(r.BUCKET_0)?r.BUCKET_1:this.equals(r.BUCKET_1)?r.BUCKET_2:this.equals(r.BUCKET_2)?r.BUCKET_0:r.BUCKET_2}prev(){return this.equals(r.BUCKET_0)?r.BUCKET_2:this.equals(r.BUCKET_1)?r.BUCKET_0:this.equals(r.BUCKET_2)?r.BUCKET_1:r.BUCKET_0}equals(e){return this===e?!0:e?this.value.equals(e.value):!1}};D7.default=C7});var rje=E(tje=>{"use strict";Object.defineProperty(tje,"__esModule",{value:!0})});var nje=E(hF=>{"use strict";Object.defineProperty(hF,"__esModule",{value:!0});hF.LexoNumeralSystem10=void 0;var _7=class{getBase(){return 10}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return"."}toDigit(e){if(e>="0"&&e<="9")return e.charCodeAt(0)-48;throw new Error("Not valid digit: "+e)}toChar(e){return String.fromCharCode(e+48)}};hF.LexoNumeralSystem10=_7});var ije=E(gF=>{"use strict";Object.defineProperty(gF,"__esModule",{value:!0});gF.LexoNumeralSystem36=void 0;var A7=class{constructor(){this.DIGITS="0123456789abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 36}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(e){if(e>="0"&&e<="9")return e.charCodeAt(0)-48;if(e>="a"&&e<="z")return e.charCodeAt(0)-97+10;throw new Error("Not valid digit: "+e)}toChar(e){return this.DIGITS[e]}};gF.LexoNumeralSystem36=A7});var aje=E(yF=>{"use strict";Object.defineProperty(yF,"__esModule",{value:!0});yF.LexoNumeralSystem64=void 0;var I7=class{constructor(){this.DIGITS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 64}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(e){if(e>="0"&&e<="9")return e.charCodeAt(0)-48;if(e>="A"&&e<="Z")return e.charCodeAt(0)-65+10;if(e==="^")return 36;if(e==="_")return 37;if(e>="a"&&e<="z")return e.charCodeAt(0)-97+38;throw new Error("Not valid digit: "+e)}toChar(e){return this.DIGITS[e]}};yF.LexoNumeralSystem64=I7});var N7=E(kd=>{"use strict";var Z0t=kd&&kd.__createBinding||(Object.create?(function(r,e,t,n){n===void 0&&(n=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(r,n,i)}):(function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]})),vF=kd&&kd.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Z0t(e,r,t)};Object.defineProperty(kd,"__esModule",{value:!0});vF(rje(),kd);vF(nje(),kd);vF(ije(),kd);vF(aje(),kd)});var M7=E(TF=>{"use strict";Object.defineProperty(TF,"__esModule",{value:!0});TF.LexoRank=void 0;var wd=x7(),bF=P7(),Q0t=dF(),J0t=N7(),R7=class r{constructor(e,t){this.value=e.format()+"|"+r.formatDecimal(t),this.bucket=e,this.decimal=t}static get NUMERAL_SYSTEM(){return this._NUMERAL_SYSTEM||(this._NUMERAL_SYSTEM=new J0t.LexoNumeralSystem36),this._NUMERAL_SYSTEM}static get ZERO_DECIMAL(){return this._ZERO_DECIMAL||(this._ZERO_DECIMAL=wd.LexoDecimal.parse("0",r.NUMERAL_SYSTEM)),this._ZERO_DECIMAL}static get ONE_DECIMAL(){return this._ONE_DECIMAL||(this._ONE_DECIMAL=wd.LexoDecimal.parse("1",r.NUMERAL_SYSTEM)),this._ONE_DECIMAL}static get EIGHT_DECIMAL(){return this._EIGHT_DECIMAL||(this._EIGHT_DECIMAL=wd.LexoDecimal.parse("8",r.NUMERAL_SYSTEM)),this._EIGHT_DECIMAL}static get MIN_DECIMAL(){return this._MIN_DECIMAL||(this._MIN_DECIMAL=r.ZERO_DECIMAL),this._MIN_DECIMAL}static get MAX_DECIMAL(){return this._MAX_DECIMAL||(this._MAX_DECIMAL=wd.LexoDecimal.parse("1000000",r.NUMERAL_SYSTEM).subtract(r.ONE_DECIMAL)),this._MAX_DECIMAL}static get MID_DECIMAL(){return this._MID_DECIMAL||(this._MID_DECIMAL=r.between(r.MIN_DECIMAL,r.MAX_DECIMAL)),this._MID_DECIMAL}static get INITIAL_MIN_DECIMAL(){return this._INITIAL_MIN_DECIMAL||(this._INITIAL_MIN_DECIMAL=wd.LexoDecimal.parse("100000",r.NUMERAL_SYSTEM)),this._INITIAL_MIN_DECIMAL}static get INITIAL_MAX_DECIMAL(){return this._INITIAL_MAX_DECIMAL||(this._INITIAL_MAX_DECIMAL=wd.LexoDecimal.parse(r.NUMERAL_SYSTEM.toChar(r.NUMERAL_SYSTEM.getBase()-2)+"00000",r.NUMERAL_SYSTEM)),this._INITIAL_MAX_DECIMAL}static min(){return r.from(bF.default.BUCKET_0,r.MIN_DECIMAL)}static middle(){let e=r.min();return e.between(r.max(e.bucket))}static max(e=bF.default.BUCKET_0){return r.from(e,r.MAX_DECIMAL)}static initial(e){return e===bF.default.BUCKET_0?r.from(e,r.INITIAL_MIN_DECIMAL):r.from(e,r.INITIAL_MAX_DECIMAL)}static between(e,t){if(e.getSystem().getBase()!==t.getSystem().getBase())throw new Error("Expected same system");let n=e,i=t,a;if(e.getScale()<t.getScale()){if(a=t.setScale(e.getScale(),!1),e.compareTo(a)>=0)return r.mid(e,t);i=a}if(e.getScale()>i.getScale()){if(a=e.setScale(i.getScale(),!0),a.compareTo(i)>=0)return r.mid(e,t);n=a}let s;for(let c=n.getScale();c>0;i=s){let d=c-1,u=n.setScale(d,!0);if(s=i.setScale(d,!1),u.compareTo(s)===0)return r.checkMid(e,t,u);if(u.compareTo(s)>0)break;c=d,n=u}let o=r.middleInternal(e,t,n,i),l;for(let c=o.getScale();c>0;c=l){l=c-1;let d=o.setScale(l);if(e.compareTo(d)>=0||d.compareTo(t)>=0)break;o=d}return o}static parse(e){let t=e.split("|"),n=bF.default.from(t[0]),i=wd.LexoDecimal.parse(t[1],r.NUMERAL_SYSTEM);return new r(n,i)}static from(e,t){if(t.getSystem().getBase()!==r.NUMERAL_SYSTEM.getBase())throw new Error("Expected different system");return new r(e,t)}static middleInternal(e,t,n,i){let a=r.mid(n,i);return r.checkMid(e,t,a)}static checkMid(e,t,n){return e.compareTo(n)>=0||n.compareTo(t)>=0?r.mid(e,t):n}static mid(e,t){let i=e.add(t).multiply(wd.LexoDecimal.half(e.getSystem())),a=e.getScale()>t.getScale()?e.getScale():t.getScale();if(i.getScale()>a){let s=i.setScale(a,!1);if(s.compareTo(e)>0)return s;let o=i.setScale(a,!0);if(o.compareTo(t)<0)return o}return i}static formatDecimal(e){let t=e.format(),n=new Q0t.default(t),i=t.indexOf(r.NUMERAL_SYSTEM.getRadixPointChar()),a=r.NUMERAL_SYSTEM.toChar(0);for(i<0&&(i=t.length,n.append(r.NUMERAL_SYSTEM.getRadixPointChar()));i<6;)n.insert(0,a),++i;for(;n[n.length-1]===a;)n.length=n.length-1;return n.toString()}genPrev(){if(this.isMax())return new r(this.bucket,r.INITIAL_MAX_DECIMAL);let e=this.decimal.floor(),n=wd.LexoDecimal.from(e).subtract(r.EIGHT_DECIMAL);return n.compareTo(r.MIN_DECIMAL)<=0&&(n=r.between(r.MIN_DECIMAL,this.decimal)),new r(this.bucket,n)}genNext(){if(this.isMin())return new r(this.bucket,r.INITIAL_MIN_DECIMAL);let e=this.decimal.ceil(),n=wd.LexoDecimal.from(e).add(r.EIGHT_DECIMAL);return n.compareTo(r.MAX_DECIMAL)>=0&&(n=r.between(this.decimal,r.MAX_DECIMAL)),new r(this.bucket,n)}between(e){if(!this.bucket.equals(e.bucket))throw new Error("Between works only within the same bucket");let t=this.decimal.compareTo(e.decimal);if(t>0)return new r(this.bucket,r.between(e.decimal,this.decimal));if(t===0)throw new Error("Try to rank between issues with same rank this="+this+" other="+e+" this.decimal="+this.decimal+" other.decimal="+e.decimal);return new r(this.bucket,r.between(this.decimal,e.decimal))}getBucket(){return this.bucket}getDecimal(){return this.decimal}inNextBucket(){return r.from(this.bucket.next(),this.decimal)}inPrevBucket(){return r.from(this.bucket.prev(),this.decimal)}isMin(){return this.decimal.equals(r.MIN_DECIMAL)}isMax(){return this.decimal.equals(r.MAX_DECIMAL)}format(){return this.value}equals(e){return this===e?!0:e?this.value===e.value:!1}toString(){return this.value}compareTo(e){return this===e?0:e?this.value.localeCompare(e.value):1}};TF.LexoRank=R7});var sje=E(Sd=>{"use strict";var X0t=Sd&&Sd.__createBinding||(Object.create?(function(r,e,t,n){n===void 0&&(n=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(r,n,i)}):(function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]})),kF=Sd&&Sd.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&X0t(e,r,t)};Object.defineProperty(Sd,"__esModule",{value:!0});kF(M7(),Sd);kF(P7(),Sd);kF(x7(),Sd);kF(mF(),Sd)});var lje=E(nf=>{"use strict";var eMt=nf&&nf.__createBinding||(Object.create?(function(r,e,t,n){n===void 0&&(n=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(r,n,i)}):(function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]})),oje=nf&&nf.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&eMt(e,r,t)};Object.defineProperty(nf,"__esModule",{value:!0});oje(sje(),nf);oje(N7(),nf)});function wje(r){let e=Math.max(0,Math.min(lk,Math.floor(r))),t=Array(O7);for(let n=O7-1;n>=0;n--)t[n]=String.fromCharCode(97+e%EF),e=Math.floor(e/EF);return`${kje}${t.join("")}`}function CF(r){if(!nMt.test(r))return null;let e=0;for(let t of r.slice(kje.length))e=e*EF+(t.charCodeAt(0)-97);return e}function iMt(r,e,t){let n=Math.max(1,Math.floor(lk/(e+1))),i=t==="asc"?r+1:e-r;return wje(n*i)}function el(r,e){let t=rMt.compare(r,e);return t!==0?t:r.localeCompare(e)}function cje(r,e,t){return t==="asc"?el(r,e):el(e,r)}function wF(r,e,t,n){return!(e&&cje(e,r,n)>=0||t&&cje(r,t,n)>=0)}function xF(r){return bje.LexoRank.parse(r)}function dje(){return new ck(Math.floor(lk/2))}function ya(r){let e=r.split(".");return e.length>1&&["note","file","formula","task"].includes(e[0])?e.slice(1).join("."):r}function TP(r,e){try{let t=r.getSortConfig();return t?(Array.isArray(t)?t:[t]).some(i=>{if(!i||typeof i!="object")return!1;let a=i.property||i.column||i.field||i.id||i.name||"";return Z(a).replace(/^(note\.|file\.|task\.)/,"")===e}):!1}catch(t){return!1}}function ip(r){if(typeof r!="string"||r.length===0)return null;let e=CF(r);if(e!==null)return new ck(e);try{return xF(r)}catch(t){return null}}function aMt(r){return ip(r.sortOrder)!==null}function SF(r){return r?r.isMax()||r.toString().length>tMt:!1}function uje(r){return r==null||r===""?"None":typeof r=="string"?r:typeof r=="boolean"?r?"True":"False":typeof r=="number"?String(r):Z(r)||"None"}function sMt(r){return r==null||r===""?["None"]:Array.isArray(r)?r.length>0?r.map(e=>uje(e)):["None"]:[uje(r)]}function pje(r,e){return e===null?!0:sMt(r).includes(e)}function oMt(r){let e=new Map;return r&&r.forEach((t,n)=>{e.set(t,n)}),e}function lMt(r,e,t){if(!e||e.length===0)return r.filter(a=>a.path!==t);let n=new Map(r.map(a=>[a.path,a])),i=e.filter(a=>a!==t).map(a=>n.get(a)).filter(a=>!!a);return i.length>0?i:r.filter(a=>a.path!==t)}function cMt(r){for(let e=1;e<r.length;e++){let t=ip(r[e-1].sortOrder),n=ip(r[e].sortOrder);if(!t||!n)continue;let i=el(t.toString(),n.toString());if(i<0)return"asc";if(i>0)return"desc"}return"asc"}function mje(r,e,t){return t==="asc"?el(r.toString(),e.toString()):el(e.toString(),r.toString())}function fje(r,e){return e==="asc"?F7(r):L7(r)}function hje(r,e){return e==="asc"?L7(r):F7(r)}function gje(r,e,t){return t==="asc"?yje(r,e):yje(e,r)}function L7(r){let e=r.toString();try{let c=r.genNext();if(c.toString()>e)return c}catch(c){}if(CF(e)!==null)return new ck(lk);let n=e.indexOf("|"),i=e.indexOf(":"),a=e.substring(0,n),s=e.substring(n+1,i),o=e.substring(i+1),l=s.charAt(0);if(l!=="z"){let c=l>="0"&&l<="8"?String.fromCharCode(l.charCodeAt(0)+1):l==="9"?"a":l>="a"&&l<="y"?String.fromCharCode(l.charCodeAt(0)+1):"z",d=`${a}|${c}${s.slice(1)}:`,u=r.between(xF(d));if(u.toString()>e)return u}return xF(`${a}|${s}:${o}i`)}function F7(r){let e=r.toString();try{let c=r.genPrev();if(c.toString()<e)return c}catch(c){}if(CF(e)!==null)return new ck(0);let n=e.indexOf("|"),i=e.indexOf(":"),a=e.substring(0,n),s=e.substring(n+1,i),o=s.charAt(0),l;if(o==="0")l=`${a}|0:`;else{let c=o>="1"&&o<="9"?String.fromCharCode(o.charCodeAt(0)-1):o==="a"?"9":o>="b"&&o<="z"?String.fromCharCode(o.charCodeAt(0)-1):"0";l=`${a}|${c}${s.slice(1)}:`}return xF(l).between(r)}function yje(r,e){let t=r.toString(),n=e.toString();try{let s=r.between(e).toString();if(el(s,t)>0&&el(s,n)<0)return s}catch(s){}let i=L7(r).toString();if(el(i,t)>0&&el(i,n)<0)return i;let a=F7(e).toString();return el(a,t)>0&&el(a,n)<0?a:i}function ty(r,e,t,n){let i=t?e:e+1,a=r.map(l=>l.path);a.splice(i,0,null);let s=[],o=null;for(let l=0;l<a.length;l++){let c=iMt(l,a.length,n),d=a[l];d===null?o=c:s.push({path:d,sortOrder:c})}return{sortOrder:o,additionalWrites:s,reason:"rebalance"}}function dMt(r,e,t,n={}){var c,d,u;let i=t.settings.fieldMapping.sortOrder,a=oMt(n.visibleTaskPaths),s=n.candidateTaskPaths?new Set(n.candidateTaskPaths):null,o=t.app.vault.getMarkdownFiles(),l=[];for(let p of o){if(s&&!s.has(p.path))continue;let m=(c=t.app.metadataCache.getFileCache(p))==null?void 0:c.frontmatter;if(!m||r!==null&&e&&!pje(m[e],r)||(d=n.scopeFilters)!=null&&d.some(v=>!pje(m[v.property],v.value)))continue;let f=m[i],h=f!==void 0?String(f):void 0,g=(u=n.taskInfoCache)==null?void 0:u.get(p.path);if(g){g.sortOrder=h,l.push(g);continue}l.push({path:p.path,title:p.basename,status:m.status||"open",priority:m.priority||"",archived:m.archived||!1,sortOrder:h})}return l.sort((p,m)=>{let f=ip(p.sortOrder),h=ip(m.sortOrder);if(f&&h){let k=el(f.toString(),h.toString());if(k!==0)return k}if(f&&!h)return-1;if(!f&&h)return 1;let g=a.get(p.path),v=a.get(m.path);return g!==void 0&&v!==void 0?g-v:g!==void 0?-1:v!==void 0?1:p.path.localeCompare(m.path)}),l}async function vje(r,e,t){let n=t.app.vault.getAbstractFileByPath(r);if(!(n instanceof Tje.TFile))return;let i=t.settings.fieldMapping.sortOrder;await t.app.fileManager.processFrontMatter(n,a=>{a[i]=e})}async function DF(r,e,t,n,i,a,s={}){var w;let o=dMt(t,n,a,s).filter(S=>S.path!==i),l=lMt(o,s.visibleTaskPaths,i),c=cMt(l);if(o.length===0)return{sortOrder:dje().toString(),additionalWrites:[],reason:"boundary"};let d=l.findIndex(S=>S.path===r);if(d===-1){let S=[...l].reverse().find(C=>aMt(C)),x=S?ip(S.sortOrder):null;if(x&&!SF(x)){let C=hje(x,c).toString();if(wF(C,x.toString(),null,c))return{sortOrder:C,additionalWrites:[],reason:"boundary"}}return l.length>0?ty(l,l.length-1,!1,c):{sortOrder:dje().toString(),additionalWrites:[],reason:"boundary"}}let u=l[d],p=d>0?l[d-1]:null,m=d<l.length-1?l[d+1]:null,f=ip(u.sortOrder),h=p?ip(p.sortOrder):null,g=m?ip(m.sortOrder):null;if(!f)return ty(l,d,e,c);let v=h?mje(h,f,c)>=0:!1,k=g?mje(f,g,c)>=0:!1;if(e&&v||!e&&k||SF(h)||SF(f)||SF(g))return ty(l,d,e,c);if(e){let S=d===0?fje(f,c).toString():h?gje(h,f,c):fje(f,c).toString();return wF(S,(w=h==null?void 0:h.toString())!=null?w:null,f.toString(),c)?{sortOrder:S,additionalWrites:[],reason:d===0?"boundary":"midpoint"}:ty(l,d,e,c)}if(!m||!g){let S=hje(f,c).toString();return wF(S,f.toString(),null,c)?{sortOrder:S,additionalWrites:[],reason:"boundary"}:ty(l,d,e,c)}let b=gje(f,g,c);return wF(b,f.toString(),g.toString(),c)?{sortOrder:b,additionalWrites:[],reason:"midpoint"}:ty(l,d,e,c)}async function PF(r,e,t,n={}){if(e.sortOrder){for(let i of e.additionalWrites)await vje(i.path,i.sortOrder,t);n.includeDragged!==!1&&await vje(r,e.sortOrder,t)}}var bje,Tje,tMt,rMt,kje,O7,EF,lk,nMt,ck,dk,kP=y(()=>{bje=tt(lje()),Tje=require("obsidian");gr();tMt=32,rMt=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}),kje="tn",O7=10,EF=26,lk=Math.pow(EF,O7)-1,nMt=/^tn[a-z]{10}$/,ck=class r{constructor(e){this.value=e}toString(){return wje(this.value)}genPrev(){if(this.value<=0)throw new Error("Cannot generate rank before minimum alpha rank");return new r(this.value-1)}genNext(){if(this.value>=lk)throw new Error("Cannot generate rank after maximum alpha rank");return new r(this.value+1)}between(e){let t=CF(e.toString());if(t===null)throw new Error("Cannot generate alpha midpoint against a non-alpha rank");let n=Math.min(this.value,t),i=Math.max(this.value,t),a=Math.floor((n+i)/2);if(a<=n||a>=i)throw new Error("No alpha rank gap available");return new r(a)}isMax(){return this.value>=lk}};dk=class{constructor(){this.queues=new Map}async enqueue(e,t){var a;let i=((a=this.queues.get(e))!=null?a:Promise.resolve()).then(t,t);this.queues.set(e,i);try{await i}finally{this.queues.get(e)===i&&this.queues.delete(e)}}}});function af(r){r.classList.remove(...uMt),r.removeAttribute("style")}var uMt,MF=y(()=>{uMt=["tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-center-7c619740","tn-static-align-items-flex-start-0486f781","tn-static-background-color-var-background-mo-94b219f0","tn-static-background-color-var-background-se-9087a23e","tn-static-background-color-var-color-base-40-ef5f175e","tn-static-background-color-var-color-red-134bc721","tn-static-background-color-var-text-accent-a954c70f","tn-static-border-1px-solid-var-background-mo-b65b5121","tn-static-border-none-2eda1daa","tn-static-border-radius-4px-c290c56e","tn-static-border-radius-6px-0dc8408c","tn-static-border-style-dashed-12296c91","tn-static-border-style-solid-11080b69","tn-static-border-top-1px-solid-var-backgroun-aab7c2ca","tn-static-border-width-2px-a1222254","tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-grab-dad79857","tn-static-cursor-pointer-2723efcc","tn-static-cursor-pointer-3b6a3a65","tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-flex-1-14e3b769","tn-static-flex-1-97445a8d","tn-static-flex-direction-column-06c8b5ed","tn-static-flex-shrink-0-6ee0661e","tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-0-9em-65025e95","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-font-size-var-tn-font-size-sm-0274a31d","tn-static-font-weight-500-02a2d333","tn-static-font-weight-600-eed0f8fb","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-flex-end-455f8cca","tn-static-justify-content-space-between-a562f4fd","tn-static-margin-0-11696618","tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-20px-49f14f8f","tn-static-margin-bottom-8px-fdf33f23","tn-static-margin-left-4px-46cec891","tn-static-margin-right-4px-c6b76b85","tn-static-margin-right-8px-539fa9a0","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68","tn-static-max-height-400px-f0787633","tn-static-max-width-900px-1d34c094","tn-static-min-height-800px-997b4c8c","tn-static-min-width-0-3922d326","tn-static-min-width-2px-709d7da0","tn-static-opacity-0-6-d95b59ac","tn-static-opacity-0-8d919cb5","tn-static-opacity-1-c6e7979d","tn-static-overflow-hidden-69824400","tn-static-overflow-y-auto-03df744e","tn-static-overflow-y-clip-c5043043","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c","tn-static-padding-top-20px-49826953","tn-static-position-relative-d461c96d","tn-static-text-align-center-91a87015","tn-static-text-decoration-line-through-7059a4e5","tn-static-text-decoration-none-80d654f9","tn-static-transform-translatey-0-1b976432","tn-static-transform-translatey-10px-5b91bf02","tn-static-transition-background-color-0-2s-8142f01e","tn-static-vertical-align-baseline-657d9c46","tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"]});function _F(r){return typeof r=="object"&&r!==null}function AF(r,e){let t=$7(r,e);return typeof t=="string"&&pMt.has(t)}function $7(r,e){var a,s;let t=r.metadataTypeManager,n=(a=t==null?void 0:t.properties)==null?void 0:a[e.toLowerCase()],i=(s=n==null?void 0:n.type)!=null?s:n==null?void 0:n.widget;return typeof i=="string"?i:null}function mMt(r){if(!(!_F(r)||!_F(r.ctx)||!_F(r.ctx.formulas)))return r.ctx.formulas}function Sje(r){return _F(r.basesData)?r.basesData:void 0}function fMt(r){return typeof(r==null?void 0:r.getValue)=="function"}function hMt(r,e,t){let n=e.frontmatter;if(n&&Object.keys(t).length>0){e.frontmatter={...n,...t};try{return r.getValue(e)}finally{e.frontmatter=n}}return r.getValue(e)}function gMt(r,e){var n,i;let t=(i=(n=Sje(e))==null?void 0:n.formulaResults)==null?void 0:i.cachedFormulaOutputs;if(!(!t||typeof t!="object"))for(let[a,s]of Object.entries(t))r[`formula.${a}`]=s}function IF(r){let e=new Map;for(let t of r){if(!t.path)continue;let n={...t.properties||{}};gMt(n,t),e.set(t.path,n)}return e}function wP(r,e){let t=mMt(r);if(!(!t||e.length===0))for(let n of e){let i=Sje(n),a=i==null?void 0:i.formulaResults;if(!(!i||!(a!=null&&a.cachedFormulaOutputs)))for(let s of Object.keys(t)){let o=t[s];if(fMt(o))try{let l=n.properties||{},c=hMt(o,i,l);c!==void 0&&(a.cachedFormulaOutputs[s]=c)}catch(l){}}}}var pMt,SP=y(()=>{pMt=new Set(["multitext","tags","aliases"])});function bMt(r,e){var a;let t=r==null?void 0:r.find(s=>s.key===e);if(t)return t.type;let n=e.toLowerCase(),i=r==null?void 0:r.find(s=>s.key.toLowerCase()===n);return(a=i==null?void 0:i.type)!=null?a:null}function TMt(r,e,t){var n;return(n=bMt(t,e))!=null?n:$7(r,e)}function kMt(r,e){if(!e)return r;let t=e.toLowerCase(),n=r.trim();if(t==="number"&&vMt.test(n)){let i=Number(n);return Number.isFinite(i)?i:r}if(yMt.has(t)){if(n.toLowerCase()==="true")return!0;if(n.toLowerCase()==="false")return!1}return r}function NF(r,e,t,n){let i=TMt(r,e,n);return kMt(t,i)}var yMt,vMt,z7=y(()=>{SP();yMt=new Set(["boolean","checkbox"]),vMt=/^[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?$/i});function Eje(r){if(r.length===0)return[];let e=[];for(let t of r){let n=e[e.length-1];if(!n||n.groupKey!==t.groupKey){e.push({groupKey:t.groupKey,cards:[t]});continue}n.cards.push(t)}return e}function xje(r,e,t){let n=r[e];if(!n||n.cards.length===0)return null;let i=Math.max(0,Math.min(t,n.cards.length));return i===0?{taskPath:n.cards[0].path,above:!0}:{taskPath:n.cards[i-1].path,above:!1}}function Cje(r,e){if(r.length===0)return null;let t=r.length-1;for(let s=0;s<r.length;s++){let o=r[s],l=s>0?r[s-1]:null,c=s<r.length-1?r[s+1]:null,d=o.cards[0],u=o.cards[o.cards.length-1],p=l?(l.cards[l.cards.length-1].bottom+d.top)/2:Number.NEGATIVE_INFINITY,m=c?(u.bottom+c.cards[0].top)/2:Number.POSITIVE_INFINITY;if((e<m||s===r.length-1)&&(e>=p||s===0)){t=s;break}}let n=r[t],i=n.cards,a=i.findIndex(s=>e<s.midpoint);if(a===-1){let s=i[i.length-1];return{groupKey:n.groupKey,segmentIndex:t,insertionIndex:i.length,element:s.card,position:"after"}}return{groupKey:n.groupKey,segmentIndex:t,insertionIndex:a,element:i[a].card,position:"before"}}var Dje=y(()=>{});function EP(r){return IF(r)}function wMt(r,e){var n,i;if(!e)return null;if(e.startsWith("formula."))return(n=r[e])!=null?n:null;let t=e.replace(/^(note\.|task\.|file\.)/,"");return(i=r[t])!=null?i:null}function j7(r){var e,t;if(r==null)return"None";if(typeof r=="object"&&r!==null&&typeof r.toString=="function"){let n=r;if(((e=n.constructor)==null?void 0:e.name)==="NullValue"||n.isTruthy&&!n.isTruthy())return"None";if(((t=n.constructor)==null?void 0:t.name)==="ListValue"||Array.isArray(n.value)){let i=n.value||[];return i.length>0?i.map(a=>j7(a)).join(", "):"None"}return n.toString()||"None"}return typeof r=="string"?r||"None":typeof r=="number"?String(r):typeof r=="boolean"?r?"True":"False":Array.isArray(r)?r.length>0?r.map(n=>j7(n)).join(", "):"None":Z(r)||"None"}function uk(r,e,t){let n=new Map;for(let i of r){let a=t.get(i.path)||{},s=wMt(a,e),o=j7(s),l=n.get(o)||[];l.push(i),n.set(o,l)}return n}function Pje(r,e,t){let n=new Set(e.map(a=>a.path)),i=new Map;for(let a of r){let s=t(a.key),o=a.entries.map(l=>{var c;return(c=l.file)==null?void 0:c.path}).filter(l=>!!l&&n.has(l));i.set(s,o)}return i}function Mje(r){let e=new Map;for(let[t,n]of r)e.set(t,n.map(i=>i.path));return e}function B7(r){let e=[];for(let t of r.groups){let n=r.convertGroupKeyToString(t.key),i=new Set(t.entries.map(o=>{var l;return(l=o.file)==null?void 0:l.path})),a=r.taskNotes.filter(o=>i.has(o.path));if(a.length===0)continue;let s=r.collapsedGroups.has(n);if(e.push({type:"primary-header",groupKey:n,groupTitle:n,taskCount:a.length,groupEntries:t.entries,isCollapsed:s}),!s){if(r.subGroupPropertyId){let o=uk(a,r.subGroupPropertyId,r.pathToProps);for(let[l,c]of o){if(c.length===0)continue;let d=`${n}:${l}`,u=r.collapsedSubGroups.has(d);if(e.push({type:"sub-header",groupKey:n,subGroupKey:l,subGroupTitle:l,taskCount:c.length,isCollapsed:u,parentKey:n}),!u)for(let p of c)e.push({type:"task",task:p,groupKey:n,subGroupKey:l})}continue}for(let o of a)e.push({type:"task",task:o,groupKey:n})}}return e}function U7(r,e){let t=[];for(let[n,i]of r){if(i.length===0)continue;let a=e.has(n);if(t.push({type:"primary-header",groupKey:n,groupTitle:n,taskCount:i.length,groupEntries:[],isCollapsed:a}),!a)for(let s of i)t.push({type:"task",task:s,groupKey:n})}return t}var _je=y(()=>{gr();SP()});function Aje({groupByPropertyId:r,sourceGroupKey:e,targetGroupKey:t,lookupMappingKey:n,isListTypeProperty:i}){let a=r?ya(r):null,s=!!(r!=null&&r.startsWith("formula.")),o=t==="None"?null:t,l=!!r&&o!==e,c=a?n(a):null,d=!!a&&i(a),u=r?r.replace(/^(note\.|file\.|task\.)/,""):null;return{groupByPropertyId:r,cleanGroupBy:a,frontmatterKey:u,groupByTaskProp:c,isFormulaGrouping:s,isListGrouping:d,needsGroupUpdate:l,normalizedTargetGroupKey:o,sourceGroupKey:e}}function Ije({frontmatter:r,plan:e,sortOrderField:t,sortOrder:n,isRecurring:i,dateModifiedField:a,coerceGroupKeyForFrontmatter:s,updateCompletedDateInFrontmatter:o,getTimestamp:l}){if(e.needsGroupUpdate&&e.frontmatterKey){if(e.isListGrouping){let c=r[e.frontmatterKey],u=(Array.isArray(c)?c:c?[c]:[]).filter(p=>p!==e.sourceGroupKey);e.normalizedTargetGroupKey!==null&&!u.includes(e.normalizedTargetGroupKey)&&u.push(e.normalizedTargetGroupKey),u.length>0?r[e.frontmatterKey]=u:delete r[e.frontmatterKey]}else e.normalizedTargetGroupKey===null?delete r[e.frontmatterKey]:r[e.frontmatterKey]=s(e.frontmatterKey,e.normalizedTargetGroupKey);e.groupByTaskProp==="status"&&e.normalizedTargetGroupKey!==null&&(o(r,e.normalizedTargetGroupKey,i),r[a]=l())}n!==null&&(r[t]=n)}function Nje(r,{plan:e,isCompletedStatus:t,getTimestamp:n,getCompletedDate:i}){if(!e.needsGroupUpdate||!e.groupByTaskProp)return null;let a={...r},s=r,o=a,l=e.groupByTaskProp;if(e.isListGrouping){let c=s[l],u=(Array.isArray(c)?[...c]:c?[Z(c)]:[]).filter(p=>p!==e.sourceGroupKey);e.normalizedTargetGroupKey!==null&&!u.includes(e.normalizedTargetGroupKey)&&u.push(e.normalizedTargetGroupKey),o[l]=u}else o[l]=e.normalizedTargetGroupKey;return a.dateModified=n(),l==="status"&&!r.recurrence&&(e.normalizedTargetGroupKey!==null&&t(e.normalizedTargetGroupKey)?a.completedDate=i():a.completedDate=void 0),a}var Rje=y(()=>{gr();kP()});function xP(r,e){let t=new Map;e.sortOrder&&t.set(r,e.sortOrder);for(let n of e.additionalWrites)t.set(n.path,n.sortOrder);return t}function CP(r,e,t){for(let[n,i]of e){let a=r.get(n);a&&(a.sortOrder=i,t==null||t(a))}}function DP(r,e,t,n){for(let i of r){let a=e(i);if(!a)continue;let s=t.get(a.path);s!==void 0&&(a.sortOrder=s,n==null||n(a))}}function PP(r,e,t,n){if(e.length===0||e.includes(t))return null;let i=new Set(r),a=new Set(e);if(!e.every(c=>i.has(c)))return null;let s=r.filter(c=>!a.has(c)),o=s.indexOf(t);if(o===-1)return null;let l=n?o:o+1;return[...s.slice(0,l),...e,...s.slice(l)]}function Oje(r,e,t,n,i){if(t.length===0||t.includes(n))return null;let a=new Set(t),s=new Map,o=[];for(let u of r){let p=e(u);p&&a.has(p)?s.set(p,u):o.push(u)}if(!t.every(u=>s.has(u)))return null;let l=o.findIndex(u=>e(u)===n);if(l===-1)return null;let c=[];for(let u of t){let p=s.get(u);if(!p)return null;c.push(p)}let d=i?l:l+1;return[...o.slice(0,d),...c,...o.slice(d)]}var H7=y(()=>{});function SMt(r){return typeof r=="object"&&r!==null}function EMt(r){return SMt(r)}function Lje(r){if(typeof r=="number")return r===1?"show-all":"inherit";let e=Z(r).trim().toLowerCase().replace(/^['"]|['"]$/g,"").replace(/[_\s]+/g,"-");return e==="show-all"||e==="1"?"show-all":"inherit"}function Fje(r){return function(e,t){if(!t)throw ks.error("[TaskNotes][TaskListView] No containerEl provided",{category:"stale-data",operation:"no-containerel-provided"}),new Error("TaskListView requires a containerEl");return new V7(e,t,r)}}var ti,ks,V7,$je=y(()=>{ti=require("obsidian");yP();gP();la();T7();Nh();Mx();ab();Cl();sb();Ne();gr();k7();kP();MF();SP();z7();Dje();_je();Rje();H7();G();ks=I({tag:"Bases/TaskListView"});V7=class extends Td{constructor(t,n,i){super(t,n,i);this.type="tasknotesTaskList";this.configLoaded=!1;this.itemsContainer=null;this.currentTaskElements=new Map;this.lastRenderWasGrouped=!1;this.lastFlatPaths=[];this.lastVirtualItems=[];this.lastTaskSignatures=new Map;this.lastCardRenderSignature="";this.taskInfoCache=new Map;this.clickTimeouts=new Map;this.currentTargetDate=vn(new Date);this.containerListenersRegistered=!1;this.virtualScroller=null;this.useVirtualScrolling=!1;this.collapsedGroups=new Set;this.collapsedSubGroups=new Set;this.subGroupPropertyId=null;this.defaultCollapsedState="Expanded";this.expandedRelationshipFilterMode="inherit";this.currentVisibleTaskPaths=new Set;this.currentVisibleTaskOrder=new Map;this.expandedRelationshipTaskPaths=new Set;this.expandedRelationshipTaskOrder=new Map;this.hideTopLevelSubtasks=!1;this.currentPrimaryGroupKeys=[];this.currentSubGroupKeysByParent=new Map;this.initializedPrimaryGroupKeys=new Set;this.initializedSubGroupKeys=new Set;this.deferCollapseDefaultForNextSnapshot=!1;this.draggedTaskPath=null;this.dragGroupKey=null;this.currentInsertionGroupKey=null;this.currentInsertionSegmentIndex=-1;this.currentInsertionIndex=-1;this.pendingDragClientY=null;this.pendingRender=!1;this.taskGroupKeys=new Map;this.sortScopeTaskPaths=new Map;this.sortScopeCandidateTaskPaths=new Map;this.dragOverRafId=0;this.dragContainer=null;this.currentDropSlotElement=null;this.currentDropSlotPosition=null;this.dragBaselineCards=[];this.dropQueue=new dk;this.VIRTUAL_SCROLL_THRESHOLD=100;this.LARGE_REORDER_WARNING_THRESHOLD=10;this.UNGROUPED_SORT_SCOPE_KEY="__ungrouped__";this.CARD_NO_DRAG_SELECTOR='[data-tn-no-drag="true"], a, button, input, select, textarea, [contenteditable="true"]';this.CARD_DRAG_HANDLE_SELECTOR='[data-tn-drag-handle="true"]';this.handleItemClick=async t=>{let n=t.target,i=n.closest(".task-group-header");if(i){let a=i.closest(".task-group"),s=a==null?void 0:a.dataset.groupKey;if(s){if(n.closest("a"))return;t.preventDefault(),t.stopPropagation(),await this.handleGroupToggle(s);return}}};this.handleItemContextMenu=async t=>{let n=this.getTaskContextFromEvent(t);if(!n)return;t.preventDefault(),t.stopPropagation();let i=this.plugin.taskSelectionService;if(i&&i.getSelectionCount()>1){i.isSelected(n.task.path)||i.addToSelection(n.task.path),this.showBatchContextMenu(t);return}await Ro(t,n.task.path,this.plugin,this.currentTargetDate)};this.handleItemPointerOver=t=>{if("pointerType"in t&&t.pointerType!=="mouse")return;let n=this.getTaskContextFromEvent(t);if(!n)return;let i=t.relatedTarget;if(i&&n.card.contains(i))return;let a=this.app||this.plugin.app;a.vault.getAbstractFileByPath(n.task.path)&&a.workspace.trigger("hover-link",{event:t,source:"tasknotes-task-card",hoverParent:n.card,targetEl:n.card,linktext:n.task.path,sourcePath:n.task.path})};this.basesController=t,this.dataAdapter.basesView=this}onload(){this.readViewOptions(),super.onload(),this.registerGroupContextMenuListeners()}registerGroupContextMenuListeners(){this.rootElement&&this.rootElement.addEventListener("contextmenu",t=>{let n=t.target,i=n.closest(".task-group-header");if(i){let s=i.closest(".task-group"),o=s==null?void 0:s.dataset.groupKey;if(o&&!this.isSubGroupKey(o)){t.preventDefault(),this.showGroupHeaderContextMenu(t,o);return}}!n.closest(".task-card")&&!i&&this.currentPrimaryGroupKeys.length>0&&(t.preventDefault(),this.showContainerContextMenu(t))})}showGroupHeaderContextMenu(t,n){let i=this.currentSubGroupKeysByParent.get(n);if(!i||i.length===0)return;let a=i.every(o=>this.collapsedSubGroups.has(o)),s=new ti.Menu;s.addItem(o=>{o.setTitle(a?"Expand subgroups":"Collapse subgroups").setIcon(a?"list-tree":"list-collapse").onClick(()=>void this.setSubGroupsCollapsed(n,!a))}),s.showAtMouseEvent(t)}showContainerContextMenu(t){let n=new ti.Menu;n.addItem(i=>{i.setTitle("Expand all groups").setIcon("chevrons-down").onClick(()=>void this.setAllPrimaryGroupsCollapsed(!1))}),n.addItem(i=>{i.setTitle("Collapse all groups").setIcon("chevrons-up").onClick(()=>void this.setAllPrimaryGroupsCollapsed(!0))}),n.addItem(i=>{i.setTitle("Expand all groups and subgroups").setIcon("list-tree").onClick(()=>void this.setAllGroupsAndSubGroupsCollapsed(!1))}),n.addItem(i=>{i.setTitle("Collapse all groups and subgroups").setIcon("list-collapse").onClick(()=>void this.setAllGroupsAndSubGroupsCollapsed(!0))}),n.showAtMouseEvent(t)}readViewOptions(){if(!this.config||typeof this.config.get!="function"){ks.debug("[TaskListView] Config not available yet in readViewOptions",{category:"configuration",operation:"config-not-yet-readviewoptions"});return}try{this.subGroupPropertyId=this.config.getAsPropertyId("subGroup");let t=this.config.get("enableSearch");this.enableSearch=t!=null?t:!1;let n=this.config.get("defaultCollapsedState");this.defaultCollapsedState=n==="Collapsed"||n==="1"?"Collapsed":"Expanded";let i=this.config.get("expandedRelationshipFilterMode");this.expandedRelationshipFilterMode=Lje(i),this.hideTopLevelSubtasks=this.config.get("hideTopLevelSubtasks")===!0,this.configLoaded=!0}catch(t){ks.warn("[TaskListView] Failed to parse config:",{category:"configuration",operation:"parse-config",error:t})}}clearGroupingSnapshot(){this.currentPrimaryGroupKeys=[],this.currentSubGroupKeysByParent.clear()}initializeCollapseStateForSnapshot(t,n){let i=this.defaultCollapsedState==="Collapsed"&&!this.deferCollapseDefaultForNextSnapshot;for(let a of t)this.initializedPrimaryGroupKeys.has(a)||(this.initializedPrimaryGroupKeys.add(a),i&&this.collapsedGroups.add(a));for(let a of n.values())for(let s of a)this.initializedSubGroupKeys.has(s)||(this.initializedSubGroupKeys.add(s),i&&this.collapsedSubGroups.add(s));this.deferCollapseDefaultForNextSnapshot=!1}applyGroupingSnapshot(t){let n=new Map;for(let[i,a]of t.subGroupKeysByParent.entries())n.set(i,[...a]);this.initializeCollapseStateForSnapshot(t.primaryGroupKeys,n),this.currentPrimaryGroupKeys=[...t.primaryGroupKeys],this.currentSubGroupKeysByParent=n}createGroupedHierarchySnapshot(t,n){let i={primaryGroupKeys:[],subGroupKeysByParent:new Map},a=this.subGroupPropertyId?EP(this.dataAdapter.extractDataItems()):new Map;for(let s of t){let o=this.dataAdapter.convertGroupKeyToString(s.key),l=new Set(s.entries.map(p=>{var m;return(m=p.file)==null?void 0:m.path})),c=n.filter(p=>l.has(p.path));if(c.length===0||(i.primaryGroupKeys.push(o),!this.subGroupPropertyId))continue;let d=[],u=uk(c,this.subGroupPropertyId,a);for(let[p,m]of u)m.length!==0&&d.push(`${o}:${p}`);d.length>0&&i.subGroupKeysByParent.set(o,d)}return i}createSubPropertyHierarchySnapshot(t){return{primaryGroupKeys:Array.from(t.keys()),subGroupKeysByParent:new Map}}setupContainer(){var i;super.setupContainer(),this.rootElement&&(this.rootElement.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-flex-direction-column-06c8b5ed","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),this.rootElement.classList.add("tn-static-display-flex-4d51fc62"));let n=this.containerEl.ownerDocument.createElement("div");n.className="tn-bases-items-container",n.classList.remove("tn-static-flex-1-14e3b769","tn-static-flex-1-97445a8d","tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68","tn-static-max-height-400px-f0787633","tn-static-overflow-y-auto-03df744e","tn-static-overflow-y-clip-c5043043","tn-static-position-relative-d461c96d"),n.classList.add("tn-static-margin-top-12px-91e0f558"),(i=this.rootElement)==null||i.appendChild(n),this.itemsContainer=n,this.registerContainerListeners(),this.setupContainerDragHandlers()}async render(){var t;if(!(!this.itemsContainer||!this.rootElement)){if(this.draggedTaskPath){this.pendingRender=!0;return}this.config&&this.readViewOptions(),this.rootElement&&this.setupSearch(this.rootElement);try{if(!((t=this.data)!=null&&t.data)){this.clearGroupingSnapshot();return}let n=this.dataAdapter.extractDataItems();wP(this.data,n);let i=await np(n,this.plugin);if(i.length===0){this.clearAllTaskElements(),this.sortScopeTaskPaths.clear(),this.sortScopeCandidateTaskPaths.clear(),this.clearGroupingSnapshot(),this.renderEmptyState(),this.lastRenderWasGrouped=!1;return}let a=this.dataAdapter.isGrouped();!a&&this.subGroupPropertyId?(this.lastRenderWasGrouped||this.clearAllTaskElements(),await this.renderGroupedBySubProperty(i),this.lastRenderWasGrouped=!0):a?(this.lastRenderWasGrouped||this.clearAllTaskElements(),await this.renderGrouped(i),this.lastRenderWasGrouped=!0):(this.lastRenderWasGrouped&&this.clearAllTaskElements(),this.clearGroupingSnapshot(),await this.renderFlat(i),this.lastRenderWasGrouped=!1)}catch(n){ks.error("[TaskNotes][TaskListView] Error rendering:",{category:"persistence",operation:"rendering",error:n}),this.clearAllTaskElements(),this.sortScopeTaskPaths.clear(),this.sortScopeCandidateTaskPaths.clear(),this.renderError(n instanceof Error?n:new Error(String(n)))}}}getGroupByPropertyId(){var n;let t=this.basesController;if((n=t==null?void 0:t.query)!=null&&n.views&&(t!=null&&t.viewName)){for(let i of t.query.views)if((i==null?void 0:i.name)===t.viewName){if(i.groupBy){if(typeof i.groupBy=="object"&&i.groupBy.property)return i.groupBy.property;if(typeof i.groupBy=="string")return i.groupBy}return null}}return null}getSortScopeKey(t){return t!=null?t:this.UNGROUPED_SORT_SCOPE_KEY}getVisibleSortScopePaths(t){return this.sortScopeTaskPaths.get(this.getSortScopeKey(t))}getCandidateSortScopePaths(t){return this.sortScopeCandidateTaskPaths.get(this.getSortScopeKey(t))}setSortScopePaths(t){this.sortScopeTaskPaths.clear();for(let[n,i]of t)this.sortScopeTaskPaths.set(this.getSortScopeKey(n),[...i])}setSortScopeCandidatePaths(t){this.sortScopeCandidateTaskPaths.clear();for(let[n,i]of t)this.sortScopeCandidateTaskPaths.set(this.getSortScopeKey(n),[...i])}getVirtualItemTask(t){return"type"in t?t.type==="task"?t.task:null:t}getVirtualItemPath(t){var n,i;return(i=(n=this.getVirtualItemTask(t))==null?void 0:n.path)!=null?i:null}getVirtualItemGroupKey(t){return"type"in t&&t.type==="task"?t.groupKey:null}rebuildSortScopesFromVirtualItems(t){var a;let n=new Map,i=[];for(let s of t){let o=this.getVirtualItemTask(s);if(!o)continue;i.push(o.path);let l=this.getVirtualItemGroupKey(s),c=(a=n.get(l))!=null?a:[];c.push(o.path),n.set(l,c)}n.size>0?this.setSortScopePaths(n):this.setSortScopePaths([[null,i]])}applyOptimisticSortOrderResult(t,n,i,a,s,o){var u,p;if(s!==a)return!1;let l=xP(t,o);if(CP(this.taskInfoCache,l,m=>{this.lastTaskSignatures.set(m.path,this.buildTaskSignature(m))}),this.virtualScroller&&this.lastVirtualItems.length>0){let m=Oje(this.lastVirtualItems,f=>this.getVirtualItemPath(f),[t],n,i);return m?(DP(m,f=>this.getVirtualItemTask(f),l,f=>{this.taskInfoCache.set(f.path,f),this.lastTaskSignatures.set(f.path,this.buildTaskSignature(f))}),this.lastVirtualItems=m,this.virtualScroller.updateItems(m),this.rebuildSortScopesFromVirtualItems(m),this.setCurrentVisibleTaskPaths(m.map(f=>this.getVirtualItemTask(f)).filter(f=>!!f)),this.lastFlatPaths=m.map(f=>this.getVirtualItemPath(f)).filter(f=>!!f),!0):!1}let c=(u=this.itemsContainer)==null?void 0:u.querySelector(`.task-card[data-task-path="${CSS.escape(t)}"]`),d=(p=this.itemsContainer)==null?void 0:p.querySelector(`.task-card[data-task-path="${CSS.escape(n)}"]`);return!c||!d?!1:(i?d.before(c):d.after(c),!0)}isListTypeProperty(t){if(AF(this.plugin.app,t))return!0;let n=this.plugin.fieldMapper.toUserField("contexts"),i=this.plugin.fieldMapper.toUserField("projects");return new Set(["contexts",n,"projects",i,"tags","aliases"]).has(t)}coerceGroupKeyForFrontmatter(t,n){return NF(this.plugin.app,t,n,this.plugin.settings.userFields)}async confirmLargeReorder(t,n){let i=this.plugin.settings.fieldMapping.sortOrder,a=n===null?this.plugin.i18n.translate("views.taskList.reorder.scope.ungrouped"):this.plugin.i18n.translate("views.taskList.reorder.scope.group",{group:n});return bn(this.plugin.app,{title:this.plugin.i18n.translate("common.reorder.confirmLargeTitle"),message:this.plugin.i18n.translate("common.reorder.confirmLargeMessage",{field:i,count:t,scope:a}),confirmText:this.plugin.i18n.translate("common.reorder.confirmButton"),cancelText:this.plugin.i18n.translate("common.cancel")})}getEventTargetElement(t){let n=t;return!n||typeof n.nodeType!="number"?null:n.nodeType===Node.ELEMENT_NODE?n:n.parentElement}shouldSuppressCardDrag(t,n){let i=this.getEventTargetElement(t);return!i||!n.contains(i)?!1:i.closest(this.CARD_NO_DRAG_SELECTOR)?!0:this.isMobileDragHandleOnlyMode(n)&&!i.closest(this.CARD_DRAG_HANDLE_SELECTOR)}isMobileDragHandleOnlyMode(t){return t.ownerDocument.body.classList.contains("is-mobile")}setupCardDragHandle(t){t.classList.add("task-card--reorderable"),t.classList.toggle("task-card--drag-handle-only",this.isMobileDragHandleOnlyMode(t));let n=t.querySelector(this.CARD_DRAG_HANDLE_SELECTOR);if(n){n.setAttribute("draggable","true");return}let i=t.ownerDocument.createElement("div");i.className="task-card__drag-handle",i.dataset.tnDragHandle="true",i.setAttribute("draggable","true"),i.setAttribute("aria-label","Drag to reorder"),i.setAttribute("title","Drag to reorder"),(0,ti.setIcon)(i,"grip-vertical"),i.addEventListener("click",a=>{a.preventDefault(),a.stopPropagation()}),t.insertBefore(i,t.firstChild)}setupCardDragHandlers(t,n,i){let a=null,s=()=>{t.setAttribute("draggable",this.isMobileDragHandleOnlyMode(t)?"false":"true"),a=null};this.setupCardDragHandle(t),s(),t.addEventListener("mousedown",o=>{a=o.target,t.setAttribute("draggable",this.shouldSuppressCardDrag(o.target,t)?"false":"true")},{capture:!0}),t.addEventListener("mouseup",s),t.addEventListener("click",s,{capture:!0}),t.addEventListener("dragstart",o=>{if(this.shouldSuppressCardDrag(a!=null?a:o.target,t)){o.preventDefault(),o.stopPropagation(),s();return}this.draggedTaskPath=n.path,this.dragGroupKey=i,t.classList.add("task-card--dragging"),o.dataTransfer&&(o.dataTransfer.effectAllowed="move",o.dataTransfer.setData("text/plain",n.path)),this.containerEl.ownerDocument.body.classList.add("tn-drag-active");let l=t.getBoundingClientRect().height,c=this.itemsContainer;window.requestAnimationFrame(()=>{if(t.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),t.classList.add("tn-static-height-0-7a31cef0"),t.classList.remove("tn-static-flex-1-14e3b769"),t.classList.add("tn-static-overflow-hidden-69824400"),t.classList.remove("tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),t.classList.add("tn-static-padding-0-41d7d7e2"),t.classList.remove("tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),t.classList.add("tn-static-margin-0-11696618"),t.classList.remove("tn-static-border-1px-solid-var-background-mo-b65b5121","tn-static-padding-12px-43bef435"),t.classList.add("tn-static-border-none-2eda1daa"),t.classList.remove("tn-static-opacity-0-6-d95b59ac","tn-static-opacity-1-c6e7979d"),t.classList.add("tn-static-opacity-0-8d919cb5"),c){let d=getComputedStyle(c).gap,u=parseFloat(d)||4;c.style.setProperty("--tn-drag-gap",`${l+u}px`),this.dragContainer=c,this.currentInsertionGroupKey=i,this.currentInsertionSegmentIndex=-1,this.currentInsertionIndex=-1,this.currentDropSlotElement=null,this.currentDropSlotPosition=null,this.captureDropBaseline()}})}),t.addEventListener("dragend",()=>{s(),af(t),t.classList.remove("task-card--dragging"),this.cleanupDragShift(),this.containerEl.ownerDocument.body.classList.remove("tn-drag-active"),this.draggedTaskPath=null,this.dragGroupKey=null,this.currentInsertionGroupKey=null,this.currentInsertionSegmentIndex=-1,this.currentInsertionIndex=-1,this.dragOverRafId&&(cancelAnimationFrame(this.dragOverRafId),this.dragOverRafId=0),this.pendingDragClientY=null,this.pendingRender&&(this.containerEl.ownerDocument.defaultView||window).setTimeout(()=>{this.pendingRender&&(this.pendingRender=!1,this.debouncedRefresh())},200)})}shouldEnableManualReordering(){return TP(this.dataAdapter,this.plugin.settings.fieldMapping.sortOrder)}configureCardForManualReordering(t,n,i){this.shouldEnableManualReordering()&&(t.setAttribute("draggable","true"),this.setupCardDragHandlers(t,n,i))}clearDropIndicators(){var t;(t=this.itemsContainer)==null||t.querySelectorAll(".task-card--drop-above, .task-card--drop-below, .task-list-view__drop-slot-before, .task-list-view__drop-slot-after").forEach(n=>{n.classList.remove("task-card--drop-above","task-card--drop-below","task-list-view__drop-slot-before","task-list-view__drop-slot-after")}),this.currentDropSlotElement=null,this.currentDropSlotPosition=null}cleanupDragShift(){var t;this.dragContainer&&this.dragContainer.style.removeProperty("--tn-drag-gap"),(t=this.itemsContainer)==null||t.querySelectorAll(".task-card--drag-shift, .task-card--shift-down, .task-list-view__drop-slot-before, .task-list-view__drop-slot-after").forEach(n=>{n.classList.remove("task-card--drag-shift","task-card--shift-down","task-list-view__drop-slot-before","task-list-view__drop-slot-after")}),this.dragContainer=null,this.currentDropSlotElement=null,this.currentDropSlotPosition=null,this.currentInsertionGroupKey=null,this.currentInsertionSegmentIndex=-1,this.currentInsertionIndex=-1,this.dragBaselineCards=[]}getDropSegments(){return Eje(this.getDropBaselineCards())}reconstructDropTargetFromInsertionSlot(t,n){return xje(this.getDropSegments(),t,n)}getCurrentInsertionTarget(){return this.currentInsertionSegmentIndex<0||this.currentInsertionIndex<0?null:this.reconstructDropTargetFromInsertionSlot(this.currentInsertionSegmentIndex,this.currentInsertionIndex)}getVisibleSortScopePathsForDrag(t){return this.getVisibleSortScopePaths(t)}getReorderScopeQueueKey(t,n){return n?`manual-sort:${n}:${this.getSortScopeKey(t)}`:"manual-sort:list"}syncGroupedDragMetadata(t){this.taskGroupKeys.clear();let n=new Map;for(let i of t){if(i.type!=="task")continue;this.taskGroupKeys.set(i.task.path,i.groupKey);let a=n.get(i.groupKey)||[];a.push(i.task.path),n.set(i.groupKey,a)}this.setSortScopePaths(n)}updateDropSlotPreview(t){let{element:n,position:i}=t;n===this.currentDropSlotElement&&i===this.currentDropSlotPosition||(this.clearDropIndicators(),n.classList.add(i==="before"?"task-list-view__drop-slot-before":"task-list-view__drop-slot-after"),this.currentDropSlotElement=n,this.currentDropSlotPosition=i)}updateResolvedInsertionSlot(t){let n=this.resolveClosestInsertionSlot(t);return n?(this.currentInsertionGroupKey=n.groupKey,this.currentInsertionSegmentIndex=n.segmentIndex,this.currentInsertionIndex=n.insertionIndex,this.updateDropSlotPreview(n),!0):!1}flushPendingInsertionSlot(t){return this.dragOverRafId&&(cancelAnimationFrame(this.dragOverRafId),this.dragOverRafId=0),this.pendingDragClientY=null,this.updateResolvedInsertionSlot(t)}getVisibleDropCards(){return this.itemsContainer?Array.from(this.itemsContainer.querySelectorAll(".task-card[data-task-path]")).filter(t=>{var i;return t.dataset.taskPath===this.draggedTaskPath?!1:!((i=t.parentElement)==null?void 0:i.closest(".task-card[data-task-path]"))}):[]}captureDropBaseline(t=this.getVisibleDropCards()){if(!this.itemsContainer){this.dragBaselineCards=[];return}let n=this.itemsContainer.getBoundingClientRect(),i=this.itemsContainer.scrollTop;this.dragBaselineCards=t.map(a=>{var c;let s=a.dataset.taskPath;if(!s)return null;let o=a.getBoundingClientRect(),l=o.top-n.top+i;return{path:s,groupKey:(c=this.taskGroupKeys.get(s))!=null?c:null,card:a,top:l,bottom:l+o.height,midpoint:l+o.height/2}}).filter(a=>!!a)}getDropBaselineCards(){let t=this.getVisibleDropCards(),n=t.map(s=>{var o;return(o=s.dataset.taskPath)!=null?o:""}),i=this.dragBaselineCards.map(s=>s.path);return n.length===i.length&&n.every((s,o)=>s===i[o])||this.captureDropBaseline(t),this.dragBaselineCards}getContainerLocalY(t){if(!this.itemsContainer)return t;let n=this.itemsContainer.getBoundingClientRect();return t-n.top+this.itemsContainer.scrollTop}resolveClosestInsertionSlot(t){let n=this.getDropSegments(),i=this.getContainerLocalY(t);return Cje(n,i)}setupContainerDragHandlers(){this.itemsContainer&&(this.itemsContainer.addEventListener("dragenter",t=>{this.draggedTaskPath&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"))}),this.itemsContainer.addEventListener("dragover",t=>{this.draggedTaskPath&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"),this.pendingDragClientY=t.clientY,this.dragOverRafId||(this.dragOverRafId=window.requestAnimationFrame(()=>{this.dragOverRafId=0;let n=this.pendingDragClientY;this.pendingDragClientY=null,n!==null&&this.updateResolvedInsertionSlot(n)})))}),this.itemsContainer.addEventListener("dragleave",t=>{var i;let n=t.relatedTarget;(!n||!((i=this.itemsContainer)!=null&&i.contains(n)))&&this.clearDropIndicators()}),this.itemsContainer.addEventListener("drop",t=>{(async()=>{if(t.preventDefault(),!this.draggedTaskPath||!this.flushPendingInsertionSlot(t.clientY)&&this.currentInsertionIndex<0)return;let n=this.draggedTaskPath,i=this.dragGroupKey,a=this.currentInsertionGroupKey,s=this.getVisibleSortScopePathsForDrag(a),o=this.currentInsertionSegmentIndex,l=this.currentInsertionIndex,c=o>=0&&l>=0?this.reconstructDropTargetFromInsertionSlot(o,l):null;!n||!c||(this.clearDropIndicators(),this.cleanupDragShift(),this.draggedTaskPath=null,this.dragGroupKey=null,this.currentInsertionGroupKey=null,this.currentInsertionSegmentIndex=-1,this.currentInsertionIndex=-1,this.pendingDragClientY=null,await this.handleSortOrderDrop(n,c.taskPath,c.above,a,i,s))})()}))}async handleSortOrderDrop(t,n,i,a,s,o){let l=this.getGroupByPropertyId(),c=this.getReorderScopeQueueKey(a,l);await this.dropQueue.enqueue(c,async()=>{var v;let d=Aje({groupByPropertyId:l,sourceGroupKey:s,targetGroupKey:a,lookupMappingKey:k=>this.plugin.fieldMapper.lookupMappingKey(k),isListTypeProperty:k=>this.isListTypeProperty(k)});if(d.isFormulaGrouping){new ti.Notice(this.plugin.i18n.translate("views.taskList.errors.formulaGroupingReadOnly"));return}let u=await DF(n,i,a,d.cleanGroupBy,t,this.plugin,{taskInfoCache:this.taskInfoCache,visibleTaskPaths:o!=null?o:this.getVisibleSortScopePaths(a),candidateTaskPaths:this.getCandidateSortScopePaths(a)});if(u.sortOrder===null)return;let p=u.additionalWrites.length+1;if(p>this.LARGE_REORDER_WARNING_THRESHOLD&&!await this.confirmLargeReorder(p,a))return;if(!(d.needsGroupUpdate||u!==null)){this.debouncedRefresh();return}let f=this.plugin.app.vault.getAbstractFileByPath(t);if(!f||!(f instanceof ti.TFile)){this.debouncedRefresh();return}let h=this.plugin.settings.fieldMapping.sortOrder;if(await PF(t,u,this.plugin,{includeDragged:!1}),await this.plugin.app.fileManager.processFrontMatter(f,k=>{var b;Ije({frontmatter:k,plan:d,sortOrderField:h,sortOrder:u.sortOrder,isRecurring:!!((b=this.taskInfoCache.get(t))!=null&&b.recurrence),dateModifiedField:this.plugin.fieldMapper.toUserField("dateModified"),coerceGroupKeyForFrontmatter:(w,S)=>this.coerceGroupKeyForFrontmatter(w,S),updateCompletedDateInFrontmatter:(w,S,x)=>this.plugin.taskService.updateCompletedDateInFrontmatter(w,S,x),getTimestamp:Ye})}),d.needsGroupUpdate&&d.groupByTaskProp)try{let k=(v=this.taskInfoCache.get(t))!=null?v:await this.plugin.cacheManager.getTaskInfo(t);if(k){let b=Nje(k,{plan:d,isCompletedStatus:w=>this.plugin.statusManager.isCompletedStatus(w),getTimestamp:Ye,getCompletedDate:()=>new Date().toISOString().split("T")[0]});b&&await this.plugin.taskService.applyPropertyChangeSideEffects(f,k,b,d.groupByTaskProp,d.sourceGroupKey,d.normalizedTargetGroupKey)}}catch(k){ks.warn("[TaskNotes][TaskListView] Side-effect error after drop:",{category:"persistence",operation:"side-effect-drop",error:k})}this.applyOptimisticSortOrderResult(t,n,i,a,s,u)||this.debouncedRefresh()})}async renderFlat(t){let n=this.getVisibleProperties();this.setSortScopeCandidatePaths([[null,t.map(c=>c.path)]]);let i=this.applySearchFilter(t);this.setExpandedRelationshipTaskScope(i);let a=this.getTopLevelRenderTasks(i);if(this.setCurrentVisibleTaskPaths(a),this.isSearchWithNoResults(i,t.length)){this.clearAllTaskElements(),this.sortScopeTaskPaths.clear(),this.sortScopeCandidateTaskPaths.clear(),this.itemsContainer&&this.renderSearchNoResults(this.itemsContainer);return}let s=vn(new Date);this.currentTargetDate=s;let o=this.getCardOptions(s),l=a.length>=this.VIRTUAL_SCROLL_THRESHOLD;l&&!this.useVirtualScrolling?(this.cleanupNonVirtualRendering(),this.useVirtualScrolling=!0):!l&&this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),this.useVirtualScrolling?await this.renderFlatVirtual(a,n,o):await this.renderFlatNormal(a,n,o)}async renderFlatVirtual(t,n,i){if(this.itemsContainer){if(this.taskGroupKeys.clear(),this.setSortScopePaths([[null,t.map(a=>a.path)]]),!this.virtualScroller)this.resetVirtualScrollerIfCardRenderChanged(this.buildCardRenderSignature(n,i)),this.virtualScroller=new tf({container:this.itemsContainer,items:t,overscan:5,renderItem:a=>{if("type"in a)throw new Error("Unexpected grouped item in flat renderer");let s=a,o=Sr(a,this.plugin,n,i);return this.configureCardForManualReordering(o,s,null),this.taskInfoCache.set(s.path,s),this.lastTaskSignatures.set(s.path,this.buildTaskSignature(s)),o},getItemKey:a=>"type"in a?`grouped-${a.groupKey}`:a.path}),window.setTimeout(()=>{var a;(a=this.virtualScroller)==null||a.recalculate()},0);else{if(this.resetVirtualScrollerIfCardRenderChanged(this.buildCardRenderSignature(n,i)),!this.virtualScroller){await this.renderFlatVirtual(t,n,i);return}this.virtualScroller.updateItems(t)}this.lastVirtualItems=t,this.lastFlatPaths=t.map(a=>a.path),this.lastCardRenderSignature=this.buildCardRenderSignature(n,i)}}async renderFlatNormal(t,n,i){if(!this.itemsContainer)return;this.lastVirtualItems=[],this.taskGroupKeys.clear(),this.setSortScopePaths([[null,t.map(c=>c.path)]]);let a=new Set,s=!this.arePathArraysEqual(t,this.lastFlatPaths),o=this.buildCardRenderSignature(n,i),l=o!==this.lastCardRenderSignature;s&&(this.itemsContainer.empty(),this.currentTaskElements.clear());for(let c of t){let d=s?null:this.currentTaskElements.get(c.path)||null,u=this.buildTaskSignature(c),p=this.lastTaskSignatures.get(c.path),m=l||u!==p||!d;if(!d||m){let f=Sr(c,this.plugin,n,i);d&&d.isConnected&&d.replaceWith(f),d=f}d.isConnected||this.itemsContainer.appendChild(d),m&&this.configureCardForManualReordering(d,c,null),this.currentTaskElements.set(c.path,d),this.taskInfoCache.set(c.path,c),this.lastTaskSignatures.set(c.path,u),a.add(c.path)}if(!s&&a.size!==this.currentTaskElements.size){for(let[c,d]of this.currentTaskElements)if(!a.has(c)){d.remove(),this.currentTaskElements.delete(c);let u=this.clickTimeouts.get(c);u&&(window.clearTimeout(u),this.clickTimeouts.delete(c)),this.taskInfoCache.delete(c),this.lastTaskSignatures.delete(c)}}this.lastFlatPaths=t.map(c=>c.path),this.lastCardRenderSignature=o}async renderGroupedBySubProperty(t){let n=this.getVisibleProperties(),i=this.applySearchFilter(t);this.setExpandedRelationshipTaskScope(i);let a=this.getTopLevelRenderTasks(i),s=this.getTopLevelRenderTasks(t);if(this.setCurrentVisibleTaskPaths(a),this.isSearchWithNoResults(i,t.length)){this.clearAllTaskElements(),this.sortScopeTaskPaths.clear(),this.sortScopeCandidateTaskPaths.clear(),this.itemsContainer&&this.renderSearchNoResults(this.itemsContainer);return}let o=vn(new Date);this.currentTargetDate=o;let l=this.getCardOptions(o),c=EP(this.dataAdapter.extractDataItems()),d=uk(a,this.subGroupPropertyId,c),u=uk(s,this.subGroupPropertyId,c);this.setSortScopeCandidatePaths(Mje(u)),this.applyGroupingSnapshot(this.createSubPropertyHierarchySnapshot(d));let p=U7(d,this.collapsedGroups),m=p.length>=this.VIRTUAL_SCROLL_THRESHOLD;if(this.useVirtualScrolling&&m&&this.virtualScroller){await this.renderGroupedVirtual(p,n,l),this.lastFlatPaths=t.map(f=>f.path);return}this.itemsContainer.empty(),this.currentTaskElements.clear(),this.clearClickTimeouts(),this.taskInfoCache.clear(),this.lastTaskSignatures.clear(),m&&!this.useVirtualScrolling?(this.cleanupNonVirtualRendering(),this.useVirtualScrolling=!0):!m&&this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),this.useVirtualScrolling?await this.renderGroupedVirtual(p,n,l):await this.renderGroupedNormal(p,n,l),this.lastFlatPaths=t.map(f=>f.path)}async renderGrouped(t){let n=this.getVisibleProperties(),i=this.dataAdapter.getGroupedData(),a=this.applySearchFilter(t);this.setExpandedRelationshipTaskScope(a);let s=this.getTopLevelRenderTasks(a),o=this.getTopLevelRenderTasks(t);if(this.setCurrentVisibleTaskPaths(s),this.isSearchWithNoResults(a,t.length)){this.clearAllTaskElements(),this.sortScopeTaskPaths.clear(),this.sortScopeCandidateTaskPaths.clear(),this.itemsContainer&&this.renderSearchNoResults(this.itemsContainer);return}let l=vn(new Date);this.currentTargetDate=l;let c=this.getCardOptions(l);this.applyGroupingSnapshot(this.createGroupedHierarchySnapshot(i,s));let d=this.subGroupPropertyId?EP(this.dataAdapter.extractDataItems()):new Map,u=B7({groups:i,taskNotes:s,subGroupPropertyId:this.subGroupPropertyId,pathToProps:d,collapsedGroups:this.collapsedGroups,collapsedSubGroups:this.collapsedSubGroups,convertGroupKeyToString:m=>this.dataAdapter.convertGroupKeyToString(m)});this.setSortScopeCandidatePaths(Pje(i,o,m=>this.dataAdapter.convertGroupKeyToString(m)));let p=u.length>=this.VIRTUAL_SCROLL_THRESHOLD;if(this.useVirtualScrolling&&p&&this.virtualScroller){await this.renderGroupedVirtual(u,n,c),this.lastFlatPaths=t.map(m=>m.path);return}this.itemsContainer.empty(),this.currentTaskElements.clear(),this.clearClickTimeouts(),this.taskInfoCache.clear(),this.lastTaskSignatures.clear(),p&&!this.useVirtualScrolling?(this.cleanupNonVirtualRendering(),this.useVirtualScrolling=!0):!p&&this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),this.useVirtualScrolling?await this.renderGroupedVirtual(u,n,c):await this.renderGroupedNormal(u,n,c),this.lastFlatPaths=t.map(m=>m.path)}async renderGroupedVirtual(t,n,i){if(this.syncGroupedDragMetadata(t),!this.virtualScroller)this.virtualScroller=new tf({container:this.itemsContainer,items:t,overscan:5,renderItem:a=>{if(!("type"in a))throw new Error("Unexpected flat task item in grouped renderer");if(a.type==="primary-header"||a.type==="sub-header")return this.createGroupHeader(a);{let s=Sr(a.task,this.plugin,n,i);return this.configureCardForManualReordering(s,a.task,a.groupKey),this.taskInfoCache.set(a.task.path,a.task),this.lastTaskSignatures.set(a.task.path,this.buildTaskSignature(a.task)),s}},getItemKey:a=>"type"in a?a.type==="primary-header"?`primary-${a.groupKey}`:a.type==="sub-header"?`sub-${a.groupKey}:${a.subGroupKey}`:a.task.path:a.path}),window.setTimeout(()=>{var a;(a=this.virtualScroller)==null||a.recalculate()},0);else{if(this.resetVirtualScrollerIfCardRenderChanged(this.buildCardRenderSignature(n,i)),!this.virtualScroller){await this.renderGroupedVirtual(t,n,i);return}this.virtualScroller.updateItems(t)}this.lastVirtualItems=t,this.lastCardRenderSignature=this.buildCardRenderSignature(n,i)}async renderGroupedNormal(t,n,i){this.lastVirtualItems=[],this.syncGroupedDragMetadata(t);for(let a of t)if(a.type==="primary-header"||a.type==="sub-header"){let s=this.createGroupHeader(a);this.itemsContainer.appendChild(s)}else{let s=Sr(a.task,this.plugin,n,i);this.configureCardForManualReordering(s,a.task,a.groupKey),this.itemsContainer.appendChild(s),this.currentTaskElements.set(a.task.path,s),this.taskInfoCache.set(a.task.path,a.task),this.lastTaskSignatures.set(a.task.path,this.buildTaskSignature(a.task))}this.lastCardRenderSignature=this.buildCardRenderSignature(n,i)}createGroupHeader(t){let n=this.containerEl.ownerDocument,i=n.createElement("div");i.className="task-section task-group";let a=t.type==="sub-header",s=a?"sub":"primary";i.dataset.level=s;let o=a?`${t.groupKey}:${t.subGroupKey}`:t.groupKey;a?(i.dataset.groupKey=o,i.dataset.parentKey=t.parentKey):i.dataset.groupKey=o,t.isCollapsed&&i.classList.add("is-collapsed");let l=n.createElement("h3");l.className="task-group-header task-list-view__group-header",i.appendChild(l);let c=n.createElement("button");c.className="task-group-toggle",c.type="button",c.setAttribute("aria-label","Toggle group"),c.setAttribute("aria-expanded",String(!t.isCollapsed)),c.dataset.groupKey=o,l.appendChild(c),(0,ti.setIcon)(c,"chevron-right");let d=c.querySelector("svg");d&&(d.classList.add("chevron"),d.setAttribute("width","16"),d.setAttribute("height","16"));let u=l.createSpan({cls:"task-group-title"}),p=a?t.subGroupTitle:t.groupTitle;return this.renderGroupTitle(u,p),l.createSpan({text:` (${t.taskCount})`,cls:"agenda-view__item-count"}),i}async handleTaskUpdate(t){var n;if(this.taskInfoCache.set(t.path,t),this.lastTaskSignatures.set(t.path,this.buildTaskSignature(t)),this.useVirtualScrolling)this.debouncedRefresh();else{let i=this.currentTaskElements.get(t.path);if(i&&i.isConnected){let a=this.getVisibleProperties(),s=Sr(t,this.plugin,a,this.getCardOptions(this.currentTargetDate));this.configureCardForManualReordering(s,t,(n=this.taskGroupKeys.get(t.path))!=null?n:null),i.replaceWith(s),s.classList.add("task-card--updated"),(this.containerEl.ownerDocument.defaultView||window).setTimeout(()=>{s.classList.remove("task-card--updated")},1e3),this.currentTaskElements.set(t.path,s)}else this.debouncedRefresh()}}renderEmptyState(){let n=this.containerEl.ownerDocument.createElement("div");n.className="tn-bases-empty",n.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c","tn-static-text-align-center-91a87015"),n.classList.add("tn-static-padding-20px-7a035d95"),n.textContent="No tasknotes tasks found for this base.",this.itemsContainer.appendChild(n)}renderError(t){let i=this.containerEl.ownerDocument.createElement("div");i.className="tn-bases-error",i.classList.remove("tn-static-border-radius-4px-c290c56e","tn-static-border-radius-6px-0dc8408c","tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-0-11696618","tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),i.classList.add("tn-static-padding-20px-ebe8e48c"),i.textContent=`Error loading tasks: ${t.message||"Unknown error"}`,this.itemsContainer.appendChild(i)}renderGroupTitle(t,n){let i=this.app||this.plugin.app,a={metadataCache:i.metadataCache,workspace:i.workspace};lF(t,n,a)}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(),this.clearGroupingSnapshot(),this.initializedPrimaryGroupKeys.clear(),this.initializedSubGroupKeys.clear(),this.taskGroupKeys.clear(),this.sortScopeTaskPaths.clear()}getEphemeralState(){var t;return{scrollTop:((t=this.rootElement)==null?void 0:t.scrollTop)||0,collapsedGroups:Array.from(this.collapsedGroups),collapsedSubGroups:Array.from(this.collapsedSubGroups)}}setEphemeralState(t){if(!EMt(t))return;let n=!1;if(t.collapsedGroups&&Array.isArray(t.collapsedGroups)){let i=t.collapsedGroups.filter(a=>typeof a=="string");this.collapsedGroups=new Set(i),n=n||i.length>0}if(t.collapsedSubGroups&&Array.isArray(t.collapsedSubGroups)){let i=t.collapsedSubGroups.filter(a=>typeof a=="string");this.collapsedSubGroups=new Set(i),n=n||i.length>0}if(this.deferCollapseDefaultForNextSnapshot=n,typeof t.scrollTop=="number"&&this.rootElement){let i=t.scrollTop;window.requestAnimationFrame(()=>{this.rootElement&&this.rootElement.isConnected&&(this.rootElement.scrollTop=i)})}}clearAllTaskElements(){var t;this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),(t=this.itemsContainer)==null||t.empty(),this.currentTaskElements.forEach(n=>n.remove()),this.currentTaskElements.clear(),this.lastFlatPaths=[],this.lastTaskSignatures.clear(),this.taskInfoCache.clear(),this.clearClickTimeouts(),this.taskGroupKeys.clear(),this.sortScopeTaskPaths.clear(),this.expandedRelationshipTaskPaths.clear(),this.expandedRelationshipTaskOrder.clear()}getCardOptions(t){return this.buildTaskCardOptions({targetDate:t,expandedRelationshipFilterMode:this.expandedRelationshipFilterMode,resolveExpandedRelationshipFilterMode:()=>{var n;return Lje((n=this.config)==null?void 0:n.get("expandedRelationshipFilterMode"))},expandedRelationshipTaskPaths:this.expandedRelationshipTaskPaths,expandedRelationshipTaskOrder:this.expandedRelationshipTaskOrder})}getTopLevelRenderTasks(t){return this.hideTopLevelSubtasks?this.filterTopLevelSubtasks(t):[...t]}setExpandedRelationshipTaskScope(t){this.expandedRelationshipTaskPaths.clear(),this.expandedRelationshipTaskOrder.clear(),t.forEach((n,i)=>{this.expandedRelationshipTaskPaths.add(n.path),this.expandedRelationshipTaskOrder.set(n.path,i)})}setCurrentVisibleTaskPaths(t){this.currentVisibleTaskPaths.clear(),this.currentVisibleTaskOrder.clear(),t.forEach((n,i)=>{this.currentVisibleTaskPaths.add(n.path),this.currentVisibleTaskOrder.set(n.path,i)})}clearClickTimeouts(){for(let t of this.clickTimeouts.values())t&&window.clearTimeout(t);this.clickTimeouts.clear()}registerContainerListeners(){!this.itemsContainer||this.containerListenersRegistered||(this.registerDomEvent(this.itemsContainer,"click",this.handleItemClick),this.containerListenersRegistered=!0)}unregisterContainerListeners(){this.containerListenersRegistered=!1}getTaskContextFromEvent(t){let n=t.target;if(!n)return null;let i=n.closest(".task-card");if(!i)return null;let a=i.dataset.taskPath;if(!a)return null;let s=this.taskInfoCache.get(a);return s?{task:s,card:i}:null}isSubGroupKey(t){return t.includes(":")}setSetEntry(t,n,i){if(i){t.add(n);return}t.delete(n)}getCurrentSubGroupKeys(){let t=[];for(let n of this.currentSubGroupKeysByParent.values())t.push(...n);return t}async setSubGroupsCollapsed(t,n){for(let i of this.currentSubGroupKeysByParent.get(t)||[])this.setSetEntry(this.collapsedSubGroups,i,n);this.lastRenderWasGrouped&&await this.refreshGroupedView()}async setAllPrimaryGroupsCollapsed(t){for(let n of this.currentPrimaryGroupKeys)this.setSetEntry(this.collapsedGroups,n,t);this.lastRenderWasGrouped&&await this.refreshGroupedView()}async setAllGroupsAndSubGroupsCollapsed(t){for(let n of this.currentPrimaryGroupKeys)this.setSetEntry(this.collapsedGroups,n,t);for(let n of this.getCurrentSubGroupKeys())this.setSetEntry(this.collapsedSubGroups,n,t);this.lastRenderWasGrouped&&await this.refreshGroupedView()}async handleGroupToggle(t){this.isSubGroupKey(t)?this.setSetEntry(this.collapsedSubGroups,t,!this.collapsedSubGroups.has(t)):this.setSetEntry(this.collapsedGroups,t,!this.collapsedGroups.has(t)),this.lastRenderWasGrouped&&await this.refreshGroupedView()}async refreshGroupedView(){var l;if(!((l=this.data)!=null&&l.data))return;let t=this.dataAdapter.extractDataItems();wP(this.data,t);let n=await np(t,this.plugin),i=this.applySearchFilter(n);this.setExpandedRelationshipTaskScope(i);let a=this.getTopLevelRenderTasks(i);this.setCurrentVisibleTaskPaths(a);let s=this.subGroupPropertyId?EP(t):new Map,o;if(!this.dataAdapter.isGrouped()&&this.subGroupPropertyId){let c=uk(a,this.subGroupPropertyId,s);this.applyGroupingSnapshot(this.createSubPropertyHierarchySnapshot(c)),o=U7(c,this.collapsedGroups)}else{let c=this.dataAdapter.getGroupedData();this.applyGroupingSnapshot(this.createGroupedHierarchySnapshot(c,a)),o=B7({groups:c,taskNotes:a,subGroupPropertyId:this.subGroupPropertyId,pathToProps:s,collapsedGroups:this.collapsedGroups,collapsedSubGroups:this.collapsedSubGroups,convertGroupKeyToString:d=>this.dataAdapter.convertGroupKeyToString(d)})}this.useVirtualScrolling&&this.virtualScroller?(this.syncGroupedDragMetadata(o),this.virtualScroller.updateItems(o)):await this.render()}async handleActionClick(t,n,i,a){switch(t){case"toggle-status":await this.handleToggleStatus(n,a);return;case"priority-menu":this.showPriorityMenu(n,a);return;case"recurrence-menu":this.showRecurrenceMenu(n,a);return;case"reminder-menu":this.showReminderModal(n);return;case"task-context-menu":await Ro(a,n.path,this.plugin,this.getTaskActionDate(n));return;case"edit-date":await this.openDateContextMenu(n,i.dataset.tnDateType,a);return;case"filter-project-subtasks":await this.filterProjectSubtasks(n);return;case"toggle-subtasks":await this.toggleSubtasks(n,i);return;case"toggle-blocking-tasks":await this.toggleBlockingTasks(n,i);return;default:await this.handleCardClick(n,a)}}async handleToggleStatus(t,n){try{if(t.recurrence){let i=this.getTaskActionDate(t);await this.plugin.toggleRecurringTaskComplete(t,i)}else await this.plugin.toggleTaskStatus(t)}catch(i){let a=i instanceof Error?i.message:String(i);ks.error("[TaskNotes][TaskListView] Failed to toggle status",{category:"persistence",operation:"toggle-status",details:{taskPath:t.path},error:a}),new ti.Notice(`Failed to toggle task status: ${a}`)}}getTaskActionDate(t){let n=ke(t.scheduled||t.due||"");return n?zt(n):this.currentTargetDate}showPriorityMenu(t,n){new ku({currentValue:t.priority,onSelect:a=>{(async()=>{try{await this.plugin.updateTaskProperty(t,"priority",a)}catch(s){ks.error("[TaskNotes][TaskListView] Failed to update priority",{category:"validation",operation:"update-priority",error:s}),new ti.Notice("Failed to update priority")}})()},plugin:this.plugin}).show(n)}showRecurrenceMenu(t,n){new Ml({currentValue:typeof t.recurrence=="string"?t.recurrence:void 0,currentAnchor:t.recurrence_anchor||"scheduled",scheduledDate:t.scheduled,onSelect:(a,s)=>{(async()=>{try{await this.plugin.updateTaskProperty(t,"recurrence",a||void 0),s!==void 0&&await this.plugin.updateTaskProperty(t,"recurrence_anchor",s)}catch(o){ks.error("[TaskNotes][TaskListView] Failed to update recurrence",{category:"validation",operation:"update-recurrence",error:o}),new ti.Notice("Failed to update recurrence")}})()},app:this.plugin.app,plugin:this.plugin}).show(n)}showReminderModal(t){new _l(this.plugin.app,this.plugin,t,i=>{(async()=>{try{await this.plugin.updateTaskProperty(t,"reminders",i.length>0?i:void 0)}catch(a){ks.error("[TaskNotes][TaskListView] Failed to update reminders",{category:"validation",operation:"update-reminders",error:a}),new ti.Notice("Failed to update reminders")}})()}).open()}async openDateContextMenu(t,n,i){if(!n)return;let a=n==="due"?t.due:t.scheduled;new Zs({currentValue:ke(a||""),currentTime:_a(a||""),onSelect:(o,l)=>{(async()=>{try{let c;o?l?c=`${o}T${l}`:c=o:c=void 0,await this.plugin.updateTaskProperty(t,n,c)}catch(c){let d=c instanceof Error?c.message:String(c);ks.error("[TaskNotes][TaskListView] Failed to update date",{category:"validation",operation:"update-date",details:{taskPath:t.path,dateType:n},error:d}),new ti.Notice(`Failed to update ${n} date: ${d}`)}})()},dateRole:n,plugin:this.plugin,app:this.app||this.plugin.app}).show(i)}async handleCardClick(t,n){if(this.handleSelectionClick(n,t.path))return;if(this.plugin.settings.doubleClickAction==="none"){await this.executeSingleClickAction(t,n);return}let i=this.clickTimeouts.get(t.path);if(i)window.clearTimeout(i),this.clickTimeouts.delete(t.path),await this.executeDoubleClickAction(t,n);else{let s=(this.containerEl.ownerDocument.defaultView||window).setTimeout(()=>{(async()=>(this.clickTimeouts.delete(t.path),await this.executeSingleClickAction(t,n)))()},250);this.clickTimeouts.set(t.path,s)}}async executeSingleClickAction(t,n){if(n.ctrlKey||n.metaKey){this.openTaskNote(t,!0);return}switch(this.plugin.settings.singleClickAction){case"edit":await this.editTask(t);break;case"openNote":this.openTaskNote(t,!1);break;default:break}}async executeDoubleClickAction(t,n){switch(this.plugin.settings.doubleClickAction){case"edit":await this.editTask(t);break;case"openNote":this.openTaskNote(t,!1);break;default:break}}async editTask(t){await this.plugin.openTaskEditModal(t)}openTaskNote(t,n){let i=this.app||this.plugin.app,a=i.vault.getAbstractFileByPath(t.path);a instanceof ti.TFile&&(n?i.workspace.openLinkText(t.path,"",!0):i.workspace.getLeaf(!1).openFile(a))}async filterProjectSubtasks(t){try{await this.plugin.applyProjectSubtaskFilter(t)}catch(n){ks.error("[TaskNotes][TaskListView] Failed to filter project subtasks",{category:"persistence",operation:"filter-project-subtasks",error:n}),new ti.Notice("Failed to filter project subtasks")}}async toggleSubtasks(t,n){var i;try{if(!this.plugin.expandedProjectsService){ks.error("[TaskNotes][TaskListView] ExpandedProjectsService not initialized",{category:"stale-data",operation:"expandedprojectsservice-not-initialized"}),new ti.Notice("Service not available. Please try reloading the plugin.");return}let a=this.plugin.expandedProjectsService.toggle(t.path,((i=this.plugin.settings)==null?void 0:i.expandSubtasksByDefault)===!0);n.classList.toggle("task-card__chevron--expanded",a),n.setAttribute("aria-label",a?"Collapse subtasks":"Expand subtasks");let s=n.closest(".task-card");if(s){let{toggleSubtasks:o}=await Promise.resolve().then(()=>(la(),bb));await o(s,t,this.plugin,a)}}catch(a){ks.error("[TaskNotes][TaskListView] Failed to toggle subtasks",{category:"persistence",operation:"toggle-subtasks",error:a}),new ti.Notice("Failed to toggle subtasks")}}async toggleBlockingTasks(t,n){try{let i=n.classList.toggle("task-card__blocking-toggle--expanded"),a=n.closest(".task-card");if(a){let{toggleBlockingTasks:s}=await Promise.resolve().then(()=>(la(),bb));await s(a,t,this.plugin,i)}}catch(i){ks.error("[TaskNotes][TaskListView] Failed to toggle blocking tasks",{category:"persistence",operation:"toggle-blocking-tasks",error:i}),new ti.Notice("Failed to toggle blocking tasks")}}arePathArraysEqual(t,n){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++)if(t[i].path!==n[i])return!1;return!0}cleanupNonVirtualRendering(){var t;(t=this.itemsContainer)==null||t.empty(),this.currentTaskElements.clear(),this.clearClickTimeouts()}destroyVirtualScroller(){this.virtualScroller&&(this.virtualScroller.destroy(),this.virtualScroller=null),this.lastVirtualItems=[]}resetVirtualScrollerIfCardRenderChanged(t){this.virtualScroller&&this.lastCardRenderSignature!==""&&this.lastCardRenderSignature!==t&&this.destroyVirtualScroller()}buildTaskSignature(t){var n,i,a,s;return`${t.path}|${t.title}|${t.status}|${t.priority}|${t.due}|${t.scheduled}|${t.recurrence}|${t.archived}|${t.sortOrder}|${(n=t.complete_instances)==null?void 0:n.join(",")}|${(i=t.reminders)==null?void 0:i.length}|${(a=t.blocking)==null?void 0:a.length}|${(s=t.blockedBy)==null?void 0:s.length}`}buildCardRenderSignature(t,n){var a,s,o;let i=n.propertyLabels?Object.entries(n.propertyLabels).sort(([l],[c])=>l.localeCompare(c)):[];return JSON.stringify({visibleProperties:t!=null?t:null,propertyLabels:i,expandedRelationshipFilterMode:(a=n.expandedRelationshipFilterMode)!=null?a:null,targetDate:(o=(s=n.targetDate)==null?void 0:s.toISOString().slice(0,10))!=null?o:null})}}});async function q7({action:r,task:e,target:t,event:n,plugin:i,app:a}){let[{DateContextMenu:s},{PriorityContextMenu:o},{RecurrenceContextMenu:l},{ReminderModal:c},{showTaskContextMenu:d,toggleBlockingTasks:u,toggleSubtasks:p}]=await Promise.all([Promise.resolve().then(()=>(Nh(),Gve)),Promise.resolve().then(()=>(Mx(),xbe)),Promise.resolve().then(()=>(ab(),Ibe)),Promise.resolve().then(()=>(sb(),Nbe)),Promise.resolve().then(()=>(la(),bb))]);switch(r){case"toggle-status":await xMt(e,n,i);return;case"priority-menu":CMt(e,n,i,o);return;case"recurrence-menu":DMt(e,n,i,l);return;case"reminder-menu":PMt(e,i,c);return;case"task-context-menu":await d(n,e.path,i,_P(e));return;case"edit-date":await MMt(e,t.dataset.tnDateType,n,i,a,s);return;case"toggle-subtasks":await _Mt(e,t,i,p);return;case"toggle-blocking-tasks":await AMt(e,t,i,u);return}}async function xMt(r,e,t){try{r.recurrence?await t.toggleRecurringTaskComplete(r,_P(r)):await t.toggleTaskStatus(r)}catch(n){MP.error("[TaskNotes][KanbanView] Failed to toggle status",{category:"internal",operation:"toggle-status",error:n})}}function _P(r){let e=ke(r.scheduled||r.due||"");return e?zt(e):vn(new Date)}function CMt(r,e,t,n){new n({currentValue:r.priority,onSelect:a=>{(async()=>{try{await t.updateTaskProperty(r,"priority",a)}catch(s){MP.error("[TaskNotes][KanbanView] Failed to update priority",{category:"validation",operation:"update-priority",error:s})}})()},plugin:t}).show(e)}function DMt(r,e,t,n){new n({currentValue:typeof r.recurrence=="string"?r.recurrence:void 0,currentAnchor:r.recurrence_anchor||"scheduled",scheduledDate:r.scheduled,onSelect:(a,s)=>{(async()=>{try{await t.updateTaskProperty(r,"recurrence",a||void 0),s!==void 0&&await t.updateTaskProperty(r,"recurrence_anchor",s)}catch(o){MP.error("[TaskNotes][KanbanView] Failed to update recurrence",{category:"validation",operation:"update-recurrence",error:o})}})()},app:t.app,plugin:t}).show(e)}function PMt(r,e,t){new t(e.app,e,r,i=>{(async()=>{try{await e.updateTaskProperty(r,"reminders",i.length>0?i:void 0)}catch(a){MP.error("[TaskNotes][KanbanView] Failed to update reminders",{category:"validation",operation:"update-reminders",error:a})}})()}).open()}async function MMt(r,e,t,n,i,a){if(!e)return;let{getDatePart:s,getTimePart:o}=await Promise.resolve().then(()=>(Ne(),UB)),l=e==="due"?r.due:r.scheduled;new a({currentValue:s(l||""),currentTime:o(l||""),onSelect:(d,u)=>{(async()=>{try{let p;d?u?p=`${d}T${u}`:p=d:p=void 0,await n.updateTaskProperty(r,e,p)}catch(p){MP.error("[TaskNotes][KanbanView] Failed to update date",{category:"validation",operation:"update-date",error:p})}})()},dateRole:e,plugin:n,app:i}).show(t)}async function _Mt(r,e,t,n){var o,l;let i=e.closest(".task-card");if(!i)return;let s=!(((o=t.expandedProjectsService)==null?void 0:o.isExpanded(r.path))||!1);(l=t.expandedProjectsService)==null||l.setExpanded(r.path,s),e.classList.toggle("is-rotated",s),await n(i,r,t,s)}async function AMt(r,e,t,n){let i=e.closest(".task-card");if(!i)return;let a=e.classList.toggle("task-card__blocking-toggle--expanded");await n(i,r,t,a)}var MP,zje=y(()=>{Ne();G();MP=I({tag:"Bases/KanbanCardActions"})});function jje(r,e,t){return Math.min(Math.max(r,e),t)}function IMt(r,e,t){let n=Math.max(0,r.width),i=Math.max(0,r.height);return{x:jje(e-r.left,0,n),y:jje(t-r.top,0,i)}}function Bje(r,e,t){let n=r.dataTransfer;if(!n||typeof n.setDragImage!="function")return null;let i=e.ownerDocument,a=i.body;if(!a)return null;let s=e.getBoundingClientRect(),o=e.cloneNode(!0);o.classList.add("tasknotes-plugin"),t&&o.classList.add(t),o.setAttribute("aria-hidden","true"),o.style.width=`${Math.max(0,s.width)}px`,o.style.height=`${Math.max(0,s.height)}px`,a.appendChild(o);let l=IMt(s,r.clientX,r.clientY);n.setDragImage(o,l.x,l.y);let c=i.defaultView;return(c!=null?c:window).setTimeout(()=>{o.remove()},0),o}var Uje=y(()=>{});function NMt(r){let e=r;return!e||typeof e.nodeType!="number"?null:e.nodeType===Node.ELEMENT_NODE?e:e.parentElement}function W7(r,e){let t=NMt(r);if(!t||!e.contains(t))return null;let n=t.closest(".task-card__subtasks .task-card[data-task-path]");if(!n||!e.contains(n))return null;let i=n.dataset.taskPath;return i?{taskPath:i,sourceElement:n}:null}function RF(r,e){return r?{taskPath:r,above:e}:void 0}function AP(r,e){return r.length>0?[...r]:[e]}function Y7({dropTarget:r,isCrossScope:e,targetInDropScope:t,fallbackDropTarget:n}){if(!(r&&e&&!t))return!r&&!e?n:r}function qje(r,e,t){let n=r.getBoundingClientRect();return{taskPath:e,above:t<n.top+n.height/2}}function G7({cardsContainer:r,draggedTaskPaths:e,currentInsertionIndex:t,clientY:n}){let i=Array.from(r.querySelectorAll(".kanban-view__card-wrapper")).filter(s=>{let o=s.dataset.taskPath;return!!o&&!e.includes(o)});if(i.length===0)return;if(n!==void 0&&Number.isFinite(n)){let s=i.findIndex(o=>{let l=o.getBoundingClientRect();return n<l.top+l.height/2});return s===-1?{taskPath:i[i.length-1].dataset.taskPath,above:!1}:{taskPath:i[s].dataset.taskPath,above:!0}}let a=t>=0?Math.min(t,i.length):i.length;return a===0?{taskPath:i[0].dataset.taskPath,above:!0}:{taskPath:i[a-1].dataset.taskPath,above:!1}}function Wje({draggedPaths:r,dropTarget:e,targetContainer:t,currentTaskElements:n,removeEmptyCellHint:i,log:a}){var d,u;if(r.length===0)return a==null||a("OPTIMISTIC-REORDER: bail \u2014 no dragged paths"),!1;let s=()=>{let p=[];for(let m of r){let f=n.get(m);if(!f)return a==null||a("OPTIMISTIC-REORDER: bail \u2014 element not in currentTaskElements",{path:m.split("/").pop()}),null;p.push(f)}return p};if(!e){if(!t)return a==null||a("OPTIMISTIC-REORDER: bail \u2014 no dropTarget AND no targetContainer"),!1;let p=s();if(!p)return!1;i==null||i(t),a==null||a("OPTIMISTIC-REORDER: cross-column append path",{paths:r.map(m=>m.split("/").pop()),containerChildCount:t.childElementCount,containerClass:t.className});for(let m of p){let f=m.parentElement;a==null||a("OPTIMISTIC-REORDER: moving element",{path:(d=m.dataset.taskPath)==null?void 0:d.split("/").pop(),oldParentClass:f==null?void 0:f.className,oldParentChildCount:f==null?void 0:f.childElementCount,sameContainer:f===t,elCurrentStyles:m.style.cssText.slice(0,120)}),af(m),m.classList.remove("kanban-view__card--dragging"),t.appendChild(m)}return a==null||a("OPTIMISTIC-REORDER: cross-column append SUCCESS",{containerChildCount:t.childElementCount}),!0}a==null||a("OPTIMISTIC-REORDER: drop-on-card path",{paths:r.map(p=>p.split("/").pop()),targetCard:e.taskPath.split("/").pop(),above:e.above,hasContainer:!!t});let o=n.get(e.taskPath);if(!o)return a==null||a("OPTIMISTIC-REORDER: bail \u2014 target element not in currentTaskElements",{target:e.taskPath.split("/").pop()}),!1;let l=t||o.parentElement;if(!l)return a==null||a("OPTIMISTIC-REORDER: bail \u2014 no container resolved"),!1;if(!l.contains(o))return a==null||a("OPTIMISTIC-REORDER: bail \u2014 targetEl not in container",{containerClass:l.className,targetElParentClass:(u=o.parentElement)==null?void 0:u.className}),!1;let c=s();if(!c)return!1;i==null||i(l);for(let p of c)af(p),p.classList.remove("kanban-view__card--dragging"),e.above?l.insertBefore(p,o):l.insertBefore(p,o.nextSibling);return a==null||a("OPTIMISTIC-REORDER: drop-on-card SUCCESS"),!0}function Hje(r){return r.replace(/^(note\.|file\.|task\.)/,"")}function Yje({path:r,sourceColumn:e,sourceSwimlane:t,newGroupValue:n,newSwimLaneValue:i,groupByPropertyId:a,swimLanePropertyId:s,groupByTaskProp:o,swimlaneTaskProp:l,isGroupByListProperty:c,isSwimlaneListProperty:d}){let u=e!==n,p=i!==null&&!!s&&t!==i,m=u?o:p?l:null,f=u?e:t,h=u?n:i;return{path:r,sourceColumn:e,sourceSwimlane:t,needsGroupUpdate:u,needsSwimlaneUpdate:p,groupByFrontmatterKey:Hje(a),swimlaneFrontmatterKey:s?Hje(s):void 0,groupByTaskProp:o,swimlaneTaskProp:l,changedTaskProp:m,oldPropValue:f,newPropValue:h,newGroupValue:n,newSwimLaneValue:i,isGroupByListProperty:c,isSwimlaneListProperty:d}}function Gje(r,e){return r.needsGroupUpdate||r.needsSwimlaneUpdate||e}function RMt(r){return Array.isArray(r)?r:r?[r]:[]}function Vje(r,e,t){let n=RMt(r).filter(i=>i!==e);return!n.includes(t)&&t!=="None"&&n.push(t),n.length>0?n:[]}function Kje(r,e,t){e.needsGroupUpdate&&(e.isGroupByListProperty&&e.sourceColumn?r[e.groupByFrontmatterKey]=Vje(r[e.groupByFrontmatterKey],e.sourceColumn,e.newGroupValue):r[e.groupByFrontmatterKey]=t.coerceGroupValue(e.groupByFrontmatterKey,e.newGroupValue)),e.needsSwimlaneUpdate&&e.swimlaneFrontmatterKey&&e.newSwimLaneValue!==null&&(e.isSwimlaneListProperty&&e.sourceSwimlane?r[e.swimlaneFrontmatterKey]=Vje(r[e.swimlaneFrontmatterKey],e.sourceSwimlane,e.newSwimLaneValue):r[e.swimlaneFrontmatterKey]=t.coerceGroupValue(e.swimlaneFrontmatterKey,e.newSwimLaneValue))}function Zje({plan:r,task:e,dateModifiedField:t,dateModifiedValue:n}){let i=r.needsGroupUpdate&&r.groupByTaskProp==="status"?r.newGroupValue:r.needsSwimlaneUpdate&&r.swimlaneTaskProp==="status"&&r.newSwimLaneValue!==null?r.newSwimLaneValue:null;return i===null?null:{statusValue:i,isRecurring:!!(e!=null&&e.recurrence),dateModifiedField:t,dateModifiedValue:n}}function Qje({plan:r,originalTask:e,dateModifiedValue:t,isCompletedStatus:n}){if(!r.changedTaskProp||!e)return null;let i=r.changedTaskProp,a={...e,[i]:r.newPropValue,dateModified:t};return i==="status"&&!e.recurrence&&(a.completedDate=typeof r.newPropValue=="string"&&n(r.newPropValue)?new Date().toISOString().split("T")[0]:void 0),{changedTaskProp:i,oldPropValue:r.oldPropValue,newPropValue:r.newPropValue,updatedTask:a}}var Jje=y(()=>{MF()});function Xje(r){let{frontmatter:e,propertyId:t,groupKey:n}=r;if(!t||!n||n==="None")return;let i=LMt({propertyId:t,propertyMapper:r.propertyMapper,fieldMapper:r.fieldMapper,userFields:r.userFields});if(i){if(FMt({property:i,fieldMapper:r.fieldMapper,userFields:r.userFields,isListTypeProperty:r.isListTypeProperty})){zMt(e,i,n);return}e[i]=r.coerceGroupKeyForFrontmatter(i,n)}}function LMt(r){var n;if(r.propertyId.startsWith("file.")||r.propertyId.startsWith("formula."))return null;let e=r.propertyMapper.basesToUserProperty(r.propertyId);return new Set([...OMt.map(i=>r.fieldMapper.toUserField(i)),"tags"]).has(e)||(n=r.userFields)!=null&&n.some(i=>i.key===e)?e:null}function FMt(r){var t;if($Mt(r.fieldMapper).has(r.property))return!0;let e=(t=r.userFields)==null?void 0:t.find(n=>n.key===r.property);return(e==null?void 0:e.type)==="list"||r.isListTypeProperty(r.property)}function $Mt(r){return new Set(["tags",r.toUserField("contexts"),r.toUserField("projects"),r.toUserField("blockedBy")])}function zMt(r,e,t){let n=r[e],i=Array.isArray(n)?n.filter(a=>typeof a=="string"):typeof n=="string"?[n]:[];i.includes(t)||(r[e]=[...i,t])}var OMt,eBe=y(()=>{OMt=["status","priority","due","scheduled","contexts","projects","timeEstimate","recurrence","blockedBy"]});function aBe(r){return typeof r=="object"&&r!==null}function OF(r){let e=new Set,t=[];for(let n of r){let i=Z(n).trim();!i||e.has(i)||(e.add(i),t.push(i))}return t}function K7(r){if(r==null)return{};let e=r;if(typeof r=="string"){let n=r.trim();if(!n)return{};try{e=JSON.parse(n)}catch(i){return{}}}if(!aBe(e))return{};let t={};for(let[n,i]of Object.entries(e)){if(!Array.isArray(i))continue;let a=OF(i);a.length>0&&(t[n]=a)}return t}function sBe(r){let e=typeof r=="number"?r:typeof r=="string"&&r.trim()?Number(r):Number.NaN;return!Number.isFinite(e)||e<=0?null:Math.floor(e)}function Z7(r){if(r==null)return{};let e=r;if(typeof r=="string"){let n=r.trim();if(!n)return{};try{e=JSON.parse(n)}catch(i){return{}}}if(!aBe(e))return{};let t={};for(let[n,i]of Object.entries(e)){let a=Z(n).trim(),s=sBe(i);a&&s!==null&&(t[a]=s)}return t}function FF(r,e){let t=sBe(e);return t===null?{text:` (${r})`,isExceeded:!1}:{text:` (${r}/${t})`,isExceeded:r>t}}function Q7(r){if(r==null)return[];if(Array.isArray(r))return OF(r);if(typeof r!="string")return[];let e=r.trim();if(!e)return[];if(e.startsWith("["))try{let t=JSON.parse(e);if(Array.isArray(t))return OF(t)}catch(t){}return OF(e.split(","))}function oBe(r,e){for(let t of e)r.has(t)||r.set(t,[])}function lBe(r,e){let t=new Set(e),n=new Set(r),i=e.filter(s=>n.has(s)),a=r.filter(s=>!t.has(s)).sort();return[...i,...a]}function J7(r,e,t,n){return!r||t.length>0||n.includes(e)}function jMt(r,e){var n;if(e.startsWith("formula."))return(n=r[e])!=null?n:null;let t=ya(e);return r[e]!==void 0?r[e]:r[t]!==void 0?r[t]:null}function cBe(r,e,t){return t(r)?!0:new Set(["contexts",e.contextsField,"projects",e.projectsField,"tags","aliases"]).has(r)}function dBe(r,e,t,n){return e==="contexts"||e===n.contextsField?r.contexts:e==="projects"||e===n.projectsField?r.projects:e==="tags"?r.tags:(t.get(r.path)||{})[e]}function $F(r,e){return r?ya(r)===e:!1}function X7(r,e){return r?ya(r)===e:!1}function uBe(r,e=()=>null){let t=new Set;for(let n of[r.value,r.label]){let i=n.trim();if(!i)continue;t.add(i);let a=e(i);a&&t.add(a)}return t}function eZ(r,e,t,n){let i=r.trim();if(!i||i==="None")return;let a=e.find(d=>d.value===i);if(a)return a;let s=t(i),o=e.find(d=>d.value===s);if(o)return o;let l=e.filter(d=>d.label===i);if(l.length===1)return l[0];let c=e.filter(d=>n(d).has(i));return c.length===1?c[0]:void 0}function pBe(r){var e,t;return r.groupKey.trim()==="None"?r.groupKey:$F(r.propertyId,r.fields.statusField)?(t=(e=eZ(r.groupKey,r.statuses,r.normalizeStatusValue,r.getStatusGroupKeyAliases))==null?void 0:e.value)!=null?t:r.groupKey:X7(r.propertyId,r.fields.priorityField)?r.normalizePriorityValue(r.groupKey):r.groupKey}function BMt(r,e,t){let n=t(e);for(let i of r.keys())if(n.has(i.trim()))return!0;return!1}function UMt(r,e,t,n,i){if(n(e))for(let a of t)BMt(r,a,i)||r.set(a.value,[])}function HMt(r,e,t,n){if(n(e))for(let i of t)r.has(i.value)||r.set(i.value,[])}function LF(r){var e,t;if(r==null)return"None";if(typeof r=="object"&&r!==null&&typeof r.toString=="function"){let n=r;if(((e=n.constructor)==null?void 0:e.name)==="NullValue"||n.isTruthy&&!n.isTruthy())return"None";if(((t=n.constructor)==null?void 0:t.name)==="ListValue"||Array.isArray(n.value)){let a=n.value||[];return a.length===0?"None":a.map(s=>LF(s)).join(", ")}return n.toString()||"None"}return typeof r=="string"?r||"None":typeof r=="number"?String(r):typeof r=="boolean"?r?"True":"False":Array.isArray(r)?r.length>0?r.map(n=>LF(n)).join(", "):"None":Z(r)||"None"}function mBe(r){let e;Array.isArray(r)?e=r:r==null?e=[]:typeof r=="object"&&r!==null&&Array.isArray(r.value)?e=r.value||[]:e=[r];let t=e.map(n=>LF(n)).filter(n=>n!=="None");return t.length>0?Array.from(new Set(t)):["None"]}function VMt(r,e){for(let t of r.values())t.sort((n,i)=>{var a,s;return((a=e.get(n.path))!=null?a:Number.MAX_SAFE_INTEGER)-((s=e.get(i.path))!=null?s:Number.MAX_SAFE_INTEGER)})}function qMt(r,e){if(e)for(let t of r.values())t.sort((n,i)=>{let a=e.get(n.path),s=e.get(i.path);return a!=null&&s!=null?Z(a).localeCompare(Z(s)):a!=null?-1:s!=null?1:0})}function WMt(r,e,t){var n;r.has(e)||r.set(e,[]),(n=r.get(e))==null||n.push(t)}function fBe(r){if(!r.swimLanePropertyId)return["None"];let e=ya(r.swimLanePropertyId);if(r.explodeListColumns&&r.isListTypeProperty(e)){let i=r.getListPropertyValue(r.task,e);return mBe(i)}let t=r.pathToProps.get(r.task.path)||{},n=LF(jMt(t,r.swimLanePropertyId));return[r.canonicalizeGroupKey(n,r.swimLanePropertyId)]}function hBe(r){let e=new Map,t=new Map(r.taskNotes.map((a,s)=>[a.path,s])),n=ya(r.groupByPropertyId);if(r.explodeListColumns&&r.isListTypeProperty(n))for(let a of r.taskNotes){let s=r.getListPropertyValue(a,n),o=mBe(s);for(let l of o)WMt(e,l,a)}else{let a=new Map(r.taskNotes.map(s=>[s.path,s]));for(let s of r.groupedData){let o=r.convertGroupKeyToString(s.key),l=r.canonicalizeGroupKey(o,r.groupByPropertyId),c=e.get(l)||[];for(let d of s.entries){let u=a.get(d.file.path);u&&c.push(u)}e.has(l)||e.set(l,c)}}return VMt(e,t),qMt(e,r.sortOrderValues),UMt(e,r.groupByPropertyId,r.statusConfigs,r.isStatusGroupingProperty,r.getStatusGroupKeyAliases),HMt(e,r.groupByPropertyId,r.priorityConfigs,r.isPriorityGroupingProperty),oBe(e,r.pinnedColumns),e}function tZ(r,e,t){var a;let n=new Set;for(let s of r)for(let o of t(s))n.add(o);let i=new Map;for(let s of n){let o=new Map;i.set(s,o);for(let[l]of e)o.set(l,[])}for(let[s,o]of e)for(let l of o)for(let c of t(l)){let d=i.get(c);d&&d.has(s)&&((a=d.get(s))==null||a.push(l))}return i}function gBe(r,e){var n,i,a;let t=new Map(e.map(s=>[s,0]));for(let s of r.values())for(let o of e)t.set(o,((n=t.get(o))!=null?n:0)+((a=(i=s.get(o))==null?void 0:i.length)!=null?a:0));return t}function tBe(r,e){return r==="None"&&e!=="None"?1:e==="None"&&r!=="None"?-1:r.localeCompare(e)}function yBe(r,e){var t;if(e)return(t=r[e])!=null?t:r[ya(e)]}function rBe(r,e){let t=new Set(r),n=new Set(e),i=e.filter(s=>t.has(s)),a=r.filter(s=>!n.has(s));return[...i,...a]}function nBe(r){let e=[...r.actualKeys];return r.isPriorityField(r.groupBy)?rBe(e.sort((t,n)=>r.getPriorityWeight(n)-r.getPriorityWeight(t)||tBe(t,n)),r.pinnedColumns):r.isStatusField(r.groupBy)?rBe(e.sort((t,n)=>{let i=r.findStatusConfig(t),a=r.findStatusConfig(n);return i&&a?i.order-a.order||t.localeCompare(n):i?-1:a?1:tBe(t,n)}),r.pinnedColumns):lBe([...r.actualKeys],r.pinnedColumns)}function vBe(r){let e=yBe(r.columnOrders,r.groupBy);if(!e||e.length===0)return nBe(r);let t=[],n=[],i=new Set(r.actualKeys);for(let a of e)(!r.hideEmptyColumns||i.has(a))&&t.push(a);for(let a of r.actualKeys)e.includes(a)||n.push(a);return[...t,...nBe({...r,actualKeys:n})]}function iBe(r){let e=[...r.actualKeys];return r.isPriorityField(r.swimLanePropertyId)?e.sort((t,n)=>r.getPriorityWeight(n)-r.getPriorityWeight(t)||t.localeCompare(n)):r.isStatusField(r.swimLanePropertyId)?e.sort((t,n)=>r.getStatusOrder(t)-r.getStatusOrder(n)||t.localeCompare(n)):e.sort()}function rZ(r){let e=yBe(r.swimLaneOrders,r.swimLanePropertyId);if(!e||e.length===0)return iBe(r);let t=new Set(r.actualKeys),n=e.filter(a=>t.has(a)||!r.hideEmptySwimLanes),i=iBe({...r,actualKeys:r.actualKeys.filter(a=>!e.includes(a))});return[...n,...i]}function YMt(r){return new Map(r.map(e=>[e,[]]))}function GMt(r){return Array.from(r.values()).reduce((e,t)=>e+t.length,0)}function bBe(r){var n;let e=rZ({swimLanePropertyId:r.swimLanePropertyId,actualKeys:Array.from(r.swimLanes.keys()),swimLaneOrders:r.swimLaneOrders,hideEmptySwimLanes:r.hideEmptySwimLanes,isPriorityField:r.isPriorityField,isStatusField:r.isStatusField,getPriorityWeight:r.getPriorityWeight,getStatusOrder:r.getStatusOrder}),t=new Map;for(let i of e){let a=(n=r.swimLanes.get(i))!=null?n:YMt(r.columnKeys);r.hideEmptySwimLanes&&GMt(a)===0||t.set(i,a instanceof Map?a:new Map(Array.from(a.entries()).map(([s,o])=>[s,[...o]])))}return t}var nZ=y(()=>{gr();kP()});function wBe(r){return typeof r=="object"&&r!==null}function KMt(r){return wBe(r)}function zF(r){return r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function ZMt(r){if(!wBe(r.columnScroll))return null;let e={};for(let[t,n]of Object.entries(r.columnScroll))typeof n=="number"&&(e[t]=n);return e}function TBe(r){if(typeof r=="number")return r===1?"show-all":"inherit";let e=Z(r).trim().toLowerCase().replace(/^['"]|['"]$/g,"").replace(/[_\s]+/g,"-");return e==="show-all"||e==="1"?"show-all":"inherit"}function kBe(r,e=navigator,t=window){var n,i,a,s;return r||typeof(e==null?void 0:e.maxTouchPoints)=="number"&&e.maxTouchPoints>0?!0:!!((i=(n=t==null?void 0:t.matchMedia)==null?void 0:n.call(t,"(any-pointer: coarse)"))!=null&&i.matches||(s=(a=t==null?void 0:t.matchMedia)==null?void 0:a.call(t,"(pointer: coarse)"))!=null&&s.matches)}function QMt(r){return r==="compact"?"compact":"default"}function SBe(r){return function(e,t){if(!t)throw ry.error("[TaskNotes][KanbanView] No containerEl provided",{category:"stale-data",operation:"no-containerel-provided"}),new Error("KanbanView requires a containerEl");return new iZ(e,t,r)}}var Hn,ry,pk,iZ,EBe=y(()=>{Hn=require("obsidian");yP();gP();la();T7();Cl();k7();Ne();jn();gr();kP();H7();zje();MF();Uje();Jje();SP();eBe();z7();nZ();G();nZ();ry=I({tag:"Bases/KanbanView"});pk=class pk extends Td{constructor(t,n,i){super(t,n,i);this.type="tasknotesKanban";this.boardEl=null;this.currentTaskElements=new Map;this.draggedTaskPath=null;this.draggedTaskPaths=[];this.draggedFromColumn=null;this.draggedFromSwimlane=null;this.dropTargetPath=null;this.pendingRender=!1;this.dropAbove=!0;this.dragOverRafId=0;this.dragContainer=null;this.currentInsertionIndex=-1;this.dragSourceColumnEl=null;this.dragTargetColumnEl=null;this.activeDragSourceElement=null;this.floatingDragPreviewEl=null;this.floatingDragPreviewDocument=null;this.floatingDragPreviewMoveHandler=null;this.floatingDragPreviewRafId=null;this.floatingDragPreviewWidth=280;this.floatingDragPreviewHeight=40;this.floatingDragPreviewPendingX=0;this.floatingDragPreviewPendingY=0;this.draggedSourceColumns=new Map;this.draggedSourceSwimlanes=new Map;this.taskInfoCache=new Map;this.sortScopeTaskPaths=new Map;this.sortScopeCandidateTaskPaths=new Map;this.containerListenersRegistered=!1;this.columnScrollers=new Map;this.expandedRelationshipFilterMode="inherit";this.currentVisibleTaskPaths=new Set;this.currentVisibleTaskOrder=new Map;this.expandedRelationshipTaskPaths=new Set;this.expandedRelationshipTaskOrder=new Map;this.hideTopLevelSubtasks=!1;this.suppressRenderUntil=0;this.postDropTimer=null;this.dropQueue=new dk;this.activeDropCount=0;this.postDropRefreshRequested=!1;this.touchDragActive=!1;this.touchDragGhost=null;this.touchStartX=0;this.touchStartY=0;this.longPressTimer=null;this.autoScrollTimer=null;this.autoScrollDirection=0;this.LONG_PRESS_DELAY=350;this.TOUCH_MOVE_THRESHOLD=10;this.AUTO_SCROLL_EDGE=60;this.AUTO_SCROLL_SPEED=8;this.touchDragType=null;this.draggedColumnKey=null;this.boundContextMenuBlocker=t=>{t.preventDefault(),t.stopPropagation()};this.LARGE_REORDER_WARNING_THRESHOLD=10;this.swimLanePropertyId=null;this.columnWidth=280;this.maxSwimlaneHeight=600;this.hideEmptyColumns=!1;this.explodeListColumns=!0;this.consolidateStatusIcon=!1;this.columnOrders={};this.pinnedColumns=[];this.wipLimits={};this.swimLaneOrders={};this.hideEmptySwimLanes=!1;this.cardLayout="default";this.configLoaded=!1;this.VIRTUAL_SCROLL_THRESHOLD=15;this.handleBoardClick=async t=>{let n=this.getTaskContextFromEvent(t);if(!n)return;let{task:i,card:a}=n,o=t.target.closest("[data-tn-action]");if(o&&o!==a){let l=o.dataset.tnAction;if(l){t.preventDefault(),t.stopPropagation(),await this.handleCardAction(l,i,o,t);return}}};this.handleBoardContextMenu=async t=>{let n=this.getTaskContextFromEvent(t);if(!n)return;t.preventDefault(),t.stopPropagation();let{showTaskContextMenu:i}=await Promise.resolve().then(()=>(la(),bb));await i(t,n.task.path,this.plugin,_P(n.task))};this.basesController=t,this.dataAdapter.basesView=this}onload(){this.readViewOptions(),super.onload()}onDataUpdated(){if(this.draggedTaskPath){this.debugLog("ON-DATA-UPDATED: deferred (drag active)",{draggedTask:this.draggedTaskPath.split("/").pop()}),this.pendingRender=!0;return}if(this.activeDropCount>0||Date.now()<this.suppressRenderUntil){this.debugLog("ON-DATA-UPDATED: suppressed",{activeDropCount:this.activeDropCount,msRemaining:this.suppressRenderUntil-Date.now()});return}this.postDropTimer?(this.debugLog("ON-DATA-UPDATED: cancelling postDropTimer, rendering with fresh Bases data"),window.clearTimeout(this.postDropTimer),this.postDropTimer=null):this.debugLog("ON-DATA-UPDATED: normal render (no suppression active)");let t=this.getEphemeralState();try{this.render()}catch(n){ry.error(`[TaskNotes][${this.type}] Render error:`,{category:"internal",operation:"render-kanban-view",error:n}),this.renderError(n)}this.setEphemeralState(t)}readViewOptions(){var t;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 n=this.config.get("explodeListColumns");this.explodeListColumns=n!==!1;let i=this.config.get("consolidateStatusIcon");this.consolidateStatusIcon=i===!0,this.columnOrders=K7(this.config.get("columnOrder")),this.pinnedColumns=Q7(this.config.get("pinnedColumns")),this.wipLimits=Z7(this.config.get("wipLimits")),this.swimLaneOrders=K7((t=this.config.get("swimLaneOrder"))!=null?t:this.config.get("swimLaneOrders")),this.hideEmptySwimLanes=this.config.get("hideEmptySwimLanes")===!0,this.cardLayout=QMt(this.config.get("cardLayout"));let a=this.config.get("enableSearch");this.enableSearch=a!=null?a:!1;let s=this.config.get("expandedRelationshipFilterMode");this.expandedRelationshipFilterMode=TBe(s),this.hideTopLevelSubtasks=this.config.get("hideTopLevelSubtasks")===!0,this.configLoaded=!0}catch(n){ry.warn("[KanbanView] Failed to parse config:",{category:"configuration",operation:"parse-config",error:n})}}getEphemeralState(){var n;let t={};for(let[i,a]of this.columnScrollers){let s=a.scrollContainer;s&&(t[i]=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 t)&&(t[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 t)&&(t[c]=d.scrollTop)}})),{scrollTop:((n=this.rootElement)==null?void 0:n.scrollTop)||0,columnScroll:t}}setEphemeralState(t){if(!KMt(t))return;let n=ZMt(t);if(typeof t.scrollTop=="number"&&this.rootElement){let i=t.scrollTop;window.requestAnimationFrame(()=>{this.rootElement&&this.rootElement.isConnected&&(this.rootElement.scrollTop=i)})}n&&window.requestAnimationFrame(()=>{for(let[i,a]of this.columnScrollers){let s=n[i];if(s!==void 0){let o=a.scrollContainer;o&&(o.scrollTop=s)}}this.boardEl&&(this.boardEl.querySelectorAll(".kanban-view__column").forEach(s=>{let o=s.getAttribute("data-group");if(o&&n[o]!==void 0){let l=s.querySelector(".kanban-view__cards");l&&!this.columnScrollers.has(o)&&(l.scrollTop=n[o])}}),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}`;if(n[c]!==void 0){let d=s.querySelector(".kanban-view__tasks-container");d&&!this.columnScrollers.has(c)&&(d.scrollTop=n[c])}}}))})}async render(){var t,n;if(!(!this.boardEl||!this.rootElement)&&(t=this.data)!=null&&t.data){this.debugLog("RENDER-START",{activeDropCount:this.activeDropCount,suppressRenderRemaining:Math.max(0,this.suppressRenderUntil-Date.now()),draggedTaskPath:((n=this.draggedTaskPath)==null?void 0:n.split("/").pop())||null,currentTaskElementsCount:this.currentTaskElements.size}),this.config&&this.readViewOptions(),this.rootElement&&this.setupSearch(this.rootElement);try{let i=this.dataAdapter.extractDataItems();wP(this.data,i);let a=await np(i,this.plugin),s=this.applySearchFilter(a);this.setExpandedRelationshipTaskScope(s);let o=this.getTopLevelRenderTasks(s),l=this.getTopLevelRenderTasks(a);if(this.setCurrentVisibleTaskPaths(o),this.destroyColumnScrollers(),this.boardEl.empty(),this.sortScopeTaskPaths.clear(),this.sortScopeCandidateTaskPaths.clear(),o.length===0){this.isSearchWithNoResults(s,a.length)?this.renderSearchNoResults(this.boardEl):this.renderEmptyState();return}let c=IF(this.dataAdapter.extractDataItems()),d=this.getGroupByPropertyId();if(!d){this.renderNoGroupByError();return}let u=this.groupTasks(o,d,c),p=this.groupTasks(l,d,c);this.swimLanePropertyId?await this.renderWithSwimLanes(u,o,p,l,c,d):await this.renderFlat(u,p)}catch(i){ry.error("[TaskNotes][KanbanView] Error rendering:",{category:"internal",operation:"rendering",error:i}),this.renderError(i instanceof Error?i:new Error(String(i)))}}}getGroupByPropertyId(){var n;let t=this.basesController;if((n=t==null?void 0:t.query)!=null&&n.views&&(t!=null&&t.viewName)){let i=t.query.views,a=t.viewName;for(let s=0;s<i.length;s++){let o=i[s];if(o&&o.name===a){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}getSortScopeKey(t,n=null){return n===null?t:`${n}::${t}`}getColumnScrollerKey(t,n=null){return n===null?t:`${n}:${t}`}getVisibleSortScopePaths(t,n=null){return this.sortScopeTaskPaths.get(this.getSortScopeKey(t,n))}getCandidateSortScopePaths(t,n=null){return this.sortScopeCandidateTaskPaths.get(this.getSortScopeKey(t,n))}setSortScopePathsForScope(t,n,i){this.sortScopeTaskPaths.set(this.getSortScopeKey(t,n),[...i])}hasVirtualScrollerForScope(t,n){return this.columnScrollers.has(this.getColumnScrollerKey(t,n))}canFastPatchManualOrderDrop(t,n,i,a,s){var l,c;let o=this.hasVirtualScrollerForScope(a,s);return!!n&&i.length===1&&((c=(l=t.draggedPaths)==null?void 0:l.length)!=null?c:1)===1&&(t.optimisticReorderApplied===!0||o)}canFastPatchCrossScopeDrop(t,n){var i,a;return n.length===1&&((a=(i=t.draggedPaths)==null?void 0:i.length)!=null?a:1)===1}setSortScopeCandidatePaths(t){this.sortScopeCandidateTaskPaths.clear();for(let[n,i]of t)this.sortScopeCandidateTaskPaths.set(n,[...i])}getCurrentVisibleTaskPathOrder(){return Array.from(this.currentVisibleTaskOrder.entries()).sort(([,t],[,n])=>t-n).map(([t])=>t)}setCurrentVisibleTaskPathOrder(t){this.currentVisibleTaskPaths.clear(),this.currentVisibleTaskOrder.clear(),t.forEach((n,i)=>{this.currentVisibleTaskPaths.add(n),this.currentVisibleTaskOrder.set(n,i)}),this.hideTopLevelSubtasks||(this.expandedRelationshipTaskPaths.clear(),this.expandedRelationshipTaskOrder.clear(),t.forEach((n,i)=>{this.expandedRelationshipTaskPaths.add(n),this.expandedRelationshipTaskOrder.set(n,i)}))}applyOptimisticSortOrderResult(t,n,i,a,s,o){let l=this.getVisibleSortScopePaths(a,s);if(!l)return!1;let c=PP(l,[t],n,i);if(!c)return!1;let d=this.getCurrentVisibleTaskPathOrder(),u=PP(d,[t],n,i);if(!u)return!1;let p=this.columnScrollers.get(this.getColumnScrollerKey(a,s));if(p&&!p.reorderItems({movedKeys:[t],targetKey:n,position:i?"before":"after"}))return!1;let m=xP(t,o);return CP(this.taskInfoCache,m),p&&(DP(p.getItems(),f=>f,m,f=>{this.taskInfoCache.set(f.path,f)}),p.invalidateItems([...m.keys()])),this.setSortScopePathsForScope(a,s,c),this.setCurrentVisibleTaskPathOrder(u),!0}applySuccessfulKanbanDropLocally({path:t,dropPlan:n,dropTarget:i,sortOrderPlan:a,updatedTask:s,optimisticReorderApplied:o}){var C;if(!n.needsGroupUpdate&&!n.needsSwimlaneUpdate||n.isGroupByListProperty||n.isSwimlaneListProperty)return!1;let l=n.sourceColumn;if(!l)return!1;let c=this.swimLanePropertyId&&(C=n.sourceSwimlane)!=null?C:null,d=n.newGroupValue,u=this.swimLanePropertyId?n.newSwimLaneValue:null,p=this.getVisibleSortScopePaths(l,c),m=this.getVisibleSortScopePaths(d,u);if(!p||!m||!p.includes(t))return!1;let f=p.filter(D=>D!==t),h=this.insertPathIntoDropScope(m,t,i);if(!h)return!1;let g=this.moveVisiblePathForDrop(t,i);if(!g)return!1;let v=s!=null?s:this.buildTaskInfoForLocalDropPatch(t,n,a);if(!v)return!1;let k=a?xP(t,a):new Map,b=k.get(t);b&&(v.sortOrder=b);let w=this.columnScrollers.get(this.getColumnScrollerKey(l,c)),S=this.columnScrollers.get(this.getColumnScrollerKey(d,u)),x={items:[v],targetKey:i==null?void 0:i.taskPath,position:i?i.above?"before":"after":"end"};if(w&&!w.canRemoveItems([t])||S&&!S.canInsertItems(x)||!S&&!this.getTaskContainerForScope(d,u)||!S&&!o&&!i||w&&!w.removeItems([t]))return!1;if(S){if(!S.insertItems(x))return!1;S.invalidateItems([t]),this.removeNormalRenderedTask(t)}else if(!this.renderNormalTaskInDropScope(v,d,u,i))return!1;this.taskInfoCache.set(t,v),CP(this.taskInfoCache,k);for(let D of[w,S]){if(!D)continue;let _=D.getItems();DP(_,N=>N,k,N=>{this.taskInfoCache.set(N.path,N)});let O=new Set(_.map(N=>N.path)),L=[...k.keys()].filter(N=>O.has(N));D.invalidateItems(L)}return this.setSortScopePathsForScope(l,c,f),this.setSortScopePathsForScope(d,u,h),this.setCurrentVisibleTaskPathOrder(g),this.updateScopeEmptyHint(l,c),this.updateScopeEmptyHint(d,u),this.updateCountDisplaysForScope(l,c),this.updateCountDisplaysForScope(d,u),!0}insertPathIntoDropScope(t,n,i){let a=t.filter(s=>s!==n);return i?a.includes(i.taskPath)?PP([...a,n],[n],i.taskPath,i.above):null:[...a,n]}moveVisiblePathForDrop(t,n){let i=this.getCurrentVisibleTaskPathOrder();return i.includes(t)?n?i.includes(n.taskPath)?PP(i,[t],n.taskPath,n.above):null:[...i.filter(a=>a!==t),t]:null}buildTaskInfoForLocalDropPatch(t,n,i){var o;let a=this.taskInfoCache.get(t);if(!a)return null;let s={...a,customProperties:{...(o=a.customProperties)!=null?o:{}}};return n.needsGroupUpdate&&this.applyLocalDropValue(s,n.groupByTaskProp,n.groupByFrontmatterKey,n.newGroupValue),n.needsSwimlaneUpdate&&n.swimlaneFrontmatterKey&&n.newSwimLaneValue!==null&&this.applyLocalDropValue(s,n.swimlaneTaskProp,n.swimlaneFrontmatterKey,n.newSwimLaneValue),i!=null&&i.sortOrder&&(s.sortOrder=i.sortOrder),s}applyLocalDropValue(t,n,i,a){var o;let s=a==="None"?null:a;n&&(t[n]=s),t.customProperties={...(o=t.customProperties)!=null?o:{},[i]:s}}createRenderedTaskWrapper(t){let i=this.containerEl.ownerDocument.createElement("div");i.className="kanban-view__card-wrapper",i.setAttribute("draggable","true"),i.setAttribute("data-task-path",t.path);let a=Sr(t,this.plugin,this.getVisibleProperties(),this.getCardOptions());return i.appendChild(a),this.setupCardDragHandlers(i,t),i}renderNormalTaskInDropScope(t,n,i,a){let s=this.getTaskContainerForScope(n,i);if(!s)return!1;let o=this.currentTaskElements.get(t.path),l=this.createRenderedTaskWrapper(t);if(this.removeEmptyCellHint(s),o&&s.contains(o))o.replaceWith(l);else{let c=a?this.currentTaskElements.get(a.taskPath):null;c&&s.contains(c)?a!=null&&a.above?s.insertBefore(l,c):s.insertBefore(l,c.nextSibling):s.appendChild(l),o==null||o.remove()}return this.currentTaskElements.set(t.path,l),!0}removeNormalRenderedTask(t){let n=this.currentTaskElements.get(t);n==null||n.remove(),this.currentTaskElements.delete(t)}getTaskContainerForScope(t,n){if(!this.boardEl)return null;let i=zF(t);if(n===null)return this.boardEl.querySelector(`.kanban-view__column[data-group="${i}"] .kanban-view__cards`);let a=zF(n);return this.boardEl.querySelector(`.kanban-view__swimlane-column[data-column="${i}"][data-swimlane="${a}"] .kanban-view__tasks-container`)}updateScopeEmptyHint(t,n){var s;let i=this.getTaskContainerForScope(t,n);if(!i)return;let a=(s=this.getVisibleSortScopePaths(t,n))!=null?s:[];this.removeEmptyCellHint(i),a.length===0&&this.renderEmptyCellHint(i,t,n)}updateCountDisplaysForScope(t,n){this.updateColumnCountDisplay(t),n!==null&&this.updateSwimLaneCountDisplay(n)}updateColumnCountDisplay(t){var o;let n=this.getVisibleColumnTaskCount(t),i=FF(n,this.wipLimits[t]),a=zF(t),s=(o=this.boardEl)==null?void 0:o.querySelector(`.kanban-view__column[data-group="${a}"] .kanban-view__column-count, .kanban-view__column-header-cell[data-column-key="${a}"] .kanban-view__column-count`);s&&(s.textContent=i.text,s.classList.toggle("kanban-view__column-count--exceeded",i.isExceeded))}getVisibleColumnTaskCount(t){var a,s;if(!this.swimLanePropertyId)return(s=(a=this.getVisibleSortScopePaths(t,null))==null?void 0:a.length)!=null?s:0;let n=`::${t}`,i=0;for(let[o,l]of this.sortScopeTaskPaths)o.endsWith(n)&&(i+=l.length);return i}updateSwimLaneCountDisplay(t){var l,c;let n=zF(t),i=(c=(l=this.boardEl)==null?void 0:l.querySelector(`.kanban-view__swimlane-column[data-swimlane="${n}"]`))==null?void 0:c.closest(".kanban-view__swimlane-row"),a=i==null?void 0:i.querySelector(".kanban-view__swimlane-count");if(!a)return;let s=`${t}::`,o=0;for(let[d,u]of this.sortScopeTaskPaths)d.startsWith(s)&&(o+=u.length);a.textContent=`${o}`}async confirmLargeReorder(t,n,i){let a=this.plugin.settings.fieldMapping.sortOrder,s=i===null?this.plugin.i18n.translate("views.kanban.reorder.scope.column",{group:n}):this.plugin.i18n.translate("views.kanban.reorder.scope.columnInSwimlane",{group:n,swimlane:i});return bn(this.plugin.app,{title:this.plugin.i18n.translate("common.reorder.confirmLargeTitle"),message:this.plugin.i18n.translate("common.reorder.confirmLargeMessage",{field:a,count:t,scope:s}),confirmText:this.plugin.i18n.translate("common.reorder.confirmButton"),cancelText:this.plugin.i18n.translate("common.cancel")})}groupTasks(t,n,i){var s,o;let a=this.plugin.settings.fieldMapping.sortOrder;return hBe({taskNotes:t,groupByPropertyId:n,pathToProps:i,explodeListColumns:this.explodeListColumns,groupedData:this.dataAdapter.getGroupedData(),convertGroupKeyToString:l=>this.dataAdapter.convertGroupKeyToString(l),isListTypeProperty:l=>this.isListTypeProperty(l),getListPropertyValue:(l,c)=>this.getListPropertyValue(l,c,i),canonicalizeGroupKey:(l,c)=>this.canonicalizeConfiguredGroupKey(l,c),sortOrderValues:TP(this.dataAdapter,a)?this.getSortOrderValues(t,a):void 0,statusConfigs:this.plugin.settings.customStatuses||[],priorityConfigs:((o=(s=this.plugin.priorityManager)==null?void 0:s.getAllPriorities)==null?void 0:o.call(s))||this.plugin.settings.customPriorities||[],isStatusGroupingProperty:l=>this.isStatusGroupingProperty(l),isPriorityGroupingProperty:l=>this.isPriorityGroupingProperty(l),getStatusGroupKeyAliases:l=>this.getStatusGroupKeyAliases(l),pinnedColumns:this.pinnedColumns})}getSortOrderValues(t,n){var a;let i=new Map;for(let s of t){let o=this.plugin.app.vault.getAbstractFileByPath(s.path),l=o instanceof Hn.TFile?(a=this.plugin.app.metadataCache.getFileCache(o))==null?void 0:a.frontmatter:void 0,c=l==null?void 0:l[n];c!=null&&i.set(s.path,c)}return i}isListTypeProperty(t){return cBe(t,{contextsField:this.plugin.fieldMapper.toUserField("contexts"),projectsField:this.plugin.fieldMapper.toUserField("projects")},n=>AF(this.plugin.app,n))}getListPropertyValue(t,n,i){return dBe(t,n,i,{contextsField:this.plugin.fieldMapper.toUserField("contexts"),projectsField:this.plugin.fieldMapper.toUserField("projects")})}getSwimLaneKeys(t,n){return fBe({task:t,pathToProps:n,swimLanePropertyId:this.swimLanePropertyId,explodeListColumns:this.explodeListColumns,isListTypeProperty:i=>this.isListTypeProperty(i),getListPropertyValue:(i,a)=>this.getListPropertyValue(i,a,n),canonicalizeGroupKey:(i,a)=>this.canonicalizeConfiguredGroupKey(i,a)})}isStatusGroupingProperty(t){return $F(t,this.plugin.fieldMapper.toUserField("status"))}isPriorityGroupingProperty(t){return X7(t,this.plugin.fieldMapper.toUserField("priority"))}canonicalizeConfiguredGroupKey(t,n){var s,o;let i=this.plugin.fieldMapper.toUserField("status"),a=this.plugin.fieldMapper.toUserField("priority");return pBe({groupKey:t,propertyId:n,fields:{statusField:i,priorityField:a},statuses:$F(n,i)?((o=(s=this.plugin.statusManager)==null?void 0:s.getAllStatuses)==null?void 0:o.call(s))||[]:[],normalizeStatusValue:l=>{var c,d,u;return(u=(d=(c=this.plugin.statusManager)==null?void 0:c.normalizeStatusValue)==null?void 0:d.call(c,l))!=null?u:l},normalizePriorityValue:l=>{var c,d,u;return(u=(d=(c=this.plugin.priorityManager)==null?void 0:c.normalizePriorityValue)==null?void 0:d.call(c,l))!=null?u:l},getStatusGroupKeyAliases:l=>this.getStatusGroupKeyAliases(l)})}findStatusConfigForGroupKey(t){var n,i;return eZ(t,((i=(n=this.plugin.statusManager)==null?void 0:n.getAllStatuses)==null?void 0:i.call(n))||[],a=>{var s,o,l;return(l=(o=(s=this.plugin.statusManager)==null?void 0:s.normalizeStatusValue)==null?void 0:o.call(s,a))!=null?l:a},a=>this.getStatusGroupKeyAliases(a))}getStatusGroupKeyAliases(t){return uBe(t,n=>kl(n,this.plugin.app))}isUnknownStatusGroup(t,n){if(!n||!this.isStatusGroupingProperty(n))return!1;let i=t.trim();return!i||i==="None"?!1:!this.findStatusConfigForGroupKey(i)}markUnknownStatusColumn(t,n){t.addClass("kanban-view__column--unknown-status"),t.setAttribute("data-unknown-status",n),(0,Hn.setTooltip)(t,"Status is not defined in TaskNotes settings")}markUnknownStatusColumnHeader(t,n){t.addClass("kanban-view__column-header--unknown-status"),t.setAttribute("data-unknown-status",n),(0,Hn.setTooltip)(t,"Status is not defined in TaskNotes settings")}async renderFlat(t,n){if(!this.boardEl)return;this.sortScopeTaskPaths.clear(),this.setSortScopeCandidatePaths(Array.from(n.entries()).map(([l,c])=>[this.getSortScopeKey(l),c.map(d=>d.path)])),this.boardEl.style.setProperty("--kanban-column-width",`${this.columnWidth}px`);let i=this.getVisibleProperties(),a=this.getGroupByPropertyId(),s=Array.from(t.keys()),o=a?this.applyColumnOrder(a,s):s;for(let l of o){let c=t.get(l)||[];if(!J7(this.hideEmptyColumns,l,c,this.pinnedColumns))continue;this.sortScopeTaskPaths.set(this.getSortScopeKey(l),c.map(u=>u.path));let d=await this.createColumn(l,c,i,a);this.boardEl&&this.boardEl.appendChild(d)}}async renderWithSwimLanes(t,n,i,a,s,o){if(!this.swimLanePropertyId)return;this.sortScopeTaskPaths.clear();let l=tZ(n,t,m=>this.getSwimLaneKeys(m,s)),c=tZ(a,i,m=>this.getSwimLaneKeys(m,s));this.setSortScopeCandidatePaths(Array.from(c.entries()).flatMap(([m,f])=>Array.from(f.entries()).map(([h,g])=>[this.getSortScopeKey(h,m),g.map(v=>v.path)])));let d=Array.from(t.keys()),u=this.applyColumnOrder(o,d),p=this.applySwimLaneOrderToMap(this.swimLanePropertyId,l,d);await this.renderSwimLaneTable(p,u,s,o)}async renderSwimLaneTable(t,n,i,a){var c;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 s=this.boardEl.createEl("div",{cls:"kanban-view__swimlane-row kanban-view__swimlane-row--header"});s.createEl("div",{cls:"kanban-view__swimlane-label"});let o=gBe(t,n);for(let d of n){let u=s.createEl("div",{cls:"kanban-view__column-header-cell"});u.setAttribute("draggable","true"),u.setAttribute("data-column-key",d),this.isUnknownStatusGroup(d,a)&&this.markUnknownStatusColumnHeader(u,d);let m=u.createSpan({cls:"kanban-view__drag-handle"});if(m.setAttribute("aria-hidden","true"),(0,Hn.setIcon)(m,"grip-vertical"),this.consolidateStatusIcon&&this.isGroupedByStatus()){let h=this.plugin.statusManager.getStatusConfig(d);if(h!=null&&h.icon){let g=u.createSpan({cls:"kanban-view__column-icon"});g.style.color=h.color,(0,Hn.setIcon)(g,h.icon)}}let f=u.createSpan({cls:"kanban-view__column-title"});this.renderGroupTitleWrapper(f,d,!1,!0),this.renderColumnCount(u,d,(c=o.get(d))!=null?c:0),this.setupColumnHeaderDragHandlers(u)}let l=this.getVisibleProperties();for(let[d,u]of t){let p=this.boardEl.createEl("div",{cls:"kanban-view__swimlane-row"}),m=p.createEl("div",{cls:"kanban-view__swimlane-label"}),f=m.createEl("div",{cls:"kanban-view__swimlane-title"});this.renderGroupTitleWrapper(f,d,!0);let h=Array.from(u.values()).reduce((g,v)=>g+v.length,0);m.createEl("div",{cls:"kanban-view__swimlane-count",text:`${h}`});for(let g of n){let v=u.get(g)||[],k=this.isUnknownStatusGroup(g,a);this.sortScopeTaskPaths.set(this.getSortScopeKey(g,d),v.map(S=>S.path));let b=p.createEl("div",{cls:"kanban-view__swimlane-column",attr:{"data-column":g,"data-swimlane":d}});k&&this.markUnknownStatusColumn(b,g),this.setupSwimLaneCellDragDrop(b,g,d);let w=b.createDiv({cls:"kanban-view__tasks-container"});if(v.length>=this.VIRTUAL_SCROLL_THRESHOLD)await this.createVirtualSwimLaneCell(w,`${d}:${g}`,v,l);else{let S=this.getCardOptions();for(let x of v){let C=w.createDiv({cls:"kanban-view__card-wrapper"});C.setAttribute("draggable","true"),C.setAttribute("data-task-path",x.path);let D=Sr(x,this.plugin,l,S);C.appendChild(D),this.currentTaskElements.set(x.path,C),this.taskInfoCache.set(x.path,x),this.setupCardDragHandlers(C,x)}}v.length===0&&this.renderEmptyCellHint(w,g,d),this.createAddTaskButton(b,a,g,d)}}}async createColumn(t,n,i,a){let o=this.containerEl.ownerDocument.createElement("div");o.className="kanban-view__column",o.style.width=`${this.columnWidth}px`,o.setAttribute("data-group",t);let l=this.isUnknownStatusGroup(t,a);l&&this.markUnknownStatusColumn(o,t);let c=o.createDiv({cls:"kanban-view__column-header"});c.setAttribute("draggable","true"),c.setAttribute("data-column-key",t),l&&this.markUnknownStatusColumnHeader(c,t);let d=c.createSpan({cls:"kanban-view__drag-handle"});if(d.setAttribute("aria-hidden","true"),(0,Hn.setIcon)(d,"grip-vertical"),this.consolidateStatusIcon&&this.isGroupedByStatus()){let f=this.plugin.statusManager.getStatusConfig(t);if(f!=null&&f.icon){let h=c.createSpan({cls:"kanban-view__column-icon"});h.style.color=f.color,(0,Hn.setIcon)(h,f.icon)}}let u=c.createSpan({cls:"kanban-view__column-title"});this.renderGroupTitleWrapper(u,t,!1,!0),this.renderColumnCount(c,t,n.length),this.setupColumnHeaderDragHandlers(c);let p=o.createDiv({cls:"kanban-view__cards"});this.setupColumnDragDrop(o,p,t);let m=this.getCardOptions();return n.length>=this.VIRTUAL_SCROLL_THRESHOLD?this.createVirtualColumn(p,t,n,i,m):this.createNormalColumn(p,n,i,m),n.length===0&&this.renderEmptyCellHint(p,t),this.createAddTaskButton(o,a,t),o}renderColumnCount(t,n,i){let a=FF(i,this.wipLimits[n]),s=t.createSpan({cls:"kanban-view__column-count",text:a.text});a.isExceeded&&s.addClass("kanban-view__column-count--exceeded")}createAddTaskButton(t,n,i,a=null){let o=t.createDiv({cls:"kanban-view__add-task-footer"}).createEl("button",{cls:"kanban-view__add-task-button clickable-icon",attr:{type:"button","aria-label":this.getAddTaskLabel(i,a)}});(0,Hn.setIcon)(o,"plus"),(0,Hn.setTooltip)(o,this.getAddTaskLabel(i,a)),o.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),this.openTaskCreationForKanbanCell(n,i,a)})}getAddTaskLabel(t,n){return n?`Add task to ${t} / ${n}`:`Add task to ${t}`}renderEmptyCellHint(t,n,i=null){let a=this.plugin.i18n.translate("views.kanban.noTasks"),s=i?`${a}: ${n} / ${i}`:`${a}: ${n}`,o=t.createDiv({cls:"kanban-view__empty-cell",attr:{"aria-label":s}}),l=o.createSpan({cls:"kanban-view__empty-cell-icon",attr:{"aria-hidden":"true"}});(0,Hn.setIcon)(l,"plus-circle"),o.createSpan({cls:"kanban-view__empty-cell-text",text:a})}removeEmptyCellHint(t){var n;(n=t==null?void 0:t.querySelector(".kanban-view__empty-cell"))==null||n.remove()}async openTaskCreationForKanbanCell(t,n,i=null){await this.createFileForView(void 0,a=>{let s=(o,l)=>{Xje({frontmatter:a,propertyId:o,groupKey:l,propertyMapper:this.propertyMapper,fieldMapper:this.plugin.fieldMapper,userFields:this.plugin.settings.userFields,isListTypeProperty:c=>this.isListTypeProperty(c),coerceGroupKeyForFrontmatter:(c,d)=>this.coerceGroupKeyForFrontmatter(c,d)})};s(t,n),s(this.swimLanePropertyId,i)})}coerceGroupKeyForFrontmatter(t,n){return NF(this.plugin.app,t,n,this.plugin.settings.userFields)}createVirtualColumn(t,n,i,a,s){t.addClass("kanban-view__cards--virtual");let o=this.containerEl.ownerDocument,l=new tf({container:t,items:i,overscan:3,renderItem:c=>{let d=o.createElement("div");d.className="kanban-view__card-wrapper",d.setAttribute("draggable","true"),d.setAttribute("data-task-path",c.path);let u=Sr(c,this.plugin,a,s);return d.appendChild(u),this.taskInfoCache.set(c.path,c),this.setupCardDragHandlers(d,c),d},getItemKey:c=>c.path});this.columnScrollers.set(n,l)}async createVirtualSwimLaneCell(t,n,i,a){t.addClass("kanban-view__tasks-container--virtual");let s=this.getCardOptions(),o=this.containerEl.ownerDocument,l=new tf({container:t,items:i,overscan:3,renderItem:c=>{let d=o.createElement("div");d.className="kanban-view__card-wrapper",d.setAttribute("draggable","true"),d.setAttribute("data-task-path",c.path);let u=Sr(c,this.plugin,a,s);return d.appendChild(u),this.taskInfoCache.set(c.path,c),this.setupCardDragHandlers(d,c),d},getItemKey:c=>c.path});this.columnScrollers.set(n,l)}createNormalColumn(t,n,i,a){for(let s of n){let o=t.createDiv({cls:"kanban-view__card-wrapper"});o.setAttribute("draggable","true"),o.setAttribute("data-task-path",s.path);let l=Sr(s,this.plugin,i,a);o.appendChild(l),this.currentTaskElements.set(s.path,o),this.taskInfoCache.set(s.path,s),this.setupCardDragHandlers(o,s)}}setupColumnHeaderDragHandlers(t){let n=t.dataset.columnKey;if(!n)return;let i=t.classList.contains("kanban-view__column-header-cell"),a=i?"kanban-view__column-header-cell--dragging":"kanban-view__column-header--dragging",s=i?"kanban-view__column-header-cell--dragover":"kanban-view__column-header--dragover";t.addEventListener("dragstart",o=>{o.dataTransfer&&(o.dataTransfer.effectAllowed="move",o.dataTransfer.setData("text/x-kanban-column",n),t.classList.add(a))}),t.addEventListener("dragover",o=>{var l;(l=o.dataTransfer)!=null&&l.types.includes("text/x-kanban-column")&&(o.preventDefault(),o.stopPropagation(),o.dataTransfer.dropEffect="move",t.classList.add(s))}),t.addEventListener("dragleave",o=>{var l;(l=o.dataTransfer)!=null&&l.types.includes("text/x-kanban-column")&&o.target===t&&t.classList.remove(s)}),t.addEventListener("drop",o=>{(async()=>{var g;if(!((g=o.dataTransfer)!=null&&g.types.includes("text/x-kanban-column")))return;o.preventDefault(),o.stopPropagation(),t.classList.remove(s);let l=o.dataTransfer.getData("text/x-kanban-column"),c=t.dataset.columnKey;if(!c||!l||l===c)return;let d=this.getGroupByPropertyId();if(!d)return;let u=i?".kanban-view__column-header-cell":".kanban-view__column-header",p=Array.from(this.boardEl.querySelectorAll(u)).map(v=>v.dataset.columnKey).filter(Boolean),m=p.indexOf(l),f=p.indexOf(c),h=[...p];h.splice(m,1),h.splice(f,0,l),await this.saveColumnOrder(d,h),await this.render()})()}),t.addEventListener("dragend",()=>{t.classList.remove(a)}),this.setupColumnHeaderTouchHandlers(t,n,i,a)}setupColumnHeaderTouchHandlers(t,n,i,a){kBe(Hn.Platform.isMobile)&&(t.addEventListener("contextmenu",s=>{(this.longPressTimer||this.touchDragActive)&&(s.preventDefault(),s.stopPropagation())}),t.addEventListener("touchstart",s=>{if(s.touches.length!==1)return;let o=s.touches[0];this.touchStartX=o.clientX,this.touchStartY=o.clientY,this.longPressTimer=window.setTimeout(()=>{var l;this.touchDragActive=!0,this.touchDragType="column",this.draggedColumnKey=n,this.containerEl.ownerDocument.addEventListener("contextmenu",this.boundContextMenuBlocker,!0),t.classList.add(a),this.touchDragGhost=this.createTouchDragGhost(t,o.clientX,o.clientY),(l=navigator.vibrate)==null||l.call(navigator,50)},this.LONG_PRESS_DELAY)},{passive:!0}),t.addEventListener("touchmove",s=>{if(s.touches.length!==1)return;let o=s.touches[0];if(!this.touchDragActive&&this.longPressTimer){let l=Math.abs(o.clientX-this.touchStartX),c=Math.abs(o.clientY-this.touchStartY);(l>this.TOUCH_MOVE_THRESHOLD||c>this.TOUCH_MOVE_THRESHOLD)&&(window.clearTimeout(this.longPressTimer),this.longPressTimer=null);return}this.touchDragActive&&this.touchDragType==="column"&&(s.preventDefault(),this.updateTouchDragGhost(o.clientX,o.clientY),this.updateDropTargetFeedback(o.clientX,o.clientY),this.handleAutoScroll(o.clientX))},{passive:!1}),t.addEventListener("touchend",s=>{(async()=>{if(this.longPressTimer&&(window.clearTimeout(this.longPressTimer),this.longPressTimer=null),t.classList.remove(a),!this.touchDragActive||this.touchDragType!=="column")return;let o=s.changedTouches[0];if(!o){this.clearTouchDragState();return}let l=this.findDropTargetAt(o.clientX,o.clientY);if(l.type&&l.groupKey&&this.draggedColumnKey&&l.groupKey!==this.draggedColumnKey){let c=this.getGroupByPropertyId();if(c){let d=i?".kanban-view__column-header-cell":".kanban-view__column-header",u=Array.from(this.boardEl.querySelectorAll(d)).map(f=>f.dataset.columnKey).filter(Boolean),p=u.indexOf(this.draggedColumnKey),m=u.indexOf(l.groupKey);if(p!==-1&&m!==-1){let f=[...u];f.splice(p,1),f.splice(m,0,this.draggedColumnKey),await this.saveColumnOrder(c,f),await this.render()}}}this.clearTouchDragState()})()}),t.addEventListener("touchcancel",()=>{t.classList.remove(a),this.clearTouchDragState()}))}setupColumnDragDrop(t,n,i){t.addEventListener("dragover",a=>{var s;(s=a.dataTransfer)!=null&&s.types.includes("text/x-kanban-column")||(a.preventDefault(),a.stopPropagation(),a.dataTransfer&&(a.dataTransfer.dropEffect="move"),t.classList.add("kanban-view__column--dragover"))}),t.addEventListener("dragleave",a=>{let s=t.getBoundingClientRect(),o=a.clientX,l=a.clientY;(o<s.left||o>=s.right||l<s.top||l>=s.bottom)&&t.classList.remove("kanban-view__column--dragover")}),t.addEventListener("drop",a=>{(async()=>{var f,h,g,v,k,b;if((f=a.dataTransfer)!=null&&f.types.includes("text/x-kanban-column"))return;if(a.preventDefault(),a.stopPropagation(),this.debugLog("COLUMN-DROP-EVENT-RECEIVED",{targetColumn:i,draggedTaskPath:((h=this.draggedTaskPath)==null?void 0:h.split("/").pop())||"(null)",dropTargetPath:((g=this.dropTargetPath)==null?void 0:g.split("/").pop())||"(null)",eventTarget:(k=(v=a.target)==null?void 0:v.className)==null?void 0:k.slice(0,60)}),!this.draggedTaskPath){this.debugLog("COLUMN-DROP: bail \u2014 draggedTaskPath is null (dragend already fired?)"),t.classList.remove("kanban-view__column--dragover"),this.cleanupDragShift();return}let s=RF(this.dropTargetPath,this.dropAbove),o=t.querySelector(".kanban-view__cards"),l=this.draggedFromColumn!==i,c=!!s&&(o==null?void 0:o.querySelector(`[data-task-path="${CSS.escape(s.taskPath)}"]`))!=null,d=o?G7({cardsContainer:o,draggedTaskPaths:this.draggedTaskPaths,currentInsertionIndex:this.currentInsertionIndex,clientY:a.clientY}):void 0,u=Y7({dropTarget:d!=null?d:s,isCrossScope:l,targetInDropScope:!!d||c,fallbackDropTarget:l?void 0:d});this.debugLog("COLUMN-DROP",{draggedTask:(b=this.draggedTaskPath)==null?void 0:b.split("/").pop(),sourceColumn:this.draggedFromColumn,targetColumn:i,isCrossColumn:l,dropTarget:u?{file:u.taskPath.split("/").pop(),above:u.above}:null,cardsContainerFound:!!o,cardsContainerChildCount:o==null?void 0:o.childElementCount,draggedTaskPaths:this.draggedTaskPaths.map(w=>w.split("/").pop())});let p=AP(this.draggedTaskPaths,this.draggedTaskPath),m=this.performOptimisticReorder(p,u,o);this.debugLog("COLUMN-DROP-OPTIMISTIC-RESULT",{success:m}),t.classList.remove("kanban-view__column--dragover"),this.cleanupDragShift(),await this.handleTaskDrop(this.draggedTaskPath,i,null,u,{optimisticReorderApplied:m,draggedPaths:p}),this.draggedTaskPath=null,this.draggedFromColumn=null})()}),t.addEventListener("dragend",()=>{t.classList.remove("kanban-view__column--dragover")})}setupSwimLaneCellDragDrop(t,n,i){t.addEventListener("dragover",a=>{a.preventDefault(),a.stopPropagation(),a.dataTransfer&&(a.dataTransfer.dropEffect="move"),t.classList.add("kanban-view__swimlane-column--dragover")}),t.addEventListener("dragleave",a=>{let s=t.getBoundingClientRect(),o=a.clientX,l=a.clientY;(o<s.left||o>=s.right||l<s.top||l>=s.bottom)&&t.classList.remove("kanban-view__swimlane-column--dragover")}),t.addEventListener("drop",a=>{(async()=>{var g,v,k,b,w;if(a.preventDefault(),a.stopPropagation(),this.debugLog("SWIMLANE-CELL-DROP-EVENT-RECEIVED",{targetColumn:n,targetSwimlane:i,draggedTaskPath:((g=this.draggedTaskPath)==null?void 0:g.split("/").pop())||"(null)",dropTargetPath:((v=this.dropTargetPath)==null?void 0:v.split("/").pop())||"(null)",eventTarget:(b=(k=a.target)==null?void 0:k.className)==null?void 0:b.slice(0,60)}),!this.draggedTaskPath){this.debugLog("SWIMLANE-CELL-DROP: bail \u2014 draggedTaskPath is null (dragend already fired?)"),t.classList.remove("kanban-view__swimlane-column--dragover"),this.cleanupDragShift();return}let s=RF(this.dropTargetPath,this.dropAbove),o=t.querySelector(".kanban-view__tasks-container"),l=this.draggedFromColumn!==n,c=this.draggedFromSwimlane!==i,d=l||c,u=!!s&&(o==null?void 0:o.querySelector(`[data-task-path="${CSS.escape(s.taskPath)}"]`))!=null,p=o?G7({cardsContainer:o,draggedTaskPaths:this.draggedTaskPaths,currentInsertionIndex:this.currentInsertionIndex,clientY:a.clientY}):void 0,m=Y7({dropTarget:p!=null?p:s,isCrossScope:d,targetInDropScope:!!p||u,fallbackDropTarget:d?void 0:p}),f=AP(this.draggedTaskPaths,this.draggedTaskPath);this.debugLog("SWIMLANE-CELL-DROP",{draggedTask:(w=this.draggedTaskPath)==null?void 0:w.split("/").pop(),isCrossColumn:l,isCrossSwimlane:c,dropTarget:m?{file:m.taskPath.split("/").pop(),above:m.above}:null,cardsContainerFound:!!o,cardsContainerChildCount:o==null?void 0:o.childElementCount});let h=this.performOptimisticReorder(f,m,o);this.debugLog("SWIMLANE-CELL-DROP-OPTIMISTIC-RESULT",{success:h}),t.classList.remove("kanban-view__swimlane-column--dragover"),this.cleanupDragShift(),await this.handleTaskDrop(this.draggedTaskPath,n,i,m,{optimisticReorderApplied:h,draggedPaths:f}),this.draggedTaskPath=null,this.draggedFromColumn=null})()}),t.addEventListener("dragend",()=>{t.classList.remove("kanban-view__swimlane-column--dragover")})}createTouchDragGhost(t,n,i){let a=t.cloneNode(!0);return a.classList.add("kanban-view__touch-ghost"),a.style.cssText=`
position: fixed;
left: ${n}px;
top: ${i}px;
width: ${t.offsetWidth}px;
pointer-events: none;
z-index: 10000;
opacity: 0.8;
transform: translate(-50%, -50%) rotate(3deg);
box-shadow: 0 8px 24px rgba(0,0,0,0.3);
`,this.containerEl.ownerDocument.body.appendChild(a),a}updateTouchDragGhost(t,n){this.touchDragGhost&&(this.touchDragGhost.style.left=`${t}px`,this.touchDragGhost.style.top=`${n}px`)}removeTouchDragGhost(){this.touchDragGhost&&(this.touchDragGhost.remove(),this.touchDragGhost=null)}findDropTargetAt(t,n){this.touchDragGhost&&(this.touchDragGhost.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),this.touchDragGhost.classList.add("tn-static-display-none-6b99de8b"));let a=this.containerEl.ownerDocument.elementFromPoint(t,n);if(this.touchDragGhost&&(this.touchDragGhost.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),this.touchDragGhost.style.removeProperty("display")),!a)return{type:null,groupKey:null,swimLaneKey:null,element:null};let s=a.closest(".kanban-view__card-wrapper"),o=s==null?void 0:s.dataset.taskPath;if(s&&o&&!this.draggedTaskPaths.includes(o)){let u=s.closest("[data-group]"),p=s.closest("[data-column]"),m=s.closest("[data-swimlane]"),f=(u==null?void 0:u.dataset.group)||(p==null?void 0:p.dataset.column)||null,h=s.getBoundingClientRect();return{type:"task",groupKey:f,swimLaneKey:(m==null?void 0:m.dataset.swimlane)||null,element:s,taskPath:o,above:n<h.top+h.height/2,cardsContainer:s.parentElement}}let l=a.closest("[data-column][data-swimlane]");if(l)return{type:"swimlane",groupKey:l.dataset.column||null,swimLaneKey:l.dataset.swimlane||null,element:l};let c=a.closest("[data-group]");if(c)return{type:"column",groupKey:c.dataset.group||null,swimLaneKey:null,element:c};let d=a.closest("[data-column-key]");return d?{type:"columnHeader",groupKey:d.dataset.columnKey||null,swimLaneKey:null,element:d}:{type:null,groupKey:null,swimLaneKey:null,element:null}}clearDragoverFeedback(){var t,n,i,a;(t=this.boardEl)==null||t.querySelectorAll(".kanban-view__column--dragover").forEach(s=>{s.classList.remove("kanban-view__column--dragover")}),(n=this.boardEl)==null||n.querySelectorAll(".kanban-view__swimlane-column--dragover").forEach(s=>{s.classList.remove("kanban-view__swimlane-column--dragover")}),(i=this.boardEl)==null||i.querySelectorAll(".kanban-view__column-header--dragover").forEach(s=>{s.classList.remove("kanban-view__column-header--dragover")}),(a=this.boardEl)==null||a.querySelectorAll(".kanban-view__column-header-cell--dragover").forEach(s=>{s.classList.remove("kanban-view__column-header-cell--dragover")})}updateDropTargetFeedback(t,n){var a;this.clearDragoverFeedback();let i=this.findDropTargetAt(t,n);if(i.element)if(i.type==="column")i.element.classList.add("kanban-view__column--dragover");else if(i.type==="swimlane")i.element.classList.add("kanban-view__swimlane-column--dragover");else if(i.type==="task"){let s=i.element.closest(".kanban-view__swimlane-column");s?s.classList.add("kanban-view__swimlane-column--dragover"):(a=i.element.closest(".kanban-view__column"))==null||a.classList.add("kanban-view__column--dragover")}else i.type==="columnHeader"&&this.touchDragType==="column"&&(i.element.classList.contains("kanban-view__column-header-cell")?i.element.classList.add("kanban-view__column-header-cell--dragover"):i.element.classList.add("kanban-view__column-header--dragover"))}clearTouchDragState(){var t,n;this.touchDragActive=!1,this.containerEl.ownerDocument.removeEventListener("contextmenu",this.boundContextMenuBlocker,!0),this.removeTouchDragGhost(),this.stopAutoScroll(),this.longPressTimer&&(window.clearTimeout(this.longPressTimer),this.longPressTimer=null),this.clearDragoverFeedback();for(let i of this.draggedTaskPaths)(t=this.currentTaskElements.get(i))==null||t.classList.remove("kanban-view__card--dragging");(n=this.activeDragSourceElement)==null||n.classList.remove("kanban-view__card--dragging"),this.activeDragSourceElement=null,this.draggedTaskPath=null,this.draggedTaskPaths=[],this.draggedFromColumn=null,this.draggedFromSwimlane=null,this.draggedSourceColumns.clear(),this.draggedSourceSwimlanes.clear(),this.touchDragType=null,this.draggedColumnKey=null}handleAutoScroll(t){if(!this.boardEl)return;let n=this.boardEl.getBoundingClientRect(),i=n.left+this.AUTO_SCROLL_EDGE,a=n.right-this.AUTO_SCROLL_EDGE,s=0;t<i?s=-1:t>a&&(s=1),s!==this.autoScrollDirection&&(this.stopAutoScroll(),this.autoScrollDirection=s,s!==0&&(this.autoScrollTimer=window.setInterval(()=>{this.boardEl&&(this.boardEl.scrollLeft+=this.autoScrollDirection*this.AUTO_SCROLL_SPEED)},16)))}stopAutoScroll(){this.autoScrollTimer&&(window.clearInterval(this.autoScrollTimer),this.autoScrollTimer=null),this.autoScrollDirection=0}setupCardDragHandlers(t,n){let i=null,a=()=>{i=null};t.addEventListener("mousedown",s=>{i=W7(s.target,t)},{capture:!0}),t.addEventListener("mouseup",a),t.addEventListener("click",a,{capture:!0}),t.addEventListener("click",s=>{if(this.handleSelectionClick(s,n.path)){s.stopPropagation();return}}),t.addEventListener("contextmenu",s=>{if(s.preventDefault(),s.stopPropagation(),this.longPressTimer||this.touchDragActive)return;let o=this.plugin.taskSelectionService;if(o&&o.getSelectionCount()>1){o.isSelected(n.path)||o.addToSelection(n.path),this.showBatchContextMenu(s);return}Ro(s,n.path,this.plugin,new Date)}),t.addEventListener("dragover",s=>{if(this.draggedTaskPath===n.path)return;s.preventDefault(),s.stopPropagation(),s.dataTransfer&&(s.dataTransfer.dropEffect="move");let o=s.clientY;this.dragOverRafId||(this.dragOverRafId=window.requestAnimationFrame(()=>{this.dragOverRafId=0;let l=t.getBoundingClientRect(),c=o<l.top+l.height/2;this.dropTargetPath=n.path,this.dropAbove=c;let d=t.parentElement;if(!d)return;if(d!==this.dragContainer){this.cleanupDragShift();let m=this.currentTaskElements.get(this.draggedTaskPath||""),f=m&&m.getBoundingClientRect().height||60,h=getComputedStyle(d).gap,g=parseFloat(h)||4,v=f+g;d.style.setProperty("--tn-drag-gap",`${v}px`),d.classList.remove("tn-static-margin-top-12px-91e0f558"),d.style.paddingBottom=`${v}px`;let k=d.closest(".kanban-view__column, .kanban-view__swimlane-column");if(k){let w=k.getBoundingClientRect().height;k.style.maxHeight=`${w+v}px`,this.dragTargetColumnEl=k}let b=d.querySelectorAll(".kanban-view__card-wrapper");for(let w of b)this.draggedTaskPaths.includes(w.dataset.taskPath||"")||w.classList.add("kanban-view__card-wrapper--drag-shift");this.dragContainer=d}let u=Array.from(d.querySelectorAll(".kanban-view__card-wrapper")).filter(m=>!this.draggedTaskPaths.includes(m.dataset.taskPath||"")),p=u.length;for(let m=0;m<u.length;m++)if(u[m].dataset.taskPath===n.path){p=c?m:m+1;break}if(p!==this.currentInsertionIndex){this.currentInsertionIndex=p;for(let m=0;m<u.length;m++)u[m].classList.toggle("kanban-view__card-wrapper--shift-down",m>=p)}}))}),t.addEventListener("dragleave",()=>{}),t.addEventListener("drop",s=>{(async()=>{var h,g;if((h=s.dataTransfer)!=null&&h.types.includes("text/x-kanban-column")||(s.preventDefault(),s.stopPropagation(),!this.draggedTaskPath))return;let o=t.closest("[data-group]"),l=t.closest("[data-column]"),c=t.closest("[data-swimlane]"),d=(o==null?void 0:o.dataset.group)||(l==null?void 0:l.dataset.column),u=(c==null?void 0:c.dataset.swimlane)||null;if(!d)return;let p=qje(t,n.path,s.clientY);this.debugLog("CARD-DROP (drop-on-card handler)",{draggedTask:(g=this.draggedTaskPath)==null?void 0:g.split("/").pop(),targetCard:n.path.split("/").pop(),sourceColumn:this.draggedFromColumn,targetColumn:d,isCrossColumn:this.draggedFromColumn!==d,above:p.above,swimLaneKey:u});let m=AP(this.draggedTaskPaths,this.draggedTaskPath),f=this.performOptimisticReorder(m,p);this.cleanupDragShift(),o==null||o.classList.remove("kanban-view__column--dragover"),await this.handleTaskDrop(this.draggedTaskPath,d,u,p,{optimisticReorderApplied:f,draggedPaths:m}),this.draggedTaskPath=null,this.draggedFromColumn=null})()}),t.addEventListener("dragstart",s=>{s.stopPropagation();let o=i!=null?i:{taskPath:n.path,sourceElement:t},l=o.taskPath,c=o.sourceElement;this.debugLog("DRAGSTART",{task:l.split("/").pop(),parentTask:n.path.split("/").pop(),inCurrentTaskElements:this.currentTaskElements.has(l),isNestedSource:l!==n.path}),Bje(s,c,"kanban-view__drag-image");let d=this.plugin.taskSelectionService;if(d&&d.isSelected(l)&&d.getSelectionCount()>1){this.draggedTaskPaths=d.getSelectedPaths(),this.draggedTaskPath=l,this.draggedSourceColumns.clear(),this.draggedSourceSwimlanes.clear();for(let v of this.draggedTaskPaths){let k=this.currentTaskElements.get(v);if(k){k.classList.add("kanban-view__card--dragging");let b=k.closest("[data-group]"),w=k.closest("[data-column]"),S=k.closest("[data-swimlane]"),x=(b==null?void 0:b.dataset.group)||(w==null?void 0:w.dataset.column),C=S==null?void 0:S.dataset.swimlane;x&&this.draggedSourceColumns.set(v,x),C&&this.draggedSourceSwimlanes.set(v,C)}}s.dataTransfer&&(s.dataTransfer.effectAllowed="move",s.dataTransfer.setData("text/plain",this.draggedTaskPaths.join(",")),s.dataTransfer.setData("text/x-batch-drag","true")),c.classList.add("kanban-view__card--dragging")}else this.draggedTaskPath=l,this.draggedTaskPaths=[l],c.classList.add("kanban-view__card--dragging"),s.dataTransfer&&(s.dataTransfer.effectAllowed="move",s.dataTransfer.setData("text/plain",l));this.activeDragSourceElement=c,this.showFloatingDragPreview(c,s);let u=t.closest("[data-group]"),p=t.closest("[data-column]"),m=t.closest("[data-swimlane]");this.draggedFromColumn=(u==null?void 0:u.dataset.group)||(p==null?void 0:p.dataset.column)||null,this.draggedFromSwimlane=(m==null?void 0:m.dataset.swimlane)||null,this.containerEl.ownerDocument.body.classList.add("tn-drag-active");let f=c.getBoundingClientRect().height,h=t.parentElement,g=t.closest(".kanban-view__column, .kanban-view__swimlane-column");g&&(g.style.minHeight=`${g.offsetHeight}px`,this.dragSourceColumnEl=g),window.requestAnimationFrame(()=>{for(let v of this.draggedTaskPaths){let k=this.currentTaskElements.get(v);k&&(k.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),k.classList.add("tn-static-height-0-7a31cef0"),k.classList.remove("tn-static-flex-1-14e3b769"),k.classList.add("tn-static-overflow-hidden-69824400"),k.classList.remove("tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),k.classList.add("tn-static-padding-0-41d7d7e2"),k.classList.remove("tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-12px-43bef435","tn-static-padding-20px-ebe8e48c"),k.classList.add("tn-static-margin-0-11696618"),k.classList.remove("tn-static-border-1px-solid-var-background-mo-b65b5121","tn-static-padding-12px-43bef435"),k.classList.add("tn-static-border-none-2eda1daa"),k.classList.remove("tn-static-opacity-0-6-d95b59ac","tn-static-opacity-1-c6e7979d"),k.classList.add("tn-static-opacity-0-8d919cb5"))}if(h){let v=getComputedStyle(h).gap,k=parseFloat(v)||4;h.style.setProperty("--tn-drag-gap",`${f+k}px`),h.classList.remove("tn-static-margin-top-12px-91e0f558");let b=h.querySelectorAll(".kanban-view__card-wrapper");for(let w of b)this.draggedTaskPaths.includes(w.dataset.taskPath||"")||w.classList.add("kanban-view__card-wrapper--drag-shift");this.dragContainer=h,this.currentInsertionIndex=-1}})}),t.addEventListener("dragend",s=>{var o,l,c,d,u;s.stopPropagation(),this.debugLog("DRAGEND-FIRED",{draggedTask:n.path.split("/").pop(),draggedTaskPath:((o=this.draggedTaskPath)==null?void 0:o.split("/").pop())||"(already null)",draggedTaskPathsCount:this.draggedTaskPaths.length,pendingRender:this.pendingRender,activeDropCount:this.activeDropCount,suppressRenderRemaining:Math.max(0,this.suppressRenderUntil-Date.now())}),this.cleanupFloatingDragPreview();for(let p of this.draggedTaskPaths){let m=this.currentTaskElements.get(p);if(m){let f=((l=m.parentElement)==null?void 0:l.className)||"(detached)";this.debugLog("DRAGEND-RESTORE-CARD",{path:p.split("/").pop(),parentClass:f,currentStyles:m.style.cssText.slice(0,80)}),af(m),m.classList.remove("kanban-view__card--dragging")}}af(t),t.classList.remove("kanban-view__card--dragging"),(c=this.activeDragSourceElement)==null||c.classList.remove("kanban-view__card--dragging"),this.activeDragSourceElement=null,a(),this.cleanupDragShift(),this.dragSourceColumnEl&&(this.dragSourceColumnEl.classList.remove("tn-static-flex-1-14e3b769","tn-static-min-height-800px-997b4c8c"),this.dragSourceColumnEl.style.removeProperty("min-height"),this.dragSourceColumnEl=null),this.containerEl.ownerDocument.body.classList.remove("tn-drag-active"),this.draggedTaskPath=null,this.draggedFromColumn=null,this.draggedFromSwimlane=null,this.draggedTaskPaths=[],this.draggedSourceColumns.clear(),this.draggedSourceSwimlanes.clear(),(d=this.boardEl)==null||d.querySelectorAll(".kanban-view__column--dragover").forEach(p=>{p.classList.remove("kanban-view__column--dragover")}),(u=this.boardEl)==null||u.querySelectorAll(".kanban-view__swimlane-column--dragover").forEach(p=>{p.classList.remove("kanban-view__swimlane-column--dragover")}),this.dropTargetPath=null,this.dragOverRafId&&(cancelAnimationFrame(this.dragOverRafId),this.dragOverRafId=0),this.pendingRender?(this.debugLog("DRAGEND-PENDING-RENDER: flushing deferred render via debouncedRefresh"),this.pendingRender=!1,this.debouncedRefresh()):this.debugLog("DRAGEND: no pending render to flush")}),this.setupCardTouchHandlers(t,n)}performOptimisticReorder(t,n,i){return Wje({draggedPaths:t,dropTarget:n,targetContainer:i,currentTaskElements:this.currentTaskElements,removeEmptyCellHint:a=>this.removeEmptyCellHint(a),log:(a,s)=>this.debugLog(a,s)})}cleanupDragShift(){var t;if(this.dragContainer){this.dragContainer.style.removeProperty("--tn-drag-gap"),this.dragContainer.classList.remove("tn-static-margin-top-12px-91e0f558","tn-static-overflow-y-auto-03df744e","tn-static-overflow-y-clip-c5043043"),this.dragContainer.style.removeProperty("overflow-y"),this.dragContainer.style.removeProperty("padding-bottom");let n=this.dragContainer.querySelectorAll(".kanban-view__card-wrapper--drag-shift, .kanban-view__card-wrapper--shift-down");for(let i of n)i.classList.remove("kanban-view__card-wrapper--drag-shift","kanban-view__card-wrapper--shift-down");this.dragContainer=null}this.dragTargetColumnEl&&(this.dragTargetColumnEl.classList.remove("tn-static-margin-top-12px-91e0f558","tn-static-max-height-400px-f0787633"),this.dragTargetColumnEl.style.removeProperty("max-height"),this.dragTargetColumnEl=null),(t=this.boardEl)==null||t.querySelectorAll(".kanban-view__card-wrapper--drag-shift, .kanban-view__card-wrapper--shift-down").forEach(n=>{n.classList.remove("kanban-view__card-wrapper--drag-shift","kanban-view__card-wrapper--shift-down")}),this.currentInsertionIndex=-1}showFloatingDragPreview(t,n){this.cleanupFloatingDragPreview();let i=t.ownerDocument,a=i.body;if(!a)return;let s=t.getBoundingClientRect(),o=i.createElement("div"),l=this.getFloatingDragPreviewTitle(t),c=i.createElement("span");c.className="kanban-view__floating-drag-preview-title",c.textContent=l,o.classList.add("tasknotes-plugin","kanban-view__floating-drag-preview"),o.appendChild(c),o.setAttribute("aria-hidden","true"),o.setAttribute("draggable","false"),this.draggedTaskPaths.length>1&&(o.dataset.dragCount=`${this.draggedTaskPaths.length}`),this.floatingDragPreviewWidth=Math.min(Math.max(s.width,180),320),this.floatingDragPreviewHeight=40,o.setCssProps({"--tn-kanban-drag-preview-width":`${this.floatingDragPreviewWidth}px`,"--tn-kanban-drag-preview-transform":"translate3d(-9999px, -9999px, 0)"}),a.appendChild(o),this.floatingDragPreviewEl=o,this.floatingDragPreviewDocument=i;let d=u=>{this.positionFloatingDragPreview(u.clientX,u.clientY)};this.floatingDragPreviewMoveHandler=d,i.addEventListener("drag",d,!0),i.addEventListener("dragover",d,!0),this.positionFloatingDragPreview(n.clientX,n.clientY)}positionFloatingDragPreview(t,n){var p;let i=this.floatingDragPreviewEl;if(!i||t===0&&n===0)return;let a=(p=i.ownerDocument.defaultView)!=null?p:window,s=8,o=14,l=this.floatingDragPreviewWidth,c=this.floatingDragPreviewHeight,d=t+o,u=n+o;d+l>a.innerWidth-s&&(d=t-l-o),u+c>a.innerHeight-s&&(u=n-c-o),d=Math.max(s,Math.min(d,Math.max(s,a.innerWidth-l-s))),u=Math.max(s,Math.min(u,Math.max(s,a.innerHeight-c-s))),d+=a.scrollX,u+=a.scrollY,this.floatingDragPreviewPendingX=d,this.floatingDragPreviewPendingY=u,this.floatingDragPreviewRafId===null&&(this.floatingDragPreviewRafId=a.requestAnimationFrame(()=>{var h;this.floatingDragPreviewRafId=null;let m=this.floatingDragPreviewPendingX,f=this.floatingDragPreviewPendingY;(h=this.floatingDragPreviewEl)==null||h.setCssProps({"--tn-kanban-drag-preview-transform":`translate3d(${m}px, ${f}px, 0)`})}))}getFloatingDragPreviewTitle(t){var a,s,o,l;let i=(((a=t.querySelector(".task-card__title-text"))==null?void 0:a.textContent)||((s=t.querySelector(".task-card__title"))==null?void 0:s.textContent)||((l=(o=t.dataset.taskPath)==null?void 0:o.split("/").pop())==null?void 0:l.replace(/\.md$/i,""))||"Task").trim().replace(/\s+/g," ");return i.length>80?`${i.slice(0,77).trimEnd()}...`:i}cleanupFloatingDragPreview(){var t,n,i;this.floatingDragPreviewRafId!==null&&(((n=(t=this.floatingDragPreviewDocument)==null?void 0:t.defaultView)!=null?n:window).cancelAnimationFrame(this.floatingDragPreviewRafId),this.floatingDragPreviewRafId=null),this.floatingDragPreviewMoveHandler&&this.floatingDragPreviewDocument&&(this.floatingDragPreviewDocument.removeEventListener("drag",this.floatingDragPreviewMoveHandler,!0),this.floatingDragPreviewDocument.removeEventListener("dragover",this.floatingDragPreviewMoveHandler,!0)),(i=this.floatingDragPreviewEl)==null||i.remove(),this.floatingDragPreviewEl=null,this.floatingDragPreviewDocument=null,this.floatingDragPreviewMoveHandler=null,this.floatingDragPreviewWidth=280,this.floatingDragPreviewHeight=40,this.floatingDragPreviewPendingX=0,this.floatingDragPreviewPendingY=0}setupCardTouchHandlers(t,n){if(!kBe(Hn.Platform.isMobile))return;let i=null,a=()=>{i=null};t.addEventListener("touchstart",s=>{if(s.touches.length!==1)return;i=W7(s.target,t);let o=s.touches[0];this.touchStartX=o.clientX,this.touchStartY=o.clientY,this.longPressTimer=window.setTimeout(()=>{this.initiateTouchDrag(t,n,o.clientX,o.clientY,i)},this.LONG_PRESS_DELAY)},{passive:!0}),t.addEventListener("touchmove",s=>{if(s.touches.length!==1)return;let o=s.touches[0];if(!this.touchDragActive&&this.longPressTimer){let l=Math.abs(o.clientX-this.touchStartX),c=Math.abs(o.clientY-this.touchStartY);(l>this.TOUCH_MOVE_THRESHOLD||c>this.TOUCH_MOVE_THRESHOLD)&&(window.clearTimeout(this.longPressTimer),this.longPressTimer=null);return}this.touchDragActive&&this.touchDragType==="task"&&(s.preventDefault(),this.updateTouchDragGhost(o.clientX,o.clientY),this.updateDropTargetFeedback(o.clientX,o.clientY),this.handleAutoScroll(o.clientX))},{passive:!1}),t.addEventListener("touchend",s=>{(async()=>{var c,d,u,p;if(this.longPressTimer&&(window.clearTimeout(this.longPressTimer),this.longPressTimer=null),!this.touchDragActive||this.touchDragType!=="task")return;let o=s.changedTouches[0];if(!o){this.clearTouchDragState();return}let l=this.findDropTargetAt(o.clientX,o.clientY);if(l.groupKey&&this.draggedTaskPath){let m=l.type==="task"?RF(l.taskPath,(c=l.above)!=null?c:!0):void 0,f=(p=(u=l.cardsContainer)!=null?u:(d=l.element)==null?void 0:d.querySelector(".kanban-view__cards, .kanban-view__tasks-container"))!=null?p:null,h=AP(this.draggedTaskPaths,this.draggedTaskPath),g=this.performOptimisticReorder(h,m,f);this.cleanupDragShift(),await this.handleTaskDrop(this.draggedTaskPath,l.groupKey,l.swimLaneKey,m,{optimisticReorderApplied:g,draggedPaths:h})}this.clearTouchDragState(),a()})()}),t.addEventListener("touchcancel",()=>{a(),this.clearTouchDragState()})}initiateTouchDrag(t,n,i,a,s=null){var f;this.touchDragActive=!0,this.touchDragType="task",this.containerEl.ownerDocument.addEventListener("contextmenu",this.boundContextMenuBlocker,!0);let o=s!=null?s:{taskPath:n.path,sourceElement:t},l=o.taskPath,c=o.sourceElement,d=this.plugin.taskSelectionService;if(d!=null&&d.isSelected(l)&&d.getSelectionCount()>1){this.draggedTaskPaths=d.getSelectedPaths(),this.draggedTaskPath=l,this.draggedSourceColumns.clear(),this.draggedSourceSwimlanes.clear();for(let h of this.draggedTaskPaths){let g=this.currentTaskElements.get(h);if(g){g.classList.add("kanban-view__card--dragging");let v=g.closest("[data-group]"),k=g.closest("[data-column]"),b=g.closest("[data-swimlane]"),w=(v==null?void 0:v.dataset.group)||(k==null?void 0:k.dataset.column),S=b==null?void 0:b.dataset.swimlane;w&&this.draggedSourceColumns.set(h,w),S&&this.draggedSourceSwimlanes.set(h,S)}}c.classList.add("kanban-view__card--dragging")}else this.draggedTaskPath=l,this.draggedTaskPaths=[l],c.classList.add("kanban-view__card--dragging");this.activeDragSourceElement=c;let u=t.closest("[data-group]"),p=t.closest("[data-column]"),m=t.closest("[data-swimlane]");this.draggedFromColumn=(u==null?void 0:u.dataset.group)||(p==null?void 0:p.dataset.column)||null,this.draggedFromSwimlane=(m==null?void 0:m.dataset.swimlane)||null,this.touchDragGhost=this.createTouchDragGhost(c,i,a),(f=navigator.vibrate)==null||f.call(navigator,50)}async handleTaskDrop(t,n,i,a,s={}){this.activeDropCount++;let o=!0;try{await this.dropQueue.enqueue(t,async()=>{var se,J,te,Te,Ce,X;this.suppressRenderUntil=Date.now()+1e4;let l=this.getGroupByPropertyId();if(!l)return;if(l.startsWith("formula.")){new Hn.Notice(this.plugin.i18n.translate("views.kanban.errors.formulaGroupingReadOnly"));return}if(i!==null&&((se=this.swimLanePropertyId)!=null&&se.startsWith("formula."))){new Hn.Notice(this.plugin.i18n.translate("views.kanban.errors.formulaSwimlaneReadOnly"));return}let c=ya(l),d=this.explodeListColumns&&this.isListTypeProperty(c),u=this.swimLanePropertyId?ya(this.swimLanePropertyId):null,p=u&&this.isListTypeProperty(u),m=this.draggedFromColumn,f=this.draggedFromSwimlane,h=new Map(this.draggedSourceColumns),g=new Map(this.draggedSourceSwimlanes),v=s.draggedPaths&&s.draggedPaths.length>0?[...s.draggedPaths]:[...this.draggedTaskPaths],k=v.length>1?v:[t],b=k.length>1,w=this.canFastPatchManualOrderDrop(s,a,k,n,i),S=this.canFastPatchCrossScopeDrop(s,k),x=!1,C=!1,D=TP(this.dataAdapter,this.plugin.settings.fieldMapping.sortOrder),_=this.plugin.settings.fieldMapping.sortOrder,O=ya(l),L=this.swimLanePropertyId?ya(this.swimLanePropertyId):null,N=i!==null&&L?[{property:L,value:i}]:void 0,R=this.getVisibleSortScopePaths(n,i),z=this.getCandidateSortScopePaths(n,i);this.debugLog("SORT-ORDER-CHECK",{hasDropTarget:!!a,hasSortOrder:D,dropTarget:a?{file:a.taskPath.split("/").pop(),above:a.above}:null});let H=this.plugin.fieldMapper.lookupMappingKey(c),Y=u?this.plugin.fieldMapper.lookupMappingKey(u):null;for(let ne of k){let st=b?h.get(ne):m,Ue=b?g.get(ne):f,Vt=Yje({path:ne,sourceColumn:st,sourceSwimlane:Ue,newGroupValue:n,newSwimLaneValue:i,groupByPropertyId:l,swimLanePropertyId:this.swimLanePropertyId,groupByTaskProp:H,swimlaneTaskProp:Y,isGroupByListProperty:d,isSwimlaneListProperty:!!p});this.debugLog("HANDLE-DROP-TASK",{taskFile:ne.split("/").pop(),sourceColumn:st,newGroupValue:n,isSameColumn:!Vt.needsGroupUpdate,isGroupByListProperty:d,sourceSwimlane:Ue,newSwimLaneValue:i});let ot=null;if(D){if(a){if(this.debugLog("COMPUTE-SORT-ORDER-CALL",{taskFile:ne.split("/").pop(),targetFile:a.taskPath.split("/").pop(),above:a.above,groupKey:n,cleanGroupBy:O,cleanSwimLane:L}),ot=await DF(a.taskPath,a.above,n,O,ne,this.plugin,{scopeFilters:N,taskInfoCache:this.taskInfoCache,visibleTaskPaths:R,candidateTaskPaths:z}),ot.sortOrder===null)continue;let ae=ot.additionalWrites.length+1;if(ae>this.LARGE_REORDER_WARNING_THRESHOLD&&!await this.confirmLargeReorder(ae,n,i))return}else this.debugLog("SORT-ORDER-CROSS-COLUMN-PRESERVE",{taskFile:ne.split("/").pop(),groupKey:n});this.debugLog("SORT-ORDER-RESULT",{taskFile:ne.split("/").pop(),newSortOrder:(J=ot==null?void 0:ot.sortOrder)!=null?J:null,isNull:(ot==null?void 0:ot.sortOrder)===null,additionalWrites:(te=ot==null?void 0:ot.additionalWrites.length)!=null?te:0})}if(!Gje(Vt,ot!==null))continue;let Xi=this.plugin.app.vault.getAbstractFileByPath(ne);if(!Xi||!(Xi instanceof Hn.TFile))continue;ot&&await PF(ne,ot,this.plugin,{includeDragged:!1}),await this.plugin.app.fileManager.processFrontMatter(Xi,ae=>{Kje(ae,Vt,{coerceGroupValue:(gn,Uf)=>this.coerceGroupKeyForFrontmatter(gn,Uf)}),(ot==null?void 0:ot.sortOrder)!==null&&ot&&(ae[_]=ot.sortOrder);let xe=Zje({plan:Vt,task:this.taskInfoCache.get(ne),dateModifiedField:this.plugin.fieldMapper.toUserField("dateModified"),dateModifiedValue:Ye()});xe&&(this.plugin.taskService.updateCompletedDateInFrontmatter(ae,xe.statusValue,xe.isRecurring),ae[xe.dateModifiedField]=xe.dateModifiedValue)}),this.debugLog("ATOMIC-WRITE-DONE",{taskFile:ne.split("/").pop(),needsGroupUpdate:Vt.needsGroupUpdate,needsSwimlaneUpdate:Vt.needsSwimlaneUpdate,hasSortOrder:ot!==null}),w&&a&&ot&&!Vt.needsGroupUpdate&&!Vt.needsSwimlaneUpdate&&(x=this.applyOptimisticSortOrderResult(ne,a.taskPath,a.above,n,i,ot));let xn=!1,Os=null;if(Vt.changedTaskProp)try{let ae=(Te=this.taskInfoCache.get(ne))!=null?Te:await this.plugin.cacheManager.getTaskInfo(ne),xe=Qje({plan:Vt,originalTask:ae,dateModifiedValue:Ye(),isCompletedStatus:gn=>this.plugin.statusManager.isCompletedStatus(gn)});xe&&(await this.plugin.taskService.applyPropertyChangeSideEffects(Xi,ae,xe.updatedTask,xe.changedTaskProp,xe.oldPropValue,xe.newPropValue),Os=xe.updatedTask)}catch(ae){xn=!0,ry.warn("[TaskNotes][KanbanView] Side-effect error after drop:",{category:"configuration",operation:"side-effect-drop",error:ae})}S&&!xn&&(Vt.needsGroupUpdate||Vt.needsSwimlaneUpdate)&&(C=this.applySuccessfulKanbanDropLocally({path:ne,dropPlan:Vt,dropTarget:a,sortOrderPlan:ot,updatedTask:Os,optimisticReorderApplied:s.optimisticReorderApplied===!0}))}b&&((Ce=this.plugin.taskSelectionService)==null||Ce.clearSelection(),(X=this.plugin.taskSelectionService)==null||X.exitSelectionMode()),this.debugLog("HANDLE-DROP-COMPLETE",{pathsUpdated:k.map(ne=>ne.split("/").pop()),fastPatchedManualOrder:x,fastPatchedCrossScopeDrop:C}),(x||C)&&(this.pendingRender=!1,o=!1)})}catch(l){ry.error("[TaskNotes][KanbanView] Error updating task:",{category:"persistence",operation:"updating-task",error:l})}finally{if(this.activeDropCount--,o&&(this.postDropRefreshRequested=!0),this.activeDropCount===0){let l=this.postDropRefreshRequested;this.postDropRefreshRequested=!1,l?this.schedulePostDropRender():this.finishFastPostDrop()}}}setupContainer(){var i;super.setupContainer();let n=this.containerEl.ownerDocument.createElement("div");n.className="kanban-view__board",(i=this.rootElement)==null||i.appendChild(n),this.boardEl=n,this.registerBoardListeners()}async handleTaskUpdate(t){this.debouncedRefresh()}debouncedRefresh(){this.updateDebounceTimer&&(this.debugLog("DEBOUNCED-REFRESH: cancelling previous pending timer"),window.clearTimeout(this.updateDebounceTimer)),this.debugLog("DEBOUNCED-REFRESH: scheduling render in 150ms",{activeDropCount:this.activeDropCount,suppressRenderRemaining:Math.max(0,this.suppressRenderUntil-Date.now())});let t=this.getEphemeralState(),n=this.containerEl.ownerDocument.defaultView||window;this.updateDebounceTimer=n.setTimeout(()=>{(async()=>{if(this.activeDropCount>0||Date.now()<this.suppressRenderUntil){this.debugLog("DEBOUNCED-REFRESH-TIMER-FIRED: SKIPPED (drop still in-flight)",{activeDropCount:this.activeDropCount,suppressRenderRemaining:Math.max(0,this.suppressRenderUntil-Date.now())}),this.updateDebounceTimer=null;return}this.debugLog("DEBOUNCED-REFRESH-TIMER-FIRED: executing render now",{activeDropCount:this.activeDropCount,suppressRenderRemaining:Math.max(0,this.suppressRenderUntil-Date.now())}),await this.render(),this.updateDebounceTimer=null,this.setEphemeralState(t)})()},150)}debugLog(t,n){this.logger.debug(t,{category:"internal",operation:"kanban-debug",details:n})}schedulePostDropRender(){this.debugLog("SCHEDULE-POST-DROP-RENDER",{delay:pk.POST_DROP_RENDER_DELAY}),this.suppressRenderUntil=Date.now()+pk.POST_DROP_RENDER_DELAY,this.pendingRender=!1,this.postDropTimer&&window.clearTimeout(this.postDropTimer);let t=this.containerEl.ownerDocument.defaultView||window;this.postDropTimer=t.setTimeout(()=>{this.debugLog("POST-DROP-TIMER-FIRED: rendering now"),this.postDropTimer=null,this.suppressRenderUntil=0,this.debouncedRefresh()},pk.POST_DROP_RENDER_DELAY)}finishFastPostDrop(){this.debugLog("FAST-POST-DROP-COMPLETE"),this.postDropTimer&&(window.clearTimeout(this.postDropTimer),this.postDropTimer=null),this.suppressRenderUntil=0,this.pendingRender=!1}renderEmptyState(){if(!this.boardEl)return;let n=this.containerEl.ownerDocument.createElement("div");n.className="tn-bases-empty",n.textContent="No tasknotes tasks found for this base.",this.boardEl.appendChild(n)}renderNoGroupByError(){if(!this.boardEl)return;let n=this.containerEl.ownerDocument.createElement("div");n.className="tn-bases-error",n.textContent=this.plugin.i18n.translate("views.kanban.errors.noGroupBy"),this.boardEl.appendChild(n)}renderError(t){if(!this.boardEl)return;let i=this.containerEl.ownerDocument.createElement("div");i.className="tn-bases-error",i.textContent=`Error loading kanban: ${t.message||"Unknown error"}`,this.boardEl.appendChild(i)}getGroupDisplayTitle(t,n){if(!n)return t;let i=ya(n),a=this.plugin.fieldMapper.toUserField("status");if(i===a){let o=this.plugin.statusManager.getStatusConfig(t);if(o!=null&&o.label)return o.label}let s=this.plugin.fieldMapper.toUserField("priority");if(i===s){let o=this.plugin.priorityManager.getPriorityConfig(t);if(o!=null&&o.label)return o.label}return t}renderGroupTitleWrapper(t,n,i=!1,a=!1){if(i?this.isSwimLaneByStatus():this.isGroupedByStatus()){let c=this.plugin.statusManager.getStatusConfig(n);if(c){if(this.consolidateStatusIcon&&!a&&c.icon){let d=t.createSpan({cls:"kanban-view__column-icon"});d.style.color=c.color,(0,Hn.setIcon)(d,c.icon)}this.renderLinkAwareGroupTitle(t,c.label);return}}let o=i?this.swimLanePropertyId:this.getGroupByPropertyId(),l=this.getGroupDisplayTitle(n,o);this.renderLinkAwareGroupTitle(t,l)}renderLinkAwareGroupTitle(t,n){let i=this.app||this.plugin.app,a={metadataCache:i.metadataCache,workspace:i.workspace};lF(t,n,a)}applyColumnOrder(t,n){return vBe({groupBy:t,actualKeys:n,columnOrders:this.columnOrders,hideEmptyColumns:this.hideEmptyColumns,pinnedColumns:this.pinnedColumns,isPriorityField:i=>this.isPropertyField(i,"priority"),isStatusField:i=>this.isPropertyField(i,"status"),getPriorityWeight:i=>this.plugin.priorityManager.getPriorityWeight(i),findStatusConfig:i=>this.findStatusConfigForGroupKey(i)})}applySwimLaneOrder(t,n){return rZ({swimLanePropertyId:t,actualKeys:n,swimLaneOrders:this.swimLaneOrders,hideEmptySwimLanes:this.hideEmptySwimLanes,isPriorityField:i=>this.isPropertyField(i,"priority"),isStatusField:i=>this.isPropertyField(i,"status"),getPriorityWeight:i=>this.plugin.priorityManager.getPriorityWeight(i),getStatusOrder:i=>this.plugin.statusManager.getStatusOrder(i)})}isPropertyField(t,n){return t?ya(t)===this.plugin.fieldMapper.toUserField(n):!1}applySwimLaneOrderToMap(t,n,i){return bBe({swimLanePropertyId:t,swimLanes:n,columnKeys:i,swimLaneOrders:this.swimLaneOrders,hideEmptySwimLanes:this.hideEmptySwimLanes,isPriorityField:a=>this.isPropertyField(a,"priority"),isStatusField:a=>this.isPropertyField(a,"status"),getPriorityWeight:a=>this.plugin.priorityManager.getPriorityWeight(a),getStatusOrder:a=>this.plugin.statusManager.getStatusOrder(a)})}async saveColumnOrder(t,n){this.columnOrders[t]=n;try{let i=JSON.stringify(this.columnOrders);this.config.set("columnOrder",i)}catch(i){ry.error("[KanbanView] Failed to save column order:",{category:"persistence",operation:"save-column-order",error:i})}}getCardOptions(){let t=new Date,n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),i=this.consolidateStatusIcon&&this.isGroupedByStatus();return this.buildTaskCardOptions({layout:this.cardLayout,targetDate:n,hideStatusIndicator:i,expandedRelationshipFilterMode:this.expandedRelationshipFilterMode,resolveExpandedRelationshipFilterMode:()=>{var a;return TBe((a=this.config)==null?void 0:a.get("expandedRelationshipFilterMode"))},expandedRelationshipTaskPaths:this.expandedRelationshipTaskPaths,expandedRelationshipTaskOrder:this.expandedRelationshipTaskOrder})}getTopLevelRenderTasks(t){return this.hideTopLevelSubtasks?this.filterTopLevelSubtasks(t):[...t]}setExpandedRelationshipTaskScope(t){this.expandedRelationshipTaskPaths.clear(),this.expandedRelationshipTaskOrder.clear(),t.forEach((n,i)=>{this.expandedRelationshipTaskPaths.add(n.path),this.expandedRelationshipTaskOrder.set(n.path,i)})}setCurrentVisibleTaskPaths(t){this.currentVisibleTaskPaths.clear(),this.currentVisibleTaskOrder.clear(),t.forEach((n,i)=>{this.currentVisibleTaskPaths.add(n.path),this.currentVisibleTaskOrder.set(n.path,i)})}isGroupedByStatus(){let t=this.getGroupByPropertyId();if(!t)return!1;let n=this.plugin.fieldMapper.toUserField("status");return t.replace(/^(note\.|file\.|task\.)/,"")===n}isSwimLaneByStatus(){if(!this.swimLanePropertyId)return!1;let t=this.plugin.fieldMapper.toUserField("status");return this.swimLanePropertyId.replace(/^(note\.|file\.|task\.)/,"")===t}registerBoardListeners(){}unregisterBoardListeners(){}getTaskContextFromEvent(t){let n=t.target;if(!n)return null;let i=n.closest(".task-card");if(!i)return null;let a=i.closest(".kanban-view__card-wrapper");if(!a)return null;let s=a.dataset.taskPath;if(!s)return null;let o=this.taskInfoCache.get(s);return o?{task:o,card:i}:null}async handleCardAction(t,n,i,a){await q7({action:t,task:n,target:i,event:a,plugin:this.plugin,app:this.app||this.plugin.app})}async handleToggleStatus(t,n){await q7({action:"toggle-status",task:t,target:this.containerEl,event:n,plugin:this.plugin,app:this.app||this.plugin.app})}getTaskActionDate(t){return _P(t)}destroyColumnScrollers(){for(let t of this.columnScrollers.values())t.destroy();this.columnScrollers.clear()}onunload(){this.postDropTimer&&(window.clearTimeout(this.postDropTimer),this.postDropTimer=null),this.suppressRenderUntil=0,this.unregisterBoardListeners(),this.cleanupFloatingDragPreview(),this.destroyColumnScrollers(),this.currentTaskElements.clear(),this.taskInfoCache.clear(),this.sortScopeTaskPaths.clear(),this.boardEl=null}};pk.POST_DROP_RENDER_DELAY=500;iZ=pk});var IP=y(()=>{Au();IC()});function BF(r,e){let t=[];for(let n=0;n<e;n+=1)t[n]=[];for(let n of r)t[n.row].push(n);return t}function jF(r,e){let t=[];for(let n=0;n<e;n+=1)t[n]=[];for(let n of r)t[n.firstCol].push(n);return t}function xBe(r,e){let t=[];if(r){for(let n=0;n<e;n+=1)t[n]={affectedInstances:r.affectedInstances,isEvent:r.isEvent,segs:[]};for(let n of r.segs)t[n.row].segs.push(n)}else for(let n=0;n<e;n+=1)t[n]=null;return t}function DBe(r){let{display:e}=r.eventRange.ui;return e==="list-item"||e==="auto"&&!r.eventRange.def.allDay&&r.firstCol===r.lastCol&&r.isStart&&r.isEnd}function JMt(r){return M(Yt,null,M("div",{className:"fc-daygrid-event-dot",style:{borderColor:r.borderColor||r.backgroundColor}}),r.timeText&&M("div",{className:"fc-event-time"},r.timeText),M("div",{className:"fc-event-title"},r.event.title||M(Yt,null,"\xA0")))}function XMt(r){let e=[],t=[];for(let n of r)e.push(n.seg),n.isVisible||t.push(n.seg);return{allSegs:e,invisibleSegs:t}}function t_t(r){return r.dayNumberText||M(Yt,null,"\xA0")}function r_t(r,e,t){let{start:n,end:i}=e,a=Gc(i,-1),s=t.getYear(n),o=t.getMonth(n),l=t.getYear(a),c=t.getMonth(a);return!(s===l&&o===c)&&(r.valueOf()===n.valueOf()||t.getDay(r)===1&&r.valueOf()<i.valueOf())}function PBe(r){return r.eventRange.instance.instanceId+":"+r.firstCol}function MBe(r){return PBe(r)+":"+r.lastCol}function n_t(r,e,t,n,i,a,s){let o=new lZ(v=>{let k=r[v.index].eventRange.instance.instanceId+":"+v.span.start+":"+(v.span.end-1);return i[k]||1});o.allowReslicing=!0,o.strictOrder=n,e===!0||t===!0?(o.maxCoord=a,o.hiddenConsumes=!0):typeof e=="number"?o.maxStackCnt=e:typeof t=="number"&&(o.maxStackCnt=t,o.hiddenConsumes=!0);let l=[],c=[];for(let v=0;v<r.length;v+=1){let k=r[v],b=MBe(k);i[b]!=null?l.push({index:v,span:{start:k.firstCol,end:k.lastCol+1}}):c.push(k)}let d=o.addSegs(l),u=o.toRects(),{singleColPlacements:p,multiColPlacements:m,leftoverMargins:f}=i_t(u,r,s),h=[],g=[];for(let v of c){m[v.firstCol].push({seg:v,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let k=v.firstCol;k<=v.lastCol;k+=1)p[k].push({seg:mk(v,k,k+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let v=0;v<s.length;v+=1)h.push(0);for(let v of d){let k=r[v.index],b=v.span;m[b.start].push({seg:mk(k,b.start,b.end,s),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let w=b.start;w<b.end;w+=1)h[w]+=1,p[w].push({seg:mk(k,w,w+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let v=0;v<s.length;v+=1)g.push(f[v]);return{singleColPlacements:p,multiColPlacements:m,moreCnts:h,moreMarginTops:g}}function i_t(r,e,t){let n=a_t(r,t.length),i=[],a=[],s=[];for(let o=0;o<t.length;o+=1){let l=n[o],c=[],d=0,u=0;for(let m of l){let f=e[m.index];c.push({seg:mk(f,o,o+1,t),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 f=e[m.index],h=m.span.end-m.span.start>1,g=m.span.start===o;u+=m.levelCoord-d,d=m.levelCoord+m.thickness,h?(u+=m.thickness,g&&p.push({seg:mk(f,m.span.start,m.span.end,t),isVisible:!0,isAbsolute:!0,absoluteTop:m.levelCoord,marginTop:0})):g&&(p.push({seg:mk(f,m.span.start,m.span.end,t),isVisible:!0,isAbsolute:!1,absoluteTop:m.levelCoord,marginTop:u}),u=0)}i.push(c),a.push(p),s.push(u)}return{singleColPlacements:i,multiColPlacements:a,leftoverMargins:s}}function a_t(r,e){let t=[];for(let n=0;n<e;n+=1)t.push([]);for(let n of r)for(let i=n.span.start;i<n.span.end;i+=1)t[i].push(n);return t}function mk(r,e,t,n){if(r.firstCol===e&&r.lastCol===t-1)return r;let i=r.eventRange,a=i.range,s=$a(a,{start:n[e].date,end:un(n[t-1].date,1)});return Object.assign(Object.assign({},r),{firstCol:e,lastCol:t-1,eventRange:{def:i.def,ui:Object.assign(Object.assign({},i.ui),{durationEditable:!1}),instance:i.instance,range:s},isStart:r.isStart&&s.start.valueOf()===a.start.valueOf(),isEnd:r.isEnd&&s.end.valueOf()===a.end.valueOf()})}function s_t(r,e){if(!r.length)return[];let t=o_t(e);return r.map(n=>({seg:n,isVisible:!0,isAbsolute:!0,absoluteTop:t[n.eventRange.instance.instanceId],marginTop:0}))}function o_t(r){let e={};for(let t of r)for(let n of t)e[n.seg.eventRange.instance.instanceId]=n.absoluteTop;return e}function l_t(r,e){return BF(r.filter(c_t),e)}function c_t(r){return r.eventRange.def.allDay}function d_t(r,e){let t;return e.currentRangeUnit.match(/year|month/)&&(t=r.querySelector(`[data-date="${hT(e.currentDate)}-01"]`)),t||(t=r.querySelector(`[data-date="${_m(e.currentDate)}"]`)),t}function dZ(r,e){let t=new lg(r.renderRange,e);return new cg(t,/year|month|week/.test(r.currentRangeUnit))}function uZ(r){let{dateEnv:e,currentRange:t}=r,{start:n,end:i}=t,a;if(r.snapToWeek&&(n=e.startOfWeek(n),a=e.startOfWeek(i),a.valueOf()!==i.valueOf()&&(i=YR(a,1))),r.fixedWeekCount){let s=e.startOfWeek(e.startOfMonth(un(t.end,-1))),o=Math.ceil(JW(s,i));i=YR(i,6-o)}return{start:n,end:i}}var aZ,CBe,UF,HF,sZ,e_t,oZ,lZ,VF,NP,cZ,RP,OP,qF,fk,u_t,WF=y(()=>{vg();IP();aZ=class extends Xn{constructor(){super(...arguments),this.headerElRef=kn()}renderSimpleLayout(e,t){let{props:n,context:i}=this,a=[],s=gg(i.options);return e&&a.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),a.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),M(ro,{elClasses:["fc-daygrid"],viewSpec:i.viewSpec},M(Dm,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:a}))}renderHScrollLayout(e,t,n,i){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");let{props:s,context:o}=this,l=!s.forPrint&&gg(o.options),c=!s.forPrint&&cD(o.options),d=[];return e&&d.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),d.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),c&&d.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:ST}]}),M(ro,{elClasses:["fc-daygrid"],viewSpec:o.viewSpec},M(a,{liquid:!s.isHeightAuto&&!s.forPrint,forPrint:s.forPrint,collapsibleWidth:s.forPrint,colGroups:[{cols:[{span:n,minWidth:i}]}],sections:d}))}};CBe=Gt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});UF=class extends wt{render(){let{props:e}=this;return M(Pm,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:CBe,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}},HF=class extends wt{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,a=n.eventTimeFormat||CBe,s=Im(i,a,t,!0,e.defaultDisplayEventEnd);return M(Lu,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:TT(e.seg,t),defaultGenerator:JMt,timeText:s,isResizing:!1,isDateSelecting:!1}))}};sZ=class extends wt{constructor(){super(...arguments),this.compileSegs=Me(XMt)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:n}=this.compileSegs(e.singlePlacements);return M(pg,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:n,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let i=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return M(Yt,null,t.map(a=>{let s=a.eventRange.instance.instanceId;return M("div",{className:"fc-daygrid-event-harness",key:s,style:{visibility:i[s]?"hidden":""}},DBe(a)?M(HF,Object.assign({seg:a,isDragging:!1,isSelected:s===e.eventSelection,defaultDisplayEventEnd:!1},io(a,e.todayRange))):M(UF,Object.assign({seg:a,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:s===e.eventSelection,defaultDisplayEventEnd:!1},io(a,e.todayRange))))}))}})}};e_t=Gt({week:"narrow"}),oZ=class extends Xn{constructor(){super(...arguments),this.rootElRef=kn(),this.state={dayNumberId:ms()},this.handleRootEl=e=>{no(this.rootElRef,e),no(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:i}=this,{options:a,dateEnv:s}=e,{date:o,dateProfile:l}=t,c=t.showDayNumber&&r_t(o,l.currentRange,s);return M(Mm,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:t_t,date:o,dateProfile:l,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:c,extraRenderProps:t.extraRenderProps},(d,u)=>M("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&M(pD,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:rd(e,o,"week"),date:o,defaultFormat:e_t}),!u.isDisabled&&(t.showDayNumber||ET(a)||t.forceDayTop)?M("div",{className:"fc-daygrid-day-top"},M(d,{elTag:"a",elClasses:["fc-daygrid-day-number",c&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},rd(e,o)),{id:n.dayNumberId})})):t.showDayNumber?M("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},M("a",{className:"fc-daygrid-day-number"},"\xA0")):void 0,M("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,M("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},M(sZ,{allDayDate:o,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:i,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),M("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}};lZ=class extends og{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){let t=super.addSegs(e),{entriesByLevel:n}=this,i=a=>!this.forceHidden[Zc(a)];for(let a=0;a<n.length;a+=1)n[a]=n[a].filter(i);return t}handleInvalidInsertion(e,t,n){let{entriesByLevel:i,forceHidden:a}=this,{touchingEntry:s,touchingLevel:o,touchingLateral:l}=e;if(this.hiddenConsumes&&s){let c=Zc(s);if(!a[c])if(this.allowReslicing){let d=Object.assign(Object.assign({},s),{span:sD(s.span,t.span)}),u=Zc(d);a[u]=!0,i[o][l]=d,n.push(d),this.splitEntry(s,t,n)}else a[c]=!0,n.push(s)}super.handleInvalidInsertion(e,t,n)}},VF=class extends Xn{constructor(){super(...arguments),this.cellElRefs=new ps,this.frameElRefs=new ps,this.fgElRefs=new ps,this.segHarnessRefs=new ps,this.rootElRef=kn(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:i}=n,a=e.cells.length,s=jF(e.businessHourSegs,a),o=jF(e.bgEventSegs,a),l=jF(this.getHighlightSegs(),a),c=jF(this.getMirrorSegs(),a),{singleColPlacements:d,multiColPlacements:u,moreCnts:p,moreMarginTops:m}=n_t(fg(e.fgEventSegs,i.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,i.eventOrderStrict,t.segHeights,t.maxContentHeight,e.cells),f=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return M("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((h,g)=>{let v=this.renderFgSegs(g,e.forPrint?d[g]:u[g],e.todayRange,f),k=this.renderFgSegs(g,s_t(c[g],u),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return M(oZ,{key:h.key,elRef:this.cellElRefs.createRef(h.key),innerElRef:this.frameElRefs.createRef(h.key),dateProfile:e.dateProfile,date:h.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&g===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:h.extraRenderProps,extraDataAttrs:h.extraDataAttrs,extraClassNames:h.extraClassNames,extraDateSpan:h.extraDateSpan,moreCnt:p[g],moreMarginTop:m[g],singlePlacements:d[g],fgContentElRef:this.fgElRefs.createRef(h.key),fgContent:M(Yt,null,M(Yt,null,v),M(Yt,null,k)),bgContent:M(Yt,null,this.renderFillSegs(l[g],"highlight"),this.renderFillSegs(s[g],"non-business"),this.renderFillSegs(o[g],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!ua(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,i,a,s,o){let{context:l}=this,{eventSelection:c}=this.props,{framePositions:d}=this.state,u=this.props.cells.length===1,p=a||s||o,m=[];if(d)for(let f of t){let{seg:h}=f,{instanceId:g}=h.eventRange.instance,v=f.isVisible&&!i[g],k=f.isAbsolute,b="",w="";k&&(l.isRtl?(w=0,b=d.lefts[h.lastCol]-d.lefts[h.firstCol]):(b=0,w=d.rights[h.firstCol]-d.rights[h.lastCol])),m.push(M("div",{className:"fc-daygrid-event-harness"+(k?" fc-daygrid-event-harness-abs":""),key:PBe(h),ref:p?null:this.segHarnessRefs.createRef(MBe(h)),style:{visibility:v?"":"hidden",marginTop:k?"":f.marginTop,top:k?f.absoluteTop:"",left:b,right:w}},DBe(h)?M(HF,Object.assign({seg:h,isDragging:a,isSelected:g===c,defaultDisplayEventEnd:u},io(h,n))):M(UF,Object.assign({seg:h,isDragging:a,isResizing:s,isDateSelecting:o,isSelected:g===c,defaultDisplayEventEnd:u},io(h,n)))))}return m}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:i}=this.props,{framePositions:a}=this.state,s=[];if(a)for(let o of e){let l=n?{right:0,left:a.lefts[o.lastCol]-a.lefts[o.firstCol]}:{left:0,right:a.rights[o.firstCol]-a.rights[o.lastCol]};s.push(M("div",{key:rD(o.eventRange),className:"fc-daygrid-bg-harness",style:l},t==="bg-event"?M(ug,Object.assign({seg:o},io(o,i))):uD(t)))}return M(Yt,{},...s)}updateSizing(e){let{props:t,state:n,frameElRefs:i}=this;if(!t.forPrint&&t.clientWidth!==null){if(e){let l=t.cells.map(c=>i.currentMap[c.key]);if(l.length){let c=this.rootElRef.current,d=new jl(c,l,!0,!1);(!n.framePositions||!n.framePositions.similarTo(d))&&this.setState({framePositions:new jl(c,l,!0,!1)})}}let a=this.state.segHeights,s=this.querySegHeights(),o=t.dayMaxEvents===!0||t.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},a),s),maxContentHeight:o?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let i=Math.round(e[n].getBoundingClientRect().height);t[n]=Math.max(t[n]||0,i)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}};VF.addStateEquality({segHeights:ua});NP=class extends Xn{constructor(){super(...arguments),this.splitBusinessHourSegs=Me(BF),this.splitBgEventSegs=Me(l_t),this.splitFgEventSegs=Me(BF),this.splitDateSelectionSegs=Me(BF),this.splitEventDrag=Me(xBe),this.splitEventResize=Me(xBe),this.rowRefs=new ps}render(){let{props:e,context:t}=this,n=e.cells.length,i=this.splitBusinessHourSegs(e.businessHourSegs,n),a=this.splitBgEventSegs(e.bgEventSegs,n),s=this.splitFgEventSegs(e.fgEventSegs,n),o=this.splitDateSelectionSegs(e.dateSelectionSegs,n),l=this.splitEventDrag(e.eventDrag,n),c=this.splitEventResize(e.eventResize,n),d=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return M(us,{unit:"day"},(u,p)=>M(Yt,null,e.cells.map((m,f)=>M(VF,{ref:this.rowRefs.createRef(f),key:m.length?m[0].date.toISOString():f,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:p,dateProfile:e.dateProfile,cells:m,renderIntro:e.renderRowIntro,businessHourSegs:i[f],eventSelection:e.eventSelection,bgEventSegs:a[f],fgEventSegs:s[f],dateSelectionSegs:o[f],eventDrag:l[f],eventResize:c[f],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:d,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){let e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new jl(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new jl(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:i}=this,a=n.leftToIndex(e),s=i.topToIndex(t);if(s!=null&&a!=null){let o=this.props.cells[s][a];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(s,a),allDay:!0},o.extraDateSpan),dayEl:this.getCellEl(s,a),rect:{left:n.lefts[a],right:n.rights[a],top:i.tops[s],bottom:i.bottoms[s]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date,i=un(n,1);return{start:n,end:i}}};cZ=class extends Xn{constructor(){super(...arguments),this.elRef=kn(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:i}=e,a=n===!0||t===!0;a&&!i&&(a=!1,t=null,n=null);let s=["fc-daygrid-body",a?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"];return M("div",{ref:this.elRef,className:s.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},M("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:i?e.clientHeight:""}},e.colGroupNode,M("tbody",{role:"presentation"},M(NP,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){let e=d_t(this.elRef.current,this.props.dateProfile);if(e){let t=e.closest(".fc-daygrid-body"),n=t.closest(".fc-scroller"),i=e.getBoundingClientRect().top-t.getBoundingClientRect().top;n.scrollTop=i?i+1:0}this.needsScrollReset=!1}}};RP=class extends dg{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}},OP=class extends Xn{constructor(){super(...arguments),this.slicer=new RP,this.tableRef=kn()}render(){let{props:e,context:t}=this;return M(cZ,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}},qF=class extends aZ{constructor(){super(...arguments),this.buildDayTableModel=Me(dZ),this.headerRef=kn(),this.tableRef=kn()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,i=this.buildDayTableModel(n.dateProfile,t),a=e.dayHeaders&&M(Ou,{ref:this.headerRef,dateProfile:n.dateProfile,dates:i.headerDates,datesRepDistinctDays:i.rowCnt===1}),s=o=>M(OP,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:i,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:o.tableColGroupNode,tableMinWidth:o.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:o.clientWidth,clientHeight:o.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(a,s,i.colCnt,e.dayMinWidth):this.renderSimpleLayout(a,s)}};fk=class extends ng{buildRenderRange(e,t,n){let i=super.buildRenderRange(e,t,n),{props:a}=this;return uZ({currentRange:i,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:a.fixedWeekCount,dateEnv:a.dateEnv})}};u_t=':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}';Qc(u_t)});var _Be,ABe=y(()=>{yg();WF();_Be=pa({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:qF,dateProfileGeneratorClass:fk},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 LBe(r){let e=["fc-timegrid-slot","fc-timegrid-slot-label",r.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return M(Ho.Consumer,null,t=>{if(!r.isLabeled)return M("td",{className:e.join(" "),"data-time":r.isoTimeStr});let{dateEnv:n,options:i,viewApi:a}=t,s=i.slotLabelFormat==null?p_t:Array.isArray(i.slotLabelFormat)?Gt(i.slotLabelFormat[0]):Gt(i.slotLabelFormat),o={level:0,time:r.time,date:n.toDate(r.date),view:a,text:n.format(r.date,s)};return M(In,{elTag:"td",elClasses:e,elAttrs:{"data-time":r.isoTimeStr},renderProps:o,generatorName:"slotLabelContent",customGenerator:i.slotLabelContent,defaultGenerator:m_t,classNameGenerator:i.slotLabelClassNames,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},l=>M("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},M(l,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function m_t(r){return r.text}function g_t(r){return r.text}function y_t(r,e){return e.map(t=>r[t.key])}function LP(r,e){let t=[],n;for(n=0;n<e;n+=1)t.push([]);if(r)for(n=0;n<r.length;n+=1)t[r[n].col].push(r[n]);return t}function IBe(r,e){let t=[];if(r){for(let n=0;n<e;n+=1)t[n]={affectedInstances:r.affectedInstances,isEvent:r.isEvent,segs:[]};for(let n of r.segs)t[n.col].segs.push(n)}else for(let n=0;n<e;n+=1)t[n]=null;return t}function v_t(r){return r.shortText}function b_t(r,e,t){let n=new og;e!=null&&(n.strictOrder=e),t!=null&&(n.maxStackCnt=t);let i=n.addSegs(r),a=P4(i),s=T_t(n);return s=E_t(s,1),{segRects:x_t(s),hiddenGroups:a}}function T_t(r){let{entriesByLevel:e}=r,t=xZ((n,i)=>n+":"+i,(n,i)=>{let a=S_t(r,n,i),s=NBe(a,t),o=e[n][i];return[Object.assign(Object.assign({},o),{nextLevelNodes:s[0]}),o.thickness+s[1]]});return NBe(e.length?{level:0,lateralStart:0,lateralEnd:e[0].length}:null,t)[0]}function NBe(r,e){if(!r)return[[],0];let{level:t,lateralStart:n,lateralEnd:i}=r,a=n,s=[];for(;a<i;)s.push(e(t,a)),a+=1;return s.sort(k_t),[s.map(w_t),s[0][1]]}function k_t(r,e){return e[1]-r[1]}function w_t(r){return r[0]}function S_t(r,e,t){let{levelCoords:n,entriesByLevel:i}=r,a=i[e][t],s=n[e]+a.thickness,o=n.length,l=e;for(;l<o&&n[l]<s;l+=1);for(;l<o;l+=1){let c=i[l],d,u=WC(c,a.span.start,qC),p=u[0]+u[1],m=p;for(;(d=c[m])&&d.span.start<a.span.end;)m+=1;if(p<m)return{level:l,lateralStart:p,lateralEnd:m}}return null}function E_t(r,e){let t=xZ((n,i,a)=>Zc(n),(n,i,a)=>{let{nextLevelNodes:s,thickness:o}=n,l=o+a,c=o/l,d,u=[];if(!s.length)d=e;else for(let m of s)if(d===void 0){let f=t(m,i,l);d=f[0],u.push(f[1])}else{let f=t(m,d,0);u.push(f[1])}let p=(d-i)*c;return[d-p,Object.assign(Object.assign({},n),{thickness:p,nextLevelNodes:u})]});return r.map(n=>t(n,0,0)[1])}function x_t(r){let e=[],t=xZ((i,a,s)=>Zc(i),(i,a,s)=>{let o=Object.assign(Object.assign({},i),{levelCoord:a,stackDepth:s,stackForward:0});return e.push(o),o.stackForward=n(i.nextLevelNodes,a+i.thickness,s+1)+1});function n(i,a,s){let o=0;for(let l of i)o=Math.max(t(l,a,s),o);return o}return n(r,0,0),e}function xZ(r,e){let t={};return(...n)=>{let i=r(...n);return i in t?t[i]:t[i]=e(...n)}}function RBe(r,e,t=null,n=0){let i=[];if(t)for(let a=0;a<r.length;a+=1){let s=r[a],o=t.computeDateTop(s.start,e),l=Math.max(o+(n||0),t.computeDateTop(s.end,e));i.push({start:Math.round(o),end:Math.round(l)})}return i}function C_t(r,e,t,n){let i=[],a=[];for(let c=0;c<r.length;c+=1){let d=e[c];d?i.push({index:c,thickness:1,span:d}):a.push(r[c])}let{segRects:s,hiddenGroups:o}=b_t(i,t,n),l=[];for(let c of s)l.push({seg:r[c.index],rect:c});for(let c of a)l.push({seg:c,rect:null});return{segPlacements:l,hiddenGroups:o}}function FBe(r,{todayRange:e,nowDate:t,eventSelection:n,eventDrag:i,eventResize:a}){let s=(i?i.affectedInstances:null)||(a?a.affectedInstances:null)||{};return M(Yt,null,r.map(o=>{let l=o.eventRange.instance.instanceId;return M("div",{key:l,style:{visibility:s[l]?"hidden":""}},M(YF,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:l===n,isShort:!1},io(o,e,t))))}))}function pZ(r){return r?{top:r.start,bottom:-r.end}:{top:"",bottom:""}}function P_t(r,e){return r.map(t=>e[t.index])}function M_t(r,e){return e.map(t=>r[t.key])}function __t(r,e){let t=e||r,n=QC(r,t);return n===null&&(t=r,n=1),{snapDuration:t,snapsPerSlot:n}}function A_t(r,e,t){let n=[];for(let i of r.headerDates)n.push({start:t.add(i,e.slotMinTime),end:t.add(i,e.slotMaxTime)});return n}function I_t(r,e,t,n,i){let a=new Date(0),s=r,o=ct(0),l=t||N_t(n),c=[];for(;to(s)<to(e);){let d=i.add(a,s),u=QC(o,l)!==null;c.push({date:d,time:s,key:d.toISOString(),isoTimeStr:e4(d),isLabeled:u}),s=ZC(s,n),o=ZC(o,n)}return c}function N_t(r){let e,t,n;for(e=OBe.length-1;e>=0;e-=1)if(t=ct(OBe[e]),n=QC(t,r),n!==null&&n>1)return t;return r}function R_t(r,e){let t=new lg(r.renderRange,e);return new cg(t,!1)}var mZ,p_t,fZ,f_t,h_t,hZ,gZ,yZ,vZ,bZ,D_t,YF,TZ,kZ,wZ,SZ,EZ,OBe,GF,O_t,$Be=y(()=>{vg();IP();WF();mZ=class extends UC{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?y4(e)?["timed","allDay"]:["allDay"]:["timed"]}},p_t=Gt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});fZ=class extends wt{render(){return this.props.slatMetas.map(e=>M("tr",{key:e.key},M(LBe,Object.assign({},e))))}},f_t=Gt({week:"short"}),h_t=5,hZ=class extends Xn{constructor(){super(...arguments),this.allDaySplitter=new mZ,this.headerElRef=kn(),this.rootElRef=kn(),this.scrollerElRef=kn(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:i}=this.props,a=i.renderRange,o=Xc(a.start,a.end)===1?rd(this.context,a.start,"week"):{};return n.weekNumbers&&e==="day"?M(pD,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:a.start,defaultFormat:f_t},l=>M("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:t}},M(l,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):M("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},M("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context,i={text:t.allDayText,view:n};return M(In,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:g_t,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},a=>M("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",e==null?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},M(a,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:i,props:a}=this,s=[],o=gg(i.options);return e&&s.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(s.push({type:"body",key:"all-day",chunk:{content:t}}),s.push({type:"body",key:"all-day-divider",outerContent:M("tr",{role:"presentation",className:"fc-scrollgrid-section"},M("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),s.push({type:"body",key:"body",liquid:!0,expandRows:!!i.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:n}}),M(ro,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},M(Dm,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,cols:[{width:"shrink"}],sections:s}))}renderHScrollLayout(e,t,n,i,a,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&&gg(c.options),p=!d.forPrint&&cD(c.options),m=[];e&&m.push({type:"header",key:"header",isSticky:u,syncRowHeights:!0,chunks:[{key:"axis",rowContent:h=>M("tr",{role:"presentation"},this.renderHeadAxis("day",h.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(m.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:h=>M("tr",{role:"presentation"},this.renderTableRowAxis(h.rowSyncHeights[0]))},{key:"cols",content:t}]}),m.push({key:"all-day-divider",type:"body",outerContent:M("tr",{role:"presentation",className:"fc-scrollgrid-section"},M("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));let f=c.options.nowIndicator;return m.push({type:"body",key:"body",liquid:!0,expandRows:!!c.options.expandRows,chunks:[{key:"axis",content:h=>M("div",{className:"fc-timegrid-axis-chunk"},M("table",{"aria-hidden":!0,style:{height:h.expandRows?h.clientHeight:""}},h.tableColGroupNode,M("tbody",null,M(fZ,{slatMetas:s}))),M("div",{className:"fc-timegrid-now-indicator-container"},M(us,{unit:f?"minute":"day"},g=>{let v=f&&o&&o.safeComputeTop(g);return typeof v=="number"?M(dD,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:v},isAxis:!0,date:g}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),p&&m.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:ST},{key:"cols",content:ST}]}),M(ro,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:c.viewSpec},M(l,{liquid:!d.isHeightAuto&&!d.forPrint,forPrint:d.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:a}]}],sections:m}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return(e===!0||t===!0)&&(e=void 0,t=h_t),{dayMaxEvents:e,dayMaxEventRows:t}}};gZ=class{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if(Bo(t.currentRange,e)){let n=pr(e),i=e.valueOf()-n.valueOf();if(i>=to(t.slotMinTime)&&i<to(t.slotMaxTime))return this.computeTimeTop(ct(i))}return null}computeDateTop(e,t){return t||(t=pr(e)),this.computeTimeTop(ct(e.valueOf()-t.valueOf()))}computeTimeTop(e){let{positions:t,dateProfile:n}=this,i=t.els.length,a=(e.milliseconds-to(n.slotMinTime))/to(this.slotDuration),s,o;return a=Math.max(0,a),a=Math.min(i,a),s=Math.floor(a),s=Math.min(s,i-1),o=a-s,t.tops[s]+t.getHeight(s)*o}},yZ=class extends wt{render(){let{props:e,context:t}=this,{options:n}=t,{slatElRefs:i}=e;return M("tbody",null,e.slatMetas.map((a,s)=>{let o={time:a.time,date:t.dateEnv.toDate(a.date),view:t.viewApi};return M("tr",{key:a.key,ref:i.createRef(a.key)},e.axis&&M(LBe,Object.assign({},a)),M(In,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!a.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":a.isoTimeStr},renderProps:o,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))}))}},vZ=class extends wt{constructor(){super(...arguments),this.rootElRef=kn(),this.slatElRefs=new ps}render(){let{props:e,context:t}=this;return M("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},M("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,M(yZ,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:t}=this;t.onCoords&&t.clientWidth!==null&&this.rootElRef.current.offsetHeight&&t.onCoords(new gZ(new jl(this.rootElRef.current,y_t(this.slatElRefs.currentMap,t.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration))}};bZ=class extends wt{render(){let{props:e}=this;return M(pg,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>FBe(e.hiddenSegs,e),defaultGenerator:v_t,forceTimed:!0},t=>M(t,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}};D_t=Gt({hour:"numeric",minute:"2-digit",meridiem:!1}),YF=class extends wt{render(){return M(Pm,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:D_t}))}},TZ=class extends wt{constructor(){super(...arguments),this.sortEventSegs=Me(fg)}render(){let{props:e,context:t}=this,{options:n}=t,i=n.selectMirror,a=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||i&&e.dateSelectionSegs||[],s=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},o=this.sortEventSegs(e.fgEventSegs,n.eventOrder);return M(Mm,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},l=>M("div",{className:"fc-timegrid-col-frame"},M("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),M("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(o,s,!1,!1,!1)),M("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(a,{},!!e.eventDrag,!!e.eventResize,!!i,"mirror")),M("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),ET(n)&&M(l,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,t,n,i,a,s){let{props:o}=this;return o.forPrint?FBe(e,o):this.renderPositionedFgSegs(e,t,n,i,a,s)}renderPositionedFgSegs(e,t,n,i,a,s){let{eventMaxStack:o,eventShortHeight:l,eventOrderStrict:c,eventMinHeight:d}=this.context.options,{date:u,slatCoords:p,eventSelection:m,todayRange:f,nowDate:h}=this.props,g=n||i||a,v=RBe(e,u,p,d),{segPlacements:k,hiddenGroups:b}=C_t(e,v,c,o);return M(Yt,null,this.renderHiddenGroups(b,e),k.map(w=>{let{seg:S,rect:x}=w,C=S.eventRange.instance.instanceId,D=g||!!(!t[C]&&x),_=pZ(x&&x.span),O=!g&&x?this.computeSegHStyle(x):{left:0,right:0},L=!!x&&x.stackForward>0,N=!!x&&x.span.end-x.span.start<l;return M("div",{className:"fc-timegrid-event-harness"+(L?" fc-timegrid-event-harness-inset":""),key:s||C,style:Object.assign(Object.assign({visibility:D?"":"hidden"},_),O)},M(YF,Object.assign({seg:S,isDragging:n,isResizing:i,isDateSelecting:a,isSelected:C===m,isShort:N},io(S,f,h))))}))}renderHiddenGroups(e,t){let{extraDateSpan:n,dateProfile:i,todayRange:a,nowDate:s,eventSelection:o,eventDrag:l,eventResize:c}=this.props;return M(Yt,null,e.map(d=>{let u=pZ(d.span),p=P_t(d.entries,t);return M(bZ,{key:GR(aO(p)),hiddenSegs:p,top:u.top,bottom:u.bottom,extraDateSpan:n,dateProfile:i,todayRange:a,nowDate:s,eventSelection:o,eventDrag:l,eventResize:c})}))}renderFillSegs(e,t){let{props:n,context:i}=this,s=RBe(e,n.date,n.slatCoords,i.options.eventMinHeight).map((o,l)=>{let c=e[l];return M("div",{key:rD(c.eventRange),className:"fc-timegrid-bg-harness",style:pZ(o)},t==="bg-event"?M(ug,Object.assign({seg:c},io(c,n.todayRange,n.nowDate))):uD(t))});return M(Yt,null,s)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map((i,a)=>M(dD,{key:a,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(i.start,n)},isAxis:!1,date:n})):null}computeSegHStyle(e){let{isRtl:t,options:n}=this.context,i=n.slotEventOverlap,a=e.levelCoord,s=e.levelCoord+e.thickness,o,l;i&&(s=Math.min(1,a+(s-a)*2)),t?(o=1-s,l=a):(o=a,l=1-s);let c={zIndex:e.stackDepth+1,left:o*100+"%",right:l*100+"%"};return i&&!e.stackForward&&(c[t?"marginLeft":"marginRight"]=20),c}};kZ=class extends wt{constructor(){super(...arguments),this.splitFgEventSegs=Me(LP),this.splitBgEventSegs=Me(LP),this.splitBusinessHourSegs=Me(LP),this.splitNowIndicatorSegs=Me(LP),this.splitDateSelectionSegs=Me(LP),this.splitEventDrag=Me(IBe),this.splitEventResize=Me(IBe),this.rootElRef=kn(),this.cellElRefs=new ps}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,a=this.splitFgEventSegs(e.fgEventSegs,i),s=this.splitBgEventSegs(e.bgEventSegs,i),o=this.splitBusinessHourSegs(e.businessHourSegs,i),l=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),c=this.splitDateSelectionSegs(e.dateSelectionSegs,i),d=this.splitEventDrag(e.eventDrag,i),u=this.splitEventResize(e.eventResize,i);return M("div",{className:"fc-timegrid-cols",ref:this.rootElRef},M("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,M("tbody",{role:"presentation"},M("tr",{role:"row"},e.axis&&M("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},M("div",{className:"fc-timegrid-col-frame"},M("div",{className:"fc-timegrid-now-indicator-container"},typeof n=="number"&&M(dD,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map((p,m)=>M(TZ,{key:p.key,elRef:this.cellElRefs.createRef(p.key),dateProfile:e.dateProfile,date:p.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:p.extraRenderProps,extraDataAttrs:p.extraDataAttrs,extraClassNames:p.extraClassNames,extraDateSpan:p.extraDateSpan,fgEventSegs:a[m],bgEventSegs:s[m],businessHourSegs:o[m],nowIndicatorSegs:l[m],dateSelectionSegs:c[m],eventDrag:d[m],eventResize:u[m],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;e.onColCoords&&e.clientWidth!==null&&e.onColCoords(new jl(this.rootElRef.current,M_t(this.cellElRefs.currentMap,e.cells),!0,!1))}};wZ=class extends Xn{constructor(){super(...arguments),this.processSlotOptions=Me(__t),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let i=n.computeTimeTop(e.time);i=Math.ceil(i),i&&(i+=1),t(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return M("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},M(vZ,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),M(kZ,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:i}=this.context,{colCoords:a}=this,{dateProfile:s}=this.props,{slatCoords:o}=this.state,{snapDuration:l,snapsPerSlot:c}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),d=a.leftToIndex(e),u=o.positions.topToIndex(t);if(d!=null&&u!=null){let p=this.props.cells[d],m=o.positions.tops[u],f=o.positions.getHeight(u),h=(t-m)/f,g=Math.floor(h*c),v=u*c+g,k=this.props.cells[d].date,b=ZC(s.slotMinTime,QW(l,v)),w=n.add(k,b),S=n.add(w,l);return{dateProfile:s,dateSpan:Object.assign({range:{start:w,end:S},allDay:!1},p.extraDateSpan),dayEl:a.els[d],rect:{left:a.lefts[d],right:a.rights[d],top:m,bottom:m+f},layer:0}}return null}};SZ=class extends dg{sliceRange(e,t){let n=[];for(let i=0;i<t.length;i+=1){let a=$a(e,t[i]);a&&n.push({start:a.start,end:a.end,isStart:a.start.valueOf()===e.start.valueOf(),isEnd:a.end.valueOf()===e.end.valueOf(),col:i})}return n}},EZ=class extends Xn{constructor(){super(...arguments),this.buildDayRanges=Me(A_t),this.slicer=new SZ,this.timeColsRef=kn()}render(){let{props:e,context:t}=this,{dateProfile:n,dayTableModel:i}=e,{nowIndicator:a,nextDayThreshold:s}=t.options,o=this.buildDayRanges(i,n,t.dateEnv);return M(us,{unit:a?"minute":"day"},(l,c)=>M(wZ,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,o),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:l,nowIndicatorSegs:a&&this.slicer.sliceNowDate(l,n,s,t,o),todayRange:c,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}};OBe=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];GF=class extends hZ{constructor(){super(...arguments),this.buildTimeColsModel=Me(R_t),this.buildSlatMetas=Me(I_t)}render(){let{options:e,dateEnv:t,dateProfileGenerator:n}=this.context,{props:i}=this,{dateProfile:a}=i,s=this.buildTimeColsModel(a,n),o=this.allDaySplitter.splitProps(i),l=this.buildSlatMetas(a.slotMinTime,a.slotMaxTime,e.slotLabelInterval,e.slotDuration,t),{dayMinWidth:c}=e,d=!c,u=c,p=e.dayHeaders&&M(Ou,{dates:s.headerDates,dateProfile:a,datesRepDistinctDays:!0,renderIntro:d?this.renderHeadAxis:null}),m=e.allDaySlot!==!1&&(h=>M(OP,Object.assign({},o.allDay,{dateProfile:a,dayTableModel:s,nextDayThreshold:e.nextDayThreshold,tableMinWidth:h.tableMinWidth,colGroupNode:h.tableColGroupNode,renderRowIntro:d?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:h.clientWidth,clientHeight:h.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),f=h=>M(EZ,Object.assign({},o.timed,{dayTableModel:s,dateProfile:a,axis:d,slotDuration:e.slotDuration,slatMetas:l,forPrint:i.forPrint,tableColGroupNode:h.tableColGroupNode,tableMinWidth:h.tableMinWidth,clientWidth:h.clientWidth,clientHeight:h.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:h.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return u?this.renderHScrollLayout(p,m,f,s.colCnt,c,l,this.state.slatCoords):this.renderSimpleLayout(p,m,f)}};O_t='.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}';Qc(O_t)});var L_t,zBe,jBe=y(()=>{yg();$Be();L_t={allDaySlot:Boolean},zBe=pa({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:L_t,views:{timeGrid:{component:GF,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}})});function F_t(r){return M(Yt,null,r.text&&M("a",Object.assign({id:r.textId,className:"fc-list-day-text"},r.navLinkAttrs),r.text),r.sideText&&M("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},r.sideNavLinkAttrs),r.sideText))}function z_t(r,e){let t=TT(r,e);return M("a",Object.assign({},t),r.eventRange.def.title)}function j_t(r,e,t,n,i){let{options:a}=t;if(a.displayEventTime!==!1){let s=r.eventRange.def,o=r.eventRange.instance,l=!1,c;if(s.allDay?l=!0:c4(r.eventRange.range)?r.isStart?c=Im(r,e,t,null,null,o.range.start,r.end):r.isEnd?c=Im(r,e,t,null,null,r.start,o.range.end):l=!0:c=Im(r,e,t),l){let d={text:t.options.allDayText,view:t.viewApi};return M(In,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${n} ${i}`},renderProps:d,generatorName:"allDayContent",customGenerator:a.allDayContent,defaultGenerator:B_t,classNameGenerator:a.allDayClassNames,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount})}return M("td",{className:"fc-list-event-time"},c)}return null}function B_t(r){return r.text}function U_t(r){return r.text}function H_t(r){let e=pr(r.renderRange.start),t=r.renderRange.end,n=[],i=[];for(;e<t;)n.push(e),i.push({start:e,end:un(e,1)}),e=un(e,1);return{dayDates:n,dayRanges:i}}function V_t(r){let e=[],t,n;for(t=0;t<r.length;t+=1)n=r[t],(e[n.dayIndex]||(e[n.dayIndex]=[])).push(n);return e}var CZ,$_t,DZ,KF,q_t,BBe=y(()=>{vg();IP();CZ=class extends wt{constructor(){super(...arguments),this.state={textId:ms()}}render(){let{theme:e,dateEnv:t,options:n,viewApi:i}=this.context,{cellId:a,dayDate:s,todayRange:o}=this.props,{textId:l}=this.state,c=iD(s,o),d=n.listDayFormat?t.format(s,n.listDayFormat):"",u=n.listDaySideFormat?t.format(s,n.listDaySideFormat):"",p=Object.assign({date:t.toDate(s),view:i,textId:l,text:d,sideText:u,navLinkAttrs:rd(this.context,s),sideNavLinkAttrs:rd(this.context,s,"day",!1)},c);return M(In,{elTag:"tr",elClasses:["fc-list-day",...kT(c,e)],elAttrs:{"data-date":_m(s)},renderProps:p,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:F_t,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},m=>M("th",{scope:"colgroup",colSpan:3,id:a,"aria-labelledby":l},M(m,{elTag:"div",elClasses:["fc-list-day-cushion",e.getClass("tableCellShaded")]})))}};$_t=Gt({hour:"numeric",minute:"2-digit",meridiem:"short"}),DZ=class extends wt{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i,timeHeaderId:a,eventHeaderId:s,dateHeaderId:o}=e,l=n.eventTimeFormat||$_t;return M(Lu,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",i.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>z_t(i,t),seg:i,timeText:"",disableDragging:!0,disableResizing:!0}),(c,d)=>M(Yt,null,j_t(i,l,t,a,o),M("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},M("span",{className:"fc-list-event-dot",style:{borderColor:d.borderColor||d.backgroundColor}})),M(c,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${s} ${o}`}})))}};KF=class extends Xn{constructor(){super(...arguments),this.computeDateVars=Me(H_t),this.eventStoreToSegs=Me(this._eventStoreToSegs),this.state={timeHeaderId:ms(),eventHeaderId:ms(),dateHeaderIdRoot:ms()},this.setRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e,context:t}=this,{dayDates:n,dayRanges:i}=this.computeDateVars(e.dateProfile),a=this.eventStoreToSegs(e.eventStore,e.eventUiBases,i);return M(ro,{elRef:this.setRootEl,elClasses:["fc-list",t.theme.getClass("table"),t.options.stickyHeaderDates!==!1?"fc-list-sticky":""],viewSpec:t.viewSpec},M(uT,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},a.length>0?this.renderSegList(a,n):this.renderEmptyMessage()))}renderEmptyMessage(){let{options:e,viewApi:t}=this.context,n={text:e.noEventsText,view:t};return M(In,{elTag:"div",elClasses:["fc-list-empty"],renderProps:n,generatorName:"noEventsContent",customGenerator:e.noEventsContent,defaultGenerator:U_t,classNameGenerator:e.noEventsClassNames,didMount:e.noEventsDidMount,willUnmount:e.noEventsWillUnmount},i=>M(i,{elTag:"div",elClasses:["fc-list-empty-cushion"]}))}renderSegList(e,t){let{theme:n,options:i}=this.context,{timeHeaderId:a,eventHeaderId:s,dateHeaderIdRoot:o}=this.state,l=V_t(e);return M(us,{unit:"day"},(c,d)=>{let u=[];for(let p=0;p<l.length;p+=1){let m=l[p];if(m){let f=_m(t[p]),h=o+"-"+f;u.push(M(CZ,{key:f,cellId:h,dayDate:t[p],todayRange:d})),m=fg(m,i.eventOrder);for(let g of m)u.push(M(DZ,Object.assign({key:f+":"+g.eventRange.instance.instanceId,seg:g,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:a,eventHeaderId:s,dateHeaderId:h},io(g,d,c))))}}return M("table",{className:"fc-list-table "+n.getClass("table")},M("thead",null,M("tr",null,M("th",{scope:"col",id:a},i.timeHint),M("th",{scope:"col","aria-hidden":!0}),M("th",{scope:"col",id:s},i.eventHint))),M("tbody",null,u))})}_eventStoreToSegs(e,t,n){return this.eventRangesToSegs(dT(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)}eventRangesToSegs(e,t){let n=[];for(let i of e)n.push(...this.eventRangeToSegs(i,t));return n}eventRangeToSegs(e,t){let{dateEnv:n}=this.context,{nextDayThreshold:i}=this.context.options,a=e.range,s=e.def.allDay,o,l,c,d=[];for(o=0;o<t.length;o+=1)if(l=$a(a,t[o]),l&&(c={component:this,eventRange:e,start:l.start,end:l.end,isStart:e.isStart&&l.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&l.end.valueOf()===a.end.valueOf(),dayIndex:o},d.push(c),!c.isEnd&&!s&&o+1<t.length&&a.end<n.add(t[o+1].start,i))){c.end=a.end,c.isEnd=!0;break}return d}};q_t=':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}';Qc(q_t)});function UBe(r){return r===!1?null:Gt(r)}var W_t,HBe,VBe=y(()=>{yg();BBe();vg();W_t={listDayFormat:UBe,listDaySideFormat:UBe,noEventsClassNames:j,noEventsContent:j,noEventsDidMount:j,noEventsWillUnmount:j};HBe=pa({name:"@fullcalendar/list",optionRefiners:W_t,views:{list:{component:KF,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 G_t(r,e,t,n,i){let{start:a,end:s}=e.currentRange,o=a,l=[];for(;o.valueOf()<s.valueOf();){let c=t.add(o,Y_t),d={start:r.skipHiddenDays(o),end:r.skipHiddenDays(c,-1,!0)},u=uZ({currentRange:d,snapToWeek:!0,fixedWeekCount:n,dateEnv:t});u={start:r.skipHiddenDays(u.start),end:r.skipHiddenDays(u.end,-1,!0)};let p=e.activeRange?$a(e.activeRange,i?u:d):null;l.push({currentDate:e.currentDate,isValid:e.isValid,validRange:e.validRange,renderRange:u,activeRange:p,currentRange:d,currentRangeUnit:"month",isRangeAllDay:!0,dateIncrement:e.dateIncrement,slotMinTime:e.slotMaxTime,slotMaxTime:e.slotMinTime}),o=c}return l}function Q_t(r,e){return r||(e[0].currentRange.start.getUTCFullYear()!==e[e.length-1].currentRange.start.getUTCFullYear()?K_t:Z_t)}var PZ,MZ,Y_t,K_t,Z_t,J_t,X_t,qBe,WBe=y(()=>{yg();WF();vg();IP();PZ=class extends Xn{constructor(){super(...arguments),this.buildDayTableModel=Me(dZ),this.slicer=new RP,this.state={labelId:ms()}}render(){let{props:e,state:t,context:n}=this,{dateProfile:i,forPrint:a}=e,{options:s}=n,o=this.buildDayTableModel(i,n.dateProfileGenerator),l=this.slicer.sliceProps(e,i,s.nextDayThreshold,n,o),c=e.tableWidth!=null?e.tableWidth/s.aspectRatio:null,d=o.cells.length,u=c!=null?c/d:null;return M("div",{ref:e.elRef,"data-date":e.isoDateStr,className:"fc-multimonth-month",style:{width:e.width},role:"grid","aria-labelledby":t.labelId},M("div",{className:"fc-multimonth-header",style:{marginBottom:u},role:"presentation"},M("div",{className:"fc-multimonth-title",id:t.labelId},n.dateEnv.format(e.dateProfile.currentRange.start,e.titleFormat)),M("table",{className:["fc-multimonth-header-table",n.theme.getClass("table")].join(" "),role:"presentation"},M("thead",{role:"rowgroup"},M(Ou,{dateProfile:e.dateProfile,dates:o.headerDates,datesRepDistinctDays:!1})))),M("div",{className:["fc-multimonth-daygrid","fc-daygrid","fc-daygrid-body",!a&&"fc-daygrid-body-balanced",a&&"fc-daygrid-body-unbalanced",a&&"fc-daygrid-body-natural"].join(" "),style:{marginTop:-u}},M("table",{className:["fc-multimonth-daygrid-table",n.theme.getClass("table")].join(" "),style:{height:a?"":c},role:"presentation"},M("tbody",{role:"rowgroup"},M(NP,Object.assign({},l,{dateProfile:i,cells:o.cells,eventSelection:e.eventSelection,dayMaxEvents:!a,dayMaxEventRows:!a,showWeekNumbers:s.weekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:a}))))))}},MZ=class extends Xn{constructor(){super(...arguments),this.splitDateProfileByMonth=Me(G_t),this.buildMonthFormat=Me(Q_t),this.scrollElRef=kn(),this.firstMonthElRef=kn(),this.needsScrollReset=!1,this.handleSizing=e=>{e&&this.updateSize()}}render(){let{context:e,props:t,state:n}=this,{options:i}=e,{clientWidth:a,clientHeight:s}=n,o=n.monthHPadding||0,l=Math.min(a!=null?Math.floor(a/(i.multiMonthMinWidth+o)):1,i.multiMonthMaxColumns)||1,c=100/l+"%",d=a==null?null:a/l-o,u=a!=null&&l===1,p=this.splitDateProfileByMonth(e.dateProfileGenerator,t.dateProfile,e.dateEnv,u?!1:i.fixedWeekCount,i.showNonCurrentDates),m=this.buildMonthFormat(i.multiMonthTitleFormat,p),f=["fc-multimonth",u?"fc-multimonth-singlecol":"fc-multimonth-multicol",d!=null&&d<400?"fc-multimonth-compact":"",t.isHeightAuto?"":"fc-scroller"];return M(ro,{elRef:this.scrollElRef,elClasses:f,viewSpec:e.viewSpec},p.map((h,g)=>{let v=hT(h.currentRange.start);return M(PZ,Object.assign({},t,{key:v,isoDateStr:v,elRef:g===0?this.firstMonthElRef:void 0,titleFormat:m,dateProfile:h,width:c,tableWidth:d,clientWidth:a,clientHeight:s}))}))}componentDidMount(){this.updateSize(),this.context.addResizeHandler(this.handleSizing),this.requestScrollReset()}componentDidUpdate(e){ua(e,this.props)||this.handleSizing(!1),e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}updateSize(){let e=this.scrollElRef.current,t=this.firstMonthElRef.current;e&&this.setState({clientWidth:e.clientWidth,clientHeight:e.clientHeight}),t&&e&&this.state.monthHPadding==null&&this.setState({monthHPadding:e.clientWidth-t.firstChild.offsetWidth})}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.state.monthHPadding!=null){let{currentDate:e}=this.props.dateProfile,t=this.scrollElRef.current,n=t.querySelector(`[data-date="${hT(e)}"]`);t.scrollTop=n.getBoundingClientRect().top-this.firstMonthElRef.current.getBoundingClientRect().top,this.needsScrollReset=!1}}shouldComponentUpdate(){return!0}},Y_t=ct(1,"month");K_t=Gt({year:"numeric",month:"long"}),Z_t=Gt({month:"long"});J_t={multiMonthTitleFormat:Gt,multiMonthMaxColumns:Number,multiMonthMinWidth:Number},X_t=".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}";Qc(X_t);qBe=pa({name:"@fullcalendar/multimonth",initialView:"multiMonthYear",optionRefiners:J_t,views:{multiMonth:{component:MZ,dateProfileGeneratorClass:fk,multiMonthMinWidth:350,multiMonthMaxColumns:3},multiMonthYear:{type:"multiMonth",duration:{years:1},fixedWeekCount:!0,showNonCurrentDates:!1}}})});function YBe(r,e){return(0,Ht.moment)(r,e)}function GBe(r){let e=(0,Ht.parseYaml)(r);return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:{}}var Ht,ap,FP,ZF,KBe=y(()=>{Ht=require("obsidian");zx();No();ap=tt(jd());Ne();fc();ca();Mc();G();FP=I({tag:"Modals/TimeblockInfoModal"});ZF=class extends Ht.Modal{constructor(t,n,i,a,s,o){super(t);this.selectedAttachments=[];this.keyboardHandler=null;this.plugin=n,this.timeblock={...i},this.originalTimeblock=i,this.eventDate=a,this.timeblockDate=s||ce(a),this.translate=n.i18n.translate.bind(n.i18n),this.onChange=o}async onOpen(){let{contentEl:t}=this;t.empty(),t.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 Ht.Setting(t).setName(this.translate("modals.timeblockInfo.editHeading")).setHeading();let n=t.createDiv({cls:"timeblock-date-display"});n.createEl("strong",{text:this.translate("modals.timeblockInfo.dateTimeLabel")});let i=`${this.eventDate.toLocaleDateString()} from ${this.timeblock.startTime} to ${this.timeblock.endTime}`;n.createSpan({text:i}),new Ht.Setting(t).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 Ht.Setting(t).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 Ht.Setting(t).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(au(this.timeblock.color||this.plugin.settings.calendarViewSettings.defaultTimeblockColor)),zh(this.colorInput)}),new Ht.Setting(t).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(()=>{Qp(this.plugin,u=>{u instanceof Ht.TAbstractFile&&this.addAttachment(u)},{placeholder:"Search files or type to create new...",filter:"all",sortOrder:this.plugin.settings.calendarViewSettings.timeblockAttachmentSearchOrder})})}).addButton(d=>{d.setButtonText("Add task").setTooltip("Select task").onClick(()=>{this.openTaskSelectorForTitle()})}),this.attachmentsList=t.createDiv({cls:"timeblock-attachments-list"}),await this.initializeAttachments(),this.renderAttachmentsList();let a=t.createDiv({cls:"timeblock-modal-buttons"});a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-flex-75816cae"),a.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-flex-end-455f8cca"),a.classList.add("tn-static-justify-content-space-between-a562f4fd"),a.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),a.classList.add("tn-static-align-items-center-7c619740"),a.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),a.classList.add("tn-static-margin-top-20px-a26bda7d"),a.createEl("button",{text:this.translate("modals.timeblockInfo.deleteButton"),cls:"mod-warning timeblock-delete-button"}).addEventListener("click",()=>{this.handleDelete()});let o=a.createDiv({cls:"timeblock-modal-buttons-right"});o.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),o.classList.add("tn-static-display-flex-75816cae"),o.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db"),o.classList.add("tn-static-gap-8px-33fcd4c3"),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 a;let t=this.contentEl.querySelector(".timeblock-save-button");if(!t)return;let i=!!((a=this.titleInput)==null?void 0:a.value.trim());t.disabled=!i,t.style.opacity=i?"1":"0.5"}async initializeAttachments(){if(this.timeblock.attachments)for(let t of this.timeblock.attachments){let n=t.replace(/^\[\[|\]\]$/g,""),i=this.app.vault.getAbstractFileByPath(n);i&&this.selectedAttachments.push(i)}}addAttachment(t){if(this.selectedAttachments.some(n=>n.path===t.path)){new Ht.Notice(this.translate("notices.timeblockAttachmentExists",{fileName:t.name}));return}if(this.titleInput&&!this.titleInput.value.trim()){let n=t instanceof Ht.TFile?t.basename:t.name;this.titleInput.value=n,this.timeblock.title=n,this.validateForm()}this.selectedAttachments.push(t),this.renderAttachmentsList(),new Ht.Notice(this.translate("notices.timeblockAttachmentAdded",{fileName:t.name}))}async openTaskSelectorForTitle(){var t,n,i;try{let s=((i=await((n=(t=this.plugin.cacheManager).getAllTasks)==null?void 0:n.call(t)))!=null?i:[]).filter(o=>!o.archived);if(s.length===0){new Ht.Notice("No tasks available to select");return}Pn(this.plugin,s,o=>{if(!o)return;this.titleInput.value=o.title||"",this.timeblock.title=o.title||"",this.validateForm();let l=this.app.vault.getAbstractFileByPath(o.path);l&&this.addAttachment(l)},{title:"Select task"})}catch(a){FP.error("Failed to open task selector for timeblock edit:",{category:"persistence",operation:"open-task-selector-timeblock-edit",error:a}),new Ht.Notice("Failed to open task selector")}}removeAttachment(t){this.selectedAttachments=this.selectedAttachments.filter(n=>n.path!==t.path),this.renderAttachmentsList(),new Ht.Notice(this.translate("notices.timeblockAttachmentRemoved",{fileName:t.name}))}openAttachment(t){t instanceof Ht.TFile?this.app.workspace.getLeaf(!1).openFile(t):new Ht.Notice(this.translate("notices.timeblockFileTypeNotSupported",{fileName:t.name}))}renderAttachmentsList(){if(this.attachmentsList.empty(),this.selectedAttachments.length===0){let t=this.attachmentsList.createDiv({cls:"timeblock-attachments-empty"});t.textContent="No attachments";return}this.selectedAttachments.forEach(t=>{let n=this.attachmentsList.createDiv({cls:"timeblock-attachment-item"}),i=n.createDiv({cls:"timeblock-attachment-info"});i.classList.remove("tn-static-cursor-grab-dad79857","tn-static-cursor-pointer-2723efcc"),i.classList.add("tn-static-cursor-pointer-3b6a3a65"),(0,Ht.setTooltip)(i,"Click to open",{placement:"top"}),i.addEventListener("click",()=>this.openAttachment(t));let a=i.createSpan({cls:"timeblock-attachment-name"});if(a.textContent=t.name,t.path!==t.name){let o=i.createDiv({cls:"timeblock-attachment-path"});o.textContent=t.path}let s=n.createEl("button",{cls:"timeblock-attachment-remove",text:"\xD7"});(0,Ht.setTooltip)(s,"Remove attachment",{placement:"top"}),s.addEventListener("click",o=>{o.stopPropagation(),this.removeAttachment(t)})})}async handleSave(){var t;try{let n=this.titleInput.value.trim();if(!n){new Ht.Notice(this.translate("notices.timeblockTitleRequired"));return}this.timeblock.title=n,this.timeblock.description=this.descriptionInput.value.trim()||void 0,this.timeblock.color=_r(this.colorInput.value||void 0)||void 0;let i=this.selectedAttachments.map(a=>`[[${a.path}]]`);this.timeblock.attachments=i.length>0?i:void 0,await this.updateTimeblockInDailyNote(),(t=this.onChange)==null||t.call(this),this.plugin.emitter.trigger("data-changed"),new Ht.Notice(this.translate("notices.timeblockUpdatedSuccess",{title:n})),this.close()}catch(n){FP.error("Error updating timeblock:",{category:"internal",operation:"updating-timeblock",error:n}),new Ht.Notice(this.translate("notices.timeblockUpdateFailed"))}}async updateTimeblockInDailyNote(){if(!(0,ap.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes plugin is not enabled");let t=this.timeblockDate,n=YBe(t,"YYYY-MM-DD"),i=(0,ap.getAllDailyNotes)(),a=(0,ap.getDailyNote)(n,i);if(!a)throw new Error("Daily note not found");let s=await this.app.vault.read(a),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=GBe(p)}catch(m){FP.error("Error parsing existing frontmatter:",{category:"validation",operation:"parsing-existing-frontmatter",error: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,Ht.stringifyYaml)(o)}---${l}`;await Xa(this.app,a,d)}async handleDelete(){var n;if(await this.showDeleteConfirmation())try{await this.deleteTimeblockFromDailyNote(),(n=this.onChange)==null||n.call(this),this.plugin.emitter.trigger("data-changed"),new Ht.Notice(this.translate("notices.timeblockDeletedSuccess",{title:this.timeblock.title})),this.close()}catch(i){FP.error("Error deleting timeblock:",{category:"internal",operation:"deleting-timeblock",error:i}),new Ht.Notice(this.translate("notices.timeblockDeleteFailed"))}}async showDeleteConfirmation(){return new Promise(t=>{let n=new Ht.Modal(this.app);n.titleEl.setText(this.translate("modals.timeblockInfo.deleteConfirmationTitle"));let i=n.contentEl;i.createEl("p",{text:`Are you sure you want to delete the timeblock "${this.timeblock.title}"?`}),i.createEl("p",{text:"This action cannot be undone.",cls:"mod-warning"});let a=i.createDiv({cls:"modal-button-container"});a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-flex-75816cae"),a.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),a.classList.add("tn-static-justify-content-flex-end-455f8cca"),a.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db"),a.classList.add("tn-static-gap-8px-33fcd4c3"),a.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),a.classList.add("tn-static-margin-top-20px-a26bda7d");let s=a.createEl("button",{text:this.translate("common.cancel")});s.addEventListener("click",()=>{n.close(),t(!1)}),a.createEl("button",{text:"Delete",cls:"mod-warning"}).addEventListener("click",()=>{n.close(),t(!0)}),n.open(),window.setTimeout(()=>s.focus(),50)})}async deleteTimeblockFromDailyNote(){if(!(0,ap.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes plugin is not enabled");let t=this.timeblockDate,n=YBe(t,"YYYY-MM-DD"),i=(0,ap.getAllDailyNotes)(),a=(0,ap.getDailyNote)(n,i);if(!a)throw new Error("Daily note not found");let s=await this.app.vault.read(a),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=GBe(p)}catch(m){FP.error("Error parsing existing frontmatter:",{category:"validation",operation:"parsing-existing-frontmatter",error: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,Ht.stringifyYaml)(o):"",d=c?`---
${c}---${l}`:l.trim();await Xa(this.app,a,d)}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:t}=this;t.empty()}}});function hk(r,e){if(!e)return;let t=Math.ceil(e/1440),n=zt(r),i=new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()+t));return ce(i)}function ZBe(r,e){if(!r.scheduled)return null;let t=kr(r.scheduled),n=r.scheduled,i;if(t&&r.timeEstimate){let o=ut(n),l=new Date(o.getTime()+r.timeEstimate*60*1e3);i=P(l,"yyyy-MM-dd'T'HH:mm")}else t||(i=hk(n,r.timeEstimate));let a=_r(e.getPriorityColor(r.priority),"var(--color-accent)"),s=su(a)?e.getThemeTextColor(!0):a;return{id:`scheduled-${r.path}`,title:r.title,start:n,end:i,allDay:!t,backgroundColor:"transparent",borderColor:a,textColor:s,editable:!0,extendedProps:{taskInfo:r,eventType:"scheduled",isCompleted:e.isCompletedStatus(r.status)}}}function QBe(r,e){if(!r.due)return null;let t=kr(r.due),n=r.due,i;if(t){let o=ut(n),l=new Date(o.getTime()+1800*1e3);i=P(l,"yyyy-MM-dd'T'HH:mm")}let a=_r(e.getPriorityColor(r.priority),"var(--color-orange)"),s=su(a)?e.getThemeTextColor(!0):a;return{id:`due-${r.path}`,title:r.title,start:n,end:i,allDay:!t,backgroundColor:vv(a,.15),borderColor:a,textColor:s,editable:!0,extendedProps:{taskInfo:r,eventType:"due",isCompleted:e.isCompletedStatus(r.status)}}}function JBe(r,e,t){if(!e||!t)return!0;let n=ut(r.start),i=r.end?ut(r.end):n;return n.getTime()<t.getTime()&&i.getTime()>=e.getTime()}function eAt(r,e){if(!r.scheduled||!r.due)return null;let t=ut(r.scheduled),n=ut(r.due);if(n<=t)return null;let i=new Date(n);i.setDate(i.getDate()+1);let a=_r(e.getPriorityColor(r.priority),"var(--color-accent)"),s=su(a)?e.getThemeTextColor(!0):a;return{id:`span-${r.path}`,title:r.title,start:P(t,"yyyy-MM-dd"),end:P(i,"yyyy-MM-dd"),allDay:!0,backgroundColor:vv(a,.2),borderColor:a,textColor:s,editable:!0,extendedProps:{taskInfo:r,eventType:"scheduledToDueSpan",isCompleted:e.isCompletedStatus(r.status)}}}function tAt(r,e,t,n){if(!r.scheduled||!r.due)return[];let i=ut(r.scheduled);if(ut(r.due)<=i)return[];let s=_a(r.scheduled);if(!s)return[];let[o,l]=s.split(":").map(Number),c=ut(ke(r.scheduled)),d=ut(ke(r.due)),u=_r(e.getPriorityColor(r.priority),"var(--color-accent)"),p=su(u)?e.getThemeTextColor(!0):u,m=e.isCompletedStatus(r.status),f=[];for(let h=new Date(c);h.getTime()<=d.getTime();h.setDate(h.getDate()+1)){let g=new Date(h);g.setHours(o,l,0,0);let v;if(r.timeEstimate){let w=new Date(g.getTime()+r.timeEstimate*60*1e3);v=P(w,"yyyy-MM-dd'T'HH:mm")}let k=P(h,"yyyy-MM-dd"),b={id:`span-${r.path}-${k}`,title:r.title,start:P(g,"yyyy-MM-dd'T'HH:mm"),end:v,allDay:!1,backgroundColor:vv(u,.2),borderColor:u,textColor:p,editable:!0,extendedProps:{taskInfo:r,eventType:"scheduledToDueSpan",isCompleted:m}};JBe(b,t,n)&&f.push(b)}return f}function XBe(r,e,t,n){if(!r.scheduled||!r.due)return[];if(kr(r.scheduled))return tAt(r,e,t,n);let i=eAt(r,e);return!i||!JBe(i,t,n)?[]:[i]}function rAt(r){return typeof r.endTime=="string"&&r.endTime.length>0}function e2e(r,e){if(!r.timeEntries)return[];let t=e.isCompletedStatus(r.status);return r.timeEntries.map((n,i)=>({entry:n,index:i})).filter(({entry:n})=>rAt(n)).map(({entry:n,index:i})=>({id:`timeentry-${r.path}-${i}`,title:r.title,start:n.startTime,end:n.endTime,allDay:!1,editable:!0,extendedProps:{taskInfo:r,eventType:"timeEntry",isCompleted:t,timeEntryIndex:i}}))}var _Z=y(()=>{Br();Ne();fc()});function n2e(r){return r instanceof Error?r.message:String(r)}function i2e(r){return!!(r!=null&&r.ctrlKey||r!=null&&r.metaKey||r!=null&&r.altKey)}function a2e(r){return window.moment(r)}function XF(r,e){return vv(r,e)}function aAt(){return activeDocument.body.classList.contains("theme-dark")}function ny(r=!1){return r?aAt()?"#e8eaed":"#202124":""}function e1(r){return su(r)}function s2e(r,e){let t=r.title;if(r.projects&&r.projects.length>0&&(t+=`
Project: ${r.projects[0]}`),r.priority){let n=e.priorityManager.getPriorityConfig(r.priority);t+=`
Priority: ${(n==null?void 0:n.label)||r.priority}`}if(r.status){let n=e.statusManager.getStatusConfig(r.status);t+=`
Status: ${(n==null?void 0:n.label)||r.status}`}if(r.timeEstimate){let n=Math.floor(r.timeEstimate/60),i=r.timeEstimate%60;t+=`
Estimate: ${n>0?`${n}h `:""}${i}m`}return t}function o2e(r,e){let{isNextScheduledOccurrence:t=!1,isPatternInstance:n=!1,isRecurringInstance:i=!1,isCompleted:a=!1}=e;if(t?(r.classList.remove("tn-static-border-style-dashed-12296c91"),r.classList.add("tn-static-border-style-solid-11080b69"),r.classList.add("tn-static-border-width-2px-a1222254"),r.setAttribute("data-next-scheduled","true"),r.classList.add("fc-next-scheduled-event"),a&&(r.classList.remove("tn-static-opacity-0-8d919cb5","tn-static-opacity-1-c6e7979d"),r.classList.add("tn-static-opacity-0-6-d95b59ac"))):n?(r.classList.remove("tn-static-border-style-solid-11080b69"),r.classList.add("tn-static-border-style-dashed-12296c91"),r.classList.add("tn-static-border-width-2px-a1222254"),r.style.opacity=a?"0.4":"0.7",r.setAttribute("data-pattern-instance","true"),r.classList.add("fc-pattern-instance-event")):i&&(r.classList.remove("tn-static-border-style-solid-11080b69"),r.classList.add("tn-static-border-style-dashed-12296c91"),r.classList.add("tn-static-border-width-2px-a1222254"),r.setAttribute("data-recurring","true"),r.classList.add("fc-recurring-event"),a&&(r.classList.remove("tn-static-opacity-0-8d919cb5","tn-static-opacity-1-c6e7979d"),r.classList.add("tn-static-opacity-0-6-d95b59ac"))),e.isMaterializedOccurrence&&(r.setAttribute("data-materialized-occurrence","true"),r.classList.add("fc-materialized-occurrence-event")),a){let s=r.querySelector(".fc-event-title, .fc-event-title-container");s?(s.classList.remove("tn-static-text-decoration-none-80d654f9"),s.classList.add("tn-static-text-decoration-line-through-7059a4e5")):(r.classList.remove("tn-static-text-decoration-none-80d654f9"),r.classList.add("tn-static-text-decoration-line-through-7059a4e5")),r.classList.add("fc-completed-event")}}async function sAt(r,e,t,n){try{if(!r.recurrence||typeof r.recurrence!="string")throw new Error("Task does not have a valid RRULE string");let i=r.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/),a;if(i){let s=i[1],o;if(t)o=s.slice(0,8);else{let l=s.slice(0,8),c=String(e.getHours()).padStart(2,"0"),d=String(e.getMinutes()).padStart(2,"0");o=`${l}T${c}${d}00Z`}a=r.recurrence.replace(/DTSTART:[^;]+/,`DTSTART:${o}`),new Vn.Notice("Updated recurring pattern time. All future instances now appear at this time.")}else{let s=qpe(r,e,t);if(!s)throw new Error("Failed to add DTSTART to recurrence rule");a=s,new Vn.Notice("Added time information to recurring pattern. All future instances now appear at this time.")}await n.taskService.updateProperty(r,"recurrence",a)}catch(i){throw Ed.error("Error updating pattern instance time:",{category:"provider",operation:"updating-pattern-instance-time",error:i}),i}}async function l2e(r,e,t){var l,c;let{isRecurringInstance:n,isNextScheduledOccurrence:i,isPatternInstance:a}=(l=r.event.extendedProps)!=null?l:{},s=r.event.start;if(!s){r.revert();return}let o=(c=r.event.allDay)!=null?c:!1;if(i){let d;o?d=P(s,"yyyy-MM-dd"):d=P(s,"yyyy-MM-dd'T'HH:mm"),await t.taskService.updateProperty(e,"scheduled",d),new Vn.Notice("Rescheduled next occurrence. This does not change the recurrence pattern.")}else if(a)await sAt(e,s,o,t);else if(n){let d=ke(e.scheduled),u;if(o)u=d,new Vn.Notice("Updated recurring task to all-day. This affects all future instances.");else{let p=P(s,"HH:mm");u=`${d}T${p}`,new Vn.Notice(`Updated recurring task time to ${p}. This affects all future instances.`)}await t.taskService.updateProperty(e,"scheduled",u)}}function t1(r){let e=r,t=e.event||e,n=t.extendedProps||{},{isRecurringInstance:i,isNextScheduledOccurrence:a,isPatternInstance:s,isMaterializedOccurrence:o,instanceDate:l}=n;if((i||a||s||o)&&l)return zt(l);let c=t.start;if(c){let d=P(c,"yyyy-MM-dd");return zt(d)}return wr()}function r1(r){return{getPriorityColor:e=>{var t;return(t=r.priorityManager.getPriorityConfig(e))==null?void 0:t.color},isCompletedStatus:e=>r.statusManager.isCompletedStatus(e),getThemeTextColor:(e=!1)=>ny(e)}}function oAt(r){return r?typeof r.has=="function"?r:new Set(r):new Set}function lAt(r,e){var l,c;let t=r.recurrence_parent;if(!t)return"";let n=Vh(t),i=(l=e.app)==null?void 0:l.metadataCache,a=jt(t),s=(c=i==null?void 0:i.getFirstLinkpathDest)==null?void 0:c.call(i,a,r.path),o=s&&typeof s.path=="string"?s.path:void 0;return o?Vh(o):n}function cAt(r){return Vh(r.path)}function dAt(r,e){let t=new Map;for(let n of r){if(!Qx(n))continue;let i=lAt(n,e),a=ke(n.occurrence_date);if(!i||!a)continue;let s=t.get(i);s||(s=new Set,t.set(i,s)),s.add(a)}return t}function QF(r,e){if(!Qx(e))return r;let t=ke(e.occurrence_date);return{...r,extendedProps:{...r.extendedProps,isMaterializedOccurrence:!0,instanceDate:t,occurrenceDate:t,occurrenceParent:e.recurrence_parent}}}function uAt(r,e){return ZBe(r,r1(e))}function pAt(r,e){return QBe(r,r1(e))}function c2e(r,e,t,n){return XBe(r,r1(e),t,n)}function mAt(r,e){return e2e(r,r1(e))}function NZ(r,e,t={}){var n;try{let i=r.subscriptionId.startsWith("google-"),a=r.subscriptionId.startsWith("microsoft-"),s,o,l,c;if(i)o=r.color||"#4285F4",s=XF(o,.2),l=ny(!0),c="Google Calendar";else if(a)o=r.color||"#0078D4",s=XF(o,.2),l=ny(!0),c="Microsoft Calendar";else{let p=(n=e.icsSubscriptionService)==null?void 0:n.getSubscriptions().find(m=>m.id===r.subscriptionId);if(!p||!p.enabled)return null;o=_r(p.color,"#3788d8"),s=XF(o,.2),l=e1(o)?ny(!0):o,c=p.name}let{start:d,end:u}=fAt(r.start,r.end,r.allDay);return{id:r.id,title:r.title,start:d,end:u,allDay:r.allDay,backgroundColor:s,borderColor:o,textColor:l,editable:i||a,extendedProps:{icsEvent:r,eventType:"ics",subscriptionName:c,isGoogleCalendar:i,isMicrosoftCalendar:a,relatedNoteCount:t.relatedNoteCount&&t.relatedNoteCount>0?t.relatedNoteCount:void 0}}}catch(i){return Ed.error("Error creating ICS event:",{category:"provider",operation:"creating-ics-event",error:i}),null}}function fAt(r,e,t){if(t||!e)return{start:r,end:e};let n=new Date(r),i=new Date(e);if(Number.isNaN(n.getTime())||Number.isNaN(i.getTime())||i.getTime()!==n.getTime())return{start:r,end:e};let a=new Date(i.getTime()+nAt);return{start:r,end:hAt(a,e)}}function hAt(r,e){if(/Z$/i.test(e))return r.toISOString();let t=e.match(/([+-])(\d{2}):?(\d{2})$/);if(t){let[,n,i,a]=t,o=(Number(i)*60+Number(a))*60*1e3*(n==="+"?1:-1),l=new Date(r.getTime()+o),c=(p,m=2)=>String(p).padStart(m,"0"),d=`${l.getUTCFullYear()}-${c(l.getUTCMonth()+1)}-${c(l.getUTCDate())}`,u=`${c(l.getUTCHours())}:${c(l.getUTCMinutes())}:${c(l.getUTCSeconds())}.${c(l.getUTCMilliseconds(),3)}`;return`${d}T${u}${n}${i}:${a}`}return P(r,"yyyy-MM-dd'T'HH:mm:ss.SSS")}function gAt(r){if(r.recurrence&&typeof r.recurrence=="string"){let e=r.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(e&&e[1].includes("T")){let t=e[1].split("T")[1];if(t.length>=4){let n=t.slice(0,2),i=t.slice(2,4);return`${n}:${i}`}}}if(r.scheduled){let e=_a(r.scheduled);if(e)return e}return"09:00"}function yAt(r){if(!r.scheduled||!r.due)return null;let e=ut(r.scheduled);if(ut(r.due)<=e)return null;let n=ut(ke(r.scheduled)),i=ut(ke(r.due)),a=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate()),s=Date.UTC(i.getFullYear(),i.getMonth(),i.getDate());return Math.round((s-a)/iAt)}function vAt(r,e){let t=new Date(r);return t.setDate(t.getDate()+e),t}function bAt(r,e){let t=new Date(r);return t.setUTCDate(t.getUTCDate()+e),t}function TAt(r,e){let t=_a(r);return t?`${e}T${t}`:e}function kAt(r){return!!(r.scheduled&&r.due&&!kr(r.due)&&ke(r.scheduled)===ke(r.due))}function AZ(r,e,t,n,i,a,s,o){var h,g;if(!r.scheduled||!r.due)return[];let l=vAt(ut(e),i),c=P(l,"yyyy-MM-dd"),d=kr(r.scheduled)?t:null,u={...r,scheduled:d?`${e}T${d}`:e,due:TAt(r.due,c)},p=((h=r.complete_instances)==null?void 0:h.includes(e))||!1,m=((g=r.skipped_instances)==null?void 0:g.includes(e))||!1,f={isCompleted:p,isSkipped:m,isNextScheduledOccurrence:n==="next-scheduled",isPatternInstance:n==="pattern",isRecurringInstance:n==="recorded",instanceDate:e,recurringTemplateTime:t};return c2e(u,a,s,o).map(v=>{let k=ke(v.start);return{...v,id:`span-${n}-${r.path}-${e}-${k}`,editable:!1,extendedProps:{...v.extendedProps,taskInfo:r,...f}}})}function wAt(r,e,t,n,i){var m,f;let a=kr(e),s;if(a&&r.timeEstimate){let h=ut(e),g=new Date(h.getTime()+r.timeEstimate*60*1e3);s=P(g,"yyyy-MM-dd'T'HH:mm")}else a||(s=hk(e,r.timeEstimate));let o=i.priorityManager.getPriorityConfig(r.priority),l=_r(o==null?void 0:o.color,"var(--color-accent)"),c=((m=r.complete_instances)==null?void 0:m.includes(t))||!1,d=((f=r.skipped_instances)==null?void 0:f.includes(t))||!1,u=e1(l)?ny(!0):l,p="transparent";return c?p="rgba(0,0,0,0.3)":d&&(p="rgba(128,128,128,0.2)"),{id:`next-scheduled-${r.path}-${t}`,title:r.title,start:e,end:s,allDay:!a,backgroundColor:p,borderColor:l,textColor:u,editable:!0,extendedProps:{taskInfo:r,eventType:"scheduled",isCompleted:c,isSkipped:d,isNextScheduledOccurrence:!0,instanceDate:t,recurringTemplateTime:n}}}function SAt(r,e,t,n,i){var f,h;let a=kr(e),s;if(a&&r.timeEstimate){let g=ut(e),v=new Date(g.getTime()+r.timeEstimate*60*1e3);s=P(v,"yyyy-MM-dd'T'HH:mm")}else a||(s=hk(e,r.timeEstimate));let o=i.priorityManager.getPriorityConfig(r.priority),l=_r(o==null?void 0:o.color,"var(--color-accent)"),c=((f=r.complete_instances)==null?void 0:f.includes(t))||!1,d=((h=r.skipped_instances)==null?void 0:h.includes(t))||!1,u=XF(l,.5),p=e1(l)?ny(!0):u,m="transparent";return c?m="rgba(0,0,0,0.2)":d&&(m="rgba(128,128,128,0.15)"),{id:`recurring-${r.path}-${t}`,title:r.title,start:e,end:s,allDay:!a,backgroundColor:m,borderColor:u,textColor:p,editable:!0,extendedProps:{taskInfo:r,eventType:"recurring",isCompleted:c,isSkipped:d,isPatternInstance:!0,instanceDate:t,recurringTemplateTime:n}}}function EAt(r,e,t,n,i){var m,f;let a=kr(e),s;if(a&&r.timeEstimate){let h=ut(e),g=new Date(h.getTime()+r.timeEstimate*60*1e3);s=P(g,"yyyy-MM-dd'T'HH:mm")}else a||(s=hk(e,r.timeEstimate));let o=i.priorityManager.getPriorityConfig(r.priority),l=_r(o==null?void 0:o.color,"var(--color-accent)"),c=((m=r.complete_instances)==null?void 0:m.includes(t))||!1,d=((f=r.skipped_instances)==null?void 0:f.includes(t))||!1,u=e1(l)?ny(!0):l,p="transparent";return c?p="rgba(0,0,0,0.3)":d&&(p="rgba(128,128,128,0.2)"),{id:`recurring-recorded-${r.path}-${t}`,title:r.title,start:e,end:s,allDay:!a,backgroundColor:p,borderColor:l,textColor:u,editable:!1,extendedProps:{taskInfo:r,eventType:"recurring",isCompleted:c,isSkipped:d,isRecurringInstance:!0,instanceDate:t,recurringTemplateTime:n}}}function xAt(r,e,t,n,i={}){if(!r.recurrence||!r.scheduled)return[];let{showCompletedRecurringInstances:a=!0,showSkippedRecurringInstances:s=!0,showProjectedRecurringInstances:o=!0,showScheduledToDueSpan:l=!1,materializedOccurrenceDates:c}=i,d=[],u=new Set,p=oAt(c),m=kr(r.scheduled),f=gAt(r),h=ke(r.scheduled),g=l?yAt(r):null,v=g!==null,k=v?bAt(e,-Math.max(g,0)):e;if(o){let b=m?_a(r.scheduled):null,w=b?`${h}T${b}`:h,S=wAt(r,w,h,b||"09:00",n);if(S&&!p.has(h)&&t2e(r,h,a,s))if(v){let _=AZ(r,h,b||f,"next-scheduled",g,n,e,t);_.length>0&&(d.push(..._),u.add(h))}else d.push(S),u.add(h);let x=t;typeof r.recurrence=="string"&&r.recurrence.includes("FREQ=YEARLY")&&(x=new Date(e.getTime()+800*24*60*60*1e3));let C=Tv(r,k,x),D=ce(t);for(let _ of C){let O=ce(_);if(O>D||O===h||p.has(O)||!t2e(r,O,a,s))continue;if(v){let R=AZ(r,O,f,"pattern",g,n,e,t);R.length>0&&(d.push(...R),u.add(O));continue}let L=m?`${O}T${f}`:O,N=SAt(r,L,O,f,n);N&&(d.push(N),u.add(O))}}for(let b of CAt(r,k,t,a,s)){if(p.has(b)||u.has(b))continue;if(v){let x=AZ(r,b,f,"recorded",g,n,e,t);x.length>0&&(d.push(...x),u.add(b));continue}let w=m?`${b}T${f}`:b,S=EAt(r,w,b,f,n);S&&(d.push(S),u.add(b))}return d}function CAt(r,e,t,n,i){let a=ce(e),s=ce(t),o=new Set;if(n)for(let l of r.complete_instances||[])l>=a&&l<=s&&o.add(l);if(i)for(let l of r.skipped_instances||[])l>=a&&l<=s&&o.add(l);return[...o].sort()}function t2e(r,e,t,n){var i,a;return!(!t&&((i=r.complete_instances)!=null&&i.includes(e))||!n&&((a=r.skipped_instances)!=null&&a.includes(e)))}function DAt(r,e,t="#6366f1"){let n=`${e}T${r.startTime}:00`,i=`${e}T${r.endTime}:00`,a=_r(r.color||t,"#6366f1"),s=a;return{id:`timeblock-${r.id}`,title:r.title,start:n,end:i,allDay:!1,backgroundColor:a,borderColor:s,textColor:"var(--text-on-accent)",editable:!0,extendedProps:{eventType:"timeblock",timeblock:r,originalDate:e}}}function PAt(r,e){let t=r;if(!(t!=null&&t.timeblocks)||!Array.isArray(t.timeblocks))return[];let n=[];for(let i of t.timeblocks){let a=i;a&&typeof a.id=="string"&&typeof a.startTime=="string"&&typeof a.endTime=="string"&&n.push(a)}return n}async function _At(r,e,t){try{let n=Date.now();(!IZ||n-r2e>MAt)&&(IZ=(0,xd.getAllDailyNotes)(),r2e=n);let i=IZ,a=[];for(let s=new Date(e);s<=t;s.setUTCDate(s.getUTCDate()+1)){let o=ce(s),l=new Date(`${o}T12:00:00`),c=(0,xd.getDailyNote)(a2e(l),i);if(c){let d=r.app.metadataCache.getFileCache(c);if(d!=null&&d.frontmatter){let u=PAt(d.frontmatter,c.path);for(let p of u)a.push(DAt(p,o,r.settings.calendarViewSettings.defaultTimeblockColor))}}}return a}catch(n){return Ed.error("Error getting timeblock events:",{category:"provider",operation:"getting-timeblock-events",error:n}),[]}}function JF(r,e,t,n){if(!e||!t)return!0;try{let a=ut(r).getTime();if(isNaN(a))return!0;let s=a;return n&&(s=a+n*60*1e3),a<t.getTime()&&s>=e.getTime()}catch(i){return!0}}async function d2e(r,e,t={}){var v;let{showScheduled:n=!0,showDue:i=!0,showScheduledToDueSpan:a=!1,showTimeEntries:s=!0,showRecurring:o=!0,showCompletedRecurringInstances:l=!0,showSkippedRecurringInstances:c=!0,showICSEvents:d=!0,showTimeblocks:u=!1,visibleStart:p,visibleEnd:m}=t,f=[],h=dAt(r,e),g=(k,b,w,S=i,x=!1)=>{let C=!1;if(w&&a&&k.scheduled&&k.due){let O=c2e(k,e,p,m).map(L=>QF(L,k));O.length>0&&(f.push(...O),C=!0)}if(C)return;if(b&&k.scheduled&&JF(k.scheduled,p,m,k.timeEstimate)){let O=uAt(k,e);O&&f.push(QF(O,k))}let D=S&&(b||x)&&kAt(k);if(S&&!D&&k.due&&JF(k.due,p,m)){let O=pAt(k,e);O&&f.push(QF(O,k))}};for(let k of r)try{if(k.recurrence){let b=n,w=i,S=!0,x=!1;if((o||l||c)&&p&&m&&k.scheduled){let C=xAt(k,p,m,e,{showCompletedRecurringInstances:l,showSkippedRecurringInstances:c,showProjectedRecurringInstances:o,showScheduledToDueSpan:a,materializedOccurrenceDates:(v=h.get(cAt(k)))!=null?v:new Set});f.push(...C),o&&(x=C.length>0,b=!1,S=!1,C.some(D=>D.extendedProps.eventType==="scheduledToDueSpan")&&(w=!1))}g(k,b,S,w,x)}else g(k,n,!0);if(s&&k.timeEntries){let b=mAt(k,e);for(let w of b)JF(w.start,p,m)&&f.push(QF(w,k))}}catch(b){Ed.warn(`[TaskNotes][Calendar] Error processing task "${k.title}" (${k.path}):`,{category:"provider",operation:"processing-task",error:b})}if(d&&e.icsSubscriptionService){let k=e.icsSubscriptionService.getAllEvents();for(let b of k)if(JF(b.start,p,m)){let w=NZ(b,e);w&&f.push(w)}}if(u&&p&&m){let k=await _At(e,p,m);f.push(...k)}return f}async function u2e(r,e,t,n,i){if(t){new Vn.Notice("Timeblocks must have specific times. Please select a time range in week or day view.");return}let a=P(r,"yyyy-MM-dd"),s=P(r,"HH:mm"),o=P(e,"HH:mm");new hb(n.app,n,{date:a,startTime:s,endTime:o,onCreated:i}).open()}async function p2e(r,e,t,n){if(t){new Vn.Notice(n.i18n.translate("modals.timeEntry.mustHaveSpecificTime"));return}try{let a=(await n.cacheManager.getAllTasks()).filter(s=>!s.archived);if(a.length===0){new Vn.Notice(n.i18n.translate("modals.timeEntry.noTasksAvailable"));return}Pn(n,a,s=>{(async()=>{if(s)try{let o=Math.round((e.getTime()-r.getTime())/6e4),l={startTime:r.toISOString(),endTime:e.toISOString(),description:""},c=[...s.timeEntries||[],l].map(d=>{let u={...d};return delete u.duration,u});await n.taskService.updateTask(s,{timeEntries:c}),n.emitter.trigger(ea),new Vn.Notice(n.i18n.translate("modals.timeEntry.created",{taskTitle:s.title,duration:o.toString()}))}catch(o){Ed.error("Error creating time entry:",{category:"provider",operation:"creating-time-entry",error:o}),new Vn.Notice(n.i18n.translate("modals.timeEntry.createFailed"))}})()})}catch(i){Ed.error("Error opening task selector for time entry:",{category:"provider",operation:"opening-task-selector-time-entry",error:i}),new Vn.Notice(n.i18n.translate("modals.timeEntry.createFailed"))}}async function m2e(r,e,t,n,i=!1){try{let a=r.event.start,s=r.event.end;if(!a||!s){r.revert();return}let o=P(a,"yyyy-MM-dd"),l=P(a,"HH:mm"),c=P(s,"HH:mm");if(i){await Upe(n.app,o,e,l,c),r.revert(),n.emitter.trigger(ea),new Vn.Notice("Timeblock duplicated successfully");return}await GB(n.app,e.id,t,o,l,c),new Vn.Notice("Timeblock moved successfully")}catch(a){Ed.error("Error moving timeblock:",{category:"provider",operation:"moving-timeblock",error:a}),new Vn.Notice(`Failed to move timeblock: ${n2e(a)}`),r.revert()}}async function f2e(r,e,t,n){try{let i=r.event.start,a=r.event.end;if(!i||!a){r.revert();return}let s=P(i,"HH:mm"),o=P(a,"HH:mm");await GB(n.app,e.id,t,t,s,o),new Vn.Notice("Timeblock duration updated")}catch(i){Ed.error("Error resizing timeblock:",{category:"provider",operation:"resizing-timeblock",error:i}),new Vn.Notice(`Failed to resize timeblock: ${n2e(i)}`),r.revert()}}async function n1(r,e,t,n,i){new ZF(n.app,n,r,e,t,i).open()}function h2e(r,e){r.setAttribute("data-timeblock-id",e.id||""),r.classList.remove("tn-static-border-style-dashed-12296c91"),r.classList.add("tn-static-border-style-solid-11080b69"),r.classList.add("tn-static-border-width-2px-a1222254"),r.classList.add("fc-timeblock-event")}function g2e(r){var t;let e=((t=r.attachments)==null?void 0:t.length)||0;return`${r.title||"Timeblock"}${r.description?` - ${r.description}`:""}${e>0?` (${e} attachment${e>1?"s":""})`:""}`}function y2e(r,e,t,n="tasknotes-calendar"){r.addEventListener("mouseover",i=>{t.app.vault.getAbstractFileByPath(e.path)&&t.app.workspace.trigger("hover-link",{event:i,source:n,hoverParent:r,targetEl:r,linktext:e.path,sourcePath:e.path})})}async function RZ(r,e,t={}){try{let{createIfMissing:n=!0}=t;if(!(0,xd.appHasDailyNotesPluginLoaded)()){new Vn.Notice("Daily notes core plugin is not enabled. Please enable it in settings > core plugins.");return}let i=a2e(r),a=(0,xd.getAllDailyNotes)(),s=(0,xd.getDailyNote)(i,a);if(!s){if(!n){new Vn.Notice(e.i18n.translate("views.basesCalendar.notices.noDailyNoteForDate"));return}try{s=await(0,xd.createDailyNote)(i)}catch(o){let l=o instanceof Error?o.message:String(o);Ed.error("Failed to create daily note:",{category:"provider",operation:"create-daily-note",error:o}),new Vn.Notice(`Failed to create daily note: ${l}`);return}}s&&await e.app.workspace.getLeaf(!1).openFile(s)}catch(n){let i=n instanceof Error?n.message:String(n);Ed.error("Failed to navigate to daily note:",{category:"provider",operation:"navigate-daily-note",error:n}),new Vn.Notice(`Failed to navigate to daily note: ${i}`)}}function OZ(r,e,t,n,i=RZ){if(t!=="timeGridDay")return;let a=r.querySelector(".fc-col-header-cell-cushion")||r,s=`Go to ${P(e,"d MMMM yyyy")}`;a.setAttribute("data-navlink",""),a.setAttribute("title",s),a.setAttribute("aria-label",s),a.classList.add("tasknotes-calendar-daily-note-link"),a.dataset.tasknotesDailyNoteDate=e.toISOString(),a.matches("a")&&!a.getAttribute("href")&&a.setAttribute("href","#"),a.dataset.tasknotesDailyNoteLinkAttached!=="true"&&(a.dataset.tasknotesDailyNoteLinkAttached="true",a.addEventListener("click",o=>{o.preventDefault(),o.stopPropagation();let l=o.currentTarget,c=l!=null&&l.dataset.tasknotesDailyNoteDate?new Date(l.dataset.tasknotesDailyNoteDate):e;i(c,n)}))}function v2e(r,e,t,n){let i=t?P(r,"yyyy-MM-dd"):P(r,"yyyy-MM-dd'T'HH:mm"),a=Math.round((e.getTime()-r.getTime())/(1e3*60)),s=!t&&a>n,o={scheduled:i};if(t){let c=Math.round((e.getTime()-r.getTime())/864e5);c>1&&(o.timeEstimate=c*1440)}else s&&(o.timeEstimate=a);return o}var Vn,xd,Ed,nAt,iAt,IZ,r2e,MAt,$P=y(()=>{Br();Ur();Ne();Ct();jn();Vn=require("obsidian");QV();xd=tt(jd());fV();No();KBe();fc();_Z();G();_Z();Ed=I({tag:"Bases/CalendarCore"}),nAt=1,iAt=1440*60*1e3;IZ=null,r2e=0,MAt=5e3});function AAt(r,e){return e?P(r,"yyyy-MM-dd"):P(r,"yyyy-MM-dd'T'HH:mm")}function i1(r){return r?r.includes(".")?r.split(".").pop()||null:r:null}function b2e(r,e){let t=ut(r),n=new Date(t.getTime()+e);return kr(r)?P(n,"yyyy-MM-dd'T'HH:mm"):P(n,"yyyy-MM-dd")}function k2e(r){let{eventType:e,taskInfo:t,newStart:n,oldStart:i,allDay:a}=r;if(e==="scheduled"||e==="due")return n?{kind:"update-date-property",property:e,value:AAt(n,a)}:{kind:"revert",reason:"missing-new-start"};if(e==="scheduledToDueSpan"){if(!i)return{kind:"revert",reason:"missing-old-start"};if(!n)return{kind:"revert",reason:"missing-new-start"};let s=n.getTime()-i.getTime();return{kind:"update-scheduled-due-span",scheduled:t.scheduled?b2e(t.scheduled,s):void 0,due:t.due?b2e(t.due,s):void 0}}return{kind:"ignore",reason:"unsupported-event-type"}}function w2e(r){let{eventType:e,start:t,end:n,allDay:i}=r;return e!=="scheduled"&&e!=="recurring"?{kind:"revert",reason:"unsupported-event-type"}:!t||!n?{kind:"ignore",reason:"missing-range"}:{kind:"update-time-estimate",value:i?Math.round((n.getTime()-t.getTime())/(1440*60*1e3))*60*24:Math.round((n.getTime()-t.getTime())/(1e3*60))}}function S2e(r){return r.map(e=>{let t={...e};return delete t.duration,t})}function iy(r){return Number.isNaN(r.getTime())}function E2e(r,e){return P(r,e?"yyyy-MM-dd":"yyyy-MM-dd'T'HH:mm")}function T2e(r){if(!r.value)return null;let e=new Date(Z(r.value));if(iy(e))return null;let t=new Date(e.getTime()+r.timeDiffMs);return iy(t)?null:E2e(t,r.allDay)}function x2e(r){let{frontmatter:e,startProperty:t,endProperty:n,oldStart:i,newStart:a,allDay:s}=r;if(!t)return{kind:"revert",reason:"missing-start-property"};if(!i||!a)return{kind:"revert",reason:"missing-start-date"};let o=a.getTime()-i.getTime(),l={},c=e[t];if(c){let d=T2e({value:c,timeDiffMs:o,allDay:s});if(!d)return{kind:"ignore",reason:"invalid-start-value"};l[t]=d}if(n){let d=e[n],u=T2e({value:d,timeDiffMs:o,allDay:s});u&&(l[n]=u)}return Object.keys(l).length===0?{kind:"ignore",reason:"no-date-values"}:{kind:"update-frontmatter",updates:l}}function C2e(r){let{endProperty:e,newEnd:t,allDay:n}=r;return e?t?iy(t)?{kind:"ignore",reason:"invalid-end-date"}:{kind:"update-frontmatter",updates:{[e]:E2e(t,n)}}:{kind:"revert",reason:"missing-end-date"}:{kind:"revert",reason:"missing-end-property"}}function D2e(r){let{timeEntries:e,timeEntryIndex:t,oldStart:n,newStart:i,newEnd:a}=r;if(typeof t!="number")return{kind:"revert",reason:"missing-index"};if(!i||!a)return{kind:"revert",reason:"missing-new-range"};if(!n)return{kind:"revert",reason:"missing-old-start"};let s=S2e(e!=null?e:[]),o=s[t];if(!o)return{kind:"ignore",reason:"missing-entry"};if(!o.endTime)return{kind:"revert",reason:"missing-entry-end"};let l=new Date(o.startTime),c=new Date(o.endTime);if(iy(l)||iy(c))return{kind:"revert",reason:"invalid-date"};let d=i.getTime()-n.getTime();return o.startTime=new Date(l.getTime()+d).toISOString(),o.endTime=new Date(c.getTime()+d).toISOString(),{kind:"update-time-entries",timeEntries:s}}function P2e(r){let{timeEntries:e,timeEntryIndex:t,newStart:n,newEnd:i}=r;if(typeof t!="number")return{kind:"revert",reason:"missing-index"};if(!n||!i)return{kind:"revert",reason:"missing-new-range"};if(iy(n)||iy(i))return{kind:"revert",reason:"invalid-date"};let a=S2e(e!=null?e:[]),s=a[t];return s?(s.startTime=n.toISOString(),s.endTime=i.toISOString(),{kind:"update-time-entries",timeEntries:a}):{kind:"ignore",reason:"missing-entry"}}function LZ(r){let{start:e,allDay:t,timezone:n,requireEnd:i=!1}=r,{end:a}=r;if(!e)return{kind:"revert",reason:"missing-start"};if(!a){if(i)return{kind:"revert",reason:"missing-end"};a=new Date(e),t?a.setDate(a.getDate()+1):a.setHours(a.getHours()+1)}return t?{kind:"update-provider-event",updates:{start:{date:P(e,"yyyy-MM-dd")},end:{date:P(a,"yyyy-MM-dd")}}}:{kind:"update-provider-event",updates:{start:{dateTime:P(e,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:n},end:{dateTime:P(a,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:n}}}}var M2e=y(()=>{Br();Ne();gr()});function NAt(r,e){if(e){let n=r.findIndex(i=>i.provider.providerId==="google"&&i.calendar.id===e);if(n>=0)return n}let t=r.findIndex(n=>n.calendar.primary);return t>=0?t:0}var lo,IAt,a1,_2e=y(()=>{lo=require("obsidian");Br();G();IAt=I({tag:"Modals/CalendarEventCreationModal"});a1=class extends lo.Modal{constructor(t,n,i){super(t);this.writableCalendars=[];this.keyboardHandler=null;this.plugin=n,this.options=i,this.translate=n.i18n.translate.bind(n.i18n),this.writableCalendars=this.getWritableCalendars()}getWritableCalendars(){let t=[],n=this.plugin.calendarProviderRegistry;if(!n)return t;for(let i of n.getAllProviders())for(let a of i.getAvailableCalendars())t.push({provider:i,calendar:a});return t}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-plugin","calendar-event-creation-modal"),this.keyboardHandler=l=>{l.key==="Enter"&&(l.ctrlKey||l.metaKey)&&(l.preventDefault(),this.handleSubmit())},this.containerEl.addEventListener("keydown",this.keyboardHandler),new lo.Setting(t).setName(this.translate("modals.calendarEventCreation.heading")).setHeading();let n=t.createDiv({cls:"calendar-event-date-display"});n.createEl("strong",{text:this.translate("modals.calendarEventCreation.dateTimeLabel")});let i=this.options.allDay?P(this.options.start,"PPP"):`${P(this.options.start,"PPP p")} \u2013 ${P(this.options.end,"p")}`;n.createSpan({text:i}),new lo.Setting(t).setName(this.translate("modals.calendarEventCreation.titleLabel")).setDesc(this.translate("modals.calendarEventCreation.titleDesc")).addText(l=>{this.titleInput=l.inputEl,l.setPlaceholder(this.translate("modals.calendarEventCreation.titlePlaceholder")).onChange(()=>this.validateForm()),window.setTimeout(()=>this.titleInput.focus(),100)}),this.writableCalendars.length>1&&new lo.Setting(t).setName(this.translate("modals.calendarEventCreation.calendarLabel")).setDesc(this.translate("modals.calendarEventCreation.calendarDesc")).addDropdown(l=>{this.calendarDropdown=l.selectEl;for(let d=0;d<this.writableCalendars.length;d++){let u=this.writableCalendars[d],p=`${u.calendar.summary} (${u.provider.providerName})`;l.addOption(String(d),p)}let c=NAt(this.writableCalendars,this.plugin.settings.googleCalendarExport.targetCalendarId);l.setValue(String(c))}),new lo.Setting(t).setName(this.translate("modals.calendarEventCreation.descriptionLabel")).setDesc(this.translate("modals.calendarEventCreation.descriptionDesc")).addTextArea(l=>{this.descriptionInput=l.inputEl,l.setPlaceholder(this.translate("modals.calendarEventCreation.descriptionPlaceholder")),this.descriptionInput.rows=3}),new lo.Setting(t).setName(this.translate("modals.calendarEventCreation.locationLabel")).setDesc(this.translate("modals.calendarEventCreation.locationDesc")).addText(l=>{this.locationInput=l.inputEl,l.setPlaceholder(this.translate("modals.calendarEventCreation.locationPlaceholder"))});let a=t.createDiv({cls:"calendar-event-modal-buttons"});a.createEl("button",{text:this.translate("common.cancel")}).addEventListener("click",()=>this.close()),a.createEl("button",{text:this.translate("modals.calendarEventCreation.createButton"),cls:"mod-cta calendar-event-create-button"}).addEventListener("click",()=>{this.handleSubmit()}),this.validateForm()}validateForm(){var i;let t=this.contentEl.querySelector(".calendar-event-create-button");if(!t)return;let n=!!((i=this.titleInput)!=null&&i.value.trim());t.disabled=!n,t.style.opacity=n?"1":"0.5"}async handleSubmit(){var a,s,o,l;let t=this.titleInput.value.trim();if(!t){new lo.Notice(this.translate("modals.calendarEventCreation.titleRequired"));return}let n=this.calendarDropdown?parseInt(this.calendarDropdown.value):0,i=this.writableCalendars[n];if(!i){new lo.Notice(this.translate("modals.calendarEventCreation.noCalendarSelected"));return}try{let{start:c,end:d,allDay:u}=this.options,p=Intl.DateTimeFormat().resolvedOptions().timeZone,m={summary:t,start:u?{date:P(c,"yyyy-MM-dd")}:{dateTime:P(c,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:p},end:u?{date:P(d,"yyyy-MM-dd")}:{dateTime:P(d,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:p}},f=(a=this.descriptionInput)==null?void 0:a.value.trim();f&&(m.description=f);let h=(s=this.locationInput)==null?void 0:s.value.trim();h&&(m.location=h),await i.provider.createEvent(i.calendar.id,m),new lo.Notice(this.translate("modals.calendarEventCreation.success",{title:t})),(l=(o=this.options).onEventCreated)==null||l.call(o),this.close()}catch(c){IAt.error("[TaskNotes] Error creating calendar event:",{category:"provider",operation:"creating-calendar-event",error:c}),new lo.Notice(this.translate("modals.calendarEventCreation.error",{message:c instanceof Error?c.message:String(c)}))}}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:t}=this;t.empty()}}});function FZ(r,{showNotice:e=!0,noticeHandler:t}){e&&(t==null||t(r))}var A2e,ws,s1=y(()=>{G();A2e=I({tag:"Utils/SafeAsync"});ws=class{static async execute(e,t={}){let{fallback:n,errorMessage:i="An error occurred",showNotice:a=!0,noticeHandler:s,logError:o=!0}=t;try{return await e()}catch(l){if(o&&A2e.error(i,{category:"provider",operation:"execute-safe-operation",error:l}),a){let c=l instanceof Error?l.message:String(l);FZ(`${i}: ${c}`,{showNotice:a,noticeHandler:s})}return n}}static async executeWithRetry(e,t={}){let{maxRetries:n=3,retryDelay:i=1e3,errorMessage:a="Operation failed",showNotice:s=!0,noticeHandler:o}=t,l;for(let c=0;c<=n;c++)try{return await e()}catch(d){if(l=d instanceof Error?d:new Error(String(d)),c<n){await new Promise(u=>window.setTimeout(u,i));continue}A2e.error(`${a} after ${n+1} attempts:`,{category:"provider",operation:"execute-with-retry",details:{attempts:n+1},error:l}),s&&FZ(`${a}: ${l.message}`,{showNotice:s,noticeHandler:o});return}}static async executeWithValidation(e,t,n={}){let{showNotice:i=!0,noticeHandler:a}=n;for(let s of t)if(!s.condition){i&&FZ(s.message,{showNotice:i,noticeHandler:a});return}return this.execute(e,n)}}});var sp,gk,$Z=y(()=>{sp=require("obsidian");Br();s1();Eu();gk=class extends sp.Modal{constructor(t,n,i){super(t);this.title="";this.folder="";this.template="";this.useTemplate=!1;this.keyboardHandler=null;this.plugin=n,this.options=i,this.translate=n.i18n.translate.bind(n.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=t=>{t.key==="Enter"&&(t.ctrlKey||t.metaKey)&&(t.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:t}=this;t.empty(),t.createDiv("modal-header").createEl("h2",{text:this.translate("modals.icsNoteCreation.heading")});let i=t.createDiv("ics-event-preview");this.createEventPreview(i),new sp.Setting(t).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 sp.Setting(t).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=t.createDiv("template-settings"),this.createTemplateSettings(),this.previewContainer=t.createDiv("content-preview"),this.updatePreview();let a=t.createDiv("modal-button-container"),s=a.createEl("button",{text:this.translate("modals.icsNoteCreation.createButton"),cls:"mod-cta"});s.onclick=l=>{l.preventDefault(),l.stopPropagation(),this.handleCreate()};let o=a.createEl("button",{text:this.translate("common.cancel")});o.onclick=l=>{l.preventDefault(),l.stopPropagation(),this.close()},window.setTimeout(()=>{var l;return(l=this.titleInput)==null?void 0:l.focus()},100)}createEventPreview(t){let{icsEvent:n,subscriptionName:i}=this.options;t.createEl("h3",{text:n.title});let a=t.createDiv("event-details");if(n.start){let o=n.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(n.start)?n.start+"T00:00:00":n.start,l=new Date(o),c=a.createDiv();c.createEl("strong",{text:this.translate("modals.icsNoteCreation.startLabel")}),c.appendText(P(l,"PPPp"))}if(n.end&&!n.allDay){let o=/^\d{4}-\d{2}-\d{2}$/.test(n.end)?n.end+"T00:00:00":n.end,l=new Date(o),c=a.createDiv();c.createEl("strong",{text:this.translate("modals.icsNoteCreation.endLabel")}),c.appendText(P(l,"PPPp"))}if(n.location){let o=a.createDiv();o.createEl("strong",{text:this.translate("modals.icsNoteCreation.locationLabel")}),o.appendText(n.location)}let s=a.createDiv();s.createEl("strong",{text:this.translate("modals.icsNoteCreation.calendarLabel")}),s.appendText(i)}createTemplateSettings(){this.templateContainer.empty(),new sp.Setting(this.templateContainer).setName(this.translate("modals.icsNoteCreation.useTemplateLabel")).setDesc(this.translate("modals.icsNoteCreation.useTemplateDesc")).addToggle(t=>{t.setValue(this.useTemplate).onChange(n=>{this.useTemplate=n,this.updateTemplateInput(),this.updatePreview()})}),this.useTemplate&&new sp.Setting(this.templateContainer).setName(this.translate("modals.icsNoteCreation.templatePathLabel")).setDesc(this.translate("modals.icsNoteCreation.templatePathDesc")).addText(t=>{this.templateInput=t.inputEl,t.setValue(this.template).setPlaceholder(this.translate("modals.icsNoteCreation.templatePathPlaceholder")).onChange(n=>{this.template=n,this.updatePreview()})})}updateDefaultsForContentType(){var t,n;this.folder=((t=this.plugin.settings.icsIntegration)==null?void 0:t.defaultNoteFolder)||"",this.template=((n=this.plugin.settings.icsIntegration)==null?void 0:n.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 t=this.previewContainer.createDiv("preview-details"),n=t.createDiv();n.createEl("strong",{text:"Type: "}),n.appendText("Note");let i=t.createDiv();i.createEl("strong",{text:"Title: "}),i.appendText(this.title||"Untitled");let a=t.createDiv();if(a.createEl("strong",{text:"Folder: "}),a.appendText(this.folder||"Vault root"),this.useTemplate&&this.template){let c=t.createDiv();c.createEl("strong",{text:"Template: "}),c.appendText(this.template)}else{let c=t.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:t}=this.options,n=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.start)?t.start+"T00:00:00":t.start,i=new Date(n);return`${t.title} - ${P(i,"PPP")}`}getDefaultFolder(){var t;return((t=this.plugin.settings.icsIntegration)==null?void 0:t.defaultNoteFolder)||""}getDefaultTemplate(){var t;return((t=this.plugin.settings.icsIntegration)==null?void 0:t.defaultNoteTemplate)||""}async handleCreate(){await ws.executeWithValidation(async()=>{var i,a;let{icsEvent:t}=this.options,n=await this.plugin.icsNoteService.createNoteFromICS(t,{title:this.title,folder:this.folder||void 0,template:this.useTemplate&&this.template?this.template:void 0});new sp.Notice(`Note created: ${this.title}`),(a=(i=this.options).onContentCreated)==null||a.call(i,n.file,n.noteInfo),this.close()},[{condition:!!this.title.trim(),message:"Title is required"}],{errorMessage:"Failed to create note from ICS event",noticeHandler:Qe})}}});var Rr,zZ,Cd,zP=y(()=>{Rr=require("obsidian");$Z();zx();s1();G();Eu();zZ=I({tag:"Modals/ICSEventInfoModal"}),Cd=class extends Rr.Modal{constructor(t,n,i,a){super(t);this.relatedNotes=[];this.plugin=n,this.icsEvent=i,this.subscriptionName=a,this.translate=n.i18n.translate.bind(n.i18n)}async onOpen(){await this.renderContent()}async renderContent(){let{contentEl:t}=this;t.empty(),await this.loadRelatedNotes(),new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.calendarEventHeading")).setHeading(),new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.titleLabel")).setDesc(this.icsEvent.title||this.translate("ui.icsCard.untitledEvent")),this.subscriptionName&&new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.calendarLabel")).setDesc(this.subscriptionName);let n=this.icsEvent.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(this.icsEvent.start)?this.icsEvent.start+"T00:00:00":this.icsEvent.start,i=new Date(n),a=i.toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"});if(!this.icsEvent.allDay&&(a+=` at ${i.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);a+=` - ${o.toLocaleTimeString()}`}new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.dateTimeLabel")).setDesc(a),this.icsEvent.location&&new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.locationLabel")).setDesc(this.icsEvent.location),this.icsEvent.description&&new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.descriptionLabel")).setDesc(this.icsEvent.description),this.icsEvent.url&&new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.urlLabel")).descEl.createEl("a",{cls:"external-link",href:this.icsEvent.url,text:this.icsEvent.url}).setAttribute("target","_blank"),new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.relatedNotesHeading")).setHeading(),this.relatedNotes.length===0?new Rr.Setting(t).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 Rr.Setting(t).setName(s.title).setDesc(`Type: ${l}`).addButton(c=>{c.setButtonText("Open").onClick(async()=>{await this.safeOpenFile(s.path),this.close()})})}),new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.actionsHeading")).setHeading(),new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.createFromEventLabel")).setDesc(this.translate("modals.icsEventInfo.createFromEventDesc")).addButton(s=>{s.setButtonText("Create note").onClick(()=>{this.openCreationModal()})}).addButton(s=>{s.setButtonText("Create task").onClick(async()=>{await this.createTaskDirectly()})}),new Rr.Setting(t).setName(this.translate("modals.icsEventInfo.linkExistingLabel")).setDesc(this.translate("modals.icsEventInfo.linkExistingDesc")).addButton(s=>{s.setButtonText("Link note").onClick(()=>{this.linkExistingNote()})}).addButton(s=>{s.setButtonText("Refresh").onClick(()=>{this.refreshRelatedNotes()})})}async loadRelatedNotes(){let t=await ws.execute(()=>this.plugin.icsNoteService.findRelatedNotes(this.icsEvent),{fallback:[],errorMessage:"Failed to load related notes",showNotice:!1});this.relatedNotes=t||[]}openCreationModal(){try{new gk(this.app,this.plugin,{icsEvent:this.icsEvent,subscriptionName:this.subscriptionName||"Unknown Calendar",onContentCreated:(n,i)=>{(async()=>(new Rr.Notice(this.translate("notices.icsNoteCreatedSuccess")),this.refreshRelatedNotes(),await this.safeOpenFile(n.path)))()}}).open()}catch(t){zZ.error("Error opening creation modal:",{category:"provider",operation:"opening-creation-modal",error:t}),new Rr.Notice(this.translate("notices.icsCreationModalOpenFailed"))}}async linkExistingNote(){await ws.execute(async()=>{Qp(this.plugin,t=>{t instanceof Rr.TAbstractFile&&ws.execute(async()=>{await this.plugin.icsNoteService.linkNoteToICS(t.path,this.icsEvent),new Rr.Notice(this.translate("notices.icsNoteLinkSuccess",{fileName:t.name})),this.refreshRelatedNotes()},{errorMessage:"Failed to link note",noticeHandler:Qe})},{placeholder:"Search notes to link...",filter:"markdown"})},{errorMessage:"Failed to open note selection",noticeHandler:Qe})}async createTaskDirectly(){await ws.execute(async()=>{let t=await this.plugin.icsNoteService.createTaskFromICS(this.icsEvent);new Rr.Notice(this.translate("notices.icsTaskCreatedSuccess",{taskTitle:t.taskInfo.title})),await this.safeOpenFile(t.file.path),this.refreshRelatedNotes()},{errorMessage:"Failed to create task from ICS event",noticeHandler:Qe})}async refreshRelatedNotes(){await ws.execute(async()=>{await this.loadRelatedNotes(),await this.renderContent(),new Rr.Notice(this.translate("notices.icsRelatedItemsRefreshed"))},{errorMessage:"Failed to refresh related notes",noticeHandler:Qe})}isTaskNote(t){var i;let n=this.plugin.settings.taskTag;return((i=t.tags)==null?void 0:i.includes(n))||!1}async safeOpenFile(t){try{let n=this.app.vault.getAbstractFileByPath(t);n instanceof Rr.TFile?await this.app.workspace.getLeaf().openFile(n):(new Rr.Notice(this.translate("notices.icsFileNotFound")),zZ.error("Invalid file path or file not found:",{category:"provider",operation:"invalid-file-path-or-file-not-found",details:{value:t}}))}catch(n){zZ.error("Error opening file:",{category:"provider",operation:"opening-file",error:n}),new Rr.Notice(this.translate("notices.icsFileOpenFailed"))}}onClose(){let{contentEl:t}=this;t.empty()}}});var Hi,RAt,yk,jZ=y(()=>{Hi=require("obsidian");zP();$Z();zx();s1();du();G();Eu();RAt=I({tag:"Components/ICSEventContextMenu"}),yk=class{constructor(e){this.menu=new ki,this.options=e,this.buildMenu()}t(e,t){return this.options.plugin.i18n.translate(e,t)}getLocale(){return this.options.plugin.i18n.getCurrentLocale()||"en"}buildMenu(){let{icsEvent:e,plugin:t,subscriptionName:n}=this.options;this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.showDetails")).setIcon("info").onClick(()=>{new Cd(t.app,t,e,n).open()})),this.menu.addSeparator(),this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.createTask")).setIcon("check-circle").onClick(async()=>{await this.createTaskFromEvent()})),this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.createNote")).setIcon("file-plus").onClick(()=>{this.createNoteFromEvent()})),this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.linkNote")).setIcon("link").onClick(()=>{this.linkExistingNote()})),this.menu.addSeparator(),this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.copyTitle")).setIcon("copy").onClick(async()=>{try{await navigator.clipboard.writeText(e.title),new Hi.Notice(this.t("contextMenus.ics.notices.copyTitleSuccess"))}catch(a){new Hi.Notice(this.t("contextMenus.ics.notices.copyFailure"))}})),e.location&&this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.copyLocation")).setIcon("map-pin").onClick(async()=>{try{await navigator.clipboard.writeText(e.location||""),new Hi.Notice(this.t("contextMenus.ics.notices.copyLocationSuccess"))}catch(a){new Hi.Notice(this.t("contextMenus.ics.notices.copyFailure"))}})),e.url&&this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.copyUrl")).setIcon("external-link").onClick(async()=>{try{await navigator.clipboard.writeText(e.url||""),new Hi.Notice(this.t("contextMenus.ics.notices.copyUrlSuccess"))}catch(a){new Hi.Notice(this.t("contextMenus.ics.notices.copyFailure"))}})),this.menu.addItem(i=>i.setTitle(this.t("contextMenus.ics.copyMarkdown")).setIcon("file-text").onClick(async()=>{let a=this.formatEventAsMarkdown();try{await navigator.clipboard.writeText(a),new Hi.Notice(this.t("contextMenus.ics.notices.copyMarkdownSuccess"))}catch(s){new Hi.Notice(this.t("contextMenus.ics.notices.copyFailure"))}}))}async createTaskFromEvent(){await ws.execute(async()=>{let e=await this.options.plugin.icsNoteService.createTaskFromICS(this.options.icsEvent);new Hi.Notice(this.t("contextMenus.ics.notices.taskCreated",{title:e.taskInfo.title}));let t=this.options.plugin.app.vault.getAbstractFileByPath(e.file.path);t instanceof Hi.TFile&&await this.options.plugin.app.workspace.getLeaf().openFile(t),this.options.onUpdate&&this.options.onUpdate()},{errorMessage:this.t("contextMenus.ics.notices.taskCreateFailure"),noticeHandler:Qe})}createNoteFromEvent(){try{new gk(this.options.plugin.app,this.options.plugin,{icsEvent:this.options.icsEvent,subscriptionName:this.options.subscriptionName||this.t("contextMenus.ics.subscriptionUnknown"),onContentCreated:t=>{(async()=>(new Hi.Notice(this.t("contextMenus.ics.notices.noteCreated")),await this.options.plugin.app.workspace.getLeaf().openFile(t),this.options.onUpdate&&this.options.onUpdate()))()}}).open()}catch(e){RAt.error("Error opening creation modal:",{category:"provider",operation:"opening-creation-modal",error:e}),new Hi.Notice(this.t("contextMenus.ics.notices.creationFailure"))}}async linkExistingNote(){await ws.execute(async()=>{Qp(this.options.plugin,e=>{e instanceof Hi.TAbstractFile&&ws.execute(async()=>{await this.options.plugin.icsNoteService.linkNoteToICS(e.path,this.options.icsEvent),new Hi.Notice(this.t("contextMenus.ics.notices.linkSuccess",{name:e.name})),this.options.onUpdate&&this.options.onUpdate()},{errorMessage:this.t("contextMenus.ics.notices.linkFailure"),noticeHandler:Qe})},{placeholder:"Search notes to link...",filter:"markdown"})},{errorMessage:this.t("contextMenus.ics.notices.linkSelectionFailure"),noticeHandler:Qe})}formatEventAsMarkdown(){let{icsEvent:e,subscriptionName:t}=this.options,n=[],i=e.title||this.t("contextMenus.ics.markdown.titleFallback");n.push(`## ${i}`),n.push(""),t&&n.push(this.t("contextMenus.ics.markdown.calendar",{value:t}));let a=this.getLocale(),s=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,o=new Date(s),l=new Intl.DateTimeFormat(a,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),c=new Intl.DateTimeFormat(a,{hour:"numeric",minute:"2-digit"}),d=l.format(o);if(!e.allDay&&(d+=this.t("contextMenus.ics.markdown.at",{time:c.format(o)}),e.end)){let u=/^\d{4}-\d{2}-\d{2}$/.test(e.end)?e.end+"T00:00:00":e.end,p=new Date(u);d+=` - ${c.format(p)}`}return n.push(this.t("contextMenus.ics.markdown.date",{value:d})),e.location&&n.push(this.t("contextMenus.ics.markdown.location",{value:e.location})),e.description&&(n.push(""),n.push(this.t("contextMenus.ics.markdown.descriptionHeading")),n.push(e.description)),e.url&&(n.push(""),n.push(this.t("contextMenus.ics.markdown.url",{value:e.url}))),n.join(`
`)}show(e){this.menu.showAtMouseEvent(e)}showAtElement(e){this.menu.showAtPosition({x:e.getBoundingClientRect().left,y:e.getBoundingClientRect().bottom+4})}}});function I2e(r,e){return r.initialDate===e.initialDate&&r.initialDateProperty===e.initialDateProperty&&r.initialDateStrategy===e.initialDateStrategy}var N2e=y(()=>{});function jP(r){if(typeof r=="string"){let e=r.trim(),t=e.toLowerCase();if(!e||t==="null"||t==="undefined")return null;if(kr(e)){let n=ut(e);return Number.isNaN(n.getTime())?null:{value:P(n,"yyyy-MM-dd'T'HH:mm"),isAllDay:!1}}try{let n=zt(e);return{value:ce(n),isAllDay:!0}}catch(n){return null}}if(typeof r=="number"){let e=new Date(r);return Number.isNaN(e.getTime())?null:{value:ce(e),isAllDay:!0}}return r instanceof Date?Number.isNaN(r.getTime())?null:r.getHours()!==0||r.getMinutes()!==0||r.getSeconds()!==0||r.getMilliseconds()!==0?{value:P(r,"yyyy-MM-dd'T'HH:mm"),isAllDay:!1}:{value:ce(r),isAllDay:!0}:null}function R2e(r){return typeof r.value=="string"?r.value:P(r.value,"yyyy-MM-dd'T'HH:mm")}function OAt(r,e,t,n){if(e){let i=n(r,e);if(typeof i=="string"&&i.trim())return i.trim()}return t.basename||t.name||t.path}function O2e({entry:r,file:e,startDateProperty:t,endDateProperty:n,titleProperty:i,getPropertyValue:a}){if(!e)return null;let s=jP(a(r,t));if(!s)return null;let o=R2e(s),l,c=s.isAllDay;if(n){let d=jP(a(r,n));d&&(l=R2e(d),c=d.isAllDay)}return{id:`property-${e.path}`,title:OAt(r,i,e,a),start:o,end:l,allDay:s.isAllDay&&(l?c:!0),backgroundColor:"var(--color-accent)",borderColor:"var(--color-accent)",textColor:"var(--text-on-accent)",editable:!0,extendedProps:{eventType:"property-based",filePath:e.path,file:e,basesEntry:r}}}var BZ=y(()=>{Br();Ne()});function L2e({viewOptions:r,taskNotes:e,entries:t,getEntryPropertyValue:n,getContextPropertyValue:i,mapPropertyToTaskField:a}){var o;if(r.initialDate){let l=jP(r.initialDate);return(o=l==null?void 0:l.value)!=null?o:r.initialDate}if(!r.initialDateProperty)return;let s=LAt({propertyId:r.initialDateProperty,taskNotes:e,entries:t,getEntryPropertyValue:n,mapPropertyToTaskField:a});if(s.length===0){let l=i?UZ(i(r.initialDateProperty)):null;return l==null?void 0:l.value}return r.initialDateStrategy==="earliest"?s.reduce((l,c)=>c.compare.getTime()<l.compare.getTime()?c:l).value:r.initialDateStrategy==="latest"?s.reduce((l,c)=>c.compare.getTime()>l.compare.getTime()?c:l).value:s[0].value}function LAt({propertyId:r,taskNotes:e,entries:t,getEntryPropertyValue:n,mapPropertyToTaskField:i}){var o,l;let a=[];if(t&&n)for(let c of t){let d=UZ(n(c,r));d&&a.push(d)}if(a.length>0)return a;let s=i(r);for(let c of e){let d=c,u=c.customProperties,p=(l=(o=d[s])!=null?o:u==null?void 0:u[s])!=null?l:u==null?void 0:u[r],m=UZ(p);m&&a.push(m)}return a}function UZ(r){let e=jP(r);if(!e)return null;let t=e.isAllDay?zt(e.value):new Date(e.value);return Number.isNaN(t.getTime())?null:{compare:t,value:e.value}}function F2e(r){return{initialDate:r.initialDate,initialDateProperty:r.initialDateProperty,initialDateStrategy:r.initialDateStrategy}}var $2e=y(()=>{Ne();BZ()});function zAt(r){return typeof r=="object"&&r!==null}function jAt(r){let e=r.split(".");return e.length>1&&["note","file","formula"].includes(e[0])?e.slice(1).join("."):r}function BAt(r,e){if(Object.prototype.hasOwnProperty.call(r,e))return r[e];let t=jAt(e);return t!==e&&Object.prototype.hasOwnProperty.call(r,t)?r[t]:null}function HZ(r,e=new WeakSet){return r===void 0||typeof r=="function"||typeof r=="symbol"?null:typeof r=="bigint"?r.toString():r instanceof Date?r.toISOString():Array.isArray(r)?r.map(t=>HZ(t,e)):zAt(r)?e.has(r)?"[Circular]":(e.add(r),Object.keys(r).sort().reduce((t,n)=>(t[n]=HZ(r[n],e),t),{})):r}function z2e(r){var n,i,a;let e=new Set,t=s=>{if(typeof s!="string")return;let o=s.trim();o&&e.add(o)};for(let s of FAt)t((i=(n=r.mapField(s))!=null?n:$At[s])!=null?i:s);t("tags"),t("archived");for(let s of(a=r.visiblePropertyIds)!=null?a:[])t(s);return r.showPropertyBasedEvents&&(t(r.startDateProperty),t(r.endDateProperty),t(r.titleProperty)),Array.from(e)}function j2e(r,e){let t=r.map(n=>{let i=n.properties||n.frontmatter||{},a=e.map(s=>[s,HZ(BAt(i,s))]);return{path:n.path||"",values:a}});return JSON.stringify({propertyIds:e,rows:t})}function B2e(r){return r.map(e=>{var t,n;return(n=(t=e.file)==null?void 0:t.path)!=null?n:""}).join("\0")}var FAt,$At,U2e=y(()=>{FAt=["title","status","priority","due","scheduled","contexts","projects","timeEstimate","completedDate","recurrence","recurrenceAnchor","timeEntries","completeInstances","skippedInstances","blockedBy","icsEventId","googleCalendarEventId","reminders","sortOrder"],$At={completeInstances:"complete_instances",recurrenceAnchor:"recurrence_anchor",skippedInstances:"skipped_instances"}});function HAt(r){return typeof r=="object"&&r!==null}function VZ(r){let e=[];for(let t of r!=null?r:[]){if(typeof t!="string")continue;let n=t.trim();n&&e.push(n)}return e.sort()}function qZ(r,e){if(!r||typeof r.get!="function")return;let t=r.get(e);if(t!=null)return t;let n=r.get("options");if(HAt(n))return n[e]}function WZ(r,e,t){let n=qZ(r,e);return n==null?t:n}function VAt(r={}){return[...UAt,...VZ(r.icsCalendarIds).map(e=>`showICS_${e}`),...VZ(r.googleCalendarIds).map(e=>`showGoogleCalendar_${e}`),...VZ(r.microsoftCalendarIds).map(e=>`showMicrosoftCalendar_${e}`)]}function H2e(r){if(!r.config||typeof r.config.get!="function")return"";let e=VAt({icsCalendarIds:r.icsCalendarIds,googleCalendarIds:r.googleCalendarIds,microsoftCalendarIds:r.microsoftCalendarIds});return JSON.stringify(e.map(t=>qZ(r.config,t)))}var UAt,YZ=y(()=>{UAt=["showScheduled","showDue","showScheduledToDueSpan","showRecurring","showCompletedRecurringInstances","showSkippedRecurringInstances","showTimeEntries","showTimeblocks","showPropertyBasedEvents","calendarView","heightMode","customDayCount","listDayCount","slotMinTime","slotMaxTime","slotDuration","snapDuration","firstDay","weekNumbers","nowIndicator","showWeekends","showAllDaySlot","showTimeGrid","showTodayHighlight","todayColumnWidthMultiplier","selectMirror","timeFormat","scrollTime","eventMinHeight","slotEventOverlap","eventMaxStack","dayMaxEvents","dayMaxEventRows","startDateProperty","endDateProperty","titleProperty","initialDate","initialDateProperty","initialDateStrategy","createDailyNotesFromDateLinks"]});function qAt(r,e){return e==="google"?r.subscriptionId.replace("google-",""):e==="microsoft"?r.subscriptionId.replace("microsoft-",""):r.subscriptionId}function WAt(r,e,t){return(t==null?void 0:t.get(qAt(r,e)))!==!1}function o1({events:r,provider:e,plugin:t,toggles:n,relatedNoteCountsByEventId:i,createEvent:a=NZ}){let s=[];for(let o of r){if(!WAt(o,e,n))continue;let l=a(o,t,{relatedNoteCount:i==null?void 0:i.get(o.id)});l&&s.push(l)}return s}var V2e=y(()=>{$P()});function q2e(r,e){return`${r.i18n.translate("modals.icsEventInfo.relatedNotesHeading")}: ${e}`}function GAt(r,e,t){let n=typeof t=="number"&&t>0?t:0,i=r.querySelector(".ics-card__related-note-indicator");if(!n){i==null||i.remove();return}let a=i||r.createSpan({cls:"ics-card__related-note-indicator"});a.dataset.relatedNoteCount=String(n),a.setAttribute("aria-label",q2e(e,n)),(0,BP.setIcon)(a,"file-text"),(0,BP.setTooltip)(a,q2e(e,n),{placement:"top"})}function KAt(r,e){try{if(!r.start)return"";let t=new Date(r.start);if(r.allDay)return e.i18n.translate("ui.icsCard.allDay");let n=e.settings.calendarViewSettings.timeFormat,i=hv(t,n);if(r.end){let a=new Date(r.end),s=hv(a,n);return`${i} \u2013 ${s}`}return i}catch(t){return""}}function W2e(r,e,t={}){var v;let n={...YAt,...t},i=activeDocument.createElement("div");i.className="task-card task-card--ics",i.dataset.key=r.id,n.relatedNoteCount&&n.relatedNoteCount>0&&(i.classList.add("has-related-note","task-card--ics-has-related-note"),i.dataset.relatedNoteCount=String(n.relatedNoteCount));let a=(v=e.icsSubscriptionService)==null?void 0:v.getSubscriptions().find(k=>k.id===r.subscriptionId),s=r.color||(a==null?void 0:a.color)||"var(--color-accent)",o=(a==null?void 0:a.name)||e.i18n.translate("ui.icsCard.calendarFallback"),l=i.createEl("div",{cls:"task-card__main-row"}),c=l.createEl("span",{cls:"ics-card__icon"}),d=c.createDiv({attr:{"aria-label":e.i18n.translate("ui.icsCard.calendarEvent")}});(0,BP.setIcon)(d,"calendar");let u=c;u.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),u.classList.add("tn-static-display-inline-flex-f984c520"),u.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),u.classList.add("tn-static-width-16px-7375d50b"),u.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),u.classList.add("tn-static-height-16px-30de4aee"),u.classList.remove("tn-static-margin-right-4px-c6b76b85"),u.classList.add("tn-static-margin-right-8px-539fa9a0"),u.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),u.classList.add("tn-static-align-items-center-7c619740"),u.classList.remove("tn-static-justify-content-flex-end-455f8cca","tn-static-justify-content-space-between-a562f4fd"),u.classList.add("tn-static-justify-content-center-03c4bb6f"),u.classList.add("tn-static-flex-shrink-0-6ee0661e"),d.classList.remove("tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),d.classList.add("tn-static-width-100-0466783d"),d.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),d.classList.add("tn-static-height-100-62264068"),d.style.color=s;let p=l.createEl("div",{cls:"task-card__content"}),m=p.createEl("div",{cls:"task-card__title",text:r.title||e.i18n.translate("ui.icsCard.untitledEvent")});GAt(m,e,n.relatedNoteCount);let f=p.createEl("div",{cls:"task-card__metadata"}),h=[],g=KAt(r,e);return g&&h.push(g),r.location&&h.push(r.location),h.push(o),f.textContent=h.join(" \u2022 "),i.addEventListener("click",()=>{new Cd(e.app,e,r,o).open()}),i.addEventListener("contextmenu",k=>{k.preventDefault(),k.stopPropagation(),new yk({icsEvent:r,plugin:e,subscriptionName:o,onUpdate:()=>{e.app.workspace.trigger("tasknotes:refresh-views")}}).show(k)}),i.style.setProperty("--current-status-color",s),i}var BP,YAt,Y2e=y(()=>{BP=require("obsidian");jZ();Ne();zP();YAt={showDate:!0}});function K2e(r,e,t,n={}){var u,p,m;let i={...QAt,...n},a=activeDocument.createElement("div");a.className="task-card task-card--property-event";let s=r.file;if(!s)return a.textContent=e.i18n.translate("ui.propertyEventCard.unknownFile"),a;a.dataset.key=`property-${s.path}`,a.dataset.filePath=s.path;let o=a.createEl("div",{cls:"task-card__main-row"}),l=o.createEl("span",{cls:"property-event-card__icon"}),c=l.createDiv();(0,G2e.setIcon)(c,"file-text"),l.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),l.classList.add("tn-static-display-inline-flex-f984c520"),l.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),l.classList.add("tn-static-width-16px-7375d50b"),l.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),l.classList.add("tn-static-height-16px-30de4aee"),l.classList.remove("tn-static-margin-right-4px-c6b76b85"),l.classList.add("tn-static-margin-right-8px-539fa9a0"),l.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),l.classList.add("tn-static-align-items-center-7c619740"),l.classList.remove("tn-static-justify-content-flex-end-455f8cca","tn-static-justify-content-space-between-a562f4fd"),l.classList.add("tn-static-justify-content-center-03c4bb6f"),l.classList.add("tn-static-flex-shrink-0-6ee0661e"),c.classList.remove("tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),c.classList.add("tn-static-width-100-0466783d"),c.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),c.classList.add("tn-static-height-100-62264068"),c.classList.remove("tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),c.classList.add("tn-static-color-var-color-accent-d2cad743");let d=o.createEl("div",{cls:"task-card__content"});if(d.createEl("div",{cls:"task-card__title",text:s.basename||s.name}),i.showProperties&&t){let f=d.createEl("div",{cls:"task-card__metadata"}),h=0;try{let g=f.ownerDocument,v=((u=t.getOrder)==null?void 0:u.call(t))||[],k=(p=t.getAsPropertyId)==null?void 0:p.call(t,"startDateProperty"),b=(m=t.getAsPropertyId)==null?void 0:m.call(t,"endDateProperty");for(let w of v){if(w===k||w===b)continue;let S=r.getValue(w);if(!Ex(S)){h>0&&f.appendChild(g.createTextNode(" \u2022 "));let x=t.getDisplayName(w)||w,C=f.createSpan({cls:"property-event-card__metadata-property"});C.createSpan({text:`${x}: `});let D=C.createSpan({cls:"property-event-card__metadata-value"});XA(D,S,e.app.renderContext),h++}}}catch(g){ZAt.debug("[TaskNotes][PropertyEventCard] Error reading properties:",{category:"persistence",operation:"reading-properties",error:g})}h===0&&(f.textContent=s.path)}return a.addEventListener("click",f=>{let h=f.ctrlKey||f.metaKey;e.app.workspace.openLinkText(s.path,"",h)}),a.addEventListener("mouseover",f=>{e.app.workspace.trigger("hover-link",{event:f,source:"tasknotes-property-event-card",hoverParent:a,targetEl:a,linktext:s.path,sourcePath:s.path})}),a.setCssProps({"--current-status-color":"var(--color-accent)"}),a}var G2e,ZAt,QAt,Z2e=y(()=>{G2e=require("obsidian");xx();G();ZAt=I({tag:"Ui/PropertyEventCard"}),QAt={showProperties:!0}});function J2e(r,e,t={}){let n={...JAt,...t},i=activeDocument.createElement("div");i.className="task-card task-card--timeblock",i.dataset.key=`timeblock-${r.id}`;let a=i.createEl("div",{cls:"task-card__main-row"}),s=a.createEl("span",{cls:"timeblock-card__icon"}),o=s.createDiv();(0,Q2e.setIcon)(o,"clock"),s.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),s.classList.add("tn-static-display-inline-flex-f984c520"),s.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),s.classList.add("tn-static-width-16px-7375d50b"),s.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),s.classList.add("tn-static-height-16px-30de4aee"),s.classList.remove("tn-static-margin-right-4px-c6b76b85"),s.classList.add("tn-static-margin-right-8px-539fa9a0"),s.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-flex-start-0486f781"),s.classList.add("tn-static-align-items-center-7c619740"),s.classList.remove("tn-static-justify-content-flex-end-455f8cca","tn-static-justify-content-space-between-a562f4fd"),s.classList.add("tn-static-justify-content-center-03c4bb6f"),s.classList.add("tn-static-flex-shrink-0-6ee0661e"),o.classList.remove("tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),o.classList.add("tn-static-width-100-0466783d"),o.classList.remove("tn-static-display-flex-4d51fc62","tn-static-height-0-7a31cef0","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37","tn-static-min-height-800px-997b4c8c"),o.classList.add("tn-static-height-100-62264068"),o.style.color=r.color||"var(--color-accent)";let l=a.createEl("div",{cls:"task-card__content"}),c=r.title||"Timeblock",d=`${r.startTime} - ${r.endTime}`;l.createEl("div",{cls:"task-card__title",text:c});let u=l.createEl("div",{cls:"task-card__metadata"});if(u.textContent=d,n.showDescription&&r.description){let p=l.createEl("div",{cls:"task-card__description",text:r.description});p.classList.remove("tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-0-9em-65025e95","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),p.classList.add("tn-static-font-size-var-tn-font-size-sm-0274a31d"),p.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),p.classList.add("tn-static-color-var-tn-text-muted-a90fb6f3"),p.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),p.classList.add("tn-static-margin-top-4px-96ad6099")}if(n.showAttachments&&r.attachments&&r.attachments.length>0){let p=l.createEl("div",{cls:"timeblock-card__attachments"});p.classList.remove("tn-static-font-size-0-75em-948e16e5","tn-static-font-size-0-8em-19dc7c13","tn-static-font-size-0-9em-65025e95","tn-static-font-size-1-2em-3a352995","tn-static-font-size-12px-65574819","tn-static-font-size-12px-b0cc7e05","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-margin-top-8px-f4f01e68"),p.classList.add("tn-static-font-size-var-tn-font-size-sm-0274a31d"),p.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),p.classList.add("tn-static-color-var-tn-text-muted-a90fb6f3"),p.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),p.classList.add("tn-static-margin-top-4px-96ad6099");let m=r.attachments.length===1?"1 attachment":`${r.attachments.length} attachments`;p.textContent=`\u{1F4CE} ${m}`}return i.addEventListener("click",p=>{n.eventDate&&n.originalDate&&n1(r,n.eventDate,n.originalDate,e)}),r.color?i.style.setProperty("--current-status-color",r.color):i.setCssProps({"--current-status-color":"var(--color-accent)"}),i}var Q2e,JAt,X2e=y(()=>{Q2e=require("obsidian");$P();JAt={showDescription:!0,showAttachments:!0}});function l1(r,e){return`${r.i18n.translate("modals.icsEventInfo.relatedNotesHeading")}: ${e}`}function GZ(r){return typeof r=="number"&&r>0?r:0}function XAt(r,e,t){if(t<=0||r.querySelector(".ics-related-note-indicator"))return;let i=r.ownerDocument.createElement("span");i.classList.add("ics-related-note-indicator"),i.setAttribute("aria-label",l1(e,t)),i.dataset.relatedNoteCount=String(t),(0,UP.setIcon)(i,"file-text"),(0,UP.setTooltip)(i,l1(e,t),{placement:"top"}),r.appendChild(i)}function eUe({element:r,viewType:e,icsEvent:t,relatedNoteCount:n,plugin:i}){var o;if(!t||(r.setAttribute("data-ics-event","true"),r.classList.add("fc-ics-event"),n>0&&(r.classList.add("has-related-note","fc-event--has-related-note"),r.dataset.relatedNoteCount=String(n)),e==="listWeek"))return;if(((o=i.calendarProviderRegistry)==null?void 0:o.findProviderForEvent(t))&&!r.querySelector(".fc-event-provider-icon")){let l=r.ownerDocument.createElement("span");l.classList.add("fc-event-provider-icon"),l.setAttribute("aria-hidden","true"),(0,UP.setIcon)(l,"calendar"),r.appendChild(l)}let s=r.querySelector(".fc-event-title");s&&n>0&&XAt(s,i,n)}function eIt({taskInfo:r,basesEntry:e,visibleProperties:t,logDebug:n}){var a,s,o;let i={...r};if(!e)return i;i.basesData=e;for(let l of t)if(l.startsWith("formula."))try{(a=e.getValue)==null||a.call(e,l)}catch(c){n==null||n("[TaskNotes][CalendarView] Error getting formula:",l,c)}if(!i.dateCreated)try{let l=(s=e.getValue)==null?void 0:s.call(e,"file.ctime");l!=null&&l.data&&(i.dateCreated=l.data)}catch(l){n==null||n("[TaskNotes][CalendarView] Error getting file.ctime:",l)}if(!i.dateModified)try{let l=(o=e.getValue)==null?void 0:o.call(e,"file.mtime");l!=null&&l.data&&(i.dateModified=l.data)}catch(l){n==null||n("[TaskNotes][CalendarView] Error getting file.mtime:",l)}return i}function tUe({arg:r,plugin:e,config:t,visibleProperties:n,basesEntryByPath:i,buildTaskCardOptions:a,logDebug:s,factories:o={}}){var v,k,b,w,S;if(r.view.type!=="listWeek")return!1;r.el.innerHTML="";let{taskInfo:l,timeblock:c,icsEvent:d,eventType:u,basesEntry:p,relatedNoteCount:m}=r.event.extendedProps||{},f=GZ(m),h=null;if(l&&u!=="ics"&&u!=="property-based"){let x=eIt({taskInfo:l,basesEntry:i.get(l.path),visibleProperties:n,logDebug:s}),C=t1(r);h=((v=o.createTaskCard)!=null?v:Sr)(x,e,n,a({targetDate:C,promoteOccurrenceControlsInContextMenu:!!(l.recurrence||l.recurrence_parent&&l.occurrence_date)}))}else if(d&&u==="ics")h=((k=o.createICSEventCard)!=null?k:W2e)(d,e,{relatedNoteCount:f});else if(u==="property-based"&&p)h=((b=o.createPropertyEventCard)!=null?b:K2e)(p,e,t);else if(u==="timeblock"&&c){let x=r.event.start?P(r.event.start,"yyyy-MM-dd"):void 0;h=((w=o.createTimeBlockCard)!=null?w:J2e)(c,e,{eventDate:(S=r.event.start)!=null?S:void 0,originalDate:x})}if(!h)return r.el.classList.add("fc-event-default-list"),!1;let g=r.el.ownerDocument.createElement("td");return g.className="fc-list-event-title fc-list-card-content",g.colSpan=3,g.appendChild(h),r.el.appendChild(g),l!=null&&l.path&&(r.el.setAttribute("data-task-path",l.path),r.el.classList.add("fc-task-event")),r.el.classList.add("fc-list-task-card"),r.el.classList.remove("fc-event","fc-event-start","fc-event-end"),!0}var UP,rUe=y(()=>{UP=require("obsidian");Br();la();Y2e();Z2e();X2e();$P()});function c1(r,e,t={}){var l,c,d;if(!r)return{value:e,isValid:!0};let n=/^(\d{2}):([0-5]\d)(?::([0-5]\d))?$/.exec(r);if(!n)return{value:e,isValid:!1};let i=Number(n[1]),a=Number(n[2]),s=Number((l=n[3])!=null?l:"00"),o=(c=t.maxHour)!=null?c:23;return i<0||i>o?{value:e,isValid:!1}:t.allowMaxHourOnlyAtZero&&i===o&&(a!==0||s!==0)?{value:e,isValid:!1}:{value:`${n[1]}:${n[2]}:${(d=n[3])!=null?d:"00"}`,isValid:!0}}var KZ=y(()=>{});function tIt(r){gi.Platform.isMobile&&(r.classList.add("tn-calendar-event-touch-target"),r.addEventListener("contextmenu",e=>{e.preventDefault(),e.stopImmediatePropagation()},{capture:!0}))}function rIt(r,e){let t=r.querySelector(".fc-refreshCalendars-button");if(!t)return;let n=e.trim()||"Refresh calendar subscriptions";t.replaceChildren(),(0,gi.setIcon)(t,"refresh-cw"),t.classList.add("tasknotes-calendar-refresh-button--icon"),t.setAttribute("aria-label",n),t.setAttribute("title",n)}function ay(r){return typeof r=="object"&&r!==null}function cUe(r){return Array.isArray(r)?r.length>0:!!r}function aUe(r){return cUe(r)?`${lUe},${iUe}`:iUe}function aIt(r){let e=r.extendedProps;if(!ay(e))return null;let t=e.taskInfo;return ay(t)&&typeof t.path=="string"?t.path:typeof e.filePath=="string"?e.filePath:null}function sUe(r,e){if(e.size!==0)for(let t of r){let n=aIt(t);if(!n)continue;let i=e.get(n);i!==void 0&&(t.extendedProps={...ay(t.extendedProps)?t.extendedProps:{},[lUe]:i})}}function sIt(r,e){return!e&&!!(r!=null&&r.startsWith("list"))}function oIt(r,e,t){return sIt(e,t)?r.filter(n=>n.allDay!==!0):r}function lIt(r){return ay(r)}function cIt(r){return ay(r)&&typeof r.scrollTop=="number"&&typeof r.scrollLeft=="number"}function dIt(r,e){return e<=1?!1:r==="timeGridWeek"||r==="timeGridCustom"}function uIt(r){return r==="timeGridWeek"||r==="timeGridCustom"||r==="timeGridDay"}function oUe(r,e){return!r&&uIt(e)}function pIt(r){return typeof r=="string"&&r.trim().toLowerCase()==="auto"?"auto":"fill"}function mIt(r){return r==="auto"?{height:"auto",contentHeight:"auto",expandRows:!1}:{height:"100%",expandRows:!0}}function fIt(r,e,t){return r==="auto"||!!(t!=null&&t.closest(".internal-embed, .markdown-embed"))?"auto":"fill"}function dUe(r){let e=r.closest("table");if(!e)return null;let t=Array.from(e.children).find(i=>i.tagName==="COLGROUP");if(!t)return null;let n=t.children[r.cellIndex];return(n==null?void 0:n.tagName)==="COL"?n:null}function gIt(r){r.querySelectorAll(hIt).forEach(t=>{t.style.removeProperty("width"),t.style.removeProperty("min-width"),t.style.removeProperty("max-width");let n=dUe(t);n&&n.style.removeProperty("width")})}function yIt(r,e){return!r||!r.isConnected||!e.isConnected||r.ownerDocument!==e.ownerDocument?!1:r.clientWidth>0&&r.clientHeight>0}function vIt(r,e=window){if(!r)return!1;let t=r.ownerDocument.defaultView;return!!(t&&t!==e)}function uUe(r){return r?[r,...Array.from(r.querySelectorAll(".fc-scroller"))]:[]}function bIt(r){return uUe(r).map(e=>({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}))}function TIt(r,e){if(!Array.isArray(e))return;let t=uUe(r);e.forEach((n,i)=>{if(!cIt(n))return;let a=t[i];a&&(a.scrollTop=n.scrollTop,a.scrollLeft=n.scrollLeft)})}function kIt(r,e,t){if(t<=1||r.length<=1)return null;let n=Array.from(new Set(r));if(!n.includes(e))return null;let i=100/(n.length-1+t),a=i*t;return new Map(n.map(s=>[s,`${s===e?a:i}%`]))}function pUe(r){return function(e,t){if(!t)throw Wr.error("[TaskNotes][CalendarView] No containerEl provided",{category:"provider",operation:"no-containerel-provided"}),new Error("CalendarView requires a containerEl");return new QZ(e,t,r)}}var gi,Wr,nUe,nIt,ZZ,iUe,lUe,iIt,hIt,QZ,mUe=y(()=>{yP();gP();yg();ABe();jBe();VBe();t3();WBe();$P();M2e();r2();HI();_2e();zP();gi=require("obsidian");Br();wI();jZ();Ne();N2e();$2e();U2e();YZ();BZ();V2e();rUe();KZ();Ct();G();YZ();Wr=I({tag:"Bases/CalendarView"});nUe=5e3,nIt=250,ZZ=2e3,iUe="start,-duration,allDay,title",lUe="tasknotesSortIndex",iIt=lO;hIt=".fc-col-header-cell[data-date], .fc-timegrid-col[data-date], .fc-daygrid-day[data-date], .fc-timegrid-axis, .fc-timegrid-slot-label";QZ=class extends Td{constructor(t,n,i){super(t,n,i);this.type="tasknotesCalendar";this.calendar=null;this.calendarEl=null;this.currentTasks=[];this.basesEntryByPath=new Map;this.basesSortIndexByPath=new Map;this._isRendering=!1;this._pendingRender=!1;this._expectingImmediateUpdate=!1;this._isFirstDataUpdate=!0;this._previousConfigSnapshot=null;this._saveViewTypeTimer=null;this._configChangedNeedsRecreate=!1;this._recreateTargetDate=null;this._previousDataSignature=null;this._previousControllerViewName=null;this.icsCalendarToggles=new Map;this.googleCalendarToggles=new Map;this.microsoftCalendarToggles=new Map;this.configLoaded=!1;this.basesController=t,this.dataAdapter.basesView=this;let a=this.plugin.settings.calendarViewSettings;this.viewOptions={showScheduled:a.defaultShowScheduled,showDue:a.defaultShowDue,showScheduledToDueSpan:a.defaultShowScheduledToDueSpan,showRecurring:a.defaultShowRecurring,showCompletedRecurringInstances:!0,showSkippedRecurringInstances:!0,showTimeEntries:a.defaultShowTimeEntries,showTimeblocks:a.defaultShowTimeblocks,showPropertyBasedEvents:!0,initialDate:"",initialDateProperty:null,initialDateStrategy:"first",createDailyNotesFromDateLinks:!0,calendarView:a.defaultView,heightMode:"fill",customDayCount:a.customDayCount,listDayCount:7,slotMinTime:this.validateTimeValue(a.slotMinTime,"00:00:00"),slotMaxTime:this.validateTimeValue(a.slotMaxTime,"24:00:00",48,!0),slotDuration:this.validateTimeValue(a.slotDuration,"00:30:00"),snapDuration:this.validateTimeValue(a.slotDuration,"00:30:00"),scrollTime:this.validateTimeValue(a.scrollTime,"08:00:00"),firstDay:a.firstDay,weekNumbers:a.weekNumbers,nowIndicator:a.nowIndicator,showWeekends:a.showWeekends,showAllDaySlot:!0,showTimeGrid:!0,showTodayHighlight:a.showTodayHighlight,todayColumnWidthMultiplier:1,selectMirror:a.selectMirror,timeFormat:a.timeFormat,eventMinHeight:a.eventMinHeight,slotEventOverlap:a.slotEventOverlap,eventMaxStack:a.eventMaxStack,dayMaxEvents:a.dayMaxEvents,dayMaxEventRows:a.dayMaxEventRows,locale:a.locale,startDateProperty:null,endDateProperty:null,titleProperty:null}}onload(){this.readViewOptions(),this._previousConfigSnapshot=this.getConfigSnapshot(),this._previousDataSignature=this.getDataSignature(),this._previousControllerViewName=this.getControllerViewName(),super.onload()}onResize(){if(this.isPopoutWindow()){this.renderPopoutUnsupported();return}!this.calendar||!this.canUpdateCalendarSize()||(this.calendar.updateSize(),this.scheduleTodayColumnWidthUpdate(),this.scheduleDailyNoteHeaderLinkUpdate())}onDataUpdated(){var a;if(!((a=this.rootElement)!=null&&a.isConnected))return;if(this.dataUpdateDebounceTimer&&(window.clearTimeout(this.dataUpdateDebounceTimer),this.dataUpdateDebounceTimer=null),this._isFirstDataUpdate){this._isFirstDataUpdate=!1,this.render();return}if(this._expectingImmediateUpdate){this._expectingImmediateUpdate=!1,this.renderPreservingEphemeralState();return}let t=this.hasConfigChanged(),n=this.hasControllerViewChanged(),i=this.hasDataSignatureChanged();if(t){this._configChangedNeedsRecreate=!0,this.renderPreservingEphemeralState();return}if(i){this.renderPreservingEphemeralState();return}this.scheduleDeferredDataUpdate(Date.now(),n)}expectImmediateUpdate(){this._expectingImmediateUpdate=!0,window.setTimeout(()=>{this._expectingImmediateUpdate=!1},2e3)}getConfigSnapshot(){var t,n,i,a,s,o;return H2e({config:this.config,icsCalendarIds:(n=(t=this.plugin.icsSubscriptionService)==null?void 0:t.getSubscriptions().map(l=>l.id))!=null?n:[],googleCalendarIds:(a=(i=this.plugin.googleCalendarService)==null?void 0:i.getAvailableCalendars().map(l=>l.id))!=null?a:[],microsoftCalendarIds:(o=(s=this.plugin.microsoftCalendarService)==null?void 0:s.getAvailableCalendars().map(l=>l.id))!=null?o:[]})}hasConfigChanged(){let t=this.getConfigSnapshot();return this._previousConfigSnapshot===null?(this._previousConfigSnapshot=t,!1):t!==this._previousConfigSnapshot?(this._previousConfigSnapshot=t,!0):!1}getDataSignature(){var n;if(!((n=this.data)!=null&&n.data))return"";let t=this.getDataSignaturePropertyIds();try{return j2e(this.dataAdapter.extractDataItems(),t)}catch(i){return B2e(this.data.data)}}getDataSignaturePropertyIds(){var n,i,a,s;let t=[];try{t=this.dataAdapter.getVisiblePropertyIds()}catch(o){}return z2e({mapField:o=>{var l,c;return(c=(l=this.plugin)==null?void 0:l.fieldMapper)==null?void 0:c.toUserField(o)},visiblePropertyIds:t,showPropertyBasedEvents:!!((n=this.viewOptions)!=null&&n.showPropertyBasedEvents),startDateProperty:(i=this.viewOptions)==null?void 0:i.startDateProperty,endDateProperty:(a=this.viewOptions)==null?void 0:a.endDateProperty,titleProperty:(s=this.viewOptions)==null?void 0:s.titleProperty})}hasDataSignatureChanged(){let t=this.getDataSignature();return this._previousDataSignature===null?(this._previousDataSignature=t,!1):t!==this._previousDataSignature?(this._previousDataSignature=t,!0):!1}getControllerViewName(){if(!ay(this.basesController))return null;let t=this.basesController.viewName;return typeof t=="string"?t:null}hasControllerViewChanged(){let t=this.getControllerViewName();return this._previousControllerViewName===null?(this._previousControllerViewName=t,t!==null):t!==this._previousControllerViewName?(this._previousControllerViewName=t,!0):!1}scheduleDeferredDataUpdate(t=Date.now(),n=!1){let i=this.containerEl.ownerDocument.defaultView||window,a=Date.now()-t,s;a<ZZ?s=nIt:n?s=0:s=Math.max(0,nUe-a),this.dataUpdateDebounceTimer=i.setTimeout(()=>{this.dataUpdateDebounceTimer=null;let o=Date.now()-t;if(this.hasDataSignatureChanged()){this.renderPreservingEphemeralState();return}if(o<ZZ){this.scheduleDeferredDataUpdate(t,n);return}if(!n&&o<nUe){this.scheduleDeferredDataUpdate(t,!1);return}n&&this.renderPreservingEphemeralState()},s)}validateTimeValue(t,n,i=23,a=!1){let s=c1(t,n,{maxHour:i,allowMaxHourOnlyAtZero:a});return s.isValid||Wr.warn(`[TaskNotes][CalendarView] Invalid time value: ${t}, using default: ${n}`,{category:"provider",operation:"invalid-time-value"}),s.value}getConfigOption(t,n){return WZ(this.config,t,n)}readEventToggles(){if(!(!this.config||typeof this.config.get!="function"))try{if(this.viewOptions.showScheduled=this.getConfigOption("showScheduled",this.viewOptions.showScheduled),this.viewOptions.showDue=this.getConfigOption("showDue",this.viewOptions.showDue),this.viewOptions.showScheduledToDueSpan=this.getConfigOption("showScheduledToDueSpan",this.viewOptions.showScheduledToDueSpan),this.viewOptions.showRecurring=this.getConfigOption("showRecurring",this.viewOptions.showRecurring),this.viewOptions.showCompletedRecurringInstances=this.getConfigOption("showCompletedRecurringInstances",this.viewOptions.showCompletedRecurringInstances),this.viewOptions.showSkippedRecurringInstances=this.getConfigOption("showSkippedRecurringInstances",this.viewOptions.showSkippedRecurringInstances),this.viewOptions.showTimeEntries=this.getConfigOption("showTimeEntries",this.viewOptions.showTimeEntries),this.viewOptions.showTimeblocks=this.getConfigOption("showTimeblocks",this.viewOptions.showTimeblocks),this.viewOptions.showPropertyBasedEvents=this.getConfigOption("showPropertyBasedEvents",this.viewOptions.showPropertyBasedEvents),this.plugin.icsSubscriptionService){let t=this.plugin.icsSubscriptionService.getSubscriptions();for(let n of t){let i=`showICS_${n.id}`;this.icsCalendarToggles.set(n.id,this.getConfigOption(i,!0))}}if(this.plugin.googleCalendarService){let t=this.plugin.googleCalendarService.getAvailableCalendars();for(let n of t){let i=`showGoogleCalendar_${n.id}`;this.googleCalendarToggles.set(n.id,this.getConfigOption(i,!0))}}if(this.plugin.microsoftCalendarService){let t=this.plugin.microsoftCalendarService.getAvailableCalendars();for(let n of t){let i=`showMicrosoftCalendar_${n.id}`;this.microsoftCalendarToggles.set(n.id,this.getConfigOption(i,!0))}}}catch(t){Wr.error("[TaskNotes][CalendarView] Error reading event toggles:",{category:"provider",operation:"reading-event-toggles",error:t})}}readViewOptions(){if(!(!this.config||typeof this.config.get!="function"))try{this.readEventToggles(),this.viewOptions.initialDate=this.getConfigOption("initialDate",this.viewOptions.initialDate),this.viewOptions.initialDateProperty=this.getConfigOption("initialDateProperty",this.viewOptions.initialDateProperty),this.viewOptions.initialDateStrategy=this.getConfigOption("initialDateStrategy",this.viewOptions.initialDateStrategy),this.viewOptions.createDailyNotesFromDateLinks=this.getConfigOption("createDailyNotesFromDateLinks",this.viewOptions.createDailyNotesFromDateLinks),this.viewOptions.calendarView=this.getConfigOption("calendarView",this.viewOptions.calendarView),this.viewOptions.heightMode=pIt(this.getConfigOption("heightMode",this.viewOptions.heightMode)),this.applyHeightModeClass(),this.viewOptions.customDayCount=this.getConfigOption("customDayCount",this.viewOptions.customDayCount),this.viewOptions.listDayCount=this.getConfigOption("listDayCount",this.viewOptions.listDayCount),this.viewOptions.slotMinTime=this.validateTimeValue(this.getConfigOption("slotMinTime",void 0),this.viewOptions.slotMinTime),this.viewOptions.slotMaxTime=this.validateTimeValue(this.getConfigOption("slotMaxTime",void 0),this.viewOptions.slotMaxTime,48,!0),this.viewOptions.slotDuration=this.validateTimeValue(this.getConfigOption("slotDuration",void 0),this.viewOptions.slotDuration),this.viewOptions.snapDuration=this.validateTimeValue(this.getConfigOption("snapDuration",void 0),this.viewOptions.slotDuration),this.viewOptions.scrollTime=this.validateTimeValue(this.getConfigOption("scrollTime",void 0),this.viewOptions.scrollTime),this.viewOptions.firstDay=Number(this.getConfigOption("firstDay",this.viewOptions.firstDay)),this.viewOptions.weekNumbers=this.getConfigOption("weekNumbers",this.viewOptions.weekNumbers),this.viewOptions.nowIndicator=this.getConfigOption("nowIndicator",this.viewOptions.nowIndicator),this.viewOptions.showWeekends=this.getConfigOption("showWeekends",this.viewOptions.showWeekends),this.viewOptions.showAllDaySlot=this.getConfigOption("showAllDaySlot",this.viewOptions.showAllDaySlot),this.viewOptions.showTimeGrid=this.getConfigOption("showTimeGrid",this.viewOptions.showTimeGrid),this.viewOptions.showTodayHighlight=this.getConfigOption("showTodayHighlight",this.viewOptions.showTodayHighlight);let t=Number(this.getConfigOption("todayColumnWidthMultiplier",1));this.viewOptions.todayColumnWidthMultiplier=t>=1&&t<=5?Math.round(t*2)/2:1,this.viewOptions.selectMirror=this.getConfigOption("selectMirror",this.viewOptions.selectMirror),this.viewOptions.timeFormat=this.getConfigOption("timeFormat",this.viewOptions.timeFormat),this.viewOptions.eventMinHeight=this.getConfigOption("eventMinHeight",this.viewOptions.eventMinHeight),this.viewOptions.slotEventOverlap=this.getConfigOption("slotEventOverlap",this.viewOptions.slotEventOverlap);let n=this.getConfigOption("eventMaxStack",void 0);n!==void 0&&(this.viewOptions.eventMaxStack=n===0?null:n);let i=this.getConfigOption("dayMaxEvents",void 0);i!==void 0&&(this.viewOptions.dayMaxEvents=i===0?!0:i);let a=this.getConfigOption("dayMaxEventRows",void 0);a!==void 0&&(this.viewOptions.dayMaxEventRows=a===0?!1:a),this.viewOptions.startDateProperty=this.getConfigOption("startDateProperty",this.viewOptions.startDateProperty),this.viewOptions.endDateProperty=this.getConfigOption("endDateProperty",this.viewOptions.endDateProperty),this.viewOptions.titleProperty=this.getConfigOption("titleProperty",this.viewOptions.titleProperty),this.enableSearch=this.getConfigOption("enableSearch",!1),this.configLoaded=!0,this.applyLayoutClasses(),this.calendar&&(this.applyTodayHighlightStyling(),this.scheduleTodayColumnWidthUpdate(),this.scheduleDailyNoteHeaderLinkUpdate())}catch(t){Wr.error("[TaskNotes][CalendarView] Error reading view options:",{category:"provider",operation:"reading-view-options",error:t})}}async render(){var t,n,i;if(this._isRendering){this._pendingRender=!0;return}if(this._isRendering=!0,this._pendingRender=!1,!this.calendarEl||!this.rootElement){this._isRendering=!1;return}if(this.isPopoutWindow()){this.renderPopoutUnsupported(),this._isRendering=!1;return}if(!((t=this.data)!=null&&t.data)){this._isRendering=!1;return}if(!this.configLoaded&&this.config)this.readViewOptions();else if(this.config)if(this._configChangedNeedsRecreate){this._configChangedNeedsRecreate=!1;let a=this.getNavigationConfigState();if(this.readViewOptions(),this.calendar){let s=this.getNavigationConfigState();this._recreateTargetDate=I2e(a,s)?this.calendar.getDate():null,this.calendar.destroy(),this.calendar=null}}else this.readEventToggles();this.rootElement&&this.setupSearch(this.rootElement);try{let a=this.dataAdapter.extractDataItems(),s=await np(a,this.plugin),o=this.applySearchFilter(s);if(this.currentTasks=o,this.updateBasesSortIndexes(o),this.basesEntryByPath.clear(),(n=this.data)!=null&&n.data)for(let l of this.data.data)(i=l.file)!=null&&i.path&&this.basesEntryByPath.set(l.file.path,l);this.calendar?await this.updateCalendarEvents(o):await this.initializeCalendar(o)}catch(a){Wr.error("[TaskNotes][CalendarView] Error rendering:",{category:"provider",operation:"rendering",error:a}),this.renderError(a instanceof Error?a:new Error(String(a)))}finally{this._isRendering=!1}this._pendingRender&&(this._pendingRender=!1,window.setTimeout(()=>void this.render(),0))}async initializeCalendar(t){var a,s;if(!this.calendarEl)return;let n=(a=this._recreateTargetDate)!=null?a:this.determineInitialDate(t),i={plugins:[_Be,zBe,HBe,yPe,qBe],initialView:this.viewOptions.calendarView,initialDate:n,headerToolbar:{left:"prev,next today refreshCalendars",center:"title",right:"multiMonthYear,dayGridMonth,timeGridWeek,timeGridCustom,timeGridDay,listWeek"},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")},buttonHints:{today:this.plugin.i18n.translate("views.basesCalendar.hints.today")||"Go to today",prev:this.plugin.i18n.translate("views.basesCalendar.hints.prev")||"Previous",next:this.plugin.i18n.translate("views.basesCalendar.hints.next")||"Next",month:this.plugin.i18n.translate("views.basesCalendar.hints.month")||"Month view",week:this.plugin.i18n.translate("views.basesCalendar.hints.week")||"Week view",day:this.plugin.i18n.translate("views.basesCalendar.hints.day")||"Day view",year:this.plugin.i18n.translate("views.basesCalendar.hints.year")||"Year view",list:this.plugin.i18n.translate("views.basesCalendar.hints.list")||"List view"},customButtons:{refreshCalendars:{text:this.plugin.i18n.translate("views.basesCalendar.buttonText.refresh")||"Refresh",hint:this.plugin.i18n.translate("views.basesCalendar.hints.refresh")||"Refresh calendar subscriptions",click:()=>{this.refreshExternalCalendars()}}},views:{timeGridCustom:{type:"timeGrid",duration:{days:this.viewOptions.customDayCount},buttonText:this.plugin.i18n.translate("views.basesCalendar.buttonText.customDays",{count:this.viewOptions.customDayCount.toString()}),titleFormat:{year:"numeric",month:"short",day:"numeric"}},listWeek:{type:"list",duration:{days:this.viewOptions.listDayCount},buttonText:this.plugin.i18n.translate("views.basesCalendar.buttonText.list")}},...mIt(this.getEffectiveHeightMode()),handleWindowResize:!1,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,snapDuration:this.viewOptions.snapDuration,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:(s=this.viewOptions.eventMaxStack)!=null?s:void 0,navLinks:!0,navLinkDayClick:o=>{this.openDailyNoteFromDateLink(o)},dayHeaderDidMount:o=>{OZ(o.el,o.date,o.view.type,this.plugin,l=>this.openDailyNoteFromDateLink(l))},editable:!0,selectable:!0,...gi.Platform.isMobile?{longPressDelay:350,eventLongPressDelay:350,selectLongPressDelay:350}:{},selectMirror:this.viewOptions.selectMirror,eventTimeFormat:this.viewOptions.timeFormat==="12"?{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short",hour12:!0}:{hour:"2-digit",minute:"2-digit",hour12:!1},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,eventOrder:aUe(this.dataAdapter.getSortConfig()),events:(o,l,c)=>{this.fetchEvents(o,l,c)},eventDidMount:o=>this.handleEventDidMount(o),eventClick:o=>{this.handleEventClick(o)},eventDrop:o=>{this.handleEventDrop(o)},eventResize:o=>{this.handleEventResize(o)},select:o=>{this.handleDateSelect(o)},viewDidMount:o=>{let l=o.view.type;l&&l!==this.viewOptions.calendarView&&(this.viewOptions.calendarView=l,this.debouncedSaveViewType(l)),this.applyLayoutClasses(),this.scheduleTodayColumnWidthUpdate(),this.scheduleDailyNoteHeaderLinkUpdate(),this.scheduleRefreshButtonIconUpdate()},datesSet:()=>{this.applyLayoutClasses(),this.scheduleTodayColumnWidthUpdate(),this.scheduleDailyNoteHeaderLinkUpdate(),this.scheduleRefreshButtonIconUpdate()}};this.calendar=new iIt(this.calendarEl,i),this.calendar.render(),this._recreateTargetDate=null,this.applyLayoutClasses(),this.applyTodayHighlightStyling(),this.scheduleTodayColumnWidthUpdate(),this.scheduleDailyNoteHeaderLinkUpdate(),this.scheduleRefreshButtonIconUpdate()}updateBasesSortIndexes(t){var n,i;this.basesSortIndexByPath.clear(),cUe(this.dataAdapter.getSortConfig())&&(t.forEach((a,s)=>{this.basesSortIndexByPath.set(a.path,s)}),(i=(n=this.data)==null?void 0:n.data)==null||i.forEach((a,s)=>{var l;let o=(l=a.file)==null?void 0:l.path;o&&!this.basesSortIndexByPath.has(o)&&this.basesSortIndexByPath.set(o,s)}))}scheduleDailyNoteHeaderLinkUpdate(){let t=this.containerEl.ownerDocument.defaultView||window;t.setTimeout(()=>this.attachDailyNoteHeaderLinks(),0),t.setTimeout(()=>this.attachDailyNoteHeaderLinks(),50)}scheduleRefreshButtonIconUpdate(){let t=this.containerEl.ownerDocument.defaultView||window;t.setTimeout(()=>this.applyRefreshButtonIcon(),0),t.setTimeout(()=>this.applyRefreshButtonIcon(),50)}applyRefreshButtonIcon(){this.calendarEl&&rIt(this.calendarEl,this.plugin.i18n.translate("views.basesCalendar.hints.refresh")||this.plugin.i18n.translate("views.basesCalendar.buttonText.refresh")||"Refresh calendar subscriptions")}attachDailyNoteHeaderLinks(){var s;if(!this.calendar||!this.calendarEl||!(((s=this.calendar.view)==null?void 0:s.type)==="timeGridDay"||!!this.calendarEl.querySelector(".fc-timeGridDay-view")))return;let i=this.calendar.getDate();this.calendarEl.querySelectorAll(".fc-col-header-cell").forEach(o=>{let l=o.dataset.date?ut(o.dataset.date):i;OZ(o,l,"timeGridDay",this.plugin,c=>this.openDailyNoteFromDateLink(c))})}openDailyNoteFromDateLink(t){RZ(t,this.plugin,{createIfMissing:this.viewOptions.createDailyNotesFromDateLinks})}async refreshExternalCalendars(){var t;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(),(t=this.calendar)==null||t.refetchEvents()}catch(n){Wr.error("[TaskNotes][CalendarView] Error refreshing calendars:",{category:"provider",operation:"refreshing-calendars",error:n})}}applyTodayHighlightStyling(){this.calendarEl&&(this.viewOptions.showTodayHighlight?this.calendarEl.classList.remove("hide-today-highlight"):this.calendarEl.classList.add("hide-today-highlight"))}applyHeightModeClass(){var n;let t=this.getEffectiveHeightMode()==="auto";this.rootElement&&(this.rootElement.classList.toggle("advanced-calendar-view--auto-height",t),this.rootElement.classList.toggle("tn-static-min-height-800px-997b4c8c",!t)),(n=this.calendarEl)==null||n.classList.toggle("advanced-calendar-view__calendar--auto-height",t)}applyTimeGridVisibilityClass(){var n,i;let t=oUe(this.viewOptions.showTimeGrid,this.viewOptions.calendarView);(n=this.rootElement)==null||n.classList.toggle("advanced-calendar-view--hide-time-grid",t),(i=this.calendarEl)==null||i.classList.toggle("advanced-calendar-view__calendar--hide-time-grid",t)}applyCalendarModeClass(){var n,i;let t=this.viewOptions.calendarView.startsWith("list");(n=this.rootElement)==null||n.classList.toggle("advanced-calendar-view--list",t),(i=this.calendarEl)==null||i.classList.toggle("advanced-calendar-view__calendar--list",t)}applyLayoutClasses(){this.applyHeightModeClass(),this.applyTimeGridVisibilityClass(),this.applyCalendarModeClass()}getEffectiveHeightMode(){return oUe(this.viewOptions.showTimeGrid,this.viewOptions.calendarView)?"auto":fIt(this.viewOptions.heightMode,this.viewOptions.calendarView,this.containerEl)}scheduleTodayColumnWidthUpdate(){if(!this.canUpdateCalendarSize())return;(this.containerEl.ownerDocument.defaultView||window).setTimeout(()=>{this.canUpdateCalendarSize()&&this.applyTodayColumnWidth()},0)}applyTodayColumnWidth(){var d;let t=this.calendar;if(!this.calendarEl||!t||!this.canUpdateCalendarSize())return;let n=(d=t.view)==null?void 0:d.type;if(!n)return;let i=Array.from(this.calendarEl.querySelectorAll(".fc-col-header-cell[data-date]")),a=i.map(u=>u.dataset.date).filter(u=>!!u);if(this.resetTodayColumnWidths(),!dIt(n,this.viewOptions.todayColumnWidthMultiplier))return;let s=i.find(u=>u.classList.contains("fc-day-today")),o=s==null?void 0:s.dataset.date;if(!o)return;let l=kIt(a,o,this.viewOptions.todayColumnWidthMultiplier);if(!l)return;this.calendarEl.querySelectorAll(".fc-col-header-cell[data-date], .fc-timegrid-col[data-date], .fc-daygrid-day[data-date]").forEach(u=>{let p=u.dataset.date;if(!p)return;let m=l.get(p);if(!m)return;u.style.width=m,u.style.minWidth=m,u.style.maxWidth=m;let f=dUe(u);f?f.style.width=m:Wr.warn("Calendar column width target was not found",{category:"provider",operation:"apply-today-column-width",details:{dateKey:p,reason:"FullCalendar DOM may have changed; today-column width skipped."}})})}canUpdateCalendarSize(){return yIt(this.calendarEl,this.containerEl)}isPopoutWindow(){return vIt(this.containerEl)}renderPopoutUnsupported(){if(!this.calendarEl)return;this.calendar&&(this.calendar.destroy(),this.calendar=null),this.calendarEl.replaceChildren(),this.calendarEl.classList.add("advanced-calendar-view__calendar--popout-blocked");let t=this.calendarEl.ownerDocument,n=t.createElement("div");n.className="advanced-calendar-view__popout-blocked";let i=t.createElement("h3");i.textContent="Calendar view is unavailable in a separate window",n.appendChild(i);let a=t.createElement("p");a.textContent="Open this calendar view in the main Obsidian window. The calendar can freeze Obsidian when restored inside a separate window.",n.appendChild(a),this.calendarEl.appendChild(n)}resetTodayColumnWidths(){this.calendarEl&&gIt(this.calendarEl)}debouncedSaveViewType(t){this._saveViewTypeTimer&&window.clearTimeout(this._saveViewTypeTimer),this._saveViewTypeTimer=window.setTimeout(()=>{this._saveViewTypeTimer=null;try{this.config&&typeof this.config.set=="function"&&(this.config.set("calendarView",t),Wr.debug("[TaskNotes][CalendarView] View type saved to config:",{category:"provider",operation:"view-type-saved-config",details:{value:t}}))}catch(n){Wr.error("[TaskNotes][CalendarView] Failed to save view type:",{category:"provider",operation:"save-view-type",error:n})}},1e3)}determineInitialDate(t){var n;return L2e({viewOptions:this.viewOptions,taskNotes:t,entries:(n=this.data)==null?void 0:n.data,getEntryPropertyValue:(i,a)=>this.dataAdapter.getPropertyValue(i,a),getContextPropertyValue:i=>this.getEmbeddedMarkdownDateNavigationPropertyValue(i),mapPropertyToTaskField:i=>this.propertyMapper.basesToTaskCardProperty(i)})}getEmbeddedMarkdownDateNavigationPropertyValue(t){var s;if(!this.containerEl.closest(".internal-embed, .markdown-embed"))return null;let n=this.getContainingMarkdownFile();if(!n)return null;let i=(s=this.plugin.app.metadataCache.getFileCache(n))==null?void 0:s.frontmatter;if(!i)return null;let a=[t,this.propertyMapper.basesToTaskCardProperty(t),t.replace(/^(note\.|task\.)/,"")];for(let o of new Set(a))if(Object.prototype.hasOwnProperty.call(i,o))return i[o];return null}getContainingMarkdownFile(){var n;let t=this.plugin.app.workspace.getLeavesOfType("markdown");for(let i of t){let a=i.view;if((n=a.containerEl)!=null&&n.contains(this.containerEl)&&a.file instanceof gi.TFile&&a.file.extension==="md")return a.file}return null}getNavigationConfigState(){return F2e(this.viewOptions)}async fetchEvents(t,n,i){try{let a=await this.buildAllEvents(t);n(a)}catch(a){Wr.error("[TaskNotes][CalendarView] Error fetching events:",{category:"provider",operation:"fetching-events",error:a}),i(a instanceof Error?a:new Error(String(a)))}}async buildAllEvents(t){var l,c,d,u,p;let n=[],i={showScheduled:this.viewOptions.showScheduled,showDue:this.viewOptions.showDue,showScheduledToDueSpan:this.viewOptions.showScheduledToDueSpan,showRecurring:this.viewOptions.showRecurring,showCompletedRecurringInstances:this.viewOptions.showCompletedRecurringInstances,showSkippedRecurringInstances:this.viewOptions.showSkippedRecurringInstances,showTimeEntries:this.viewOptions.showTimeEntries,showTimeblocks:this.viewOptions.showTimeblocks,showICSEvents:!1,visibleStart:t.start,visibleEnd:t.end},a=await d2e(this.currentTasks,this.plugin,i);if(sUe(a,this.basesSortIndexByPath),n.push(...a),this.viewOptions.showPropertyBasedEvents&&this.viewOptions.startDateProperty){let m=await this.buildPropertyBasedEvents();sUe(m,this.basesSortIndexByPath),n.push(...m)}let o=!!((l=this.plugin.icsSubscriptionService)!=null&&l.getAllEvents().length||(c=this.plugin.googleCalendarService)!=null&&c.getAllEvents().length||(d=this.plugin.microsoftCalendarService)!=null&&d.getAllEvents().length)?await this.plugin.icsNoteService.getRelatedNoteCountsByEventId():new Map;return this.plugin.icsSubscriptionService&&n.push(...o1({events:this.plugin.icsSubscriptionService.getAllEvents(),provider:"ics",plugin:this.plugin,toggles:this.icsCalendarToggles,relatedNoteCountsByEventId:o})),this.plugin.googleCalendarService&&n.push(...o1({events:this.plugin.googleCalendarService.getAllEvents(),provider:"google",plugin:this.plugin,toggles:this.googleCalendarToggles,relatedNoteCountsByEventId:o})),this.plugin.microsoftCalendarService&&n.push(...o1({events:this.plugin.microsoftCalendarService.getAllEvents(),provider:"microsoft",plugin:this.plugin,toggles:this.microsoftCalendarToggles,relatedNoteCountsByEventId:o})),oIt(n,((p=(u=this.calendar)==null?void 0:u.view)==null?void 0:p.type)||this.viewOptions.calendarView,this.viewOptions.showAllDaySlot)}async buildPropertyBasedEvents(){var n;if(!((n=this.data)!=null&&n.data))return[];if(!this.viewOptions.startDateProperty)return[];let t=[];for(let i of this.data.data)try{let a=i.file;if(!a)continue;let s=O2e({entry:i,file:a,startDateProperty:this.viewOptions.startDateProperty,endDateProperty:this.viewOptions.endDateProperty,titleProperty:this.viewOptions.titleProperty,getPropertyValue:(o,l)=>this.dataAdapter.getPropertyValue(o,l)});s&&t.push(s)}catch(a){Wr.warn("[TaskNotes][CalendarView] Error processing property-based entry:",{category:"provider",operation:"processing-property-based-entry",error:a})}return t}async updateCalendarEvents(t){this.calendar&&(this.calendar.setOption("eventOrder",aUe(this.dataAdapter.getSortConfig())),this.calendar.refetchEvents())}async refreshCalendarWithFreshData(t){var n;if(this.calendar)try{let i=[],a=!1;for(let s of this.currentTasks){let o=(t==null?void 0:t.path)===s.path?t:this.plugin.cacheManager.getCachedTaskInfoSync(s.path);if(o){if(o.archived)continue;let l={...o,basesData:s.basesData};(t==null?void 0:t.path)===o.path&&(a=!0),i.push(l)}}t!=null&&t.path&&!a&&!t.archived&&i.push((n=this.plugin.cacheManager.getCachedTaskInfoSync(t.path))!=null?n:t),this.currentTasks=i,this.calendar.refetchEvents()}catch(i){Wr.error("[TaskNotes][CalendarView] Error refreshing calendar:",{category:"provider",operation:"refreshing-calendar",error:i})}}async refreshAfterExpectedCalendarTaskWrite(t){this._expectingImmediateUpdate&&(this._expectingImmediateUpdate=!1,await this.refreshCalendarWithFreshData(t))}clearPendingCalendarRefreshTimers(){this.updateDebounceTimer&&(window.clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=null),this.dataUpdateDebounceTimer&&(window.clearTimeout(this.dataUpdateDebounceTimer),this.dataUpdateDebounceTimer=null)}async refreshAfterDirectCalendarTaskWrite(t){this.clearPendingCalendarRefreshTimers(),await this.refreshCalendarWithFreshData(t),this.clearPendingCalendarRefreshTimers()}async handleEventClick(t){let{taskInfo:n,timeblock:i,eventType:a,filePath:s,icsEvent:o,subscriptionName:l}=t.event.extendedProps||{},c=t.jsEvent;if(a==="timeblock"&&i){let d=t.event.start;if(!d)return;let u=P(d,"yyyy-MM-dd");n1(i,d,u,this.plugin,()=>this.expectImmediateUpdate());return}if(a==="timeEntry"&&n&&c.button===0){this.plugin.openTimeEntryEditor(n,()=>this.expectImmediateUpdate());return}if(a==="ics"&&o){new Cd(this.plugin.app,this.plugin,o,l).open();return}if(a==="property-based"&&s){let d=this.plugin.app.vault.getAbstractFileByPath(s);if(d instanceof gi.TFile){let p=c.ctrlKey||c.metaKey||c.button===1;this.plugin.app.workspace.getLeaf(p).openFile(d)}return}n!=null&&n.path&&c.button===0&&dme(n,this.plugin,c,t.event.id,()=>this.expectImmediateUpdate())}refetchWhenCreatedTimeblockIsIndexed(t){var c;let n=()=>{var u,p;let d=(p=(u=this.plugin.app.metadataCache.getFileCache(t.dailyNote))==null?void 0:u.frontmatter)==null?void 0:p.timeblocks;return Array.isArray(d)&&d.some(m=>!m||typeof m!="object"?!1:m.id===t.timeblock.id)};if(n()){(c=this.calendar)==null||c.refetchEvents();return}let i=this.containerEl.ownerDocument.defaultView||window,a=null,s=null,o=!1,l=()=>{o||(o=!0,a!==null&&(i.clearTimeout(a),a=null),s&&(this.plugin.app.metadataCache.offref(s),s=null))};s=this.plugin.app.metadataCache.on("changed",d=>{var u;d.path!==t.dailyNote.path||!n()||(l(),(u=this.calendar)==null||u.refetchEvents())}),a=i.setTimeout(()=>{var d;l(),(d=this.calendar)==null||d.refetchEvents()},ZZ),this.register(l)}async handleEventDrop(t){var p,m,f,h;if(!((p=t==null?void 0:t.event)!=null&&p.extendedProps)){Wr.warn("[TaskNotes][CalendarView] Event dropped without extendedProps",{category:"provider",operation:"event-dropped-without-extendedprops"});return}let{taskInfo:n,timeblock:i,eventType:a,isRecurringInstance:s,isNextScheduledOccurrence:o,isPatternInstance:l,filePath:c,icsEvent:d}=t.event.extendedProps;if(a==="timeblock"){if(!t.oldEvent.start){t.revert();return}let g=P(t.oldEvent.start,"yyyy-MM-dd");await m2e(t,i,g,this.plugin,i2e(t.jsEvent));return}if(a==="property-based"&&c){try{let g=this.plugin.app.vault.getAbstractFileByPath(c);if(!g||!(g instanceof gi.TFile)){t.revert();return}let v=this.viewOptions.startDateProperty,k=this.viewOptions.endDateProperty,b=i1(v),w=i1(k);if(!b){t.revert();return}let S=t.oldEvent.start,x=t.event.start;if(!S||!x){t.revert();return}await this.plugin.app.fileManager.processFrontMatter(g,C=>{let D=x2e({frontmatter:C,startProperty:b,endProperty:w,oldStart:S,newStart:x,allDay:t.event.allDay});if(D.kind==="update-frontmatter")for(let[_,O]of Object.entries(D.updates))C[_]=O})}catch(g){Wr.error("[TaskNotes][CalendarView] Error updating property-based event:",{category:"provider",operation:"updating-property-based-event",error:g}),t.revert()}return}if(a==="ics"&&d){let g=(m=this.plugin.calendarProviderRegistry)==null?void 0:m.findProviderForEvent(d);if(g){try{let{calendarId:v,eventId:k}=g.extractEventIds(d),b=LZ({start:t.event.start,end:t.event.end,allDay:t.event.allDay,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"});if(b.kind==="revert"){t.revert();return}await g.updateEvent(v,k,b.updates)}catch(v){Wr.error(`[TaskNotes][CalendarView] Error updating ${g.providerName} event:`,{category:"provider",operation:"updating",error:v}),t.revert()}return}else{t.revert();return}}if(a==="timeEntry"){let g=D2e({timeEntries:n.timeEntries,timeEntryIndex:t.event.extendedProps.timeEntryIndex,oldStart:t.oldEvent.start,newStart:t.event.start,newEnd:t.event.end});if(g.kind==="revert"){t.revert();return}if(g.kind==="update-time-entries")try{let v=await this.plugin.taskService.updateTask(n,{timeEntries:g.timeEntries});await this.refreshAfterDirectCalendarTaskWrite(v)}catch(v){Wr.error("Error updating time entry:",{category:"provider",operation:"updating-time-entry",error:v}),t.revert()}return}let u=!!(n!=null&&n.recurrence_parent&&(n!=null&&n.occurrence_date));if(n&&!u&&(s||o||l)){await l2e(t,n,this.plugin);return}if(n)try{let g=k2e({eventType:a,taskInfo:n,newStart:t.event.start,oldStart:t.oldEvent.start,allDay:t.event.allDay});if(g.kind==="revert"){t.revert();return}if(g.kind==="update-date-property"){let v=await this.plugin.taskService.updateProperty(n,g.property,g.value);await this.refreshAfterDirectCalendarTaskWrite(v)}else if(g.kind==="update-scheduled-due-span"){let v=this.plugin.app.vault.getAbstractFileByPath(n.path);if(v instanceof gi.TFile){let k=this.plugin.fieldMapper.toUserField("scheduled"),b=this.plugin.fieldMapper.toUserField("due");await this.plugin.app.fileManager.processFrontMatter(v,w=>{g.scheduled&&(w[k]=g.scheduled),g.due&&(w[b]=g.due)}),await this.refreshAfterDirectCalendarTaskWrite({...n,scheduled:(f=g.scheduled)!=null?f:n.scheduled,due:(h=g.due)!=null?h:n.due})}}}catch(g){Wr.error("[TaskNotes][CalendarView] Error updating task date:",{category:"provider",operation:"updating-task-date",error:g}),t.revert()}}async handleEventResize(t){var d,u;if(!((d=t==null?void 0:t.event)!=null&&d.extendedProps)){Wr.warn("[TaskNotes][CalendarView] Event resized without extendedProps",{category:"provider",operation:"event-resized-without-extendedprops"});return}let{taskInfo:n,timeblock:i,eventType:a,filePath:s,timeEntryIndex:o,icsEvent:l}=t.event.extendedProps;if(a==="timeEntry"){let p=P2e({timeEntries:n.timeEntries,timeEntryIndex:o,newStart:t.event.start,newEnd:t.event.end});if(p.kind==="revert"){t.revert();return}if(p.kind==="update-time-entries")try{let m=await this.plugin.taskService.updateTask(n,{timeEntries:p.timeEntries});await this.refreshAfterDirectCalendarTaskWrite(m)}catch(m){Wr.error("Error resizing time entry:",{category:"provider",operation:"resizing-time-entry",error:m}),t.revert()}return}if(a==="timeblock"){if(!t.event.start){t.revert();return}let p=P(t.event.start,"yyyy-MM-dd");await f2e(t,i,p,this.plugin);return}if(a==="property-based"&&s){try{let p=this.plugin.app.vault.getAbstractFileByPath(s);if(!p||!(p instanceof gi.TFile)){t.revert();return}let m=this.viewOptions.endDateProperty,f=i1(m),h=C2e({endProperty:f,newEnd:t.event.end,allDay:t.event.allDay});if(h.kind==="revert"){t.revert();return}if(h.kind==="ignore")return;await this.plugin.app.fileManager.processFrontMatter(p,g=>{for(let[v,k]of Object.entries(h.updates))g[v]=k})}catch(p){Wr.error("[TaskNotes][CalendarView] Error resizing property-based event:",{category:"provider",operation:"resizing-property-based-event",error:p}),t.revert()}return}if(a==="ics"&&l){let p=(u=this.plugin.calendarProviderRegistry)==null?void 0:u.findProviderForEvent(l);if(p){try{let{calendarId:m,eventId:f}=p.extractEventIds(l),h=LZ({start:t.event.start,end:t.event.end,allDay:t.event.allDay,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",requireEnd:!0});if(h.kind==="revert"){t.revert();return}await p.updateEvent(m,f,h.updates)}catch(m){Wr.error(`[TaskNotes][CalendarView] Error resizing ${p.providerName} event:`,{category:"provider",operation:"resizing",error:m}),t.revert()}return}}let c=w2e({eventType:a,start:t.event.start,end:t.event.end,allDay:t.event.allDay});if(c.kind==="revert"){t.revert();return}if(c.kind!=="ignore")try{let p=await this.plugin.taskService.updateProperty(n,"timeEstimate",c.value);await this.refreshAfterDirectCalendarTaskWrite(p)}catch(p){Wr.error("[TaskNotes][CalendarView] Error updating task duration:",{category:"provider",operation:"updating-task-duration",error:p}),t.revert()}}async handleDateSelect(t){let n=new gi.Menu;n.addItem(a=>{a.setTitle("Create task").setIcon("check-square").onClick(async()=>{let s=this.viewOptions.slotDuration.split(":"),o=parseInt(s[0])*60+parseInt(s[1]||"0"),l=v2e(t.start,t.end,t.allDay,o);new am(this.plugin.app,this.plugin,{prePopulatedValues:l,onTaskCreated:d=>{this.refreshAfterDirectCalendarTaskWrite(d)}}).open()})}),this.plugin.settings.calendarViewSettings.enableTimeblocking&&n.addItem(a=>{a.setTitle("Create timeblock").setIcon("clock").onClick(async()=>{await u2e(t.start,t.end,t.allDay,this.plugin,s=>this.refetchWhenCreatedTimeblockIsIndexed(s))})}),n.addItem(a=>{a.setTitle("Create time entry").setIcon("play").onClick(async()=>{this.expectImmediateUpdate(),await p2e(t.start,t.end,t.allDay,this.plugin)})});let i=this.plugin.calendarProviderRegistry;i&&i.getAllProviders().some(s=>s.getAvailableCalendars().length>0)&&(n.addSeparator(),n.addItem(s=>{s.setTitle("Create external calendar event").setIcon("calendar-plus").onClick(()=>{new a1(this.plugin.app,this.plugin,{start:t.start,end:t.end,allDay:t.allDay,onEventCreated:()=>{this.expectImmediateUpdate(),i.refreshAll()}}).open()})})),n.onHide(()=>{var a;(a=this.calendar)==null||a.unselect()}),t.jsEvent?n.showAtMouseEvent(t.jsEvent):n.showAtPosition({x:0,y:0})}handleEventDidMount(t){var m;let n;try{let f=(m=t==null?void 0:t.event)==null?void 0:m.extendedProps;if(!f||typeof f!="object")return;n=f}catch(f){Wr.warn("[TaskNotes][CalendarView] Event mounted without readable props",{category:"provider",operation:"event-mounted-readable-props",error:f});return}let{taskInfo:i,timeblock:a,icsEvent:s,eventType:o,relatedNoteCount:l,isRecurringInstance:c,isNextScheduledOccurrence:d,isPatternInstance:u}=n;tIt(t.el);let p=GZ(l);if(eUe({element:t.el,viewType:t.view.type,icsEvent:s,relatedNoteCount:p,plugin:this.plugin}),!tUe({arg:t,plugin:this.plugin,config:this.config,visibleProperties:this.getVisibleProperties(),basesEntryByPath:this.basesEntryByPath,buildTaskCardOptions:f=>this.buildTaskCardOptions(f),logDebug:(f,...h)=>Wr.debug(f,{category:"provider",operation:"mount-calendar-list-event-card",details:h.length>0?{values:h}:void 0})})){if(t.el.setAttribute("data-event-type",o||"unknown"),o==="timeblock"&&a){h2e(t.el,a),t.event.setProp&&t.event.setProp("editable",!0);let f=g2e(a);(0,gi.setTooltip)(t.el,f,{placement:"top"});return}if(i&&i.path){if(t.el.setAttribute("data-task-path",i.path),t.el.classList.add("fc-task-event"),this.attachTaskEventHoverLink(t.el,i.path),i.tags&&i.tags.length>0&&i.tags.forEach(f=>{let h=f.replace(/[^a-zA-Z0-9-_]/g,"");h&&t.el.classList.add(`fc-tag-${h}`)}),Tl(i.projects||[]).forEach(f=>{let h=ou(f);h&&t.el.classList.add(`fc-project-${h}`)}),t.event.setProp)switch(o){case"scheduled":case"recurring":case"timeEntry":case"due":case"scheduledToDueSpan":t.event.setProp("editable",o!=="scheduledToDueSpan"||!(c||d||u));break;default:break}o2e(t.el,n)}if(i){let f=s2e(i,this.plugin);(0,gi.setTooltip)(t.el,f)}else if(s){let f=p>0?`
${l1(this.plugin,p)}`:"",h=s.description?`${s.title}
${s.description}${f}`:`${s.title}${f}`;(0,gi.setTooltip)(t.el,h)}i&&o!=="ics"&&y2e(t.el,i,this.plugin,"tasknotes-bases-calendar"),i&&t.el.addEventListener("contextmenu",f=>{f.preventDefault(),f.stopPropagation();let h=t1(t);new nm({task:i,plugin:this.plugin,targetDate:h,promoteOccurrenceControls:!!(i.recurrence||i.recurrence_parent&&i.occurrence_date),onUpdate:()=>{this.refreshCalendarWithFreshData()}}).show(f)}),s&&o==="ics"&&t.el.addEventListener("contextmenu",f=>{f.preventDefault(),f.stopPropagation();let h=n.subscriptionName;new yk({icsEvent:s,plugin:this.plugin,subscriptionName:h,onUpdate:()=>{this.refreshCalendarWithFreshData()}}).show(f)}),o==="property-based"&&n.filePath&&t.el.addEventListener("mouseover",f=>{this.plugin.app.vault.getAbstractFileByPath(n.filePath)&&this.plugin.app.workspace.trigger("hover-link",{event:f,source:"tasknotes-bases-calendar",hoverParent:t.el,targetEl:t.el,linktext:n.filePath,sourcePath:n.filePath})}),o==="property-based"&&n.filePath&&t.el.addEventListener("contextmenu",f=>{f.preventDefault(),f.stopPropagation();let h=this.plugin.app.vault.getAbstractFileByPath(n.filePath);if(h instanceof gi.TFile){let g=new gi.Menu;this.plugin.app.workspace.trigger("file-menu",g,h,"tasknotes-bases-calendar"),g.showAtPosition({x:f.clientX,y:f.clientY})}})}}attachTaskEventHoverLink(t,n){let i=a=>{var l,c;let s=`.fc-task-event[data-task-path="${CSS.escape(n)}"]`;((c=(l=this.rootElement)==null?void 0:l.querySelectorAll(s))!=null?c:[]).forEach(d=>{d===t?d.classList.toggle("fc-task-event--hover-source",a):d.classList.toggle("fc-task-event--related-hover",a)})};t.addEventListener("mouseenter",()=>i(!0)),t.addEventListener("mouseleave",()=>i(!1))}setupContainer(){if(super.setupContainer(),this.rootElement){this.rootElement.className="tn-bases-integration tasknotes-plugin advanced-calendar-view",this.rootElement.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-flex-1-14e3b769","tn-static-flex-direction-column-06c8b5ed","tn-static-height-0-7a31cef0","tn-static-height-100-62264068","tn-static-height-12px-06c0747e","tn-static-height-16px-30de4aee","tn-static-height-24px-29a11d37"),this.rootElement.classList.add("tn-static-min-height-800px-997b4c8c");let n=this.containerEl.ownerDocument.createElement("div");n.id="bases-calendar",n.classList.remove("tn-static-flex-1-97445a8d","tn-static-margin-top-12px-91e0f558","tn-static-min-height-800px-997b4c8c","tn-static-overflow-hidden-69824400"),n.classList.add("tn-static-flex-1-14e3b769"),this.rootElement.appendChild(n),this.calendarEl=n,this.applyLayoutClasses()}}async handleTaskUpdate(t,n){if(this._expectingImmediateUpdate){await this.refreshAfterExpectedCalendarTaskWrite(t);return}if(n==="tasknotes-service"){await this.refreshCalendarWithFreshData(t);return}this.debouncedRefresh()}debouncedRefresh(){this.updateDebounceTimer&&window.clearTimeout(this.updateDebounceTimer);let t=this.containerEl.ownerDocument.defaultView||window;this.updateDebounceTimer=t.setTimeout(()=>{this.updateDebounceTimer=null,this.renderPreservingEphemeralState()},300)}renderPreservingEphemeralState(){let t=this.getEphemeralState();this.render().catch(n=>{Wr.error("[TaskNotes][CalendarView] Render error:",{category:"provider",operation:"render",error:n}),this.renderError(n instanceof Error?n:new Error(String(n)))}).finally(()=>this.setEphemeralState(t))}renderError(t){if(!this.calendarEl)return;let i=this.calendarEl.ownerDocument.createElement("div");i.className="tn-bases-error",i.classList.remove("tn-static-border-radius-4px-c290c56e","tn-static-border-radius-6px-0dc8408c","tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-0-11696618","tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),i.classList.add("tn-static-padding-20px-ebe8e48c"),i.textContent=`Error loading calendar: ${t.message||"Unknown error"}`,this.calendarEl.appendChild(i)}onunload(){this._saveViewTypeTimer&&(window.clearTimeout(this._saveViewTypeTimer),this._saveViewTypeTimer=null),this.calendar&&(this.calendar.destroy(),this.calendar=null),this.calendarEl=null,this.currentTasks=[]}getEphemeralState(){let t=super.getEphemeralState(),n=ay(t)?t:{};if(this.calendar){let i=this.calendar.getDate();return{...n,calendarDate:i?i.toISOString():null,calendarScroll:bIt(this.calendarEl)}}return t}setEphemeralState(t){if(super.setEphemeralState(t),!!lIt(t)){if(this.calendar&&typeof t.calendarDate=="string")try{this.calendar.gotoDate(new Date(t.calendarDate))}catch(n){Wr.debug("[CalendarView] Failed to restore calendar date:",{category:"provider",operation:"restore-calendar-date",error:n})}if(Array.isArray(t.calendarScroll)){let n=this.containerEl.ownerDocument.defaultView||window,i=()=>{TIt(this.calendarEl,t.calendarScroll)};n.requestAnimationFrame(()=>{i(),n.requestAnimationFrame(i)})}}}}});function hUe(r){if(r==null||typeof r=="string"&&r.trim()==="")return sy;let e=typeof r=="number"?r:typeof r=="string"?Number(r.trim()):NaN;return Number.isFinite(e)?Math.max(1,Math.round(e)):sy}function wIt(r,e=sy){let t=Math.max(0,Math.floor(r));if(t===0)return"none";let n=hUe(e);if(t>=n)return"very-high";let i=t/n;return i<=1/sy?"low":i<=.5?"medium":"high"}function fUe(r){return(0,Ua.moment)(r)}function gUe(r){return function(e,t){if(!t)throw sf.error("[TaskNotes][MiniCalendarView] No containerEl provided",{category:"provider",operation:"no-containerel-provided"}),new Error("MiniCalendarView requires a containerEl");return new JZ(e,t,r)}}var Ua,va,sf,sy,JZ,u1,XZ=y(()=>{Ua=require("obsidian");yP();Br();Ne();gr();Ct();va=tt(jd());zP();G();sf=I({tag:"Bases/MiniCalendarView"}),sy=6;JZ=class extends Td{constructor(t,n,i){super(t,n,i);this.type="tasknotesMiniCalendar";this.calendarEl=null;this.dateProperty=null;this.titleProperty=null;this.heatMapMaxCount=sy;this.icsCalendarToggles=new Map;this.googleCalendarToggles=new Map;this.microsoftCalendarToggles=new Map;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 a=wr(),s=vn(a);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.heatMapMaxCount=hUe(this.config.get("heatMapMaxCount")),this.readCalendarToggles(),this.configLoaded=!0}catch(t){sf.error("[TaskNotes][MiniCalendarView] Error reading view options:",{category:"provider",operation:"reading-view-options",error:t})}}readCalendarToggles(){if(this.icsCalendarToggles.clear(),this.googleCalendarToggles.clear(),this.microsoftCalendarToggles.clear(),!this.config||typeof this.config.get!="function")return;let t=n=>this.config.get(n)!==!1;if(this.plugin.icsSubscriptionService)for(let n of this.plugin.icsSubscriptionService.getSubscriptions())this.icsCalendarToggles.set(n.id,t(`showICS_${n.id}`));if(this.plugin.googleCalendarService)for(let n of this.plugin.googleCalendarService.getAvailableCalendars())this.googleCalendarToggles.set(n.id,t(`showGoogleCalendar_${n.id}`));if(this.plugin.microsoftCalendarService)for(let n of this.plugin.microsoftCalendarService.getAvailableCalendars())this.microsoftCalendarToggles.set(n.id,t(`showMicrosoftCalendar_${n.id}`))}async render(){var t;if(!(!this.calendarEl||!this.rootElement)&&(t=this.data)!=null&&t.data){this.config&&this.readViewOptions();try{let n=this.containerEl.ownerDocument,i=this.calendarEl.querySelector(".mini-calendar-view__grid")===n.activeElement;this.calendarEl.empty();let a=this.data.data;this.indexNotesByDate(a),this.renderCalendarControls(),this.renderCalendarGrid(),(this.isInitialRender||this.shouldRestoreFocus||i)&&(this.isInitialRender&&(this.isInitialRender=!1),this.shouldRestoreFocus=!1,window.setTimeout(()=>{var l;let o=(l=this.calendarEl)==null?void 0:l.querySelector(".mini-calendar-view__grid");o&&o.focus()},10))}catch(n){sf.error("[TaskNotes][MiniCalendarView] Error rendering:",{category:"provider",operation:"rendering",error:n}),this.renderError(n instanceof Error?n:new Error(String(n)))}}}indexNotesByDate(t){var n;if(this.notesByDate.clear(),!this.dateProperty){this.indexExternalCalendarEvents();return}for(let i of t)try{let a=i.file;if(!a)continue;let s=this.getDateValueFromProperty(i,this.dateProperty);if(!s)continue;let o=ke(s);if(!o)continue;let l=a.basename||a.name;if(this.titleProperty)try{let u=(n=i.getValue)==null?void 0:n.call(i,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=Z(u);p&&p!=="null"&&p!==""&&(l=p)}else{let p=this.dataAdapter.getPropertyValue(i,this.titleProperty);if(p!=null)if(typeof p=="object"){let m=Z(p);m&&m!=="null"&&m!==""&&(l=m)}else if(typeof p=="string")l=p;else{let m=Z(p);m&&m!=="null"&&m!==""&&(l=m)}}}catch(u){sf.warn("[TaskNotes][MiniCalendarView] Error getting title property:",{category:"provider",operation:"getting-title-property",error:u})}let c={kind:"note",file:a,title:l,path:a.path,dateValue:s,basesEntry:i};this.notesByDate.has(o)||this.notesByDate.set(o,[]);let d=this.notesByDate.get(o);d&&d.push(c)}catch(a){sf.warn("[TaskNotes][MiniCalendarView] Error indexing note:",{category:"provider",operation:"indexing-note",error:a})}this.indexExternalCalendarEvents()}addEntryToDate(t,n){var i;this.notesByDate.has(t)||this.notesByDate.set(t,[]),(i=this.notesByDate.get(t))==null||i.push(n)}indexExternalCalendarEvents(){this.indexICSEvents(),this.indexGoogleCalendarEvents(),this.indexMicrosoftCalendarEvents()}indexICSEvents(){if(!this.plugin.icsSubscriptionService)return;let t=new Map(this.plugin.icsSubscriptionService.getSubscriptions().map(n=>[n.id,n]));for(let n of this.plugin.icsSubscriptionService.getAllEvents()){if(this.icsCalendarToggles.get(n.subscriptionId)===!1)continue;let i=t.get(n.subscriptionId);i&&!i.enabled||this.indexExternalEvent(n,(i==null?void 0:i.name)||"Calendar subscription",n.color||(i==null?void 0:i.color))}}indexGoogleCalendarEvents(){if(!this.plugin.googleCalendarService)return;let t=new Map(this.plugin.googleCalendarService.getAvailableCalendars().map(n=>[n.id,n]));for(let n of this.plugin.googleCalendarService.getAllEvents()){let i=n.subscriptionId.replace("google-","");if(this.googleCalendarToggles.get(i)===!1)continue;let a=t.get(i);this.indexExternalEvent(n,(a==null?void 0:a.summary)||"Google Calendar",n.color||"#4285F4")}}indexMicrosoftCalendarEvents(){if(!this.plugin.microsoftCalendarService)return;let t=new Map(this.plugin.microsoftCalendarService.getAvailableCalendars().map(n=>[n.id,n]));for(let n of this.plugin.microsoftCalendarService.getAllEvents()){let i=n.subscriptionId.replace("microsoft-","");if(this.microsoftCalendarToggles.get(i)===!1)continue;let a=t.get(i);this.indexExternalEvent(n,(a==null?void 0:a.summary)||"Microsoft Calendar",n.color||"#0078D4")}}indexExternalEvent(t,n,i){for(let a of this.getDateKeysForExternalEvent(t))this.addEntryToDate(a,{kind:"external",title:t.title,path:n,dateValue:t.start,externalEvent:t,sourceName:n,color:i})}getDateKeysForExternalEvent(t){let n=this.extractDateFromString(t.start);if(!n)return[];let i=this.extractDateFromString(t.end||"");if(!i||i===n)return[n];let a=this.createUTCDateFromDateKey(n),s=this.createUTCDateFromDateKey(i);if(!a||!s)return[n];if(t.allDay&&s.setUTCDate(s.getUTCDate()-1),s<a)return[n];let o=[],l=new Date(a.getTime());for(let c=0;l<=s&&c<370;c++)o.push(ce(l)),l.setUTCDate(l.getUTCDate()+1);return o.length>0?o:[n]}createUTCDateFromDateKey(t){let n=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!n)return null;let[,i,a,s]=n;return __(Number(i),Number(a)-1,Number(s))}getDateValueFromProperty(t,n){try{let i=this.dataAdapter.getPropertyValue(t,n);if(!i)return null;if(typeof i=="string")return this.extractDateFromString(i);if(typeof i=="number")return this.toAnchoredDateString(new Date(i));if(i instanceof Date)return this.toAnchoredDateString(i);if(typeof i=="object"){let a=i.date;if(a instanceof Date)return this.toAnchoredDateString(a);let s=i.toISOString;if(typeof s=="function")return this.extractDateFromString(s.call(i))}return null}catch(i){return sf.warn("[TaskNotes][MiniCalendarView] Error getting date value:",{category:"provider",operation:"getting-date-value",error:i}),null}}extractDateFromString(t){let n=t==null?void 0:t.trim();if(!n)return null;if(/^\d{4}-\d{2}-\d{2}$/.test(n))return this.validateCalendarDate(n);if(n.includes("T")||/\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}/.test(n)||/[+-]\d{2}:\d{2}$/.test(n)){let s=n.includes(" ")&&!n.includes("T")?n.replace(" ","T"):n,o=new Date(s);if(!isNaN(o.getTime()))return this.toAnchoredDateString(o)}let i=n.match(/^(\d{4})[/.](\d{2})[/.](\d{2})$/);if(i){let[,s,o,l]=i;return this.validateCalendarDate(`${s}-${o}-${l}`)}let a=n.match(/(\d{4}-\d{2}-\d{2})/);return a?this.validateCalendarDate(a[1]):null}toAnchoredDateString(t){if(!(t instanceof Date)||isNaN(t.getTime()))return null;let n=vn(t);return ce(n)}validateCalendarDate(t){if(!t)return null;let i=t.trim().match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!i)return null;let[,a,s,o]=i,l=Number(a),c=Number(s)-1,d=Number(o);if(Number.isNaN(l)||Number.isNaN(c)||Number.isNaN(d))return null;let u=__(l,c,d);return u.getUTCFullYear()!==l||u.getUTCMonth()!==c||u.getUTCDate()!==d?null:ce(u)}renderCalendarControls(){if(!this.calendarEl)return;let n=this.calendarEl.createDiv({cls:"mini-calendar-view__controls"}).createDiv({cls:"mini-calendar-view__header"}),i=n.createDiv({cls:"mini-calendar-view__navigation"});i.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()),i.createDiv({cls:"mini-calendar-view__month-display",text:P(tu(this.selectedDate),"MMMM yyyy")}),i.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()),n.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 t=this.calendarEl.createDiv({cls:"mini-calendar-view__grid-container"}),n=this.displayedMonth,i=this.displayedYear,a=new Date(Date.UTC(i,n,1)),s=new Date(Date.UTC(i,n+1,0)),o=this.plugin.settings.calendarViewSettings.firstDay||0,l=(a.getUTCDay()-o+7)%7,c=t.createDiv({cls:"mini-calendar-view__grid",attr:{role:"grid","aria-label":`Calendar for ${P(tu(new Date(Date.UTC(i,n,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,f=42,h=s.getUTCDate(),g=f-h-m,v=new Date(Date.UTC(i,n,0)).getUTCDate(),k=[],b=[];for(let w=0;w<m;w++){let S=v-m+w+1,x=new Date(Date.UTC(i,n-1,S));b.push(x)}for(let w=1;w<=h;w++){b.length===7&&(k.push(b),b=[]);let S=new Date(Date.UTC(i,n,w));b.push(S)}for(let w=1;w<=g;w++){b.length===7&&(k.push(b),b=[]);let S=new Date(Date.UTC(i,n+1,w));b.push(S)}b.length>0&&k.push(b),k.forEach(w=>{this.renderWeekRow(c,w)})}renderWeekRow(t,n){let i=t.createDiv({cls:"mini-calendar-view__week",attr:{role:"row"}}),a=this.getWeekNumber(n[0]),s=i.createDiv({cls:"mini-calendar-week-number",text:`W${a}`});s.addEventListener("click",o=>{var c;o.preventDefault(),o.stopPropagation(),this.selectWeek(n);let l=(c=this.calendarEl)==null?void 0:c.querySelector(".mini-calendar-view__grid");l&&l.focus()}),s.addEventListener("contextmenu",o=>{o.preventDefault(),o.stopPropagation(),this.showWeekContextMenu(o,n[0])}),n.forEach((o,l)=>{let c=this.displayedMonth,d=this.displayedYear,u=o.getUTCMonth()!==c||o.getUTCFullYear()!==d,p=o.getUTCDate();this.renderDay(i,o,p,u)})}renderDay(t,n,i,a){let s=wr(),o=vn(s),l=WB(n,o),c=WB(n,this.selectedDate),d="mini-calendar-view__day";l&&(d+=" mini-calendar-view__day--today"),c&&(d+=" mini-calendar-view__day--selected"),a&&(d+=" mini-calendar-view__day--outside-month");let u=t.createDiv({cls:d,text:i.toString(),attr:{role:"gridcell","aria-label":P(tu(n),"EEEE, MMMM d, yyyy")+(l?" (Today)":""),"aria-selected":c?"true":"false","aria-current":l?"date":null}}),p=ce(n),m=this.notesByDate.get(p);if(m&&m.length>0){let f=this.getHeatMapIntensity(m.length);u.addClass(`mini-calendar-view__day--intensity-${f}`);let h=this.createNotePreviewText(m);(0,Ua.setTooltip)(u,h,{placement:"top"}),this.renderExternalEventIndicators(u,m)}u.addEventListener("click",f=>{var g;f.preventDefault(),f.stopPropagation(),this.handleDayClick(n,f);let h=(g=this.calendarEl)==null?void 0:g.querySelector(".mini-calendar-view__grid");h&&h.focus()}),u.addEventListener("contextmenu",f=>{f.preventDefault(),f.stopPropagation(),this.showDayContextMenu(f,n)})}async handleDayClick(t,n){if(this.selectedDate=t,n&&(n.ctrlKey||n.metaKey)){await this.openDailyNoteForDate(t);return}this.refresh();let i=ce(t),a=this.notesByDate.get(i);a&&a.length>0&&new u1(this.plugin.app,this.plugin,a,o=>{o&&this.openCalendarEntry(o)}).open()}renderExternalEventIndicators(t,n){let i=n.filter(s=>s.kind==="external");if(i.length===0)return;let a=t.createDiv({cls:"mini-calendar-view__external-event-indicators"});for(let s of i){let o=a.createSpan({cls:"mini-calendar-view__external-event-dot",attr:{"aria-label":`${s.title} (${s.sourceName||"Calendar"})`}});s.color&&(o.style.backgroundColor=s.color)}}openCalendarEntry(t){if(t.file){this.plugin.app.workspace.getLeaf(!1).openFile(t.file);return}t.externalEvent&&new Cd(this.plugin.app,this.plugin,t.externalEvent,t.sourceName).open()}showDayContextMenu(t,n){let i=new Ua.Menu;i.addItem(a=>{a.setTitle(this.plugin.i18n.translate("views.miniCalendar.contextMenu.openDailyNote")),a.setIcon("calendar-days"),a.onClick(()=>{this.openDailyNoteForDate(n)})}),i.showAtMouseEvent(t)}showWeekContextMenu(t,n){let i=new Ua.Menu;i.addItem(a=>{a.setTitle(this.plugin.i18n.translate("views.miniCalendar.contextMenu.openWeeklyNote")),a.setIcon("calendar-range"),a.onClick(()=>{this.openWeeklyNoteForDate(n)})}),i.showAtMouseEvent(t)}async openDailyNoteForDate(t){if(!(0,va.appHasDailyNotesPluginLoaded)()){new Ua.Notice("Daily notes core plugin is not enabled. Please enable it in settings > core plugins.");return}let n=tu(t),i=new Date(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,0),a=fUe(i),s=(0,va.getAllDailyNotes)(),o=(0,va.getDailyNote)(a,s);if(!o)try{o=await(0,va.createDailyNote)(a)}catch(l){let c=l instanceof Error?l.message:String(l);sf.error("Failed to create daily note:",{category:"provider",operation:"create-daily-note",error:l}),new Ua.Notice(`Failed to create daily note: ${c}`);return}o&&await this.plugin.app.workspace.getLeaf(!1).openFile(o)}async openWeeklyNoteForDate(t){if(!(0,va.appHasWeeklyNotesPluginLoaded)()){new Ua.Notice("Weekly notes core plugin is not enabled. Please enable it in settings > core plugins.");return}let n=tu(t),i=new Date(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,0),a=fUe(i),s=(0,va.getAllWeeklyNotes)(),o=(0,va.getWeeklyNote)(a,s);if(!o)try{o=await(0,va.createWeeklyNote)(a)}catch(l){let c=l instanceof Error?l.message:String(l);sf.error("Failed to create weekly note:",{category:"provider",operation:"create-weekly-note",error:l}),new Ua.Notice(`Failed to create weekly note: ${c}`);return}o&&await this.plugin.app.workspace.getLeaf(!1).openFile(o)}navigateToPreviousMonth(){let t=new Date(this.selectedDate.getTime());t.setUTCMonth(this.selectedDate.getUTCMonth()-1),this.selectedDate=t,this.displayedMonth=t.getUTCMonth(),this.displayedYear=t.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}navigateToNextMonth(){let t=new Date(this.selectedDate.getTime());t.setUTCMonth(this.selectedDate.getUTCMonth()+1),this.selectedDate=t,this.displayedMonth=t.getUTCMonth(),this.displayedYear=t.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}navigateToToday(){let t=wr(),n=vn(t);this.selectedDate=n,this.displayedMonth=n.getUTCMonth(),this.displayedYear=n.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}setupKeyboardNavigation(t){this.keyboardHandler&&t.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=n=>{(async()=>{if(n.key==="ArrowLeft"||n.key==="ArrowRight"||n.key==="ArrowUp"||n.key==="ArrowDown"){n.preventDefault(),this.navigateByArrowKey(n.key);return}if(n.key==="PageUp"){n.preventDefault(),n.shiftKey?this.navigateToYear(-1):this.navigateToPreviousMonth();return}if(n.key==="PageDown"){n.preventDefault(),n.shiftKey?this.navigateToYear(1):this.navigateToNextMonth();return}if(n.key==="Home"){n.preventDefault(),n.ctrlKey||n.metaKey?this.navigateToStartOfMonth():this.navigateToStartOfWeek();return}if(n.key==="End"){n.preventDefault(),n.ctrlKey||n.metaKey?this.navigateToEndOfMonth():this.navigateToEndOfWeek();return}if(n.key==="t"||n.key==="T"){n.preventDefault(),this.navigateToToday();return}if(n.key==="Escape"){this.multiSelectMode&&(n.preventDefault(),this.multiSelectMode=!1,this.selectedDates.clear(),this.refresh());return}if(n.key==="Enter"||n.key===" "){n.preventDefault(),n.ctrlKey||n.metaKey?await this.openDailyNoteForDate(this.selectedDate):await this.handleDayClick(this.selectedDate);return}})()},t.addEventListener("keydown",this.keyboardHandler)}navigateByArrowKey(t){let n=new Date(this.selectedDate.getTime());switch(t){case"ArrowLeft":n.setUTCDate(n.getUTCDate()-1);break;case"ArrowRight":n.setUTCDate(n.getUTCDate()+1);break;case"ArrowUp":n.setUTCDate(n.getUTCDate()-7);break;case"ArrowDown":n.setUTCDate(n.getUTCDate()+7);break}this.selectedDate=n,(n.getUTCMonth()!==this.displayedMonth||n.getUTCFullYear()!==this.displayedYear)&&(this.displayedMonth=n.getUTCMonth(),this.displayedYear=n.getUTCFullYear(),this.monthCalculationCache.clear()),this.shouldRestoreFocus=!0,this.refresh()}navigateToStartOfWeek(){let t=this.plugin.settings.calendarViewSettings.firstDay||0,i=(this.selectedDate.getUTCDay()-t+7)%7,a=new Date(this.selectedDate.getTime());a.setUTCDate(a.getUTCDate()-i),this.selectedDate=a,(a.getUTCMonth()!==this.displayedMonth||a.getUTCFullYear()!==this.displayedYear)&&(this.displayedMonth=a.getUTCMonth(),this.displayedYear=a.getUTCFullYear(),this.monthCalculationCache.clear()),this.shouldRestoreFocus=!0,this.refresh()}navigateToEndOfWeek(){let t=this.plugin.settings.calendarViewSettings.firstDay||0,n=this.selectedDate.getUTCDay(),a=((t+6)%7-n+7)%7,s=new Date(this.selectedDate.getTime());s.setUTCDate(s.getUTCDate()+a),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 t=new Date(Date.UTC(this.selectedDate.getUTCFullYear(),this.selectedDate.getUTCMonth(),1));this.selectedDate=t,this.shouldRestoreFocus=!0,this.refresh()}navigateToEndOfMonth(){let t=new Date(Date.UTC(this.selectedDate.getUTCFullYear(),this.selectedDate.getUTCMonth()+1,0));this.selectedDate=t,this.shouldRestoreFocus=!0,this.refresh()}navigateToYear(t){let n=new Date(this.selectedDate.getTime());n.setUTCFullYear(n.getUTCFullYear()+t),this.selectedDate=n,this.displayedMonth=n.getUTCMonth(),this.displayedYear=n.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}getWeekNumber(t){let n=new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())),i=n.getUTCDay()||7;n.setUTCDate(n.getUTCDate()+4-i);let a=new Date(Date.UTC(n.getUTCFullYear(),0,1));return Math.ceil(((n.getTime()-a.getTime())/864e5+1)/7)}selectWeek(t){this.multiSelectMode=!0,this.selectedDates.clear(),t.forEach(n=>{this.selectedDates.add(ce(n))}),this.shouldRestoreFocus=!0,this.refresh(),this.showCombinedNotes()}showCombinedNotes(){let t=[];this.selectedDates.forEach(n=>{let i=this.notesByDate.get(n);i&&t.push(...i)}),t.length>0?new u1(this.plugin.app,this.plugin,t,i=>{i&&this.openCalendarEntry(i)}).open():new Ua.Notice("No notes found for selected dates")}createNotePreviewText(t){let n=[],i=t.filter(s=>s.kind==="note").length,a=t.length-i;return i>0&&a>0?n.push(`${i} note${i>1?"s":""}, ${a} event${a>1?"s":""}`):a>0?n.push(`${a} event${a>1?"s":""}`):n.push(`${i} note${i>1?"s":""}`),n.push(""),t.slice(0,5).forEach(s=>{var c,d;let o=`\u2022 ${s.title}`;if(s.kind==="external"){s.sourceName&&(o+=` (${s.sourceName})`),n.push(o);return}let l=(d=(c=s.basesEntry)==null?void 0:c.getValue)==null?void 0:d.call(c,"note.type");if(l){let u=null;if(typeof l=="object"&&l.toString){let p=l.toString();p&&p!=="null"&&p!==""&&(u=p)}else typeof l=="string"&&(u=l);u&&(o+=` (${u})`)}n.push(o)}),t.length>5&&n.push(`+ ${t.length-5} more...`),n.join(`
`)}getHeatMapIntensity(t){return wIt(t,this.heatMapMaxCount)}setupContainer(){var i;super.setupContainer();let n=this.containerEl.ownerDocument.createElement("div");n.className="mini-calendar-bases-view",(i=this.rootElement)==null||i.appendChild(n),this.calendarEl=n}async handleTaskUpdate(t){this.debouncedRefresh()}renderError(t){if(!this.calendarEl)return;let i=this.calendarEl.ownerDocument.createElement("div");i.className="tn-bases-error",i.classList.remove("tn-static-border-radius-4px-c290c56e","tn-static-border-radius-6px-0dc8408c","tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-text-warning-783d5f03","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-0-11696618","tn-static-margin-0-auto-266e9b04","tn-static-margin-0-db0d5f36","tn-static-margin-0-var-size-4-2-77f7dc08","tn-static-margin-2px-0-edce9b14","tn-static-margin-8px-0-0-0-a2eb8382","tn-static-padding-0-16px-16px-16px-f1aa998c","tn-static-padding-0-41d7d7e2","tn-static-padding-12px-43bef435","tn-static-padding-16px-287f770e","tn-static-padding-20px-769fed37","tn-static-padding-20px-7a035d95","tn-static-padding-2px-8px-c8eea84a","tn-static-padding-2rem-42aa6d9c"),i.classList.add("tn-static-padding-20px-ebe8e48c"),i.textContent=`Error loading mini calendar: ${t.message||"Unknown error"}`,this.calendarEl.appendChild(i)}onunload(){this.calendarEl=null,this.notesByDate.clear(),this.monthCalculationCache.clear(),this.keyboardHandler=null}},u1=class extends Ua.FuzzySuggestModal{constructor(e,t,n,i){super(e),this.plugin=t,this.notes=n,this.onChooseNote=i,this.setPlaceholder("Select an item to open"),this.setInstructions([{command:"\u2191\u2193",purpose:"Navigate"},{command:"\u21B5",purpose:"Open item"},{command:"esc",purpose:"Dismiss"}])}getItems(){return this.notes.sort((e,t)=>e.title.localeCompare(t.title))}getItemText(e){return e.title}renderSuggestion(e,t){let n=e.item,i=t.createDiv({cls:"note-selector-modal__suggestion"});i.createDiv({cls:"note-selector-modal__title",text:n.title});let a=n.kind==="external"&&n.sourceName||n.path;a!==n.title&&i.createDiv({cls:"note-selector-modal__path",text:a})}onChooseItem(e,t){this.onChooseNote(e)}}});function SIt(r,e=eQ){var t,n;try{let i=r.internalPlugins;if(!i)return e.debug("Internal plugins manager not available",{category:"configuration",operation:"get-api"}),null;let a=(t=i.getEnabledPluginById)==null?void 0:t.call(i,"bases");return a?!a.registrations||typeof a.registrations!="object"?(e.warn("Bases plugin found but registrations API is not available",{category:"provider",operation:"get-api"}),null):{registrations:a.registrations,isEnabled:!0,version:((n=a.manifest)==null?void 0:n.version)||"unknown"}:(e.debug("Bases plugin not found or not enabled",{category:"configuration",operation:"get-api"}),null)}catch(i){return e.warn("Error accessing Bases plugin API",{category:"provider",operation:"get-api",error:i}),null}}function HP(r,e,t,n=eQ){if(typeof r.registerBasesView=="function")try{return r.registerBasesView(e,t)?(n.debug("Successfully registered view via public API",{category:"configuration",operation:"register-view",details:{viewId:e}}),!0):(n.debug("Public API returned false",{category:"configuration",operation:"register-view",details:{viewId:e}}),!1)}catch(i){return i instanceof Error&&i.message.includes("already exists")?(n.debug("View already registered via public API",{category:"configuration",operation:"register-view",details:{viewId:e}}),!0):(n.warn("Public API registration failed",{category:"provider",operation:"register-view",details:{viewId:e},error:i}),!1)}return n.warn("Cannot register view because Bases public API is not available",{category:"configuration",operation:"register-view",details:{viewId:e}}),!1}function VP(r,e,t=eQ){let n=SIt(r.app,t);if(!n)return!0;try{return n.registrations[e]&&delete n.registrations[e],!0}catch(i){return t.error("Error unregistering view",{category:"provider",operation:"unregister-view",details:{viewId:e},error:i}),!1}}var eQ,yUe=y(()=>{G();eQ=I({tag:"Bases/API"})});function qP(r){return r.startsWith("note.")||r.startsWith("file.")||r.startsWith("formula.")}var vUe=y(()=>{});function bUe(r){return e=>r.i18n.translate(`views.basesCalendar.settings.${e}`)}function TUe(r,e,t){let n=r.get(e);return n==null?t:n}function xIt(r,e,t){let n=TUe(r,e,t);return typeof n=="string"?n:t}function WP(r,e,t){let n=TUe(r,e,t);return typeof n=="boolean"?n:t}function CIt(r,e){let t=r.get(e);return t==null?!1:typeof t=="string"?t.trim().length>0:!0}function YP(r,e){return xIt(r,"calendarView",e)}function tQ(r){return r==="timeGridWeek"||r==="timeGridCustom"||r==="timeGridDay"}function kUe(r){return r==="dayGridMonth"||r==="multiMonthYear"}function DIt(r){return r==="timeGridWeek"||r==="timeGridCustom"}function p1(r,e,t){return t(YP(r,e))}function PIt(r){return{0:r.i18n.translate("common.weekdays.sunday"),1:r.i18n.translate("common.weekdays.monday"),2:r.i18n.translate("common.weekdays.tuesday"),3:r.i18n.translate("common.weekdays.wednesday"),4:r.i18n.translate("common.weekdays.thursday"),5:r.i18n.translate("common.weekdays.friday"),6:r.i18n.translate("common.weekdays.saturday")}}function wUe(r,e){var s,o,l,c,d,u;let t=[],n=(o=(s=r.icsSubscriptionService)==null?void 0:s.getSubscriptions())!=null?o:[];n.length>0&&t.push({type:"group",displayName:e("groups.calendarSubscriptions"),items:n.map(p=>({type:"toggle",key:`showICS_${p.id}`,displayName:p.name,default:!0}))});let i=(c=(l=r.googleCalendarService)==null?void 0:l.getAvailableCalendars())!=null?c:[];i.length>0&&t.push({type:"group",displayName:e("groups.googleCalendars")||"Google Calendars",items:i.map(p=>({type:"toggle",key:`showGoogleCalendar_${p.id}`,displayName:p.summary||p.id,default:!0}))});let a=(u=(d=r.microsoftCalendarService)==null?void 0:d.getAvailableCalendars())!=null?u:[];return a.length>0&&t.push({type:"group",displayName:e("groups.microsoftCalendars")||"Microsoft Calendars",items:a.map(p=>({type:"toggle",key:`showMicrosoftCalendar_${p.id}`,displayName:p.summary||p.id,default:!0}))}),t}function MIt(r,e,t){let n=r.settings.calendarViewSettings;return{type:"group",displayName:t("groups.events"),items:[{type:"toggle",key:"showScheduled",displayName:t("events.showScheduledTasks"),default:n.defaultShowScheduled},{type:"toggle",key:"showDue",displayName:t("events.showDueTasks"),default:n.defaultShowDue},{type:"toggle",key:"showScheduledToDueSpan",displayName:t("layout.spanScheduledToDue"),default:n.defaultShowScheduledToDueSpan,shouldHide:()=>!WP(e,"showScheduled",n.defaultShowScheduled)||!WP(e,"showDue",n.defaultShowDue)},{type:"toggle",key:"showRecurring",displayName:t("events.showRecurringTasks"),default:n.defaultShowRecurring},{type:"toggle",key:"showCompletedRecurringInstances",displayName:t("events.showCompletedRecurringInstances"),default:!0,shouldHide:()=>!WP(e,"showRecurring",n.defaultShowRecurring)},{type:"toggle",key:"showSkippedRecurringInstances",displayName:t("events.showSkippedRecurringInstances"),default:!0,shouldHide:()=>!WP(e,"showRecurring",n.defaultShowRecurring)},{type:"toggle",key:"showTimeEntries",displayName:t("events.showTimeEntries"),default:n.defaultShowTimeEntries},{type:"toggle",key:"showTimeblocks",displayName:t("events.showTimeblocks"),default:n.defaultShowTimeblocks},{type:"toggle",key:"showPropertyBasedEvents",displayName:t("events.showPropertyBasedEvents"),default:!0}]}}function _It(r,e){return{type:"group",displayName:e("groups.dateNavigation"),items:[{type:"text",key:"initialDate",displayName:e("dateNavigation.navigateToDate"),default:"",placeholder:e("dateNavigation.navigateToDatePlaceholder")},{type:"property",key:"initialDateProperty",displayName:e("dateNavigation.navigateToDateFromProperty"),placeholder:e("dateNavigation.navigateToDateFromPropertyPlaceholder"),filter:t=>t.startsWith("note.")||t.startsWith("file.")},{type:"dropdown",key:"initialDateStrategy",displayName:e("dateNavigation.propertyNavigationStrategy"),default:"first",options:{first:e("dateNavigation.strategies.first"),earliest:e("dateNavigation.strategies.earliest"),latest:e("dateNavigation.strategies.latest")},shouldHide:()=>!CIt(r,"initialDateProperty")},{type:"toggle",key:"createDailyNotesFromDateLinks",displayName:e("dateNavigation.createDailyNotesFromDateLinks"),default:!0}]}}function AIt(r,e,t){let n=r.settings.calendarViewSettings,i=n.defaultView;return{type:"group",displayName:t("groups.view"),items:[{type:"dropdown",key:"calendarView",displayName:t("layout.calendarView"),default:i,options:EIt},{type:"slider",key:"customDayCount",displayName:t("layout.customDayCount"),default:n.customDayCount||3,min:1,max:14,step:1,shouldHide:()=>YP(e,i)!=="timeGridCustom"},{type:"slider",key:"listDayCount",displayName:t("layout.listDayCount"),default:7,min:1,max:365,step:1,shouldHide:()=>YP(e,i)!=="listWeek"},{type:"dropdown",key:"heightMode",displayName:t("layout.heightMode"),default:"fill",options:{fill:t("layout.heightModeFill"),auto:t("layout.heightModeAuto")}}]}}function IIt(r,e,t){let n=r.settings.calendarViewSettings,i=n.defaultView;return{type:"group",displayName:t("groups.display"),items:[{type:"dropdown",key:"firstDay",displayName:t("layout.weekStartsOn"),default:String(n.firstDay),options:PIt(r)},{type:"dropdown",key:"timeFormat",displayName:t("layout.timeFormat"),default:n.timeFormat,options:{12:t("layout.timeFormat12"),24:t("layout.timeFormat24")}},{type:"toggle",key:"weekNumbers",displayName:t("layout.showWeekNumbers"),default:n.weekNumbers,shouldHide:()=>YP(e,i)==="listWeek"},{type:"toggle",key:"showWeekends",displayName:t("layout.showWeekends"),default:n.showWeekends},{type:"toggle",key:"showAllDaySlot",displayName:t("layout.showAllDaySlot"),default:!0},{type:"toggle",key:"showTodayHighlight",displayName:t("layout.showTodayHighlight"),default:n.showTodayHighlight},{type:"slider",key:"todayColumnWidthMultiplier",displayName:t("layout.todayColumnWidthMultiplier"),default:1,min:1,max:5,step:.5,shouldHide:()=>!p1(e,i,a=>DIt(a))},{type:"toggle",key:"enableSearch",displayName:t("layout.enableSearch"),default:!1}]}}function NIt(r,e){let t=r.settings.calendarViewSettings;return[{type:"text",key:"slotMinTime",displayName:e("layout.dayStartTime"),default:t.slotMinTime,placeholder:e("layout.dayStartTimePlaceholder")},{type:"text",key:"slotMaxTime",displayName:e("layout.dayEndTime"),default:t.slotMaxTime,placeholder:e("layout.dayEndTimePlaceholder")},{type:"text",key:"slotDuration",displayName:e("layout.timeSlotDuration"),default:t.slotDuration,placeholder:e("layout.timeSlotDurationPlaceholder")},{type:"text",key:"snapDuration",displayName:e("layout.dragDropResolution"),default:t.slotDuration,placeholder:e("layout.dragDropResolutionPlaceholder")},{type:"text",key:"scrollTime",displayName:e("layout.initialScrollTime"),default:t.scrollTime,placeholder:e("layout.initialScrollTimePlaceholder")},{type:"toggle",key:"nowIndicator",displayName:e("layout.showNowIndicator"),default:t.nowIndicator},{type:"toggle",key:"showTimeGrid",displayName:e("layout.showTimeGrid"),default:!0},{type:"toggle",key:"selectMirror",displayName:e("layout.showSelectionPreview"),default:t.selectMirror}]}function RIt(r,e,t){var o;let n=r.settings.calendarViewSettings,i=n.defaultView,a=()=>!p1(e,i,l=>tQ(l)),s=()=>!p1(e,i,l=>kUe(l));return[{type:"toggle",key:"slotEventOverlap",displayName:t("layout.slotEventOverlap"),default:n.slotEventOverlap,shouldHide:a},{type:"slider",key:"eventMinHeight",displayName:t("layout.minimumEventHeight"),default:n.eventMinHeight,min:15,max:100,step:5,shouldHide:a},{type:"slider",key:"eventMaxStack",displayName:t("layout.eventMaxStack"),default:(o=n.eventMaxStack)!=null?o:0,min:0,max:10,step:1,shouldHide:a},{type:"slider",key:"dayMaxEvents",displayName:t("layout.dayMaxEvents"),default:typeof n.dayMaxEvents=="number"?n.dayMaxEvents:0,min:0,max:20,step:1,shouldHide:s},{type:"slider",key:"dayMaxEventRows",displayName:t("layout.dayMaxEventRows"),default:typeof n.dayMaxEventRows=="number"?n.dayMaxEventRows:0,min:0,max:10,step:1,shouldHide:s}]}function OIt(r,e){return{type:"group",displayName:e("groups.propertyBasedEvents"),shouldHide:()=>!WP(r,"showPropertyBasedEvents",!0),items:[{type:"property",key:"startDateProperty",displayName:e("propertyBasedEvents.startDateProperty"),placeholder:e("propertyBasedEvents.startDatePropertyPlaceholder"),filter:t=>qP(t)},{type:"property",key:"endDateProperty",displayName:e("propertyBasedEvents.endDateProperty"),placeholder:e("propertyBasedEvents.endDatePropertyPlaceholder"),filter:t=>qP(t)},{type:"property",key:"titleProperty",displayName:e("propertyBasedEvents.titleProperty"),placeholder:e("propertyBasedEvents.titlePropertyPlaceholder"),filter:t=>qP(t)}]}}function SUe(r,e){let t=bUe(r),n=r.settings.calendarViewSettings.defaultView;return[MIt(r,e,t),_It(e,t),AIt(r,e,t),IIt(r,e,t),{type:"group",displayName:t("groups.timeGrid"),shouldHide:()=>!p1(e,n,i=>tQ(i)),items:NIt(r,t)},{type:"group",displayName:t("groups.eventLayout"),shouldHide:()=>{let i=YP(e,n);return!tQ(i)&&!kUe(i)},items:RIt(r,e,t)},OIt(e,t),...wUe(r,t)]}function EUe(r){let e=bUe(r),t=[{type:"property",key:"dateProperty",displayName:"Date Property",placeholder:"Select property to show on calendar",default:"file.ctime",filter:n=>n.startsWith("note.")||n.startsWith("file.")||n.startsWith("task.")},{type:"property",key:"titleProperty",displayName:"Title Property",placeholder:"Select property to use as title",default:"file.name",filter:n=>qP(n)},{type:"slider",key:"heatMapMaxCount",displayName:"Max color note count",default:sy,min:1,max:20,step:1}];return t.push(...wUe(r,e)),t}var EIt,xUe=y(()=>{XZ();vUe();EIt={dayGridMonth:"Month",timeGridWeek:"Week",timeGridCustom:"Custom days",timeGridDay:"Day",listWeek:"List",multiMonthYear:"Year"}});var PUe={};et(PUe,{registerBasesTaskList:()=>$It,unregisterBasesViews:()=>rQ});async function $It(r){if(!r.settings.enableBases||!(0,DUe.requireApiVersion)("1.10.1"))return;let e=I({tag:"Bases/Registration",isDebugEnabled:()=>r.settings.enableDebugLogging}),t=async()=>{try{let n=HP(r,"tasknotesTaskList",{name:"TaskNotes Task List",icon:"tasknotes-simple",factory:Fje(r),options:()=>[{type:"property",key:"subGroup",displayName:"Sub-group by",placeholder:"Select property for sub-grouping (optional)",filter:o=>o.startsWith("note.")||o.startsWith("task.")||o.startsWith("formula.")},{type:"toggle",key:"enableSearch",displayName:"Enable search box",default:!1},{type:"dropdown",key:"defaultCollapsedState",displayName:"Default collapsed state",default:"Expanded",options:FIt},{type:"dropdown",key:"expandedRelationshipFilterMode",displayName:"Expanded relationships",default:"inherit",options:CUe},{type:"toggle",key:"hideTopLevelSubtasks",displayName:"Hide top-level subtasks",default:!1}]},e),i=HP(r,"tasknotesKanban",{name:"TaskNotes Kanban",icon:"tasknotes-simple",factory:SBe(r),options:()=>[{type:"property",key:"swimLane",displayName:"Swim Lane",placeholder:"Select property for swim lanes (optional)",filter:o=>o.startsWith("note.")||o.startsWith("task.")||o.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:"text",key:"pinnedColumns",displayName:"Pinned Columns",placeholder:"Comma-separated column values to keep visible",default:""},{type:"toggle",key:"hideEmptySwimLanes",displayName:"Hide Empty Swimlanes",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:"toggle",key:"consolidateStatusIcon",displayName:"Show status icon in column header only",default:!1},{type:"dropdown",key:"cardLayout",displayName:"Card layout",default:"default",options:LIt},{type:"text",key:"columnOrder",displayName:"Column Order (Advanced)",placeholder:"Auto-managed when dragging columns",default:"{}"},{type:"text",key:"swimLaneOrder",displayName:"Swim Lane Order (Advanced)",placeholder:"JSON object keyed by swim lane property",default:"{}"},{type:"dropdown",key:"expandedRelationshipFilterMode",displayName:"Expanded relationships",default:"inherit",options:CUe},{type:"toggle",key:"hideTopLevelSubtasks",displayName:"Hide top-level subtasks",default:!1}]},e),a=HP(r,"tasknotesCalendar",{name:"TaskNotes Calendar",icon:"tasknotes-simple",factory:pUe(r),options:o=>SUe(r,o)},e),s=HP(r,"tasknotesMiniCalendar",{name:"TaskNotes Mini Calendar",icon:"tasknotes-simple",factory:gUe(r),options:()=>EUe(r)},e);return!n&&!i&&!a&&!s?(e.debug("Bases plugin not available for registration",{category:"configuration",operation:"register-views"}),!1):(r.app.workspace.iterateAllLeaves(o=>{var l,c;if(((c=(l=o.view)==null?void 0:l.getViewType)==null?void 0:c.call(l))==="bases"){let d=o.view;if(typeof d.refresh=="function")try{d.refresh()}catch(u){e.debug("Error refreshing Bases view after registration",{category:"provider",operation:"refresh-existing-view",error:u})}}}),!0)}catch(n){return e.warn("Registration attempt failed",{category:"provider",operation:"register-views",error:n}),!1}};if(!await t()){for(let n=0;n<5;n++)if(await new Promise(i=>window.setTimeout(i,200)),await t())return;e.warn("Failed to register views after multiple attempts",{category:"configuration",operation:"register-views"})}}function rQ(r){let e=I({tag:"Bases/Registration",isDebugEnabled:()=>r.settings.enableDebugLogging});try{VP(r,"tasknotesTaskList",e),VP(r,"tasknotesKanban",e),VP(r,"tasknotesCalendar",e),VP(r,"tasknotesMiniCalendar",e)}catch(t){e.error("Error during view unregistration",{category:"provider",operation:"unregister-views",error:t})}}var DUe,LIt,FIt,CUe,nQ=y(()=>{DUe=require("obsidian");$je();EBe();mUe();XZ();yUe();xUe();G();LIt={default:"Default",compact:"Compact"},FIt={Expanded:"Expanded",Collapsed:"Collapsed"},CUe={inherit:"Inherit","show-all":"Show all"}});var _Ue=E(()=>{var MUe;(function(r){(function(e){var t=typeof globalThis=="object"?globalThis:typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:o(),n=i(r);typeof t.Reflect!="undefined"&&(n=i(t.Reflect,n)),e(n,t),typeof t.Reflect=="undefined"&&(t.Reflect=r);function i(l,c){return function(d,u){Object.defineProperty(l,d,{configurable:!0,writable:!0,value:u}),c&&c(d,u)}}function a(){try{return Function("return this;")()}catch(l){}}function s(){try{return(0,eval)("(function() { return this; })()")}catch(l){}}function o(){return a()||s()}})(function(e,t){var n=Object.prototype.hasOwnProperty,i=typeof Symbol=="function",a=i&&typeof Symbol.toPrimitive!="undefined"?Symbol.toPrimitive:"@@toPrimitive",s=i&&typeof Symbol.iterator!="undefined"?Symbol.iterator:"@@iterator",o=typeof Object.create=="function",l={__proto__:[]}instanceof Array,c=!o&&!l,d={create:o?function(){return hj(Object.create(null))}:l?function(){return hj({__proto__:null})}:function(){return hj({})},has:c?function($,U){return n.call($,U)}:function($,U){return U in $},get:c?function($,U){return n.call($,U)?$[U]:void 0}:function($,U){return $[U]}},u=Object.getPrototypeOf(Function),p=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:p5e(),m=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:m5e(),f=typeof WeakMap=="function"?WeakMap:f5e(),h=i?Symbol.for("@reflect-metadata:registry"):void 0,g=c5e(),v=d5e(g);function k($,U,K,le){if(X(K)){if(!Os($))throw new TypeError;if(!xe(U))throw new TypeError;return N($,U)}else{if(!Os($))throw new TypeError;if(!Ue(U))throw new TypeError;if(!Ue(le)&&!X(le)&&!ne(le))throw new TypeError;return ne(le)&&(le=void 0),K=xn(K),R($,U,K,le)}}e("decorate",k);function b($,U){function K(le,He){if(!Ue(le))throw new TypeError;if(!X(He)&&!gn(He))throw new TypeError;J($,U,le,He)}return K}e("metadata",b);function w($,U,K,le){if(!Ue(K))throw new TypeError;return X(le)||(le=xn(le)),J($,U,K,le)}e("defineMetadata",w);function S($,U,K){if(!Ue(U))throw new TypeError;return X(K)||(K=xn(K)),z($,U,K)}e("hasMetadata",S);function x($,U,K){if(!Ue(U))throw new TypeError;return X(K)||(K=xn(K)),H($,U,K)}e("hasOwnMetadata",x);function C($,U,K){if(!Ue(U))throw new TypeError;return X(K)||(K=xn(K)),Y($,U,K)}e("getMetadata",C);function D($,U,K){if(!Ue(U))throw new TypeError;return X(K)||(K=xn(K)),se($,U,K)}e("getOwnMetadata",D);function _($,U){if(!Ue($))throw new TypeError;return X(U)||(U=xn(U)),te($,U)}e("getMetadataKeys",_);function O($,U){if(!Ue($))throw new TypeError;return X(U)||(U=xn(U)),Te($,U)}e("getOwnMetadataKeys",O);function L($,U,K){if(!Ue(U))throw new TypeError;if(X(K)||(K=xn(K)),!Ue(U))throw new TypeError;X(K)||(K=xn(K));var le=ww(U,K,!1);return X(le)?!1:le.OrdinaryDeleteMetadata($,U,K)}e("deleteMetadata",L);function N($,U){for(var K=$.length-1;K>=0;--K){var le=$[K],He=le(U);if(!X(He)&&!ne(He)){if(!xe(He))throw new TypeError;U=He}}return U}function R($,U,K,le){for(var He=$.length-1;He>=0;--He){var Rn=$[He],ai=Rn(U,K,le);if(!X(ai)&&!ne(ai)){if(!Ue(ai))throw new TypeError;le=ai}}return le}function z($,U,K){var le=H($,U,K);if(le)return!0;var He=fj(U);return ne(He)?!1:z($,He,K)}function H($,U,K){var le=ww(U,K,!1);return X(le)?!1:ii(le.OrdinaryHasOwnMetadata($,U,K))}function Y($,U,K){var le=H($,U,K);if(le)return se($,U,K);var He=fj(U);if(!ne(He))return Y($,He,K)}function se($,U,K){var le=ww(U,K,!1);if(!X(le))return le.OrdinaryGetOwnMetadata($,U,K)}function J($,U,K,le){var He=ww(K,le,!0);He.OrdinaryDefineOwnMetadata($,U,K,le)}function te($,U){var K=Te($,U),le=fj($);if(le===null)return K;var He=te(le,U);if(He.length<=0)return K;if(K.length<=0)return He;for(var Rn=new m,ai=[],_t=0,pe=K;_t<pe.length;_t++){var Se=pe[_t],De=Rn.has(Se);De||(Rn.add(Se),ai.push(Se))}for(var Ie=0,Ft=He;Ie<Ft.length;Ie++){var Se=Ft[Ie],De=Rn.has(Se);De||(Rn.add(Se),ai.push(Se))}return ai}function Te($,U){var K=ww($,U,!1);return K?K.OrdinaryOwnMetadataKeys($,U):[]}function Ce($){if($===null)return 1;switch(typeof $){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return $===null?1:6;default:return 6}}function X($){return $===void 0}function ne($){return $===null}function st($){return typeof $=="symbol"}function Ue($){return typeof $=="object"?$!==null:typeof $=="function"}function Vt($,U){switch(Ce($)){case 0:return $;case 1:return $;case 2:return $;case 3:return $;case 4:return $;case 5:return $}var K=U===3?"string":U===5?"number":"default",le=Xie($,a);if(le!==void 0){var He=le.call($,K);if(Ue(He))throw new TypeError;return He}return ot($,K==="default"?"number":K)}function ot($,U){if(U==="string"){var K=$.toString;if(ae(K)){var le=K.call($);if(!Ue(le))return le}var He=$.valueOf;if(ae(He)){var le=He.call($);if(!Ue(le))return le}}else{var He=$.valueOf;if(ae(He)){var le=He.call($);if(!Ue(le))return le}var Rn=$.toString;if(ae(Rn)){var le=Rn.call($);if(!Ue(le))return le}}throw new TypeError}function ii($){return!!$}function Xi($){return""+$}function xn($){var U=Vt($,3);return st(U)?U:Xi(U)}function Os($){return Array.isArray?Array.isArray($):$ instanceof Object?$ instanceof Array:Object.prototype.toString.call($)==="[object Array]"}function ae($){return typeof $=="function"}function xe($){return typeof $=="function"}function gn($){switch(Ce($)){case 3:return!0;case 4:return!0;default:return!1}}function Uf($,U){return $===U||$!==$&&U!==U}function Xie($,U){var K=$[U];if(K!=null){if(!ae(K))throw new TypeError;return K}}function eae($){var U=Xie($,s);if(!ae(U))throw new TypeError;var K=U.call($);if(!Ue(K))throw new TypeError;return K}function tae($){return $.value}function rae($){var U=$.next();return U.done?!1:U}function nae($){var U=$.return;U&&U.call($)}function fj($){var U=Object.getPrototypeOf($);if(typeof $!="function"||$===u||U!==u)return U;var K=$.prototype,le=K&&Object.getPrototypeOf(K);if(le==null||le===Object.prototype)return U;var He=le.constructor;return typeof He!="function"||He===$?U:He}function l5e(){var $;!X(h)&&typeof t.Reflect!="undefined"&&!(h in t.Reflect)&&typeof t.Reflect.defineMetadata=="function"&&($=u5e(t.Reflect));var U,K,le,He=new f,Rn={registerProvider:ai,getProvider:pe,setProvider:De};return Rn;function ai(Ie){if(!Object.isExtensible(Rn))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case $===Ie:break;case X(U):U=Ie;break;case U===Ie:break;case X(K):K=Ie;break;case K===Ie:break;default:le===void 0&&(le=new m),le.add(Ie);break}}function _t(Ie,Ft){if(!X(U)){if(U.isProviderFor(Ie,Ft))return U;if(!X(K)){if(K.isProviderFor(Ie,Ft))return U;if(!X(le))for(var Qr=eae(le);;){var On=rae(Qr);if(!On)return;var hl=tae(On);if(hl.isProviderFor(Ie,Ft))return nae(Qr),hl}}}if(!X($)&&$.isProviderFor(Ie,Ft))return $}function pe(Ie,Ft){var Qr=He.get(Ie),On;return X(Qr)||(On=Qr.get(Ft)),X(On)&&(On=_t(Ie,Ft),X(On)||(X(Qr)&&(Qr=new p,He.set(Ie,Qr)),Qr.set(Ft,On))),On}function Se(Ie){if(X(Ie))throw new TypeError;return U===Ie||K===Ie||!X(le)&&le.has(Ie)}function De(Ie,Ft,Qr){if(!Se(Qr))throw new Error("Metadata provider not registered.");var On=pe(Ie,Ft);if(On!==Qr){if(!X(On))return!1;var hl=He.get(Ie);X(hl)&&(hl=new p,He.set(Ie,hl)),hl.set(Ft,Qr)}return!0}}function c5e(){var $;return!X(h)&&Ue(t.Reflect)&&Object.isExtensible(t.Reflect)&&($=t.Reflect[h]),X($)&&($=l5e()),!X(h)&&Ue(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:$}),$}function d5e($){var U=new f,K={isProviderFor:function(Se,De){var Ie=U.get(Se);return X(Ie)?!1:Ie.has(De)},OrdinaryDefineOwnMetadata:ai,OrdinaryHasOwnMetadata:He,OrdinaryGetOwnMetadata:Rn,OrdinaryOwnMetadataKeys:_t,OrdinaryDeleteMetadata:pe};return g.registerProvider(K),K;function le(Se,De,Ie){var Ft=U.get(Se),Qr=!1;if(X(Ft)){if(!Ie)return;Ft=new p,U.set(Se,Ft),Qr=!0}var On=Ft.get(De);if(X(On)){if(!Ie)return;if(On=new p,Ft.set(De,On),!$.setProvider(Se,De,K))throw Ft.delete(De),Qr&&U.delete(Se),new Error("Wrong provider for target.")}return On}function He(Se,De,Ie){var Ft=le(De,Ie,!1);return X(Ft)?!1:ii(Ft.has(Se))}function Rn(Se,De,Ie){var Ft=le(De,Ie,!1);if(!X(Ft))return Ft.get(Se)}function ai(Se,De,Ie,Ft){var Qr=le(Ie,Ft,!0);Qr.set(Se,De)}function _t(Se,De){var Ie=[],Ft=le(Se,De,!1);if(X(Ft))return Ie;for(var Qr=Ft.keys(),On=eae(Qr),hl=0;;){var iae=rae(On);if(!iae)return Ie.length=hl,Ie;var h5e=tae(iae);try{Ie[hl]=h5e}catch(g5e){try{nae(On)}finally{throw g5e}}hl++}}function pe(Se,De,Ie){var Ft=le(De,Ie,!1);if(X(Ft)||!Ft.delete(Se))return!1;if(Ft.size===0){var Qr=U.get(De);X(Qr)||(Qr.delete(Ie),Qr.size===0&&U.delete(Qr))}return!0}}function u5e($){var U=$.defineMetadata,K=$.hasOwnMetadata,le=$.getOwnMetadata,He=$.getOwnMetadataKeys,Rn=$.deleteMetadata,ai=new f,_t={isProviderFor:function(pe,Se){var De=ai.get(pe);return!X(De)&&De.has(Se)?!0:He(pe,Se).length?(X(De)&&(De=new m,ai.set(pe,De)),De.add(Se),!0):!1},OrdinaryDefineOwnMetadata:U,OrdinaryHasOwnMetadata:K,OrdinaryGetOwnMetadata:le,OrdinaryOwnMetadataKeys:He,OrdinaryDeleteMetadata:Rn};return _t}function ww($,U,K){var le=g.getProvider($,U);if(!X(le))return le;if(K){if(g.setProvider($,U,v))return v;throw new Error("Illegal state.")}}function p5e(){var $={},U=[],K=(function(){function _t(pe,Se,De){this._index=0,this._keys=pe,this._values=Se,this._selector=De}return _t.prototype["@@iterator"]=function(){return this},_t.prototype[s]=function(){return this},_t.prototype.next=function(){var pe=this._index;if(pe>=0&&pe<this._keys.length){var Se=this._selector(this._keys[pe],this._values[pe]);return pe+1>=this._keys.length?(this._index=-1,this._keys=U,this._values=U):this._index++,{value:Se,done:!1}}return{value:void 0,done:!0}},_t.prototype.throw=function(pe){throw this._index>=0&&(this._index=-1,this._keys=U,this._values=U),pe},_t.prototype.return=function(pe){return this._index>=0&&(this._index=-1,this._keys=U,this._values=U),{value:pe,done:!0}},_t})(),le=(function(){function _t(){this._keys=[],this._values=[],this._cacheKey=$,this._cacheIndex=-2}return Object.defineProperty(_t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),_t.prototype.has=function(pe){return this._find(pe,!1)>=0},_t.prototype.get=function(pe){var Se=this._find(pe,!1);return Se>=0?this._values[Se]:void 0},_t.prototype.set=function(pe,Se){var De=this._find(pe,!0);return this._values[De]=Se,this},_t.prototype.delete=function(pe){var Se=this._find(pe,!1);if(Se>=0){for(var De=this._keys.length,Ie=Se+1;Ie<De;Ie++)this._keys[Ie-1]=this._keys[Ie],this._values[Ie-1]=this._values[Ie];return this._keys.length--,this._values.length--,Uf(pe,this._cacheKey)&&(this._cacheKey=$,this._cacheIndex=-2),!0}return!1},_t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=$,this._cacheIndex=-2},_t.prototype.keys=function(){return new K(this._keys,this._values,He)},_t.prototype.values=function(){return new K(this._keys,this._values,Rn)},_t.prototype.entries=function(){return new K(this._keys,this._values,ai)},_t.prototype["@@iterator"]=function(){return this.entries()},_t.prototype[s]=function(){return this.entries()},_t.prototype._find=function(pe,Se){if(!Uf(this._cacheKey,pe)){this._cacheIndex=-1;for(var De=0;De<this._keys.length;De++)if(Uf(this._keys[De],pe)){this._cacheIndex=De;break}}return this._cacheIndex<0&&Se&&(this._cacheIndex=this._keys.length,this._keys.push(pe),this._values.push(void 0)),this._cacheIndex},_t})();return le;function He(_t,pe){return _t}function Rn(_t,pe){return pe}function ai(_t,pe){return[_t,pe]}}function m5e(){var $=(function(){function U(){this._map=new p}return Object.defineProperty(U.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),U.prototype.has=function(K){return this._map.has(K)},U.prototype.add=function(K){return this._map.set(K,K),this},U.prototype.delete=function(K){return this._map.delete(K)},U.prototype.clear=function(){this._map.clear()},U.prototype.keys=function(){return this._map.keys()},U.prototype.values=function(){return this._map.keys()},U.prototype.entries=function(){return this._map.entries()},U.prototype["@@iterator"]=function(){return this.keys()},U.prototype[s]=function(){return this.keys()},U})();return $}function f5e(){var $=16,U=d.create(),K=le();return(function(){function pe(){this._key=le()}return pe.prototype.has=function(Se){var De=He(Se,!1);return De!==void 0?d.has(De,this._key):!1},pe.prototype.get=function(Se){var De=He(Se,!1);return De!==void 0?d.get(De,this._key):void 0},pe.prototype.set=function(Se,De){var Ie=He(Se,!0);return Ie[this._key]=De,this},pe.prototype.delete=function(Se){var De=He(Se,!1);return De!==void 0?delete De[this._key]:!1},pe.prototype.clear=function(){this._key=le()},pe})();function le(){var pe;do pe="@@WeakMap@@"+_t();while(d.has(U,pe));return U[pe]=!0,pe}function He(pe,Se){if(!n.call(pe,K)){if(!Se)return;Object.defineProperty(pe,K,{value:d.create()})}return pe[K]}function Rn(pe,Se){for(var De=0;De<Se;++De)pe[De]=Math.random()*255|0;return pe}function ai(pe){if(typeof Uint8Array=="function"){var Se=new Uint8Array(pe);return typeof crypto!="undefined"?crypto.getRandomValues(Se):typeof msCrypto!="undefined"?msCrypto.getRandomValues(Se):Rn(Se,pe),Se}return Rn(new Array(pe),pe)}function _t(){var pe=ai($);pe[6]=pe[6]&79|64,pe[8]=pe[8]&191|128;for(var Se="",De=0;De<$;++De){var Ie=pe[De];(De===4||De===6||De===8)&&(Se+="-"),Ie<16&&(Se+="0"),Se+=Ie.toString(16).toLowerCase()}return Se}}function hj($){return $.__=void 0,delete $.__,$}})})(MUe||(MUe={}))});function IUe(r){Reflect.hasMetadata(GP,r)||Reflect.defineMetadata(GP,[],r)}function m1(r,e){return function(t,n,i){Reflect.defineMetadata(AUe,{method:r.toLowerCase(),path:e,handler:n},t,n);let a=Reflect.getMetadata("routes",t.constructor)||[];a.push({method:r.toLowerCase(),path:e,handler:n}),Reflect.defineMetadata("routes",a,t.constructor)}}function Yr(r){return m1("GET",r)}function ri(r){return m1("POST",r)}function NUe(r){return m1("PUT",r)}function f1(r){return m1("DELETE",r)}function RUe(r){return function(e,t,n){Reflect.defineMetadata(jIt,r,e,t);let i=Reflect.getMetadata(GP,e.constructor)||[],a=Reflect.getMetadata(AUe,e,t),{path:s,method:o}=a||BIt(t);i.push({path:s,method:o,operation:r}),Reflect.defineMetadata(GP,i,e.constructor)}}function BIt(r){return zIt.warn(`extractPathAndMethod is deprecated. Use @Route decorators on method: ${r}`,{category:"provider",operation:"extractpathandmethod-deprecated-use-route-decorators-on-method"}),{path:"/api/unknown",method:"get"}}function KP(r){let e=Reflect.getMetadata(GP,r.constructor)||[],t=iQ(r.constructor)||[],n={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:UIt()}};for(let i of e)n.paths[i.path]||(n.paths[i.path]={}),n.paths[i.path][i.method.toLowerCase()]=i.operation;for(let i of t)n.paths[i.path]||(n.paths[i.path]={}),n.paths[i.path][i.method.toLowerCase()]||(n.paths[i.path][i.method.toLowerCase()]={summary:`${i.method.toUpperCase()} ${i.path}`,description:`${i.method.toUpperCase()} endpoint for ${i.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 n}function UIt(){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},recurrence:{type:"string",description:"RFC 5545 recurrence rule string",nullable:!0},recurrence_anchor:{type:"string",enum:["scheduled","completion"],description:"Whether recurrence advances from the scheduled date or completion date",nullable:!0},reminders:{type:"array",items:{$ref:"#/components/schemas/Reminder"},description:"Task reminders"},blockedBy:{type:"array",items:{$ref:"#/components/schemas/TaskDependency"},description:"Dependencies that must be satisfied before this task can start"},blocking:{type:"array",items:{type:"string"},description:"Task paths this task blocks. This is derived from other tasks' blockedBy fields.",readOnly:!0},isBlocked:{type:"boolean",description:"Whether this task has incomplete blocking dependencies",readOnly:!0},isBlocking:{type:"boolean",description:"Whether this task blocks at least one other task",readOnly:!0},hasSubtasks:{type:"boolean",description:"Whether another task references this task as a project",readOnly:!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"},recurrence:{type:"string",description:"RFC 5545 recurrence rule string"},recurrence_anchor:{type:"string",enum:["scheduled","completion"],description:"Whether recurrence advances from the scheduled date or completion date"},reminders:{type:"array",items:{$ref:"#/components/schemas/Reminder"},description:"Task reminders"},blockedBy:{type:"array",items:{$ref:"#/components/schemas/TaskDependency"},description:"Dependencies that must be satisfied before this task can start"}},required:["title"]},FilterQuery:{allOf:[{$ref:"#/components/schemas/FilterGroup"},{type:"object",properties:{sortKey:{type:"string",description:"Optional task sort key, such as due, scheduled, priority, status, title, or a user field key."},sortDirection:{type:"string",enum:["asc","desc"],description:"Sort direction."},groupKey:{type:"string",description:"Optional grouping key, such as none, priority, context, project, due, scheduled, status, tags, completedDate, or a user field key."},subgroupKey:{type:"string",description:"Optional secondary grouping key."}}}]},FilterGroup:{type:"object",properties:{type:{type:"string",enum:["group"]},id:{type:"string",description:"Client-provided identifier for this group."},conjunction:{type:"string",enum:["and","or"],description:"How child conditions and groups are combined."},children:{type:"array",items:{oneOf:[{$ref:"#/components/schemas/FilterCondition"},{$ref:"#/components/schemas/FilterGroup"}]}}},required:["type","id","conjunction","children"]},FilterCondition:{type:"object",properties:{type:{type:"string",enum:["condition"]},id:{type:"string",description:"Client-provided identifier for this condition."},property:{type:"string",enum:["title","path","status","priority","tags","contexts","projects","blockedBy","blocking","due","scheduled","completedDate","dateCreated","dateModified","archived","hasSubtasks","dependencies.isBlocked","dependencies.isBlocking","timeEstimate","recurrence","status.isCompleted"],description:"Task property to filter on. User fields use user:<fieldId>."},operator:{type:"string",enum:["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"],description:"Comparison operator. Use an operator supported by the selected property."},value:{description:"Comparison value. Empty and checked operators do not require a value.",nullable:!0,oneOf:[{type:"string"},{type:"array",items:{type:"string"}},{type:"number"},{type:"boolean"}]}},required:["type","id","property","operator"]},TaskDependency:{type:"object",properties:{uid:{type:"string",description:"Link or identifier for the blocking task"},reltype:{type:"string",enum:["FINISHTOSTART","FINISHTOFINISH","STARTTOSTART","STARTTOFINISH"],description:"Dependency relationship type"},gap:{type:"string",description:"Optional ISO 8601 duration offset between tasks"}},required:["uid","reltype"]},Reminder:{type:"object",properties:{id:{type:"string",description:"Reminder identifier"},type:{type:"string",enum:["absolute","relative"],description:"Reminder type"},absoluteTime:{type:"string",format:"date-time",description:"Absolute reminder timestamp"},relatedTo:{type:"string",enum:["due","scheduled"],description:"Date field used as the relative reminder anchor"},offset:{type:"string",description:"ISO 8601 duration relative to the anchor date"}},required:["id","type"]},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 iQ(r){return Reflect.getMetadata("routes",r)||[]}var m3r,zIt,jIt,GP,AUe,op=y(()=>{m3r=tt(_Ue());G();zIt=I({tag:"Utils/OpenAPIDecorators"}),jIt=Symbol("openapi:operation"),GP=Symbol("openapi:endpoints"),AUe=Symbol("route")});function co(r){var e;return new URL((e=r.url)!=null?e:"","http://localhost")}var oy=y(()=>{});var h1,OUe=y(()=>{oy();op();h1=class{constructor(){this.routes=[]}compilePattern(e){let t=[],n=e.replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g,(a,s)=>(t.push(s),"([^/]+)"));return{regex:new RegExp(`^${n}$`),paramNames:t}}register(e,t,n){let{regex:i,paramNames:a}=this.compilePattern(t);this.routes.push({method:e,pattern:t,handler:n,regex:i,paramNames:a})}get(e,t){this.register("GET",e,t)}post(e,t){this.register("POST",e,t)}put(e,t){this.register("PUT",e,t)}delete(e,t){this.register("DELETE",e,t)}options(e,t){this.register("OPTIONS",e,t)}async route(e,t){let n=co(e).pathname,i=e.method;for(let a of this.routes)if(a.method===i){let s=n.match(a.regex);if(s){let o={};for(let l=0;l<a.paramNames.length;l++){let c=a.paramNames[l],d=s[l+1];d&&(o[c]=decodeURIComponent(d))}return await a.handler(e,t,o),!0}}return!1}registerController(e){let t=e,n=iQ(e.constructor);for(let i of n){let a=t[i.handler];typeof a=="function"&&this.register(i.method.toUpperCase(),i.path,a.bind(e))}}getRoutes(){return this.routes}}});function LUe(r,e){if(!r)return e;try{let t=new URL(r);return t.protocol!=="http:"&&t.protocol!=="https:"?void 0:qIt.has(t.hostname)?t.origin:void 0}catch(t){return}}function g1(r,e){var t,n;e!=null&&e.allowOrigin&&r.setHeader("Access-Control-Allow-Origin",e.allowOrigin),r.setHeader("Access-Control-Allow-Methods",(t=e==null?void 0:e.allowMethods)!=null?t:HIt),r.setHeader("Access-Control-Allow-Headers",(n=e==null?void 0:e.allowHeaders)!=null?n:VIt)}function y1(r,e,t,n){r.statusCode=e,r.setHeader("Content-Type","application/json"),g1(r,n),r.end(JSON.stringify(t))}function v1(r){return new Promise((e,t)=>{let n="";r.on("data",i=>{n+=i.toString()}),r.on("end",()=>{try{e(n?JSON.parse(n):{})}catch(i){t(new Error("Invalid JSON"))}}),r.on("error",t)})}var HIt,VIt,qIt,aQ=y(()=>{HIt="GET, POST, PUT, DELETE, OPTIONS",VIt="Content-Type, Authorization",qIt=new Set(["localhost","127.0.0.1","::1","[::1]"])});var Ss,ly=y(()=>{aQ();Ss=class{sendResponse(e,t,n){y1(e,t,n)}successResponse(e,t){return{success:!0,data:e,message:t}}errorResponse(e){return{success:!1,error:e}}getErrorMessage(e){return e instanceof Error?e.message:String(e)}async parseRequestBody(e){return await v1(e)}}});async function b1(r,e){let t=r.vault.getAbstractFileByPath(e.path);if(!(t instanceof FUe.TFile))return e;let n=await r.vault.read(t),{body:i}=Np(n);return{...e,details:i.replace(/\r\n/g,`
`).trimEnd()}}var FUe,sQ=y(()=>{FUe=require("obsidian");Ct()});var Ha,$Ue=y(()=>{oy();ly();sQ();op();Ha=class extends Ss{constructor(t,n,i,a,s){super();this.plugin=t;this.taskService=n;this.filterService=i;this.cacheManager=a;this.taskStatsService=s}async getTasks(t,n){try{let i=co(t).searchParams;if(["status","priority","project","context","tag","overdue","completed","archived","due_before","due_after","sort"].some(h=>i.has(h))){this.sendResponse(n,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 o=await this.cacheManager.getAllTasks(),l=0,c=50,d=i.get("offset");d&&(l=parseInt(d,10),(isNaN(l)||l<0)&&(l=0));let u=i.get("limit");u&&(c=parseInt(u,10),(isNaN(c)||c<1)&&(c=50),c>200&&(c=200));let p=o.slice(l,l+c),m=this.plugin.app.vault.adapter,f=null;try{"basePath"in m&&typeof m.basePath=="string"?f=m.basePath:"path"in m&&typeof m.path=="string"&&(f=m.path)}catch(h){}this.sendResponse(n,200,this.successResponse({tasks:p,pagination:{total:o.length,offset:l,limit:c,hasMore:l+c<o.length},vault:{name:this.plugin.app.vault.getName(),path:f},note:"For filtering and advanced queries, use POST /api/tasks/query"}))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async createTask(t,n){try{let i=await this.parseRequestBody(t);if(!i.title||!i.title.trim()){this.sendResponse(n,400,this.errorResponse("Title is required"));return}let a=await this.taskService.createTask(i);this.sendResponse(n,201,this.successResponse(a.taskInfo))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async getTask(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let o=await b1(this.plugin.app,s);this.sendResponse(n,200,this.successResponse(o))}catch(a){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(a)))}}async updateTask(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.parseRequestBody(t),o=await this.cacheManager.getTaskInfo(a);if(!o){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let l=await this.taskService.updateTask(o,s);this.sendResponse(n,200,this.successResponse(l))}catch(a){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(a)))}}async deleteTask(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}await this.taskService.deleteTask(s),this.sendResponse(n,200,this.successResponse({message:"Task deleted successfully"}))}catch(a){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(a)))}}async toggleStatus(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let o=await this.taskService.toggleStatus(s);this.sendResponse(n,200,this.successResponse(o))}catch(a){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(a)))}}async toggleArchive(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let o=await this.taskService.toggleArchive(s);this.sendResponse(n,200,this.successResponse(o))}catch(a){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(a)))}}async completeRecurringInstance(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let{date:s}=await this.parseRequestBody(t),o=await this.cacheManager.getTaskInfo(a);if(!o){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let l=s?new Date(s):void 0,c=await this.taskService.toggleRecurringTaskComplete(o,l);this.sendResponse(n,200,this.successResponse(c))}catch(a){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(a)))}}async queryTasks(t,n){try{let i=await this.parseRequestBody(t),a=await this.filterService.getGroupedTasks(i),s=[];for(let d of a.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(n,200,this.successResponse({tasks:s,total:o.length,filtered:s.length,vault:{name:this.plugin.app.vault.getName(),path:c}}))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async getFilterOptions(t,n){try{let i=await this.filterService.getFilterOptions();this.sendResponse(n,200,this.successResponse(i))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getStats(t,n){try{let i=await this.cacheManager.getAllTasks(),a=this.taskStatsService.getStats(i),s={total:a.total,completed:a.completed,active:a.active,overdue:a.overdue,archived:a.archived,withTimeTracking:a.withTimeEntries};this.sendResponse(n,200,this.successResponse(s))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}};rt([Yr("/api/tasks")],Ha.prototype,"getTasks",1),rt([ri("/api/tasks")],Ha.prototype,"createTask",1),rt([Yr("/api/tasks/:id")],Ha.prototype,"getTask",1),rt([NUe("/api/tasks/:id")],Ha.prototype,"updateTask",1),rt([f1("/api/tasks/:id")],Ha.prototype,"deleteTask",1),rt([ri("/api/tasks/:id/toggle-status")],Ha.prototype,"toggleStatus",1),rt([ri("/api/tasks/:id/archive")],Ha.prototype,"toggleArchive",1),rt([ri("/api/tasks/:id/complete-instance")],Ha.prototype,"completeRecurringInstance",1),rt([RUe({summary:"Query tasks",description:"Filter, sort, and group tasks with a TaskNotes FilterQuery payload.",operationId:"queryTasks",tags:["Tasks"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/FilterQuery"},example:{type:"group",id:"root",conjunction:"and",children:[{type:"condition",id:"context",property:"contexts",operator:"contains",value:"@office"}],sortKey:"due",sortDirection:"asc"}}}},responses:{200:{description:"Tasks matching the query",content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}}},400:{description:"Invalid query payload",content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}}}}}),ri("/api/tasks/query")],Ha.prototype,"queryTasks",1),rt([Yr("/api/filter-options")],Ha.prototype,"getFilterOptions",1),rt([Yr("/api/stats")],Ha.prototype,"getStats",1)});var Dd,zUe=y(()=>{oy();ly();op();cP();Dd=class extends Ss{constructor(t,n,i,a){super();this.plugin=t;this.taskService=n;this.cacheManager=i;this.statusManager=a}async startTimeTracking(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let o=await this.taskService.startTimeTracking(s);this.sendResponse(n,200,this.successResponse(o))}catch(a){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(a)))}}async stopTimeTracking(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let o=await this.taskService.stopTimeTracking(s);this.sendResponse(n,200,this.successResponse(o))}catch(a){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(a)))}}async startTimeTrackingWithDescription(t,n,i){var a;try{let s=i==null?void 0:i.id;if(!s){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let o=await this.cacheManager.getTaskInfo(s);if(!o){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let c=(a=(await this.parseRequestBody(t)).description)!=null?a:"",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,d=await this.taskService.updateTask(d,{timeEntries:d.timeEntries}))}this.sendResponse(n,200,this.successResponse({task:d,message:c?`Time tracking started with description: ${c}`:"Time tracking started"}))}catch(s){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(s)))}}async getActiveTimeSessions(t,n){try{let i=await this.cacheManager.getAllTasks(),a=ik(i,s=>this.plugin.getActiveTimeSession(s));this.sendResponse(n,200,this.successResponse(a))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getTimeSummary(t,n){try{let i=co(t).searchParams,a=await this.cacheManager.getAllTasks(),s=i.get("period")||"today",o=i.get("from"),l=i.get("to"),c=o?new Date(o):null,d=l?new Date(l):null,u=ak(a,{period:s,fromDate:c,toDate:d,includeTags:!0},p=>this.statusManager.isCompletedStatus(p));this.sendResponse(n,200,this.successResponse(u))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getTaskTimeData(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(a);if(!s){this.sendResponse(n,404,this.errorResponse("Task not found"));return}let o=Xm(s,l=>this.plugin.getActiveTimeSession(l));this.sendResponse(n,200,this.successResponse(o))}catch(a){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(a)))}}};rt([ri("/api/tasks/:id/time/start")],Dd.prototype,"startTimeTracking",1),rt([ri("/api/tasks/:id/time/stop")],Dd.prototype,"stopTimeTracking",1),rt([ri("/api/tasks/:id/time/start-with-description")],Dd.prototype,"startTimeTrackingWithDescription",1),rt([Yr("/api/time/active")],Dd.prototype,"getActiveTimeSessions",1),rt([Yr("/api/time/summary")],Dd.prototype,"getTimeSummary",1),rt([Yr("/api/tasks/:id/time")],Dd.prototype,"getTaskTimeData",1)});var Kl,jUe=y(()=>{oy();ly();op();Kl=class extends Ss{constructor(t,n){super();this.plugin=t;this.cacheManager=n}async startPomodoro(t,n){try{let i=await this.parseRequestBody(t),a;if(i.taskId){let c=await this.cacheManager.getTaskInfo(i.taskId);if(!c){this.sendResponse(n,404,this.errorResponse("Task not found"));return}a=c}if(this.plugin.pomodoroService.getState().isRunning){this.sendResponse(n,400,this.errorResponse("Pomodoro session is already running. Stop or pause the current session first."));return}let o=i.duration!==void 0?parseInt(String(i.duration),10):void 0;await this.plugin.pomodoroService.startPomodoro(a,o);let l=this.plugin.pomodoroService.getState();this.sendResponse(n,200,this.successResponse({session:l.currentSession,task:a||null,message:"Pomodoro session started"}))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async stopPomodoro(t,n){try{if(!this.plugin.pomodoroService.getState().currentSession){this.sendResponse(n,400,this.errorResponse("No active pomodoro session to stop"));return}await this.plugin.pomodoroService.stopPomodoro(),this.sendResponse(n,200,this.successResponse({message:"Pomodoro session stopped and reset"}))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async pausePomodoro(t,n){try{let i=this.plugin.pomodoroService.getState();if(!i.isRunning||!i.currentSession){this.sendResponse(n,400,this.errorResponse("No running pomodoro session to pause"));return}await this.plugin.pomodoroService.pausePomodoro();let a=this.plugin.pomodoroService.getState();this.sendResponse(n,200,this.successResponse({timeRemaining:a.timeRemaining,message:"Pomodoro session paused"}))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async resumePomodoro(t,n){try{let i=this.plugin.pomodoroService.getState();if(i.isRunning){this.sendResponse(n,400,this.errorResponse("Pomodoro session is already running"));return}if(!i.currentSession){this.sendResponse(n,400,this.errorResponse("No paused session to resume"));return}await this.plugin.pomodoroService.resumePomodoro();let a=this.plugin.pomodoroService.getState();this.sendResponse(n,200,this.successResponse({timeRemaining:a.timeRemaining,message:"Pomodoro session resumed"}))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async getPomodoroStatus(t,n){try{let a={...this.plugin.pomodoroService.getState(),totalPomodoros:await this.plugin.pomodoroService.getPomodorosCompleted(),currentStreak:await this.plugin.pomodoroService.getCurrentStreak(),totalMinutesToday:await this.plugin.pomodoroService.getTotalMinutesToday()};this.sendResponse(n,200,this.successResponse(a))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getPomodoroSessions(t,n){try{let i=co(t).searchParams,a=await this.plugin.pomodoroService.getSessionHistory(),s=i.get("date");if(s){let c=s;a=a.filter(d=>new Date(d.startTime).toISOString().split("T")[0]===c)}let o=a.length,l=i.get("limit");if(l){let c=parseInt(l,10);c>0&&(a=a.slice(-c))}this.sendResponse(n,200,this.successResponse({sessions:a,total:o}))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getPomodoroStats(t,n){try{let i=co(t).searchParams,a,s=i.get("date");if(s){let o=new Date(s);a=await this.plugin.pomodoroService.getStatsForDate(o)}else a=await this.plugin.pomodoroService.getTodayStats();this.sendResponse(n,200,this.successResponse(a))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}};rt([ri("/api/pomodoro/start")],Kl.prototype,"startPomodoro",1),rt([ri("/api/pomodoro/stop")],Kl.prototype,"stopPomodoro",1),rt([ri("/api/pomodoro/pause")],Kl.prototype,"pausePomodoro",1),rt([ri("/api/pomodoro/resume")],Kl.prototype,"resumePomodoro",1),rt([Yr("/api/pomodoro/status")],Kl.prototype,"getPomodoroStatus",1),rt([Yr("/api/pomodoro/sessions")],Kl.prototype,"getPomodoroSessions",1),rt([Yr("/api/pomodoro/stats")],Kl.prototype,"getPomodoroStats",1)});var BUe,lp,UUe=y(()=>{ly();Lx();op();G();BUe=I({tag:"Api/SystemController"}),lp=class extends Ss{constructor(t,n,i,a){super();this.plugin=t;this.taskService=n;this.nlParser=i;this.httpAPIService=a}async healthCheck(t,n){let i=this.plugin.app.vault.getName(),a=this.plugin.app.vault.adapter,s=null;try{"basePath"in a&&typeof a.basePath=="string"?s=a.basePath:"path"in a&&typeof a.path=="string"&&(s=a.path)}catch(o){}this.sendResponse(n,200,this.successResponse({status:"ok",timestamp:new Date().toISOString(),vault:{name:i,path:s}}))}async handleNLPParse(t,n){try{let i=await this.parseRequestBody(t);if(!i.text||typeof i.text!="string"){this.sendResponse(n,400,this.errorResponse("Text field is required and must be a string"));return}let a=this.nlParser.parseInput(i.text),s=Su(this.plugin,a);this.sendResponse(n,200,this.successResponse({parsed:a,taskData:s}))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async handleNLPCreate(t,n){try{let i=await this.parseRequestBody(t);if(!i.text||typeof i.text!="string"){this.sendResponse(n,400,this.errorResponse("Text field is required and must be a string"));return}let a=this.nlParser.parseInput(i.text),s=Su(this.plugin,a,{creationContext:"api"}),o=await this.taskService.createTask(s);this.sendResponse(n,201,this.successResponse({task:o.taskInfo,parsed:a}))}catch(i){this.sendResponse(n,400,this.errorResponse(this.getErrorMessage(i)))}}async handleOpenAPISpec(t,n){try{let i=this.httpAPIService&&this.httpAPIService.generateOpenAPISpec?this.httpAPIService.generateOpenAPISpec():KP(this);n.statusCode=200,n.setHeader("Content-Type","application/json"),n.end(JSON.stringify(i,null,2))}catch(i){BUe.error("OpenAPI spec generation error:",{category:"provider",operation:"openapi-spec-generation",error:i}),this.sendResponse(n,500,this.errorResponse("Failed to generate API specification"))}}async handleSwaggerUI(t,n){try{let i=this.generateSwaggerUIHTML();n.statusCode=200,n.setHeader("Content-Type","text/html"),n.end(i)}catch(i){BUe.error("Swagger UI generation error:",{category:"provider",operation:"swagger-ui-generation",error:i}),this.sendResponse(n,500,this.errorResponse("Failed to generate API documentation"))}}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>`}};rt([Yr("/api/health")],lp.prototype,"healthCheck",1),rt([ri("/api/nlp/parse")],lp.prototype,"handleNLPParse",1),rt([ri("/api/nlp/create")],lp.prototype,"handleNLPCreate",1),rt([Yr("/api/docs")],lp.prototype,"handleOpenAPISpec",1),rt([Yr("/api/docs/ui")],lp.prototype,"handleSwaggerUI",1)});function T1(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)}function YIt(r){return typeof r=="string"&&WIt.has(r)}function of(r){return r instanceof Error?r.message:String(r)}function oQ(r){return typeof r=="string"&&r.length>0?r:void 0}var HUe,vk,WIt,lf,VUe=y(()=>{HUe=require("obsidian");ly();op();G();vk=I({tag:"Api/WebhookController"}),WIt=new Set(["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","recurring.instance.skipped","reminder.triggered"]);lf=class extends Ss{constructor(t){super();this.plugin=t;this.webhooks=new Map;this.webhookDeliveryQueue=[];this.loadWebhooks()}async registerWebhook(t,n){var i,a;try{let s=await this.parseRequestBody(t),o=T1(s)?s:{};if(typeof o.url!="string"){this.sendResponse(n,400,this.errorResponse("URL is required and must be a string"));return}if(!Array.isArray(o.events)||o.events.length===0||!o.events.every(YIt)){this.sendResponse(n,400,this.errorResponse("Events array is required and must contain valid webhook events"));return}let l=(i=oQ(o.id))!=null?i:this.generateWebhookId(),c=(a=oQ(o.secret))!=null?a:this.generateWebhookSecret(),d={id:l,url:o.url,events:o.events,secret:c,active:o.active!==!1,createdAt:new Date().toISOString(),failureCount:0,successCount:0,transformFile:oQ(o.transformFile),corsHeaders:o.corsHeaders!==!1};this.webhooks.set(l,d),await this.saveWebhooks(),this.sendResponse(n,201,this.successResponse({webhook:d,message:"Webhook registered successfully. Save the secret for signature validation."}))}catch(s){this.sendResponse(n,400,this.errorResponse(of(s)))}}async listWebhooks(t,n){try{let i=Array.from(this.webhooks.values()).map(a=>({...a,secret:void 0}));this.sendResponse(n,200,this.successResponse({webhooks:i,total:i.length}))}catch(i){this.sendResponse(n,500,this.errorResponse(of(i)))}}async deleteWebhook(t,n,i){try{let a=i==null?void 0:i.id;if(!a){this.sendResponse(n,400,this.errorResponse("Webhook ID is required"));return}if(!this.webhooks.has(a)){this.sendResponse(n,404,this.errorResponse("Webhook not found"));return}this.webhooks.delete(a),await this.saveWebhooks(),this.sendResponse(n,200,this.successResponse({message:"Webhook deleted successfully"}))}catch(a){this.sendResponse(n,500,this.errorResponse(of(a)))}}async getWebhookDeliveries(t,n){try{let i=this.webhookDeliveryQueue.slice(-100);this.sendResponse(n,200,this.successResponse({deliveries:i,total:i.length}))}catch(i){this.sendResponse(n,500,this.errorResponse(of(i)))}}async triggerWebhook(t,n){setImmediate(()=>{this.processWebhookTrigger(t,n).catch(i=>{vk.error("Webhook processing error:",{category:"provider",operation:"webhook-processing",error:i})})})}async processWebhookTrigger(t,n){let i=Array.from(this.webhooks.values()).filter(l=>l.active&&l.events.includes(t));if(i.length===0)return;let a=this.plugin.app.vault.adapter,s;try{"basePath"in a&&typeof a.basePath=="string"?s=a.basePath:"path"in a&&typeof a.path=="string"&&(s=a.path)}catch(l){}let o={event:t,timestamp:new Date().toISOString(),vault:{name:this.plugin.app.vault.getName(),path:s},data:n};for(let l of i){let c=o;if(l.transformFile)try{c=await this.applyTransformation(l.transformFile,o)}catch(u){vk.error(`Transform error for ${l.transformFile}:`,{category:"provider",operation:"transform",error:u})}let d={id:this.generateDeliveryId(),webhookId:l.id,event:t,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(t,n,i=0){try{n.attempts++,n.lastAttempt=new Date().toISOString();let s=await this.generateSignature(n.payload,t.secret),o={"Content-Type":"application/json"};t.corsHeaders!==!1&&(o["X-TaskNotes-Event"]=n.event,o["X-TaskNotes-Signature"]=s,o["X-TaskNotes-Delivery-ID"]=n.id);let l=await(0,HUe.requestUrl)({url:t.url,method:"POST",headers:o,body:JSON.stringify(n.payload),throw:!1});if(n.responseStatus=l.status,l.status>=200&&l.status<300)n.status="success",t.successCount++,t.lastTriggered=new Date().toISOString();else throw new Error(`HTTP ${l.status}: ${l.text}`)}catch(s){if(n.error=of(s),t.failureCount++,i<3){let o=Math.pow(2,i)*1e3;window.setTimeout(()=>{this.deliverWebhook(t,n,i+1)},o)}else n.status="failed",t.failureCount>10&&(t.active=!1,vk.warn(`Webhook ${t.id} disabled after ${t.failureCount} failures`,{category:"provider",operation:"webhook"}))}await this.saveWebhooks()}async generateSignature(t,n){let i=new TextEncoder,a=await crypto.subtle.importKey("raw",i.encode(n),{name:"HMAC",hash:"SHA-256"},!1,["sign"]),s=await crypto.subtle.sign("HMAC",a,i.encode(JSON.stringify(t)));return this.bytesToHex(new Uint8Array(s))}generateWebhookId(){return`wh_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}generateWebhookSecret(){return this.bytesToHex(crypto.getRandomValues(new Uint8Array(32)))}generateDeliveryId(){return`del_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}bytesToHex(t){return Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("")}async saveWebhooks(){let t=Array.from(this.webhooks.values());this.plugin.settings.webhooks=t,await this.plugin.saveSettings()}loadWebhooks(){if(this.plugin.settings.webhooks){this.webhooks.clear();for(let t of this.plugin.settings.webhooks)this.webhooks.set(t.id,t)}}syncFromSettings(){this.loadWebhooks()}async applyTransformation(t,n){try{if(t.endsWith(".js"))throw new Error("JavaScript webhook transforms are no longer supported. Use a JSON transform template instead.");return t.endsWith(".json")?await this.applyJSONTransformation(t,n):(vk.warn(`\u26A0\uFE0F Unknown transform file type for ${t}, using original payload`,{category:"provider",operation:"unknown-transform-file-type"}),n)}catch(i){throw vk.error(`\u274C Transformation failed for ${t}:`,{category:"provider",operation:"transformation",error:i}),i}}async applyJSONTransformation(t,n){var i;try{let a;try{a=await this.plugin.app.vault.adapter.read(t)}catch(c){throw new Error(`Failed to read template file '${t}': ${of(c)}. Please check the file path and ensure it exists in your vault.`)}if(!a.trim())throw new Error(`Template file '${t}' is empty. Please add JSON template content.`);let s;try{s=JSON.parse(a)}catch(c){throw new Error(`Invalid JSON in template file '${t}': ${of(c)}`)}if(!T1(s))throw new Error(`Invalid JSON in template file '${t}': expected an object with event templates`);let o=(i=s[n.event])!=null?i:s.default;if(!o){let c=Object.keys(s).filter(d=>d!=="default");throw new Error(`No template found for event '${n.event}' and no default template. Available templates: ${c.join(", ")}`)}return this.interpolateTemplate(o,n)}catch(a){throw vk.error(`\u274C JSON transformation error for '${t}':`,{category:"provider",operation:"json-transformation",details:{value:of(a)}}),a}}interpolateTemplate(t,n){if(typeof t=="string")return t.replace(/\$\{([^}]+)\}/g,(i,a)=>{let s=this.getNestedValue(n,a);return s==null?i:this.formatTemplateValue(s)});if(Array.isArray(t))return t.map(i=>this.interpolateTemplate(i,n));if(T1(t)){let i={};for(let[a,s]of Object.entries(t))i[a]=this.interpolateTemplate(s,n);return i}else return t}getNestedValue(t,n){return n.split(".").reduce((i,a)=>{if(T1(i))return i[a]!==void 0?i[a]:void 0},t)}formatTemplateValue(t){if(typeof t=="string")return t;if(typeof t=="number")return Number.prototype.toString.call(t);if(typeof t=="bigint")return BigInt.prototype.toString.call(t);if(typeof t=="boolean")return t?"true":"false";try{let n=JSON.stringify(t);return typeof n=="string"?n:""}catch(n){return""}}};rt([ri("/api/webhooks")],lf.prototype,"registerWebhook",1),rt([Yr("/api/webhooks")],lf.prototype,"listWebhooks",1),rt([f1("/api/webhooks/:id")],lf.prototype,"deleteWebhook",1),rt([Yr("/api/webhooks/deliveries")],lf.prototype,"getWebhookDeliveries",1)});function qUe(r,e,t){if(!e&&!t)return!0;let n=new Date(r.start),i=r.end?new Date(r.end):n;return!(e&&i<e||t&&n>t)}function GIt(r){return r.startsWith("google-")?"google":r.startsWith("microsoft-")?"microsoft":"unknown"}function k1(r,e,t){var l,c;let n=(l=t.start)!=null?l:null,i=(c=t.end)!=null?c:null,a=[],s={},o=r.getAllEvents();for(let d of o){let u=GIt(d.subscriptionId);qUe(d,n,i)&&(a.push({...d,provider:u}),s[u]=(s[u]||0)+1)}if(e){let d=e.getAllEvents();for(let u of d)qUe(u,n,i)&&(a.push({...u,provider:"ics"}),s.ics=(s.ics||0)+1)}return a.sort((d,u)=>new Date(d.start).getTime()-new Date(u.start).getTime()),{events:a,total:a.length,sources:s}}var lQ=y(()=>{});var cp,WUe=y(()=>{oy();ly();op();lQ();cp=class extends Ss{constructor(t,n,i,a){super();this.plugin=t;this.oauthService=n;this.icsSubscriptionService=i;this.calendarProviderRegistry=a}async getCalendars(t,n){try{let i=await this.getProvidersOverview(),a=this.icsSubscriptionService.getSubscriptions();this.sendResponse(n,200,this.successResponse({providers:i,subscriptions:{total:a.length,enabled:a.filter(s=>s.enabled).length}}))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getGoogleCalendars(t,n){try{let i=await this.getProviderDetails("google");this.sendResponse(n,200,this.successResponse(i))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getMicrosoftCalendars(t,n){try{let i=await this.getProviderDetails("microsoft");this.sendResponse(n,200,this.successResponse(i))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getSubscriptions(t,n){try{let a=this.icsSubscriptionService.getSubscriptions().map(s=>({...s,lastFetched:this.icsSubscriptionService.getLastFetched(s.id)||null,lastError:this.icsSubscriptionService.getLastError(s.id)||null}));this.sendResponse(n,200,this.successResponse({subscriptions:a}))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getEvents(t,n){try{let i=co(t).searchParams,a=i.get("start"),s=i.get("end"),o=a?new Date(a):null,l=s?new Date(s):null,c=k1(this.calendarProviderRegistry,this.icsSubscriptionService,{start:o,end:l});this.sendResponse(n,200,this.successResponse(c))}catch(i){this.sendResponse(n,500,this.errorResponse(this.getErrorMessage(i)))}}async getProvidersOverview(){var c,d;let t=[],n=await this.oauthService.isConnected("google"),i=n?await this.oauthService.getConnection("google"):null,a=((c=this.plugin.googleCalendarService)==null?void 0:c.getAvailableCalendars())||[];t.push({id:"google",name:"Google Calendar",connected:n,...n&&{email:i==null?void 0:i.userEmail,calendarCount:a.length}});let s=await this.oauthService.isConnected("microsoft"),o=s?await this.oauthService.getConnection("microsoft"):null,l=((d=this.plugin.microsoftCalendarService)==null?void 0:d.getAvailableCalendars())||[];return t.push({id:"microsoft",name:"Microsoft Calendar",connected:s,...s&&{email:o==null?void 0:o.userEmail,calendarCount:l.length}}),t}async getProviderDetails(t){let n=await this.oauthService.isConnected(t),i=n?await this.oauthService.getConnection(t):null;if(!n)return{connected:!1};let a=t==="google"?this.plugin.googleCalendarService:this.plugin.microsoftCalendarService,s=(a==null?void 0:a.getAvailableCalendars())||[];return{connected:!0,email:i==null?void 0:i.userEmail,connectedAt:i==null?void 0:i.connectedAt,calendars:s}}};rt([Yr("/api/calendars")],cp.prototype,"getCalendars",1),rt([Yr("/api/calendars/google")],cp.prototype,"getGoogleCalendars",1),rt([Yr("/api/calendars/microsoft")],cp.prototype,"getMicrosoftCalendars",1),rt([Yr("/api/calendars/subscriptions")],cp.prototype,"getSubscriptions",1),rt([Yr("/api/calendars/events")],cp.prototype,"getEvents",1)});var ZP=y(()=>{GL()});function W(r,e,t){var o;function n(l,c){var u,p;var d;Object.defineProperty(l,"_zod",{value:(u=l._zod)!=null?u:{},enumerable:!1}),(p=(d=l._zod).traits)!=null||(d.traits=new Set),l._zod.traits.add(r),e(l,c);for(let m in s.prototype)m in l||Object.defineProperty(l,m,{value:s.prototype[m].bind(l)});l._zod.constr=s,l._zod.def=c}let i=(o=t==null?void 0:t.Parent)!=null?o:Object;class a extends i{}Object.defineProperty(a,"name",{value:r});function s(l){var u;var c;let d=t!=null&&t.Parent?new a:this;n(d,l),(u=(c=d._zod).deferred)!=null||(c.deferred=[]);for(let p of d._zod.deferred)p();return d}return Object.defineProperty(s,"init",{value:n}),Object.defineProperty(s,Symbol.hasInstance,{value:l=>{var c,d;return t!=null&&t.Parent&&l instanceof t.Parent?!0:(d=(c=l==null?void 0:l._zod)==null?void 0:c.traits)==null?void 0:d.has(r)}}),Object.defineProperty(s,"name",{value:r}),s}function uo(r){return r&&Object.assign(w1,r),w1}var ZIt,QIt,dp,w1,bk=y(()=>{ZIt=Object.freeze({status:"aborted"});QIt=Symbol("zod_brand"),dp=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},w1={}});var Ot={};et(Ot,{BIGINT_FORMAT_RANGES:()=>GUe,Class:()=>dQ,NUMBER_FORMAT_RANGES:()=>yQ,aborted:()=>dy,allowsEval:()=>fQ,assert:()=>rNt,assertEqual:()=>JIt,assertIs:()=>eNt,assertNever:()=>tNt,assertNotEqual:()=>XIt,assignProp:()=>mQ,cached:()=>XP,captureStackTrace:()=>E1,cleanEnum:()=>hNt,cleanRegex:()=>t0,clone:()=>po,createTransparentProxy:()=>lNt,defineLazy:()=>Gr,esc:()=>cy,escapeRegex:()=>cf,extend:()=>uNt,finalizeIssue:()=>Zl,floatSafeRemainder:()=>pQ,getElementAtPath:()=>nNt,getEnumValues:()=>JP,getLengthableOrigin:()=>r0,getParsedType:()=>oNt,getSizableOrigin:()=>KUe,isObject:()=>Tk,isPlainObject:()=>kk,issue:()=>vQ,joinValues:()=>S1,jsonStringifyReplacer:()=>uQ,merge:()=>pNt,normalizeParams:()=>Ze,nullish:()=>e0,numKeys:()=>sNt,omit:()=>dNt,optionalKeys:()=>gQ,partial:()=>mNt,pick:()=>cNt,prefixIssues:()=>Pd,primitiveTypes:()=>YUe,promiseAllObject:()=>iNt,propertyKeyTypes:()=>hQ,randomString:()=>aNt,required:()=>fNt,stringifyPrimitive:()=>x1,unwrapMessage:()=>QP});function JIt(r){return r}function XIt(r){return r}function eNt(r){}function tNt(r){throw new Error}function rNt(r){}function JP(r){let e=Object.values(r).filter(n=>typeof n=="number");return Object.entries(r).filter(([n,i])=>e.indexOf(+n)===-1).map(([n,i])=>i)}function S1(r,e="|"){return r.map(t=>x1(t)).join(e)}function uQ(r,e){return typeof e=="bigint"?e.toString():e}function XP(r){return{get value(){{let t=r();return Object.defineProperty(this,"value",{value:t}),t}throw new Error("cached value already set")}}}function e0(r){return r==null}function t0(r){let e=r.startsWith("^")?1:0,t=r.endsWith("$")?r.length-1:r.length;return r.slice(e,t)}function pQ(r,e){let t=(r.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=t>n?t:n,a=Number.parseInt(r.toFixed(i).replace(".","")),s=Number.parseInt(e.toFixed(i).replace(".",""));return a%s/10**i}function Gr(r,e,t){Object.defineProperty(r,e,{get(){{let i=t();return r[e]=i,i}throw new Error("cached value already set")},set(i){Object.defineProperty(r,e,{value:i})},configurable:!0})}function mQ(r,e,t){Object.defineProperty(r,e,{value:t,writable:!0,enumerable:!0,configurable:!0})}function nNt(r,e){return e?e.reduce((t,n)=>t==null?void 0:t[n],r):r}function iNt(r){let e=Object.keys(r),t=e.map(n=>r[n]);return Promise.all(t).then(n=>{let i={};for(let a=0;a<e.length;a++)i[e[a]]=n[a];return i})}function aNt(r=10){let e="abcdefghijklmnopqrstuvwxyz",t="";for(let n=0;n<r;n++)t+=e[Math.floor(Math.random()*e.length)];return t}function cy(r){return JSON.stringify(r)}function Tk(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)}function kk(r){if(Tk(r)===!1)return!1;let e=r.constructor;if(e===void 0)return!0;let t=e.prototype;return!(Tk(t)===!1||Object.prototype.hasOwnProperty.call(t,"isPrototypeOf")===!1)}function sNt(r){let e=0;for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&e++;return e}function cf(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function po(r,e,t){let n=new r._zod.constr(e!=null?e:r._zod.def);return(!e||t!=null&&t.parent)&&(n._zod.parent=r),n}function Ze(r){let e=r;if(!e)return{};if(typeof e=="string")return{error:()=>e};if((e==null?void 0:e.message)!==void 0){if((e==null?void 0:e.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function lNt(r){let e;return new Proxy({},{get(t,n,i){return e!=null||(e=r()),Reflect.get(e,n,i)},set(t,n,i,a){return e!=null||(e=r()),Reflect.set(e,n,i,a)},has(t,n){return e!=null||(e=r()),Reflect.has(e,n)},deleteProperty(t,n){return e!=null||(e=r()),Reflect.deleteProperty(e,n)},ownKeys(t){return e!=null||(e=r()),Reflect.ownKeys(e)},getOwnPropertyDescriptor(t,n){return e!=null||(e=r()),Reflect.getOwnPropertyDescriptor(e,n)},defineProperty(t,n,i){return e!=null||(e=r()),Reflect.defineProperty(e,n,i)}})}function x1(r){return typeof r=="bigint"?r.toString()+"n":typeof r=="string"?`"${r}"`:`${r}`}function gQ(r){return Object.keys(r).filter(e=>r[e]._zod.optin==="optional"&&r[e]._zod.optout==="optional")}function cNt(r,e){let t={},n=r._zod.def;for(let i in e){if(!(i in n.shape))throw new Error(`Unrecognized key: "${i}"`);e[i]&&(t[i]=n.shape[i])}return po(r,{...r._zod.def,shape:t,checks:[]})}function dNt(r,e){let t={...r._zod.def.shape},n=r._zod.def;for(let i in e){if(!(i in n.shape))throw new Error(`Unrecognized key: "${i}"`);e[i]&&delete t[i]}return po(r,{...r._zod.def,shape:t,checks:[]})}function uNt(r,e){if(!kk(e))throw new Error("Invalid input to extend: expected a plain object");let t={...r._zod.def,get shape(){let n={...r._zod.def.shape,...e};return mQ(this,"shape",n),n},checks:[]};return po(r,t)}function pNt(r,e){return po(r,{...r._zod.def,get shape(){let t={...r._zod.def.shape,...e._zod.def.shape};return mQ(this,"shape",t),t},catchall:e._zod.def.catchall,checks:[]})}function mNt(r,e,t){let n=e._zod.def.shape,i={...n};if(t)for(let a in t){if(!(a in n))throw new Error(`Unrecognized key: "${a}"`);t[a]&&(i[a]=r?new r({type:"optional",innerType:n[a]}):n[a])}else for(let a in n)i[a]=r?new r({type:"optional",innerType:n[a]}):n[a];return po(e,{...e._zod.def,shape:i,checks:[]})}function fNt(r,e,t){let n=e._zod.def.shape,i={...n};if(t)for(let a in t){if(!(a in i))throw new Error(`Unrecognized key: "${a}"`);t[a]&&(i[a]=new r({type:"nonoptional",innerType:n[a]}))}else for(let a in n)i[a]=new r({type:"nonoptional",innerType:n[a]});return po(e,{...e._zod.def,shape:i,checks:[]})}function dy(r,e=0){var t;for(let n=e;n<r.issues.length;n++)if(((t=r.issues[n])==null?void 0:t.continue)!==!0)return!0;return!1}function Pd(r,e){return e.map(t=>{var i;var n;return(i=(n=t).path)!=null||(n.path=[]),t.path.unshift(r),t})}function QP(r){return typeof r=="string"?r:r==null?void 0:r.message}function Zl(r,e,t){var i,a,s,o,l,c,d,u,p,m,f;let n={...r,path:(i=r.path)!=null?i:[]};if(!r.message){let h=(f=(m=(u=(c=QP((o=(s=(a=r.inst)==null?void 0:a._zod.def)==null?void 0:s.error)==null?void 0:o.call(s,r)))!=null?c:QP((l=e==null?void 0:e.error)==null?void 0:l.call(e,r)))!=null?u:QP((d=t.customError)==null?void 0:d.call(t,r)))!=null?m:QP((p=t.localeError)==null?void 0:p.call(t,r)))!=null?f:"Invalid input";n.message=h}return delete n.inst,delete n.continue,e!=null&&e.reportInput||delete n.input,n}function KUe(r){return r instanceof Set?"set":r instanceof Map?"map":r instanceof File?"file":"unknown"}function r0(r){return Array.isArray(r)?"array":typeof r=="string"?"string":"unknown"}function vQ(...r){let[e,t,n]=r;return typeof e=="string"?{message:e,code:"custom",input:t,inst:n}:{...e}}function hNt(r){return Object.entries(r).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}var E1,fQ,oNt,hQ,YUe,yQ,GUe,dQ,Md=y(()=>{E1=Error.captureStackTrace?Error.captureStackTrace:(...r)=>{};fQ=XP(()=>{var r;if(typeof navigator!="undefined"&&((r=navigator==null?void 0:navigator.userAgent)!=null&&r.includes("Cloudflare")))return!1;try{let e=Function;return new e(""),!0}catch(e){return!1}});oNt=r=>{let e=typeof r;switch(e){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(r)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(r)?"array":r===null?"null":r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?"promise":typeof Map!="undefined"&&r instanceof Map?"map":typeof Set!="undefined"&&r instanceof Set?"set":typeof Date!="undefined"&&r instanceof Date?"date":typeof File!="undefined"&&r instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${e}`)}},hQ=new Set(["string","number","symbol"]),YUe=new Set(["string","number","bigint","boolean","symbol","undefined"]);yQ={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},GUe={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};dQ=class{constructor(...e){}}});function bQ(r,e=t=>t.message){let t={},n=[];for(let i of r.issues)i.path.length>0?(t[i.path[0]]=t[i.path[0]]||[],t[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:t}}function TQ(r,e){let t=e||function(a){return a.message},n={_errors:[]},i=a=>{for(let s of a.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>i({issues:o}));else if(s.code==="invalid_key")i({issues:s.issues});else if(s.code==="invalid_element")i({issues:s.issues});else if(s.path.length===0)n._errors.push(t(s));else{let o=n,l=0;for(;l<s.path.length;){let c=s.path[l];l===s.path.length-1?(o[c]=o[c]||{_errors:[]},o[c]._errors.push(t(s))):o[c]=o[c]||{_errors:[]},o=o[c],l++}}};return i(r),n}var ZUe,C1,n0,kQ=y(()=>{bk();Md();ZUe=(r,e)=>{r.name="$ZodError",Object.defineProperty(r,"_zod",{value:r._zod,enumerable:!1}),Object.defineProperty(r,"issues",{value:e,enumerable:!1}),Object.defineProperty(r,"message",{get(){return JSON.stringify(e,uQ,2)},enumerable:!0}),Object.defineProperty(r,"toString",{value:()=>r.message,enumerable:!1})},C1=W("$ZodError",ZUe),n0=W("$ZodError",ZUe,{Parent:Error})});var wQ,SQ,EQ,xQ,CQ,uy,DQ,py,PQ=y(()=>{bk();kQ();Md();wQ=r=>(e,t,n,i)=>{var o;let a=n?Object.assign(n,{async:!1}):{async:!1},s=e._zod.run({value:t,issues:[]},a);if(s instanceof Promise)throw new dp;if(s.issues.length){let l=new((o=i==null?void 0:i.Err)!=null?o:r)(s.issues.map(c=>Zl(c,a,uo())));throw E1(l,i==null?void 0:i.callee),l}return s.value},SQ=wQ(n0),EQ=r=>async(e,t,n,i)=>{var o;let a=n?Object.assign(n,{async:!0}):{async:!0},s=e._zod.run({value:t,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let l=new((o=i==null?void 0:i.Err)!=null?o:r)(s.issues.map(c=>Zl(c,a,uo())));throw E1(l,i==null?void 0:i.callee),l}return s.value},xQ=EQ(n0),CQ=r=>(e,t,n)=>{let i=n?{...n,async:!1}:{async:!1},a=e._zod.run({value:t,issues:[]},i);if(a instanceof Promise)throw new dp;return a.issues.length?{success:!1,error:new(r!=null?r:C1)(a.issues.map(s=>Zl(s,i,uo())))}:{success:!0,data:a.value}},uy=CQ(n0),DQ=r=>async(e,t,n)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},a=e._zod.run({value:t,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new r(a.issues.map(s=>Zl(s,i,uo())))}:{success:!0,data:a.value}},py=DQ(n0)});function sHe(){return new RegExp(yNt,"u")}function gHe(r){let e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof r.precision=="number"?r.precision===-1?`${e}`:r.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${r.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function yHe(r){return new RegExp(`^${gHe(r)}$`)}function vHe(r){let e=gHe({precision:r.precision}),t=["Z"];r.local&&t.push(""),r.offset&&t.push("([+-]\\d{2}:\\d{2})");let n=`${e}(?:${t.join("|")})`;return new RegExp(`^${fHe}T(?:${n})$`)}var QUe,JUe,XUe,eHe,tHe,rHe,nHe,iHe,MQ,aHe,yNt,oHe,lHe,cHe,dHe,uHe,_Q,pHe,mHe,fHe,hHe,bHe,THe,kHe,wHe,SHe,EHe,xHe,IQ=y(()=>{QUe=/^[cC][^\s-]{8,}$/,JUe=/^[0-9a-z]+$/,XUe=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,eHe=/^[0-9a-vA-V]{20}$/,tHe=/^[A-Za-z0-9]{27}$/,rHe=/^[a-zA-Z0-9_-]{21}$/,nHe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,iHe=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,MQ=r=>r?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${r}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,aHe=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,yNt="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";oHe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,lHe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,cHe=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,dHe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,uHe=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,_Q=/^[A-Za-z0-9_-]*$/,pHe=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,mHe=/^\+(?:[0-9]){6,14}[0-9]$/,fHe="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",hHe=new RegExp(`^${fHe}$`);bHe=r=>{var t,n;let e=r?`[\\s\\S]{${(t=r==null?void 0:r.minimum)!=null?t:0},${(n=r==null?void 0:r.maximum)!=null?n:""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},THe=/^\d+$/,kHe=/^-?\d+(?:\.\d+)?/i,wHe=/true|false/i,SHe=/null/i,EHe=/^[^A-Z]*$/,xHe=/^[^a-z]*$/});var Vi,CHe,NQ,RQ,DHe,PHe,MHe,_He,AHe,i0,IHe,NHe,RHe,OHe,LHe,FHe,$He,D1=y(()=>{bk();IQ();Md();Vi=W("$ZodCheck",(r,e)=>{var n,i;var t;(n=r._zod)!=null||(r._zod={}),r._zod.def=e,(i=(t=r._zod).onattach)!=null||(t.onattach=[])}),CHe={number:"number",bigint:"bigint",object:"date"},NQ=W("$ZodCheckLessThan",(r,e)=>{Vi.init(r,e);let t=CHe[typeof e.value];r._zod.onattach.push(n=>{var s;let i=n._zod.bag,a=(s=e.inclusive?i.maximum:i.exclusiveMaximum)!=null?s:Number.POSITIVE_INFINITY;e.value<a&&(e.inclusive?i.maximum=e.value:i.exclusiveMaximum=e.value)}),r._zod.check=n=>{(e.inclusive?n.value<=e.value:n.value<e.value)||n.issues.push({origin:t,code:"too_big",maximum:e.value,input:n.value,inclusive:e.inclusive,inst:r,continue:!e.abort})}}),RQ=W("$ZodCheckGreaterThan",(r,e)=>{Vi.init(r,e);let t=CHe[typeof e.value];r._zod.onattach.push(n=>{var s;let i=n._zod.bag,a=(s=e.inclusive?i.minimum:i.exclusiveMinimum)!=null?s:Number.NEGATIVE_INFINITY;e.value>a&&(e.inclusive?i.minimum=e.value:i.exclusiveMinimum=e.value)}),r._zod.check=n=>{(e.inclusive?n.value>=e.value:n.value>e.value)||n.issues.push({origin:t,code:"too_small",minimum:e.value,input:n.value,inclusive:e.inclusive,inst:r,continue:!e.abort})}}),DHe=W("$ZodCheckMultipleOf",(r,e)=>{Vi.init(r,e),r._zod.onattach.push(t=>{var i;var n;(i=(n=t._zod.bag).multipleOf)!=null||(n.multipleOf=e.value)}),r._zod.check=t=>{if(typeof t.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof t.value=="bigint"?t.value%e.value===BigInt(0):pQ(t.value,e.value)===0)||t.issues.push({origin:typeof t.value,code:"not_multiple_of",divisor:e.value,input:t.value,inst:r,continue:!e.abort})}}),PHe=W("$ZodCheckNumberFormat",(r,e)=>{var s;Vi.init(r,e),e.format=e.format||"float64";let t=(s=e.format)==null?void 0:s.includes("int"),n=t?"int":"number",[i,a]=yQ[e.format];r._zod.onattach.push(o=>{let l=o._zod.bag;l.format=e.format,l.minimum=i,l.maximum=a,t&&(l.pattern=THe)}),r._zod.check=o=>{let l=o.value;if(t){if(!Number.isInteger(l)){o.issues.push({expected:n,format:e.format,code:"invalid_type",input:l,inst:r});return}if(!Number.isSafeInteger(l)){l>0?o.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:r,origin:n,continue:!e.abort}):o.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:r,origin:n,continue:!e.abort});return}}l<i&&o.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:r,continue:!e.abort}),l>a&&o.issues.push({origin:"number",input:l,code:"too_big",maximum:a,inst:r})}}),MHe=W("$ZodCheckMaxLength",(r,e)=>{var n;var t;Vi.init(r,e),(n=(t=r._zod.def).when)!=null||(t.when=i=>{let a=i.value;return!e0(a)&&a.length!==void 0}),r._zod.onattach.push(i=>{var s;let a=(s=i._zod.bag.maximum)!=null?s:Number.POSITIVE_INFINITY;e.maximum<a&&(i._zod.bag.maximum=e.maximum)}),r._zod.check=i=>{let a=i.value;if(a.length<=e.maximum)return;let o=r0(a);i.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:a,inst:r,continue:!e.abort})}}),_He=W("$ZodCheckMinLength",(r,e)=>{var n;var t;Vi.init(r,e),(n=(t=r._zod.def).when)!=null||(t.when=i=>{let a=i.value;return!e0(a)&&a.length!==void 0}),r._zod.onattach.push(i=>{var s;let a=(s=i._zod.bag.minimum)!=null?s:Number.NEGATIVE_INFINITY;e.minimum>a&&(i._zod.bag.minimum=e.minimum)}),r._zod.check=i=>{let a=i.value;if(a.length>=e.minimum)return;let o=r0(a);i.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:a,inst:r,continue:!e.abort})}}),AHe=W("$ZodCheckLengthEquals",(r,e)=>{var n;var t;Vi.init(r,e),(n=(t=r._zod.def).when)!=null||(t.when=i=>{let a=i.value;return!e0(a)&&a.length!==void 0}),r._zod.onattach.push(i=>{let a=i._zod.bag;a.minimum=e.length,a.maximum=e.length,a.length=e.length}),r._zod.check=i=>{let a=i.value,s=a.length;if(s===e.length)return;let o=r0(a),l=s>e.length;i.issues.push({origin:o,...l?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:i.value,inst:r,continue:!e.abort})}}),i0=W("$ZodCheckStringFormat",(r,e)=>{var i,a;var t,n;Vi.init(r,e),r._zod.onattach.push(s=>{var l;let o=s._zod.bag;o.format=e.format,e.pattern&&((l=o.patterns)!=null||(o.patterns=new Set),o.patterns.add(e.pattern))}),e.pattern?(i=(t=r._zod).check)!=null||(t.check=s=>{e.pattern.lastIndex=0,!e.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:e.format,input:s.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:r,continue:!e.abort})}):(a=(n=r._zod).check)!=null||(n.check=()=>{})}),IHe=W("$ZodCheckRegex",(r,e)=>{i0.init(r,e),r._zod.check=t=>{e.pattern.lastIndex=0,!e.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:"regex",input:t.value,pattern:e.pattern.toString(),inst:r,continue:!e.abort})}}),NHe=W("$ZodCheckLowerCase",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=EHe),i0.init(r,e)}),RHe=W("$ZodCheckUpperCase",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=xHe),i0.init(r,e)}),OHe=W("$ZodCheckIncludes",(r,e)=>{Vi.init(r,e);let t=cf(e.includes),n=new RegExp(typeof e.position=="number"?`^.{${e.position}}${t}`:t);e.pattern=n,r._zod.onattach.push(i=>{var s;let a=i._zod.bag;(s=a.patterns)!=null||(a.patterns=new Set),a.patterns.add(n)}),r._zod.check=i=>{i.value.includes(e.includes,e.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:i.value,inst:r,continue:!e.abort})}}),LHe=W("$ZodCheckStartsWith",(r,e)=>{var n;Vi.init(r,e);let t=new RegExp(`^${cf(e.prefix)}.*`);(n=e.pattern)!=null||(e.pattern=t),r._zod.onattach.push(i=>{var s;let a=i._zod.bag;(s=a.patterns)!=null||(a.patterns=new Set),a.patterns.add(t)}),r._zod.check=i=>{i.value.startsWith(e.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:i.value,inst:r,continue:!e.abort})}}),FHe=W("$ZodCheckEndsWith",(r,e)=>{var n;Vi.init(r,e);let t=new RegExp(`.*${cf(e.suffix)}$`);(n=e.pattern)!=null||(e.pattern=t),r._zod.onattach.push(i=>{var s;let a=i._zod.bag;(s=a.patterns)!=null||(a.patterns=new Set),a.patterns.add(t)}),r._zod.check=i=>{i.value.endsWith(e.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:i.value,inst:r,continue:!e.abort})}}),$He=W("$ZodCheckOverwrite",(r,e)=>{Vi.init(r,e),r._zod.check=t=>{t.value=e.tx(t.value)}})});var P1,OQ=y(()=>{P1=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let n=e.split(`
`).filter(s=>s),i=Math.min(...n.map(s=>s.length-s.trimStart().length)),a=n.map(s=>s.slice(i)).map(s=>" ".repeat(this.indent*2)+s);for(let s of a)this.content.push(s)}compile(){var a;let e=Function,t=this==null?void 0:this.args,i=[...((a=this==null?void 0:this.content)!=null?a:[""]).map(s=>` ${s}`)];return new e(...t,i.join(`
`))}}});var jHe,LQ=y(()=>{jHe={major:4,minor:0,patch:0}});function eVe(r){if(r==="")return!0;if(r.length%4!==0)return!1;try{return atob(r),!0}catch(e){return!1}}function vNt(r){if(!_Q.test(r))return!1;let e=r.replace(/[-_]/g,n=>n==="-"?"+":"/"),t=e.padEnd(Math.ceil(e.length/4)*4,"=");return eVe(t)}function bNt(r,e=null){try{let t=r.split(".");if(t.length!==3)return!1;let[n]=t;if(!n)return!1;let i=JSON.parse(atob(n));return!("typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&(!("alg"in i)||i.alg!==e))}catch(t){return!1}}function BHe(r,e,t){r.issues.length&&e.issues.push(...Pd(t,r.issues)),e.value[t]=r.value}function M1(r,e,t){r.issues.length&&e.issues.push(...Pd(t,r.issues)),e.value[t]=r.value}function UHe(r,e,t,n){r.issues.length?n[t]===void 0?t in n?e.value[t]=void 0:e.value[t]=r.value:e.issues.push(...Pd(t,r.issues)):r.value===void 0?t in n&&(e.value[t]=void 0):e.value[t]=r.value}function HHe(r,e,t,n){for(let i of r)if(i.issues.length===0)return e.value=i.value,e;return e.issues.push({code:"invalid_union",input:e.value,inst:t,errors:r.map(i=>i.issues.map(a=>Zl(a,n,uo())))}),e}function FQ(r,e){if(r===e)return{valid:!0,data:r};if(r instanceof Date&&e instanceof Date&&+r==+e)return{valid:!0,data:r};if(kk(r)&&kk(e)){let t=Object.keys(e),n=Object.keys(r).filter(a=>t.indexOf(a)!==-1),i={...r,...e};for(let a of n){let s=FQ(r[a],e[a]);if(!s.valid)return{valid:!1,mergeErrorPath:[a,...s.mergeErrorPath]};i[a]=s.data}return{valid:!0,data:i}}if(Array.isArray(r)&&Array.isArray(e)){if(r.length!==e.length)return{valid:!1,mergeErrorPath:[]};let t=[];for(let n=0;n<r.length;n++){let i=r[n],a=e[n],s=FQ(i,a);if(!s.valid)return{valid:!1,mergeErrorPath:[n,...s.mergeErrorPath]};t.push(s.data)}return{valid:!0,data:t}}return{valid:!1,mergeErrorPath:[]}}function VHe(r,e,t){if(e.issues.length&&r.issues.push(...e.issues),t.issues.length&&r.issues.push(...t.issues),dy(r))return r;let n=FQ(e.value,t.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return r.value=n.data,r}function qHe(r,e){return r.value===void 0&&(r.value=e.defaultValue),r}function WHe(r,e){return!r.issues.length&&r.value===void 0&&r.issues.push({code:"invalid_type",expected:"nonoptional",input:r.value,inst:e}),r}function YHe(r,e,t){return dy(r)?r:e.out._zod.run({value:r.value,issues:r.issues},t)}function GHe(r){return r.value=Object.freeze(r.value),r}function KHe(r,e,t,n){var i;if(!r){let a={code:"custom",input:t,inst:n,path:[...(i=n._zod.def.path)!=null?i:[]],continue:!n._zod.def.abort};n._zod.def.params&&(a.params=n._zod.def.params),e.issues.push(vQ(a))}}var Or,a0,Kr,$Q,zQ,jQ,BQ,UQ,HQ,VQ,qQ,WQ,YQ,GQ,ZHe,QHe,JHe,XHe,KQ,ZQ,QQ,JQ,XQ,eJ,tJ,rJ,_1,nJ,iJ,aJ,sJ,oJ,lJ,A1,I1,cJ,dJ,uJ,pJ,mJ,fJ,hJ,gJ,yJ,vJ,bJ,TJ,kJ,wJ,SJ,tVe=y(()=>{D1();bk();OQ();PQ();IQ();Md();LQ();Md();Or=W("$ZodType",(r,e)=>{var i,a,s;var t;r!=null||(r={}),r._zod.def=e,r._zod.bag=r._zod.bag||{},r._zod.version=jHe;let n=[...(i=r._zod.def.checks)!=null?i:[]];r._zod.traits.has("$ZodCheck")&&n.unshift(r);for(let o of n)for(let l of o._zod.onattach)l(r);if(n.length===0)(a=(t=r._zod).deferred)!=null||(t.deferred=[]),(s=r._zod.deferred)==null||s.push(()=>{r._zod.run=r._zod.parse});else{let o=(l,c,d)=>{let u=dy(l),p;for(let m of c){if(m._zod.def.when){if(!m._zod.def.when(l))continue}else if(u)continue;let f=l.issues.length,h=m._zod.check(l);if(h instanceof Promise&&(d==null?void 0:d.async)===!1)throw new dp;if(p||h instanceof Promise)p=(p!=null?p:Promise.resolve()).then(async()=>{await h,l.issues.length!==f&&(u||(u=dy(l,f)))});else{if(l.issues.length===f)continue;u||(u=dy(l,f))}}return p?p.then(()=>l):l};r._zod.run=(l,c)=>{let d=r._zod.parse(l,c);if(d instanceof Promise){if(c.async===!1)throw new dp;return d.then(u=>o(u,n,c))}return o(d,n,c)}}r["~standard"]={validate:o=>{var l;try{let c=uy(r,o);return c.success?{value:c.data}:{issues:(l=c.error)==null?void 0:l.issues}}catch(c){return py(r,o).then(d=>{var u;return d.success?{value:d.data}:{issues:(u=d.error)==null?void 0:u.issues}})}},vendor:"zod",version:1}}),a0=W("$ZodString",(r,e)=>{var t,n,i;Or.init(r,e),r._zod.pattern=(i=[...(n=(t=r==null?void 0:r._zod.bag)==null?void 0:t.patterns)!=null?n:[]].pop())!=null?i:bHe(r._zod.bag),r._zod.parse=(a,s)=>{if(e.coerce)try{a.value=String(a.value)}catch(o){}return typeof a.value=="string"||a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:r}),a}}),Kr=W("$ZodStringFormat",(r,e)=>{i0.init(r,e),a0.init(r,e)}),$Q=W("$ZodGUID",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=iHe),Kr.init(r,e)}),zQ=W("$ZodUUID",(r,e)=>{var t,n;if(e.version){let a={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(a===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);(t=e.pattern)!=null||(e.pattern=MQ(a))}else(n=e.pattern)!=null||(e.pattern=MQ());Kr.init(r,e)}),jQ=W("$ZodEmail",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=aHe),Kr.init(r,e)}),BQ=W("$ZodURL",(r,e)=>{Kr.init(r,e),r._zod.check=t=>{try{let n=t.value,i=new URL(n),a=i.href;e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(i.hostname)||t.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:pHe.source,input:t.value,inst:r,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||t.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:t.value,inst:r,continue:!e.abort})),!n.endsWith("/")&&a.endsWith("/")?t.value=a.slice(0,-1):t.value=a;return}catch(n){t.issues.push({code:"invalid_format",format:"url",input:t.value,inst:r,continue:!e.abort})}}}),UQ=W("$ZodEmoji",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=sHe()),Kr.init(r,e)}),HQ=W("$ZodNanoID",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=rHe),Kr.init(r,e)}),VQ=W("$ZodCUID",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=QUe),Kr.init(r,e)}),qQ=W("$ZodCUID2",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=JUe),Kr.init(r,e)}),WQ=W("$ZodULID",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=XUe),Kr.init(r,e)}),YQ=W("$ZodXID",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=eHe),Kr.init(r,e)}),GQ=W("$ZodKSUID",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=tHe),Kr.init(r,e)}),ZHe=W("$ZodISODateTime",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=vHe(e)),Kr.init(r,e)}),QHe=W("$ZodISODate",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=hHe),Kr.init(r,e)}),JHe=W("$ZodISOTime",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=yHe(e)),Kr.init(r,e)}),XHe=W("$ZodISODuration",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=nHe),Kr.init(r,e)}),KQ=W("$ZodIPv4",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=oHe),Kr.init(r,e),r._zod.onattach.push(n=>{let i=n._zod.bag;i.format="ipv4"})}),ZQ=W("$ZodIPv6",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=lHe),Kr.init(r,e),r._zod.onattach.push(n=>{let i=n._zod.bag;i.format="ipv6"}),r._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch(i){n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:r,continue:!e.abort})}}}),QQ=W("$ZodCIDRv4",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=cHe),Kr.init(r,e)}),JQ=W("$ZodCIDRv6",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=dHe),Kr.init(r,e),r._zod.check=n=>{let[i,a]=n.value.split("/");try{if(!a)throw new Error;let s=Number(a);if(`${s}`!==a)throw new Error;if(s<0||s>128)throw new Error;new URL(`http://[${i}]`)}catch(s){n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:r,continue:!e.abort})}}});XQ=W("$ZodBase64",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=uHe),Kr.init(r,e),r._zod.onattach.push(n=>{n._zod.bag.contentEncoding="base64"}),r._zod.check=n=>{eVe(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:r,continue:!e.abort})}});eJ=W("$ZodBase64URL",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=_Q),Kr.init(r,e),r._zod.onattach.push(n=>{n._zod.bag.contentEncoding="base64url"}),r._zod.check=n=>{vNt(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:r,continue:!e.abort})}}),tJ=W("$ZodE164",(r,e)=>{var t;(t=e.pattern)!=null||(e.pattern=mHe),Kr.init(r,e)});rJ=W("$ZodJWT",(r,e)=>{Kr.init(r,e),r._zod.check=t=>{bNt(t.value,e.alg)||t.issues.push({code:"invalid_format",format:"jwt",input:t.value,inst:r,continue:!e.abort})}}),_1=W("$ZodNumber",(r,e)=>{var t;Or.init(r,e),r._zod.pattern=(t=r._zod.bag.pattern)!=null?t:kHe,r._zod.parse=(n,i)=>{if(e.coerce)try{n.value=Number(n.value)}catch(o){}let a=n.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return n;let s=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:r,...s?{received:s}:{}}),n}}),nJ=W("$ZodNumber",(r,e)=>{PHe.init(r,e),_1.init(r,e)}),iJ=W("$ZodBoolean",(r,e)=>{Or.init(r,e),r._zod.pattern=wHe,r._zod.parse=(t,n)=>{if(e.coerce)try{t.value=!!t.value}catch(a){}let i=t.value;return typeof i=="boolean"||t.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:r}),t}}),aJ=W("$ZodNull",(r,e)=>{Or.init(r,e),r._zod.pattern=SHe,r._zod.values=new Set([null]),r._zod.parse=(t,n)=>{let i=t.value;return i===null||t.issues.push({expected:"null",code:"invalid_type",input:i,inst:r}),t}}),sJ=W("$ZodUnknown",(r,e)=>{Or.init(r,e),r._zod.parse=t=>t}),oJ=W("$ZodNever",(r,e)=>{Or.init(r,e),r._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:r}),t)});lJ=W("$ZodArray",(r,e)=>{Or.init(r,e),r._zod.parse=(t,n)=>{let i=t.value;if(!Array.isArray(i))return t.issues.push({expected:"array",code:"invalid_type",input:i,inst:r}),t;t.value=Array(i.length);let a=[];for(let s=0;s<i.length;s++){let o=i[s],l=e.element._zod.run({value:o,issues:[]},n);l instanceof Promise?a.push(l.then(c=>BHe(c,t,s))):BHe(l,t,s)}return a.length?Promise.all(a).then(()=>t):t}});A1=W("$ZodObject",(r,e)=>{Or.init(r,e);let t=XP(()=>{let u=Object.keys(e.shape);for(let m of u)if(!(e.shape[m]instanceof Or))throw new Error(`Invalid element at key "${m}": expected a Zod schema`);let p=gQ(e.shape);return{shape:e.shape,keys:u,keySet:new Set(u),numKeys:u.length,optionalKeys:new Set(p)}});Gr(r._zod,"propValues",()=>{var m;let u=e.shape,p={};for(let f in u){let h=u[f]._zod;if(h.values){(m=p[f])!=null||(p[f]=new Set);for(let g of h.values)p[f].add(g)}}return p});let n=u=>{let p=new P1(["shape","payload","ctx"]),m=t.value,f=k=>{let b=cy(k);return`shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`};p.write("const input = payload.value;");let h=Object.create(null),g=0;for(let k of m.keys)h[k]=`key_${g++}`;p.write("const newResult = {}");for(let k of m.keys)if(m.optionalKeys.has(k)){let b=h[k];p.write(`const ${b} = ${f(k)};`);let w=cy(k);p.write(`
if (${b}.issues.length) {
if (input[${w}] === undefined) {
if (${w} in input) {
newResult[${w}] = undefined;
}
} else {
payload.issues = payload.issues.concat(
${b}.issues.map((iss) => ({
...iss,
path: iss.path ? [${w}, ...iss.path] : [${w}],
}))
);
}
} else if (${b}.value === undefined) {
if (${w} in input) newResult[${w}] = undefined;
} else {
newResult[${w}] = ${b}.value;
}
`)}else{let b=h[k];p.write(`const ${b} = ${f(k)};`),p.write(`
if (${b}.issues.length) payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
...iss,
path: iss.path ? [${cy(k)}, ...iss.path] : [${cy(k)}]
})));`),p.write(`newResult[${cy(k)}] = ${b}.value`)}p.write("payload.value = newResult;"),p.write("return payload;");let v=p.compile();return(k,b)=>v(u,k,b)},i,a=Tk,s=!w1.jitless,l=s&&fQ.value,c=e.catchall,d;r._zod.parse=(u,p)=>{d!=null||(d=t.value);let m=u.value;if(!a(m))return u.issues.push({expected:"object",code:"invalid_type",input:m,inst:r}),u;let f=[];if(s&&l&&(p==null?void 0:p.async)===!1&&p.jitless!==!0)i||(i=n(e.shape)),u=i(u,p);else{u.value={};let b=d.shape;for(let w of d.keys){let S=b[w],x=S._zod.run({value:m[w],issues:[]},p),C=S._zod.optin==="optional"&&S._zod.optout==="optional";x instanceof Promise?f.push(x.then(D=>C?UHe(D,u,w,m):M1(D,u,w))):C?UHe(x,u,w,m):M1(x,u,w)}}if(!c)return f.length?Promise.all(f).then(()=>u):u;let h=[],g=d.keySet,v=c._zod,k=v.def.type;for(let b of Object.keys(m)){if(g.has(b))continue;if(k==="never"){h.push(b);continue}let w=v.run({value:m[b],issues:[]},p);w instanceof Promise?f.push(w.then(S=>M1(S,u,b))):M1(w,u,b)}return h.length&&u.issues.push({code:"unrecognized_keys",keys:h,input:m,inst:r}),f.length?Promise.all(f).then(()=>u):u}});I1=W("$ZodUnion",(r,e)=>{Or.init(r,e),Gr(r._zod,"optin",()=>e.options.some(t=>t._zod.optin==="optional")?"optional":void 0),Gr(r._zod,"optout",()=>e.options.some(t=>t._zod.optout==="optional")?"optional":void 0),Gr(r._zod,"values",()=>{if(e.options.every(t=>t._zod.values))return new Set(e.options.flatMap(t=>Array.from(t._zod.values)))}),Gr(r._zod,"pattern",()=>{if(e.options.every(t=>t._zod.pattern)){let t=e.options.map(n=>n._zod.pattern);return new RegExp(`^(${t.map(n=>t0(n.source)).join("|")})$`)}}),r._zod.parse=(t,n)=>{let i=!1,a=[];for(let s of e.options){let o=s._zod.run({value:t.value,issues:[]},n);if(o instanceof Promise)a.push(o),i=!0;else{if(o.issues.length===0)return o;a.push(o)}}return i?Promise.all(a).then(s=>HHe(s,t,r,n)):HHe(a,t,r,n)}}),cJ=W("$ZodDiscriminatedUnion",(r,e)=>{I1.init(r,e);let t=r._zod.parse;Gr(r._zod,"propValues",()=>{let i={};for(let a of e.options){let s=a._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(a)}"`);for(let[o,l]of Object.entries(s)){i[o]||(i[o]=new Set);for(let c of l)i[o].add(c)}}return i});let n=XP(()=>{let i=e.options,a=new Map;for(let s of i){let o=s._zod.propValues[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(let l of o){if(a.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);a.set(l,s)}}return a});r._zod.parse=(i,a)=>{let s=i.value;if(!Tk(s))return i.issues.push({code:"invalid_type",expected:"object",input:s,inst:r}),i;let o=n.value.get(s==null?void 0:s[e.discriminator]);return o?o._zod.run(i,a):e.unionFallback?t(i,a):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:s,path:[e.discriminator],inst:r}),i)}}),dJ=W("$ZodIntersection",(r,e)=>{Or.init(r,e),r._zod.parse=(t,n)=>{let i=t.value,a=e.left._zod.run({value:i,issues:[]},n),s=e.right._zod.run({value:i,issues:[]},n);return a instanceof Promise||s instanceof Promise?Promise.all([a,s]).then(([l,c])=>VHe(t,l,c)):VHe(t,a,s)}});uJ=W("$ZodRecord",(r,e)=>{Or.init(r,e),r._zod.parse=(t,n)=>{let i=t.value;if(!kk(i))return t.issues.push({expected:"record",code:"invalid_type",input:i,inst:r}),t;let a=[];if(e.keyType._zod.values){let s=e.keyType._zod.values;t.value={};for(let l of s)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){let c=e.valueType._zod.run({value:i[l],issues:[]},n);c instanceof Promise?a.push(c.then(d=>{d.issues.length&&t.issues.push(...Pd(l,d.issues)),t.value[l]=d.value})):(c.issues.length&&t.issues.push(...Pd(l,c.issues)),t.value[l]=c.value)}let o;for(let l in i)s.has(l)||(o=o!=null?o:[],o.push(l));o&&o.length>0&&t.issues.push({code:"unrecognized_keys",input:i,inst:r,keys:o})}else{t.value={};for(let s of Reflect.ownKeys(i)){if(s==="__proto__")continue;let o=e.keyType._zod.run({value:s,issues:[]},n);if(o instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(o.issues.length){t.issues.push({origin:"record",code:"invalid_key",issues:o.issues.map(c=>Zl(c,n,uo())),input:s,path:[s],inst:r}),t.value[o.value]=o.value;continue}let l=e.valueType._zod.run({value:i[s],issues:[]},n);l instanceof Promise?a.push(l.then(c=>{c.issues.length&&t.issues.push(...Pd(s,c.issues)),t.value[o.value]=c.value})):(l.issues.length&&t.issues.push(...Pd(s,l.issues)),t.value[o.value]=l.value)}}return a.length?Promise.all(a).then(()=>t):t}}),pJ=W("$ZodEnum",(r,e)=>{Or.init(r,e);let t=JP(e.entries);r._zod.values=new Set(t),r._zod.pattern=new RegExp(`^(${t.filter(n=>hQ.has(typeof n)).map(n=>typeof n=="string"?cf(n):n.toString()).join("|")})$`),r._zod.parse=(n,i)=>{let a=n.value;return r._zod.values.has(a)||n.issues.push({code:"invalid_value",values:t,input:a,inst:r}),n}}),mJ=W("$ZodLiteral",(r,e)=>{Or.init(r,e),r._zod.values=new Set(e.values),r._zod.pattern=new RegExp(`^(${e.values.map(t=>typeof t=="string"?cf(t):t?t.toString():String(t)).join("|")})$`),r._zod.parse=(t,n)=>{let i=t.value;return r._zod.values.has(i)||t.issues.push({code:"invalid_value",values:e.values,input:i,inst:r}),t}}),fJ=W("$ZodTransform",(r,e)=>{Or.init(r,e),r._zod.parse=(t,n)=>{let i=e.transform(t.value,t);if(n.async)return(i instanceof Promise?i:Promise.resolve(i)).then(s=>(t.value=s,t));if(i instanceof Promise)throw new dp;return t.value=i,t}}),hJ=W("$ZodOptional",(r,e)=>{Or.init(r,e),r._zod.optin="optional",r._zod.optout="optional",Gr(r._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),Gr(r._zod,"pattern",()=>{let t=e.innerType._zod.pattern;return t?new RegExp(`^(${t0(t.source)})?$`):void 0}),r._zod.parse=(t,n)=>e.innerType._zod.optin==="optional"?e.innerType._zod.run(t,n):t.value===void 0?t:e.innerType._zod.run(t,n)}),gJ=W("$ZodNullable",(r,e)=>{Or.init(r,e),Gr(r._zod,"optin",()=>e.innerType._zod.optin),Gr(r._zod,"optout",()=>e.innerType._zod.optout),Gr(r._zod,"pattern",()=>{let t=e.innerType._zod.pattern;return t?new RegExp(`^(${t0(t.source)}|null)$`):void 0}),Gr(r._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),r._zod.parse=(t,n)=>t.value===null?t:e.innerType._zod.run(t,n)}),yJ=W("$ZodDefault",(r,e)=>{Or.init(r,e),r._zod.optin="optional",Gr(r._zod,"values",()=>e.innerType._zod.values),r._zod.parse=(t,n)=>{if(t.value===void 0)return t.value=e.defaultValue,t;let i=e.innerType._zod.run(t,n);return i instanceof Promise?i.then(a=>qHe(a,e)):qHe(i,e)}});vJ=W("$ZodPrefault",(r,e)=>{Or.init(r,e),r._zod.optin="optional",Gr(r._zod,"values",()=>e.innerType._zod.values),r._zod.parse=(t,n)=>(t.value===void 0&&(t.value=e.defaultValue),e.innerType._zod.run(t,n))}),bJ=W("$ZodNonOptional",(r,e)=>{Or.init(r,e),Gr(r._zod,"values",()=>{let t=e.innerType._zod.values;return t?new Set([...t].filter(n=>n!==void 0)):void 0}),r._zod.parse=(t,n)=>{let i=e.innerType._zod.run(t,n);return i instanceof Promise?i.then(a=>WHe(a,r)):WHe(i,r)}});TJ=W("$ZodCatch",(r,e)=>{Or.init(r,e),r._zod.optin="optional",Gr(r._zod,"optout",()=>e.innerType._zod.optout),Gr(r._zod,"values",()=>e.innerType._zod.values),r._zod.parse=(t,n)=>{let i=e.innerType._zod.run(t,n);return i instanceof Promise?i.then(a=>(t.value=a.value,a.issues.length&&(t.value=e.catchValue({...t,error:{issues:a.issues.map(s=>Zl(s,n,uo()))},input:t.value}),t.issues=[]),t)):(t.value=i.value,i.issues.length&&(t.value=e.catchValue({...t,error:{issues:i.issues.map(a=>Zl(a,n,uo()))},input:t.value}),t.issues=[]),t)}}),kJ=W("$ZodPipe",(r,e)=>{Or.init(r,e),Gr(r._zod,"values",()=>e.in._zod.values),Gr(r._zod,"optin",()=>e.in._zod.optin),Gr(r._zod,"optout",()=>e.out._zod.optout),r._zod.parse=(t,n)=>{let i=e.in._zod.run(t,n);return i instanceof Promise?i.then(a=>YHe(a,e,n)):YHe(i,e,n)}});wJ=W("$ZodReadonly",(r,e)=>{Or.init(r,e),Gr(r._zod,"propValues",()=>e.innerType._zod.propValues),Gr(r._zod,"values",()=>e.innerType._zod.values),Gr(r._zod,"optin",()=>e.innerType._zod.optin),Gr(r._zod,"optout",()=>e.innerType._zod.optout),r._zod.parse=(t,n)=>{let i=e.innerType._zod.run(t,n);return i instanceof Promise?i.then(GHe):GHe(i)}});SJ=W("$ZodCustom",(r,e)=>{Vi.init(r,e),Or.init(r,e),r._zod.parse=(t,n)=>t,r._zod.check=t=>{let n=t.value,i=e.fn(n);if(i instanceof Promise)return i.then(a=>KHe(a,t,n,r));KHe(i,t,n,r)}})});function rVe(){return{localeError:kNt()}}var TNt,kNt,nVe=y(()=>{Md();TNt=r=>{let e=typeof r;switch(e){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return e},kNt=()=>{let r={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function e(n){var i;return(i=r[n])!=null?i:null}let t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return n=>{var i,a,s,o;switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${TNt(n.input)}`;case"invalid_value":return n.values.length===1?`Invalid input: expected ${x1(n.values[0])}`:`Invalid option: expected one of ${S1(n.values,"|")}`;case"too_big":{let l=n.inclusive?"<=":"<",c=e(n.origin);return c?`Too big: expected ${(i=n.origin)!=null?i:"value"} to have ${l}${n.maximum.toString()} ${(a=c.unit)!=null?a:"elements"}`:`Too big: expected ${(s=n.origin)!=null?s:"value"} to be ${l}${n.maximum.toString()}`}case"too_small":{let l=n.inclusive?">=":">",c=e(n.origin);return c?`Too small: expected ${n.origin} to have ${l}${n.minimum.toString()} ${c.unit}`:`Too small: expected ${n.origin} to be ${l}${n.minimum.toString()}`}case"invalid_format":{let l=n;return l.format==="starts_with"?`Invalid string: must start with "${l.prefix}"`:l.format==="ends_with"?`Invalid string: must end with "${l.suffix}"`:l.format==="includes"?`Invalid string: must include "${l.includes}"`:l.format==="regex"?`Invalid string: must match pattern ${l.pattern}`:`Invalid ${(o=t[l.format])!=null?o:n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${S1(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}}});function iVe(){return new s0}var wNt,SNt,s0,df,EJ=y(()=>{wNt=Symbol("ZodOutput"),SNt=Symbol("ZodInput"),s0=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){let n=t[0];if(this._map.set(e,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t=="object"&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){var n;let t=e._zod.parent;if(t){let i={...(n=this.get(t))!=null?n:{}};return delete i.id,{...i,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};df=iVe()});function xJ(r,e){return new r({type:"string",...Ze(e)})}function CJ(r,e){return new r({type:"string",format:"email",check:"string_format",abort:!1,...Ze(e)})}function N1(r,e){return new r({type:"string",format:"guid",check:"string_format",abort:!1,...Ze(e)})}function DJ(r,e){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,...Ze(e)})}function PJ(r,e){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Ze(e)})}function MJ(r,e){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Ze(e)})}function _J(r,e){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Ze(e)})}function AJ(r,e){return new r({type:"string",format:"url",check:"string_format",abort:!1,...Ze(e)})}function IJ(r,e){return new r({type:"string",format:"emoji",check:"string_format",abort:!1,...Ze(e)})}function NJ(r,e){return new r({type:"string",format:"nanoid",check:"string_format",abort:!1,...Ze(e)})}function RJ(r,e){return new r({type:"string",format:"cuid",check:"string_format",abort:!1,...Ze(e)})}function OJ(r,e){return new r({type:"string",format:"cuid2",check:"string_format",abort:!1,...Ze(e)})}function LJ(r,e){return new r({type:"string",format:"ulid",check:"string_format",abort:!1,...Ze(e)})}function FJ(r,e){return new r({type:"string",format:"xid",check:"string_format",abort:!1,...Ze(e)})}function $J(r,e){return new r({type:"string",format:"ksuid",check:"string_format",abort:!1,...Ze(e)})}function zJ(r,e){return new r({type:"string",format:"ipv4",check:"string_format",abort:!1,...Ze(e)})}function jJ(r,e){return new r({type:"string",format:"ipv6",check:"string_format",abort:!1,...Ze(e)})}function BJ(r,e){return new r({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Ze(e)})}function UJ(r,e){return new r({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Ze(e)})}function HJ(r,e){return new r({type:"string",format:"base64",check:"string_format",abort:!1,...Ze(e)})}function VJ(r,e){return new r({type:"string",format:"base64url",check:"string_format",abort:!1,...Ze(e)})}function qJ(r,e){return new r({type:"string",format:"e164",check:"string_format",abort:!1,...Ze(e)})}function WJ(r,e){return new r({type:"string",format:"jwt",check:"string_format",abort:!1,...Ze(e)})}function aVe(r,e){return new r({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Ze(e)})}function sVe(r,e){return new r({type:"string",format:"date",check:"string_format",...Ze(e)})}function oVe(r,e){return new r({type:"string",format:"time",check:"string_format",precision:null,...Ze(e)})}function lVe(r,e){return new r({type:"string",format:"duration",check:"string_format",...Ze(e)})}function YJ(r,e){return new r({type:"number",checks:[],...Ze(e)})}function GJ(r,e){return new r({type:"number",check:"number_format",abort:!1,format:"safeint",...Ze(e)})}function KJ(r,e){return new r({type:"boolean",...Ze(e)})}function ZJ(r,e){return new r({type:"null",...Ze(e)})}function QJ(r){return new r({type:"unknown"})}function JJ(r,e){return new r({type:"never",...Ze(e)})}function R1(r,e){return new NQ({check:"less_than",...Ze(e),value:r,inclusive:!1})}function o0(r,e){return new NQ({check:"less_than",...Ze(e),value:r,inclusive:!0})}function O1(r,e){return new RQ({check:"greater_than",...Ze(e),value:r,inclusive:!1})}function l0(r,e){return new RQ({check:"greater_than",...Ze(e),value:r,inclusive:!0})}function L1(r,e){return new DHe({check:"multiple_of",...Ze(e),value:r})}function F1(r,e){return new MHe({check:"max_length",...Ze(e),maximum:r})}function wk(r,e){return new _He({check:"min_length",...Ze(e),minimum:r})}function $1(r,e){return new AHe({check:"length_equals",...Ze(e),length:r})}function XJ(r,e){return new IHe({check:"string_format",format:"regex",...Ze(e),pattern:r})}function eX(r){return new NHe({check:"string_format",format:"lowercase",...Ze(r)})}function tX(r){return new RHe({check:"string_format",format:"uppercase",...Ze(r)})}function rX(r,e){return new OHe({check:"string_format",format:"includes",...Ze(e),includes:r})}function nX(r,e){return new LHe({check:"string_format",format:"starts_with",...Ze(e),prefix:r})}function iX(r,e){return new FHe({check:"string_format",format:"ends_with",...Ze(e),suffix:r})}function my(r){return new $He({check:"overwrite",tx:r})}function aX(r){return my(e=>e.normalize(r))}function sX(){return my(r=>r.trim())}function oX(){return my(r=>r.toLowerCase())}function lX(){return my(r=>r.toUpperCase())}function cVe(r,e,t){return new r({type:"array",element:e,...Ze(t)})}function cX(r,e,t){var a;let n=Ze(t);return(a=n.abort)!=null||(n.abort=!0),new r({type:"custom",check:"custom",fn:e,...n})}function dX(r,e,t){return new r({type:"custom",check:"custom",fn:e,...Ze(t)})}var dVe=y(()=>{D1();Md()});var uVe=y(()=>{});function uX(r,e){if(r instanceof s0){let n=new z1(e),i={};for(let o of r._idmap.entries()){let[l,c]=o;n.process(c)}let a={},s={registry:r,uri:e==null?void 0:e.uri,defs:i};for(let o of r._idmap.entries()){let[l,c]=o;a[l]=n.emit(c,{...e,external:s})}if(Object.keys(i).length>0){let o=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[o]:i}}return{schemas:a}}let t=new z1(e);return t.process(r),t.emit(r,e)}function yi(r,e){let t=e!=null?e:{seen:new Set};if(t.seen.has(r))return!1;t.seen.add(r);let i=r._zod.def;switch(i.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return yi(i.element,t);case"object":{for(let a in i.shape)if(yi(i.shape[a],t))return!0;return!1}case"union":{for(let a of i.options)if(yi(a,t))return!0;return!1}case"intersection":return yi(i.left,t)||yi(i.right,t);case"tuple":{for(let a of i.items)if(yi(a,t))return!0;return!!(i.rest&&yi(i.rest,t))}case"record":return yi(i.keyType,t)||yi(i.valueType,t);case"map":return yi(i.keyType,t)||yi(i.valueType,t);case"set":return yi(i.valueType,t);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return yi(i.innerType,t);case"lazy":return yi(i.getter(),t);case"default":return yi(i.innerType,t);case"prefault":return yi(i.innerType,t);case"custom":return!1;case"transform":return!0;case"pipe":return yi(i.in,t)||yi(i.out,t);case"success":return!1;case"catch":return!1;default:}throw new Error(`Unknown schema type: ${i.type}`)}var z1,pVe=y(()=>{EJ();Md();z1=class{constructor(e){var t,n,i,a,s;this.counter=0,this.metadataRegistry=(t=e==null?void 0:e.metadata)!=null?t:df,this.target=(n=e==null?void 0:e.target)!=null?n:"draft-2020-12",this.unrepresentable=(i=e==null?void 0:e.unrepresentable)!=null?i:"throw",this.override=(a=e==null?void 0:e.override)!=null?a:(()=>{}),this.io=(s=e==null?void 0:e.io)!=null?s:"output",this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var u,p,m,f,h;var n;let i=e._zod.def,a={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},s=this.seen.get(e);if(s)return s.count++,t.schemaPath.includes(e)&&(s.cycle=t.path),s.schema;let o={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,o);let l=(p=(u=e._zod).toJSONSchema)==null?void 0:p.call(u);if(l)o.schema=l;else{let g={...t,schemaPath:[...t.schemaPath,e],path:t.path},v=e._zod.parent;if(v)o.ref=v,this.process(v,g),this.seen.get(v).isParent=!0;else{let k=o.schema;switch(i.type){case"string":{let b=k;b.type="string";let{minimum:w,maximum:S,format:x,patterns:C,contentEncoding:D}=e._zod.bag;if(typeof w=="number"&&(b.minLength=w),typeof S=="number"&&(b.maxLength=S),x&&(b.format=(m=a[x])!=null?m:x,b.format===""&&delete b.format),D&&(b.contentEncoding=D),C&&C.size>0){let _=[...C];_.length===1?b.pattern=_[0].source:_.length>1&&(o.schema.allOf=[..._.map(O=>({...this.target==="draft-7"?{type:"string"}:{},pattern:O.source}))])}break}case"number":{let b=k,{minimum:w,maximum:S,format:x,multipleOf:C,exclusiveMaximum:D,exclusiveMinimum:_}=e._zod.bag;typeof x=="string"&&x.includes("int")?b.type="integer":b.type="number",typeof _=="number"&&(b.exclusiveMinimum=_),typeof w=="number"&&(b.minimum=w,typeof _=="number"&&(_>=w?delete b.minimum:delete b.exclusiveMinimum)),typeof D=="number"&&(b.exclusiveMaximum=D),typeof S=="number"&&(b.maximum=S,typeof D=="number"&&(D<=S?delete b.maximum:delete b.exclusiveMaximum)),typeof C=="number"&&(b.multipleOf=C);break}case"boolean":{let b=k;b.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{k.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{k.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let b=k,{minimum:w,maximum:S}=e._zod.bag;typeof w=="number"&&(b.minItems=w),typeof S=="number"&&(b.maxItems=S),b.type="array",b.items=this.process(i.element,{...g,path:[...g.path,"items"]});break}case"object":{let b=k;b.type="object",b.properties={};let w=i.shape;for(let C in w)b.properties[C]=this.process(w[C],{...g,path:[...g.path,"properties",C]});let S=new Set(Object.keys(w)),x=new Set([...S].filter(C=>{let D=i.shape[C]._zod;return this.io==="input"?D.optin===void 0:D.optout===void 0}));x.size>0&&(b.required=Array.from(x)),((f=i.catchall)==null?void 0:f._zod.def.type)==="never"?b.additionalProperties=!1:i.catchall?i.catchall&&(b.additionalProperties=this.process(i.catchall,{...g,path:[...g.path,"additionalProperties"]})):this.io==="output"&&(b.additionalProperties=!1);break}case"union":{let b=k;b.anyOf=i.options.map((w,S)=>this.process(w,{...g,path:[...g.path,"anyOf",S]}));break}case"intersection":{let b=k,w=this.process(i.left,{...g,path:[...g.path,"allOf",0]}),S=this.process(i.right,{...g,path:[...g.path,"allOf",1]}),x=D=>"allOf"in D&&Object.keys(D).length===1,C=[...x(w)?w.allOf:[w],...x(S)?S.allOf:[S]];b.allOf=C;break}case"tuple":{let b=k;b.type="array";let w=i.items.map((C,D)=>this.process(C,{...g,path:[...g.path,"prefixItems",D]}));if(this.target==="draft-2020-12"?b.prefixItems=w:b.items=w,i.rest){let C=this.process(i.rest,{...g,path:[...g.path,"items"]});this.target==="draft-2020-12"?b.items=C:b.additionalItems=C}i.rest&&(b.items=this.process(i.rest,{...g,path:[...g.path,"items"]}));let{minimum:S,maximum:x}=e._zod.bag;typeof S=="number"&&(b.minItems=S),typeof x=="number"&&(b.maxItems=x);break}case"record":{let b=k;b.type="object",b.propertyNames=this.process(i.keyType,{...g,path:[...g.path,"propertyNames"]}),b.additionalProperties=this.process(i.valueType,{...g,path:[...g.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{let b=k,w=JP(i.entries);w.every(S=>typeof S=="number")&&(b.type="number"),w.every(S=>typeof S=="string")&&(b.type="string"),b.enum=w;break}case"literal":{let b=k,w=[];for(let S of i.values)if(S===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof S=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");w.push(Number(S))}else w.push(S);if(w.length!==0)if(w.length===1){let S=w[0];b.type=S===null?"null":typeof S,b.const=S}else w.every(S=>typeof S=="number")&&(b.type="number"),w.every(S=>typeof S=="string")&&(b.type="string"),w.every(S=>typeof S=="boolean")&&(b.type="string"),w.every(S=>S===null)&&(b.type="null"),b.enum=w;break}case"file":{let b=k,w={type:"string",format:"binary",contentEncoding:"binary"},{minimum:S,maximum:x,mime:C}=e._zod.bag;S!==void 0&&(w.minLength=S),x!==void 0&&(w.maxLength=x),C?C.length===1?(w.contentMediaType=C[0],Object.assign(b,w)):b.anyOf=C.map(D=>({...w,contentMediaType:D})):Object.assign(b,w);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let b=this.process(i.innerType,g);k.anyOf=[b,{type:"null"}];break}case"nonoptional":{this.process(i.innerType,g),o.ref=i.innerType;break}case"success":{let b=k;b.type="boolean";break}case"default":{this.process(i.innerType,g),o.ref=i.innerType,k.default=JSON.parse(JSON.stringify(i.defaultValue));break}case"prefault":{this.process(i.innerType,g),o.ref=i.innerType,this.io==="input"&&(k._prefault=JSON.parse(JSON.stringify(i.defaultValue)));break}case"catch":{this.process(i.innerType,g),o.ref=i.innerType;let b;try{b=i.catchValue(void 0)}catch(w){throw new Error("Dynamic catch values are not supported in JSON Schema")}k.default=b;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let b=k,w=e._zod.pattern;if(!w)throw new Error("Pattern not found in template literal");b.type="string",b.pattern=w.source;break}case"pipe":{let b=this.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;this.process(b,g),o.ref=b;break}case"readonly":{this.process(i.innerType,g),o.ref=i.innerType,k.readOnly=!0;break}case"promise":{this.process(i.innerType,g),o.ref=i.innerType;break}case"optional":{this.process(i.innerType,g),o.ref=i.innerType;break}case"lazy":{let b=e._zod.innerType;this.process(b,g),o.ref=b;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}default:}}}let c=this.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),this.io==="input"&&yi(e)&&(delete o.schema.examples,delete o.schema.default),this.io==="input"&&o.schema._prefault&&((h=(n=o.schema).default)!=null||(n.default=o.schema._prefault)),delete o.schema._prefault,this.seen.get(e).schema}emit(e,t){var d,u,p,m,f,h,g,v,k,b;let n={cycles:(d=t==null?void 0:t.cycles)!=null?d:"ref",reused:(u=t==null?void 0:t.reused)!=null?u:"inline",external:(p=t==null?void 0:t.external)!=null?p:void 0},i=this.seen.get(e);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");let a=w=>{var _,O,L,N,R;let S=this.target==="draft-2020-12"?"$defs":"definitions";if(n.external){let z=(_=n.external.registry.get(w[0]))==null?void 0:_.id,H=(O=n.external.uri)!=null?O:(se=>se);if(z)return{ref:H(z)};let Y=(N=(L=w[1].defId)!=null?L:w[1].schema.id)!=null?N:`schema${this.counter++}`;return w[1].defId=Y,{defId:Y,ref:`${H("__shared")}#/${S}/${Y}`}}if(w[1]===i)return{ref:"#"};let C=`#/${S}/`,D=(R=w[1].schema.id)!=null?R:`__schema${this.counter++}`;return{defId:D,ref:C+D}},s=w=>{if(w[1].schema.$ref)return;let S=w[1],{ref:x,defId:C}=a(w);S.def={...S.schema},C&&(S.defId=C);let D=S.schema;for(let _ in D)delete D[_];D.$ref=x};if(n.cycles==="throw")for(let w of this.seen.entries()){let S=w[1];if(S.cycle)throw new Error(`Cycle detected: #/${(m=S.cycle)==null?void 0:m.join("/")}/<root>
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let w of this.seen.entries()){let S=w[1];if(e===w[0]){s(w);continue}if(n.external){let C=(f=n.external.registry.get(w[0]))==null?void 0:f.id;if(e!==w[0]&&C){s(w);continue}}if((h=this.metadataRegistry.get(w[0]))==null?void 0:h.id){s(w);continue}if(S.cycle){s(w);continue}if(S.count>1&&n.reused==="ref"){s(w);continue}}let o=(w,S)=>{var O,L,N;let x=this.seen.get(w),C=(O=x.def)!=null?O:x.schema,D={...C};if(x.ref===null)return;let _=x.ref;if(x.ref=null,_){o(_,S);let R=this.seen.get(_).schema;R.$ref&&S.target==="draft-7"?(C.allOf=(L=C.allOf)!=null?L:[],C.allOf.push(R)):(Object.assign(C,R),Object.assign(C,D))}x.isParent||this.override({zodSchema:w,jsonSchema:C,path:(N=x.path)!=null?N:[]})};for(let w of[...this.seen.entries()].reverse())o(w[0],{target:this.target});let l={};if(this.target==="draft-2020-12"?l.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?l.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),(g=n.external)!=null&&g.uri){let w=(v=n.external.registry.get(e))==null?void 0:v.id;if(!w)throw new Error("Schema is missing an `id` property");l.$id=n.external.uri(w)}Object.assign(l,i.def);let c=(b=(k=n.external)==null?void 0:k.defs)!=null?b:{};for(let w of this.seen.entries()){let S=w[1];S.def&&S.defId&&(c[S.defId]=S.def)}n.external||Object.keys(c).length>0&&(this.target==="draft-2020-12"?l.$defs=c:l.definitions=c);try{return JSON.parse(JSON.stringify(l))}catch(w){throw new Error("Error converting schema to JSON.")}}}});var mo=y(()=>{bk();PQ();kQ();tVe();D1();LQ();Md();EJ();OQ();uVe();dVe();pVe()});var pX=y(()=>{mo()});function mX(r,e){let t={type:"object",get shape(){return Ot.assignProp(this,"shape",{...r}),this.shape},...Ot.normalizeParams(e)};return new aRt(t)}var iRt,aRt,mVe=y(()=>{mo();mo();pX();iRt=W("ZodMiniType",(r,e)=>{if(!r._zod)throw new Error("Uninitialized schema in ZodMiniType.");Or.init(r,e),r.def=e,r.parse=(t,n)=>SQ(r,t,n,{callee:r.parse}),r.safeParse=(t,n)=>uy(r,t,n),r.parseAsync=async(t,n)=>xQ(r,t,n,{callee:r.parseAsync}),r.safeParseAsync=async(t,n)=>py(r,t,n),r.check=(...t)=>{var n;return r.clone({...e,checks:[...(n=e.checks)!=null?n:[],...t.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]})},r.clone=(t,n)=>po(r,t,n),r.brand=()=>r,r.register=((t,n)=>(t.add(r,n),r))}),aRt=W("ZodMiniObject",(r,e)=>{A1.init(r,e),iRt.init(r,e),Ot.defineLazy(r,"shape",()=>e.shape)})});var fVe=y(()=>{});var hVe=y(()=>{pX();mVe();fVe();mo()});var gVe=y(()=>{hVe()});var fX=y(()=>{gVe()});function tl(r){return!!r._zod}function fy(r){let e=Object.values(r);if(e.length===0)return mX({});let t=e.every(tl),n=e.every(i=>!tl(i));if(t)return mX(r);if(n)return J8(r);throw new Error("Mixed Zod versions detected in object shape.")}function uf(r,e){return tl(r)?uy(r,e):r.safeParse(e)}async function j1(r,e){return tl(r)?await py(r,e):await r.safeParseAsync(e)}function pf(r){var t,n;if(!r)return;let e;if(tl(r)?e=(n=(t=r._zod)==null?void 0:t.def)==null?void 0:n.shape:e=r.shape,!!e){if(typeof e=="function")try{return e()}catch(i){return}return e}}function Sk(r){var e;if(r){if(typeof r=="object"){let t=r,n=r;if(!t._def&&!n._zod){let i=Object.values(r);if(i.length>0&&i.every(a=>typeof a=="object"&&a!==null&&(a._def!==void 0||a._zod!==void 0||typeof a.parse=="function")))return fy(r)}}if(tl(r)){let n=(e=r._zod)==null?void 0:e.def;if(n&&(n.type==="object"||n.shape!==void 0))return r}else if(r.shape!==void 0)return r}}function B1(r){if(r&&typeof r=="object"){if("message"in r&&typeof r.message=="string")return r.message;if("issues"in r&&Array.isArray(r.issues)&&r.issues.length>0){let e=r.issues[0];if(e&&typeof e=="object"&&"message"in e)return String(e.message)}try{return JSON.stringify(r)}catch(e){return String(r)}}return String(r)}function vVe(r){return r.description}function bVe(r){var t,n,i;if(tl(r))return((n=(t=r._zod)==null?void 0:t.def)==null?void 0:n.type)==="optional";let e=r;return typeof r.isOptional=="function"?r.isOptional():((i=e._def)==null?void 0:i.typeName)==="ZodOptional"}function U1(r){var i;if(tl(r)){let s=(i=r._zod)==null?void 0:i.def;if(s){if(s.value!==void 0)return s.value;if(Array.isArray(s.values)&&s.values.length>0)return s.values[0]}}let t=r._def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}let n=r.value;if(n!==void 0)return n}var d0=y(()=>{ZP();fX()});var hX=y(()=>{mo()});var Ek={};et(Ek,{ZodISODate:()=>kVe,ZodISODateTime:()=>TVe,ZodISODuration:()=>SVe,ZodISOTime:()=>wVe,date:()=>yX,datetime:()=>gX,duration:()=>bX,time:()=>vX});function gX(r){return aVe(TVe,r)}function yX(r){return sVe(kVe,r)}function vX(r){return oVe(wVe,r)}function bX(r){return lVe(SVe,r)}var TVe,kVe,wVe,SVe,TX=y(()=>{mo();kX();TVe=W("ZodISODateTime",(r,e)=>{ZHe.init(r,e),pn.init(r,e)});kVe=W("ZodISODate",(r,e)=>{QHe.init(r,e),pn.init(r,e)});wVe=W("ZodISOTime",(r,e)=>{JHe.init(r,e),pn.init(r,e)});SVe=W("ZodISODuration",(r,e)=>{XHe.init(r,e),pn.init(r,e)})});var EVe,m9r,u0,wX=y(()=>{mo();mo();EVe=(r,e)=>{C1.init(r,e),r.name="ZodError",Object.defineProperties(r,{format:{value:t=>TQ(r,t)},flatten:{value:t=>bQ(r,t)},addIssue:{value:t=>r.issues.push(t)},addIssues:{value:t=>r.issues.push(...t)},isEmpty:{get(){return r.issues.length===0}}})},m9r=W("ZodError",EVe),u0=W("ZodError",EVe,{Parent:Error})});var xVe,CVe,DVe,PVe,SX=y(()=>{mo();wX();xVe=wQ(u0),CVe=EQ(u0),DVe=CQ(u0),PVe=DQ(u0)});function q(r){return xJ(mRt,r)}function Ir(r){return YJ(NVe,r)}function _Ve(r){return GJ(ARt,r)}function Mi(r){return KJ(IRt,r)}function CX(r){return ZJ(NRt,r)}function mn(){return QJ(RRt)}function LRt(r){return JJ(ORt,r)}function Kt(r,e){return cVe(FRt,r,e)}function ve(r,e){let t={type:"object",get shape(){return Ot.assignProp(this,"shape",{...r}),this.shape},...Ot.normalizeParams(e)};return new RVe(t)}function Va(r,e){return new RVe({type:"object",get shape(){return Ot.assignProp(this,"shape",{...r}),this.shape},catchall:mn(),...Ot.normalizeParams(e)})}function Zr(r,e){return new OVe({type:"union",options:r,...Ot.normalizeParams(e)})}function DX(r,e,t){return new $Rt({type:"union",options:e,discriminator:r,...Ot.normalizeParams(t)})}function V1(r,e){return new zRt({type:"intersection",left:r,right:e})}function fn(r,e,t){return new jRt({type:"record",keyType:r,valueType:e,...Ot.normalizeParams(t)})}function Es(r,e){let t=Array.isArray(r)?Object.fromEntries(r.map(n=>[n,n])):r;return new EX({type:"enum",entries:t,...Ot.normalizeParams(e)})}function Le(r,e){return new BRt({type:"literal",values:Array.isArray(r)?r:[r],...Ot.normalizeParams(e)})}function LVe(r){return new URt({type:"transform",transform:r})}function Sn(r){return new FVe({type:"optional",innerType:r})}function AVe(r){return new HRt({type:"nullable",innerType:r})}function qRt(r,e){return new VRt({type:"default",innerType:r,get defaultValue(){return typeof e=="function"?e():e}})}function YRt(r,e){return new WRt({type:"prefault",innerType:r,get defaultValue(){return typeof e=="function"?e():e}})}function GRt(r,e){return new $Ve({type:"nonoptional",innerType:r,...Ot.normalizeParams(e)})}function ZRt(r,e){return new KRt({type:"catch",innerType:r,catchValue:typeof e=="function"?e:()=>e})}function xX(r,e){return new QRt({type:"pipe",in:r,out:e})}function XRt(r){return new JRt({type:"readonly",innerType:r})}function eOt(r){let e=new Vi({check:"custom"});return e._zod.check=r,e}function jVe(r,e){return cX(zVe,r!=null?r:(()=>!0),e)}function tOt(r,e={}){return dX(zVe,r,e)}function rOt(r){let e=eOt(t=>(t.addIssue=n=>{var i,a,s,o;if(typeof n=="string")t.issues.push(Ot.issue(n,t.value,e._zod.def));else{let l=n;l.fatal&&(l.continue=!1),(i=l.code)!=null||(l.code="custom"),(a=l.input)!=null||(l.input=t.value),(s=l.inst)!=null||(l.inst=e),(o=l.continue)!=null||(l.continue=!e._zod.def.abort),t.issues.push(Ot.issue(l))}},r(t.value,t)));return e}function PX(r,e){return xX(LVe(r),e)}var En,IVe,mRt,pn,fRt,MVe,H1,hRt,gRt,yRt,vRt,bRt,TRt,kRt,wRt,SRt,ERt,xRt,CRt,DRt,PRt,MRt,_Rt,NVe,ARt,IRt,NRt,RRt,ORt,FRt,RVe,OVe,$Rt,zRt,jRt,EX,BRt,URt,FVe,HRt,VRt,WRt,$Ve,KRt,QRt,JRt,zVe,kX=y(()=>{mo();mo();hX();TX();SX();En=W("ZodType",(r,e)=>(Or.init(r,e),r.def=e,Object.defineProperty(r,"_def",{value:e}),r.check=(...t)=>{var n;return r.clone({...e,checks:[...(n=e.checks)!=null?n:[],...t.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]})},r.clone=(t,n)=>po(r,t,n),r.brand=()=>r,r.register=((t,n)=>(t.add(r,n),r)),r.parse=(t,n)=>xVe(r,t,n,{callee:r.parse}),r.safeParse=(t,n)=>DVe(r,t,n),r.parseAsync=async(t,n)=>CVe(r,t,n,{callee:r.parseAsync}),r.safeParseAsync=async(t,n)=>PVe(r,t,n),r.spa=r.safeParseAsync,r.refine=(t,n)=>r.check(tOt(t,n)),r.superRefine=t=>r.check(rOt(t)),r.overwrite=t=>r.check(my(t)),r.optional=()=>Sn(r),r.nullable=()=>AVe(r),r.nullish=()=>Sn(AVe(r)),r.nonoptional=t=>GRt(r,t),r.array=()=>Kt(r),r.or=t=>Zr([r,t]),r.and=t=>V1(r,t),r.transform=t=>xX(r,LVe(t)),r.default=t=>qRt(r,t),r.prefault=t=>YRt(r,t),r.catch=t=>ZRt(r,t),r.pipe=t=>xX(r,t),r.readonly=()=>XRt(r),r.describe=t=>{let n=r.clone();return df.add(n,{description:t}),n},Object.defineProperty(r,"description",{get(){var t;return(t=df.get(r))==null?void 0:t.description},configurable:!0}),r.meta=(...t)=>{if(t.length===0)return df.get(r);let n=r.clone();return df.add(n,t[0]),n},r.isOptional=()=>r.safeParse(void 0).success,r.isNullable=()=>r.safeParse(null).success,r)),IVe=W("_ZodString",(r,e)=>{var n,i,a;a0.init(r,e),En.init(r,e);let t=r._zod.bag;r.format=(n=t.format)!=null?n:null,r.minLength=(i=t.minimum)!=null?i:null,r.maxLength=(a=t.maximum)!=null?a:null,r.regex=(...s)=>r.check(XJ(...s)),r.includes=(...s)=>r.check(rX(...s)),r.startsWith=(...s)=>r.check(nX(...s)),r.endsWith=(...s)=>r.check(iX(...s)),r.min=(...s)=>r.check(wk(...s)),r.max=(...s)=>r.check(F1(...s)),r.length=(...s)=>r.check($1(...s)),r.nonempty=(...s)=>r.check(wk(1,...s)),r.lowercase=s=>r.check(eX(s)),r.uppercase=s=>r.check(tX(s)),r.trim=()=>r.check(sX()),r.normalize=(...s)=>r.check(aX(...s)),r.toLowerCase=()=>r.check(oX()),r.toUpperCase=()=>r.check(lX())}),mRt=W("ZodString",(r,e)=>{a0.init(r,e),IVe.init(r,e),r.email=t=>r.check(CJ(fRt,t)),r.url=t=>r.check(AJ(hRt,t)),r.jwt=t=>r.check(WJ(_Rt,t)),r.emoji=t=>r.check(IJ(gRt,t)),r.guid=t=>r.check(N1(MVe,t)),r.uuid=t=>r.check(DJ(H1,t)),r.uuidv4=t=>r.check(PJ(H1,t)),r.uuidv6=t=>r.check(MJ(H1,t)),r.uuidv7=t=>r.check(_J(H1,t)),r.nanoid=t=>r.check(NJ(yRt,t)),r.guid=t=>r.check(N1(MVe,t)),r.cuid=t=>r.check(RJ(vRt,t)),r.cuid2=t=>r.check(OJ(bRt,t)),r.ulid=t=>r.check(LJ(TRt,t)),r.base64=t=>r.check(HJ(DRt,t)),r.base64url=t=>r.check(VJ(PRt,t)),r.xid=t=>r.check(FJ(kRt,t)),r.ksuid=t=>r.check($J(wRt,t)),r.ipv4=t=>r.check(zJ(SRt,t)),r.ipv6=t=>r.check(jJ(ERt,t)),r.cidrv4=t=>r.check(BJ(xRt,t)),r.cidrv6=t=>r.check(UJ(CRt,t)),r.e164=t=>r.check(qJ(MRt,t)),r.datetime=t=>r.check(gX(t)),r.date=t=>r.check(yX(t)),r.time=t=>r.check(vX(t)),r.duration=t=>r.check(bX(t))});pn=W("ZodStringFormat",(r,e)=>{Kr.init(r,e),IVe.init(r,e)}),fRt=W("ZodEmail",(r,e)=>{jQ.init(r,e),pn.init(r,e)}),MVe=W("ZodGUID",(r,e)=>{$Q.init(r,e),pn.init(r,e)}),H1=W("ZodUUID",(r,e)=>{zQ.init(r,e),pn.init(r,e)}),hRt=W("ZodURL",(r,e)=>{BQ.init(r,e),pn.init(r,e)}),gRt=W("ZodEmoji",(r,e)=>{UQ.init(r,e),pn.init(r,e)}),yRt=W("ZodNanoID",(r,e)=>{HQ.init(r,e),pn.init(r,e)}),vRt=W("ZodCUID",(r,e)=>{VQ.init(r,e),pn.init(r,e)}),bRt=W("ZodCUID2",(r,e)=>{qQ.init(r,e),pn.init(r,e)}),TRt=W("ZodULID",(r,e)=>{WQ.init(r,e),pn.init(r,e)}),kRt=W("ZodXID",(r,e)=>{YQ.init(r,e),pn.init(r,e)}),wRt=W("ZodKSUID",(r,e)=>{GQ.init(r,e),pn.init(r,e)}),SRt=W("ZodIPv4",(r,e)=>{KQ.init(r,e),pn.init(r,e)}),ERt=W("ZodIPv6",(r,e)=>{ZQ.init(r,e),pn.init(r,e)}),xRt=W("ZodCIDRv4",(r,e)=>{QQ.init(r,e),pn.init(r,e)}),CRt=W("ZodCIDRv6",(r,e)=>{JQ.init(r,e),pn.init(r,e)}),DRt=W("ZodBase64",(r,e)=>{XQ.init(r,e),pn.init(r,e)}),PRt=W("ZodBase64URL",(r,e)=>{eJ.init(r,e),pn.init(r,e)}),MRt=W("ZodE164",(r,e)=>{tJ.init(r,e),pn.init(r,e)}),_Rt=W("ZodJWT",(r,e)=>{rJ.init(r,e),pn.init(r,e)}),NVe=W("ZodNumber",(r,e)=>{var n,i,a,s,o,l,c,d,u;_1.init(r,e),En.init(r,e),r.gt=(p,m)=>r.check(O1(p,m)),r.gte=(p,m)=>r.check(l0(p,m)),r.min=(p,m)=>r.check(l0(p,m)),r.lt=(p,m)=>r.check(R1(p,m)),r.lte=(p,m)=>r.check(o0(p,m)),r.max=(p,m)=>r.check(o0(p,m)),r.int=p=>r.check(_Ve(p)),r.safe=p=>r.check(_Ve(p)),r.positive=p=>r.check(O1(0,p)),r.nonnegative=p=>r.check(l0(0,p)),r.negative=p=>r.check(R1(0,p)),r.nonpositive=p=>r.check(o0(0,p)),r.multipleOf=(p,m)=>r.check(L1(p,m)),r.step=(p,m)=>r.check(L1(p,m)),r.finite=()=>r;let t=r._zod.bag;r.minValue=(a=Math.max((n=t.minimum)!=null?n:Number.NEGATIVE_INFINITY,(i=t.exclusiveMinimum)!=null?i:Number.NEGATIVE_INFINITY))!=null?a:null,r.maxValue=(l=Math.min((s=t.maximum)!=null?s:Number.POSITIVE_INFINITY,(o=t.exclusiveMaximum)!=null?o:Number.POSITIVE_INFINITY))!=null?l:null,r.isInt=((c=t.format)!=null?c:"").includes("int")||Number.isSafeInteger((d=t.multipleOf)!=null?d:.5),r.isFinite=!0,r.format=(u=t.format)!=null?u:null});ARt=W("ZodNumberFormat",(r,e)=>{nJ.init(r,e),NVe.init(r,e)});IRt=W("ZodBoolean",(r,e)=>{iJ.init(r,e),En.init(r,e)});NRt=W("ZodNull",(r,e)=>{aJ.init(r,e),En.init(r,e)});RRt=W("ZodUnknown",(r,e)=>{sJ.init(r,e),En.init(r,e)});ORt=W("ZodNever",(r,e)=>{oJ.init(r,e),En.init(r,e)});FRt=W("ZodArray",(r,e)=>{lJ.init(r,e),En.init(r,e),r.element=e.element,r.min=(t,n)=>r.check(wk(t,n)),r.nonempty=t=>r.check(wk(1,t)),r.max=(t,n)=>r.check(F1(t,n)),r.length=(t,n)=>r.check($1(t,n)),r.unwrap=()=>r.element});RVe=W("ZodObject",(r,e)=>{A1.init(r,e),En.init(r,e),Ot.defineLazy(r,"shape",()=>e.shape),r.keyof=()=>Es(Object.keys(r._zod.def.shape)),r.catchall=t=>r.clone({...r._zod.def,catchall:t}),r.passthrough=()=>r.clone({...r._zod.def,catchall:mn()}),r.loose=()=>r.clone({...r._zod.def,catchall:mn()}),r.strict=()=>r.clone({...r._zod.def,catchall:LRt()}),r.strip=()=>r.clone({...r._zod.def,catchall:void 0}),r.extend=t=>Ot.extend(r,t),r.merge=t=>Ot.merge(r,t),r.pick=t=>Ot.pick(r,t),r.omit=t=>Ot.omit(r,t),r.partial=(...t)=>Ot.partial(FVe,r,t[0]),r.required=(...t)=>Ot.required($Ve,r,t[0])});OVe=W("ZodUnion",(r,e)=>{I1.init(r,e),En.init(r,e),r.options=e.options});$Rt=W("ZodDiscriminatedUnion",(r,e)=>{OVe.init(r,e),cJ.init(r,e)});zRt=W("ZodIntersection",(r,e)=>{dJ.init(r,e),En.init(r,e)});jRt=W("ZodRecord",(r,e)=>{uJ.init(r,e),En.init(r,e),r.keyType=e.keyType,r.valueType=e.valueType});EX=W("ZodEnum",(r,e)=>{pJ.init(r,e),En.init(r,e),r.enum=e.entries,r.options=Object.values(e.entries);let t=new Set(Object.keys(e.entries));r.extract=(n,i)=>{let a={};for(let s of n)if(t.has(s))a[s]=e.entries[s];else throw new Error(`Key ${s} not found in enum`);return new EX({...e,checks:[],...Ot.normalizeParams(i),entries:a})},r.exclude=(n,i)=>{let a={...e.entries};for(let s of n)if(t.has(s))delete a[s];else throw new Error(`Key ${s} not found in enum`);return new EX({...e,checks:[],...Ot.normalizeParams(i),entries:a})}});BRt=W("ZodLiteral",(r,e)=>{mJ.init(r,e),En.init(r,e),r.values=new Set(e.values),Object.defineProperty(r,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});URt=W("ZodTransform",(r,e)=>{fJ.init(r,e),En.init(r,e),r._zod.parse=(t,n)=>{t.addIssue=a=>{var s,o,l,c;if(typeof a=="string")t.issues.push(Ot.issue(a,t.value,e));else{let d=a;d.fatal&&(d.continue=!1),(s=d.code)!=null||(d.code="custom"),(o=d.input)!=null||(d.input=t.value),(l=d.inst)!=null||(d.inst=r),(c=d.continue)!=null||(d.continue=!0),t.issues.push(Ot.issue(d))}};let i=e.transform(t.value,t);return i instanceof Promise?i.then(a=>(t.value=a,t)):(t.value=i,t)}});FVe=W("ZodOptional",(r,e)=>{hJ.init(r,e),En.init(r,e),r.unwrap=()=>r._zod.def.innerType});HRt=W("ZodNullable",(r,e)=>{gJ.init(r,e),En.init(r,e),r.unwrap=()=>r._zod.def.innerType});VRt=W("ZodDefault",(r,e)=>{yJ.init(r,e),En.init(r,e),r.unwrap=()=>r._zod.def.innerType,r.removeDefault=r.unwrap});WRt=W("ZodPrefault",(r,e)=>{vJ.init(r,e),En.init(r,e),r.unwrap=()=>r._zod.def.innerType});$Ve=W("ZodNonOptional",(r,e)=>{bJ.init(r,e),En.init(r,e),r.unwrap=()=>r._zod.def.innerType});KRt=W("ZodCatch",(r,e)=>{TJ.init(r,e),En.init(r,e),r.unwrap=()=>r._zod.def.innerType,r.removeCatch=r.unwrap});QRt=W("ZodPipe",(r,e)=>{kJ.init(r,e),En.init(r,e),r.in=e.in,r.out=e.out});JRt=W("ZodReadonly",(r,e)=>{wJ.init(r,e),En.init(r,e)});zVe=W("ZodCustom",(r,e)=>{SJ.init(r,e),En.init(r,e)})});var BVe=y(()=>{});var UVe=y(()=>{kX();hX();wX();SX();BVe();mo();nVe();TX();uo(rVe())});var HVe=y(()=>{UVe()});var VVe=y(()=>{HVe()});function aqe(r){if(r.params.ref.type!=="ref/prompt")throw new TypeError(`Expected CompleteRequestPrompt, but got ${r.params.ref.type}`)}function sqe(r){if(r.params.ref.type!=="ref/resource")throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${r.params.ref.type}`)}var _X,qVe,p0,mf,W1,qi,WVe,YVe,M9r,iOt,aOt,AX,fo,m0,GVe,Wi,rl,nl,Yi,Y1,KVe,ff,ZVe,QVe,IX,up,Be,NX,Ck,RX,_9r,G1,sOt,K1,oOt,f0,xk,JVe,lOt,cOt,dOt,uOt,pOt,mOt,Z1,OX,fOt,hOt,LX,Q1,gOt,yOt,J1,vOt,h0,g0,bOt,y0,Dk,TOt,v0,X1,e$,t$,A9r,r$,n$,i$,XVe,eqe,tqe,FX,rqe,b0,Pk,nqe,kOt,a$,wOt,s$,SOt,$X,EOt,o$,xOt,COt,DOt,POt,MOt,_Ot,AOt,IOt,NOt,ROt,l$,OOt,LOt,c$,zX,jX,BX,FOt,$Ot,zOt,UX,jOt,BOt,UOt,HOt,VOt,iqe,d$,qOt,u$,I9r,WOt,Mk,YOt,N9r,T0,GOt,HX,KOt,ZOt,QOt,JOt,XOt,eLt,tLt,q1,rLt,nLt,iLt,VX,qX,aLt,sLt,oLt,lLt,cLt,dLt,uLt,pLt,mLt,fLt,hLt,gLt,yLt,vLt,bLt,TLt,kLt,wLt,p$,SLt,ELt,xLt,m$,CLt,DLt,PLt,WX,MLt,R9r,O9r,L9r,F9r,$9r,z9r,Re,MX,k0=y(()=>{VVe();_X="2025-11-25",qVe="2025-03-26",p0=[_X,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],mf="io.modelcontextprotocol/related-task",W1="2.0",qi=jVe(r=>r!==null&&(typeof r=="object"||typeof r=="function")),WVe=Zr([q(),Ir().int()]),YVe=q(),M9r=Va({ttl:Zr([Ir(),CX()]).optional(),pollInterval:Ir().optional()}),iOt=ve({ttl:Ir().optional()}),aOt=ve({taskId:q()}),AX=Va({progressToken:WVe.optional(),[mf]:aOt.optional()}),fo=ve({_meta:AX.optional()}),m0=fo.extend({task:iOt.optional()}),GVe=r=>m0.safeParse(r).success,Wi=ve({method:q(),params:fo.loose().optional()}),rl=ve({_meta:AX.optional()}),nl=ve({method:q(),params:rl.loose().optional()}),Yi=Va({_meta:AX.optional()}),Y1=Zr([q(),Ir().int()]),KVe=ve({jsonrpc:Le(W1),id:Y1,...Wi.shape}).strict(),ff=r=>KVe.safeParse(r).success,ZVe=ve({jsonrpc:Le(W1),...nl.shape}).strict(),QVe=r=>ZVe.safeParse(r).success,IX=ve({jsonrpc:Le(W1),id:Y1,result:Yi}).strict(),up=r=>IX.safeParse(r).success;(function(r){r[r.ConnectionClosed=-32e3]="ConnectionClosed",r[r.RequestTimeout=-32001]="RequestTimeout",r[r.ParseError=-32700]="ParseError",r[r.InvalidRequest=-32600]="InvalidRequest",r[r.MethodNotFound=-32601]="MethodNotFound",r[r.InvalidParams=-32602]="InvalidParams",r[r.InternalError=-32603]="InternalError",r[r.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Be||(Be={}));NX=ve({jsonrpc:Le(W1),id:Y1.optional(),error:ve({code:Ir().int(),message:q(),data:mn().optional()})}).strict(),Ck=r=>NX.safeParse(r).success,RX=Zr([KVe,ZVe,IX,NX]),_9r=Zr([IX,NX]),G1=Yi.strict(),sOt=rl.extend({requestId:Y1.optional(),reason:q().optional()}),K1=nl.extend({method:Le("notifications/cancelled"),params:sOt}),oOt=ve({src:q(),mimeType:q().optional(),sizes:Kt(q()).optional(),theme:Es(["light","dark"]).optional()}),f0=ve({icons:Kt(oOt).optional()}),xk=ve({name:q(),title:q().optional()}),JVe=xk.extend({...xk.shape,...f0.shape,version:q(),websiteUrl:q().optional(),description:q().optional()}),lOt=V1(ve({applyDefaults:Mi().optional()}),fn(q(),mn())),cOt=PX(r=>r&&typeof r=="object"&&!Array.isArray(r)&&Object.keys(r).length===0?{form:{}}:r,V1(ve({form:lOt.optional(),url:qi.optional()}),fn(q(),mn()).optional())),dOt=Va({list:qi.optional(),cancel:qi.optional(),requests:Va({sampling:Va({createMessage:qi.optional()}).optional(),elicitation:Va({create:qi.optional()}).optional()}).optional()}),uOt=Va({list:qi.optional(),cancel:qi.optional(),requests:Va({tools:Va({call:qi.optional()}).optional()}).optional()}),pOt=ve({experimental:fn(q(),qi).optional(),sampling:ve({context:qi.optional(),tools:qi.optional()}).optional(),elicitation:cOt.optional(),roots:ve({listChanged:Mi().optional()}).optional(),tasks:dOt.optional()}),mOt=fo.extend({protocolVersion:q(),capabilities:pOt,clientInfo:JVe}),Z1=Wi.extend({method:Le("initialize"),params:mOt}),OX=r=>Z1.safeParse(r).success,fOt=ve({experimental:fn(q(),qi).optional(),logging:qi.optional(),completions:qi.optional(),prompts:ve({listChanged:Mi().optional()}).optional(),resources:ve({subscribe:Mi().optional(),listChanged:Mi().optional()}).optional(),tools:ve({listChanged:Mi().optional()}).optional(),tasks:uOt.optional()}),hOt=Yi.extend({protocolVersion:q(),capabilities:fOt,serverInfo:JVe,instructions:q().optional()}),LX=nl.extend({method:Le("notifications/initialized"),params:rl.optional()}),Q1=Wi.extend({method:Le("ping"),params:fo.optional()}),gOt=ve({progress:Ir(),total:Sn(Ir()),message:Sn(q())}),yOt=ve({...rl.shape,...gOt.shape,progressToken:WVe}),J1=nl.extend({method:Le("notifications/progress"),params:yOt}),vOt=fo.extend({cursor:YVe.optional()}),h0=Wi.extend({params:vOt.optional()}),g0=Yi.extend({nextCursor:YVe.optional()}),bOt=Es(["working","input_required","completed","failed","cancelled"]),y0=ve({taskId:q(),status:bOt,ttl:Zr([Ir(),CX()]),createdAt:q(),lastUpdatedAt:q(),pollInterval:Sn(Ir()),statusMessage:Sn(q())}),Dk=Yi.extend({task:y0}),TOt=rl.merge(y0),v0=nl.extend({method:Le("notifications/tasks/status"),params:TOt}),X1=Wi.extend({method:Le("tasks/get"),params:fo.extend({taskId:q()})}),e$=Yi.merge(y0),t$=Wi.extend({method:Le("tasks/result"),params:fo.extend({taskId:q()})}),A9r=Yi.loose(),r$=h0.extend({method:Le("tasks/list")}),n$=g0.extend({tasks:Kt(y0)}),i$=Wi.extend({method:Le("tasks/cancel"),params:fo.extend({taskId:q()})}),XVe=Yi.merge(y0),eqe=ve({uri:q(),mimeType:Sn(q()),_meta:fn(q(),mn()).optional()}),tqe=eqe.extend({text:q()}),FX=q().refine(r=>{try{return atob(r),!0}catch(e){return!1}},{message:"Invalid Base64 string"}),rqe=eqe.extend({blob:FX}),b0=Es(["user","assistant"]),Pk=ve({audience:Kt(b0).optional(),priority:Ir().min(0).max(1).optional(),lastModified:Ek.datetime({offset:!0}).optional()}),nqe=ve({...xk.shape,...f0.shape,uri:q(),description:Sn(q()),mimeType:Sn(q()),annotations:Pk.optional(),_meta:Sn(Va({}))}),kOt=ve({...xk.shape,...f0.shape,uriTemplate:q(),description:Sn(q()),mimeType:Sn(q()),annotations:Pk.optional(),_meta:Sn(Va({}))}),a$=h0.extend({method:Le("resources/list")}),wOt=g0.extend({resources:Kt(nqe)}),s$=h0.extend({method:Le("resources/templates/list")}),SOt=g0.extend({resourceTemplates:Kt(kOt)}),$X=fo.extend({uri:q()}),EOt=$X,o$=Wi.extend({method:Le("resources/read"),params:EOt}),xOt=Yi.extend({contents:Kt(Zr([tqe,rqe]))}),COt=nl.extend({method:Le("notifications/resources/list_changed"),params:rl.optional()}),DOt=$X,POt=Wi.extend({method:Le("resources/subscribe"),params:DOt}),MOt=$X,_Ot=Wi.extend({method:Le("resources/unsubscribe"),params:MOt}),AOt=rl.extend({uri:q()}),IOt=nl.extend({method:Le("notifications/resources/updated"),params:AOt}),NOt=ve({name:q(),description:Sn(q()),required:Sn(Mi())}),ROt=ve({...xk.shape,...f0.shape,description:Sn(q()),arguments:Sn(Kt(NOt)),_meta:Sn(Va({}))}),l$=h0.extend({method:Le("prompts/list")}),OOt=g0.extend({prompts:Kt(ROt)}),LOt=fo.extend({name:q(),arguments:fn(q(),q()).optional()}),c$=Wi.extend({method:Le("prompts/get"),params:LOt}),zX=ve({type:Le("text"),text:q(),annotations:Pk.optional(),_meta:fn(q(),mn()).optional()}),jX=ve({type:Le("image"),data:FX,mimeType:q(),annotations:Pk.optional(),_meta:fn(q(),mn()).optional()}),BX=ve({type:Le("audio"),data:FX,mimeType:q(),annotations:Pk.optional(),_meta:fn(q(),mn()).optional()}),FOt=ve({type:Le("tool_use"),name:q(),id:q(),input:fn(q(),mn()),_meta:fn(q(),mn()).optional()}),$Ot=ve({type:Le("resource"),resource:Zr([tqe,rqe]),annotations:Pk.optional(),_meta:fn(q(),mn()).optional()}),zOt=nqe.extend({type:Le("resource_link")}),UX=Zr([zX,jX,BX,zOt,$Ot]),jOt=ve({role:b0,content:UX}),BOt=Yi.extend({description:q().optional(),messages:Kt(jOt)}),UOt=nl.extend({method:Le("notifications/prompts/list_changed"),params:rl.optional()}),HOt=ve({title:q().optional(),readOnlyHint:Mi().optional(),destructiveHint:Mi().optional(),idempotentHint:Mi().optional(),openWorldHint:Mi().optional()}),VOt=ve({taskSupport:Es(["required","optional","forbidden"]).optional()}),iqe=ve({...xk.shape,...f0.shape,description:q().optional(),inputSchema:ve({type:Le("object"),properties:fn(q(),qi).optional(),required:Kt(q()).optional()}).catchall(mn()),outputSchema:ve({type:Le("object"),properties:fn(q(),qi).optional(),required:Kt(q()).optional()}).catchall(mn()).optional(),annotations:HOt.optional(),execution:VOt.optional(),_meta:fn(q(),mn()).optional()}),d$=h0.extend({method:Le("tools/list")}),qOt=g0.extend({tools:Kt(iqe)}),u$=Yi.extend({content:Kt(UX).default([]),structuredContent:fn(q(),mn()).optional(),isError:Mi().optional()}),I9r=u$.or(Yi.extend({toolResult:mn()})),WOt=m0.extend({name:q(),arguments:fn(q(),mn()).optional()}),Mk=Wi.extend({method:Le("tools/call"),params:WOt}),YOt=nl.extend({method:Le("notifications/tools/list_changed"),params:rl.optional()}),N9r=ve({autoRefresh:Mi().default(!0),debounceMs:Ir().int().nonnegative().default(300)}),T0=Es(["debug","info","notice","warning","error","critical","alert","emergency"]),GOt=fo.extend({level:T0}),HX=Wi.extend({method:Le("logging/setLevel"),params:GOt}),KOt=rl.extend({level:T0,logger:q().optional(),data:mn()}),ZOt=nl.extend({method:Le("notifications/message"),params:KOt}),QOt=ve({name:q().optional()}),JOt=ve({hints:Kt(QOt).optional(),costPriority:Ir().min(0).max(1).optional(),speedPriority:Ir().min(0).max(1).optional(),intelligencePriority:Ir().min(0).max(1).optional()}),XOt=ve({mode:Es(["auto","required","none"]).optional()}),eLt=ve({type:Le("tool_result"),toolUseId:q().describe("The unique identifier for the corresponding tool call."),content:Kt(UX).default([]),structuredContent:ve({}).loose().optional(),isError:Mi().optional(),_meta:fn(q(),mn()).optional()}),tLt=DX("type",[zX,jX,BX]),q1=DX("type",[zX,jX,BX,FOt,eLt]),rLt=ve({role:b0,content:Zr([q1,Kt(q1)]),_meta:fn(q(),mn()).optional()}),nLt=m0.extend({messages:Kt(rLt),modelPreferences:JOt.optional(),systemPrompt:q().optional(),includeContext:Es(["none","thisServer","allServers"]).optional(),temperature:Ir().optional(),maxTokens:Ir().int(),stopSequences:Kt(q()).optional(),metadata:qi.optional(),tools:Kt(iqe).optional(),toolChoice:XOt.optional()}),iLt=Wi.extend({method:Le("sampling/createMessage"),params:nLt}),VX=Yi.extend({model:q(),stopReason:Sn(Es(["endTurn","stopSequence","maxTokens"]).or(q())),role:b0,content:tLt}),qX=Yi.extend({model:q(),stopReason:Sn(Es(["endTurn","stopSequence","maxTokens","toolUse"]).or(q())),role:b0,content:Zr([q1,Kt(q1)])}),aLt=ve({type:Le("boolean"),title:q().optional(),description:q().optional(),default:Mi().optional()}),sLt=ve({type:Le("string"),title:q().optional(),description:q().optional(),minLength:Ir().optional(),maxLength:Ir().optional(),format:Es(["email","uri","date","date-time"]).optional(),default:q().optional()}),oLt=ve({type:Es(["number","integer"]),title:q().optional(),description:q().optional(),minimum:Ir().optional(),maximum:Ir().optional(),default:Ir().optional()}),lLt=ve({type:Le("string"),title:q().optional(),description:q().optional(),enum:Kt(q()),default:q().optional()}),cLt=ve({type:Le("string"),title:q().optional(),description:q().optional(),oneOf:Kt(ve({const:q(),title:q()})),default:q().optional()}),dLt=ve({type:Le("string"),title:q().optional(),description:q().optional(),enum:Kt(q()),enumNames:Kt(q()).optional(),default:q().optional()}),uLt=Zr([lLt,cLt]),pLt=ve({type:Le("array"),title:q().optional(),description:q().optional(),minItems:Ir().optional(),maxItems:Ir().optional(),items:ve({type:Le("string"),enum:Kt(q())}),default:Kt(q()).optional()}),mLt=ve({type:Le("array"),title:q().optional(),description:q().optional(),minItems:Ir().optional(),maxItems:Ir().optional(),items:ve({anyOf:Kt(ve({const:q(),title:q()}))}),default:Kt(q()).optional()}),fLt=Zr([pLt,mLt]),hLt=Zr([dLt,uLt,fLt]),gLt=Zr([hLt,aLt,sLt,oLt]),yLt=m0.extend({mode:Le("form").optional(),message:q(),requestedSchema:ve({type:Le("object"),properties:fn(q(),gLt),required:Kt(q()).optional()})}),vLt=m0.extend({mode:Le("url"),message:q(),elicitationId:q(),url:q().url()}),bLt=Zr([yLt,vLt]),TLt=Wi.extend({method:Le("elicitation/create"),params:bLt}),kLt=rl.extend({elicitationId:q()}),wLt=nl.extend({method:Le("notifications/elicitation/complete"),params:kLt}),p$=Yi.extend({action:Es(["accept","decline","cancel"]),content:PX(r=>r===null?void 0:r,fn(q(),Zr([q(),Ir(),Mi(),Kt(q())])).optional())}),SLt=ve({type:Le("ref/resource"),uri:q()}),ELt=ve({type:Le("ref/prompt"),name:q()}),xLt=fo.extend({ref:Zr([ELt,SLt]),argument:ve({name:q(),value:q()}),context:ve({arguments:fn(q(),q()).optional()}).optional()}),m$=Wi.extend({method:Le("completion/complete"),params:xLt});CLt=Yi.extend({completion:Va({values:Kt(q()).max(100),total:Sn(Ir().int()),hasMore:Sn(Mi())})}),DLt=ve({uri:q().startsWith("file://"),name:q().optional(),_meta:fn(q(),mn()).optional()}),PLt=Wi.extend({method:Le("roots/list"),params:fo.optional()}),WX=Yi.extend({roots:Kt(DLt)}),MLt=nl.extend({method:Le("notifications/roots/list_changed"),params:rl.optional()}),R9r=Zr([Q1,Z1,m$,HX,c$,l$,a$,s$,o$,POt,_Ot,Mk,d$,X1,t$,r$,i$]),O9r=Zr([K1,J1,LX,MLt,v0]),L9r=Zr([G1,VX,qX,p$,WX,e$,n$,Dk]),F9r=Zr([Q1,iLt,TLt,PLt,X1,t$,r$,i$]),$9r=Zr([K1,J1,ZOt,IOt,COt,YOt,UOt,v0,wLt]),z9r=Zr([G1,hOt,CLt,BOt,OOt,wOt,SOt,xOt,u$,qOt,e$,n$,Dk]),Re=class r extends Error{constructor(e,t,n){super(`MCP error ${e}: ${t}`),this.code=e,this.data=n,this.name="McpError"}static fromError(e,t,n){if(e===Be.UrlElicitationRequired&&n){let i=n;if(i.elicitations)return new MX(i.elicitations,t)}return new r(e,t,n)}},MX=class extends Re{constructor(e,t=`URL elicitation${e.length>1?"s":""} required`){super(Be.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){var e,t;return(t=(e=this.data)==null?void 0:e.elicitations)!=null?t:[]}}});function hf(r){return r==="completed"||r==="failed"||r==="cancelled"}var oqe=y(()=>{});var cqe,lqe,dqe,f$=y(()=>{cqe=Symbol("Let zodToJsonSchema decide on which parser to use"),lqe={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},dqe=r=>typeof r=="string"?{...lqe,name:r}:{...lqe,...r}});var uqe,YX=y(()=>{f$();uqe=r=>{let e=dqe(r),t=e.name!==void 0?[...e.basePath,e.definitionPath,e.name]:e.basePath;return{...e,flags:{hasReferencedOpenAiAnyType:!1},currentPath:t,propertyPath:void 0,seen:new Map(Object.entries(e.definitions).map(([n,i])=>[i._def,{def:i._def,path:[...e.basePath,e.definitionPath,n],jsonSchema:void 0}]))}}});function GX(r,e,t,n){n!=null&&n.errorMessages&&t&&(r.errorMessage={...r.errorMessage,[e]:t})}function Zt(r,e,t,n,i){r[e]=t,GX(r,e,n,i)}var gf=y(()=>{});var h$,g$=y(()=>{h$=(r,e)=>{let t=0;for(;t<r.length&&t<e.length&&r[t]===e[t];t++);return[(r.length-t).toString(),...e.slice(t)].join("/")}});function hn(r){if(r.target!=="openAi")return{};let e=[...r.basePath,r.definitionPath,r.openAiAnyTypeName];return r.flags.hasReferencedOpenAiAnyType=!0,{$ref:r.$refStrategy==="relative"?h$(e,r.currentPath):e.join("/")}}var il=y(()=>{g$()});function pqe(r,e){var n,i,a;let t={type:"array"};return(n=r.type)!=null&&n._def&&((a=(i=r.type)==null?void 0:i._def)==null?void 0:a.typeName)!==ie.ZodAny&&(t.items=Xe(r.type._def,{...e,currentPath:[...e.currentPath,"items"]})),r.minLength&&Zt(t,"minItems",r.minLength.value,r.minLength.message,e),r.maxLength&&Zt(t,"maxItems",r.maxLength.value,r.maxLength.message,e),r.exactLength&&(Zt(t,"minItems",r.exactLength.value,r.exactLength.message,e),Zt(t,"maxItems",r.exactLength.value,r.exactLength.message,e)),t}var KX=y(()=>{ZP();gf();ni()});function mqe(r,e){let t={type:"integer",format:"int64"};if(!r.checks)return t;for(let n of r.checks)switch(n.kind){case"min":e.target==="jsonSchema7"?n.inclusive?Zt(t,"minimum",n.value,n.message,e):Zt(t,"exclusiveMinimum",n.value,n.message,e):(n.inclusive||(t.exclusiveMinimum=!0),Zt(t,"minimum",n.value,n.message,e));break;case"max":e.target==="jsonSchema7"?n.inclusive?Zt(t,"maximum",n.value,n.message,e):Zt(t,"exclusiveMaximum",n.value,n.message,e):(n.inclusive||(t.exclusiveMaximum=!0),Zt(t,"maximum",n.value,n.message,e));break;case"multipleOf":Zt(t,"multipleOf",n.value,n.message,e);break}return t}var ZX=y(()=>{gf()});function fqe(){return{type:"boolean"}}var QX=y(()=>{});function y$(r,e){return Xe(r.type._def,e)}var v$=y(()=>{ni()});var hqe,JX=y(()=>{ni();hqe=(r,e)=>Xe(r.innerType._def,e)});function XX(r,e,t){let n=t!=null?t:e.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((i,a)=>XX(r,e,i))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return _Lt(r,e)}}var _Lt,eee=y(()=>{gf();_Lt=(r,e)=>{let t={type:"integer",format:"unix-time"};if(e.target==="openApi3")return t;for(let n of r.checks)switch(n.kind){case"min":Zt(t,"minimum",n.value,n.message,e);break;case"max":Zt(t,"maximum",n.value,n.message,e);break}return t}});function gqe(r,e){return{...Xe(r.innerType._def,e),default:r.defaultValue()}}var tee=y(()=>{ni()});function yqe(r,e){return e.effectStrategy==="input"?Xe(r.schema._def,e):hn(e)}var ree=y(()=>{ni();il()});function vqe(r){return{type:"string",enum:Array.from(r.values)}}var nee=y(()=>{});function bqe(r,e){let t=[Xe(r.left._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),Xe(r.right._def,{...e,currentPath:[...e.currentPath,"allOf","1"]})].filter(a=>!!a),n=e.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,i=[];return t.forEach(a=>{if(ALt(a))i.push(...a.allOf),a.unevaluatedProperties===void 0&&(n=void 0);else{let s=a;if("additionalProperties"in a&&a.additionalProperties===!1){let{additionalProperties:o,...l}=a;s=l}else n=void 0;i.push(s)}}),i.length?{allOf:i,...n}:void 0}var ALt,iee=y(()=>{ni();ALt=r=>"type"in r&&r.type==="string"?!1:"allOf"in r});function Tqe(r,e){let t=typeof r.value;return t!=="bigint"&&t!=="number"&&t!=="boolean"&&t!=="string"?{type:Array.isArray(r.value)?"array":"object"}:e.target==="openApi3"?{type:t==="bigint"?"integer":t,enum:[r.value]}:{type:t==="bigint"?"integer":t,const:r.value}}var aee=y(()=>{});function b$(r,e){let t={type:"string"};if(r.checks)for(let n of r.checks)switch(n.kind){case"min":Zt(t,"minLength",typeof t.minLength=="number"?Math.max(t.minLength,n.value):n.value,n.message,e);break;case"max":Zt(t,"maxLength",typeof t.maxLength=="number"?Math.min(t.maxLength,n.value):n.value,n.message,e);break;case"email":switch(e.emailStrategy){case"format:email":Jl(t,"email",n.message,e);break;case"format:idn-email":Jl(t,"idn-email",n.message,e);break;case"pattern:zod":qa(t,Ql.email,n.message,e);break}break;case"url":Jl(t,"uri",n.message,e);break;case"uuid":Jl(t,"uuid",n.message,e);break;case"regex":qa(t,n.regex,n.message,e);break;case"cuid":qa(t,Ql.cuid,n.message,e);break;case"cuid2":qa(t,Ql.cuid2,n.message,e);break;case"startsWith":qa(t,RegExp(`^${oee(n.value,e)}`),n.message,e);break;case"endsWith":qa(t,RegExp(`${oee(n.value,e)}$`),n.message,e);break;case"datetime":Jl(t,"date-time",n.message,e);break;case"date":Jl(t,"date",n.message,e);break;case"time":Jl(t,"time",n.message,e);break;case"duration":Jl(t,"duration",n.message,e);break;case"length":Zt(t,"minLength",typeof t.minLength=="number"?Math.max(t.minLength,n.value):n.value,n.message,e),Zt(t,"maxLength",typeof t.maxLength=="number"?Math.min(t.maxLength,n.value):n.value,n.message,e);break;case"includes":{qa(t,RegExp(oee(n.value,e)),n.message,e);break}case"ip":{n.version!=="v6"&&Jl(t,"ipv4",n.message,e),n.version!=="v4"&&Jl(t,"ipv6",n.message,e);break}case"base64url":qa(t,Ql.base64url,n.message,e);break;case"jwt":qa(t,Ql.jwt,n.message,e);break;case"cidr":{n.version!=="v6"&&qa(t,Ql.ipv4Cidr,n.message,e),n.version!=="v4"&&qa(t,Ql.ipv6Cidr,n.message,e);break}case"emoji":qa(t,Ql.emoji(),n.message,e);break;case"ulid":{qa(t,Ql.ulid,n.message,e);break}case"base64":{switch(e.base64Strategy){case"format:binary":{Jl(t,"binary",n.message,e);break}case"contentEncoding:base64":{Zt(t,"contentEncoding","base64",n.message,e);break}case"pattern:zod":{qa(t,Ql.base64,n.message,e);break}}break}case"nanoid":qa(t,Ql.nanoid,n.message,e);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return t}function oee(r,e){return e.patternStrategy==="escape"?NLt(r):r}function NLt(r){let e="";for(let t=0;t<r.length;t++)ILt.has(r[t])||(e+="\\"),e+=r[t];return e}function Jl(r,e,t,n){var i;r.format||(i=r.anyOf)!=null&&i.some(a=>a.format)?(r.anyOf||(r.anyOf=[]),r.format&&(r.anyOf.push({format:r.format,...r.errorMessage&&n.errorMessages&&{errorMessage:{format:r.errorMessage.format}}}),delete r.format,r.errorMessage&&(delete r.errorMessage.format,Object.keys(r.errorMessage).length===0&&delete r.errorMessage)),r.anyOf.push({format:e,...t&&n.errorMessages&&{errorMessage:{format:t}}})):Zt(r,"format",e,t,n)}function qa(r,e,t,n){var i;r.pattern||(i=r.allOf)!=null&&i.some(a=>a.pattern)?(r.allOf||(r.allOf=[]),r.pattern&&(r.allOf.push({pattern:r.pattern,...r.errorMessage&&n.errorMessages&&{errorMessage:{pattern:r.errorMessage.pattern}}}),delete r.pattern,r.errorMessage&&(delete r.errorMessage.pattern,Object.keys(r.errorMessage).length===0&&delete r.errorMessage)),r.allOf.push({pattern:kqe(e,n),...t&&n.errorMessages&&{errorMessage:{pattern:t}}})):Zt(r,"pattern",kqe(e,n),t,n)}function kqe(r,e){var l;if(!e.applyRegexFlags||!r.flags)return r.source;let t={i:r.flags.includes("i"),m:r.flags.includes("m"),s:r.flags.includes("s")},n=t.i?r.source.toLowerCase():r.source,i="",a=!1,s=!1,o=!1;for(let c=0;c<n.length;c++){if(a){i+=n[c],a=!1;continue}if(t.i){if(s){if(n[c].match(/[a-z]/)){o?(i+=n[c],i+=`${n[c-2]}-${n[c]}`.toUpperCase(),o=!1):n[c+1]==="-"&&((l=n[c+2])!=null&&l.match(/[a-z]/))?(i+=n[c],o=!0):i+=`${n[c]}${n[c].toUpperCase()}`;continue}}else if(n[c].match(/[a-z]/)){i+=`[${n[c]}${n[c].toUpperCase()}]`;continue}}if(t.m){if(n[c]==="^"){i+=`(^|(?<=[\r
]))`;continue}else if(n[c]==="$"){i+=`($|(?=[\r
]))`;continue}}if(t.s&&n[c]==="."){i+=s?`${n[c]}\r
`:`[${n[c]}\r
]`;continue}i+=n[c],n[c]==="\\"?a=!0:s&&n[c]==="]"?s=!1:!s&&n[c]==="["&&(s=!0)}try{new RegExp(i)}catch(c){return console.warn(`Could not convert regex pattern at ${e.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),r.source}return i}var see,Ql,ILt,T$=y(()=>{gf();Ql={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(see===void 0&&(see=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),see),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};ILt=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function k$(r,e){var n,i,a,s,o,l,c;if(e.target==="openAi"&&console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead."),e.target==="openApi3"&&((n=r.keyType)==null?void 0:n._def.typeName)===ie.ZodEnum)return{type:"object",required:r.keyType._def.values,properties:r.keyType._def.values.reduce((d,u)=>{var p;return{...d,[u]:(p=Xe(r.valueType._def,{...e,currentPath:[...e.currentPath,"properties",u]}))!=null?p:hn(e)}},{}),additionalProperties:e.rejectedAdditionalProperties};let t={type:"object",additionalProperties:(i=Xe(r.valueType._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]}))!=null?i:e.allowedAdditionalProperties};if(e.target==="openApi3")return t;if(((a=r.keyType)==null?void 0:a._def.typeName)===ie.ZodString&&((s=r.keyType._def.checks)!=null&&s.length)){let{type:d,...u}=b$(r.keyType._def,e);return{...t,propertyNames:u}}else{if(((o=r.keyType)==null?void 0:o._def.typeName)===ie.ZodEnum)return{...t,propertyNames:{enum:r.keyType._def.values}};if(((l=r.keyType)==null?void 0:l._def.typeName)===ie.ZodBranded&&r.keyType._def.type._def.typeName===ie.ZodString&&((c=r.keyType._def.type._def.checks)!=null&&c.length)){let{type:d,...u}=y$(r.keyType._def,e);return{...t,propertyNames:u}}}return t}var w$=y(()=>{ZP();ni();T$();v$();il()});function wqe(r,e){if(e.mapStrategy==="record")return k$(r,e);let t=Xe(r.keyType._def,{...e,currentPath:[...e.currentPath,"items","items","0"]})||hn(e),n=Xe(r.valueType._def,{...e,currentPath:[...e.currentPath,"items","items","1"]})||hn(e);return{type:"array",maxItems:125,items:{type:"array",items:[t,n],minItems:2,maxItems:2}}}var lee=y(()=>{ni();w$();il()});function Sqe(r){let e=r.values,n=Object.keys(r.values).filter(a=>typeof e[e[a]]!="number").map(a=>e[a]),i=Array.from(new Set(n.map(a=>typeof a)));return{type:i.length===1?i[0]==="string"?"string":"number":["string","number"],enum:n}}var cee=y(()=>{});function Eqe(r){return r.target==="openAi"?void 0:{not:hn({...r,currentPath:[...r.currentPath,"not"]})}}var dee=y(()=>{il()});function xqe(r){return r.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var uee=y(()=>{});function Dqe(r,e){if(e.target==="openApi3")return Cqe(r,e);let t=r.options instanceof Map?Array.from(r.options.values()):r.options;if(t.every(n=>n._def.typeName in w0&&(!n._def.checks||!n._def.checks.length))){let n=t.reduce((i,a)=>{let s=w0[a._def.typeName];return s&&!i.includes(s)?[...i,s]:i},[]);return{type:n.length>1?n:n[0]}}else if(t.every(n=>n._def.typeName==="ZodLiteral"&&!n.description)){let n=t.reduce((i,a)=>{let s=typeof a._def.value;switch(s){case"string":case"number":case"boolean":return[...i,s];case"bigint":return[...i,"integer"];case"object":if(a._def.value===null)return[...i,"null"];case"symbol":case"undefined":case"function":default:return i}},[]);if(n.length===t.length){let i=n.filter((a,s,o)=>o.indexOf(a)===s);return{type:i.length>1?i:i[0],enum:t.reduce((a,s)=>a.includes(s._def.value)?a:[...a,s._def.value],[])}}}else if(t.every(n=>n._def.typeName==="ZodEnum"))return{type:"string",enum:t.reduce((n,i)=>[...n,...i._def.values.filter(a=>!n.includes(a))],[])};return Cqe(r,e)}var w0,Cqe,S$=y(()=>{ni();w0={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};Cqe=(r,e)=>{let t=(r.options instanceof Map?Array.from(r.options.values()):r.options).map((n,i)=>Xe(n._def,{...e,currentPath:[...e.currentPath,"anyOf",`${i}`]})).filter(n=>!!n&&(!e.strictUnions||typeof n=="object"&&Object.keys(n).length>0));return t.length?{anyOf:t}:void 0}});function Pqe(r,e){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(r.innerType._def.typeName)&&(!r.innerType._def.checks||!r.innerType._def.checks.length))return e.target==="openApi3"?{type:w0[r.innerType._def.typeName],nullable:!0}:{type:[w0[r.innerType._def.typeName],"null"]};if(e.target==="openApi3"){let n=Xe(r.innerType._def,{...e,currentPath:[...e.currentPath]});return n&&"$ref"in n?{allOf:[n],nullable:!0}:n&&{...n,nullable:!0}}let t=Xe(r.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","0"]});return t&&{anyOf:[t,{type:"null"}]}}var pee=y(()=>{ni();S$()});function Mqe(r,e){let t={type:"number"};if(!r.checks)return t;for(let n of r.checks)switch(n.kind){case"int":t.type="integer",GX(t,"type",n.message,e);break;case"min":e.target==="jsonSchema7"?n.inclusive?Zt(t,"minimum",n.value,n.message,e):Zt(t,"exclusiveMinimum",n.value,n.message,e):(n.inclusive||(t.exclusiveMinimum=!0),Zt(t,"minimum",n.value,n.message,e));break;case"max":e.target==="jsonSchema7"?n.inclusive?Zt(t,"maximum",n.value,n.message,e):Zt(t,"exclusiveMaximum",n.value,n.message,e):(n.inclusive||(t.exclusiveMaximum=!0),Zt(t,"maximum",n.value,n.message,e));break;case"multipleOf":Zt(t,"multipleOf",n.value,n.message,e);break}return t}var mee=y(()=>{gf()});function _qe(r,e){let t=e.target==="openAi",n={type:"object",properties:{}},i=[],a=r.shape();for(let o in a){let l=a[o];if(l===void 0||l._def===void 0)continue;let c=OLt(l);c&&t&&(l._def.typeName==="ZodOptional"&&(l=l._def.innerType),l.isNullable()||(l=l.nullable()),c=!1);let d=Xe(l._def,{...e,currentPath:[...e.currentPath,"properties",o],propertyPath:[...e.currentPath,"properties",o]});d!==void 0&&(n.properties[o]=d,c||i.push(o))}i.length&&(n.required=i);let s=RLt(r,e);return s!==void 0&&(n.additionalProperties=s),n}function RLt(r,e){if(r.catchall._def.typeName!=="ZodNever")return Xe(r.catchall._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]});switch(r.unknownKeys){case"passthrough":return e.allowedAdditionalProperties;case"strict":return e.rejectedAdditionalProperties;case"strip":return e.removeAdditionalStrategy==="strict"?e.allowedAdditionalProperties:e.rejectedAdditionalProperties}}function OLt(r){try{return r.isOptional()}catch(e){return!0}}var fee=y(()=>{ni()});var Aqe,hee=y(()=>{ni();il();Aqe=(r,e)=>{var n;if(e.currentPath.toString()===((n=e.propertyPath)==null?void 0:n.toString()))return Xe(r.innerType._def,e);let t=Xe(r.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","1"]});return t?{anyOf:[{not:hn(e)},t]}:hn(e)}});var Iqe,gee=y(()=>{ni();Iqe=(r,e)=>{if(e.pipeStrategy==="input")return Xe(r.in._def,e);if(e.pipeStrategy==="output")return Xe(r.out._def,e);let t=Xe(r.in._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),n=Xe(r.out._def,{...e,currentPath:[...e.currentPath,"allOf",t?"1":"0"]});return{allOf:[t,n].filter(i=>i!==void 0)}}});function Nqe(r,e){return Xe(r.type._def,e)}var yee=y(()=>{ni()});function Rqe(r,e){let n={type:"array",uniqueItems:!0,items:Xe(r.valueType._def,{...e,currentPath:[...e.currentPath,"items"]})};return r.minSize&&Zt(n,"minItems",r.minSize.value,r.minSize.message,e),r.maxSize&&Zt(n,"maxItems",r.maxSize.value,r.maxSize.message,e),n}var vee=y(()=>{gf();ni()});function Oqe(r,e){return r.rest?{type:"array",minItems:r.items.length,items:r.items.map((t,n)=>Xe(t._def,{...e,currentPath:[...e.currentPath,"items",`${n}`]})).reduce((t,n)=>n===void 0?t:[...t,n],[]),additionalItems:Xe(r.rest._def,{...e,currentPath:[...e.currentPath,"additionalItems"]})}:{type:"array",minItems:r.items.length,maxItems:r.items.length,items:r.items.map((t,n)=>Xe(t._def,{...e,currentPath:[...e.currentPath,"items",`${n}`]})).reduce((t,n)=>n===void 0?t:[...t,n],[])}}var bee=y(()=>{ni()});function Lqe(r){return{not:hn(r)}}var Tee=y(()=>{il()});function Fqe(r){return hn(r)}var kee=y(()=>{il()});var $qe,wee=y(()=>{ni();$qe=(r,e)=>Xe(r.innerType._def,e)});var zqe,See=y(()=>{ZP();il();KX();ZX();QX();v$();JX();eee();tee();ree();nee();iee();aee();lee();cee();dee();uee();pee();mee();fee();hee();gee();yee();w$();vee();T$();bee();Tee();S$();kee();wee();zqe=(r,e,t)=>{switch(e){case ie.ZodString:return b$(r,t);case ie.ZodNumber:return Mqe(r,t);case ie.ZodObject:return _qe(r,t);case ie.ZodBigInt:return mqe(r,t);case ie.ZodBoolean:return fqe();case ie.ZodDate:return XX(r,t);case ie.ZodUndefined:return Lqe(t);case ie.ZodNull:return xqe(t);case ie.ZodArray:return pqe(r,t);case ie.ZodUnion:case ie.ZodDiscriminatedUnion:return Dqe(r,t);case ie.ZodIntersection:return bqe(r,t);case ie.ZodTuple:return Oqe(r,t);case ie.ZodRecord:return k$(r,t);case ie.ZodLiteral:return Tqe(r,t);case ie.ZodEnum:return vqe(r);case ie.ZodNativeEnum:return Sqe(r);case ie.ZodNullable:return Pqe(r,t);case ie.ZodOptional:return Aqe(r,t);case ie.ZodMap:return wqe(r,t);case ie.ZodSet:return Rqe(r,t);case ie.ZodLazy:return()=>r.getter()._def;case ie.ZodPromise:return Nqe(r,t);case ie.ZodNaN:case ie.ZodNever:return Eqe(t);case ie.ZodEffects:return yqe(r,t);case ie.ZodAny:return hn(t);case ie.ZodUnknown:return Fqe(t);case ie.ZodDefault:return gqe(r,t);case ie.ZodBranded:return y$(r,t);case ie.ZodReadonly:return $qe(r,t);case ie.ZodCatch:return hqe(r,t);case ie.ZodPipeline:return Iqe(r,t);case ie.ZodFunction:case ie.ZodVoid:case ie.ZodSymbol:return;default:return(n=>{})(e)}}});function Xe(r,e,t=!1){var o;let n=e.seen.get(r);if(e.override){let l=(o=e.override)==null?void 0:o.call(e,r,e,n,t);if(l!==cqe)return l}if(n&&!t){let l=LLt(n,e);if(l!==void 0)return l}let i={def:r,path:e.currentPath,jsonSchema:void 0};e.seen.set(r,i);let a=zqe(r,r.typeName,e),s=typeof a=="function"?Xe(a(),e):a;if(s&&FLt(r,e,s),e.postProcess){let l=e.postProcess(s,r,e);return i.jsonSchema=s,l}return i.jsonSchema=s,s}var LLt,FLt,ni=y(()=>{f$();See();g$();il();LLt=(r,e)=>{switch(e.$refStrategy){case"root":return{$ref:r.path.join("/")};case"relative":return{$ref:h$(e.currentPath,r.path)};case"none":case"seen":return r.path.length<e.currentPath.length&&r.path.every((t,n)=>e.currentPath[n]===t)?(console.warn(`Recursive reference detected at ${e.currentPath.join("/")}! Defaulting to any`),hn(e)):e.$refStrategy==="seen"?hn(e):void 0}},FLt=(r,e,t)=>(r.description&&(t.description=r.description,e.markdownDescription&&(t.markdownDescription=r.description)),t)});var jqe=y(()=>{});var Eee,xee=y(()=>{ni();YX();il();Eee=(r,e)=>{var l;let t=uqe(e),n=typeof e=="object"&&e.definitions?Object.entries(e.definitions).reduce((c,[d,u])=>{var p;return{...c,[d]:(p=Xe(u._def,{...t,currentPath:[...t.basePath,t.definitionPath,d]},!0))!=null?p:hn(t)}},{}):void 0,i=typeof e=="string"?e:(e==null?void 0:e.nameStrategy)==="title"||e==null?void 0:e.name,a=(l=Xe(r._def,i===void 0?t:{...t,currentPath:[...t.basePath,t.definitionPath,i]},!1))!=null?l:hn(t),s=typeof e=="object"&&e.name!==void 0&&e.nameStrategy==="title"?e.name:void 0;s!==void 0&&(a.title=s),t.flags.hasReferencedOpenAiAnyType&&(n||(n={}),n[t.openAiAnyTypeName]||(n[t.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:t.$refStrategy==="relative"?"1":[...t.basePath,t.definitionPath,t.openAiAnyTypeName].join("/")}}));let o=i===void 0?n?{...a,[t.definitionPath]:n}:a:{$ref:[...t.$refStrategy==="relative"?[]:t.basePath,t.definitionPath,i].join("/"),[t.definitionPath]:{...n,[i]:a}};return t.target==="jsonSchema7"?o.$schema="http://json-schema.org/draft-07/schema#":(t.target==="jsonSchema2019-09"||t.target==="openAi")&&(o.$schema="https://json-schema.org/draft/2019-09/schema#"),t.target==="openAi"&&("anyOf"in o||"oneOf"in o||"allOf"in o||"type"in o&&Array.isArray(o.type))&&console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property."),o}});var Bqe=y(()=>{f$();YX();gf();g$();ni();jqe();il();KX();ZX();QX();v$();JX();eee();tee();ree();nee();iee();aee();lee();cee();dee();uee();pee();mee();fee();hee();gee();yee();wee();w$();vee();T$();bee();Tee();S$();kee();See();xee();xee()});function $Lt(r){return!r||r==="jsonSchema7"||r==="draft-7"?"draft-7":r==="jsonSchema2019-09"||r==="draft-2020-12"?"draft-2020-12":"draft-7"}function Cee(r,e){var t,n,i;return tl(r)?uX(r,{target:$Lt(e==null?void 0:e.target),io:(t=e==null?void 0:e.pipeStrategy)!=null?t:"input"}):Eee(r,{strictUnions:(n=e==null?void 0:e.strictUnions)!=null?n:!0,pipeStrategy:(i=e==null?void 0:e.pipeStrategy)!=null?i:"input"})}function Dee(r){let e=pf(r),t=e==null?void 0:e.method;if(!t)throw new Error("Schema is missing a method literal");let n=U1(t);if(typeof n!="string")throw new Error("Schema method literal must be a string");return n}function Pee(r,e){let t=uf(r,e);if(!t.success)throw t.error;return t.data}var Mee=y(()=>{fX();d0();Bqe()});function Uqe(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}function Hqe(r,e){let t={...r};for(let n in e){let i=n,a=e[i];if(a===void 0)continue;let s=t[i];Uqe(s)&&Uqe(a)?t[i]={...s,...a}:t[i]=a}return t}var zLt,E$,Vqe=y(()=>{d0();k0();oqe();Mee();zLt=6e4,E$=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(K1,t=>{this._oncancel(t)}),this.setNotificationHandler(J1,t=>{this._onprogress(t)}),this.setRequestHandler(Q1,t=>({})),this._taskStore=e==null?void 0:e.taskStore,this._taskMessageQueue=e==null?void 0:e.taskMessageQueue,this._taskStore&&(this.setRequestHandler(X1,async(t,n)=>{let i=await this._taskStore.getTask(t.params.taskId,n.sessionId);if(!i)throw new Re(Be.InvalidParams,"Failed to retrieve task: Task not found");return{...i}}),this.setRequestHandler(t$,async(t,n)=>{let i=async()=>{var o;let a=t.params.taskId;if(this._taskMessageQueue){let l;for(;l=await this._taskMessageQueue.dequeue(a,n.sessionId);){if(l.type==="response"||l.type==="error"){let c=l.message,d=c.id,u=this._requestResolvers.get(d);if(u)if(this._requestResolvers.delete(d),l.type==="response")u(c);else{let p=c,m=new Re(p.error.code,p.error.message,p.error.data);u(m)}else{let p=l.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${d}`))}continue}await((o=this._transport)==null?void 0:o.send(l.message,{relatedRequestId:n.requestId}))}}let s=await this._taskStore.getTask(a,n.sessionId);if(!s)throw new Re(Be.InvalidParams,`Task not found: ${a}`);if(!hf(s.status))return await this._waitForTaskUpdate(a,n.signal),await i();if(hf(s.status)){let l=await this._taskStore.getTaskResult(a,n.sessionId);return this._clearTaskQueue(a),{...l,_meta:{...l._meta,[mf]:{taskId:a}}}}return await i()};return await i()}),this.setRequestHandler(r$,async(t,n)=>{var i;try{let{tasks:a,nextCursor:s}=await this._taskStore.listTasks((i=t.params)==null?void 0:i.cursor,n.sessionId);return{tasks:a,nextCursor:s,_meta:{}}}catch(a){throw new Re(Be.InvalidParams,`Failed to list tasks: ${a instanceof Error?a.message:String(a)}`)}}),this.setRequestHandler(i$,async(t,n)=>{try{let i=await this._taskStore.getTask(t.params.taskId,n.sessionId);if(!i)throw new Re(Be.InvalidParams,`Task not found: ${t.params.taskId}`);if(hf(i.status))throw new Re(Be.InvalidParams,`Cannot cancel task in terminal status: ${i.status}`);await this._taskStore.updateTaskStatus(t.params.taskId,"cancelled","Client cancelled task execution.",n.sessionId),this._clearTaskQueue(t.params.taskId);let a=await this._taskStore.getTask(t.params.taskId,n.sessionId);if(!a)throw new Re(Be.InvalidParams,`Task not found after cancellation: ${t.params.taskId}`);return{_meta:{},...a}}catch(i){throw i instanceof Re?i:new Re(Be.InvalidRequest,`Failed to cancel task: ${i instanceof Error?i.message:String(i)}`)}}))}async _oncancel(e){if(!e.params.requestId)return;let t=this._requestHandlerAbortControllers.get(e.params.requestId);t==null||t.abort(e.params.reason)}_setupTimeout(e,t,n,i,a=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(i,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:a,onTimeout:i})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),Re.fromError(Be.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){var a,s,o;if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=e;let t=(a=this.transport)==null?void 0:a.onclose;this._transport.onclose=()=>{t==null||t(),this._onclose()};let n=(s=this.transport)==null?void 0:s.onerror;this._transport.onerror=l=>{n==null||n(l),this._onerror(l)};let i=(o=this._transport)==null?void 0:o.onmessage;this._transport.onmessage=(l,c)=>{i==null||i(l,c),up(l)||Ck(l)?this._onresponse(l):ff(l)?this._onrequest(l,c):QVe(l)?this._onnotification(l):this._onerror(new Error(`Unknown message type: ${JSON.stringify(l)}`))},await this._transport.start()}_onclose(){var n;let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._requestHandlerAbortControllers.values())i.abort();this._requestHandlerAbortControllers.clear();let t=Re.fromError(Be.ConnectionClosed,"Connection closed");this._transport=void 0,(n=this.onclose)==null||n.call(this);for(let i of e.values())i(t)}_onerror(e){var t;(t=this.onerror)==null||t.call(this,e)}_onnotification(e){var n;let t=(n=this._notificationHandlers.get(e.method))!=null?n:this.fallbackNotificationHandler;t!==void 0&&Promise.resolve().then(()=>t(e)).catch(i=>this._onerror(new Error(`Uncaught error in notification handler: ${i}`)))}_onrequest(e,t){var d,u,p,m,f;let n=(d=this._requestHandlers.get(e.method))!=null?d:this.fallbackRequestHandler,i=this._transport,a=(m=(p=(u=e.params)==null?void 0:u._meta)==null?void 0:p[mf])==null?void 0:m.taskId;if(n===void 0){let h={jsonrpc:"2.0",id:e.id,error:{code:Be.MethodNotFound,message:"Method not found"}};a&&this._taskMessageQueue?this._enqueueTaskMessage(a,{type:"error",message:h,timestamp:Date.now()},i==null?void 0:i.sessionId).catch(g=>this._onerror(new Error(`Failed to enqueue error response: ${g}`))):i==null||i.send(h).catch(g=>this._onerror(new Error(`Failed to send an error response: ${g}`)));return}let s=new AbortController;this._requestHandlerAbortControllers.set(e.id,s);let o=GVe(e.params)?e.params.task:void 0,l=this._taskStore?this.requestTaskStore(e,i==null?void 0:i.sessionId):void 0,c={signal:s.signal,sessionId:i==null?void 0:i.sessionId,_meta:(f=e.params)==null?void 0:f._meta,sendNotification:async h=>{if(s.signal.aborted)return;let g={relatedRequestId:e.id};a&&(g.relatedTask={taskId:a}),await this.notification(h,g)},sendRequest:async(h,g,v)=>{var w,S;if(s.signal.aborted)throw new Re(Be.ConnectionClosed,"Request was cancelled");let k={...v,relatedRequestId:e.id};a&&!k.relatedTask&&(k.relatedTask={taskId:a});let b=(S=(w=k.relatedTask)==null?void 0:w.taskId)!=null?S:a;return b&&l&&await l.updateTaskStatus(b,"input_required"),await this.request(h,g,k)},authInfo:t==null?void 0:t.authInfo,requestId:e.id,requestInfo:t==null?void 0:t.requestInfo,taskId:a,taskStore:l,taskRequestedTtl:o==null?void 0:o.ttl,closeSSEStream:t==null?void 0:t.closeSSEStream,closeStandaloneSSEStream:t==null?void 0:t.closeStandaloneSSEStream};Promise.resolve().then(()=>{o&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async h=>{if(s.signal.aborted)return;let g={result:h,jsonrpc:"2.0",id:e.id};a&&this._taskMessageQueue?await this._enqueueTaskMessage(a,{type:"response",message:g,timestamp:Date.now()},i==null?void 0:i.sessionId):await(i==null?void 0:i.send(g))},async h=>{var v;if(s.signal.aborted)return;let g={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(h.code)?h.code:Be.InternalError,message:(v=h.message)!=null?v:"Internal error",...h.data!==void 0&&{data:h.data}}};a&&this._taskMessageQueue?await this._enqueueTaskMessage(a,{type:"error",message:g,timestamp:Date.now()},i==null?void 0:i.sessionId):await(i==null?void 0:i.send(g))}).catch(h=>this._onerror(new Error(`Failed to send response: ${h}`))).finally(()=>{this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,i=Number(t),a=this._progressHandlers.get(i);if(!a){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let s=this._responseHandlers.get(i),o=this._timeoutInfo.get(i);if(o&&s&&o.resetTimeoutOnProgress)try{this._resetTimeout(i)}catch(l){this._responseHandlers.delete(i),this._progressHandlers.delete(i),this._cleanupTimeout(i),s(l);return}a(n)}_onresponse(e){let t=Number(e.id),n=this._requestResolvers.get(t);if(n){if(this._requestResolvers.delete(t),up(e))n(e);else{let s=new Re(e.error.code,e.error.message,e.error.data);n(s)}return}let i=this._responseHandlers.get(t);if(i===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t);let a=!1;if(up(e)&&e.result&&typeof e.result=="object"){let s=e.result;if(s.task&&typeof s.task=="object"){let o=s.task;typeof o.taskId=="string"&&(a=!0,this._taskProgressTokens.set(o.taskId,t))}}if(a||this._progressHandlers.delete(t),up(e))i(e);else{let s=Re.fromError(e.error.code,e.error.message,e.error.data);i(s)}}get transport(){return this._transport}async close(){var e;await((e=this._transport)==null?void 0:e.close())}async*requestStream(e,t,n){var s,o,l,c;let{task:i}=n!=null?n:{};if(!i){try{yield{type:"result",result:await this.request(e,t,n)}}catch(d){yield{type:"error",error:d instanceof Re?d:new Re(Be.InternalError,String(d))}}return}let a;try{let d=await this.request(e,Dk,n);if(d.task)a=d.task.taskId,yield{type:"taskCreated",task:d.task};else throw new Re(Be.InternalError,"Task creation did not return a task");for(;;){let u=await this.getTask({taskId:a},n);if(yield{type:"taskStatus",task:u},hf(u.status)){u.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:a},t,n)}:u.status==="failed"?yield{type:"error",error:new Re(Be.InternalError,`Task ${a} failed`)}:u.status==="cancelled"&&(yield{type:"error",error:new Re(Be.InternalError,`Task ${a} was cancelled`)});return}if(u.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:a},t,n)};return}let p=(l=(o=u.pollInterval)!=null?o:(s=this._options)==null?void 0:s.defaultTaskPollInterval)!=null?l:1e3;await new Promise(m=>setTimeout(m,p)),(c=n==null?void 0:n.signal)==null||c.throwIfAborted()}}catch(d){yield{type:"error",error:d instanceof Re?d:new Re(Be.InternalError,String(d))}}}request(e,t,n){let{relatedRequestId:i,resumptionToken:a,onresumptiontoken:s,task:o,relatedTask:l}=n!=null?n:{};return new Promise((c,d)=>{var k,b,w,S,x,C,D;let u=_=>{d(_)};if(!this._transport){u(new Error("Not connected"));return}if(((k=this._options)==null?void 0:k.enforceStrictCapabilities)===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(_){u(_);return}(b=n==null?void 0:n.signal)==null||b.throwIfAborted();let p=this._requestMessageId++,m={...e,jsonrpc:"2.0",id:p};n!=null&&n.onprogress&&(this._progressHandlers.set(p,n.onprogress),m.params={...e.params,_meta:{...((w=e.params)==null?void 0:w._meta)||{},progressToken:p}}),o&&(m.params={...m.params,task:o}),l&&(m.params={...m.params,_meta:{...((S=m.params)==null?void 0:S._meta)||{},[mf]:l}});let f=_=>{var L;this._responseHandlers.delete(p),this._progressHandlers.delete(p),this._cleanupTimeout(p),(L=this._transport)==null||L.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:p,reason:String(_)}},{relatedRequestId:i,resumptionToken:a,onresumptiontoken:s}).catch(N=>this._onerror(new Error(`Failed to send cancellation: ${N}`)));let O=_ instanceof Re?_:new Re(Be.RequestTimeout,String(_));d(O)};this._responseHandlers.set(p,_=>{var O;if(!((O=n==null?void 0:n.signal)!=null&&O.aborted)){if(_ instanceof Error)return d(_);try{let L=uf(t,_.result);L.success?c(L.data):d(L.error)}catch(L){d(L)}}}),(x=n==null?void 0:n.signal)==null||x.addEventListener("abort",()=>{var _;f((_=n==null?void 0:n.signal)==null?void 0:_.reason)});let h=(C=n==null?void 0:n.timeout)!=null?C:zLt,g=()=>f(Re.fromError(Be.RequestTimeout,"Request timed out",{timeout:h}));this._setupTimeout(p,h,n==null?void 0:n.maxTotalTimeout,g,(D=n==null?void 0:n.resetTimeoutOnProgress)!=null?D:!1);let v=l==null?void 0:l.taskId;if(v){let _=O=>{let L=this._responseHandlers.get(p);L?L(O):this._onerror(new Error(`Response handler missing for side-channeled request ${p}`))};this._requestResolvers.set(p,_),this._enqueueTaskMessage(v,{type:"request",message:m,timestamp:Date.now()}).catch(O=>{this._cleanupTimeout(p),d(O)})}else this._transport.send(m,{relatedRequestId:i,resumptionToken:a,onresumptiontoken:s}).catch(_=>{this._cleanupTimeout(p),d(_)})})}async getTask(e,t){return this.request({method:"tasks/get",params:e},e$,t)}async getTaskResult(e,t,n){return this.request({method:"tasks/result",params:e},t,n)}async listTasks(e,t){return this.request({method:"tasks/list",params:e},n$,t)}async cancelTask(e,t){return this.request({method:"tasks/cancel",params:e},XVe,t)}async notification(e,t){var o,l,c,d,u;if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(e.method);let n=(o=t==null?void 0:t.relatedTask)==null?void 0:o.taskId;if(n){let p={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...((l=e.params)==null?void 0:l._meta)||{},[mf]:t.relatedTask}}};await this._enqueueTaskMessage(n,{type:"notification",message:p,timestamp:Date.now()});return}if(((d=(c=this._options)==null?void 0:c.debouncedNotificationMethods)!=null?d:[]).includes(e.method)&&!e.params&&!(t!=null&&t.relatedRequestId)&&!(t!=null&&t.relatedTask)){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{var m,f;if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let p={...e,jsonrpc:"2.0"};t!=null&&t.relatedTask&&(p={...p,params:{...p.params,_meta:{...((m=p.params)==null?void 0:m._meta)||{},[mf]:t.relatedTask}}}),(f=this._transport)==null||f.send(p,t).catch(h=>this._onerror(h))});return}let s={...e,jsonrpc:"2.0"};t!=null&&t.relatedTask&&(s={...s,params:{...s.params,_meta:{...((u=s.params)==null?void 0:u._meta)||{},[mf]:t.relatedTask}}}),await this._transport.send(s,t)}setRequestHandler(e,t){let n=Dee(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(i,a)=>{let s=Pee(e,i);return Promise.resolve(t(s,a))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){let n=Dee(e);this._notificationHandlers.set(n,i=>{let a=Pee(e,i);return Promise.resolve(t(a))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let t=this._taskProgressTokens.get(e);t!==void 0&&(this._progressHandlers.delete(t),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,t,n){var a;if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let i=(a=this._options)==null?void 0:a.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,t,n,i)}async _clearTaskQueue(e,t){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,t);for(let i of n)if(i.type==="request"&&ff(i.message)){let a=i.message.id,s=this._requestResolvers.get(a);s?(s(new Re(Be.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(a)):this._onerror(new Error(`Resolver missing for request ${a} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,t){var i,a,s;let n=(a=(i=this._options)==null?void 0:i.defaultTaskPollInterval)!=null?a:1e3;try{let o=await((s=this._taskStore)==null?void 0:s.getTask(e));o!=null&&o.pollInterval&&(n=o.pollInterval)}catch(o){}return new Promise((o,l)=>{if(t.aborted){l(new Re(Be.InvalidRequest,"Request cancelled"));return}let c=setTimeout(o,n);t.addEventListener("abort",()=>{clearTimeout(c),l(new Re(Be.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,t){let n=this._taskStore;if(!n)throw new Error("No task store configured");return{createTask:async i=>{if(!e)throw new Error("No request provided");return await n.createTask(i,e.id,{method:e.method,params:e.params},t)},getTask:async i=>{let a=await n.getTask(i,t);if(!a)throw new Re(Be.InvalidParams,"Failed to retrieve task: Task not found");return a},storeTaskResult:async(i,a,s)=>{await n.storeTaskResult(i,a,s,t);let o=await n.getTask(i,t);if(o){let l=v0.parse({method:"notifications/tasks/status",params:o});await this.notification(l),hf(o.status)&&this._cleanupTaskProgressHandler(i)}},getTaskResult:i=>n.getTaskResult(i,t),updateTaskStatus:async(i,a,s)=>{let o=await n.getTask(i,t);if(!o)throw new Re(Be.InvalidParams,`Task "${i}" not found - it may have been cleaned up`);if(hf(o.status))throw new Re(Be.InvalidParams,`Cannot update task "${i}" from terminal status "${o.status}" to "${a}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(i,a,s,t);let l=await n.getTask(i,t);if(l){let c=v0.parse({method:"notifications/tasks/status",params:l});await this.notification(c),hf(l.status)&&this._cleanupTaskProgressHandler(i)}},listTasks:i=>n.listTasks(i,t)}}}});var x0=E(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.regexpCode=lr.getEsmExportName=lr.getProperty=lr.safeStringify=lr.stringify=lr.strConcat=lr.addCodeArg=lr.str=lr._=lr.nil=lr._Code=lr.Name=lr.IDENTIFIER=lr._CodeOrName=void 0;var S0=class{};lr._CodeOrName=S0;lr.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var hy=class extends S0{constructor(e){if(super(),!lr.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};lr.Name=hy;var al=class extends S0{constructor(e){super(),this._items=typeof e=="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((t,n)=>`${t}${n}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((t,n)=>(n instanceof hy&&(t[n.str]=(t[n.str]||0)+1),t),{})}};lr._Code=al;lr.nil=new al("");function qqe(r,...e){let t=[r[0]],n=0;for(;n<e.length;)Aee(t,e[n]),t.push(r[++n]);return new al(t)}lr._=qqe;var _ee=new al("+");function Wqe(r,...e){let t=[E0(r[0])],n=0;for(;n<e.length;)t.push(_ee),Aee(t,e[n]),t.push(_ee,E0(r[++n]));return jLt(t),new al(t)}lr.str=Wqe;function Aee(r,e){e instanceof al?r.push(...e._items):e instanceof hy?r.push(e):r.push(HLt(e))}lr.addCodeArg=Aee;function jLt(r){let e=1;for(;e<r.length-1;){if(r[e]===_ee){let t=BLt(r[e-1],r[e+1]);if(t!==void 0){r.splice(e-1,3,t);continue}r[e++]="+"}e++}}function BLt(r,e){if(e==='""')return r;if(r==='""')return e;if(typeof r=="string")return e instanceof hy||r[r.length-1]!=='"'?void 0:typeof e!="string"?`${r.slice(0,-1)}${e}"`:e[0]==='"'?r.slice(0,-1)+e.slice(1):void 0;if(typeof e=="string"&&e[0]==='"'&&!(r instanceof hy))return`"${r}${e.slice(1)}`}function ULt(r,e){return e.emptyStr()?r:r.emptyStr()?e:Wqe`${r}${e}`}lr.strConcat=ULt;function HLt(r){return typeof r=="number"||typeof r=="boolean"||r===null?r:E0(Array.isArray(r)?r.join(","):r)}function VLt(r){return new al(E0(r))}lr.stringify=VLt;function E0(r){return JSON.stringify(r).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}lr.safeStringify=E0;function qLt(r){return typeof r=="string"&&lr.IDENTIFIER.test(r)?new al(`.${r}`):qqe`[${r}]`}lr.getProperty=qLt;function WLt(r){if(typeof r=="string"&&lr.IDENTIFIER.test(r))return new al(`${r}`);throw new Error(`CodeGen: invalid export name: ${r}, use explicit $id name mapping`)}lr.getEsmExportName=WLt;function YLt(r){return new al(r.toString())}lr.regexpCode=YLt});var Ree=E(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.ValueScope=Cs.ValueScopeName=Cs.Scope=Cs.varKinds=Cs.UsedValueState=void 0;var xs=x0(),Iee=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},x$;(function(r){r[r.Started=0]="Started",r[r.Completed=1]="Completed"})(x$||(Cs.UsedValueState=x$={}));Cs.varKinds={const:new xs.Name("const"),let:new xs.Name("let"),var:new xs.Name("var")};var C$=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof xs.Name?e:this.name(e)}name(e){return new xs.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,n;if(!((n=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||n===void 0)&&n.has(e)||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};Cs.Scope=C$;var D$=class extends xs.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=(0,xs._)`.${new xs.Name(t)}[${n}]`}};Cs.ValueScopeName=D$;var GLt=(0,xs._)`\n`,Nee=class extends C${constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?GLt:xs.nil}}get(){return this._scope}name(e){return new D$(e,this._newName(e))}value(e,t){var n;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let i=this.toName(e),{prefix:a}=i,s=(n=t.key)!==null&&n!==void 0?n:t.ref,o=this._values[a];if(o){let d=o.get(s);if(d)return d}else o=this._values[a]=new Map;o.set(s,i);let l=this._scope[a]||(this._scope[a]=[]),c=l.length;return l[c]=t.ref,i.setValue(t,{property:a,itemIndex:c}),i}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,xs._)`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,i=>{if(i.value===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return i.value.code},t,n)}_reduceValues(e,t,n={},i){let a=xs.nil;for(let s in e){let o=e[s];if(!o)continue;let l=n[s]=n[s]||new Map;o.forEach(c=>{if(l.has(c))return;l.set(c,x$.Started);let d=t(c);if(d){let u=this.opts.es5?Cs.varKinds.var:Cs.varKinds.const;a=(0,xs._)`${a}${u} ${c} = ${d};${this.opts._n}`}else if(d=i==null?void 0:i(c))a=(0,xs._)`${a}${d}${this.opts._n}`;else throw new Iee(c);l.set(c,x$.Completed)})}return a}};Cs.ValueScope=Nee});var Dt=E(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.or=St.and=St.not=St.CodeGen=St.operators=St.varKinds=St.ValueScopeName=St.ValueScope=St.Scope=St.Name=St.regexpCode=St.stringify=St.getProperty=St.nil=St.strConcat=St.str=St._=void 0;var Qt=x0(),Xl=Ree(),yf=x0();Object.defineProperty(St,"_",{enumerable:!0,get:function(){return yf._}});Object.defineProperty(St,"str",{enumerable:!0,get:function(){return yf.str}});Object.defineProperty(St,"strConcat",{enumerable:!0,get:function(){return yf.strConcat}});Object.defineProperty(St,"nil",{enumerable:!0,get:function(){return yf.nil}});Object.defineProperty(St,"getProperty",{enumerable:!0,get:function(){return yf.getProperty}});Object.defineProperty(St,"stringify",{enumerable:!0,get:function(){return yf.stringify}});Object.defineProperty(St,"regexpCode",{enumerable:!0,get:function(){return yf.regexpCode}});Object.defineProperty(St,"Name",{enumerable:!0,get:function(){return yf.Name}});var A$=Ree();Object.defineProperty(St,"Scope",{enumerable:!0,get:function(){return A$.Scope}});Object.defineProperty(St,"ValueScope",{enumerable:!0,get:function(){return A$.ValueScope}});Object.defineProperty(St,"ValueScopeName",{enumerable:!0,get:function(){return A$.ValueScopeName}});Object.defineProperty(St,"varKinds",{enumerable:!0,get:function(){return A$.varKinds}});St.operators={GT:new Qt._Code(">"),GTE:new Qt._Code(">="),LT:new Qt._Code("<"),LTE:new Qt._Code("<="),EQ:new Qt._Code("==="),NEQ:new Qt._Code("!=="),NOT:new Qt._Code("!"),OR:new Qt._Code("||"),AND:new Qt._Code("&&"),ADD:new Qt._Code("+")};var pp=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},Oee=class extends pp{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let n=e?Xl.varKinds.var:this.varKind,i=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=Ak(this.rhs,e,t)),this}get names(){return this.rhs instanceof Qt._CodeOrName?this.rhs.names:{}}},P$=class extends pp{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof Qt.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=Ak(this.rhs,e,t),this}get names(){let e=this.lhs instanceof Qt.Name?{}:{...this.lhs.names};return _$(e,this.rhs)}},Lee=class extends P${constructor(e,t,n,i){super(e,n,i),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},Fee=class extends pp{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},$ee=class extends pp{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},zee=class extends pp{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},jee=class extends pp{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=Ak(this.code,e,t),this}get names(){return this.code instanceof Qt._CodeOrName?this.code.names:{}}},C0=class extends pp{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),"")}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,i=n.length;for(;i--;){let a=n[i];a.optimizeNames(e,t)||(KLt(e,a.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>vy(e,t.names),{})}},mp=class extends C0{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},Bee=class extends C0{},_k=class extends mp{};_k.kind="else";var gy=class r extends mp{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let t=this.else;if(t){let n=t.optimizeNodes();t=this.else=Array.isArray(n)?new _k(n):n}if(t)return e===!1?t instanceof r?t:t.nodes:this.nodes.length?this:new r(Yqe(e),t instanceof r?[t]:t.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,t){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(e,t),!!(super.optimizeNames(e,t)||this.else))return this.condition=Ak(this.condition,e,t),this}get names(){let e=super.names;return _$(e,this.condition),this.else&&vy(e,this.else.names),e}};gy.kind="if";var yy=class extends mp{};yy.kind="for";var Uee=class extends yy{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=Ak(this.iteration,e,t),this}get names(){return vy(super.names,this.iteration.names)}},Hee=class extends yy{constructor(e,t,n,i){super(),this.varKind=e,this.name=t,this.from=n,this.to=i}render(e){let t=e.es5?Xl.varKinds.var:this.varKind,{name:n,from:i,to:a}=this;return`for(${t} ${n}=${i}; ${n}<${a}; ${n}++)`+super.render(e)}get names(){let e=_$(super.names,this.from);return _$(e,this.to)}},M$=class extends yy{constructor(e,t,n,i){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=i}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=Ak(this.iterable,e,t),this}get names(){return vy(super.names,this.iterable.names)}},D0=class extends mp{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};D0.kind="func";var P0=class extends C0{render(e){return"return "+super.render(e)}};P0.kind="return";var Vee=class extends mp{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),(e=this.catch)===null||e===void 0||e.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(e,t){var n,i;return super.optimizeNames(e,t),(n=this.catch)===null||n===void 0||n.optimizeNames(e,t),(i=this.finally)===null||i===void 0||i.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&vy(e,this.catch.names),this.finally&&vy(e,this.finally.names),e}},M0=class extends mp{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};M0.kind="catch";var _0=class extends mp{render(e){return"finally"+super.render(e)}};_0.kind="finally";var qee=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?`
`:""},this._extScope=e,this._scope=new Xl.Scope({parent:e}),this._nodes=[new Bee]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,i){let a=this._scope.toName(t);return n!==void 0&&i&&(this._constants[a.str]=n),this._leafNode(new Oee(e,a,n)),a}const(e,t,n){return this._def(Xl.varKinds.const,e,t,n)}let(e,t,n){return this._def(Xl.varKinds.let,e,t,n)}var(e,t,n){return this._def(Xl.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new P$(e,t,n))}add(e,t){return this._leafNode(new Lee(e,St.operators.ADD,t))}code(e){return typeof e=="function"?e():e!==Qt.nil&&this._leafNode(new jee(e)),this}object(...e){let t=["{"];for(let[n,i]of e)t.length>1&&t.push(","),t.push(n),(n!==i||this.opts.es5)&&(t.push(":"),(0,Qt.addCodeArg)(t,i));return t.push("}"),new Qt._Code(t)}if(e,t,n){if(this._blockNode(new gy(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new gy(e))}else(){return this._elseNode(new _k)}endIf(){return this._endBlockNode(gy,_k)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new Uee(e),t)}forRange(e,t,n,i,a=this.opts.es5?Xl.varKinds.var:Xl.varKinds.let){let s=this._scope.toName(e);return this._for(new Hee(a,s,t,n),()=>i(s))}forOf(e,t,n,i=Xl.varKinds.const){let a=this._scope.toName(e);if(this.opts.es5){let s=t instanceof Qt.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,Qt._)`${s}.length`,o=>{this.var(a,(0,Qt._)`${s}[${o}]`),n(a)})}return this._for(new M$("of",i,a,t),()=>n(a))}forIn(e,t,n,i=this.opts.es5?Xl.varKinds.var:Xl.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,Qt._)`Object.keys(${t})`,n);let a=this._scope.toName(e);return this._for(new M$("in",i,a,t),()=>n(a))}endFor(){return this._endBlockNode(yy)}label(e){return this._leafNode(new Fee(e))}break(e){return this._leafNode(new $ee(e))}return(e){let t=new P0;if(this._blockNode(t),this.code(e),t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(P0)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let i=new Vee;if(this._blockNode(i),this.code(e),t){let a=this.name("e");this._currNode=i.catch=new M0(a),t(a)}return n&&(this._currNode=i.finally=new _0,this.code(n)),this._endBlockNode(M0,_0)}throw(e){return this._leafNode(new zee(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(t===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-t;if(n<0||e!==void 0&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=Qt.nil,n,i){return this._blockNode(new D0(e,t,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(D0)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof gy))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}};St.CodeGen=qee;function vy(r,e){for(let t in e)r[t]=(r[t]||0)+(e[t]||0);return r}function _$(r,e){return e instanceof Qt._CodeOrName?vy(r,e.names):r}function Ak(r,e,t){if(r instanceof Qt.Name)return n(r);if(!i(r))return r;return new Qt._Code(r._items.reduce((a,s)=>(s instanceof Qt.Name&&(s=n(s)),s instanceof Qt._Code?a.push(...s._items):a.push(s),a),[]));function n(a){let s=t[a.str];return s===void 0||e[a.str]!==1?a:(delete e[a.str],s)}function i(a){return a instanceof Qt._Code&&a._items.some(s=>s instanceof Qt.Name&&e[s.str]===1&&t[s.str]!==void 0)}}function KLt(r,e){for(let t in e)r[t]=(r[t]||0)-(e[t]||0)}function Yqe(r){return typeof r=="boolean"||typeof r=="number"||r===null?!r:(0,Qt._)`!${Wee(r)}`}St.not=Yqe;var ZLt=Gqe(St.operators.AND);function QLt(...r){return r.reduce(ZLt)}St.and=QLt;var JLt=Gqe(St.operators.OR);function XLt(...r){return r.reduce(JLt)}St.or=XLt;function Gqe(r){return(e,t)=>e===Qt.nil?t:t===Qt.nil?e:(0,Qt._)`${Wee(e)} ${r} ${Wee(t)}`}function Wee(r){return r instanceof Qt.Name?r:(0,Qt._)`(${r})`}});var rr=E(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.checkStrictMode=Pt.getErrorPath=Pt.Type=Pt.useFunc=Pt.setEvaluated=Pt.evaluatedPropsToName=Pt.mergeEvaluated=Pt.eachItem=Pt.unescapeJsonPointer=Pt.escapeJsonPointer=Pt.escapeFragment=Pt.unescapeFragment=Pt.schemaRefOrVal=Pt.schemaHasRulesButRef=Pt.schemaHasRules=Pt.checkUnknownRules=Pt.alwaysValidSchema=Pt.toHash=void 0;var zr=Dt(),eFt=x0();function tFt(r){let e={};for(let t of r)e[t]=!0;return e}Pt.toHash=tFt;function rFt(r,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(Qqe(r,e),!Jqe(e,r.self.RULES.all))}Pt.alwaysValidSchema=rFt;function Qqe(r,e=r.schema){let{opts:t,self:n}=r;if(!t.strictSchema||typeof e=="boolean")return;let i=n.RULES.keywords;for(let a in e)i[a]||tWe(r,`unknown keyword: "${a}"`)}Pt.checkUnknownRules=Qqe;function Jqe(r,e){if(typeof r=="boolean")return!r;for(let t in r)if(e[t])return!0;return!1}Pt.schemaHasRules=Jqe;function nFt(r,e){if(typeof r=="boolean")return!r;for(let t in r)if(t!=="$ref"&&e.all[t])return!0;return!1}Pt.schemaHasRulesButRef=nFt;function iFt({topSchemaRef:r,schemaPath:e},t,n,i){if(!i){if(typeof t=="number"||typeof t=="boolean")return t;if(typeof t=="string")return(0,zr._)`${t}`}return(0,zr._)`${r}${e}${(0,zr.getProperty)(n)}`}Pt.schemaRefOrVal=iFt;function aFt(r){return Xqe(decodeURIComponent(r))}Pt.unescapeFragment=aFt;function sFt(r){return encodeURIComponent(Gee(r))}Pt.escapeFragment=sFt;function Gee(r){return typeof r=="number"?`${r}`:r.replace(/~/g,"~0").replace(/\//g,"~1")}Pt.escapeJsonPointer=Gee;function Xqe(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")}Pt.unescapeJsonPointer=Xqe;function oFt(r,e){if(Array.isArray(r))for(let t of r)e(t);else e(r)}Pt.eachItem=oFt;function Kqe({mergeNames:r,mergeToName:e,mergeValues:t,resultToName:n}){return(i,a,s,o)=>{let l=s===void 0?a:s instanceof zr.Name?(a instanceof zr.Name?r(i,a,s):e(i,a,s),s):a instanceof zr.Name?(e(i,s,a),a):t(a,s);return o===zr.Name&&!(l instanceof zr.Name)?n(i,l):l}}Pt.mergeEvaluated={props:Kqe({mergeNames:(r,e,t)=>r.if((0,zr._)`${t} !== true && ${e} !== undefined`,()=>{r.if((0,zr._)`${e} === true`,()=>r.assign(t,!0),()=>r.assign(t,(0,zr._)`${t} || {}`).code((0,zr._)`Object.assign(${t}, ${e})`))}),mergeToName:(r,e,t)=>r.if((0,zr._)`${t} !== true`,()=>{e===!0?r.assign(t,!0):(r.assign(t,(0,zr._)`${t} || {}`),Kee(r,t,e))}),mergeValues:(r,e)=>r===!0?!0:{...r,...e},resultToName:eWe}),items:Kqe({mergeNames:(r,e,t)=>r.if((0,zr._)`${t} !== true && ${e} !== undefined`,()=>r.assign(t,(0,zr._)`${e} === true ? true : ${t} > ${e} ? ${t} : ${e}`)),mergeToName:(r,e,t)=>r.if((0,zr._)`${t} !== true`,()=>r.assign(t,e===!0?!0:(0,zr._)`${t} > ${e} ? ${t} : ${e}`)),mergeValues:(r,e)=>r===!0?!0:Math.max(r,e),resultToName:(r,e)=>r.var("items",e)})};function eWe(r,e){if(e===!0)return r.var("props",!0);let t=r.var("props",(0,zr._)`{}`);return e!==void 0&&Kee(r,t,e),t}Pt.evaluatedPropsToName=eWe;function Kee(r,e,t){Object.keys(t).forEach(n=>r.assign((0,zr._)`${e}${(0,zr.getProperty)(n)}`,!0))}Pt.setEvaluated=Kee;var Zqe={};function lFt(r,e){return r.scopeValue("func",{ref:e,code:Zqe[e.code]||(Zqe[e.code]=new eFt._Code(e.code))})}Pt.useFunc=lFt;var Yee;(function(r){r[r.Num=0]="Num",r[r.Str=1]="Str"})(Yee||(Pt.Type=Yee={}));function cFt(r,e,t){if(r instanceof zr.Name){let n=e===Yee.Num;return t?n?(0,zr._)`"[" + ${r} + "]"`:(0,zr._)`"['" + ${r} + "']"`:n?(0,zr._)`"/" + ${r}`:(0,zr._)`"/" + ${r}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return t?(0,zr.getProperty)(r).toString():"/"+Gee(r)}Pt.getErrorPath=cFt;function tWe(r,e,t=r.opts.strictSchema){if(t){if(e=`strict mode: ${e}`,t===!0)throw new Error(e);r.self.logger.warn(e)}}Pt.checkStrictMode=tWe});var fp=E(Zee=>{"use strict";Object.defineProperty(Zee,"__esModule",{value:!0});var ba=Dt(),dFt={data:new ba.Name("data"),valCxt:new ba.Name("valCxt"),instancePath:new ba.Name("instancePath"),parentData:new ba.Name("parentData"),parentDataProperty:new ba.Name("parentDataProperty"),rootData:new ba.Name("rootData"),dynamicAnchors:new ba.Name("dynamicAnchors"),vErrors:new ba.Name("vErrors"),errors:new ba.Name("errors"),this:new ba.Name("this"),self:new ba.Name("self"),scope:new ba.Name("scope"),json:new ba.Name("json"),jsonPos:new ba.Name("jsonPos"),jsonLen:new ba.Name("jsonLen"),jsonPart:new ba.Name("jsonPart")};Zee.default=dFt});var A0=E(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.extendErrors=Ta.resetErrorsCount=Ta.reportExtraError=Ta.reportError=Ta.keyword$DataError=Ta.keywordError=void 0;var nr=Dt(),I$=rr(),Wa=fp();Ta.keywordError={message:({keyword:r})=>(0,nr.str)`must pass "${r}" keyword validation`};Ta.keyword$DataError={message:({keyword:r,schemaType:e})=>e?(0,nr.str)`"${r}" keyword must be ${e} ($data)`:(0,nr.str)`"${r}" keyword is invalid ($data)`};function uFt(r,e=Ta.keywordError,t,n){let{it:i}=r,{gen:a,compositeRule:s,allErrors:o}=i,l=iWe(r,e,t);(n!=null?n:s||o)?rWe(a,l):nWe(i,(0,nr._)`[${l}]`)}Ta.reportError=uFt;function pFt(r,e=Ta.keywordError,t){let{it:n}=r,{gen:i,compositeRule:a,allErrors:s}=n,o=iWe(r,e,t);rWe(i,o),a||s||nWe(n,Wa.default.vErrors)}Ta.reportExtraError=pFt;function mFt(r,e){r.assign(Wa.default.errors,e),r.if((0,nr._)`${Wa.default.vErrors} !== null`,()=>r.if(e,()=>r.assign((0,nr._)`${Wa.default.vErrors}.length`,e),()=>r.assign(Wa.default.vErrors,null)))}Ta.resetErrorsCount=mFt;function fFt({gen:r,keyword:e,schemaValue:t,data:n,errsCount:i,it:a}){if(i===void 0)throw new Error("ajv implementation error");let s=r.name("err");r.forRange("i",i,Wa.default.errors,o=>{r.const(s,(0,nr._)`${Wa.default.vErrors}[${o}]`),r.if((0,nr._)`${s}.instancePath === undefined`,()=>r.assign((0,nr._)`${s}.instancePath`,(0,nr.strConcat)(Wa.default.instancePath,a.errorPath))),r.assign((0,nr._)`${s}.schemaPath`,(0,nr.str)`${a.errSchemaPath}/${e}`),a.opts.verbose&&(r.assign((0,nr._)`${s}.schema`,t),r.assign((0,nr._)`${s}.data`,n))})}Ta.extendErrors=fFt;function rWe(r,e){let t=r.const("err",e);r.if((0,nr._)`${Wa.default.vErrors} === null`,()=>r.assign(Wa.default.vErrors,(0,nr._)`[${t}]`),(0,nr._)`${Wa.default.vErrors}.push(${t})`),r.code((0,nr._)`${Wa.default.errors}++`)}function nWe(r,e){let{gen:t,validateName:n,schemaEnv:i}=r;i.$async?t.throw((0,nr._)`new ${r.ValidationError}(${e})`):(t.assign((0,nr._)`${n}.errors`,e),t.return(!1))}var by={keyword:new nr.Name("keyword"),schemaPath:new nr.Name("schemaPath"),params:new nr.Name("params"),propertyName:new nr.Name("propertyName"),message:new nr.Name("message"),schema:new nr.Name("schema"),parentSchema:new nr.Name("parentSchema")};function iWe(r,e,t){let{createErrors:n}=r.it;return n===!1?(0,nr._)`{}`:hFt(r,e,t)}function hFt(r,e,t={}){let{gen:n,it:i}=r,a=[gFt(i,t),yFt(r,t)];return vFt(r,e,a),n.object(...a)}function gFt({errorPath:r},{instancePath:e}){let t=e?(0,nr.str)`${r}${(0,I$.getErrorPath)(e,I$.Type.Str)}`:r;return[Wa.default.instancePath,(0,nr.strConcat)(Wa.default.instancePath,t)]}function yFt({keyword:r,it:{errSchemaPath:e}},{schemaPath:t,parentSchema:n}){let i=n?e:(0,nr.str)`${e}/${r}`;return t&&(i=(0,nr.str)`${i}${(0,I$.getErrorPath)(t,I$.Type.Str)}`),[by.schemaPath,i]}function vFt(r,{params:e,message:t},n){let{keyword:i,data:a,schemaValue:s,it:o}=r,{opts:l,propertyName:c,topSchemaRef:d,schemaPath:u}=o;n.push([by.keyword,i],[by.params,typeof e=="function"?e(r):e||(0,nr._)`{}`]),l.messages&&n.push([by.message,typeof t=="function"?t(r):t]),l.verbose&&n.push([by.schema,s],[by.parentSchema,(0,nr._)`${d}${u}`],[Wa.default.data,a]),c&&n.push([by.propertyName,c])}});var sWe=E(Ik=>{"use strict";Object.defineProperty(Ik,"__esModule",{value:!0});Ik.boolOrEmptySchema=Ik.topBoolOrEmptySchema=void 0;var bFt=A0(),TFt=Dt(),kFt=fp(),wFt={message:"boolean schema is false"};function SFt(r){let{gen:e,schema:t,validateName:n}=r;t===!1?aWe(r,!1):typeof t=="object"&&t.$async===!0?e.return(kFt.default.data):(e.assign((0,TFt._)`${n}.errors`,null),e.return(!0))}Ik.topBoolOrEmptySchema=SFt;function EFt(r,e){let{gen:t,schema:n}=r;n===!1?(t.var(e,!1),aWe(r)):t.var(e,!0)}Ik.boolOrEmptySchema=EFt;function aWe(r,e){let{gen:t,data:n}=r,i={gen:t,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:r};(0,bFt.reportError)(i,wFt,void 0,e)}});var Qee=E(Nk=>{"use strict";Object.defineProperty(Nk,"__esModule",{value:!0});Nk.getRules=Nk.isJSONType=void 0;var xFt=["string","number","integer","boolean","null","object","array"],CFt=new Set(xFt);function DFt(r){return typeof r=="string"&&CFt.has(r)}Nk.isJSONType=DFt;function PFt(){let r={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...r,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},r.number,r.string,r.array,r.object],post:{rules:[]},all:{},keywords:{}}}Nk.getRules=PFt});var Jee=E(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.shouldUseRule=vf.shouldUseGroup=vf.schemaHasRulesForType=void 0;function MFt({schema:r,self:e},t){let n=e.RULES.types[t];return n&&n!==!0&&oWe(r,n)}vf.schemaHasRulesForType=MFt;function oWe(r,e){return e.rules.some(t=>lWe(r,t))}vf.shouldUseGroup=oWe;function lWe(r,e){var t;return r[e.keyword]!==void 0||((t=e.definition.implements)===null||t===void 0?void 0:t.some(n=>r[n]!==void 0))}vf.shouldUseRule=lWe});var I0=E(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.reportTypeError=ka.checkDataTypes=ka.checkDataType=ka.coerceAndCheckDataType=ka.getJSONTypes=ka.getSchemaTypes=ka.DataType=void 0;var _Ft=Qee(),AFt=Jee(),IFt=A0(),ft=Dt(),cWe=rr(),Rk;(function(r){r[r.Correct=0]="Correct",r[r.Wrong=1]="Wrong"})(Rk||(ka.DataType=Rk={}));function NFt(r){let e=dWe(r.type);if(e.includes("null")){if(r.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!e.length&&r.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');r.nullable===!0&&e.push("null")}return e}ka.getSchemaTypes=NFt;function dWe(r){let e=Array.isArray(r)?r:r?[r]:[];if(e.every(_Ft.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}ka.getJSONTypes=dWe;function RFt(r,e){let{gen:t,data:n,opts:i}=r,a=OFt(e,i.coerceTypes),s=e.length>0&&!(a.length===0&&e.length===1&&(0,AFt.schemaHasRulesForType)(r,e[0]));if(s){let o=ete(e,n,i.strictNumbers,Rk.Wrong);t.if(o,()=>{a.length?LFt(r,e,a):tte(r)})}return s}ka.coerceAndCheckDataType=RFt;var uWe=new Set(["string","number","integer","boolean","null"]);function OFt(r,e){return e?r.filter(t=>uWe.has(t)||e==="array"&&t==="array"):[]}function LFt(r,e,t){let{gen:n,data:i,opts:a}=r,s=n.let("dataType",(0,ft._)`typeof ${i}`),o=n.let("coerced",(0,ft._)`undefined`);a.coerceTypes==="array"&&n.if((0,ft._)`${s} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,(0,ft._)`${i}[0]`).assign(s,(0,ft._)`typeof ${i}`).if(ete(e,i,a.strictNumbers),()=>n.assign(o,i))),n.if((0,ft._)`${o} !== undefined`);for(let c of t)(uWe.has(c)||c==="array"&&a.coerceTypes==="array")&&l(c);n.else(),tte(r),n.endIf(),n.if((0,ft._)`${o} !== undefined`,()=>{n.assign(i,o),FFt(r,o)});function l(c){switch(c){case"string":n.elseIf((0,ft._)`${s} == "number" || ${s} == "boolean"`).assign(o,(0,ft._)`"" + ${i}`).elseIf((0,ft._)`${i} === null`).assign(o,(0,ft._)`""`);return;case"number":n.elseIf((0,ft._)`${s} == "boolean" || ${i} === null
|| (${s} == "string" && ${i} && ${i} == +${i})`).assign(o,(0,ft._)`+${i}`);return;case"integer":n.elseIf((0,ft._)`${s} === "boolean" || ${i} === null
|| (${s} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(o,(0,ft._)`+${i}`);return;case"boolean":n.elseIf((0,ft._)`${i} === "false" || ${i} === 0 || ${i} === null`).assign(o,!1).elseIf((0,ft._)`${i} === "true" || ${i} === 1`).assign(o,!0);return;case"null":n.elseIf((0,ft._)`${i} === "" || ${i} === 0 || ${i} === false`),n.assign(o,null);return;case"array":n.elseIf((0,ft._)`${s} === "string" || ${s} === "number"
|| ${s} === "boolean" || ${i} === null`).assign(o,(0,ft._)`[${i}]`)}}}function FFt({gen:r,parentData:e,parentDataProperty:t},n){r.if((0,ft._)`${e} !== undefined`,()=>r.assign((0,ft._)`${e}[${t}]`,n))}function Xee(r,e,t,n=Rk.Correct){let i=n===Rk.Correct?ft.operators.EQ:ft.operators.NEQ,a;switch(r){case"null":return(0,ft._)`${e} ${i} null`;case"array":a=(0,ft._)`Array.isArray(${e})`;break;case"object":a=(0,ft._)`${e} && typeof ${e} == "object" && !Array.isArray(${e})`;break;case"integer":a=s((0,ft._)`!(${e} % 1) && !isNaN(${e})`);break;case"number":a=s();break;default:return(0,ft._)`typeof ${e} ${i} ${r}`}return n===Rk.Correct?a:(0,ft.not)(a);function s(o=ft.nil){return(0,ft.and)((0,ft._)`typeof ${e} == "number"`,o,t?(0,ft._)`isFinite(${e})`:ft.nil)}}ka.checkDataType=Xee;function ete(r,e,t,n){if(r.length===1)return Xee(r[0],e,t,n);let i,a=(0,cWe.toHash)(r);if(a.array&&a.object){let s=(0,ft._)`typeof ${e} != "object"`;i=a.null?s:(0,ft._)`!${e} || ${s}`,delete a.null,delete a.array,delete a.object}else i=ft.nil;a.number&&delete a.integer;for(let s in a)i=(0,ft.and)(i,Xee(s,e,t,n));return i}ka.checkDataTypes=ete;var $Ft={message:({schema:r})=>`must be ${r}`,params:({schema:r,schemaValue:e})=>typeof r=="string"?(0,ft._)`{type: ${r}}`:(0,ft._)`{type: ${e}}`};function tte(r){let e=zFt(r);(0,IFt.reportError)(e,$Ft)}ka.reportTypeError=tte;function zFt(r){let{gen:e,data:t,schema:n}=r,i=(0,cWe.schemaRefOrVal)(r,n,"type");return{gen:e,keyword:"type",data:t,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:r}}});var mWe=E(N$=>{"use strict";Object.defineProperty(N$,"__esModule",{value:!0});N$.assignDefaults=void 0;var Ok=Dt(),jFt=rr();function BFt(r,e){let{properties:t,items:n}=r.schema;if(e==="object"&&t)for(let i in t)pWe(r,i,t[i].default);else e==="array"&&Array.isArray(n)&&n.forEach((i,a)=>pWe(r,a,i.default))}N$.assignDefaults=BFt;function pWe(r,e,t){let{gen:n,compositeRule:i,data:a,opts:s}=r;if(t===void 0)return;let o=(0,Ok._)`${a}${(0,Ok.getProperty)(e)}`;if(i){(0,jFt.checkStrictMode)(r,`default is ignored for: ${o}`);return}let l=(0,Ok._)`${o} === undefined`;s.useDefaults==="empty"&&(l=(0,Ok._)`${l} || ${o} === null || ${o} === ""`),n.if(l,(0,Ok._)`${o} = ${(0,Ok.stringify)(t)}`)}});var sl=E(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.validateUnion=Lr.validateArray=Lr.usePattern=Lr.callValidateCode=Lr.schemaProperties=Lr.allSchemaProperties=Lr.noPropertyInData=Lr.propertyInData=Lr.isOwnProperty=Lr.hasPropFunc=Lr.reportMissingProp=Lr.checkMissingProp=Lr.checkReportMissingProp=void 0;var rn=Dt(),rte=rr(),bf=fp(),UFt=rr();function HFt(r,e){let{gen:t,data:n,it:i}=r;t.if(ite(t,n,e,i.opts.ownProperties),()=>{r.setParams({missingProperty:(0,rn._)`${e}`},!0),r.error()})}Lr.checkReportMissingProp=HFt;function VFt({gen:r,data:e,it:{opts:t}},n,i){return(0,rn.or)(...n.map(a=>(0,rn.and)(ite(r,e,a,t.ownProperties),(0,rn._)`${i} = ${a}`)))}Lr.checkMissingProp=VFt;function qFt(r,e){r.setParams({missingProperty:e},!0),r.error()}Lr.reportMissingProp=qFt;function fWe(r){return r.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,rn._)`Object.prototype.hasOwnProperty`})}Lr.hasPropFunc=fWe;function nte(r,e,t){return(0,rn._)`${fWe(r)}.call(${e}, ${t})`}Lr.isOwnProperty=nte;function WFt(r,e,t,n){let i=(0,rn._)`${e}${(0,rn.getProperty)(t)} !== undefined`;return n?(0,rn._)`${i} && ${nte(r,e,t)}`:i}Lr.propertyInData=WFt;function ite(r,e,t,n){let i=(0,rn._)`${e}${(0,rn.getProperty)(t)} === undefined`;return n?(0,rn.or)(i,(0,rn.not)(nte(r,e,t))):i}Lr.noPropertyInData=ite;function hWe(r){return r?Object.keys(r).filter(e=>e!=="__proto__"):[]}Lr.allSchemaProperties=hWe;function YFt(r,e){return hWe(e).filter(t=>!(0,rte.alwaysValidSchema)(r,e[t]))}Lr.schemaProperties=YFt;function GFt({schemaCode:r,data:e,it:{gen:t,topSchemaRef:n,schemaPath:i,errorPath:a},it:s},o,l,c){let d=c?(0,rn._)`${r}, ${e}, ${n}${i}`:e,u=[[bf.default.instancePath,(0,rn.strConcat)(bf.default.instancePath,a)],[bf.default.parentData,s.parentData],[bf.default.parentDataProperty,s.parentDataProperty],[bf.default.rootData,bf.default.rootData]];s.opts.dynamicRef&&u.push([bf.default.dynamicAnchors,bf.default.dynamicAnchors]);let p=(0,rn._)`${d}, ${t.object(...u)}`;return l!==rn.nil?(0,rn._)`${o}.call(${l}, ${p})`:(0,rn._)`${o}(${p})`}Lr.callValidateCode=GFt;var KFt=(0,rn._)`new RegExp`;function ZFt({gen:r,it:{opts:e}},t){let n=e.unicodeRegExp?"u":"",{regExp:i}=e.code,a=i(t,n);return r.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,rn._)`${i.code==="new RegExp"?KFt:(0,UFt.useFunc)(r,i)}(${t}, ${n})`})}Lr.usePattern=ZFt;function QFt(r){let{gen:e,data:t,keyword:n,it:i}=r,a=e.name("valid");if(i.allErrors){let o=e.let("valid",!0);return s(()=>e.assign(o,!1)),o}return e.var(a,!0),s(()=>e.break()),a;function s(o){let l=e.const("len",(0,rn._)`${t}.length`);e.forRange("i",0,l,c=>{r.subschema({keyword:n,dataProp:c,dataPropType:rte.Type.Num},a),e.if((0,rn.not)(a),o)})}}Lr.validateArray=QFt;function JFt(r){let{gen:e,schema:t,keyword:n,it:i}=r;if(!Array.isArray(t))throw new Error("ajv implementation error");if(t.some(l=>(0,rte.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;let s=e.let("valid",!1),o=e.name("_valid");e.block(()=>t.forEach((l,c)=>{let d=r.subschema({keyword:n,schemaProp:c,compositeRule:!0},o);e.assign(s,(0,rn._)`${s} || ${o}`),r.mergeValidEvaluated(d,o)||e.if((0,rn.not)(s))})),r.result(s,()=>r.reset(),()=>r.error(!0))}Lr.validateUnion=JFt});var vWe=E(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.validateKeywordUsage=_d.validSchemaType=_d.funcKeywordCode=_d.macroKeywordCode=void 0;var Ya=Dt(),Ty=fp(),XFt=sl(),e1t=A0();function t1t(r,e){let{gen:t,keyword:n,schema:i,parentSchema:a,it:s}=r,o=e.macro.call(s.self,i,a,s),l=yWe(t,n,o);s.opts.validateSchema!==!1&&s.self.validateSchema(o,!0);let c=t.name("valid");r.subschema({schema:o,schemaPath:Ya.nil,errSchemaPath:`${s.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},c),r.pass(c,()=>r.error(!0))}_d.macroKeywordCode=t1t;function r1t(r,e){var t;let{gen:n,keyword:i,schema:a,parentSchema:s,$data:o,it:l}=r;i1t(l,e);let c=!o&&e.compile?e.compile.call(l.self,a,s,l):e.validate,d=yWe(n,i,c),u=n.let("valid");r.block$data(u,p),r.ok((t=e.valid)!==null&&t!==void 0?t:u);function p(){if(e.errors===!1)h(),e.modifying&&gWe(r),g(()=>r.error());else{let v=e.async?m():f();e.modifying&&gWe(r),g(()=>n1t(r,v))}}function m(){let v=n.let("ruleErrs",null);return n.try(()=>h((0,Ya._)`await `),k=>n.assign(u,!1).if((0,Ya._)`${k} instanceof ${l.ValidationError}`,()=>n.assign(v,(0,Ya._)`${k}.errors`),()=>n.throw(k))),v}function f(){let v=(0,Ya._)`${d}.errors`;return n.assign(v,null),h(Ya.nil),v}function h(v=e.async?(0,Ya._)`await `:Ya.nil){let k=l.opts.passContext?Ty.default.this:Ty.default.self,b=!("compile"in e&&!o||e.schema===!1);n.assign(u,(0,Ya._)`${v}${(0,XFt.callValidateCode)(r,d,k,b)}`,e.modifying)}function g(v){var k;n.if((0,Ya.not)((k=e.valid)!==null&&k!==void 0?k:u),v)}}_d.funcKeywordCode=r1t;function gWe(r){let{gen:e,data:t,it:n}=r;e.if(n.parentData,()=>e.assign(t,(0,Ya._)`${n.parentData}[${n.parentDataProperty}]`))}function n1t(r,e){let{gen:t}=r;t.if((0,Ya._)`Array.isArray(${e})`,()=>{t.assign(Ty.default.vErrors,(0,Ya._)`${Ty.default.vErrors} === null ? ${e} : ${Ty.default.vErrors}.concat(${e})`).assign(Ty.default.errors,(0,Ya._)`${Ty.default.vErrors}.length`),(0,e1t.extendErrors)(r)},()=>r.error())}function i1t({schemaEnv:r},e){if(e.async&&!r.$async)throw new Error("async keyword in sync schema")}function yWe(r,e,t){if(t===void 0)throw new Error(`keyword "${e}" failed to compile`);return r.scopeValue("keyword",typeof t=="function"?{ref:t}:{ref:t,code:(0,Ya.stringify)(t)})}function a1t(r,e,t=!1){return!e.length||e.some(n=>n==="array"?Array.isArray(r):n==="object"?r&&typeof r=="object"&&!Array.isArray(r):typeof r==n||t&&typeof r=="undefined")}_d.validSchemaType=a1t;function s1t({schema:r,opts:e,self:t,errSchemaPath:n},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw new Error("ajv implementation error");let s=i.dependencies;if(s!=null&&s.some(o=>!Object.prototype.hasOwnProperty.call(r,o)))throw new Error(`parent schema must have dependencies of ${a}: ${s.join(",")}`);if(i.validateSchema&&!i.validateSchema(r[a])){let l=`keyword "${a}" value is invalid at path "${n}": `+t.errorsText(i.validateSchema.errors);if(e.validateSchema==="log")t.logger.error(l);else throw new Error(l)}}_d.validateKeywordUsage=s1t});var TWe=E(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.extendSubschemaMode=Tf.extendSubschemaData=Tf.getSubschema=void 0;var Ad=Dt(),bWe=rr();function o1t(r,{keyword:e,schemaProp:t,schema:n,schemaPath:i,errSchemaPath:a,topSchemaRef:s}){if(e!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(e!==void 0){let o=r.schema[e];return t===void 0?{schema:o,schemaPath:(0,Ad._)`${r.schemaPath}${(0,Ad.getProperty)(e)}`,errSchemaPath:`${r.errSchemaPath}/${e}`}:{schema:o[t],schemaPath:(0,Ad._)`${r.schemaPath}${(0,Ad.getProperty)(e)}${(0,Ad.getProperty)(t)}`,errSchemaPath:`${r.errSchemaPath}/${e}/${(0,bWe.escapeFragment)(t)}`}}if(n!==void 0){if(i===void 0||a===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:s,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}Tf.getSubschema=o1t;function l1t(r,e,{dataProp:t,dataPropType:n,data:i,dataTypes:a,propertyName:s}){if(i!==void 0&&t!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:o}=e;if(t!==void 0){let{errorPath:c,dataPathArr:d,opts:u}=e,p=o.let("data",(0,Ad._)`${e.data}${(0,Ad.getProperty)(t)}`,!0);l(p),r.errorPath=(0,Ad.str)`${c}${(0,bWe.getErrorPath)(t,n,u.jsPropertySyntax)}`,r.parentDataProperty=(0,Ad._)`${t}`,r.dataPathArr=[...d,r.parentDataProperty]}if(i!==void 0){let c=i instanceof Ad.Name?i:o.let("data",i,!0);l(c),s!==void 0&&(r.propertyName=s)}a&&(r.dataTypes=a);function l(c){r.data=c,r.dataLevel=e.dataLevel+1,r.dataTypes=[],e.definedProperties=new Set,r.parentData=e.data,r.dataNames=[...e.dataNames,c]}}Tf.extendSubschemaData=l1t;function c1t(r,{jtdDiscriminator:e,jtdMetadata:t,compositeRule:n,createErrors:i,allErrors:a}){n!==void 0&&(r.compositeRule=n),i!==void 0&&(r.createErrors=i),a!==void 0&&(r.allErrors=a),r.jtdDiscriminator=e,r.jtdMetadata=t}Tf.extendSubschemaMode=c1t});var N0=E((tKr,kWe)=>{"use strict";kWe.exports=function r(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,i,a;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(!r(e[i],t[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[i]))return!1;for(i=n;i--!==0;){var s=a[i];if(!r(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}});var SWe=E((rKr,wWe)=>{"use strict";var kf=wWe.exports=function(r,e,t){typeof e=="function"&&(t=e,e={}),t=e.cb||t;var n=typeof t=="function"?t:t.pre||function(){},i=t.post||function(){};R$(e,n,i,r,"",r)};kf.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};kf.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};kf.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};kf.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function R$(r,e,t,n,i,a,s,o,l,c){if(n&&typeof n=="object"&&!Array.isArray(n)){e(n,i,a,s,o,l,c);for(var d in n){var u=n[d];if(Array.isArray(u)){if(d in kf.arrayKeywords)for(var p=0;p<u.length;p++)R$(r,e,t,u[p],i+"/"+d+"/"+p,a,i,d,n,p)}else if(d in kf.propsKeywords){if(u&&typeof u=="object")for(var m in u)R$(r,e,t,u[m],i+"/"+d+"/"+d1t(m),a,i,d,n,m)}else(d in kf.keywords||r.allKeys&&!(d in kf.skipKeywords))&&R$(r,e,t,u,i+"/"+d,a,i,d,n)}t(n,i,a,s,o,l,c)}}function d1t(r){return r.replace(/~/g,"~0").replace(/\//g,"~1")}});var R0=E(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.getSchemaRefs=Ds.resolveUrl=Ds.normalizeId=Ds._getFullPath=Ds.getFullPath=Ds.inlineRef=void 0;var u1t=rr(),p1t=N0(),m1t=SWe(),f1t=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function h1t(r,e=!0){return typeof r=="boolean"?!0:e===!0?!ate(r):e?EWe(r)<=e:!1}Ds.inlineRef=h1t;var g1t=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function ate(r){for(let e in r){if(g1t.has(e))return!0;let t=r[e];if(Array.isArray(t)&&t.some(ate)||typeof t=="object"&&ate(t))return!0}return!1}function EWe(r){let e=0;for(let t in r){if(t==="$ref")return 1/0;if(e++,!f1t.has(t)&&(typeof r[t]=="object"&&(0,u1t.eachItem)(r[t],n=>e+=EWe(n)),e===1/0))return 1/0}return e}function xWe(r,e="",t){t!==!1&&(e=Lk(e));let n=r.parse(e);return CWe(r,n)}Ds.getFullPath=xWe;function CWe(r,e){return r.serialize(e).split("#")[0]+"#"}Ds._getFullPath=CWe;var y1t=/#\/?$/;function Lk(r){return r?r.replace(y1t,""):""}Ds.normalizeId=Lk;function v1t(r,e,t){return t=Lk(t),r.resolve(e,t)}Ds.resolveUrl=v1t;var b1t=/^[a-z_][-a-z0-9._]*$/i;function T1t(r,e){if(typeof r=="boolean")return{};let{schemaId:t,uriResolver:n}=this.opts,i=Lk(r[t]||e),a={"":i},s=xWe(n,i,!1),o={},l=new Set;return m1t(r,{allKeys:!0},(u,p,m,f)=>{if(f===void 0)return;let h=s+p,g=a[f];typeof u[t]=="string"&&(g=v.call(this,u[t])),k.call(this,u.$anchor),k.call(this,u.$dynamicAnchor),a[p]=g;function v(b){let w=this.opts.uriResolver.resolve;if(b=Lk(g?w(g,b):b),l.has(b))throw d(b);l.add(b);let S=this.refs[b];return typeof S=="string"&&(S=this.refs[S]),typeof S=="object"?c(u,S.schema,b):b!==Lk(h)&&(b[0]==="#"?(c(u,o[b],b),o[b]=u):this.refs[b]=h),b}function k(b){if(typeof b=="string"){if(!b1t.test(b))throw new Error(`invalid anchor "${b}"`);v.call(this,`#${b}`)}}}),o;function c(u,p,m){if(p!==void 0&&!p1t(u,p))throw d(m)}function d(u){return new Error(`reference "${u}" resolves to more than one schema`)}}Ds.getSchemaRefs=T1t});var F0=E(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.getData=wf.KeywordCxt=wf.validateFunctionCode=void 0;var AWe=sWe(),DWe=I0(),ote=Jee(),O$=I0(),k1t=mWe(),L0=vWe(),ste=TWe(),Fe=Dt(),it=fp(),w1t=R0(),hp=rr(),O0=A0();function S1t(r){if(RWe(r)&&(OWe(r),NWe(r))){C1t(r);return}IWe(r,()=>(0,AWe.topBoolOrEmptySchema)(r))}wf.validateFunctionCode=S1t;function IWe({gen:r,validateName:e,schema:t,schemaEnv:n,opts:i},a){i.code.es5?r.func(e,(0,Fe._)`${it.default.data}, ${it.default.valCxt}`,n.$async,()=>{r.code((0,Fe._)`"use strict"; ${PWe(t,i)}`),x1t(r,i),r.code(a)}):r.func(e,(0,Fe._)`${it.default.data}, ${E1t(i)}`,n.$async,()=>r.code(PWe(t,i)).code(a))}function E1t(r){return(0,Fe._)`{${it.default.instancePath}="", ${it.default.parentData}, ${it.default.parentDataProperty}, ${it.default.rootData}=${it.default.data}${r.dynamicRef?(0,Fe._)`, ${it.default.dynamicAnchors}={}`:Fe.nil}}={}`}function x1t(r,e){r.if(it.default.valCxt,()=>{r.var(it.default.instancePath,(0,Fe._)`${it.default.valCxt}.${it.default.instancePath}`),r.var(it.default.parentData,(0,Fe._)`${it.default.valCxt}.${it.default.parentData}`),r.var(it.default.parentDataProperty,(0,Fe._)`${it.default.valCxt}.${it.default.parentDataProperty}`),r.var(it.default.rootData,(0,Fe._)`${it.default.valCxt}.${it.default.rootData}`),e.dynamicRef&&r.var(it.default.dynamicAnchors,(0,Fe._)`${it.default.valCxt}.${it.default.dynamicAnchors}`)},()=>{r.var(it.default.instancePath,(0,Fe._)`""`),r.var(it.default.parentData,(0,Fe._)`undefined`),r.var(it.default.parentDataProperty,(0,Fe._)`undefined`),r.var(it.default.rootData,it.default.data),e.dynamicRef&&r.var(it.default.dynamicAnchors,(0,Fe._)`{}`)})}function C1t(r){let{schema:e,opts:t,gen:n}=r;IWe(r,()=>{t.$comment&&e.$comment&&FWe(r),A1t(r),n.let(it.default.vErrors,null),n.let(it.default.errors,0),t.unevaluated&&D1t(r),LWe(r),R1t(r)})}function D1t(r){let{gen:e,validateName:t}=r;r.evaluated=e.const("evaluated",(0,Fe._)`${t}.evaluated`),e.if((0,Fe._)`${r.evaluated}.dynamicProps`,()=>e.assign((0,Fe._)`${r.evaluated}.props`,(0,Fe._)`undefined`)),e.if((0,Fe._)`${r.evaluated}.dynamicItems`,()=>e.assign((0,Fe._)`${r.evaluated}.items`,(0,Fe._)`undefined`))}function PWe(r,e){let t=typeof r=="object"&&r[e.schemaId];return t&&(e.code.source||e.code.process)?(0,Fe._)`/*# sourceURL=${t} */`:Fe.nil}function P1t(r,e){if(RWe(r)&&(OWe(r),NWe(r))){M1t(r,e);return}(0,AWe.boolOrEmptySchema)(r,e)}function NWe({schema:r,self:e}){if(typeof r=="boolean")return!r;for(let t in r)if(e.RULES.all[t])return!0;return!1}function RWe(r){return typeof r.schema!="boolean"}function M1t(r,e){let{schema:t,gen:n,opts:i}=r;i.$comment&&t.$comment&&FWe(r),I1t(r),N1t(r);let a=n.const("_errs",it.default.errors);LWe(r,a),n.var(e,(0,Fe._)`${a} === ${it.default.errors}`)}function OWe(r){(0,hp.checkUnknownRules)(r),_1t(r)}function LWe(r,e){if(r.opts.jtd)return MWe(r,[],!1,e);let t=(0,DWe.getSchemaTypes)(r.schema),n=(0,DWe.coerceAndCheckDataType)(r,t);MWe(r,t,!n,e)}function _1t(r){let{schema:e,errSchemaPath:t,opts:n,self:i}=r;e.$ref&&n.ignoreKeywordsWithRef&&(0,hp.schemaHasRulesButRef)(e,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${t}"`)}function A1t(r){let{schema:e,opts:t}=r;e.default!==void 0&&t.useDefaults&&t.strictSchema&&(0,hp.checkStrictMode)(r,"default is ignored in the schema root")}function I1t(r){let e=r.schema[r.opts.schemaId];e&&(r.baseId=(0,w1t.resolveUrl)(r.opts.uriResolver,r.baseId,e))}function N1t(r){if(r.schema.$async&&!r.schemaEnv.$async)throw new Error("async schema in sync schema")}function FWe({gen:r,schemaEnv:e,schema:t,errSchemaPath:n,opts:i}){let a=t.$comment;if(i.$comment===!0)r.code((0,Fe._)`${it.default.self}.logger.log(${a})`);else if(typeof i.$comment=="function"){let s=(0,Fe.str)`${n}/$comment`,o=r.scopeValue("root",{ref:e.root});r.code((0,Fe._)`${it.default.self}.opts.$comment(${a}, ${s}, ${o}.schema)`)}}function R1t(r){let{gen:e,schemaEnv:t,validateName:n,ValidationError:i,opts:a}=r;t.$async?e.if((0,Fe._)`${it.default.errors} === 0`,()=>e.return(it.default.data),()=>e.throw((0,Fe._)`new ${i}(${it.default.vErrors})`)):(e.assign((0,Fe._)`${n}.errors`,it.default.vErrors),a.unevaluated&&O1t(r),e.return((0,Fe._)`${it.default.errors} === 0`))}function O1t({gen:r,evaluated:e,props:t,items:n}){t instanceof Fe.Name&&r.assign((0,Fe._)`${e}.props`,t),n instanceof Fe.Name&&r.assign((0,Fe._)`${e}.items`,n)}function MWe(r,e,t,n){let{gen:i,schema:a,data:s,allErrors:o,opts:l,self:c}=r,{RULES:d}=c;if(a.$ref&&(l.ignoreKeywordsWithRef||!(0,hp.schemaHasRulesButRef)(a,d))){i.block(()=>zWe(r,"$ref",d.all.$ref.definition));return}l.jtd||L1t(r,e),i.block(()=>{for(let p of d.rules)u(p);u(d.post)});function u(p){(0,ote.shouldUseGroup)(a,p)&&(p.type?(i.if((0,O$.checkDataType)(p.type,s,l.strictNumbers)),_We(r,p),e.length===1&&e[0]===p.type&&t&&(i.else(),(0,O$.reportTypeError)(r)),i.endIf()):_We(r,p),o||i.if((0,Fe._)`${it.default.errors} === ${n||0}`))}}function _We(r,e){let{gen:t,schema:n,opts:{useDefaults:i}}=r;i&&(0,k1t.assignDefaults)(r,e.type),t.block(()=>{for(let a of e.rules)(0,ote.shouldUseRule)(n,a)&&zWe(r,a.keyword,a.definition,e.type)})}function L1t(r,e){r.schemaEnv.meta||!r.opts.strictTypes||(F1t(r,e),r.opts.allowUnionTypes||$1t(r,e),z1t(r,r.dataTypes))}function F1t(r,e){if(e.length){if(!r.dataTypes.length){r.dataTypes=e;return}e.forEach(t=>{$We(r.dataTypes,t)||lte(r,`type "${t}" not allowed by context "${r.dataTypes.join(",")}"`)}),B1t(r,e)}}function $1t(r,e){e.length>1&&!(e.length===2&&e.includes("null"))&&lte(r,"use allowUnionTypes to allow union type keyword")}function z1t(r,e){let t=r.self.RULES.all;for(let n in t){let i=t[n];if(typeof i=="object"&&(0,ote.shouldUseRule)(r.schema,i)){let{type:a}=i.definition;a.length&&!a.some(s=>j1t(e,s))&&lte(r,`missing type "${a.join(",")}" for keyword "${n}"`)}}}function j1t(r,e){return r.includes(e)||e==="number"&&r.includes("integer")}function $We(r,e){return r.includes(e)||e==="integer"&&r.includes("number")}function B1t(r,e){let t=[];for(let n of r.dataTypes)$We(e,n)?t.push(n):e.includes("integer")&&n==="number"&&t.push("integer");r.dataTypes=t}function lte(r,e){let t=r.schemaEnv.baseId+r.errSchemaPath;e+=` at "${t}" (strictTypes)`,(0,hp.checkStrictMode)(r,e,r.opts.strictTypes)}var L$=class{constructor(e,t,n){if((0,L0.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,hp.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",jWe(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,L0.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:t.errors!==!1)&&(this.errsCount=e.gen.const("_errs",it.default.errors))}result(e,t,n){this.failResult((0,Fe.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,Fe.not)(e),void 0,t)}fail(e){if(e===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail((0,Fe._)`${t} !== undefined && (${(0,Fe.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t){this.setParams(t),this._error(e,n),this.setParams({});return}this._error(e,n)}_error(e,t){(e?O0.reportExtraError:O0.reportError)(this,this.def.error,t)}$dataError(){(0,O0.reportError)(this,this.def.$dataError||O0.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,O0.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=Fe.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=Fe.nil,t=Fe.nil){if(!this.$data)return;let{gen:n,schemaCode:i,schemaType:a,def:s}=this;n.if((0,Fe.or)((0,Fe._)`${i} === undefined`,t)),e!==Fe.nil&&n.assign(e,!0),(a.length||s.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==Fe.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:n,def:i,it:a}=this;return(0,Fe.or)(s(),o());function s(){if(n.length){if(!(t instanceof Fe.Name))throw new Error("ajv implementation error");let l=Array.isArray(n)?n:[n];return(0,Fe._)`${(0,O$.checkDataTypes)(l,t,a.opts.strictNumbers,O$.DataType.Wrong)}`}return Fe.nil}function o(){if(i.validateSchema){let l=e.scopeValue("validate$data",{ref:i.validateSchema});return(0,Fe._)`!${l}(${t})`}return Fe.nil}}subschema(e,t){let n=(0,ste.getSubschema)(this.it,e);(0,ste.extendSubschemaData)(n,this.it,e),(0,ste.extendSubschemaMode)(n,e);let i={...this.it,...n,items:void 0,props:void 0};return P1t(i,t),i}mergeEvaluated(e,t){let{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&e.props!==void 0&&(n.props=hp.mergeEvaluated.props(i,e.props,n.props,t)),n.items!==!0&&e.items!==void 0&&(n.items=hp.mergeEvaluated.items(i,e.items,n.items,t)))}mergeValidEvaluated(e,t){let{it:n,gen:i}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return i.if(t,()=>this.mergeEvaluated(e,Fe.Name)),!0}};wf.KeywordCxt=L$;function zWe(r,e,t,n){let i=new L$(r,t,e);"code"in t?t.code(i,n):i.$data&&t.validate?(0,L0.funcKeywordCode)(i,t):"macro"in t?(0,L0.macroKeywordCode)(i,t):(t.compile||t.validate)&&(0,L0.funcKeywordCode)(i,t)}var U1t=/^\/(?:[^~]|~0|~1)*$/,H1t=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function jWe(r,{dataLevel:e,dataNames:t,dataPathArr:n}){let i,a;if(r==="")return it.default.rootData;if(r[0]==="/"){if(!U1t.test(r))throw new Error(`Invalid JSON-pointer: ${r}`);i=r,a=it.default.rootData}else{let c=H1t.exec(r);if(!c)throw new Error(`Invalid JSON-pointer: ${r}`);let d=+c[1];if(i=c[2],i==="#"){if(d>=e)throw new Error(l("property/index",d));return n[e-d]}if(d>e)throw new Error(l("data",d));if(a=t[e-d],!i)return a}let s=a,o=i.split("/");for(let c of o)c&&(a=(0,Fe._)`${a}${(0,Fe.getProperty)((0,hp.unescapeJsonPointer)(c))}`,s=(0,Fe._)`${s} && ${a}`);return s;function l(c,d){return`Cannot access ${c} ${d} levels up, current level is ${e}`}}wf.getData=jWe});var F$=E(dte=>{"use strict";Object.defineProperty(dte,"__esModule",{value:!0});var cte=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};dte.default=cte});var $0=E(mte=>{"use strict";Object.defineProperty(mte,"__esModule",{value:!0});var ute=R0(),pte=class extends Error{constructor(e,t,n,i){super(i||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,ute.resolveUrl)(e,t,n),this.missingSchema=(0,ute.normalizeId)((0,ute.getFullPath)(e,this.missingRef))}};mte.default=pte});var z$=E(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.resolveSchema=ol.getCompilingSchema=ol.resolveRef=ol.compileSchema=ol.SchemaEnv=void 0;var ec=Dt(),V1t=F$(),ky=fp(),tc=R0(),BWe=rr(),q1t=F0(),Fk=class{constructor(e){var t;this.refs={},this.dynamicAnchors={};let n;typeof e.schema=="object"&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,tc.normalizeId)(n==null?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};ol.SchemaEnv=Fk;function hte(r){let e=UWe.call(this,r);if(e)return e;let t=(0,tc.getFullPath)(this.opts.uriResolver,r.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:a}=this.opts,s=new ec.CodeGen(this.scope,{es5:n,lines:i,ownProperties:a}),o;r.$async&&(o=s.scopeValue("Error",{ref:V1t.default,code:(0,ec._)`require("ajv/dist/runtime/validation_error").default`}));let l=s.scopeName("validate");r.validateName=l;let c={gen:s,allErrors:this.opts.allErrors,data:ky.default.data,parentData:ky.default.parentData,parentDataProperty:ky.default.parentDataProperty,dataNames:[ky.default.data],dataPathArr:[ec.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:r.schema,code:(0,ec.stringify)(r.schema)}:{ref:r.schema}),validateName:l,ValidationError:o,schema:r.schema,schemaEnv:r,rootId:t,baseId:r.baseId||t,schemaPath:ec.nil,errSchemaPath:r.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,ec._)`""`,opts:this.opts,self:this},d;try{this._compilations.add(r),(0,q1t.validateFunctionCode)(c),s.optimize(this.opts.code.optimize);let u=s.toString();d=`${s.scopeRefs(ky.default.scope)}return ${u}`,this.opts.code.process&&(d=this.opts.code.process(d,r));let m=new Function(`${ky.default.self}`,`${ky.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:m}),m.errors=null,m.schema=r.schema,m.schemaEnv=r,r.$async&&(m.$async=!0),this.opts.code.source===!0&&(m.source={validateName:l,validateCode:u,scopeValues:s._values}),this.opts.unevaluated){let{props:f,items:h}=c;m.evaluated={props:f instanceof ec.Name?void 0:f,items:h instanceof ec.Name?void 0:h,dynamicProps:f instanceof ec.Name,dynamicItems:h instanceof ec.Name},m.source&&(m.source.evaluated=(0,ec.stringify)(m.evaluated))}return r.validate=m,r}catch(u){throw delete r.validate,delete r.validateName,d&&this.logger.error("Error compiling schema, function code:",d),u}finally{this._compilations.delete(r)}}ol.compileSchema=hte;function W1t(r,e,t){var n;t=(0,tc.resolveUrl)(this.opts.uriResolver,e,t);let i=r.refs[t];if(i)return i;let a=K1t.call(this,r,t);if(a===void 0){let s=(n=r.localRefs)===null||n===void 0?void 0:n[t],{schemaId:o}=this.opts;s&&(a=new Fk({schema:s,schemaId:o,root:r,baseId:e}))}if(a!==void 0)return r.refs[t]=Y1t.call(this,a)}ol.resolveRef=W1t;function Y1t(r){return(0,tc.inlineRef)(r.schema,this.opts.inlineRefs)?r.schema:r.validate?r:hte.call(this,r)}function UWe(r){for(let e of this._compilations)if(G1t(e,r))return e}ol.getCompilingSchema=UWe;function G1t(r,e){return r.schema===e.schema&&r.root===e.root&&r.baseId===e.baseId}function K1t(r,e){let t;for(;typeof(t=this.refs[e])=="string";)e=t;return t||this.schemas[e]||$$.call(this,r,e)}function $$(r,e){let t=this.opts.uriResolver.parse(e),n=(0,tc._getFullPath)(this.opts.uriResolver,t),i=(0,tc.getFullPath)(this.opts.uriResolver,r.baseId,void 0);if(Object.keys(r.schema).length>0&&n===i)return fte.call(this,t,r);let a=(0,tc.normalizeId)(n),s=this.refs[a]||this.schemas[a];if(typeof s=="string"){let o=$$.call(this,r,s);return typeof(o==null?void 0:o.schema)!="object"?void 0:fte.call(this,t,o)}if(typeof(s==null?void 0:s.schema)=="object"){if(s.validate||hte.call(this,s),a===(0,tc.normalizeId)(e)){let{schema:o}=s,{schemaId:l}=this.opts,c=o[l];return c&&(i=(0,tc.resolveUrl)(this.opts.uriResolver,i,c)),new Fk({schema:o,schemaId:l,root:r,baseId:i})}return fte.call(this,t,s)}}ol.resolveSchema=$$;var Z1t=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function fte(r,{baseId:e,schema:t,root:n}){var i;if(((i=r.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(let o of r.fragment.slice(1).split("/")){if(typeof t=="boolean")return;let l=t[(0,BWe.unescapeFragment)(o)];if(l===void 0)return;t=l;let c=typeof t=="object"&&t[this.opts.schemaId];!Z1t.has(o)&&c&&(e=(0,tc.resolveUrl)(this.opts.uriResolver,e,c))}let a;if(typeof t!="boolean"&&t.$ref&&!(0,BWe.schemaHasRulesButRef)(t,this.RULES)){let o=(0,tc.resolveUrl)(this.opts.uriResolver,e,t.$ref);a=$$.call(this,n,o)}let{schemaId:s}=this.opts;if(a=a||new Fk({schema:t,schemaId:s,root:n,baseId:e}),a.schema!==a.root.schema)return a}});var HWe=E((lKr,Q1t)=>{Q1t.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var vte=E((cKr,KWe)=>{"use strict";var J1t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),qWe=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),gte=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),WWe=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),X1t=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function yte(r){let e="",t=0,n=0;for(n=0;n<r.length;n++)if(t=r[n].charCodeAt(0),t!==48){if(!(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102))return"";e+=r[n];break}for(n+=1;n<r.length;n++){if(t=r[n].charCodeAt(0),!(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102))return"";e+=r[n]}return e}var e$t=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function VWe(r){return r.length=0,!0}function t$t(r,e,t){if(r.length){let n=yte(r);if(n!=="")e.push(n);else return t.error=!0,!1;r.length=0}return!0}function r$t(r){let e=0,t={error:!1,address:"",zone:""},n=[],i=[],a=!1,s=!1,o=t$t;for(let l=0;l<r.length;l++){let c=r[l];if(!(c==="["||c==="]"))if(c===":"){if(a===!0&&(s=!0),!o(i,n,t))break;if(++e>7){t.error=!0;break}l>0&&r[l-1]===":"&&(a=!0),n.push(":");continue}else if(c==="%"){if(!o(i,n,t))break;o=VWe}else{i.push(c);continue}}return i.length&&(o===VWe?t.zone=i.join(""):s?n.push(i.join("")):n.push(yte(i))),t.address=n.join(""),t}function YWe(r){if(n$t(r,":")<2)return{host:r,isIPV6:!1};let e=r$t(r);if(e.error)return{host:r,isIPV6:!1};{let t=e.address,n=e.address;return e.zone&&(t+="%"+e.zone,n+="%25"+e.zone),{host:t,isIPV6:!0,escapedHost:n}}}function n$t(r,e){let t=0;for(let n=0;n<r.length;n++)r[n]===e&&t++;return t}function i$t(r){let e=r,t=[],n=-1,i=0;for(;i=e.length;){if(i===1){if(e===".")break;if(e==="/"){t.push("/");break}else{t.push(e);break}}else if(i===2){if(e[0]==="."){if(e[1]===".")break;if(e[1]==="/"){e=e.slice(2);continue}}else if(e[0]==="/"&&(e[1]==="."||e[1]==="/")){t.push("/");break}}else if(i===3&&e==="/.."){t.length!==0&&t.pop(),t.push("/");break}if(e[0]==="."){if(e[1]==="."){if(e[2]==="/"){e=e.slice(3);continue}}else if(e[1]==="/"){e=e.slice(2);continue}}else if(e[0]==="/"&&e[1]==="."){if(e[2]==="/"){e=e.slice(2);continue}else if(e[2]==="."&&e[3]==="/"){e=e.slice(3),t.length!==0&&t.pop();continue}}if((n=e.indexOf("/",1))===-1){t.push(e);break}else t.push(e.slice(0,n)),e=e.slice(n)}return t.join("")}var a$t={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},s$t=/[@/?#:]/g,o$t=/[@/?#]/g;function GWe(r,e){let t=e?o$t:s$t;return t.lastIndex=0,r.replace(t,n=>a$t[n])}function l$t(r,e=!1){if(r.indexOf("%")===-1)return r;let t="";for(let n=0;n<r.length;n++){if(r[n]==="%"&&n+2<r.length){let i=r.slice(n+1,n+3);if(gte(i)){let a=i.toUpperCase(),s=String.fromCharCode(parseInt(a,16));e&&WWe(s)?t+=s:t+="%"+a,n+=2;continue}}t+=r[n]}return t}function c$t(r){let e="";for(let t=0;t<r.length;t++){if(r[t]==="%"&&t+2<r.length){let n=r.slice(t+1,t+3);if(gte(n)){let i=n.toUpperCase(),a=String.fromCharCode(parseInt(i,16));a!=="."&&WWe(a)?e+=a:e+="%"+i,t+=2;continue}}X1t(r[t])?e+=r[t]:e+=escape(r[t])}return e}function d$t(r){let e="";for(let t=0;t<r.length;t++){if(r[t]==="%"&&t+2<r.length){let n=r.slice(t+1,t+3);if(gte(n)){e+="%"+n.toUpperCase(),t+=2;continue}}e+=escape(r[t])}return e}function u$t(r){let e=[];if(r.userinfo!==void 0&&(e.push(r.userinfo),e.push("@")),r.host!==void 0){let t=unescape(r.host);if(!qWe(t)){let n=YWe(t);n.isIPV6===!0?t=`[${n.escapedHost}]`:t=GWe(t,!1)}e.push(t)}return(typeof r.port=="number"||typeof r.port=="string")&&(e.push(":"),e.push(String(r.port))),e.length?e.join(""):void 0}KWe.exports={nonSimpleDomain:e$t,recomposeAuthority:u$t,reescapeHostDelimiters:GWe,normalizePercentEncoding:l$t,normalizePathEncoding:c$t,escapePreservingEscapes:d$t,removeDotSegments:i$t,isIPv4:qWe,isUUID:J1t,normalizeIPv6:YWe,stringArrayToHexStripped:yte}});var e4e=E((dKr,XWe)=>{"use strict";var{isUUID:p$t}=vte(),m$t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,f$t=["http","https","ws","wss","urn","urn:uuid"];function h$t(r){return f$t.indexOf(r)!==-1}function bte(r){return r.secure===!0?!0:r.secure===!1?!1:r.scheme?r.scheme.length===3&&(r.scheme[0]==="w"||r.scheme[0]==="W")&&(r.scheme[1]==="s"||r.scheme[1]==="S")&&(r.scheme[2]==="s"||r.scheme[2]==="S"):!1}function ZWe(r){return r.host||(r.error=r.error||"HTTP URIs must have a host."),r}function QWe(r){let e=String(r.scheme).toLowerCase()==="https";return(r.port===(e?443:80)||r.port==="")&&(r.port=void 0),r.path||(r.path="/"),r}function g$t(r){return r.secure=bte(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r}function y$t(r){if((r.port===(bte(r)?443:80)||r.port==="")&&(r.port=void 0),typeof r.secure=="boolean"&&(r.scheme=r.secure?"wss":"ws",r.secure=void 0),r.resourceName){let[e,t]=r.resourceName.split("?");r.path=e&&e!=="/"?e:void 0,r.query=t,r.resourceName=void 0}return r.fragment=void 0,r}function v$t(r,e){if(!r.path)return r.error="URN can not be parsed",r;let t=r.path.match(m$t);if(t){let n=e.scheme||r.scheme||"urn";r.nid=t[1].toLowerCase(),r.nss=t[2];let i=`${n}:${e.nid||r.nid}`,a=Tte(i);r.path=void 0,a&&(r=a.parse(r,e))}else r.error=r.error||"URN can not be parsed.";return r}function b$t(r,e){if(r.nid===void 0)throw new Error("URN without nid cannot be serialized");let t=e.scheme||r.scheme||"urn",n=r.nid.toLowerCase(),i=`${t}:${e.nid||n}`,a=Tte(i);a&&(r=a.serialize(r,e));let s=r,o=r.nss;return s.path=`${n||e.nid}:${o}`,e.skipEscape=!0,s}function T$t(r,e){let t=r;return t.uuid=t.nss,t.nss=void 0,!e.tolerant&&(!t.uuid||!p$t(t.uuid))&&(t.error=t.error||"UUID is not valid."),t}function k$t(r){let e=r;return e.nss=(r.uuid||"").toLowerCase(),e}var JWe={scheme:"http",domainHost:!0,parse:ZWe,serialize:QWe},w$t={scheme:"https",domainHost:JWe.domainHost,parse:ZWe,serialize:QWe},j$={scheme:"ws",domainHost:!0,parse:g$t,serialize:y$t},S$t={scheme:"wss",domainHost:j$.domainHost,parse:j$.parse,serialize:j$.serialize},E$t={scheme:"urn",parse:v$t,serialize:b$t,skipNormalize:!0},x$t={scheme:"urn:uuid",parse:T$t,serialize:k$t,skipNormalize:!0},B$={http:JWe,https:w$t,ws:j$,wss:S$t,urn:E$t,"urn:uuid":x$t};Object.setPrototypeOf(B$,null);function Tte(r){return r&&(B$[r]||B$[r.toLowerCase()])||void 0}XWe.exports={wsIsSecure:bte,SCHEMES:B$,isValidSchemeName:h$t,getSchemeHandler:Tte}});var wte=E((uKr,U$)=>{"use strict";var{normalizeIPv6:C$t,removeDotSegments:z0,recomposeAuthority:D$t,normalizePercentEncoding:P$t,normalizePathEncoding:M$t,escapePreservingEscapes:_$t,reescapeHostDelimiters:A$t,isIPv4:I$t,nonSimpleDomain:N$t}=vte(),{SCHEMES:R$t,getSchemeHandler:r4e}=e4e();function O$t(r,e){return typeof r=="string"?r=j$t(r,e):typeof r=="object"&&(r=$k(wy(r,e),e)),r}function L$t(r,e,t){let n=t?Object.assign({scheme:"null"},t):{scheme:"null"},i=n4e($k(r,n),$k(e,n),n,!0);return n.skipEscape=!0,wy(i,n)}function n4e(r,e,t,n){let i={};return n||(r=$k(wy(r,t),t),e=$k(wy(e,t),t)),t=t||{},!t.tolerant&&e.scheme?(i.scheme=e.scheme,i.userinfo=e.userinfo,i.host=e.host,i.port=e.port,i.path=z0(e.path||""),i.query=e.query):(e.userinfo!==void 0||e.host!==void 0||e.port!==void 0?(i.userinfo=e.userinfo,i.host=e.host,i.port=e.port,i.path=z0(e.path||""),i.query=e.query):(e.path?(e.path[0]==="/"?i.path=z0(e.path):((r.userinfo!==void 0||r.host!==void 0||r.port!==void 0)&&!r.path?i.path="/"+e.path:r.path?i.path=r.path.slice(0,r.path.lastIndexOf("/")+1)+e.path:i.path=e.path,i.path=z0(i.path)),i.query=e.query):(i.path=r.path,e.query!==void 0?i.query=e.query:i.query=r.query),i.userinfo=r.userinfo,i.host=r.host,i.port=r.port),i.scheme=r.scheme),i.fragment=e.fragment,i}function F$t(r,e,t){let n=t4e(r,t),i=t4e(e,t);return n!==void 0&&i!==void 0&&n.toLowerCase()===i.toLowerCase()}function wy(r,e){let t={host:r.host,scheme:r.scheme,userinfo:r.userinfo,port:r.port,path:r.path,query:r.query,nid:r.nid,nss:r.nss,uuid:r.uuid,fragment:r.fragment,reference:r.reference,resourceName:r.resourceName,secure:r.secure,error:""},n=Object.assign({},e),i=[],a=r4e(n.scheme||t.scheme);a&&a.serialize&&a.serialize(t,n),t.path!==void 0&&(n.skipEscape?t.path=P$t(t.path):(t.path=_$t(t.path),t.scheme!==void 0&&(t.path=t.path.split("%3A").join(":")))),n.reference!=="suffix"&&t.scheme&&i.push(t.scheme,":");let s=D$t(t);if(s!==void 0&&(n.reference!=="suffix"&&i.push("//"),i.push(s),t.path&&t.path[0]!=="/"&&i.push("/")),t.path!==void 0){let o=t.path;!n.absolutePath&&(!a||!a.absolutePath)&&(o=z0(o)),s===void 0&&o[0]==="/"&&o[1]==="/"&&(o="/%2F"+o.slice(2)),i.push(o)}return t.query!==void 0&&i.push("?",t.query),t.fragment!==void 0&&i.push("#",t.fragment),i.join("")}var $$t=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function z$t(r,e){if(e[2]!==void 0&&r.path&&r.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof r.port=="number"&&(r.port<0||r.port>65535))return"URI port is malformed."}function i4e(r,e){let t=Object.assign({},e),n={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},i=!1,a=!1;t.reference==="suffix"&&(t.scheme?r=t.scheme+":"+r:r="//"+r);let s=r.match($$t);if(s){n.scheme=s[1],n.userinfo=s[3],n.host=s[4],n.port=parseInt(s[5],10),n.path=s[6]||"",n.query=s[7],n.fragment=s[8],isNaN(n.port)&&(n.port=s[5]);let o=z$t(n,s);if(o!==void 0&&(n.error=n.error||o,i=!0),n.host)if(I$t(n.host)===!1){let d=C$t(n.host);n.host=d.host.toLowerCase(),a=d.isIPV6}else a=!0;n.scheme===void 0&&n.userinfo===void 0&&n.host===void 0&&n.port===void 0&&n.query===void 0&&!n.path?n.reference="same-document":n.scheme===void 0?n.reference="relative":n.fragment===void 0?n.reference="absolute":n.reference="uri",t.reference&&t.reference!=="suffix"&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");let l=r4e(t.scheme||n.scheme);if(!t.unicodeSupport&&(!l||!l.unicodeSupport)&&n.host&&(t.domainHost||l&&l.domainHost)&&a===!1&&N$t(n.host))try{n.host=URL.domainToASCII(n.host.toLowerCase())}catch(c){n.error=n.error||"Host's domain name can not be converted to ASCII: "+c}if((!l||l&&!l.skipNormalize)&&(r.indexOf("%")!==-1&&(n.scheme!==void 0&&(n.scheme=unescape(n.scheme)),n.host!==void 0&&(n.host=A$t(unescape(n.host),a))),n.path&&(n.path=M$t(n.path)),n.fragment))try{n.fragment=encodeURI(decodeURIComponent(n.fragment))}catch(c){n.error=n.error||"URI malformed"}l&&l.parse&&l.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return{parsed:n,malformedAuthorityOrPort:i}}function $k(r,e){return i4e(r,e).parsed}function j$t(r,e){return a4e(r,e).normalized}function a4e(r,e){let{parsed:t,malformedAuthorityOrPort:n}=i4e(r,e);return{normalized:n?r:wy(t,e),malformedAuthorityOrPort:n}}function t4e(r,e){if(typeof r=="string"){let{normalized:t,malformedAuthorityOrPort:n}=a4e(r,e);return n?void 0:t}if(typeof r=="object")return wy(r,e)}var kte={SCHEMES:R$t,normalize:O$t,resolve:L$t,resolveComponent:n4e,equal:F$t,serialize:wy,parse:$k};U$.exports=kte;U$.exports.default=kte;U$.exports.fastUri=kte});var o4e=E(Ste=>{"use strict";Object.defineProperty(Ste,"__esModule",{value:!0});var s4e=wte();s4e.code='require("ajv/dist/runtime/uri").default';Ste.default=s4e});var h4e=E(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.CodeGen=Gi.Name=Gi.nil=Gi.stringify=Gi.str=Gi._=Gi.KeywordCxt=void 0;var B$t=F0();Object.defineProperty(Gi,"KeywordCxt",{enumerable:!0,get:function(){return B$t.KeywordCxt}});var zk=Dt();Object.defineProperty(Gi,"_",{enumerable:!0,get:function(){return zk._}});Object.defineProperty(Gi,"str",{enumerable:!0,get:function(){return zk.str}});Object.defineProperty(Gi,"stringify",{enumerable:!0,get:function(){return zk.stringify}});Object.defineProperty(Gi,"nil",{enumerable:!0,get:function(){return zk.nil}});Object.defineProperty(Gi,"Name",{enumerable:!0,get:function(){return zk.Name}});Object.defineProperty(Gi,"CodeGen",{enumerable:!0,get:function(){return zk.CodeGen}});var U$t=F$(),p4e=$0(),H$t=Qee(),j0=z$(),V$t=Dt(),B0=R0(),H$=I0(),xte=rr(),l4e=HWe(),q$t=o4e(),m4e=(r,e)=>new RegExp(r,e);m4e.code="new RegExp";var W$t=["removeAdditional","useDefaults","coerceTypes"],Y$t=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),G$t={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},K$t={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},c4e=200;function Z$t(r){var e,t,n,i,a,s,o,l,c,d,u,p,m,f,h,g,v,k,b,w,S,x,C,D,_;let O=r.strict,L=(e=r.code)===null||e===void 0?void 0:e.optimize,N=L===!0||L===void 0?1:L||0,R=(n=(t=r.code)===null||t===void 0?void 0:t.regExp)!==null&&n!==void 0?n:m4e,z=(i=r.uriResolver)!==null&&i!==void 0?i:q$t.default;return{strictSchema:(s=(a=r.strictSchema)!==null&&a!==void 0?a:O)!==null&&s!==void 0?s:!0,strictNumbers:(l=(o=r.strictNumbers)!==null&&o!==void 0?o:O)!==null&&l!==void 0?l:!0,strictTypes:(d=(c=r.strictTypes)!==null&&c!==void 0?c:O)!==null&&d!==void 0?d:"log",strictTuples:(p=(u=r.strictTuples)!==null&&u!==void 0?u:O)!==null&&p!==void 0?p:"log",strictRequired:(f=(m=r.strictRequired)!==null&&m!==void 0?m:O)!==null&&f!==void 0?f:!1,code:r.code?{...r.code,optimize:N,regExp:R}:{optimize:N,regExp:R},loopRequired:(h=r.loopRequired)!==null&&h!==void 0?h:c4e,loopEnum:(g=r.loopEnum)!==null&&g!==void 0?g:c4e,meta:(v=r.meta)!==null&&v!==void 0?v:!0,messages:(k=r.messages)!==null&&k!==void 0?k:!0,inlineRefs:(b=r.inlineRefs)!==null&&b!==void 0?b:!0,schemaId:(w=r.schemaId)!==null&&w!==void 0?w:"$id",addUsedSchema:(S=r.addUsedSchema)!==null&&S!==void 0?S:!0,validateSchema:(x=r.validateSchema)!==null&&x!==void 0?x:!0,validateFormats:(C=r.validateFormats)!==null&&C!==void 0?C:!0,unicodeRegExp:(D=r.unicodeRegExp)!==null&&D!==void 0?D:!0,int32range:(_=r.int32range)!==null&&_!==void 0?_:!0,uriResolver:z}}var U0=class{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...Z$t(e)};let{es5:t,lines:n}=this.opts.code;this.scope=new V$t.ValueScope({scope:{},prefixes:Y$t,es5:t,lines:n}),this.logger=rzt(e.logger);let i=e.validateFormats;e.validateFormats=!1,this.RULES=(0,H$t.getRules)(),d4e.call(this,G$t,e,"NOT SUPPORTED"),d4e.call(this,K$t,e,"DEPRECATED","warn"),this._metaOpts=ezt.call(this),e.formats&&J$t.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&X$t.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),Q$t.call(this),e.validateFormats=i}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:n}=this.opts,i=l4e;n==="id"&&(i={...l4e},i.id=i.$id,delete i.$id),t&&e&&this.addMetaSchema(i,i[n],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:void 0}validate(e,t){let n;if(typeof e=="string"){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let i=n(t);return"$async"in n||(this.errors=n.errors),i}compile(e,t){let n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return i.call(this,e,t);async function i(d,u){await a.call(this,d.$schema);let p=this._addSchema(d,u);return p.validate||s.call(this,p)}async function a(d){d&&!this.getSchema(d)&&await i.call(this,{$ref:d},!0)}async function s(d){try{return this._compileSchemaEnv(d)}catch(u){if(!(u instanceof p4e.default))throw u;return o.call(this,u),await l.call(this,u.missingSchema),s.call(this,d)}}function o({missingSchema:d,missingRef:u}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${u} cannot be resolved`)}async function l(d){let u=await c.call(this,d);this.refs[d]||await a.call(this,u.$schema),this.refs[d]||this.addSchema(u,d,t)}async function c(d){let u=this._loading[d];if(u)return u;try{return await(this._loading[d]=n(d))}finally{delete this._loading[d]}}}addSchema(e,t,n,i=this.opts.validateSchema){if(Array.isArray(e)){for(let s of e)this.addSchema(s,void 0,n,i);return this}let a;if(typeof e=="object"){let{schemaId:s}=this.opts;if(a=e[s],a!==void 0&&typeof a!="string")throw new Error(`schema ${s} must be string`)}return t=(0,B0.normalizeId)(t||a),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,i,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if(typeof e=="boolean")return!0;let n;if(n=e.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let i=this.validate(n,e);if(!i&&t){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw new Error(a)}return i}getSchema(e){let t;for(;typeof(t=u4e.call(this,e))=="string";)e=t;if(t===void 0){let{schemaId:n}=this.opts,i=new j0.SchemaEnv({schema:{},schemaId:n});if(t=j0.resolveSchema.call(this,i,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let t=u4e.call(this,e);return typeof t=="object"&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{let t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,B0.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if(typeof e=="string")n=e,typeof t=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else if(typeof e=="object"&&t===void 0){if(t=e,n=t.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(izt.call(this,n,t),!t)return(0,xte.eachItem)(n,a=>Ete.call(this,a)),this;szt.call(this,t);let i={...t,type:(0,H$.getJSONTypes)(t.type),schemaType:(0,H$.getJSONTypes)(t.schemaType)};return(0,xte.eachItem)(n,i.type.length===0?a=>Ete.call(this,a,i):a=>i.type.forEach(s=>Ete.call(this,a,i,s))),this}getKeyword(e){let t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(let n of t.rules){let i=n.rules.findIndex(a=>a.keyword===e);i>=0&&n.rules.splice(i,1)}return this}addFormat(e,t){return typeof t=="string"&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return!e||e.length===0?"No errors":e.map(i=>`${n}${i.instancePath} ${i.message}`).reduce((i,a)=>i+t+a)}$dataMetaSchema(e,t){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let i of t){let a=i.split("/").slice(1),s=e;for(let o of a)s=s[o];for(let o in n){let l=n[o];if(typeof l!="object")continue;let{$data:c}=l.definition,d=s[o];c&&d&&(s[o]=f4e(d))}}return e}_removeAllSchemas(e,t){for(let n in e){let i=e[n];(!t||t.test(n))&&(typeof i=="string"?delete e[n]:i&&!i.meta&&(this._cache.delete(i.schema),delete e[n]))}}_addSchema(e,t,n,i=this.opts.validateSchema,a=this.opts.addUsedSchema){let s,{schemaId:o}=this.opts;if(typeof e=="object")s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let l=this._cache.get(e);if(l!==void 0)return l;n=(0,B0.normalizeId)(s||n);let c=B0.getSchemaRefs.call(this,e,n);return l=new j0.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:n,localRefs:c}),this._cache.set(l.schema,l),a&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=l),i&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):j0.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{j0.compileSchema.call(this,e)}finally{this.opts=t}}};U0.ValidationError=U$t.default;U0.MissingRefError=p4e.default;Gi.default=U0;function d4e(r,e,t,n="error"){for(let i in r){let a=i;a in e&&this.logger[n](`${t}: option ${i}. ${r[a]}`)}}function u4e(r){return r=(0,B0.normalizeId)(r),this.schemas[r]||this.refs[r]}function Q$t(){let r=this.opts.schemas;if(r)if(Array.isArray(r))this.addSchema(r);else for(let e in r)this.addSchema(r[e],e)}function J$t(){for(let r in this.opts.formats){let e=this.opts.formats[r];e&&this.addFormat(r,e)}}function X$t(r){if(Array.isArray(r)){this.addVocabulary(r);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let e in r){let t=r[e];t.keyword||(t.keyword=e),this.addKeyword(t)}}function ezt(){let r={...this.opts};for(let e of W$t)delete r[e];return r}var tzt={log(){},warn(){},error(){}};function rzt(r){if(r===!1)return tzt;if(r===void 0)return console;if(r.log&&r.warn&&r.error)return r;throw new Error("logger must implement log, warn and error methods")}var nzt=/^[a-z_$][a-z0-9_$:-]*$/i;function izt(r,e){let{RULES:t}=this;if((0,xte.eachItem)(r,n=>{if(t.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!nzt.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!e&&e.$data&&!("code"in e||"validate"in e))throw new Error('$data keyword must have "code" or "validate" function')}function Ete(r,e,t){var n;let i=e==null?void 0:e.post;if(t&&i)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:a}=this,s=i?a.post:a.rules.find(({type:l})=>l===t);if(s||(s={type:t,rules:[]},a.rules.push(s)),a.keywords[r]=!0,!e)return;let o={keyword:r,definition:{...e,type:(0,H$.getJSONTypes)(e.type),schemaType:(0,H$.getJSONTypes)(e.schemaType)}};e.before?azt.call(this,s,o,e.before):s.rules.push(o),a.all[r]=o,(n=e.implements)===null||n===void 0||n.forEach(l=>this.addKeyword(l))}function azt(r,e,t){let n=r.rules.findIndex(i=>i.keyword===t);n>=0?r.rules.splice(n,0,e):(r.rules.push(e),this.logger.warn(`rule ${t} is not defined`))}function szt(r){let{metaSchema:e}=r;e!==void 0&&(r.$data&&this.opts.$data&&(e=f4e(e)),r.validateSchema=this.compile(e,!0))}var ozt={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function f4e(r){return{anyOf:[r,ozt]}}});var g4e=E(Cte=>{"use strict";Object.defineProperty(Cte,"__esModule",{value:!0});var lzt={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Cte.default=lzt});var T4e=E(Sy=>{"use strict";Object.defineProperty(Sy,"__esModule",{value:!0});Sy.callRef=Sy.getValidate=void 0;var czt=$0(),y4e=sl(),Ps=Dt(),jk=fp(),v4e=z$(),V$=rr(),dzt={keyword:"$ref",schemaType:"string",code(r){let{gen:e,schema:t,it:n}=r,{baseId:i,schemaEnv:a,validateName:s,opts:o,self:l}=n,{root:c}=a;if((t==="#"||t==="#/")&&i===c.baseId)return u();let d=v4e.resolveRef.call(l,c,i,t);if(d===void 0)throw new czt.default(n.opts.uriResolver,i,t);if(d instanceof v4e.SchemaEnv)return p(d);return m(d);function u(){if(a===c)return q$(r,s,a,a.$async);let f=e.scopeValue("root",{ref:c});return q$(r,(0,Ps._)`${f}.validate`,c,c.$async)}function p(f){let h=b4e(r,f);q$(r,h,f,f.$async)}function m(f){let h=e.scopeValue("schema",o.code.source===!0?{ref:f,code:(0,Ps.stringify)(f)}:{ref:f}),g=e.name("valid"),v=r.subschema({schema:f,dataTypes:[],schemaPath:Ps.nil,topSchemaRef:h,errSchemaPath:t},g);r.mergeEvaluated(v),r.ok(g)}}};function b4e(r,e){let{gen:t}=r;return e.validate?t.scopeValue("validate",{ref:e.validate}):(0,Ps._)`${t.scopeValue("wrapper",{ref:e})}.validate`}Sy.getValidate=b4e;function q$(r,e,t,n){let{gen:i,it:a}=r,{allErrors:s,schemaEnv:o,opts:l}=a,c=l.passContext?jk.default.this:Ps.nil;n?d():u();function d(){if(!o.$async)throw new Error("async schema referenced by sync schema");let f=i.let("valid");i.try(()=>{i.code((0,Ps._)`await ${(0,y4e.callValidateCode)(r,e,c)}`),m(e),s||i.assign(f,!0)},h=>{i.if((0,Ps._)`!(${h} instanceof ${a.ValidationError})`,()=>i.throw(h)),p(h),s||i.assign(f,!1)}),r.ok(f)}function u(){r.result((0,y4e.callValidateCode)(r,e,c),()=>m(e),()=>p(e))}function p(f){let h=(0,Ps._)`${f}.errors`;i.assign(jk.default.vErrors,(0,Ps._)`${jk.default.vErrors} === null ? ${h} : ${jk.default.vErrors}.concat(${h})`),i.assign(jk.default.errors,(0,Ps._)`${jk.default.vErrors}.length`)}function m(f){var h;if(!a.opts.unevaluated)return;let g=(h=t==null?void 0:t.validate)===null||h===void 0?void 0:h.evaluated;if(a.props!==!0)if(g&&!g.dynamicProps)g.props!==void 0&&(a.props=V$.mergeEvaluated.props(i,g.props,a.props));else{let v=i.var("props",(0,Ps._)`${f}.evaluated.props`);a.props=V$.mergeEvaluated.props(i,v,a.props,Ps.Name)}if(a.items!==!0)if(g&&!g.dynamicItems)g.items!==void 0&&(a.items=V$.mergeEvaluated.items(i,g.items,a.items));else{let v=i.var("items",(0,Ps._)`${f}.evaluated.items`);a.items=V$.mergeEvaluated.items(i,v,a.items,Ps.Name)}}}Sy.callRef=q$;Sy.default=dzt});var k4e=E(Dte=>{"use strict";Object.defineProperty(Dte,"__esModule",{value:!0});var uzt=g4e(),pzt=T4e(),mzt=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",uzt.default,pzt.default];Dte.default=mzt});var w4e=E(Pte=>{"use strict";Object.defineProperty(Pte,"__esModule",{value:!0});var W$=Dt(),Sf=W$.operators,Y$={maximum:{okStr:"<=",ok:Sf.LTE,fail:Sf.GT},minimum:{okStr:">=",ok:Sf.GTE,fail:Sf.LT},exclusiveMaximum:{okStr:"<",ok:Sf.LT,fail:Sf.GTE},exclusiveMinimum:{okStr:">",ok:Sf.GT,fail:Sf.LTE}},fzt={message:({keyword:r,schemaCode:e})=>(0,W$.str)`must be ${Y$[r].okStr} ${e}`,params:({keyword:r,schemaCode:e})=>(0,W$._)`{comparison: ${Y$[r].okStr}, limit: ${e}}`},hzt={keyword:Object.keys(Y$),type:"number",schemaType:"number",$data:!0,error:fzt,code(r){let{keyword:e,data:t,schemaCode:n}=r;r.fail$data((0,W$._)`${t} ${Y$[e].fail} ${n} || isNaN(${t})`)}};Pte.default=hzt});var S4e=E(Mte=>{"use strict";Object.defineProperty(Mte,"__esModule",{value:!0});var H0=Dt(),gzt={message:({schemaCode:r})=>(0,H0.str)`must be multiple of ${r}`,params:({schemaCode:r})=>(0,H0._)`{multipleOf: ${r}}`},yzt={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:gzt,code(r){let{gen:e,data:t,schemaCode:n,it:i}=r,a=i.opts.multipleOfPrecision,s=e.let("res"),o=a?(0,H0._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:(0,H0._)`${s} !== parseInt(${s})`;r.fail$data((0,H0._)`(${n} === 0 || (${s} = ${t}/${n}, ${o}))`)}};Mte.default=yzt});var x4e=E(_te=>{"use strict";Object.defineProperty(_te,"__esModule",{value:!0});function E4e(r){let e=r.length,t=0,n=0,i;for(;n<e;)t++,i=r.charCodeAt(n++),i>=55296&&i<=56319&&n<e&&(i=r.charCodeAt(n),(i&64512)===56320&&n++);return t}_te.default=E4e;E4e.code='require("ajv/dist/runtime/ucs2length").default'});var C4e=E(Ate=>{"use strict";Object.defineProperty(Ate,"__esModule",{value:!0});var Ey=Dt(),vzt=rr(),bzt=x4e(),Tzt={message({keyword:r,schemaCode:e}){let t=r==="maxLength"?"more":"fewer";return(0,Ey.str)`must NOT have ${t} than ${e} characters`},params:({schemaCode:r})=>(0,Ey._)`{limit: ${r}}`},kzt={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Tzt,code(r){let{keyword:e,data:t,schemaCode:n,it:i}=r,a=e==="maxLength"?Ey.operators.GT:Ey.operators.LT,s=i.opts.unicode===!1?(0,Ey._)`${t}.length`:(0,Ey._)`${(0,vzt.useFunc)(r.gen,bzt.default)}(${t})`;r.fail$data((0,Ey._)`${s} ${a} ${n}`)}};Ate.default=kzt});var D4e=E(Ite=>{"use strict";Object.defineProperty(Ite,"__esModule",{value:!0});var wzt=sl(),Szt=rr(),Bk=Dt(),Ezt={message:({schemaCode:r})=>(0,Bk.str)`must match pattern "${r}"`,params:({schemaCode:r})=>(0,Bk._)`{pattern: ${r}}`},xzt={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:Ezt,code(r){let{gen:e,data:t,$data:n,schema:i,schemaCode:a,it:s}=r,o=s.opts.unicodeRegExp?"u":"";if(n){let{regExp:l}=s.opts.code,c=l.code==="new RegExp"?(0,Bk._)`new RegExp`:(0,Szt.useFunc)(e,l),d=e.let("valid");e.try(()=>e.assign(d,(0,Bk._)`${c}(${a}, ${o}).test(${t})`),()=>e.assign(d,!1)),r.fail$data((0,Bk._)`!${d}`)}else{let l=(0,wzt.usePattern)(r,i);r.fail$data((0,Bk._)`!${l}.test(${t})`)}}};Ite.default=xzt});var P4e=E(Nte=>{"use strict";Object.defineProperty(Nte,"__esModule",{value:!0});var V0=Dt(),Czt={message({keyword:r,schemaCode:e}){let t=r==="maxProperties"?"more":"fewer";return(0,V0.str)`must NOT have ${t} than ${e} properties`},params:({schemaCode:r})=>(0,V0._)`{limit: ${r}}`},Dzt={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Czt,code(r){let{keyword:e,data:t,schemaCode:n}=r,i=e==="maxProperties"?V0.operators.GT:V0.operators.LT;r.fail$data((0,V0._)`Object.keys(${t}).length ${i} ${n}`)}};Nte.default=Dzt});var M4e=E(Rte=>{"use strict";Object.defineProperty(Rte,"__esModule",{value:!0});var q0=sl(),W0=Dt(),Pzt=rr(),Mzt={message:({params:{missingProperty:r}})=>(0,W0.str)`must have required property '${r}'`,params:({params:{missingProperty:r}})=>(0,W0._)`{missingProperty: ${r}}`},_zt={keyword:"required",type:"object",schemaType:"array",$data:!0,error:Mzt,code(r){let{gen:e,schema:t,schemaCode:n,data:i,$data:a,it:s}=r,{opts:o}=s;if(!a&&t.length===0)return;let l=t.length>=o.loopRequired;if(s.allErrors?c():d(),o.strictRequired){let m=r.parentSchema.properties,{definedProperties:f}=r.it;for(let h of t)if((m==null?void 0:m[h])===void 0&&!f.has(h)){let g=s.schemaEnv.baseId+s.errSchemaPath,v=`required property "${h}" is not defined at "${g}" (strictRequired)`;(0,Pzt.checkStrictMode)(s,v,s.opts.strictRequired)}}function c(){if(l||a)r.block$data(W0.nil,u);else for(let m of t)(0,q0.checkReportMissingProp)(r,m)}function d(){let m=e.let("missing");if(l||a){let f=e.let("valid",!0);r.block$data(f,()=>p(m,f)),r.ok(f)}else e.if((0,q0.checkMissingProp)(r,t,m)),(0,q0.reportMissingProp)(r,m),e.else()}function u(){e.forOf("prop",n,m=>{r.setParams({missingProperty:m}),e.if((0,q0.noPropertyInData)(e,i,m,o.ownProperties),()=>r.error())})}function p(m,f){r.setParams({missingProperty:m}),e.forOf(m,n,()=>{e.assign(f,(0,q0.propertyInData)(e,i,m,o.ownProperties)),e.if((0,W0.not)(f),()=>{r.error(),e.break()})},W0.nil)}}};Rte.default=_zt});var _4e=E(Ote=>{"use strict";Object.defineProperty(Ote,"__esModule",{value:!0});var Y0=Dt(),Azt={message({keyword:r,schemaCode:e}){let t=r==="maxItems"?"more":"fewer";return(0,Y0.str)`must NOT have ${t} than ${e} items`},params:({schemaCode:r})=>(0,Y0._)`{limit: ${r}}`},Izt={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Azt,code(r){let{keyword:e,data:t,schemaCode:n}=r,i=e==="maxItems"?Y0.operators.GT:Y0.operators.LT;r.fail$data((0,Y0._)`${t}.length ${i} ${n}`)}};Ote.default=Izt});var G$=E(Lte=>{"use strict";Object.defineProperty(Lte,"__esModule",{value:!0});var A4e=N0();A4e.code='require("ajv/dist/runtime/equal").default';Lte.default=A4e});var I4e=E($te=>{"use strict";Object.defineProperty($te,"__esModule",{value:!0});var Fte=I0(),Ki=Dt(),Nzt=rr(),Rzt=G$(),Ozt={message:({params:{i:r,j:e}})=>(0,Ki.str)`must NOT have duplicate items (items ## ${e} and ${r} are identical)`,params:({params:{i:r,j:e}})=>(0,Ki._)`{i: ${r}, j: ${e}}`},Lzt={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Ozt,code(r){let{gen:e,data:t,$data:n,schema:i,parentSchema:a,schemaCode:s,it:o}=r;if(!n&&!i)return;let l=e.let("valid"),c=a.items?(0,Fte.getSchemaTypes)(a.items):[];r.block$data(l,d,(0,Ki._)`${s} === false`),r.ok(l);function d(){let f=e.let("i",(0,Ki._)`${t}.length`),h=e.let("j");r.setParams({i:f,j:h}),e.assign(l,!0),e.if((0,Ki._)`${f} > 1`,()=>(u()?p:m)(f,h))}function u(){return c.length>0&&!c.some(f=>f==="object"||f==="array")}function p(f,h){let g=e.name("item"),v=(0,Fte.checkDataTypes)(c,g,o.opts.strictNumbers,Fte.DataType.Wrong),k=e.const("indices",(0,Ki._)`{}`);e.for((0,Ki._)`;${f}--;`,()=>{e.let(g,(0,Ki._)`${t}[${f}]`),e.if(v,(0,Ki._)`continue`),c.length>1&&e.if((0,Ki._)`typeof ${g} == "string"`,(0,Ki._)`${g} += "_"`),e.if((0,Ki._)`typeof ${k}[${g}] == "number"`,()=>{e.assign(h,(0,Ki._)`${k}[${g}]`),r.error(),e.assign(l,!1).break()}).code((0,Ki._)`${k}[${g}] = ${f}`)})}function m(f,h){let g=(0,Nzt.useFunc)(e,Rzt.default),v=e.name("outer");e.label(v).for((0,Ki._)`;${f}--;`,()=>e.for((0,Ki._)`${h} = ${f}; ${h}--;`,()=>e.if((0,Ki._)`${g}(${t}[${f}], ${t}[${h}])`,()=>{r.error(),e.assign(l,!1).break(v)})))}}};$te.default=Lzt});var N4e=E(jte=>{"use strict";Object.defineProperty(jte,"__esModule",{value:!0});var zte=Dt(),Fzt=rr(),$zt=G$(),zzt={message:"must be equal to constant",params:({schemaCode:r})=>(0,zte._)`{allowedValue: ${r}}`},jzt={keyword:"const",$data:!0,error:zzt,code(r){let{gen:e,data:t,$data:n,schemaCode:i,schema:a}=r;n||a&&typeof a=="object"?r.fail$data((0,zte._)`!${(0,Fzt.useFunc)(e,$zt.default)}(${t}, ${i})`):r.fail((0,zte._)`${a} !== ${t}`)}};jte.default=jzt});var R4e=E(Bte=>{"use strict";Object.defineProperty(Bte,"__esModule",{value:!0});var G0=Dt(),Bzt=rr(),Uzt=G$(),Hzt={message:"must be equal to one of the allowed values",params:({schemaCode:r})=>(0,G0._)`{allowedValues: ${r}}`},Vzt={keyword:"enum",schemaType:"array",$data:!0,error:Hzt,code(r){let{gen:e,data:t,$data:n,schema:i,schemaCode:a,it:s}=r;if(!n&&i.length===0)throw new Error("enum must have non-empty array");let o=i.length>=s.opts.loopEnum,l,c=()=>l!=null?l:l=(0,Bzt.useFunc)(e,Uzt.default),d;if(o||n)d=e.let("valid"),r.block$data(d,u);else{if(!Array.isArray(i))throw new Error("ajv implementation error");let m=e.const("vSchema",a);d=(0,G0.or)(...i.map((f,h)=>p(m,h)))}r.pass(d);function u(){e.assign(d,!1),e.forOf("v",a,m=>e.if((0,G0._)`${c()}(${t}, ${m})`,()=>e.assign(d,!0).break()))}function p(m,f){let h=i[f];return typeof h=="object"&&h!==null?(0,G0._)`${c()}(${t}, ${m}[${f}])`:(0,G0._)`${t} === ${h}`}}};Bte.default=Vzt});var O4e=E(Ute=>{"use strict";Object.defineProperty(Ute,"__esModule",{value:!0});var qzt=w4e(),Wzt=S4e(),Yzt=C4e(),Gzt=D4e(),Kzt=P4e(),Zzt=M4e(),Qzt=_4e(),Jzt=I4e(),Xzt=N4e(),ejt=R4e(),tjt=[qzt.default,Wzt.default,Yzt.default,Gzt.default,Kzt.default,Zzt.default,Qzt.default,Jzt.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Xzt.default,ejt.default];Ute.default=tjt});var Vte=E(K0=>{"use strict";Object.defineProperty(K0,"__esModule",{value:!0});K0.validateAdditionalItems=void 0;var xy=Dt(),Hte=rr(),rjt={message:({params:{len:r}})=>(0,xy.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,xy._)`{limit: ${r}}`},njt={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:rjt,code(r){let{parentSchema:e,it:t}=r,{items:n}=e;if(!Array.isArray(n)){(0,Hte.checkStrictMode)(t,'"additionalItems" is ignored when "items" is not an array of schemas');return}L4e(r,n)}};function L4e(r,e){let{gen:t,schema:n,data:i,keyword:a,it:s}=r;s.items=!0;let o=t.const("len",(0,xy._)`${i}.length`);if(n===!1)r.setParams({len:e.length}),r.pass((0,xy._)`${o} <= ${e.length}`);else if(typeof n=="object"&&!(0,Hte.alwaysValidSchema)(s,n)){let c=t.var("valid",(0,xy._)`${o} <= ${e.length}`);t.if((0,xy.not)(c),()=>l(c)),r.ok(c)}function l(c){t.forRange("i",e.length,o,d=>{r.subschema({keyword:a,dataProp:d,dataPropType:Hte.Type.Num},c),s.allErrors||t.if((0,xy.not)(c),()=>t.break())})}}K0.validateAdditionalItems=L4e;K0.default=njt});var qte=E(Z0=>{"use strict";Object.defineProperty(Z0,"__esModule",{value:!0});Z0.validateTuple=void 0;var F4e=Dt(),K$=rr(),ijt=sl(),ajt={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(r){let{schema:e,it:t}=r;if(Array.isArray(e))return $4e(r,"additionalItems",e);t.items=!0,!(0,K$.alwaysValidSchema)(t,e)&&r.ok((0,ijt.validateArray)(r))}};function $4e(r,e,t=r.schema){let{gen:n,parentSchema:i,data:a,keyword:s,it:o}=r;d(i),o.opts.unevaluated&&t.length&&o.items!==!0&&(o.items=K$.mergeEvaluated.items(n,t.length,o.items));let l=n.name("valid"),c=n.const("len",(0,F4e._)`${a}.length`);t.forEach((u,p)=>{(0,K$.alwaysValidSchema)(o,u)||(n.if((0,F4e._)`${c} > ${p}`,()=>r.subschema({keyword:s,schemaProp:p,dataProp:p},l)),r.ok(l))});function d(u){let{opts:p,errSchemaPath:m}=o,f=t.length,h=f===u.minItems&&(f===u.maxItems||u[e]===!1);if(p.strictTuples&&!h){let g=`"${s}" is ${f}-tuple, but minItems or maxItems/${e} are not specified or different at path "${m}"`;(0,K$.checkStrictMode)(o,g,p.strictTuples)}}}Z0.validateTuple=$4e;Z0.default=ajt});var z4e=E(Wte=>{"use strict";Object.defineProperty(Wte,"__esModule",{value:!0});var sjt=qte(),ojt={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,sjt.validateTuple)(r,"items")};Wte.default=ojt});var B4e=E(Yte=>{"use strict";Object.defineProperty(Yte,"__esModule",{value:!0});var j4e=Dt(),ljt=rr(),cjt=sl(),djt=Vte(),ujt={message:({params:{len:r}})=>(0,j4e.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,j4e._)`{limit: ${r}}`},pjt={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:ujt,code(r){let{schema:e,parentSchema:t,it:n}=r,{prefixItems:i}=t;n.items=!0,!(0,ljt.alwaysValidSchema)(n,e)&&(i?(0,djt.validateAdditionalItems)(r,i):r.ok((0,cjt.validateArray)(r)))}};Yte.default=pjt});var U4e=E(Gte=>{"use strict";Object.defineProperty(Gte,"__esModule",{value:!0});var ll=Dt(),Z$=rr(),mjt={message:({params:{min:r,max:e}})=>e===void 0?(0,ll.str)`must contain at least ${r} valid item(s)`:(0,ll.str)`must contain at least ${r} and no more than ${e} valid item(s)`,params:({params:{min:r,max:e}})=>e===void 0?(0,ll._)`{minContains: ${r}}`:(0,ll._)`{minContains: ${r}, maxContains: ${e}}`},fjt={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:mjt,code(r){let{gen:e,schema:t,parentSchema:n,data:i,it:a}=r,s,o,{minContains:l,maxContains:c}=n;a.opts.next?(s=l===void 0?1:l,o=c):s=1;let d=e.const("len",(0,ll._)`${i}.length`);if(r.setParams({min:s,max:o}),o===void 0&&s===0){(0,Z$.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&s>o){(0,Z$.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),r.fail();return}if((0,Z$.alwaysValidSchema)(a,t)){let h=(0,ll._)`${d} >= ${s}`;o!==void 0&&(h=(0,ll._)`${h} && ${d} <= ${o}`),r.pass(h);return}a.items=!0;let u=e.name("valid");o===void 0&&s===1?m(u,()=>e.if(u,()=>e.break())):s===0?(e.let(u,!0),o!==void 0&&e.if((0,ll._)`${i}.length > 0`,p)):(e.let(u,!1),p()),r.result(u,()=>r.reset());function p(){let h=e.name("_valid"),g=e.let("count",0);m(h,()=>e.if(h,()=>f(g)))}function m(h,g){e.forRange("i",0,d,v=>{r.subschema({keyword:"contains",dataProp:v,dataPropType:Z$.Type.Num,compositeRule:!0},h),g()})}function f(h){e.code((0,ll._)`${h}++`),o===void 0?e.if((0,ll._)`${h} >= ${s}`,()=>e.assign(u,!0).break()):(e.if((0,ll._)`${h} > ${o}`,()=>e.assign(u,!1).break()),s===1?e.assign(u,!0):e.if((0,ll._)`${h} >= ${s}`,()=>e.assign(u,!0)))}}};Gte.default=fjt});var q4e=E(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.validateSchemaDeps=Id.validatePropertyDeps=Id.error=void 0;var Kte=Dt(),hjt=rr(),Q0=sl();Id.error={message:({params:{property:r,depsCount:e,deps:t}})=>{let n=e===1?"property":"properties";return(0,Kte.str)`must have ${n} ${t} when property ${r} is present`},params:({params:{property:r,depsCount:e,deps:t,missingProperty:n}})=>(0,Kte._)`{property: ${r},
missingProperty: ${n},
depsCount: ${e},
deps: ${t}}`};var gjt={keyword:"dependencies",type:"object",schemaType:"object",error:Id.error,code(r){let[e,t]=yjt(r);H4e(r,e),V4e(r,t)}};function yjt({schema:r}){let e={},t={};for(let n in r){if(n==="__proto__")continue;let i=Array.isArray(r[n])?e:t;i[n]=r[n]}return[e,t]}function H4e(r,e=r.schema){let{gen:t,data:n,it:i}=r;if(Object.keys(e).length===0)return;let a=t.let("missing");for(let s in e){let o=e[s];if(o.length===0)continue;let l=(0,Q0.propertyInData)(t,n,s,i.opts.ownProperties);r.setParams({property:s,depsCount:o.length,deps:o.join(", ")}),i.allErrors?t.if(l,()=>{for(let c of o)(0,Q0.checkReportMissingProp)(r,c)}):(t.if((0,Kte._)`${l} && (${(0,Q0.checkMissingProp)(r,o,a)})`),(0,Q0.reportMissingProp)(r,a),t.else())}}Id.validatePropertyDeps=H4e;function V4e(r,e=r.schema){let{gen:t,data:n,keyword:i,it:a}=r,s=t.name("valid");for(let o in e)(0,hjt.alwaysValidSchema)(a,e[o])||(t.if((0,Q0.propertyInData)(t,n,o,a.opts.ownProperties),()=>{let l=r.subschema({keyword:i,schemaProp:o},s);r.mergeValidEvaluated(l,s)},()=>t.var(s,!0)),r.ok(s))}Id.validateSchemaDeps=V4e;Id.default=gjt});var Y4e=E(Zte=>{"use strict";Object.defineProperty(Zte,"__esModule",{value:!0});var W4e=Dt(),vjt=rr(),bjt={message:"property name must be valid",params:({params:r})=>(0,W4e._)`{propertyName: ${r.propertyName}}`},Tjt={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:bjt,code(r){let{gen:e,schema:t,data:n,it:i}=r;if((0,vjt.alwaysValidSchema)(i,t))return;let a=e.name("valid");e.forIn("key",n,s=>{r.setParams({propertyName:s}),r.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},a),e.if((0,W4e.not)(a),()=>{r.error(!0),i.allErrors||e.break()})}),r.ok(a)}};Zte.default=Tjt});var Jte=E(Qte=>{"use strict";Object.defineProperty(Qte,"__esModule",{value:!0});var Q$=sl(),rc=Dt(),kjt=fp(),J$=rr(),wjt={message:"must NOT have additional properties",params:({params:r})=>(0,rc._)`{additionalProperty: ${r.additionalProperty}}`},Sjt={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:wjt,code(r){let{gen:e,schema:t,parentSchema:n,data:i,errsCount:a,it:s}=r;if(!a)throw new Error("ajv implementation error");let{allErrors:o,opts:l}=s;if(s.props=!0,l.removeAdditional!=="all"&&(0,J$.alwaysValidSchema)(s,t))return;let c=(0,Q$.allSchemaProperties)(n.properties),d=(0,Q$.allSchemaProperties)(n.patternProperties);u(),r.ok((0,rc._)`${a} === ${kjt.default.errors}`);function u(){e.forIn("key",i,g=>{!c.length&&!d.length?f(g):e.if(p(g),()=>f(g))})}function p(g){let v;if(c.length>8){let k=(0,J$.schemaRefOrVal)(s,n.properties,"properties");v=(0,Q$.isOwnProperty)(e,k,g)}else c.length?v=(0,rc.or)(...c.map(k=>(0,rc._)`${g} === ${k}`)):v=rc.nil;return d.length&&(v=(0,rc.or)(v,...d.map(k=>(0,rc._)`${(0,Q$.usePattern)(r,k)}.test(${g})`))),(0,rc.not)(v)}function m(g){e.code((0,rc._)`delete ${i}[${g}]`)}function f(g){if(l.removeAdditional==="all"||l.removeAdditional&&t===!1){m(g);return}if(t===!1){r.setParams({additionalProperty:g}),r.error(),o||e.break();return}if(typeof t=="object"&&!(0,J$.alwaysValidSchema)(s,t)){let v=e.name("valid");l.removeAdditional==="failing"?(h(g,v,!1),e.if((0,rc.not)(v),()=>{r.reset(),m(g)})):(h(g,v),o||e.if((0,rc.not)(v),()=>e.break()))}}function h(g,v,k){let b={keyword:"additionalProperties",dataProp:g,dataPropType:J$.Type.Str};k===!1&&Object.assign(b,{compositeRule:!0,createErrors:!1,allErrors:!1}),r.subschema(b,v)}}};Qte.default=Sjt});var Z4e=E(ere=>{"use strict";Object.defineProperty(ere,"__esModule",{value:!0});var Ejt=F0(),G4e=sl(),Xte=rr(),K4e=Jte(),xjt={keyword:"properties",type:"object",schemaType:"object",code(r){let{gen:e,schema:t,parentSchema:n,data:i,it:a}=r;a.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&K4e.default.code(new Ejt.KeywordCxt(a,K4e.default,"additionalProperties"));let s=(0,G4e.allSchemaProperties)(t);for(let u of s)a.definedProperties.add(u);a.opts.unevaluated&&s.length&&a.props!==!0&&(a.props=Xte.mergeEvaluated.props(e,(0,Xte.toHash)(s),a.props));let o=s.filter(u=>!(0,Xte.alwaysValidSchema)(a,t[u]));if(o.length===0)return;let l=e.name("valid");for(let u of o)c(u)?d(u):(e.if((0,G4e.propertyInData)(e,i,u,a.opts.ownProperties)),d(u),a.allErrors||e.else().var(l,!0),e.endIf()),r.it.definedProperties.add(u),r.ok(l);function c(u){return a.opts.useDefaults&&!a.compositeRule&&t[u].default!==void 0}function d(u){r.subschema({keyword:"properties",schemaProp:u,dataProp:u},l)}}};ere.default=xjt});var e3e=E(tre=>{"use strict";Object.defineProperty(tre,"__esModule",{value:!0});var Q4e=sl(),X$=Dt(),J4e=rr(),X4e=rr(),Cjt={keyword:"patternProperties",type:"object",schemaType:"object",code(r){let{gen:e,schema:t,data:n,parentSchema:i,it:a}=r,{opts:s}=a,o=(0,Q4e.allSchemaProperties)(t),l=o.filter(h=>(0,J4e.alwaysValidSchema)(a,t[h]));if(o.length===0||l.length===o.length&&(!a.opts.unevaluated||a.props===!0))return;let c=s.strictSchema&&!s.allowMatchingProperties&&i.properties,d=e.name("valid");a.props!==!0&&!(a.props instanceof X$.Name)&&(a.props=(0,X4e.evaluatedPropsToName)(e,a.props));let{props:u}=a;p();function p(){for(let h of o)c&&m(h),a.allErrors?f(h):(e.var(d,!0),f(h),e.if(d))}function m(h){for(let g in c)new RegExp(h).test(g)&&(0,J4e.checkStrictMode)(a,`property ${g} matches pattern ${h} (use allowMatchingProperties)`)}function f(h){e.forIn("key",n,g=>{e.if((0,X$._)`${(0,Q4e.usePattern)(r,h)}.test(${g})`,()=>{let v=l.includes(h);v||r.subschema({keyword:"patternProperties",schemaProp:h,dataProp:g,dataPropType:X4e.Type.Str},d),a.opts.unevaluated&&u!==!0?e.assign((0,X$._)`${u}[${g}]`,!0):!v&&!a.allErrors&&e.if((0,X$.not)(d),()=>e.break())})})}}};tre.default=Cjt});var t3e=E(rre=>{"use strict";Object.defineProperty(rre,"__esModule",{value:!0});var Djt=rr(),Pjt={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){let{gen:e,schema:t,it:n}=r;if((0,Djt.alwaysValidSchema)(n,t)){r.fail();return}let i=e.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),r.failResult(i,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};rre.default=Pjt});var r3e=E(nre=>{"use strict";Object.defineProperty(nre,"__esModule",{value:!0});var Mjt=sl(),_jt={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Mjt.validateUnion,error:{message:"must match a schema in anyOf"}};nre.default=_jt});var n3e=E(ire=>{"use strict";Object.defineProperty(ire,"__esModule",{value:!0});var ez=Dt(),Ajt=rr(),Ijt={message:"must match exactly one schema in oneOf",params:({params:r})=>(0,ez._)`{passingSchemas: ${r.passing}}`},Njt={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Ijt,code(r){let{gen:e,schema:t,parentSchema:n,it:i}=r;if(!Array.isArray(t))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;let a=t,s=e.let("valid",!1),o=e.let("passing",null),l=e.name("_valid");r.setParams({passing:o}),e.block(c),r.result(s,()=>r.reset(),()=>r.error(!0));function c(){a.forEach((d,u)=>{let p;(0,Ajt.alwaysValidSchema)(i,d)?e.var(l,!0):p=r.subschema({keyword:"oneOf",schemaProp:u,compositeRule:!0},l),u>0&&e.if((0,ez._)`${l} && ${s}`).assign(s,!1).assign(o,(0,ez._)`[${o}, ${u}]`).else(),e.if(l,()=>{e.assign(s,!0),e.assign(o,u),p&&r.mergeEvaluated(p,ez.Name)})})}}};ire.default=Njt});var i3e=E(are=>{"use strict";Object.defineProperty(are,"__esModule",{value:!0});var Rjt=rr(),Ojt={keyword:"allOf",schemaType:"array",code(r){let{gen:e,schema:t,it:n}=r;if(!Array.isArray(t))throw new Error("ajv implementation error");let i=e.name("valid");t.forEach((a,s)=>{if((0,Rjt.alwaysValidSchema)(n,a))return;let o=r.subschema({keyword:"allOf",schemaProp:s},i);r.ok(i),r.mergeEvaluated(o)})}};are.default=Ojt});var o3e=E(sre=>{"use strict";Object.defineProperty(sre,"__esModule",{value:!0});var tz=Dt(),s3e=rr(),Ljt={message:({params:r})=>(0,tz.str)`must match "${r.ifClause}" schema`,params:({params:r})=>(0,tz._)`{failingKeyword: ${r.ifClause}}`},Fjt={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Ljt,code(r){let{gen:e,parentSchema:t,it:n}=r;t.then===void 0&&t.else===void 0&&(0,s3e.checkStrictMode)(n,'"if" without "then" and "else" is ignored');let i=a3e(n,"then"),a=a3e(n,"else");if(!i&&!a)return;let s=e.let("valid",!0),o=e.name("_valid");if(l(),r.reset(),i&&a){let d=e.let("ifClause");r.setParams({ifClause:d}),e.if(o,c("then",d),c("else",d))}else i?e.if(o,c("then")):e.if((0,tz.not)(o),c("else"));r.pass(s,()=>r.error(!0));function l(){let d=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},o);r.mergeEvaluated(d)}function c(d,u){return()=>{let p=r.subschema({keyword:d},o);e.assign(s,o),r.mergeValidEvaluated(p,s),u?e.assign(u,(0,tz._)`${d}`):r.setParams({ifClause:d})}}}};function a3e(r,e){let t=r.schema[e];return t!==void 0&&!(0,s3e.alwaysValidSchema)(r,t)}sre.default=Fjt});var l3e=E(ore=>{"use strict";Object.defineProperty(ore,"__esModule",{value:!0});var $jt=rr(),zjt={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:e,it:t}){e.if===void 0&&(0,$jt.checkStrictMode)(t,`"${r}" without "if" is ignored`)}};ore.default=zjt});var c3e=E(lre=>{"use strict";Object.defineProperty(lre,"__esModule",{value:!0});var jjt=Vte(),Bjt=z4e(),Ujt=qte(),Hjt=B4e(),Vjt=U4e(),qjt=q4e(),Wjt=Y4e(),Yjt=Jte(),Gjt=Z4e(),Kjt=e3e(),Zjt=t3e(),Qjt=r3e(),Jjt=n3e(),Xjt=i3e(),eBt=o3e(),tBt=l3e();function rBt(r=!1){let e=[Zjt.default,Qjt.default,Jjt.default,Xjt.default,eBt.default,tBt.default,Wjt.default,Yjt.default,qjt.default,Gjt.default,Kjt.default];return r?e.push(Bjt.default,Hjt.default):e.push(jjt.default,Ujt.default),e.push(Vjt.default),e}lre.default=rBt});var d3e=E(cre=>{"use strict";Object.defineProperty(cre,"__esModule",{value:!0});var qn=Dt(),nBt={message:({schemaCode:r})=>(0,qn.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,qn._)`{format: ${r}}`},iBt={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:nBt,code(r,e){let{gen:t,data:n,$data:i,schema:a,schemaCode:s,it:o}=r,{opts:l,errSchemaPath:c,schemaEnv:d,self:u}=o;if(!l.validateFormats)return;i?p():m();function p(){let f=t.scopeValue("formats",{ref:u.formats,code:l.code.formats}),h=t.const("fDef",(0,qn._)`${f}[${s}]`),g=t.let("fType"),v=t.let("format");t.if((0,qn._)`typeof ${h} == "object" && !(${h} instanceof RegExp)`,()=>t.assign(g,(0,qn._)`${h}.type || "string"`).assign(v,(0,qn._)`${h}.validate`),()=>t.assign(g,(0,qn._)`"string"`).assign(v,h)),r.fail$data((0,qn.or)(k(),b()));function k(){return l.strictSchema===!1?qn.nil:(0,qn._)`${s} && !${v}`}function b(){let w=d.$async?(0,qn._)`(${h}.async ? await ${v}(${n}) : ${v}(${n}))`:(0,qn._)`${v}(${n})`,S=(0,qn._)`(typeof ${v} == "function" ? ${w} : ${v}.test(${n}))`;return(0,qn._)`${v} && ${v} !== true && ${g} === ${e} && !${S}`}}function m(){let f=u.formats[a];if(!f){k();return}if(f===!0)return;let[h,g,v]=b(f);h===e&&r.pass(w());function k(){if(l.strictSchema===!1){u.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${a}" ignored in schema at path "${c}"`}}function b(S){let x=S instanceof RegExp?(0,qn.regexpCode)(S):l.code.formats?(0,qn._)`${l.code.formats}${(0,qn.getProperty)(a)}`:void 0,C=t.scopeValue("formats",{key:a,ref:S,code:x});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,qn._)`${C}.validate`]:["string",S,C]}function w(){if(typeof f=="object"&&!(f instanceof RegExp)&&f.async){if(!d.$async)throw new Error("async format in sync schema");return(0,qn._)`await ${v}(${n})`}return typeof g=="function"?(0,qn._)`${v}(${n})`:(0,qn._)`${v}.test(${n})`}}}};cre.default=iBt});var u3e=E(dre=>{"use strict";Object.defineProperty(dre,"__esModule",{value:!0});var aBt=d3e(),sBt=[aBt.default];dre.default=sBt});var p3e=E(Uk=>{"use strict";Object.defineProperty(Uk,"__esModule",{value:!0});Uk.contentVocabulary=Uk.metadataVocabulary=void 0;Uk.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Uk.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var f3e=E(ure=>{"use strict";Object.defineProperty(ure,"__esModule",{value:!0});var oBt=k4e(),lBt=O4e(),cBt=c3e(),dBt=u3e(),m3e=p3e(),uBt=[oBt.default,lBt.default,(0,cBt.default)(),dBt.default,m3e.metadataVocabulary,m3e.contentVocabulary];ure.default=uBt});var g3e=E(rz=>{"use strict";Object.defineProperty(rz,"__esModule",{value:!0});rz.DiscrError=void 0;var h3e;(function(r){r.Tag="tag",r.Mapping="mapping"})(h3e||(rz.DiscrError=h3e={}))});var v3e=E(mre=>{"use strict";Object.defineProperty(mre,"__esModule",{value:!0});var Hk=Dt(),pre=g3e(),y3e=z$(),pBt=$0(),mBt=rr(),fBt={message:({params:{discrError:r,tagName:e}})=>r===pre.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in oneOf`,params:({params:{discrError:r,tag:e,tagName:t}})=>(0,Hk._)`{error: ${r}, tag: ${t}, tagValue: ${e}}`},hBt={keyword:"discriminator",type:"object",schemaType:"object",error:fBt,code(r){let{gen:e,data:t,schema:n,parentSchema:i,it:a}=r,{oneOf:s}=i;if(!a.opts.discriminator)throw new Error("discriminator: requires discriminator option");let o=n.propertyName;if(typeof o!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");let l=e.let("valid",!1),c=e.const("tag",(0,Hk._)`${t}${(0,Hk.getProperty)(o)}`);e.if((0,Hk._)`typeof ${c} == "string"`,()=>d(),()=>r.error(!1,{discrError:pre.DiscrError.Tag,tag:c,tagName:o})),r.ok(l);function d(){let m=p();e.if(!1);for(let f in m)e.elseIf((0,Hk._)`${c} === ${f}`),e.assign(l,u(m[f]));e.else(),r.error(!1,{discrError:pre.DiscrError.Mapping,tag:c,tagName:o}),e.endIf()}function u(m){let f=e.name("valid"),h=r.subschema({keyword:"oneOf",schemaProp:m},f);return r.mergeEvaluated(h,Hk.Name),f}function p(){var m;let f={},h=v(i),g=!0;for(let w=0;w<s.length;w++){let S=s[w];if(S!=null&&S.$ref&&!(0,mBt.schemaHasRulesButRef)(S,a.self.RULES)){let C=S.$ref;if(S=y3e.resolveRef.call(a.self,a.schemaEnv.root,a.baseId,C),S instanceof y3e.SchemaEnv&&(S=S.schema),S===void 0)throw new pBt.default(a.opts.uriResolver,a.baseId,C)}let x=(m=S==null?void 0:S.properties)===null||m===void 0?void 0:m[o];if(typeof x!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${o}"`);g=g&&(h||v(S)),k(x,w)}if(!g)throw new Error(`discriminator: "${o}" must be required`);return f;function v({required:w}){return Array.isArray(w)&&w.includes(o)}function k(w,S){if(w.const)b(w.const,S);else if(w.enum)for(let x of w.enum)b(x,S);else throw new Error(`discriminator: "properties/${o}" must have "const" or "enum"`)}function b(w,S){if(typeof w!="string"||w in f)throw new Error(`discriminator: "${o}" values must be unique strings`);f[w]=S}}}};mre.default=hBt});var b3e=E((XKr,gBt)=>{gBt.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var k3e=E((nn,fre)=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.MissingRefError=nn.ValidationError=nn.CodeGen=nn.Name=nn.nil=nn.stringify=nn.str=nn._=nn.KeywordCxt=nn.Ajv=void 0;var yBt=h4e(),vBt=f3e(),bBt=v3e(),T3e=b3e(),TBt=["/properties"],nz="http://json-schema.org/draft-07/schema",Vk=class extends yBt.default{_addVocabularies(){super._addVocabularies(),vBt.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(bBt.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(T3e,TBt):T3e;this.addMetaSchema(e,nz,!1),this.refs["http://json-schema.org/schema"]=nz}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(nz)?nz:void 0)}};nn.Ajv=Vk;fre.exports=nn=Vk;fre.exports.Ajv=Vk;Object.defineProperty(nn,"__esModule",{value:!0});nn.default=Vk;var kBt=F0();Object.defineProperty(nn,"KeywordCxt",{enumerable:!0,get:function(){return kBt.KeywordCxt}});var qk=Dt();Object.defineProperty(nn,"_",{enumerable:!0,get:function(){return qk._}});Object.defineProperty(nn,"str",{enumerable:!0,get:function(){return qk.str}});Object.defineProperty(nn,"stringify",{enumerable:!0,get:function(){return qk.stringify}});Object.defineProperty(nn,"nil",{enumerable:!0,get:function(){return qk.nil}});Object.defineProperty(nn,"Name",{enumerable:!0,get:function(){return qk.Name}});Object.defineProperty(nn,"CodeGen",{enumerable:!0,get:function(){return qk.CodeGen}});var wBt=F$();Object.defineProperty(nn,"ValidationError",{enumerable:!0,get:function(){return wBt.default}});var SBt=$0();Object.defineProperty(nn,"MissingRefError",{enumerable:!0,get:function(){return SBt.default}})});var M3e=E(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.formatNames=Rd.fastFormats=Rd.fullFormats=void 0;function Nd(r,e){return{validate:r,compare:e}}Rd.fullFormats={date:Nd(x3e,vre),time:Nd(gre(!0),bre),"date-time":Nd(w3e(!0),D3e),"iso-time":Nd(gre(),C3e),"iso-date-time":Nd(w3e(),P3e),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:MBt,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:LBt,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:_Bt,int32:{type:"number",validate:NBt},int64:{type:"number",validate:RBt},float:{type:"number",validate:E3e},double:{type:"number",validate:E3e},password:!0,binary:!0};Rd.fastFormats={...Rd.fullFormats,date:Nd(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,vre),time:Nd(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,bre),"date-time":Nd(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,D3e),"iso-time":Nd(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,C3e),"iso-date-time":Nd(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,P3e),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};Rd.formatNames=Object.keys(Rd.fullFormats);function EBt(r){return r%4===0&&(r%100!==0||r%400===0)}var xBt=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,CBt=[0,31,28,31,30,31,30,31,31,30,31,30,31];function x3e(r){let e=xBt.exec(r);if(!e)return!1;let t=+e[1],n=+e[2],i=+e[3];return n>=1&&n<=12&&i>=1&&i<=(n===2&&EBt(t)?29:CBt[n])}function vre(r,e){if(r&&e)return r>e?1:r<e?-1:0}var hre=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function gre(r){return function(t){let n=hre.exec(t);if(!n)return!1;let i=+n[1],a=+n[2],s=+n[3],o=n[4],l=n[5]==="-"?-1:1,c=+(n[6]||0),d=+(n[7]||0);if(c>23||d>59||r&&!o)return!1;if(i<=23&&a<=59&&s<60)return!0;let u=a-d*l,p=i-c*l-(u<0?1:0);return(p===23||p===-1)&&(u===59||u===-1)&&s<61}}function bre(r,e){if(!(r&&e))return;let t=new Date("2020-01-01T"+r).valueOf(),n=new Date("2020-01-01T"+e).valueOf();if(t&&n)return t-n}function C3e(r,e){if(!(r&&e))return;let t=hre.exec(r),n=hre.exec(e);if(t&&n)return r=t[1]+t[2]+t[3],e=n[1]+n[2]+n[3],r>e?1:r<e?-1:0}var yre=/t|\s/i;function w3e(r){let e=gre(r);return function(n){let i=n.split(yre);return i.length===2&&x3e(i[0])&&e(i[1])}}function D3e(r,e){if(!(r&&e))return;let t=new Date(r).valueOf(),n=new Date(e).valueOf();if(t&&n)return t-n}function P3e(r,e){if(!(r&&e))return;let[t,n]=r.split(yre),[i,a]=e.split(yre),s=vre(t,i);if(s!==void 0)return s||bre(n,a)}var DBt=/\/|:/,PBt=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function MBt(r){return DBt.test(r)&&PBt.test(r)}var S3e=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function _Bt(r){return S3e.lastIndex=0,S3e.test(r)}var ABt=-(2**31),IBt=2**31-1;function NBt(r){return Number.isInteger(r)&&r<=IBt&&r>=ABt}function RBt(r){return Number.isInteger(r)}function E3e(){return!0}var OBt=/[^\\]\\Z/;function LBt(r){if(OBt.test(r))return!1;try{return new RegExp(r),!0}catch(e){return!1}}});var eM=E(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.regexpCode=cr.getEsmExportName=cr.getProperty=cr.safeStringify=cr.stringify=cr.strConcat=cr.addCodeArg=cr.str=cr._=cr.nil=cr._Code=cr.Name=cr.IDENTIFIER=cr._CodeOrName=void 0;var J0=class{};cr._CodeOrName=J0;cr.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Cy=class extends J0{constructor(e){if(super(),!cr.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};cr.Name=Cy;var cl=class extends J0{constructor(e){super(),this._items=typeof e=="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((t,n)=>`${t}${n}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((t,n)=>(n instanceof Cy&&(t[n.str]=(t[n.str]||0)+1),t),{})}};cr._Code=cl;cr.nil=new cl("");function _3e(r,...e){let t=[r[0]],n=0;for(;n<e.length;)kre(t,e[n]),t.push(r[++n]);return new cl(t)}cr._=_3e;var Tre=new cl("+");function A3e(r,...e){let t=[X0(r[0])],n=0;for(;n<e.length;)t.push(Tre),kre(t,e[n]),t.push(Tre,X0(r[++n]));return FBt(t),new cl(t)}cr.str=A3e;function kre(r,e){e instanceof cl?r.push(...e._items):e instanceof Cy?r.push(e):r.push(jBt(e))}cr.addCodeArg=kre;function FBt(r){let e=1;for(;e<r.length-1;){if(r[e]===Tre){let t=$Bt(r[e-1],r[e+1]);if(t!==void 0){r.splice(e-1,3,t);continue}r[e++]="+"}e++}}function $Bt(r,e){if(e==='""')return r;if(r==='""')return e;if(typeof r=="string")return e instanceof Cy||r[r.length-1]!=='"'?void 0:typeof e!="string"?`${r.slice(0,-1)}${e}"`:e[0]==='"'?r.slice(0,-1)+e.slice(1):void 0;if(typeof e=="string"&&e[0]==='"'&&!(r instanceof Cy))return`"${r}${e.slice(1)}`}function zBt(r,e){return e.emptyStr()?r:r.emptyStr()?e:A3e`${r}${e}`}cr.strConcat=zBt;function jBt(r){return typeof r=="number"||typeof r=="boolean"||r===null?r:X0(Array.isArray(r)?r.join(","):r)}function BBt(r){return new cl(X0(r))}cr.stringify=BBt;function X0(r){return JSON.stringify(r).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}cr.safeStringify=X0;function UBt(r){return typeof r=="string"&&cr.IDENTIFIER.test(r)?new cl(`.${r}`):_3e`[${r}]`}cr.getProperty=UBt;function HBt(r){if(typeof r=="string"&&cr.IDENTIFIER.test(r))return new cl(`${r}`);throw new Error(`CodeGen: invalid export name: ${r}, use explicit $id name mapping`)}cr.getEsmExportName=HBt;function VBt(r){return new cl(r.toString())}cr.regexpCode=VBt});var Ere=E(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.ValueScope=_s.ValueScopeName=_s.Scope=_s.varKinds=_s.UsedValueState=void 0;var Ms=eM(),wre=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},iz;(function(r){r[r.Started=0]="Started",r[r.Completed=1]="Completed"})(iz||(_s.UsedValueState=iz={}));_s.varKinds={const:new Ms.Name("const"),let:new Ms.Name("let"),var:new Ms.Name("var")};var az=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof Ms.Name?e:this.name(e)}name(e){return new Ms.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,n;if(!((n=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||n===void 0)&&n.has(e)||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};_s.Scope=az;var sz=class extends Ms.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=(0,Ms._)`.${new Ms.Name(t)}[${n}]`}};_s.ValueScopeName=sz;var qBt=(0,Ms._)`\n`,Sre=class extends az{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?qBt:Ms.nil}}get(){return this._scope}name(e){return new sz(e,this._newName(e))}value(e,t){var n;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let i=this.toName(e),{prefix:a}=i,s=(n=t.key)!==null&&n!==void 0?n:t.ref,o=this._values[a];if(o){let d=o.get(s);if(d)return d}else o=this._values[a]=new Map;o.set(s,i);let l=this._scope[a]||(this._scope[a]=[]),c=l.length;return l[c]=t.ref,i.setValue(t,{property:a,itemIndex:c}),i}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,Ms._)`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,i=>{if(i.value===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return i.value.code},t,n)}_reduceValues(e,t,n={},i){let a=Ms.nil;for(let s in e){let o=e[s];if(!o)continue;let l=n[s]=n[s]||new Map;o.forEach(c=>{if(l.has(c))return;l.set(c,iz.Started);let d=t(c);if(d){let u=this.opts.es5?_s.varKinds.var:_s.varKinds.const;a=(0,Ms._)`${a}${u} ${c} = ${d};${this.opts._n}`}else if(d=i==null?void 0:i(c))a=(0,Ms._)`${a}${d}${this.opts._n}`;else throw new wre(c);l.set(c,iz.Completed)})}return a}};_s.ValueScope=Sre});var bt=E(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.or=Et.and=Et.not=Et.CodeGen=Et.operators=Et.varKinds=Et.ValueScopeName=Et.ValueScope=Et.Scope=Et.Name=Et.regexpCode=Et.stringify=Et.getProperty=Et.nil=Et.strConcat=Et.str=Et._=void 0;var Jt=eM(),nc=Ere(),Ef=eM();Object.defineProperty(Et,"_",{enumerable:!0,get:function(){return Ef._}});Object.defineProperty(Et,"str",{enumerable:!0,get:function(){return Ef.str}});Object.defineProperty(Et,"strConcat",{enumerable:!0,get:function(){return Ef.strConcat}});Object.defineProperty(Et,"nil",{enumerable:!0,get:function(){return Ef.nil}});Object.defineProperty(Et,"getProperty",{enumerable:!0,get:function(){return Ef.getProperty}});Object.defineProperty(Et,"stringify",{enumerable:!0,get:function(){return Ef.stringify}});Object.defineProperty(Et,"regexpCode",{enumerable:!0,get:function(){return Ef.regexpCode}});Object.defineProperty(Et,"Name",{enumerable:!0,get:function(){return Ef.Name}});var dz=Ere();Object.defineProperty(Et,"Scope",{enumerable:!0,get:function(){return dz.Scope}});Object.defineProperty(Et,"ValueScope",{enumerable:!0,get:function(){return dz.ValueScope}});Object.defineProperty(Et,"ValueScopeName",{enumerable:!0,get:function(){return dz.ValueScopeName}});Object.defineProperty(Et,"varKinds",{enumerable:!0,get:function(){return dz.varKinds}});Et.operators={GT:new Jt._Code(">"),GTE:new Jt._Code(">="),LT:new Jt._Code("<"),LTE:new Jt._Code("<="),EQ:new Jt._Code("==="),NEQ:new Jt._Code("!=="),NOT:new Jt._Code("!"),OR:new Jt._Code("||"),AND:new Jt._Code("&&"),ADD:new Jt._Code("+")};var gp=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},xre=class extends gp{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let n=e?nc.varKinds.var:this.varKind,i=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=Yk(this.rhs,e,t)),this}get names(){return this.rhs instanceof Jt._CodeOrName?this.rhs.names:{}}},oz=class extends gp{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof Jt.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=Yk(this.rhs,e,t),this}get names(){let e=this.lhs instanceof Jt.Name?{}:{...this.lhs.names};return cz(e,this.rhs)}},Cre=class extends oz{constructor(e,t,n,i){super(e,n,i),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},Dre=class extends gp{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},Pre=class extends gp{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},Mre=class extends gp{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},_re=class extends gp{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=Yk(this.code,e,t),this}get names(){return this.code instanceof Jt._CodeOrName?this.code.names:{}}},tM=class extends gp{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),"")}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,i=n.length;for(;i--;){let a=n[i];a.optimizeNames(e,t)||(WBt(e,a.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>My(e,t.names),{})}},yp=class extends tM{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},Are=class extends tM{},Wk=class extends yp{};Wk.kind="else";var Dy=class r extends yp{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let t=this.else;if(t){let n=t.optimizeNodes();t=this.else=Array.isArray(n)?new Wk(n):n}if(t)return e===!1?t instanceof r?t:t.nodes:this.nodes.length?this:new r(I3e(e),t instanceof r?[t]:t.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,t){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(e,t),!!(super.optimizeNames(e,t)||this.else))return this.condition=Yk(this.condition,e,t),this}get names(){let e=super.names;return cz(e,this.condition),this.else&&My(e,this.else.names),e}};Dy.kind="if";var Py=class extends yp{};Py.kind="for";var Ire=class extends Py{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=Yk(this.iteration,e,t),this}get names(){return My(super.names,this.iteration.names)}},Nre=class extends Py{constructor(e,t,n,i){super(),this.varKind=e,this.name=t,this.from=n,this.to=i}render(e){let t=e.es5?nc.varKinds.var:this.varKind,{name:n,from:i,to:a}=this;return`for(${t} ${n}=${i}; ${n}<${a}; ${n}++)`+super.render(e)}get names(){let e=cz(super.names,this.from);return cz(e,this.to)}},lz=class extends Py{constructor(e,t,n,i){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=i}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=Yk(this.iterable,e,t),this}get names(){return My(super.names,this.iterable.names)}},rM=class extends yp{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};rM.kind="func";var nM=class extends tM{render(e){return"return "+super.render(e)}};nM.kind="return";var Rre=class extends yp{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),(e=this.catch)===null||e===void 0||e.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(e,t){var n,i;return super.optimizeNames(e,t),(n=this.catch)===null||n===void 0||n.optimizeNames(e,t),(i=this.finally)===null||i===void 0||i.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&My(e,this.catch.names),this.finally&&My(e,this.finally.names),e}},iM=class extends yp{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};iM.kind="catch";var aM=class extends yp{render(e){return"finally"+super.render(e)}};aM.kind="finally";var Ore=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?`
`:""},this._extScope=e,this._scope=new nc.Scope({parent:e}),this._nodes=[new Are]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,i){let a=this._scope.toName(t);return n!==void 0&&i&&(this._constants[a.str]=n),this._leafNode(new xre(e,a,n)),a}const(e,t,n){return this._def(nc.varKinds.const,e,t,n)}let(e,t,n){return this._def(nc.varKinds.let,e,t,n)}var(e,t,n){return this._def(nc.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new oz(e,t,n))}add(e,t){return this._leafNode(new Cre(e,Et.operators.ADD,t))}code(e){return typeof e=="function"?e():e!==Jt.nil&&this._leafNode(new _re(e)),this}object(...e){let t=["{"];for(let[n,i]of e)t.length>1&&t.push(","),t.push(n),(n!==i||this.opts.es5)&&(t.push(":"),(0,Jt.addCodeArg)(t,i));return t.push("}"),new Jt._Code(t)}if(e,t,n){if(this._blockNode(new Dy(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new Dy(e))}else(){return this._elseNode(new Wk)}endIf(){return this._endBlockNode(Dy,Wk)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new Ire(e),t)}forRange(e,t,n,i,a=this.opts.es5?nc.varKinds.var:nc.varKinds.let){let s=this._scope.toName(e);return this._for(new Nre(a,s,t,n),()=>i(s))}forOf(e,t,n,i=nc.varKinds.const){let a=this._scope.toName(e);if(this.opts.es5){let s=t instanceof Jt.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,Jt._)`${s}.length`,o=>{this.var(a,(0,Jt._)`${s}[${o}]`),n(a)})}return this._for(new lz("of",i,a,t),()=>n(a))}forIn(e,t,n,i=this.opts.es5?nc.varKinds.var:nc.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,Jt._)`Object.keys(${t})`,n);let a=this._scope.toName(e);return this._for(new lz("in",i,a,t),()=>n(a))}endFor(){return this._endBlockNode(Py)}label(e){return this._leafNode(new Dre(e))}break(e){return this._leafNode(new Pre(e))}return(e){let t=new nM;if(this._blockNode(t),this.code(e),t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(nM)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let i=new Rre;if(this._blockNode(i),this.code(e),t){let a=this.name("e");this._currNode=i.catch=new iM(a),t(a)}return n&&(this._currNode=i.finally=new aM,this.code(n)),this._endBlockNode(iM,aM)}throw(e){return this._leafNode(new Mre(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(t===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-t;if(n<0||e!==void 0&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=Jt.nil,n,i){return this._blockNode(new rM(e,t,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(rM)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof Dy))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}};Et.CodeGen=Ore;function My(r,e){for(let t in e)r[t]=(r[t]||0)+(e[t]||0);return r}function cz(r,e){return e instanceof Jt._CodeOrName?My(r,e.names):r}function Yk(r,e,t){if(r instanceof Jt.Name)return n(r);if(!i(r))return r;return new Jt._Code(r._items.reduce((a,s)=>(s instanceof Jt.Name&&(s=n(s)),s instanceof Jt._Code?a.push(...s._items):a.push(s),a),[]));function n(a){let s=t[a.str];return s===void 0||e[a.str]!==1?a:(delete e[a.str],s)}function i(a){return a instanceof Jt._Code&&a._items.some(s=>s instanceof Jt.Name&&e[s.str]===1&&t[s.str]!==void 0)}}function WBt(r,e){for(let t in e)r[t]=(r[t]||0)-(e[t]||0)}function I3e(r){return typeof r=="boolean"||typeof r=="number"||r===null?!r:(0,Jt._)`!${Lre(r)}`}Et.not=I3e;var YBt=N3e(Et.operators.AND);function GBt(...r){return r.reduce(YBt)}Et.and=GBt;var KBt=N3e(Et.operators.OR);function ZBt(...r){return r.reduce(KBt)}Et.or=ZBt;function N3e(r){return(e,t)=>e===Jt.nil?t:t===Jt.nil?e:(0,Jt._)`${Lre(e)} ${r} ${Lre(t)}`}function Lre(r){return r instanceof Jt.Name?r:(0,Jt._)`(${r})`}});var ir=E(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.checkStrictMode=Mt.getErrorPath=Mt.Type=Mt.useFunc=Mt.setEvaluated=Mt.evaluatedPropsToName=Mt.mergeEvaluated=Mt.eachItem=Mt.unescapeJsonPointer=Mt.escapeJsonPointer=Mt.escapeFragment=Mt.unescapeFragment=Mt.schemaRefOrVal=Mt.schemaHasRulesButRef=Mt.schemaHasRules=Mt.checkUnknownRules=Mt.alwaysValidSchema=Mt.toHash=void 0;var jr=bt(),QBt=eM();function JBt(r){let e={};for(let t of r)e[t]=!0;return e}Mt.toHash=JBt;function XBt(r,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(L3e(r,e),!F3e(e,r.self.RULES.all))}Mt.alwaysValidSchema=XBt;function L3e(r,e=r.schema){let{opts:t,self:n}=r;if(!t.strictSchema||typeof e=="boolean")return;let i=n.RULES.keywords;for(let a in e)i[a]||j3e(r,`unknown keyword: "${a}"`)}Mt.checkUnknownRules=L3e;function F3e(r,e){if(typeof r=="boolean")return!r;for(let t in r)if(e[t])return!0;return!1}Mt.schemaHasRules=F3e;function e2t(r,e){if(typeof r=="boolean")return!r;for(let t in r)if(t!=="$ref"&&e.all[t])return!0;return!1}Mt.schemaHasRulesButRef=e2t;function t2t({topSchemaRef:r,schemaPath:e},t,n,i){if(!i){if(typeof t=="number"||typeof t=="boolean")return t;if(typeof t=="string")return(0,jr._)`${t}`}return(0,jr._)`${r}${e}${(0,jr.getProperty)(n)}`}Mt.schemaRefOrVal=t2t;function r2t(r){return $3e(decodeURIComponent(r))}Mt.unescapeFragment=r2t;function n2t(r){return encodeURIComponent($re(r))}Mt.escapeFragment=n2t;function $re(r){return typeof r=="number"?`${r}`:r.replace(/~/g,"~0").replace(/\//g,"~1")}Mt.escapeJsonPointer=$re;function $3e(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")}Mt.unescapeJsonPointer=$3e;function i2t(r,e){if(Array.isArray(r))for(let t of r)e(t);else e(r)}Mt.eachItem=i2t;function R3e({mergeNames:r,mergeToName:e,mergeValues:t,resultToName:n}){return(i,a,s,o)=>{let l=s===void 0?a:s instanceof jr.Name?(a instanceof jr.Name?r(i,a,s):e(i,a,s),s):a instanceof jr.Name?(e(i,s,a),a):t(a,s);return o===jr.Name&&!(l instanceof jr.Name)?n(i,l):l}}Mt.mergeEvaluated={props:R3e({mergeNames:(r,e,t)=>r.if((0,jr._)`${t} !== true && ${e} !== undefined`,()=>{r.if((0,jr._)`${e} === true`,()=>r.assign(t,!0),()=>r.assign(t,(0,jr._)`${t} || {}`).code((0,jr._)`Object.assign(${t}, ${e})`))}),mergeToName:(r,e,t)=>r.if((0,jr._)`${t} !== true`,()=>{e===!0?r.assign(t,!0):(r.assign(t,(0,jr._)`${t} || {}`),zre(r,t,e))}),mergeValues:(r,e)=>r===!0?!0:{...r,...e},resultToName:z3e}),items:R3e({mergeNames:(r,e,t)=>r.if((0,jr._)`${t} !== true && ${e} !== undefined`,()=>r.assign(t,(0,jr._)`${e} === true ? true : ${t} > ${e} ? ${t} : ${e}`)),mergeToName:(r,e,t)=>r.if((0,jr._)`${t} !== true`,()=>r.assign(t,e===!0?!0:(0,jr._)`${t} > ${e} ? ${t} : ${e}`)),mergeValues:(r,e)=>r===!0?!0:Math.max(r,e),resultToName:(r,e)=>r.var("items",e)})};function z3e(r,e){if(e===!0)return r.var("props",!0);let t=r.var("props",(0,jr._)`{}`);return e!==void 0&&zre(r,t,e),t}Mt.evaluatedPropsToName=z3e;function zre(r,e,t){Object.keys(t).forEach(n=>r.assign((0,jr._)`${e}${(0,jr.getProperty)(n)}`,!0))}Mt.setEvaluated=zre;var O3e={};function a2t(r,e){return r.scopeValue("func",{ref:e,code:O3e[e.code]||(O3e[e.code]=new QBt._Code(e.code))})}Mt.useFunc=a2t;var Fre;(function(r){r[r.Num=0]="Num",r[r.Str=1]="Str"})(Fre||(Mt.Type=Fre={}));function s2t(r,e,t){if(r instanceof jr.Name){let n=e===Fre.Num;return t?n?(0,jr._)`"[" + ${r} + "]"`:(0,jr._)`"['" + ${r} + "']"`:n?(0,jr._)`"/" + ${r}`:(0,jr._)`"/" + ${r}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return t?(0,jr.getProperty)(r).toString():"/"+$re(r)}Mt.getErrorPath=s2t;function j3e(r,e,t=r.opts.strictSchema){if(t){if(e=`strict mode: ${e}`,t===!0)throw new Error(e);r.self.logger.warn(e)}}Mt.checkStrictMode=j3e});var vp=E(jre=>{"use strict";Object.defineProperty(jre,"__esModule",{value:!0});var wa=bt(),o2t={data:new wa.Name("data"),valCxt:new wa.Name("valCxt"),instancePath:new wa.Name("instancePath"),parentData:new wa.Name("parentData"),parentDataProperty:new wa.Name("parentDataProperty"),rootData:new wa.Name("rootData"),dynamicAnchors:new wa.Name("dynamicAnchors"),vErrors:new wa.Name("vErrors"),errors:new wa.Name("errors"),this:new wa.Name("this"),self:new wa.Name("self"),scope:new wa.Name("scope"),json:new wa.Name("json"),jsonPos:new wa.Name("jsonPos"),jsonLen:new wa.Name("jsonLen"),jsonPart:new wa.Name("jsonPart")};jre.default=o2t});var sM=E(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.extendErrors=Sa.resetErrorsCount=Sa.reportExtraError=Sa.reportError=Sa.keyword$DataError=Sa.keywordError=void 0;var ar=bt(),uz=ir(),Ga=vp();Sa.keywordError={message:({keyword:r})=>(0,ar.str)`must pass "${r}" keyword validation`};Sa.keyword$DataError={message:({keyword:r,schemaType:e})=>e?(0,ar.str)`"${r}" keyword must be ${e} ($data)`:(0,ar.str)`"${r}" keyword is invalid ($data)`};function l2t(r,e=Sa.keywordError,t,n){let{it:i}=r,{gen:a,compositeRule:s,allErrors:o}=i,l=H3e(r,e,t);(n!=null?n:s||o)?B3e(a,l):U3e(i,(0,ar._)`[${l}]`)}Sa.reportError=l2t;function c2t(r,e=Sa.keywordError,t){let{it:n}=r,{gen:i,compositeRule:a,allErrors:s}=n,o=H3e(r,e,t);B3e(i,o),a||s||U3e(n,Ga.default.vErrors)}Sa.reportExtraError=c2t;function d2t(r,e){r.assign(Ga.default.errors,e),r.if((0,ar._)`${Ga.default.vErrors} !== null`,()=>r.if(e,()=>r.assign((0,ar._)`${Ga.default.vErrors}.length`,e),()=>r.assign(Ga.default.vErrors,null)))}Sa.resetErrorsCount=d2t;function u2t({gen:r,keyword:e,schemaValue:t,data:n,errsCount:i,it:a}){if(i===void 0)throw new Error("ajv implementation error");let s=r.name("err");r.forRange("i",i,Ga.default.errors,o=>{r.const(s,(0,ar._)`${Ga.default.vErrors}[${o}]`),r.if((0,ar._)`${s}.instancePath === undefined`,()=>r.assign((0,ar._)`${s}.instancePath`,(0,ar.strConcat)(Ga.default.instancePath,a.errorPath))),r.assign((0,ar._)`${s}.schemaPath`,(0,ar.str)`${a.errSchemaPath}/${e}`),a.opts.verbose&&(r.assign((0,ar._)`${s}.schema`,t),r.assign((0,ar._)`${s}.data`,n))})}Sa.extendErrors=u2t;function B3e(r,e){let t=r.const("err",e);r.if((0,ar._)`${Ga.default.vErrors} === null`,()=>r.assign(Ga.default.vErrors,(0,ar._)`[${t}]`),(0,ar._)`${Ga.default.vErrors}.push(${t})`),r.code((0,ar._)`${Ga.default.errors}++`)}function U3e(r,e){let{gen:t,validateName:n,schemaEnv:i}=r;i.$async?t.throw((0,ar._)`new ${r.ValidationError}(${e})`):(t.assign((0,ar._)`${n}.errors`,e),t.return(!1))}var _y={keyword:new ar.Name("keyword"),schemaPath:new ar.Name("schemaPath"),params:new ar.Name("params"),propertyName:new ar.Name("propertyName"),message:new ar.Name("message"),schema:new ar.Name("schema"),parentSchema:new ar.Name("parentSchema")};function H3e(r,e,t){let{createErrors:n}=r.it;return n===!1?(0,ar._)`{}`:p2t(r,e,t)}function p2t(r,e,t={}){let{gen:n,it:i}=r,a=[m2t(i,t),f2t(r,t)];return h2t(r,e,a),n.object(...a)}function m2t({errorPath:r},{instancePath:e}){let t=e?(0,ar.str)`${r}${(0,uz.getErrorPath)(e,uz.Type.Str)}`:r;return[Ga.default.instancePath,(0,ar.strConcat)(Ga.default.instancePath,t)]}function f2t({keyword:r,it:{errSchemaPath:e}},{schemaPath:t,parentSchema:n}){let i=n?e:(0,ar.str)`${e}/${r}`;return t&&(i=(0,ar.str)`${i}${(0,uz.getErrorPath)(t,uz.Type.Str)}`),[_y.schemaPath,i]}function h2t(r,{params:e,message:t},n){let{keyword:i,data:a,schemaValue:s,it:o}=r,{opts:l,propertyName:c,topSchemaRef:d,schemaPath:u}=o;n.push([_y.keyword,i],[_y.params,typeof e=="function"?e(r):e||(0,ar._)`{}`]),l.messages&&n.push([_y.message,typeof t=="function"?t(r):t]),l.verbose&&n.push([_y.schema,s],[_y.parentSchema,(0,ar._)`${d}${u}`],[Ga.default.data,a]),c&&n.push([_y.propertyName,c])}});var q3e=E(Gk=>{"use strict";Object.defineProperty(Gk,"__esModule",{value:!0});Gk.boolOrEmptySchema=Gk.topBoolOrEmptySchema=void 0;var g2t=sM(),y2t=bt(),v2t=vp(),b2t={message:"boolean schema is false"};function T2t(r){let{gen:e,schema:t,validateName:n}=r;t===!1?V3e(r,!1):typeof t=="object"&&t.$async===!0?e.return(v2t.default.data):(e.assign((0,y2t._)`${n}.errors`,null),e.return(!0))}Gk.topBoolOrEmptySchema=T2t;function k2t(r,e){let{gen:t,schema:n}=r;n===!1?(t.var(e,!1),V3e(r)):t.var(e,!0)}Gk.boolOrEmptySchema=k2t;function V3e(r,e){let{gen:t,data:n}=r,i={gen:t,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:r};(0,g2t.reportError)(i,b2t,void 0,e)}});var Bre=E(Kk=>{"use strict";Object.defineProperty(Kk,"__esModule",{value:!0});Kk.getRules=Kk.isJSONType=void 0;var w2t=["string","number","integer","boolean","null","object","array"],S2t=new Set(w2t);function E2t(r){return typeof r=="string"&&S2t.has(r)}Kk.isJSONType=E2t;function x2t(){let r={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...r,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},r.number,r.string,r.array,r.object],post:{rules:[]},all:{},keywords:{}}}Kk.getRules=x2t});var Ure=E(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.shouldUseRule=xf.shouldUseGroup=xf.schemaHasRulesForType=void 0;function C2t({schema:r,self:e},t){let n=e.RULES.types[t];return n&&n!==!0&&W3e(r,n)}xf.schemaHasRulesForType=C2t;function W3e(r,e){return e.rules.some(t=>Y3e(r,t))}xf.shouldUseGroup=W3e;function Y3e(r,e){var t;return r[e.keyword]!==void 0||((t=e.definition.implements)===null||t===void 0?void 0:t.some(n=>r[n]!==void 0))}xf.shouldUseRule=Y3e});var oM=E(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.reportTypeError=Ea.checkDataTypes=Ea.checkDataType=Ea.coerceAndCheckDataType=Ea.getJSONTypes=Ea.getSchemaTypes=Ea.DataType=void 0;var D2t=Bre(),P2t=Ure(),M2t=sM(),ht=bt(),G3e=ir(),Zk;(function(r){r[r.Correct=0]="Correct",r[r.Wrong=1]="Wrong"})(Zk||(Ea.DataType=Zk={}));function _2t(r){let e=K3e(r.type);if(e.includes("null")){if(r.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!e.length&&r.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');r.nullable===!0&&e.push("null")}return e}Ea.getSchemaTypes=_2t;function K3e(r){let e=Array.isArray(r)?r:r?[r]:[];if(e.every(D2t.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}Ea.getJSONTypes=K3e;function A2t(r,e){let{gen:t,data:n,opts:i}=r,a=I2t(e,i.coerceTypes),s=e.length>0&&!(a.length===0&&e.length===1&&(0,P2t.schemaHasRulesForType)(r,e[0]));if(s){let o=Vre(e,n,i.strictNumbers,Zk.Wrong);t.if(o,()=>{a.length?N2t(r,e,a):qre(r)})}return s}Ea.coerceAndCheckDataType=A2t;var Z3e=new Set(["string","number","integer","boolean","null"]);function I2t(r,e){return e?r.filter(t=>Z3e.has(t)||e==="array"&&t==="array"):[]}function N2t(r,e,t){let{gen:n,data:i,opts:a}=r,s=n.let("dataType",(0,ht._)`typeof ${i}`),o=n.let("coerced",(0,ht._)`undefined`);a.coerceTypes==="array"&&n.if((0,ht._)`${s} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,(0,ht._)`${i}[0]`).assign(s,(0,ht._)`typeof ${i}`).if(Vre(e,i,a.strictNumbers),()=>n.assign(o,i))),n.if((0,ht._)`${o} !== undefined`);for(let c of t)(Z3e.has(c)||c==="array"&&a.coerceTypes==="array")&&l(c);n.else(),qre(r),n.endIf(),n.if((0,ht._)`${o} !== undefined`,()=>{n.assign(i,o),R2t(r,o)});function l(c){switch(c){case"string":n.elseIf((0,ht._)`${s} == "number" || ${s} == "boolean"`).assign(o,(0,ht._)`"" + ${i}`).elseIf((0,ht._)`${i} === null`).assign(o,(0,ht._)`""`);return;case"number":n.elseIf((0,ht._)`${s} == "boolean" || ${i} === null
|| (${s} == "string" && ${i} && ${i} == +${i})`).assign(o,(0,ht._)`+${i}`);return;case"integer":n.elseIf((0,ht._)`${s} === "boolean" || ${i} === null
|| (${s} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(o,(0,ht._)`+${i}`);return;case"boolean":n.elseIf((0,ht._)`${i} === "false" || ${i} === 0 || ${i} === null`).assign(o,!1).elseIf((0,ht._)`${i} === "true" || ${i} === 1`).assign(o,!0);return;case"null":n.elseIf((0,ht._)`${i} === "" || ${i} === 0 || ${i} === false`),n.assign(o,null);return;case"array":n.elseIf((0,ht._)`${s} === "string" || ${s} === "number"
|| ${s} === "boolean" || ${i} === null`).assign(o,(0,ht._)`[${i}]`)}}}function R2t({gen:r,parentData:e,parentDataProperty:t},n){r.if((0,ht._)`${e} !== undefined`,()=>r.assign((0,ht._)`${e}[${t}]`,n))}function Hre(r,e,t,n=Zk.Correct){let i=n===Zk.Correct?ht.operators.EQ:ht.operators.NEQ,a;switch(r){case"null":return(0,ht._)`${e} ${i} null`;case"array":a=(0,ht._)`Array.isArray(${e})`;break;case"object":a=(0,ht._)`${e} && typeof ${e} == "object" && !Array.isArray(${e})`;break;case"integer":a=s((0,ht._)`!(${e} % 1) && !isNaN(${e})`);break;case"number":a=s();break;default:return(0,ht._)`typeof ${e} ${i} ${r}`}return n===Zk.Correct?a:(0,ht.not)(a);function s(o=ht.nil){return(0,ht.and)((0,ht._)`typeof ${e} == "number"`,o,t?(0,ht._)`isFinite(${e})`:ht.nil)}}Ea.checkDataType=Hre;function Vre(r,e,t,n){if(r.length===1)return Hre(r[0],e,t,n);let i,a=(0,G3e.toHash)(r);if(a.array&&a.object){let s=(0,ht._)`typeof ${e} != "object"`;i=a.null?s:(0,ht._)`!${e} || ${s}`,delete a.null,delete a.array,delete a.object}else i=ht.nil;a.number&&delete a.integer;for(let s in a)i=(0,ht.and)(i,Hre(s,e,t,n));return i}Ea.checkDataTypes=Vre;var O2t={message:({schema:r})=>`must be ${r}`,params:({schema:r,schemaValue:e})=>typeof r=="string"?(0,ht._)`{type: ${r}}`:(0,ht._)`{type: ${e}}`};function qre(r){let e=L2t(r);(0,M2t.reportError)(e,O2t)}Ea.reportTypeError=qre;function L2t(r){let{gen:e,data:t,schema:n}=r,i=(0,G3e.schemaRefOrVal)(r,n,"type");return{gen:e,keyword:"type",data:t,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:r}}});var J3e=E(pz=>{"use strict";Object.defineProperty(pz,"__esModule",{value:!0});pz.assignDefaults=void 0;var Qk=bt(),F2t=ir();function $2t(r,e){let{properties:t,items:n}=r.schema;if(e==="object"&&t)for(let i in t)Q3e(r,i,t[i].default);else e==="array"&&Array.isArray(n)&&n.forEach((i,a)=>Q3e(r,a,i.default))}pz.assignDefaults=$2t;function Q3e(r,e,t){let{gen:n,compositeRule:i,data:a,opts:s}=r;if(t===void 0)return;let o=(0,Qk._)`${a}${(0,Qk.getProperty)(e)}`;if(i){(0,F2t.checkStrictMode)(r,`default is ignored for: ${o}`);return}let l=(0,Qk._)`${o} === undefined`;s.useDefaults==="empty"&&(l=(0,Qk._)`${l} || ${o} === null || ${o} === ""`),n.if(l,(0,Qk._)`${o} = ${(0,Qk.stringify)(t)}`)}});var dl=E(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.validateUnion=Fr.validateArray=Fr.usePattern=Fr.callValidateCode=Fr.schemaProperties=Fr.allSchemaProperties=Fr.noPropertyInData=Fr.propertyInData=Fr.isOwnProperty=Fr.hasPropFunc=Fr.reportMissingProp=Fr.checkMissingProp=Fr.checkReportMissingProp=void 0;var an=bt(),Wre=ir(),Cf=vp(),z2t=ir();function j2t(r,e){let{gen:t,data:n,it:i}=r;t.if(Gre(t,n,e,i.opts.ownProperties),()=>{r.setParams({missingProperty:(0,an._)`${e}`},!0),r.error()})}Fr.checkReportMissingProp=j2t;function B2t({gen:r,data:e,it:{opts:t}},n,i){return(0,an.or)(...n.map(a=>(0,an.and)(Gre(r,e,a,t.ownProperties),(0,an._)`${i} = ${a}`)))}Fr.checkMissingProp=B2t;function U2t(r,e){r.setParams({missingProperty:e},!0),r.error()}Fr.reportMissingProp=U2t;function X3e(r){return r.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,an._)`Object.prototype.hasOwnProperty`})}Fr.hasPropFunc=X3e;function Yre(r,e,t){return(0,an._)`${X3e(r)}.call(${e}, ${t})`}Fr.isOwnProperty=Yre;function H2t(r,e,t,n){let i=(0,an._)`${e}${(0,an.getProperty)(t)} !== undefined`;return n?(0,an._)`${i} && ${Yre(r,e,t)}`:i}Fr.propertyInData=H2t;function Gre(r,e,t,n){let i=(0,an._)`${e}${(0,an.getProperty)(t)} === undefined`;return n?(0,an.or)(i,(0,an.not)(Yre(r,e,t))):i}Fr.noPropertyInData=Gre;function eYe(r){return r?Object.keys(r).filter(e=>e!=="__proto__"):[]}Fr.allSchemaProperties=eYe;function V2t(r,e){return eYe(e).filter(t=>!(0,Wre.alwaysValidSchema)(r,e[t]))}Fr.schemaProperties=V2t;function q2t({schemaCode:r,data:e,it:{gen:t,topSchemaRef:n,schemaPath:i,errorPath:a},it:s},o,l,c){let d=c?(0,an._)`${r}, ${e}, ${n}${i}`:e,u=[[Cf.default.instancePath,(0,an.strConcat)(Cf.default.instancePath,a)],[Cf.default.parentData,s.parentData],[Cf.default.parentDataProperty,s.parentDataProperty],[Cf.default.rootData,Cf.default.rootData]];s.opts.dynamicRef&&u.push([Cf.default.dynamicAnchors,Cf.default.dynamicAnchors]);let p=(0,an._)`${d}, ${t.object(...u)}`;return l!==an.nil?(0,an._)`${o}.call(${l}, ${p})`:(0,an._)`${o}(${p})`}Fr.callValidateCode=q2t;var W2t=(0,an._)`new RegExp`;function Y2t({gen:r,it:{opts:e}},t){let n=e.unicodeRegExp?"u":"",{regExp:i}=e.code,a=i(t,n);return r.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,an._)`${i.code==="new RegExp"?W2t:(0,z2t.useFunc)(r,i)}(${t}, ${n})`})}Fr.usePattern=Y2t;function G2t(r){let{gen:e,data:t,keyword:n,it:i}=r,a=e.name("valid");if(i.allErrors){let o=e.let("valid",!0);return s(()=>e.assign(o,!1)),o}return e.var(a,!0),s(()=>e.break()),a;function s(o){let l=e.const("len",(0,an._)`${t}.length`);e.forRange("i",0,l,c=>{r.subschema({keyword:n,dataProp:c,dataPropType:Wre.Type.Num},a),e.if((0,an.not)(a),o)})}}Fr.validateArray=G2t;function K2t(r){let{gen:e,schema:t,keyword:n,it:i}=r;if(!Array.isArray(t))throw new Error("ajv implementation error");if(t.some(l=>(0,Wre.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;let s=e.let("valid",!1),o=e.name("_valid");e.block(()=>t.forEach((l,c)=>{let d=r.subschema({keyword:n,schemaProp:c,compositeRule:!0},o);e.assign(s,(0,an._)`${s} || ${o}`),r.mergeValidEvaluated(d,o)||e.if((0,an.not)(s))})),r.result(s,()=>r.reset(),()=>r.error(!0))}Fr.validateUnion=K2t});var nYe=E(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.validateKeywordUsage=Od.validSchemaType=Od.funcKeywordCode=Od.macroKeywordCode=void 0;var Ka=bt(),Ay=vp(),Z2t=dl(),Q2t=sM();function J2t(r,e){let{gen:t,keyword:n,schema:i,parentSchema:a,it:s}=r,o=e.macro.call(s.self,i,a,s),l=rYe(t,n,o);s.opts.validateSchema!==!1&&s.self.validateSchema(o,!0);let c=t.name("valid");r.subschema({schema:o,schemaPath:Ka.nil,errSchemaPath:`${s.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},c),r.pass(c,()=>r.error(!0))}Od.macroKeywordCode=J2t;function X2t(r,e){var t;let{gen:n,keyword:i,schema:a,parentSchema:s,$data:o,it:l}=r;tUt(l,e);let c=!o&&e.compile?e.compile.call(l.self,a,s,l):e.validate,d=rYe(n,i,c),u=n.let("valid");r.block$data(u,p),r.ok((t=e.valid)!==null&&t!==void 0?t:u);function p(){if(e.errors===!1)h(),e.modifying&&tYe(r),g(()=>r.error());else{let v=e.async?m():f();e.modifying&&tYe(r),g(()=>eUt(r,v))}}function m(){let v=n.let("ruleErrs",null);return n.try(()=>h((0,Ka._)`await `),k=>n.assign(u,!1).if((0,Ka._)`${k} instanceof ${l.ValidationError}`,()=>n.assign(v,(0,Ka._)`${k}.errors`),()=>n.throw(k))),v}function f(){let v=(0,Ka._)`${d}.errors`;return n.assign(v,null),h(Ka.nil),v}function h(v=e.async?(0,Ka._)`await `:Ka.nil){let k=l.opts.passContext?Ay.default.this:Ay.default.self,b=!("compile"in e&&!o||e.schema===!1);n.assign(u,(0,Ka._)`${v}${(0,Z2t.callValidateCode)(r,d,k,b)}`,e.modifying)}function g(v){var k;n.if((0,Ka.not)((k=e.valid)!==null&&k!==void 0?k:u),v)}}Od.funcKeywordCode=X2t;function tYe(r){let{gen:e,data:t,it:n}=r;e.if(n.parentData,()=>e.assign(t,(0,Ka._)`${n.parentData}[${n.parentDataProperty}]`))}function eUt(r,e){let{gen:t}=r;t.if((0,Ka._)`Array.isArray(${e})`,()=>{t.assign(Ay.default.vErrors,(0,Ka._)`${Ay.default.vErrors} === null ? ${e} : ${Ay.default.vErrors}.concat(${e})`).assign(Ay.default.errors,(0,Ka._)`${Ay.default.vErrors}.length`),(0,Q2t.extendErrors)(r)},()=>r.error())}function tUt({schemaEnv:r},e){if(e.async&&!r.$async)throw new Error("async keyword in sync schema")}function rYe(r,e,t){if(t===void 0)throw new Error(`keyword "${e}" failed to compile`);return r.scopeValue("keyword",typeof t=="function"?{ref:t}:{ref:t,code:(0,Ka.stringify)(t)})}function rUt(r,e,t=!1){return!e.length||e.some(n=>n==="array"?Array.isArray(r):n==="object"?r&&typeof r=="object"&&!Array.isArray(r):typeof r==n||t&&typeof r=="undefined")}Od.validSchemaType=rUt;function nUt({schema:r,opts:e,self:t,errSchemaPath:n},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw new Error("ajv implementation error");let s=i.dependencies;if(s!=null&&s.some(o=>!Object.prototype.hasOwnProperty.call(r,o)))throw new Error(`parent schema must have dependencies of ${a}: ${s.join(",")}`);if(i.validateSchema&&!i.validateSchema(r[a])){let l=`keyword "${a}" value is invalid at path "${n}": `+t.errorsText(i.validateSchema.errors);if(e.validateSchema==="log")t.logger.error(l);else throw new Error(l)}}Od.validateKeywordUsage=nUt});var aYe=E(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.extendSubschemaMode=Df.extendSubschemaData=Df.getSubschema=void 0;var Ld=bt(),iYe=ir();function iUt(r,{keyword:e,schemaProp:t,schema:n,schemaPath:i,errSchemaPath:a,topSchemaRef:s}){if(e!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(e!==void 0){let o=r.schema[e];return t===void 0?{schema:o,schemaPath:(0,Ld._)`${r.schemaPath}${(0,Ld.getProperty)(e)}`,errSchemaPath:`${r.errSchemaPath}/${e}`}:{schema:o[t],schemaPath:(0,Ld._)`${r.schemaPath}${(0,Ld.getProperty)(e)}${(0,Ld.getProperty)(t)}`,errSchemaPath:`${r.errSchemaPath}/${e}/${(0,iYe.escapeFragment)(t)}`}}if(n!==void 0){if(i===void 0||a===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:s,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}Df.getSubschema=iUt;function aUt(r,e,{dataProp:t,dataPropType:n,data:i,dataTypes:a,propertyName:s}){if(i!==void 0&&t!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:o}=e;if(t!==void 0){let{errorPath:c,dataPathArr:d,opts:u}=e,p=o.let("data",(0,Ld._)`${e.data}${(0,Ld.getProperty)(t)}`,!0);l(p),r.errorPath=(0,Ld.str)`${c}${(0,iYe.getErrorPath)(t,n,u.jsPropertySyntax)}`,r.parentDataProperty=(0,Ld._)`${t}`,r.dataPathArr=[...d,r.parentDataProperty]}if(i!==void 0){let c=i instanceof Ld.Name?i:o.let("data",i,!0);l(c),s!==void 0&&(r.propertyName=s)}a&&(r.dataTypes=a);function l(c){r.data=c,r.dataLevel=e.dataLevel+1,r.dataTypes=[],e.definedProperties=new Set,r.parentData=e.data,r.dataNames=[...e.dataNames,c]}}Df.extendSubschemaData=aUt;function sUt(r,{jtdDiscriminator:e,jtdMetadata:t,compositeRule:n,createErrors:i,allErrors:a}){n!==void 0&&(r.compositeRule=n),i!==void 0&&(r.createErrors=i),a!==void 0&&(r.allErrors=a),r.jtdDiscriminator=e,r.jtdMetadata=t}Df.extendSubschemaMode=sUt});var oYe=E((h8r,sYe)=>{"use strict";var Pf=sYe.exports=function(r,e,t){typeof e=="function"&&(t=e,e={}),t=e.cb||t;var n=typeof t=="function"?t:t.pre||function(){},i=t.post||function(){};mz(e,n,i,r,"",r)};Pf.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Pf.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Pf.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Pf.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function mz(r,e,t,n,i,a,s,o,l,c){if(n&&typeof n=="object"&&!Array.isArray(n)){e(n,i,a,s,o,l,c);for(var d in n){var u=n[d];if(Array.isArray(u)){if(d in Pf.arrayKeywords)for(var p=0;p<u.length;p++)mz(r,e,t,u[p],i+"/"+d+"/"+p,a,i,d,n,p)}else if(d in Pf.propsKeywords){if(u&&typeof u=="object")for(var m in u)mz(r,e,t,u[m],i+"/"+d+"/"+oUt(m),a,i,d,n,m)}else(d in Pf.keywords||r.allKeys&&!(d in Pf.skipKeywords))&&mz(r,e,t,u,i+"/"+d,a,i,d,n)}t(n,i,a,s,o,l,c)}}function oUt(r){return r.replace(/~/g,"~0").replace(/\//g,"~1")}});var lM=E(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.getSchemaRefs=As.resolveUrl=As.normalizeId=As._getFullPath=As.getFullPath=As.inlineRef=void 0;var lUt=ir(),cUt=N0(),dUt=oYe(),uUt=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function pUt(r,e=!0){return typeof r=="boolean"?!0:e===!0?!Kre(r):e?lYe(r)<=e:!1}As.inlineRef=pUt;var mUt=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Kre(r){for(let e in r){if(mUt.has(e))return!0;let t=r[e];if(Array.isArray(t)&&t.some(Kre)||typeof t=="object"&&Kre(t))return!0}return!1}function lYe(r){let e=0;for(let t in r){if(t==="$ref")return 1/0;if(e++,!uUt.has(t)&&(typeof r[t]=="object"&&(0,lUt.eachItem)(r[t],n=>e+=lYe(n)),e===1/0))return 1/0}return e}function cYe(r,e="",t){t!==!1&&(e=Jk(e));let n=r.parse(e);return dYe(r,n)}As.getFullPath=cYe;function dYe(r,e){return r.serialize(e).split("#")[0]+"#"}As._getFullPath=dYe;var fUt=/#\/?$/;function Jk(r){return r?r.replace(fUt,""):""}As.normalizeId=Jk;function hUt(r,e,t){return t=Jk(t),r.resolve(e,t)}As.resolveUrl=hUt;var gUt=/^[a-z_][-a-z0-9._]*$/i;function yUt(r,e){if(typeof r=="boolean")return{};let{schemaId:t,uriResolver:n}=this.opts,i=Jk(r[t]||e),a={"":i},s=cYe(n,i,!1),o={},l=new Set;return dUt(r,{allKeys:!0},(u,p,m,f)=>{if(f===void 0)return;let h=s+p,g=a[f];typeof u[t]=="string"&&(g=v.call(this,u[t])),k.call(this,u.$anchor),k.call(this,u.$dynamicAnchor),a[p]=g;function v(b){let w=this.opts.uriResolver.resolve;if(b=Jk(g?w(g,b):b),l.has(b))throw d(b);l.add(b);let S=this.refs[b];return typeof S=="string"&&(S=this.refs[S]),typeof S=="object"?c(u,S.schema,b):b!==Jk(h)&&(b[0]==="#"?(c(u,o[b],b),o[b]=u):this.refs[b]=h),b}function k(b){if(typeof b=="string"){if(!gUt.test(b))throw new Error(`invalid anchor "${b}"`);v.call(this,`#${b}`)}}}),o;function c(u,p,m){if(p!==void 0&&!cUt(u,p))throw d(m)}function d(u){return new Error(`reference "${u}" resolves to more than one schema`)}}As.getSchemaRefs=yUt});var uM=E(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.getData=Mf.KeywordCxt=Mf.validateFunctionCode=void 0;var hYe=q3e(),uYe=oM(),Qre=Ure(),fz=oM(),vUt=J3e(),dM=nYe(),Zre=aYe(),$e=bt(),at=vp(),bUt=lM(),bp=ir(),cM=sM();function TUt(r){if(vYe(r)&&(bYe(r),yYe(r))){SUt(r);return}gYe(r,()=>(0,hYe.topBoolOrEmptySchema)(r))}Mf.validateFunctionCode=TUt;function gYe({gen:r,validateName:e,schema:t,schemaEnv:n,opts:i},a){i.code.es5?r.func(e,(0,$e._)`${at.default.data}, ${at.default.valCxt}`,n.$async,()=>{r.code((0,$e._)`"use strict"; ${pYe(t,i)}`),wUt(r,i),r.code(a)}):r.func(e,(0,$e._)`${at.default.data}, ${kUt(i)}`,n.$async,()=>r.code(pYe(t,i)).code(a))}function kUt(r){return(0,$e._)`{${at.default.instancePath}="", ${at.default.parentData}, ${at.default.parentDataProperty}, ${at.default.rootData}=${at.default.data}${r.dynamicRef?(0,$e._)`, ${at.default.dynamicAnchors}={}`:$e.nil}}={}`}function wUt(r,e){r.if(at.default.valCxt,()=>{r.var(at.default.instancePath,(0,$e._)`${at.default.valCxt}.${at.default.instancePath}`),r.var(at.default.parentData,(0,$e._)`${at.default.valCxt}.${at.default.parentData}`),r.var(at.default.parentDataProperty,(0,$e._)`${at.default.valCxt}.${at.default.parentDataProperty}`),r.var(at.default.rootData,(0,$e._)`${at.default.valCxt}.${at.default.rootData}`),e.dynamicRef&&r.var(at.default.dynamicAnchors,(0,$e._)`${at.default.valCxt}.${at.default.dynamicAnchors}`)},()=>{r.var(at.default.instancePath,(0,$e._)`""`),r.var(at.default.parentData,(0,$e._)`undefined`),r.var(at.default.parentDataProperty,(0,$e._)`undefined`),r.var(at.default.rootData,at.default.data),e.dynamicRef&&r.var(at.default.dynamicAnchors,(0,$e._)`{}`)})}function SUt(r){let{schema:e,opts:t,gen:n}=r;gYe(r,()=>{t.$comment&&e.$comment&&kYe(r),PUt(r),n.let(at.default.vErrors,null),n.let(at.default.errors,0),t.unevaluated&&EUt(r),TYe(r),AUt(r)})}function EUt(r){let{gen:e,validateName:t}=r;r.evaluated=e.const("evaluated",(0,$e._)`${t}.evaluated`),e.if((0,$e._)`${r.evaluated}.dynamicProps`,()=>e.assign((0,$e._)`${r.evaluated}.props`,(0,$e._)`undefined`)),e.if((0,$e._)`${r.evaluated}.dynamicItems`,()=>e.assign((0,$e._)`${r.evaluated}.items`,(0,$e._)`undefined`))}function pYe(r,e){let t=typeof r=="object"&&r[e.schemaId];return t&&(e.code.source||e.code.process)?(0,$e._)`/*# sourceURL=${t} */`:$e.nil}function xUt(r,e){if(vYe(r)&&(bYe(r),yYe(r))){CUt(r,e);return}(0,hYe.boolOrEmptySchema)(r,e)}function yYe({schema:r,self:e}){if(typeof r=="boolean")return!r;for(let t in r)if(e.RULES.all[t])return!0;return!1}function vYe(r){return typeof r.schema!="boolean"}function CUt(r,e){let{schema:t,gen:n,opts:i}=r;i.$comment&&t.$comment&&kYe(r),MUt(r),_Ut(r);let a=n.const("_errs",at.default.errors);TYe(r,a),n.var(e,(0,$e._)`${a} === ${at.default.errors}`)}function bYe(r){(0,bp.checkUnknownRules)(r),DUt(r)}function TYe(r,e){if(r.opts.jtd)return mYe(r,[],!1,e);let t=(0,uYe.getSchemaTypes)(r.schema),n=(0,uYe.coerceAndCheckDataType)(r,t);mYe(r,t,!n,e)}function DUt(r){let{schema:e,errSchemaPath:t,opts:n,self:i}=r;e.$ref&&n.ignoreKeywordsWithRef&&(0,bp.schemaHasRulesButRef)(e,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${t}"`)}function PUt(r){let{schema:e,opts:t}=r;e.default!==void 0&&t.useDefaults&&t.strictSchema&&(0,bp.checkStrictMode)(r,"default is ignored in the schema root")}function MUt(r){let e=r.schema[r.opts.schemaId];e&&(r.baseId=(0,bUt.resolveUrl)(r.opts.uriResolver,r.baseId,e))}function _Ut(r){if(r.schema.$async&&!r.schemaEnv.$async)throw new Error("async schema in sync schema")}function kYe({gen:r,schemaEnv:e,schema:t,errSchemaPath:n,opts:i}){let a=t.$comment;if(i.$comment===!0)r.code((0,$e._)`${at.default.self}.logger.log(${a})`);else if(typeof i.$comment=="function"){let s=(0,$e.str)`${n}/$comment`,o=r.scopeValue("root",{ref:e.root});r.code((0,$e._)`${at.default.self}.opts.$comment(${a}, ${s}, ${o}.schema)`)}}function AUt(r){let{gen:e,schemaEnv:t,validateName:n,ValidationError:i,opts:a}=r;t.$async?e.if((0,$e._)`${at.default.errors} === 0`,()=>e.return(at.default.data),()=>e.throw((0,$e._)`new ${i}(${at.default.vErrors})`)):(e.assign((0,$e._)`${n}.errors`,at.default.vErrors),a.unevaluated&&IUt(r),e.return((0,$e._)`${at.default.errors} === 0`))}function IUt({gen:r,evaluated:e,props:t,items:n}){t instanceof $e.Name&&r.assign((0,$e._)`${e}.props`,t),n instanceof $e.Name&&r.assign((0,$e._)`${e}.items`,n)}function mYe(r,e,t,n){let{gen:i,schema:a,data:s,allErrors:o,opts:l,self:c}=r,{RULES:d}=c;if(a.$ref&&(l.ignoreKeywordsWithRef||!(0,bp.schemaHasRulesButRef)(a,d))){i.block(()=>SYe(r,"$ref",d.all.$ref.definition));return}l.jtd||NUt(r,e),i.block(()=>{for(let p of d.rules)u(p);u(d.post)});function u(p){(0,Qre.shouldUseGroup)(a,p)&&(p.type?(i.if((0,fz.checkDataType)(p.type,s,l.strictNumbers)),fYe(r,p),e.length===1&&e[0]===p.type&&t&&(i.else(),(0,fz.reportTypeError)(r)),i.endIf()):fYe(r,p),o||i.if((0,$e._)`${at.default.errors} === ${n||0}`))}}function fYe(r,e){let{gen:t,schema:n,opts:{useDefaults:i}}=r;i&&(0,vUt.assignDefaults)(r,e.type),t.block(()=>{for(let a of e.rules)(0,Qre.shouldUseRule)(n,a)&&SYe(r,a.keyword,a.definition,e.type)})}function NUt(r,e){r.schemaEnv.meta||!r.opts.strictTypes||(RUt(r,e),r.opts.allowUnionTypes||OUt(r,e),LUt(r,r.dataTypes))}function RUt(r,e){if(e.length){if(!r.dataTypes.length){r.dataTypes=e;return}e.forEach(t=>{wYe(r.dataTypes,t)||Jre(r,`type "${t}" not allowed by context "${r.dataTypes.join(",")}"`)}),$Ut(r,e)}}function OUt(r,e){e.length>1&&!(e.length===2&&e.includes("null"))&&Jre(r,"use allowUnionTypes to allow union type keyword")}function LUt(r,e){let t=r.self.RULES.all;for(let n in t){let i=t[n];if(typeof i=="object"&&(0,Qre.shouldUseRule)(r.schema,i)){let{type:a}=i.definition;a.length&&!a.some(s=>FUt(e,s))&&Jre(r,`missing type "${a.join(",")}" for keyword "${n}"`)}}}function FUt(r,e){return r.includes(e)||e==="number"&&r.includes("integer")}function wYe(r,e){return r.includes(e)||e==="integer"&&r.includes("number")}function $Ut(r,e){let t=[];for(let n of r.dataTypes)wYe(e,n)?t.push(n):e.includes("integer")&&n==="number"&&t.push("integer");r.dataTypes=t}function Jre(r,e){let t=r.schemaEnv.baseId+r.errSchemaPath;e+=` at "${t}" (strictTypes)`,(0,bp.checkStrictMode)(r,e,r.opts.strictTypes)}var hz=class{constructor(e,t,n){if((0,dM.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,bp.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",EYe(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,dM.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:t.errors!==!1)&&(this.errsCount=e.gen.const("_errs",at.default.errors))}result(e,t,n){this.failResult((0,$e.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,$e.not)(e),void 0,t)}fail(e){if(e===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail((0,$e._)`${t} !== undefined && (${(0,$e.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t){this.setParams(t),this._error(e,n),this.setParams({});return}this._error(e,n)}_error(e,t){(e?cM.reportExtraError:cM.reportError)(this,this.def.error,t)}$dataError(){(0,cM.reportError)(this,this.def.$dataError||cM.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,cM.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=$e.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=$e.nil,t=$e.nil){if(!this.$data)return;let{gen:n,schemaCode:i,schemaType:a,def:s}=this;n.if((0,$e.or)((0,$e._)`${i} === undefined`,t)),e!==$e.nil&&n.assign(e,!0),(a.length||s.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==$e.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:n,def:i,it:a}=this;return(0,$e.or)(s(),o());function s(){if(n.length){if(!(t instanceof $e.Name))throw new Error("ajv implementation error");let l=Array.isArray(n)?n:[n];return(0,$e._)`${(0,fz.checkDataTypes)(l,t,a.opts.strictNumbers,fz.DataType.Wrong)}`}return $e.nil}function o(){if(i.validateSchema){let l=e.scopeValue("validate$data",{ref:i.validateSchema});return(0,$e._)`!${l}(${t})`}return $e.nil}}subschema(e,t){let n=(0,Zre.getSubschema)(this.it,e);(0,Zre.extendSubschemaData)(n,this.it,e),(0,Zre.extendSubschemaMode)(n,e);let i={...this.it,...n,items:void 0,props:void 0};return xUt(i,t),i}mergeEvaluated(e,t){let{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&e.props!==void 0&&(n.props=bp.mergeEvaluated.props(i,e.props,n.props,t)),n.items!==!0&&e.items!==void 0&&(n.items=bp.mergeEvaluated.items(i,e.items,n.items,t)))}mergeValidEvaluated(e,t){let{it:n,gen:i}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return i.if(t,()=>this.mergeEvaluated(e,$e.Name)),!0}};Mf.KeywordCxt=hz;function SYe(r,e,t,n){let i=new hz(r,t,e);"code"in t?t.code(i,n):i.$data&&t.validate?(0,dM.funcKeywordCode)(i,t):"macro"in t?(0,dM.macroKeywordCode)(i,t):(t.compile||t.validate)&&(0,dM.funcKeywordCode)(i,t)}var zUt=/^\/(?:[^~]|~0|~1)*$/,jUt=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function EYe(r,{dataLevel:e,dataNames:t,dataPathArr:n}){let i,a;if(r==="")return at.default.rootData;if(r[0]==="/"){if(!zUt.test(r))throw new Error(`Invalid JSON-pointer: ${r}`);i=r,a=at.default.rootData}else{let c=jUt.exec(r);if(!c)throw new Error(`Invalid JSON-pointer: ${r}`);let d=+c[1];if(i=c[2],i==="#"){if(d>=e)throw new Error(l("property/index",d));return n[e-d]}if(d>e)throw new Error(l("data",d));if(a=t[e-d],!i)return a}let s=a,o=i.split("/");for(let c of o)c&&(a=(0,$e._)`${a}${(0,$e.getProperty)((0,bp.unescapeJsonPointer)(c))}`,s=(0,$e._)`${s} && ${a}`);return s;function l(c,d){return`Cannot access ${c} ${d} levels up, current level is ${e}`}}Mf.getData=EYe});var gz=E(ene=>{"use strict";Object.defineProperty(ene,"__esModule",{value:!0});var Xre=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};ene.default=Xre});var pM=E(nne=>{"use strict";Object.defineProperty(nne,"__esModule",{value:!0});var tne=lM(),rne=class extends Error{constructor(e,t,n,i){super(i||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,tne.resolveUrl)(e,t,n),this.missingSchema=(0,tne.normalizeId)((0,tne.getFullPath)(e,this.missingRef))}};nne.default=rne});var vz=E(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.resolveSchema=ul.getCompilingSchema=ul.resolveRef=ul.compileSchema=ul.SchemaEnv=void 0;var ic=bt(),BUt=gz(),Iy=vp(),ac=lM(),xYe=ir(),UUt=uM(),Xk=class{constructor(e){var t;this.refs={},this.dynamicAnchors={};let n;typeof e.schema=="object"&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,ac.normalizeId)(n==null?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};ul.SchemaEnv=Xk;function ane(r){let e=CYe.call(this,r);if(e)return e;let t=(0,ac.getFullPath)(this.opts.uriResolver,r.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:a}=this.opts,s=new ic.CodeGen(this.scope,{es5:n,lines:i,ownProperties:a}),o;r.$async&&(o=s.scopeValue("Error",{ref:BUt.default,code:(0,ic._)`require("ajv/dist/runtime/validation_error").default`}));let l=s.scopeName("validate");r.validateName=l;let c={gen:s,allErrors:this.opts.allErrors,data:Iy.default.data,parentData:Iy.default.parentData,parentDataProperty:Iy.default.parentDataProperty,dataNames:[Iy.default.data],dataPathArr:[ic.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:r.schema,code:(0,ic.stringify)(r.schema)}:{ref:r.schema}),validateName:l,ValidationError:o,schema:r.schema,schemaEnv:r,rootId:t,baseId:r.baseId||t,schemaPath:ic.nil,errSchemaPath:r.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,ic._)`""`,opts:this.opts,self:this},d;try{this._compilations.add(r),(0,UUt.validateFunctionCode)(c),s.optimize(this.opts.code.optimize);let u=s.toString();d=`${s.scopeRefs(Iy.default.scope)}return ${u}`,this.opts.code.process&&(d=this.opts.code.process(d,r));let m=new Function(`${Iy.default.self}`,`${Iy.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:m}),m.errors=null,m.schema=r.schema,m.schemaEnv=r,r.$async&&(m.$async=!0),this.opts.code.source===!0&&(m.source={validateName:l,validateCode:u,scopeValues:s._values}),this.opts.unevaluated){let{props:f,items:h}=c;m.evaluated={props:f instanceof ic.Name?void 0:f,items:h instanceof ic.Name?void 0:h,dynamicProps:f instanceof ic.Name,dynamicItems:h instanceof ic.Name},m.source&&(m.source.evaluated=(0,ic.stringify)(m.evaluated))}return r.validate=m,r}catch(u){throw delete r.validate,delete r.validateName,d&&this.logger.error("Error compiling schema, function code:",d),u}finally{this._compilations.delete(r)}}ul.compileSchema=ane;function HUt(r,e,t){var n;t=(0,ac.resolveUrl)(this.opts.uriResolver,e,t);let i=r.refs[t];if(i)return i;let a=WUt.call(this,r,t);if(a===void 0){let s=(n=r.localRefs)===null||n===void 0?void 0:n[t],{schemaId:o}=this.opts;s&&(a=new Xk({schema:s,schemaId:o,root:r,baseId:e}))}if(a!==void 0)return r.refs[t]=VUt.call(this,a)}ul.resolveRef=HUt;function VUt(r){return(0,ac.inlineRef)(r.schema,this.opts.inlineRefs)?r.schema:r.validate?r:ane.call(this,r)}function CYe(r){for(let e of this._compilations)if(qUt(e,r))return e}ul.getCompilingSchema=CYe;function qUt(r,e){return r.schema===e.schema&&r.root===e.root&&r.baseId===e.baseId}function WUt(r,e){let t;for(;typeof(t=this.refs[e])=="string";)e=t;return t||this.schemas[e]||yz.call(this,r,e)}function yz(r,e){let t=this.opts.uriResolver.parse(e),n=(0,ac._getFullPath)(this.opts.uriResolver,t),i=(0,ac.getFullPath)(this.opts.uriResolver,r.baseId,void 0);if(Object.keys(r.schema).length>0&&n===i)return ine.call(this,t,r);let a=(0,ac.normalizeId)(n),s=this.refs[a]||this.schemas[a];if(typeof s=="string"){let o=yz.call(this,r,s);return typeof(o==null?void 0:o.schema)!="object"?void 0:ine.call(this,t,o)}if(typeof(s==null?void 0:s.schema)=="object"){if(s.validate||ane.call(this,s),a===(0,ac.normalizeId)(e)){let{schema:o}=s,{schemaId:l}=this.opts,c=o[l];return c&&(i=(0,ac.resolveUrl)(this.opts.uriResolver,i,c)),new Xk({schema:o,schemaId:l,root:r,baseId:i})}return ine.call(this,t,s)}}ul.resolveSchema=yz;var YUt=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function ine(r,{baseId:e,schema:t,root:n}){var i;if(((i=r.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(let o of r.fragment.slice(1).split("/")){if(typeof t=="boolean")return;let l=t[(0,xYe.unescapeFragment)(o)];if(l===void 0)return;t=l;let c=typeof t=="object"&&t[this.opts.schemaId];!YUt.has(o)&&c&&(e=(0,ac.resolveUrl)(this.opts.uriResolver,e,c))}let a;if(typeof t!="boolean"&&t.$ref&&!(0,xYe.schemaHasRulesButRef)(t,this.RULES)){let o=(0,ac.resolveUrl)(this.opts.uriResolver,e,t.$ref);a=yz.call(this,n,o)}let{schemaId:s}=this.opts;if(a=a||new Xk({schema:t,schemaId:s,root:n,baseId:e}),a.schema!==a.root.schema)return a}});var DYe=E((k8r,GUt)=>{GUt.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var MYe=E(sne=>{"use strict";Object.defineProperty(sne,"__esModule",{value:!0});var PYe=wte();PYe.code='require("ajv/dist/runtime/uri").default';sne.default=PYe});var FYe=E(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.CodeGen=Zi.Name=Zi.nil=Zi.stringify=Zi.str=Zi._=Zi.KeywordCxt=void 0;var KUt=uM();Object.defineProperty(Zi,"KeywordCxt",{enumerable:!0,get:function(){return KUt.KeywordCxt}});var ew=bt();Object.defineProperty(Zi,"_",{enumerable:!0,get:function(){return ew._}});Object.defineProperty(Zi,"str",{enumerable:!0,get:function(){return ew.str}});Object.defineProperty(Zi,"stringify",{enumerable:!0,get:function(){return ew.stringify}});Object.defineProperty(Zi,"nil",{enumerable:!0,get:function(){return ew.nil}});Object.defineProperty(Zi,"Name",{enumerable:!0,get:function(){return ew.Name}});Object.defineProperty(Zi,"CodeGen",{enumerable:!0,get:function(){return ew.CodeGen}});var ZUt=gz(),RYe=pM(),QUt=Bre(),mM=vz(),JUt=bt(),fM=lM(),bz=oM(),lne=ir(),_Ye=DYe(),XUt=MYe(),OYe=(r,e)=>new RegExp(r,e);OYe.code="new RegExp";var eHt=["removeAdditional","useDefaults","coerceTypes"],tHt=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),rHt={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},nHt={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},AYe=200;function iHt(r){var e,t,n,i,a,s,o,l,c,d,u,p,m,f,h,g,v,k,b,w,S,x,C,D,_;let O=r.strict,L=(e=r.code)===null||e===void 0?void 0:e.optimize,N=L===!0||L===void 0?1:L||0,R=(n=(t=r.code)===null||t===void 0?void 0:t.regExp)!==null&&n!==void 0?n:OYe,z=(i=r.uriResolver)!==null&&i!==void 0?i:XUt.default;return{strictSchema:(s=(a=r.strictSchema)!==null&&a!==void 0?a:O)!==null&&s!==void 0?s:!0,strictNumbers:(l=(o=r.strictNumbers)!==null&&o!==void 0?o:O)!==null&&l!==void 0?l:!0,strictTypes:(d=(c=r.strictTypes)!==null&&c!==void 0?c:O)!==null&&d!==void 0?d:"log",strictTuples:(p=(u=r.strictTuples)!==null&&u!==void 0?u:O)!==null&&p!==void 0?p:"log",strictRequired:(f=(m=r.strictRequired)!==null&&m!==void 0?m:O)!==null&&f!==void 0?f:!1,code:r.code?{...r.code,optimize:N,regExp:R}:{optimize:N,regExp:R},loopRequired:(h=r.loopRequired)!==null&&h!==void 0?h:AYe,loopEnum:(g=r.loopEnum)!==null&&g!==void 0?g:AYe,meta:(v=r.meta)!==null&&v!==void 0?v:!0,messages:(k=r.messages)!==null&&k!==void 0?k:!0,inlineRefs:(b=r.inlineRefs)!==null&&b!==void 0?b:!0,schemaId:(w=r.schemaId)!==null&&w!==void 0?w:"$id",addUsedSchema:(S=r.addUsedSchema)!==null&&S!==void 0?S:!0,validateSchema:(x=r.validateSchema)!==null&&x!==void 0?x:!0,validateFormats:(C=r.validateFormats)!==null&&C!==void 0?C:!0,unicodeRegExp:(D=r.unicodeRegExp)!==null&&D!==void 0?D:!0,int32range:(_=r.int32range)!==null&&_!==void 0?_:!0,uriResolver:z}}var hM=class{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...iHt(e)};let{es5:t,lines:n}=this.opts.code;this.scope=new JUt.ValueScope({scope:{},prefixes:tHt,es5:t,lines:n}),this.logger=dHt(e.logger);let i=e.validateFormats;e.validateFormats=!1,this.RULES=(0,QUt.getRules)(),IYe.call(this,rHt,e,"NOT SUPPORTED"),IYe.call(this,nHt,e,"DEPRECATED","warn"),this._metaOpts=lHt.call(this),e.formats&&sHt.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&oHt.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),aHt.call(this),e.validateFormats=i}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:n}=this.opts,i=_Ye;n==="id"&&(i={..._Ye},i.id=i.$id,delete i.$id),t&&e&&this.addMetaSchema(i,i[n],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:void 0}validate(e,t){let n;if(typeof e=="string"){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let i=n(t);return"$async"in n||(this.errors=n.errors),i}compile(e,t){let n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return i.call(this,e,t);async function i(d,u){await a.call(this,d.$schema);let p=this._addSchema(d,u);return p.validate||s.call(this,p)}async function a(d){d&&!this.getSchema(d)&&await i.call(this,{$ref:d},!0)}async function s(d){try{return this._compileSchemaEnv(d)}catch(u){if(!(u instanceof RYe.default))throw u;return o.call(this,u),await l.call(this,u.missingSchema),s.call(this,d)}}function o({missingSchema:d,missingRef:u}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${u} cannot be resolved`)}async function l(d){let u=await c.call(this,d);this.refs[d]||await a.call(this,u.$schema),this.refs[d]||this.addSchema(u,d,t)}async function c(d){let u=this._loading[d];if(u)return u;try{return await(this._loading[d]=n(d))}finally{delete this._loading[d]}}}addSchema(e,t,n,i=this.opts.validateSchema){if(Array.isArray(e)){for(let s of e)this.addSchema(s,void 0,n,i);return this}let a;if(typeof e=="object"){let{schemaId:s}=this.opts;if(a=e[s],a!==void 0&&typeof a!="string")throw new Error(`schema ${s} must be string`)}return t=(0,fM.normalizeId)(t||a),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,i,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if(typeof e=="boolean")return!0;let n;if(n=e.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let i=this.validate(n,e);if(!i&&t){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw new Error(a)}return i}getSchema(e){let t;for(;typeof(t=NYe.call(this,e))=="string";)e=t;if(t===void 0){let{schemaId:n}=this.opts,i=new mM.SchemaEnv({schema:{},schemaId:n});if(t=mM.resolveSchema.call(this,i,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let t=NYe.call(this,e);return typeof t=="object"&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{let t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,fM.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if(typeof e=="string")n=e,typeof t=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else if(typeof e=="object"&&t===void 0){if(t=e,n=t.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(pHt.call(this,n,t),!t)return(0,lne.eachItem)(n,a=>one.call(this,a)),this;fHt.call(this,t);let i={...t,type:(0,bz.getJSONTypes)(t.type),schemaType:(0,bz.getJSONTypes)(t.schemaType)};return(0,lne.eachItem)(n,i.type.length===0?a=>one.call(this,a,i):a=>i.type.forEach(s=>one.call(this,a,i,s))),this}getKeyword(e){let t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(let n of t.rules){let i=n.rules.findIndex(a=>a.keyword===e);i>=0&&n.rules.splice(i,1)}return this}addFormat(e,t){return typeof t=="string"&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return!e||e.length===0?"No errors":e.map(i=>`${n}${i.instancePath} ${i.message}`).reduce((i,a)=>i+t+a)}$dataMetaSchema(e,t){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let i of t){let a=i.split("/").slice(1),s=e;for(let o of a)s=s[o];for(let o in n){let l=n[o];if(typeof l!="object")continue;let{$data:c}=l.definition,d=s[o];c&&d&&(s[o]=LYe(d))}}return e}_removeAllSchemas(e,t){for(let n in e){let i=e[n];(!t||t.test(n))&&(typeof i=="string"?delete e[n]:i&&!i.meta&&(this._cache.delete(i.schema),delete e[n]))}}_addSchema(e,t,n,i=this.opts.validateSchema,a=this.opts.addUsedSchema){let s,{schemaId:o}=this.opts;if(typeof e=="object")s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let l=this._cache.get(e);if(l!==void 0)return l;n=(0,fM.normalizeId)(s||n);let c=fM.getSchemaRefs.call(this,e,n);return l=new mM.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:n,localRefs:c}),this._cache.set(l.schema,l),a&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=l),i&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):mM.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{mM.compileSchema.call(this,e)}finally{this.opts=t}}};hM.ValidationError=ZUt.default;hM.MissingRefError=RYe.default;Zi.default=hM;function IYe(r,e,t,n="error"){for(let i in r){let a=i;a in e&&this.logger[n](`${t}: option ${i}. ${r[a]}`)}}function NYe(r){return r=(0,fM.normalizeId)(r),this.schemas[r]||this.refs[r]}function aHt(){let r=this.opts.schemas;if(r)if(Array.isArray(r))this.addSchema(r);else for(let e in r)this.addSchema(r[e],e)}function sHt(){for(let r in this.opts.formats){let e=this.opts.formats[r];e&&this.addFormat(r,e)}}function oHt(r){if(Array.isArray(r)){this.addVocabulary(r);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let e in r){let t=r[e];t.keyword||(t.keyword=e),this.addKeyword(t)}}function lHt(){let r={...this.opts};for(let e of eHt)delete r[e];return r}var cHt={log(){},warn(){},error(){}};function dHt(r){if(r===!1)return cHt;if(r===void 0)return console;if(r.log&&r.warn&&r.error)return r;throw new Error("logger must implement log, warn and error methods")}var uHt=/^[a-z_$][a-z0-9_$:-]*$/i;function pHt(r,e){let{RULES:t}=this;if((0,lne.eachItem)(r,n=>{if(t.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!uHt.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!e&&e.$data&&!("code"in e||"validate"in e))throw new Error('$data keyword must have "code" or "validate" function')}function one(r,e,t){var n;let i=e==null?void 0:e.post;if(t&&i)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:a}=this,s=i?a.post:a.rules.find(({type:l})=>l===t);if(s||(s={type:t,rules:[]},a.rules.push(s)),a.keywords[r]=!0,!e)return;let o={keyword:r,definition:{...e,type:(0,bz.getJSONTypes)(e.type),schemaType:(0,bz.getJSONTypes)(e.schemaType)}};e.before?mHt.call(this,s,o,e.before):s.rules.push(o),a.all[r]=o,(n=e.implements)===null||n===void 0||n.forEach(l=>this.addKeyword(l))}function mHt(r,e,t){let n=r.rules.findIndex(i=>i.keyword===t);n>=0?r.rules.splice(n,0,e):(r.rules.push(e),this.logger.warn(`rule ${t} is not defined`))}function fHt(r){let{metaSchema:e}=r;e!==void 0&&(r.$data&&this.opts.$data&&(e=LYe(e)),r.validateSchema=this.compile(e,!0))}var hHt={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function LYe(r){return{anyOf:[r,hHt]}}});var $Ye=E(cne=>{"use strict";Object.defineProperty(cne,"__esModule",{value:!0});var gHt={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};cne.default=gHt});var UYe=E(Ny=>{"use strict";Object.defineProperty(Ny,"__esModule",{value:!0});Ny.callRef=Ny.getValidate=void 0;var yHt=pM(),zYe=dl(),Is=bt(),tw=vp(),jYe=vz(),Tz=ir(),vHt={keyword:"$ref",schemaType:"string",code(r){let{gen:e,schema:t,it:n}=r,{baseId:i,schemaEnv:a,validateName:s,opts:o,self:l}=n,{root:c}=a;if((t==="#"||t==="#/")&&i===c.baseId)return u();let d=jYe.resolveRef.call(l,c,i,t);if(d===void 0)throw new yHt.default(n.opts.uriResolver,i,t);if(d instanceof jYe.SchemaEnv)return p(d);return m(d);function u(){if(a===c)return kz(r,s,a,a.$async);let f=e.scopeValue("root",{ref:c});return kz(r,(0,Is._)`${f}.validate`,c,c.$async)}function p(f){let h=BYe(r,f);kz(r,h,f,f.$async)}function m(f){let h=e.scopeValue("schema",o.code.source===!0?{ref:f,code:(0,Is.stringify)(f)}:{ref:f}),g=e.name("valid"),v=r.subschema({schema:f,dataTypes:[],schemaPath:Is.nil,topSchemaRef:h,errSchemaPath:t},g);r.mergeEvaluated(v),r.ok(g)}}};function BYe(r,e){let{gen:t}=r;return e.validate?t.scopeValue("validate",{ref:e.validate}):(0,Is._)`${t.scopeValue("wrapper",{ref:e})}.validate`}Ny.getValidate=BYe;function kz(r,e,t,n){let{gen:i,it:a}=r,{allErrors:s,schemaEnv:o,opts:l}=a,c=l.passContext?tw.default.this:Is.nil;n?d():u();function d(){if(!o.$async)throw new Error("async schema referenced by sync schema");let f=i.let("valid");i.try(()=>{i.code((0,Is._)`await ${(0,zYe.callValidateCode)(r,e,c)}`),m(e),s||i.assign(f,!0)},h=>{i.if((0,Is._)`!(${h} instanceof ${a.ValidationError})`,()=>i.throw(h)),p(h),s||i.assign(f,!1)}),r.ok(f)}function u(){r.result((0,zYe.callValidateCode)(r,e,c),()=>m(e),()=>p(e))}function p(f){let h=(0,Is._)`${f}.errors`;i.assign(tw.default.vErrors,(0,Is._)`${tw.default.vErrors} === null ? ${h} : ${tw.default.vErrors}.concat(${h})`),i.assign(tw.default.errors,(0,Is._)`${tw.default.vErrors}.length`)}function m(f){var h;if(!a.opts.unevaluated)return;let g=(h=t==null?void 0:t.validate)===null||h===void 0?void 0:h.evaluated;if(a.props!==!0)if(g&&!g.dynamicProps)g.props!==void 0&&(a.props=Tz.mergeEvaluated.props(i,g.props,a.props));else{let v=i.var("props",(0,Is._)`${f}.evaluated.props`);a.props=Tz.mergeEvaluated.props(i,v,a.props,Is.Name)}if(a.items!==!0)if(g&&!g.dynamicItems)g.items!==void 0&&(a.items=Tz.mergeEvaluated.items(i,g.items,a.items));else{let v=i.var("items",(0,Is._)`${f}.evaluated.items`);a.items=Tz.mergeEvaluated.items(i,v,a.items,Is.Name)}}}Ny.callRef=kz;Ny.default=vHt});var HYe=E(dne=>{"use strict";Object.defineProperty(dne,"__esModule",{value:!0});var bHt=$Ye(),THt=UYe(),kHt=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",bHt.default,THt.default];dne.default=kHt});var VYe=E(une=>{"use strict";Object.defineProperty(une,"__esModule",{value:!0});var wz=bt(),_f=wz.operators,Sz={maximum:{okStr:"<=",ok:_f.LTE,fail:_f.GT},minimum:{okStr:">=",ok:_f.GTE,fail:_f.LT},exclusiveMaximum:{okStr:"<",ok:_f.LT,fail:_f.GTE},exclusiveMinimum:{okStr:">",ok:_f.GT,fail:_f.LTE}},wHt={message:({keyword:r,schemaCode:e})=>(0,wz.str)`must be ${Sz[r].okStr} ${e}`,params:({keyword:r,schemaCode:e})=>(0,wz._)`{comparison: ${Sz[r].okStr}, limit: ${e}}`},SHt={keyword:Object.keys(Sz),type:"number",schemaType:"number",$data:!0,error:wHt,code(r){let{keyword:e,data:t,schemaCode:n}=r;r.fail$data((0,wz._)`${t} ${Sz[e].fail} ${n} || isNaN(${t})`)}};une.default=SHt});var qYe=E(pne=>{"use strict";Object.defineProperty(pne,"__esModule",{value:!0});var gM=bt(),EHt={message:({schemaCode:r})=>(0,gM.str)`must be multiple of ${r}`,params:({schemaCode:r})=>(0,gM._)`{multipleOf: ${r}}`},xHt={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:EHt,code(r){let{gen:e,data:t,schemaCode:n,it:i}=r,a=i.opts.multipleOfPrecision,s=e.let("res"),o=a?(0,gM._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:(0,gM._)`${s} !== parseInt(${s})`;r.fail$data((0,gM._)`(${n} === 0 || (${s} = ${t}/${n}, ${o}))`)}};pne.default=xHt});var YYe=E(mne=>{"use strict";Object.defineProperty(mne,"__esModule",{value:!0});function WYe(r){let e=r.length,t=0,n=0,i;for(;n<e;)t++,i=r.charCodeAt(n++),i>=55296&&i<=56319&&n<e&&(i=r.charCodeAt(n),(i&64512)===56320&&n++);return t}mne.default=WYe;WYe.code='require("ajv/dist/runtime/ucs2length").default'});var GYe=E(fne=>{"use strict";Object.defineProperty(fne,"__esModule",{value:!0});var Ry=bt(),CHt=ir(),DHt=YYe(),PHt={message({keyword:r,schemaCode:e}){let t=r==="maxLength"?"more":"fewer";return(0,Ry.str)`must NOT have ${t} than ${e} characters`},params:({schemaCode:r})=>(0,Ry._)`{limit: ${r}}`},MHt={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:PHt,code(r){let{keyword:e,data:t,schemaCode:n,it:i}=r,a=e==="maxLength"?Ry.operators.GT:Ry.operators.LT,s=i.opts.unicode===!1?(0,Ry._)`${t}.length`:(0,Ry._)`${(0,CHt.useFunc)(r.gen,DHt.default)}(${t})`;r.fail$data((0,Ry._)`${s} ${a} ${n}`)}};fne.default=MHt});var KYe=E(hne=>{"use strict";Object.defineProperty(hne,"__esModule",{value:!0});var _Ht=dl(),AHt=ir(),rw=bt(),IHt={message:({schemaCode:r})=>(0,rw.str)`must match pattern "${r}"`,params:({schemaCode:r})=>(0,rw._)`{pattern: ${r}}`},NHt={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:IHt,code(r){let{gen:e,data:t,$data:n,schema:i,schemaCode:a,it:s}=r,o=s.opts.unicodeRegExp?"u":"";if(n){let{regExp:l}=s.opts.code,c=l.code==="new RegExp"?(0,rw._)`new RegExp`:(0,AHt.useFunc)(e,l),d=e.let("valid");e.try(()=>e.assign(d,(0,rw._)`${c}(${a}, ${o}).test(${t})`),()=>e.assign(d,!1)),r.fail$data((0,rw._)`!${d}`)}else{let l=(0,_Ht.usePattern)(r,i);r.fail$data((0,rw._)`!${l}.test(${t})`)}}};hne.default=NHt});var ZYe=E(gne=>{"use strict";Object.defineProperty(gne,"__esModule",{value:!0});var yM=bt(),RHt={message({keyword:r,schemaCode:e}){let t=r==="maxProperties"?"more":"fewer";return(0,yM.str)`must NOT have ${t} than ${e} properties`},params:({schemaCode:r})=>(0,yM._)`{limit: ${r}}`},OHt={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:RHt,code(r){let{keyword:e,data:t,schemaCode:n}=r,i=e==="maxProperties"?yM.operators.GT:yM.operators.LT;r.fail$data((0,yM._)`Object.keys(${t}).length ${i} ${n}`)}};gne.default=OHt});var QYe=E(yne=>{"use strict";Object.defineProperty(yne,"__esModule",{value:!0});var vM=dl(),bM=bt(),LHt=ir(),FHt={message:({params:{missingProperty:r}})=>(0,bM.str)`must have required property '${r}'`,params:({params:{missingProperty:r}})=>(0,bM._)`{missingProperty: ${r}}`},$Ht={keyword:"required",type:"object",schemaType:"array",$data:!0,error:FHt,code(r){let{gen:e,schema:t,schemaCode:n,data:i,$data:a,it:s}=r,{opts:o}=s;if(!a&&t.length===0)return;let l=t.length>=o.loopRequired;if(s.allErrors?c():d(),o.strictRequired){let m=r.parentSchema.properties,{definedProperties:f}=r.it;for(let h of t)if((m==null?void 0:m[h])===void 0&&!f.has(h)){let g=s.schemaEnv.baseId+s.errSchemaPath,v=`required property "${h}" is not defined at "${g}" (strictRequired)`;(0,LHt.checkStrictMode)(s,v,s.opts.strictRequired)}}function c(){if(l||a)r.block$data(bM.nil,u);else for(let m of t)(0,vM.checkReportMissingProp)(r,m)}function d(){let m=e.let("missing");if(l||a){let f=e.let("valid",!0);r.block$data(f,()=>p(m,f)),r.ok(f)}else e.if((0,vM.checkMissingProp)(r,t,m)),(0,vM.reportMissingProp)(r,m),e.else()}function u(){e.forOf("prop",n,m=>{r.setParams({missingProperty:m}),e.if((0,vM.noPropertyInData)(e,i,m,o.ownProperties),()=>r.error())})}function p(m,f){r.setParams({missingProperty:m}),e.forOf(m,n,()=>{e.assign(f,(0,vM.propertyInData)(e,i,m,o.ownProperties)),e.if((0,bM.not)(f),()=>{r.error(),e.break()})},bM.nil)}}};yne.default=$Ht});var JYe=E(vne=>{"use strict";Object.defineProperty(vne,"__esModule",{value:!0});var TM=bt(),zHt={message({keyword:r,schemaCode:e}){let t=r==="maxItems"?"more":"fewer";return(0,TM.str)`must NOT have ${t} than ${e} items`},params:({schemaCode:r})=>(0,TM._)`{limit: ${r}}`},jHt={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:zHt,code(r){let{keyword:e,data:t,schemaCode:n}=r,i=e==="maxItems"?TM.operators.GT:TM.operators.LT;r.fail$data((0,TM._)`${t}.length ${i} ${n}`)}};vne.default=jHt});var Ez=E(bne=>{"use strict";Object.defineProperty(bne,"__esModule",{value:!0});var XYe=N0();XYe.code='require("ajv/dist/runtime/equal").default';bne.default=XYe});var e9e=E(kne=>{"use strict";Object.defineProperty(kne,"__esModule",{value:!0});var Tne=oM(),Qi=bt(),BHt=ir(),UHt=Ez(),HHt={message:({params:{i:r,j:e}})=>(0,Qi.str)`must NOT have duplicate items (items ## ${e} and ${r} are identical)`,params:({params:{i:r,j:e}})=>(0,Qi._)`{i: ${r}, j: ${e}}`},VHt={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:HHt,code(r){let{gen:e,data:t,$data:n,schema:i,parentSchema:a,schemaCode:s,it:o}=r;if(!n&&!i)return;let l=e.let("valid"),c=a.items?(0,Tne.getSchemaTypes)(a.items):[];r.block$data(l,d,(0,Qi._)`${s} === false`),r.ok(l);function d(){let f=e.let("i",(0,Qi._)`${t}.length`),h=e.let("j");r.setParams({i:f,j:h}),e.assign(l,!0),e.if((0,Qi._)`${f} > 1`,()=>(u()?p:m)(f,h))}function u(){return c.length>0&&!c.some(f=>f==="object"||f==="array")}function p(f,h){let g=e.name("item"),v=(0,Tne.checkDataTypes)(c,g,o.opts.strictNumbers,Tne.DataType.Wrong),k=e.const("indices",(0,Qi._)`{}`);e.for((0,Qi._)`;${f}--;`,()=>{e.let(g,(0,Qi._)`${t}[${f}]`),e.if(v,(0,Qi._)`continue`),c.length>1&&e.if((0,Qi._)`typeof ${g} == "string"`,(0,Qi._)`${g} += "_"`),e.if((0,Qi._)`typeof ${k}[${g}] == "number"`,()=>{e.assign(h,(0,Qi._)`${k}[${g}]`),r.error(),e.assign(l,!1).break()}).code((0,Qi._)`${k}[${g}] = ${f}`)})}function m(f,h){let g=(0,BHt.useFunc)(e,UHt.default),v=e.name("outer");e.label(v).for((0,Qi._)`;${f}--;`,()=>e.for((0,Qi._)`${h} = ${f}; ${h}--;`,()=>e.if((0,Qi._)`${g}(${t}[${f}], ${t}[${h}])`,()=>{r.error(),e.assign(l,!1).break(v)})))}}};kne.default=VHt});var t9e=E(Sne=>{"use strict";Object.defineProperty(Sne,"__esModule",{value:!0});var wne=bt(),qHt=ir(),WHt=Ez(),YHt={message:"must be equal to constant",params:({schemaCode:r})=>(0,wne._)`{allowedValue: ${r}}`},GHt={keyword:"const",$data:!0,error:YHt,code(r){let{gen:e,data:t,$data:n,schemaCode:i,schema:a}=r;n||a&&typeof a=="object"?r.fail$data((0,wne._)`!${(0,qHt.useFunc)(e,WHt.default)}(${t}, ${i})`):r.fail((0,wne._)`${a} !== ${t}`)}};Sne.default=GHt});var r9e=E(Ene=>{"use strict";Object.defineProperty(Ene,"__esModule",{value:!0});var kM=bt(),KHt=ir(),ZHt=Ez(),QHt={message:"must be equal to one of the allowed values",params:({schemaCode:r})=>(0,kM._)`{allowedValues: ${r}}`},JHt={keyword:"enum",schemaType:"array",$data:!0,error:QHt,code(r){let{gen:e,data:t,$data:n,schema:i,schemaCode:a,it:s}=r;if(!n&&i.length===0)throw new Error("enum must have non-empty array");let o=i.length>=s.opts.loopEnum,l,c=()=>l!=null?l:l=(0,KHt.useFunc)(e,ZHt.default),d;if(o||n)d=e.let("valid"),r.block$data(d,u);else{if(!Array.isArray(i))throw new Error("ajv implementation error");let m=e.const("vSchema",a);d=(0,kM.or)(...i.map((f,h)=>p(m,h)))}r.pass(d);function u(){e.assign(d,!1),e.forOf("v",a,m=>e.if((0,kM._)`${c()}(${t}, ${m})`,()=>e.assign(d,!0).break()))}function p(m,f){let h=i[f];return typeof h=="object"&&h!==null?(0,kM._)`${c()}(${t}, ${m}[${f}])`:(0,kM._)`${t} === ${h}`}}};Ene.default=JHt});var n9e=E(xne=>{"use strict";Object.defineProperty(xne,"__esModule",{value:!0});var XHt=VYe(),eVt=qYe(),tVt=GYe(),rVt=KYe(),nVt=ZYe(),iVt=QYe(),aVt=JYe(),sVt=e9e(),oVt=t9e(),lVt=r9e(),cVt=[XHt.default,eVt.default,tVt.default,rVt.default,nVt.default,iVt.default,aVt.default,sVt.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},oVt.default,lVt.default];xne.default=cVt});var Dne=E(wM=>{"use strict";Object.defineProperty(wM,"__esModule",{value:!0});wM.validateAdditionalItems=void 0;var Oy=bt(),Cne=ir(),dVt={message:({params:{len:r}})=>(0,Oy.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,Oy._)`{limit: ${r}}`},uVt={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:dVt,code(r){let{parentSchema:e,it:t}=r,{items:n}=e;if(!Array.isArray(n)){(0,Cne.checkStrictMode)(t,'"additionalItems" is ignored when "items" is not an array of schemas');return}i9e(r,n)}};function i9e(r,e){let{gen:t,schema:n,data:i,keyword:a,it:s}=r;s.items=!0;let o=t.const("len",(0,Oy._)`${i}.length`);if(n===!1)r.setParams({len:e.length}),r.pass((0,Oy._)`${o} <= ${e.length}`);else if(typeof n=="object"&&!(0,Cne.alwaysValidSchema)(s,n)){let c=t.var("valid",(0,Oy._)`${o} <= ${e.length}`);t.if((0,Oy.not)(c),()=>l(c)),r.ok(c)}function l(c){t.forRange("i",e.length,o,d=>{r.subschema({keyword:a,dataProp:d,dataPropType:Cne.Type.Num},c),s.allErrors||t.if((0,Oy.not)(c),()=>t.break())})}}wM.validateAdditionalItems=i9e;wM.default=uVt});var Pne=E(SM=>{"use strict";Object.defineProperty(SM,"__esModule",{value:!0});SM.validateTuple=void 0;var a9e=bt(),xz=ir(),pVt=dl(),mVt={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(r){let{schema:e,it:t}=r;if(Array.isArray(e))return s9e(r,"additionalItems",e);t.items=!0,!(0,xz.alwaysValidSchema)(t,e)&&r.ok((0,pVt.validateArray)(r))}};function s9e(r,e,t=r.schema){let{gen:n,parentSchema:i,data:a,keyword:s,it:o}=r;d(i),o.opts.unevaluated&&t.length&&o.items!==!0&&(o.items=xz.mergeEvaluated.items(n,t.length,o.items));let l=n.name("valid"),c=n.const("len",(0,a9e._)`${a}.length`);t.forEach((u,p)=>{(0,xz.alwaysValidSchema)(o,u)||(n.if((0,a9e._)`${c} > ${p}`,()=>r.subschema({keyword:s,schemaProp:p,dataProp:p},l)),r.ok(l))});function d(u){let{opts:p,errSchemaPath:m}=o,f=t.length,h=f===u.minItems&&(f===u.maxItems||u[e]===!1);if(p.strictTuples&&!h){let g=`"${s}" is ${f}-tuple, but minItems or maxItems/${e} are not specified or different at path "${m}"`;(0,xz.checkStrictMode)(o,g,p.strictTuples)}}}SM.validateTuple=s9e;SM.default=mVt});var o9e=E(Mne=>{"use strict";Object.defineProperty(Mne,"__esModule",{value:!0});var fVt=Pne(),hVt={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,fVt.validateTuple)(r,"items")};Mne.default=hVt});var c9e=E(_ne=>{"use strict";Object.defineProperty(_ne,"__esModule",{value:!0});var l9e=bt(),gVt=ir(),yVt=dl(),vVt=Dne(),bVt={message:({params:{len:r}})=>(0,l9e.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,l9e._)`{limit: ${r}}`},TVt={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:bVt,code(r){let{schema:e,parentSchema:t,it:n}=r,{prefixItems:i}=t;n.items=!0,!(0,gVt.alwaysValidSchema)(n,e)&&(i?(0,vVt.validateAdditionalItems)(r,i):r.ok((0,yVt.validateArray)(r)))}};_ne.default=TVt});var d9e=E(Ane=>{"use strict";Object.defineProperty(Ane,"__esModule",{value:!0});var pl=bt(),Cz=ir(),kVt={message:({params:{min:r,max:e}})=>e===void 0?(0,pl.str)`must contain at least ${r} valid item(s)`:(0,pl.str)`must contain at least ${r} and no more than ${e} valid item(s)`,params:({params:{min:r,max:e}})=>e===void 0?(0,pl._)`{minContains: ${r}}`:(0,pl._)`{minContains: ${r}, maxContains: ${e}}`},wVt={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:kVt,code(r){let{gen:e,schema:t,parentSchema:n,data:i,it:a}=r,s,o,{minContains:l,maxContains:c}=n;a.opts.next?(s=l===void 0?1:l,o=c):s=1;let d=e.const("len",(0,pl._)`${i}.length`);if(r.setParams({min:s,max:o}),o===void 0&&s===0){(0,Cz.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&s>o){(0,Cz.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),r.fail();return}if((0,Cz.alwaysValidSchema)(a,t)){let h=(0,pl._)`${d} >= ${s}`;o!==void 0&&(h=(0,pl._)`${h} && ${d} <= ${o}`),r.pass(h);return}a.items=!0;let u=e.name("valid");o===void 0&&s===1?m(u,()=>e.if(u,()=>e.break())):s===0?(e.let(u,!0),o!==void 0&&e.if((0,pl._)`${i}.length > 0`,p)):(e.let(u,!1),p()),r.result(u,()=>r.reset());function p(){let h=e.name("_valid"),g=e.let("count",0);m(h,()=>e.if(h,()=>f(g)))}function m(h,g){e.forRange("i",0,d,v=>{r.subschema({keyword:"contains",dataProp:v,dataPropType:Cz.Type.Num,compositeRule:!0},h),g()})}function f(h){e.code((0,pl._)`${h}++`),o===void 0?e.if((0,pl._)`${h} >= ${s}`,()=>e.assign(u,!0).break()):(e.if((0,pl._)`${h} > ${o}`,()=>e.assign(u,!1).break()),s===1?e.assign(u,!0):e.if((0,pl._)`${h} >= ${s}`,()=>e.assign(u,!0)))}}};Ane.default=wVt});var m9e=E(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.validateSchemaDeps=Fd.validatePropertyDeps=Fd.error=void 0;var Ine=bt(),SVt=ir(),EM=dl();Fd.error={message:({params:{property:r,depsCount:e,deps:t}})=>{let n=e===1?"property":"properties";return(0,Ine.str)`must have ${n} ${t} when property ${r} is present`},params:({params:{property:r,depsCount:e,deps:t,missingProperty:n}})=>(0,Ine._)`{property: ${r},
missingProperty: ${n},
depsCount: ${e},
deps: ${t}}`};var EVt={keyword:"dependencies",type:"object",schemaType:"object",error:Fd.error,code(r){let[e,t]=xVt(r);u9e(r,e),p9e(r,t)}};function xVt({schema:r}){let e={},t={};for(let n in r){if(n==="__proto__")continue;let i=Array.isArray(r[n])?e:t;i[n]=r[n]}return[e,t]}function u9e(r,e=r.schema){let{gen:t,data:n,it:i}=r;if(Object.keys(e).length===0)return;let a=t.let("missing");for(let s in e){let o=e[s];if(o.length===0)continue;let l=(0,EM.propertyInData)(t,n,s,i.opts.ownProperties);r.setParams({property:s,depsCount:o.length,deps:o.join(", ")}),i.allErrors?t.if(l,()=>{for(let c of o)(0,EM.checkReportMissingProp)(r,c)}):(t.if((0,Ine._)`${l} && (${(0,EM.checkMissingProp)(r,o,a)})`),(0,EM.reportMissingProp)(r,a),t.else())}}Fd.validatePropertyDeps=u9e;function p9e(r,e=r.schema){let{gen:t,data:n,keyword:i,it:a}=r,s=t.name("valid");for(let o in e)(0,SVt.alwaysValidSchema)(a,e[o])||(t.if((0,EM.propertyInData)(t,n,o,a.opts.ownProperties),()=>{let l=r.subschema({keyword:i,schemaProp:o},s);r.mergeValidEvaluated(l,s)},()=>t.var(s,!0)),r.ok(s))}Fd.validateSchemaDeps=p9e;Fd.default=EVt});var h9e=E(Nne=>{"use strict";Object.defineProperty(Nne,"__esModule",{value:!0});var f9e=bt(),CVt=ir(),DVt={message:"property name must be valid",params:({params:r})=>(0,f9e._)`{propertyName: ${r.propertyName}}`},PVt={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:DVt,code(r){let{gen:e,schema:t,data:n,it:i}=r;if((0,CVt.alwaysValidSchema)(i,t))return;let a=e.name("valid");e.forIn("key",n,s=>{r.setParams({propertyName:s}),r.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},a),e.if((0,f9e.not)(a),()=>{r.error(!0),i.allErrors||e.break()})}),r.ok(a)}};Nne.default=PVt});var One=E(Rne=>{"use strict";Object.defineProperty(Rne,"__esModule",{value:!0});var Dz=dl(),sc=bt(),MVt=vp(),Pz=ir(),_Vt={message:"must NOT have additional properties",params:({params:r})=>(0,sc._)`{additionalProperty: ${r.additionalProperty}}`},AVt={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:_Vt,code(r){let{gen:e,schema:t,parentSchema:n,data:i,errsCount:a,it:s}=r;if(!a)throw new Error("ajv implementation error");let{allErrors:o,opts:l}=s;if(s.props=!0,l.removeAdditional!=="all"&&(0,Pz.alwaysValidSchema)(s,t))return;let c=(0,Dz.allSchemaProperties)(n.properties),d=(0,Dz.allSchemaProperties)(n.patternProperties);u(),r.ok((0,sc._)`${a} === ${MVt.default.errors}`);function u(){e.forIn("key",i,g=>{!c.length&&!d.length?f(g):e.if(p(g),()=>f(g))})}function p(g){let v;if(c.length>8){let k=(0,Pz.schemaRefOrVal)(s,n.properties,"properties");v=(0,Dz.isOwnProperty)(e,k,g)}else c.length?v=(0,sc.or)(...c.map(k=>(0,sc._)`${g} === ${k}`)):v=sc.nil;return d.length&&(v=(0,sc.or)(v,...d.map(k=>(0,sc._)`${(0,Dz.usePattern)(r,k)}.test(${g})`))),(0,sc.not)(v)}function m(g){e.code((0,sc._)`delete ${i}[${g}]`)}function f(g){if(l.removeAdditional==="all"||l.removeAdditional&&t===!1){m(g);return}if(t===!1){r.setParams({additionalProperty:g}),r.error(),o||e.break();return}if(typeof t=="object"&&!(0,Pz.alwaysValidSchema)(s,t)){let v=e.name("valid");l.removeAdditional==="failing"?(h(g,v,!1),e.if((0,sc.not)(v),()=>{r.reset(),m(g)})):(h(g,v),o||e.if((0,sc.not)(v),()=>e.break()))}}function h(g,v,k){let b={keyword:"additionalProperties",dataProp:g,dataPropType:Pz.Type.Str};k===!1&&Object.assign(b,{compositeRule:!0,createErrors:!1,allErrors:!1}),r.subschema(b,v)}}};Rne.default=AVt});var v9e=E(Fne=>{"use strict";Object.defineProperty(Fne,"__esModule",{value:!0});var IVt=uM(),g9e=dl(),Lne=ir(),y9e=One(),NVt={keyword:"properties",type:"object",schemaType:"object",code(r){let{gen:e,schema:t,parentSchema:n,data:i,it:a}=r;a.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&y9e.default.code(new IVt.KeywordCxt(a,y9e.default,"additionalProperties"));let s=(0,g9e.allSchemaProperties)(t);for(let u of s)a.definedProperties.add(u);a.opts.unevaluated&&s.length&&a.props!==!0&&(a.props=Lne.mergeEvaluated.props(e,(0,Lne.toHash)(s),a.props));let o=s.filter(u=>!(0,Lne.alwaysValidSchema)(a,t[u]));if(o.length===0)return;let l=e.name("valid");for(let u of o)c(u)?d(u):(e.if((0,g9e.propertyInData)(e,i,u,a.opts.ownProperties)),d(u),a.allErrors||e.else().var(l,!0),e.endIf()),r.it.definedProperties.add(u),r.ok(l);function c(u){return a.opts.useDefaults&&!a.compositeRule&&t[u].default!==void 0}function d(u){r.subschema({keyword:"properties",schemaProp:u,dataProp:u},l)}}};Fne.default=NVt});var w9e=E($ne=>{"use strict";Object.defineProperty($ne,"__esModule",{value:!0});var b9e=dl(),Mz=bt(),T9e=ir(),k9e=ir(),RVt={keyword:"patternProperties",type:"object",schemaType:"object",code(r){let{gen:e,schema:t,data:n,parentSchema:i,it:a}=r,{opts:s}=a,o=(0,b9e.allSchemaProperties)(t),l=o.filter(h=>(0,T9e.alwaysValidSchema)(a,t[h]));if(o.length===0||l.length===o.length&&(!a.opts.unevaluated||a.props===!0))return;let c=s.strictSchema&&!s.allowMatchingProperties&&i.properties,d=e.name("valid");a.props!==!0&&!(a.props instanceof Mz.Name)&&(a.props=(0,k9e.evaluatedPropsToName)(e,a.props));let{props:u}=a;p();function p(){for(let h of o)c&&m(h),a.allErrors?f(h):(e.var(d,!0),f(h),e.if(d))}function m(h){for(let g in c)new RegExp(h).test(g)&&(0,T9e.checkStrictMode)(a,`property ${g} matches pattern ${h} (use allowMatchingProperties)`)}function f(h){e.forIn("key",n,g=>{e.if((0,Mz._)`${(0,b9e.usePattern)(r,h)}.test(${g})`,()=>{let v=l.includes(h);v||r.subschema({keyword:"patternProperties",schemaProp:h,dataProp:g,dataPropType:k9e.Type.Str},d),a.opts.unevaluated&&u!==!0?e.assign((0,Mz._)`${u}[${g}]`,!0):!v&&!a.allErrors&&e.if((0,Mz.not)(d),()=>e.break())})})}}};$ne.default=RVt});var S9e=E(zne=>{"use strict";Object.defineProperty(zne,"__esModule",{value:!0});var OVt=ir(),LVt={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){let{gen:e,schema:t,it:n}=r;if((0,OVt.alwaysValidSchema)(n,t)){r.fail();return}let i=e.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),r.failResult(i,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};zne.default=LVt});var E9e=E(jne=>{"use strict";Object.defineProperty(jne,"__esModule",{value:!0});var FVt=dl(),$Vt={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:FVt.validateUnion,error:{message:"must match a schema in anyOf"}};jne.default=$Vt});var x9e=E(Bne=>{"use strict";Object.defineProperty(Bne,"__esModule",{value:!0});var _z=bt(),zVt=ir(),jVt={message:"must match exactly one schema in oneOf",params:({params:r})=>(0,_z._)`{passingSchemas: ${r.passing}}`},BVt={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:jVt,code(r){let{gen:e,schema:t,parentSchema:n,it:i}=r;if(!Array.isArray(t))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;let a=t,s=e.let("valid",!1),o=e.let("passing",null),l=e.name("_valid");r.setParams({passing:o}),e.block(c),r.result(s,()=>r.reset(),()=>r.error(!0));function c(){a.forEach((d,u)=>{let p;(0,zVt.alwaysValidSchema)(i,d)?e.var(l,!0):p=r.subschema({keyword:"oneOf",schemaProp:u,compositeRule:!0},l),u>0&&e.if((0,_z._)`${l} && ${s}`).assign(s,!1).assign(o,(0,_z._)`[${o}, ${u}]`).else(),e.if(l,()=>{e.assign(s,!0),e.assign(o,u),p&&r.mergeEvaluated(p,_z.Name)})})}}};Bne.default=BVt});var C9e=E(Une=>{"use strict";Object.defineProperty(Une,"__esModule",{value:!0});var UVt=ir(),HVt={keyword:"allOf",schemaType:"array",code(r){let{gen:e,schema:t,it:n}=r;if(!Array.isArray(t))throw new Error("ajv implementation error");let i=e.name("valid");t.forEach((a,s)=>{if((0,UVt.alwaysValidSchema)(n,a))return;let o=r.subschema({keyword:"allOf",schemaProp:s},i);r.ok(i),r.mergeEvaluated(o)})}};Une.default=HVt});var M9e=E(Hne=>{"use strict";Object.defineProperty(Hne,"__esModule",{value:!0});var Az=bt(),P9e=ir(),VVt={message:({params:r})=>(0,Az.str)`must match "${r.ifClause}" schema`,params:({params:r})=>(0,Az._)`{failingKeyword: ${r.ifClause}}`},qVt={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:VVt,code(r){let{gen:e,parentSchema:t,it:n}=r;t.then===void 0&&t.else===void 0&&(0,P9e.checkStrictMode)(n,'"if" without "then" and "else" is ignored');let i=D9e(n,"then"),a=D9e(n,"else");if(!i&&!a)return;let s=e.let("valid",!0),o=e.name("_valid");if(l(),r.reset(),i&&a){let d=e.let("ifClause");r.setParams({ifClause:d}),e.if(o,c("then",d),c("else",d))}else i?e.if(o,c("then")):e.if((0,Az.not)(o),c("else"));r.pass(s,()=>r.error(!0));function l(){let d=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},o);r.mergeEvaluated(d)}function c(d,u){return()=>{let p=r.subschema({keyword:d},o);e.assign(s,o),r.mergeValidEvaluated(p,s),u?e.assign(u,(0,Az._)`${d}`):r.setParams({ifClause:d})}}}};function D9e(r,e){let t=r.schema[e];return t!==void 0&&!(0,P9e.alwaysValidSchema)(r,t)}Hne.default=qVt});var _9e=E(Vne=>{"use strict";Object.defineProperty(Vne,"__esModule",{value:!0});var WVt=ir(),YVt={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:e,it:t}){e.if===void 0&&(0,WVt.checkStrictMode)(t,`"${r}" without "if" is ignored`)}};Vne.default=YVt});var A9e=E(qne=>{"use strict";Object.defineProperty(qne,"__esModule",{value:!0});var GVt=Dne(),KVt=o9e(),ZVt=Pne(),QVt=c9e(),JVt=d9e(),XVt=m9e(),eqt=h9e(),tqt=One(),rqt=v9e(),nqt=w9e(),iqt=S9e(),aqt=E9e(),sqt=x9e(),oqt=C9e(),lqt=M9e(),cqt=_9e();function dqt(r=!1){let e=[iqt.default,aqt.default,sqt.default,oqt.default,lqt.default,cqt.default,eqt.default,tqt.default,XVt.default,rqt.default,nqt.default];return r?e.push(KVt.default,QVt.default):e.push(GVt.default,ZVt.default),e.push(JVt.default),e}qne.default=dqt});var I9e=E(Wne=>{"use strict";Object.defineProperty(Wne,"__esModule",{value:!0});var Wn=bt(),uqt={message:({schemaCode:r})=>(0,Wn.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,Wn._)`{format: ${r}}`},pqt={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:uqt,code(r,e){let{gen:t,data:n,$data:i,schema:a,schemaCode:s,it:o}=r,{opts:l,errSchemaPath:c,schemaEnv:d,self:u}=o;if(!l.validateFormats)return;i?p():m();function p(){let f=t.scopeValue("formats",{ref:u.formats,code:l.code.formats}),h=t.const("fDef",(0,Wn._)`${f}[${s}]`),g=t.let("fType"),v=t.let("format");t.if((0,Wn._)`typeof ${h} == "object" && !(${h} instanceof RegExp)`,()=>t.assign(g,(0,Wn._)`${h}.type || "string"`).assign(v,(0,Wn._)`${h}.validate`),()=>t.assign(g,(0,Wn._)`"string"`).assign(v,h)),r.fail$data((0,Wn.or)(k(),b()));function k(){return l.strictSchema===!1?Wn.nil:(0,Wn._)`${s} && !${v}`}function b(){let w=d.$async?(0,Wn._)`(${h}.async ? await ${v}(${n}) : ${v}(${n}))`:(0,Wn._)`${v}(${n})`,S=(0,Wn._)`(typeof ${v} == "function" ? ${w} : ${v}.test(${n}))`;return(0,Wn._)`${v} && ${v} !== true && ${g} === ${e} && !${S}`}}function m(){let f=u.formats[a];if(!f){k();return}if(f===!0)return;let[h,g,v]=b(f);h===e&&r.pass(w());function k(){if(l.strictSchema===!1){u.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${a}" ignored in schema at path "${c}"`}}function b(S){let x=S instanceof RegExp?(0,Wn.regexpCode)(S):l.code.formats?(0,Wn._)`${l.code.formats}${(0,Wn.getProperty)(a)}`:void 0,C=t.scopeValue("formats",{key:a,ref:S,code:x});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,Wn._)`${C}.validate`]:["string",S,C]}function w(){if(typeof f=="object"&&!(f instanceof RegExp)&&f.async){if(!d.$async)throw new Error("async format in sync schema");return(0,Wn._)`await ${v}(${n})`}return typeof g=="function"?(0,Wn._)`${v}(${n})`:(0,Wn._)`${v}.test(${n})`}}}};Wne.default=pqt});var N9e=E(Yne=>{"use strict";Object.defineProperty(Yne,"__esModule",{value:!0});var mqt=I9e(),fqt=[mqt.default];Yne.default=fqt});var R9e=E(nw=>{"use strict";Object.defineProperty(nw,"__esModule",{value:!0});nw.contentVocabulary=nw.metadataVocabulary=void 0;nw.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];nw.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var L9e=E(Gne=>{"use strict";Object.defineProperty(Gne,"__esModule",{value:!0});var hqt=HYe(),gqt=n9e(),yqt=A9e(),vqt=N9e(),O9e=R9e(),bqt=[hqt.default,gqt.default,(0,yqt.default)(),vqt.default,O9e.metadataVocabulary,O9e.contentVocabulary];Gne.default=bqt});var $9e=E(Iz=>{"use strict";Object.defineProperty(Iz,"__esModule",{value:!0});Iz.DiscrError=void 0;var F9e;(function(r){r.Tag="tag",r.Mapping="mapping"})(F9e||(Iz.DiscrError=F9e={}))});var j9e=E(Zne=>{"use strict";Object.defineProperty(Zne,"__esModule",{value:!0});var iw=bt(),Kne=$9e(),z9e=vz(),Tqt=pM(),kqt=ir(),wqt={message:({params:{discrError:r,tagName:e}})=>r===Kne.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in oneOf`,params:({params:{discrError:r,tag:e,tagName:t}})=>(0,iw._)`{error: ${r}, tag: ${t}, tagValue: ${e}}`},Sqt={keyword:"discriminator",type:"object",schemaType:"object",error:wqt,code(r){let{gen:e,data:t,schema:n,parentSchema:i,it:a}=r,{oneOf:s}=i;if(!a.opts.discriminator)throw new Error("discriminator: requires discriminator option");let o=n.propertyName;if(typeof o!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");let l=e.let("valid",!1),c=e.const("tag",(0,iw._)`${t}${(0,iw.getProperty)(o)}`);e.if((0,iw._)`typeof ${c} == "string"`,()=>d(),()=>r.error(!1,{discrError:Kne.DiscrError.Tag,tag:c,tagName:o})),r.ok(l);function d(){let m=p();e.if(!1);for(let f in m)e.elseIf((0,iw._)`${c} === ${f}`),e.assign(l,u(m[f]));e.else(),r.error(!1,{discrError:Kne.DiscrError.Mapping,tag:c,tagName:o}),e.endIf()}function u(m){let f=e.name("valid"),h=r.subschema({keyword:"oneOf",schemaProp:m},f);return r.mergeEvaluated(h,iw.Name),f}function p(){var m;let f={},h=v(i),g=!0;for(let w=0;w<s.length;w++){let S=s[w];if(S!=null&&S.$ref&&!(0,kqt.schemaHasRulesButRef)(S,a.self.RULES)){let C=S.$ref;if(S=z9e.resolveRef.call(a.self,a.schemaEnv.root,a.baseId,C),S instanceof z9e.SchemaEnv&&(S=S.schema),S===void 0)throw new Tqt.default(a.opts.uriResolver,a.baseId,C)}let x=(m=S==null?void 0:S.properties)===null||m===void 0?void 0:m[o];if(typeof x!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${o}"`);g=g&&(h||v(S)),k(x,w)}if(!g)throw new Error(`discriminator: "${o}" must be required`);return f;function v({required:w}){return Array.isArray(w)&&w.includes(o)}function k(w,S){if(w.const)b(w.const,S);else if(w.enum)for(let x of w.enum)b(x,S);else throw new Error(`discriminator: "properties/${o}" must have "const" or "enum"`)}function b(w,S){if(typeof w!="string"||w in f)throw new Error(`discriminator: "${o}" values must be unique strings`);f[w]=S}}}};Zne.default=Sqt});var B9e=E((c7r,Eqt)=>{Eqt.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var H9e=E((sn,Qne)=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.MissingRefError=sn.ValidationError=sn.CodeGen=sn.Name=sn.nil=sn.stringify=sn.str=sn._=sn.KeywordCxt=sn.Ajv=void 0;var xqt=FYe(),Cqt=L9e(),Dqt=j9e(),U9e=B9e(),Pqt=["/properties"],Nz="http://json-schema.org/draft-07/schema",aw=class extends xqt.default{_addVocabularies(){super._addVocabularies(),Cqt.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(Dqt.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(U9e,Pqt):U9e;this.addMetaSchema(e,Nz,!1),this.refs["http://json-schema.org/schema"]=Nz}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Nz)?Nz:void 0)}};sn.Ajv=aw;Qne.exports=sn=aw;Qne.exports.Ajv=aw;Object.defineProperty(sn,"__esModule",{value:!0});sn.default=aw;var Mqt=uM();Object.defineProperty(sn,"KeywordCxt",{enumerable:!0,get:function(){return Mqt.KeywordCxt}});var sw=bt();Object.defineProperty(sn,"_",{enumerable:!0,get:function(){return sw._}});Object.defineProperty(sn,"str",{enumerable:!0,get:function(){return sw.str}});Object.defineProperty(sn,"stringify",{enumerable:!0,get:function(){return sw.stringify}});Object.defineProperty(sn,"nil",{enumerable:!0,get:function(){return sw.nil}});Object.defineProperty(sn,"Name",{enumerable:!0,get:function(){return sw.Name}});Object.defineProperty(sn,"CodeGen",{enumerable:!0,get:function(){return sw.CodeGen}});var _qt=gz();Object.defineProperty(sn,"ValidationError",{enumerable:!0,get:function(){return _qt.default}});var Aqt=pM();Object.defineProperty(sn,"MissingRefError",{enumerable:!0,get:function(){return Aqt.default}})});var V9e=E(ow=>{"use strict";Object.defineProperty(ow,"__esModule",{value:!0});ow.formatLimitDefinition=void 0;var Iqt=H9e(),oc=bt(),Af=oc.operators,Rz={formatMaximum:{okStr:"<=",ok:Af.LTE,fail:Af.GT},formatMinimum:{okStr:">=",ok:Af.GTE,fail:Af.LT},formatExclusiveMaximum:{okStr:"<",ok:Af.LT,fail:Af.GTE},formatExclusiveMinimum:{okStr:">",ok:Af.GT,fail:Af.LTE}},Nqt={message:({keyword:r,schemaCode:e})=>(0,oc.str)`should be ${Rz[r].okStr} ${e}`,params:({keyword:r,schemaCode:e})=>(0,oc._)`{comparison: ${Rz[r].okStr}, limit: ${e}}`};ow.formatLimitDefinition={keyword:Object.keys(Rz),type:"string",schemaType:"string",$data:!0,error:Nqt,code(r){let{gen:e,data:t,schemaCode:n,keyword:i,it:a}=r,{opts:s,self:o}=a;if(!s.validateFormats)return;let l=new Iqt.KeywordCxt(a,o.RULES.all.format.definition,"format");l.$data?c():d();function c(){let p=e.scopeValue("formats",{ref:o.formats,code:s.code.formats}),m=e.const("fmt",(0,oc._)`${p}[${l.schemaCode}]`);r.fail$data((0,oc.or)((0,oc._)`typeof ${m} != "object"`,(0,oc._)`${m} instanceof RegExp`,(0,oc._)`typeof ${m}.compare != "function"`,u(m)))}function d(){let p=l.schema,m=o.formats[p];if(!m||m===!0)return;if(typeof m!="object"||m instanceof RegExp||typeof m.compare!="function")throw new Error(`"${i}": format "${p}" does not define "compare" function`);let f=e.scopeValue("formats",{key:p,ref:m,code:s.code.formats?(0,oc._)`${s.code.formats}${(0,oc.getProperty)(p)}`:void 0});r.fail$data(u(f))}function u(p){return(0,oc._)`${p}.compare(${t}, ${n}) ${Rz[i].fail} 0`}},dependencies:["format"]};var Rqt=r=>(r.addKeyword(ow.formatLimitDefinition),r);ow.default=Rqt});var G9e=E((xM,Y9e)=>{"use strict";Object.defineProperty(xM,"__esModule",{value:!0});var lw=M3e(),Oqt=V9e(),Jne=bt(),q9e=new Jne.Name("fullFormats"),Lqt=new Jne.Name("fastFormats"),Xne=(r,e={keywords:!0})=>{if(Array.isArray(e))return W9e(r,e,lw.fullFormats,q9e),r;let[t,n]=e.mode==="fast"?[lw.fastFormats,Lqt]:[lw.fullFormats,q9e],i=e.formats||lw.formatNames;return W9e(r,i,t,n),e.keywords&&(0,Oqt.default)(r),r};Xne.get=(r,e="full")=>{let n=(e==="fast"?lw.fastFormats:lw.fullFormats)[r];if(!n)throw new Error(`Unknown format "${r}"`);return n};function W9e(r,e,t,n){var i,a;(i=(a=r.opts.code).formats)!==null&&i!==void 0||(a.formats=(0,Jne._)`require("ajv-formats/dist/formats").${n}`);for(let s of e)r.addFormat(s,t[s])}Y9e.exports=xM=Xne;Object.defineProperty(xM,"__esModule",{value:!0});xM.default=Xne});function Fqt(){let r=new K9e.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return(0,Z9e.default)(r),r}var K9e,Z9e,Oz,Q9e=y(()=>{K9e=tt(k3e(),1),Z9e=tt(G9e(),1);Oz=class{constructor(e){this._ajv=e!=null?e:Fqt()}getValidator(e){var n;let t="$id"in e&&typeof e.$id=="string"?(n=this._ajv.getSchema(e.$id))!=null?n:this._ajv.compile(e):this._ajv.compile(e);return i=>t(i)?{valid:!0,data:i,errorMessage:void 0}:{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(t.errors)}}}});var Lz,J9e=y(()=>{Lz=class{constructor(e){this._server=e}requestStream(e,t,n){return this._server.requestStream(e,t,n)}async getTask(e,t){return this._server.getTask({taskId:e},t)}async getTaskResult(e,t,n){return this._server.getTaskResult({taskId:e},t,n)}async listTasks(e,t){return this._server.listTasks(e?{cursor:e}:void 0,t)}async cancelTask(e,t){return this._server.cancelTask({taskId:e},t)}}});function X9e(r,e,t){var n;if(!r)throw new Error(`${t} does not support task creation (required for ${e})`);switch(e){case"tools/call":if(!((n=r.tools)!=null&&n.call))throw new Error(`${t} does not support task creation for tools/call (required for ${e})`);break;default:break}}function e6e(r,e,t){var n,i;if(!r)throw new Error(`${t} does not support task creation (required for ${e})`);switch(e){case"sampling/createMessage":if(!((n=r.sampling)!=null&&n.createMessage))throw new Error(`${t} does not support task creation for sampling/createMessage (required for ${e})`);break;case"elicitation/create":if(!((i=r.elicitation)!=null&&i.create))throw new Error(`${t} does not support task creation for elicitation/create (required for ${e})`);break;default:break}}var t6e=y(()=>{});var Fz,r6e=y(()=>{Vqe();k0();Q9e();d0();J9e();t6e();Fz=class extends E${constructor(e,t){var n,i;super(t),this._serverInfo=e,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(T0.options.map((a,s)=>[a,s])),this.isMessageIgnored=(a,s)=>{let o=this._loggingLevels.get(s);return o?this.LOG_LEVEL_SEVERITY.get(a)<this.LOG_LEVEL_SEVERITY.get(o):!1},this._capabilities=(n=t==null?void 0:t.capabilities)!=null?n:{},this._instructions=t==null?void 0:t.instructions,this._jsonSchemaValidator=(i=t==null?void 0:t.jsonSchemaValidator)!=null?i:new Oz,this.setRequestHandler(Z1,a=>this._oninitialize(a)),this.setNotificationHandler(LX,()=>{var a;return(a=this.oninitialized)==null?void 0:a.call(this)}),this._capabilities.logging&&this.setRequestHandler(HX,async(a,s)=>{var d;let o=s.sessionId||((d=s.requestInfo)==null?void 0:d.headers["mcp-session-id"])||void 0,{level:l}=a.params,c=T0.safeParse(l);return c.success&&this._loggingLevels.set(o,c.data),{}})}get experimental(){return this._experimental||(this._experimental={tasks:new Lz(this)}),this._experimental}registerCapabilities(e){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=Hqe(this._capabilities,e)}setRequestHandler(e,t){var o,l,c;let n=pf(e),i=n==null?void 0:n.method;if(!i)throw new Error("Schema is missing a method literal");let a;if(tl(i)){let d=i,u=(o=d._zod)==null?void 0:o.def;a=(l=u==null?void 0:u.value)!=null?l:d.value}else{let d=i,u=d._def;a=(c=u==null?void 0:u.value)!=null?c:d.value}if(typeof a!="string")throw new Error("Schema method literal must be a string");if(a==="tools/call"){let d=async(u,p)=>{let m=uf(Mk,u);if(!m.success){let v=m.error instanceof Error?m.error.message:String(m.error);throw new Re(Be.InvalidParams,`Invalid tools/call request: ${v}`)}let{params:f}=m.data,h=await Promise.resolve(t(u,p));if(f.task){let v=uf(Dk,h);if(!v.success){let k=v.error instanceof Error?v.error.message:String(v.error);throw new Re(Be.InvalidParams,`Invalid task creation result: ${k}`)}return v.data}let g=uf(u$,h);if(!g.success){let v=g.error instanceof Error?g.error.message:String(g.error);throw new Re(Be.InvalidParams,`Invalid tools/call result: ${v}`)}return g.data};return super.setRequestHandler(e,d)}return super.setRequestHandler(e,t)}assertCapabilityForMethod(e){var t,n,i;switch(e){case"sampling/createMessage":if(!((t=this._clientCapabilities)!=null&&t.sampling))throw new Error(`Client does not support sampling (required for ${e})`);break;case"elicitation/create":if(!((n=this._clientCapabilities)!=null&&n.elicitation))throw new Error(`Client does not support elicitation (required for ${e})`);break;case"roots/list":if(!((i=this._clientCapabilities)!=null&&i.roots))throw new Error(`Client does not support listing roots (required for ${e})`);break;case"ping":break}}assertNotificationCapability(e){var t,n;switch(e){case"notifications/message":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new Error(`Server does not support notifying about resources (required for ${e})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new Error(`Server does not support notifying of tool list changes (required for ${e})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new Error(`Server does not support notifying of prompt list changes (required for ${e})`);break;case"notifications/elicitation/complete":if(!((n=(t=this._clientCapabilities)==null?void 0:t.elicitation)!=null&&n.url))throw new Error(`Client does not support URL elicitation (required for ${e})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(e){if(this._capabilities)switch(e){case"completion/complete":if(!this._capabilities.completions)throw new Error(`Server does not support completions (required for ${e})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new Error(`Server does not support prompts (required for ${e})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new Error(`Server does not support resources (required for ${e})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new Error(`Server does not support tools (required for ${e})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw new Error(`Server does not support tasks capability (required for ${e})`);break;case"ping":case"initialize":break}}assertTaskCapability(e){var t,n;e6e((n=(t=this._clientCapabilities)==null?void 0:t.tasks)==null?void 0:n.requests,e,"Client")}assertTaskHandlerCapability(e){var t;this._capabilities&&X9e((t=this._capabilities.tasks)==null?void 0:t.requests,e,"Server")}async _oninitialize(e){let t=e.params.protocolVersion;return this._clientCapabilities=e.params.capabilities,this._clientVersion=e.params.clientInfo,{protocolVersion:p0.includes(t)?t:_X,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},G1)}async createMessage(e,t){var n,i;if((e.tools||e.toolChoice)&&!((i=(n=this._clientCapabilities)==null?void 0:n.sampling)!=null&&i.tools))throw new Error("Client does not support sampling tools capability.");if(e.messages.length>0){let a=e.messages[e.messages.length-1],s=Array.isArray(a.content)?a.content:[a.content],o=s.some(u=>u.type==="tool_result"),l=e.messages.length>1?e.messages[e.messages.length-2]:void 0,c=l?Array.isArray(l.content)?l.content:[l.content]:[],d=c.some(u=>u.type==="tool_use");if(o){if(s.some(u=>u.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!d)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(d){let u=new Set(c.filter(m=>m.type==="tool_use").map(m=>m.id)),p=new Set(s.filter(m=>m.type==="tool_result").map(m=>m.toolUseId));if(u.size!==p.size||![...u].every(m=>p.has(m)))throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return e.tools?this.request({method:"sampling/createMessage",params:e},qX,t):this.request({method:"sampling/createMessage",params:e},VX,t)}async elicitInput(e,t){var i,a,s,o,l;switch((i=e.mode)!=null?i:"form"){case"url":{if(!((s=(a=this._clientCapabilities)==null?void 0:a.elicitation)!=null&&s.url))throw new Error("Client does not support url elicitation.");let c=e;return this.request({method:"elicitation/create",params:c},p$,t)}case"form":{if(!((l=(o=this._clientCapabilities)==null?void 0:o.elicitation)!=null&&l.form))throw new Error("Client does not support form elicitation.");let c=e.mode==="form"?e:{...e,mode:"form"},d=await this.request({method:"elicitation/create",params:c},p$,t);if(d.action==="accept"&&d.content&&c.requestedSchema)try{let p=this._jsonSchemaValidator.getValidator(c.requestedSchema)(d.content);if(!p.valid)throw new Re(Be.InvalidParams,`Elicitation response content does not match requested schema: ${p.errorMessage}`)}catch(u){throw u instanceof Re?u:new Re(Be.InternalError,`Error validating elicitation response: ${u instanceof Error?u.message:String(u)}`)}return d}}}createElicitationCompletionNotifier(e,t){var n,i;if(!((i=(n=this._clientCapabilities)==null?void 0:n.elicitation)!=null&&i.url))throw new Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:e}},t)}async listRoots(e,t){return this.request({method:"roots/list",params:e},WX,t)}async sendLoggingMessage(e,t){if(this._capabilities.logging&&!this.isMessageIgnored(e.level,t))return this.notification({method:"notifications/message",params:e})}async sendResourceUpdated(e){return this.notification({method:"notifications/resources/updated",params:e})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}});function eie(r){return!!r&&typeof r=="object"&&i6e in r}function a6e(r){let e=r[i6e];return e==null?void 0:e.complete}var i6e,n6e,s6e=y(()=>{i6e=Symbol.for("mcp.completable");(function(r){r.Completable="McpCompletable"})(n6e||(n6e={}))});var o6e=y(()=>{});function zqt(r){let e=[];if(r.length===0)return{isValid:!1,warnings:["Tool name cannot be empty"]};if(r.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${r.length})`]};if(r.includes(" ")&&e.push("Tool name contains spaces, which may cause parsing issues"),r.includes(",")&&e.push("Tool name contains commas, which may cause parsing issues"),(r.startsWith("-")||r.endsWith("-"))&&e.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts"),(r.startsWith(".")||r.endsWith("."))&&e.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts"),!$qt.test(r)){let t=r.split("").filter(n=>!/[A-Za-z0-9._-]/.test(n)).filter((n,i,a)=>a.indexOf(n)===i);return e.push(`Tool name contains invalid characters: ${t.map(n=>`"${n}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:e}}return{isValid:!0,warnings:e}}function jqt(r,e){if(e.length>0){console.warn(`Tool name validation warning for "${r}":`);for(let t of e)console.warn(` - ${t}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}function tie(r){let e=zqt(r);return jqt(r,e.warnings),e.isValid}var $qt,l6e=y(()=>{$qt=/^[A-Za-z0-9._-]{1,128}$/});var $z,c6e=y(()=>{$z=class{constructor(e){this._mcpServer=e}registerToolTask(e,t,n){let i={taskSupport:"required",...t.execution};if(i.taskSupport==="forbidden")throw new Error(`Cannot register task-based tool '${e}' with taskSupport 'forbidden'. Use registerTool() instead.`);return this._mcpServer._createRegisteredTool(e,t.title,t.description,t.inputSchema,t.outputSchema,t.annotations,i,t._meta,n)}}});function p6e(r){return r!==null&&typeof r=="object"&&"parse"in r&&typeof r.parse=="function"&&"safeParse"in r&&typeof r.safeParse=="function"}function Uqt(r){return"_def"in r||"_zod"in r||p6e(r)}function rie(r){return typeof r!="object"||r===null||Uqt(r)?!1:Object.keys(r).length===0?!0:Object.values(r).some(p6e)}function d6e(r){if(r)return rie(r)?fy(r):r}function Hqt(r){let e=pf(r);return e?Object.entries(e).map(([t,n])=>{let i=vVe(n),a=bVe(n);return{name:t,description:i,required:!a}}):[]}function If(r){let e=pf(r),t=e==null?void 0:e.method;if(!t)throw new Error("Schema is missing a method literal");let n=U1(t);if(typeof n=="string")return n;throw new Error("Schema method literal must be a string")}function u6e(r){return{completion:{values:r.slice(0,100),total:r.length,hasMore:r.length>100}}}var zz,Bqt,CM,m6e=y(()=>{r6e();d0();Mee();k0();s6e();o6e();l6e();c6e();KL();zz=class{constructor(e,t){this._registeredResources={},this._registeredResourceTemplates={},this._registeredTools={},this._registeredPrompts={},this._toolHandlersInitialized=!1,this._completionHandlerInitialized=!1,this._resourceHandlersInitialized=!1,this._promptHandlersInitialized=!1,this.server=new Fz(e,t)}get experimental(){return this._experimental||(this._experimental={tasks:new $z(this)}),this._experimental}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||(this.server.assertCanSetRequestHandler(If(d$)),this.server.assertCanSetRequestHandler(If(Mk)),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(d$,()=>({tools:Object.entries(this._registeredTools).filter(([,e])=>e.enabled).map(([e,t])=>{let n={name:e,title:t.title,description:t.description,inputSchema:(()=>{let i=Sk(t.inputSchema);return i?Cee(i,{strictUnions:!0,pipeStrategy:"input"}):Bqt})(),annotations:t.annotations,execution:t.execution,_meta:t._meta};if(t.outputSchema){let i=Sk(t.outputSchema);i&&(n.outputSchema=Cee(i,{strictUnions:!0,pipeStrategy:"output"}))}return n})})),this.server.setRequestHandler(Mk,async(e,t)=>{var n;try{let i=this._registeredTools[e.params.name];if(!i)throw new Re(Be.InvalidParams,`Tool ${e.params.name} not found`);if(!i.enabled)throw new Re(Be.InvalidParams,`Tool ${e.params.name} disabled`);let a=!!e.params.task,s=(n=i.execution)==null?void 0:n.taskSupport,o="createTask"in i.handler;if((s==="required"||s==="optional")&&!o)throw new Re(Be.InternalError,`Tool ${e.params.name} has taskSupport '${s}' but was not registered with registerToolTask`);if(s==="required"&&!a)throw new Re(Be.MethodNotFound,`Tool ${e.params.name} requires task augmentation (taskSupport: 'required')`);if(s==="optional"&&!a&&o)return await this.handleAutomaticTaskPolling(i,e,t);let l=await this.validateToolInput(i,e.params.arguments,e.params.name),c=await this.executeToolHandler(i,l,t);return a||await this.validateToolOutput(i,c,e.params.name),c}catch(i){if(i instanceof Re&&i.code===Be.UrlElicitationRequired)throw i;return this.createToolError(i instanceof Error?i.message:String(i))}}),this._toolHandlersInitialized=!0)}createToolError(e){return{content:[{type:"text",text:e}],isError:!0}}async validateToolInput(e,t,n){if(!e.inputSchema)return;let i=Sk(e.inputSchema),a=i!=null?i:e.inputSchema,s=await j1(a,t);if(!s.success){let o="error"in s?s.error:"Unknown error",l=B1(o);throw new Re(Be.InvalidParams,`Input validation error: Invalid arguments for tool ${n}: ${l}`)}return s.data}async validateToolOutput(e,t,n){if(!e.outputSchema||!("content"in t)||t.isError)return;if(!t.structuredContent)throw new Re(Be.InvalidParams,`Output validation error: Tool ${n} has an output schema but no structured content was provided`);let i=Sk(e.outputSchema),a=await j1(i,t.structuredContent);if(!a.success){let s="error"in a?a.error:"Unknown error",o=B1(s);throw new Re(Be.InvalidParams,`Output validation error: Invalid structured content for tool ${n}: ${o}`)}}async executeToolHandler(e,t,n){let i=e.handler;if("createTask"in i){if(!n.taskStore)throw new Error("No task store provided.");let s={...n,taskStore:n.taskStore};if(e.inputSchema){let o=i;return await Promise.resolve(o.createTask(t,s))}else{let o=i;return await Promise.resolve(o.createTask(s))}}if(e.inputSchema){let s=i;return await Promise.resolve(s(t,n))}else{let s=i;return await Promise.resolve(s(n))}}async handleAutomaticTaskPolling(e,t,n){var u;if(!n.taskStore)throw new Error("No task store provided for task-capable tool.");let i=await this.validateToolInput(e,t.params.arguments,t.params.name),a=e.handler,s={...n,taskStore:n.taskStore},o=i?await Promise.resolve(a.createTask(i,s)):await Promise.resolve(a.createTask(s)),l=o.task.taskId,c=o.task,d=(u=c.pollInterval)!=null?u:5e3;for(;c.status!=="completed"&&c.status!=="failed"&&c.status!=="cancelled";){await new Promise(m=>setTimeout(m,d));let p=await n.taskStore.getTask(l);if(!p)throw new Re(Be.InternalError,`Task ${l} not found during polling`);c=p}return await n.taskStore.getTaskResult(l)}setCompletionRequestHandler(){this._completionHandlerInitialized||(this.server.assertCanSetRequestHandler(If(m$)),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(m$,async e=>{switch(e.params.ref.type){case"ref/prompt":return aqe(e),this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return sqe(e),this.handleResourceCompletion(e,e.params.ref);default:throw new Re(Be.InvalidParams,`Invalid completion reference: ${e.params.ref}`)}}),this._completionHandlerInitialized=!0)}async handlePromptCompletion(e,t){let n=this._registeredPrompts[t.name];if(!n)throw new Re(Be.InvalidParams,`Prompt ${t.name} not found`);if(!n.enabled)throw new Re(Be.InvalidParams,`Prompt ${t.name} disabled`);if(!n.argsSchema)return CM;let i=pf(n.argsSchema),a=i==null?void 0:i[e.params.argument.name];if(!eie(a))return CM;let s=a6e(a);if(!s)return CM;let o=await s(e.params.argument.value,e.params.context);return u6e(o)}async handleResourceCompletion(e,t){let n=Object.values(this._registeredResourceTemplates).find(s=>s.resourceTemplate.uriTemplate.toString()===t.uri);if(!n){if(this._registeredResources[t.uri])return CM;throw new Re(Be.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}let i=n.resourceTemplate.completeCallback(e.params.argument.name);if(!i)return CM;let a=await i(e.params.argument.value,e.params.context);return u6e(a)}setResourceRequestHandlers(){this._resourceHandlersInitialized||(this.server.assertCanSetRequestHandler(If(a$)),this.server.assertCanSetRequestHandler(If(s$)),this.server.assertCanSetRequestHandler(If(o$)),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler(a$,async(e,t)=>{let n=Object.entries(this._registeredResources).filter(([a,s])=>s.enabled).map(([a,s])=>({uri:a,name:s.name,...s.metadata})),i=[];for(let a of Object.values(this._registeredResourceTemplates)){if(!a.resourceTemplate.listCallback)continue;let s=await a.resourceTemplate.listCallback(t);for(let o of s.resources)i.push({...a.metadata,...o})}return{resources:[...n,...i]}}),this.server.setRequestHandler(s$,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([t,n])=>({name:t,uriTemplate:n.resourceTemplate.uriTemplate.toString(),...n.metadata}))})),this.server.setRequestHandler(o$,async(e,t)=>{let n=new URL(e.params.uri),i=this._registeredResources[n.toString()];if(i){if(!i.enabled)throw new Re(Be.InvalidParams,`Resource ${n} disabled`);return i.readCallback(n,t)}for(let a of Object.values(this._registeredResourceTemplates)){let s=a.resourceTemplate.uriTemplate.match(n.toString());if(s)return a.readCallback(n,s,t)}throw new Re(Be.InvalidParams,`Resource ${n} not found`)}),this._resourceHandlersInitialized=!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||(this.server.assertCanSetRequestHandler(If(l$)),this.server.assertCanSetRequestHandler(If(c$)),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(l$,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,t])=>({name:e,title:t.title,description:t.description,arguments:t.argsSchema?Hqt(t.argsSchema):void 0}))})),this.server.setRequestHandler(c$,async(e,t)=>{let n=this._registeredPrompts[e.params.name];if(!n)throw new Re(Be.InvalidParams,`Prompt ${e.params.name} not found`);if(!n.enabled)throw new Re(Be.InvalidParams,`Prompt ${e.params.name} disabled`);if(n.argsSchema){let i=Sk(n.argsSchema),a=await j1(i,e.params.arguments);if(!a.success){let l="error"in a?a.error:"Unknown error",c=B1(l);throw new Re(Be.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${c}`)}let s=a.data,o=n.callback;return await Promise.resolve(o(s,t))}else{let i=n.callback;return await Promise.resolve(i(t))}}),this._promptHandlersInitialized=!0)}resource(e,t,...n){let i;typeof n[0]=="object"&&(i=n.shift());let a=n[0];if(typeof t=="string"){if(this._registeredResources[t])throw new Error(`Resource ${t} is already registered`);let s=this._createRegisteredResource(e,void 0,t,i,a);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),s}else{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);let s=this._createRegisteredResourceTemplate(e,void 0,t,i,a);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),s}}registerResource(e,t,n,i){if(typeof t=="string"){if(this._registeredResources[t])throw new Error(`Resource ${t} is already registered`);let a=this._createRegisteredResource(e,n.title,t,n,i);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),a}else{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);let a=this._createRegisteredResourceTemplate(e,n.title,t,n,i);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),a}}_createRegisteredResource(e,t,n,i,a){let s={name:e,title:t,metadata:i,readCallback:a,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({uri:null}),update:o=>{typeof o.uri!="undefined"&&o.uri!==n&&(delete this._registeredResources[n],o.uri&&(this._registeredResources[o.uri]=s)),typeof o.name!="undefined"&&(s.name=o.name),typeof o.title!="undefined"&&(s.title=o.title),typeof o.metadata!="undefined"&&(s.metadata=o.metadata),typeof o.callback!="undefined"&&(s.readCallback=o.callback),typeof o.enabled!="undefined"&&(s.enabled=o.enabled),this.sendResourceListChanged()}};return this._registeredResources[n]=s,s}_createRegisteredResourceTemplate(e,t,n,i,a){let s={resourceTemplate:n,title:t,metadata:i,readCallback:a,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:c=>{typeof c.name!="undefined"&&c.name!==e&&(delete this._registeredResourceTemplates[e],c.name&&(this._registeredResourceTemplates[c.name]=s)),typeof c.title!="undefined"&&(s.title=c.title),typeof c.template!="undefined"&&(s.resourceTemplate=c.template),typeof c.metadata!="undefined"&&(s.metadata=c.metadata),typeof c.callback!="undefined"&&(s.readCallback=c.callback),typeof c.enabled!="undefined"&&(s.enabled=c.enabled),this.sendResourceListChanged()}};this._registeredResourceTemplates[e]=s;let o=n.uriTemplate.variableNames;return Array.isArray(o)&&o.some(c=>!!n.completeCallback(c))&&this.setCompletionRequestHandler(),s}_createRegisteredPrompt(e,t,n,i,a){let s={title:t,description:n,argsSchema:i===void 0?void 0:fy(i),callback:a,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:o=>{typeof o.name!="undefined"&&o.name!==e&&(delete this._registeredPrompts[e],o.name&&(this._registeredPrompts[o.name]=s)),typeof o.title!="undefined"&&(s.title=o.title),typeof o.description!="undefined"&&(s.description=o.description),typeof o.argsSchema!="undefined"&&(s.argsSchema=fy(o.argsSchema)),typeof o.callback!="undefined"&&(s.callback=o.callback),typeof o.enabled!="undefined"&&(s.enabled=o.enabled),this.sendPromptListChanged()}};return this._registeredPrompts[e]=s,i&&Object.values(i).some(l=>{var d;let c=l instanceof bs?(d=l._def)==null?void 0:d.innerType:l;return eie(c)})&&this.setCompletionRequestHandler(),s}_createRegisteredTool(e,t,n,i,a,s,o,l,c){tie(e);let d={title:t,description:n,inputSchema:d6e(i),outputSchema:d6e(a),annotations:s,execution:o,_meta:l,handler:c,enabled:!0,disable:()=>d.update({enabled:!1}),enable:()=>d.update({enabled:!0}),remove:()=>d.update({name:null}),update:u=>{typeof u.name!="undefined"&&u.name!==e&&(typeof u.name=="string"&&tie(u.name),delete this._registeredTools[e],u.name&&(this._registeredTools[u.name]=d)),typeof u.title!="undefined"&&(d.title=u.title),typeof u.description!="undefined"&&(d.description=u.description),typeof u.paramsSchema!="undefined"&&(d.inputSchema=fy(u.paramsSchema)),typeof u.outputSchema!="undefined"&&(d.outputSchema=fy(u.outputSchema)),typeof u.callback!="undefined"&&(d.handler=u.callback),typeof u.annotations!="undefined"&&(d.annotations=u.annotations),typeof u._meta!="undefined"&&(d._meta=u._meta),typeof u.enabled!="undefined"&&(d.enabled=u.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=d,this.setToolRequestHandlers(),this.sendToolListChanged(),d}tool(e,...t){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let n,i,a,s;if(typeof t[0]=="string"&&(n=t.shift()),t.length>1){let l=t[0];rie(l)?(i=t.shift(),t.length>1&&typeof t[0]=="object"&&t[0]!==null&&!rie(t[0])&&(s=t.shift())):typeof l=="object"&&l!==null&&(s=t.shift())}let o=t[0];return this._createRegisteredTool(e,void 0,n,i,a,s,{taskSupport:"forbidden"},void 0,o)}registerTool(e,t,n){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let{title:i,description:a,inputSchema:s,outputSchema:o,annotations:l,_meta:c}=t;return this._createRegisteredTool(e,i,a,s,o,l,{taskSupport:"forbidden"},c,n)}prompt(e,...t){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let n;typeof t[0]=="string"&&(n=t.shift());let i;t.length>1&&(i=t.shift());let a=t[0],s=this._createRegisteredPrompt(e,void 0,n,i,a);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),s}registerPrompt(e,t,n){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let{title:i,description:a,argsSchema:s}=t,o=this._createRegisteredPrompt(e,i,a,s,n);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),o}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage(e,t){return this.server.sendLoggingMessage(e,t)}sendResourceListChanged(){this.isConnected()&&this.server.sendResourceListChanged()}sendToolListChanged(){this.isConnected()&&this.server.sendToolListChanged()}sendPromptListChanged(){this.isConnected()&&this.server.sendPromptListChanged()}},Bqt={type:"object",properties:{}};CM={completion:{values:[],hasMore:!1}}});async function Qqt(r){return Promise.race([r,Promise.resolve().then(()=>Promise.resolve(void 0))])}function g6e(r,e,t){let n=o=>{r.cancel(o).catch(()=>{})};return e.on("close",n),e.on("error",n),(t!=null?t:r.read()).then(s,i),r.closed.finally(()=>{e.off("close",n),e.off("error",n)});function i(o){o&&e.destroy(o)}function a(){r.read().then(s,i)}function s({done:o,value:l}){try{if(o)e.end();else if(!e.write(l))e.once("drain",a);else return r.read().then(s,i)}catch(c){i(c)}}}function Jqt(r,e){if(r.locked)throw new TypeError("ReadableStream is locked.");return e.destroyed?void 0:g6e(r.getReader(),e)}var Vqt,_M,jz,aie,y6e,Ly,qqt,Wqt,PM,Yqt,h6e,Gqt,uw,Bz,Uz,Hz,nie,Nf,Kqt,AM,Zqt,DM,cw,Fy,lie,MM,Tp,dw,pw,sie,Xqt,cie,f6e,eWt,tWt,iie,rWt,v6e,oie,b6e,T6e,nWt,iWt,die,k6e=y(()=>{Vqt=require("http"),_M=require("http2"),jz=require("http2"),aie=require("stream"),y6e=tt(require("crypto"),1),Ly=class extends Error{constructor(r,e){super(r,e),this.name="RequestError"}},qqt=r=>r instanceof Ly?r:new Ly(r.message,{cause:r}),Wqt=global.Request,PM=class extends Wqt{constructor(r,e){var t,n;typeof r=="object"&&uw in r&&(r=r[uw]()),typeof((t=e==null?void 0:e.body)==null?void 0:t.getReader)!="undefined"&&((n=e.duplex)!=null||(e.duplex="half")),super(r,e)}},Yqt=r=>{let e=[],t=r.rawHeaders;for(let n=0;n<t.length;n+=2){let{[n]:i,[n+1]:a}=t;i.charCodeAt(0)!==58&&e.push([i,a])}return new Headers(e)},h6e=Symbol("wrapBodyStream"),Gqt=(r,e,t,n,i)=>{let a={method:r,headers:t,signal:i.signal};if(r==="TRACE"){a.method="GET";let s=new PM(e,a);return Object.defineProperty(s,"method",{get(){return"TRACE"}}),s}if(!(r==="GET"||r==="HEAD"))if("rawBody"in n&&n.rawBody instanceof Buffer)a.body=new ReadableStream({start(s){s.enqueue(n.rawBody),s.close()}});else if(n[h6e]){let s;a.body=new ReadableStream({async pull(o){try{s||(s=aie.Readable.toWeb(n).getReader());let{done:l,value:c}=await s.read();l?o.close():o.enqueue(c)}catch(l){o.error(l)}}})}else a.body=aie.Readable.toWeb(n);return new PM(e,a)},uw=Symbol("getRequestCache"),Bz=Symbol("requestCache"),Uz=Symbol("incomingKey"),Hz=Symbol("urlKey"),nie=Symbol("headersKey"),Nf=Symbol("abortControllerKey"),Kqt=Symbol("getAbortController"),AM={get method(){return this[Uz].method||"GET"},get url(){return this[Hz]},get headers(){return this[nie]||(this[nie]=Yqt(this[Uz]))},[Kqt](){return this[uw](),this[Nf]},[uw](){return this[Nf]||(this[Nf]=new AbortController),this[Bz]||(this[Bz]=Gqt(this.method,this[Hz],this.headers,this[Uz],this[Nf]))}};["body","bodyUsed","cache","credentials","destination","integrity","mode","redirect","referrer","referrerPolicy","signal","keepalive"].forEach(r=>{Object.defineProperty(AM,r,{get(){return this[uw]()[r]}})});["arrayBuffer","blob","clone","formData","json","text"].forEach(r=>{Object.defineProperty(AM,r,{value:function(){return this[uw]()[r]()}})});Object.defineProperty(AM,Symbol.for("nodejs.util.inspect.custom"),{value:function(r,e,t){let n={method:this.method,url:this.url,headers:this.headers,nativeRequest:this[Bz]};return`Request (lightweight) ${t(n,{...e,depth:r==null?null:r-1})}`}});Object.setPrototypeOf(AM,PM.prototype);Zqt=(r,e)=>{let t=Object.create(AM);t[Uz]=r;let n=r.url||"";if(n[0]!=="/"&&(n.startsWith("http://")||n.startsWith("https://"))){if(r instanceof jz.Http2ServerRequest)throw new Ly("Absolute URL for :path is not allowed in HTTP/2");try{let o=new URL(n);t[Hz]=o.href}catch(o){throw new Ly("Invalid absolute URL",{cause:o})}return t}let i=(r instanceof jz.Http2ServerRequest?r.authority:r.headers.host)||e;if(!i)throw new Ly("Missing host header");let a;if(r instanceof jz.Http2ServerRequest){if(a=r.scheme,!(a==="http"||a==="https"))throw new Ly("Unsupported scheme")}else a=r.socket&&r.socket.encrypted?"https":"http";let s=new URL(`${a}://${i}${n}`);if(s.hostname.length!==i.length&&s.hostname!==i.replace(/:\d+$/,""))throw new Ly("Invalid host header");return t[Hz]=s.href,t},DM=Symbol("responseCache"),cw=Symbol("getResponseCache"),Fy=Symbol("cache"),lie=global.Response,pw=(dw=class{constructor(e,t){Hf(this,MM);Hf(this,Tp);let n;if($d(this,MM,e),t instanceof dw){let i=t[DM];if(i){$d(this,Tp,i),this[cw]();return}else $d(this,Tp,ho(t,Tp)),n=new Headers(ho(t,Tp).headers)}else $d(this,Tp,t);(typeof e=="string"||typeof(e==null?void 0:e.getReader)!="undefined"||e instanceof Blob||e instanceof Uint8Array)&&(this[Fy]=[(t==null?void 0:t.status)||200,e,n||(t==null?void 0:t.headers)])}[cw](){return delete this[Fy],this[DM]||(this[DM]=new lie(ho(this,MM),ho(this,Tp)))}get headers(){let e=this[Fy];return e?(e[2]instanceof Headers||(e[2]=new Headers(e[2]||{"content-type":"text/plain; charset=UTF-8"})),e[2]):this[cw]().headers}get status(){var e,t;return(t=(e=this[Fy])==null?void 0:e[0])!=null?t:this[cw]().status}get ok(){let e=this.status;return e>=200&&e<300}},MM=new WeakMap,Tp=new WeakMap,dw);["body","bodyUsed","redirected","statusText","trailers","type","url"].forEach(r=>{Object.defineProperty(pw.prototype,r,{get(){return this[cw]()[r]}})});["arrayBuffer","blob","clone","formData","json","text"].forEach(r=>{Object.defineProperty(pw.prototype,r,{value:function(){return this[cw]()[r]()}})});Object.defineProperty(pw.prototype,Symbol.for("nodejs.util.inspect.custom"),{value:function(r,e,t){let n={status:this.status,headers:this.headers,ok:this.ok,nativeResponse:this[DM]};return`Response (lightweight) ${t(n,{...e,depth:r==null?null:r-1})}`}});Object.setPrototypeOf(pw,lie);Object.setPrototypeOf(pw.prototype,lie.prototype);sie=r=>{var n;let e={};r instanceof Headers||(r=new Headers(r!=null?r:void 0));let t=[];for(let[i,a]of r)i==="set-cookie"?t.push(a):e[i]=a;return t.length>0&&(e["set-cookie"]=t),(n=e["content-type"])!=null||(e["content-type"]="text/plain; charset=UTF-8"),e},Xqt="x-hono-already-sent";typeof global.crypto=="undefined"&&(global.crypto=y6e.default);cie=Symbol("outgoingEnded"),f6e=Symbol("incomingDraining"),eWt=500,tWt=64*1024*1024,iie=r=>{var o,l,c;let e=r;if(r.destroyed||e[f6e])return;if(e[f6e]=!0,r instanceof _M.Http2ServerRequest){try{(l=(o=r.stream)==null?void 0:o.close)==null||l.call(o,_M.constants.NGHTTP2_NO_ERROR)}catch(d){}return}let t=0,n=()=>{clearTimeout(a),r.off("data",s),r.off("end",n),r.off("error",n)},i=()=>{n();let d=r.socket;d&&!d.destroyed&&d.destroySoon()},a=setTimeout(i,eWt);(c=a.unref)==null||c.call(a);let s=d=>{t+=d.length,t>tWt&&i()};r.on("data",s),r.on("end",n),r.on("error",n),r.resume()},rWt=()=>new Response(null,{status:400}),v6e=r=>new Response(null,{status:r instanceof Error&&(r.name==="TimeoutError"||r.constructor.name==="TimeoutError")?504:500}),oie=(r,e)=>{let t=r instanceof Error?r:new Error("unknown error",{cause:r});t.code==="ERR_STREAM_PREMATURE_CLOSE"?console.info("The user aborted a request."):(console.error(r),e.headersSent||e.writeHead(500,{"Content-Type":"text/plain"}),e.end(`Error: ${t.message}`),e.destroy(t))},b6e=r=>{"flushHeaders"in r&&r.writable&&r.flushHeaders()},T6e=async(r,e)=>{var s,o;let[t,n,i]=r[Fy],a=!1;if(!i)i={"content-type":"text/plain; charset=UTF-8"};else if(i instanceof Headers)a=i.has("content-length"),i=sie(i);else if(Array.isArray(i)){let l=new Headers(i);a=l.has("content-length"),i=sie(l)}else for(let l in i)if(l.length===14&&l.toLowerCase()==="content-length"){a=!0;break}a||(typeof n=="string"?i["Content-Length"]=Buffer.byteLength(n):n instanceof Uint8Array?i["Content-Length"]=n.byteLength:n instanceof Blob&&(i["Content-Length"]=n.size)),e.writeHead(t,i),typeof n=="string"||n instanceof Uint8Array?e.end(n):n instanceof Blob?e.end(new Uint8Array(await n.arrayBuffer())):(b6e(e),await((s=Jqt(n,e))==null?void 0:s.catch(l=>oie(l,e)))),(o=e[cie])==null||o.call(e)},nWt=r=>typeof r.then=="function",iWt=async(r,e,t={})=>{var i;if(nWt(r))if(t.errorHandler)try{r=await r}catch(a){let s=await t.errorHandler(a);if(!s)return;r=s}else r=await r.catch(v6e);if(Fy in r)return T6e(r,e);let n=sie(r.headers);if(r.body){let a=r.body.getReader(),s=[],o=!1,l;if(n["transfer-encoding"]!=="chunked"){let c=2;for(let d=0;d<c;d++){l||(l=a.read());let u=await Qqt(l).catch(p=>{console.error(p),o=!0});if(!u){if(d===1){await new Promise(p=>setTimeout(p)),c=3;continue}break}if(l=void 0,u.value&&s.push(u.value),u.done){o=!0;break}}o&&!("content-length"in n)&&(n["content-length"]=s.reduce((d,u)=>d+u.length,0))}e.writeHead(r.status,n),s.forEach(c=>{e.write(c)}),o?e.end():(s.length===0&&b6e(e),await g6e(a,e,l))}else n[Xqt]||(e.writeHead(r.status,n),e.end());(i=e[cie])==null||i.call(e)},die=(r,e={})=>{var n;let t=(n=e.autoCleanupIncoming)!=null?n:!0;return e.overrideGlobalObjects!==!1&&global.Request!==PM&&(Object.defineProperty(global,"Request",{value:PM}),Object.defineProperty(global,"Response",{value:pw})),async(i,a)=>{let s,o;try{o=Zqt(i,e.hostname);let l=!t||i.method==="GET"||i.method==="HEAD";if(l||(i[h6e]=!0,i.on("end",()=>{l=!0}),i instanceof _M.Http2ServerRequest&&(a[cie]=()=>{l||setTimeout(()=>{l||setTimeout(()=>{iie(i)})})}),a.on("finish",()=>{l||iie(i)})),a.on("close",()=>{o[Nf]&&(i.errored?o[Nf].abort(i.errored.toString()):a.writableFinished||o[Nf].abort("Client connection prematurely closed.")),l||setTimeout(()=>{l||setTimeout(()=>{iie(i)})})}),s=r(o,{incoming:i,outgoing:a}),Fy in s)return T6e(s,a)}catch(l){if(s)return oie(l,a);if(e.errorHandler){if(s=await e.errorHandler(o?l:qqt(l)),!s)return}else o?s=v6e(l):s=rWt()}try{return await iWt(s,a,e)}catch(l){return oie(l,a)}}}});var Vz,w6e=y(()=>{k0();Vz=class{constructor(e={}){var t,n;this._started=!1,this._hasHandledRequest=!1,this._streamMapping=new Map,this._requestToStreamMapping=new Map,this._requestResponseMap=new Map,this._initialized=!1,this._enableJsonResponse=!1,this._standaloneSseStreamId="_GET_stream",this.sessionIdGenerator=e.sessionIdGenerator,this._enableJsonResponse=(t=e.enableJsonResponse)!=null?t:!1,this._eventStore=e.eventStore,this._onsessioninitialized=e.onsessioninitialized,this._onsessionclosed=e.onsessionclosed,this._allowedHosts=e.allowedHosts,this._allowedOrigins=e.allowedOrigins,this._enableDnsRebindingProtection=(n=e.enableDnsRebindingProtection)!=null?n:!1,this._retryInterval=e.retryInterval}async start(){if(this._started)throw new Error("Transport already started");this._started=!0}createJsonErrorResponse(e,t,n,i){let a={code:t,message:n};return(i==null?void 0:i.data)!==void 0&&(a.data=i.data),new Response(JSON.stringify({jsonrpc:"2.0",error:a,id:null}),{status:e,headers:{"Content-Type":"application/json",...i==null?void 0:i.headers}})}validateRequestHeaders(e){var t,n;if(this._enableDnsRebindingProtection){if(this._allowedHosts&&this._allowedHosts.length>0){let i=e.headers.get("host");if(!i||!this._allowedHosts.includes(i)){let a=`Invalid Host header: ${i}`;return(t=this.onerror)==null||t.call(this,new Error(a)),this.createJsonErrorResponse(403,-32e3,a)}}if(this._allowedOrigins&&this._allowedOrigins.length>0){let i=e.headers.get("origin");if(i&&!this._allowedOrigins.includes(i)){let a=`Invalid Origin header: ${i}`;return(n=this.onerror)==null||n.call(this,new Error(a)),this.createJsonErrorResponse(403,-32e3,a)}}}}async handleRequest(e,t){if(!this.sessionIdGenerator&&this._hasHandledRequest)throw new Error("Stateless transport cannot be reused across requests. Create a new transport per request.");this._hasHandledRequest=!0;let n=this.validateRequestHeaders(e);if(n)return n;switch(e.method){case"POST":return this.handlePostRequest(e,t);case"GET":return this.handleGetRequest(e);case"DELETE":return this.handleDeleteRequest(e);default:return this.handleUnsupportedRequest()}}async writePrimingEvent(e,t,n,i){if(!this._eventStore||i<"2025-11-25")return;let a=await this._eventStore.storeEvent(n,{}),s=`id: ${a}
data:
`;this._retryInterval!==void 0&&(s=`id: ${a}
retry: ${this._retryInterval}
data:
`),e.enqueue(t.encode(s))}async handleGetRequest(e){let t=e.headers.get("accept");if(!(t!=null&&t.includes("text/event-stream")))return this.createJsonErrorResponse(406,-32e3,"Not Acceptable: Client must accept text/event-stream");let n=this.validateSession(e);if(n)return n;let i=this.validateProtocolVersion(e);if(i)return i;if(this._eventStore){let c=e.headers.get("last-event-id");if(c)return this.replayEvents(c)}if(this._streamMapping.get(this._standaloneSseStreamId)!==void 0)return this.createJsonErrorResponse(409,-32e3,"Conflict: Only one SSE stream is allowed per session");let a=new TextEncoder,s,o=new ReadableStream({start:c=>{s=c},cancel:()=>{this._streamMapping.delete(this._standaloneSseStreamId)}}),l={"Content-Type":"text/event-stream","Cache-Control":"no-cache, no-transform",Connection:"keep-alive"};return this.sessionId!==void 0&&(l["mcp-session-id"]=this.sessionId),this._streamMapping.set(this._standaloneSseStreamId,{controller:s,encoder:a,cleanup:()=>{this._streamMapping.delete(this._standaloneSseStreamId);try{s.close()}catch(c){}}}),new Response(o,{headers:l})}async replayEvents(e){var t;if(!this._eventStore)return this.createJsonErrorResponse(400,-32e3,"Event store not configured");try{let n;if(this._eventStore.getStreamIdForEventId){if(n=await this._eventStore.getStreamIdForEventId(e),!n)return this.createJsonErrorResponse(400,-32e3,"Invalid event ID format");if(this._streamMapping.get(n)!==void 0)return this.createJsonErrorResponse(409,-32e3,"Conflict: Stream already has an active connection")}let i={"Content-Type":"text/event-stream","Cache-Control":"no-cache, no-transform",Connection:"keep-alive"};this.sessionId!==void 0&&(i["mcp-session-id"]=this.sessionId);let a=new TextEncoder,s,o=new ReadableStream({start:c=>{s=c},cancel:()=>{}}),l=await this._eventStore.replayEventsAfter(e,{send:async(c,d)=>{var p;if(!this.writeSSEEvent(s,a,d,c)){(p=this.onerror)==null||p.call(this,new Error("Failed replay events"));try{s.close()}catch(m){}}}});return this._streamMapping.set(l,{controller:s,encoder:a,cleanup:()=>{this._streamMapping.delete(l);try{s.close()}catch(c){}}}),new Response(o,{headers:i})}catch(n){return(t=this.onerror)==null||t.call(this,n),this.createJsonErrorResponse(500,-32e3,"Error replaying events")}}writeSSEEvent(e,t,n,i){try{let a=`event: message
`;return i&&(a+=`id: ${i}
`),a+=`data: ${JSON.stringify(n)}
`,e.enqueue(t.encode(a)),!0}catch(a){return!1}}handleUnsupportedRequest(){return new Response(JSON.stringify({jsonrpc:"2.0",error:{code:-32e3,message:"Method not allowed."},id:null}),{status:405,headers:{Allow:"GET, POST, DELETE","Content-Type":"application/json"}})}async handlePostRequest(e,t){var n,i,a,s,o;try{let l=e.headers.get("accept");if(!(l!=null&&l.includes("application/json"))||!l.includes("text/event-stream"))return this.createJsonErrorResponse(406,-32e3,"Not Acceptable: Client must accept both application/json and text/event-stream");let c=e.headers.get("content-type");if(!c||!c.includes("application/json"))return this.createJsonErrorResponse(415,-32e3,"Unsupported Media Type: Content-Type must be application/json");let d={headers:Object.fromEntries(e.headers.entries())},u;if((t==null?void 0:t.parsedBody)!==void 0)u=t.parsedBody;else try{u=await e.json()}catch(x){return this.createJsonErrorResponse(400,-32700,"Parse error: Invalid JSON")}let p;try{Array.isArray(u)?p=u.map(x=>RX.parse(x)):p=[RX.parse(u)]}catch(x){return this.createJsonErrorResponse(400,-32700,"Parse error: Invalid JSON-RPC message")}let m=p.some(OX);if(m){if(this._initialized&&this.sessionId!==void 0)return this.createJsonErrorResponse(400,-32600,"Invalid Request: Server already initialized");if(p.length>1)return this.createJsonErrorResponse(400,-32600,"Invalid Request: Only one initialization request is allowed");this.sessionId=(n=this.sessionIdGenerator)==null?void 0:n.call(this),this._initialized=!0,this.sessionId&&this._onsessioninitialized&&await Promise.resolve(this._onsessioninitialized(this.sessionId))}if(!m){let x=this.validateSession(e);if(x)return x;let C=this.validateProtocolVersion(e);if(C)return C}if(!p.some(ff)){for(let x of p)(i=this.onmessage)==null||i.call(this,x,{authInfo:t==null?void 0:t.authInfo,requestInfo:d});return new Response(null,{status:202})}let h=crypto.randomUUID(),g=p.find(x=>OX(x)),v=g?g.params.protocolVersion:(a=e.headers.get("mcp-protocol-version"))!=null?a:qVe;if(this._enableJsonResponse)return new Promise(x=>{var C;this._streamMapping.set(h,{resolveJson:x,cleanup:()=>{this._streamMapping.delete(h)}});for(let D of p)ff(D)&&this._requestToStreamMapping.set(D.id,h);for(let D of p)(C=this.onmessage)==null||C.call(this,D,{authInfo:t==null?void 0:t.authInfo,requestInfo:d})});let k=new TextEncoder,b,w=new ReadableStream({start:x=>{b=x},cancel:()=>{this._streamMapping.delete(h)}}),S={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"};this.sessionId!==void 0&&(S["mcp-session-id"]=this.sessionId);for(let x of p)ff(x)&&(this._streamMapping.set(h,{controller:b,encoder:k,cleanup:()=>{this._streamMapping.delete(h);try{b.close()}catch(C){}}}),this._requestToStreamMapping.set(x.id,h));await this.writePrimingEvent(b,k,h,v);for(let x of p){let C,D;ff(x)&&this._eventStore&&v>="2025-11-25"&&(C=()=>{this.closeSSEStream(x.id)},D=()=>{this.closeStandaloneSSEStream()}),(s=this.onmessage)==null||s.call(this,x,{authInfo:t==null?void 0:t.authInfo,requestInfo:d,closeSSEStream:C,closeStandaloneSSEStream:D})}return new Response(w,{status:200,headers:S})}catch(l){return(o=this.onerror)==null||o.call(this,l),this.createJsonErrorResponse(400,-32700,"Parse error",{data:String(l)})}}async handleDeleteRequest(e){var i;let t=this.validateSession(e);if(t)return t;let n=this.validateProtocolVersion(e);return n||(await Promise.resolve((i=this._onsessionclosed)==null?void 0:i.call(this,this.sessionId)),await this.close(),new Response(null,{status:200}))}validateSession(e){if(this.sessionIdGenerator===void 0)return;if(!this._initialized)return this.createJsonErrorResponse(400,-32e3,"Bad Request: Server not initialized");let t=e.headers.get("mcp-session-id");if(!t)return this.createJsonErrorResponse(400,-32e3,"Bad Request: Mcp-Session-Id header is required");if(t!==this.sessionId)return this.createJsonErrorResponse(404,-32001,"Session not found")}validateProtocolVersion(e){let t=e.headers.get("mcp-protocol-version");if(t!==null&&!p0.includes(t))return this.createJsonErrorResponse(400,-32e3,`Bad Request: Unsupported protocol version: ${t} (supported versions: ${p0.join(", ")})`)}async close(){var e;this._streamMapping.forEach(({cleanup:t})=>{t()}),this._streamMapping.clear(),this._requestResponseMap.clear(),(e=this.onclose)==null||e.call(this)}closeSSEStream(e){let t=this._requestToStreamMapping.get(e);if(!t)return;let n=this._streamMapping.get(t);n&&n.cleanup()}closeStandaloneSSEStream(){let e=this._streamMapping.get(this._standaloneSseStreamId);e&&e.cleanup()}async send(e,t){let n=t==null?void 0:t.relatedRequestId;if((up(e)||Ck(e))&&(n=e.id),n===void 0){if(up(e)||Ck(e))throw new Error("Cannot send a response on a standalone SSE stream unless resuming a previous client request");let s;this._eventStore&&(s=await this._eventStore.storeEvent(this._standaloneSseStreamId,e));let o=this._streamMapping.get(this._standaloneSseStreamId);if(o===void 0)return;o.controller&&o.encoder&&this.writeSSEEvent(o.controller,o.encoder,e,s);return}let i=this._requestToStreamMapping.get(n);if(!i)throw new Error(`No connection established for request ID: ${String(n)}`);let a=this._streamMapping.get(i);if(!this._enableJsonResponse&&(a!=null&&a.controller)&&(a!=null&&a.encoder)){let s;this._eventStore&&(s=await this._eventStore.storeEvent(i,e)),this.writeSSEEvent(a.controller,a.encoder,e,s)}if(up(e)||Ck(e)){this._requestResponseMap.set(n,e);let s=Array.from(this._requestToStreamMapping.entries()).filter(([l,c])=>c===i).map(([l])=>l);if(s.every(l=>this._requestResponseMap.has(l))){if(!a)throw new Error(`No connection established for request ID: ${String(n)}`);if(this._enableJsonResponse&&a.resolveJson){let l={"Content-Type":"application/json"};this.sessionId!==void 0&&(l["mcp-session-id"]=this.sessionId);let c=s.map(d=>this._requestResponseMap.get(d));c.length===1?a.resolveJson(new Response(JSON.stringify(c[0]),{status:200,headers:l})):a.resolveJson(new Response(JSON.stringify(c),{status:200,headers:l}))}else a.cleanup();for(let l of s)this._requestResponseMap.delete(l),this._requestToStreamMapping.delete(l)}}}}});var qz,S6e=y(()=>{k6e();w6e();qz=class{constructor(e={}){this._requestContext=new WeakMap,this._webStandardTransport=new Vz(e),this._requestListener=die(async t=>{let n=this._requestContext.get(t);return this._webStandardTransport.handleRequest(t,{authInfo:n==null?void 0:n.authInfo,parsedBody:n==null?void 0:n.parsedBody})},{overrideGlobalObjects:!1})}get sessionId(){return this._webStandardTransport.sessionId}set onclose(e){this._webStandardTransport.onclose=e}get onclose(){return this._webStandardTransport.onclose}set onerror(e){this._webStandardTransport.onerror=e}get onerror(){return this._webStandardTransport.onerror}set onmessage(e){this._webStandardTransport.onmessage=e}get onmessage(){return this._webStandardTransport.onmessage}async start(){return this._webStandardTransport.start()}async close(){return this._webStandardTransport.close()}async send(e,t){return this._webStandardTransport.send(e,t)}async handleRequest(e,t,n){let i=e.auth;await die(async s=>this._webStandardTransport.handleRequest(s,{authInfo:i,parsedBody:n}),{overrideGlobalObjects:!1})(e,t)}closeSSEStream(e){this._webStandardTransport.closeSSEStream(e)}closeStandaloneSSEStream(){this._webStandardTransport.closeStandaloneSSEStream()}}});function x6e(r){let e=Array.isArray(r)?r:[r];for(let t of e){let n=t.params;t.method!=="initialize"||!n||typeof n.protocolVersion!="string"||aWt.has(n.protocolVersion)||(n.protocolVersion=E6e)}return r}var E6e,aWt,C6e=y(()=>{E6e="2025-06-18",aWt=new Set([E6e,"2025-03-26","2024-11-05","2024-10-07"])});function lWt(){let r=[];return function(t,n){if(t!=="basesData"){if(typeof n=="bigint")return n.toString();if(!(typeof n=="function"||typeof n=="symbol")){if(n===null||typeof n!="object")return n;if(!Array.isArray(n)){let i=Object.getPrototypeOf(n);if(i!==Object.prototype&&i!==null)return}for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(n))return r.push(n),n}}}}function D6e(r){return JSON.stringify(r,lWt())}var sWt,P6e,oWt,Wz,M6e=y(()=>{m6e();S6e();KL();Ur();cP();lQ();Lx();sQ();C6e();G();sWt=I({tag:"Services/MCPService"}),P6e=Ode.map(r=>r.id),oWt=["Filter operator. Valid operators:",P6e.join(", ")].join(" ");Wz=class{constructor(e,t,n,i,a,s,o){this.plugin=e;this.taskService=t;this.filterService=n;this.cacheManager=i;this.statusManager=a;this.nlParser=s;this.taskStatsService=o}async handleRequest(e,t,n){if(e.method!=="POST"){t.writeHead(405,{Allow:"POST"}),t.end(JSON.stringify({jsonrpc:"2.0",error:{code:-32e3,message:"Method not allowed"},id:null}));return}try{x6e(n);let i=new qz({sessionIdGenerator:void 0}),a=new zz({name:"tasknotes",version:this.plugin.manifest.version});this.registerTools(a),await a.connect(i),await i.handleRequest(e,t,n),await i.close(),await a.close()}catch(i){sWt.error("MCP request error:",{category:"provider",operation:"mcp-request",error:i}),t.headersSent||(t.writeHead(500,{"Content-Type":"application/json"}),t.end(JSON.stringify({jsonrpc:"2.0",error:{code:-32603,message:"Internal error"},id:null})))}}registerTools(e){this.registerTaskTools(e),this.registerFilterTools(e),this.registerTimeTrackingTools(e),this.registerPomodoroTools(e),this.registerCalendarTools(e),this.registerSystemTools(e)}getErrorMessage(e){return e instanceof Error?e.message:String(e)}getToolRegistrar(e){return e.registerTool.bind(e)}registerTaskTools(e){let t=this.getToolRegistrar(e);t("tasknotes_list_tasks",{description:"List all tasks with optional pagination",inputSchema:{limit:F.number().optional().describe("Max tasks to return"),offset:F.number().optional().describe("Number of tasks to skip")}},async({limit:n,offset:i})=>{try{let a=await this.cacheManager.getAllTasks(),s=i!=null?i:0,o=n?s+n:void 0,l=a.slice(s,o);return this.jsonResult({tasks:l,total:a.length,offset:s,returned:l.length})}catch(a){return this.errorResult(this.getErrorMessage(a))}}),t("tasknotes_get_task",{description:"Get a single task by its file path ID",inputSchema:{id:F.string().describe("Task file path (e.g. 'tasks/My Task.md')")}},async({id:n})=>{try{let i=await this.cacheManager.getTaskInfo(n);if(!i)return this.errorResult("Task not found");let a=await b1(this.plugin.app,i);return this.jsonResult(a)}catch(i){return this.errorResult(this.getErrorMessage(i))}}),t("tasknotes_create_task",{description:"Create a new task",inputSchema:{title:F.string().describe("Task title"),status:F.string().optional().describe("Task status (e.g. 'open', 'in-progress', 'done')"),priority:F.string().optional().describe("Task priority (e.g. 'low', 'normal', 'high', 'urgent')"),due:F.string().optional().describe("Due date (YYYY-MM-DD)"),scheduled:F.string().optional().describe("Scheduled date (YYYY-MM-DD)"),tags:F.array(F.string()).optional().describe("Tags"),contexts:F.array(F.string()).optional().describe("Contexts"),projects:F.array(F.string()).optional().describe("Projects"),recurrence:F.string().optional().describe("RFC 5545 recurrence rule"),timeEstimate:F.number().optional().describe("Time estimate in minutes"),details:F.string().optional().describe("Task body/description")}},async n=>{try{let i={title:n.title,path:"",archived:!1,status:n.status||this.plugin.settings.defaultTaskStatus,priority:n.priority||this.plugin.settings.defaultTaskPriority,due:n.due,scheduled:n.scheduled,tags:n.tags,contexts:n.contexts,projects:n.projects,recurrence:n.recurrence,timeEstimate:n.timeEstimate,details:n.details,creationContext:"api"},a=await this.taskService.createTask(i);return this.jsonResult(a.taskInfo)}catch(i){return this.errorResult(this.getErrorMessage(i))}}),t("tasknotes_update_task",{description:"Update an existing task's properties",inputSchema:{id:F.string().describe("Task file path"),title:F.string().optional().describe("New title"),status:F.string().optional().describe("New status"),priority:F.string().optional().describe("New priority"),due:F.string().nullable().optional().describe("New due date (YYYY-MM-DD) or null to clear"),scheduled:F.string().nullable().optional().describe("New scheduled date (YYYY-MM-DD) or null to clear"),tags:F.array(F.string()).optional().describe("New tags"),contexts:F.array(F.string()).optional().describe("New contexts"),projects:F.array(F.string()).optional().describe("New projects"),recurrence:F.string().nullable().optional().describe("New recurrence rule or null to clear"),timeEstimate:F.number().nullable().optional().describe("New time estimate in minutes or null to clear"),details:F.string().optional().describe("New body/description")}},async({id:n,...i})=>{try{let a=await this.cacheManager.getTaskInfo(n);if(!a)return this.errorResult("Task not found");let s={};for(let[l,c]of Object.entries(i))c!==void 0&&(s[l]=c);let o=await this.taskService.updateTask(a,s);return this.jsonResult(o)}catch(a){return this.errorResult(this.getErrorMessage(a))}}),t("tasknotes_delete_task",{description:"Permanently delete a task file",inputSchema:{id:F.string().describe("Task file path")}},async({id:n})=>{try{let i=await this.cacheManager.getTaskInfo(n);return i?(await this.taskService.deleteTask(i),this.jsonResult({deleted:!0,id:n})):this.errorResult("Task not found")}catch(i){return this.errorResult(this.getErrorMessage(i))}}),t("tasknotes_toggle_status",{description:"Toggle a task's status through the status cycle",inputSchema:{id:F.string().describe("Task file path")}},async({id:n})=>{try{let i=await this.cacheManager.getTaskInfo(n);if(!i)return this.errorResult("Task not found");let a=await this.taskService.toggleStatus(i);return this.jsonResult(a)}catch(i){return this.errorResult(this.getErrorMessage(i))}}),t("tasknotes_toggle_archive",{description:"Toggle a task's archived state",inputSchema:{id:F.string().describe("Task file path")}},async({id:n})=>{try{let i=await this.cacheManager.getTaskInfo(n);if(!i)return this.errorResult("Task not found");let a=await this.taskService.toggleArchive(i);return this.jsonResult(a)}catch(i){return this.errorResult(this.getErrorMessage(i))}}),t("tasknotes_complete_recurring_instance",{description:"Mark a recurring task as completed for a specific date",inputSchema:{id:F.string().describe("Task file path"),date:F.string().optional().describe("Date to mark complete (YYYY-MM-DD), defaults to today")}},async({id:n,date:i})=>{try{let a=await this.cacheManager.getTaskInfo(n);if(!a)return this.errorResult("Task not found");let s=i?new Date(i):void 0,o=await this.taskService.toggleRecurringTaskComplete(a,s);return this.jsonResult(o)}catch(a){return this.errorResult(this.getErrorMessage(a))}}),t("tasknotes_create_task_from_text",{description:"Create a task by parsing natural language text (e.g. 'Buy groceries tomorrow #shopping @home')",inputSchema:{text:F.string().describe("Natural language task description")}},async({text:n})=>{try{let i=this.nlParser.parseInput(n),a=Su(this.plugin,i,{creationContext:"api"}),s=await this.taskService.createTask(a);return this.jsonResult({parsed:i,task:s.taskInfo})}catch(i){return this.errorResult(this.getErrorMessage(i))}})}registerFilterTools(e){let t=this.getToolRegistrar(e),n=F.union([F.string(),F.array(F.string()),F.number(),F.boolean(),F.null()]),i=F.enum(P6e).describe(oWt),a=F.object({type:F.literal("condition"),id:F.string(),property:F.string().describe("Filter property (e.g. 'status', 'priority', 'due', 'tags', 'projects', 'contexts')"),operator:i,value:n}),s=F.lazy(()=>F.object({type:F.literal("group"),id:F.string(),conjunction:F.enum(["and","or"]),children:F.array(F.union([a,s]))}));t("tasknotes_query_tasks",{description:"Query tasks using advanced filters with AND/OR logic, sorting, and grouping",inputSchema:{conjunction:F.enum(["and","or"]).describe("How to combine filter conditions"),children:F.array(F.union([a,s])).describe("Filter conditions or nested groups"),sortKey:F.string().optional().describe("Sort by field (e.g. 'due', 'priority', 'title', 'status')"),sortDirection:F.enum(["asc","desc"]).optional().describe("Sort direction"),groupKey:F.string().optional().describe("Group by field (e.g. 'priority', 'status', 'projects')")}},async o=>{try{let l={type:"group",id:"mcp-root",conjunction:o.conjunction,children:o.children,sortKey:o.sortKey,sortDirection:o.sortDirection,groupKey:o.groupKey},c=await this.filterService.getGroupedTasks(l),d={};for(let[u,p]of c)d[u]=p;return this.jsonResult(d)}catch(l){return this.errorResult(this.getErrorMessage(l))}}),t("tasknotes_get_filter_options",{description:"Get available filter options (statuses, priorities, tags, contexts, projects)",inputSchema:{}},async()=>{try{let o=await this.filterService.getFilterOptions();return this.jsonResult(o)}catch(o){return this.errorResult(this.getErrorMessage(o))}}),t("tasknotes_get_stats",{description:"Get task statistics (counts by status, priority, overdue, etc.)",inputSchema:{}},async()=>{try{let o=await this.cacheManager.getAllTasks(),l=this.taskStatsService.getStats(o);return this.jsonResult(l)}catch(o){return this.errorResult(this.getErrorMessage(o))}})}registerTimeTrackingTools(e){let t=this.getToolRegistrar(e);t("tasknotes_start_time_tracking",{description:"Start a time tracking session on a task",inputSchema:{id:F.string().describe("Task file path"),description:F.string().optional().describe("Description for the time session")}},async({id:n,description:i})=>{try{let a=await this.cacheManager.getTaskInfo(n);if(!a)return this.errorResult("Task not found");let s=await this.taskService.startTimeTracking(a);if(i&&s.timeEntries&&s.timeEntries.length>0){let o=s.timeEntries[s.timeEntries.length-1];o&&!o.endTime&&(o.description=i,s=await this.taskService.updateTask(s,{timeEntries:s.timeEntries}))}return this.jsonResult(s)}catch(a){return this.errorResult(this.getErrorMessage(a))}}),t("tasknotes_stop_time_tracking",{description:"Stop the active time tracking session on a task",inputSchema:{id:F.string().describe("Task file path")}},async({id:n})=>{try{let i=await this.cacheManager.getTaskInfo(n);if(!i)return this.errorResult("Task not found");let a=await this.taskService.stopTimeTracking(i);return this.jsonResult(a)}catch(i){return this.errorResult(this.getErrorMessage(i))}}),t("tasknotes_get_active_time_sessions",{description:"Get all tasks with currently running time tracking sessions",inputSchema:{}},async()=>{try{let n=await this.cacheManager.getAllTasks(),i=ik(n,a=>this.plugin.getActiveTimeSession(a));return this.jsonResult(i)}catch(n){return this.errorResult(this.getErrorMessage(n))}}),t("tasknotes_get_time_summary",{description:"Get time tracking summary for a period",inputSchema:{period:F.enum(["today","week","month","all","custom"]).optional().describe("Time period (default: today)"),from:F.string().optional().describe("Start date (ISO string) for custom range"),to:F.string().optional().describe("End date (ISO string) for custom range")}},async({period:n,from:i,to:a})=>{try{let s=await this.cacheManager.getAllTasks(),o=n||"today",l=i?new Date(i):null,c=a?new Date(a):null,d=ak(s,{period:o,fromDate:l,toDate:c,includeTags:!1},u=>this.statusManager.isCompletedStatus(u));return this.jsonResult(d)}catch(s){return this.errorResult(this.getErrorMessage(s))}}),t("tasknotes_get_task_time_data",{description:"Get detailed time tracking data for a specific task",inputSchema:{id:F.string().describe("Task file path")}},async({id:n})=>{try{let i=await this.cacheManager.getTaskInfo(n);if(!i)return this.errorResult("Task not found");let a=Xm(i,s=>this.plugin.getActiveTimeSession(s));return this.jsonResult(a)}catch(i){return this.errorResult(this.getErrorMessage(i))}})}registerPomodoroTools(e){let t=this.getToolRegistrar(e);t("tasknotes_start_pomodoro",{description:"Start a pomodoro timer, optionally linked to a task",inputSchema:{taskId:F.string().optional().describe("Task file path to associate with this pomodoro"),duration:F.number().optional().describe("Duration in minutes (default: work duration from settings)")}},async({taskId:n,duration:i})=>{try{let a;if(n&&(a=await this.cacheManager.getTaskInfo(n),!a))return this.errorResult("Task not found");if(this.plugin.pomodoroService.getState().isRunning)return this.errorResult("Pomodoro session is already running. Stop or pause the current session first.");await this.plugin.pomodoroService.startPomodoro(a,i);let o=this.plugin.pomodoroService.getState();return this.jsonResult({session:o.currentSession,task:a||null,message:"Pomodoro session started"})}catch(a){return this.errorResult(this.getErrorMessage(a))}}),t("tasknotes_stop_pomodoro",{description:"Stop and reset the current pomodoro session",inputSchema:{}},async()=>{try{return this.plugin.pomodoroService.getState().currentSession?(await this.plugin.pomodoroService.stopPomodoro(),this.jsonResult({message:"Pomodoro session stopped and reset"})):this.errorResult("No active pomodoro session to stop")}catch(n){return this.errorResult(this.getErrorMessage(n))}}),t("tasknotes_pause_pomodoro",{description:"Pause the running pomodoro timer",inputSchema:{}},async()=>{try{let n=this.plugin.pomodoroService.getState();if(!n.isRunning||!n.currentSession)return this.errorResult("No running pomodoro session to pause");await this.plugin.pomodoroService.pausePomodoro();let i=this.plugin.pomodoroService.getState();return this.jsonResult({timeRemaining:i.timeRemaining,message:"Pomodoro session paused"})}catch(n){return this.errorResult(this.getErrorMessage(n))}}),t("tasknotes_resume_pomodoro",{description:"Resume a paused pomodoro timer",inputSchema:{}},async()=>{try{let n=this.plugin.pomodoroService.getState();if(n.isRunning)return this.errorResult("Pomodoro session is already running");if(!n.currentSession)return this.errorResult("No paused session to resume");await this.plugin.pomodoroService.resumePomodoro();let i=this.plugin.pomodoroService.getState();return this.jsonResult({timeRemaining:i.timeRemaining,message:"Pomodoro session resumed"})}catch(n){return this.errorResult(this.getErrorMessage(n))}}),t("tasknotes_get_pomodoro_status",{description:"Get the current pomodoro timer status including stats",inputSchema:{}},async()=>{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()};return this.jsonResult(i)}catch(n){return this.errorResult(this.getErrorMessage(n))}})}registerCalendarTools(e){this.getToolRegistrar(e)("tasknotes_get_calendar_events",{description:"Get calendar events from all connected providers (Google, Microsoft, ICS subscriptions)",inputSchema:{start:F.string().optional().describe("Start date filter (ISO string)"),end:F.string().optional().describe("End date filter (ISO string)")}},async({start:n,end:i})=>{var a;try{let s=n?new Date(n):null,o=i?new Date(i):null,l=k1(this.plugin.calendarProviderRegistry,(a=this.plugin.icsSubscriptionService)!=null?a:null,{start:s,end:o});return this.jsonResult({events:l.events,total:l.total})}catch(s){return this.errorResult(this.getErrorMessage(s))}})}registerSystemTools(e){this.getToolRegistrar(e)("tasknotes_health_check",{description:"Check if the TaskNotes MCP server is running and return vault info",inputSchema:{}},async()=>{try{let n=this.plugin.app.vault.getName(),i=this.plugin.app.vault.adapter.basePath||"unknown";return this.jsonResult({status:"ok",vault:n,vaultPath:i,version:this.plugin.manifest.version,timestamp:new Date().toISOString()})}catch(n){return this.errorResult(this.getErrorMessage(n))}})}jsonResult(e){return{content:[{type:"text",text:D6e(e)}]}}errorResult(e){return{content:[{type:"text",text:D6e({error:e})}],isError:!0}}}});var _6e={};et(_6e,{API_BIND_HOST:()=>pie,HTTPAPIService:()=>IM});var uie,pie,IM,A6e=y(()=>{wc();VV();pW();op();OUe();$Ue();zUe();jUe();UUe();VUe();WUe();M6e();aQ();oy();G();uie=I({tag:"Services/HTTPAPIService"}),pie="127.0.0.1",IM=class{constructor(e,t,n,i){this.plugin=e;let a=Zn.fromPlugin(e),s=new Db(e.settings.customStatuses,e.settings.defaultTaskStatus),o=new iT(i,s);this.webhookController=new lf(e),this.tasksController=new Ha(e,t,n,i,o),this.timeTrackingController=new Dd(e,t,i,s),this.pomodoroController=new Kl(e,i),this.systemController=new lp(e,t,a,this),this.calendarsController=new cp(e,e.oauthService,e.icsSubscriptionService,e.calendarProviderRegistry),e.settings.enableMCP&&(this.mcpService=new Wz(e,t,n,i,s,a,o)),this.router=new h1,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),this.router.registerController(this.calendarsController)}generateOpenAPISpec(){let e=KP(this.systemController),t=[this.tasksController,this.timeTrackingController,this.pomodoroController,this.systemController,this.webhookController,this.calendarsController];e.paths={};for(let n of t){let i=KP(n);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(e,t){t.statusCode=200,g1(t),t.end()}getFallbackCORSOrigin(){return`http://${pie}:${this.plugin.settings.apiPort}`}getRequestOrigin(e){let t=e.headers.origin;return Array.isArray(t)?t[0]:t}applyCORSPolicy(e,t){let n=this.getRequestOrigin(e),i=LUe(n,this.getFallbackCORSOrigin());return i?(g1(t,{allowOrigin:i}),!0):!1}authenticate(e){let t=this.plugin.settings.apiAuthToken;if(!t)return!0;let n=e.headers.authorization,i=Array.isArray(n)?n[0]:n;return!i||!i.startsWith("Bearer ")?!1:i.substring(7)===t}sendResponse(e,t,n){y1(e,t,n)}successResponse(e,t){return{success:!0,data:e,message:t}}errorResponse(e){return{success:!1,error:e}}async handleRequest(e,t){try{if(!this.applyCORSPolicy(e,t)){t.statusCode=403,t.setHeader("Content-Type","application/json"),t.end(JSON.stringify(this.errorResponse("CORS origin is not allowed")));return}if(e.method==="OPTIONS"){await this.handleCORSPreflight(e,t);return}let n=co(e).pathname;if(n==="/mcp"){if(!this.mcpService){this.sendResponse(t,404,this.errorResponse("MCP server is not enabled"));return}if(!this.authenticate(e)){this.sendResponse(t,401,this.errorResponse("Authentication required"));return}let a=await this.parseBody(e);await this.mcpService.handleRequest(e,t,a);return}if(n.startsWith("/api/")&&!this.authenticate(e)){this.sendResponse(t,401,this.errorResponse("Authentication required"));return}await this.router.route(e,t)||this.sendResponse(t,404,this.errorResponse("Not found"))}catch(n){uie.error("API Error:",{category:"provider",operation:"api",error:n}),this.sendResponse(t,500,this.errorResponse("Internal server error"))}}async triggerWebhook(e,t){await this.webhookController.triggerWebhook(e,t)}syncWebhookSettings(){this.webhookController.syncFromSettings()}parseBody(e){return v1(e)}async start(){return new Promise((e,t)=>{try{let n=require("http");this.server=n.createServer((i,a)=>{this.handleRequest(i,a).catch(s=>{uie.error("Request handling error:",{category:"provider",operation:"request-handling",error:s}),this.sendResponse(a,500,this.errorResponse("Internal server error"))})}),this.server.listen(this.plugin.settings.apiPort,pie,()=>{e()}),this.server.on("error",i=>{uie.error("API server error:",{category:"provider",operation:"api-server",error:i}),t(i)})}catch(n){t(n instanceof Error?n:new Error(String(n)))}})}async stop(){return new Promise(e=>{this.server?this.server.close(()=>{e()}):e()})}isRunning(){var e;return((e=this.server)==null?void 0:e.listening)===!0}getPort(){return this.plugin.settings.apiPort}};IM=rt([IUe],IM)});function mie(r,e){if(!r)return null;let t=r.match(/DTSTART:(\d{8})(T(\d{6})Z?)?;?/);if(!t)return null;let n=t[1],i=t[3],a=!!i,s=`${n.slice(0,4)}-${n.slice(4,6)}-${n.slice(6,8)}`,o=i?`${i.slice(0,2)}:${i.slice(2,4)}:${i.slice(4,6)}`:void 0,l=r.replace(/DTSTART:\d{8}(T\d{6}Z?)?;?/,"").trim();if(!l||!l.includes("FREQ="))return null;let c=[`RRULE:${l}`],d=cWt([...(e==null?void 0:e.completedInstances)||[],...(e==null?void 0:e.skippedInstances)||[],...(e==null?void 0:e.additionalExcludedDates)||[]]);return c.push(...d),{recurrence:c,dtstart:s,hasTime:a,time:o}}function cWt(r){return!r||r.length===0?[]:r.filter(e=>e&&/^\d{4}-\d{2}-\d{2}$/.test(e)).map(e=>`EXDATE;VALUE=DATE:${e.replace(/-/g,"")}`)}var I6e=y(()=>{});var z6e={};et(z6e,{TaskCalendarSyncService:()=>fie});function RM(r){if(r===null||typeof r!="object")return;let{status:e,statusCode:t}=r;if(typeof e=="number")return e;if(typeof t=="number")return t}function NM(r){if(r instanceof Error)return r.message;if(r!==null&&typeof r=="object"){let e=r.message;if(e!==void 0)return Z(e)}return Z(r)}function $6e(r){let e=RM(r);return e===404||e===410}var mw,$r,dWt,uWt,pWt,N6e,R6e,O6e,L6e,mWt,F6e,gt,fie,j6e=y(()=>{mw=require("obsidian");Br();I6e();gr();Ne();zT();FT();G();ls();Mc();$r=I({tag:"Services/TaskCalendarSyncService"}),dWt=500,uWt=5,pWt=100,N6e="googleCalendarDeletionQueue",R6e="googleCalendarEventIndex",O6e="googleCalendarSyncQueue",L6e="googleCalendarTaskFingerprints",mWt=6e4,F6e=900*1e3;gt=class gt{constructor(e,t){this.rateLimitChain=Promise.resolve();this.lastApiCallAt=0;this.recoveryQueueProcessorStarted=!1;this.recoveryQueueProcessorTimeout=null;this.lastEventIndexRecoveryAt=0;this.pendingSyncs=new Map;this.inFlightSyncs=new Map;this.previousTaskState=new Map;this.pendingTasks=new Map;this.calendarFingerprints=null;this.plugin=e,this.googleCalendarService=t}static getTaskCalendarCacheKey(e,t){return t?`${t}::${e}`:e}static deleteTaskPathEntries(e,t){e.delete(gt.getTaskCalendarCacheKey(t));for(let n of Array.from(e.keys()))n.endsWith(`::${t}`)&&e.delete(n)}static clearTaskEventIdCache(e,t){if(t){gt.taskEventIdCache.delete(gt.getTaskCalendarCacheKey(e,t));return}gt.deleteTaskPathEntries(gt.taskEventIdCache,e)}static clearTaskExceptionEventIdCache(e,t){if(t){gt.taskExceptionEventIdCache.delete(gt.getTaskCalendarCacheKey(e,t));return}gt.deleteTaskPathEntries(gt.taskExceptionEventIdCache,e)}static clearSharedGoogleCalendarSyncStateForTests(){gt.pendingEventCreates.clear(),gt.pendingExceptionEventCreates.clear(),gt.taskEventIdCache.clear(),gt.taskExceptionEventIdCache.clear(),gt.googleCalendarFrontmatterWrites.clear()}getTaskEventIdCacheKey(e,t){return gt.getTaskCalendarCacheKey(e,t||this.plugin.settings.googleCalendarExport.targetCalendarId)}profileAsync(e,t,n){var i,a;return(a=(i=this.plugin.performanceProfiler)==null?void 0:i.measureAsync(`calendarSync.${e}`,t,n))!=null?a:t()}profileIncrement(e,t=1,n){var i;(i=this.plugin.performanceProfiler)==null||i.increment(`calendarSync.${e}`,t,n)}profileGauge(e,t,n){var i;(i=this.plugin.performanceProfiler)==null||i.recordGauge(`calendarSync.${e}`,t,n)}destroy(){for(let e of this.pendingSyncs.values())window.clearTimeout(e);this.recoveryQueueProcessorStarted=!1,this.recoveryQueueProcessorTimeout&&(window.clearTimeout(this.recoveryQueueProcessorTimeout),this.recoveryQueueProcessorTimeout=null),this.pendingSyncs.clear(),this.previousTaskState.clear(),this.pendingTasks.clear(),this.calendarFingerprints=null}async processInParallel(e,t){let n=[];for(let i of e){let a=t(i).then(()=>{n.splice(n.indexOf(a),1)});n.push(a),n.length>=uWt&&await Promise.race(n)}await Promise.all(n)}withGoogleRateLimit(e){let t=async()=>{let i=Date.now(),a=Math.max(0,pWt-(i-this.lastApiCallAt));a>0&&await new Promise(s=>window.setTimeout(s,a));try{return await e()}finally{this.lastApiCallAt=Date.now()}},n=this.rateLimitChain.then(t,t);return this.rateLimitChain=n.catch(()=>{}),n}isEnabled(){let e=this.plugin.settings.googleCalendarExport,t=e.enabled,n=!!e.targetCalendarId,i=this.googleCalendarService.getAvailableCalendars().length>0;return t&&n&&i}startRecoveryQueueProcessor(){this.recoveryQueueProcessorStarted||(this.recoveryQueueProcessorStarted=!0,this.runRecoveryQueueProcessor(!0))}runRecoveryQueueProcessor(e){(e?this.processStartupRecovery():this.processRecoveryQueues()).catch(n=>{$r.error("[TaskCalendarSync] Failed to process recovery queues:",{category:"provider",operation:"process-recovery-queues",error:n})}).finally(()=>{this.scheduleRecoveryQueueProcessor()})}scheduleRecoveryQueueProcessor(){!this.recoveryQueueProcessorStarted||this.recoveryQueueProcessorTimeout||(this.recoveryQueueProcessorTimeout=window.setTimeout(()=>{this.recoveryQueueProcessorTimeout=null,this.runRecoveryQueueProcessor(!1)},mWt))}isDeletionQueueReady(){let e=this.plugin.settings.googleCalendarExport,t=this.googleCalendarService.getAvailableCalendars().length>0;return!!(e!=null&&e.enabled)&&!!(e!=null&&e.syncOnTaskDelete)&&t}isSyncQueueReady(){let e=this.plugin.settings.googleCalendarExport,t=this.googleCalendarService.getAvailableCalendars().length>0;return!!(e!=null&&e.enabled)&&!!(e!=null&&e.targetCalendarId)&&t}getDeletionQueueKey(e){return`${e.calendarId}::${e.eventId}`}getEventIndexTaskCalendarKey(e){return`${e.calendarId}::${e.taskPath}`}isTaskCalendarEligible(e){if(e.archived)return!1;switch(this.plugin.settings.googleCalendarExport.syncTrigger){case"scheduled":return!!e.scheduled;case"due":return!!e.due;case"both":return!!e.scheduled||!!e.due;default:return!1}}async getDeletionQueue(){let e=await this.plugin.loadData();return(e==null?void 0:e[N6e])||[]}async saveDeletionQueue(e){let t=await this.plugin.loadData()||{};t[N6e]=e,await this.plugin.saveData(t)}async getEventIndex(){let e=await this.plugin.loadData();return(e==null?void 0:e[R6e])||[]}async saveEventIndex(e){let t=await this.plugin.loadData()||{};t[R6e]=e,await this.plugin.saveData(t)}async getSyncQueue(){let e=await this.plugin.loadData();return(e==null?void 0:e[O6e])||[]}async saveSyncQueue(e){let t=await this.plugin.loadData()||{};t[O6e]=e,await this.plugin.saveData(t)}async getCalendarFingerprints(){if(this.calendarFingerprints)return this.calendarFingerprints;let e=await this.plugin.loadData(),t=e==null?void 0:e[L6e],n=new Map;if(t&&typeof t=="object")for(let[i,a]of Object.entries(t))typeof i=="string"&&typeof a=="string"&&n.set(i,a);return this.calendarFingerprints=n,n}async saveCalendarFingerprints(e){let t=e||await this.getCalendarFingerprints(),n=await this.plugin.loadData()||{};n[L6e]=Object.fromEntries(t.entries()),await this.plugin.saveData(n)}getCalendarRelevantFingerprint(e){var t;return JSON.stringify({title:e.title||"",status:e.status||"",priority:e.priority||"",archived:!!e.archived,scheduled:e.scheduled||null,due:e.due||null,timeEstimate:(t=e.timeEstimate)!=null?t:null,recurrence:e.recurrence||null,recurrence_anchor:e.recurrence_anchor||null,complete_instances:e.complete_instances||[],skipped_instances:e.skipped_instances||[],reminders:e.reminders||[],tags:e.tags||[],contexts:e.contexts||[],projects:e.projects||[]})}parseCalendarRelevantFingerprint(e){if(!e)return null;try{let t=JSON.parse(e);return t&&typeof t=="object"&&!Array.isArray(t)?t:null}catch(t){return null}}getTaskStateFromFingerprint(e,t){let n=this.parseCalendarRelevantFingerprint(t);if(!n)return;let i=o=>{let l=n[o];return typeof l=="string"?l:void 0},a=o=>{let l=n[o];return Array.isArray(l)?l.filter(c=>typeof c=="string"):void 0},s=n.recurrence_anchor;return{...e,title:i("title")||e.title,status:i("status")||e.status,priority:i("priority")||e.priority,archived:typeof n.archived=="boolean"?n.archived:e.archived,scheduled:i("scheduled"),due:i("due"),timeEstimate:typeof n.timeEstimate=="number"?n.timeEstimate:void 0,recurrence:i("recurrence"),recurrence_anchor:s==="scheduled"||s==="completion"?s:void 0,complete_instances:a("complete_instances"),skipped_instances:a("skipped_instances"),tags:a("tags"),contexts:a("contexts"),projects:a("projects")}}hasTaskCalendarLink(e){return!!this.getTaskEventId(e)}normalizeStatusValue(e){return typeof e=="boolean"?e?"true":"false":String(e)}async reconcileExternalAutoArchive(e,t){if(!t||!this.plugin.autoArchiveService)return;let n=this.normalizeStatusValue(t.status),i=this.normalizeStatusValue(e.status);if(n!==i)try{let a=this.plugin.statusManager.getStatusConfig(i);if(!a)return;a.autoArchive?await this.plugin.autoArchiveService.scheduleAutoArchive(e,a):await this.plugin.autoArchiveService.cancelAutoArchive(e.path)}catch(a){$r.warn("Failed to reconcile auto-archive for external task update:",{category:"persistence",operation:"reconcile-external-auto-archive",error:a})}}async recordCalendarSyncFingerprint(e){let t=await this.getCalendarFingerprints(),n=this.getCalendarRelevantFingerprint(e);t.get(e.path)!==n&&(t.set(e.path,n),await this.saveCalendarFingerprints(t))}async removeCalendarSyncFingerprint(e){let t=await this.getCalendarFingerprints();t.delete(e)&&await this.saveCalendarFingerprints(t)}async upsertEventIndex(e,t,n){let i=await this.getEventIndex(),a=this.getDeletionQueueKey({calendarId:t,eventId:n}),s=i.filter(c=>this.getDeletionQueueKey(c)===a&&c.taskPath===e&&c.calendarId===t&&c.eventId===n),o=i.filter(c=>c.taskPath===e&&c.calendarId===t&&c.eventId!==n),l=i.filter(c=>this.getDeletionQueueKey(c)!==a&&!(c.taskPath===e&&c.calendarId===t));if(!(s.length===1&&o.length===0&&l.length===i.length-1)){l.push({taskPath:e,calendarId:t,eventId:n,updatedAt:Date.now()}),await this.saveEventIndex(l);for(let c of o)await this.deleteOrQueueCalendarEvent(c.taskPath,c.calendarId,c.eventId)||$r.warn(`[TaskCalendarSync] Replaced event cleanup queued for ${c.taskPath}`,{category:"provider",operation:"replaced-event-cleanup-queued"})}}async removeEventIndexForTask(e){let t=await this.getEventIndex(),n=t.filter(i=>i.taskPath!==e);n.length!==t.length&&await this.saveEventIndex(n)}async removeEventIndexForEvent(e,t){let n=await this.getEventIndex(),i=this.getDeletionQueueKey({calendarId:e,eventId:t}),a=n.filter(s=>this.getDeletionQueueKey(s)!==i);a.length!==n.length&&await this.saveEventIndex(a)}async queueTaskSync(e,t,n=!1){let i=Date.now(),a=await this.getSyncQueue(),s=a.find(l=>l.taskPath===e),o=t?NM(t):void 0;s?(s.requestedAt=i,n&&(s.attempts+=1,s.lastAttemptAt=i),o&&(s.lastError=o)):a.push({taskPath:e,requestedAt:i,attempts:n?1:0,lastAttemptAt:n?i:void 0,lastError:o}),await this.saveSyncQueue(a)}async removeFromDeletionQueue(e,t){let n=await this.getDeletionQueue(),i=this.getDeletionQueueKey({calendarId:e,eventId:t}),a=n.filter(s=>this.getDeletionQueueKey(s)!==i);a.length!==n.length&&await this.saveDeletionQueue(a)}async queueCalendarDeletion(e,t,n,i,a=!1){let s=Date.now(),o=await this.getDeletionQueue(),l=this.getDeletionQueueKey({calendarId:t,eventId:n}),c=o.find(u=>this.getDeletionQueueKey(u)===l),d=i?NM(i):void 0;c?(c.taskPath=e,a&&(c.attempts+=1,c.lastAttemptAt=s),d&&(c.lastError=d)):o.push({taskPath:e,calendarId:t,eventId:n,createdAt:s,attempts:a?1:0,lastAttemptAt:a?s:void 0,lastError:d}),await this.saveDeletionQueue(o)}async deleteOrQueueCalendarEvent(e,t,n){if(!this.plugin.settings.googleCalendarExport.syncOnTaskDelete)return!0;if(!this.isDeletionQueueReady())return await this.queueCalendarDeletion(e,t,n,new Error("Google Calendar sync is not ready")),!1;try{return await this.withGoogleRateLimit(()=>this.googleCalendarService.deleteEvent(t,n)),await this.removeFromDeletionQueue(t,n),!0}catch(i){return $6e(i)?(await this.removeFromDeletionQueue(t,n),!0):($r.error("[TaskCalendarSync] Failed to delete event:",{category:"provider",operation:"delete-event",details:{value:e},error:i}),await this.queueCalendarDeletion(e,t,n,i,!0),!1)}}async clearTaskEventIdIfMatching(e){let t=await this.plugin.cacheManager.getTaskInfo(e.taskPath);(t==null?void 0:t.googleCalendarEventId)===e.eventId&&await this.removeTaskEventId(e.taskPath)}async isQueuedDeletionStillNeeded(e){let t=await this.plugin.cacheManager.getTaskInfo(e.taskPath);return!t||this.getTaskEventId(t)!==e.eventId?!0:!this.isTaskCalendarEligible(t)}async processStartupRecovery(){await this.profileAsync("processStartupRecovery",async()=>{await this.recoverDeletedTaskEventsFromIndex(),await this.processDeletionQueue(),await this.processPendingSyncQueue()})}async processRecoveryQueues(){await this.profileAsync("processRecoveryQueues",async()=>{await this.recoverDeletedTaskEventsFromIndexIfDue(),await this.processDeletionQueue(),await this.processPendingSyncQueue()})}async recoverDeletedTaskEventsFromIndexIfDue(){let e=Date.now()-this.lastEventIndexRecoveryAt;if(this.lastEventIndexRecoveryAt>0&&e<F6e){this.profileIncrement("recoverDeletedTaskEventsFromIndex.skipped",1,{reason:"interval",nextDueInMs:F6e-e});return}await this.recoverDeletedTaskEventsFromIndex()}async initializeExternalFileReconciliation(){await this.profileAsync("initializeExternalFileReconciliation",async()=>{let e=this.plugin.settings.googleCalendarExport;if(this.profileGauge("initializeExternalFileReconciliation.enabled",e.enabled?1:0),!e.enabled)return;let t=await this.getCalendarFingerprints(),n=await this.plugin.cacheManager.getAllTasks(),i=new Set,a=!1,s=0,o=0,l=0;for(let d of n){i.add(d.path);let u=this.getCalendarRelevantFingerprint(d),p=t.get(d.path);if(p===void 0){t.set(d.path,u),a=!0,l++;continue}let m=this.getTaskStateFromFingerprint(d,p),f=this.hasTaskCalendarLink(d);if(f&&o++,p!==u&&(s++,await this.reconcileExternalAutoArchive(d,m)),f&&p!==u){e.syncOnTaskUpdate?await this.executeTaskUpdate(d,m):(t.set(d.path,u),a=!0);continue}p!==u&&(t.set(d.path,u),a=!0)}let c=0;for(let d of Array.from(t.keys()))i.has(d)||(t.delete(d),a=!0,c++);this.profileGauge("initializeExternalFileReconciliation.tasks",n.length),this.profileGauge("initializeExternalFileReconciliation.linkedTasks",o),this.profileGauge("initializeExternalFileReconciliation.changedTasks",s),this.profileGauge("initializeExternalFileReconciliation.baselineTasks",l),this.profileGauge("initializeExternalFileReconciliation.removedFingerprints",c),a&&await this.saveCalendarFingerprints(t)})}async handleExternalTaskFileUpdated(e,t){await this.profileAsync("handleExternalTaskFileUpdated",async()=>{let n=this.plugin.settings.googleCalendarExport;if(!n.enabled)return;let i=t||await this.plugin.cacheManager.getTaskInfo(e);if(!i){this.profileIncrement("handleExternalTaskFileUpdated.removedTask"),await this.removeCalendarSyncFingerprint(e);return}let a=await this.getCalendarFingerprints(),s=this.getCalendarRelevantFingerprint(i),o=a.get(i.path);if(o===s){this.profileIncrement("handleExternalTaskFileUpdated.unchanged");return}let l=this.getTaskStateFromFingerprint(i,o);if(await this.reconcileExternalAutoArchive(i,l),this.hasTaskCalendarLink(i)){this.profileIncrement("handleExternalTaskFileUpdated.changedLinkedTask"),n.syncOnTaskUpdate?await this.executeTaskUpdate(i,l):await this.recordCalendarSyncFingerprint(i);return}if(this.isTaskCalendarEligible(i)){this.profileIncrement("handleExternalTaskFileUpdated.changedEligibleTask"),n.syncOnTaskCreate?await this.syncTaskToCalendar(i):await this.recordCalendarSyncFingerprint(i);return}this.profileIncrement("handleExternalTaskFileUpdated.changedIneligibleTask"),await this.recordCalendarSyncFingerprint(i)},{hadUpdatedTask:t!==void 0})}async recoverDeletedTaskEventsFromIndex(){await this.profileAsync("recoverDeletedTaskEventsFromIndex",async()=>{if(!this.plugin.settings.googleCalendarExport.syncOnTaskDelete){this.profileGauge("recoverDeletedTaskEventsFromIndex.enabled",0);return}this.profileGauge("recoverDeletedTaskEventsFromIndex.enabled",1);let e=this.plugin.settings.googleCalendarExport.targetCalendarId;if(!e){this.profileGauge("recoverDeletedTaskEventsFromIndex.hasTargetCalendar",0);return}this.profileGauge("recoverDeletedTaskEventsFromIndex.hasTargetCalendar",1);let t=await this.plugin.cacheManager.getAllTasks(),n=await this.getEventIndex(),i=new Map,a=new Map,s=new Map,o=[],l=0,c=!1;for(let u of n){let p=this.getDeletionQueueKey(u),m=this.getEventIndexTaskCalendarKey(u);if(a.has(p)||s.has(m)){c=!0;continue}a.set(p,u),s.set(m,u)}for(let u of t){let p=this.getTaskEventId(u);if(!p)continue;l++;let m=this.getDeletionQueueKey({calendarId:e,eventId:p}),f=this.getEventIndexTaskCalendarKey({taskPath:u.path,calendarId:e});i.set(m,u);let h=s.get(f);if((h==null?void 0:h.taskPath)===u.path&&h.calendarId===e&&h.eventId===p)continue;let g=a.get(m);h&&h.eventId!==p&&o.push(h),g&&g.taskPath!==u.path&&s.delete(this.getEventIndexTaskCalendarKey(g));let v={taskPath:u.path,calendarId:e,eventId:p,updatedAt:(g==null?void 0:g.updatedAt)||(h==null?void 0:h.updatedAt)||Date.now()};s.set(f,v),a.set(m,v),c=!0}c&&await this.saveEventIndex(Array.from(s.values()));let d=0;for(let u of s.values()){let p=i.get(this.getDeletionQueueKey(u));p&&this.isTaskCalendarEligible(p)||(d++,await this.queueCalendarDeletion((p==null?void 0:p.path)||u.taskPath,u.calendarId,u.eventId,p?new Error("Indexed task no longer meets calendar sync criteria"):new Error("Indexed task file no longer exists")))}for(let u of o)await this.deleteOrQueueCalendarEvent(u.taskPath,u.calendarId,u.eventId)||$r.warn(`[TaskCalendarSync] Replaced event cleanup queued for ${u.taskPath}`,{category:"provider",operation:"replaced-event-cleanup-queued"});this.lastEventIndexRecoveryAt=Date.now(),this.profileGauge("recoverDeletedTaskEventsFromIndex.tasks",t.length),this.profileGauge("recoverDeletedTaskEventsFromIndex.linkedTasks",l),this.profileGauge("recoverDeletedTaskEventsFromIndex.indexEntries",s.size),this.profileGauge("recoverDeletedTaskEventsFromIndex.queuedDeletions",d)})}async processPendingSyncQueue(){return this.profileAsync("processPendingSyncQueue",async()=>{let e={synced:0,failed:0,deleted:0,dropped:0,remaining:0},t=await this.getSyncQueue();if(this.profileGauge("processPendingSyncQueue.queueLength",t.length),t.length===0)return e;if(!this.isSyncQueueReady())return e.remaining=t.length,this.profileGauge("processPendingSyncQueue.remaining",e.remaining),e;let n=new Map;for(let a of t)n.set(a.taskPath,a);let i=[];for(let a of n.values()){let s=await this.plugin.cacheManager.getTaskInfo(a.taskPath);if(!s){e.dropped++;continue}if(!this.isTaskCalendarEligible(s)){this.getTaskEventId(s)?(await this.deleteTaskFromCalendar(s)||$r.warn(`[TaskCalendarSync] Calendar deletion queued while replaying sync for ${a.taskPath}`,{category:"provider",operation:"calendar-deletion-queued-replaying-sync"}),e.deleted++):e.dropped++;continue}if(await this.syncTaskToCalendar(s,void 0,{queueOnFailure:!1})){e.synced++;continue}e.failed++,i.push({...a,attempts:a.attempts+1,lastAttemptAt:Date.now(),lastError:"Failed to replay queued Google Calendar sync"})}return e.remaining=i.length,await this.saveSyncQueue(i),this.profileGauge("processPendingSyncQueue.synced",e.synced),this.profileGauge("processPendingSyncQueue.failed",e.failed),this.profileGauge("processPendingSyncQueue.deleted",e.deleted),this.profileGauge("processPendingSyncQueue.dropped",e.dropped),this.profileGauge("processPendingSyncQueue.remaining",e.remaining),e})}async processDeletionQueue(){return this.profileAsync("processDeletionQueue",async()=>{let e={deleted:0,failed:0,remaining:0},t=await this.getDeletionQueue();if(this.profileGauge("processDeletionQueue.queueLength",t.length),t.length===0)return e;if(!this.isDeletionQueueReady())return e.remaining=t.length,this.profileGauge("processDeletionQueue.remaining",e.remaining),e;let n=new Map;for(let a of t)n.set(this.getDeletionQueueKey(a),a);let i=[];for(let a of n.values())try{if(!await this.isQueuedDeletionStillNeeded(a))continue;await this.withGoogleRateLimit(()=>this.googleCalendarService.deleteEvent(a.calendarId,a.eventId)),await this.clearTaskEventIdIfMatching(a),await this.removeEventIndexForEvent(a.calendarId,a.eventId),e.deleted++}catch(s){if($6e(s)){await this.clearTaskEventIdIfMatching(a),await this.removeEventIndexForEvent(a.calendarId,a.eventId),e.deleted++;continue}e.failed++,i.push({...a,attempts:a.attempts+1,lastAttemptAt:Date.now(),lastError:NM(s)}),$r.error("[TaskCalendarSync] Failed to retry queued event deletion:",{category:"provider",operation:"retry-queued-event-deletion",details:{value:a},error:s})}return e.remaining=i.length,await this.saveDeletionQueue(i),this.profileGauge("processDeletionQueue.deleted",e.deleted),this.profileGauge("processDeletionQueue.failed",e.failed),this.profileGauge("processDeletionQueue.remaining",e.remaining),e})}shouldSyncTask(e){if(!this.isEnabled())return!1;let t=this.plugin.settings.googleCalendarExport;if(e.archived)return!1;switch(t.syncTrigger){case"scheduled":return!!e.scheduled;case"due":return!!e.due;case"both":return!!e.scheduled||!!e.due;default:return!1}}getTaskEventId(e){return e.googleCalendarEventId||gt.taskEventIdCache.get(this.getTaskEventIdCacheKey(e.path))}getTaskExceptionEventId(e){return e.googleCalendarExceptionEventId||gt.taskExceptionEventIdCache.get(this.getTaskEventIdCacheKey(e.path))}shouldSyncAsRecurring(e){return e.recurrence?(e.recurrence_anchor||"scheduled")==="scheduled":!1}hasStoredRecurringExceptionMetadata(e){return!!(this.getTaskExceptionEventId(e)||e.googleCalendarExceptionOriginalScheduled||e.googleCalendarMovedOriginalDates&&e.googleCalendarMovedOriginalDates.length>0)}getAdditionalRecurringExdates(e){let t=new Set;for(let i of e.googleCalendarMovedOriginalDates||[]){let a=ke(i);a&&t.add(a)}let n=ke(e.googleCalendarExceptionOriginalScheduled||"");return n&&t.add(n),Array.from(t).sort()}isDuplicateYamlKeyError(e){return e&&typeof e=="object"&&e.code==="DUPLICATE_KEY"?!0:NM(e).includes("Map keys must be unique")}async withGoogleCalendarFrontmatterWriteLock(e,t){var a;let i=((a=gt.googleCalendarFrontmatterWrites.get(e))!=null?a:Promise.resolve()).catch(()=>{}).then(t);gt.googleCalendarFrontmatterWrites.set(e,i);try{return await i}finally{gt.googleCalendarFrontmatterWrites.get(e)===i&&gt.googleCalendarFrontmatterWrites.delete(e)}}async writeGoogleCalendarFrontmatterFields(e,t,n){await this.withGoogleCalendarFrontmatterWriteLock(e,async()=>{try{await ah(this.plugin.app,t,i=>{for(let[a,s]of Object.entries(n))this.writeOptionalFrontmatterField(i,a,s,!0)})}catch(i){if(!this.isDuplicateYamlKeyError(i))throw i;await this.rewriteGoogleCalendarFrontmatterFields(t,n)}})}async rewriteGoogleCalendarFrontmatterFields(e,t){let n=await this.plugin.app.vault.read(e),i=this.replaceFrontmatterFields(n,t);await Xa(this.plugin.app,e,i)}replaceFrontmatterFields(e,t){let n=e.match(/^(---\r?\n)([\s\S]*?)(\r?\n---)([\s\S]*)$/);if(!n)throw new Error("Cannot repair Google Calendar metadata: missing frontmatter block");let[,i,a,s,o]=n,l=i.includes(`\r
`)?`\r
`:`
`,c=this.removeFrontmatterFields(a.split(/\r?\n/),new Set(Object.keys(t))),d=Object.entries(t).filter(([,p])=>this.shouldWriteFrontmatterValue(p)).map(([p,m])=>(0,mw.stringifyYaml)({[p]:m}).trimEnd()),u=[...c,...d].filter((p,m,f)=>p.length>0||m<f.length-1).join(l);return`${i}${u}${s}${o}`}removeFrontmatterFields(e,t){let n=[],i=0;for(;i<e.length;){if(this.isFrontmatterFieldLine(e[i],t)){for(i++;i<e.length&&/^[\t ]/.test(e[i]);)i++;continue}n.push(e[i]),i++}for(;n.length>0&&n[n.length-1].trim()==="";)n.pop();return n}isFrontmatterFieldLine(e,t){if(/^\s/.test(e))return!1;let n=e.indexOf(":");return n<=0?!1:t.has(e.slice(0,n).trim())}shouldWriteFrontmatterValue(e){return e!=null&&(!Array.isArray(e)||e.length>0)}async saveTaskEventId(e,t,n){let i=this.plugin.app.vault.getAbstractFileByPath(e);if(!(i instanceof mw.TFile)){$r.warn(`Cannot save event ID: file not found at ${e}`,{category:"provider",operation:"save-event-id-file-not-found"});return}let a=this.plugin.fieldMapper.toUserField("googleCalendarEventId");await this.writeGoogleCalendarFrontmatterFields(e,i,{[a]:t}),gt.taskEventIdCache.set(this.getTaskEventIdCacheKey(e,n),t);let s=n||this.plugin.settings.googleCalendarExport.targetCalendarId;s&&await this.upsertEventIndex(e,s,t)}async removeTaskEventId(e){let t=this.plugin.app.vault.getAbstractFileByPath(e);if(!(t instanceof mw.TFile)){$r.warn(`Cannot remove event ID: file not found at ${e}`,{category:"provider",operation:"remove-event-id-file-not-found"}),gt.clearTaskEventIdCache(e),await this.removeEventIndexForTask(e);return}let n=this.plugin.fieldMapper.toUserField("googleCalendarEventId");await this.writeGoogleCalendarFrontmatterFields(e,t,{[n]:void 0}),gt.clearTaskEventIdCache(e),await this.removeEventIndexForTask(e)}async saveTaskExceptionMetadata(e,t,n){let i=this.plugin.app.vault.getAbstractFileByPath(e);if(!(i instanceof mw.TFile)){$r.warn(`Cannot save recurring exception metadata: file not found at ${e}`,{category:"provider",operation:"save-exception-metadata-file-not-found"});return}let a=this.plugin.fieldMapper.toUserField("googleCalendarExceptionEventId"),s=this.plugin.fieldMapper.toUserField("googleCalendarExceptionOriginalScheduled"),o=this.plugin.fieldMapper.toUserField("googleCalendarMovedOriginalDates"),l={};"googleCalendarExceptionEventId"in t&&(l[a]=t.googleCalendarExceptionEventId),"googleCalendarExceptionOriginalScheduled"in t&&(l[s]=t.googleCalendarExceptionOriginalScheduled),"googleCalendarMovedOriginalDates"in t&&(l[o]=t.googleCalendarMovedOriginalDates),Object.keys(l).length>0&&await this.writeGoogleCalendarFrontmatterFields(e,i,l),"googleCalendarExceptionEventId"in t&&(t.googleCalendarExceptionEventId?gt.taskExceptionEventIdCache.set(this.getTaskEventIdCacheKey(e,n),t.googleCalendarExceptionEventId):gt.clearTaskExceptionEventIdCache(e,n))}writeOptionalFrontmatterField(e,t,n,i){if(i){if(n==null||Array.isArray(n)&&n.length===0){delete e[t];return}e[t]=n}}async clearTaskGoogleCalendarMetadata(e){await this.removeTaskEventId(e),await this.saveTaskExceptionMetadata(e,{googleCalendarExceptionEventId:void 0,googleCalendarExceptionOriginalScheduled:void 0,googleCalendarMovedOriginalDates:void 0})}applyTitleTemplate(e){let t=this.plugin.settings.googleCalendarExport.eventTitleTemplate,n=e.status?this.plugin.statusManager.getStatusConfig(e.status):null,i=e.priority?this.plugin.priorityManager.getPriorityConfig(e.priority):null,a=this.plugin.i18n.translate("settings.integrations.googleCalendarExport.eventDescription.untitledTask");return t.replace(/\{\{title\}\}/g,e.title||a).replace(/\{\{status\}\}/g,(n==null?void 0:n.label)||e.status||"").replace(/\{\{priority\}\}/g,(i==null?void 0:i.label)||e.priority||"").replace(/\{\{due\}\}/g,e.due||"").replace(/\{\{scheduled\}\}/g,e.scheduled||"").trim()}getCalendarEventTitle(e){let t=this.applyTitleTemplate(e);return this.plugin.statusManager.isCompletedStatus(e.status)?`\u2713 ${t}`:t}buildEventDescription(e){let t=this.plugin.settings.googleCalendarExport,n=(a,s)=>this.plugin.i18n.translate(`settings.integrations.googleCalendarExport.eventDescription.${a}`,s),i=[];if(e.priority&&e.priority!=="none"){let a=this.plugin.priorityManager.getPriorityConfig(e.priority);i.push(n("priority",{value:(a==null?void 0:a.label)||e.priority}))}if(e.status){let a=this.plugin.statusManager.getStatusConfig(e.status);i.push(n("status",{value:(a==null?void 0:a.label)||e.status}))}if(e.due&&i.push(n("due",{value:e.due})),e.scheduled&&i.push(n("scheduled",{value:e.scheduled})),e.timeEstimate){let a=Math.floor(e.timeEstimate/60),s=e.timeEstimate%60,o=a>0?`${a}h ${s}m`:`${s}m`;i.push(n("timeEstimate",{value:o}))}if(e.tags&&e.tags.length>0&&i.push(n("tags",{value:e.tags.map(a=>`#${a}`).join(", ")})),e.contexts&&e.contexts.length>0&&i.push(n("contexts",{value:e.contexts.map(a=>`@${this.toCalendarDescriptionLabel(a)}`).join(", ")})),e.projects&&e.projects.length>0&&i.push(n("projects",{value:e.projects.map(a=>this.toCalendarDescriptionLabel(a)).join(", ")})),i.length>0&&t.includeObsidianLink&&(i.push(""),i.push("---")),t.includeObsidianLink){let a=this.plugin.app.vault.getName(),s=encodeURIComponent(e.path),o=`obsidian://open?vault=${encodeURIComponent(a)}&file=${s}`,l=n("openInObsidian");i.push(`${l}: ${o}`)}return i.join(`
`)}toCalendarDescriptionLabel(e){return e.replace(/\[\[([^\]|]+)\|([^\]]+)\]\]/g,"$2").replace(/\[\[([^\]]+)\]\]/g,(t,n)=>this.basenameForDisplay(n)).replace(/\[([^\]]+)\]\(([^)]+)\)/g,"$1").trim()}basenameForDisplay(e){let n=e.split("#")[0].replace(/\.md$/i,"");return n.split("/").pop()||n||e}getEventDate(e){switch(this.plugin.settings.googleCalendarExport.syncTrigger){case"scheduled":return e.scheduled;case"due":return e.due;case"both":return e.scheduled||e.due;default:return}}parseDateForEvent(e){if(e.includes("T")){let t=new Date(e);return{dateTime:P(t,"yyyy-MM-dd'T'HH:mm:ssxxx"),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,isAllDay:!1}}else return{date:e,isAllDay:!0}}getEventEnd(e,t){let n=this.plugin.settings.googleCalendarExport;if(e.isAllDay||n.createAsAllDay){if(e.date){let s=new Date(e.date+"T00:00:00"),o=new Date(s);return o.setDate(o.getDate()+1),{date:P(o,"yyyy-MM-dd")}}if(!e.dateTime)return{};let i=new Date(e.dateTime),a=new Date(i);return a.setDate(a.getDate()+1),{date:P(a,"yyyy-MM-dd")}}else{let i=t.timeEstimate||n.defaultEventDuration;if(!e.dateTime)return{};let a=new Date(e.dateTime),s=new Date(a.getTime()+i*60*1e3);return{dateTime:P(s,"yyyy-MM-dd'T'HH:mm:ssxxx"),timeZone:e.timeZone}}}parseISO8601Duration(e){let t=e.match(/^(-?)P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/);if(!t)return null;let[,n,i,a,s,o,l,c,d]=t,u=0;return i&&(u+=parseInt(i)*365*24*60*60*1e3),a&&(u+=parseInt(a)*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),n==="-"?-u:u}convertTaskRemindersToGoogleFormat(e,t,n){if(!e.reminders||!Array.isArray(e.reminders)||e.reminders.length===0)return null;let i=[],a;try{if(t.includes("T")?a=new Date(t).getTime():a=new Date(t+"T00:00:00").getTime(),isNaN(a))return $r.warn("[TaskCalendarSync] Invalid event start time:",{category:"provider",operation:"invalid-event-start-time",details:{value:t}}),null}catch(s){return $r.warn("[TaskCalendarSync] Error parsing event start time:",{category:"provider",operation:"parsing-event-start-time",error:s}),null}for(let s of e.reminders)if(s.type){if(s.type==="relative"){if(s.relatedTo!==n||!s.offset)continue;let o=this.parseISO8601Duration(s.offset);if(o===null){$r.warn("[TaskCalendarSync] Invalid duration format:",{category:"provider",operation:"invalid-duration-format",details:{value:s.offset}});continue}let l=Math.abs(Math.round(o/(60*1e3)));if(o>0){$r.warn("[TaskCalendarSync] Skipping reminder after event:",{category:"provider",operation:"skipping-reminder-event",details:{value:s}});continue}let c=Math.min(l,ql.MAX_REMINDER_MINUTES);c>=0&&i.push({method:"popup",minutes:c})}else if(s.type==="absolute"){if(!s.absoluteTime)continue;try{let o=new Date(s.absoluteTime).getTime();if(isNaN(o)){$r.warn("[TaskCalendarSync] Invalid absolute time:",{category:"provider",operation:"invalid-absolute-time",details:{value:s.absoluteTime}});continue}let l=a-o,c=Math.round(l/(60*1e3));if(c<0){$r.warn("[TaskCalendarSync] Skipping absolute reminder after event:",{category:"provider",operation:"skipping-absolute-reminder-event",details:{value:s}});continue}let d=Math.min(c,ql.MAX_REMINDER_MINUTES);i.push({method:"popup",minutes:d})}catch(o){$r.warn("[TaskCalendarSync] Error parsing absolute reminder time:",{category:"provider",operation:"parsing-absolute-reminder-time",error:o});continue}}}return i.length>0?i:null}getDefaultReminderOverrides(){let e=this.plugin.settings.googleCalendarExport.defaultReminderMinutes,t=Array.isArray(e)?e:e===null?[]:[e],n=new Set,i=[];for(let a of t){let s=Math.trunc(Number(a));if(!Number.isFinite(s)||s<=0)continue;let o=Math.min(s,ql.MAX_REMINDER_MINUTES);n.has(o)||(n.add(o),i.push({method:"popup",minutes:o}))}return i}taskToCalendarEvent(e,t){let n=this.getEventDate(e);if(!n)return null;let i=this.plugin.settings.googleCalendarExport,a=this.parseDateForEvent(n),s;if(i.createAsAllDay&&!a.isAllDay){let m=new Date(n);s={date:P(m,"yyyy-MM-dd")}}else a.isAllDay?s={date:a.date}:s={dateTime:a.dateTime,timeZone:a.timeZone};let o={...a,isAllDay:i.createAsAllDay||a.isAllDay,date:s.date,dateTime:s.dateTime},l=this.getEventEnd(o,e),c={summary:this.getCalendarEventTitle(e),start:s,end:l};i.includeDescription&&(c.description=this.buildEventDescription(e)),i.eventColorId&&(c.colorId=i.eventColorId);let d;i.syncTrigger==="scheduled"||i.syncTrigger==="both"&&e.scheduled?d="scheduled":d="due";let u=this.convertTaskRemindersToGoogleFormat(e,n,d),p=this.getDefaultReminderOverrides();if(u&&u.length>0?c.reminders={useDefault:!1,overrides:u}:p.length>0&&(i.createAsAllDay||a.isAllDay?c.reminders={useDefault:!0}:c.reminders={useDefault:!1,overrides:p}),this.shouldSyncAsRecurring(e)&&e.recurrence){let m=mie(e.recurrence,{completedInstances:e.complete_instances,skippedInstances:e.skipped_instances,additionalExcludedDates:this.getAdditionalRecurringExdates(e)});if(m&&(c.recurrence=m.recurrence,m.dtstart)){if(i.createAsAllDay||!m.hasTime){c.start={date:m.dtstart};let f=new Date(m.dtstart+"T00:00:00");f.setDate(f.getDate()+1),c.end={date:P(f,"yyyy-MM-dd")}}else if(m.time){let f=`${m.dtstart}T${m.time}`,h=new Date(f);c.start={dateTime:P(h,"yyyy-MM-dd'T'HH:mm:ssxxx"),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};let g=e.timeEstimate||i.defaultEventDuration,v=new Date(h.getTime()+g*60*1e3);c.end={dateTime:P(v,"yyyy-MM-dd'T'HH:mm:ssxxx"),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}}}else t&&(c.recurrence=[]);return c}async createCalendarEventForTask(e,t,n){let i=await this.withGoogleRateLimit(()=>this.googleCalendarService.createEvent(n,{...t,isAllDay:!!t.start.date})),a=`google-${n}-`,s=i.id.startsWith(a)?i.id.slice(a.length):i.id;return await this.saveTaskEventId(e.path,s,n),s}shouldCreateDetachedRecurringException(e){if(!this.shouldSyncAsRecurring(e))return!1;let t=ke(e.scheduled||""),n=ke(e.googleCalendarExceptionOriginalScheduled||"");return!!(t&&n&&t!==n)}buildRecurringExceptionEvent(e){if(!e.scheduled)return null;let t=this.plugin.settings.googleCalendarExport,n=this.parseDateForEvent(e.scheduled),i;if(t.createAsAllDay&&!n.isAllDay){let c=new Date(e.scheduled);i={date:P(c,"yyyy-MM-dd")}}else n.isAllDay?i={date:n.date}:i={dateTime:n.dateTime,timeZone:n.timeZone};let a={...n,isAllDay:t.createAsAllDay||n.isAllDay,date:i.date,dateTime:i.dateTime},s=this.getEventEnd(a,e),o={summary:this.getCalendarEventTitle(e),start:i,end:s};t.includeDescription&&(o.description=this.buildEventDescription(e)),t.eventColorId&&(o.colorId=t.eventColorId);let l=this.convertTaskRemindersToGoogleFormat(e,e.scheduled,"scheduled");return l&&l.length>0&&(o.reminders={useDefault:!1,overrides:l}),o}async syncRecurringExceptionEvent(e,t){let n=this.shouldCreateDetachedRecurringException(e),i=this.getTaskExceptionEventId(e);if(!n){if(i&&!await this.deleteOrQueueCalendarEvent(e.path,t,i))throw new Error(`Failed to delete detached recurring exception event: ${e.path}`);await this.saveTaskExceptionMetadata(e.path,{googleCalendarExceptionEventId:void 0,googleCalendarExceptionOriginalScheduled:void 0},t);return}let a=this.buildRecurringExceptionEvent(e);if(!a)return;if(i)try{await this.withGoogleRateLimit(()=>this.googleCalendarService.updateEvent(t,i,a));return}catch(c){if(RM(c)!==404)throw c;await this.saveTaskExceptionMetadata(e.path,{googleCalendarExceptionEventId:void 0},t)}let s=this.getTaskEventIdCacheKey(e.path,t),o=gt.pendingExceptionEventCreates.get(s);if(o){let c=await o;await this.withGoogleRateLimit(()=>this.googleCalendarService.updateEvent(t,c,a));return}let l=this.withGoogleRateLimit(()=>this.googleCalendarService.createEvent(t,{...a,isAllDay:!!a.start.date})).then(async c=>{let d=`google-${t}-`,u=c.id.startsWith(d)?c.id.slice(d.length):c.id;return await this.saveTaskExceptionMetadata(e.path,{googleCalendarExceptionEventId:u,googleCalendarExceptionOriginalScheduled:ke(e.googleCalendarExceptionOriginalScheduled||"")},t),u});gt.pendingExceptionEventCreates.set(s,l);try{await l}finally{gt.pendingExceptionEventCreates.get(s)===l&&gt.pendingExceptionEventCreates.delete(s)}}async syncTaskToCalendar(e,t,n={}){var l;let i=(l=n.queueOnFailure)!=null?l:!0;if(!this.isTaskCalendarEligible(e))return!0;let a=this.plugin.settings.googleCalendarExport,s=this.getTaskEventId(e),o=a.targetCalendarId;try{if(!this.isEnabled())return i&&await this.queueTaskSync(e.path,new Error("Google Calendar sync is not ready")),!1;let c=!!(t!=null&&t.recurrence&&!e.recurrence),d=this.taskToCalendarEvent(e,c);if(!d)return $r.warn("[TaskCalendarSync] Could not convert task to event:",{category:"provider",operation:"convert-task-event",details:{value:e.path}}),!1;if(!o)return $r.warn("[TaskCalendarSync] Cannot sync task without target calendar:",{category:"provider",operation:"sync-task-without-target-calendar",details:{value:e.path}}),i&&await this.queueTaskSync(e.path,new Error("Google Calendar target calendar is not configured")),!1;if(s)await this.withGoogleRateLimit(()=>this.googleCalendarService.updateEvent(o,s,d));else{let u=this.getTaskEventIdCacheKey(e.path,o),p=gt.pendingEventCreates.get(u);if(p){let m=await p;await this.withGoogleRateLimit(()=>this.googleCalendarService.updateEvent(o,m,d))}else{let m=this.createCalendarEventForTask(e,d,o);gt.pendingEventCreates.set(u,m);try{await m}finally{gt.pendingEventCreates.get(u)===m&&gt.pendingEventCreates.delete(u)}}}return(this.shouldSyncAsRecurring(e)||this.hasStoredRecurringExceptionMetadata(e))&&await this.syncRecurringExceptionEvent(e,o),await this.recordCalendarSyncFingerprint(e),!0}catch(c){if(RM(c)===404&&s){await this.removeTaskEventId(e.path);let d=await this.plugin.cacheManager.getTaskInfo(e.path);if(d)return this.syncTaskToCalendar(d,t,n)}return $r.error("[TaskCalendarSync] Failed to sync task:",{category:"provider",operation:"sync-task",details:{value:e.path},error:c}),i&&await this.queueTaskSync(e.path,c,!0),c instanceof Pg?Ee(this.plugin.emitter,this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.connectionExpired")):Ee(this.plugin.emitter,this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.syncFailed",{message:NM(c)})),!1}}async updateTaskInCalendar(e,t){if(!this.plugin.settings.googleCalendarExport.syncOnTaskUpdate)return;let n=e.path;t&&this.previousTaskState.set(n,t);let i=this.pendingSyncs.get(n);return i&&window.clearTimeout(i),this.pendingTasks.set(n,e),new Promise((a,s)=>{let o=window.setTimeout(()=>{(async()=>{this.pendingSyncs.delete(n);let l=this.inFlightSyncs.get(n);l&&await l.catch(()=>{});let c=this.pendingTasks.get(n);this.pendingTasks.delete(n);let d=c||await this.plugin.cacheManager.getTaskInfo(n);if(!d){a();return}let u=this.executeTaskUpdate(d);this.inFlightSyncs.set(n,u);try{await u,a()}catch(p){s(p instanceof Error?p:new Error(String(p)))}finally{this.inFlightSyncs.delete(n)}})()},dWt);this.pendingSyncs.set(n,o)})}cancelPendingTaskUpdate(e){let t=this.pendingSyncs.get(e);t&&(window.clearTimeout(t),this.pendingSyncs.delete(e),this.pendingTasks.delete(e))}async waitForInFlightTaskSync(e){let t=this.inFlightSyncs.get(e);t&&await t.catch(()=>{})}async executeTaskUpdate(e,t){let n=this.getTaskEventId(e);if(!this.isTaskCalendarEligible(e)){(n||this.hasStoredRecurringExceptionMetadata(e))&&(await this.deleteTaskFromCalendar(e)?await this.removeCalendarSyncFingerprint(e.path):$r.warn(`Google Calendar deletion queued for ${e.path}`,{category:"provider",operation:"google-calendar-deletion-queued"})),this.previousTaskState.delete(e.path);return}let i=t||this.previousTaskState.get(e.path);await this.syncTaskToCalendar(e,i)&&this.previousTaskState.set(e.path,e)}async completeTaskInCalendar(e){if(!this.plugin.settings.googleCalendarExport.syncOnTaskComplete)return;this.cancelPendingTaskUpdate(e.path),await this.waitForInFlightTaskSync(e.path);let t=this.executeTaskCompletion(e);this.inFlightSyncs.set(e.path,t);try{await t&&await this.recordCalendarSyncFingerprint(e)}finally{this.inFlightSyncs.get(e.path)===t&&this.inFlightSyncs.delete(e.path)}}async executeTaskCompletion(e){let t=this.plugin.settings.googleCalendarExport,n=this.getTaskEventId(e);if(!n&&(!await this.syncTaskToCalendar(e)||(n=this.getTaskEventId(e),!n)))return!1;if(this.shouldSyncAsRecurring(e))return await this.updateRecurringEventExdates(e),!0;try{let i=t.includeDescription?this.buildEventDescription(e):void 0;return await this.withGoogleRateLimit(()=>this.googleCalendarService.updateEvent(t.targetCalendarId,n,{summary:this.getCalendarEventTitle(e),description:i})),!0}catch(i){return RM(i)===404?(await this.removeTaskEventId(e.path),!1):($r.error("[TaskCalendarSync] Failed to update completed task:",{category:"provider",operation:"update-completed-task",details:{value:e.path},error:i}),!1)}}async updateRecurringEventExdates(e){if(!this.shouldSyncAsRecurring(e)||!e.recurrence)return;let t=this.plugin.settings.googleCalendarExport,n=this.getTaskEventId(e);if(n)try{let i=mie(e.recurrence,{completedInstances:e.complete_instances,skippedInstances:e.skipped_instances,additionalExcludedDates:this.getAdditionalRecurringExdates(e)});if(i){let a=t.includeDescription?this.buildEventDescription(e):void 0;await this.withGoogleRateLimit(()=>this.googleCalendarService.updateEvent(t.targetCalendarId,n,{summary:this.getCalendarEventTitle(e),description:a,recurrence:i.recurrence})),await this.syncRecurringExceptionEvent(e,t.targetCalendarId)}}catch(i){if(RM(i)===404){await this.removeTaskEventId(e.path);return}$r.error("[TaskCalendarSync] Failed to update recurring event EXDATEs:",{category:"provider",operation:"update-recurring-event-exdates",details:{value:e.path},error:i}),await this.syncTaskToCalendar(e)}}async deleteTaskFromCalendar(e){if(!this.plugin.settings.googleCalendarExport.syncOnTaskDelete)return!0;let t=this.plugin.settings.googleCalendarExport,n=this.getTaskEventId(e),i=this.getTaskExceptionEventId(e);if(!n&&!this.hasStoredRecurringExceptionMetadata(e))return!0;let a=t.targetCalendarId;if(!a)return $r.warn("[TaskCalendarSync] Cannot delete task event without target calendar:",{category:"provider",operation:"delete-task-event-without-target-calendar",details:{value:e.path}}),!1;for(let s of[n,i]){if(!s)continue;if(!await this.deleteOrQueueCalendarEvent(e.path,a,s))return!1}return await this.clearTaskGoogleCalendarMetadata(e.path),await this.removeCalendarSyncFingerprint(e.path),!0}async deleteTaskFromCalendarByPath(e,t,...n){if(!this.plugin.settings.googleCalendarExport.syncOnTaskDelete)return!0;let i=this.plugin.settings.googleCalendarExport,a=[t,...n].filter(l=>typeof l=="string"&&l.length>0);if(a.length===0)return!0;let s=i.targetCalendarId;if(!s)return $r.warn("[TaskCalendarSync] Cannot delete task events without target calendar:",{category:"provider",operation:"delete-task-events-without-target-calendar",details:{value:e}}),!1;let o=[];for(let l of a){let c=await this.deleteOrQueueCalendarEvent(e,s,l);c&&await this.removeEventIndexForEvent(s,l),o.push(c)}return await this.removeCalendarSyncFingerprint(e),o.every(Boolean)}async syncAllTasks(){let e={synced:0,failed:0,skipped:0};if(!this.isEnabled())return Ee(this.plugin.emitter,this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.notEnabledOrConfigured")),e;let t=await this.plugin.cacheManager.getAllTasks(),n=t.filter(a=>this.shouldSyncTask(a)?!0:(e.skipped++,!1)),i=t.length;return Ee(this.plugin.emitter,this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.syncingTasks",{total:i})),await this.processInParallel(n,async a=>{try{await this.syncTaskToCalendar(a)?e.synced++:e.failed++}catch(s){e.failed++,$r.error(`[TaskCalendarSync] Failed to sync task ${a.path}:`,{category:"provider",operation:"sync-task",error:s})}}),Ee(this.plugin.emitter,this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.syncComplete",{synced:e.synced,failed:e.failed,skipped:e.skipped})),e}async unlinkAllTasks(e=!1){let t=this.plugin.settings.googleCalendarExport,n=await this.plugin.cacheManager.getAllTasks(),i=0;for(let a of n)if(!(!a.googleCalendarEventId&&!this.hasStoredRecurringExceptionMetadata(a))){if(e){let s=t.targetCalendarId;if(!s){$r.warn(`[TaskCalendarSync] Cannot delete event without target calendar for ${a.path}`,{category:"provider",operation:"delete-event-without-target-calendar"});continue}let o=!0;for(let l of[a.googleCalendarEventId,this.getTaskExceptionEventId(a)]){if(!l)continue;await this.deleteOrQueueCalendarEvent(a.path,s,l)||(o=!1)}if(!o){$r.warn(`[TaskCalendarSync] Event deletion queued; keeping links for ${a.path}`,{category:"provider",operation:"event-deletion-queued-keeping-link"});continue}}await this.clearTaskGoogleCalendarMetadata(a.path),await this.removeCalendarSyncFingerprint(a.path),i++}Ee(this.plugin.emitter,e?this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.eventsDeletedAndUnlinked",{count:i}):this.plugin.i18n.translate("settings.integrations.googleCalendarExport.notices.tasksUnlinked",{count:i}))}};gt.pendingEventCreates=new Map,gt.pendingExceptionEventCreates=new Map,gt.taskEventIdCache=new Map,gt.taskExceptionEventIdCache=new Map,gt.googleCalendarFrontmatterWrites=new Map;fie=gt});var Yz,B6e,fWt,vi,hie=y(()=>{mv();Ne();G();Yz=I({tag:"Utils/TasksPluginParser"}),B6e={monday:"MO",tuesday:"TU",wednesday:"WE",thursday:"TH",friday:"FR",saturday:"SA",sunday:"SU"},fWt={"\u{1F53A}":"highest","\u23EB":"high","\u{1F53C}":"medium","\u{1F53D}":"low","\u23EC":"lowest",highest:"highest",high:"high",medium:"medium",normal:"normal",none:"none",low:"low",lowest:"lowest"},vi=class{static stripBlockquoteMarkers(e){let t=e.trim();for(;/^>\s*/.test(t);)t=t.replace(/^>\s*/,"");return t}static parseTaskLine(e){if(typeof e!="string")return{isTaskLine:!1,originalText:"",error:"Invalid input: line must be a string"};if(e.length>2e3)return{isTaskLine:!1,originalText:e,error:"Line too long to process safely"};let n=this.stripBlockquoteMarkers(e).match(this.CHECKBOX_PATTERN);if(!n)return{isTaskLine:!1,originalText:e};try{let[,,i,,a]=n;if(typeof i!="string"||typeof a!="string")return{isTaskLine:!0,originalText:e,error:"Invalid checkbox format"};let s=i.toLowerCase()==="x",o=this.parseTaskContent(a,s);return!o||!o.title||o.title.trim().length===0?{isTaskLine:!0,originalText:e,error:"Task must have a title"}:{isTaskLine:!0,originalText:e,parsedData:o}}catch(i){return{isTaskLine:!0,originalText:e,error:`Failed to parse task: ${i instanceof Error?i.message:"Unknown error"}`}}}static parseTaskContent(e,t){if(typeof e!="string")throw new Error("Content must be a string");if(e.length>1e3)throw new Error("Content too long to process safely");try{let n={line:e.trim(),parsed:{}},i=this.consumeBlockLink(n);i&&(n.parsed.blockLink=i),this.consumeTrailingFields(n);let a=this.extractTags(e),s=this.extractContexts(e),o=this.extractCleanTitle(n.line),l;if(t||n.parsed.doneDate)l="done";else if(n.parsed.startDate)try{l=!$B(n.parsed.startDate)&&!Jw(n.parsed.startDate)?"scheduled":"open"}catch(c){}return{title:o.trim()||"Untitled Task",status:l,priority:n.parsed.priority,dueDate:n.parsed.dueDate,scheduledDate:n.parsed.scheduledDate,startDate:n.parsed.startDate,createdDate:n.parsed.createdDate,doneDate:n.parsed.doneDate,recurrence:n.parsed.recurrence,recurrenceAnchor:n.parsed.recurrenceAnchor,recurrenceData:n.parsed.recurrenceData,tags:a.length>0?a:void 0,contexts:s.length>0?s:void 0,projects:void 0,isCompleted:t,userFields:n.parsed.userFields,customFrontmatter:n.parsed.customFrontmatter,details:n.parsed.details,blockLink:n.parsed.blockLink,taskPluginId:n.parsed.taskPluginId,dependsOn:n.parsed.dependsOn,onCompletion:n.parsed.onCompletion}}catch(n){throw new Error(`Failed to parse task content: ${n instanceof Error?n.message:"Unknown error"}`)}}static consumeTrailingFields(e){let t=0,n=!1;do n=this.consumeDataviewField(e)||this.consumeEmojiField(e)||this.consumeTrailingTagOrContext(e),t++;while(n&&t<=50)}static consumeBlockLink(e){let t=e.line.match(this.BLOCK_LINK_PATTERN);if(t!=null&&t[1])return e.line=e.line.replace(this.BLOCK_LINK_PATTERN,"").trim(),t[1]}static consumeTrailingTagOrContext(e){return this.TRAILING_TAG_OR_CONTEXT_PATTERN.test(e.line)?(e.line=e.line.replace(this.TRAILING_TAG_OR_CONTEXT_PATTERN,"").trim(),!0):!1}static consumeEmojiField(e){return[()=>this.consumeEmojiDateField(e,/(?:📅|📆|🗓)\uFE0F?\s*(\d{4}-\d{2}-\d{2})\s*$/u,"dueDate"),()=>this.consumeEmojiDateField(e,/(?:⏳|⌛)\uFE0F?\s*(\d{4}-\d{2}-\d{2})\s*$/u,"scheduledDate"),()=>this.consumeEmojiDateField(e,/🛫\uFE0F?\s*(\d{4}-\d{2}-\d{2})\s*$/u,"startDate"),()=>this.consumeEmojiDateField(e,/\uFE0F?\s*(\d{4}-\d{2}-\d{2})\s*$/u,"createdDate"),()=>this.consumeEmojiDateField(e,/✅\uFE0F?\s*(\d{4}-\d{2}-\d{2})\s*$/u,"doneDate"),()=>this.consumePriorityField(e,/(🔺|⏫|🔼|🔽|⏬)\uFE0F?\s*$/u),()=>this.consumeRecurrenceField(e,/🔁\uFE0F?\s*([a-zA-Z0-9, !]+?)\s*$/u),()=>this.consumeOnCompletionField(e,/🏁\uFE0F?\s*([a-zA-Z]+)\s*$/u),()=>this.consumeTaskPluginIdField(e,/🆔\uFE0F?\s*([A-Za-z0-9_-]+)\s*$/u),()=>this.consumeDependsOnField(e,/⛔\uFE0F?\s*([A-Za-z0-9_ -]+(?:\s*,\s*[A-Za-z0-9_-]+)*)\s*$/u)].some(n=>n())}static consumeEmojiDateField(e,t,n){return this.consumeField(e,t,i=>{let a=this.normalizeDate(i[1]);a&&(e.parsed[n]=a)})}static consumePriorityField(e,t){return this.consumeField(e,t,n=>{e.parsed.priority=this.normalizePriority(n[1])})}static consumeRecurrenceField(e,t){return this.consumeField(e,t,n=>{Object.assign(e.parsed,this.parseRecurrence(n[1]))})}static consumeOnCompletionField(e,t){return this.consumeField(e,t,n=>{var a;let i=(a=n[1])==null?void 0:a.trim().toLowerCase();(i==="keep"||i==="delete")&&(e.parsed.onCompletion=i)})}static consumeTaskPluginIdField(e,t){return this.consumeField(e,t,n=>{var i;e.parsed.taskPluginId=(i=n[1])==null?void 0:i.trim()})}static consumeDependsOnField(e,t){return this.consumeField(e,t,n=>{let i=this.parseTaskIdList(n[1]);i.length>0&&(e.parsed.dependsOn=i)})}static consumeDataviewField(e){let t=e.line.match(this.DATAVIEW_FIELD_AT_END_PATTERN);if(!t)return!1;let[,n,i,a,s]=t;return n==="["&&s!=="]"||n==="("&&s!==")"?!1:(this.applyDataviewField(e,i,a.trim()),e.line=e.line.replace(this.DATAVIEW_FIELD_AT_END_PATTERN,"").trim(),!0)}static applyDataviewField(e,t,n){switch(t.trim().toLowerCase()){case"priority":e.parsed.priority=this.normalizePriority(n);return;case"start":this.assignDateField(e,"startDate",n);return;case"created":this.assignDateField(e,"createdDate",n);return;case"scheduled":this.assignDateField(e,"scheduledDate",n);return;case"due":this.assignDateField(e,"dueDate",n);return;case"completion":case"done":this.assignDateField(e,"doneDate",n);return;case"repeat":Object.assign(e.parsed,this.parseRecurrence(n));return;case"oncompletion":(n.toLowerCase()==="keep"||n.toLowerCase()==="delete")&&(e.parsed.onCompletion=n.toLowerCase());return;case"id":e.parsed.taskPluginId=n;return;case"dependson":{let a=this.parseTaskIdList(n);a.length>0&&(e.parsed.dependsOn=a);return}case"summary":case"description":case"details":this.appendDetails(e,n);return;default:this.assignCustomFrontmatter(e,t,n)}}static assignDateField(e,t,n){let i=this.normalizeDate(n);i&&(e.parsed[t]=i)}static consumeField(e,t,n){let i=e.line.match(t);return i?(n(i),e.line=e.line.replace(t,"").trim(),!0):!1}static parseTaskIdList(e){return e.split(",").map(t=>t.trim()).filter(t=>/^[A-Za-z0-9_-]+$/.test(t))}static assignCustomFrontmatter(e,t,n){if(!t.trim())return;let i=e.parsed.customFrontmatter||{},a=i[t];a===void 0?i[t]=n:Array.isArray(a)?i[t]=[...a,n]:i[t]=[a,n],e.parsed.customFrontmatter=i}static appendDetails(e,t){t.trim()&&(e.parsed.details=e.parsed.details?`${e.parsed.details}
${t.trim()}`:t.trim())}static normalizeDate(e){if(!e)return;let t=e.trim();if(/^\d{4}-\d{2}-\d{2}$/.test(t))try{let n=zt(t);if(isNaN(n.getTime()))return;let i=n.getUTCFullYear();return i<1900||i>2100?void 0:ce(n)}catch(n){return}}static normalizePriority(e){if(!e)return;let t=e.trim().toLowerCase();return fWt[t]||t||void 0}static parseRecurrence(e){let t=e==null?void 0:e.trim();if(!t)return{};let i=t.match(/\s+when\s+done$/iu)?"completion":void 0,a=t.replace(/\s+when\s+done$/iu,"").trim(),o=this.normalizeExistingRRule(a)||this.parseTextToRRule(a)||this.parseSimpleRecurrence(a);return o?{recurrence:o,recurrenceAnchor:i,recurrenceData:this.buildRecurrenceData(o,t)}:{recurrenceData:{frequency:"custom",raw:t}}}static normalizeExistingRRule(e){let t=e.trim().replace(/^RRULE:/iu,"");if(/^(DTSTART:[^;]+;)?FREQ=/iu.test(t))return t.toUpperCase()}static parseTextToRRule(e){try{let t=ye.parseText(e);return t?new ye(t).toString().replace(/^RRULE:/u,""):void 0}catch(t){return}}static parseSimpleRecurrence(e){let t=e.trim().toLowerCase(),n=t.match(/^every\s+(\d+)\s+(day|week|month|year)s?$/u);if(n)return`FREQ=${this.frequencyFromText(n[2])};INTERVAL=${n[1]}`;let i=t.match(/^every\s+((?:monday|tuesday|wednesday|thursday|friday|saturday|sunday)(?:\s*(?:,|and)\s*(?:monday|tuesday|wednesday|thursday|friday|saturday|sunday))*)$/u);if(i){let s=i[1].split(/\s*(?:,|and)\s*/u).map(o=>B6e[o]).filter(Boolean);if(s.length>0)return`FREQ=WEEKLY;BYDAY=${s.join(",")}`}let a=t.match(/^every\s+week\s+on\s+((?:monday|tuesday|wednesday|thursday|friday|saturday|sunday)(?:\s*(?:,|and)\s*(?:monday|tuesday|wednesday|thursday|friday|saturday|sunday))*)$/u);if(a){let s=a[1].split(/\s*(?:,|and)\s*/u).map(o=>B6e[o]).filter(Boolean);if(s.length>0)return`FREQ=WEEKLY;BYDAY=${s.join(",")}`}switch(t){case"daily":case"every day":return"FREQ=DAILY";case"weekly":case"every week":return"FREQ=WEEKLY";case"monthly":case"every month":return"FREQ=MONTHLY";case"yearly":case"annually":case"every year":return"FREQ=YEARLY";default:return}}static frequencyFromText(e){switch(e){case"day":return"DAILY";case"week":return"WEEKLY";case"month":return"MONTHLY";case"year":return"YEARLY";default:return"DAILY"}}static buildRecurrenceData(e,t){var o,l;let n=e.match(/(?:^|;)FREQ=([^;]+)/u),i=e.match(/(?:^|;)BYDAY=([^;]+)/u),a=e.match(/(?:^|;)BYMONTHDAY=(\d+)/u),s=e.match(/(?:^|;)BYMONTH=(\d+)/u);return{frequency:((o=n==null?void 0:n[1])==null?void 0:o.toLowerCase())||"custom",days_of_week:(l=i==null?void 0:i[1])==null?void 0:l.split(","),day_of_month:a?Number(a[1]):void 0,month_of_year:s?Number(s[1]):void 0,raw:t}}static extractTags(e){if(typeof e!="string")return[];try{let t=new RegExp(this.TAG_PATTERN.source,this.TAG_PATTERN.flags),n=[],i;for(;(i=t.exec(e))!==null;)if(i[0]){let a=i[0].substring(1);a&&!n.includes(a)&&n.push(a)}return n}catch(t){return Yz.debug("Error extracting tags:",{category:"validation",operation:"extracting-tags",error:t}),[]}}static extractContexts(e){if(typeof e!="string")return[];try{let t=new RegExp(this.CONTEXT_PATTERN.source,this.CONTEXT_PATTERN.flags),n=[],i;for(;(i=t.exec(e))!==null;)if(i[0]){let a=i[0].substring(1);a&&!n.includes(a)&&n.push(a)}return n}catch(t){return Yz.debug("Error extracting contexts:",{category:"validation",operation:"extracting-contexts",error:t}),[]}}static extractCleanTitle(e){if(typeof e!="string")return"";try{let t=e;t=t.replace(this.TAG_PATTERN,""),t=t.replace(this.CONTEXT_PATTERN,""),t=t.replace(this.DATAVIEW_FIELD_ANY_PATTERN,"");let n=t.replace(/\s+/g," ").trim();return n.length===0?"Untitled Task":n}catch(t){return Yz.debug("Error extracting clean title:",{category:"validation",operation:"extracting-clean-title",error:t}),"Untitled Task"}}static isTasksPluginFormat(e){if(typeof e!="string"||e.length>1e3)return!1;try{let n=this.stripBlockquoteMarkers(e).match(this.CHECKBOX_PATTERN);if(!n)return!1;let i=n[4]||"";return this.hasTasksPluginMetadata(i)}catch(t){return Yz.debug("Error validating Tasks plugin format:",{category:"validation",operation:"validating-tasks-plugin-format",error:t}),!1}}static hasTasksPluginMetadata(e){return/(?:📅|📆|🗓|⏳|⌛|🛫||✅|🔺|⏫|🔼|🔽|⏬|🔁|🏁|🆔|⛔)/u.test(e)||this.DATAVIEW_FIELD_ANY_PATTERN.test(e)}static getSummary(e){let t=[];return t.push(`Title: "${e.title}"`),t.push(`Status: ${e.status}`),t.push(`Priority: ${e.priority}`),e.dueDate&&t.push(`Due: ${e.dueDate}`),e.startDate&&t.push(`Start: ${e.startDate}`),e.scheduledDate&&t.push(`Scheduled: ${e.scheduledDate}`),e.createdDate&&t.push(`Created: ${e.createdDate}`),e.doneDate&&t.push(`Done: ${e.doneDate}`),e.recurrence&&t.push(`Recurrence: ${e.recurrence}`),e.tags&&e.tags.length>0&&t.push(`Tags: ${e.tags.map(n=>"#"+n).join(", ")}`),e.projects&&e.projects.length>0&&t.push(`Projects: ${e.projects.map(n=>n.includes(" ")?`+[[${n}]]`:`+${n}`).join(", ")}`),t.join(" | ")}};vi.CHECKBOX_PATTERN=/^(\s*(?:[-*+]|\d+\.)\s+\[)([ xX])(\]\s+)(.*)/u,vi.TAG_PATTERN=/#[\p{L}\p{N}\p{M}_/-]+/gu,vi.CONTEXT_PATTERN=/@[\p{L}\p{N}\p{M}_/-]+/gu,vi.BLOCK_LINK_PATTERN=/\s(\^[a-zA-Z0-9-]+)\s*$/u,vi.TRAILING_TAG_OR_CONTEXT_PATTERN=/(?:^|\s)(#[\p{L}\p{N}\p{M}_/-]+|@[\p{L}\p{N}\p{M}_/-]+)\s*$/u,vi.DATAVIEW_FIELD_AT_END_PATTERN=/(?:^|\s)(\[|\()\s*([A-Za-z][A-Za-z0-9_-]*)::\s*([^\])]*?)\s*(\]|\))\s*,?\s*$/u,vi.DATAVIEW_FIELD_ANY_PATTERN=/(\[|\()\s*[A-Za-z][A-Za-z0-9_-]*::\s*[^\])]*?\s*(\]|\))/u});var q6e={};et(q6e,{InstantTaskConvertService:()=>gie,extractProjectFromHeadingText:()=>V6e,findClosestHeadingAboveLine:()=>H6e});function H6e(r,e){if(!r||!Number.isInteger(e)||e<0)return null;let t=null;for(let n of r)n.position.start.line>=e||(!t||n.position.start.line>t.position.start.line)&&(t=n);return t}function V6e(r){let e=r.trim();if(!e)return null;let t=e.match(/\[\[([^[\]]+)\]\]/);if(t)return`[[${t[1].trim()}]]`;let n=e.match(/\[[^\]]+\]\(([^)]+)\)/);return n?n[0].trim():/^\d{4}(?:-\d{2}){0,2}$/.test(e)?null:e}function hWt(r){var i;let e=((i=r.match(/^(\s*)/))==null?void 0:i[1])||"",t=r.slice(e.length),n="";for(;/^>\s*/.test(t);){let a=t.match(/^(>\s*)/);if(!a)break;n+=a[1],t=t.slice(a[1].length)}return{leadingWhitespace:e,blockquotePrefix:n,content:t}}function U6e(r){var t;let e=r.includes("|")&&r.split("|").pop()||r;return((t=e.split("/").pop())==null?void 0:t.replace(/\.md$/i,""))||e}var xa,gie,W6e=y(()=>{hie();wc();Ne();Ct();AO();Op();Eb();G();ls();Mc();xa=I({tag:"Services/InstantTaskConvertService"});gie=class{translate(e,t){return this.plugin.i18n.translate(e,t)}constructor(e,t,n){this.plugin=e,this.statusManager=t,this.priorityManager=n,this.nlParser=Zn.fromPlugin(e)}async batchConvertAllTasks(e){try{let t=this.findAllCheckboxTasks(e);if(t.length===0){Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.noCheckboxTasks"));return}let n=t.length===1?"":"s";Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.convertingTasks",{count:t.length,plural:n}));let i=await this.batchConvertTasksOptimized(e,t);if(i.failures.length===0){let a=i.successCount===1?"":"s";Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.conversionSuccess",{count:i.successCount,plural:a}))}else{let a=i.successCount===1?"":"s";Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.partialConversion",{successCount:i.successCount,successPlural:a,failureCount:i.failures.length})),xa.warn("Batch conversion failures:",{category:"configuration",operation:"batch-conversion-failures",details:{value:i.failures}})}}catch(t){xa.error("Error during batch task conversion:",{category:"configuration",operation:"batch-task-conversion",error:t}),Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.batchConversionFailed"))}}async batchConvertTasksOptimized(e,t){let n=[],i=[],a=t.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,"",o.lineNumber),d=this.generateLinkText(o.line,c);return{lineNumber:o.lineNumber,line:o.line,file:c,linkText:d}}catch(l){return n.push({lineNumber:o.lineNumber+1,error:l instanceof Error?l.message:String(l)}),null}}),s=await Promise.all(a);for(let o of s)o&&i.push(o);return i.length>0&&this.replaceAllTaskLines(e,i),{successCount:i.length,failures:n}}async instantConvertTask(e,t){var n,i,a,s;try{if(!this.validateInputParameters(e,t).isValid){Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.invalidParameters"));return}let l=this.extractSelectionInfo(e,t),c=l.taskLine,d=l.details,u,p=vi.parseTaskLine(c);if(p.isTaskLine){if(p.error||!p.parsedData){Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.parseError",{error:p.error||"No data extracted"}));return}if(this.plugin.settings.enableNaturalLanguageInput){let g=p.parsedData.title,v=d!=null&&d.trim()?`${g}
${d}`:g,k=this.nlParser.parseInput(v),b={title:((n=k.title)==null?void 0:n.trim())||g,isCompleted:k.isCompleted||!1,status:k.status,priority:k.priority,dueDate:k.dueDate,scheduledDate:k.scheduledDate,dueTime:k.dueTime,scheduledTime:k.scheduledTime,recurrence:k.recurrence,timeEstimate:k.estimate,tags:((i=k.tags)==null?void 0:i.length)>0?k.tags:void 0,projects:((a=k.projects)==null?void 0:a.length)>0?k.projects:void 0,contexts:((s=k.contexts)==null?void 0:s.length)>0?k.contexts:void 0,userFields:k.userFields};u=this.mergeParseResults(p.parsedData,b)}else u=p.parsedData}else{let g=this.extractLineContentAsTitle(c);if(!g.trim()){Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.emptyLine"));return}if(this.plugin.settings.enableNaturalLanguageInput){let v=this.tryNLPFallback(g,d||"");v?u=v:u={title:g,isCompleted:!1}}else u={title:g,isCompleted:!1}}if(!this.validateTaskData(u).isValid){Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.invalidTaskData"));return}let f=await this.createTaskFile(u,d,l.startLine);if(!(await this.replaceOriginalTaskLines(e,l,f,u.title)).success){Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.replaceLineFailed"));try{await this.plugin.app.fileManager.trashFile(f)}catch(g){xa.warn("Failed to clean up created file after replacement failure:",{category:"validation",operation:"clean-up-created-file-replacement",error:g})}return}await this.persistSourceNoteAfterReplacement(e),BI(this.plugin.settings,u.title,f.basename)?Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.conversionCompleteShortened",{title:u.title})):Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.conversionComplete",{title:u.title})),await this.refreshTaskLinkOverlays(e,f)}catch(o){xa.error("Error during instant task conversion:",{category:"configuration",operation:"instant-task-conversion",error:o}),o.message.includes("file already exists")?Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.fileExists")):Ee(this.plugin.emitter,this.translate("services.instantTaskConvert.notices.conversionFailed"))}}extractSelectionInfo(e,t){let n=e.getSelection();if(n&&n.trim()){let a=e.listSelections()[0],s=Math.min(a.anchor.line,a.head.line),o=Math.max(a.anchor.line,a.head.line);if(t>=s&&t<=o){let 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}}}let i=e.getLine(t);return{taskLine:i,details:"",startLine:t,endLine:t,originalContent:[i]}}validateInputParameters(e,t){if(!e)return{isValid:!1,error:"Editor is not available."};let n=e.lineCount();if(t<0||t>=n)return{isValid:!1,error:`Line number ${t} is out of bounds (0-${n-1}).`};let i=e.getLine(t);return i==null?{isValid:!1,error:`Cannot read line ${t}.`}:{isValid:!0}}validateTaskData(e){if(!e.title||e.title.trim().length===0)return{isValid:!1,error:"Task title cannot be empty."};let t=["dueDate","scheduledDate","startDate","createdDate","doneDate"];for(let n of t){let i=e[n];if(i&&!this.isValidDateFormat(i))return{isValid:!1,error:`Invalid date format in ${n}: ${i}`}}return{isValid:!0}}isValidDateFormat(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))return!1;try{let n=zt(e);return ce(n)===e}catch(n){return!1}}async createTaskFile(e,t="",n){var J,te,Te,Ce,X;let i=((J=e.title)==null?void 0:J.trim())||"",a=this.extractTitleLinks(i),s=a.cleanTitle||i,o=this.sanitizeTitle(s)||"Untitled Task",c=[(te=e.details)==null?void 0:te.trim(),t].filter(Boolean).join(`
`),d=this.appendPreservedTitleLinks(c,a.links);if(s.length>200){let ne=this.extractOverflowText(s,200);ne&&(d=ne+(d?`
`+d:""))}let u=this.plugin.app.workspace.getActiveFile(),p=u?this.plugin.app.fileManager.generateMarkdownLink(u,u.path):"",m=this.sanitizeDate(e.dueDate),f=this.sanitizeDate(e.scheduledDate),h=((Te=e.dueTime)==null?void 0:Te.trim())||void 0,g=((Ce=e.scheduledTime)==null?void 0:Ce.trim())||void 0,v,k,b,w,S=[],x=this.plugin.settings.taskIdentificationMethod==="tag"?[this.plugin.settings.taskTag]:[],C,D,_=e.tags||[],O=e.contexts||[],L=e.projects||[];if(this.plugin.settings.useDefaultsOnInstantConvert){let ne=this.plugin.settings.taskCreationDefaults;if(v=(e.priority?this.sanitizePriority(e.priority):"")||this.plugin.settings.defaultTaskPriority,k=(e.status?this.sanitizeStatus(e.status):"")||this.plugin.settings.defaultTaskStatus,m?b=h?Ni(m,h):m:ne.defaultDueDate!=="none"&&(b=Ip(ne.defaultDueDate,ne.defaultDueTime)),f?w=g?Ni(f,g):f:ne.defaultScheduledDate!=="none"&&(w=Ip(ne.defaultScheduledDate,ne.defaultScheduledTime)),S=[],O.length>0&&S.push(...O),ne.defaultContexts){let st=ne.defaultContexts.split(",").map(Ue=>Ue.trim()).filter(Ue=>Ue);S.push(...st)}if(S=[...new Set(S)],x=this.plugin.settings.taskIdentificationMethod==="tag"?[this.plugin.settings.taskTag]:[],_.length>0&&x.push(..._),ne.defaultTags){let st=ne.defaultTags.split(",").map(Ue=>Ue.trim()).filter(Ue=>Ue);x.push(...st)}x=[...new Set(x)],e.timeEstimate!==void 0&&e.timeEstimate>0?C=e.timeEstimate:ne.defaultTimeEstimate&&ne.defaultTimeEstimate>0&&(C=ne.defaultTimeEstimate),e.recurrence?D=e.recurrence:ne.defaultRecurrence&&ne.defaultRecurrence!=="none"&&(D={daily:"FREQ=DAILY",weekly:"FREQ=WEEKLY",monthly:"FREQ=MONTHLY",yearly:"FREQ=YEARLY"}[ne.defaultRecurrence]||void 0)}else v=(e.priority?this.sanitizePriority(e.priority):"")||"none",k=(e.status?this.sanitizeStatus(e.status):"")||"none",b=m?h?Ni(m,h):m:void 0,w=f?g?Ni(f,g):f:void 0,S=[],O.length>0&&S.push(...O),x=this.plugin.settings.taskIdentificationMethod==="tag"?[this.plugin.settings.taskTag]:[],_.length>0&&x.push(..._),x=[...new Set(x)],C=e.timeEstimate,e.recurrence&&(D=e.recurrence);let N=[];if(this.plugin.settings.useDefaultsOnInstantConvert){let ne=this.plugin.settings.taskCreationDefaults;if(ne.defaultProjects){let st=zs(ne.defaultProjects);N.push(...st)}if(ne.useParentNoteAsProject&&u&&N.push(p),ne.useParentHeaderAsProject&&u){let st=this.getParentHeaderProject(u,n);st&&N.push(st)}}L.length>0&&N.push(...L);let R=[...new Set(N)],z;if(this.plugin.settings.useDefaultsOnInstantConvert){let ne=this.plugin.settings.taskCreationDefaults;if(ne.defaultReminders&&ne.defaultReminders.length>0){let{convertDefaultRemindersToReminders:st}=await Promise.resolve().then(()=>(jI(),Gke));z=st(ne.defaultReminders)}}let H={...e.customFrontmatter||{}};if(e.userFields)for(let[ne,st]of Object.entries(e.userFields)){let Ue=(X=this.plugin.settings.userFields)==null?void 0:X.find(Vt=>Vt.id===ne);Ue?Array.isArray(st)?H[Ue.key]=st.join(", "):H[Ue.key]=st:xa.warn(`[InstantTaskConvert] No user field definition found for field ID: ${ne}`,{category:"validation",operation:"no-user-field-definition-found-field-id"})}let Y={title:o,status:k,priority:v,due:b,scheduled:w,contexts:S.length>0?S:void 0,projects:R.length>0?R:void 0,tags:x,timeEstimate:C,recurrence:D,recurrence_anchor:e.recurrenceAnchor,reminders:z,details:d,parentNote:p,creationContext:"inline-conversion",dateCreated:Ye(),dateModified:Ye(),customFrontmatter:Object.keys(H).length>0?H:void 0},{file:se}=await this.plugin.taskService.createTask(Y);return se}getParentHeaderProject(e,t){var s,o;if(t===void 0)return null;let n=(s=this.plugin.app.metadataCache.getFileCache(e))==null?void 0:s.headings,i=H6e(n,t);if(!i)return null;let a=V6e(i.heading);return a?(o=this.resolveProjectLinks([a])[0])!=null?o:a:null}extractTitleLinks(e){if(!e)return{cleanTitle:"",links:[]};let t=[],n=e.replace(/\[([^\]]+)\]\((<[^>]+>|[^)]+)\)/g,(a,s)=>(t.push(a),String(s).trim()));n=n.replace(/\[\[([^[\]]+)\]\]/g,(a,s)=>(t.push(a),U6e(String(s))));let i=[...new Set(t)];return{cleanTitle:n.replace(/\s+/g," ").trim(),links:i}}sanitizeGeneratedLinkAlias(e){if(e.startsWith("[[")&&e.endsWith("]]")){let t=e.slice(2,-2),n=t.indexOf("|");if(n===-1)return e;let i=t.slice(0,n),a=t.slice(n+1),s=this.sanitizeLinkAliasText(a);return s?`[[${i}|${s}]]`:`[[${i}]]`}if(e.startsWith("[")&&e.endsWith(")")){let t=e.lastIndexOf("](");if(t<=0)return e;let n=e.slice(1,t),i=e.slice(t+2,-1),a=this.sanitizeLinkAliasText(n);return a?`[${a}](${i})`:e}return e}sanitizeLinkAliasText(e){let t=e.replace(/\[([^\]]+)\]\((<[^>]+>|[^)]+)\)/g,(n,i)=>String(i).trim());return t=t.replace(/\[\[([^[\]]+)\]\]/g,(n,i)=>U6e(String(i)).trim()),t.replace(/\s+/g," ").trim()}appendPreservedTitleLinks(e,t){let n=t.filter(a=>!e.includes(a));if(n.length===0)return e;let i=["Source links:",...n.map(a=>`- ${a}`)].join(`
`);return e.trimEnd()?`${e.trimEnd()}
${i}`:i}sanitizeTitle(e){return e?e.trim().substring(0,200):""}extractOverflowText(e,t){if(!e||e.length<=t)return"";let n=e.lastIndexOf(" ",t);return n>0&&n>t-50?e.substring(n).trim():e.substring(t).trim()}sanitizePriority(e){let t=this.priorityManager.getAllPriorities().map(a=>a.value).filter(a=>a!=null);if(t.includes(e))return e;let i={highest:"high",medium:"normal",lowest:"low"}[e];return i&&t.includes(i)?i:""}sanitizeStatus(e){return this.statusManager.getAllStatuses().map(n=>n.value).filter(n=>n!=null).includes(e)?e:""}sanitizeDate(e){return!e||!this.isValidDateFormat(e)?"":e}async replaceOriginalTaskLines(e,t,n,i){try{if(!e||!n)return{success:!1,error:"Invalid editor or file reference."};let{startLine:a,endLine:s,originalContent:o}=t,l=e.lineCount();if(a<0||s>=l)return{success:!1,error:`Line range ${a}-${s} is no longer valid (current line count: ${l}).`};for(let k=0;k<o.length;k++)if(e.getLine(a+k)!==o[k])return{success:!1,error:"Content has changed since parsing. Please try again."};let c=vi.parseTaskLine(o[0]),d=c.isTaskLine;if(d&&!c.isTaskLine)return{success:!1,error:"First line is no longer a valid task."};if(!d&&!this.extractLineContentAsTitle(o[0]).trim())return{success:!1,error:"First line no longer contains valid content."};let u=this.plugin.app.workspace.getActiveFile(),p=(u==null?void 0:u.path)||"",m=this.sanitizeGeneratedLinkAlias(this.plugin.app.fileManager.generateMarkdownLink(n,p)),h=`${this.getReplacementPrefix(o[0],d)}${m}`;if(h.length>500)return{success:!1,error:"Generated link text is too long."};let g={line:a,ch:0},v={line:s,ch:e.getLine(s).length};return e.replaceRange(h,g,v),{success:!0}}catch(a){return xa.error("Error replacing task lines:",{category:"validation",operation:"replacing-task-lines",error:a}),{success:!1,error:`Failed to replace lines: ${a.message}`}}}getCheckboxReplacementPrefix(e){if(this.plugin.settings.preserveCheckboxOnConvert){let n=e.match(/^(\s*(?:[-*+]|\d+\.)\s+\[[^\]]\]\s*)/);return(n==null?void 0:n[1])||"- [ ] "}let t=e.match(/^(\s*(?:[-*+]|\d+\.)\s+)\[/);return(t==null?void 0:t[1])||"- "}getNonCheckboxReplacementPrefix(e){let t=e.match(/^(\s*[-*+]\s+)/),n=e.match(/^(\s*\d+\.\s+)/);return t?t[1]:n?n[1]:"- "}getReplacementPrefix(e,t){let{leadingWhitespace:n,blockquotePrefix:i,content:a}=hWt(e),s=t?this.getCheckboxReplacementPrefix(a):this.getNonCheckboxReplacementPrefix(a);return`${n}${i}${s}`}async refreshTaskLinkOverlays(e,t){try{await this.forceMetadataCacheUpdate(t),window.setTimeout(()=>{try{let n=e.cm;if(n){let i=e.getCursor();Om(n,t.path),window.setTimeout(()=>{try{e.setCursor(i)}catch(a){xa.debug("Error restoring cursor position:",{category:"validation",operation:"restoring-cursor-position",error:a})}},10)}}catch(n){xa.debug("Error dispatching task update for overlays:",{category:"validation",operation:"dispatching-task-update-overlays",error:n})}},100)}catch(n){xa.debug("Error refreshing task link overlays:",{category:"stale-data",operation:"refreshing-task-link-overlays",error:n})}}async persistSourceNoteAfterReplacement(e){var a,s;let t=this.plugin.app.workspace,n=t.activeEditor,i=(n==null?void 0:n.editor)===e?n.file:(s=(a=t.getActiveFile)==null?void 0:a.call(t))!=null?s:null;if(!i)return null;try{await Xa(this.plugin.app,i,e.getValue()),this.plugin.notifyDataChanged(i.path,!1,!1)}catch(o){xa.debug("Error saving source note after instant task conversion:",{category:"configuration",operation:"saving-source-note-instant-task-conversion",error:o})}return i}async forceMetadataCacheUpdate(e){try{await this.plugin.app.vault.cachedRead(e),this.plugin.app.metadataCache.getFileCache(e)===null&&window.setTimeout(()=>{(async()=>{try{await this.plugin.app.vault.cachedRead(e)}catch(t){xa.debug("Error in delayed cache update:",{category:"stale-data",operation:"delayed-cache-update",error:t})}})()},10)}catch(t){xa.debug("Error forcing metadata cache update:",{category:"stale-data",operation:"forcing-metadata-cache-update",error:t})}}mergeParseResults(e,t){var s;if(!t)return e;let n=(o,l)=>{let c=[...o||[],...l||[]],d=[...new Set(c)];return d.length>0?d:void 0},i=(o,l)=>{if(!o&&!l)return;let c={...l||{},...o||{}};return Object.keys(c).length>0?c:void 0},a={...t.customFrontmatter||{},...e.customFrontmatter||{}};return{title:((s=t.title)==null?void 0:s.trim())||e.title,dueDate:e.dueDate||t.dueDate,scheduledDate:e.scheduledDate||t.scheduledDate,dueTime:e.dueTime||t.dueTime,scheduledTime:e.scheduledTime||t.scheduledTime,startDate:e.startDate,createdDate:e.createdDate,doneDate:e.doneDate,priority:e.priority||t.priority,status:e.status||t.status,recurrence:e.recurrence||t.recurrence,recurrenceAnchor:e.recurrenceAnchor,recurrenceData:e.recurrenceData,timeEstimate:e.timeEstimate||t.timeEstimate,tags:n(e.tags,t.tags),contexts:n(e.contexts,t.contexts),projects:n(e.projects,t.projects?this.resolveProjectLinks(t.projects):void 0),userFields:i(e.userFields,t.userFields),customFrontmatter:Object.keys(a).length>0?a:void 0,details:e.details||t.details,blockLink:e.blockLink,taskPluginId:e.taskPluginId,dependsOn:e.dependsOn,onCompletion:e.onCompletion,isCompleted:e.isCompleted}}tryNLPFallback(e,t){var n;try{let i=this.extractTaskContent(e);if(!i.trim())return null;let a=t.trim().length>0?`${i}
${t}`:i,s=this.nlParser.parseInput(a);return(n=s.title)!=null&&n.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,recurrenceAnchor:void 0,customFrontmatter:void 0,details:void 0,blockLink:void 0,taskPluginId:void 0,dependsOn:void 0,onCompletion:void 0}:null}catch(i){return xa.debug("NLP fallback parsing failed:",{category:"validation",operation:"nlp-fallback-parsing",error:i}),null}}resolveProjectLinks(e){var t,n,i;try{if(!((n=(t=this.plugin.app)==null?void 0:t.workspace)!=null&&n.getActiveFile)||!((i=this.plugin.app)!=null&&i.metadataCache))return e;let a=this.plugin.app.workspace.getActiveFile(),s=(a==null?void 0:a.path)||"";return e.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){xa.debug("Error resolving project link:",{category:"validation",operation:"resolving-project-link",error:u})}return o}return o})}catch(a){return xa.debug("Error in resolveProjectLinks:",{category:"validation",operation:"resolveprojectlinks",error:a}),e}}extractTaskContent(e){return e.replace(/^\s*(?:[-*+]|\d+\.)\s*\[[ xX]\]\s*/,"").trim()}extractLineContentAsTitle(e){let t=e.trim();for(;t.match(/^\s*>\s*/);)t=t.replace(/^\s*>\s*/,"");return t=t.replace(/^\s*[-*+]\s+/,""),t=t.replace(/^\s*\d+\.\s+/,""),t=t.replace(/^\s*\[[ xX]\]\s+/,""),t=t.replace(/^\s*#+\s+/,""),t.match(/^\s*(-{3,}|={3,})\s*$/)?"":t.trim()}findAllCheckboxTasks(e){let t=[],n=e.lineCount();for(let i=0;i<n;i++){let a=e.getLine(i);if(vi.parseTaskLine(a).isTaskLine){t.push({lineNumber:i,line:a});continue}if(a.trim().includes("[ ]")||a.trim().includes("[x]")||a.trim().includes("[X]")){let o=a.trim();for(;o.match(/^\s*>\s*/);)o=o.replace(/^\s*>\s*/,"");vi.parseTaskLine(o).isTaskLine&&t.push({lineNumber:i,line:a})}}return t}async parseTaskForBatch(e){var t,n,i,a;try{let s=vi.parseTaskLine(e);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:((t=l.title)==null?void 0:t.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:((n=l.tags)==null?void 0:n.length)>0?l.tags:void 0,projects:((i=l.projects)==null?void 0:i.length)>0?l.projects:void 0,contexts:((a=l.contexts)==null?void 0:a.length)>0?l.contexts:void 0,userFields:l.userFields};return this.mergeParseResults(s.parsedData,c)}return s.parsedData}else{let o=this.extractLineContentAsTitle(e);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 xa.warn("Error parsing task for batch:",{category:"validation",operation:"parsing-task-batch",error:s}),null}}generateLinkText(e,t){let i=vi.parseTaskLine(e).isTaskLine,a=this.plugin.app.workspace.getActiveFile(),s=(a==null?void 0:a.path)||"",o=this.sanitizeGeneratedLinkAlias(this.plugin.app.fileManager.generateMarkdownLink(t,s));return`${this.getReplacementPrefix(e,i)}${o}`}replaceAllTaskLines(e,t){let n=t.sort((i,a)=>a.lineNumber-i.lineNumber);for(let i of n){let a=e.getLine(i.lineNumber).length;e.replaceRange(i.linkText,{line:i.lineNumber,ch:0},{line:i.lineNumber,ch:a})}}}});var K6e={};et(K6e,{buildConvertButtonDecorations:()=>vie,createInstantConvertButtons:()=>yWt,createInstantConvertField:()=>G6e});function G6e(r){return Rf.ViewPlugin.fromClass(class{constructor(e){var t;this.enabled=!!((t=r==null?void 0:r.settings)!=null&&t.enableInstantTaskConvert),this.decorations=this.enabled?vie(e,r):Rf.Decoration.none}update(e){var n;if(!!!((n=r==null?void 0:r.settings)!=null&&n.enableInstantTaskConvert)){this.enabled=!1,this.decorations=Rf.Decoration.none;return}(!this.enabled||e.docChanged||e.viewportChanged)&&(this.enabled=!0,this.decorations=vie(e.view,r))}},{decorations:e=>e.decorations})}function vie(r,e){var s;let t=new Y6e.RangeSetBuilder,n=(s=r.state)==null?void 0:s.doc;if(!n||!e)return Ns.warn("Invalid state or plugin for building convert button decorations",{category:"validation",operation:"invalid-state-or-plugin-building-convert-button-decorations"}),t.finish();if(typeof n.lines!="number"||n.lines<0)return Ns.warn("Invalid document lines count:",{category:"validation",operation:"invalid-document-lines-count",details:{value:n.lines}}),t.finish();let i=new Set,a=r.visibleRanges.length>0?r.visibleRanges:[{from:0,to:n.length}];for(let o of a)try{let l=n.lineAt(Math.max(0,Math.min(o.from,n.length)));for(;l&&l.from<=o.to&&(i.has(l.number)||(i.add(l.number),gWt(t,e,l)),!(l.number>=n.lines||l.to>=n.length));)l=n.line(l.number+1)}catch(l){Ns.debug("Error processing visible range",{category:"validation",operation:"processing-visible-range",details:{values:[o,":"]},error:l})}return t.finish()}function gWt(r,e,t){try{if(!t||typeof t.text!="string")return;let n=t.text;if(n.length>1e3)return;let i=vi.parseTaskLine(n);if(i.isTaskLine&&i.parsedData){if(!i.parsedData.title||i.parsedData.title.trim().length===0||typeof t.to!="number"||t.to<0)return;let a=new yie(e,t.number-1),s=Rf.Decoration.widget({widget:a,side:1});r.add(t.to,t.to,s)}}catch(n){Ns.debug("Error processing line",{category:"validation",operation:"processing-line",details:{values:[t.number,":"]},error:n})}}function yWt(r){return G6e(r)}var Y6e,Rf,fw,Ns,yie,Z6e=y(()=>{Y6e=require("@codemirror/state"),Rf=require("@codemirror/view"),fw=require("obsidian");hie();G();Ns=I({tag:"Editor/InstantConvertButtons"}),yie=class r extends Rf.WidgetType{constructor(e,t){super(),this.plugin=e,this.lineNumber=t}toDOM(e){let t=activeDocument.createElement("span");t.className="tasknotes-plugin";let n=t.createEl("button",{cls:"instant-convert-button",attr:{"aria-label":"Convert to tasknote"}});(0,fw.setTooltip)(n,"Convert to TaskNote",{placement:"top"});let i=n.createEl("span",{cls:"instant-convert-button__icon"});(0,fw.setIcon)(i,"file-plus");let a=o=>{o.preventDefault(),o.stopPropagation(),(async()=>{try{if(!this.validateButtonClick())return;let l=this.plugin.app.workspace.getActiveViewOfType(fw.MarkdownView);if(!l){Ns.warn("No active markdown view available for task conversion",{category:"configuration",operation:"no-active-markdown-view-task-conversion"});return}let c=l.editor;if(!this.validateEditorState(c))return;this.plugin.instantTaskConvertService&&c&&await this.plugin.instantTaskConvertService.instantConvertTask(c,this.lineNumber)}catch(l){Ns.error("Error in convert button click handler:",{category:"validation",operation:"convert-button-click-handler",error:l})}})()},s=typeof window!="undefined"&&"PointerEvent"in window?"pointerdown":"mousedown";return n.addEventListener(s,a),t}eq(e){return e instanceof r&&e.plugin===this.plugin&&e.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?(Ns.warn("Invalid line number for task conversion:",{category:"configuration",operation:"invalid-line-number-task-conversion",details:{value:this.lineNumber}}),!1):!0:(Ns.warn("Instant task conversion is disabled",{category:"configuration",operation:"instant-task-conversion-disabled"}),!1):(Ns.warn("Plugin not available for task conversion",{category:"configuration",operation:"plugin-not-task-conversion"}),!1)}validateEditorState(e){if(!e)return Ns.warn("Editor not available for task conversion",{category:"configuration",operation:"editor-not-task-conversion"}),!1;let t=e.lineCount();if(this.lineNumber>=t)return Ns.warn(`Line number ${this.lineNumber} is out of bounds (total lines: ${t})`,{category:"validation",operation:"line-number"}),!1;try{let n=e.getLine(this.lineNumber);return n?vi.parseTaskLine(n).isTaskLine?!0:(Ns.warn(`Line ${this.lineNumber} is no longer a task`,{category:"validation",operation:"line"}),!1):(Ns.warn(`Cannot read line ${this.lineNumber}`,{category:"validation",operation:"read-line"}),!1)}catch(n){return Ns.warn("Error validating line content:",{category:"validation",operation:"validating-line-content",error:n}),!1}}}});var X6e={};et(X6e,{initializeAfterLayoutReady:()=>Eie,initializeCalendarProviders:()=>Sie,initializeCoreServices:()=>kie,initializeHTTPAPI:()=>Q6e,initializeServicesLazily:()=>J6e,registerBasesIntegration:()=>Gz,registerRibbonIcons:()=>wie,registerTaskNotesIcon:()=>Tie});function bie(r){var e;if(!(!r||typeof r!="object"))return(e=r.cm)!=null?e:null}function Tie(){(0,gw.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>`)}async function kie(r){var i;r.api=new JL(r),r.fieldMapper=new Yf(r.settings.fieldMapping,(i=r.settings.userFields)!=null?i:[],r.settings.customStatuses,r.settings.customPriorities),r.statusManager=new Db(r.settings.customStatuses,r.settings.defaultTaskStatus),r.priorityManager=new GI(r.settings.customPriorities),r.requestDeduplicator=new xb,r.predictivePrefetcher=new WI(r.requestDeduplicator),r.domReconciler=new Cb,r.uiStateManager=new YI,r.cacheManager=new KI(r.app,r.settings,r.fieldMapper),r.emitter=r.cacheManager,r.registerEvent(r.emitter.on(rV,a=>{Qe(a.message,a.timeout)})),r.dependencyCache=new QI(r.app,r.settings,r.fieldMapper,r.statusManager,a=>r.cacheManager.isTaskFile(a)),r.cacheManager.setDependencyCache(r.dependencyCache),r.taskService=new dR(r),r.filterService=new gR(r.cacheManager,r.statusManager,r.priorityManager,r),r.taskStatsService=new iT(r.cacheManager,r.statusManager),r.viewStateManager=new yR(r.app,r),r.projectSubtasksService=new vR(r),r.expandedProjectsService=new bR(r),r.autoArchiveService=new TR(r);let{TaskSelectionService:e}=await Promise.resolve().then(()=>(R$e(),N$e));r.taskSelectionService=new e(r),r.dragDropManager=new hO(r),r.statusBarService=new bO(r),r.notificationService=new TO(r),r.viewPerformanceService=new kO(r);let{BasesFilterConverter:t}=await Promise.resolve().then(()=>(L$e(),O$e));r.basesFilterConverter=new t(r);let{MdbaseSpecService:n}=await Promise.resolve().then(()=>(z$e(),$$e));r.mdbaseSpecService=new n(r),r.icsSubscriptionService=new QO(r),r.icsNoteService=new XO(r),r.taskService.setAutoArchiveService(r.autoArchiveService)}function wie(r){r.addRibbonIcon("calendar-days",r.i18n.translate("commands.openCalendarView"),async()=>{await r.activateCalendarView()}),r.addRibbonIcon("calendar",r.i18n.translate("commands.openAdvancedCalendarView"),async()=>{await r.openBasesFileForCommand("open-advanced-calendar-view")}),r.addRibbonIcon("check-square",r.i18n.translate("commands.openTasksView"),async()=>{await r.openBasesFileForCommand("open-tasks-view")}),r.addRibbonIcon("list",r.i18n.translate("commands.openAgendaView"),async()=>{await r.openBasesFileForCommand("open-agenda-view")}),r.addRibbonIcon("columns-3",r.i18n.translate("commands.openKanbanView"),async()=>{await r.openBasesFileForCommand("open-kanban-view")}),r.addRibbonIcon("timer",r.i18n.translate("commands.openPomodoroView"),async()=>{await r.activatePomodoroView()}),r.addRibbonIcon("bar-chart-3",r.i18n.translate("commands.openPomodoroStats"),async()=>{await r.activatePomodoroStatsView()}),r.addRibbonIcon("tasknotes-simple",r.i18n.translate("commands.createNewTask"),()=>{r.openTaskCreationModal()})}function Sie(r){r.oauthService=new tL(r),r.googleCalendarService=new iL(r,r.oauthService),r.microsoftCalendarService=new RL(r,r.oauthService),r.calendarProviderRegistry=new rL,r.calendarProviderRegistry.register(r.googleCalendarService),r.calendarProviderRegistry.register(r.microsoftCalendarService)}async function Gz(r){var e;if(!(!((e=r.settings)!=null&&e.enableBases)||r.basesRegistered))try{let{registerBasesTaskList:t}=await Promise.resolve().then(()=>(nQ(),PUe));await t(r),r.basesRegistered=!0}catch(t){hw.debug("[TaskNotes][Bases] Registration failed:",{category:"internal",operation:"registration",error:t})}}async function Q6e(r){if(!(gw.Platform.isMobile||!r.settings.enableAPI))try{let{HTTPAPIService:e}=await Promise.resolve().then(()=>(A6e(),_6e));r.apiService=new e(r,r.taskService,r.filterService,r.cacheManager),r.taskService.setWebhookNotifier(r.apiService),r.pomodoroService.setWebhookNotifier(r.apiService),await r.apiService.start(),Qe(`TaskNotes API started on port ${r.apiService.getPort()}`)}catch(e){hw.error("Failed to initialize HTTP API:",{category:"provider",operation:"initialize-http-api",error:e}),Qe("Failed to start tasknotes API server. Check console for details.")}}async function Eie(r){if(!r.initializationComplete){r.initializationComplete=!0;try{r.settings.autoCreateDefaultBasesFiles&&await r.ensureBasesViewFiles(),r.injectCustomStyles(),vWt(r),bWt(r),r.cacheManager.initialize(),r.dependencyCache.initialize(),r.filterService.initialize(),r.statusBarService.initialize(),await r.notificationService.initialize(),await r.warmupProjectIndexes(),await r.autoArchiveService.start(),r.setupDateChangeDetection(),J6e(r),await Gz(r),r.emitter.trigger(gd["layout.ready"],{timestamp:new Date().toISOString()})}catch(e){hw.error("Error during post-layout initialization:",{category:"internal",operation:"post-layout-initialization",error:e})}}}function vWt(r){r.registerView(Bd,e=>new wO(e,r)),r.registerView(av,e=>new EO(e,r)),r.registerView(sv,e=>new xO(e,r)),r.registerView(yD,e=>new CO(e,r,YPe,WPe))}function bWt(r){r.registerEditorExtension(QPe(r)),r.registerEditorExtension(f0e(r)),r.taskCardReadingModeCleanup=g0e(r),r.registerEditorExtension(l0e(r)),r.relationshipsReadingModeCleanup=c0e(r),r.registerMarkdownPostProcessor(b0e(r))}function J6e(r){window.setTimeout(()=>{(async()=>{try{r.pomodoroService||(r.pomodoroService=new iP(r),await r.pomodoroService.initialize()),r.autoExportService=new $L(r),r.autoExportService.start(),tF(r.settings)||(await r.icsSubscriptionService.initialize(),r.googleCalendarService.on("data-changed",()=>{r.notifyDataChanged(void 0,!1,!0)}),await r.googleCalendarService.initialize(),r.taskCalendarSyncService=new(await Promise.resolve().then(()=>(j6e(),z6e))).TaskCalendarSyncService(r,r.googleCalendarService),await r.taskCalendarSyncService.initializeExternalFileReconciliation(),r.taskCalendarSyncService.startRecoveryQueueProcessor(),r.registerEvent(r.emitter.on("file-updated",i=>{!r.taskCalendarSyncService||!(i!=null&&i.path)||r.taskCalendarSyncService.handleExternalTaskFileUpdated(i.path,i.updatedTask).catch(a=>{hw.warn("Failed to reconcile externally updated task with Google Calendar:",{category:"provider",operation:"reconcile-external-task-file-update",error:a})})})),r.registerEvent(r.emitter.on("file-deleted",i=>{var d,u;if(!r.taskCalendarSyncService)return;let a=r.fieldMapper.toUserField("googleCalendarEventId"),s=r.fieldMapper.toUserField("googleCalendarExceptionEventId"),o=i.prevCache,l=(d=o==null?void 0:o.frontmatter)==null?void 0:d[a],c=(u=o==null?void 0:o.frontmatter)==null?void 0:u[s];(typeof l=="string"&&l.length>0||typeof c=="string"&&c.length>0)&&r.taskCalendarSyncService.deleteTaskFromCalendarByPath(i.path,typeof l=="string"?l:void 0,typeof c=="string"?c:void 0).catch(p=>{hw.warn("Failed to delete task from Google Calendar on file deletion:",{category:"provider",operation:"delete-task-google-calendar-on-file-deletion",error:p})})})),r.microsoftCalendarService.on("data-changed",()=>{r.notifyDataChanged(void 0,!1,!0)}),await r.microsoftCalendarService.initialize()),r.taskFileLifecycleReconciliationService=new jL(r),await r.taskFileLifecycleReconciliationService.initialize(),await Q6e(r);let{TaskLinkDetectionService:e}=await Promise.resolve().then(()=>(_O(),d3));r.taskLinkDetectionService=new e(r);let{InstantTaskConvertService:t}=await Promise.resolve().then(()=>(W6e(),q6e));r.instantTaskConvertService=new t(r,r.statusManager,r.priorityManager);let{createInstantConvertButtons:n}=await Promise.resolve().then(()=>(Z6e(),K6e));r.registerEditorExtension(n(r)),r.taskUpdateListenerForEditor=r.emitter.on(nt,i=>{r.app.workspace.iterateRootLeaves(a=>{var s;if(a.view&&a.view.getViewType()==="markdown"){let o=a.view.editor,l=bie(o);if(l){let c=(i==null?void 0:i.path)||((s=i==null?void 0:i.updatedTask)==null?void 0:s.path);Om(l,c)}}})}),r.registerEvent(r.app.workspace.on("active-leaf-change",i=>{window.setTimeout(()=>{if(i&&i.view&&i.view.getViewType()==="markdown"){let a=i.view.editor,s=bie(a);s&&Om(s)}},50)})),r.registerEvent(r.app.workspace.on("layout-change",()=>{window.setTimeout(()=>{let i=r.app.workspace.getActiveViewOfType(gw.MarkdownView);if(i){let a=i.editor,s=bie(a);s&&Om(s)}},100)})),r.setupStatusBarEventListeners(),r.setupTimeTrackingEventListeners(),await r.checkForVersionUpdate()}catch(e){hw.error("Error during lazy service initialization:",{category:"internal",operation:"lazy-service-initialization",error:e})}})()},10)}var gw,hw,Kz=y(()=>{gw=require("obsidian");Ur();HV();Awe();Iwe();VV();Nwe();zwe();qV();Sxe();rCe();pW();nCe();aCe();sCe();oCe();vPe();EPe();CPe();DPe();MPe();NPe();LPe();l3();GPe();AO();d0e();y0e();T0e();U0e();H0e();q0e();Y0e();N1e();nL();W8();j1e();H1e();_$e();o7();G();dP();Eu();ls();hw=I({tag:"Bootstrap/PluginBootstrap"})});var s5e={};et(s5e,{TaskActionPaletteModal:()=>Jie});function _4t(){return(0,on.moment)()}var on,M4t,Jie,o5e=y(()=>{on=require("obsidian");Ne();TI();G();M4t=I({tag:"Modals/TaskActionPaletteModal"});Jie=class extends on.FuzzySuggestModal{constructor(e,t,n,i){super(e),this.task=t,this.plugin=n,this.targetDate=i,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: ${t.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 e=[];(this.task.recurrence?this.plugin.statusManager.getNonCompletionStatuses():this.plugin.statusManager.getAllStatuses()).forEach(i=>{let a=this.task.status===i.value;e.push({id:`status-${i.value}`,title:`Change status to "${i.label}"`,description:`Set task status to ${i.label}`,icon:a?"check":"circle",category:"status",keywords:["status",i.value,i.label,"change","set"],isApplicable:()=>!a,execute:async s=>{await this.plugin.updateTaskProperty(s,"status",i.value),new on.Notice(`Status changed to ${i.label}`)}})}),this.plugin.priorityManager.getAllPriorities().forEach(i=>{let a=this.task.priority===i.value;e.push({id:`priority-${i.value}`,title:`Set priority to "${i.label}"`,description:`Change task priority to ${i.label}`,icon:a?"check":"flag",category:"priority",keywords:["priority",i.value,i.label,"change","set"],isApplicable:()=>!a,execute:async s=>{await this.plugin.updateTaskProperty(s,"priority",i.value),new on.Notice(`Priority changed to ${i.label}`)}})}),e.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 i=>{this.plugin.openDueDateModal(i)}},{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 i=>{this.plugin.openScheduledDateModal(i)}},{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:i=>!!i.due,execute:async i=>{await this.plugin.updateTaskProperty(i,"due",void 0),new on.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:i=>!!i.scheduled,execute:async i=>{await this.plugin.updateTaskProperty(i,"scheduled",void 0),new on.Notice("Scheduled date cleared")}}),this.addQuickDatePresetActions(e,"scheduled"),this.addQuickDatePresetActions(e,"due");let n=this.plugin.getActiveTimeSession(this.task);return e.push({id:"toggle-time-tracking",title:n?"Stop time tracking":"Start time tracking",description:n?"Stop tracking time for this task":"Start tracking time for this task",icon:n?"pause":"play",category:"tracking",keywords:["time","tracking","timer",n?"stop":"start"],isApplicable:()=>!0,execute:async i=>{this.plugin.getActiveTimeSession(i)?(await this.plugin.stopTimeTracking(i),new on.Notice("Time tracking stopped")):(await this.plugin.startTimeTracking(i),new on.Notice("Time tracking started"))}}),this.task.timeEntries&&this.task.timeEntries.length>0&&e.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 i=>{this.plugin.openTimeEntryEditor(i),this.close()}}),e.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 i=>{await this.plugin.toggleTaskArchive(i),new on.Notice(i.archived?"Task unarchived":"Task archived")}}),this.task.recurrence&&(e.push({id:"complete-recurring-instance",title:"Complete this occurrence",description:"Mark this specific instance of the recurring task as complete",icon:"check-circle",category:"dates",keywords:["complete","done","finish","recurring","instance","occurrence"],isApplicable:(i,a,s)=>!a.statusManager.isCompletedStatus(i.status),execute:async(i,a,s)=>{await a.toggleRecurringTaskComplete(i,s),new on.Notice("Recurring task instance completed")}}),e.push({id:"open-or-create-occurrence-note",title:"Open or create occurrence note",description:"Open the note for this occurrence, creating it if needed",icon:"file-plus",category:"dates",keywords:["open","create","materialize","note","recurring","instance","occurrence"],isApplicable:()=>!0,execute:async(i,a,s)=>{await yb({plugin:a,parentTask:i,targetDate:s,openInNewLeaf:!0})}})),this.task.recurrence_parent&&this.task.occurrence_date&&e.push({id:"open-recurring-parent",title:"Open recurring parent",description:"Open the recurring task that generated this occurrence",icon:"refresh-ccw",category:"other",keywords:["open","parent","recurring","materialized","occurrence"],isApplicable:()=>!0,execute:async(i,a)=>{await bI({plugin:a,occurrenceTask:i,openInNewLeaf:!0})}}),e.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 i=>{await this.plugin.openTaskEditModal(i)}},{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 i=>{let a=this.plugin.app.vault.getAbstractFileByPath(i.path);a instanceof on.TFile&&await this.plugin.app.workspace.getLeaf(!0).openFile(a)}},{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 i=>{try{await navigator.clipboard.writeText(i.title),new on.Notice("Task title copied to clipboard")}catch(a){new on.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 i=>{try{let a=this.plugin.app.vault.getAbstractFileByPath(i.path);if(a instanceof on.TFile){let s=this.plugin.app.metadataCache.fileToLinktext(a,"");await navigator.clipboard.writeText(`[[${s}]]`),new on.Notice("Task link copied to clipboard")}}catch(a){new on.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 i=>{this.close();let{showDeleteConfirmationModal:a}=await Promise.resolve().then(()=>(la(),bb));await a(i,this.plugin)}}),e}getQuickDatePresets(){let e=_4t(),t=e.clone().day(6);return(t.isBefore(e)||t.isSame(e,"day"))&&t.add(1,"week"),[{id:"today",label:"today",value:e.format("YYYY-MM-DD"),icon:"calendar-check",keywords:["today"]},{id:"tomorrow",label:"tomorrow",value:e.clone().add(1,"day").format("YYYY-MM-DD"),icon:"calendar-plus",keywords:["tomorrow"]},{id:"this-weekend",label:"this weekend",value:t.format("YYYY-MM-DD"),icon:"calendar-days",keywords:["weekend","saturday"]},{id:"next-week",label:"next week",value:e.clone().day(1).add(1,"week").format("YYYY-MM-DD"),icon:"calendar-plus",keywords:["next","week","monday"]},{id:"next-month",label:"next month",value:e.clone().add(1,"month").startOf("month").format("YYYY-MM-DD"),icon:"calendar-range",keywords:["next","month"]}]}addQuickDatePresetActions(e,t){let n=t==="scheduled"?"scheduled date":"due date",i=t==="scheduled"?"Scheduled date":"Due date",a=t==="scheduled"?"Schedule":"Set due";this.getQuickDatePresets().forEach(s=>{e.push({id:`set-${t}-${s.id}`,title:`${a} for ${s.label}`,description:`Set the task ${n} to ${s.label}`,icon:s.icon,category:"dates",keywords:[t,"date","set","change",...s.keywords],isApplicable:o=>(o[t]?ke(o[t]):void 0)!==s.value,execute:async o=>{await this.plugin.updateTaskProperty(o,t,s.value),new on.Notice(`${i} set`)}})})}getItems(){return this.actions.filter(e=>e.isApplicable(this.task,this.plugin,this.targetDate)).sort((e,t)=>{var s,o;let n={status:0,priority:1,dates:2,tracking:3,organization:4,other:5},i=(s=n[e.category])!=null?s:999,a=(o=n[t.category])!=null?o:999;return i!==a?i-a:e.title.localeCompare(t.title)})}getItemText(e){return[e.title,e.description,e.category,...e.keywords].join(" ")}renderSuggestion(e,t){let n=e.item,i=t.createDiv({cls:"task-action-palette__suggestion"}),a=i.createDiv({cls:"task-action-palette__icon"});(0,on.setIcon)(a,n.icon);let s=i.createDiv({cls:"task-action-palette__content"});s.createDiv({cls:"task-action-palette__title",text:n.title}),s.createDiv({cls:"task-action-palette__description",text:n.description}),i.createDiv({cls:"task-action-palette__badge"}).createSpan({cls:`task-action-palette__category task-action-palette__category--${n.category}`,text:n.category})}onChooseItem(e,t){this.executeAction(e,t)}async executeAction(e,t){try{let n=await this.plugin.cacheManager.getTaskInfo(this.task.path);if(!n){new on.Notice("Task not found");return}await e.execute(n,this.plugin,this.targetDate)}catch(n){let i=n instanceof Error?n.message:String(n);M4t.error("Error executing action:",{category:"persistence",operation:"executing-action",details:{actionId:e.id,taskPath:this.task.path},error:i}),new on.Notice(`Failed to execute action: ${i}`)}}}});var N4t={};et(N4t,{default:()=>I4t});module.exports=WM(N4t);var ge=require("obsidian");Br();var Bf=tt(jd());Nw();iv();function Fw(r){return r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function qj(r){return`note["${Fw(r)}"]`}function Dde(r){return`file(if(${r}.isType("object"), ${r}.uid, ${r}))`}function Ede(r){return`${Dde(r)}.asLink()`}function xde(r){return`file(${r}.replace(/^\\[[^\\]]+\\]\\((.*)\\)$/, "$1").replace(/%20/g, " ")).asLink()`}function GKe(r){if(r.taskIdentificationMethod==="tag")return`file.hasTag("${r.taskTag||"task"}")`;{let e=r.taskPropertyName,t=r.taskPropertyValue;if(!e)return`file.hasTag("${r.taskTag||"task"}")`;if(t){if(Vj(e))return`file.hasTag("${Fw(t)}")`;let n=qj(e),i=t.toLowerCase();return i==="true"||i==="false"?`${n} == ${i}`:`${n} == "${Fw(t)}"`}else{let n=qj(e);return`${n} && ${n} != "" && ${n} != null`}}}function Pde(r){return cc(r.excludedFolders).map(e=>`file.inFolder("${Fw(e)}") != true`)}function KKe(r){return[GKe(r),...Pde(r)]}function Ow(r){return`filters:
and:
${(Array.isArray(r)?r:[r]).map(n=>` - ${n}`).join(`
`)}`}function Da(r){return r.replace(/^(note\.|file\.|task\.|formula\.)/,"")}function Lw(r){return`date(${r}).format("YYYY-MM-DD")`}function Mde(){return'today().format("YYYY-MM-DD")'}function _de(){return'(today() + "7 days").format("YYYY-MM-DD")'}function hr(r,e){var i;let t=e.fieldMapper;if(r.startsWith("user:")){let a=r.substring(5),s=(i=e.settings.userFields)==null?void 0:i.find(o=>o.id===a);return s?s.key:r}switch(r){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 t.toUserField("blockedBy");case"complete_instances":return t.toUserField("completeInstances");case"totalTrackedTime":return t.toUserField("timeEntries");case"checklistProgress":return"file.tasks"}let n=t.getMapping();return r in n?t.toUserField(r):r}function ZKe(r){let n=(r.settings.defaultVisibleProperties||["status","priority","due","scheduled","projects","contexts","tags"]).map(o=>hr(o,r)).filter(o=>!!o),i=["file.name",hr("recurrence",r),hr("complete_instances",r),hr("checklistProgress",r)].filter(o=>!!o),a=[],s=new Set;for(let o of n)o&&!s.has(o)&&(a.push(o),s.add(o));for(let o of i)o&&!s.has(o)&&(a.push(o),s.add(o));return a}function Cde(r){return r.map(e=>` - ${e}`).join(`
`)}function QKe(r){let e=r.settings,t=Da(hr("priority",r)),n=[...e.customPriorities].sort((a,s)=>a.weight-s.weight);if(n.length===0)return"999";let i="999";for(let a=n.length-1;a>=0;a--){let s=n[a];i=`if(${t}=="${s.value}",${a},${i})`}return i}function JKe(r){let e=Da(hr("priority",r)),t=r.settings.customPriorities;if(t.length===0)return'"No priority"';let n='"No priority"';for(let i=t.length-1;i>=0;i--){let a=t[i];n=`if(${e}=="${a.value}","${a.label}",${n})`}return n}function XKe(r){let e=Da(hr("due",r)),t=Da(hr("status",r)),n=Da(hr("timeEstimate",r)),i=Da(hr("timeEntries",r)),a=Da(hr("projects",r)),s=Da(hr("contexts",r)),l=r.settings.customStatuses.filter(D=>D.isCompleted).map(D=>D.value).map(D=>`${t} != "${D}"`).join(" && "),c=Da(hr("scheduled",r)),d=Da(hr("recurrence",r)),u=`${e}.isEmpty()`,p=`${c}.isEmpty()`,m=`(${u} == false)`,f=`(${p} == false)`,h="if(formula.daysUntilNext, formula.daysUntilNext, 0)",g=Mde(),v=_de(),k='(today() + "1 day").format("YYYY-MM-DD")',b='(today() - "1 day").format("YYYY-MM-DD")',w=Lw(e),S=Lw(c),x=Lw("value.startTime");return{priorityWeight:QKe(r),daysUntilDue:`if(${m}, ((number(date(${e})) - number(today())) / 86400000).floor(), null)`,dueIn:`if(${u}, "", if(formula.daysUntilDue == 0, "Today", if(formula.daysUntilDue == 1, "1 day", if(formula.daysUntilDue > 1, formula.daysUntilDue + " days", if(formula.daysUntilDue == -1, "1 day overdue", formula.daysUntilDue * -1 + " days overdue")))))`,daysUntilScheduled:`if(${f}, ((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:`${m} && date(${e}) < today() && ${l}`,isDueToday:`${m} && ${w} == ${g}`,isDueThisWeek:`${m} && ${w} >= ${g} && ${w} <= ${v}`,isScheduledToday:`${f} && ${S} == ${g}`,isRecurring:`${d} && !${d}.isEmpty()`,hasTimeEstimate:`${n} && ${n} > 0`,timeRemaining:`if(${n} && ${n} > 0, ${n} - if(${i}, list(${i}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0), 0), null)`,efficiencyRatio:`if(${n} && ${n} > 0 && ${i}, (list(${i}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) / ${n} * 100).round(), null)`,timeTrackedThisWeek:`if(${i}, list(${i}).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(${i}, list(${i}).filter(value.endTime && ${x} == ${g}).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0).round(), 0)`,dueMonth:`if(${m}, date(${e}).format("YYYY-MM"), "No due date")`,dueWeek:`if(${m}, date(${e}).format("YYYY-[W]WW"), "No due date")`,scheduledMonth:`if(${f}, date(${c}).format("YYYY-MM"), "Not scheduled")`,scheduledWeek:`if(${f}, date(${c}).format("YYYY-[W]WW"), "Not scheduled")`,dueDateCategory:`if(${u}, "No due date", if(date(${e}) < today(), "Overdue", if(${w} == ${g}, "Today", if(${w} == ${k}, "Tomorrow", if(${w} <= ${v}, "This week", "Later")))))`,timeEstimateCategory:`if(!${n} || ${n} == 0 || ${n} == null, "No estimate", if(${n} < 30, "Quick (<30m)", if(${n} <= 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:JKe(r),projectCount:`if(!${a} || list(${a}).length == 0, "No projects", if(list(${a}).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(!${n} || ${n} == 0 || ${n} == null, "No estimate", if(!${i} || list(${i}).length == 0, "Not started", if(formula.efficiencyRatio < 100, "Under estimate", "Over estimate")))`,nextDate:`if(${m} && ${f}, if(date(${e}) < date(${c}), ${e}, ${c}), if(${m}, ${e}, ${c}))`,daysUntilNext:`if(${m} && ${f}, min(formula.daysUntilDue, formula.daysUntilScheduled), if(${m}, formula.daysUntilDue, formula.daysUntilScheduled))`,hasDate:`${m} || ${f}`,isToday:`(${m} && ${w} == ${g}) || (${f} && ${S} == ${g})`,isThisWeek:`(${m} && ${w} >= ${g} && ${w} <= ${v}) || (${f} && ${S} >= ${g} && ${S} <= ${v})`,nextDateCategory:`if(${u} && ${p}, "No date", if((${m} && date(${e}) < today()) || (${f} && date(${c}) < today()), "Overdue/Past", if((${m} && ${w} == ${g}) || (${f} && ${S} == ${g}), "Today", if((${m} && ${w} == ${k}) || (${f} && ${S} == ${k}), "Tomorrow", if((${m} && ${w} <= ${v}) || (${f} && ${S} <= ${v}), "This week", "Later")))))`,nextDateMonth:`if(${m} && ${f}, if(date(${e}) < date(${c}), date(${e}).format("YYYY-MM"), date(${c}).format("YYYY-MM")), if(${m}, date(${e}).format("YYYY-MM"), if(${f}, date(${c}).format("YYYY-MM"), "No date")))`,nextDateWeek:`if(${m} && ${f}, if(date(${e}) < date(${c}), date(${e}).format("YYYY-[W]WW"), date(${c}).format("YYYY-[W]WW")), if(${m}, date(${e}).format("YYYY-[W]WW"), if(${f}, date(${c}).format("YYYY-[W]WW"), "No date")))`,urgencyScore:`if(${u} && ${p}, formula.priorityWeight, formula.priorityWeight + max(0, 10 - ${h}) + (1 - ((number(date(formula.nextDate)) - number(date(date(formula.nextDate).format("YYYY-MM-DD")))) / 86400000)))`,timeTrackedFormatted:`if(${i}, if(list(${i}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) >= 60, (list(${i}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) / 60).floor() + "h " + (list(${i}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) % 60).round() + "m", list(${i}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0).round() + "m"), "0m")`,dueDateDisplay:`if(${u}, "", if(${w} == ${g}, "Today", if(${w} == ${k}, "Tomorrow", if(${w} == ${b}, "Yesterday", if(date(${e}) < today(), formula.daysUntilDue * -1 + "d ago", if(${w} <= ${v}, date(${e}).format("ddd"), date(${e}).format("MMM D")))))))`}}function e8e(r){let e=XKe(r);return`formulas:
${Object.entries(e).map(([n,i])=>` ${n}: '${i}'`).join(`
`)}`}function t8e(r,e,t){if(r.includes(t)||!e||!r.includes(e))return r;let n=[],i=!1;for(let a of r)n.push(a),!i&&e&&a===e&&(n.push(t),i=!0);return n}function r8e(r){let e=hr("pomodoros",r),t=qj(e),n=`list(${t}).filter(value.type == "work")`,i=`list(${t}).filter(value.type == "work" && value.completed == true)`,a=`${i}.map(if(value.plannedDuration && value.plannedDuration > 0, value.plannedDuration, if(value.startTime && value.endTime, ((number(date(value.endTime)) - number(date(value.startTime))) / 60000).round(), 0)))`;return`# Pomodoro statistics
# Generated with your TaskNotes settings
# Requires Pomodoro data storage to be set to Daily notes.
filters:
and:
- file.hasProperty("${Fw(e)}")
- list(${t}).filter(value.startTime).isEmpty() == false
formulas:
pomodoroDate: 'if(${t}, list(${t}).filter(value.startTime).map(date(value.startTime).format("YYYY-MM-DD")).unique().join(", "), file.basename)'
pomodoroMonth: 'if(${t}, list(${t}).filter(value.startTime).map(date(value.startTime).format("YYYY-MM")).unique().join(", "), "")'
completedPomos: 'if(${t}, ${i}.length, 0)'
attemptedPomos: 'if(${t}, ${n}.length, 0)'
interruptedPomos: 'if(${t}, list(${t}).filter(value.type == "work" && value.completed == false).length, 0)'
focusMinutes: 'if(${t}, ${a}.reduce(acc + value, 0).round(), 0)'
focusTime: 'if(formula.focusMinutes >= 60, (formula.focusMinutes / 60).floor() + "h " + (formula.focusMinutes % 60).round() + "m", formula.focusMinutes + "m")'
completionRate: 'if(formula.attemptedPomos > 0, (formula.completedPomos / formula.attemptedPomos * 100).round() + "%", "0%")'
shortBreaks: 'if(${t}, list(${t}).filter(value.type == "short-break").length, 0)'
longBreaks: 'if(${t}, list(${t}).filter(value.type == "long-break").length, 0)'
properties:
formula.pomodoroDate:
displayName: Date
formula.pomodoroMonth:
displayName: Month
formula.completedPomos:
displayName: Completed
formula.attemptedPomos:
displayName: Attempted
formula.interruptedPomos:
displayName: Interrupted
formula.focusMinutes:
displayName: Focus minutes
formula.focusTime:
displayName: Focus time
formula.completionRate:
displayName: Completion
formula.shortBreaks:
displayName: Short breaks
formula.longBreaks:
displayName: Long breaks
views:
- type: table
name: "Daily"
order:
- formula.pomodoroDate
- formula.completedPomos
- formula.focusTime
- formula.attemptedPomos
- formula.completionRate
- formula.interruptedPomos
- formula.shortBreaks
- formula.longBreaks
- file.name
sort:
- column: formula.pomodoroDate
direction: DESC
- type: table
name: "Monthly"
groupBy:
property: formula.pomodoroMonth
direction: DESC
order:
- formula.pomodoroDate
- formula.completedPomos
- formula.focusMinutes
- formula.focusTime
- formula.attemptedPomos
- formula.completionRate
- formula.interruptedPomos
- formula.shortBreaks
- formula.longBreaks
- file.name
summaries:
formula.completedPomos: Sum
formula.focusMinutes: Sum
formula.attemptedPomos: Sum
formula.interruptedPomos: Sum
formula.shortBreaks: Sum
formula.longBreaks: Sum
sort:
- column: formula.pomodoroDate
direction: DESC
`}function Ade(r,e){let t=e.settings,n=KKe(t),i=Pde(t),a=ZKe(e),s=Cde(a),o=e8e(e);switch(r){case"open-calendar-view":{let l=hr("due",e),c=hr("scheduled",e);return`# Mini Calendar
# Generated with your TaskNotes settings
${Ow(n)}
${o}
views:
- type: tasknotesMiniCalendar
name: "Due"
order:
${s}
sort:
- property: ${l}
direction: ASC
dateProperty: ${l}
- type: tasknotesMiniCalendar
name: "Scheduled"
order: []
dateProperty: ${c}
- type: tasknotesMiniCalendar
name: "Created"
dateProperty: file.ctime
- type: tasknotesMiniCalendar
name: "Modified"
dateProperty: file.mtime
`}case"open-kanban-view":{let l=Da(hr("status",e)),c=hr("sortOrder",e);return`# Kanban Board
${Ow(n)}
${o}
views:
- type: tasknotesKanban
name: "Kanban Board"
order:
${s}
sort:
- column: ${c}
direction: DESC
groupBy:
property: ${l}
direction: ASC
options:
columnWidth: 280
hideEmptyColumns: false
`}case"open-tasks-view":{let l=hr("status",e),c=hr("due",e),d=hr("scheduled",e),u=hr("recurrence",e),p=hr("completeInstances",e),m=hr("blockedBy",e),f=hr("sortOrder",e),h=`${c}.isEmpty() == false`,g=`${d}.isEmpty() == false`,v=Mde(),k=_de(),b=Lw(c),w=Lw(d),S=t.customStatuses.filter(_=>_.isCompleted).map(_=>_.value),x=S.map(_=>`${l} != "${_}"`).join(`
- `),C=`${p}.map(date(value).format("YYYY-MM-DD")).contains(${v}) != true`,D=S.map(_=>`${Dde("value")}.properties.${Da(l)} != "${_}"`).join(" && ");return`# All Tasks
${Ow(n)}
${o}
views:
- type: tasknotesTaskList
name: "Manual Order"
order:
${s}
sort:
- column: ${f}
direction: DESC
groupBy:
property: ${l}
direction: ASC
- type: tasknotesTaskList
name: "All Tasks"
order:
${s}
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:
- ${u}.isEmpty()
- ${x}
# Recurring task where today is not in complete_instances
- and:
- ${u}.isEmpty() == false
- ${C}
# Not blocked by any incomplete tasks
- or:
# No blocking dependencies at all
- ${m}.isEmpty()
# All blocking tasks are completed (filter returns only incomplete, then check if empty)
- 'list(${m}).filter(${D}).isEmpty()'
order:
${s}
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:
- ${u}.isEmpty()
- ${x}
# Recurring task where today is not in complete_instances
- and:
- ${u}.isEmpty() == false
- ${C}
# Due or scheduled today
- or:
- and:
- ${h}
- ${b} == ${v}
- and:
- ${g}
- ${w} == ${v}
order:
${s}
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:
- ${u}.isEmpty()
- ${x}
# Recurring task where today is not in complete_instances
- and:
- ${u}.isEmpty() == false
- ${C}
# Due or scheduled in the past
- or:
- and:
- ${h}
- date(${c}) < today()
- and:
- ${g}
- date(${d}) < today()
order:
${s}
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:
- ${u}.isEmpty()
- ${x}
# Recurring task where today is not in complete_instances
- and:
- ${u}.isEmpty() == false
- ${C}
# Due or scheduled this week
- or:
- and:
- ${h}
- ${b} >= ${v}
- ${b} <= ${k}
- and:
- ${g}
- ${w} >= ${v}
- ${w} <= ${k}
order:
${s}
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:
- ${u}.isEmpty()
- ${x}
# Recurring task where today is not in complete_instances
- and:
- ${u}.isEmpty() == false
- ${C}
# No due date and no scheduled date
- date(${c}).isEmpty()
- date(${d}).isEmpty()
order:
${s}
sort:
- column: ${l}
direction: ASC
`}case"open-advanced-calendar-view":return`# Calendar
${Ow(n)}
${o}
views:
- type: tasknotesCalendar
name: "Calendar"
order:
${s}
options:
showScheduled: true
showDue: true
showRecurring: true
showTimeEntries: true
showTimeblocks: true
showPropertyBasedEvents: true
createDailyNotesFromDateLinks: true
calendarView: "timeGridWeek"
customDayCount: 3
firstDay: 0
slotDuration: "00:30:00"
`;case"open-agenda-view":{let l=hr("due",e),c=t8e(a,l,"formula.dueIn"),d=Cde(c),u=c.includes("formula.dueIn")?`
properties:
formula.dueIn:
displayName: Due in
`:"";return`# Agenda
${Ow(n)}
${o}
${u}
views:
- type: tasknotesCalendar
name: "Agenda"
order:
${d}
options:
showPropertyBasedEvents: false
createDailyNotesFromDateLinks: true
calendarView: "listWeek"
startDateProperty: file.ctime
listDayCount: 7
titleProperty: file.basename
`}case"pomodoro-stats-base":return r8e(e);case"relationships":{let l=Da(hr("projects",e)),c=Da(hr("blockedBy",e)),d=Da(hr("status",e)),u=hr("sortOrder",e),p=n.map(h=>` - ${h}`).join(`
`),m=i.map(h=>` - ${h}`).join(`
`),f=m?`${m}
`:"";return`# Relationships
# This view shows all relationships for the current file
# Dynamically shows/hides tabs based on available data
${o}
views:
- type: tasknotesKanban
name: "Subtasks"
filters:
and:
${p}
- file.hasLink(this.file) && list(note.${l}).map(${xde("value")}).contains(this.file.asLink())
order:
${s}
sort:
- column: ${u}
direction: DESC
groupBy:
property: ${d}
direction: ASC
- type: tasknotesTaskList
name: "Projects"
filters:
and:
${f} - list(this.${l}).map(${xde("value")}).contains(file.asLink())
order:
${s}
- type: tasknotesTaskList
name: "Blocked By"
filters:
and:
${p}
- list(this.note.${c}).map(${Ede("value")}).contains(file.asLink())
order:
${s}
sort:
- column: ${u}
direction: DESC
- type: tasknotesKanban
name: "Blocking"
filters:
and:
${p}
- list(note.${c}).map(${Ede("value")}).contains(this.file.asLink())
order:
${s}
sort:
- column: ${u}
direction: DESC
groupBy:
property: ${d}
direction: ASC
`}default:return""}}Ur();HI();var di=require("obsidian");$V();Ne();Ct();gr();Cl();var Kx=require("obsidian");Ne();Ct();TI();function cwe(r,e){if(!e.task.recurrence)return;let t=r.createDiv("completions-calendar-container"),n=t.createDiv("detail-label");n.textContent=e.translate("modals.taskEdit.sections.completions");let i=t.createDiv("completions-calendar-content");unt(i,e)}function unt(r,e){let t=r.createDiv("recurring-calendar"),i=wr();if(e.task.complete_instances&&e.task.complete_instances.length>0){let a=e.task.complete_instances.filter(s=>s&&typeof s=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(s.trim())).map(s=>rh(s).getTime()).filter(s=>!isNaN(s));a.length>0&&(i=new Date(Math.max(...a)))}Gx(t,i,e)}function Gx(r,e,t){r.empty();let n=r.createDiv("recurring-calendar__header"),i=n.createEl("button",{cls:"recurring-calendar__nav",attr:{type:"button","aria-label":"Previous month"}});(0,Kx.setIcon)(i,"chevron-left");let a=n.createSpan("recurring-calendar__month"),s=t.plugin.i18n.getCurrentLocale()||"en",o=new Intl.DateTimeFormat(s,{month:"short",year:"numeric"});a.textContent=o.format(e);let l=n.createEl("button",{cls:"recurring-calendar__nav",attr:{type:"button","aria-label":"Next month"}});(0,Kx.setIcon)(l,"chevron-right");let c=r.createDiv("recurring-calendar__grid"),d=R_(e),u=O_(e),p=t.plugin.settings.calendarViewSettings.firstDay||0,m=N_(d,p),f=BB(u,p),h=jB(m,f),g=R_(e);g.setUTCMonth(g.getUTCMonth()-1);let v=O_(e);v.setUTCMonth(v.getUTCMonth()+1);let k=Tv(t.task,g,v),b=new Set(k.map(x=>ce(x))),w=dwe(t),S=new Set(t.task.skipped_instances||[]);h.forEach(x=>{let C=ce(x),D=x.getUTCMonth()===e.getUTCMonth(),_=b.has(C),O=new Date(x),L=c.createDiv("recurring-calendar__day");L.textContent=String(x.getUTCDate()),L.addClass("recurring-calendar__day--clickable"),L.setAttribute("data-occurrence-date",C),D||L.addClass("recurring-calendar__day--faded"),_&&(L.addClass("recurring-calendar__day--recurring"),L.addClass("recurring-calendar__day--contextable"),L.setAttribute("aria-label",`Occurrence ${C}`)),w.has(C)&&L.addClass("recurring-calendar__day--completed"),S.has(C)&&L.addClass("recurring-calendar__day--skipped"),L.addEventListener("click",()=>{uwe(C,t.completedInstancesChanges),Gx(r,e,t)}),_&&L.addEventListener("contextmenu",N=>{pnt(N,r,e,O,t)})}),i.addEventListener("click",()=>{let x=new Date(e);x.setUTCMonth(x.getUTCMonth()-1),Gx(r,x,t)}),l.addEventListener("click",()=>{let x=new Date(e);x.setUTCMonth(x.getUTCMonth()+1),Gx(r,x,t)})}function pnt(r,e,t,n,i){r.preventDefault(),r.stopPropagation();let a=ce(n),o=dwe(i).has(a),l=new Kx.Menu;l.addItem(c=>{c.setTitle("Open or create occurrence note"),c.setIcon("file-plus"),c.onClick(async()=>{await yb({plugin:i.plugin,parentTask:i.task,targetDate:n,openInNewLeaf:!0})})}),l.addSeparator(),l.addItem(c=>{c.setTitle(o?"Mark incomplete for this date":"Mark complete for this date"),c.setIcon(o?"x":"check"),c.onClick(()=>{uwe(a,i.completedInstancesChanges),Gx(e,t,i)})}),l.showAtMouseEvent(r)}function dwe(r){let e=new Set(r.task.complete_instances||[]);for(let t of r.completedInstancesChanges)e.has(t)?e.delete(t):e.add(t);return e}function uwe(r,e){let t=e.indexOf(r);t!==-1?e.splice(t,1):e.push(r)}NV();OV();var fwe=require("obsidian");Ne();Ct();jn();Op();qp();CI();function mnt(r,e){if(r.length!==e.length)return!1;let t=a=>[...a].sort((s,o)=>s.uid.localeCompare(o.uid)),n=t(r),i=t(e);for(let a=0;a<n.length;a++){let s=n[a],o=i[a];if(s.uid!==o.uid||s.reltype!==o.reltype||(s.gap||"")!==(o.gap||""))return!1}return!0}function mwe(r){let e={};r.title.trim()!==r.task.title&&(e.title=r.title.trim()),r.dueDate!==(r.task.due||"")&&(e.due=r.dueDate||void 0),r.scheduledDate!==(r.task.scheduled||"")&&(e.scheduled=r.scheduledDate||void 0),r.priority!==r.task.priority&&(e.priority=r.priority),r.status!==r.task.status&&(e.status=r.status);let t=r.contexts.split(",").map(x=>x.trim()).filter(x=>x.length>0),n=r.task.contexts||[];JSON.stringify(t.sort())!==JSON.stringify(n.sort())&&(e.contexts=t.length>0?t:void 0);let i=zs(r.projects),a=r.task.projects||[],s=pwe(i).sort(),o=pwe(a).sort();JSON.stringify(s)!==JSON.stringify(o)&&(e.projects=i.length>0?i:[]);let l=Ri(r.tags)===Ri(r.initialTags),c=r.tags.split(",").map(x=>x.trim()).filter(x=>x.length>0);r.taskIdentificationMethod==="tag"&&r.taskTag&&(c=Kve(c,r.task.tags||[],r.taskTag,r.hideIdentifyingTagsMode));let d=r.task.tags||[];!l&&JSON.stringify(c.sort())!==JSON.stringify(d.sort())&&(e.tags=c.length>0?c:void 0);let u=r.timeEstimate>0?r.timeEstimate:void 0;u!==r.task.timeEstimate&&(e.timeEstimate=u);let p=typeof r.task.recurrence=="string"?r.task.recurrence:"";r.recurrenceRule!==p&&(e.recurrence=r.recurrenceRule||void 0);let m=r.task.recurrence_anchor||"scheduled";r.recurrenceAnchor!==m&&(e.recurrence_anchor=r.recurrenceAnchor);let f=r.task.reminders||[],h=r.reminders||[];JSON.stringify(h)!==JSON.stringify(f)&&(e.reminders=h.length>0?h:void 0);let g=r.blockedByItems.map(x=>({...x.dependency}));mnt(g,r.initialBlockedBy)||(e.blockedBy=g.length>0?g:void 0);let{blockingUpdates:v,unresolvedBlockingEntries:k}=fnt(r),b=r.normalizeDetails(r.details),w=r.normalizeDetails(r.originalDetails);b!==w&&(e.details=b.trimEnd()),hnt(r,e);let S=BTe(r.userFields,r.frontmatter,r.userFieldConfigs);return Object.keys(S).length>0&&(e.customFrontmatter=S),Object.keys(e).length>0&&(e.dateModified=Ye()),{changes:e,blockingUpdates:v,unresolvedBlockingEntries:k}}function pwe(r){return r.map(e=>{if(!e||typeof e!="string")return"";let t=e.trim();return t?jt(t).trim():""}).filter(e=>e.length>0)}function fnt(r){let e=new Map,t=[];r.blockingItems.forEach(c=>{c.path?e.set(c.path,{...c.dependency}):t.push(c.dependency.uid)});let n=Array.from(e.keys()),i=new Set(r.initialBlockingPaths),a=new Set(n),s=n.filter(c=>!i.has(c)),o=r.initialBlockingPaths.filter(c=>!a.has(c)),l={};for(let c of s){let d=e.get(c);d&&(l[c]={...d})}return{blockingUpdates:{added:s,removed:o,raw:l},unresolvedBlockingEntries:t}}function hnt(r,e){if(r.completedInstancesChanges.length===0)return;let t=new Set(r.task.complete_instances||[]),n=null;for(let o of r.completedInstancesChanges)t.has(o)?t.delete(o):(t.add(o),(!n||o>n)&&(n=o));if(e.complete_instances=Array.from(t),!r.task.recurrence||typeof r.task.recurrence!="string")return;if((r.task.recurrence_anchor||"scheduled")==="completion"&&n){let o=Vpe(r.task.recurrence,n);o&&(e.recurrence=o)}let a={...r.task,...e,recurrence:e.recurrence||r.task.recurrence},s=jpe(a,r.maintainDueDateOffsetInRecurring);s.scheduled&&(e.scheduled=s.scheduled),s.due&&(e.due=s.due)}G();var gnt=I({tag:"TaskEditModal/Changes"});function hwe(r){let e=UV({app:r.app,taskPath:r.task.path,logger:r.logger});return mwe({task:r.task,title:r.title,dueDate:r.dueDate,scheduledDate:r.scheduledDate,priority:r.priority,status:r.status,contexts:r.contexts,projects:r.projects,tags:r.tags,initialTags:r.initialTags,timeEstimate:r.timeEstimate,recurrenceRule:r.recurrenceRule,recurrenceAnchor:r.recurrenceAnchor,reminders:r.reminders,blockedByItems:r.blockedByItems,initialBlockedBy:r.initialBlockedBy,blockingItems:r.blockingItems,initialBlockingPaths:r.initialBlockingPaths,details:r.details,originalDetails:r.originalDetails,completedInstancesChanges:r.completedInstancesChanges,userFields:r.userFields,frontmatter:e,userFieldConfigs:r.settings.userFields||[],taskIdentificationMethod:r.settings.taskIdentificationMethod||"",taskTag:r.settings.taskTag||"",hideIdentifyingTagsMode:r.settings.hideIdentifyingTagsMode,maintainDueDateOffsetInRecurring:r.settings.maintainDueDateOffsetInRecurring===!0,normalizeDetails:r.normalizeDetails})}function UV(r){var e,t;try{let n=r.app.vault.getAbstractFileByPath(r.taskPath);if(n instanceof fwe.TFile)return((e=r.app.metadataCache.getFileCache(n))==null?void 0:e.frontmatter)||{}}catch(n){((t=r.logger)!=null?t:gnt).warn("Error reading user field frontmatter",{category:"stale-data",operation:"task-edit-frontmatter-read",details:{path:r.taskPath},error:n})}return{}}Ct();qp();function gwe(r){let e=UV({app:r.app,taskPath:r.task.path,logger:r.logger});return ynt({task:r.task,details:r.details,frontmatter:e,settings:r.settings,normalizeDetails:r.normalizeDetails})}function ynt(r){let e=r.task.tags||[],t=r.settings.taskIdentificationMethod==="tag"?bu(e,r.settings.taskTag||"",r.settings.hideIdentifyingTagsMode):e,n=e.length>0?Ri(t.join(", ")):"",i=r.normalizeDetails(r.details),a=r.task.projects||[];return{title:r.task.title,dueDate:r.task.due||"",scheduledDate:r.task.scheduled||"",priority:r.task.priority,status:r.task.status,contexts:r.task.contexts?r.task.contexts.join(", "):"",projectValues:a,hasValidProjects:a.some(s=>typeof s=="string"&&s.trim()!==""),tags:n,initialTags:n,timeEstimate:r.task.timeEstimate||0,recurrenceRule:typeof r.task.recurrence=="string"?r.task.recurrence:"",recurrenceAnchor:r.task.recurrence_anchor||"scheduled",reminders:r.task.reminders?[...r.task.reminders]:[],details:i,originalDetails:i,userFields:vnt(r.frontmatter,r.settings.userFields||[])}}function vnt(r,e){let t={};for(let n of e){if(!(n!=null&&n.key))continue;let i=r[n.key];i!==void 0&&(t[n.key]=i)}return t}BV();function ywe(r,e){let t=e.map(i=>i.path).sort(),n=r.map(i=>i.path).sort();return t.length!==n.length||t.some((i,a)=>i!==n[a])}function bnt(r,e){let t=new Set(e.map(i=>i.path)),n=new Set(r.map(i=>i.path));return{toRemove:r.filter(i=>!t.has(i.path)),toAdd:e.filter(i=>!n.has(i.path))}}async function vwe(r){var n,i;let e=bnt(r.initialSubtaskFiles,r.selectedSubtaskFiles),t={nextInitialSubtaskFiles:[...r.selectedSubtaskFiles],added:0,removed:0,skippedMissing:0,skippedExisting:0,errors:0};for(let a of e.toRemove)try{await wnt(r,a)?t.removed+=1:t.skippedMissing+=1}catch(s){t.errors+=1,(n=r.onRemoveError)==null||n.call(r,s,a)}for(let a of e.toAdd)try{await knt(r,a)?t.added+=1:t.skippedExisting+=1}catch(s){t.errors+=1,(i=r.onAddError)==null||i.call(r,s,a)}return t}function Tnt(r,e,t){return(Array.isArray(r)?r:[]).filter(i=>typeof i=="string"&&i!==e&&i!==t)}async function knt(r,e){let t=await r.getTaskInfo(e.path);if(!t)return!1;let n=r.buildProjectReference(r.parentTaskFile,e.path),i=`[[${r.parentTaskFile.basename}]]`,a=jV(t.projects,n,i);return a?(await r.updateTaskProjects(t,a),!0):!1}async function wnt(r,e){let t=await r.getTaskInfo(e.path);if(!t)return!1;let n=r.buildProjectReference(r.parentTaskFile,e.path),i=`[[${r.parentTaskFile.basename}]]`,a=Tnt(t.projects,n,i);return await r.updateTaskProjects(t,a),!0}G();var Fc=I({tag:"Modals/TaskEditModal"}),Zx=class extends kb{constructor(t,n,i){super(t,n);this.editModalKeyboardHandler=null;this.completedInstancesChanges=[];this.initialBlockedBy=[];this.initialBlockingPaths=[];this.pendingBlockingUpdates={added:[],removed:[],raw:{}};this.unresolvedBlockingEntries=[];this.initialTags="";this.isShowingConfirmation=!1;this.pendingClose=!1;this.isConvertingNoteToTask=!1;this.isExpanded=!0;this.task=i.task,this.options=i}getCurrentTaskPath(){return this.task.path}getModalTitle(){return this.t("modals.taskEdit.title")}isEditMode(){return!0}focusTitleInput(){this.isMobileLikeEnvironment()||super.focusTitleInput()}async initializeFormData(){var n,i,a;let t=gwe({app:this.app,task:this.task,details:this.details,settings:{taskIdentificationMethod:this.plugin.settings.taskIdentificationMethod,taskTag:this.plugin.settings.taskTag,hideIdentifyingTagsMode:this.plugin.settings.hideIdentifyingTagsMode,userFields:(n=this.plugin.settings)==null?void 0:n.userFields},normalizeDetails:s=>this.normalizeDetails(s)});this.title=t.title,this.dueDate=t.dueDate,this.scheduledDate=t.scheduledDate,this.priority=t.priority,this.status=t.status,this.contexts=t.contexts,t.hasValidProjects?this.initializeProjectsFromStrings(t.projectValues):(this.projects="",this.selectedProjectItems=[]),this.tags=t.tags,this.initialTags=t.initialTags,this.timeEstimate=t.timeEstimate,this.recurrenceRule=t.recurrenceRule,this.recurrenceAnchor=t.recurrenceAnchor,this.reminders=t.reminders,this.details=t.details,this.originalDetails=t.originalDetails,this.userFields=t.userFields,await this.initializeSubtasks(),this.blockedByItems=((i=this.task.blockedBy)!=null?i:[]).map(s=>this.createDependencyItemFromDependency(s,this.task.path)),this.initialBlockedBy=this.blockedByItems.map(s=>({...s.dependency})),this.blockingItems=((a=this.task.blocking)!=null?a:[]).map(s=>this.createDependencyItemFromPath(s)),this.initialBlockingPaths=this.blockingItems.filter(s=>s.path).map(s=>s.path),this.pendingBlockingUpdates={added:[],removed:[],raw:{}},this.unresolvedBlockingEntries=[]}showReminderContextMenu(t){AI(this.getActionMenuContext(),t,this.task)}onOpen(){this.openEditModal()}async openEditModal(){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=t=>{t.key==="Enter"&&(t.ctrlKey||t.metaKey)&&(t.preventDefault(),(async()=>(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 t=this.app.vault.getAbstractFileByPath(this.task.path);if(!t||!(t instanceof di.TFile)){Fc.warn("Could not find file for task:",{category:"stale-data",operation:"find-file-task",details:{value:this.task.path}});return}let n=await this.app.vault.read(t);this.details=this.extractDetailsFromContent(n),this.originalDetails=this.details;let i=this.app.metadataCache.getFileCache(t);if(!((i==null?void 0:i.frontmatter)&&this.plugin.cacheManager.isTaskFile(i.frontmatter))){this.isConvertingNoteToTask=!0,this.task.details=this.details;return}this.isConvertingNoteToTask=!1;let s=await this.plugin.cacheManager.getTaskInfo(this.task.path);if(s)s.details=this.details,this.task=s,this.options.task=s;else{let o=Fpe(this.app,n,this.task.path,t,this.plugin.fieldMapper,this.plugin.settings.storeTitleInFilename,this.plugin.settings.defaultTaskStatus);o&&(o.details=this.details,this.task=o,this.options.task=o)}}catch(t){Fc.warn("Could not refresh task data:",{category:"stale-data",operation:"refresh-task-data",error:t})}}createPrimaryInput(t){}createAdditionalSections(t){cwe(t,{task:this.task,plugin:this.plugin,completedInstancesChanges:this.completedInstancesChanges,translate:(n,i)=>this.t(n,i)}),this.createMetadataSection(t)}forceClose(){this.pendingClose=!0,super.close()}close(){if(this.pendingClose){this.pendingClose=!1,super.close();return}if(this.isShowingConfirmation)return;let t=this.getChanges();if(!(Object.keys(t).length>0)){super.close();return}this.showUnsavedChangesConfirmation()}async showUnsavedChangesConfirmation(){this.isShowingConfirmation=!0;try{let t=await this.showThreeButtonConfirmation();if(t==="save")try{await this.handleSave(),this.forceClose()}catch(n){Fc.error("Save failed during close confirmation:",{category:"persistence",operation:"save-close-confirmation",error:n})}else t==="discard"&&this.forceClose()}finally{this.isShowingConfirmation=!1}}showThreeButtonConfirmation(){return new Promise(t=>{new vx(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:()=>t("cancel")}).show().then(i=>{t(i?"save":"discard")})})}onClose(){this.editModalKeyboardHandler&&(this.containerEl.removeEventListener("keydown",this.editModalKeyboardHandler),this.editModalKeyboardHandler=null),super.onClose()}createMetadataSection(t){this.metadataContainer=t.createDiv("metadata-container");let n=this.metadataContainer.createDiv("detail-label");n.textContent=this.t("modals.taskEdit.sections.taskInfo");let i=this.metadataContainer.createDiv("metadata-content"),a=Aa(this.task.timeEntries||[]);if(a>0){let s=i.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.totalTrackedTime")+" ",s.createSpan("metadata-value").textContent=B_(a)}if(this.task.dateCreated){let s=i.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.created")+" ",s.createSpan("metadata-value").textContent=A_(this.task.dateCreated)}if(this.task.dateModified){let s=i.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.modified")+" ",s.createSpan("metadata-value").textContent=A_(this.task.dateModified)}if(this.task.path){let s=i.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.file")+" ",s.createSpan("metadata-value").textContent=this.task.path}}async handleSave(){if(!this.validateForm()){new di.Notice(this.t("modals.taskEdit.notices.titleRequired"));return}try{let t=this.getChanges({includeConversionWrite:!0}),n=this.pendingBlockingUpdates.added.length>0||this.pendingBlockingUpdates.removed.length>0,i=Object.keys(t).length>0,a=this.hasSubtaskChanges();if(this.unresolvedBlockingEntries.length>0&&!n&&(new di.Notice(this.t("modals.taskEdit.notices.blockingUnresolved",{entries:this.unresolvedBlockingEntries.join(", ")})),this.unresolvedBlockingEntries=[]),!i&&!n&&!a){new di.Notice(this.t("modals.taskEdit.notices.noChanges")),this.close();return}let s=this.task;if(i&&(s=await this.plugin.taskService.updateTask(this.task,t),this.task=s,Object.prototype.hasOwnProperty.call(t,"details"))){let o=Z(t.details);this.details=o,this.originalDetails=o}if(n){await this.plugin.taskService.updateBlockingRelationships(s,this.pendingBlockingUpdates.added,this.pendingBlockingUpdates.removed,this.pendingBlockingUpdates.raw);let o=await this.plugin.cacheManager.getTaskInfo(s.path);o&&(s=o,this.task=o)}a&&await this.applySubtaskChanges(s),this.unresolvedBlockingEntries.length>0&&new di.Notice(this.t("modals.taskEdit.notices.blockingUnresolved",{entries:this.unresolvedBlockingEntries.join(", ")})),this.options.onTaskUpdated&&this.options.onTaskUpdated(s),i?new di.Notice(this.t("modals.taskEdit.notices.updateSuccess",{title:s.title})):n&&new di.Notice(this.t("modals.taskEdit.notices.dependenciesUpdateSuccess")),this.pendingBlockingUpdates={added:[],removed:[],raw:{}},this.unresolvedBlockingEntries=[]}catch(t){Fc.error("Failed to update task:",{category:"validation",operation:"update-task",error:t});let n=t instanceof Error&&t.message?t.message:String(t);new di.Notice(this.t("modals.taskEdit.notices.updateFailure",{message:n}))}}getChanges(t={}){var i;let n=hwe({app:this.app,task:this.task,title:this.title,dueDate:this.dueDate,scheduledDate:this.scheduledDate,priority:this.priority,status:this.status,contexts:this.contexts,projects:this.projects,tags:this.tags,initialTags:this.initialTags,timeEstimate:this.timeEstimate,recurrenceRule:this.recurrenceRule,recurrenceAnchor:this.recurrenceAnchor,reminders:this.reminders,blockedByItems:this.blockedByItems,initialBlockedBy:this.initialBlockedBy,blockingItems:this.blockingItems,initialBlockingPaths:this.initialBlockingPaths,details:this.details,originalDetails:this.originalDetails,completedInstancesChanges:this.completedInstancesChanges,userFields:this.userFields,settings:{userFields:(i=this.plugin.settings)==null?void 0:i.userFields,taskIdentificationMethod:this.plugin.settings.taskIdentificationMethod,taskTag:this.plugin.settings.taskTag,hideIdentifyingTagsMode:this.plugin.settings.hideIdentifyingTagsMode,maintainDueDateOffsetInRecurring:this.plugin.settings.maintainDueDateOffsetInRecurring},normalizeDetails:a=>this.normalizeDetails(a)});return this.pendingBlockingUpdates=n.blockingUpdates,this.unresolvedBlockingEntries=n.unresolvedBlockingEntries,t.includeConversionWrite&&this.isConvertingNoteToTask&&Object.keys(n.changes).length===0&&(n.changes.dateModified=Ye()),n.changes}async openTaskNote(){try{let t=this.app.vault.getAbstractFileByPath(this.task.path);if(!(t instanceof di.TFile)){new di.Notice(this.t("modals.taskEdit.notices.fileMissing",{path:this.task.path}));return}await this.app.workspace.getLeaf(!0).openFile(t),this.close()}catch(t){Fc.error("Failed to open task note:",{category:"persistence",operation:"open-task-note",error:t}),new di.Notice(this.t("modals.taskEdit.notices.openNoteFailure"))}}async archiveTask(){try{let t=await this.plugin.taskService.toggleArchive(this.task);this.task=t,this.options.onTaskUpdated&&this.options.onTaskUpdated(t);let n=t.archived?"modals.taskEdit.archiveAction.archived":"modals.taskEdit.archiveAction.unarchived",i=this.t(n);new di.Notice(this.t("modals.taskEdit.notices.archiveSuccess",{action:i})),this.close()}catch(t){Fc.error("Failed to archive task:",{category:"persistence",operation:"archive-task",error:t}),new di.Notice(this.t("modals.taskEdit.notices.archiveFailure"))}}async deleteTask(){if(await bn(this.app,{title:this.t("modals.taskEdit.deleteConfirmation.title"),message:this.t("modals.taskEdit.deleteConfirmation.message",{title:this.task.title}),confirmText:this.t("modals.taskEdit.deleteConfirmation.confirm"),cancelText:this.t("common.cancel"),isDestructive:!0}))try{await this.plugin.taskService.deleteTask(this.task),new di.Notice(this.t("modals.taskEdit.notices.deleteSuccess",{title:this.task.title})),this.forceClose()}catch(n){let i=n instanceof Error?n.message:String(n);Fc.error("Failed to delete task:",{category:"persistence",operation:"delete-task",error:n}),new di.Notice(this.t("modals.taskEdit.notices.deleteFailure",{message:i}))}}createActionButtons(t){DI(this.getActionButtonContext(),{container:t,leadingButtons:[{className:"tn-task-modal__open-note-button",text:this.t("modals.task.buttons.openNote"),onClick:()=>{this.openTaskNote()}},{className:"mod-warning tn-task-modal__archive-button",text:this.task.archived?this.t("modals.taskEdit.buttons.unarchive"):this.t("modals.taskEdit.buttons.archive"),onClick:()=>{this.archiveTask()}},{className:"mod-warning tn-task-modal__delete-button",text:this.t("contextMenus.task.delete"),onClick:()=>{this.deleteTask()}}],onSave:()=>this.handleSave(),onSaved:()=>{this.forceClose()},onCancel:()=>{this.close()}})}async initializeSubtasks(){try{let t=this.app.vault.getAbstractFileByPath(this.task.path);if(!(t instanceof di.TFile))return;let n=await this.plugin.projectSubtasksService.getTasksLinkedToProject(t),i=this.plugin.projectSubtasksService.sortTasks([...n]);this.selectedSubtaskFiles=[],this.initialSubtaskFiles=[];for(let a of i){let s=this.app.vault.getAbstractFileByPath(a.path);s&&(this.selectedSubtaskFiles.push(s),this.initialSubtaskFiles.push(s))}}catch(t){Fc.error("Error initializing subtasks:",{category:"persistence",operation:"initializing-subtasks",error:t})}}hasSubtaskChanges(){return ywe(this.initialSubtaskFiles,this.selectedSubtaskFiles)}async applySubtaskChanges(t){let n=this.app.vault.getAbstractFileByPath(t.path);if(!(n instanceof di.TFile))return;let i=await vwe({parentTaskFile:n,selectedSubtaskFiles:this.selectedSubtaskFiles,initialSubtaskFiles:this.initialSubtaskFiles,getTaskInfo:a=>this.plugin.cacheManager.getTaskInfo(a),buildProjectReference:(a,s)=>this.buildProjectReference(a,s),updateTaskProjects:(a,s)=>this.plugin.updateTaskProperty(a,"projects",s),onAddError:a=>{Fc.error("Failed to add subtask relation:",{category:"persistence",operation:"add-subtask-relation",error:a})},onRemoveError:a=>{Fc.error("Failed to remove subtask relation:",{category:"persistence",operation:"remove-subtask-relation",error:a})}});this.initialSubtaskFiles=i.nextInitialSubtaskFiles}};No();iS();Ct();Ne();Ne();var bwe=require("obsidian"),Snt="en";function Twe(r,e=""){let t={};return Object.entries(r).forEach(([n,i])=>{let a=e?`${e}.${n}`:n;typeof i=="string"?t[a]=i:i&&typeof i=="object"&&Object.assign(t,Twe(i,a))}),t}function Ent(r,e){return e?r.replace(/\{(\w+)\}/g,(t,n)=>Object.prototype.hasOwnProperty.call(e,n)?String(e[n]):`{${n}}`):r}function VI(r){return r.toLowerCase().split("-")[0]}var qI=class extends bwe.Events{constructor(t){var i,a;super();this.cache={};this.resources=t.resources,this.defaultLocale=t.defaultLocale,this.fallbackLocale=(i=t.fallbackLocale)!=null?i:Snt,this.getSystemLocaleFn=t.getSystemLocale;let n=(a=t.initialLocale)!=null?a:this.defaultLocale;this.currentLocale=this.resolveLocale(n)}getAvailableLocales(){return Object.keys(this.resources)}getNativeLanguageName(t){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"}[t]||t}getCurrentLocale(){return this.currentLocale}setLocale(t){let n=this.resolveLocale(t);if(n===this.currentLocale)return;let i=this.currentLocale;this.currentLocale=n;let a={previous:i,current:n};this.trigger("locale-changed",a)}translate(t,n){var a;let i=(a=this.resolveKey(t))!=null?a:t;return Ent(i,n)}translatePlural(t,n,i){let a=this.getPluralKey(t,n),s={...i,count:n};return this.translate(a,s)}resolveKey(t){let n=[this.currentLocale,this.fallbackLocale,this.defaultLocale];for(let i of n){let a=this.getLocaleMap(i);if(a&&Object.prototype.hasOwnProperty.call(a,t))return a[t]}}getSystemLocale(){if(this.getSystemLocaleFn){let t=this.getSystemLocaleFn();if(t)return VI(t)}return typeof navigator!="undefined"&&navigator.language?VI(navigator.language):this.defaultLocale}getLocaleMap(t){let n=VI(t);if(!this.cache[n]){let i=this.resources[n];if(!i)return{};this.cache[n]=Twe(i)}return this.cache[n]}resolveLocale(t){let n=VI(t);if(this.resources[n])return n;if(t==="system"){let a=this.getSystemLocale();if(this.resources[a])return a}if(this.resources[this.defaultLocale])return this.defaultLocale;let i=this.getAvailableLocales()[0];return i!=null?i:this.fallbackLocale}getPluralKey(t,n){let i;switch(n){case 0:i="zero";break;case 1:i="one";break;default:i="other";break}let a=`${t}.${i}`,s=[this.currentLocale,this.fallbackLocale,this.defaultLocale];for(let o of s)if(this.getLocaleMap(o)[a])return a;return t}};var kwe={common:{appName:"TaskNotes",new:"New",cancel:"Cancel",confirm:"Confirm",close:"Close",save:"Save",reorder:{confirmLargeTitle:"Confirm large reorder",confirmButton:"Reorder notes",confirmLargeMessage:'Reordering here will update "{field}" in {count} notes to create a persistent manual order for {scope}. Hidden or filtered notes in the same scope may also be updated. Continue?'},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)",ko:"Korean"},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.",reorder:{scope:{ungrouped:"this ungrouped list",group:'group "{group}"'}},errors:{formulaGroupingReadOnly:"Cannot reorder tasks in formula-based groups. Formula values are computed and cannot be directly modified."}},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",contextMenu:{openDailyNote:"Open daily note",openWeeklyNote:"Open weekly note"}},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",today:"Go to today",prev:"Previous",next:"Next",month:"Month view",week:"Week view",day:"Day view",year:"Year view",list:"List view",customDays:"{count}-day view"},settings:{groups:{dateNavigation:"Date navigation",events:"Events",layout:"Layout",view:"View",display:"Display",timeGrid:"Time grid",eventLayout:"Event 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",createDailyNotesFromDateLinks:"Create daily notes from date links",strategies:{first:"First result",earliest:"Earliest date",latest:"Latest date"}},events:{showScheduledTasks:"Show scheduled tasks",showDueTasks:"Show due tasks",showRecurringTasks:"Show recurring tasks",showCompletedRecurringInstances:"Show completed recurring instances",showSkippedRecurringInstances:"Show skipped recurring instances",showTimeEntries:"Show time entries",showTimeblocks:"Show timeblocks",showPropertyBasedEvents:"Show property-based events"},layout:{calendarView:"Calendar view",heightMode:"Height mode",heightModeFill:"Fill container",heightModeAuto:"Auto height",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)",dragDropResolution:"Drag/drop resolution",dragDropResolutionPlaceholder:"HH:mm:ss (e.g., 00:05:00)",weekStartsOn:"Week starts on",showWeekNumbers:"Show week numbers",showNowIndicator:"Show now indicator",showWeekends:"Show weekends",showAllDaySlot:"Show all-day slot",showTimeGrid:"Show hourly breakdown",showTodayHighlight:"Show today highlight",todayColumnWidthMultiplier:"Today column width multiplier",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)",spanScheduledToDue:"Span tasks between scheduled and due dates"},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"}},notices:{noDailyNoteForDate:"No daily note exists for this date."},errors:{failedToInitialize:"Failed to initialize calendar"}},kanban:{title:"Kanban",newTask:"New task",addCard:"+ Add a card",noTasks:"No tasks",uncategorized:"Uncategorized",noProject:"No project",reorder:{scope:{column:'column "{group}"',columnInSwimlane:'column "{group}" in swimlane "{swimlane}"'}},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'.",formulaGroupingReadOnly:"Cannot move tasks between formula-based columns. Formula values are computed and cannot be directly modified.",formulaSwimlaneReadOnly:"Cannot move tasks between formula-based swimlanes. Formula values are computed and cannot be directly modified."},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?"},meta:{ready:"{time} planned \xB7 {count} completed today",running:"{time} left",paused:"{type} paused \xB7 {time} left",breakReady:"{type} ready \xB7 {time} planned"},timer:{editLabel:"Edit timer duration",inputLabel:"Timer duration"},buttons:{start:"Start",startFocus:"Start focus",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",addMinute:"Add one minute",subtractMinute:"Subtract one minute"},notices:{noTasks:"No unarchived tasks found. Create some tasks first.",loadFailed:"Failed to load tasks",invalidDuration:"Enter a duration like 10, 10:30, or 1:30:00."},statsLabel:"completed today"},pomodoroStats:{title:"Pomodoro stats",heading:"Pomodoro statistics",refresh:"Refresh",basesMigration:{title:"Want a base view?",description:"Pomodoro base views use daily notes frontmatter; to see this history in the generated Pomodoro statistics base, migrate Pomodoro data in settings, then set storage to daily notes."},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",delete:"Delete session",deleteAria:"Delete Pomodoro session",deleteConfirmTitle:"Delete Pomodoro session?",deleteConfirmMessage:"This removes the session from Pomodoro history. Existing task time entries are not changed.",deleteConfirmButton:"Delete",deleteSuccess:"Pomodoro session deleted",deleteNotFound:"Pomodoro session was not found",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:"We really appreciate all feedback. If something does not feel right, please let us know on GitHub. If you find TaskNotes useful, please consider giving it a star.",baseFilesNotice:"> [!info] About default `.base` files\n> Updates to default generated `.base` templates do not overwrite your existing `.base` files, so your customizations stay safe.\n> If you want the newest template improvements, regenerate base files in **Settings \u2192 TaskNotes \u2192 General \u2192 Create Default Files**."}},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."},taskCreation:{header:"Task creation",description:"Configure what happens after tasks are created.",openAfterCreate:{name:"Open task after creation",description:"Choose whether the task creation modal opens the new task note after saving.",options:{none:"Do not open",sameTab:"Open in the same tab",newTab:"Open in a new tab"}}},overlays:{taskLinkToggle:{name:"Task link overlay",description:"Show interactive overlays when hovering over task links"},aliasExclusion:{name:"Disable overlay for aliased links",description:"Do not show the task widget if the link contains an alias (e.g. [[Task|Alias]])."}},instantConvert:{toggle:{name:"Show convert button next to checkboxes",description:"Display an inline button next to Markdown checkboxes that converts them to TaskNotes"},preserveCheckbox:{name:"Keep checkbox when converting",description:"Leave the original Markdown checkbox marker in place when converting a checkbox to a TaskNote link"},folder:{name:"Folder for inline-created tasks",description:"Folder where tasks created from inline commands or checkbox conversion 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"},statusBar:{name:"Show Pomodoro in status bar",description:"Display the active Pomodoro countdown in Obsidian's status bar"},mobileSidebar:{name:"Mobile sidebar",description:"Where to open the Pomodoro timer on mobile devices",tab:"Note panel",left:"Left sidebar",right:"Right sidebar"}},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",soundEnabledName:"Notification sound",soundEnabledDesc:"Play a sound when task reminders trigger",soundVolumeName:"Sound volume",soundVolumeDesc:"Volume for task reminder sounds (0-100)",soundPreviewName:"Preview notification sound",soundPreviewDesc:"Play the configured task reminder sound",soundPreviewButton:"Preview",testReminderName:"Send test reminder",testReminderDesc:"Send a test reminder using the current notification type and sound settings.",testReminderButton:"Send test"},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",resetCheckboxesName:"Reset checkboxes on recurrence",resetCheckboxesDesc:"Reset all Markdown checkboxes in the task body when a recurring task is completed and rescheduled"},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",defaultColorName:"Default timeblock color",defaultColorDesc:"The default color used when creating new timeblocks",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."},debugLogging:{header:"Debug logging",description:"Configure debug log output for troubleshooting.",enableName:"Enable debug logging",enableDesc:"Log detailed drag-and-drop and view diagnostics to the developer console. Useful for troubleshooting."}},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"},useParentHeaderAsProject:{name:"Use parent heading as project during instant conversion",description:"Automatically link the closest heading above the converted line 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. Supports folder template variables like {{currentNotePath}}, {{currentNoteTitle}}, and {{projectFilePath}}, plus Daily Notes-style date tokens like YYYY/MM/DD."},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"},hideIdentifyingTagsMode:{name:"Hidden tag scope",description:"Choose whether hiding identification tags also hides nested tags.",options:{all:"Task tag and nested tags",exactOnly:"Exact task tag only"}},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."},sortOrder:{name:"Manual order",description:"Frontmatter property used for drag-to-reorder manual ordering. A view must be sorted by this property for drag-and-drop reordering to work."},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:",useParentHeader:"Use parent heading as project:",inheritParentTaskProperties:"Inherit parent task properties for subtasks:",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:",legacySyntaxWarning:"Single-brace syntax like {title} is deprecated. Please use double-brace syntax {{title}} instead for consistency with body templates."},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:",excludeFromCycle:"Skip when cycling:",nextStatus:"Next status:",autoArchive:"Auto-archive:",delayMinutes:"Delay (minutes):"},placeholders:{value:"in-progress",label:"In progress",icon:"check, circle, clock",nextStatusDefault:"Use status order"},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",icon:"Icon: optional icon to show on task cards instead of the priority dot"},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:",icon:"Icon:"},placeholders:{value:"high",label:"High priority",icon:"alert-circle"},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",sortOrder:"Manual order",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",checklistProgress:"Checklist progress",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)",uuid:"UUID v4",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}}, {{uuid}}, {{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). Use values above 24:00 to show early next-day hours, such as 26:00 for 2 AM.",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"Strike through completed task titles",description:"Draw a line through completed task card titles. Turn off to keep completed tasks easier to read"},showExpandableSubtasks:{name:"Show expandable subtasks",description:"Allow expanding/collapsing subtask sections in task cards"},expandSubtasksByDefault:{name:"Expand subtasks by default",description:"Show project subtasks expanded when task cards are rendered"},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:{mobileCalendar:{disable:{name:"Disable calendar integrations on mobile",description:"Skip Google, Microsoft, and ICS calendar loading on Obsidian mobile. Desktop calendar integrations are unchanged."},status:{name:"Calendar integrations are disabled on this mobile device",description:"Turn this setting off and reload Obsidian mobile to resume calendar loading."}},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, use "Update files" below, delete the existing .base files and restart Obsidian, or edit them manually.',pomodoroDailyNotesHint:"The generated Pomodoro statistics base reads Pomodoro history from daily notes; if your history is still stored in plugin data, migrate it in settings before using that base file.",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",pomodoroStats:"Pomodoro statistics base",relationships:"Relationships widget"},fileLabel:"File: {path}",resetButton:"Reset",resetTooltip:"Reset to default path"},autoCreateDefaultFiles:{name:"Auto-create default files",description:"Automatically create missing default base view files on startup. Disable to prevent deleted sample files from being recreated."},createDefaultFiles:{name:"Create default files",description:"Create the default .base files in TaskNotes/Views/ directory. Existing files will not be overwritten.",buttonText:"Create files"},updateDefaultFiles:{name:"Update default files",description:"Overwrite the configured default .base files with templates generated from your current TaskNotes settings.",buttonText:"Update files",confirmTitle:"Update default base files",confirmMessage:"This will overwrite the configured default .base files with freshly generated templates. Any manual edits in those files will be replaced.",confirmText:"Update 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}"},useICSEndAsDue:{name:"Use ICS event end time as task due date",description:"When enabled, tasks created from calendar events will have their due date set to the event's end time. For all-day events, the due date will be set to the event date. For timed events, the due date will include the end time."}},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"},useDuration:{name:"Use task duration for event length",description:"When enabled, uses the task's time estimate (duration) instead of due date for the calendar event end time. This is useful for GTD workflows where scheduled + duration represents work planning, while due date represents deadlines."},excludeCompleted:{name:"Exclude completed tasks",description:"When enabled, completed tasks are omitted from ICS exports. Completed statuses are taken from your task statuses settings."},excludeArchived:{name:"Exclude archived tasks",description:"When enabled, archived tasks are omitted from ICS exports."},requireDueDate:{name:"Require due date",description:"When enabled, only tasks with a due date are included in ICS exports."},requireScheduledDate:{name:"Require scheduled date",description:"When enabled, only tasks with a scheduled date are included in ICS exports."},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"}},googleCalendarExport:{header:"Export tasks to Google Calendar",description:"Automatically sync your tasks to Google Calendar as events. Requires Google Calendar to be connected above.",enable:{name:"Enable task export",description:"When enabled, tasks with dates will be automatically synced to Google Calendar as events."},targetCalendar:{name:"Target calendar",description:"Select which calendar to create task events in.",placeholder:"Select a calendar...",connectFirst:"Connect Google Calendar first",primarySuffix:" (Primary)"},syncTrigger:{name:"Sync trigger",description:"Which task date should trigger calendar event creation.",options:{scheduled:"Scheduled date",due:"Due date",both:"Both (prefer scheduled)"}},allDayEvents:{name:"Create as all-day events",description:"When enabled, tasks are created as all-day events. When disabled, uses time estimate for duration."},defaultDuration:{name:"Default event duration",description:"Duration in minutes for timed events (used when task has no time estimate)."},eventTitleTemplate:{name:"Event title template",description:"Template for event titles. Available variables: {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"Include task details in description",description:"Add task metadata (priority, status, tags, etc.) to the event description."},includeObsidianLink:{name:"Include Obsidian link",description:"Add a link back to the task in Obsidian in the event description."},defaultReminder:{name:"Default reminder",description:"Add popup reminders to timed Google Calendar events. Enter minutes before the event, separated by commas. Leave empty to use calendar defaults. Common values: 15, 30, 60, 1440."},automaticSyncBehavior:{header:"Automatic sync behavior"},syncOnCreate:{name:"Sync on task create",description:"Automatically create calendar event when a new task is created."},syncOnUpdate:{name:"Sync on task update",description:"Automatically update calendar event when a task is modified."},syncOnComplete:{name:"Sync on task complete",description:"Update calendar event when a task is completed (adds checkmark to title)."},syncOnDelete:{name:"Delete event on task delete",description:"Remove calendar event when the corresponding task is deleted."},manualSyncActions:{header:"Manual sync actions"},syncAllTasks:{name:"Sync all tasks",description:"Sync all existing tasks to Google Calendar. This will create events for tasks that haven't been synced yet.",buttonText:"Sync all"},unlinkAllTasks:{name:"Unlink all tasks",description:"Remove all task-event links without deleting calendar events.",buttonText:"Unlink all",confirmTitle:"Unlink all tasks",confirmMessage:"This will remove all links between tasks and calendar events. The calendar events will remain but will no longer be updated when tasks change. Are you sure?",confirmButtonText:"Unlink all"},notices:{notEnabled:"Google Calendar export is not enabled. Configure it in Settings > Integrations.",notEnabledOrConfigured:"Google Calendar export is not enabled or configured",serviceNotAvailable:"Task calendar sync service not available",syncResults:"Synced: {synced}, Failed: {failed}, Skipped: {skipped}",taskSynced:"Task synced to Google Calendar",noActiveFile:"No file is currently active",notATask:"Current file is not a task",noDateToSync:"Task has no scheduled or due date to sync",syncFailed:"Failed to sync task to Google Calendar: {message}",connectionExpired:"Google Calendar connection expired. Please reconnect in Settings > Integrations.",syncingTasks:"Syncing {total} tasks to Google Calendar...",syncComplete:"Sync complete: {synced} synced, {failed} failed, {skipped} skipped",eventsDeletedAndUnlinked:"All events deleted and unlinked",tasksUnlinked:"All task links removed"},eventDescription:{untitledTask:"Untitled task",priority:"Priority: {value}",status:"Status: {value}",due:"Due: {value}",scheduled:"Scheduled: {value}",timeEstimate:"Time Estimate: {value}",tags:"Tags: {value}",contexts:"Contexts: {value}",projects:"Projects: {value}",openInObsidian:"Open in Obsidian"}},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"},mcp:{enable:{name:"Enable MCP server",description:"Expose TaskNotes tools via Model Context Protocol at /mcp endpoint. Requires HTTP API to be enabled."}},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 .json template file in your vault that transforms webhook payloads",placeholder:"simple-template.json"},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 .json template file in your vault that transforms webhook payloads",placeholder:"simple-template.json"},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:"JSON transform templates customize webhook payloads:",jsFiles:"",jsDescription:"",jsonFiles:".json files:",jsonDescription:" Templates with ",jsonVariable:"${data.task.title}",leaveEmpty:"Leave empty:",leaveEmptyDescription:" Send raw data",example:"Example:",exampleFile:"simple-template.json"},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."},mdbaseSpec:{header:"mdbase type definitions",learnMore:"Learn more about mdbase-spec",enable:{name:"Generate mdbase type definitions",description:"Generate and maintain mdbase type files (mdbase.yaml and _types/task.md) at the vault root as your settings change."}},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",quickActionsTaskUnderCursor:"Quick actions for task under cursor",editCurrentTask:"Edit current task",cycleCurrentTaskStatus:"Cycle current task status",cycleCurrentTaskPriority:"Cycle current task priority",addProjectToCurrentTask:"Add project to current task",addSubtaskToCurrentNote:"Add subtask to current note",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",syncAllTasksGoogleCalendar:"Sync all tasks to Google Calendar",syncCurrentTaskGoogleCalendar:"Sync current task to Google Calendar",viewReleaseNotes:"View release notes",startTimeTrackingWithSelector:"Start time tracking (select task)",editTimeEntries:"Edit time entries (select task)",createOrOpenTask:"Create or open task",createOrOpenTaskWithTracking:"Create or open task and start time tracking",rolloverOverdueScheduledTasks:"Postpone overdue scheduled tasks to today"},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"},calendarEventCreation:{heading:"Create calendar event",dateTimeLabel:"Date & time: ",titleLabel:"Title",titleDesc:"Title for the calendar event",titlePlaceholder:"e.g., Team meeting",calendarLabel:"Calendar",calendarDesc:"Which calendar to create the event on",descriptionLabel:"Description",descriptionDesc:"Optional description for the event",descriptionPlaceholder:"Add details about this event...",locationLabel:"Location",locationDesc:"Optional location for the event",locationPlaceholder:"e.g., Conference Room A",createButton:"Create event",titleRequired:"Event title is required",noCalendarSelected:"No calendar selected",success:'Calendar event "{title}" created',error:"Failed to create calendar event: {message}"},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}",openCreatedTaskFailure:"Task created, but the task note could not be opened."}},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",deleteSuccess:'Task "{title}" deleted successfully',deleteFailure:"Failed to delete task: {message}"},deleteConfirmation:{title:"Delete task",message:'Are you sure you want to delete "{title}"? This moves the task note to Obsidian trash.',confirm:"Delete 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 must be enabled in the core daily notes plugin or periodic notes",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}",tags:"Tags",addTag:"Add tag\u2026",removeTag:"Remove {tag}",removeTagInput:"Remove tag\u2026",tagPlaceholder:"Tag or #tag",clearTags:"Clear tags",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",openNoteInNewTab:"Open note in new tab",copyTitle:"Copy task title",quickActions:"Quick actions",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",syncToGoogle:"Sync to Google Calendar",syncToGoogleNotConfigured:"Google Calendar sync not configured",syncToGoogleSuccess:"Task synced to Google Calendar",syncToGoogleFailed:"Failed to sync task to Google Calendar"},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",unknownDependency:"Unknown",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",contexts:"Contexts",addContext:"Add context\u2026",contextPlaceholder:"context",contextSelected:"\u2713 {context}",clearContexts:"Clear contexts",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",updateContextsFailed:"Failed to update contexts",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}",updateTagsFailed:"Failed to update tags"}},priority:{clearPriority:"Clear priority"},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:{labels:{due:"Due",scheduled:"Scheduled",recurrence:"Recurring",completed:"Completed",created:"Created",modified:"Modified",blocked:"Blocked",blocking:"Blocking"},blockedBadge:"Blocked",blockedBadgeTooltip:"This task is waiting on another task",blockingBadge:"Blocking",blockingBadgeTooltip:"This task is blocking another task",blockingToggle:"Blocking {count} tasks",priorityAriaLabel:"Priority: {label}",taskOptions:"Task options",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"1 reminder set (click to manage)",reminderTooltipMany:"{count} reminders set (click to manage)",detailsTooltip:"Task has details",projectTooltip:"This task is used as a project (click to filter subtasks)",expandSubtasks:"Expand subtasks",collapseSubtasks:"Collapse subtasks",dueToday:"{label}: Today",dueTodayAt:"{label}: Today at {time}",dueOverdue:"{label}: {display} (overdue)",dueLabel:"{label}: {display}",scheduledToday:"{label}: Today",scheduledTodayAt:"{label}: Today at {time}",scheduledPast:"{label}: {display} (past)",scheduledLabel:"{label}: {display}",loadingDependencies:"Loading dependencies...",blockingEmpty:"No dependent tasks",blockingLoadError:"Failed to load dependencies",googleCalendarSyncTooltip:"Synced to Google Calendar"},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",checklistProgress:"Checklist progress",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 wwe={common:{appName:"Notes de t\xE2ches",new:"Nouveau",cancel:"Annuler",confirm:"Confirmer",close:"Fermer",save:"Enregistrer",reorder:{confirmLargeTitle:"Confirmer la r\xE9organisation importante",confirmButton:"R\xE9organiser les notes",confirmLargeMessage:'La r\xE9organisation ici mettra \xE0 jour "{field}" dans {count} notes afin de cr\xE9er un ordre manuel persistant pour {scope}. Les notes masqu\xE9es ou filtr\xE9es dans le m\xEAme p\xE9rim\xE8tre peuvent aussi \xEAtre mises \xE0 jour. Continuer ?'},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)",ko:"Cor\xE9en"},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.",reorder:{scope:{ungrouped:"cette liste non group\xE9e",group:'groupe "{group}"'}},errors:{formulaGroupingReadOnly:"Impossible de r\xE9organiser les t\xE2ches dans des groupes bas\xE9s sur des formules. Les valeurs calcul\xE9es ne peuvent pas \xEAtre modifi\xE9es directement."}},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",contextMenu:{openDailyNote:"Ouvrir la note quotidienne",openWeeklyNote:"Ouvrir la note hebdomadaire"}},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",today:"Aller \xE0 aujourd'hui",prev:"Pr\xE9c\xE9dent",next:"Suivant",month:"Vue mensuelle",week:"Vue hebdomadaire",day:"Vue journali\xE8re",year:"Vue annuelle",list:"Vue liste",customDays:"Vue {count} jours"},settings:{groups:{dateNavigation:"Navigation par date",events:"\xC9v\xE9nements",layout:"Mise en page",view:"Vue",display:"Affichage",timeGrid:"Grille horaire",eventLayout:"Disposition des \xE9v\xE9nements",propertyBasedEvents:"\xC9v\xE9nements bas\xE9s sur les propri\xE9t\xE9s",calendarSubscriptions:"Abonnements au calendrier",googleCalendars:"Agendas Google",microsoftCalendars:"Calendriers Microsoft"},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",createDailyNotesFromDateLinks:"Cr\xE9er des notes quotidiennes depuis les liens de date",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",showCompletedRecurringInstances:"Afficher les instances r\xE9currentes termin\xE9es",showSkippedRecurringInstances:"Afficher les instances r\xE9currentes ignor\xE9es"},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)",dragDropResolution:"R\xE9solution du glisser-d\xE9poser",dragDropResolutionPlaceholder:"HH:mm:ss (ex. 00:05: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",showTimeGrid:"Afficher le d\xE9tail horaire",showTodayHighlight:"Mettre en surbrillance aujourd'hui",todayColumnWidthMultiplier:"Multiplicateur de largeur de la colonne du jour",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)",spanScheduledToDue:"\xC9tendre les t\xE2ches entre la date planifi\xE9e et la date d'\xE9ch\xE9ance",heightMode:"Mode de hauteur",heightModeFill:"Remplir le conteneur",heightModeAuto:"Hauteur automatique"},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"}},notices:{noDailyNoteForDate:"Aucune note quotidienne n'existe pour cette date."},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",reorder:{scope:{column:'colonne "{group}"',columnInSwimlane:'colonne "{group}" dans la swimlane "{swimlane}"'}},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'.",formulaGroupingReadOnly:"Impossible de d\xE9placer les t\xE2ches entre les colonnes bas\xE9es sur des formules. Les valeurs de formule sont calcul\xE9es et ne peuvent pas \xEAtre modifi\xE9es directement.",formulaSwimlaneReadOnly:"Impossible de d\xE9placer les t\xE2ches entre les couloirs bas\xE9s sur des formules. Les valeurs de formule sont calcul\xE9es et ne peuvent pas \xEAtre modifi\xE9es directement."},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",startFocus:"D\xE9marrer la concentration",addMinute:"Ajouter une minute",subtractMinute:"Retirer une minute"},notices:{noTasks:"Aucune t\xE2che non archiv\xE9e retrouv\xE9e. Cr\xE9ez d'abord quelques t\xE2ches.",loadFailed:"Impossible de charger les t\xE2ches",invalidDuration:"Saisissez une dur\xE9e comme 10, 10:30 ou 1:30:00."},statsLabel:"termin\xE9es aujourd'hui",meta:{ready:"{time} pr\xE9vu \xB7 {count} termin\xE9s aujourd\u2019hui",running:"{time} restant",paused:"{type} en pause \xB7 {time} restant",breakReady:"{type} pr\xEAt \xB7 {time} pr\xE9vu"},timer:{editLabel:"Modifier la dur\xE9e du minuteur",inputLabel:"Dur\xE9e du minuteur"}},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"},delete:"Supprimer la session",deleteAria:"Supprimer la session Pomodoro",deleteConfirmTitle:"Supprimer la session Pomodoro ?",deleteConfirmMessage:"Cela supprime la session de l\u2019historique Pomodoro. Les entr\xE9es de temps de t\xE2che existantes ne sont pas modifi\xE9es.",deleteConfirmButton:"Supprimer",deleteSuccess:"Session Pomodoro supprim\xE9e",deleteNotFound:"Session Pomodoro introuvable"},basesMigration:{title:"Vous voulez une vue Base ?",description:"Les vues Base Pomodoro utilisent le frontmatter des notes quotidiennes. Pour voir cet historique dans la Base de statistiques Pomodoro g\xE9n\xE9r\xE9e, migrez les donn\xE9es Pomodoro dans les param\xE8tres, puis d\xE9finissez le stockage sur les notes quotidiennes."}},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:"Nous appr\xE9cions vraiment tous les retours. Si quelque chose ne vous semble pas correct, dites-le-nous sur GitHub. Si TaskNotes vous est utile, pensez \xE0 lui donner une \xE9toile.",baseFilesNotice:"> [!info] \xC0 propos des fichiers `.base` par d\xE9faut\n> Les modifications des mod\xE8les `.base` g\xE9n\xE9r\xE9s par d\xE9faut n'\xE9crasent pas vos fichiers `.base` existants, afin de pr\xE9server vos personnalisations.\n> Si vous souhaitez profiter des derni\xE8res am\xE9liorations de mod\xE8les, r\xE9g\xE9n\xE9rez les fichiers base via **Param\xE8tres \u2192 TaskNotes \u2192 G\xE9n\xE9ral \u2192 Cr\xE9er les fichiers**."}},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."},taskCreation:{header:"Cr\xE9ation de t\xE2ches",description:"Configurer ce qui se passe apr\xE8s la cr\xE9ation des t\xE2ches.",openAfterCreate:{name:"Ouvrir la t\xE2che apr\xE8s cr\xE9ation",description:"Choisir si la fen\xEAtre normale Cr\xE9er une t\xE2che ouvre la nouvelle note de t\xE2che apr\xE8s l'enregistrement.",options:{none:"Ne pas ouvrir",sameTab:"Ouvrir dans le m\xEAme onglet",newTab:"Ouvrir dans un nouvel onglet"}}},overlays:{taskLinkToggle:{name:"Survol des liens de t\xE2ches",description:"Afficher des superpositions interactives lorsque la souris passe sur les liens de t\xE2ches"},aliasExclusion:{name:"D\xE9sactiver la superposition pour les liens avec alias",description:"Ne pas afficher le widget de t\xE2che si le lien contient un alias (ex. [[T\xE2che|Alias]])."}},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"},preserveCheckbox:{name:"Conserver la case \xE0 cocher lors de la conversion",description:"Laisser le marqueur de case \xE0 cocher Markdown d'origine en place lors de la conversion d'une case \xE0 cocher en lien TaskNote"},folder:{name:"Dossier des t\xE2ches cr\xE9\xE9es en ligne",description:"Dossier o\xF9 seront cr\xE9\xE9es les t\xE2ches issues de commandes en ligne ou de la conversion de cases \xE0 cocher. Laissez 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\u2019apr\xE8s la note actuelle."}},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"},mobileSidebar:{name:"Barre lat\xE9rale mobile",description:"O\xF9 ouvrir le minuteur Pomodoro sur les appareils mobiles",tab:"Panneau de notes",left:"Barre lat\xE9rale gauche",right:"Barre lat\xE9rale droite"},statusBar:{name:"Afficher Pomodoro dans la barre d\u2019\xE9tat",description:"Afficher le compte \xE0 rebours Pomodoro actif dans la barre d\u2019\xE9tat d\u2019Obsidian"}},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",soundEnabledName:"Son de notification",soundEnabledDesc:"Jouer un son lorsque les rappels de t\xE2che se d\xE9clenchent",soundVolumeName:"Volume du son",soundVolumeDesc:"Volume des sons de rappel de t\xE2che (0-100)",soundPreviewName:"Pr\xE9\xE9couter le son de notification",soundPreviewDesc:"Jouer le son de rappel de t\xE2che configur\xE9",soundPreviewButton:"Pr\xE9\xE9couter",testReminderName:"Envoyer un rappel de test",testReminderDesc:"Envoyer un rappel de test avec le type de notification et les param\xE8tres sonores actuels.",testReminderButton:"Envoyer le test"},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",resetCheckboxesName:"R\xE9initialiser les cases \xE0 cocher lors de la r\xE9currence",resetCheckboxesDesc:"R\xE9initialiser toutes les cases \xE0 cocher markdown dans le corps de la t\xE2che lorsqu'une t\xE2che r\xE9currente est termin\xE9e et reprogramm\xE9e"},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",defaultColorName:"Couleur par d\xE9faut des blocs de temps",defaultColorDesc:"La couleur par d\xE9faut utilis\xE9e lors de la cr\xE9ation de nouveaux blocs de temps",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."},debugLogging:{header:"Journalisation du d\xE9bogage",description:"Configure la sortie des journaux de d\xE9bogage pour la r\xE9solution des probl\xE8mes.",enableName:"Activer la journalisation de d\xE9bogage",enableDesc:"Consigner les diagnostics d\xE9taill\xE9s de glisser-d\xE9poser et de vue dans la console d\xE9veloppeur. Utile pour le d\xE9pannage."}},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"},useParentHeaderAsProject:{name:"Utiliser le titre parent comme projet lors de la conversion instantan\xE9e",description:"Lier automatiquement le titre le plus proche au-dessus de la ligne convertie 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 des nouvelles t\xE2ches. Prend en charge les variables de mod\xE8le de dossier comme {{currentNotePath}}, {{currentNoteTitle}} et {{projectFilePath}}, ainsi que les jetons de date de style Daily Notes comme YYYY/MM/DD."},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"},hideIdentifyingTagsMode:{name:"Port\xE9e des tags masqu\xE9s",description:"Choisissez si le masquage des tags d'identification masque aussi les tags imbriqu\xE9s.",options:{all:"Tag de t\xE2che et tags imbriqu\xE9s",exactOnly:"Tag de t\xE2che exact seulement"}},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."},sortOrder:{name:"Ordre manuel",description:"Propri\xE9t\xE9 de frontmatter utilis\xE9e pour le classement manuel par glisser-d\xE9poser. Une vue doit \xEAtre tri\xE9e par cette propri\xE9t\xE9 pour que le glisser-d\xE9poser fonctionne."},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 :",useParentHeader:"Utiliser le titre parent comme projet :",inheritParentTaskProperties:"H\xE9riter des propri\xE9t\xE9s de la t\xE2che parente pour les sous-t\xE2ches :",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 :",legacySyntaxWarning:"La syntaxe \xE0 accolades simples comme {title} est obsol\xE8te. Veuillez utiliser la syntaxe \xE0 accolades doubles {{title}} pour la coh\xE9rence avec les mod\xE8les de corps."},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 :",excludeFromCycle:"Ignorer au cycle :",nextStatus:"Statut suivant :",autoArchive:"Archivage auto :",delayMinutes:"D\xE9lai (minutes) :"},placeholders:{value:"en-cours",label:"En cours",icon:"check, circle, clock",nextStatusDefault:"Utiliser l'ordre des statuts"},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",icon:"Ic\xF4ne : Ic\xF4ne Lucide facultative \xE0 afficher sur les cartes de t\xE2ches \xE0 la place du point 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 :",icon:"Ic\xF4ne :",weight:"Poids :"},placeholders:{value:"elevee",label:"Priorit\xE9 \xE9lev\xE9e",icon:"alert-circle"},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",sortOrder:"Ordre manuel",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",checklistProgress:"Progression de la liste de contr\xF4le",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",uuid:"UUID v4"}},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}}, {{uuid}}, {{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). Utilisez des valeurs sup\xE9rieures \xE0 24:00 pour afficher les premi\xE8res heures du jour suivant, par exemple 26:00 pour 2 h.",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"Barrer les titres des t\xE2ches termin\xE9es",description:"Trace une ligne sur les titres des cartes de t\xE2ches termin\xE9es. D\xE9sactivez cette option pour rendre les t\xE2ches termin\xE9es plus lisibles"},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"},expandSubtasksByDefault:{name:"D\xE9velopper les sous-t\xE2ches par d\xE9faut",description:"Afficher les sous-t\xE2ches de projet d\xE9velopp\xE9es lorsque les cartes de t\xE2ches sont rendues"},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:{mobileCalendar:{disable:{name:"D\xE9sactiver les int\xE9grations de calendrier sur mobile",description:"Ne pas charger les calendriers Google, Microsoft et ICS dans Obsidian Mobile. Les int\xE9grations de calendrier sur ordinateur restent inchang\xE9es."},status:{name:"Les int\xE9grations de calendrier sont d\xE9sactiv\xE9es sur cet appareil mobile",description:"D\xE9sactivez ce r\xE9glage puis rechargez Obsidian Mobile pour reprendre le chargement des calendriers."}},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, utilisez \xAB Mettre \xE0 jour les fichiers \xBB ci-dessous, supprimez les fichiers .base existants et red\xE9marrez Obsidian, 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",pomodoroStats:"Base de statistiques Pomodoro"},fileLabel:"Fichier : {path}",resetButton:"R\xE9initialiser",resetTooltip:"R\xE9initialiser au chemin par d\xE9faut",pomodoroDailyNotesHint:"La Base de statistiques Pomodoro g\xE9n\xE9r\xE9e lit l\u2019historique Pomodoro depuis les notes quotidiennes. Si votre historique est encore stock\xE9 dans les donn\xE9es du plugin, migrez-le dans les param\xE8tres avant d\u2019utiliser ce fichier Base."},autoCreateDefaultFiles:{name:"Cr\xE9er automatiquement les fichiers par d\xE9faut",description:"Cr\xE9er automatiquement les fichiers Base par d\xE9faut manquants au d\xE9marrage. D\xE9sactivez pour emp\xEAcher la recr\xE9ation des fichiers d'exemple supprim\xE9s."},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."},updateDefaultFiles:{name:"Mettre \xE0 jour les fichiers par d\xE9faut",description:"Remplacer les fichiers .base par d\xE9faut configur\xE9s par des mod\xE8les g\xE9n\xE9r\xE9s \xE0 partir de vos param\xE8tres TaskNotes actuels.",buttonText:"Mettre \xE0 jour les fichiers",confirmTitle:"Mettre \xE0 jour les fichiers Base par d\xE9faut",confirmMessage:"Cela remplacera les fichiers .base par d\xE9faut configur\xE9s par des mod\xE8les fra\xEEchement g\xE9n\xE9r\xE9s. Toute modification manuelle de ces fichiers sera remplac\xE9e.",confirmText:"Mettre \xE0 jour les fichiers"}},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}"},useICSEndAsDue:{name:"Utiliser l'heure de fin de l'\xE9v\xE9nement ICS comme date d'\xE9ch\xE9ance",description:"Lorsqu'activ\xE9, les t\xE2ches cr\xE9\xE9es \xE0 partir d'\xE9v\xE9nements de calendrier auront leur date d'\xE9ch\xE9ance d\xE9finie sur l'heure de fin de l'\xE9v\xE9nement. Pour les \xE9v\xE9nements sur toute la journ\xE9e, la date d'\xE9ch\xE9ance sera la date de l'\xE9v\xE9nement. Pour les \xE9v\xE9nements avec horaire, la date d'\xE9ch\xE9ance inclura l'heure de fin."}},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"},useDuration:{name:"Utiliser la dur\xE9e de la t\xE2che pour la longueur de l'\xE9v\xE9nement",description:"Lorsque activ\xE9, utilise l'estimation de temps (dur\xE9e) de la t\xE2che au lieu de la date d'\xE9ch\xE9ance pour l'heure de fin de l'\xE9v\xE9nement du calendrier. Ceci est utile pour les flux de travail GTD o\xF9 planifi\xE9 + dur\xE9e repr\xE9sente la planification du travail, tandis que la date d'\xE9ch\xE9ance repr\xE9sente les d\xE9lais."},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"},excludeCompleted:{name:"Exclure les t\xE2ches termin\xE9es",description:"Lorsque cette option est activ\xE9e, les t\xE2ches termin\xE9es sont omises des exports ICS. Les statuts termin\xE9s proviennent de vos param\xE8tres de statut de t\xE2che."},excludeArchived:{name:"Exclure les t\xE2ches archiv\xE9es",description:"Lorsque cette option est activ\xE9e, les t\xE2ches archiv\xE9es sont omises des exports ICS."},requireDueDate:{name:"Exiger une date d\u2019\xE9ch\xE9ance",description:"Lorsque cette option est activ\xE9e, seules les t\xE2ches avec une date d\u2019\xE9ch\xE9ance sont incluses dans les exports ICS."},requireScheduledDate:{name:"Exiger une date planifi\xE9e",description:"Lorsque cette option est activ\xE9e, seules les t\xE2ches avec une date planifi\xE9e sont incluses dans les exports ICS."}},googleCalendarExport:{header:"Exporter les t\xE2ches vers Google Agenda",description:"Synchronisez automatiquement vos t\xE2ches vers Google Agenda en tant qu'\xE9v\xE9nements. N\xE9cessite que Google Agenda soit connect\xE9 ci-dessus.",enable:{name:"Activer l'export des t\xE2ches",description:"Lorsqu'activ\xE9, les t\xE2ches avec des dates seront automatiquement synchronis\xE9es vers Google Agenda en tant qu'\xE9v\xE9nements."},targetCalendar:{name:"Calendrier cible",description:"S\xE9lectionnez dans quel calendrier cr\xE9er les \xE9v\xE9nements de t\xE2ches.",placeholder:"S\xE9lectionner un calendrier...",connectFirst:"Connectez d'abord Google Agenda",primarySuffix:" (Principal)"},syncTrigger:{name:"D\xE9clencheur de synchronisation",description:"Quelle date de t\xE2che doit d\xE9clencher la cr\xE9ation d'\xE9v\xE9nement.",options:{scheduled:"Date planifi\xE9e",due:"Date d'\xE9ch\xE9ance",both:"Les deux (pr\xE9f\xE9rer planifi\xE9e)"}},allDayEvents:{name:"Cr\xE9er en tant qu'\xE9v\xE9nements journ\xE9e enti\xE8re",description:"Lorsqu'activ\xE9, les t\xE2ches sont cr\xE9\xE9es en tant qu'\xE9v\xE9nements journ\xE9e enti\xE8re. Lorsque d\xE9sactiv\xE9, utilise l'estimation de temps pour la dur\xE9e."},defaultDuration:{name:"Dur\xE9e par d\xE9faut de l'\xE9v\xE9nement",description:"Dur\xE9e en minutes pour les \xE9v\xE9nements horodat\xE9s (utilis\xE9e lorsque la t\xE2che n'a pas d'estimation de temps)."},eventTitleTemplate:{name:"Mod\xE8le de titre d'\xE9v\xE9nement",description:"Mod\xE8le pour les titres d'\xE9v\xE9nements. Variables disponibles : {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"Inclure les d\xE9tails de la t\xE2che dans la description",description:"Ajouter les m\xE9tadonn\xE9es de la t\xE2che (priorit\xE9, statut, tags, etc.) \xE0 la description de l'\xE9v\xE9nement."},includeObsidianLink:{name:"Inclure le lien Obsidian",description:"Ajouter un lien vers la t\xE2che dans Obsidian dans la description de l'\xE9v\xE9nement."},defaultReminder:{name:"Rappel par d\xE9faut",description:"Ajoutez des rappels contextuels aux \xE9v\xE9nements Google Calendar minut\xE9s. Saisissez les minutes avant l\u2019\xE9v\xE9nement, s\xE9par\xE9es par des virgules. Laissez vide pour utiliser les valeurs par d\xE9faut du calendrier. Valeurs courantes : 15, 30, 60, 1440."},automaticSyncBehavior:{header:"Comportement de synchronisation automatique"},syncOnCreate:{name:"Synchroniser \xE0 la cr\xE9ation de t\xE2che",description:"Cr\xE9er automatiquement un \xE9v\xE9nement de calendrier lorsqu'une nouvelle t\xE2che est cr\xE9\xE9e."},syncOnUpdate:{name:"Synchroniser \xE0 la mise \xE0 jour de t\xE2che",description:"Mettre \xE0 jour automatiquement l'\xE9v\xE9nement de calendrier lorsqu'une t\xE2che est modifi\xE9e."},syncOnComplete:{name:"Synchroniser \xE0 l'ach\xE8vement de t\xE2che",description:"Mettre \xE0 jour l'\xE9v\xE9nement de calendrier lorsqu'une t\xE2che est compl\xE9t\xE9e (ajoute une coche au titre)."},syncOnDelete:{name:"Supprimer l'\xE9v\xE9nement \xE0 la suppression de t\xE2che",description:"Supprimer l'\xE9v\xE9nement de calendrier lorsque la t\xE2che correspondante est supprim\xE9e."},manualSyncActions:{header:"Actions de synchronisation manuelle"},syncAllTasks:{name:"Synchroniser toutes les t\xE2ches",description:"Synchroniser toutes les t\xE2ches existantes vers Google Agenda. Cela cr\xE9era des \xE9v\xE9nements pour les t\xE2ches qui n'ont pas encore \xE9t\xE9 synchronis\xE9es.",buttonText:"Tout synchroniser"},unlinkAllTasks:{name:"Dissocier toutes les t\xE2ches",description:"Supprimer tous les liens t\xE2che-\xE9v\xE9nement sans supprimer les \xE9v\xE9nements du calendrier.",buttonText:"Tout dissocier",confirmTitle:"Dissocier toutes les t\xE2ches",confirmMessage:"Cela supprimera tous les liens entre les t\xE2ches et les \xE9v\xE9nements de calendrier. Les \xE9v\xE9nements du calendrier resteront mais ne seront plus mis \xE0 jour lorsque les t\xE2ches changent. \xCAtes-vous s\xFBr ?",confirmButtonText:"Tout dissocier"},notices:{notEnabled:"L'export Google Agenda n'est pas activ\xE9. Configurez-le dans Param\xE8tres > Int\xE9grations.",notEnabledOrConfigured:"L'export Google Agenda n'est pas activ\xE9 ou configur\xE9",serviceNotAvailable:"Service de synchronisation calendrier non disponible",syncResults:"Synchronis\xE9s : {synced}, \xC9chou\xE9s : {failed}, Ignor\xE9s : {skipped}",taskSynced:"T\xE2che synchronis\xE9e vers Google Agenda",noActiveFile:"Aucun fichier n'est actuellement actif",notATask:"Le fichier actuel n'est pas une t\xE2che",noDateToSync:"La t\xE2che n'a pas de date planifi\xE9e ou d'\xE9ch\xE9ance \xE0 synchroniser",syncFailed:"\xC9chec de la synchronisation de la t\xE2che vers Google Agenda : {message}",connectionExpired:"La connexion \xE0 Google Agenda a expir\xE9. Veuillez vous reconnecter dans Param\xE8tres > Int\xE9grations.",syncingTasks:"Synchronisation de {total} t\xE2ches vers Google Agenda...",syncComplete:"Synchronisation termin\xE9e : {synced} synchronis\xE9es, {failed} \xE9chou\xE9es, {skipped} ignor\xE9es",eventsDeletedAndUnlinked:"Tous les \xE9v\xE9nements supprim\xE9s et dissoci\xE9s",tasksUnlinked:"Tous les liens de t\xE2ches supprim\xE9s"},eventDescription:{untitledTask:"T\xE2che sans titre",priority:"Priorit\xE9 : {value}",status:"Statut : {value}",due:"\xC9ch\xE9ance : {value}",scheduled:"Planifi\xE9 : {value}",timeEstimate:"Estimation de temps : {value}",tags:"Tags : {value}",contexts:"Contextes : {value}",projects:"Projets : {value}",openInObsidian:"Ouvrir dans Obsidian"}},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"},mcp:{enable:{name:"Activer le serveur MCP",description:"Expose les outils TaskNotes via le Model Context Protocol sur le point de terminaison /mcp. N\xE9cessite l'activation de l'API HTTP."}},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 mod\xE8le .json dans votre coffre qui transforme les donn\xE9es du webhook",placeholder:"simple-template.json"},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 mod\xE8le .json dans votre coffre qui transforme les donn\xE9es du webhook",placeholder:"simple-template.json"},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 mod\xE8les de transformation JSON permettent de personnaliser les donn\xE9es du webhook :",jsFiles:"",jsDescription:"",jsonFiles:"Fichiers .json :",jsonDescription:" Mod\xE8les avec ",jsonVariable:"${data.task.title}",leaveEmpty:"Laisser vide :",leaveEmptyDescription:" Envoyer les donn\xE9es brutes",example:"Exemple :",exampleFile:"simple-template.json"},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."},mdbaseSpec:{header:"D\xE9finitions de types mdbase",learnMore:"En savoir plus sur mdbase-spec",enable:{name:"G\xE9n\xE9rer les d\xE9finitions de types mdbase",description:"G\xE9n\xE8re et maintient les fichiers de types mdbase (mdbase.yaml et _types/task.md) \xE0 la racine du coffre lorsque vos param\xE8tres changent."}},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",createOrOpenTaskWithTracking:"Cr\xE9er ou ouvrir une t\xE2che et d\xE9marrer le suivi du temps",rolloverOverdueScheduledTasks:"Reporter \xE0 aujourd'hui les t\xE2ches planifi\xE9es en retard",syncAllTasksGoogleCalendar:"Synchroniser toutes les t\xE2ches vers Google Agenda",syncCurrentTaskGoogleCalendar:"Synchroniser la t\xE2che actuelle vers Google Agenda",quickActionsTaskUnderCursor:"Actions rapides pour la t\xE2che sous le curseur",editCurrentTask:"Modifier la t\xE2che actuelle",cycleCurrentTaskStatus:"Faire d\xE9filer le statut de la t\xE2che actuelle",cycleCurrentTaskPriority:"Faire d\xE9filer la priorit\xE9 de la t\xE2che actuelle",addProjectToCurrentTask:"Ajouter un projet \xE0 la t\xE2che actuelle",addSubtaskToCurrentNote:"Ajouter une sous-t\xE2che \xE0 la note actuelle"},modals:{deviceCode:{title:"Autorisation Google Agenda",instructions:{intro:"Pour connecter votre Google Agenda, 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"},calendarEventCreation:{heading:"Cr\xE9er un \xE9v\xE9nement",dateTimeLabel:"Date et heure : ",titleLabel:"Titre",titleDesc:"Titre de l'\xE9v\xE9nement",titlePlaceholder:"ex., R\xE9union d'\xE9quipe",calendarLabel:"Calendrier",calendarDesc:"Dans quel calendrier cr\xE9er l'\xE9v\xE9nement",descriptionLabel:"Description",descriptionDesc:"Description facultative de l'\xE9v\xE9nement",descriptionPlaceholder:"Ajouter des d\xE9tails sur cet \xE9v\xE9nement...",locationLabel:"Lieu",locationDesc:"Lieu facultatif de l'\xE9v\xE9nement",locationPlaceholder:"ex., Salle de r\xE9union A",createButton:"Cr\xE9er l'\xE9v\xE9nement",titleRequired:"Le titre de l'\xE9v\xE9nement est requis",noCalendarSelected:"Aucun calendrier s\xE9lectionn\xE9",success:'\xC9v\xE9nement "{title}" cr\xE9\xE9',error:"Impossible de cr\xE9er l'\xE9v\xE9nement : {message}"},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:"modeles/modele-note-ics.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}",openCreatedTaskFailure:"T\xE2che cr\xE9\xE9e, mais la note de t\xE2che n'a pas pu \xEAtre ouverte."}},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",deleteSuccess:"T\xE2che \xAB {title} \xBB supprim\xE9e avec succ\xE8s",deleteFailure:"\xC9chec de la suppression de la t\xE2che : {message}"},archiveAction:{archived:"archiv\xE9e",unarchived:"d\xE9sarchiv\xE9e"},deleteConfirmation:{title:"Supprimer la t\xE2che",message:"Voulez-vous vraiment supprimer \xAB {title} \xBB ? Cela d\xE9place la note de t\xE2che vers la corbeille d\u2019Obsidian.",confirm:"Supprimer la t\xE2che"}},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:"Les notes quotidiennes doivent \xEAtre activ\xE9es dans le plugin noyau des notes quotidiennes ou dans Periodic Notes",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",openNoteInNewTab:"Ouvrir la note dans un nouvel onglet",copyTitle:"Copier le titre de la t\xE2che",quickActions:"Actions rapides",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:"Calendrier Outlook",yahoo:"Calendrier Yahoo",downloadIcs:"T\xE9l\xE9charger le fichier .ics",syncToGoogle:"Synchroniser avec Google Agenda",syncToGoogleNotConfigured:"Synchronisation Google Agenda non configur\xE9e",syncToGoogleSuccess:"T\xE2che synchronis\xE9e avec Google Agenda",syncToGoogleFailed:"\xC9chec de la synchronisation avec Google Agenda"},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",unknownDependency:"Inconnu",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",updateContextsFailed:"\xC9chec de la mise \xE0 jour des contextes"},contexts:"Contextes",addContext:"Ajouter un contexte\u2026",contextPlaceholder:"contexte",contextSelected:"\u2713 {context}",clearContexts:"Effacer les contextes"},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}",updateTagsFailed:"\xC9chec de la mise \xE0 jour des \xE9tiquettes"},tags:"\xC9tiquettes",addTag:"Ajouter une \xE9tiquette\u2026",removeTag:"Supprimer {tag}",removeTagInput:"Supprimer une \xE9tiquette\u2026",tagPlaceholder:"\xC9tiquette ou #\xE9tiquette",clearTags:"Effacer les \xE9tiquettes"},priority:{clearPriority:"Supprimer la priorit\xE9"},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:{labels:{due:"\xC9ch\xE9ance",scheduled:"Planifi\xE9",recurrence:"R\xE9current",completed:"Termin\xE9",created:"Cr\xE9\xE9",modified:"Modifi\xE9",blocked:"Bloqu\xE9",blocking:"Bloquant"},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",priorityAriaLabel:"Priorit\xE9 : {label}",taskOptions:"Options de t\xE2che",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"1 rappel d\xE9fini (cliquer pour g\xE9rer)",reminderTooltipMany:"{count} rappels d\xE9finis (cliquer pour g\xE9rer)",projectTooltip:"Cette t\xE2che est utilis\xE9e comme projet (cliquer pour filtrer les sous-t\xE2ches)",expandSubtasks:"D\xE9plier les sous-t\xE2ches",collapseSubtasks:"Replier les sous-t\xE2ches",dueToday:"{label}: Aujourd'hui",dueTodayAt:"{label}: Aujourd'hui \xE0 {time}",dueOverdue:"{label}: {display} (en retard)",dueLabel:"{label}: {display}",scheduledToday:"{label}: Aujourd'hui",scheduledTodayAt:"{label}: Aujourd'hui \xE0 {time}",scheduledPast:"{label}: {display} (pass\xE9)",scheduledLabel:"{label}: {display}",loadingDependencies:"Chargement des d\xE9pendances\u2026",blockingEmpty:"Aucune t\xE2che d\xE9pendante",blockingLoadError:"\xC9chec du chargement des d\xE9pendances",googleCalendarSyncTooltip:"Synchronis\xE9 avec Google Agenda",detailsTooltip:"La t\xE2che a des d\xE9tails"},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",checklistProgress:"Progression de la liste de contr\xF4le",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 Swe={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",reorder:{confirmLargeTitle:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043F\u0435\u0440\u0435\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u0435",confirmButton:"\u041F\u0435\u0440\u0435\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0438",confirmLargeMessage:'\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u0438 \u0437\u0434\u0435\u0441\u044C \u043F\u043E\u043B\u0435 "{field}" \u0431\u0443\u0434\u0435\u0442 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0432 {count} \u0437\u0430\u043C\u0435\u0442\u043A\u0430\u0445, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u044B\u0439 \u0440\u0443\u0447\u043D\u043E\u0439 \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u0434\u043B\u044F {scope}. \u0421\u043A\u0440\u044B\u0442\u044B\u0435 \u0438\u043B\u0438 \u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0432 \u0442\u043E\u0439 \u0436\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0442\u043E\u0436\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u044B. \u041F\u0440\u043E\u0434\u043E\u043B\u0436\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)",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439"},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.",reorder:{scope:{ungrouped:"\u044D\u0442\u043E\u0442 \u043D\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",group:'\u0433\u0440\u0443\u043F\u043F\u0430 "{group}"'}},errors:{formulaGroupingReadOnly:"\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u0435\u0440\u0435\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0433\u0440\u0443\u043F\u043F\u0430\u0445 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0444\u043E\u0440\u043C\u0443\u043B. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0444\u043E\u0440\u043C\u0443\u043B \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u044E\u0442\u0441\u044F \u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E."}},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",contextMenu:{openDailyNote:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443",openWeeklyNote:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0435\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443"}},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 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",today:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0435\u0433\u043E\u0434\u043D\u044F",prev:"\u041D\u0430\u0437\u0430\u0434",next:"\u0412\u043F\u0435\u0440\u0451\u0434",month:"\u0412\u0438\u0434 \u043F\u043E \u043C\u0435\u0441\u044F\u0446\u0430\u043C",week:"\u0412\u0438\u0434 \u043F\u043E \u043D\u0435\u0434\u0435\u043B\u044F\u043C",day:"\u0412\u0438\u0434 \u043F\u043E \u0434\u043D\u044F\u043C",year:"\u0412\u0438\u0434 \u043F\u043E \u0433\u043E\u0434\u0430\u043C",list:"\u0412\u0438\u0434 \u0441\u043F\u0438\u0441\u043A\u043E\u043C",customDays:"\u0412\u0438\u0434 \u043D\u0430 {count} \u0434\u043D\u0435\u0439"},settings:{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",view:"\u0412\u0438\u0434",display:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",timeGrid:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0441\u0435\u0442\u043A\u0430",eventLayout:"\u0420\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u0439",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:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 Google",microsoftCalendars:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 Microsoft"},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",createDailyNotesFromDateLinks:"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0438\u0437 \u0441\u0441\u044B\u043B\u043E\u043A \u0434\u0430\u0442",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",showCompletedRecurringInstances:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u044B\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B",showSkippedRecurringInstances:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B"},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)",dragDropResolution:"\u0428\u0430\u0433 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F",dragDropResolutionPlaceholder:"\u0427\u0427:\u043C\u043C:\u0441\u0441 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 00:05: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",showTimeGrid:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u0441\u0435\u0442\u043A\u0443",showTodayHighlight:"\u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0441\u0435\u0433\u043E\u0434\u043D\u044F",todayColumnWidthMultiplier:"\u041C\u043D\u043E\u0436\u0438\u0442\u0435\u043B\u044C \u0448\u0438\u0440\u0438\u043D\u044B \u043A\u043E\u043B\u043E\u043D\u043A\u0438 \u0441\u0435\u0433\u043E\u0434\u043D\u044F\u0448\u043D\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)",spanScheduledToDue:"\u0420\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0438 \u0441\u0440\u043E\u0447\u043D\u043E\u0439 \u0434\u0430\u0442\u0430\u043C\u0438",heightMode:"\u0420\u0435\u0436\u0438\u043C \u0432\u044B\u0441\u043E\u0442\u044B",heightModeFill:"\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440",heightModeAuto:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0432\u044B\u0441\u043E\u0442\u0430"},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"}},notices:{noDailyNoteForDate:"\u0414\u043B\u044F \u044D\u0442\u043E\u0439 \u0434\u0430\u0442\u044B \u043D\u0435\u0442 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0438."},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",reorder:{scope:{column:'\u043A\u043E\u043B\u043E\u043D\u043A\u0430 "{group}"',columnInSwimlane:'\u043A\u043E\u043B\u043E\u043D\u043A\u0430 "{group}" \u0432 swimlane "{swimlane}"'}},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'.",formulaGroupingReadOnly:"\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u043C\u0435\u0436\u0434\u0443 \u043A\u043E\u043B\u043E\u043D\u043A\u0430\u043C\u0438 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0444\u043E\u0440\u043C\u0443\u043B. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0444\u043E\u0440\u043C\u0443\u043B \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u044E\u0442\u0441\u044F \u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E.",formulaSwimlaneReadOnly:"\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u043C\u0435\u0436\u0434\u0443 \u0434\u043E\u0440\u043E\u0436\u043A\u0430\u043C\u0438 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0444\u043E\u0440\u043C\u0443\u043B. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0444\u043E\u0440\u043C\u0443\u043B \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u044E\u0442\u0441\u044F \u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E."},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",startFocus:"\u041D\u0430\u0447\u0430\u0442\u044C \u0444\u043E\u043A\u0443\u0441",addMinute:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043E\u0434\u043D\u0443 \u043C\u0438\u043D\u0443\u0442\u0443",subtractMinute:"\u0412\u044B\u0447\u0435\u0441\u0442\u044C \u043E\u0434\u043D\u0443 \u043C\u0438\u043D\u0443\u0442\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",invalidDuration:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 10, 10:30 \u0438\u043B\u0438 1:30:00."},statsLabel:"\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E \u0441\u0435\u0433\u043E\u0434\u043D\u044F",meta:{ready:"{time} \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E \xB7 {count} \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E \u0441\u0435\u0433\u043E\u0434\u043D\u044F",running:"\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C {time}",paused:"{type} \u043D\u0430 \u043F\u0430\u0443\u0437\u0435 \xB7 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C {time}",breakReady:"{type} \u0433\u043E\u0442\u043E\u0432\u043E \xB7 {time} \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E"},timer:{editLabel:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440\u0430",inputLabel:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440\u0430"}},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"},delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E",deleteAria:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E Pomodoro",deleteConfirmTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E Pomodoro?",deleteConfirmMessage:"\u042D\u0442\u043E \u0443\u0434\u0430\u043B\u0438\u0442 \u0441\u0435\u0441\u0441\u0438\u044E \u0438\u0437 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 Pomodoro. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0437\u0430\u0434\u0430\u0447 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u0441\u044F.",deleteConfirmButton:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",deleteSuccess:"\u0421\u0435\u0441\u0441\u0438\u044F Pomodoro \u0443\u0434\u0430\u043B\u0435\u043D\u0430",deleteNotFound:"\u0421\u0435\u0441\u0441\u0438\u044F Pomodoro \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430"},basesMigration:{title:"\u041D\u0443\u0436\u043D\u043E \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 Base?",description:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F Base Pomodoro \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 frontmatter \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A. \u0427\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u044D\u0442\u0443 \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0432 \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 Base \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0438 Pomodoro, \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 Pomodoro \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445, \u0437\u0430\u0442\u0435\u043C \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \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."}},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:"\u041C\u044B \u043E\u0447\u0435\u043D\u044C \u0446\u0435\u043D\u0438\u043C \u043B\u044E\u0431\u044B\u0435 \u043E\u0442\u0437\u044B\u0432\u044B. \u0415\u0441\u043B\u0438 \u0447\u0442\u043E-\u0442\u043E \u043A\u0430\u0436\u0435\u0442\u0441\u044F \u043D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u043C, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u0435 \u043D\u0430\u043C \u043D\u0430 GitHub. \u0415\u0441\u043B\u0438 TaskNotes \u043F\u043E\u043B\u0435\u0437\u0435\u043D \u0434\u043B\u044F \u0432\u0430\u0441, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0432\u0435\u0437\u0434\u0443.",baseFilesNotice:"> [!info] \u041E \u0444\u0430\u0439\u043B\u0430\u0445 `.base` \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E\n> \u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432 \u0448\u0430\u0431\u043B\u043E\u043D\u0430\u0445 `.base`, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u044E\u0442\u0441\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E, \u043D\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u044E\u0442 \u0432\u0430\u0448\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0444\u0430\u0439\u043B\u044B `.base`, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0432\u0430\u0448\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u044E\u0442\u0441\u044F.\n> \u0427\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u043D\u043E\u0432\u044B\u0445 \u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432, \u043F\u0435\u0440\u0435\u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0435 \u0444\u0430\u0439\u043B\u044B \u0432 **\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u2192 TaskNotes \u2192 \u041E\u0431\u0449\u0438\u0435 \u2192 \u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B**."}},settings:{header:{documentation:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044F",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."},taskCreation:{header:"\u0421\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435, \u0447\u0442\u043E \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442 \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447.",openAfterCreate:{name:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u043E\u0431\u044B\u0447\u043D\u043E\u0435 \u043E\u043A\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043D\u043E\u0432\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F.",options:{none:"\u041D\u0435 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C",sameTab:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432 \u0442\u043E\u0439 \u0436\u0435 \u0432\u043A\u043B\u0430\u0434\u043A\u0435",newTab:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435"}}},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"},aliasExclusion:{name:"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0434\u043B\u044F \u0441\u0441\u044B\u043B\u043E\u043A \u0441 \u043F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C\u0430\u043C\u0438",description:"\u041D\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0438, \u0435\u0441\u043B\u0438 \u0441\u0441\u044B\u043B\u043A\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, [[\u0417\u0430\u0434\u0430\u0447\u0430|\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C]])."}},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"},preserveCheckbox:{name:"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u0444\u043B\u0430\u0436\u043E\u043A \u043F\u0440\u0438 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0438",description:"\u041E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u043C\u0430\u0440\u043A\u0435\u0440 \u0444\u043B\u0430\u0436\u043A\u0430 Markdown \u043F\u0440\u0438 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0444\u043B\u0430\u0436\u043A\u0430 \u0432 \u0441\u0441\u044B\u043B\u043A\u0443 TaskNote"},folder:{name:"\u041F\u0430\u043F\u043A\u0430 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0445 inline",description:"\u041F\u0430\u043F\u043A\u0430, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0437 inline-\u043A\u043E\u043C\u0430\u043D\u0434 \u0438\u043B\u0438 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432. \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043F\u0430\u043F\u043A\u0443 \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 \u0438\u043C\u0435\u043D\u0435\u043C \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \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"},mobileSidebar:{name:"\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u0430\u044F \u0431\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u0430\u043D\u0435\u043B\u044C",description:"\u0413\u0434\u0435 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u043D\u0430 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430\u0445",tab:"\u041F\u0430\u043D\u0435\u043B\u044C \u0437\u0430\u043C\u0435\u0442\u043E\u043A",left:"\u041B\u0435\u0432\u0430\u044F \u0431\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u0430\u043D\u0435\u043B\u044C",right:"\u041F\u0440\u0430\u0432\u0430\u044F \u0431\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u0430\u043D\u0435\u043B\u044C"},statusBar:{name:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C Pomodoro \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u043E\u0431\u0440\u0430\u0442\u043D\u044B\u0439 \u043E\u0442\u0441\u0447\u0451\u0442 Pomodoro \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F Obsidian"}},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",soundEnabledName:"\u0417\u0432\u0443\u043A \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F",soundEnabledDesc:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u044C \u0437\u0432\u0443\u043A \u043F\u0440\u0438 \u0441\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u043D\u0438\u0438 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0439 \u0437\u0430\u0434\u0430\u0447",soundVolumeName:"\u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0437\u0432\u0443\u043A\u0430",soundVolumeDesc:"\u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0437\u0432\u0443\u043A\u043E\u0432 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0439 \u0437\u0430\u0434\u0430\u0447 (0-100)",soundPreviewName:"\u041F\u0440\u043E\u0441\u043B\u0443\u0448\u0430\u0442\u044C \u0437\u0432\u0443\u043A \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F",soundPreviewDesc:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0437\u0432\u0443\u043A \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438",soundPreviewButton:"\u041F\u0440\u043E\u0441\u043B\u0443\u0448\u0430\u0442\u044C",testReminderName:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0441\u0442\u043E\u0432\u043E\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435",testReminderDesc:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0441\u0442\u043E\u0432\u043E\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u0441 \u0442\u0435\u043A\u0443\u0449\u0438\u043C \u0442\u0438\u043F\u043E\u043C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u043C\u0438 \u0437\u0432\u0443\u043A\u0430.",testReminderButton:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0441\u0442"},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",resetCheckboxesName:"\u0421\u0431\u0440\u0430\u0441\u044B\u0432\u0430\u0442\u044C \u0444\u043B\u0430\u0436\u043A\u0438 \u043F\u0440\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0438",resetCheckboxesDesc:"\u0421\u0431\u0440\u0430\u0441\u044B\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0444\u043B\u0430\u0436\u043A\u0438 markdown \u0432 \u0442\u0435\u043B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438, \u043A\u043E\u0433\u0434\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0430\u044F\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430 \u0438 \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u0430"},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",defaultColorName:"\u0426\u0432\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",defaultColorDesc:"\u0426\u0432\u0435\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u043D\u043E\u0432\u044B\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432",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."},debugLogging:{header:"\u041E\u0442\u043B\u0430\u0434\u043E\u0447\u043D\u043E\u0435 \u0436\u0443\u0440\u043D\u0430\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0432\u044B\u0432\u043E\u0434 \u043E\u0442\u043B\u0430\u0434\u043E\u0447\u043D\u043E\u0433\u043E \u043B\u043E\u0433\u0430 \u0434\u043B\u044F \u0443\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u043D\u0435\u043F\u043E\u043B\u0430\u0434\u043E\u043A.",enableName:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043B\u0430\u0434\u043E\u0447\u043D\u043E\u0435 \u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0436\u0443\u0440\u043D\u0430\u043B\u0430",enableDesc:"\u0417\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u0442\u044C \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u0443\u044E \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0443 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u044C \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0430. \u041F\u043E\u043B\u0435\u0437\u043D\u043E \u0434\u043B\u044F \u0443\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u043D\u0435\u043F\u043E\u043B\u0430\u0434\u043E\u043A."}},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"},useParentHeaderAsProject:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \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 \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0438\u0439 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043D\u0430\u0434 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0435\u043C\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439 \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 \u0437\u0430\u0434\u0430\u0447\u0438"},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:"\u0420\u0430\u0441\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. \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\u043E\u0432 \u043F\u0430\u043F\u043E\u043A, \u0442\u0430\u043A\u0438\u0435 \u043A\u0430\u043A {{currentNotePath}}, {{currentNoteTitle}} \u0438 {{projectFilePath}}, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0442\u043E\u043A\u0435\u043D\u044B \u0434\u0430\u0442 \u0432 \u0441\u0442\u0438\u043B\u0435 Daily Notes, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 YYYY/MM/DD."},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"},hideIdentifyingTagsMode:{name:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441\u043A\u0440\u044B\u0442\u0438\u044F \u0442\u0435\u0433\u043E\u0432",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043B\u0438 \u0432\u043C\u0435\u0441\u0442\u0435 \u0441 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u043C\u0438 \u0442\u0435\u0433\u0430\u043C\u0438 \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u0442\u0435\u0433\u0438.",options:{all:"\u0422\u0435\u0433 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u0442\u0435\u0433\u0438",exactOnly:"\u0422\u043E\u043B\u044C\u043A\u043E \u0442\u043E\u0447\u043D\u044B\u0439 \u0442\u0435\u0433 \u0437\u0430\u0434\u0430\u0447\u0438"}},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."},sortOrder:{name:"\u0420\u0443\u0447\u043D\u043E\u0439 \u043F\u043E\u0440\u044F\u0434\u043E\u043A",description:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E frontmatter, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0435 \u0434\u043B\u044F \u0440\u0443\u0447\u043D\u043E\u0439 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435\u043C. \u0414\u043B\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043E\u0442\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0443."},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:",useParentHeader:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u0430\u043A \u043F\u0440\u043E\u0435\u043A\u0442:",inheritParentTaskProperties:"\u041D\u0430\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043B\u044F \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447:",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:",legacySyntaxWarning:"\u0421\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441 \u0441 \u043E\u0434\u0438\u043D\u0430\u0440\u043D\u044B\u043C\u0438 \u0444\u0438\u0433\u0443\u0440\u043D\u044B\u043C\u0438 \u0441\u043A\u043E\u0431\u043A\u0430\u043C\u0438, \u0442\u0430\u043A\u043E\u0439 \u043A\u0430\u043A {title}, \u0443\u0441\u0442\u0430\u0440\u0435\u043B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441 \u0441 \u0434\u0432\u043E\u0439\u043D\u044B\u043C\u0438 \u0444\u0438\u0433\u0443\u0440\u043D\u044B\u043C\u0438 \u0441\u043A\u043E\u0431\u043A\u0430\u043C\u0438 {{title}} \u0434\u043B\u044F \u0441\u043E\u0433\u043B\u0430\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0441\u0442\u0438 \u0441 \u0448\u0430\u0431\u043B\u043E\u043D\u0430\u043C\u0438 \u0442\u0435\u043B\u0430."},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:",excludeFromCycle:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u043F\u0440\u0438 \u0446\u0438\u043A\u043B\u0435:",nextStatus:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441:",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",nextStatusDefault:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"},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",icon:"\u0418\u043A\u043E\u043D\u043A\u0430: \u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u0430\u044F \u0438\u043A\u043E\u043D\u043A\u0430 Lucide \u0434\u043B\u044F \u043A\u0430\u0440\u0442\u043E\u0447\u0435\u043A \u0437\u0430\u0434\u0430\u0447 \u0432\u043C\u0435\u0441\u0442\u043E \u0442\u043E\u0447\u043A\u0438 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430",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:",icon:"\u0418\u043A\u043E\u043D\u043A\u0430:",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",icon:"alert-circle"},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",sortOrder:"\u0420\u0443\u0447\u043D\u043E\u0439 \u043F\u043E\u0440\u044F\u0434\u043E\u043A",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",checklistProgress:"\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430",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",uuid:"UUID v4"}},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\u0451\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}}, {{uuid}}, {{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, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\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 \u0448\u043A\u0430\u043B\u044B (\u0444\u043E\u0440\u043C\u0430\u0442 HH:MM). \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432\u044B\u0448\u0435 24:00, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0440\u0430\u043D\u043D\u0438\u0435 \u0447\u0430\u0441\u044B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0434\u043D\u044F, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 26:00 \u0434\u043B\u044F 2:00.",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"\u0417\u0430\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447",description:"\u0417\u0430\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438 \u043A\u0430\u0440\u0442\u043E\u0447\u0435\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447. \u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0447\u0438\u0442\u0430\u0442\u044C"},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"},expandSubtasksByDefault:{name:"\u0420\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u044B\u043C\u0438 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u043A\u0430\u0440\u0442\u043E\u0447\u0435\u043A \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:{mobileCalendar:{disable:{name:"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043D\u0430 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430\u0445",description:"\u041D\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 Google, Microsoft \u0438 ICS \u0432 Obsidian Mobile. \u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043D\u0430 \u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u0435 \u043D\u0435 \u043C\u0435\u043D\u044F\u044E\u0442\u0441\u044F."},status:{name:"\u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B \u043D\u0430 \u044D\u0442\u043E\u043C \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435",description:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u044D\u0442\u0443 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 Obsidian Mobile, \u0447\u0442\u043E\u0431\u044B \u0441\u043D\u043E\u0432\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438."}},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:"Base-\u0444\u0430\u0439\u043B\u044B \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, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \xAB\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B\xBB \u043D\u0438\u0436\u0435, \u0443\u0434\u0430\u043B\u0438\u0442\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 .base-\u0444\u0430\u0439\u043B\u044B \u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 Obsidian \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",pomodoroStats:"Base \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0438 Pomodoro"},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",pomodoroDailyNotesHint:"\u0421\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F Base \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0438 Pomodoro \u0447\u0438\u0442\u0430\u0435\u0442 \u0438\u0441\u0442\u043E\u0440\u0438\u044E Pomodoro \u0438\u0437 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A. \u0415\u0441\u043B\u0438 \u0438\u0441\u0442\u043E\u0440\u0438\u044F \u0432\u0441\u0451 \u0435\u0449\u0451 \u0445\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u0432 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043B\u0430\u0433\u0438\u043D\u0430, \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0435\u0451 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u043F\u0435\u0440\u0435\u0434 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u044D\u0442\u043E\u0433\u043E Base-\u0444\u0430\u0439\u043B\u0430."},autoCreateDefaultFiles:{name:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0435 Base \u0444\u0430\u0439\u043B\u044B \u043F\u0440\u0438 \u0437\u0430\u043F\u0443\u0441\u043A\u0435. \u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0435\u0434\u043E\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0444\u0430\u0439\u043B\u043E\u0432."},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."},updateDefaultFiles:{name:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B .base \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0448\u0430\u0431\u043B\u043E\u043D\u0430\u043C\u0438, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u0438\u0437 \u0442\u0435\u043A\u0443\u0449\u0438\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A TaskNotes.",buttonText:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B",confirmTitle:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C Base-\u0444\u0430\u0439\u043B\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",confirmMessage:"\u042D\u0442\u043E \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0448\u0435\u0442 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B .base \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0437\u0430\u043D\u043E\u0432\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0430\u043C\u0438. \u041B\u044E\u0431\u044B\u0435 \u0440\u0443\u0447\u043D\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432 \u044D\u0442\u0438\u0445 \u0444\u0430\u0439\u043B\u0430\u0445 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u044B.",confirmText:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B"}},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}"},useICSEndAsDue:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u044F ICS \u043A\u0430\u043A \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",description:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\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, \u0431\u0443\u0434\u0443\u0442 \u0438\u043C\u0435\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F, \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u043D\u0430 \u0432\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u044F. \u0414\u043B\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043D\u0430 \u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D \u043D\u0430 \u0434\u0430\u0442\u0443 \u0441\u043E\u0431\u044B\u0442\u0438\u044F. \u0414\u043B\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0441 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0431\u0443\u0434\u0435\u0442 \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F."}},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-kalendar.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"},useDuration:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",description:"\u041A\u043E\u0433\u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u043E\u0446\u0435\u043D\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 (\u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C) \u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u043C\u0435\u0441\u0442\u043E \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F. \u042D\u0442\u043E \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u0434\u043B\u044F \u0440\u0430\u0431\u043E\u0447\u0438\u0445 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432 GTD, \u0433\u0434\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E + \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0440\u0430\u0431\u043E\u0442\u044B, \u0430 \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0434\u0435\u0434\u043B\u0430\u0439\u043D\u044B."},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"},excludeCompleted:{name:"\u0418\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0415\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0442\u0441\u044F \u0438\u0437 ICS-\u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430. \u0417\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0431\u0435\u0440\u0443\u0442\u0441\u044F \u0438\u0437 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0437\u0430\u0434\u0430\u0447."},excludeArchived:{name:"\u0418\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0415\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0442\u0441\u044F \u0438\u0437 ICS-\u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430."},requireDueDate:{name:"\u0422\u0440\u0435\u0431\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0441\u0440\u043E\u043A\u0430",description:"\u0415\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u0432 ICS-\u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0434\u0430\u0442\u043E\u0439 \u0441\u0440\u043E\u043A\u0430."},requireScheduledDate:{name:"\u0422\u0440\u0435\u0431\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443",description:"\u0415\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u0432 ICS-\u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u043E\u0439."}},googleCalendarExport:{header:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0437\u0430\u0434\u0430\u0447 \u0432 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C \u043A\u0430\u043A \u0441\u043E\u0431\u044B\u0442\u0438\u044F. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u0432\u044B\u0448\u0435.",enable:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0437\u0430\u0434\u0430\u0447",description:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0434\u0430\u0442\u0430\u043C\u0438 \u0431\u0443\u0434\u0443\u0442 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C \u043A\u0430\u043A \u0441\u043E\u0431\u044B\u0442\u0438\u044F."},targetCalendar:{name:"\u0426\u0435\u043B\u0435\u0432\u043E\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0432 \u043A\u0430\u043A\u043E\u043C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0437\u0430\u0434\u0430\u0447.",placeholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C...",connectFirst:"\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",primarySuffix:" (\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0439)"},syncTrigger:{name:"\u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438",description:"\u041A\u0430\u043A\u0430\u044F \u0434\u0430\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043E\u043B\u0436\u043D\u0430 \u0432\u044B\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F.",options:{scheduled:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",due:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",both:"\u041E\u0431\u0430 (\u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439)"}},allDayEvents:{name:"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043A\u0430\u043A \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0430 \u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C",description:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u043E\u0437\u0434\u0430\u044E\u0442\u0441\u044F \u043A\u0430\u043A \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0430 \u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C. \u041F\u0440\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0434\u043B\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438."},defaultDuration:{name:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432 \u043C\u0438\u043D\u0443\u0442\u0430\u0445 \u0434\u043B\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0441 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C (\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F, \u043A\u043E\u0433\u0434\u0430 \u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435\u0442 \u043E\u0446\u0435\u043D\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438)."},eventTitleTemplate:{name:"\u0428\u0430\u0431\u043B\u043E\u043D \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",description:"\u0428\u0430\u0431\u043B\u043E\u043D \u0434\u043B\u044F \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0441\u043E\u0431\u044B\u0442\u0438\u0439. \u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435: {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u0435\u0442\u0430\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",description:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 (\u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442, \u0441\u0442\u0430\u0442\u0443\u0441, \u0442\u0435\u0433\u0438 \u0438 \u0442.\u0434.) \u0432 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F."},includeObsidianLink:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 Obsidian",description:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 Obsidian \u0432 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F."},defaultReminder:{name:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0432\u0441\u043F\u043B\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u043A \u0441\u043E\u0431\u044B\u0442\u0438\u044F\u043C Google Calendar \u0441 \u0437\u0430\u0434\u0430\u043D\u043D\u044B\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C. \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043C\u0438\u043D\u0443\u0442\u044B \u0434\u043E \u0441\u043E\u0431\u044B\u0442\u0438\u044F \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, \u0447\u0442\u043E\u0431\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E. \u0427\u0430\u0441\u0442\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F: 15, 30, 60, 1440."},automaticSyncBehavior:{header:"\u041F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438"},syncOnCreate:{name:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u043D\u043E\u0432\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438."},syncOnUpdate:{name:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438."},syncOnComplete:{name:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u041E\u0431\u043D\u043E\u0432\u043B\u044F\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 (\u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u0442 \u0433\u0430\u043B\u043E\u0447\u043A\u0443 \u043A \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0443)."},syncOnDelete:{name:"\u0423\u0434\u0430\u043B\u044F\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u043F\u0440\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0423\u0434\u0430\u043B\u044F\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043F\u0440\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0438 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438."},manualSyncActions:{header:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0440\u0443\u0447\u043D\u043E\u0439 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438"},syncAllTasks:{name:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C. \u0411\u0443\u0434\u0443\u0442 \u0441\u043E\u0437\u0434\u0430\u043D\u044B \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0435\u0449\u0451 \u043D\u0435 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u044B.",buttonText:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435"},unlinkAllTasks:{name:"\u041E\u0442\u0432\u044F\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u0432\u044F\u0437\u0438 \u0437\u0430\u0434\u0430\u0447\u0430-\u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u0431\u0435\u0437 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F.",buttonText:"\u041E\u0442\u0432\u044F\u0437\u0430\u0442\u044C \u0432\u0441\u0435",confirmTitle:"\u041E\u0442\u0432\u044F\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",confirmMessage:"\u042D\u0442\u043E \u0443\u0434\u0430\u043B\u0438\u0442 \u0432\u0441\u0435 \u0441\u0432\u044F\u0437\u0438 \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438 \u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u044F\u043C\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F. \u0421\u043E\u0431\u044B\u0442\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043E\u0441\u0442\u0430\u043D\u0443\u0442\u0441\u044F, \u043D\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \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\u0434\u0430\u0447. \u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",confirmButtonText:"\u041E\u0442\u0432\u044F\u0437\u0430\u0442\u044C \u0432\u0441\u0435"},notices:{notEnabled:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u043D\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D. \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0435\u0433\u043E \u0432 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 > \u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438.",notEnabledOrConfigured:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u043D\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D \u0438\u043B\u0438 \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D",serviceNotAvailable:"\u0421\u0435\u0440\u0432\u0438\u0441 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D",syncResults:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043E: {synced}, \u041E\u0448\u0438\u0431\u043E\u043A: {failed}, \u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E: {skipped}",taskSynced:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C",noActiveFile:"\u041D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430",notATask:"\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u0444\u0430\u0439\u043B \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0435\u0439",noDateToSync:"\u0423 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435\u0442 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0438\u043B\u0438 \u0441\u0440\u043E\u043A\u0430 \u0434\u043B\u044F \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438",syncFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C: {message}",connectionExpired:"\u0421\u0440\u043E\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043A Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044E \u0438\u0441\u0442\u0451\u043A. \u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C \u0437\u0430\u043D\u043E\u0432\u043E \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 > \u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438.",syncingTasks:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F {total} \u0437\u0430\u0434\u0430\u0447 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C...",syncComplete:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430: {synced} \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043E, {failed} \u043E\u0448\u0438\u0431\u043E\u043A, {skipped} \u043F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E",eventsDeletedAndUnlinked:"\u0412\u0441\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u044B \u0438 \u043E\u0442\u0432\u044F\u0437\u0430\u043D\u044B",tasksUnlinked:"\u0412\u0441\u0435 \u0441\u0432\u044F\u0437\u0438 \u0437\u0430\u0434\u0430\u0447 \u0443\u0434\u0430\u043B\u0435\u043D\u044B"},eventDescription:{untitledTask:"\u0411\u0435\u0437\u044B\u043C\u044F\u043D\u043D\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442: {value}",status:"\u0421\u0442\u0430\u0442\u0443\u0441: {value}",due:"\u0421\u0440\u043E\u043A: {value}",scheduled:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E: {value}",timeEstimate:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438: {value}",tags:"\u0422\u0435\u0433\u0438: {value}",contexts:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B: {value}",projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B: {value}",openInObsidian:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 Obsidian"}},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"},mcp:{enable:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0435\u0440\u0432\u0435\u0440 MCP",description:"\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B TaskNotes \u0447\u0435\u0440\u0435\u0437 Model Context Protocol \u043D\u0430 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0439 \u0442\u043E\u0447\u043A\u0435 /mcp. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 HTTP API."}},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 \u0448\u0430\u0431\u043B\u043E\u043D\u0430 .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:"simple-template.json"},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 \u0448\u0430\u0431\u043B\u043E\u043D\u0430 .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:"simple-template.json"},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:"\u0428\u0430\u0431\u043B\u043E\u043D\u044B \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F JSON \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:"",jsDescription:"",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:"simple-template.json"},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."},mdbaseSpec:{header:"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0432 mdbase",learnMore:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E mdbase-spec",enable:{name:"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0432 mdbase",description:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043B\u044B \u0442\u0438\u043F\u043E\u0432 mdbase (mdbase.yaml \u0438 _types/task.md) \u0432 \u043A\u043E\u0440\u043D\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A."}},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",createOrOpenTaskWithTracking:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \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",rolloverOverdueScheduledTasks:"\u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0430 \u0441\u0435\u0433\u043E\u0434\u043D\u044F",syncAllTasksGoogleCalendar:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C",syncCurrentTaskGoogleCalendar:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C",quickActionsTaskUnderCursor:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E\u0434 \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u043C",editCurrentTask:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443",cycleCurrentTaskStatus:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438",cycleCurrentTaskPriority:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438",addProjectToCurrentTask:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442 \u043A \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435",addSubtaskToCurrentNote:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0443 \u043A \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0435"},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:"\u0427\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C, \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0448\u0430\u0433\u0438:"},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"},calendarEventCreation:{heading:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435",dateTimeLabel:"\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F: ",titleLabel:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",titleDesc:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435",titlePlaceholder:"\u043D\u0430\u043F\u0440., \u0421\u043E\u0432\u0435\u0449\u0430\u043D\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B",calendarLabel:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",calendarDesc:"\u0412 \u043A\u0430\u043A\u043E\u043C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435 \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435",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 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",descriptionPlaceholder:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043E \u0441\u043E\u0431\u044B\u0442\u0438\u0438...",locationLabel:"\u041C\u0435\u0441\u0442\u043E",locationDesc:"\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043C\u0435\u0441\u0442\u043E \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u044F",locationPlaceholder:"\u043D\u0430\u043F\u0440., \u041F\u0435\u0440\u0435\u0433\u043E\u0432\u043E\u0440\u043D\u0430\u044F \u0410",createButton:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435",titleRequired:"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0443\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",noCalendarSelected:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D",success:'\u0421\u043E\u0431\u044B\u0442\u0438\u0435 "{title}" \u0441\u043E\u0437\u0434\u0430\u043D\u043E \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435',error:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0435 \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435: {message}"},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}",openCreatedTaskFailure:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430, \u043D\u043E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C."}},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",deleteSuccess:'\u0417\u0430\u0434\u0430\u0447\u0430 "{title}" \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D\u0430',deleteFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443: {message}"},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"},deleteConfirmation:{title:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\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 "{title}"? \u0417\u0430\u043C\u0435\u0442\u043A\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0430 \u0432 \u043A\u043E\u0440\u0437\u0438\u043D\u0443 Obsidian.',confirm:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"}},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:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u044B \u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u043C \u043F\u043B\u0430\u0433\u0438\u043D\u0435 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0438\u043B\u0438 \u0432 Periodic Notes",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",openNoteInNewTab:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435",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",quickActions:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F",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",syncToGoogle:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C",syncToGoogleNotConfigured:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0430",syncToGoogleSuccess:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C",syncToGoogleFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C"},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",unknownDependency:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",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",updateContextsFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B"},contexts:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B",addContext:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u2026",contextPlaceholder:"\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442",contextSelected:"\u2713 {context}",clearContexts:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B"},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}",updateTagsFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438"},tags:"\u0422\u0435\u0433\u0438",addTag:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u2026",removeTag:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {tag}",removeTagInput:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u2026",tagPlaceholder:"\u0422\u0435\u0433 \u0438\u043B\u0438 #\u0442\u0435\u0433",clearTags:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438"},priority:{clearPriority:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442"},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:{labels:{due:"\u0421\u0440\u043E\u043A",scheduled:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E",recurrence:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0435\u0441\u044F",completed:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",modified:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E",blocked:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E",blocking:"\u0411\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442"},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",priorityAriaLabel:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442: {label}",taskOptions:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0437\u0430\u0434\u0430\u0447\u0438",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"1 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E (\u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C)",reminderTooltipMany:"{count} \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E (\u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C)",projectTooltip:"\u042D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043A\u0430\u043A \u043F\u0440\u043E\u0435\u043A\u0442 (\u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438)",expandSubtasks:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438",collapseSubtasks:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438",dueToday:"{label}: \u0421\u0435\u0433\u043E\u0434\u043D\u044F",dueTodayAt:"{label}: \u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0432 {time}",dueOverdue:"{label}: {display} (\u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043E)",dueLabel:"{label}: {display}",scheduledToday:"{label}: \u0421\u0435\u0433\u043E\u0434\u043D\u044F",scheduledTodayAt:"{label}: \u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0432 {time}",scheduledPast:"{label}: {display} (\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C)",scheduledLabel:"{label}: {display}",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",googleCalendarSyncTooltip:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0441 Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C",detailsTooltip:"\u0423 \u0437\u0430\u0434\u0430\u0447\u0438 \u0435\u0441\u0442\u044C \u043F\u043E\u0434\u0440\u043E\u0431\u043D\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",checklistProgress:"\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430",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 Ewe={common:{appName:"TaskNotes",new:"\u65B0\u5EFA",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",close:"\u5173\u95ED",save:"\u4FDD\u5B58",reorder:{confirmLargeTitle:"\u786E\u8BA4\u5927\u89C4\u6A21\u91CD\u6392",confirmButton:"\u91CD\u6392\u7B14\u8BB0",confirmLargeMessage:"\u5728\u6B64\u5904\u91CD\u6392\u4F1A\u66F4\u65B0 {count} \u6761\u7B14\u8BB0\u4E2D\u7684\u201C{field}\u201D\uFF0C\u4EE5\u4FBF\u4E3A {scope} \u5EFA\u7ACB\u6301\u4E45\u7684\u624B\u52A8\u987A\u5E8F\u3002\u540C\u4E00\u8303\u56F4\u5185\u88AB\u9690\u85CF\u6216\u88AB\u7B5B\u9009\u6389\u7684\u7B14\u8BB0\u4E5F\u53EF\u80FD\u4F1A\u4E00\u8D77\u66F4\u65B0\u3002\u662F\u5426\u7EE7\u7EED\uFF1F"},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",ko:"\u97E9\u8BED"},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",reorder:{scope:{ungrouped:"\u8FD9\u4E2A\u672A\u5206\u7EC4\u5217\u8868",group:"\u5206\u7EC4\u201C{group}\u201D"}},errors:{formulaGroupingReadOnly:"\u65E0\u6CD5\u5728\u57FA\u4E8E\u516C\u5F0F\u7684\u5206\u7EC4\u4E2D\u91CD\u6392\u4EFB\u52A1\u3002\u516C\u5F0F\u503C\u662F\u8BA1\u7B97\u7ED3\u679C\uFF0C\u4E0D\u80FD\u76F4\u63A5\u4FEE\u6539\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",contextMenu:{openDailyNote:"\u6253\u5F00\u6BCF\u65E5\u7B14\u8BB0",openWeeklyNote:"\u6253\u5F00\u6BCF\u5468\u7B14\u8BB0"}},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",today:"\u8F6C\u5230\u4ECA\u5929",prev:"\u4E0A\u4E00\u4E2A",next:"\u4E0B\u4E00\u4E2A",month:"\u6708\u89C6\u56FE",week:"\u5468\u89C6\u56FE",day:"\u65E5\u89C6\u56FE",year:"\u5E74\u89C6\u56FE",list:"\u5217\u8868\u89C6\u56FE",customDays:"{count}\u5929\u89C6\u56FE"},settings:{groups:{dateNavigation:"\u65E5\u671F\u5BFC\u822A",events:"\u4E8B\u4EF6",layout:"\u5E03\u5C40",view:"\u89C6\u56FE",display:"\u663E\u793A",timeGrid:"\u65F6\u95F4\u7F51\u683C",eventLayout:"\u4E8B\u4EF6\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",createDailyNotesFromDateLinks:"\u901A\u8FC7\u65E5\u671F\u94FE\u63A5\u521B\u5EFA\u6BCF\u65E5\u7B14\u8BB0",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",showCompletedRecurringInstances:"\u663E\u793A\u5DF2\u5B8C\u6210\u7684\u91CD\u590D\u5B9E\u4F8B",showSkippedRecurringInstances:"\u663E\u793A\u5DF2\u8DF3\u8FC7\u7684\u91CD\u590D\u5B9E\u4F8B"},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",dragDropResolution:"\u62D6\u653E\u65F6\u95F4\u7C92\u5EA6",dragDropResolutionPlaceholder:"HH:mm:ss\uFF08\u4F8B\u5982\uFF1A00:05: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",showTimeGrid:"\u663E\u793A\u5C0F\u65F6\u7F51\u683C",showTodayHighlight:"\u7A81\u51FA\u663E\u793A\u4ECA\u5929",todayColumnWidthMultiplier:"\u4ECA\u5929\u5217\u5BBD\u500D\u7387",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",spanScheduledToDue:"\u5728\u8BA1\u5212\u65E5\u671F\u548C\u622A\u6B62\u65E5\u671F\u4E4B\u95F4\u6269\u5C55\u4EFB\u52A1",heightMode:"\u9AD8\u5EA6\u6A21\u5F0F",heightModeFill:"\u586B\u6EE1\u5BB9\u5668",heightModeAuto:"\u81EA\u52A8\u9AD8\u5EA6"},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"}},notices:{noDailyNoteForDate:"\u6B64\u65E5\u671F\u6CA1\u6709\u6BCF\u65E5\u7B14\u8BB0\u3002"},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",reorder:{scope:{column:'\u5217 "{group}"',columnInSwimlane:'"{swimlane}" \u6CF3\u9053\u4E2D\u7684\u5217 "{group}"'}},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",formulaGroupingReadOnly:"\u65E0\u6CD5\u5728\u57FA\u4E8E\u516C\u5F0F\u7684\u5217\u4E4B\u95F4\u79FB\u52A8\u4EFB\u52A1\u3002\u516C\u5F0F\u503C\u662F\u8BA1\u7B97\u5F97\u51FA\u7684\uFF0C\u4E0D\u80FD\u76F4\u63A5\u4FEE\u6539\u3002",formulaSwimlaneReadOnly:"\u65E0\u6CD5\u5728\u57FA\u4E8E\u516C\u5F0F\u7684\u6CF3\u9053\u4E4B\u95F4\u79FB\u52A8\u4EFB\u52A1\u3002\u516C\u5F0F\u503C\u662F\u8BA1\u7B97\u5F97\u51FA\u7684\uFF0C\u4E0D\u80FD\u76F4\u63A5\u4FEE\u6539\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",startFocus:"\u5F00\u59CB\u4E13\u6CE8",addMinute:"\u589E\u52A0\u4E00\u5206\u949F",subtractMinute:"\u51CF\u5C11\u4E00\u5206\u949F"},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",invalidDuration:"\u8BF7\u8F93\u5165\u7C7B\u4F3C 10\u300110:30 \u6216 1:30:00 \u7684\u65F6\u957F\u3002"},statsLabel:"\u4ECA\u65E5\u5B8C\u6210",meta:{ready:"\u5DF2\u8BA1\u5212 {time} \xB7 \u4ECA\u5929\u5DF2\u5B8C\u6210 {count} \u4E2A",running:"\u5269\u4F59 {time}",paused:"{type} \u5DF2\u6682\u505C \xB7 \u5269\u4F59 {time}",breakReady:"{type} \u5DF2\u5C31\u7EEA \xB7 \u5DF2\u8BA1\u5212 {time}"},timer:{editLabel:"\u7F16\u8F91\u8BA1\u65F6\u5668\u65F6\u957F",inputLabel:"\u8BA1\u65F6\u5668\u65F6\u957F"}},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"},delete:"\u5220\u9664\u4F1A\u8BDD",deleteAria:"\u5220\u9664 Pomodoro \u4F1A\u8BDD",deleteConfirmTitle:"\u5220\u9664 Pomodoro \u4F1A\u8BDD\uFF1F",deleteConfirmMessage:"\u8FD9\u4F1A\u4ECE Pomodoro \u5386\u53F2\u4E2D\u5220\u9664\u8BE5\u4F1A\u8BDD\u3002\u73B0\u6709\u4EFB\u52A1\u65F6\u95F4\u6761\u76EE\u4E0D\u4F1A\u66F4\u6539\u3002",deleteConfirmButton:"\u5220\u9664",deleteSuccess:"Pomodoro \u4F1A\u8BDD\u5DF2\u5220\u9664",deleteNotFound:"\u672A\u627E\u5230 Pomodoro \u4F1A\u8BDD"},basesMigration:{title:"\u60F3\u8981 Base \u89C6\u56FE\u5417\uFF1F",description:"Pomodoro Base \u89C6\u56FE\u4F7F\u7528\u6BCF\u65E5\u7B14\u8BB0 frontmatter\u3002\u8981\u5728\u751F\u6210\u7684 Pomodoro \u7EDF\u8BA1 Base \u4E2D\u67E5\u770B\u6B64\u5386\u53F2\uFF0C\u8BF7\u5148\u5728\u8BBE\u7F6E\u4E2D\u8FC1\u79FB Pomodoro \u6570\u636E\uFF0C\u7136\u540E\u5C06\u5B58\u50A8\u4F4D\u7F6E\u8BBE\u4E3A\u6BCF\u65E5\u7B14\u8BB0\u3002"}},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:"\u6211\u4EEC\u975E\u5E38\u611F\u8C22\u6240\u6709\u53CD\u9988\u3002\u5982\u679C\u6709\u4EC0\u4E48\u611F\u89C9\u4E0D\u5BF9\uFF0C\u8BF7\u5728 GitHub \u4E0A\u544A\u8BC9\u6211\u4EEC\u3002\u5982\u679C\u4F60\u89C9\u5F97 TaskNotes \u6709\u7528\uFF0C\u8BF7\u8003\u8651\u7ED9\u5B83\u52A0\u661F\u3002",baseFilesNotice:"> [!info] \u5173\u4E8E\u9ED8\u8BA4 `.base` \u6587\u4EF6\n> \u9ED8\u8BA4\u751F\u6210\u7684 `.base` \u6A21\u677F\u66F4\u65B0\u4E0D\u4F1A\u8986\u76D6\u4F60\u73B0\u6709\u7684 `.base` \u6587\u4EF6\uFF0C\u56E0\u6B64\u4F60\u7684\u81EA\u5B9A\u4E49\u4F1A\u88AB\u4FDD\u7559\u3002\n> \u5982\u679C\u4F60\u5E0C\u671B\u83B7\u5F97\u6700\u65B0\u6A21\u677F\u6539\u8FDB\uFF0C\u8BF7\u5728 **\u8BBE\u7F6E \u2192 TaskNotes \u2192 \u5E38\u89C4 \u2192 \u521B\u5EFA\u6587\u4EF6** \u4E2D\u91CD\u65B0\u751F\u6210 base \u6587\u4EF6\u3002"}},settings:{header:{documentation:"\u6587\u6863",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"},taskCreation:{header:"\u4EFB\u52A1\u521B\u5EFA",description:"\u914D\u7F6E\u4EFB\u52A1\u521B\u5EFA\u540E\u7684\u884C\u4E3A\u3002",openAfterCreate:{name:"\u521B\u5EFA\u540E\u6253\u5F00\u4EFB\u52A1",description:"\u9009\u62E9\u5E38\u89C4\u65B0\u5EFA\u4EFB\u52A1\u5F39\u7A97\u5728\u4FDD\u5B58\u540E\u662F\u5426\u6253\u5F00\u65B0\u7684\u4EFB\u52A1\u7B14\u8BB0\u3002",options:{none:"\u4E0D\u6253\u5F00",sameTab:"\u5728\u5F53\u524D\u6807\u7B7E\u9875\u6253\u5F00",newTab:"\u5728\u65B0\u6807\u7B7E\u9875\u6253\u5F00"}}},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"},aliasExclusion:{name:"\u7981\u7528\u522B\u540D\u94FE\u63A5\u7684\u8986\u76D6",description:"\u5982\u679C\u94FE\u63A5\u5305\u542B\u522B\u540D\uFF0C\u5219\u4E0D\u663E\u793A\u4EFB\u52A1\u5C0F\u90E8\u4EF6\uFF08\u4F8B\u5982 [[\u4EFB\u52A1|\u522B\u540D]]\uFF09\u3002"}},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"},preserveCheckbox:{name:"\u8F6C\u6362\u65F6\u4FDD\u7559\u590D\u9009\u6846",description:"\u5C06\u590D\u9009\u6846\u8F6C\u6362\u4E3A TaskNote \u94FE\u63A5\u65F6\uFF0C\u4FDD\u7559\u539F\u59CB Markdown \u590D\u9009\u6846\u6807\u8BB0\u3002"},folder:{name:"\u5185\u8054\u521B\u5EFA\u4EFB\u52A1\u7684\u6587\u4EF6\u5939",description:"\u901A\u8FC7\u5185\u8054\u547D\u4EE4\u6216\u590D\u9009\u6846\u8F6C\u6362\u521B\u5EFA\u7684\u4EFB\u52A1\u5C06\u5B58\u653E\u5728\u6B64\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\u5F53\u524D\u7B14\u8BB0\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"},mobileSidebar:{name:"\u79FB\u52A8\u7AEF\u4FA7\u8FB9\u680F",description:"\u5728\u79FB\u52A8\u8BBE\u5907\u4E0A\u6253\u5F00\u756A\u8304\u949F\u8BA1\u65F6\u5668\u7684\u4F4D\u7F6E",tab:"\u7B14\u8BB0\u9762\u677F",left:"\u5DE6\u4FA7\u8FB9\u680F",right:"\u53F3\u4FA7\u8FB9\u680F"},statusBar:{name:"\u5728\u72B6\u6001\u680F\u663E\u793A Pomodoro",description:"\u5728 Obsidian \u72B6\u6001\u680F\u663E\u793A\u5F53\u524D Pomodoro \u5012\u8BA1\u65F6"}},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",soundEnabledName:"\u901A\u77E5\u58F0\u97F3",soundEnabledDesc:"\u4EFB\u52A1\u63D0\u9192\u89E6\u53D1\u65F6\u64AD\u653E\u58F0\u97F3",soundVolumeName:"\u58F0\u97F3\u97F3\u91CF",soundVolumeDesc:"\u4EFB\u52A1\u63D0\u9192\u58F0\u97F3\u97F3\u91CF (0-100)",soundPreviewName:"\u9884\u89C8\u901A\u77E5\u58F0\u97F3",soundPreviewDesc:"\u64AD\u653E\u5DF2\u914D\u7F6E\u7684\u4EFB\u52A1\u63D0\u9192\u58F0\u97F3",soundPreviewButton:"\u9884\u89C8",testReminderName:"\u53D1\u9001\u6D4B\u8BD5\u63D0\u9192",testReminderDesc:"\u4F7F\u7528\u5F53\u524D\u901A\u77E5\u7C7B\u578B\u548C\u58F0\u97F3\u8BBE\u7F6E\u53D1\u9001\u6D4B\u8BD5\u63D0\u9192\u3002",testReminderButton:"\u53D1\u9001\u6D4B\u8BD5"},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",resetCheckboxesName:"\u91CD\u590D\u65F6\u91CD\u7F6E\u590D\u9009\u6846",resetCheckboxesDesc:"\u5F53\u91CD\u590D\u4EFB\u52A1\u5B8C\u6210\u5E76\u91CD\u65B0\u5B89\u6392\u65F6\uFF0C\u91CD\u7F6E\u4EFB\u52A1\u6B63\u6587\u4E2D\u7684\u6240\u6709markdown\u590D\u9009\u6846"},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",defaultColorName:"\u9ED8\u8BA4\u65F6\u95F4\u5757\u989C\u8272",defaultColorDesc:"\u521B\u5EFA\u65B0\u65F6\u95F4\u5757\u65F6\u4F7F\u7528\u7684\u9ED8\u8BA4\u989C\u8272",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"},debugLogging:{header:"\u8C03\u8BD5\u65E5\u5FD7",description:"\u8BBE\u7F6E\u7528\u4E8E\u6545\u969C\u6392\u67E5\u7684\u8C03\u8BD5\u65E5\u5FD7\u8F93\u51FA\u3002",enableName:"\u542F\u7528\u8C03\u8BD5\u65E5\u5FD7",enableDesc:"\u5C06\u62D6\u653E\u548C\u89C6\u56FE\u7684\u8BE6\u7EC6\u8BCA\u65AD\u4FE1\u606F\u8BB0\u5F55\u5230\u5F00\u53D1\u8005\u63A7\u5236\u53F0\uFF0C\u6709\u52A9\u4E8E\u6545\u969C\u6392\u67E5\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"},useParentHeaderAsProject:{name:"\u5373\u65F6\u8F6C\u6362\u65F6\u4F7F\u7528\u7236\u7EA7\u6807\u9898\u4F5C\u4E3A\u9879\u76EE",description:"\u4F7F\u7528\u5373\u65F6\u4EFB\u52A1\u8F6C\u6362\u65F6\u81EA\u52A8\u5C06\u88AB\u8F6C\u6362\u884C\u4E0A\u65B9\u6700\u8FD1\u7684\u6807\u9898\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:"\u6A21\u677F/\u4EFB\u52A1\u6A21\u677F.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\u3002\u652F\u6301 {{currentNotePath}}\u3001{{currentNoteTitle}} \u548C {{projectFilePath}} \u7B49\u6587\u4EF6\u5939\u6A21\u677F\u53D8\u91CF\uFF0C\u4E5F\u652F\u6301 YYYY/MM/DD \u7B49 Daily Notes \u98CE\u683C\u65E5\u671F\u6807\u8BB0\u3002"},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"},hideIdentifyingTagsMode:{name:"\u9690\u85CF\u6807\u7B7E\u8303\u56F4",description:"\u9009\u62E9\u9690\u85CF\u8BC6\u522B\u6807\u7B7E\u65F6\u662F\u5426\u540C\u65F6\u9690\u85CF\u5D4C\u5957\u6807\u7B7E\u3002",options:{all:"\u4EFB\u52A1\u6807\u7B7E\u548C\u5D4C\u5957\u6807\u7B7E",exactOnly:"\u4EC5\u7CBE\u786E\u4EFB\u52A1\u6807\u7B7E"}},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"},sortOrder:{name:"\u624B\u52A8\u987A\u5E8F",description:"\u7528\u4E8E\u62D6\u62FD\u91CD\u6392\u7684 frontmatter \u5C5E\u6027\u3002\u89C6\u56FE\u5FC5\u987B\u6309\u6B64\u5C5E\u6027\u6392\u5E8F\uFF0C\u62D6\u62FD\u91CD\u6392\u624D\u80FD\u751F\u6548\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",useParentHeader:"\u4F7F\u7528\u7236\u7EA7\u6807\u9898\u4F5C\u4E3A\u9879\u76EE\uFF1A",inheritParentTaskProperties:"\u5B50\u4EFB\u52A1\u7EE7\u627F\u7236\u4EFB\u52A1\u5C5E\u6027\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",legacySyntaxWarning:"\u50CF {title} \u8FD9\u6837\u7684\u5355\u82B1\u62EC\u53F7\u8BED\u6CD5\u5DF2\u5F03\u7528\u3002\u8BF7\u4F7F\u7528\u53CC\u82B1\u62EC\u53F7\u8BED\u6CD5 {{title}} \u4EE5\u4E0E\u6B63\u6587\u6A21\u677F\u4FDD\u6301\u4E00\u81F4\u3002"},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",excludeFromCycle:"\u5FAA\u73AF\u65F6\u8DF3\u8FC7\uFF1A",nextStatus:"\u4E0B\u4E00\u4E2A\u72B6\u6001\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",nextStatusDefault:"\u4F7F\u7528\u72B6\u6001\u987A\u5E8F"},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",icon:"\u56FE\u6807\uFF1A\u5728\u4EFB\u52A1\u5361\u7247\u4E0A\u66FF\u4EE3\u4F18\u5148\u7EA7\u70B9\u663E\u793A\u7684\u53EF\u9009 Lucide \u56FE\u6807",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",icon:"\u56FE\u6807\uFF1A",weight:"\u6743\u91CD\uFF1A"},placeholders:{value:"\u9AD8",label:"\u9AD8\u4F18\u5148\u7EA7",icon:"alert-circle"},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",sortOrder:"\u624B\u52A8\u987A\u5E8F",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",checklistProgress:"\u6E05\u5355\u8FDB\u5EA6",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",uuid:"UUID v4"}},customTemplate:{name:"\u81EA\u5B9A\u4E49\u6587\u4EF6\u540D\u6A21\u677F",description:"\u81EA\u5B9A\u4E49\u6587\u4EF6\u540D\u6A21\u677F\u3002\u53EF\u7528\u53D8\u91CF\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}}, {{uuid}}, {{nano}}, {{priority}}, {{priorityShort}}, {{status}}, {{statusShort}}, {{dueDate}}, {{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\u3002\u4F7F\u7528\u5927\u4E8E 24:00 \u7684\u503C\u53EF\u663E\u793A\u6B21\u65E5\u51CC\u6668\u65F6\u95F4\uFF0C\u4F8B\u5982 26:00 \u8868\u793A\u51CC\u6668 2 \u70B9\u3002",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"\u4E3A\u5DF2\u5B8C\u6210\u4EFB\u52A1\u6807\u9898\u6DFB\u52A0\u5220\u9664\u7EBF",description:"\u5728\u5DF2\u5B8C\u6210\u4EFB\u52A1\u5361\u7247\u6807\u9898\u4E0A\u753B\u4E00\u6761\u7EBF\u3002\u5173\u95ED\u540E\u5DF2\u5B8C\u6210\u4EFB\u52A1\u4F1A\u66F4\u6613\u9605\u8BFB"},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"},expandSubtasksByDefault:{name:"\u9ED8\u8BA4\u5C55\u5F00\u5B50\u4EFB\u52A1",description:"\u6E32\u67D3\u4EFB\u52A1\u5361\u7247\u65F6\u5C55\u5F00\u663E\u793A\u9879\u76EE\u5B50\u4EFB\u52A1"},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:"\u7C7B\u578B"},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:"\u9879\u76EE"},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(\u6807\u9898)}"},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(\u522B\u540D)}"},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(\u8DEF\u5F84)}"}},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:{mobileCalendar:{disable:{name:"\u5728\u79FB\u52A8\u7AEF\u7981\u7528\u65E5\u5386\u96C6\u6210",description:"\u5728 Obsidian Mobile \u4E0A\u8DF3\u8FC7 Google\u3001Microsoft \u548C ICS \u65E5\u5386\u52A0\u8F7D\u3002\u684C\u9762\u7AEF\u65E5\u5386\u96C6\u6210\u4E0D\u53D7\u5F71\u54CD\u3002"},status:{name:"\u6B64\u79FB\u52A8\u8BBE\u5907\u5DF2\u7981\u7528\u65E5\u5386\u96C6\u6210",description:"\u5173\u95ED\u6B64\u8BBE\u7F6E\u5E76\u91CD\u65B0\u52A0\u8F7D Obsidian Mobile\uFF0C\u4EE5\u6062\u590D\u65E5\u5386\u52A0\u8F7D\u3002"}},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\u4F7F\u7528\u4E0B\u65B9\u7684\u201C\u66F4\u65B0\u6587\u4EF6\u201D\uFF0C\u5220\u9664\u73B0\u6709 .base \u6587\u4EF6\u5E76\u91CD\u542F Obsidian\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",pomodoroStats:"Pomodoro \u7EDF\u8BA1 Base"},fileLabel:"\u6587\u4EF6\uFF1A{path}",resetButton:"\u91CD\u7F6E",resetTooltip:"\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u8DEF\u5F84",pomodoroDailyNotesHint:"\u751F\u6210\u7684 Pomodoro \u7EDF\u8BA1 Base \u4F1A\u4ECE\u6BCF\u65E5\u7B14\u8BB0\u8BFB\u53D6 Pomodoro \u5386\u53F2\u3002\u5982\u679C\u5386\u53F2\u4ECD\u5B58\u50A8\u5728\u63D2\u4EF6\u6570\u636E\u4E2D\uFF0C\u8BF7\u5148\u5728\u8BBE\u7F6E\u4E2D\u8FC1\u79FB\u540E\u518D\u4F7F\u7528\u8BE5 Base \u6587\u4EF6\u3002"},autoCreateDefaultFiles:{name:"\u81EA\u52A8\u521B\u5EFA\u9ED8\u8BA4\u6587\u4EF6",description:"\u542F\u52A8\u65F6\u81EA\u52A8\u521B\u5EFA\u7F3A\u5931\u7684\u9ED8\u8BA4 Base \u89C6\u56FE\u6587\u4EF6\u3002\u7981\u7528\u4EE5\u9632\u6B62\u5DF2\u5220\u9664\u7684\u793A\u4F8B\u6587\u4EF6\u88AB\u91CD\u65B0\u521B\u5EFA\u3002"},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"},updateDefaultFiles:{name:"\u66F4\u65B0\u9ED8\u8BA4\u6587\u4EF6",description:"\u7528\u6839\u636E\u5F53\u524D TaskNotes \u8BBE\u7F6E\u751F\u6210\u7684\u6A21\u677F\u8986\u76D6\u5DF2\u914D\u7F6E\u7684\u9ED8\u8BA4 .base \u6587\u4EF6\u3002",buttonText:"\u66F4\u65B0\u6587\u4EF6",confirmTitle:"\u66F4\u65B0\u9ED8\u8BA4 Base \u6587\u4EF6",confirmMessage:"\u8FD9\u4F1A\u7528\u65B0\u751F\u6210\u7684\u6A21\u677F\u8986\u76D6\u5DF2\u914D\u7F6E\u7684\u9ED8\u8BA4 .base \u6587\u4EF6\u3002\u8FD9\u4E9B\u6587\u4EF6\u4E2D\u7684\u4EFB\u4F55\u624B\u52A8\u7F16\u8F91\u90FD\u5C06\u88AB\u66FF\u6362\u3002",confirmText:"\u66F4\u65B0\u6587\u4EF6"}},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:"\u6A21\u677F/\u4E8B\u4EF6\u6A21\u677F.md"},defaultNoteFolder:{name:"\u9ED8\u8BA4\u7B14\u8BB0\u6587\u4EF6\u5939",description:"\u4ECEICS\u4E8B\u4EF6\u521B\u5EFA\u7B14\u8BB0\u7684\u6587\u4EF6\u5939",placeholder:"\u65E5\u5386/\u4E8B\u4EF6"},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}"},useICSEndAsDue:{name:"\u4F7F\u7528ICS\u4E8B\u4EF6\u7ED3\u675F\u65F6\u95F4\u4F5C\u4E3A\u4EFB\u52A1\u622A\u6B62\u65E5\u671F",description:"\u542F\u7528\u540E\uFF0C\u4ECE\u65E5\u5386\u4E8B\u4EF6\u521B\u5EFA\u7684\u4EFB\u52A1\u5C06\u628A\u622A\u6B62\u65E5\u671F\u8BBE\u7F6E\u4E3A\u4E8B\u4EF6\u7684\u7ED3\u675F\u65F6\u95F4\u3002\u5BF9\u4E8E\u5168\u5929\u4E8B\u4EF6\uFF0C\u622A\u6B62\u65E5\u671F\u5C06\u8BBE\u7F6E\u4E3A\u4E8B\u4EF6\u65E5\u671F\u3002\u5BF9\u4E8E\u6709\u65F6\u95F4\u7684\u4E8B\u4EF6\uFF0C\u622A\u6B62\u65E5\u671F\u5C06\u5305\u542B\u7ED3\u675F\u65F6\u95F4\u3002"}},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 \u5730\u5740",filePath:"\u672C\u5730\u6587\u4EF6\u8DEF\u5F84\uFF08\u4F8B\u5982\uFF0CCalendar.ics\uFF09",localFile:"\u65E5\u5386.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-\u65E5\u5386.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"},useDuration:{name:"\u4F7F\u7528\u4EFB\u52A1\u6301\u7EED\u65F6\u95F4\u4F5C\u4E3A\u4E8B\u4EF6\u957F\u5EA6",description:"\u542F\u7528\u540E\uFF0C\u4F7F\u7528\u4EFB\u52A1\u7684\u65F6\u95F4\u4F30\u8BA1\uFF08\u6301\u7EED\u65F6\u95F4\uFF09\u800C\u4E0D\u662F\u622A\u6B62\u65E5\u671F\u4F5C\u4E3A\u65E5\u5386\u4E8B\u4EF6\u7684\u7ED3\u675F\u65F6\u95F4\u3002\u8FD9\u5BF9\u4E8EGTD\u5DE5\u4F5C\u6D41\u7A0B\u5F88\u6709\u7528\uFF0C\u5176\u4E2D\u8BA1\u5212 + \u6301\u7EED\u65F6\u95F4\u4EE3\u8868\u5DE5\u4F5C\u89C4\u5212\uFF0C\u800C\u622A\u6B62\u65E5\u671F\u4EE3\u8868\u6700\u540E\u671F\u9650\u3002"},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"},excludeCompleted:{name:"\u6392\u9664\u5DF2\u5B8C\u6210\u4EFB\u52A1",description:"\u542F\u7528\u540E\uFF0C\u5DF2\u5B8C\u6210\u4EFB\u52A1\u4F1A\u4ECE ICS \u5BFC\u51FA\u4E2D\u7701\u7565\u3002\u5DF2\u5B8C\u6210\u72B6\u6001\u6765\u81EA\u4EFB\u52A1\u72B6\u6001\u8BBE\u7F6E\u3002"},excludeArchived:{name:"\u6392\u9664\u5DF2\u5F52\u6863\u4EFB\u52A1",description:"\u542F\u7528\u540E\uFF0C\u5DF2\u5F52\u6863\u4EFB\u52A1\u4F1A\u4ECE ICS \u5BFC\u51FA\u4E2D\u7701\u7565\u3002"},requireDueDate:{name:"\u8981\u6C42\u622A\u6B62\u65E5\u671F",description:"\u542F\u7528\u540E\uFF0C\u53EA\u6709\u5E26\u622A\u6B62\u65E5\u671F\u7684\u4EFB\u52A1\u4F1A\u5305\u542B\u5728 ICS \u5BFC\u51FA\u4E2D\u3002"},requireScheduledDate:{name:"\u8981\u6C42\u8BA1\u5212\u65E5\u671F",description:"\u542F\u7528\u540E\uFF0C\u53EA\u6709\u5E26\u8BA1\u5212\u65E5\u671F\u7684\u4EFB\u52A1\u4F1A\u5305\u542B\u5728 ICS \u5BFC\u51FA\u4E2D\u3002"}},googleCalendarExport:{header:"\u5C06\u4EFB\u52A1\u5BFC\u51FA\u5230Google\u65E5\u5386",description:"\u81EA\u52A8\u5C06\u60A8\u7684\u4EFB\u52A1\u540C\u6B65\u5230Google\u65E5\u5386\u4F5C\u4E3A\u4E8B\u4EF6\u3002\u9700\u8981\u5728\u4E0A\u65B9\u8FDE\u63A5Google\u65E5\u5386\u3002",enable:{name:"\u542F\u7528\u4EFB\u52A1\u5BFC\u51FA",description:"\u542F\u7528\u540E\uFF0C\u5E26\u6709\u65E5\u671F\u7684\u4EFB\u52A1\u5C06\u81EA\u52A8\u540C\u6B65\u5230Google\u65E5\u5386\u4F5C\u4E3A\u4E8B\u4EF6\u3002"},targetCalendar:{name:"\u76EE\u6807\u65E5\u5386",description:"\u9009\u62E9\u8981\u521B\u5EFA\u4EFB\u52A1\u4E8B\u4EF6\u7684\u65E5\u5386\u3002",placeholder:"\u9009\u62E9\u65E5\u5386...",connectFirst:"\u8BF7\u5148\u8FDE\u63A5Google\u65E5\u5386",primarySuffix:"\uFF08\u4E3B\u8981\uFF09"},syncTrigger:{name:"\u540C\u6B65\u89E6\u53D1\u5668",description:"\u54EA\u4E2A\u4EFB\u52A1\u65E5\u671F\u5E94\u89E6\u53D1\u65E5\u5386\u4E8B\u4EF6\u521B\u5EFA\u3002",options:{scheduled:"\u8BA1\u5212\u65E5\u671F",due:"\u622A\u6B62\u65E5\u671F",both:"\u4E24\u8005\uFF08\u4F18\u5148\u8BA1\u5212\u65E5\u671F\uFF09"}},allDayEvents:{name:"\u521B\u5EFA\u4E3A\u5168\u5929\u4E8B\u4EF6",description:"\u542F\u7528\u540E\uFF0C\u4EFB\u52A1\u5C06\u521B\u5EFA\u4E3A\u5168\u5929\u4E8B\u4EF6\u3002\u7981\u7528\u540E\uFF0C\u4F7F\u7528\u65F6\u95F4\u4F30\u8BA1\u4F5C\u4E3A\u6301\u7EED\u65F6\u95F4\u3002"},defaultDuration:{name:"\u9ED8\u8BA4\u4E8B\u4EF6\u6301\u7EED\u65F6\u95F4",description:"\u5E26\u65F6\u95F4\u7684\u4E8B\u4EF6\u6301\u7EED\u65F6\u95F4\uFF08\u5206\u949F\uFF09\uFF08\u5F53\u4EFB\u52A1\u6CA1\u6709\u65F6\u95F4\u4F30\u8BA1\u65F6\u4F7F\u7528\uFF09\u3002"},eventTitleTemplate:{name:"\u4E8B\u4EF6\u6807\u9898\u6A21\u677F",description:"\u4E8B\u4EF6\u6807\u9898\u6A21\u677F\u3002\u53EF\u7528\u53D8\u91CF\uFF1A{{title}}\u3001{{status}}\u3001{{priority}}",placeholder:"{{title}}"},includeDescription:{name:"\u5728\u63CF\u8FF0\u4E2D\u5305\u542B\u4EFB\u52A1\u8BE6\u60C5",description:"\u5C06\u4EFB\u52A1\u5143\u6570\u636E\uFF08\u4F18\u5148\u7EA7\u3001\u72B6\u6001\u3001\u6807\u7B7E\u7B49\uFF09\u6DFB\u52A0\u5230\u4E8B\u4EF6\u63CF\u8FF0\u4E2D\u3002"},includeObsidianLink:{name:"\u5305\u542BObsidian\u94FE\u63A5",description:"\u5728\u4E8B\u4EF6\u63CF\u8FF0\u4E2D\u6DFB\u52A0\u8FD4\u56DEObsidian\u4E2D\u4EFB\u52A1\u7684\u94FE\u63A5\u3002"},defaultReminder:{name:"\u9ED8\u8BA4\u63D0\u9192",description:"\u4E3A\u5E26\u65F6\u95F4\u7684 Google Calendar \u4E8B\u4EF6\u6DFB\u52A0\u5F39\u51FA\u63D0\u9192\u3002\u8BF7\u8F93\u5165\u4E8B\u4EF6\u5F00\u59CB\u524D\u7684\u5206\u949F\u6570\uFF0C\u7528\u9017\u53F7\u5206\u9694\u3002\u7559\u7A7A\u5219\u4F7F\u7528\u65E5\u5386\u9ED8\u8BA4\u503C\u3002\u5E38\u7528\u503C\uFF1A15\u300130\u300160\u30011440\u3002"},automaticSyncBehavior:{header:"\u81EA\u52A8\u540C\u6B65\u884C\u4E3A"},syncOnCreate:{name:"\u521B\u5EFA\u4EFB\u52A1\u65F6\u540C\u6B65",description:"\u521B\u5EFA\u65B0\u4EFB\u52A1\u65F6\u81EA\u52A8\u521B\u5EFA\u65E5\u5386\u4E8B\u4EF6\u3002"},syncOnUpdate:{name:"\u66F4\u65B0\u4EFB\u52A1\u65F6\u540C\u6B65",description:"\u4FEE\u6539\u4EFB\u52A1\u65F6\u81EA\u52A8\u66F4\u65B0\u65E5\u5386\u4E8B\u4EF6\u3002"},syncOnComplete:{name:"\u5B8C\u6210\u4EFB\u52A1\u65F6\u540C\u6B65",description:"\u4EFB\u52A1\u5B8C\u6210\u65F6\u66F4\u65B0\u65E5\u5386\u4E8B\u4EF6\uFF08\u5728\u6807\u9898\u4E2D\u6DFB\u52A0\u52FE\u9009\u6807\u8BB0\uFF09\u3002"},syncOnDelete:{name:"\u5220\u9664\u4EFB\u52A1\u65F6\u5220\u9664\u4E8B\u4EF6",description:"\u5220\u9664\u76F8\u5E94\u4EFB\u52A1\u65F6\u5220\u9664\u65E5\u5386\u4E8B\u4EF6\u3002"},manualSyncActions:{header:"\u624B\u52A8\u540C\u6B65\u64CD\u4F5C"},syncAllTasks:{name:"\u540C\u6B65\u6240\u6709\u4EFB\u52A1",description:"\u5C06\u6240\u6709\u73B0\u6709\u4EFB\u52A1\u540C\u6B65\u5230Google\u65E5\u5386\u3002\u8FD9\u5C06\u4E3A\u5C1A\u672A\u540C\u6B65\u7684\u4EFB\u52A1\u521B\u5EFA\u4E8B\u4EF6\u3002",buttonText:"\u5168\u90E8\u540C\u6B65"},unlinkAllTasks:{name:"\u53D6\u6D88\u5173\u8054\u6240\u6709\u4EFB\u52A1",description:"\u5220\u9664\u6240\u6709\u4EFB\u52A1-\u4E8B\u4EF6\u5173\u8054\u800C\u4E0D\u5220\u9664\u65E5\u5386\u4E8B\u4EF6\u3002",buttonText:"\u5168\u90E8\u53D6\u6D88\u5173\u8054",confirmTitle:"\u53D6\u6D88\u5173\u8054\u6240\u6709\u4EFB\u52A1",confirmMessage:"\u8FD9\u5C06\u5220\u9664\u4EFB\u52A1\u548C\u65E5\u5386\u4E8B\u4EF6\u4E4B\u95F4\u7684\u6240\u6709\u5173\u8054\u3002\u65E5\u5386\u4E8B\u4EF6\u5C06\u4FDD\u7559\uFF0C\u4F46\u4EFB\u52A1\u66F4\u6539\u65F6\u4E0D\u518D\u66F4\u65B0\u3002\u786E\u5B9A\u5417\uFF1F",confirmButtonText:"\u5168\u90E8\u53D6\u6D88\u5173\u8054"},notices:{notEnabled:"Google\u65E5\u5386\u5BFC\u51FA\u672A\u542F\u7528\u3002\u8BF7\u5728\u8BBE\u7F6E > \u96C6\u6210\u4E2D\u914D\u7F6E\u3002",notEnabledOrConfigured:"Google\u65E5\u5386\u5BFC\u51FA\u672A\u542F\u7528\u6216\u672A\u914D\u7F6E",serviceNotAvailable:"\u4EFB\u52A1\u65E5\u5386\u540C\u6B65\u670D\u52A1\u4E0D\u53EF\u7528",syncResults:"\u5DF2\u540C\u6B65\uFF1A{synced}\uFF0C\u5931\u8D25\uFF1A{failed}\uFF0C\u8DF3\u8FC7\uFF1A{skipped}",taskSynced:"\u4EFB\u52A1\u5DF2\u540C\u6B65\u5230Google\u65E5\u5386",noActiveFile:"\u5F53\u524D\u6CA1\u6709\u6D3B\u52A8\u6587\u4EF6",notATask:"\u5F53\u524D\u6587\u4EF6\u4E0D\u662F\u4EFB\u52A1",noDateToSync:"\u4EFB\u52A1\u6CA1\u6709\u53EF\u540C\u6B65\u7684\u8BA1\u5212\u65E5\u671F\u6216\u622A\u6B62\u65E5\u671F",syncFailed:"\u540C\u6B65\u4EFB\u52A1\u5230Google\u65E5\u5386\u5931\u8D25\uFF1A{message}",connectionExpired:"Google \u65E5\u5386\u8FDE\u63A5\u5DF2\u8FC7\u671F\u3002\u8BF7\u5728\u201C\u8BBE\u7F6E > \u96C6\u6210\u201D\u4E2D\u91CD\u65B0\u8FDE\u63A5\u3002",syncingTasks:"\u6B63\u5728\u540C\u6B65{total}\u4E2A\u4EFB\u52A1\u5230Google\u65E5\u5386...",syncComplete:"\u540C\u6B65\u5B8C\u6210\uFF1A{synced}\u4E2A\u5DF2\u540C\u6B65\uFF0C{failed}\u4E2A\u5931\u8D25\uFF0C{skipped}\u4E2A\u8DF3\u8FC7",eventsDeletedAndUnlinked:"\u6240\u6709\u4E8B\u4EF6\u5DF2\u5220\u9664\u5E76\u53D6\u6D88\u5173\u8054",tasksUnlinked:"\u6240\u6709\u4EFB\u52A1\u5173\u8054\u5DF2\u5220\u9664"},eventDescription:{untitledTask:"\u65E0\u6807\u9898\u4EFB\u52A1",priority:"\u4F18\u5148\u7EA7\uFF1A{value}",status:"\u72B6\u6001\uFF1A{value}",due:"\u622A\u6B62\uFF1A{value}",scheduled:"\u8BA1\u5212\uFF1A{value}",timeEstimate:"\u65F6\u95F4\u4F30\u8BA1\uFF1A{value}",tags:"\u6807\u7B7E\uFF1A{value}",contexts:"\u4E0A\u4E0B\u6587\uFF1A{value}",projects:"\u9879\u76EE\uFF1A{value}",openInObsidian:"\u5728Obsidian\u4E2D\u6253\u5F00"}},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:"\u4F60\u7684\u79D8\u5BC6\u4EE4\u724C"},mcp:{enable:{name:"\u542F\u7528 MCP \u670D\u52A1\u5668",description:"\u901A\u8FC7 /mcp \u7AEF\u70B9\u4F7F\u7528 Model Context Protocol \u66B4\u9732 TaskNotes \u5DE5\u5177\u3002\u9700\u8981\u542F\u7528 HTTP API\u3002"}},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 \u5730\u5740",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.json\u6A21\u677F\u6587\u4EF6\u8DEF\u5F84",placeholder:"simple-template.json"},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 \u5730\u5740",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.json\u6A21\u677F\u6587\u4EF6\u8DEF\u5F84",placeholder:"simple-template.json"},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:"JSON\u8F6C\u6362\u6A21\u677F\u5141\u8BB8\u60A8\u81EA\u5B9A\u4E49webhook\u8F7D\u8377\uFF1A",jsFiles:"",jsDescription:"",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:"simple-template.json"},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"},mdbaseSpec:{header:"mdbase\u7C7B\u578B\u5B9A\u4E49",learnMore:"\u4E86\u89E3\u66F4\u591A\u5173\u4E8E mdbase-spec \u7684\u4FE1\u606F",enable:{name:"\u751F\u6210 mdbase \u7C7B\u578B\u5B9A\u4E49",description:"\u968F\u7740\u8BBE\u7F6E\u53D8\u5316\uFF0C\u5728\u5E93\u6839\u76EE\u5F55\u751F\u6210\u5E76\u7EF4\u62A4 mdbase \u7C7B\u578B\u6587\u4EF6\uFF08mdbase.yaml \u548C _types/task.md\uFF09\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",createOrOpenTaskWithTracking:"\u521B\u5EFA\u6216\u6253\u5F00\u4EFB\u52A1\u5E76\u5F00\u59CB\u65F6\u95F4\u8DDF\u8E2A",rolloverOverdueScheduledTasks:"\u5C06\u903E\u671F\u7684\u8BA1\u5212\u4EFB\u52A1\u63A8\u8FDF\u5230\u4ECA\u5929",syncAllTasksGoogleCalendar:"\u540C\u6B65\u6240\u6709\u4EFB\u52A1\u5230Google\u65E5\u5386",syncCurrentTaskGoogleCalendar:"\u540C\u6B65\u5F53\u524D\u4EFB\u52A1\u5230Google\u65E5\u5386",quickActionsTaskUnderCursor:"\u5149\u6807\u4E0B\u4EFB\u52A1\u7684\u5FEB\u901F\u64CD\u4F5C",editCurrentTask:"\u7F16\u8F91\u5F53\u524D\u4EFB\u52A1",cycleCurrentTaskStatus:"\u5FAA\u73AF\u5F53\u524D\u4EFB\u52A1\u72B6\u6001",cycleCurrentTaskPriority:"\u5FAA\u73AF\u5F53\u524D\u4EFB\u52A1\u4F18\u5148\u7EA7",addProjectToCurrentTask:"\u5411\u5F53\u524D\u4EFB\u52A1\u6DFB\u52A0\u9879\u76EE",addSubtaskToCurrentNote:"\u5411\u5F53\u524D\u7B14\u8BB0\u6DFB\u52A0\u5B50\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"},calendarEventCreation:{heading:"\u521B\u5EFA\u65E5\u5386\u4E8B\u4EF6",dateTimeLabel:"\u65E5\u671F\u548C\u65F6\u95F4\uFF1A",titleLabel:"\u6807\u9898",titleDesc:"\u65E5\u5386\u4E8B\u4EF6\u7684\u6807\u9898",titlePlaceholder:"\u4F8B\u5982\uFF1A\u56E2\u961F\u4F1A\u8BAE",calendarLabel:"\u65E5\u5386",calendarDesc:"\u5728\u54EA\u4E2A\u65E5\u5386\u4E2D\u521B\u5EFA\u4E8B\u4EF6",descriptionLabel:"\u63CF\u8FF0",descriptionDesc:"\u4E8B\u4EF6\u7684\u53EF\u9009\u63CF\u8FF0",descriptionPlaceholder:"\u6DFB\u52A0\u6B64\u4E8B\u4EF6\u7684\u8BE6\u7EC6\u4FE1\u606F...",locationLabel:"\u5730\u70B9",locationDesc:"\u4E8B\u4EF6\u7684\u53EF\u9009\u5730\u70B9",locationPlaceholder:"\u4F8B\u5982\uFF1A\u4F1A\u8BAE\u5BA4A",createButton:"\u521B\u5EFA\u4E8B\u4EF6",titleRequired:"\u4E8B\u4EF6\u6807\u9898\u4E3A\u5FC5\u586B\u9879",noCalendarSelected:"\u672A\u9009\u62E9\u65E5\u5386",success:'\u65E5\u5386\u4E8B\u4EF6 "{title}" \u5DF2\u521B\u5EFA',error:"\u521B\u5EFA\u65E5\u5386\u4E8B\u4EF6\u5931\u8D25\uFF1A{message}"},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:"\u6A21\u677F/ics\u7B14\u8BB0\u6A21\u677F.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}",openCreatedTaskFailure:"\u4EFB\u52A1\u5DF2\u521B\u5EFA\uFF0C\u4F46\u65E0\u6CD5\u6253\u5F00\u4EFB\u52A1\u7B14\u8BB0\u3002"}},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",deleteSuccess:"\u4EFB\u52A1\u201C{title}\u201D\u5DF2\u6210\u529F\u5220\u9664",deleteFailure:"\u5220\u9664\u4EFB\u52A1\u5931\u8D25\uFF1A{message}"},archiveAction:{archived:"\u5DF2\u5F52\u6863",unarchived:"\u5DF2\u53D6\u6D88\u5F52\u6863"},deleteConfirmation:{title:"\u5220\u9664\u4EFB\u52A1",message:"\u786E\u5B9A\u8981\u5220\u9664\u201C{title}\u201D\u5417\uFF1F\u8FD9\u4F1A\u5C06\u4EFB\u52A1\u7B14\u8BB0\u79FB\u5230 Obsidian \u56DE\u6536\u7AD9\u3002",confirm:"\u5220\u9664\u4EFB\u52A1"}},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:"\u5FC5\u987B\u5728\u6838\u5FC3\u65E5\u8BB0\u63D2\u4EF6\u6216 Periodic Notes \u4E2D\u542F\u7528\u65E5\u8BB0",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",openNoteInNewTab:"\u5728\u65B0\u6807\u7B7E\u9875\u6253\u5F00\u7B14\u8BB0",copyTitle:"\u590D\u5236\u4EFB\u52A1\u6807\u9898",quickActions:"\u5FEB\u901F\u64CD\u4F5C",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",syncToGoogle:"\u540C\u6B65\u5230Google\u65E5\u5386",syncToGoogleNotConfigured:"Google\u65E5\u5386\u540C\u6B65\u672A\u914D\u7F6E",syncToGoogleSuccess:"\u4EFB\u52A1\u5DF2\u540C\u6B65\u5230Google\u65E5\u5386",syncToGoogleFailed:"\u540C\u6B65\u5230Google\u65E5\u5386\u5931\u8D25"},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',unknownDependency:"\u672A\u77E5",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",updateContextsFailed:"\u66F4\u65B0\u4E0A\u4E0B\u6587\u5931\u8D25"},contexts:"\u4E0A\u4E0B\u6587",addContext:"\u6DFB\u52A0\u4E0A\u4E0B\u6587\u2026",contextPlaceholder:"\u4E0A\u4E0B\u6587",contextSelected:"\u2713 {context}",clearContexts:"\u6E05\u9664\u4E0A\u4E0B\u6587"},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}",updateTagsFailed:"\u66F4\u65B0\u6807\u7B7E\u5931\u8D25"},tags:"\u6807\u7B7E",addTag:"\u6DFB\u52A0\u6807\u7B7E\u2026",removeTag:"\u79FB\u9664 {tag}",removeTagInput:"\u79FB\u9664\u6807\u7B7E\u2026",tagPlaceholder:"\u6807\u7B7E\u6216 #\u6807\u7B7E",clearTags:"\u6E05\u9664\u6807\u7B7E"},priority:{clearPriority:"\u6E05\u9664\u4F18\u5148\u7EA7"},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:{labels:{due:"\u622A\u6B62\u65E5\u671F",scheduled:"\u5DF2\u8BA1\u5212",recurrence:"\u91CD\u590D",completed:"\u5DF2\u5B8C\u6210",created:"\u521B\u5EFA\u4E8E",modified:"\u4FEE\u6539\u4E8E",blocked:"\u88AB\u963B\u585E",blocking:"\u963B\u585E\u4E2D"},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",priorityAriaLabel:"\u4F18\u5148\u7EA7: {label}",taskOptions:"\u4EFB\u52A1\u9009\u9879",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"\u5DF2\u8BBE\u7F6E 1 \u4E2A\u63D0\u9192\uFF08\u70B9\u51FB\u7BA1\u7406\uFF09",reminderTooltipMany:"\u5DF2\u8BBE\u7F6E {count} \u4E2A\u63D0\u9192\uFF08\u70B9\u51FB\u7BA1\u7406\uFF09",projectTooltip:"\u6B64\u4EFB\u52A1\u7528\u4F5C\u9879\u76EE\uFF08\u70B9\u51FB\u53EF\u7B5B\u9009\u5B50\u4EFB\u52A1\uFF09",expandSubtasks:"\u5C55\u5F00\u5B50\u4EFB\u52A1",collapseSubtasks:"\u6298\u53E0\u5B50\u4EFB\u52A1",dueToday:"{label}: \u4ECA\u5929",dueTodayAt:"{label}: \u4ECA\u5929 {time}",dueOverdue:"{label}: {display}\uFF08\u903E\u671F\uFF09",dueLabel:"{label}: {display}",scheduledToday:"{label}: \u4ECA\u5929",scheduledTodayAt:"{label}: \u4ECA\u5929 {time}",scheduledPast:"{label}: {display}\uFF08\u8FC7\u671F\uFF09",scheduledLabel:"{label}: {display}",loadingDependencies:"\u6B63\u5728\u52A0\u8F7D\u4F9D\u8D56\u2026",blockingEmpty:"\u6CA1\u6709\u4F9D\u8D56\u7684\u4EFB\u52A1",blockingLoadError:"\u65E0\u6CD5\u52A0\u8F7D\u4F9D\u8D56",googleCalendarSyncTooltip:"\u5DF2\u540C\u6B65\u5230Google\u65E5\u5386",detailsTooltip:"\u4EFB\u52A1\u6709\u8BE6\u7EC6\u4FE1\u606F"},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",checklistProgress:"\u6E05\u5355\u8FDB\u5EA6",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 xwe={common:{appName:"TaskNotes",new:"Neu",cancel:"Abbrechen",confirm:"Best\xE4tigen",close:"Schlie\xDFen",save:"Speichern",reorder:{confirmLargeTitle:"Gro\xDFe Neuordnung best\xE4tigen",confirmButton:"Notizen neu anordnen",confirmLargeMessage:'Durch das Neuordnen werden in {count} Notizen die Werte von "{field}" aktualisiert, um eine dauerhafte manuelle Reihenfolge f\xFCr {scope} zu erstellen. Versteckte oder herausgefilterte Notizen im selben Bereich k\xF6nnen ebenfalls aktualisiert werden. Fortfahren?'},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)",ko:"Koreanisch"},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.",reorder:{scope:{ungrouped:"diese ungegliederte Liste",group:'Gruppe "{group}"'}},errors:{formulaGroupingReadOnly:"Aufgaben in formelbasierten Gruppen k\xF6nnen nicht neu angeordnet werden. Formelwerte werden berechnet und k\xF6nnen nicht direkt ge\xE4ndert werden."}},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",contextMenu:{openDailyNote:"T\xE4gliche Notiz \xF6ffnen",openWeeklyNote:"W\xF6chentliche Notiz \xF6ffnen"}},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",today:"Zu heute gehen",prev:"Zur\xFCck",next:"Weiter",month:"Monatsansicht",week:"Wochenansicht",day:"Tagesansicht",year:"Jahresansicht",list:"Listenansicht",customDays:"{count}-Tage-Ansicht"},settings:{groups:{dateNavigation:"Datumsnavigation",events:"Ereignisse",layout:"Layout",view:"Ansicht",display:"Anzeige",timeGrid:"Zeitgitter",eventLayout:"Ereignislayout",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",createDailyNotesFromDateLinks:"T\xE4gliche Notizen \xFCber Datumslinks erstellen",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",showCompletedRecurringInstances:"Abgeschlossene wiederkehrende Instanzen anzeigen",showSkippedRecurringInstances:"\xDCbersprungene wiederkehrende Instanzen 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)",dragDropResolution:"Aufl\xF6sung f\xFCr Ziehen/Ablegen",dragDropResolutionPlaceholder:"HH:mm:ss (z.B. 00:05:00)",weekStartsOn:"Woche beginnt am",showWeekNumbers:"Wochennummern anzeigen",showNowIndicator:"Jetzt-Indikator anzeigen",showWeekends:"Wochenenden anzeigen",showAllDaySlot:"Ganzt\xE4gigen Slot anzeigen",showTimeGrid:"Stundenraster anzeigen",showTodayHighlight:"Heute hervorheben",todayColumnWidthMultiplier:"Multiplikator der heutigen Spaltenbreite",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)",spanScheduledToDue:"Aufgaben zwischen geplantem und F\xE4lligkeitsdatum spannen",heightMode:"H\xF6henmodus",heightModeFill:"Container f\xFCllen",heightModeAuto:"Automatische H\xF6he"},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"}},notices:{noDailyNoteForDate:"F\xFCr dieses Datum ist keine t\xE4gliche Notiz vorhanden."},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",reorder:{scope:{column:'Spalte "{group}"',columnInSwimlane:'Spalte "{group}" in Swimlane "{swimlane}"'}},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.",formulaGroupingReadOnly:"Aufgaben k\xF6nnen nicht zwischen formelbasierten Spalten verschoben werden. Formelwerte werden berechnet und k\xF6nnen nicht direkt ge\xE4ndert werden.",formulaSwimlaneReadOnly:"Aufgaben k\xF6nnen nicht zwischen formelbasierten Swimlanes verschoben werden. Formelwerte werden berechnet und k\xF6nnen nicht direkt ge\xE4ndert werden."},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",startFocus:"Fokus starten",addMinute:"Eine Minute hinzuf\xFCgen",subtractMinute:"Eine Minute abziehen"},notices:{noTasks:"Keine unarchivierte Aufgaben gefunden. Erstelle zuerst einige Aufgaben.",loadFailed:"Aufgaben konnten nicht geladen werden",invalidDuration:"Gib eine Dauer wie 10, 10:30 oder 1:30:00 ein."},statsLabel:"heute abgeschlossen",meta:{ready:"{time} geplant \xB7 {count} heute abgeschlossen",running:"{time} verbleibend",paused:"{type} pausiert \xB7 {time} verbleibend",breakReady:"{type} bereit \xB7 {time} geplant"},timer:{editLabel:"Timerdauer bearbeiten",inputLabel:"Timerdauer"}},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"},delete:"Sitzung l\xF6schen",deleteAria:"Pomodoro-Sitzung l\xF6schen",deleteConfirmTitle:"Pomodoro-Sitzung l\xF6schen?",deleteConfirmMessage:"Dadurch wird die Sitzung aus dem Pomodoro-Verlauf entfernt. Vorhandene Zeiteintr\xE4ge von Aufgaben werden nicht ge\xE4ndert.",deleteConfirmButton:"L\xF6schen",deleteSuccess:"Pomodoro-Sitzung gel\xF6scht",deleteNotFound:"Pomodoro-Sitzung wurde nicht gefunden"},basesMigration:{title:"M\xF6chtest du eine Base-Ansicht?",description:"Pomodoro-Base-Ansichten verwenden das Frontmatter t\xE4glicher Notizen. Um diesen Verlauf in der generierten Pomodoro-Statistik-Base zu sehen, migriere die Pomodoro-Daten in den Einstellungen und setze den Speicherort anschlie\xDFend auf t\xE4gliche Notizen."}},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:"Wir freuen uns sehr \xFCber jedes Feedback. Wenn sich etwas nicht richtig anf\xFChlt, lassen Sie es uns bitte auf GitHub wissen. Wenn Sie TaskNotes n\xFCtzlich finden, geben Sie ihm bitte einen Stern.",baseFilesNotice:"> [!info] Hinweis zu den standardm\xE4\xDFigen `.base`-Dateien\n> \xC4nderungen an standardm\xE4\xDFig generierten `.base`-Vorlagen \xFCberschreiben Ihre vorhandenen `.base`-Dateien nicht, damit Ihre Anpassungen erhalten bleiben.\n> Wenn Sie die neuesten Vorlagenverbesserungen m\xF6chten, erstellen Sie die Base-Dateien neu unter **Einstellungen \u2192 TaskNotes \u2192 Allgemein \u2192 Dateien erstellen**."}},settings:{header:{documentation:"Dokumentation",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."},taskCreation:{header:"Aufgabenerstellung",description:"Konfiguriere, was nach dem Erstellen von Aufgaben passiert.",openAfterCreate:{name:"Aufgabe nach Erstellung \xF6ffnen",description:"W\xE4hle, ob der normale Dialog 'Neue Aufgabe erstellen' die neue Aufgabennotiz nach dem Speichern \xF6ffnet.",options:{none:"Nicht \xF6ffnen",sameTab:"Im selben Tab \xF6ffnen",newTab:"In einem neuen Tab \xF6ffnen"}}},overlays:{taskLinkToggle:{name:"Aufgabenlink-Overlay",description:"Zeige interaktive Overlays beim Hovern \xFCber Aufgabenlinks"},aliasExclusion:{name:"Overlay f\xFCr Alias-Links deaktivieren",description:"Das Aufgaben-Widget nicht anzeigen, wenn der Link einen Alias enth\xE4lt (z.B. [[Aufgabe|Alias]])."}},instantConvert:{toggle:{name:"Konvertierungs-Button neben Checkboxen anzeigen",description:"Zeige einen Inline-Button neben Markdown-Checkboxen an, der diese in TaskNotes konvertiert"},preserveCheckbox:{name:"Checkbox beim Konvertieren beibehalten",description:"Den urspr\xFCnglichen Markdown-Checkbox-Marker beibehalten, wenn eine Checkbox in einen TaskNote-Link konvertiert wird"},folder:{name:"Ordner f\xFCr inline erstellte Aufgaben",description:"Ordner, in dem Aufgaben aus Inline-Befehlen oder Checkbox-Konvertierungen 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 Namen der aktuellen Notiz."}},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"},mobileSidebar:{name:"Mobile Seitenleiste",description:"Wo der Pomodoro-Timer auf mobilen Ger\xE4ten ge\xF6ffnet werden soll",tab:"Notiz-Panel",left:"Linke Seitenleiste",right:"Rechte Seitenleiste"},statusBar:{name:"Pomodoro in der Statusleiste anzeigen",description:"Aktiven Pomodoro-Countdown in der Obsidian-Statusleiste anzeigen"}},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",soundEnabledName:"Benachrichtigungston",soundEnabledDesc:"Ton abspielen, wenn Aufgabenerinnerungen ausgel\xF6st werden",soundVolumeName:"Tonlautst\xE4rke",soundVolumeDesc:"Lautst\xE4rke f\xFCr Aufgabenerinnerungst\xF6ne (0-100)",soundPreviewName:"Benachrichtigungston vorh\xF6ren",soundPreviewDesc:"Konfigurierten Aufgabenerinnerungston abspielen",soundPreviewButton:"Vorschau",testReminderName:"Testerinnerung senden",testReminderDesc:"Eine Testerinnerung mit dem aktuellen Benachrichtigungstyp und den Toneinstellungen senden.",testReminderButton:"Test senden"},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",resetCheckboxesName:"Kontrollk\xE4stchen bei Wiederholung zur\xFCcksetzen",resetCheckboxesDesc:"Alle Markdown-Kontrollk\xE4stchen im Aufgabentext zur\xFCcksetzen, wenn eine wiederkehrende Aufgabe abgeschlossen und neu geplant wird"},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",defaultColorName:"Standard-Zeitblockfarbe",defaultColorDesc:"Die Standardfarbe f\xFCr neue Zeitbl\xF6cke",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."},debugLogging:{header:"Debug-Protokollierung",description:"Konfiguriere Debug-Protokollausgaben f\xFCr die Fehlerbehebung.",enableName:"Debug-Protokollierung aktivieren",enableDesc:"Protokolliere detaillierte Drag-and-Drop- und Ansichtsdiagnosen in der Entwicklerkonsole. N\xFCtzlich zur Fehlerbehebung."}},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"},useParentHeaderAsProject:{name:"\xDCbergeordnete \xDCberschrift als Projekt bei sofortiger Konvertierung verwenden",description:"Die n\xE4chstgelegene \xDCberschrift \xFCber der konvertierten Zeile bei sofortiger Aufgabenkonvertierung automatisch als Projekt verlinken"},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. Unterst\xFCtzt Ordnervorlagen-Variablen wie {{currentNotePath}}, {{currentNoteTitle}} und {{projectFilePath}} sowie Datums-Tokens im Daily-Notes-Stil wie YYYY/MM/DD."},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"},hideIdentifyingTagsMode:{name:"Umfang der ausgeblendeten Tags",description:"W\xE4hle, ob beim Ausblenden von Identifikations-Tags auch verschachtelte Tags ausgeblendet werden.",options:{all:"Aufgaben-Tag und verschachtelte Tags",exactOnly:"Nur exakter Aufgaben-Tag"}},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."},sortOrder:{name:"Manuelle Reihenfolge",description:"Die Frontmatter-Eigenschaft f\xFCr die manuelle Sortierung per Drag-and-Drop. Die Ansicht muss nach dieser Eigenschaft sortiert sein, damit Drag-and-Drop-Reihenfolge funktioniert."},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:",useParentHeader:"\xDCbergeordnete \xDCberschrift als Projekt verwenden:",inheritParentTaskProperties:"Eigenschaften der \xFCbergeordneten Aufgabe f\xFCr Unteraufgaben \xFCbernehmen:",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:",legacySyntaxWarning:"Die Syntax mit einfachen Klammern wie {title} ist veraltet. Bitte verwenden Sie stattdessen die Syntax mit doppelten Klammern {{title}} f\xFCr Konsistenz mit Body-Vorlagen."},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:",excludeFromCycle:"Beim Durchlaufen \xFCberspringen:",nextStatus:"N\xE4chster Status:",autoArchive:"Auto-Archivierung:",delayMinutes:"Verz\xF6gerung (Minuten):"},placeholders:{value:"in-bearbeitung",label:"In Bearbeitung",icon:"check, circle, clock",nextStatusDefault:"Statusreihenfolge verwenden"},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",icon:"Symbol: Optionales Lucide-Symbol, das auf Aufgabenkarten statt des Priorit\xE4tspunkts angezeigt wird",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:",icon:"Symbol:",weight:"Gewicht:"},placeholders:{value:"hoch",label:"Hohe Priorit\xE4t",icon:"alert-circle"},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",sortOrder:"Manuelle Reihenfolge",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",checklistProgress:"Checklistenfortschritt",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",uuid:"UUID v4"}},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}}, {{uuid}}, {{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, die in Timeline-Ansichten angezeigt wird (HH:MM-Format). Verwende Werte \xFCber 24:00, um fr\xFChe Stunden des n\xE4chsten Tages anzuzeigen, z. B. 26:00 f\xFCr 2 Uhr morgens.",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"Titel erledigter Aufgaben durchstreichen",description:"Zeichnet eine Linie durch Titel erledigter Aufgabenkarten. Deaktivieren, damit erledigte Aufgaben leichter lesbar bleiben"},showExpandableSubtasks:{name:"Ausklappbare Unteraufgaben anzeigen",description:"Aus-/Einklappen von Unteraufgaben-Abschnitten in Aufgabenkarten erlauben"},expandSubtasksByDefault:{name:"Unteraufgaben standardm\xE4\xDFig ausklappen",description:"Projekt-Unteraufgaben beim Anzeigen von Aufgabenkarten automatisch ausgeklappt anzeigen"},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:{mobileCalendar:{disable:{name:"Kalenderintegrationen auf Mobilger\xE4ten deaktivieren",description:"Google-, Microsoft- und ICS-Kalender auf Obsidian Mobile nicht laden. Desktop-Kalenderintegrationen bleiben unver\xE4ndert."},status:{name:"Kalenderintegrationen sind auf diesem Mobilger\xE4t deaktiviert",description:"Deaktiviere diese Einstellung und lade Obsidian Mobile neu, um Kalender wieder zu laden."}},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, verwende unten \u201EDateien aktualisieren\u201C, l\xF6sche die vorhandenen .base-Dateien und starte Obsidian neu 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",pomodoroStats:"Pomodoro-Statistik-Base"},fileLabel:"Datei: {path}",resetButton:"Zur\xFCcksetzen",resetTooltip:"Auf Standardpfad zur\xFCcksetzen",pomodoroDailyNotesHint:"Die generierte Pomodoro-Statistik-Base liest den Pomodoro-Verlauf aus t\xE4glichen Notizen. Wenn dein Verlauf noch in Plugin-Daten gespeichert ist, migriere ihn in den Einstellungen, bevor du diese Base-Datei verwendest."},autoCreateDefaultFiles:{name:"Standarddateien automatisch erstellen",description:"Fehlende Standard-Base-Ansichtsdateien beim Start automatisch erstellen. Deaktivieren, um zu verhindern, dass gel\xF6schte Beispieldateien neu erstellt werden."},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."},updateDefaultFiles:{name:"Standarddateien aktualisieren",description:"Die konfigurierten Standard-.base-Dateien mit Vorlagen \xFCberschreiben, die aus deinen aktuellen TaskNotes-Einstellungen erzeugt werden.",buttonText:"Dateien aktualisieren",confirmTitle:"Standard-Base-Dateien aktualisieren",confirmMessage:"Dadurch werden die konfigurierten Standard-.base-Dateien mit neu generierten Vorlagen \xFCberschrieben. Manuelle \xC4nderungen in diesen Dateien werden ersetzt.",confirmText:"Dateien aktualisieren"}},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}"},useICSEndAsDue:{name:"ICS-Ereignis-Endzeit als F\xE4lligkeitsdatum verwenden",description:"Wenn aktiviert, wird das F\xE4lligkeitsdatum von Aufgaben aus Kalenderereignissen auf die Endzeit des Ereignisses gesetzt. Bei ganzt\xE4gigen Ereignissen wird das F\xE4lligkeitsdatum auf das Ereignisdatum gesetzt. Bei zeitgesteuerten Ereignissen enth\xE4lt das F\xE4lligkeitsdatum die Endzeit."}},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"},useDuration:{name:"Aufgabendauer f\xFCr Eventl\xE4nge verwenden",description:"Wenn aktiviert, wird die gesch\xE4tzte Dauer der Aufgabe anstelle des F\xE4lligkeitsdatums f\xFCr die Endzeit des Kalenderevents verwendet. Dies ist n\xFCtzlich f\xFCr GTD-Workflows, bei denen geplant + Dauer die Arbeitsplanung darstellt, w\xE4hrend das F\xE4lligkeitsdatum Fristen repr\xE4sentiert."},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"},excludeCompleted:{name:"Abgeschlossene Aufgaben ausschlie\xDFen",description:"Wenn aktiviert, werden abgeschlossene Aufgaben aus ICS-Exporten ausgelassen. Abgeschlossene Status werden aus deinen Aufgabenstatus-Einstellungen \xFCbernommen."},excludeArchived:{name:"Archivierte Aufgaben ausschlie\xDFen",description:"Wenn aktiviert, werden archivierte Aufgaben aus ICS-Exporten ausgelassen."},requireDueDate:{name:"F\xE4lligkeitsdatum erforderlich",description:"Wenn aktiviert, werden nur Aufgaben mit F\xE4lligkeitsdatum in ICS-Exporte aufgenommen."},requireScheduledDate:{name:"Geplantes Datum erforderlich",description:"Wenn aktiviert, werden nur Aufgaben mit geplantem Datum in ICS-Exporte aufgenommen."}},googleCalendarExport:{header:"Aufgaben zu Google Kalender exportieren",description:"Synchronisiere deine Aufgaben automatisch als Ereignisse mit Google Kalender. Erfordert eine vorherige Google Kalender-Verbindung.",enable:{name:"Aufgabenexport aktivieren",description:"Wenn aktiviert, werden Aufgaben mit Terminen automatisch als Ereignisse mit Google Kalender synchronisiert."},targetCalendar:{name:"Zielkalender",description:"W\xE4hle den Kalender aus, in dem Aufgabenereignisse erstellt werden sollen.",placeholder:"Kalender ausw\xE4hlen...",connectFirst:"Verbinde zuerst Google Kalender",primarySuffix:" (Prim\xE4r)"},syncTrigger:{name:"Synchronisierungsausl\xF6ser",description:"Welches Aufgabendatum soll die Kalenderereigniserstellung ausl\xF6sen.",options:{scheduled:"Geplantes Datum",due:"F\xE4lligkeitsdatum",both:"Beide (geplant bevorzugt)"}},allDayEvents:{name:"Als Ganztagesereignisse erstellen",description:"Wenn aktiviert, werden Aufgaben als Ganztagesereignisse erstellt. Wenn deaktiviert, wird die Zeitsch\xE4tzung f\xFCr die Dauer verwendet."},defaultDuration:{name:"Standard-Ereignisdauer",description:"Dauer in Minuten f\xFCr zeitgesteuerte Ereignisse (wird verwendet, wenn die Aufgabe keine Zeitsch\xE4tzung hat)."},eventTitleTemplate:{name:"Ereignistitelvorlage",description:"Vorlage f\xFCr Ereignistitel. Verf\xFCgbare Variablen: {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"Aufgabendetails in Beschreibung einschlie\xDFen",description:"Aufgabenmetadaten (Priorit\xE4t, Status, Tags, etc.) zur Ereignisbeschreibung hinzuf\xFCgen."},includeObsidianLink:{name:"Obsidian-Link einschlie\xDFen",description:"Einen Link zur Aufgabe in Obsidian in der Ereignisbeschreibung hinzuf\xFCgen."},defaultReminder:{name:"Standard-Erinnerung",description:"Popup-Erinnerungen zu zeitgebundenen Google-Kalender-Ereignissen hinzuf\xFCgen. Gib Minuten vor dem Ereignis durch Kommas getrennt ein. Leer lassen, um Kalenderstandards zu verwenden. \xDCbliche Werte: 15, 30, 60, 1440."},automaticSyncBehavior:{header:"Automatisches Synchronisierungsverhalten"},syncOnCreate:{name:"Bei Aufgabenerstellung synchronisieren",description:"Automatisch ein Kalenderereignis erstellen, wenn eine neue Aufgabe erstellt wird."},syncOnUpdate:{name:"Bei Aufgabenaktualisierung synchronisieren",description:"Automatisch das Kalenderereignis aktualisieren, wenn eine Aufgabe ge\xE4ndert wird."},syncOnComplete:{name:"Bei Aufgabenabschluss synchronisieren",description:"Kalenderereignis aktualisieren, wenn eine Aufgabe abgeschlossen wird (f\xFCgt ein H\xE4kchen zum Titel hinzu)."},syncOnDelete:{name:"Ereignis bei Aufgabenl\xF6schung l\xF6schen",description:"Kalenderereignis entfernen, wenn die entsprechende Aufgabe gel\xF6scht wird."},manualSyncActions:{header:"Manuelle Synchronisierungsaktionen"},syncAllTasks:{name:"Alle Aufgaben synchronisieren",description:"Alle vorhandenen Aufgaben mit Google Kalender synchronisieren. Dies erstellt Ereignisse f\xFCr Aufgaben, die noch nicht synchronisiert wurden.",buttonText:"Alle synchronisieren"},unlinkAllTasks:{name:"Alle Aufgaben trennen",description:"Alle Verkn\xFCpfungen zwischen Aufgaben und Ereignissen entfernen, ohne Kalenderereignisse zu l\xF6schen.",buttonText:"Alle trennen",confirmTitle:"Alle Aufgaben trennen",confirmMessage:"Dies entfernt alle Verkn\xFCpfungen zwischen Aufgaben und Kalenderereignissen. Die Kalenderereignisse bleiben erhalten, werden aber nicht mehr aktualisiert, wenn sich Aufgaben \xE4ndern. Bist du sicher?",confirmButtonText:"Alle trennen"},notices:{notEnabled:"Google Kalender-Export ist nicht aktiviert. Konfiguriere es unter Einstellungen > Integrationen.",notEnabledOrConfigured:"Google Kalender-Export ist nicht aktiviert oder konfiguriert",serviceNotAvailable:"Aufgaben-Kalender-Synchronisierungsdienst nicht verf\xFCgbar",syncResults:"Synchronisiert: {synced}, Fehlgeschlagen: {failed}, \xDCbersprungen: {skipped}",taskSynced:"Aufgabe mit Google Kalender synchronisiert",noActiveFile:"Keine Datei ist derzeit aktiv",notATask:"Die aktuelle Datei ist keine Aufgabe",noDateToSync:"Aufgabe hat kein geplantes oder F\xE4lligkeitsdatum zum Synchronisieren",syncFailed:"Synchronisierung der Aufgabe mit Google Kalender fehlgeschlagen: {message}",connectionExpired:"Die Google Kalender-Verbindung ist abgelaufen. Bitte verbinde sie unter Einstellungen > Integrationen erneut.",syncingTasks:"Synchronisiere {total} Aufgaben mit Google Kalender...",syncComplete:"Synchronisierung abgeschlossen: {synced} synchronisiert, {failed} fehlgeschlagen, {skipped} \xFCbersprungen",eventsDeletedAndUnlinked:"Alle Ereignisse gel\xF6scht und getrennt",tasksUnlinked:"Alle Aufgabenverkn\xFCpfungen entfernt"},eventDescription:{untitledTask:"Unbenannte Aufgabe",priority:"Priorit\xE4t: {value}",status:"Status: {value}",due:"F\xE4llig: {value}",scheduled:"Geplant: {value}",timeEstimate:"Zeitsch\xE4tzung: {value}",tags:"Tags: {value}",contexts:"Kontexte: {value}",projects:"Projekte: {value}",openInObsidian:"In Obsidian \xF6ffnen"}},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"},mcp:{enable:{name:"MCP-Server aktivieren",description:"TaskNotes-Werkzeuge \xFCber Model Context Protocol am Endpunkt /mcp bereitstellen. Erfordert, dass die HTTP API aktiviert ist."}},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 .json Vorlagendatei in deinem Vault, die Webhook-Payloads transformiert",placeholder:"simple-template.json"},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 .json Vorlagendatei in deinem Vault, die Webhook-Payloads transformiert",placeholder:"simple-template.json"},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:"JSON-Transformationsvorlagen erm\xF6glichen es dir, Webhook-Payloads anzupassen:",jsFiles:"",jsDescription:"",jsonFiles:".json Dateien:",jsonDescription:" Vorlagen mit ",jsonVariable:"${data.task.title}",leaveEmpty:"Leer lassen:",leaveEmptyDescription:" Raw-Daten senden",example:"Beispiel:",exampleFile:"simple-template.json"},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."},mdbaseSpec:{header:"mdbase-Typdefinitionen",learnMore:"Mehr \xFCber mdbase-spec erfahren",enable:{name:"mdbase-Typdefinitionen generieren",description:"mdbase-Typdateien (mdbase.yaml und _types/task.md) im Stammverzeichnis des Vaults generieren und pflegen, wenn sich deine Einstellungen \xE4ndern."}},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",createOrOpenTaskWithTracking:"Aufgabe erstellen oder \xF6ffnen und Zeiterfassung starten",rolloverOverdueScheduledTasks:"\xDCberf\xE4llige geplante Aufgaben auf heute verschieben",syncAllTasksGoogleCalendar:"Alle Aufgaben mit Google Kalender synchronisieren",syncCurrentTaskGoogleCalendar:"Aktuelle Aufgabe mit Google Kalender synchronisieren",quickActionsTaskUnderCursor:"Schnellaktionen f\xFCr Aufgabe unter dem Cursor",editCurrentTask:"Aktuelle Aufgabe bearbeiten",cycleCurrentTaskStatus:"Status der aktuellen Aufgabe wechseln",cycleCurrentTaskPriority:"Priorit\xE4t der aktuellen Aufgabe wechseln",addProjectToCurrentTask:"Projekt zur aktuellen Aufgabe hinzuf\xFCgen",addSubtaskToCurrentNote:"Unteraufgabe zur aktuellen Notiz hinzuf\xFCgen"},modals:{deviceCode:{title:"Google Kalender-Autorisierung",instructions:{intro:"Um Ihren Google Kalender 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"},calendarEventCreation:{heading:"Kalenderereignis erstellen",dateTimeLabel:"Datum & Uhrzeit: ",titleLabel:"Titel",titleDesc:"Titel f\xFCr das Kalenderereignis",titlePlaceholder:"z.B. Teambesprechung",calendarLabel:"Kalender",calendarDesc:"In welchem Kalender das Ereignis erstellt werden soll",descriptionLabel:"Beschreibung",descriptionDesc:"Optionale Beschreibung f\xFCr das Ereignis",descriptionPlaceholder:"Details zu diesem Ereignis hinzuf\xFCgen...",locationLabel:"Ort",locationDesc:"Optionaler Ort f\xFCr das Ereignis",locationPlaceholder:"z.B. Konferenzraum A",createButton:"Ereignis erstellen",titleRequired:"Ereignistitel ist erforderlich",noCalendarSelected:"Kein Kalender ausgew\xE4hlt",success:'Kalenderereignis "{title}" erstellt',error:"Kalenderereignis konnte nicht erstellt werden: {message}"},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:"vorlagen/ics-notiz-vorlage.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:"schlagwort1, schlagwort2",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}",openCreatedTaskFailure:"Aufgabe erstellt, aber die Aufgabennotiz konnte nicht ge\xF6ffnet werden."}},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",deleteSuccess:"Aufgabe \u201E{title}\u201C erfolgreich gel\xF6scht",deleteFailure:"Aufgabe konnte nicht gel\xF6scht werden: {message}"},archiveAction:{archived:"archiviert",unarchived:"entarchiviert"},deleteConfirmation:{title:"Aufgabe l\xF6schen",message:"M\xF6chtest du \u201E{title}\u201C wirklich l\xF6schen? Dadurch wird die Aufgabennotiz in den Obsidian-Papierkorb verschoben.",confirm:"Aufgabe l\xF6schen"}},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:"T\xE4gliche Notizen m\xFCssen im Core-Plugin f\xFCr t\xE4gliche Notizen oder in Periodic Notes aktiviert sein",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",openNoteInNewTab:"Notiz in neuem Tab \xF6ffnen",copyTitle:"Aufgabentitel kopieren",quickActions:"Schnellaktionen",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",syncToGoogle:"Mit Google Kalender synchronisieren",syncToGoogleNotConfigured:"Google Kalender-Synchronisierung nicht konfiguriert",syncToGoogleSuccess:"Aufgabe mit Google Kalender synchronisiert",syncToGoogleFailed:"Synchronisierung mit Google Kalender fehlgeschlagen"},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",unknownDependency:"Unbekannt",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",updateContextsFailed:"Kontexte konnten nicht aktualisiert werden"},contexts:"Kontexte",addContext:"Kontext hinzuf\xFCgen\u2026",contextPlaceholder:"Kontext",contextSelected:"\u2713 {context}",clearContexts:"Kontexte l\xF6schen"},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}",updateTagsFailed:"Tags konnten nicht aktualisiert werden"},tags:"Tags",addTag:"Tag hinzuf\xFCgen\u2026",removeTag:"{tag} entfernen",removeTagInput:"Tag entfernen\u2026",tagPlaceholder:"Tag oder #tag",clearTags:"Tags l\xF6schen"},priority:{clearPriority:"Priorit\xE4t l\xF6schen"},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:{labels:{due:"F\xE4llig",scheduled:"Geplant",recurrence:"Wiederkehrend",completed:"Abgeschlossen",created:"Erstellt",modified:"Ge\xE4ndert",blocked:"Blockiert",blocking:"Blockierend"},blockedBadge:"Blockiert",blockedBadgeTooltip:"Diese Aufgabe wartet auf eine andere Aufgabe",blockingBadge:"Blockierend",blockingBadgeTooltip:"Diese Aufgabe blockiert eine andere Aufgabe",blockingToggle:"Blockiert {count} Aufgaben",priorityAriaLabel:"Priorit\xE4t: {label}",taskOptions:"Aufgabenoptionen",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"1 Erinnerung gesetzt (zum Verwalten klicken)",reminderTooltipMany:"{count} Erinnerungen gesetzt (zum Verwalten klicken)",projectTooltip:"Diese Aufgabe wird als Projekt verwendet (zum Filtern von Unteraufgaben klicken)",expandSubtasks:"Unteraufgaben ausklappen",collapseSubtasks:"Unteraufgaben einklappen",dueToday:"{label}: Heute",dueTodayAt:"{label}: Heute um {time}",dueOverdue:"{label}: {display} (\xFCberf\xE4llig)",dueLabel:"{label}: {display}",scheduledToday:"{label}: Heute",scheduledTodayAt:"{label}: Heute um {time}",scheduledPast:"{label}: {display} (vergangen)",scheduledLabel:"{label}: {display}",loadingDependencies:"Abh\xE4ngigkeiten werden geladen\u2026",blockingEmpty:"Keine abh\xE4ngigen Aufgaben",blockingLoadError:"Abh\xE4ngigkeiten konnten nicht geladen werden",googleCalendarSyncTooltip:"Mit Google Kalender synchronisiert",detailsTooltip:"Aufgabe hat Details"},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",checklistProgress:"Checklistenfortschritt",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 Cwe={common:{appName:"TaskNotes",new:"Nuevo",cancel:"Cancelar",confirm:"Confirmar",close:"Cerrar",save:"Guardar",reorder:{confirmLargeTitle:"Confirmar reordenaci\xF3n grande",confirmButton:"Reordenar notas",confirmLargeMessage:'Reordenar aqu\xED actualizar\xE1 "{field}" en {count} notas para crear un orden manual persistente para {scope}. Las notas ocultas o filtradas dentro del mismo alcance tambi\xE9n pueden actualizarse. \xBFContinuar?'},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)",ko:"Coreano"},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.",reorder:{scope:{ungrouped:"esta lista sin agrupar",group:'grupo "{group}"'}},errors:{formulaGroupingReadOnly:"No se pueden reordenar tareas en grupos basados en f\xF3rmulas. Los valores de f\xF3rmula se calculan y no pueden modificarse directamente."}},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",contextMenu:{openDailyNote:"Abrir nota diaria",openWeeklyNote:"Abrir nota semanal"}},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",today:"Ir a hoy",prev:"Anterior",next:"Siguiente",month:"Vista de mes",week:"Vista de semana",day:"Vista de d\xEDa",year:"Vista de a\xF1o",list:"Vista de lista",customDays:"Vista de {count} d\xEDas"},settings:{groups:{dateNavigation:"Navegaci\xF3n por fecha",events:"Eventos",layout:"Dise\xF1o",view:"Vista",display:"Visualizaci\xF3n",timeGrid:"Cuadr\xEDcula horaria",eventLayout:"Dise\xF1o de eventos",propertyBasedEvents:"Eventos basados en propiedades",calendarSubscriptions:"Suscripciones de calendario",googleCalendars:"Calendarios de Google",microsoftCalendars:"Calendarios de Microsoft"},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",createDailyNotesFromDateLinks:"Crear notas diarias desde enlaces de fecha",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",showCompletedRecurringInstances:"Mostrar instancias recurrentes completadas",showSkippedRecurringInstances:"Mostrar instancias recurrentes omitidas"},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)",dragDropResolution:"Resoluci\xF3n de arrastrar y soltar",dragDropResolutionPlaceholder:"HH:mm:ss (ej. 00:05: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",showTimeGrid:"Mostrar desglose por horas",showTodayHighlight:"Resaltar hoy",todayColumnWidthMultiplier:"Multiplicador de ancho de la columna de 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)",spanScheduledToDue:"Expandir tareas entre fecha programada y fecha l\xEDmite",heightMode:"Modo de altura",heightModeFill:"Rellenar contenedor",heightModeAuto:"Altura autom\xE1tica"},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"}},notices:{noDailyNoteForDate:"No existe una nota diaria para esta fecha."},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",reorder:{scope:{column:'columna "{group}"',columnInSwimlane:'columna "{group}" en swimlane "{swimlane}"'}},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'.",formulaGroupingReadOnly:"No se pueden mover tareas entre columnas basadas en f\xF3rmulas. Los valores de f\xF3rmula se calculan y no se pueden modificar directamente.",formulaSwimlaneReadOnly:"No se pueden mover tareas entre carriles basados en f\xF3rmulas. Los valores de f\xF3rmula se calculan y no se pueden modificar directamente."},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",startFocus:"Iniciar enfoque",addMinute:"A\xF1adir un minuto",subtractMinute:"Restar un minuto"},notices:{noTasks:"No se encontraron tareas no archivadas. Crea algunas tareas primero.",loadFailed:"Error al cargar las tareas",invalidDuration:"Introduce una duraci\xF3n como 10, 10:30 o 1:30:00."},statsLabel:"completadas hoy",meta:{ready:"{time} planificado \xB7 {count} completados hoy",running:"Quedan {time}",paused:"{type} en pausa \xB7 quedan {time}",breakReady:"{type} listo \xB7 {time} planificado"},timer:{editLabel:"Editar duraci\xF3n del temporizador",inputLabel:"Duraci\xF3n del temporizador"}},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"},delete:"Eliminar sesi\xF3n",deleteAria:"Eliminar sesi\xF3n Pomodoro",deleteConfirmTitle:"\xBFEliminar sesi\xF3n Pomodoro?",deleteConfirmMessage:"Esto elimina la sesi\xF3n del historial de Pomodoro. Las entradas de tiempo de tareas existentes no se modifican.",deleteConfirmButton:"Eliminar",deleteSuccess:"Sesi\xF3n Pomodoro eliminada",deleteNotFound:"No se encontr\xF3 la sesi\xF3n Pomodoro"},basesMigration:{title:"\xBFQuieres una vista Base?",description:"Las vistas Base de Pomodoro usan el frontmatter de las notas diarias. Para ver este historial en la Base de estad\xEDsticas de Pomodoro generada, migra los datos de Pomodoro en ajustes y luego establece el almacenamiento en notas diarias."}},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:"Agradecemos mucho todos los comentarios. Si algo no te parece bien, cu\xE9ntanoslo en GitHub. Si TaskNotes te resulta \xFAtil, considera darle una estrella.",baseFilesNotice:"> [!info] Acerca de los archivos `.base` predeterminados\n> Los cambios en las plantillas `.base` generadas por defecto no sobrescriben tus archivos `.base` existentes, por lo que tus personalizaciones se mantienen.\n> Si quieres las mejoras m\xE1s recientes de las plantillas, regenera los archivos base en **Ajustes \u2192 TaskNotes \u2192 General \u2192 Crear archivos**."}},settings:{header:{documentation:"Documentaci\xF3n",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."},taskCreation:{header:"Creaci\xF3n de tareas",description:"Configura qu\xE9 ocurre despu\xE9s de crear tareas.",openAfterCreate:{name:"Abrir tarea despu\xE9s de crearla",description:"Elige si el modal normal Crear nueva tarea abre la nueva nota de tarea despu\xE9s de guardar.",options:{none:"No abrir",sameTab:"Abrir en la misma pesta\xF1a",newTab:"Abrir en una nueva pesta\xF1a"}}},overlays:{taskLinkToggle:{name:"Superposici\xF3n de enlace de tarea",description:"Mostrar superposiciones interactivas al pasar el cursor sobre enlaces de tareas"},aliasExclusion:{name:"Desactivar superposici\xF3n para enlaces con alias",description:"No mostrar el widget de tarea si el enlace contiene un alias (ej. [[Tarea|Alias]])."}},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"},preserveCheckbox:{name:"Mantener la casilla al convertir",description:"Conservar el marcador original de casilla Markdown al convertir una casilla en un enlace de TaskNote"},folder:{name:"Carpeta para tareas creadas en l\xEDnea",description:"Carpeta donde se crear\xE1n las tareas desde comandos en l\xEDnea o conversi\xF3n de casillas. D\xE9jala vac\xEDa para usar la carpeta de tareas predeterminada. Usa {{currentNotePath}} para la carpeta de la nota actual, o {{currentNoteTitle}} para una subcarpeta con el nombre de la nota actual."}},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"},mobileSidebar:{name:"Barra lateral m\xF3vil",description:"D\xF3nde abrir el temporizador Pomodoro en dispositivos m\xF3viles",tab:"Panel de notas",left:"Barra lateral izquierda",right:"Barra lateral derecha"},statusBar:{name:"Mostrar Pomodoro en la barra de estado",description:"Mostrar la cuenta regresiva activa de Pomodoro en la barra de estado de Obsidian"}},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",soundEnabledName:"Sonido de notificaci\xF3n",soundEnabledDesc:"Reproducir un sonido cuando se activen los recordatorios de tareas",soundVolumeName:"Volumen del sonido",soundVolumeDesc:"Volumen de los sonidos de recordatorio de tareas (0-100)",soundPreviewName:"Previsualizar sonido de notificaci\xF3n",soundPreviewDesc:"Reproducir el sonido configurado de recordatorio de tareas",soundPreviewButton:"Previsualizar",testReminderName:"Enviar recordatorio de prueba",testReminderDesc:"Enviar un recordatorio de prueba usando el tipo de notificaci\xF3n y los ajustes de sonido actuales.",testReminderButton:"Enviar prueba"},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",resetCheckboxesName:"Restablecer casillas de verificaci\xF3n en recurrencia",resetCheckboxesDesc:"Restablecer todas las casillas de verificaci\xF3n markdown en el cuerpo de la tarea cuando una tarea recurrente se completa y reprograma"},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",defaultColorName:"Color predeterminado de bloque de tiempo",defaultColorDesc:"El color predeterminado utilizado al crear nuevos bloques de tiempo",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."},debugLogging:{header:"Registro de depuraci\xF3n",description:"Configura la salida de registro de depuraci\xF3n para solucionar problemas.",enableName:"Habilitar registro de depuraci\xF3n",enableDesc:"Registra diagn\xF3sticos detallados de arrastrar y soltar y de vista en la consola de desarrollador. \xDAtil para soluci\xF3n de problemas."}},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"},useParentHeaderAsProject:{name:"Usar encabezado padre como proyecto durante conversi\xF3n instant\xE1nea",description:"Vincular autom\xE1ticamente el encabezado m\xE1s cercano sobre la l\xEDnea convertida 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. Admite variables de plantilla de carpeta como {{currentNotePath}}, {{currentNoteTitle}} y {{projectFilePath}}, adem\xE1s de tokens de fecha estilo Daily Notes como YYYY/MM/DD."},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"},hideIdentifyingTagsMode:{name:"Alcance de etiquetas ocultas",description:"Elige si ocultar etiquetas de identificaci\xF3n tambi\xE9n oculta etiquetas anidadas.",options:{all:"Etiqueta de tarea y anidadas",exactOnly:"Solo etiqueta exacta"}},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."},sortOrder:{name:"Orden manual",description:"Propiedad de frontmatter utilizada para el orden manual por arrastrar y soltar. La vista debe estar ordenada por esta propiedad para que funcione el reordenamiento de arrastrar y soltar."},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:",useParentHeader:"Usar encabezado padre como proyecto:",inheritParentTaskProperties:"Heredar propiedades de la tarea padre para subtareas:",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:",legacySyntaxWarning:"La sintaxis de llaves simples como {title} est\xE1 obsoleta. Por favor, use la sintaxis de llaves dobles {{title}} para consistencia con las plantillas de cuerpo."},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:",excludeFromCycle:"Omitir en el ciclo:",nextStatus:"Siguiente estado:",autoArchive:"Auto-archivar:",delayMinutes:"Retraso (minutos):"},placeholders:{value:"en-progreso",label:"En progreso",icon:"check, circle, clock",nextStatusDefault:"Usar orden de estados"},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",icon:"Icono: Icono Lucide opcional para mostrar en las tarjetas de tareas en lugar del punto de prioridad",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:",icon:"Icono:",weight:"Peso:"},placeholders:{value:"alta",label:"Alta prioridad",icon:"alert-circle"},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",sortOrder:"Orden manual",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",checklistProgress:"Progreso de la lista de verificaci\xF3n",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",uuid:"UUID v4"}},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}}, {{uuid}}, {{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). Usa valores superiores a 24:00 para mostrar horas tempranas del d\xEDa siguiente, como 26:00 para las 2 a. m.",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"Tachar t\xEDtulos de tareas completadas",description:"Dibuja una l\xEDnea sobre los t\xEDtulos de tarjetas de tareas completadas. Desact\xEDvalo para que las tareas completadas sean m\xE1s f\xE1ciles de leer"},showExpandableSubtasks:{name:"Mostrar subtareas expandibles",description:"Permitir expandir/contraer secciones de subtareas en tarjetas de tareas"},expandSubtasksByDefault:{name:"Expandir subtareas por defecto",description:"Mostrar las subtareas de proyecto expandidas cuando se renderizan las 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:{mobileCalendar:{disable:{name:"Desactivar integraciones de calendario en m\xF3vil",description:"No cargar calendarios de Google, Microsoft e ICS en Obsidian Mobile. Las integraciones de calendario de escritorio no cambian."},status:{name:"Las integraciones de calendario est\xE1n desactivadas en este dispositivo m\xF3vil",description:"Desactiva este ajuste y recarga Obsidian Mobile para volver a cargar calendarios."}},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, usa "Actualizar archivos" abajo, elimina los archivos .base existentes y reinicia Obsidian, 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",pomodoroStats:"Base de estad\xEDsticas de Pomodoro"},fileLabel:"Archivo: {path}",resetButton:"Restablecer",resetTooltip:"Restablecer a ruta predeterminada",pomodoroDailyNotesHint:"La Base de estad\xEDsticas de Pomodoro generada lee el historial de Pomodoro desde notas diarias. Si tu historial a\xFAn est\xE1 en los datos del plugin, m\xEDgralo en ajustes antes de usar ese archivo Base."},autoCreateDefaultFiles:{name:"Crear archivos predeterminados autom\xE1ticamente",description:"Crear autom\xE1ticamente los archivos Base predeterminados que falten al iniciar. Desactiva para evitar que se recreen los archivos de ejemplo eliminados."},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."},updateDefaultFiles:{name:"Actualizar archivos predeterminados",description:"Sobrescribe los archivos .base predeterminados configurados con plantillas generadas desde tus ajustes actuales de TaskNotes.",buttonText:"Actualizar archivos",confirmTitle:"Actualizar archivos Base predeterminados",confirmMessage:"Esto sobrescribir\xE1 los archivos .base predeterminados configurados con plantillas reci\xE9n generadas. Cualquier edici\xF3n manual en esos archivos ser\xE1 reemplazada.",confirmText:"Actualizar archivos"}},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}"},useICSEndAsDue:{name:"Usar hora de fin del evento ICS como fecha de vencimiento",description:"Cuando est\xE1 habilitado, las tareas creadas a partir de eventos de calendario tendr\xE1n su fecha de vencimiento establecida en la hora de fin del evento. Para eventos de todo el d\xEDa, la fecha de vencimiento ser\xE1 la fecha del evento. Para eventos con hora, la fecha de vencimiento incluir\xE1 la hora de fin."}},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"},useDuration:{name:"Usar duraci\xF3n de la tarea para la longitud del evento",description:"Cuando est\xE1 habilitado, usa la estimaci\xF3n de tiempo (duraci\xF3n) de la tarea en lugar de la fecha de vencimiento para la hora de finalizaci\xF3n del evento del calendario. Esto es \xFAtil para flujos de trabajo GTD donde programado + duraci\xF3n representa la planificaci\xF3n del trabajo, mientras que la fecha de vencimiento representa plazos."},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"},excludeCompleted:{name:"Excluir tareas completadas",description:"Cuando est\xE1 activado, las tareas completadas se omiten de las exportaciones ICS. Los estados completados se toman de los ajustes de estados de tareas."},excludeArchived:{name:"Excluir tareas archivadas",description:"Cuando est\xE1 activado, las tareas archivadas se omiten de las exportaciones ICS."},requireDueDate:{name:"Requerir fecha de vencimiento",description:"Cuando est\xE1 activado, solo las tareas con fecha de vencimiento se incluyen en las exportaciones ICS."},requireScheduledDate:{name:"Requerir fecha programada",description:"Cuando est\xE1 activado, solo las tareas con fecha programada se incluyen en las exportaciones ICS."}},googleCalendarExport:{header:"Exportar tareas al Calendario de Google",description:"Sincroniza autom\xE1ticamente tus tareas al Calendario de Google como eventos. Requiere que el Calendario de Google est\xE9 conectado arriba.",enable:{name:"Habilitar exportaci\xF3n de tareas",description:"Cuando est\xE1 habilitado, las tareas con fechas se sincronizar\xE1n autom\xE1ticamente al Calendario de Google como eventos."},targetCalendar:{name:"Calendario destino",description:"Selecciona en qu\xE9 calendario crear los eventos de tareas.",placeholder:"Seleccionar un calendario...",connectFirst:"Conecta el Calendario de Google primero",primarySuffix:" (Principal)"},syncTrigger:{name:"Disparador de sincronizaci\xF3n",description:"Qu\xE9 fecha de tarea debe disparar la creaci\xF3n del evento.",options:{scheduled:"Fecha programada",due:"Fecha de vencimiento",both:"Ambas (preferir programada)"}},allDayEvents:{name:"Crear como eventos de todo el d\xEDa",description:"Cuando est\xE1 habilitado, las tareas se crean como eventos de todo el d\xEDa. Cuando est\xE1 deshabilitado, usa la estimaci\xF3n de tiempo para la duraci\xF3n."},defaultDuration:{name:"Duraci\xF3n predeterminada del evento",description:"Duraci\xF3n en minutos para eventos con hora (usada cuando la tarea no tiene estimaci\xF3n de tiempo)."},eventTitleTemplate:{name:"Plantilla de t\xEDtulo del evento",description:"Plantilla para t\xEDtulos de eventos. Variables disponibles: {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"Incluir detalles de tarea en descripci\xF3n",description:"Agregar metadatos de tarea (prioridad, estado, etiquetas, etc.) a la descripci\xF3n del evento."},includeObsidianLink:{name:"Incluir enlace de Obsidian",description:"Agregar un enlace de regreso a la tarea en Obsidian en la descripci\xF3n del evento."},defaultReminder:{name:"Recordatorio predeterminado",description:"A\xF1ade recordatorios emergentes a eventos temporizados de Google Calendar. Introduce los minutos antes del evento separados por comas. D\xE9jalo vac\xEDo para usar los valores predeterminados del calendario. Valores comunes: 15, 30, 60, 1440."},automaticSyncBehavior:{header:"Comportamiento de sincronizaci\xF3n autom\xE1tica"},syncOnCreate:{name:"Sincronizar al crear tarea",description:"Crear autom\xE1ticamente un evento de calendario cuando se crea una nueva tarea."},syncOnUpdate:{name:"Sincronizar al actualizar tarea",description:"Actualizar autom\xE1ticamente el evento de calendario cuando se modifica una tarea."},syncOnComplete:{name:"Sincronizar al completar tarea",description:"Actualizar evento de calendario cuando se completa una tarea (agrega marca de verificaci\xF3n al t\xEDtulo)."},syncOnDelete:{name:"Eliminar evento al eliminar tarea",description:"Eliminar evento de calendario cuando se elimina la tarea correspondiente."},manualSyncActions:{header:"Acciones de sincronizaci\xF3n manual"},syncAllTasks:{name:"Sincronizar todas las tareas",description:"Sincronizar todas las tareas existentes al Calendario de Google. Esto crear\xE1 eventos para tareas que a\xFAn no han sido sincronizadas.",buttonText:"Sincronizar todo"},unlinkAllTasks:{name:"Desvincular todas las tareas",description:"Eliminar todos los v\xEDnculos tarea-evento sin eliminar eventos del calendario.",buttonText:"Desvincular todo",confirmTitle:"Desvincular todas las tareas",confirmMessage:"Esto eliminar\xE1 todos los v\xEDnculos entre tareas y eventos de calendario. Los eventos del calendario permanecer\xE1n pero ya no se actualizar\xE1n cuando cambien las tareas. \xBFEst\xE1s seguro?",confirmButtonText:"Desvincular todo"},notices:{notEnabled:"La exportaci\xF3n al Calendario de Google no est\xE1 habilitada. Config\xFArala en Ajustes > Integraciones.",notEnabledOrConfigured:"La exportaci\xF3n al Calendario de Google no est\xE1 habilitada o configurada",serviceNotAvailable:"Servicio de sincronizaci\xF3n de calendario no disponible",syncResults:"Sincronizados: {synced}, Fallidos: {failed}, Omitidos: {skipped}",taskSynced:"Tarea sincronizada al Calendario de Google",noActiveFile:"No hay archivo actualmente activo",notATask:"El archivo actual no es una tarea",noDateToSync:"La tarea no tiene fecha programada o de vencimiento para sincronizar",syncFailed:"Error al sincronizar tarea al Calendario de Google: {message}",connectionExpired:"La conexi\xF3n con el Calendario de Google ha caducado. Vuelve a conectarla en Configuraci\xF3n > Integraciones.",syncingTasks:"Sincronizando {total} tareas al Calendario de Google...",syncComplete:"Sincronizaci\xF3n completa: {synced} sincronizadas, {failed} fallidas, {skipped} omitidas",eventsDeletedAndUnlinked:"Todos los eventos eliminados y desvinculados",tasksUnlinked:"Todos los v\xEDnculos de tareas eliminados"},eventDescription:{untitledTask:"Tarea sin t\xEDtulo",priority:"Prioridad: {value}",status:"Estado: {value}",due:"Vencimiento: {value}",scheduled:"Programada: {value}",timeEstimate:"Tiempo estimado: {value}",tags:"Etiquetas: {value}",contexts:"Contextos: {value}",projects:"Proyectos: {value}",openInObsidian:"Abrir en Obsidian"}},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"},mcp:{enable:{name:"Habilitar servidor MCP",description:"Expone las herramientas de TaskNotes mediante Model Context Protocol en el endpoint /mcp. Requiere que la API HTTP est\xE9 habilitada."}},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 de plantilla .json en tu b\xF3veda que transforma cargas de webhook",placeholder:"simple-template.json"},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 de plantilla .json en tu b\xF3veda que transforma cargas de webhook",placeholder:"simple-template.json"},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:"Las plantillas de transformaci\xF3n JSON te permiten personalizar cargas de webhook:",jsFiles:"",jsDescription:"",jsonFiles:"Archivos .json:",jsonDescription:" Plantillas con ",jsonVariable:"${data.task.title}",leaveEmpty:"Dejar vac\xEDo:",leaveEmptyDescription:" Enviar datos crudos",example:"Ejemplo:",exampleFile:"simple-template.json"},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."},mdbaseSpec:{header:"Definiciones de tipos mdbase",learnMore:"M\xE1s informaci\xF3n sobre mdbase-spec",enable:{name:"Generar definiciones de tipos mdbase",description:"Genera y mantiene archivos de tipos mdbase (mdbase.yaml y _types/task.md) en la ra\xEDz de la b\xF3veda cuando cambien tus ajustes."}},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",createOrOpenTaskWithTracking:"Crear o abrir tarea e iniciar seguimiento de tiempo",rolloverOverdueScheduledTasks:"Posponer tareas programadas vencidas a hoy",syncAllTasksGoogleCalendar:"Sincronizar todas las tareas al Calendario de Google",syncCurrentTaskGoogleCalendar:"Sincronizar tarea actual al Calendario de Google",quickActionsTaskUnderCursor:"Acciones r\xE1pidas para la tarea bajo el cursor",editCurrentTask:"Editar tarea actual",cycleCurrentTaskStatus:"Cambiar estado de la tarea actual",cycleCurrentTaskPriority:"Cambiar prioridad de la tarea actual",addProjectToCurrentTask:"A\xF1adir proyecto a la tarea actual",addSubtaskToCurrentNote:"A\xF1adir subtarea a la nota actual"},modals:{deviceCode:{title:"Autorizaci\xF3n del Calendario de Google",instructions:{intro:"Para conectar su Calendario de Google, 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"},calendarEventCreation:{heading:"Crear evento de calendario",dateTimeLabel:"Fecha y hora: ",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para el evento de calendario",titlePlaceholder:"ej., Reuni\xF3n de equipo",calendarLabel:"Calendario",calendarDesc:"En qu\xE9 calendario crear el evento",descriptionLabel:"Descripci\xF3n",descriptionDesc:"Descripci\xF3n opcional para el evento",descriptionPlaceholder:"Agregar detalles sobre este evento...",locationLabel:"Ubicaci\xF3n",locationDesc:"Ubicaci\xF3n opcional para el evento",locationPlaceholder:"ej., Sala de conferencias A",createButton:"Crear evento",titleRequired:"El t\xEDtulo del evento es obligatorio",noCalendarSelected:"No se seleccion\xF3 ning\xFAn calendario",success:'Evento de calendario "{title}" creado',error:"No se pudo crear el evento de calendario: {message}"},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:"plantillas/plantilla-nota-ics.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}",openCreatedTaskFailure:"Tarea creada, pero no se pudo abrir la nota de la tarea."}},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",deleteSuccess:'Tarea "{title}" eliminada correctamente',deleteFailure:"No se pudo eliminar la tarea: {message}"},archiveAction:{archived:"archivada",unarchived:"desarchivada"},deleteConfirmation:{title:"Eliminar tarea",message:'\xBFSeguro que quieres eliminar "{title}"? Esto mueve la nota de la tarea a la papelera de Obsidian.',confirm:"Eliminar tarea"}},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:"Las notas diarias deben estar activadas en el plugin principal de notas diarias o en Periodic Notes",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",openNoteInNewTab:"Abrir nota en una nueva pesta\xF1a",copyTitle:"Copiar t\xEDtulo de tarea",quickActions:"Acciones r\xE1pidas",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:"Calendario de Google",outlook:"Calendario de Outlook",yahoo:"Calendario de Yahoo",downloadIcs:"Descargar archivo .ics",syncToGoogle:"Sincronizar con el Calendario de Google",syncToGoogleNotConfigured:"Sincronizaci\xF3n con el Calendario de Google no configurada",syncToGoogleSuccess:"Tarea sincronizada con el Calendario de Google",syncToGoogleFailed:"Error al sincronizar con el Calendario de Google"},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",unknownDependency:"Desconocido",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",updateContextsFailed:"No se pudieron actualizar los contextos"},contexts:"Contextos",addContext:"A\xF1adir contexto\u2026",contextPlaceholder:"contexto",contextSelected:"\u2713 {context}",clearContexts:"Borrar contextos"},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}",updateTagsFailed:"No se pudieron actualizar las etiquetas"},tags:"Etiquetas",addTag:"A\xF1adir etiqueta\u2026",removeTag:"Eliminar {tag}",removeTagInput:"Eliminar etiqueta\u2026",tagPlaceholder:"Etiqueta o #etiqueta",clearTags:"Borrar etiquetas"},priority:{clearPriority:"Quitar prioridad"},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:{labels:{due:"Vencimiento",scheduled:"Programado",recurrence:"Recurrente",completed:"Completado",created:"Creado",modified:"Modificado",blocked:"Bloqueado",blocking:"Bloqueando"},blockedBadge:"Bloqueada",blockedBadgeTooltip:"Esta tarea est\xE1 esperando otra tarea",blockingBadge:"Bloqueando",blockingBadgeTooltip:"Esta tarea bloquea otra tarea",blockingToggle:"Bloqueando {count} tareas",priorityAriaLabel:"Prioridad: {label}",taskOptions:"Opciones de tarea",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"1 recordatorio configurado (clic para gestionar)",reminderTooltipMany:"{count} recordatorios configurados (clic para gestionar)",projectTooltip:"Esta tarea se usa como proyecto (clic para filtrar subtareas)",expandSubtasks:"Expandir subtareas",collapseSubtasks:"Contraer subtareas",dueToday:"{label}: Hoy",dueTodayAt:"{label}: Hoy a las {time}",dueOverdue:"{label}: {display} (atrasada)",dueLabel:"{label}: {display}",scheduledToday:"{label}: Hoy",scheduledTodayAt:"{label}: Hoy a las {time}",scheduledPast:"{label}: {display} (pasado)",scheduledLabel:"{label}: {display}",loadingDependencies:"Cargando dependencias...",blockingEmpty:"Sin tareas dependientes",blockingLoadError:"No se pudieron cargar las dependencias",googleCalendarSyncTooltip:"Sincronizado con el Calendario de Google",detailsTooltip:"La tarea tiene detalles"},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",checklistProgress:"Progreso de la lista de verificaci\xF3n",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 Dwe={common:{appName:"TaskNotes",new:"\u65B0\u898F",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",confirm:"\u78BA\u8A8D",close:"\u9589\u3058\u308B",save:"\u4FDD\u5B58",reorder:{confirmLargeTitle:"\u5927\u898F\u6A21\u306A\u4E26\u3079\u66FF\u3048\u3092\u78BA\u8A8D",confirmButton:"\u30CE\u30FC\u30C8\u3092\u4E26\u3079\u66FF\u3048\u308B",confirmLargeMessage:'\u3053\u3053\u3067\u4E26\u3079\u66FF\u3048\u308B\u3068\u3001{scope} \u306E\u6C38\u7D9A\u7684\u306A\u624B\u52D5\u9806\u5E8F\u3092\u4F5C\u308B\u305F\u3081\u306B {count} \u4EF6\u306E\u30CE\u30FC\u30C8\u306E "{field}" \u304C\u66F4\u65B0\u3055\u308C\u307E\u3059\u3002\u540C\u3058\u7BC4\u56F2\u5185\u306E\u975E\u8868\u793A\u307E\u305F\u306F\u7D5E\u308A\u8FBC\u307F\u6E08\u307F\u306E\u30CE\u30FC\u30C8\u3082\u66F4\u65B0\u3055\u308C\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\uFF1F'},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",ko:"\u97D3\u56FD\u8A9E"},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",reorder:{scope:{ungrouped:"\u3053\u306E\u672A\u30B0\u30EB\u30FC\u30D7\u5316\u30EA\u30B9\u30C8",group:'\u30B0\u30EB\u30FC\u30D7 "{group}"'}},errors:{formulaGroupingReadOnly:"\u6570\u5F0F\u30D9\u30FC\u30B9\u306E\u30B0\u30EB\u30FC\u30D7\u3067\u306F\u30BF\u30B9\u30AF\u3092\u4E26\u3079\u66FF\u3048\u3067\u304D\u307E\u305B\u3093\u3002\u6570\u5F0F\u306E\u5024\u306F\u8A08\u7B97\u7D50\u679C\u306E\u305F\u3081\u3001\u76F4\u63A5\u5909\u66F4\u3067\u304D\u307E\u305B\u3093\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",contextMenu:{openDailyNote:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u3092\u958B\u304F",openWeeklyNote:"\u30A6\u30A3\u30FC\u30AF\u30EA\u30FC\u30CE\u30FC\u30C8\u3092\u958B\u304F"}},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",today:"\u4ECA\u65E5\u306B\u79FB\u52D5",prev:"\u524D\u3078",next:"\u6B21\u3078",month:"\u6708\u8868\u793A",week:"\u9031\u8868\u793A",day:"\u65E5\u8868\u793A",year:"\u5E74\u8868\u793A",list:"\u4E00\u89A7\u8868\u793A",customDays:"{count}\u65E5\u8868\u793A"},settings:{groups:{dateNavigation:"\u65E5\u4ED8\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3",events:"\u30A4\u30D9\u30F3\u30C8",layout:"\u30EC\u30A4\u30A2\u30A6\u30C8",view:"\u30D3\u30E5\u30FC",display:"\u8868\u793A",timeGrid:"\u6642\u9593\u30B0\u30EA\u30C3\u30C9",eventLayout:"\u30A4\u30D9\u30F3\u30C8\u914D\u7F6E",propertyBasedEvents:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30D9\u30FC\u30B9\u306E\u30A4\u30D9\u30F3\u30C8",calendarSubscriptions:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD",googleCalendars:"Google \u30AB\u30EC\u30F3\u30C0\u30FC",microsoftCalendars:"Microsoft \u30AB\u30EC\u30F3\u30C0\u30FC"},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",createDailyNotesFromDateLinks:"\u65E5\u4ED8\u30EA\u30F3\u30AF\u304B\u3089\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u3092\u4F5C\u6210",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",showCompletedRecurringInstances:"\u5B8C\u4E86\u3057\u305F\u7E70\u308A\u8FD4\u3057\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u8868\u793A",showSkippedRecurringInstances:"\u30B9\u30AD\u30C3\u30D7\u3057\u305F\u7E70\u308A\u8FD4\u3057\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\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",dragDropResolution:"\u30C9\u30E9\u30C3\u30B0/\u30C9\u30ED\u30C3\u30D7\u9593\u9694",dragDropResolutionPlaceholder:"HH:mm:ss\uFF08\u4F8B\uFF1A00:05: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",showTimeGrid:"\u6642\u9593\u30B0\u30EA\u30C3\u30C9\u3092\u8868\u793A",showTodayHighlight:"\u4ECA\u65E5\u3092\u30CF\u30A4\u30E9\u30A4\u30C8",todayColumnWidthMultiplier:"\u4ECA\u65E5\u5217\u306E\u5E45\u500D\u7387",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",spanScheduledToDue:"\u4E88\u5B9A\u65E5\u304B\u3089\u671F\u65E5\u307E\u3067\u30BF\u30B9\u30AF\u3092\u5EF6\u9577\u8868\u793A",heightMode:"\u9AD8\u3055\u30E2\u30FC\u30C9",heightModeFill:"\u30B3\u30F3\u30C6\u30CA\u3092\u57CB\u3081\u308B",heightModeAuto:"\u81EA\u52D5\u9AD8\u3055"},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"}},notices:{noDailyNoteForDate:"\u3053\u306E\u65E5\u4ED8\u306E\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306F\u3042\u308A\u307E\u305B\u3093\u3002"},errors:{failedToInitialize:"\u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u521D\u671F\u5316\u306B\u5931\u6557\u3057\u307E\u3057\u305F"}},kanban:{title:"\u30AB\u30F3\u30D0\u30F3",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",reorder:{scope:{column:'\u5217 "{group}"',columnInSwimlane:'\u30B9\u30A4\u30E0\u30EC\u30FC\u30F3 "{swimlane}" \u306E\u5217 "{group}"'}},notices:{loadFailed:"\u30AB\u30F3\u30D0\u30F3\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:"\u30AB\u30F3\u30D0\u30F3\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",formulaGroupingReadOnly:"\u6570\u5F0F\u30D9\u30FC\u30B9\u306E\u5217\u9593\u3067\u30BF\u30B9\u30AF\u3092\u79FB\u52D5\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u6570\u5F0F\u306E\u5024\u306F\u8A08\u7B97\u3055\u308C\u308B\u305F\u3081\u3001\u76F4\u63A5\u5909\u66F4\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",formulaSwimlaneReadOnly:"\u6570\u5F0F\u30D9\u30FC\u30B9\u306E\u30B9\u30A4\u30E0\u30EC\u30FC\u30F3\u9593\u3067\u30BF\u30B9\u30AF\u3092\u79FB\u52D5\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u6570\u5F0F\u306E\u5024\u306F\u8A08\u7B97\u3055\u308C\u308B\u305F\u3081\u3001\u76F4\u63A5\u5909\u66F4\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\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",startFocus:"\u30D5\u30A9\u30FC\u30AB\u30B9\u3092\u958B\u59CB",addMinute:"1\u5206\u8FFD\u52A0",subtractMinute:"1\u5206\u6E1B\u3089\u3059"},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",invalidDuration:"10\u300110:30\u30011:30:00 \u306E\u3088\u3046\u306A\u6642\u9593\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},statsLabel:"\u4ECA\u65E5\u5B8C\u4E86",meta:{ready:"{time} \u4E88\u5B9A \xB7 \u4ECA\u65E5 {count} \u5B8C\u4E86",running:"\u6B8B\u308A {time}",paused:"{type} \u4E00\u6642\u505C\u6B62\u4E2D \xB7 \u6B8B\u308A {time}",breakReady:"{type} \u6E96\u5099\u5B8C\u4E86 \xB7 {time} \u4E88\u5B9A"},timer:{editLabel:"\u30BF\u30A4\u30DE\u30FC\u6642\u9593\u3092\u7DE8\u96C6",inputLabel:"\u30BF\u30A4\u30DE\u30FC\u6642\u9593"}},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"},delete:"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u524A\u9664",deleteAria:"Pomodoro\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u524A\u9664",deleteConfirmTitle:"Pomodoro\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",deleteConfirmMessage:"\u3053\u308C\u306B\u3088\u308APomodoro\u5C65\u6B74\u304B\u3089\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u65E2\u5B58\u306E\u30BF\u30B9\u30AF\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u306F\u5909\u66F4\u3055\u308C\u307E\u305B\u3093\u3002",deleteConfirmButton:"\u524A\u9664",deleteSuccess:"Pomodoro\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u524A\u9664\u3057\u307E\u3057\u305F",deleteNotFound:"Pomodoro\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F"},basesMigration:{title:"Base\u30D3\u30E5\u30FC\u304C\u5FC5\u8981\u3067\u3059\u304B\uFF1F",description:"Pomodoro Base\u30D3\u30E5\u30FC\u306F\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306Efrontmatter\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u751F\u6210\u3055\u308C\u305FPomodoro\u7D71\u8A08Base\u3067\u3053\u306E\u5C65\u6B74\u3092\u898B\u308B\u306B\u306F\u3001\u8A2D\u5B9A\u3067Pomodoro\u30C7\u30FC\u30BF\u3092\u79FB\u884C\u3057\u3001\u4FDD\u5B58\u5148\u3092\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},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:"\u3069\u3093\u306A\u30D5\u30A3\u30FC\u30C9\u30D0\u30C3\u30AF\u3082\u672C\u5F53\u306B\u3042\u308A\u304C\u305F\u3044\u3067\u3059\u3002\u4F55\u304B\u9055\u548C\u611F\u304C\u3042\u308C\u3070\u3001GitHub\u3067\u304A\u77E5\u3089\u305B\u304F\u3060\u3055\u3044\u3002TaskNotes\u304C\u5F79\u306B\u7ACB\u3063\u305F\u3089\u3001\u30B9\u30BF\u30FC\u3082\u3054\u691C\u8A0E\u304F\u3060\u3055\u3044\u3002",baseFilesNotice:"> [!info] \u30C7\u30D5\u30A9\u30EB\u30C8\u306E `.base` \u30D5\u30A1\u30A4\u30EB\u306B\u3064\u3044\u3066\n> \u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u751F\u6210\u3055\u308C\u308B `.base` \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u5909\u66F4\u3067\u3001\u65E2\u5B58\u306E `.base` \u30D5\u30A1\u30A4\u30EB\u304C\u4E0A\u66F8\u304D\u3055\u308C\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u306F\u305D\u306E\u307E\u307E\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002\n> \u6700\u65B0\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u6539\u5584\u3092\u53CD\u6620\u3057\u305F\u3044\u5834\u5408\u306F\u3001**\u8A2D\u5B9A \u2192 TaskNotes \u2192 \u4E00\u822C \u2192 \u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210** \u304B\u3089\u30D9\u30FC\u30B9\u30D5\u30A1\u30A4\u30EB\u3092\u518D\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},settings:{header:{documentation:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",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"},taskCreation:{header:"\u30BF\u30B9\u30AF\u4F5C\u6210",description:"\u30BF\u30B9\u30AF\u4F5C\u6210\u5F8C\u306E\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",openAfterCreate:{name:"\u4F5C\u6210\u5F8C\u306B\u30BF\u30B9\u30AF\u3092\u958B\u304F",description:"\u901A\u5E38\u306E\u65B0\u898F\u30BF\u30B9\u30AF\u4F5C\u6210\u30E2\u30FC\u30C0\u30EB\u3067\u4FDD\u5B58\u5F8C\u306B\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8\u3092\u958B\u304F\u304B\u3069\u3046\u304B\u3092\u9078\u629E\u3057\u307E\u3059\u3002",options:{none:"\u958B\u304B\u306A\u3044",sameTab:"\u540C\u3058\u30BF\u30D6\u3067\u958B\u304F",newTab:"\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F"}}},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"},aliasExclusion:{name:"\u30A8\u30A4\u30EA\u30A2\u30B9\u4ED8\u304D\u30EA\u30F3\u30AF\u3067\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u3092\u7121\u52B9\u5316",description:"\u30EA\u30F3\u30AF\u306B\u30A8\u30A4\u30EA\u30A2\u30B9\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30BF\u30B9\u30AF\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3057\u306A\u3044\uFF08\u4F8B: [[\u30BF\u30B9\u30AF|\u30A8\u30A4\u30EA\u30A2\u30B9]]\uFF09\u3002"}},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"},preserveCheckbox:{name:"\u5909\u63DB\u6642\u306B\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3092\u6B8B\u3059",description:"\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3092TaskNote\u30EA\u30F3\u30AF\u306B\u5909\u63DB\u3059\u308B\u3068\u304D\u3001\u5143\u306EMarkdown\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u8A18\u53F7\u3092\u6B8B\u3057\u307E\u3059"},folder:{name:"\u30A4\u30F3\u30E9\u30A4\u30F3\u4F5C\u6210\u30BF\u30B9\u30AF\u306E\u30D5\u30A9\u30EB\u30C0",description:"\u30A4\u30F3\u30E9\u30A4\u30F3\u30B3\u30DE\u30F3\u30C9\u307E\u305F\u306F\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u5909\u63DB\u304B\u3089\u4F5C\u6210\u3055\u308C\u308B\u30BF\u30B9\u30AF\u306E\u4F5C\u6210\u5148\u30D5\u30A9\u30EB\u30C0\u3067\u3059\u3002\u7A7A\u306E\u307E\u307E\u306B\u3059\u308B\u3068\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30BF\u30B9\u30AF\u30D5\u30A9\u30EB\u30C0\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u306E\u30D5\u30A9\u30EB\u30C0\u306B\u306F {{currentNotePath}}\u3001\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u540D\u306E\u30B5\u30D6\u30D5\u30A9\u30EB\u30C0\u306B\u306F {{currentNoteTitle}} \u3092\u4F7F\u7528\u3057\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"},mobileSidebar:{name:"\u30E2\u30D0\u30A4\u30EB\u30B5\u30A4\u30C9\u30D0\u30FC",description:"\u30E2\u30D0\u30A4\u30EB\u30C7\u30D0\u30A4\u30B9\u3067\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u3092\u958B\u304F\u5834\u6240",tab:"\u30CE\u30FC\u30C8\u30D1\u30CD\u30EB",left:"\u5DE6\u30B5\u30A4\u30C9\u30D0\u30FC",right:"\u53F3\u30B5\u30A4\u30C9\u30D0\u30FC"},statusBar:{name:"\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30FC\u306BPomodoro\u3092\u8868\u793A",description:"Obsidian\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30FC\u306B\u30A2\u30AF\u30C6\u30A3\u30D6\u306APomodoro\u30AB\u30A6\u30F3\u30C8\u30C0\u30A6\u30F3\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",soundEnabledName:"\u901A\u77E5\u97F3",soundEnabledDesc:"\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u767A\u706B\u6642\u306B\u97F3\u3092\u518D\u751F",soundVolumeName:"\u97F3\u91CF",soundVolumeDesc:"\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u97F3\u306E\u97F3\u91CF (0-100)",soundPreviewName:"\u901A\u77E5\u97F3\u3092\u30D7\u30EC\u30D3\u30E5\u30FC",soundPreviewDesc:"\u8A2D\u5B9A\u3055\u308C\u305F\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u97F3\u3092\u518D\u751F",soundPreviewButton:"\u30D7\u30EC\u30D3\u30E5\u30FC",testReminderName:"\u30C6\u30B9\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u9001\u4FE1",testReminderDesc:"\u73FE\u5728\u306E\u901A\u77E5\u30BF\u30A4\u30D7\u3068\u30B5\u30A6\u30F3\u30C9\u8A2D\u5B9A\u3067\u30C6\u30B9\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u9001\u4FE1\u3057\u307E\u3059\u3002",testReminderButton:"\u30C6\u30B9\u30C8\u3092\u9001\u4FE1"},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",resetCheckboxesName:"\u7E70\u308A\u8FD4\u3057\u6642\u306B\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3092\u30EA\u30BB\u30C3\u30C8",resetCheckboxesDesc:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3057\u3066\u518D\u30B9\u30B1\u30B8\u30E5\u30FC\u30EB\u3055\u308C\u305F\u3068\u304D\u306B\u3001\u30BF\u30B9\u30AF\u672C\u6587\u306E\u3059\u3079\u3066\u306Emarkdown\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3092\u30EA\u30BB\u30C3\u30C8"},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",defaultColorName:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u8272",defaultColorDesc:"\u65B0\u3057\u3044\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u4F5C\u6210\u6642\u306B\u4F7F\u7528\u3055\u308C\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u8272",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"},debugLogging:{header:"\u30C7\u30D0\u30C3\u30B0\u30ED\u30B0",description:"\u30C8\u30E9\u30D6\u30EB\u30B7\u30E5\u30FC\u30C6\u30A3\u30F3\u30B0\u306E\u305F\u3081\u306B\u30C7\u30D0\u30C3\u30B0\u30ED\u30B0\u51FA\u529B\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",enableName:"\u30C7\u30D0\u30C3\u30B0\u30ED\u30B0\u3092\u6709\u52B9\u5316",enableDesc:"\u30C9\u30E9\u30C3\u30B0\u30FB\u30A2\u30F3\u30C9\u30FB\u30C9\u30ED\u30C3\u30D7\u3084\u8868\u793A\u306E\u8A73\u7D30\u306A\u8A3A\u65AD\u60C5\u5831\u3092\u958B\u767A\u8005\u30B3\u30F3\u30BD\u30FC\u30EB\u306B\u8A18\u9332\u3057\u307E\u3059\u3002\u30C8\u30E9\u30D6\u30EB\u30B7\u30E5\u30FC\u30C6\u30A3\u30F3\u30B0\u306B\u5F79\u7ACB\u3061\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:"@\u81EA\u5B85, @\u4ED5\u4E8B"},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:"\u91CD\u8981, \u7DCA\u6025"},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"},useParentHeaderAsProject:{name:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u5909\u63DB\u6642\u306B\u89AA\u898B\u51FA\u3057\u3092\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u4F7F\u7528",description:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u30BF\u30B9\u30AF\u5909\u63DB\u6642\u306B\u5909\u63DB\u884C\u306E\u4E0A\u306B\u3042\u308B\u6700\u3082\u8FD1\u3044\u898B\u51FA\u3057\u3092\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u81EA\u52D5\u7684\u306B\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:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8/\u30BF\u30B9\u30AF\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8.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\u4FDD\u5B58\u5834\u6240\u3067\u3059\u3002{{currentNotePath}}\u3001{{currentNoteTitle}}\u3001{{projectFilePath}} \u306A\u3069\u306E\u30D5\u30A9\u30EB\u30C0\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u5909\u6570\u3068\u3001YYYY/MM/DD \u306A\u3069\u306EDaily Notes\u5F62\u5F0F\u306E\u65E5\u4ED8\u30C8\u30FC\u30AF\u30F3\u3092\u30B5\u30DD\u30FC\u30C8\u3057\u307E\u3059\u3002"},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"},hideIdentifyingTagsMode:{name:"\u975E\u8868\u793A\u306B\u3059\u308B\u30BF\u30B0\u306E\u7BC4\u56F2",description:"\u8B58\u5225\u30BF\u30B0\u3092\u975E\u8868\u793A\u306B\u3059\u308B\u3068\u304D\u3001\u30CD\u30B9\u30C8\u3057\u305F\u30BF\u30B0\u3082\u975E\u8868\u793A\u306B\u3059\u308B\u304B\u3092\u9078\u629E\u3057\u307E\u3059\u3002",options:{all:"\u30BF\u30B9\u30AF\u30BF\u30B0\u3068\u30CD\u30B9\u30C8\u3057\u305F\u30BF\u30B0",exactOnly:"\u5B8C\u5168\u4E00\u81F4\u306E\u30BF\u30B9\u30AF\u30BF\u30B0\u306E\u307F"}},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"},sortOrder:{name:"\u624B\u52D5\u9806\u5E8F",description:"\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3067\u624B\u52D5\u4E26\u3079\u66FF\u3048\u3092\u884C\u3046\u305F\u3081\u306B\u4F7F\u7528\u3059\u308B\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3002\u30D3\u30E5\u30FC\u306F\u3053\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u30BD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\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:",useParentHeader:"\u89AA\u898B\u51FA\u3057\u3092\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u4F7F\u7528:",inheritParentTaskProperties:"\u30B5\u30D6\u30BF\u30B9\u30AF\u306B\u89AA\u30BF\u30B9\u30AF\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u7D99\u627F:",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:",legacySyntaxWarning:"{title}\u306E\u3088\u3046\u306A\u5358\u4E00\u6CE2\u62EC\u5F27\u69CB\u6587\u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u672C\u6587\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3068\u306E\u4E00\u8CAB\u6027\u306E\u305F\u3081\u306B\u3001{{title}}\u306E\u3088\u3046\u306A\u4E8C\u91CD\u6CE2\u62EC\u5F27\u69CB\u6587\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},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",excludeFromCycle:"\u5FAA\u74B0\u6642\u306B\u30B9\u30AD\u30C3\u30D7\uFF1A",nextStatus:"\u6B21\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\uFF1A",autoArchive:"\u81EA\u52D5\u30A2\u30FC\u30AB\u30A4\u30D6\uFF1A",delayMinutes:"\u9045\u5EF6\uFF08\u5206\uFF09\uFF1A"},placeholders:{value:"\u9032\u884C\u4E2D",label:"\u9032\u884C\u4E2D",icon:"check, circle, clock",nextStatusDefault:"\u30B9\u30C6\u30FC\u30BF\u30B9\u9806\u3092\u4F7F\u7528"},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",icon:"\u30A2\u30A4\u30B3\u30F3\uFF1A\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3067\u512A\u5148\u5EA6\u30C9\u30C3\u30C8\u306E\u4EE3\u308F\u308A\u306B\u8868\u793A\u3059\u308B\u4EFB\u610F\u306E Lucide \u30A2\u30A4\u30B3\u30F3",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",icon:"\u30A2\u30A4\u30B3\u30F3\uFF1A",weight:"\u91CD\u307F\uFF1A"},placeholders:{value:"\u9AD8",label:"\u9AD8\u512A\u5148\u5EA6",icon:"alert-circle"},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",sortOrder:"\u624B\u52D5\u9806\u5E8F",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:"\u30D7\u30ED\u30D1\u30C6\u30A3\u540D",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:"\u30AD\u30FC\u306A\u3057"},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",checklistProgress:"\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u306E\u9032\u6357",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",uuid:"UUID v4"}},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\u3067\u3059\u3002\u5229\u7528\u53EF\u80FD\u306A\u5909\u6570: {{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}}, {{uuid}}, {{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\u306B\u8868\u793A\u3059\u308B\u6700\u3082\u9045\u3044\u6642\u523B (HH:MM\u5F62\u5F0F)\u300226:00 \u3092\u5348\u524D2\u6642\u3068\u3057\u3066\u8868\u793A\u3059\u308B\u306A\u3069\u300124:00\u3092\u8D85\u3048\u308B\u5024\u3067\u7FCC\u65E5\u65E9\u671D\u306E\u6642\u9593\u3092\u8868\u793A\u3067\u304D\u307E\u3059\u3002",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"\u5B8C\u4E86\u3057\u305F\u30BF\u30B9\u30AF\u306E\u30BF\u30A4\u30C8\u30EB\u306B\u53D6\u308A\u6D88\u3057\u7DDA\u3092\u8868\u793A",description:"\u5B8C\u4E86\u3057\u305F\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u306E\u30BF\u30A4\u30C8\u30EB\u306B\u7DDA\u3092\u5F15\u304D\u307E\u3059\u3002\u5B8C\u4E86\u30BF\u30B9\u30AF\u3092\u8AAD\u307F\u3084\u3059\u304F\u3059\u308B\u306B\u306F\u30AA\u30D5\u306B\u3057\u307E\u3059"},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"},expandSubtasksByDefault:{name:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u65E2\u5B9A\u3067\u5C55\u958B",description:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3092\u8868\u793A\u3059\u308B\u3068\u304D\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u5C55\u958B\u3057\u3066\u8868\u793A\u3057\u307E\u3059"},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:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8, \u30A2\u30AF\u30C6\u30A3\u30D6, \u91CD\u8981"},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:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8/, \u4ED5\u4E8B/\u30A2\u30AF\u30C6\u30A3\u30D6, \u500B\u4EBA"},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:"\u30BF\u30A4\u30D7"},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:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8"},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(\u30BF\u30A4\u30C8\u30EB)}"},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(\u30A8\u30A4\u30EA\u30A2\u30B9)}"},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(\u30D1\u30B9)}"}},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:{mobileCalendar:{disable:{name:"\u30E2\u30D0\u30A4\u30EB\u3067\u30AB\u30EC\u30F3\u30C0\u30FC\u9023\u643A\u3092\u7121\u52B9\u5316",description:"Obsidian Mobile \u3067 Google\u3001Microsoft\u3001ICS \u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u8AAD\u307F\u8FBC\u307F\u3092\u30B9\u30AD\u30C3\u30D7\u3057\u307E\u3059\u3002\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u9023\u643A\u306F\u5909\u66F4\u3055\u308C\u307E\u305B\u3093\u3002"},status:{name:"\u3053\u306E\u30E2\u30D0\u30A4\u30EB\u7AEF\u672B\u3067\u306F\u30AB\u30EC\u30F3\u30C0\u30FC\u9023\u643A\u304C\u7121\u52B9\u3067\u3059",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u8AAD\u307F\u8FBC\u307F\u3092\u518D\u958B\u3059\u308B\u306B\u306F\u3001\u3053\u306E\u8A2D\u5B9A\u3092\u30AA\u30D5\u306B\u3057\u3066 Obsidian Mobile \u3092\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},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:"\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u3082Base\u30D5\u30A1\u30A4\u30EB\u306F\u81EA\u52D5\u66F4\u65B0\u3055\u308C\u307E\u305B\u3093\u3002\u65B0\u3057\u3044\u8A2D\u5B9A\u3092\u9069\u7528\u3059\u308B\u306B\u306F\u3001\u4E0B\u306E\u300C\u30D5\u30A1\u30A4\u30EB\u3092\u66F4\u65B0\u300D\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u65E2\u5B58\u306E.base\u30D5\u30A1\u30A4\u30EB\u3092\u524A\u9664\u3057\u3066Obsidian\u3092\u518D\u8D77\u52D5\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",pomodoroStats:"Pomodoro\u7D71\u8A08Base"},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",pomodoroDailyNotesHint:"\u751F\u6210\u3055\u308C\u305FPomodoro\u7D71\u8A08Base\u306F\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u304B\u3089Pomodoro\u5C65\u6B74\u3092\u8AAD\u307F\u53D6\u308A\u307E\u3059\u3002\u5C65\u6B74\u304C\u307E\u3060\u30D7\u30E9\u30B0\u30A4\u30F3\u30C7\u30FC\u30BF\u306B\u4FDD\u5B58\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u3053\u306EBase\u30D5\u30A1\u30A4\u30EB\u3092\u4F7F\u3046\u524D\u306B\u8A2D\u5B9A\u3067\u79FB\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},autoCreateDefaultFiles:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u81EA\u52D5\u4F5C\u6210",description:"\u8D77\u52D5\u6642\u306B\u4E0D\u8DB3\u3057\u3066\u3044\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u306EBase\u30D3\u30E5\u30FC\u30D5\u30A1\u30A4\u30EB\u3092\u81EA\u52D5\u7684\u306B\u4F5C\u6210\u3057\u307E\u3059\u3002\u524A\u9664\u3057\u305F\u30B5\u30F3\u30D7\u30EB\u30D5\u30A1\u30A4\u30EB\u304C\u518D\u4F5C\u6210\u3055\u308C\u306A\u3044\u3088\u3046\u306B\u3059\u308B\u306B\u306F\u7121\u52B9\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},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"},updateDefaultFiles:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u66F4\u65B0",description:"\u73FE\u5728\u306ETaskNotes\u8A2D\u5B9A\u304B\u3089\u751F\u6210\u3055\u308C\u305F\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3067\u3001\u8A2D\u5B9A\u6E08\u307F\u306E\u30C7\u30D5\u30A9\u30EB\u30C8.base\u30D5\u30A1\u30A4\u30EB\u3092\u4E0A\u66F8\u304D\u3057\u307E\u3059\u3002",buttonText:"\u30D5\u30A1\u30A4\u30EB\u3092\u66F4\u65B0",confirmTitle:"\u30C7\u30D5\u30A9\u30EB\u30C8Base\u30D5\u30A1\u30A4\u30EB\u3092\u66F4\u65B0",confirmMessage:"\u8A2D\u5B9A\u6E08\u307F\u306E\u30C7\u30D5\u30A9\u30EB\u30C8.base\u30D5\u30A1\u30A4\u30EB\u3092\u65B0\u3057\u304F\u751F\u6210\u3057\u305F\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3067\u4E0A\u66F8\u304D\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u624B\u52D5\u7DE8\u96C6\u306F\u7F6E\u304D\u63DB\u3048\u3089\u308C\u307E\u3059\u3002",confirmText:"\u30D5\u30A1\u30A4\u30EB\u3092\u66F4\u65B0"}},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:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8/\u30A4\u30D9\u30F3\u30C8\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8.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:"\u30AB\u30EC\u30F3\u30C0\u30FC/\u30A4\u30D9\u30F3\u30C8"},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}"},useICSEndAsDue:{name:"ICS\u30A4\u30D9\u30F3\u30C8\u7D42\u4E86\u6642\u523B\u3092\u30BF\u30B9\u30AF\u671F\u65E5\u3068\u3057\u3066\u4F7F\u7528",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210\u3055\u308C\u305F\u30BF\u30B9\u30AF\u306E\u671F\u65E5\u304C\u30A4\u30D9\u30F3\u30C8\u306E\u7D42\u4E86\u6642\u523B\u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3059\u3002\u7D42\u65E5\u30A4\u30D9\u30F3\u30C8\u306E\u5834\u5408\u3001\u671F\u65E5\u306F\u30A4\u30D9\u30F3\u30C8\u306E\u65E5\u4ED8\u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3059\u3002\u6642\u9593\u6307\u5B9A\u30A4\u30D9\u30F3\u30C8\u306E\u5834\u5408\u3001\u671F\u65E5\u306B\u7D42\u4E86\u6642\u523B\u304C\u542B\u307E\u308C\u307E\u3059\u3002"}},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 \u306EURL",filePath:"\u30ED\u30FC\u30AB\u30EB\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\uFF08\u4F8B\uFF1ACalendar.ics\uFF09",localFile:"\u30AB\u30EC\u30F3\u30C0\u30FC.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-\u30AB\u30EC\u30F3\u30C0\u30FC.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"},useDuration:{name:"\u30BF\u30B9\u30AF\u306E\u6240\u8981\u6642\u9593\u3092\u30A4\u30D9\u30F3\u30C8\u306E\u9577\u3055\u306B\u4F7F\u7528",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306E\u7D42\u4E86\u6642\u523B\u306B\u671F\u65E5\u3067\u306F\u306A\u304F\u30BF\u30B9\u30AF\u306E\u898B\u7A4D\u6642\u9593\uFF08\u6240\u8981\u6642\u9593\uFF09\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u3001\u4E88\u5B9A + \u6240\u8981\u6642\u9593\u304C\u4F5C\u696D\u8A08\u753B\u3092\u8868\u3057\u3001\u671F\u65E5\u304C\u7DE0\u3081\u5207\u308A\u3092\u8868\u3059GTD\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u306B\u4FBF\u5229\u3067\u3059\u3002"},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"},excludeCompleted:{name:"\u5B8C\u4E86\u3057\u305F\u30BF\u30B9\u30AF\u3092\u9664\u5916",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u5B8C\u4E86\u3057\u305F\u30BF\u30B9\u30AF\u306FICS\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304B\u3089\u9664\u5916\u3055\u308C\u307E\u3059\u3002\u5B8C\u4E86\u30B9\u30C6\u30FC\u30BF\u30B9\u306F\u30BF\u30B9\u30AF\u30B9\u30C6\u30FC\u30BF\u30B9\u8A2D\u5B9A\u304B\u3089\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002"},excludeArchived:{name:"\u30A2\u30FC\u30AB\u30A4\u30D6\u6E08\u307F\u30BF\u30B9\u30AF\u3092\u9664\u5916",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u6E08\u307F\u30BF\u30B9\u30AF\u306FICS\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304B\u3089\u9664\u5916\u3055\u308C\u307E\u3059\u3002"},requireDueDate:{name:"\u671F\u9650\u65E5\u3092\u5FC5\u9808\u306B\u3059\u308B",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u671F\u9650\u65E5\u306E\u3042\u308B\u30BF\u30B9\u30AF\u3060\u3051\u304CICS\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u542B\u307E\u308C\u307E\u3059\u3002"},requireScheduledDate:{name:"\u4E88\u5B9A\u65E5\u3092\u5FC5\u9808\u306B\u3059\u308B",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u4E88\u5B9A\u65E5\u306E\u3042\u308B\u30BF\u30B9\u30AF\u3060\u3051\u304CICS\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u542B\u307E\u308C\u307E\u3059\u3002"}},googleCalendarExport:{header:"\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",description:"\u30BF\u30B9\u30AF\u3092\u81EA\u52D5\u7684\u306BGoogle\u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u30A4\u30D9\u30F3\u30C8\u3068\u3057\u3066\u540C\u671F\u3057\u307E\u3059\u3002\u4E0A\u8A18\u3067Google\u30AB\u30EC\u30F3\u30C0\u30FC\u304C\u63A5\u7D9A\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",enable:{name:"\u30BF\u30B9\u30AF\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3092\u6709\u52B9\u306B\u3059\u308B",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u65E5\u4ED8\u306E\u3042\u308B\u30BF\u30B9\u30AF\u304C\u81EA\u52D5\u7684\u306BGoogle\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u30A4\u30D9\u30F3\u30C8\u3068\u3057\u3066\u540C\u671F\u3055\u308C\u307E\u3059\u3002"},targetCalendar:{name:"\u30BF\u30FC\u30B2\u30C3\u30C8\u30AB\u30EC\u30F3\u30C0\u30FC",description:"\u30BF\u30B9\u30AF\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210\u3059\u308B\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u9078\u629E\u3057\u307E\u3059\u3002",placeholder:"\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u9078\u629E...",connectFirst:"\u5148\u306BGoogle\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044",primarySuffix:"\uFF08\u30E1\u30A4\u30F3\uFF09"},syncTrigger:{name:"\u540C\u671F\u30C8\u30EA\u30AC\u30FC",description:"\u3069\u306E\u30BF\u30B9\u30AF\u65E5\u4ED8\u3067\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210\u3059\u308B\u304B\u3002",options:{scheduled:"\u4E88\u5B9A\u65E5",due:"\u671F\u9650",both:"\u4E21\u65B9\uFF08\u4E88\u5B9A\u65E5\u512A\u5148\uFF09"}},allDayEvents:{name:"\u7D42\u65E5\u30A4\u30D9\u30F3\u30C8\u3068\u3057\u3066\u4F5C\u6210",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30BF\u30B9\u30AF\u306F\u7D42\u65E5\u30A4\u30D9\u30F3\u30C8\u3068\u3057\u3066\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002\u7121\u52B9\u306B\u3059\u308B\u3068\u3001\u6642\u9593\u898B\u7A4D\u3082\u308A\u3092\u671F\u9593\u3068\u3057\u3066\u4F7F\u7528\u3057\u307E\u3059\u3002"},defaultDuration:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30A4\u30D9\u30F3\u30C8\u671F\u9593",description:"\u6642\u9593\u6307\u5B9A\u30A4\u30D9\u30F3\u30C8\u306E\u671F\u9593\uFF08\u5206\uFF09\uFF08\u30BF\u30B9\u30AF\u306B\u6642\u9593\u898B\u7A4D\u3082\u308A\u304C\u306A\u3044\u5834\u5408\u306B\u4F7F\u7528\uFF09\u3002"},eventTitleTemplate:{name:"\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30C8\u30EB\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",description:"\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30C8\u30EB\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3002\u4F7F\u7528\u53EF\u80FD\u306A\u5909\u6570\uFF1A{{title}}\u3001{{status}}\u3001{{priority}}",placeholder:"{{title}}"},includeDescription:{name:"\u8AAC\u660E\u306B\u30BF\u30B9\u30AF\u8A73\u7D30\u3092\u542B\u3081\u308B",description:"\u30A4\u30D9\u30F3\u30C8\u306E\u8AAC\u660E\u306B\u30BF\u30B9\u30AF\u306E\u30E1\u30BF\u30C7\u30FC\u30BF\uFF08\u512A\u5148\u5EA6\u3001\u30B9\u30C6\u30FC\u30BF\u30B9\u3001\u30BF\u30B0\u306A\u3069\uFF09\u3092\u8FFD\u52A0\u3057\u307E\u3059\u3002"},includeObsidianLink:{name:"Obsidian\u30EA\u30F3\u30AF\u3092\u542B\u3081\u308B",description:"\u30A4\u30D9\u30F3\u30C8\u306E\u8AAC\u660E\u306BObsidian\u306E\u30BF\u30B9\u30AF\u3078\u306E\u30EA\u30F3\u30AF\u3092\u8FFD\u52A0\u3057\u307E\u3059\u3002"},defaultReminder:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC",description:"\u6642\u523B\u4ED8\u304DGoogle Calendar\u30A4\u30D9\u30F3\u30C8\u306B\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8FFD\u52A0\u3057\u307E\u3059\u3002\u30A4\u30D9\u30F3\u30C8\u524D\u306E\u5206\u6570\u3092\u30AB\u30F3\u30DE\u533A\u5207\u308A\u3067\u5165\u529B\u3057\u307E\u3059\u3002\u7A7A\u6B04\u306B\u3059\u308B\u3068\u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u4E00\u822C\u7684\u306A\u5024: 15, 30, 60, 1440\u3002"},automaticSyncBehavior:{header:"\u81EA\u52D5\u540C\u671F\u52D5\u4F5C"},syncOnCreate:{name:"\u30BF\u30B9\u30AF\u4F5C\u6210\u6642\u306B\u540C\u671F",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u304C\u4F5C\u6210\u3055\u308C\u305F\u3068\u304D\u306B\u81EA\u52D5\u7684\u306B\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002"},syncOnUpdate:{name:"\u30BF\u30B9\u30AF\u66F4\u65B0\u6642\u306B\u540C\u671F",description:"\u30BF\u30B9\u30AF\u304C\u5909\u66F4\u3055\u308C\u305F\u3068\u304D\u306B\u81EA\u52D5\u7684\u306B\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u66F4\u65B0\u3057\u307E\u3059\u3002"},syncOnComplete:{name:"\u30BF\u30B9\u30AF\u5B8C\u4E86\u6642\u306B\u540C\u671F",description:"\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3057\u305F\u3068\u304D\u306B\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u66F4\u65B0\u3057\u307E\u3059\uFF08\u30BF\u30A4\u30C8\u30EB\u306B\u30C1\u30A7\u30C3\u30AF\u30DE\u30FC\u30AF\u3092\u8FFD\u52A0\uFF09\u3002"},syncOnDelete:{name:"\u30BF\u30B9\u30AF\u524A\u9664\u6642\u306B\u30A4\u30D9\u30F3\u30C8\u3092\u524A\u9664",description:"\u5BFE\u5FDC\u3059\u308B\u30BF\u30B9\u30AF\u304C\u524A\u9664\u3055\u308C\u305F\u3068\u304D\u306B\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u524A\u9664\u3057\u307E\u3059\u3002"},manualSyncActions:{header:"\u624B\u52D5\u540C\u671F\u30A2\u30AF\u30B7\u30E7\u30F3"},syncAllTasks:{name:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3092\u540C\u671F",description:"\u3059\u3079\u3066\u306E\u65E2\u5B58\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F\u3057\u307E\u3059\u3002\u307E\u3060\u540C\u671F\u3055\u308C\u3066\u3044\u306A\u3044\u30BF\u30B9\u30AF\u306E\u30A4\u30D9\u30F3\u30C8\u304C\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002",buttonText:"\u3059\u3079\u3066\u540C\u671F"},unlinkAllTasks:{name:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u306E\u30EA\u30F3\u30AF\u3092\u89E3\u9664",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u524A\u9664\u305B\u305A\u306B\u3001\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3068\u30A4\u30D9\u30F3\u30C8\u306E\u30EA\u30F3\u30AF\u3092\u89E3\u9664\u3057\u307E\u3059\u3002",buttonText:"\u3059\u3079\u3066\u30EA\u30F3\u30AF\u89E3\u9664",confirmTitle:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u306E\u30EA\u30F3\u30AF\u3092\u89E3\u9664",confirmMessage:"\u3053\u308C\u306B\u3088\u308A\u3001\u30BF\u30B9\u30AF\u3068\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u9593\u306E\u3059\u3079\u3066\u306E\u30EA\u30F3\u30AF\u304C\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306F\u6B8B\u308A\u307E\u3059\u304C\u3001\u30BF\u30B9\u30AF\u304C\u5909\u66F4\u3055\u308C\u3066\u3082\u66F4\u65B0\u3055\u308C\u306A\u304F\u306A\u308A\u307E\u3059\u3002\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",confirmButtonText:"\u3059\u3079\u3066\u30EA\u30F3\u30AF\u89E3\u9664"},notices:{notEnabled:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093\u3002\u8A2D\u5B9A > \u7D71\u5408\u3067\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",notEnabledOrConfigured:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304C\u6709\u52B9\u307E\u305F\u306F\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093",serviceNotAvailable:"\u30BF\u30B9\u30AF\u30AB\u30EC\u30F3\u30C0\u30FC\u540C\u671F\u30B5\u30FC\u30D3\u30B9\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093",syncResults:"\u540C\u671F\u6E08\u307F\uFF1A{synced}\u3001\u5931\u6557\uFF1A{failed}\u3001\u30B9\u30AD\u30C3\u30D7\uFF1A{skipped}",taskSynced:"\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F\u3057\u307E\u3057\u305F",noActiveFile:"\u73FE\u5728\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093",notATask:"\u73FE\u5728\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u30BF\u30B9\u30AF\u3067\u306F\u3042\u308A\u307E\u305B\u3093",noDateToSync:"\u30BF\u30B9\u30AF\u306B\u540C\u671F\u3059\u308B\u4E88\u5B9A\u65E5\u307E\u305F\u306F\u671F\u9650\u304C\u3042\u308A\u307E\u305B\u3093",syncFailed:"\u30BF\u30B9\u30AF\u306EGoogle\u30AB\u30EC\u30F3\u30C0\u30FC\u3078\u306E\u540C\u671F\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",connectionExpired:"Google \u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u63A5\u7D9A\u304C\u671F\u9650\u5207\u308C\u3067\u3059\u3002\u8A2D\u5B9A > \u7D71\u5408\u3067\u518D\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",syncingTasks:"{total}\u4EF6\u306E\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F\u4E2D...",syncComplete:"\u540C\u671F\u5B8C\u4E86\uFF1A{synced}\u4EF6\u540C\u671F\u3001{failed}\u4EF6\u5931\u6557\u3001{skipped}\u4EF6\u30B9\u30AD\u30C3\u30D7",eventsDeletedAndUnlinked:"\u3059\u3079\u3066\u306E\u30A4\u30D9\u30F3\u30C8\u304C\u524A\u9664\u3055\u308C\u3001\u30EA\u30F3\u30AF\u89E3\u9664\u3055\u308C\u307E\u3057\u305F",tasksUnlinked:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u30EA\u30F3\u30AF\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},eventDescription:{untitledTask:"\u7121\u984C\u306E\u30BF\u30B9\u30AF",priority:"\u512A\u5148\u5EA6\uFF1A{value}",status:"\u30B9\u30C6\u30FC\u30BF\u30B9\uFF1A{value}",due:"\u671F\u9650\uFF1A{value}",scheduled:"\u4E88\u5B9A\uFF1A{value}",timeEstimate:"\u6642\u9593\u898B\u7A4D\u3082\u308A\uFF1A{value}",tags:"\u30BF\u30B0\uFF1A{value}",contexts:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\uFF1A{value}",projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\uFF1A{value}",openInObsidian:"Obsidian\u3067\u958B\u304F"}},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:"\u3042\u306A\u305F\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u30C8\u30FC\u30AF\u30F3"},mcp:{enable:{name:"MCP \u30B5\u30FC\u30D0\u30FC\u3092\u6709\u52B9\u306B\u3059\u308B",description:"Model Context Protocol \u3092\u4ECB\u3057\u3066 /mcp \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3067 TaskNotes \u30C4\u30FC\u30EB\u3092\u516C\u958B\u3057\u307E\u3059\u3002HTTP API \u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002"}},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 \u306EURL",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.json\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9",placeholder:"simple-template.json"},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 \u306EURL",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.json\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9",placeholder:"simple-template.json"},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:"JSON\u5909\u63DB\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u4F7F\u7528\u3057\u3066Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3067\u304D\u307E\u3059\uFF1A",jsFiles:"",jsDescription:"",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:"simple-template.json"},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"},mdbaseSpec:{header:"mdbase\u578B\u5B9A\u7FA9",learnMore:"mdbase-spec \u306B\u3064\u3044\u3066\u8A73\u3057\u304F\u898B\u308B",enable:{name:"mdbase \u578B\u5B9A\u7FA9\u3092\u751F\u6210",description:"\u8A2D\u5B9A\u306E\u5909\u66F4\u306B\u5408\u308F\u305B\u3066\u3001\u30DC\u30EB\u30C8\u30EB\u30FC\u30C8\u306B mdbase \u578B\u30D5\u30A1\u30A4\u30EB\uFF08mdbase.yaml \u3068 _types/task.md\uFF09\u3092\u751F\u6210\u3057\u3066\u7DAD\u6301\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:"\u30AB\u30F3\u30D0\u30F3\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",createOrOpenTaskWithTracking:"\u30BF\u30B9\u30AF\u3092\u4F5C\u6210\u307E\u305F\u306F\u958B\u3044\u3066\u6642\u9593\u8FFD\u8DE1\u3092\u958B\u59CB",rolloverOverdueScheduledTasks:"\u671F\u9650\u8D85\u904E\u306E\u4E88\u5B9A\u30BF\u30B9\u30AF\u3092\u4ECA\u65E5\u306B\u5EF6\u671F",syncAllTasksGoogleCalendar:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F",syncCurrentTaskGoogleCalendar:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F",quickActionsTaskUnderCursor:"\u30AB\u30FC\u30BD\u30EB\u4E0B\u306E\u30BF\u30B9\u30AF\u306E\u30AF\u30A4\u30C3\u30AF\u30A2\u30AF\u30B7\u30E7\u30F3",editCurrentTask:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u3092\u7DE8\u96C6",cycleCurrentTaskStatus:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u5207\u308A\u66FF\u3048",cycleCurrentTaskPriority:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u306E\u512A\u5148\u5EA6\u3092\u5207\u308A\u66FF\u3048",addProjectToCurrentTask:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u8FFD\u52A0",addSubtaskToCurrentNote:"\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u306B\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0"},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"},calendarEventCreation:{heading:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210",dateTimeLabel:"\u65E5\u6642\uFF1A",titleLabel:"\u30BF\u30A4\u30C8\u30EB",titleDesc:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306E\u30BF\u30A4\u30C8\u30EB",titlePlaceholder:"\u4F8B\uFF1A\u30C1\u30FC\u30E0\u30DF\u30FC\u30C6\u30A3\u30F3\u30B0",calendarLabel:"\u30AB\u30EC\u30F3\u30C0\u30FC",calendarDesc:"\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210\u3059\u308B\u30AB\u30EC\u30F3\u30C0\u30FC",descriptionLabel:"\u8AAC\u660E",descriptionDesc:"\u30A4\u30D9\u30F3\u30C8\u306E\u8AAC\u660E\uFF08\u4EFB\u610F\uFF09",descriptionPlaceholder:"\u30A4\u30D9\u30F3\u30C8\u306E\u8A73\u7D30\u3092\u8FFD\u52A0...",locationLabel:"\u5834\u6240",locationDesc:"\u30A4\u30D9\u30F3\u30C8\u306E\u5834\u6240\uFF08\u4EFB\u610F\uFF09",locationPlaceholder:"\u4F8B\uFF1A\u4F1A\u8B70\u5BA4A",createButton:"\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210",titleRequired:"\u30A4\u30D9\u30F3\u30C8\u306E\u30BF\u30A4\u30C8\u30EB\u306F\u5FC5\u9808\u3067\u3059",noCalendarSelected:"\u30AB\u30EC\u30F3\u30C0\u30FC\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",success:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u300C{title}\u300D\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F",error:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}"},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:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8/ICS\u30CE\u30FC\u30C8\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8.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:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C81, \u30B3\u30F3\u30C6\u30AD\u30B9\u30C82",tagsLabel:"\u30BF\u30B0",tagsPlaceholder:"\u30BF\u30B01, \u30BF\u30B02",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:"\u9805\u76EE1, \u9805\u76EE2, \u9805\u76EE3",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}",openCreatedTaskFailure:"\u30BF\u30B9\u30AF\u306F\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F\u304C\u3001\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F\u3002"}},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",deleteSuccess:"\u30BF\u30B9\u30AF\u300C{title}\u300D\u3092\u524A\u9664\u3057\u307E\u3057\u305F",deleteFailure:"\u30BF\u30B9\u30AF\u306E\u524A\u9664\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {message}"},archiveAction:{archived:"\u30A2\u30FC\u30AB\u30A4\u30D6",unarchived:"\u30A2\u30FC\u30AB\u30A4\u30D6\u89E3\u9664"},deleteConfirmation:{title:"\u30BF\u30B9\u30AF\u3092\u524A\u9664",message:"\u300C{title}\u300D\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8\u306FObsidian\u306E\u30B4\u30DF\u7BB1\u306B\u79FB\u52D5\u3055\u308C\u307E\u3059\u3002",confirm:"\u30BF\u30B9\u30AF\u3092\u524A\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\u306E\u30B3\u30A2\u30D7\u30E9\u30B0\u30A4\u30F3\u307E\u305F\u306FPeriodic Notes\u3067\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u3092\u6709\u52B9\u306B\u3057\u3066\u304A\u304F\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",openNoteInNewTab:"\u30CE\u30FC\u30C8\u3092\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F",copyTitle:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u30B3\u30D4\u30FC",quickActions:"\u30AF\u30A4\u30C3\u30AF\u30A2\u30AF\u30B7\u30E7\u30F3",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",syncToGoogle:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F",syncToGoogleNotConfigured:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u540C\u671F\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093",syncToGoogleSuccess:"\u30BF\u30B9\u30AF\u3092Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F\u3057\u307E\u3057\u305F",syncToGoogleFailed:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u3078\u306E\u540C\u671F\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},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",unknownDependency:"\u4E0D\u660E",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",updateContextsFailed:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},contexts:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",addContext:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u8FFD\u52A0\u2026",contextPlaceholder:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",contextSelected:"\u2713 {context}",clearContexts:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u30AF\u30EA\u30A2"},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}",updateTagsFailed:"\u30BF\u30B0\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},tags:"\u30BF\u30B0",addTag:"\u30BF\u30B0\u3092\u8FFD\u52A0\u2026",removeTag:"{tag} \u3092\u524A\u9664",removeTagInput:"\u30BF\u30B0\u3092\u524A\u9664\u2026",tagPlaceholder:"\u30BF\u30B0\u307E\u305F\u306F #tag",clearTags:"\u30BF\u30B0\u3092\u30AF\u30EA\u30A2"},priority:{clearPriority:"\u512A\u5148\u5EA6\u3092\u30AF\u30EA\u30A2"},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:{labels:{due:"\u671F\u9650",scheduled:"\u4E88\u5B9A",recurrence:"\u7E70\u308A\u8FD4\u3057",completed:"\u5B8C\u4E86",created:"\u4F5C\u6210",modified:"\u66F4\u65B0",blocked:"\u30D6\u30ED\u30C3\u30AF",blocking:"\u30D6\u30ED\u30C3\u30AF\u4E2D"},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",priorityAriaLabel:"\u512A\u5148\u5EA6: {label}",taskOptions:"\u30BF\u30B9\u30AF\u30AA\u30D7\u30B7\u30E7\u30F3",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u304C1\u4EF6\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059 (\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u7BA1\u7406)",reminderTooltipMany:"{count}\u4EF6\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059 (\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u7BA1\u7406)",projectTooltip:"\u3053\u306E\u30BF\u30B9\u30AF\u306F\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\uFF08\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u30D5\u30A3\u30EB\u30BF\u3059\u308B\u306B\u306F\u30AF\u30EA\u30C3\u30AF\uFF09",expandSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u5C55\u958B",collapseSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u6298\u308A\u305F\u305F\u3080",dueToday:"{label}: \u4ECA\u65E5",dueTodayAt:"{label}: \u4ECA\u65E5 {time}",dueOverdue:"{label}: {display} (\u671F\u9650\u8D85\u904E)",dueLabel:"{label}: {display}",scheduledToday:"{label}: \u4ECA\u65E5",scheduledTodayAt:"{label}: \u4ECA\u65E5 {time}",scheduledPast:"{label}: {display} (\u904E\u53BB)",scheduledLabel:"{label}: {display}",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",googleCalendarSyncTooltip:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u540C\u671F\u6E08\u307F",detailsTooltip:"\u30BF\u30B9\u30AF\u306B\u8A73\u7D30\u304C\u3042\u308A\u307E\u3059"},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",checklistProgress:"\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u306E\u9032\u6357",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 Pwe={common:{appName:"TaskNotes",new:"Novo",cancel:"Cancelar",confirm:"Confirmar",close:"Fechar",save:"Salvar",reorder:{confirmLargeTitle:"Confirmar grande reordena\xE7\xE3o",confirmButton:"Reordenar notas",confirmLargeMessage:'Reordenar aqui atualizar\xE1 "{field}" em {count} notas para criar uma ordem manual persistente para {scope}. Notas ocultas ou filtradas no mesmo escopo tamb\xE9m podem ser atualizadas. Continuar?'},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)",ko:"Coreano"},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.",reorder:{scope:{ungrouped:"esta lista sem grupos",group:'grupo "{group}"'}},errors:{formulaGroupingReadOnly:"N\xE3o \xE9 poss\xEDvel reordenar tarefas em grupos baseados em f\xF3rmulas. Valores de f\xF3rmula s\xE3o calculados e n\xE3o podem ser alterados diretamente."}},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",contextMenu:{openDailyNote:"Abrir nota di\xE1ria",openWeeklyNote:"Abrir nota semanal"}},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",today:"Ir para hoje",prev:"Anterior",next:"Pr\xF3ximo",month:"Visualiza\xE7\xE3o mensal",week:"Visualiza\xE7\xE3o semanal",day:"Visualiza\xE7\xE3o di\xE1ria",year:"Visualiza\xE7\xE3o anual",list:"Visualiza\xE7\xE3o em lista",customDays:"Visualiza\xE7\xE3o de {count} dias"},settings:{groups:{dateNavigation:"Navega\xE7\xE3o de Data",events:"Eventos",layout:"Layout",view:"Visualiza\xE7\xE3o",display:"Exibi\xE7\xE3o",timeGrid:"Grade de hor\xE1rio",eventLayout:"Layout de eventos",propertyBasedEvents:"Eventos baseados em propriedade",calendarSubscriptions:"Inscri\xE7\xF5es de calend\xE1rio",googleCalendars:"Calend\xE1rios do Google",microsoftCalendars:"Calend\xE1rios da Microsoft"},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",createDailyNotesFromDateLinks:"Criar notas di\xE1rias a partir de links de data",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",showCompletedRecurringInstances:"Mostrar inst\xE2ncias recorrentes conclu\xEDdas",showSkippedRecurringInstances:"Mostrar inst\xE2ncias recorrentes ignoradas"},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)",dragDropResolution:"Resolu\xE7\xE3o de arrastar/soltar",dragDropResolutionPlaceholder:"HH:mm:ss (ex: 00:05: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",showTimeGrid:"Mostrar grade hor\xE1ria",showTodayHighlight:"Mostrar destaque de hoje",todayColumnWidthMultiplier:"Multiplicador de largura da coluna 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)",spanScheduledToDue:"Estender tarefas entre data agendada e data de vencimento",heightMode:"Modo de altura",heightModeFill:"Preencher cont\xEAiner",heightModeAuto:"Altura autom\xE1tica"},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"}},notices:{noDailyNoteForDate:"N\xE3o existe nota di\xE1ria para esta data."},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",reorder:{scope:{column:'coluna "{group}"',columnInSwimlane:'coluna "{group}" na swimlane "{swimlane}"'}},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'.",formulaGroupingReadOnly:"N\xE3o \xE9 poss\xEDvel mover tarefas entre colunas baseadas em f\xF3rmulas. Os valores de f\xF3rmula s\xE3o calculados e n\xE3o podem ser modificados diretamente.",formulaSwimlaneReadOnly:"N\xE3o \xE9 poss\xEDvel mover tarefas entre raias baseadas em f\xF3rmulas. Os valores de f\xF3rmula s\xE3o calculados e n\xE3o podem ser modificados diretamente."},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",startFocus:"Iniciar foco",addMinute:"Adicionar um minuto",subtractMinute:"Subtrair um minuto"},notices:{noTasks:"Nenhuma tarefa n\xE3o arquivada encontrada. Crie algumas tarefas primeiro.",loadFailed:"Falha ao carregar tarefas",invalidDuration:"Digite uma dura\xE7\xE3o como 10, 10:30 ou 1:30:00."},statsLabel:"conclu\xEDdos hoje",meta:{ready:"{time} planejado \xB7 {count} conclu\xEDdos hoje",running:"{time} restante",paused:"{type} pausado \xB7 {time} restante",breakReady:"{type} pronto \xB7 {time} planejado"},timer:{editLabel:"Editar dura\xE7\xE3o do timer",inputLabel:"Dura\xE7\xE3o do timer"}},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"},delete:"Excluir sess\xE3o",deleteAria:"Excluir sess\xE3o Pomodoro",deleteConfirmTitle:"Excluir sess\xE3o Pomodoro?",deleteConfirmMessage:"Isso remove a sess\xE3o do hist\xF3rico Pomodoro. Entradas de tempo de tarefas existentes n\xE3o s\xE3o alteradas.",deleteConfirmButton:"Excluir",deleteSuccess:"Sess\xE3o Pomodoro exclu\xEDda",deleteNotFound:"Sess\xE3o Pomodoro n\xE3o encontrada"},basesMigration:{title:"Quer uma visualiza\xE7\xE3o Base?",description:"As visualiza\xE7\xF5es Base de Pomodoro usam o frontmatter das notas di\xE1rias. Para ver esse hist\xF3rico na Base de estat\xEDsticas Pomodoro gerada, migre os dados do Pomodoro nas configura\xE7\xF5es e defina o armazenamento como notas di\xE1rias."}},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:"Agradecemos muito todo feedback. Se algo n\xE3o parecer certo, conte para n\xF3s no GitHub. Se voc\xEA acha o TaskNotes \xFAtil, considere dar uma estrela.",baseFilesNotice:"> [!info] Sobre os arquivos `.base` padr\xE3o\n> Altera\xE7\xF5es nos modelos `.base` gerados por padr\xE3o n\xE3o substituem seus arquivos `.base` existentes, para manter suas personaliza\xE7\xF5es.\n> Se quiser as melhorias mais recentes dos modelos, regenere os arquivos base em **Configura\xE7\xF5es \u2192 TaskNotes \u2192 Geral \u2192 Criar arquivos**."}},settings:{header:{documentation:"Documenta\xE7\xE3o",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."},taskCreation:{header:"Cria\xE7\xE3o de tarefas",description:"Configure o que acontece depois que tarefas s\xE3o criadas.",openAfterCreate:{name:"Abrir tarefa ap\xF3s cria\xE7\xE3o",description:"Escolha se o modal normal Criar nova tarefa abre a nova nota de tarefa ap\xF3s salvar.",options:{none:"N\xE3o abrir",sameTab:"Abrir na mesma aba",newTab:"Abrir em uma nova aba"}}},overlays:{taskLinkToggle:{name:"Sobreposi\xE7\xE3o de link de tarefa",description:"Mostrar sobreposi\xE7\xF5es interativas ao passar o mouse sobre links de tarefas"},aliasExclusion:{name:"Desativar sobreposi\xE7\xE3o para links com alias",description:"N\xE3o mostrar o widget de tarefa se o link contiver um alias (ex. [[Tarefa|Alias]])."}},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"},preserveCheckbox:{name:"Manter a caixa de sele\xE7\xE3o ao converter",description:"Manter o marcador original da caixa de sele\xE7\xE3o Markdown ao converter uma caixa em link TaskNote"},folder:{name:"Pasta para tarefas criadas inline",description:"Pasta onde tarefas criadas por comandos inline ou convers\xE3o de caixas de sele\xE7\xE3o ser\xE3o criadas. Deixe em branco para usar a pasta padr\xE3o de tarefas. Use {{currentNotePath}} para a pasta da nota atual, ou {{currentNoteTitle}} para uma subpasta com o nome da nota atual."}},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"},mobileSidebar:{name:"Barra lateral m\xF3vel",description:"Onde abrir o temporizador Pomodoro em dispositivos m\xF3veis",tab:"Painel de notas",left:"Barra lateral esquerda",right:"Barra lateral direita"},statusBar:{name:"Mostrar Pomodoro na barra de status",description:"Mostrar a contagem regressiva ativa do Pomodoro na barra de status do Obsidian"}},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",soundEnabledName:"Som de notifica\xE7\xE3o",soundEnabledDesc:"Tocar um som quando lembretes de tarefa forem acionados",soundVolumeName:"Volume do som",soundVolumeDesc:"Volume dos sons de lembrete de tarefa (0-100)",soundPreviewName:"Pr\xE9-visualizar som de notifica\xE7\xE3o",soundPreviewDesc:"Tocar o som configurado de lembrete de tarefa",soundPreviewButton:"Pr\xE9-visualizar",testReminderName:"Enviar lembrete de teste",testReminderDesc:"Enviar um lembrete de teste usando o tipo de notifica\xE7\xE3o e as configura\xE7\xF5es de som atuais.",testReminderButton:"Enviar teste"},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",resetCheckboxesName:"Redefinir caixas de sele\xE7\xE3o na recorr\xEAncia",resetCheckboxesDesc:"Redefinir todas as caixas de sele\xE7\xE3o markdown no corpo da tarefa quando uma tarefa recorrente \xE9 conclu\xEDda e reagendada"},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",defaultColorName:"Cor padr\xE3o do bloco de tempo",defaultColorDesc:"A cor padr\xE3o usada ao criar novos blocos de tempo",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."},debugLogging:{header:"Registro de depura\xE7\xE3o",description:"Configurar a sa\xEDda do log de depura\xE7\xE3o para solu\xE7\xE3o de problemas.",enableName:"Habilitar log de depura\xE7\xE3o",enableDesc:"Registrar diagn\xF3sticos detalhados de arrastar e soltar e de visualiza\xE7\xE3o no console do desenvolvedor. \xDAtil para solu\xE7\xE3o de problemas."}},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"},useParentHeaderAsProject:{name:"Usar cabe\xE7alho pai como projeto durante a convers\xE3o instant\xE2nea",description:"Vincular automaticamente o cabe\xE7alho mais pr\xF3ximo acima da linha convertida como 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. Suporta vari\xE1veis de modelo de pasta como {{currentNotePath}}, {{currentNoteTitle}} e {{projectFilePath}}, al\xE9m de tokens de data no estilo Daily Notes como YYYY/MM/DD."},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"},hideIdentifyingTagsMode:{name:"Escopo das tags ocultas",description:"Escolha se ocultar tags de identifica\xE7\xE3o tamb\xE9m oculta tags aninhadas.",options:{all:"Tag da tarefa e tags aninhadas",exactOnly:"Somente tag exata"}},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:"Carimbo de data/hora 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:"Carimbo de data/hora da \xFAltima altera\xE7\xE3o na tarefa. Atualizado automaticamente quando qualquer propriedade da tarefa muda."},completedDate:{name:"Data de Conclus\xE3o",description:"Carimbo de data/hora 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 carimbos de data/hora 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."},sortOrder:{name:"Ordem manual",description:"Propriedade de frontmatter usada para a ordem manual com arrastar e soltar. A visualiza\xE7\xE3o deve estar ordenada por esta propriedade para que a reordena\xE7\xE3o por arrastar e soltar funcione."},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:",useParentHeader:"Usar cabe\xE7alho pai como projeto:",inheritParentTaskProperties:"Herdar propriedades da tarefa pai para subtarefas:",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:",legacySyntaxWarning:"A sintaxe de chaves simples como {title} est\xE1 obsoleta. Por favor, use a sintaxe de chaves duplas {{title}} para consist\xEAncia com os modelos de corpo."},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:",excludeFromCycle:"Ignorar no ciclo:",nextStatus:"Pr\xF3ximo status:",autoArchive:"Arquivar auto.:",delayMinutes:"Atraso (minutos):"},placeholders:{value:"em-progresso",label:"Em Progresso",icon:"check, circle, clock",nextStatusDefault:"Usar ordem dos status"},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",icon:"\xCDcone: \xCDcone Lucide opcional para mostrar nos cart\xF5es de tarefa no lugar do ponto de prioridade",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:",icon:"\xCDcone:",weight:"Peso:"},placeholders:{value:"alta",label:"Prioridade Alta",icon:"alert-circle"},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",sortOrder:"Ordem manual",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",checklistProgress:"Progresso da lista de verifica\xE7\xE3o",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:"Carimbo de data/hora completo (AAAA-MM-DD-HHMMSS)",custom:"Modelo personalizado",uuid:"UUID v4"}},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}}, {{uuid}}, {{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 exibida em visualiza\xE7\xF5es de linha do tempo (formato HH:MM). Use valores acima de 24:00 para mostrar horas iniciais do dia seguinte, como 26:00 para 2h.",placeholder:"26: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"},showCompletedTaskStrikethrough:{name:"Riscar t\xEDtulos de tarefas conclu\xEDdas",description:"Desenha uma linha sobre os t\xEDtulos de cart\xF5es de tarefas conclu\xEDdas. Desative para manter tarefas conclu\xEDdas mais f\xE1ceis de ler"},showExpandableSubtasks:{name:"Mostrar subtarefas expans\xEDveis",description:"Permitir expandir/recolher se\xE7\xF5es de subtarefas nos cart\xF5es de tarefa"},expandSubtasksByDefault:{name:"Expandir subtarefas por padr\xE3o",description:"Mostrar subtarefas de projeto expandidas quando os cart\xF5es de tarefa forem renderizados"},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:{mobileCalendar:{disable:{name:"Desativar integra\xE7\xF5es de calend\xE1rio no mobile",description:"Ignora o carregamento de calend\xE1rios Google, Microsoft e ICS no Obsidian Mobile. As integra\xE7\xF5es de calend\xE1rio no desktop n\xE3o mudam."},status:{name:"As integra\xE7\xF5es de calend\xE1rio est\xE3o desativadas neste dispositivo m\xF3vel",description:"Desative esta configura\xE7\xE3o e recarregue o Obsidian Mobile para voltar a carregar calend\xE1rios."}},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, use "Atualizar arquivos" abaixo, exclua os arquivos .base existentes e reinicie o Obsidian, 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",pomodoroStats:"Base de estat\xEDsticas Pomodoro"},fileLabel:"Arquivo: {path}",resetButton:"Redefinir",resetTooltip:"Redefinir para caminho padr\xE3o",pomodoroDailyNotesHint:"A Base de estat\xEDsticas Pomodoro gerada l\xEA o hist\xF3rico do Pomodoro nas notas di\xE1rias. Se o hist\xF3rico ainda estiver nos dados do plugin, migre-o nas configura\xE7\xF5es antes de usar esse arquivo Base."},autoCreateDefaultFiles:{name:"Criar arquivos padr\xE3o automaticamente",description:"Criar automaticamente arquivos Base padr\xE3o ausentes na inicializa\xE7\xE3o. Desative para evitar que arquivos de exemplo exclu\xEDdos sejam recriados."},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."},updateDefaultFiles:{name:"Atualizar arquivos padr\xE3o",description:"Sobrescreve os arquivos .base padr\xE3o configurados com modelos gerados a partir das configura\xE7\xF5es atuais do TaskNotes.",buttonText:"Atualizar arquivos",confirmTitle:"Atualizar arquivos Base padr\xE3o",confirmMessage:"Isso sobrescrever\xE1 os arquivos .base padr\xE3o configurados com modelos rec\xE9m-gerados. Qualquer edi\xE7\xE3o manual nesses arquivos ser\xE1 substitu\xEDda.",confirmText:"Atualizar arquivos"}},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:"Carimbo de data/hora",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}"},useICSEndAsDue:{name:"Usar hora de t\xE9rmino do evento ICS como data de vencimento",description:"Quando ativado, as tarefas criadas a partir de eventos de calend\xE1rio ter\xE3o sua data de vencimento definida para a hora de t\xE9rmino do evento. Para eventos de dia inteiro, a data de vencimento ser\xE1 a data do evento. Para eventos com hor\xE1rio, a data de vencimento incluir\xE1 a hora de t\xE9rmino."}},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-calendario.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"},useDuration:{name:"Usar dura\xE7\xE3o da tarefa para o comprimento do evento",description:"Quando ativado, usa a estimativa de tempo (dura\xE7\xE3o) da tarefa em vez da data de vencimento para o hor\xE1rio de t\xE9rmino do evento do calend\xE1rio. Isso \xE9 \xFAtil para fluxos de trabalho GTD onde agendado + dura\xE7\xE3o representa o planejamento do trabalho, enquanto a data de vencimento representa prazos."},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"},excludeCompleted:{name:"Excluir tarefas conclu\xEDdas",description:"Quando ativado, tarefas conclu\xEDdas s\xE3o omitidas das exporta\xE7\xF5es ICS. Os status conclu\xEDdos v\xEAm das configura\xE7\xF5es de status de tarefas."},excludeArchived:{name:"Excluir tarefas arquivadas",description:"Quando ativado, tarefas arquivadas s\xE3o omitidas das exporta\xE7\xF5es ICS."},requireDueDate:{name:"Exigir data de vencimento",description:"Quando ativado, apenas tarefas com data de vencimento s\xE3o inclu\xEDdas nas exporta\xE7\xF5es ICS."},requireScheduledDate:{name:"Exigir data agendada",description:"Quando ativado, apenas tarefas com data agendada s\xE3o inclu\xEDdas nas exporta\xE7\xF5es ICS."}},googleCalendarExport:{header:"Exportar tarefas para o Google Agenda",description:"Sincronize automaticamente suas tarefas para o Google Agenda como eventos. Requer que o Google Agenda esteja conectado acima.",enable:{name:"Ativar exporta\xE7\xE3o de tarefas",description:"Quando ativado, tarefas com datas ser\xE3o automaticamente sincronizadas para o Google Agenda como eventos."},targetCalendar:{name:"Calend\xE1rio de destino",description:"Selecione em qual calend\xE1rio criar eventos de tarefas.",placeholder:"Selecionar um calend\xE1rio...",connectFirst:"Conecte o Google Agenda primeiro",primarySuffix:" (Principal)"},syncTrigger:{name:"Gatilho de sincroniza\xE7\xE3o",description:"Qual data da tarefa deve acionar a cria\xE7\xE3o do evento no calend\xE1rio.",options:{scheduled:"Data agendada",due:"Data de vencimento",both:"Ambas (preferir agendada)"}},allDayEvents:{name:"Criar como eventos de dia inteiro",description:"Quando ativado, tarefas s\xE3o criadas como eventos de dia inteiro. Quando desativado, usa a estimativa de tempo para a dura\xE7\xE3o."},defaultDuration:{name:"Dura\xE7\xE3o padr\xE3o do evento",description:"Dura\xE7\xE3o em minutos para eventos com hor\xE1rio (usada quando a tarefa n\xE3o tem estimativa de tempo)."},eventTitleTemplate:{name:"Modelo de t\xEDtulo do evento",description:"Modelo para t\xEDtulos de eventos. Vari\xE1veis dispon\xEDveis: {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"Incluir detalhes da tarefa na descri\xE7\xE3o",description:"Adicionar metadados da tarefa (prioridade, status, tags, etc.) \xE0 descri\xE7\xE3o do evento."},includeObsidianLink:{name:"Incluir link do Obsidian",description:"Adicionar um link de volta para a tarefa no Obsidian na descri\xE7\xE3o do evento."},defaultReminder:{name:"Lembrete padr\xE3o",description:"Adicione lembretes pop-up a eventos com hor\xE1rio do Google Calendar. Digite os minutos antes do evento, separados por v\xEDrgulas. Deixe em branco para usar os padr\xF5es do calend\xE1rio. Valores comuns: 15, 30, 60, 1440."},automaticSyncBehavior:{header:"Comportamento de sincroniza\xE7\xE3o autom\xE1tica"},syncOnCreate:{name:"Sincronizar ao criar tarefa",description:"Criar automaticamente um evento no calend\xE1rio quando uma nova tarefa \xE9 criada."},syncOnUpdate:{name:"Sincronizar ao atualizar tarefa",description:"Atualizar automaticamente o evento no calend\xE1rio quando uma tarefa \xE9 modificada."},syncOnComplete:{name:"Sincronizar ao completar tarefa",description:"Atualizar evento no calend\xE1rio quando uma tarefa \xE9 completada (adiciona marca de verifica\xE7\xE3o ao t\xEDtulo)."},syncOnDelete:{name:"Excluir evento ao excluir tarefa",description:"Remover evento do calend\xE1rio quando a tarefa correspondente \xE9 exclu\xEDda."},manualSyncActions:{header:"A\xE7\xF5es de sincroniza\xE7\xE3o manual"},syncAllTasks:{name:"Sincronizar todas as tarefas",description:"Sincronizar todas as tarefas existentes para o Google Agenda. Isso criar\xE1 eventos para tarefas que ainda n\xE3o foram sincronizadas.",buttonText:"Sincronizar tudo"},unlinkAllTasks:{name:"Desvincular todas as tarefas",description:"Remover todos os v\xEDnculos tarefa-evento sem excluir eventos do calend\xE1rio.",buttonText:"Desvincular tudo",confirmTitle:"Desvincular todas as tarefas",confirmMessage:"Isso remover\xE1 todos os v\xEDnculos entre tarefas e eventos do calend\xE1rio. Os eventos do calend\xE1rio permanecer\xE3o mas n\xE3o ser\xE3o mais atualizados quando as tarefas mudarem. Tem certeza?",confirmButtonText:"Desvincular tudo"},notices:{notEnabled:"Exporta\xE7\xE3o para o Google Agenda n\xE3o est\xE1 ativada. Configure em Configura\xE7\xF5es > Integra\xE7\xF5es.",notEnabledOrConfigured:"Exporta\xE7\xE3o para o Google Agenda n\xE3o est\xE1 ativada ou configurada",serviceNotAvailable:"Servi\xE7o de sincroniza\xE7\xE3o de calend\xE1rio n\xE3o dispon\xEDvel",syncResults:"Sincronizados: {synced}, Falharam: {failed}, Ignorados: {skipped}",taskSynced:"Tarefa sincronizada para o Google Agenda",noActiveFile:"Nenhum arquivo est\xE1 atualmente ativo",notATask:"O arquivo atual n\xE3o \xE9 uma tarefa",noDateToSync:"Tarefa n\xE3o tem data agendada ou de vencimento para sincronizar",syncFailed:"Falha ao sincronizar tarefa para o Google Agenda: {message}",connectionExpired:"A conex\xE3o com o Google Agenda expirou. Reconecte em Configura\xE7\xF5es > Integra\xE7\xF5es.",syncingTasks:"Sincronizando {total} tarefas para o Google Agenda...",syncComplete:"Sincroniza\xE7\xE3o completa: {synced} sincronizadas, {failed} falharam, {skipped} ignoradas",eventsDeletedAndUnlinked:"Todos os eventos exclu\xEDdos e desvinculados",tasksUnlinked:"Todos os v\xEDnculos de tarefas removidos"},eventDescription:{untitledTask:"Tarefa sem t\xEDtulo",priority:"Prioridade: {value}",status:"Status: {value}",due:"Vencimento: {value}",scheduled:"Agendado: {value}",timeEstimate:"Estimativa de tempo: {value}",tags:"Tags: {value}",contexts:"Contextos: {value}",projects:"Projetos: {value}",openInObsidian:"Abrir no Obsidian"}},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"},mcp:{enable:{name:"Ativar servidor MCP",description:"Exponha as ferramentas do TaskNotes via Model Context Protocol no endpoint /mcp. Requer que a API HTTP esteja ativada."}},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 de modelo .json em seu cofre que transforma payloads de webhook",placeholder:"simple-template.json"},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 de modelo .json em seu cofre que transforma payloads de webhook",placeholder:"simple-template.json"},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:"Modelos de transforma\xE7\xE3o JSON permitem personalizar payloads de webhook:",jsFiles:"",jsDescription:"",jsonFiles:"Arquivos .json:",jsonDescription:" Modelos com ",jsonVariable:"${data.task.title}",leaveEmpty:"Deixe em branco:",leaveEmptyDescription:" Enviar dados brutos",example:"Exemplo:",exampleFile:"simple-template.json"},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."},mdbaseSpec:{header:"Defini\xE7\xF5es de tipos mdbase",learnMore:"Saiba mais sobre mdbase-spec",enable:{name:"Gerar defini\xE7\xF5es de tipos mdbase",description:"Gere e mantenha arquivos de tipos mdbase (mdbase.yaml e _types/task.md) na raiz do cofre conforme suas configura\xE7\xF5es mudam."}},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",createOrOpenTaskWithTracking:"Criar ou abrir tarefa e iniciar registro de tempo",rolloverOverdueScheduledTasks:"Adiar tarefas agendadas vencidas para hoje",syncAllTasksGoogleCalendar:"Sincronizar todas as tarefas para o Google Agenda",syncCurrentTaskGoogleCalendar:"Sincronizar tarefa atual para o Google Agenda",quickActionsTaskUnderCursor:"A\xE7\xF5es r\xE1pidas para a tarefa sob o cursor",editCurrentTask:"Editar tarefa atual",cycleCurrentTaskStatus:"Alternar status da tarefa atual",cycleCurrentTaskPriority:"Alternar prioridade da tarefa atual",addProjectToCurrentTask:"Adicionar projeto \xE0 tarefa atual",addSubtaskToCurrentNote:"Adicionar subtarefa \xE0 nota atual"},modals:{deviceCode:{title:"Autoriza\xE7\xE3o do Google Agenda",instructions:{intro:"Para conectar seu Google Agenda, 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"},calendarEventCreation:{heading:"Criar evento no calend\xE1rio",dateTimeLabel:"Data e hora: ",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo do evento no calend\xE1rio",titlePlaceholder:"ex., Reuni\xE3o de equipe",calendarLabel:"Calend\xE1rio",calendarDesc:"Em qual calend\xE1rio criar o evento",descriptionLabel:"Descri\xE7\xE3o",descriptionDesc:"Descri\xE7\xE3o opcional do evento",descriptionPlaceholder:"Adicionar detalhes sobre este evento...",locationLabel:"Local",locationDesc:"Local opcional do evento",locationPlaceholder:"ex., Sala de confer\xEAncia A",createButton:"Criar evento",titleRequired:"O t\xEDtulo do evento \xE9 obrigat\xF3rio",noCalendarSelected:"Nenhum calend\xE1rio selecionado",success:'Evento "{title}" criado no calend\xE1rio',error:"Falha ao criar evento no calend\xE1rio: {message}"},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:"etiqueta1, etiqueta2",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:"item 1, item 2, item 3",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}",openCreatedTaskFailure:"Tarefa criada, mas n\xE3o foi poss\xEDvel abrir a nota da tarefa."}},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",deleteSuccess:'Tarefa "{title}" exclu\xEDda com sucesso',deleteFailure:"Falha ao excluir tarefa: {message}"},archiveAction:{archived:"arquivada",unarchived:"desarquivada"},deleteConfirmation:{title:"Excluir tarefa",message:'Tem certeza de que deseja excluir "{title}"? Isso move a nota da tarefa para a lixeira do Obsidian.',confirm:"Excluir tarefa"}},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:"As notas di\xE1rias devem estar ativadas no plugin principal de notas di\xE1rias ou no Periodic Notes",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",openNoteInNewTab:"Abrir nota em uma nova aba",copyTitle:"Copiar t\xEDtulo da tarefa",quickActions:"A\xE7\xF5es r\xE1pidas",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 Agenda",outlook:"Calend\xE1rio do Outlook",yahoo:"Calend\xE1rio do Yahoo",downloadIcs:"Baixar arquivo .ics",syncToGoogle:"Sincronizar com o Google Agenda",syncToGoogleNotConfigured:"Sincroniza\xE7\xE3o com Google Agenda n\xE3o configurada",syncToGoogleSuccess:"Tarefa sincronizada com o Google Agenda",syncToGoogleFailed:"Falha ao sincronizar com o Google Agenda"},recurrence:"Recorr\xEAncia",clearRecurrence:"Limpar recorr\xEAncia",customRecurrence:"Recorr\xEAncia personalizada...",createSubtask:"Criar subtarefa",dependencies:{title:"Depend\xEAncias",addBlockedBy:'Adicionar "bloqueada por"...',addBlockedByTitle:"Adicionar tarefas das quais esta depende",addBlocking:'Adicionar "bloqueando"...',addBlockingTitle:"Adicionar tarefas que esta bloqueia",removeBlockedBy:'Remover "bloqueada por"...',removeBlocking:'Remover "bloqueando"...',unknownDependency:"Desconhecido",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",updateContextsFailed:"Falha ao atualizar contextos"},contexts:"Contextos",addContext:"Adicionar contexto\u2026",contextPlaceholder:"contexto",contextSelected:"\u2713 {context}",clearContexts:"Limpar contextos"},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}",updateTagsFailed:"Falha ao atualizar tags"},tags:"Tags",addTag:"Adicionar tag\u2026",removeTag:"Remover {tag}",removeTagInput:"Remover tag\u2026",tagPlaceholder:"Tag ou #tag",clearTags:"Limpar tags"},priority:{clearPriority:"Limpar prioridade"},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:{labels:{due:"Vencimento",scheduled:"Programado",recurrence:"Recorrente",completed:"Conclu\xEDdo",created:"Criado",modified:"Modificado",blocked:"Bloqueado",blocking:"Bloqueando"},blockedBadge:"Bloqueada",blockedBadgeTooltip:"Esta tarefa est\xE1 aguardando outra tarefa",blockingBadge:"Bloqueando",blockingBadgeTooltip:"Esta tarefa est\xE1 bloqueando outra tarefa",blockingToggle:"Bloqueando {count} tarefas",priorityAriaLabel:"Prioridade: {label}",taskOptions:"Op\xE7\xF5es da tarefa",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"1 lembrete definido (clique para gerenciar)",reminderTooltipMany:"{count} lembretes definidos (clique para gerenciar)",projectTooltip:"Esta tarefa \xE9 usada como projeto (clique para filtrar subtarefas)",expandSubtasks:"Expandir subtarefas",collapseSubtasks:"Recolher subtarefas",dueToday:"{label}: Hoje",dueTodayAt:"{label}: Hoje \xE0s {time}",dueOverdue:"{label}: {display} (atrasada)",dueLabel:"{label}: {display}",scheduledToday:"{label}: Hoje",scheduledTodayAt:"{label}: Hoje \xE0s {time}",scheduledPast:"{label}: {display} (passado)",scheduledLabel:"{label}: {display}",loadingDependencies:"Carregando depend\xEAncias...",blockingEmpty:"Nenhuma tarefa dependente",blockingLoadError:"Falha ao carregar depend\xEAncias",googleCalendarSyncTooltip:"Sincronizado com o Google Agenda",detailsTooltip:"A tarefa tem detalhes"},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",checklistProgress:"Progresso da lista de verifica\xE7\xE3o",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 Mwe={common:{appName:"TaskNotes",new:"\uC0C8\uB85C \uB9CC\uB4E4\uAE30",cancel:"\uCDE8\uC18C",confirm:"\uD655\uC778",close:"\uB2EB\uAE30",save:"\uC800\uC7A5",reorder:{confirmLargeTitle:"\uB300\uADDC\uBAA8 \uC7AC\uC815\uB82C \uD655\uC778",confirmButton:"\uB178\uD2B8 \uC7AC\uC815\uB82C",confirmLargeMessage:'\uC5EC\uAE30\uC11C \uC7AC\uC815\uB82C\uD558\uBA74 {scope}\uC5D0 \uB300\uD55C \uC9C0\uC18D\uC801\uC778 \uC218\uB3D9 \uC21C\uC11C\uB97C \uB9CC\uB4E4\uAE30 \uC704\uD574 {count}\uAC1C \uB178\uD2B8\uC758 "{field}" \uAC12\uC774 \uC5C5\uB370\uC774\uD2B8\uB429\uB2C8\uB2E4. \uAC19\uC740 \uBC94\uC704\uC758 \uC228\uACA8\uC9C4 \uB178\uD2B8\uB098 \uD544\uD130\uB9C1\uB41C \uB178\uD2B8\uB3C4 \uD568\uAED8 \uC5C5\uB370\uC774\uD2B8\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?'},language:"\uC5B8\uC5B4",systemDefault:"\uC2DC\uC2A4\uD15C \uAE30\uBCF8\uAC12",loading:"\uB85C\uB529 \uC911...",languages:{en:"\uC601\uC5B4",fr:"\uD504\uB791\uC2A4\uC5B4",ru:"\uB7EC\uC2DC\uC544\uC5B4",zh:"\uC911\uAD6D\uC5B4",de:"\uB3C5\uC77C\uC5B4",es:"\uC2A4\uD398\uC778\uC5B4",ja:"\uC77C\uBCF8\uC5B4",pt:"\uD3EC\uB974\uD22C\uAC08\uC5B4 (\uBE0C\uB77C\uC9C8)",ko:"\uD55C\uAD6D\uC5B4"},weekdays:{sunday:"\uC77C\uC694\uC77C",monday:"\uC6D4\uC694\uC77C",tuesday:"\uD654\uC694\uC77C",wednesday:"\uC218\uC694\uC77C",thursday:"\uBAA9\uC694\uC77C",friday:"\uAE08\uC694\uC77C",saturday:"\uD1A0\uC694\uC77C"},months:{january:"1\uC6D4",february:"2\uC6D4",march:"3\uC6D4",april:"4\uC6D4",may:"5\uC6D4",june:"6\uC6D4",july:"7\uC6D4",august:"8\uC6D4",september:"9\uC6D4",october:"10\uC6D4",november:"11\uC6D4",december:"12\uC6D4"}},views:{agenda:{title:"\uC77C\uC815",today:"\uC624\uB298",overdue:"\uC9C0\uC5F0\uB428",refreshCalendars:"\uCE98\uB9B0\uB354 \uC0C8\uB85C\uACE0\uCE68",actions:{previousPeriod:"\uC774\uC804 \uAE30\uAC04",nextPeriod:"\uB2E4\uC74C \uAE30\uAC04",goToToday:"\uC624\uB298\uB85C \uC774\uB3D9",refreshCalendars:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68"},loading:"\uC77C\uC815 \uB85C\uB529 \uC911...",dayToggle:"\uB0A0\uC9DC \uD1A0\uAE00",overdueToggle:"\uC9C0\uC5F0 \uD56D\uBAA9 \uD1A0\uAE00",expandAllDays:"\uBAA8\uB4E0 \uB0A0\uC9DC \uD3BC\uCE58\uAE30",collapseAllDays:"\uBAA8\uB4E0 \uB0A0\uC9DC \uC811\uAE30",notices:{calendarNotReady:"\uCE98\uB9B0\uB354 \uC11C\uBE44\uC2A4\uAC00 \uC544\uC9C1 \uC900\uBE44\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4",calendarRefreshed:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5\uC774 \uC0C8\uB85C\uACE0\uCE68\uB418\uC5C8\uC2B5\uB2C8\uB2E4",refreshFailed:"\uC0C8\uB85C\uACE0\uCE68 \uC2E4\uD328"},empty:{noItemsScheduled:"\uC608\uC815\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",noItemsFound:"\uD56D\uBAA9\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",helpText:"\uB9C8\uAC10\uC77C\uC774\uB098 \uC608\uC815\uC77C\uC774 \uC788\uB294 \uC791\uC5C5\uC744 \uB9CC\uB4E4\uAC70\uB098, \uB178\uD2B8\uB97C \uCD94\uAC00\uD558\uC5EC \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uD558\uC138\uC694."},contextMenu:{showOverdueSection:"\uC9C0\uC5F0 \uD56D\uBAA9 \uD45C\uC2DC",showNotes:"\uB178\uD2B8 \uD45C\uC2DC",calendarSubscriptions:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5"},periods:{thisWeek:"\uC774\uBC88 \uC8FC"},tipPrefix:"\uD301: "},taskList:{title:"\uC791\uC5C5",expandAllGroups:"\uBAA8\uB4E0 \uADF8\uB8F9 \uD3BC\uCE58\uAE30",collapseAllGroups:"\uBAA8\uB4E0 \uADF8\uB8F9 \uC811\uAE30",noTasksFound:"\uC120\uD0DD\uD55C \uD544\uD130\uC5D0 \uD574\uB2F9\uD558\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",reorder:{scope:{ungrouped:"\uC774 \uADF8\uB8F9 \uC5C6\uB294 \uBAA9\uB85D",group:'"{group}" \uADF8\uB8F9'}},errors:{formulaGroupingReadOnly:"\uC218\uC2DD \uAE30\uBC18 \uADF8\uB8F9\uC5D0\uC11C\uB294 \uC791\uC5C5\uC744 \uC7AC\uC815\uB82C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC218\uC2DD \uAC12\uC740 \uACC4\uC0B0\uB41C \uAC12\uC774\uBBC0\uB85C \uC9C1\uC811 \uC218\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}},notes:{title:"\uB178\uD2B8",refreshButton:"\uC0C8\uB85C\uACE0\uCE68",refreshingButton:"\uC0C8\uB85C\uACE0\uCE68 \uC911...",notices:{indexingDisabled:"\uB178\uD2B8 \uC778\uB371\uC2F1\uC774 \uBE44\uD65C\uC131\uD654\uB428"},empty:{noNotesFound:"\uB178\uD2B8\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",helpText:"\uC120\uD0DD\uD55C \uB0A0\uC9DC\uC5D0 \uD574\uB2F9\uD558\uB294 \uB178\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uBBF8\uB2C8 \uCE98\uB9B0\uB354 \uBDF0\uC5D0\uC11C \uB2E4\uB978 \uB0A0\uC9DC\uB97C \uC120\uD0DD\uD558\uAC70\uB098 \uB178\uD2B8\uB97C \uB9CC\uB4E4\uC5B4 \uBCF4\uC138\uC694."},loading:"\uB178\uD2B8 \uB85C\uB529 \uC911...",refreshButtonAriaLabel:"\uB178\uD2B8 \uBAA9\uB85D \uC0C8\uB85C\uACE0\uCE68"},miniCalendar:{title:"\uBBF8\uB2C8 \uCE98\uB9B0\uB354",contextMenu:{openDailyNote:"\uB370\uC77C\uB9AC \uB178\uD2B8 \uC5F4\uAE30",openWeeklyNote:"\uC8FC\uAC04 \uB178\uD2B8 \uC5F4\uAE30"}},advancedCalendar:{title:"\uCE98\uB9B0\uB354",filters:{showFilters:"\uD544\uD130 \uD45C\uC2DC",hideFilters:"\uD544\uD130 \uC228\uAE30\uAE30"},viewOptions:{calendarSubscriptions:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5",timeEntries:"\uC2DC\uAC04 \uAE30\uB85D",timeblocks:"\uD0C0\uC784\uBE14\uB85D",scheduledDates:"\uC608\uC815\uC77C",dueDates:"\uB9C8\uAC10\uC77C",allDaySlot:"\uC885\uC77C \uC2AC\uB86F",scheduledTasks:"\uC608\uC815\uB41C \uC791\uC5C5",recurringTasks:"\uBC18\uBCF5 \uC791\uC5C5"},buttons:{refresh:"\uC0C8\uB85C\uACE0\uCE68",refreshHint:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68"},notices:{icsServiceNotAvailable:"ICS \uAD6C\uB3C5 \uC11C\uBE44\uC2A4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",calendarRefreshedAll:"\uBAA8\uB4E0 \uCE98\uB9B0\uB354 \uAD6C\uB3C5\uC774 \uC0C8\uB85C\uACE0\uCE68\uB418\uC5C8\uC2B5\uB2C8\uB2E4",refreshFailed:"\uC77C\uBD80 \uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",timeblockSpecificTime:"\uD0C0\uC784\uBE14\uB85D\uC5D0\uB294 \uD2B9\uC815 \uC2DC\uAC04\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. \uC8FC\uAC04 \uB610\uB294 \uC77C\uAC04 \uBDF0\uC5D0\uC11C \uC2DC\uAC04 \uBC94\uC704\uB97C \uC120\uD0DD\uD558\uC138\uC694.",timeblockMoved:'\uD0C0\uC784\uBE14\uB85D "{title}"\uC744(\uB97C) {date}(\uC73C)\uB85C \uC774\uB3D9\uD588\uC2B5\uB2C8\uB2E4',timeblockUpdated:'\uD0C0\uC784\uBE14\uB85D "{title}" \uC2DC\uAC04\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4',timeblockMoveFailed:"\uD0C0\uC784\uBE14\uB85D \uC774\uB3D9 \uC2E4\uD328: {message}",timeblockResized:'\uD0C0\uC784\uBE14\uB85D "{title}" \uAE30\uAC04\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4',timeblockResizeFailed:"\uD0C0\uC784\uBE14\uB85D \uD06C\uAE30 \uC870\uC815 \uC2E4\uD328: {message}",taskScheduled:'\uC791\uC5C5 "{title}"\uC774(\uAC00) {date}\uC5D0 \uC608\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4',scheduleTaskFailed:"\uC791\uC5C5 \uC608\uC815 \uC2E4\uD328",endTimeAfterStart:"\uC885\uB8CC \uC2DC\uAC04\uC740 \uC2DC\uC791 \uC2DC\uAC04 \uC774\uD6C4\uC5EC\uC57C \uD569\uB2C8\uB2E4",timeEntryNotFound:"\uC2DC\uAC04 \uAE30\uB85D\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",timeEntryDeleted:"\uC2DC\uAC04 \uAE30\uB85D\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4",deleteTimeEntryFailed:"\uC2DC\uAC04 \uAE30\uB85D \uC0AD\uC81C \uC2E4\uD328"},timeEntry:{estimatedSuffix:"\uC608\uC0C1",trackedSuffix:"\uAE30\uB85D\uB428",recurringPrefix:"\uBC18\uBCF5: ",completedPrefix:"\uC644\uB8CC: ",createdPrefix:"\uC0DD\uC131: ",modifiedPrefix:"\uC218\uC815: ",duePrefix:"\uB9C8\uAC10: ",scheduledPrefix:"\uC608\uC815: "},contextMenus:{openTask:"\uC791\uC5C5 \uC5F4\uAE30",deleteTimeEntry:"\uC2DC\uAC04 \uAE30\uB85D \uC0AD\uC81C",deleteTimeEntryTitle:"\uC2DC\uAC04 \uAE30\uB85D \uC0AD\uC81C",deleteTimeEntryConfirm:"\uC774 \uC2DC\uAC04 \uAE30\uB85D{duration}\uC744(\uB97C) \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? \uC774 \uC791\uC5C5\uC740 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",deleteButton:"\uC0AD\uC81C",cancelButton:"\uCDE8\uC18C"}},basesCalendar:{title:"\uBCA0\uC774\uC2A4 \uCE98\uB9B0\uB354",today:"\uC624\uB298",buttonText:{month:"\uC6D4",week:"\uC8FC",day:"\uC77C",year:"\uB144",list:"\uBAA9\uB85D",customDays:"{count}\uC77C",listDays:"{count}\uC77C \uBAA9\uB85D",refresh:"\uC0C8\uB85C\uACE0\uCE68"},hints:{refresh:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68",today:"\uC624\uB298\uB85C \uC774\uB3D9",prev:"\uC774\uC804",next:"\uB2E4\uC74C",month:"\uC6D4\uAC04 \uBCF4\uAE30",week:"\uC8FC\uAC04 \uBCF4\uAE30",day:"\uC77C\uAC04 \uBCF4\uAE30",year:"\uC5F0\uAC04 \uBCF4\uAE30",list:"\uBAA9\uB85D \uBCF4\uAE30",customDays:"{count}\uC77C \uBCF4\uAE30"},settings:{groups:{dateNavigation:"\uB0A0\uC9DC \uD0D0\uC0C9",events:"\uC774\uBCA4\uD2B8",layout:"\uB808\uC774\uC544\uC6C3",view:"\uBCF4\uAE30",display:"\uD45C\uC2DC",timeGrid:"\uC2DC\uAC04 \uADF8\uB9AC\uB4DC",eventLayout:"\uC774\uBCA4\uD2B8 \uB808\uC774\uC544\uC6C3",propertyBasedEvents:"\uC18D\uC131 \uAE30\uBC18 \uC774\uBCA4\uD2B8",calendarSubscriptions:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5",googleCalendars:"Google \uCE98\uB9B0\uB354",microsoftCalendars:"Microsoft \uCE98\uB9B0\uB354"},dateNavigation:{navigateToDate:"\uB0A0\uC9DC\uB85C \uC774\uB3D9",navigateToDatePlaceholder:"YYYY-MM-DD (\uC608: 2025-01-15) - \uC18D\uC131\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694",navigateToDateFromProperty:"\uC18D\uC131\uC5D0\uC11C \uB0A0\uC9DC\uB85C \uC774\uB3D9",navigateToDateFromPropertyPlaceholder:"\uB0A0\uC9DC \uC18D\uC131 \uC120\uD0DD (\uC120\uD0DD\uC0AC\uD56D)",propertyNavigationStrategy:"\uC18D\uC131 \uD0D0\uC0C9 \uC804\uB7B5",createDailyNotesFromDateLinks:"\uB0A0\uC9DC \uB9C1\uD06C\uC5D0\uC11C \uB370\uC77C\uB9AC \uB178\uD2B8 \uB9CC\uB4E4\uAE30",strategies:{first:"\uCCAB \uBC88\uC9F8 \uACB0\uACFC",earliest:"\uAC00\uC7A5 \uC774\uB978 \uB0A0\uC9DC",latest:"\uAC00\uC7A5 \uB2A6\uC740 \uB0A0\uC9DC"}},events:{showScheduledTasks:"\uC608\uC815\uB41C \uC791\uC5C5 \uD45C\uC2DC",showDueTasks:"\uB9C8\uAC10 \uC791\uC5C5 \uD45C\uC2DC",showRecurringTasks:"\uBC18\uBCF5 \uC791\uC5C5 \uD45C\uC2DC",showTimeEntries:"\uC2DC\uAC04 \uAE30\uB85D \uD45C\uC2DC",showTimeblocks:"\uD0C0\uC784\uBE14\uB85D \uD45C\uC2DC",showPropertyBasedEvents:"\uC18D\uC131 \uAE30\uBC18 \uC774\uBCA4\uD2B8 \uD45C\uC2DC",showCompletedRecurringInstances:"\uC644\uB8CC\uB41C \uBC18\uBCF5 \uC778\uC2A4\uD134\uC2A4 \uD45C\uC2DC",showSkippedRecurringInstances:"\uAC74\uB108\uB6F4 \uBC18\uBCF5 \uC778\uC2A4\uD134\uC2A4 \uD45C\uC2DC"},layout:{calendarView:"\uCE98\uB9B0\uB354 \uBDF0",customDayCount:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC77C\uC218",listDayCount:"\uBAA9\uB85D \uC77C\uC218",dayStartTime:"\uD558\uB8E8 \uC2DC\uC791 \uC2DC\uAC04",dayStartTimePlaceholder:"HH:mm:ss (\uC608: 08:00:00)",dayEndTime:"\uD558\uB8E8 \uC885\uB8CC \uC2DC\uAC04",dayEndTimePlaceholder:"HH:mm:ss (\uC608: 20:00:00)",timeSlotDuration:"\uC2DC\uAC04 \uC2AC\uB86F \uAC04\uACA9",timeSlotDurationPlaceholder:"HH:mm:ss (\uC608: 00:30:00)",dragDropResolution:"\uB4DC\uB798\uADF8/\uB4DC\uB86D \uAC04\uACA9",dragDropResolutionPlaceholder:"HH:mm:ss (\uC608: 00:05:00)",weekStartsOn:"\uC8FC \uC2DC\uC791 \uC694\uC77C",showWeekNumbers:"\uC8FC \uBC88\uD638 \uD45C\uC2DC",showNowIndicator:"\uD604\uC7AC \uC2DC\uAC04 \uD45C\uC2DC",showWeekends:"\uC8FC\uB9D0 \uD45C\uC2DC",showAllDaySlot:"\uC885\uC77C \uC2AC\uB86F \uD45C\uC2DC",showTimeGrid:"\uC2DC\uAC04\uB300 \uADF8\uB9AC\uB4DC \uD45C\uC2DC",showTodayHighlight:"\uC624\uB298 \uAC15\uC870 \uD45C\uC2DC",todayColumnWidthMultiplier:"\uC624\uB298 \uC5F4 \uB108\uBE44 \uBC30\uC218",showSelectionPreview:"\uC120\uD0DD \uBBF8\uB9AC\uBCF4\uAE30 \uD45C\uC2DC",timeFormat:"\uC2DC\uAC04 \uD615\uC2DD",timeFormat12:"12\uC2DC\uAC04 (\uC624\uC804/\uC624\uD6C4)",timeFormat24:"24\uC2DC\uAC04",initialScrollTime:"\uCD08\uAE30 \uC2A4\uD06C\uB864 \uC2DC\uAC04",initialScrollTimePlaceholder:"HH:mm:ss (\uC608: 08:00:00)",minimumEventHeight:"\uCD5C\uC18C \uC774\uBCA4\uD2B8 \uB192\uC774 (px)",slotEventOverlap:"\uC774\uBCA4\uD2B8 \uACB9\uCE68 \uD5C8\uC6A9",enableSearch:"\uAC80\uC0C9 \uC0C1\uC790 \uD65C\uC131\uD654",eventMaxStack:"\uCD5C\uB300 \uC774\uBCA4\uD2B8 \uC2A4\uD0DD (\uC8FC/\uC77C \uBCF4\uAE30, 0 = \uBB34\uC81C\uD55C)",dayMaxEvents:"\uC77C\uB2F9 \uCD5C\uB300 \uC774\uBCA4\uD2B8 (\uC6D4\uAC04 \uBCF4\uAE30, 0 = \uC790\uB3D9)",dayMaxEventRows:"\uC77C\uB2F9 \uCD5C\uB300 \uC774\uBCA4\uD2B8 \uD589 (\uC6D4\uAC04 \uBCF4\uAE30, 0 = \uBB34\uC81C\uD55C)",spanScheduledToDue:"\uC608\uC815\uC77C\uACFC \uB9C8\uAC10\uC77C \uC0AC\uC774 \uC791\uC5C5 \uD45C\uC2DC",heightMode:"\uB192\uC774 \uBAA8\uB4DC",heightModeFill:"\uCEE8\uD14C\uC774\uB108 \uCC44\uC6B0\uAE30",heightModeAuto:"\uC790\uB3D9 \uB192\uC774"},propertyBasedEvents:{startDateProperty:"\uC2DC\uC791\uC77C \uC18D\uC131",startDatePropertyPlaceholder:"\uC2DC\uC791 \uB0A0\uC9DC/\uC2DC\uAC04 \uC18D\uC131 \uC120\uD0DD",endDateProperty:"\uC885\uB8CC\uC77C \uC18D\uC131 (\uC120\uD0DD\uC0AC\uD56D)",endDatePropertyPlaceholder:"\uC885\uB8CC \uB0A0\uC9DC/\uC2DC\uAC04 \uC18D\uC131 \uC120\uD0DD",titleProperty:"\uC81C\uBAA9 \uC18D\uC131 (\uC120\uD0DD\uC0AC\uD56D)",titlePropertyPlaceholder:"\uC774\uBCA4\uD2B8 \uC81C\uBAA9 \uC18D\uC131 \uC120\uD0DD"}},notices:{noDailyNoteForDate:"\uC774 \uB0A0\uC9DC\uC758 \uB370\uC77C\uB9AC \uB178\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},errors:{failedToInitialize:"\uCE98\uB9B0\uB354 \uCD08\uAE30\uD654 \uC2E4\uD328"}},kanban:{title:"\uCE78\uBC18",newTask:"\uC0C8 \uC791\uC5C5",addCard:"+ \uCE74\uB4DC \uCD94\uAC00",noTasks:"\uC791\uC5C5 \uC5C6\uC74C",uncategorized:"\uBBF8\uBD84\uB958",noProject:"\uD504\uB85C\uC81D\uD2B8 \uC5C6\uC74C",reorder:{scope:{column:'"{group}" \uC5F4',columnInSwimlane:'"{swimlane}" \uC2A4\uC714\uB808\uC778\uC758 "{group}" \uC5F4'}},notices:{loadFailed:"\uCE78\uBC18 \uBCF4\uB4DC \uB85C\uB4DC \uC2E4\uD328",movedTask:'\uC791\uC5C5\uC774 "{0}"(\uC73C)\uB85C \uC774\uB3D9\uB418\uC5C8\uC2B5\uB2C8\uB2E4'},errors:{loadingBoard:"\uBCF4\uB4DC \uB85C\uB529 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",noGroupBy:"\uCE78\uBC18 \uBDF0\uB294 '\uADF8\uB8F9\uD654 \uAE30\uC900' \uC18D\uC131\uC744 \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. '\uC815\uB82C' \uBC84\uD2BC\uC744 \uD074\uB9AD\uD558\uACE0 '\uADF8\uB8F9\uD654 \uAE30\uC900'\uC5D0\uC11C \uC18D\uC131\uC744 \uC120\uD0DD\uD558\uC138\uC694.",formulaGroupingReadOnly:"\uC218\uC2DD \uAE30\uBC18 \uC5F4 \uAC04\uC5D0\uB294 \uC791\uC5C5\uC744 \uC774\uB3D9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC218\uC2DD \uAC12\uC740 \uACC4\uC0B0\uB418\uBA70 \uC9C1\uC811 \uC218\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",formulaSwimlaneReadOnly:"\uC218\uC2DD \uAE30\uBC18 \uC2A4\uC714\uB808\uC778 \uAC04\uC5D0\uB294 \uC791\uC5C5\uC744 \uC774\uB3D9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC218\uC2DD \uAC12\uC740 \uACC4\uC0B0\uB418\uBA70 \uC9C1\uC811 \uC218\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},columnTitle:"\uC81C\uBAA9 \uC5C6\uC74C"},pomodoro:{title:"\uBF40\uBAA8\uB3C4\uB85C",status:{focus:"\uC9D1\uC911",ready:"\uC2DC\uC791 \uC900\uBE44 \uC644\uB8CC",paused:"\uC77C\uC2DC \uC815\uC9C0\uB428",working:"\uC791\uC5C5 \uC911",shortBreak:"\uC9E7\uC740 \uD734\uC2DD",longBreak:"\uAE34 \uD734\uC2DD",breakPrompt:"\uC798\uD558\uC168\uC2B5\uB2C8\uB2E4! {length} \uD734\uC2DD \uC2DC\uAC04\uC785\uB2C8\uB2E4",breakLength:{short:"\uC9E7\uC740",long:"\uAE34"},breakComplete:"\uD734\uC2DD \uC644\uB8CC! \uB2E4\uC74C \uBF40\uBAA8\uB3C4\uB85C\uB97C \uC2DC\uC791\uD560 \uC900\uBE44\uAC00 \uB418\uC168\uB098\uC694?"},buttons:{start:"\uC2DC\uC791",pause:"\uC77C\uC2DC \uC815\uC9C0",stop:"\uC911\uC9C0",resume:"\uC7AC\uAC1C",startShortBreak:"\uC9E7\uC740 \uD734\uC2DD \uC2DC\uC791",startLongBreak:"\uAE34 \uD734\uC2DD \uC2DC\uC791",skipBreak:"\uD734\uC2DD \uAC74\uB108\uB6F0\uAE30",chooseTask:"\uC791\uC5C5 \uC120\uD0DD...",changeTask:"\uC791\uC5C5 \uBCC0\uACBD...",clearTask:"\uC791\uC5C5 \uC9C0\uC6B0\uAE30",selectDifferentTask:"\uB2E4\uB978 \uC791\uC5C5 \uC120\uD0DD",startFocus:"\uC9D1\uC911 \uC2DC\uC791",addMinute:"1\uBD84 \uCD94\uAC00",subtractMinute:"1\uBD84 \uBE7C\uAE30"},notices:{noTasks:"\uBCF4\uAD00\uB418\uC9C0 \uC54A\uC740 \uC791\uC5C5\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uBA3C\uC800 \uC791\uC5C5\uC744 \uB9CC\uB4DC\uC138\uC694.",loadFailed:"\uC791\uC5C5 \uB85C\uB4DC \uC2E4\uD328",invalidDuration:"10, 10:30 \uB610\uB294 1:30:00 \uAC19\uC740 \uC2DC\uAC04\uC744 \uC785\uB825\uD558\uC138\uC694."},statsLabel:"\uC624\uB298 \uC644\uB8CC",meta:{ready:"{time} \uC608\uC815 \xB7 \uC624\uB298 {count}\uAC1C \uC644\uB8CC",running:"{time} \uB0A8\uC74C",paused:"{type} \uC77C\uC2DC \uC911\uC9C0 \xB7 {time} \uB0A8\uC74C",breakReady:"{type} \uC900\uBE44\uB428 \xB7 {time} \uC608\uC815"},timer:{editLabel:"\uD0C0\uC774\uBA38 \uC2DC\uAC04 \uD3B8\uC9D1",inputLabel:"\uD0C0\uC774\uBA38 \uC2DC\uAC04"}},pomodoroStats:{title:"\uBF40\uBAA8\uB3C4\uB85C \uD1B5\uACC4",heading:"\uBF40\uBAA8\uB3C4\uB85C \uD1B5\uACC4",refresh:"\uC0C8\uB85C\uACE0\uCE68",sections:{overview:"\uAC1C\uC694",today:"\uC624\uB298",week:"\uC774\uBC88 \uC8FC",allTime:"\uC804\uCCB4 \uAE30\uAC04",recent:"\uCD5C\uADFC \uC138\uC158"},overviewCards:{todayPomos:{label:"\uC624\uB298\uC758 \uBF40\uBAA8\uB3C4\uB85C",change:{more:"\uC5B4\uC81C\uBCF4\uB2E4 {count}\uAC1C \uB354 \uB9CE\uC74C",less:"\uC5B4\uC81C\uBCF4\uB2E4 {count}\uAC1C \uB354 \uC801\uC74C"}},totalPomos:{label:"\uCD1D \uBF40\uBAA8\uB3C4\uB85C"},todayFocus:{label:"\uC624\uB298\uC758 \uC9D1\uC911 \uC2DC\uAC04",change:{more:"\uC5B4\uC81C\uBCF4\uB2E4 {duration} \uB354 \uB9CE\uC74C",less:"\uC5B4\uC81C\uBCF4\uB2E4 {duration} \uB354 \uC801\uC74C"}},totalFocus:{label:"\uCD1D \uC9D1\uC911 \uC2DC\uAC04"}},stats:{pomodoros:"\uBF40\uBAA8\uB3C4\uB85C",streak:"\uC5F0\uC18D",minutes:"\uBD84",average:"\uD3C9\uADE0 \uAE38\uC774",completion:"\uC644\uB8CC\uC728"},recents:{empty:"\uC544\uC9C1 \uAE30\uB85D\uB41C \uC138\uC158\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",duration:"{minutes}\uBD84",status:{completed:"\uC644\uB8CC\uB428",interrupted:"\uC911\uB2E8\uB428"},delete:"\uC138\uC158 \uC0AD\uC81C",deleteAria:"Pomodoro \uC138\uC158 \uC0AD\uC81C",deleteConfirmTitle:"Pomodoro \uC138\uC158\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",deleteConfirmMessage:"Pomodoro \uAE30\uB85D\uC5D0\uC11C \uC774 \uC138\uC158\uC744 \uC81C\uAC70\uD569\uB2C8\uB2E4. \uAE30\uC874 \uC791\uC5C5 \uC2DC\uAC04 \uD56D\uBAA9\uC740 \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",deleteConfirmButton:"\uC0AD\uC81C",deleteSuccess:"Pomodoro \uC138\uC158\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4",deleteNotFound:"Pomodoro \uC138\uC158\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4"},basesMigration:{title:"Base \uBCF4\uAE30 \uC6D0\uD558\uC2DC\uB098\uC694?",description:"Pomodoro Base \uBCF4\uAE30\uB294 \uB370\uC77C\uB9AC \uB178\uD2B8 frontmatter\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC0DD\uC131\uB41C Pomodoro \uD1B5\uACC4 Base\uC5D0\uC11C \uC774 \uAE30\uB85D\uC744 \uBCF4\uB824\uBA74 \uC124\uC815\uC5D0\uC11C Pomodoro \uB370\uC774\uD130\uB97C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uD55C \uB2E4\uC74C \uC800\uC7A5 \uC704\uCE58\uB97C \uB370\uC77C\uB9AC \uB178\uD2B8\uB85C \uC124\uC815\uD558\uC138\uC694."}},stats:{title:"\uD1B5\uACC4",taskProjectStats:"\uC791\uC5C5 \uBC0F \uD504\uB85C\uC81D\uD2B8 \uD1B5\uACC4",sections:{filters:"\uD544\uD130",overview:"\uAC1C\uC694",today:"\uC624\uB298",thisWeek:"\uC774\uBC88 \uC8FC",thisMonth:"\uC774\uBC88 \uB2EC",projectBreakdown:"\uD504\uB85C\uC81D\uD2B8\uBCC4 \uBD84\uC11D",dateRange:"\uB0A0\uC9DC \uBC94\uC704"},filters:{minTime:"\uCD5C\uC18C \uC2DC\uAC04 (\uBD84)",allTasks:"\uBAA8\uB4E0 \uC791\uC5C5",activeOnly:"\uD65C\uC131 \uC791\uC5C5\uB9CC",completedOnly:"\uC644\uB8CC\uB41C \uC791\uC5C5\uB9CC"},refreshButton:"\uC0C8\uB85C\uACE0\uCE68",timeRanges:{allTime:"\uC804\uCCB4 \uAE30\uAC04",last7Days:"\uCD5C\uADFC 7\uC77C",last30Days:"\uCD5C\uADFC 30\uC77C",last90Days:"\uCD5C\uADFC 90\uC77C",customRange:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBC94\uC704"},resetFiltersButton:"\uD544\uD130 \uCD08\uAE30\uD654",dateRangeFrom:"\uC2DC\uC791",dateRangeTo:"\uC885\uB8CC",noProject:"\uD504\uB85C\uC81D\uD2B8 \uC5C6\uC74C",cards:{timeTrackedEstimated:"\uAE30\uB85D \uC2DC\uAC04 / \uC608\uC0C1 \uC2DC\uAC04",totalTasks:"\uCD1D \uC791\uC5C5",completionRate:"\uC644\uB8CC\uC728",activeProjects:"\uD65C\uC131 \uD504\uB85C\uC81D\uD2B8",avgTimePerTask:"\uC791\uC5C5\uB2F9 \uD3C9\uADE0 \uC2DC\uAC04"},labels:{tasks:"\uC791\uC5C5",completed:"\uC644\uB8CC\uB428",projects:"\uD504\uB85C\uC81D\uD2B8"},noProjectData:"\uD504\uB85C\uC81D\uD2B8 \uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",notAvailable:"N/A",noTasks:"\uC791\uC5C5\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",loading:"\uB85C\uB529 \uC911..."},releaseNotes:{title:"TaskNotes {version}\uC758 \uC0C8\uB85C\uC6B4 \uAE30\uB2A5",header:"TaskNotes {version}\uC758 \uC0C8\uB85C\uC6B4 \uAE30\uB2A5",viewAllLink:"GitHub\uC5D0\uC11C \uBAA8\uB4E0 \uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uBCF4\uAE30 \u2192",starMessage:"\uBAA8\uB4E0 \uD53C\uB4DC\uBC31\uC744 \uC815\uB9D0 \uAC10\uC0AC\uD558\uAC8C \uC0DD\uAC01\uD569\uB2C8\uB2E4. \uBB54\uAC00 \uB9DE\uC9C0 \uC54A\uB294 \uB290\uB08C\uC774 \uB4E4\uBA74 GitHub\uC5D0\uC11C \uC54C\uB824 \uC8FC\uC138\uC694. TaskNotes\uAC00 \uC720\uC6A9\uD558\uB2E4\uBA74 \uBCC4\uD45C\uB3C4 \uACE0\uB824\uD574 \uC8FC\uC138\uC694.",baseFilesNotice:"> [!info] \uAE30\uBCF8 `.base` \uD30C\uC77C \uC548\uB0B4\n> \uAE30\uBCF8\uC73C\uB85C \uC0DD\uC131\uB418\uB294 `.base` \uD15C\uD50C\uB9BF\uC774 \uBCC0\uACBD\uB418\uC5B4\uB3C4 \uAE30\uC874 `.base` \uD30C\uC77C\uC740 \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uC73C\uBBC0\uB85C \uC0AC\uC6A9\uC790 \uC124\uC815\uC774 \uC720\uC9C0\uB429\uB2C8\uB2E4.\n> \uCD5C\uC2E0 \uD15C\uD50C\uB9BF \uAC1C\uC120 \uC0AC\uD56D\uC744 \uC801\uC6A9\uD558\uB824\uBA74 **\uC124\uC815 \u2192 TaskNotes \u2192 \uC77C\uBC18 \u2192 \uD30C\uC77C \uC0DD\uC131**\uC5D0\uC11C \uBCA0\uC774\uC2A4 \uD30C\uC77C\uC744 \uB2E4\uC2DC \uC0DD\uC131\uD558\uC138\uC694."}},settings:{header:{documentation:"\uBB38\uC11C",documentationUrl:"https://tasknotes.dev"},tabs:{general:"\uC77C\uBC18",taskProperties:"\uC791\uC5C5 \uC18D\uC131",modalFields:"\uBAA8\uB2EC \uD544\uB4DC",defaults:"\uAE30\uBCF8\uAC12 \uBC0F \uD15C\uD50C\uB9BF",appearance:"\uC678\uAD00 \uBC0F UI",features:"\uAE30\uB2A5",integrations:"\uD1B5\uD569"},features:{inlineTasks:{header:"\uC778\uB77C\uC778 \uC791\uC5C5",description:"\uB178\uD2B8 \uB0B4 \uC791\uC5C5 \uB9C1\uD06C \uBC0F \uCCB4\uD06C\uBC15\uC2A4-\uC791\uC5C5 \uBCC0\uD658 \uC124\uC815."},taskCreation:{header:"\uC791\uC5C5 \uC0DD\uC131",description:"\uC791\uC5C5 \uC0DD\uC131 \uD6C4 \uC218\uD589\uD560 \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",openAfterCreate:{name:"\uC0DD\uC131 \uD6C4 \uC791\uC5C5 \uC5F4\uAE30",description:"\uC77C\uBC18 \uC0C8 \uC791\uC5C5 \uB9CC\uB4E4\uAE30 \uBAA8\uB2EC\uC5D0\uC11C \uC800\uC7A5 \uD6C4 \uC0C8 \uC791\uC5C5 \uB178\uD2B8\uB97C \uC5F4\uC9C0 \uC120\uD0DD\uD569\uB2C8\uB2E4.",options:{none:"\uC5F4\uC9C0 \uC54A\uC74C",sameTab:"\uAC19\uC740 \uD0ED\uC5D0\uC11C \uC5F4\uAE30",newTab:"\uC0C8 \uD0ED\uC5D0\uC11C \uC5F4\uAE30"}}},overlays:{taskLinkToggle:{name:"\uC791\uC5C5 \uB9C1\uD06C \uC624\uBC84\uB808\uC774",description:"\uC791\uC5C5 \uB9C1\uD06C\uC5D0 \uB9C8\uC6B0\uC2A4\uB97C \uC62C\uB9AC\uBA74 \uC778\uD130\uB799\uD2F0\uBE0C \uC624\uBC84\uB808\uC774 \uD45C\uC2DC"},aliasExclusion:{name:"\uBCC4\uCE6D \uB9C1\uD06C\uC5D0\uC11C \uC624\uBC84\uB808\uC774 \uBE44\uD65C\uC131\uD654",description:"\uB9C1\uD06C\uC5D0 \uBCC4\uCE6D\uC774 \uD3EC\uD568\uB41C \uACBD\uC6B0 \uC791\uC5C5 \uC704\uC82F\uC744 \uD45C\uC2DC\uD558\uC9C0 \uC54A\uC74C (\uC608: [[\uC791\uC5C5|\uBCC4\uCE6D]])."}},instantConvert:{toggle:{name:"\uCCB4\uD06C\uBC15\uC2A4 \uC606\uC5D0 \uBCC0\uD658 \uBC84\uD2BC \uD45C\uC2DC",description:"\uB9C8\uD06C\uB2E4\uC6B4 \uCCB4\uD06C\uBC15\uC2A4 \uC606\uC5D0 TaskNotes\uB85C \uBCC0\uD658\uD558\uB294 \uC778\uB77C\uC778 \uBC84\uD2BC \uD45C\uC2DC"},preserveCheckbox:{name:"\uBCC0\uD658 \uC2DC \uCCB4\uD06C\uBC15\uC2A4 \uC720\uC9C0",description:"\uCCB4\uD06C\uBC15\uC2A4\uB97C TaskNote \uB9C1\uD06C\uB85C \uBCC0\uD658\uD560 \uB54C \uC6D0\uB798 \uB9C8\uD06C\uB2E4\uC6B4 \uCCB4\uD06C\uBC15\uC2A4 \uD45C\uC2DC\uB97C \uB0A8\uAE41\uB2C8\uB2E4"},folder:{name:"\uC778\uB77C\uC778 \uC0DD\uC131 \uC791\uC5C5 \uD3F4\uB354",description:"\uC778\uB77C\uC778 \uBA85\uB839 \uB610\uB294 \uCCB4\uD06C\uBC15\uC2A4 \uBCC0\uD658\uC73C\uB85C \uC0DD\uC131\uB41C \uC791\uC5C5\uC774 \uB9CC\uB4E4\uC5B4\uC9C8 \uD3F4\uB354\uC785\uB2C8\uB2E4. \uBE44\uC6CC \uB450\uBA74 \uAE30\uBCF8 \uC791\uC5C5 \uD3F4\uB354\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uD604\uC7AC \uB178\uD2B8\uC758 \uD3F4\uB354\uC5D0\uB294 {{currentNotePath}}\uB97C, \uD604\uC7AC \uB178\uD2B8 \uC774\uB984\uC758 \uD558\uC704 \uD3F4\uB354\uC5D0\uB294 {{currentNoteTitle}}\uC744 \uC0AC\uC6A9\uD558\uC138\uC694."}},nlp:{header:"\uC790\uC5F0\uC5B4 \uCC98\uB9AC",description:"\uD14D\uC2A4\uD2B8 \uC785\uB825\uC5D0\uC11C \uB0A0\uC9DC, \uC6B0\uC120\uC21C\uC704 \uBC0F \uAE30\uD0C0 \uC18D\uC131\uC744 \uD30C\uC2F1\uD569\uB2C8\uB2E4.",enable:{name:"\uC790\uC5F0\uC5B4 \uC791\uC5C5 \uC785\uB825 \uD65C\uC131\uD654",description:"\uC791\uC5C5 \uC0DD\uC131 \uC2DC \uC790\uC5F0\uC5B4\uC5D0\uC11C \uB9C8\uAC10\uC77C, \uC6B0\uC120\uC21C\uC704, \uCEE8\uD14D\uC2A4\uD2B8 \uD30C\uC2F1"},defaultToScheduled:{name:"\uC608\uC815\uC77C\uB85C \uAE30\uBCF8 \uC124\uC815",description:"NLP\uAC00 \uCEE8\uD14D\uC2A4\uD2B8 \uC5C6\uC774 \uB0A0\uC9DC\uB97C \uAC10\uC9C0\uD558\uBA74 \uB9C8\uAC10\uC77C \uB300\uC2E0 \uC608\uC815\uC77C\uB85C \uCC98\uB9AC"},language:{name:"NLP \uC5B8\uC5B4",description:"\uC790\uC5F0\uC5B4 \uCC98\uB9AC \uD328\uD134 \uBC0F \uB0A0\uC9DC \uD30C\uC2F1\uC744 \uC704\uD55C \uC5B8\uC5B4"},statusTrigger:{name:"\uC0C1\uD0DC \uC81C\uC548 \uD2B8\uB9AC\uAC70",description:"\uC0C1\uD0DC \uC81C\uC548\uC744 \uD2B8\uB9AC\uAC70\uD558\uB294 \uD14D\uC2A4\uD2B8 (\uBE44\uD65C\uC131\uD654\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694)"}},pomodoro:{header:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38",description:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38\uC758 \uC791\uC5C5/\uD734\uC2DD \uAC04\uACA9\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",workDuration:{name:"\uC791\uC5C5 \uC2DC\uAC04",description:"\uC791\uC5C5 \uAC04\uACA9 \uC2DC\uAC04 (\uBD84)"},shortBreak:{name:"\uC9E7\uC740 \uD734\uC2DD \uC2DC\uAC04",description:"\uC9E7\uC740 \uD734\uC2DD \uC2DC\uAC04 (\uBD84)"},longBreak:{name:"\uAE34 \uD734\uC2DD \uC2DC\uAC04",description:"\uAE34 \uD734\uC2DD \uC2DC\uAC04 (\uBD84)"},longBreakInterval:{name:"\uAE34 \uD734\uC2DD \uAC04\uACA9",description:"\uAE34 \uD734\uC2DD \uC804 \uC791\uC5C5 \uC138\uC158 \uC218"},autoStartBreaks:{name:"\uC790\uB3D9 \uD734\uC2DD \uC2DC\uC791",description:"\uC791\uC5C5 \uC138\uC158 \uD6C4 \uC790\uB3D9\uC73C\uB85C \uD734\uC2DD \uD0C0\uC774\uBA38 \uC2DC\uC791"},autoStartWork:{name:"\uC790\uB3D9 \uC791\uC5C5 \uC2DC\uC791",description:"\uD734\uC2DD \uD6C4 \uC790\uB3D9\uC73C\uB85C \uC791\uC5C5 \uC138\uC158 \uC2DC\uC791"},notifications:{name:"\uBF40\uBAA8\uB3C4\uB85C \uC54C\uB9BC",description:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uC885\uB8CC \uC2DC \uC54C\uB9BC \uD45C\uC2DC"},mobileSidebar:{name:"\uBAA8\uBC14\uC77C \uC0AC\uC774\uB4DC\uBC14",description:"\uBAA8\uBC14\uC77C \uAE30\uAE30\uC5D0\uC11C \uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38\uB97C \uC5F4 \uC704\uCE58",tab:"\uB178\uD2B8 \uD328\uB110",left:"\uC67C\uCABD \uC0AC\uC774\uB4DC\uBC14",right:"\uC624\uB978\uCABD \uC0AC\uC774\uB4DC\uBC14"},statusBar:{name:"\uC0C1\uD0DC \uD45C\uC2DC\uC904\uC5D0 Pomodoro \uD45C\uC2DC",description:"Obsidian \uC0C1\uD0DC \uD45C\uC2DC\uC904\uC5D0 \uD65C\uC131 Pomodoro \uCE74\uC6B4\uD2B8\uB2E4\uC6B4 \uD45C\uC2DC"}},uiLanguage:{header:"\uC778\uD130\uD398\uC774\uC2A4 \uC5B8\uC5B4",description:"TaskNotes \uBA54\uB274, \uC54C\uB9BC \uBC0F \uBDF0\uC758 \uC5B8\uC5B4\uB97C \uBCC0\uACBD\uD569\uB2C8\uB2E4.",dropdown:{name:"UI \uC5B8\uC5B4",description:"TaskNotes \uC778\uD130\uD398\uC774\uC2A4 \uD14D\uC2A4\uD2B8\uC5D0 \uC0AC\uC6A9\uD560 \uC5B8\uC5B4 \uC120\uD0DD"}},pomodoroSound:{enabledName:"\uC0AC\uC6B4\uB4DC \uD65C\uC131\uD654",enabledDesc:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uC885\uB8CC \uC2DC \uC18C\uB9AC \uC7AC\uC0DD",volumeName:"\uC0AC\uC6B4\uB4DC \uBCFC\uB968",volumeDesc:"\uBF40\uBAA8\uB3C4\uB85C \uC0AC\uC6B4\uB4DC \uBCFC\uB968 (0-100)"},dataStorage:{name:"\uBF40\uBAA8\uB3C4\uB85C \uB370\uC774\uD130 \uC800\uC7A5",description:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uB370\uC774\uD130\uAC00 \uC800\uC7A5\uB418\uACE0 \uAD00\uB9AC\uB418\uB294 \uBC29\uBC95\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",dailyNotes:"\uB370\uC77C\uB9AC \uB178\uD2B8",pluginData:"\uD50C\uB7EC\uADF8\uC778 \uB370\uC774\uD130",notices:{locationChanged:"\uBF40\uBAA8\uB3C4\uB85C \uC800\uC7A5 \uC704\uCE58\uAC00 {location}(\uC73C)\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4"}},notifications:{header:"\uC54C\uB9BC",description:"\uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354 \uC54C\uB9BC \uBC0F \uACBD\uACE0\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.",enableName:"\uC54C\uB9BC \uD65C\uC131\uD654",enableDesc:"\uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354 \uC54C\uB9BC \uD65C\uC131\uD654",typeName:"\uC54C\uB9BC \uC720\uD615",typeDesc:"\uD45C\uC2DC\uD560 \uC54C\uB9BC \uC720\uD615",systemLabel:"\uC2DC\uC2A4\uD15C \uC54C\uB9BC",inAppLabel:"\uC571 \uB0B4 \uC54C\uB9BC",soundEnabledName:"\uC54C\uB9BC \uC18C\uB9AC",soundEnabledDesc:"\uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354\uAC00 \uC2E4\uD589\uB420 \uB54C \uC18C\uB9AC \uC7AC\uC0DD",soundVolumeName:"\uC18C\uB9AC \uBCFC\uB968",soundVolumeDesc:"\uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354 \uC18C\uB9AC \uBCFC\uB968 (0-100)",soundPreviewName:"\uC54C\uB9BC \uC18C\uB9AC \uBBF8\uB9AC \uB4E3\uAE30",soundPreviewDesc:"\uC124\uC815\uB41C \uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354 \uC18C\uB9AC \uC7AC\uC0DD",soundPreviewButton:"\uBBF8\uB9AC \uB4E3\uAE30",testReminderName:"\uD14C\uC2A4\uD2B8 \uB9AC\uB9C8\uC778\uB354 \uBCF4\uB0B4\uAE30",testReminderDesc:"\uD604\uC7AC \uC54C\uB9BC \uC720\uD615\uACFC \uC18C\uB9AC \uC124\uC815\uC73C\uB85C \uD14C\uC2A4\uD2B8 \uB9AC\uB9C8\uC778\uB354\uB97C \uBCF4\uB0C5\uB2C8\uB2E4.",testReminderButton:"\uD14C\uC2A4\uD2B8 \uBCF4\uB0B4\uAE30"},overdue:{hideCompletedName:"\uC644\uB8CC\uB41C \uC791\uC5C5\uC744 \uC9C0\uC5F0 \uBAA9\uB85D\uC5D0\uC11C \uC228\uAE30\uAE30",hideCompletedDesc:"\uC644\uB8CC\uB41C \uC791\uC5C5\uC744 \uC9C0\uC5F0 \uC791\uC5C5 \uACC4\uC0B0\uC5D0\uC11C \uC81C\uC678"},indexing:{disableName:"\uB178\uD2B8 \uC778\uB371\uC2F1 \uBE44\uD65C\uC131\uD654",disableDesc:"\uB354 \uB098\uC740 \uC131\uB2A5\uC744 \uC704\uD574 \uB178\uD2B8 \uCF58\uD150\uCE20 \uC790\uB3D9 \uC778\uB371\uC2F1 \uBE44\uD65C\uC131\uD654"},suggestions:{debounceName:"\uC81C\uC548 \uB514\uBC14\uC6B4\uC2A4",debounceDesc:"\uC81C\uC548 \uD45C\uC2DC \uC804 \uC9C0\uC5F0 \uC2DC\uAC04 (\uBC00\uB9AC\uCD08)"},timeTracking:{autoStopName:"\uC2DC\uAC04 \uCD94\uC801 \uC790\uB3D9 \uC911\uC9C0",autoStopDesc:"\uC791\uC5C5 \uC644\uB8CC \uC2DC \uC2DC\uAC04 \uCD94\uC801 \uC790\uB3D9 \uC911\uC9C0",stopNotificationName:"\uC2DC\uAC04 \uCD94\uC801 \uC911\uC9C0 \uC54C\uB9BC",stopNotificationDesc:"\uC2DC\uAC04 \uCD94\uC801\uC774 \uC790\uB3D9 \uC911\uC9C0\uB418\uBA74 \uC54C\uB9BC \uD45C\uC2DC"},recurring:{maintainOffsetName:"\uBC18\uBCF5 \uC791\uC5C5\uC5D0\uC11C \uB9C8\uAC10\uC77C \uC624\uD504\uC14B \uC720\uC9C0",maintainOffsetDesc:"\uBC18\uBCF5 \uC791\uC5C5 \uC644\uB8CC \uC2DC \uB9C8\uAC10\uC77C\uACFC \uC608\uC815\uC77C \uAC04\uC758 \uC624\uD504\uC14B \uC720\uC9C0",resetCheckboxesName:"\uBC18\uBCF5 \uC2DC \uCCB4\uD06C\uBC15\uC2A4 \uCD08\uAE30\uD654",resetCheckboxesDesc:"\uBC18\uBCF5 \uC791\uC5C5\uC774 \uC644\uB8CC\uB418\uACE0 \uB2E4\uC2DC \uC608\uC57D\uB420 \uB54C \uC791\uC5C5 \uBCF8\uBB38\uC758 \uBAA8\uB4E0 \uB9C8\uD06C\uB2E4\uC6B4 \uCCB4\uD06C\uBC15\uC2A4\uB97C \uCD08\uAE30\uD654"},timeblocking:{header:"\uD0C0\uC784\uBE14\uB85C\uD0B9",description:"\uB370\uC77C\uB9AC \uB178\uD2B8\uC5D0\uC11C \uAC00\uBCBC\uC6B4 \uC77C\uC815 \uAD00\uB9AC\uB97C \uC704\uD55C \uD0C0\uC784\uBE14\uB85D \uAE30\uB2A5\uC744 \uC124\uC815\uD569\uB2C8\uB2E4. \uCE98\uB9B0\uB354 \uBDF0\uC5D0\uC11C \uB4DC\uB798\uADF8\uD558\uC5EC \uC774\uBCA4\uD2B8\uB97C \uB9CC\uB4E4\uACE0 \uCEE8\uD14D\uC2A4\uD2B8 \uBA54\uB274\uC5D0\uC11C '\uD0C0\uC784\uBE14\uB85D'\uC744 \uC120\uD0DD\uD558\uC138\uC694.",enableName:"\uD0C0\uC784\uBE14\uB85C\uD0B9 \uD65C\uC131\uD654",enableDesc:"\uB370\uC77C\uB9AC \uB178\uD2B8\uC5D0\uC11C \uAC00\uBCBC\uC6B4 \uC77C\uC815 \uAD00\uB9AC\uB97C \uC704\uD55C \uD0C0\uC784\uBE14\uB85C\uD0B9 \uAE30\uB2A5 \uD65C\uC131\uD654. \uD65C\uC131\uD654\uD558\uBA74 \uCE98\uB9B0\uB354 \uB4DC\uB798\uADF8 \uCEE8\uD14D\uC2A4\uD2B8 \uBA54\uB274\uC5D0 '\uD0C0\uC784\uBE14\uB85D' \uC635\uC158\uC774 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",showBlocksName:"\uD0C0\uC784\uBE14\uB85D \uD45C\uC2DC",showBlocksDesc:"\uAE30\uBCF8\uC801\uC73C\uB85C \uB370\uC77C\uB9AC \uB178\uD2B8\uC758 \uD0C0\uC784\uBE14\uB85D \uD45C\uC2DC",defaultColorName:"\uAE30\uBCF8 \uD0C0\uC784\uBE14\uB85D \uC0C9\uC0C1",defaultColorDesc:"\uC0C8 \uD0C0\uC784\uBE14\uB85D \uC0DD\uC131 \uC2DC \uC0AC\uC6A9\uB418\uB294 \uAE30\uBCF8 \uC0C9\uC0C1",usage:"\uC0AC\uC6A9\uBC95: \uCE98\uB9B0\uB354\uC5D0\uC11C \uB4DC\uB798\uADF8\uD558\uC5EC \uC774\uBCA4\uD2B8\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uCEE8\uD14D\uC2A4\uD2B8 \uBA54\uB274\uC5D0\uC11C '\uD0C0\uC784\uBE14\uB85D'\uC744 \uC120\uD0DD\uD558\uC138\uC694 (\uD0C0\uC784\uBE14\uB85C\uD0B9\uC774 \uD65C\uC131\uD654\uB41C \uACBD\uC6B0\uC5D0\uB9CC \uD45C\uC2DC\uB428). \uB4DC\uB798\uADF8\uD558\uC5EC \uAE30\uC874 \uD0C0\uC784\uBE14\uB85D\uC744 \uC774\uB3D9\uD569\uB2C8\uB2E4. \uAC00\uC7A5\uC790\uB9AC\uB97C \uB4DC\uB798\uADF8\uD558\uC5EC \uAE30\uAC04\uC744 \uC870\uC815\uD569\uB2C8\uB2E4."},performance:{header:"\uC131\uB2A5 \uBC0F \uB3D9\uC791",description:"\uD50C\uB7EC\uADF8\uC778 \uC131\uB2A5 \uBC0F \uB3D9\uC791 \uC635\uC158\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},timeTrackingSection:{header:"\uC2DC\uAC04 \uCD94\uC801",description:"\uC790\uB3D9 \uC2DC\uAC04 \uCD94\uC801 \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},recurringSection:{header:"\uBC18\uBCF5 \uC791\uC5C5",description:"\uBC18\uBCF5 \uC791\uC5C5 \uAD00\uB9AC \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},debugLogging:{header:"\uB514\uBC84\uADF8 \uB85C\uAE45",description:"\uBB38\uC81C \uD574\uACB0\uC744 \uC704\uD574 \uB514\uBC84\uADF8 \uB85C\uADF8 \uCD9C\uB825\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4.",enableName:"\uB514\uBC84\uADF8 \uB85C\uADF8 \uC0AC\uC6A9",enableDesc:"\uB4DC\uB798\uADF8 \uC564 \uB4DC\uB86D \uBC0F \uBCF4\uAE30 \uC9C4\uB2E8\uC758 \uC790\uC138\uD55C \uB0B4\uC6A9\uC744 \uAC1C\uBC1C\uC790 \uCF58\uC194\uC5D0 \uAE30\uB85D\uD569\uB2C8\uB2E4. \uBB38\uC81C \uD574\uACB0\uC5D0 \uC720\uC6A9\uD569\uB2C8\uB2E4."}},defaults:{header:{basicDefaults:"\uAE30\uBCF8 \uAE30\uBCF8\uAC12",dateDefaults:"\uB0A0\uC9DC \uAE30\uBCF8\uAC12",defaultReminders:"\uAE30\uBCF8 \uB9AC\uB9C8\uC778\uB354",bodyTemplate:"\uBCF8\uBB38 \uD15C\uD50C\uB9BF",instantTaskConversion:"\uC989\uC2DC \uC791\uC5C5 \uBCC0\uD658"},description:{basicDefaults:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8\uAC12\uC744 \uC124\uC815\uD558\uC5EC \uC791\uC5C5 \uC0DD\uC131 \uC18D\uB3C4\uB97C \uB192\uC785\uB2C8\uB2E4.",dateDefaults:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uB9C8\uAC10\uC77C \uBC0F \uC608\uC815\uC77C\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",defaultReminders:"\uC0C8 \uC791\uC5C5\uC5D0 \uCD94\uAC00\uB420 \uAE30\uBCF8 \uB9AC\uB9C8\uC778\uB354\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.",bodyTemplate:"\uC0C8 \uC791\uC5C5 \uCF58\uD150\uCE20\uC5D0 \uC0AC\uC6A9\uD560 \uD15C\uD50C\uB9BF \uD30C\uC77C\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",instantTaskConversion:"\uD14D\uC2A4\uD2B8\uB97C \uC791\uC5C5\uC73C\uB85C \uC989\uC2DC \uBCC0\uD658\uD560 \uB54C\uC758 \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},basicDefaults:{defaultStatus:{name:"\uAE30\uBCF8 \uC0C1\uD0DC",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uC0C1\uD0DC"},defaultPriority:{name:"\uAE30\uBCF8 \uC6B0\uC120\uC21C\uC704",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uC6B0\uC120\uC21C\uC704"},defaultContexts:{name:"\uAE30\uBCF8 \uCEE8\uD14D\uC2A4\uD2B8",description:"\uC27C\uD45C\uB85C \uAD6C\uBD84\uB41C \uAE30\uBCF8 \uCEE8\uD14D\uC2A4\uD2B8 \uBAA9\uB85D (\uC608: @home, @work)",placeholder:"@\uC9D1, @\uC9C1\uC7A5"},defaultTags:{name:"\uAE30\uBCF8 \uD0DC\uADF8",description:"# \uC5C6\uC774 \uC27C\uD45C\uB85C \uAD6C\uBD84\uB41C \uAE30\uBCF8 \uD0DC\uADF8 \uBAA9\uB85D",placeholder:"\uC911\uC694, \uAE34\uAE09"},defaultProjects:{name:"\uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8 \uB9C1\uD06C",selectButton:"\uD504\uB85C\uC81D\uD2B8 \uC120\uD0DD",selectTooltip:"\uAE30\uBCF8\uC73C\uB85C \uC5F0\uACB0\uD560 \uD504\uB85C\uC81D\uD2B8 \uB178\uD2B8 \uC120\uD0DD",removeTooltip:"\uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8\uC5D0\uC11C {name} \uC81C\uAC70"},useParentNoteAsProject:{name:"\uC989\uC2DC \uBCC0\uD658 \uC2DC \uC0C1\uC704 \uB178\uD2B8\uB97C \uD504\uB85C\uC81D\uD2B8\uB85C \uC0AC\uC6A9",description:"\uC989\uC2DC \uC791\uC5C5 \uBCC0\uD658 \uC0AC\uC6A9 \uC2DC \uC0C1\uC704 \uB178\uD2B8\uB97C \uD504\uB85C\uC81D\uD2B8\uB85C \uC790\uB3D9 \uC5F0\uACB0"},useParentHeaderAsProject:{name:"\uC989\uC2DC \uBCC0\uD658 \uC2DC \uC0C1\uC704 \uC81C\uBAA9\uC744 \uD504\uB85C\uC81D\uD2B8\uB85C \uC0AC\uC6A9",description:"\uC989\uC2DC \uC791\uC5C5 \uBCC0\uD658 \uC0AC\uC6A9 \uC2DC \uBCC0\uD658\uB41C \uC904 \uC704\uC758 \uAC00\uC7A5 \uAC00\uAE4C\uC6B4 \uC81C\uBAA9\uC744 \uD504\uB85C\uC81D\uD2B8\uB85C \uC790\uB3D9 \uC5F0\uACB0"},defaultTimeEstimate:{name:"\uAE30\uBCF8 \uC2DC\uAC04 \uC608\uC0C1",description:"\uAE30\uBCF8 \uC2DC\uAC04 \uC608\uC0C1 (\uBD84 \uB2E8\uC704, 0 = \uAE30\uBCF8\uAC12 \uC5C6\uC74C)",placeholder:"60"},defaultRecurrence:{name:"\uAE30\uBCF8 \uBC18\uBCF5",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uBC18\uBCF5 \uD328\uD134"}},dateDefaults:{defaultDueDate:{name:"\uAE30\uBCF8 \uB9C8\uAC10\uC77C",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uB9C8\uAC10\uC77C"},defaultScheduledDate:{name:"\uAE30\uBCF8 \uC608\uC815\uC77C",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uC608\uC815\uC77C"}},reminders:{addReminder:{name:"\uAE30\uBCF8 \uB9AC\uB9C8\uC778\uB354 \uCD94\uAC00",description:"\uBAA8\uB4E0 \uC0C8 \uC791\uC5C5\uC5D0 \uCD94\uAC00\uB420 \uC0C8 \uAE30\uBCF8 \uB9AC\uB9C8\uC778\uB354 \uB9CC\uB4E4\uAE30",buttonText:"\uB9AC\uB9C8\uC778\uB354 \uCD94\uAC00"},emptyState:"\uAE30\uBCF8 \uB9AC\uB9C8\uC778\uB354\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB9AC\uB9C8\uC778\uB354\uB97C \uCD94\uAC00\uD558\uC5EC \uC0C8 \uC791\uC5C5\uC5D0 \uB300\uD574 \uC790\uB3D9\uC73C\uB85C \uC54C\uB9BC\uC744 \uBC1B\uC73C\uC138\uC694.",emptyStateButton:"\uB9AC\uB9C8\uC778\uB354 \uCD94\uAC00",reminderDescription:"\uB9AC\uB9C8\uC778\uB354 \uC124\uBA85",unnamedReminder:"\uC774\uB984 \uC5C6\uB294 \uB9AC\uB9C8\uC778\uB354",deleteTooltip:"\uB9AC\uB9C8\uC778\uB354 \uC0AD\uC81C",fields:{description:"\uC124\uBA85:",type:"\uC720\uD615:",offset:"\uC624\uD504\uC14B:",unit:"\uB2E8\uC704:",direction:"\uBC29\uD5A5:",relatedTo:"\uAE30\uC900:",date:"\uB0A0\uC9DC:",time:"\uC2DC\uAC04:"},types:{relative:"\uC0C1\uB300\uC801 (\uC791\uC5C5 \uB0A0\uC9DC \uAE30\uC900 \uC804/\uD6C4)",absolute:"\uC808\uB300\uC801 (\uD2B9\uC815 \uB0A0\uC9DC/\uC2DC\uAC04)"},units:{minutes:"\uBD84",hours:"\uC2DC\uAC04",days:"\uC77C"},directions:{before:"\uC804",after:"\uD6C4"},relatedTo:{due:"\uB9C8\uAC10\uC77C",scheduled:"\uC608\uC815\uC77C"}},bodyTemplate:{useBodyTemplate:{name:"\uBCF8\uBB38 \uD15C\uD50C\uB9BF \uC0AC\uC6A9",description:"\uC791\uC5C5 \uBCF8\uBB38 \uCF58\uD150\uCE20\uC5D0 \uD15C\uD50C\uB9BF \uD30C\uC77C \uC0AC\uC6A9"},bodyTemplateFile:{name:"\uBCF8\uBB38 \uD15C\uD50C\uB9BF \uD30C\uC77C",description:"\uC791\uC5C5 \uBCF8\uBB38 \uCF58\uD150\uCE20\uC6A9 \uD15C\uD50C\uB9BF \uD30C\uC77C \uACBD\uB85C. {{title}}, {{date}}, {{time}}, {{priority}}, {{status}} \uB4F1\uC758 \uD15C\uD50C\uB9BF \uBCC0\uC218\uB97C \uC9C0\uC6D0\uD569\uB2C8\uB2E4.",placeholder:"\uD15C\uD50C\uB9BF/\uC791\uC5C5 \uD15C\uD50C\uB9BF.md",ariaLabel:"\uBCF8\uBB38 \uD15C\uD50C\uB9BF \uD30C\uC77C \uACBD\uB85C"},variablesHeader:"\uD15C\uD50C\uB9BF \uBCC0\uC218:",variables:{title:"{{title}} - \uC791\uC5C5 \uC81C\uBAA9",details:"{{details}} - \uBAA8\uB2EC\uC5D0\uC11C \uC0AC\uC6A9\uC790\uAC00 \uC81C\uACF5\uD55C \uC138\uBD80\uC815\uBCF4",date:"{{date}} - \uD604\uC7AC \uB0A0\uC9DC (YYYY-MM-DD)",time:"{{time}} - \uD604\uC7AC \uC2DC\uAC04 (HH:MM)",priority:"{{priority}} - \uC791\uC5C5 \uC6B0\uC120\uC21C\uC704",status:"{{status}} - \uC791\uC5C5 \uC0C1\uD0DC",contexts:"{{contexts}} - \uC791\uC5C5 \uCEE8\uD14D\uC2A4\uD2B8",tags:"{{tags}} - \uC791\uC5C5 \uD0DC\uADF8",projects:"{{projects}} - \uC791\uC5C5 \uD504\uB85C\uC81D\uD2B8"}},instantConversion:{useDefaultsOnInstantConvert:{name:"\uC989\uC2DC \uBCC0\uD658 \uC2DC \uC791\uC5C5 \uAE30\uBCF8\uAC12 \uC0AC\uC6A9",description:"\uD14D\uC2A4\uD2B8\uB97C \uC791\uC5C5\uC73C\uB85C \uC989\uC2DC \uBCC0\uD658\uD560 \uB54C \uAE30\uBCF8 \uC791\uC5C5 \uC124\uC815 \uC801\uC6A9"}},options:{noDefault:"\uAE30\uBCF8\uAC12 \uC5C6\uC74C",none:"\uC5C6\uC74C",today:"\uC624\uB298",tomorrow:"\uB0B4\uC77C",nextWeek:"\uB2E4\uC74C \uC8FC",daily:"\uB9E4\uC77C",weekly:"\uB9E4\uC8FC",monthly:"\uB9E4\uC6D4",yearly:"\uB9E4\uB144"}},general:{taskStorage:{header:"\uC791\uC5C5 \uC800\uC7A5\uC18C",description:"\uC791\uC5C5\uC774 \uC800\uC7A5\uB418\uB294 \uC704\uCE58\uC640 \uC2DD\uBCC4 \uBC29\uBC95\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",defaultFolder:{name:"\uAE30\uBCF8 \uC791\uC5C5 \uD3F4\uB354",description:"\uC0C8 \uC791\uC5C5\uC758 \uAE30\uBCF8 \uC704\uCE58\uC785\uB2C8\uB2E4. {{currentNotePath}}, {{currentNoteTitle}}, {{projectFilePath}} \uAC19\uC740 \uD3F4\uB354 \uD15C\uD50C\uB9BF \uBCC0\uC218\uC640 YYYY/MM/DD \uAC19\uC740 Daily Notes \uC2A4\uD0C0\uC77C \uB0A0\uC9DC \uD1A0\uD070\uC744 \uC9C0\uC6D0\uD569\uB2C8\uB2E4."},moveArchived:{name:"\uBCF4\uAD00\uB41C \uC791\uC5C5\uC744 \uD3F4\uB354\uB85C \uC774\uB3D9",description:"\uBCF4\uAD00\uB41C \uC791\uC5C5\uC744 \uBCF4\uAD00 \uD3F4\uB354\uB85C \uC790\uB3D9 \uC774\uB3D9"},archiveFolder:{name:"\uBCF4\uAD00 \uD3F4\uB354",description:"\uBCF4\uAD00 \uC2DC \uC791\uC5C5\uC744 \uC774\uB3D9\uD560 \uD3F4\uB354. {{year}}, {{month}}, {{priority}} \uB4F1\uC758 \uD15C\uD50C\uB9BF \uBCC0\uC218\uB97C \uC9C0\uC6D0\uD569\uB2C8\uB2E4."}},taskIdentification:{header:"\uC791\uC5C5 \uC2DD\uBCC4",description:"TaskNotes\uAC00 \uB178\uD2B8\uB97C \uC791\uC5C5\uC73C\uB85C \uC2DD\uBCC4\uD558\uB294 \uBC29\uBC95\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.",identifyBy:{name:"\uC791\uC5C5 \uC2DD\uBCC4 \uAE30\uC900",description:"\uD0DC\uADF8 \uB610\uB294 \uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC73C\uB85C \uC791\uC5C5\uC744 \uC2DD\uBCC4\uD560\uC9C0 \uC120\uD0DD",options:{tag:"\uD0DC\uADF8",property:"\uC18D\uC131"}},taskTag:{name:"\uC791\uC5C5 \uD0DC\uADF8",description:"\uB178\uD2B8\uB97C \uC791\uC5C5\uC73C\uB85C \uC2DD\uBCC4\uD558\uB294 \uD0DC\uADF8 (# \uC81C\uC678)"},hideIdentifyingTags:{name:"\uC791\uC5C5 \uCE74\uB4DC\uC5D0\uC11C \uC2DD\uBCC4 \uD0DC\uADF8 \uC228\uAE30\uAE30",description:"\uD65C\uC131\uD654\uD558\uBA74 \uC791\uC5C5 \uC2DD\uBCC4 \uD0DC\uADF8\uC640 \uC77C\uCE58\uD558\uB294 \uD0DC\uADF8 (\uC608: 'task/project' \uAC19\uC740 \uACC4\uCE35\uC801 \uD0DC\uADF8 \uD3EC\uD568)\uAC00 \uC791\uC5C5 \uCE74\uB4DC\uC5D0\uC11C \uC228\uACA8\uC9D1\uB2C8\uB2E4"},hideIdentifyingTagsMode:{name:"\uC228\uAE38 \uD0DC\uADF8 \uBC94\uC704",description:"\uC2DD\uBCC4 \uD0DC\uADF8\uB97C \uC228\uAE38 \uB54C \uC911\uCCA9 \uD0DC\uADF8\uB3C4 \uC228\uAE38\uC9C0 \uC120\uD0DD\uD569\uB2C8\uB2E4.",options:{all:"\uC791\uC5C5 \uD0DC\uADF8\uC640 \uC911\uCCA9 \uD0DC\uADF8",exactOnly:"\uC815\uD655\uD55C \uC791\uC5C5 \uD0DC\uADF8\uB9CC"}},taskProperty:{name:"\uC791\uC5C5 \uC18D\uC131 \uC774\uB984",description:'\uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131 \uC774\uB984 (\uC608: "category")'},taskPropertyValue:{name:"\uC791\uC5C5 \uC18D\uC131 \uAC12",description:'\uB178\uD2B8\uB97C \uC791\uC5C5\uC73C\uB85C \uC2DD\uBCC4\uD558\uB294 \uAC12 (\uC608: "task")'}},folderManagement:{header:"\uD3F4\uB354 \uAD00\uB9AC",excludedFolders:{name:"\uC81C\uC678 \uD3F4\uB354",description:"\uC791\uC5C5 \uC778\uB371\uC2F1 \uBC0F \uD504\uB85C\uC81D\uD2B8 \uC81C\uC548\uC5D0\uC11C \uC81C\uC678\uD560 \uD3F4\uB354 (\uC27C\uD45C\uB85C \uAD6C\uBD84)"}},frontmatter:{header:"\uD504\uB860\uD2B8\uB9E4\uD130",description:"\uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC5D0\uC11C \uB9C1\uD06C \uD615\uC2DD\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",useMarkdownLinks:{name:"\uD504\uB860\uD2B8\uB9E4\uD130\uC5D0\uC11C \uB9C8\uD06C\uB2E4\uC6B4 \uB9C1\uD06C \uC0AC\uC6A9",description:`\uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC5D0\uC11C \uC704\uD0A4\uB9C1\uD06C ([[link]]) \uB300\uC2E0 \uB9C8\uD06C\uB2E4\uC6B4 \uB9C1\uD06C ([text](path)) \uC0DD\uC131.
\u26A0\uFE0F \uC62C\uBC14\uB974\uAC8C \uC791\uB3D9\uD558\uB824\uBA74 'obsidian-frontmatter-markdown-links' \uD50C\uB7EC\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.`}},taskInteraction:{header:"\uC791\uC5C5 \uC0C1\uD638\uC791\uC6A9",description:"\uC791\uC5C5 \uD074\uB9AD \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",singleClick:{name:"\uB2E8\uC77C \uD074\uB9AD \uB3D9\uC791",description:"\uC791\uC5C5 \uCE74\uB4DC\uB97C \uD55C \uBC88 \uD074\uB9AD\uD588\uC744 \uB54C \uC218\uD589\uD560 \uB3D9\uC791"},doubleClick:{name:"\uB354\uBE14 \uD074\uB9AD \uB3D9\uC791",description:"\uC791\uC5C5 \uCE74\uB4DC\uB97C \uB450 \uBC88 \uD074\uB9AD\uD588\uC744 \uB54C \uC218\uD589\uD560 \uB3D9\uC791"},actions:{edit:"\uC791\uC5C5 \uD3B8\uC9D1",openNote:"\uB178\uD2B8 \uC5F4\uAE30",none:"\uB3D9\uC791 \uC5C6\uC74C"}},releaseNotes:{header:"\uB9B4\uB9AC\uC2A4 \uB178\uD2B8",description:"\uD604\uC7AC \uBC84\uC804: {version}",showOnUpdate:{name:"\uC5C5\uB370\uC774\uD2B8 \uD6C4 \uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uD45C\uC2DC",description:"TaskNotes\uAC00 \uC0C8 \uBC84\uC804\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uBA74 \uC790\uB3D9\uC73C\uB85C \uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uC5F4\uAE30"},viewButton:{name:"\uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uBCF4\uAE30",description:"\uCD5C\uC2E0 \uBC84\uC804\uC758 TaskNotes\uC5D0\uC11C \uC0C8\uB85C\uC6B4 \uAE30\uB2A5 \uD655\uC778",buttonText:"\uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uBCF4\uAE30"}}},taskProperties:{sections:{coreProperties:"\uD575\uC2EC \uC18D\uC131",corePropertiesDesc:"\uC0C1\uD0DC\uC640 \uC6B0\uC120\uC21C\uC704\uB294 \uC791\uC5C5\uC758 \uC0C1\uD0DC\uC640 \uC911\uC694\uB3C4\uB97C \uC815\uC758\uD558\uB294 \uD575\uC2EC \uC18D\uC131\uC785\uB2C8\uB2E4.",dateProperties:"\uB0A0\uC9DC \uC18D\uC131",datePropertiesDesc:"\uC791\uC5C5\uC758 \uB9C8\uAC10\uC77C\uACFC \uC608\uC815\uC77C\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",organizationProperties:"\uC870\uC9C1 \uC18D\uC131",organizationPropertiesDesc:"\uCEE8\uD14D\uC2A4\uD2B8, \uD504\uB85C\uC81D\uD2B8, \uD0DC\uADF8\uB85C \uC791\uC5C5\uC744 \uC815\uB9AC\uD569\uB2C8\uB2E4.",taskDetails:"\uC791\uC5C5 \uC138\uBD80\uC815\uBCF4",taskDetailsDesc:"\uC2DC\uAC04 \uC608\uC0C1, \uBC18\uBCF5, \uB9AC\uB9C8\uC778\uB354 \uB4F1 \uCD94\uAC00 \uC138\uBD80\uC815\uBCF4.",metadataProperties:"\uBA54\uD0C0\uB370\uC774\uD130 \uC18D\uC131",metadataPropertiesDesc:"\uC791\uC5C5 \uAE30\uB85D\uC744 \uCD94\uC801\uD558\uAE30 \uC704\uD55C \uC2DC\uC2A4\uD15C \uAD00\uB9AC \uC18D\uC131.",featureProperties:"\uAE30\uB2A5 \uC18D\uC131",featurePropertiesDesc:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38 \uBC0F \uCE98\uB9B0\uB354 \uB3D9\uAE30\uD654 \uAC19\uC740 \uD2B9\uC815 TaskNotes \uAE30\uB2A5\uC5D0\uC11C \uC0AC\uC6A9\uD558\uB294 \uC18D\uC131."},propertyCard:{propertyKey:"\uC18D\uC131 \uD0A4:",default:"\uAE30\uBCF8\uAC12:",nlpTrigger:"NLP \uD2B8\uB9AC\uAC70:",triggerChar:"\uD2B8\uB9AC\uAC70 \uBB38\uC790:",triggerEmpty:"\uD2B8\uB9AC\uAC70\uB294 \uBE44\uC5B4 \uC788\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",triggerTooLong:"\uD2B8\uB9AC\uAC70\uAC00 \uB108\uBB34 \uAE41\uB2C8\uB2E4 (\uCD5C\uB300 10\uC790)"},properties:{status:{name:"\uC0C1\uD0DC",description:"\uC791\uC5C5\uC758 \uD604\uC7AC \uC0C1\uD0DC\uB97C \uCD94\uC801\uD569\uB2C8\uB2E4 (\uC608: \uD560 \uC77C, \uC9C4\uD589 \uC911, \uC644\uB8CC). \uC0C1\uD0DC\uB294 \uC791\uC5C5\uC774 \uC644\uB8CC\uB85C \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80\uB97C \uACB0\uC815\uD558\uACE0 \uC790\uB3D9 \uBCF4\uAD00\uC744 \uD2B8\uB9AC\uAC70\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},priority:{name:"\uC6B0\uC120\uC21C\uC704",description:"\uC791\uC5C5 \uC911\uC694\uB3C4\uB97C \uB098\uD0C0\uB0C5\uB2C8\uB2E4. \uC815\uB82C \uBC0F \uD544\uD130\uB9C1\uC5D0 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uBCA0\uC774\uC2A4 \uBDF0\uC5D0\uC11C \uC54C\uD30C\uBCB3\uC21C\uC73C\uB85C \uC815\uB82C\uB418\uBBC0\uB85C \uC21C\uC11C\uB97C \uC81C\uC5B4\uD558\uB824\uBA74 1-, 2- \uAC19\uC740 \uC811\uB450\uC0AC\uB97C \uC0AC\uC6A9\uD558\uC138\uC694."},due:{name:"\uB9C8\uAC10\uC77C",description:"\uC791\uC5C5\uC744 \uC644\uB8CC\uD574\uC57C \uD558\uB294 \uAE30\uD55C. \uB9C8\uAC10\uC77C\uC774 \uC9C0\uB09C \uC791\uC5C5\uC740 \uC9C0\uC5F0\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uD504\uB860\uD2B8\uB9E4\uD130\uC5D0 \uB0A0\uC9DC\uB85C \uC800\uC7A5\uB429\uB2C8\uB2E4."},scheduled:{name:"\uC608\uC815\uC77C",description:"\uC791\uC5C5\uC744 \uC218\uD589\uD560 \uACC4\uD68D\uC77C. \uB9C8\uAC10\uC77C\uACFC \uB2EC\uB9AC \uC608\uC815 \uC2DC\uC791 \uC2DC\uAC04\uC744 \uB098\uD0C0\uB0C5\uB2C8\uB2E4. \uC791\uC5C5\uC740 \uC608\uC815 \uB0A0\uC9DC/\uC2DC\uAC04\uC5D0 \uCE98\uB9B0\uB354\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4."},contexts:{name:"\uCEE8\uD14D\uC2A4\uD2B8",description:"\uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC788\uB294 \uC704\uCE58\uB098 \uC870\uAC74 (\uC608: @home, @office, @phone). \uD604\uC7AC \uC0C1\uD669\uC5D0 \uB530\uB77C \uC791\uC5C5\uC744 \uD544\uD130\uB9C1\uD558\uB294 \uB370 \uC720\uC6A9\uD569\uB2C8\uB2E4. \uBAA9\uB85D\uC73C\uB85C \uC800\uC7A5\uB429\uB2C8\uB2E4."},projects:{name:"\uD504\uB85C\uC81D\uD2B8",description:"\uC774 \uC791\uC5C5\uC774 \uC18D\uD55C \uD504\uB85C\uC81D\uD2B8 \uB178\uD2B8 \uB9C1\uD06C. \uC704\uD0A4\uB9C1\uD06C\uB85C \uC800\uC7A5\uB429\uB2C8\uB2E4 (\uC608: [[\uD504\uB85C\uC81D\uD2B8 \uC774\uB984]]). \uC791\uC5C5\uC740 \uC5EC\uB7EC \uD504\uB85C\uC81D\uD2B8\uC5D0 \uC18D\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},tags:{name:"\uD0DC\uADF8",description:"\uC791\uC5C5 \uBD84\uB958\uB97C \uC704\uD55C \uAE30\uBCF8 Obsidian \uD0DC\uADF8. tags \uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC5D0 \uC800\uC7A5\uB418\uBA70 Obsidian\uC758 \uD0DC\uADF8 \uAE30\uB2A5\uACFC \uD568\uAED8 \uC791\uB3D9\uD569\uB2C8\uB2E4."},timeEstimate:{name:"\uC2DC\uAC04 \uC608\uC0C1",description:"\uC791\uC5C5\uC744 \uC644\uB8CC\uD558\uB294 \uB370 \uC608\uC0C1\uB418\uB294 \uC2DC\uAC04 (\uBD84). \uD0C0\uC784\uBE14\uB85C\uD0B9 \uBC0F \uC791\uC5C5\uB7C9 \uACC4\uD68D\uC5D0 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uC791\uC5C5 \uCE74\uB4DC\uC640 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4."},recurrence:{name:"\uBC18\uBCF5",description:"\uBC18\uBCF5 \uC791\uC5C5 \uD328\uD134 (\uB9E4\uC77C, \uB9E4\uC8FC, \uB9E4\uC6D4, \uB9E4\uB144 \uB610\uB294 \uC0AC\uC6A9\uC790 \uC9C0\uC815 RRULE). \uBC18\uBCF5 \uC791\uC5C5\uC774 \uC644\uB8CC\uB418\uBA74 \uC608\uC815\uC77C\uC774 \uC790\uB3D9\uC73C\uB85C \uB2E4\uC74C \uBC1C\uC0DD\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB429\uB2C8\uB2E4."},recurrenceAnchor:{name:"\uBC18\uBCF5 \uAE30\uC900",description:"\uB2E4\uC74C \uBC1C\uC0DD \uACC4\uC0B0 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4: 'scheduled'\uB294 \uC608\uC815\uC77C\uC744, 'completion'\uC740 \uC2E4\uC81C \uC644\uB8CC\uC77C\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4."},reminders:{name:"\uB9AC\uB9C8\uC778\uB354",description:"\uB9C8\uAC10\uC77C \uB610\uB294 \uC608\uC815\uC77C \uC804\uC5D0 \uD2B8\uB9AC\uAC70\uB418\uB294 \uC54C\uB9BC. \uD0C0\uC774\uBC0D\uACFC \uC120\uD0DD\uC801 \uC124\uBA85\uC774 \uD3EC\uD568\uB41C \uB9AC\uB9C8\uC778\uB354 \uAC1D\uCCB4 \uBAA9\uB85D\uC73C\uB85C \uC800\uC7A5\uB429\uB2C8\uB2E4."},title:{name:"\uC81C\uBAA9",description:"\uC791\uC5C5 \uC774\uB984. \uD504\uB860\uD2B8\uB9E4\uD130 \uB610\uB294 \uD30C\uC77C\uBA85\uC5D0 \uC800\uC7A5\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4 ('\uD30C\uC77C\uBA85\uC5D0 \uC81C\uBAA9 \uC800\uC7A5'\uC774 \uD65C\uC131\uD654\uB41C \uACBD\uC6B0)."},dateCreated:{name:"\uC0DD\uC131\uC77C",description:"\uC791\uC5C5\uC774 \uCC98\uC74C \uC0DD\uC131\uB41C \uD0C0\uC784\uC2A4\uD0EC\uD504. \uC790\uB3D9\uC73C\uB85C \uC124\uC815\uB418\uBA70 \uC0DD\uC131 \uC21C\uC11C\uB85C \uC815\uB82C\uD558\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4."},dateModified:{name:"\uC218\uC815\uC77C",description:"\uC791\uC5C5\uC758 \uB9C8\uC9C0\uB9C9 \uBCC0\uACBD \uD0C0\uC784\uC2A4\uD0EC\uD504. \uC791\uC5C5 \uC18D\uC131\uC774 \uBCC0\uACBD\uB418\uBA74 \uC790\uB3D9\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB429\uB2C8\uB2E4."},completedDate:{name:"\uC644\uB8CC\uC77C",description:"\uC791\uC5C5\uC774 \uC644\uB8CC\uB85C \uD45C\uC2DC\uB41C \uD0C0\uC784\uC2A4\uD0EC\uD504. \uC0C1\uD0DC\uAC00 \uC644\uB8CC \uC0C1\uD0DC\uB85C \uBCC0\uACBD\uB418\uBA74 \uC790\uB3D9\uC73C\uB85C \uC124\uC815\uB429\uB2C8\uB2E4."},archiveTag:{name:"\uBCF4\uAD00 \uD0DC\uADF8",description:"\uC791\uC5C5\uC774 \uBCF4\uAD00\uB420 \uB54C \uCD94\uAC00\uB418\uB294 \uD0DC\uADF8. \uBCF4\uAD00\uB41C \uC791\uC5C5\uC744 \uC2DD\uBCC4\uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uBA70 \uD30C\uC77C\uC744 \uBCF4\uAD00 \uD3F4\uB354\uB85C \uC774\uB3D9\uD558\uB3C4\uB85D \uD2B8\uB9AC\uAC70\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},timeEntries:{name:"\uC2DC\uAC04 \uAE30\uB85D",description:"\uC774 \uC791\uC5C5\uC5D0 \uB300\uD55C \uC2DC\uAC04 \uCD94\uC801 \uC138\uC158 \uAE30\uB85D. \uAC01 \uAE30\uB85D\uC740 \uC2DC\uC791 \uBC0F \uC885\uB8CC \uD0C0\uC784\uC2A4\uD0EC\uD504\uB97C \uC800\uC7A5\uD569\uB2C8\uB2E4. \uCD1D \uC18C\uC694 \uC2DC\uAC04\uC744 \uACC4\uC0B0\uD558\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4."},completeInstances:{name:"\uC644\uB8CC \uC778\uC2A4\uD134\uC2A4",description:"\uBC18\uBCF5 \uC791\uC5C5\uC758 \uC644\uB8CC \uAE30\uB85D. \uAC01 \uC778\uC2A4\uD134\uC2A4\uAC00 \uC644\uB8CC\uB41C \uB0A0\uC9DC\uB97C \uC800\uC7A5\uD558\uC5EC \uC911\uBCF5 \uC644\uB8CC\uB97C \uBC29\uC9C0\uD569\uB2C8\uB2E4."},skippedInstances:{name:"\uAC74\uB108\uB6F4 \uC778\uC2A4\uD134\uC2A4",description:"\uBC18\uBCF5 \uC791\uC5C5\uC758 \uAC74\uB108\uB6F4 \uBC1C\uC0DD. \uC644\uB8CC \uB300\uC2E0 \uAC74\uB108\uB6F4 \uC778\uC2A4\uD134\uC2A4\uC758 \uB0A0\uC9DC\uB97C \uC800\uC7A5\uD569\uB2C8\uB2E4."},blockedBy:{name:"\uCC28\uB2E8 \uC6D0\uC778",description:"\uC774 \uC791\uC5C5 \uC804\uC5D0 \uC644\uB8CC\uD574\uC57C \uD558\uB294 \uC791\uC5C5 \uB9C1\uD06C. \uC704\uD0A4\uB9C1\uD06C\uB85C \uC800\uC7A5\uB429\uB2C8\uB2E4. \uCC28\uB2E8\uB41C \uC791\uC5C5\uC740 \uC2DC\uAC01\uC801 \uD45C\uC2DC\uAE30\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4."},sortOrder:{name:"\uC218\uB3D9 \uC21C\uC11C",description:"\uB4DC\uB798\uADF8 \uC564 \uB4DC\uB86D\uC73C\uB85C \uC7AC\uC815\uB82C\uD560 \uB54C \uC0AC\uC6A9\uB418\uB294 frontmatter \uC18D\uC131\uC785\uB2C8\uB2E4. \uBDF0\uB294 \uC774 \uC18D\uC131\uC73C\uB85C \uC815\uB82C\uB418\uC5B4 \uC788\uC5B4\uC57C \uC7AC\uC815\uB82C\uC774 \uC791\uB3D9\uD569\uB2C8\uB2E4."},pomodoros:{name:"\uBF40\uBAA8\uB3C4\uB85C",description:"\uC644\uB8CC\uB41C \uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uC218. \uB370\uC774\uD130 \uC800\uC7A5\uC774 '\uB370\uC77C\uB9AC \uB178\uD2B8'\uB85C \uC124\uC815\uB418\uBA74 \uC791\uC5C5 \uD30C\uC77C \uB300\uC2E0 \uB370\uC77C\uB9AC \uB178\uD2B8\uC5D0 \uAE30\uB85D\uB429\uB2C8\uB2E4."},icsEventId:{name:"ICS \uC774\uBCA4\uD2B8 ID",description:"\uB178\uD2B8\uB97C ICS \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0 \uC5F0\uACB0\uD558\uB294 \uACE0\uC720 \uC2DD\uBCC4\uC790. \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0\uC11C \uB178\uD2B8\uB97C \uB9CC\uB4E4 \uB54C \uC790\uB3D9\uC73C\uB85C \uCD94\uAC00\uB429\uB2C8\uB2E4."},icsEventTag:{name:"ICS \uC774\uBCA4\uD2B8 \uD0DC\uADF8",description:"ICS \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131\uB41C \uB178\uD2B8\uB97C \uC2DD\uBCC4\uD558\uB294 \uD0DC\uADF8. \uCE98\uB9B0\uB354\uC5D0\uC11C \uC0DD\uC131\uB41C \uB178\uD2B8\uB97C \uC77C\uBC18 \uC791\uC5C5\uACFC \uAD6C\uBD84\uD558\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4."}},statusCard:{valuesHeader:"\uC0C1\uD0DC \uAC12"},priorityCard:{valuesHeader:"\uC6B0\uC120\uC21C\uC704 \uAC12"},projectsCard:{defaultProjects:"\uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8:",useParentNote:"\uC0C1\uC704 \uB178\uD2B8\uB97C \uD504\uB85C\uC81D\uD2B8\uB85C \uC0AC\uC6A9:",useParentHeader:"\uC0C1\uC704 \uC81C\uBAA9\uC744 \uD504\uB85C\uC81D\uD2B8\uB85C \uC0AC\uC6A9:",inheritParentTaskProperties:"\uD558\uC704 \uC791\uC5C5\uC5D0 \uC0C1\uC704 \uC791\uC5C5 \uC18D\uC131 \uC0C1\uC18D:",noDefaultProjects:"\uC120\uD0DD\uB41C \uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8 \uC5C6\uC74C",autosuggestFilters:"\uC790\uB3D9 \uC81C\uC548 \uD544\uD130",customizeDisplay:"\uD45C\uC2DC \uC0AC\uC6A9\uC790 \uC9C0\uC815",filtersOn:"\uD544\uD130 \uCF1C\uC9D0"},titleCard:{storeTitleInFilename:"\uD30C\uC77C\uBA85\uC5D0 \uC81C\uBAA9 \uC800\uC7A5:",storedInFilename:"\uD30C\uC77C\uBA85\uC5D0 \uC800\uC7A5\uB428",filenameUpdatesWithTitle:"\uC791\uC5C5 \uC81C\uBAA9\uC774 \uBCC0\uACBD\uB418\uBA74 \uD30C\uC77C\uBA85\uC774 \uC790\uB3D9\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB429\uB2C8\uB2E4.",filenameFormat:"\uD30C\uC77C\uBA85 \uD615\uC2DD:",customTemplate:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD15C\uD50C\uB9BF:",legacySyntaxWarning:"{title}\uACFC \uAC19\uC740 \uB2E8\uC77C \uC911\uAD04\uD638 \uAD6C\uBB38\uC740 \uB354 \uC774\uC0C1 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uBCF8\uBB38 \uD15C\uD50C\uB9BF\uACFC\uC758 \uC77C\uAD00\uC131\uC744 \uC704\uD574 {{title}}\uACFC \uAC19\uC740 \uC774\uC911 \uC911\uAD04\uD638 \uAD6C\uBB38\uC744 \uC0AC\uC6A9\uD558\uC138\uC694."},tagsCard:{nativeObsidianTags:"\uAE30\uBCF8 Obsidian \uD0DC\uADF8 \uC0AC\uC6A9"},remindersCard:{defaultReminders:"\uAE30\uBCF8 \uB9AC\uB9C8\uC778\uB354"},taskStatuses:{header:"\uC791\uC5C5 \uC0C1\uD0DC",description:"\uC791\uC5C5\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uC0C1\uD0DC \uC635\uC158\uC744 \uC0AC\uC6A9\uC790 \uC9C0\uC815\uD569\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uC0C1\uD0DC\uB294 \uC791\uC5C5 \uC218\uBA85 \uC8FC\uAE30\uB97C \uC81C\uC5B4\uD558\uACE0 \uC791\uC5C5\uC774 \uC644\uB8CC\uB85C \uAC04\uC8FC\uB418\uB294 \uC2DC\uC810\uC744 \uACB0\uC815\uD569\uB2C8\uB2E4.",howTheyWork:{title:"\uC0C1\uD0DC \uC791\uB3D9 \uBC29\uC2DD:",value:'\uAC12: \uC791\uC5C5 \uD30C\uC77C\uC5D0 \uC800\uC7A5\uB418\uB294 \uB0B4\uBD80 \uC2DD\uBCC4\uC790 (\uC608: "in-progress")',label:'\uB808\uC774\uBE14: \uC778\uD130\uD398\uC774\uC2A4\uC5D0 \uD45C\uC2DC\uB418\uB294 \uD45C\uC2DC \uC774\uB984 (\uC608: "\uC9C4\uD589 \uC911")',color:"\uC0C9\uC0C1: \uC0C1\uD0DC \uC810\uACFC \uBC30\uC9C0\uC758 \uC2DC\uAC01\uC801 \uD45C\uC2DC\uAE30 \uC0C9\uC0C1",icon:'\uC544\uC774\uCF58: \uC0C9\uC0C1 \uC810 \uB300\uC2E0 \uD45C\uC2DC\uD560 \uC120\uD0DD\uC801 Lucide \uC544\uC774\uCF58 \uC774\uB984 (\uC608: "check", "circle", "clock"). lucide.dev\uC5D0\uC11C \uC544\uC774\uCF58\uC744 \uCC3E\uC544\uBCF4\uC138\uC694',completed:"\uC644\uB8CC\uB428: \uC120\uD0DD\uD558\uBA74 \uC774 \uC0C1\uD0DC\uC758 \uC791\uC5C5\uC774 \uC644\uB8CC\uB41C \uAC83\uC73C\uB85C \uAC04\uC8FC\uB418\uBA70 \uB2E4\uB974\uAC8C \uD544\uD130\uB9C1\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4",autoArchive:"\uC790\uB3D9 \uBCF4\uAD00: \uD65C\uC131\uD654\uD558\uBA74 \uC9C0\uC815\uB41C \uC9C0\uC5F0 \uC2DC\uAC04 \uD6C4 \uC791\uC5C5\uC774 \uC790\uB3D9\uC73C\uB85C \uBCF4\uAD00\uB429\uB2C8\uB2E4 (1-1440\uBD84)",orderNote:"\uC544\uB798 \uC21C\uC11C\uB294 \uC791\uC5C5 \uC0C1\uD0DC \uBC30\uC9C0\uB97C \uD074\uB9AD\uD558\uC5EC \uC0C1\uD0DC\uB97C \uC21C\uD658\uD560 \uB54C\uC758 \uC21C\uC11C\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4."},addNew:{name:"\uC0C8 \uC0C1\uD0DC \uCD94\uAC00",description:"\uC791\uC5C5\uC5D0 \uC0C8 \uC0C1\uD0DC \uC635\uC158 \uB9CC\uB4E4\uAE30",buttonText:"\uC0C1\uD0DC \uCD94\uAC00"},validationNote:'\uCC38\uACE0: \uCD5C\uC18C 2\uAC1C\uC758 \uC0C1\uD0DC\uAC00 \uC788\uC5B4\uC57C \uD558\uBA70, \uCD5C\uC18C \uD558\uB098\uC758 \uC0C1\uD0DC\uAC00 "\uC644\uB8CC\uB428"\uC73C\uB85C \uD45C\uC2DC\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4.',emptyState:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC0C1\uD0DC\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC0C1\uD0DC\uB97C \uCD94\uAC00\uD558\uC5EC \uC2DC\uC791\uD558\uC138\uC694.",emptyStateButton:"\uC0C1\uD0DC \uCD94\uAC00",fields:{value:"\uAC12:",label:"\uB808\uC774\uBE14:",color:"\uC0C9\uC0C1:",icon:"\uC544\uC774\uCF58:",completed:"\uC644\uB8CC\uB428:",excludeFromCycle:"\uC21C\uD658 \uC2DC \uAC74\uB108\uB6F0\uAE30:",nextStatus:"\uB2E4\uC74C \uC0C1\uD0DC:",autoArchive:"\uC790\uB3D9 \uBCF4\uAD00:",delayMinutes:"\uC9C0\uC5F0 (\uBD84):"},placeholders:{value:"\uC9C4\uD589\uC911",label:"\uC9C4\uD589 \uC911",icon:"check, circle, clock",nextStatusDefault:"\uC0C1\uD0DC \uC21C\uC11C \uC0AC\uC6A9"},badges:{completed:"\uC644\uB8CC\uB428"},deleteConfirm:'"{label}" \uC0C1\uD0DC\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?'},taskPriorities:{header:"\uC791\uC5C5 \uC6B0\uC120\uC21C\uC704",description:"\uC791\uC5C5\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uC6B0\uC120\uC21C\uC704 \uC218\uC900\uC744 \uC0AC\uC6A9\uC790 \uC9C0\uC815\uD569\uB2C8\uB2E4. v4.0+\uC5D0\uC11C\uB294 \uBCA0\uC774\uC2A4 \uBDF0\uC5D0\uC11C \uAC12\uC5D0 \uB530\uB77C \uC54C\uD30C\uBCB3\uC21C\uC73C\uB85C \uC815\uB82C\uB429\uB2C8\uB2E4.",howTheyWork:{title:"\uC6B0\uC120\uC21C\uC704 \uC791\uB3D9 \uBC29\uC2DD:",value:'\uAC12: \uC791\uC5C5 \uD30C\uC77C\uC5D0 \uC800\uC7A5\uB418\uB294 \uB0B4\uBD80 \uC2DD\uBCC4\uC790. \uBCA0\uC774\uC2A4 \uBDF0\uC5D0\uC11C \uC815\uB82C \uC21C\uC11C\uB97C \uC81C\uC5B4\uD558\uB824\uBA74 "1-urgent", "2-high" \uAC19\uC740 \uC811\uB450\uC0AC\uB97C \uC0AC\uC6A9\uD558\uC138\uC694.',label:'\uD45C\uC2DC \uB808\uC774\uBE14: \uC778\uD130\uD398\uC774\uC2A4\uC5D0 \uD45C\uC2DC\uB418\uB294 \uD45C\uC2DC \uC774\uB984 (\uC608: "\uB192\uC740 \uC6B0\uC120\uC21C\uC704")',color:"\uC0C9\uC0C1: \uC6B0\uC120\uC21C\uC704 \uC810\uACFC \uBC30\uC9C0\uC758 \uC2DC\uAC01\uC801 \uD45C\uC2DC\uAE30 \uC0C9\uC0C1",icon:"\uC544\uC774\uCF58: \uC791\uC5C5 \uCE74\uB4DC\uC5D0\uC11C \uC6B0\uC120\uC21C\uC704 \uC810 \uB300\uC2E0 \uD45C\uC2DC\uD560 \uC120\uD0DD\uC801 Lucide \uC544\uC774\uCF58"},addNew:{name:"\uC0C8 \uC6B0\uC120\uC21C\uC704 \uCD94\uAC00",description:"\uC791\uC5C5\uC5D0 \uC0C8 \uC6B0\uC120\uC21C\uC704 \uC218\uC900 \uB9CC\uB4E4\uAE30",buttonText:"\uC6B0\uC120\uC21C\uC704 \uCD94\uAC00"},validationNote:"\uCC38\uACE0: \uCD5C\uC18C 1\uAC1C\uC758 \uC6B0\uC120\uC21C\uC704\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uC6B0\uC120\uC21C\uC704\uB294 \uBCA0\uC774\uC2A4 \uBDF0\uC5D0\uC11C \uAC12\uC5D0 \uB530\uB77C \uC54C\uD30C\uBCB3\uC21C\uC73C\uB85C \uC815\uB82C\uB429\uB2C8\uB2E4.",emptyState:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC6B0\uC120\uC21C\uC704\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC6B0\uC120\uC21C\uC704\uB97C \uCD94\uAC00\uD558\uC5EC \uC2DC\uC791\uD558\uC138\uC694.",emptyStateButton:"\uC6B0\uC120\uC21C\uC704 \uCD94\uAC00",fields:{value:"\uAC12:",label:"\uB808\uC774\uBE14:",color:"\uC0C9\uC0C1:",icon:"\uC544\uC774\uCF58:"},placeholders:{value:"\uB192\uC74C",label:"\uB192\uC740 \uC6B0\uC120\uC21C\uC704",icon:"alert-circle"},deleteConfirm:"\uCD5C\uC18C \uD558\uB098\uC758 \uC6B0\uC120\uC21C\uC704\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4",deleteTooltip:"\uC6B0\uC120\uC21C\uC704 \uC0AD\uC81C"},fieldMapping:{header:"\uD544\uB4DC \uB9E4\uD551",warning:"\u26A0\uFE0F \uACBD\uACE0: TaskNotes\uB294 \uC774\uB7EC\uD55C \uC18D\uC131 \uC774\uB984\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC77D\uACE0 \uC501\uB2C8\uB2E4. \uC791\uC5C5\uC744 \uB9CC\uB4E0 \uD6C4 \uC774\uB97C \uBCC0\uACBD\uD558\uBA74 \uBD88\uC77C\uCE58\uAC00 \uBC1C\uC0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",description:"TaskNotes\uAC00 \uAC01 \uD544\uB4DC\uC5D0 \uC0AC\uC6A9\uD574\uC57C \uD558\uB294 \uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",resetButton:{name:"\uD544\uB4DC \uB9E4\uD551 \uCD08\uAE30\uD654",description:"\uBAA8\uB4E0 \uD544\uB4DC \uB9E4\uD551\uC744 \uAE30\uBCF8\uAC12\uC73C\uB85C \uCD08\uAE30\uD654",buttonText:"\uAE30\uBCF8\uAC12\uC73C\uB85C \uCD08\uAE30\uD654"},notices:{resetSuccess:"\uD544\uB4DC \uB9E4\uD551\uC774 \uAE30\uBCF8\uAC12\uC73C\uB85C \uCD08\uAE30\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",resetFailure:"\uD544\uB4DC \uB9E4\uD551 \uCD08\uAE30\uD654 \uC2E4\uD328",updateFailure:"{label}\uC758 \uD544\uB4DC \uB9E4\uD551 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694."},table:{fieldHeader:"TaskNotes \uD544\uB4DC",propertyHeader:"\uC0AC\uC6A9\uC790 \uC18D\uC131 \uC774\uB984"},fields:{title:"\uC81C\uBAA9",status:"\uC0C1\uD0DC",priority:"\uC6B0\uC120\uC21C\uC704",due:"\uB9C8\uAC10\uC77C",scheduled:"\uC608\uC815\uC77C",contexts:"\uCEE8\uD14D\uC2A4\uD2B8",projects:"\uD504\uB85C\uC81D\uD2B8",timeEstimate:"\uC2DC\uAC04 \uC608\uC0C1",recurrence:"\uBC18\uBCF5",dateCreated:"\uC0DD\uC131\uC77C",completedDate:"\uC644\uB8CC\uC77C",dateModified:"\uC218\uC815\uC77C",archiveTag:"\uBCF4\uAD00 \uD0DC\uADF8",timeEntries:"\uC2DC\uAC04 \uAE30\uB85D",completeInstances:"\uC644\uB8CC \uC778\uC2A4\uD134\uC2A4",blockedBy:"\uCC28\uB2E8 \uC6D0\uC778",sortOrder:"\uC218\uB3D9 \uC21C\uC11C",pomodoros:"\uBF40\uBAA8\uB3C4\uB85C",icsEventId:"ICS \uC774\uBCA4\uD2B8 ID",icsEventTag:"ICS \uC774\uBCA4\uD2B8 \uD0DC\uADF8",reminders:"\uB9AC\uB9C8\uC778\uB354"}},customUserFields:{header:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD544\uB4DC",description:"\uBDF0 \uC804\uCCB4\uC5D0\uC11C \uC720\uD615 \uC778\uC2DD \uD544\uD130 \uC635\uC158\uC73C\uB85C \uB098\uD0C0\uB098\uB294 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC744 \uC815\uC758\uD569\uB2C8\uB2E4. \uAC01 \uD589: \uD45C\uC2DC \uC774\uB984, \uC18D\uC131 \uC774\uB984, \uC720\uD615.",addNew:{name:"\uC0C8 \uC0AC\uC6A9\uC790 \uD544\uB4DC \uCD94\uAC00",description:"\uD544\uD130\uC640 \uBDF0\uC5D0 \uB098\uD0C0\uB0A0 \uC0C8 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD544\uB4DC \uB9CC\uB4E4\uAE30",buttonText:"\uC0AC\uC6A9\uC790 \uD544\uB4DC \uCD94\uAC00"},emptyState:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD544\uB4DC\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC791\uC5C5\uC5D0 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC18D\uC131\uC744 \uB9CC\uB4E4\uB824\uBA74 \uD544\uB4DC\uB97C \uCD94\uAC00\uD558\uC138\uC694.",emptyStateButton:"\uC0AC\uC6A9\uC790 \uD544\uB4DC \uCD94\uAC00",fields:{displayName:"\uD45C\uC2DC \uC774\uB984:",propertyKey:"\uC18D\uC131 \uD0A4:",type:"\uC720\uD615:",defaultValue:"\uAE30\uBCF8\uAC12:"},placeholders:{displayName:"\uD45C\uC2DC \uC774\uB984",propertyKey:"\uC18D\uC131-\uC774\uB984",defaultValue:"\uAE30\uBCF8\uAC12",defaultValueList:"\uAE30\uBCF8\uAC12 (\uC27C\uD45C\uB85C \uAD6C\uBD84)"},types:{text:"\uD14D\uC2A4\uD2B8",number:"\uC22B\uC790",boolean:"\uBD88\uB9AC\uC5B8",date:"\uB0A0\uC9DC",list:"\uBAA9\uB85D"},defaultNames:{unnamedField:"\uC774\uB984 \uC5C6\uB294 \uD544\uB4DC",noKey:"\uD0A4-\uC5C6\uC74C"},deleteTooltip:"\uD544\uB4DC \uC0AD\uC81C",autosuggestFilters:{header:"\uC790\uB3D9 \uC81C\uC548 \uD544\uD130 (\uACE0\uAE09)",description:"\uC774 \uD544\uB4DC\uC758 \uC790\uB3D9 \uC644\uC131 \uC81C\uC548\uC5D0 \uD45C\uC2DC\uB418\uB294 \uD30C\uC77C\uC744 \uD544\uD130\uB9C1"}}},appearance:{taskCards:{header:"\uC791\uC5C5 \uCE74\uB4DC",description:"\uBAA8\uB4E0 \uBDF0\uC5D0\uC11C \uC791\uC5C5 \uCE74\uB4DC\uAC00 \uD45C\uC2DC\uB418\uB294 \uBC29\uC2DD\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",defaultVisibleProperties:{name:"\uAE30\uBCF8 \uD45C\uC2DC \uC18D\uC131",description:"\uC791\uC5C5 \uCE74\uB4DC\uC5D0 \uAE30\uBCF8\uC73C\uB85C \uD45C\uC2DC\uD560 \uC18D\uC131\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4."},propertyGroups:{coreProperties:"\uD575\uC2EC \uC18D\uC131",organization:"\uC870\uC9C1",customProperties:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC18D\uC131"},properties:{status:"\uC0C1\uD0DC \uC810",priority:"\uC6B0\uC120\uC21C\uC704 \uC810",due:"\uB9C8\uAC10\uC77C",scheduled:"\uC608\uC815\uC77C",timeEstimate:"\uC2DC\uAC04 \uC608\uC0C1",totalTrackedTime:"\uCD1D \uAE30\uB85D \uC2DC\uAC04",checklistProgress:"\uCCB4\uD06C\uB9AC\uC2A4\uD2B8 \uC9C4\uD589\uB960",recurrence:"\uBC18\uBCF5",completedDate:"\uC644\uB8CC\uC77C",createdDate:"\uC0DD\uC131\uC77C",modifiedDate:"\uC218\uC815\uC77C",projects:"\uD504\uB85C\uC81D\uD2B8",contexts:"\uCEE8\uD14D\uC2A4\uD2B8",tags:"\uD0DC\uADF8",blocked:"\uCC28\uB2E8\uB428",blocking:"\uCC28\uB2E8 \uC911"}},taskFilenames:{header:"\uC791\uC5C5 \uD30C\uC77C\uBA85",description:"\uC0DD\uC131 \uC2DC \uC791\uC5C5 \uD30C\uC77C \uC774\uB984 \uC9C0\uC815 \uBC29\uBC95\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",storeTitleInFilename:{name:"\uD30C\uC77C\uBA85\uC5D0 \uC81C\uBAA9 \uC800\uC7A5",description:"\uC791\uC5C5 \uC81C\uBAA9\uC744 \uD30C\uC77C\uBA85\uC73C\uB85C \uC0AC\uC6A9. \uC791\uC5C5 \uC81C\uBAA9\uC774 \uBCC0\uACBD\uB418\uBA74 \uD30C\uC77C\uBA85\uC774 \uC5C5\uB370\uC774\uD2B8\uB429\uB2C8\uB2E4 (\uAD8C\uC7A5)."},filenameFormat:{name:"\uD30C\uC77C\uBA85 \uD615\uC2DD",description:"\uC791\uC5C5 \uD30C\uC77C\uBA85 \uC0DD\uC131 \uBC29\uBC95",options:{title:"\uC791\uC5C5 \uC81C\uBAA9 (\uC5C5\uB370\uC774\uD2B8 \uC548 \uB428)",zettel:"Zettelkasten \uD615\uC2DD (YYMMDD + base36 \uC790\uC815 \uC774\uD6C4 \uCD08)",timestamp:"\uC804\uCCB4 \uD0C0\uC784\uC2A4\uD0EC\uD504 (YYYY-MM-DD-HHMMSS)",custom:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD15C\uD50C\uB9BF",uuid:"UUID v4"}},customTemplate:{name:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD30C\uC77C\uBA85 \uD15C\uD50C\uB9BF",description:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD30C\uC77C \uC774\uB984 \uD15C\uD50C\uB9BF\uC785\uB2C8\uB2E4. \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uBCC0\uC218: {{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}}, {{uuid}}, {{nano}}, {{priority}}, {{priorityShort}}, {{status}}, {{statusShort}}, {{dueDate}}, {{scheduledDate}}",placeholder:"{{date}}-{{title}}-{{dueDate}}",helpText:"\uCC38\uACE0: {{dueDate}}\uC640 {{scheduledDate}}\uB294 YYYY-MM-DD \uD615\uC2DD\uC774\uBA70 \uC124\uC815\uB418\uC9C0 \uC54A\uC740 \uACBD\uC6B0 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."}},displayFormatting:{header:"\uD45C\uC2DC \uD615\uC2DD",description:"\uD50C\uB7EC\uADF8\uC778 \uC804\uCCB4\uC5D0\uC11C \uB0A0\uC9DC, \uC2DC\uAC04 \uBC0F \uAE30\uD0C0 \uB370\uC774\uD130\uAC00 \uD45C\uC2DC\uB418\uB294 \uBC29\uC2DD\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.",timeFormat:{name:"\uC2DC\uAC04 \uD615\uC2DD",description:"\uD50C\uB7EC\uADF8\uC778 \uC804\uCCB4\uC5D0\uC11C 12\uC2DC\uAC04 \uB610\uB294 24\uC2DC\uAC04 \uD615\uC2DD\uC73C\uB85C \uC2DC\uAC04 \uD45C\uC2DC",options:{twelveHour:"12\uC2DC\uAC04 (\uC624\uC804/\uC624\uD6C4)",twentyFourHour:"24\uC2DC\uAC04"}}},calendarView:{header:"\uCE98\uB9B0\uB354 \uBDF0",description:"\uCE98\uB9B0\uB354 \uBDF0\uC758 \uC678\uAD00\uACFC \uB3D9\uC791\uC744 \uC0AC\uC6A9\uC790 \uC9C0\uC815\uD569\uB2C8\uB2E4.",defaultView:{name:"\uAE30\uBCF8 \uBDF0",description:"\uCE98\uB9B0\uB354 \uD0ED\uC744 \uC5F4 \uB54C \uD45C\uC2DC\uB418\uB294 \uCE98\uB9B0\uB354 \uBDF0",options:{monthGrid:"\uC6D4\uAC04 \uADF8\uB9AC\uB4DC",weekTimeline:"\uC8FC\uAC04 \uD0C0\uC784\uB77C\uC778",dayTimeline:"\uC77C\uAC04 \uD0C0\uC784\uB77C\uC778",yearView:"\uC5F0\uAC04 \uBDF0",customMultiDay:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB2E4\uC77C"}},customDayCount:{name:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBDF0 \uC77C\uC218",description:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB2E4\uC77C \uBDF0\uC5D0 \uD45C\uC2DC\uD560 \uC77C\uC218",placeholder:"3"},firstDayOfWeek:{name:"\uC8FC\uC758 \uCCAB\uC9F8 \uC694\uC77C",description:"\uC8FC\uAC04 \uBDF0\uC5D0\uC11C \uCCAB \uBC88\uC9F8 \uC5F4\uC774 \uB420 \uC694\uC77C"},showWeekends:{name:"\uC8FC\uB9D0 \uD45C\uC2DC",description:"\uCE98\uB9B0\uB354 \uBDF0\uC5D0 \uC8FC\uB9D0 \uD45C\uC2DC"},showWeekNumbers:{name:"\uC8FC \uBC88\uD638 \uD45C\uC2DC",description:"\uCE98\uB9B0\uB354 \uBDF0\uC5D0 \uC8FC \uBC88\uD638 \uD45C\uC2DC"},showTodayHighlight:{name:"\uC624\uB298 \uAC15\uC870 \uD45C\uC2DC",description:"\uCE98\uB9B0\uB354 \uBDF0\uC5D0\uC11C \uD604\uC7AC \uB0A0\uC9DC \uAC15\uC870"},showCurrentTimeIndicator:{name:"\uD604\uC7AC \uC2DC\uAC04 \uD45C\uC2DC\uAE30 \uD45C\uC2DC",description:"\uD0C0\uC784\uB77C\uC778 \uBDF0\uC5D0 \uD604\uC7AC \uC2DC\uAC04\uC744 \uB098\uD0C0\uB0B4\uB294 \uC120 \uD45C\uC2DC"},selectionMirror:{name:"\uC120\uD0DD \uBBF8\uB7EC",description:"\uC2DC\uAC04 \uBC94\uC704\uB97C \uB4DC\uB798\uADF8\uD558\uC5EC \uC120\uD0DD\uD560 \uB54C \uC2DC\uAC01\uC801 \uBBF8\uB9AC\uBCF4\uAE30 \uD45C\uC2DC"},calendarLocale:{name:"\uCE98\uB9B0\uB354 \uB85C\uCF00\uC77C",description:'\uB0A0\uC9DC \uD615\uC2DD \uBC0F \uCE98\uB9B0\uB354 \uC2DC\uC2A4\uD15C\uC744 \uC704\uD55C \uCE98\uB9B0\uB354 \uB85C\uCF00\uC77C (\uC608: "en", "fa" \uD398\uB974\uC2DC\uC544\uC5B4, "de" \uB3C5\uC77C\uC5B4). \uBE0C\uB77C\uC6B0\uC800\uC5D0\uC11C \uC790\uB3D9 \uAC10\uC9C0\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694.',placeholder:"\uC790\uB3D9 \uAC10\uC9C0",invalidLocale:"\uC798\uBABB\uB41C \uB85C\uCF00\uC77C\uC785\uB2C8\uB2E4. \uC720\uD6A8\uD55C \uC5B8\uC5B4 \uD0DC\uADF8\uB97C \uC785\uB825\uD558\uC138\uC694 (\uC608: 'en', 'de', 'fr-FR')."}},defaultEventVisibility:{header:"\uAE30\uBCF8 \uC774\uBCA4\uD2B8 \uD45C\uC2DC",description:"\uCE98\uB9B0\uB354\uB97C \uC5F4 \uB54C \uAE30\uBCF8\uC73C\uB85C \uD45C\uC2DC\uB418\uB294 \uC774\uBCA4\uD2B8 \uC720\uD615\uC744 \uC124\uC815\uD569\uB2C8\uB2E4. \uC0AC\uC6A9\uC790\uB294 \uCE98\uB9B0\uB354 \uBDF0\uC5D0\uC11C \uC774\uB97C \uCF1C\uACE0 \uB04C \uC218 \uC788\uC2B5\uB2C8\uB2E4.",showScheduledTasks:{name:"\uC608\uC815\uB41C \uC791\uC5C5 \uD45C\uC2DC",description:"\uAE30\uBCF8\uC73C\uB85C \uC608\uC815\uC77C\uC774 \uC788\uB294 \uC791\uC5C5 \uD45C\uC2DC"},showDueDates:{name:"\uB9C8\uAC10\uC77C \uD45C\uC2DC",description:"\uAE30\uBCF8\uC73C\uB85C \uC791\uC5C5 \uB9C8\uAC10\uC77C \uD45C\uC2DC"},showDueWhenScheduled:{name:"\uC608\uC815\uC77C\uC774 \uC788\uC744 \uB54C \uB9C8\uAC10\uC77C \uD45C\uC2DC",description:"\uC774\uBBF8 \uC608\uC815\uC77C\uC774 \uC788\uB294 \uC791\uC5C5\uC758 \uB9C8\uAC10\uC77C\uB3C4 \uD45C\uC2DC"},showTimeEntries:{name:"\uC2DC\uAC04 \uAE30\uB85D \uD45C\uC2DC",description:"\uAE30\uBCF8\uC73C\uB85C \uC644\uB8CC\uB41C \uC2DC\uAC04 \uCD94\uC801 \uAE30\uB85D \uD45C\uC2DC"},showRecurringTasks:{name:"\uBC18\uBCF5 \uC791\uC5C5 \uD45C\uC2DC",description:"\uAE30\uBCF8\uC73C\uB85C \uBC18\uBCF5 \uC791\uC5C5 \uC778\uC2A4\uD134\uC2A4 \uD45C\uC2DC"},showICSEvents:{name:"ICS \uC774\uBCA4\uD2B8 \uD45C\uC2DC",description:"\uAE30\uBCF8\uC73C\uB85C ICS \uAD6C\uB3C5\uC758 \uC774\uBCA4\uD2B8 \uD45C\uC2DC"}},timeSettings:{header:"\uC2DC\uAC04 \uC124\uC815",description:"\uD0C0\uC784\uB77C\uC778 \uBDF0\uC758 \uC2DC\uAC04 \uAD00\uB828 \uD45C\uC2DC \uC124\uC815\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4.",timeSlotDuration:{name:"\uC2DC\uAC04 \uC2AC\uB86F \uAC04\uACA9",description:"\uD0C0\uC784\uB77C\uC778 \uBDF0\uC5D0\uC11C \uAC01 \uC2DC\uAC04 \uC2AC\uB86F\uC758 \uAE38\uC774",options:{fifteenMinutes:"15\uBD84",thirtyMinutes:"30\uBD84",sixtyMinutes:"60\uBD84"}},startTime:{name:"\uC2DC\uC791 \uC2DC\uAC04",description:"\uD0C0\uC784\uB77C\uC778 \uBDF0\uC5D0 \uD45C\uC2DC\uB418\uB294 \uAC00\uC7A5 \uC774\uB978 \uC2DC\uAC04 (HH:MM \uD615\uC2DD)",placeholder:"06:00"},endTime:{name:"\uC885\uB8CC \uC2DC\uAC04",description:"\uD0C0\uC784\uB77C\uC778 \uBCF4\uAE30\uC5D0\uC11C \uD45C\uC2DC\uD560 \uAC00\uC7A5 \uB2A6\uC740 \uC2DC\uAC04(HH:MM \uD615\uC2DD). 26:00\uC744 \uC624\uC804 2\uC2DC\uB85C \uD45C\uC2DC\uD558\uB294 \uAC83\uCC98\uB7FC 24:00\uBCF4\uB2E4 \uD070 \uAC12\uC744 \uC0AC\uC6A9\uD574 \uB2E4\uC74C \uB0A0 \uC774\uB978 \uC2DC\uAC04\uC744 \uD45C\uC2DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",placeholder:"26:00"},initialScrollTime:{name:"\uCD08\uAE30 \uC2A4\uD06C\uB864 \uC2DC\uAC04",description:"\uD0C0\uC784\uB77C\uC778 \uBDF0\uB97C \uC5F4 \uB54C \uC2A4\uD06C\uB864\uD560 \uC2DC\uAC04 (HH:MM \uD615\uC2DD)",placeholder:"09:00"},eventMinHeight:{name:"\uC774\uBCA4\uD2B8 \uCD5C\uC18C \uB192\uC774",description:"\uD0C0\uC784\uB77C\uC778 \uBDF0\uC5D0\uC11C \uC774\uBCA4\uD2B8\uC758 \uCD5C\uC18C \uB192\uC774 (\uD53D\uC140)",placeholder:"15"}},uiElements:{header:"UI \uC694\uC18C",description:"\uB2E4\uC591\uD55C UI \uC694\uC18C\uC758 \uD45C\uC2DC\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.",showTrackedTasksInStatusBar:{name:"\uC0C1\uD0DC \uD45C\uC2DC\uC904\uC5D0 \uCD94\uC801 \uC911\uC778 \uC791\uC5C5 \uD45C\uC2DC",description:"Obsidian \uC0C1\uD0DC \uD45C\uC2DC\uC904\uC5D0 \uD604\uC7AC \uCD94\uC801 \uC911\uC778 \uC791\uC5C5 \uD45C\uC2DC"},showRelationshipsWidget:{name:"\uAD00\uACC4 \uC704\uC82F \uD45C\uC2DC",description:"\uD604\uC7AC \uB178\uD2B8\uC758 \uBAA8\uB4E0 \uAD00\uACC4 (\uD558\uC704 \uC791\uC5C5, \uD504\uB85C\uC81D\uD2B8, \uC885\uC18D\uC131)\uB97C \uBCF4\uC5EC\uC8FC\uB294 \uC704\uC82F \uD45C\uC2DC"},relationshipsPosition:{name:"\uAD00\uACC4 \uC704\uCE58",description:"\uAD00\uACC4 \uC704\uC82F\uC758 \uC704\uCE58",options:{top:"\uB178\uD2B8 \uC0C1\uB2E8",bottom:"\uB178\uD2B8 \uD558\uB2E8"}},showTaskCardInNote:{name:"\uB178\uD2B8\uC5D0 \uC791\uC5C5 \uCE74\uB4DC \uD45C\uC2DC",description:"\uC791\uC5C5 \uB178\uD2B8 \uC0C1\uB2E8\uC5D0 \uC791\uC5C5 \uC138\uBD80\uC815\uBCF4\uC640 \uB3D9\uC791\uC744 \uBCF4\uC5EC\uC8FC\uB294 \uC791\uC5C5 \uCE74\uB4DC \uC704\uC82F \uD45C\uC2DC"},showCompletedTaskStrikethrough:{name:"\uC644\uB8CC\uB41C \uC791\uC5C5 \uC81C\uBAA9\uC5D0 \uCDE8\uC18C\uC120 \uD45C\uC2DC",description:"\uC644\uB8CC\uB41C \uC791\uC5C5 \uCE74\uB4DC \uC81C\uBAA9\uC5D0 \uC120\uC744 \uADF8\uB9BD\uB2C8\uB2E4. \uC644\uB8CC\uB41C \uC791\uC5C5\uC744 \uB354 \uC77D\uAE30 \uC27D\uAC8C \uBCF4\uB824\uBA74 \uB044\uC138\uC694"},showExpandableSubtasks:{name:"\uD655\uC7A5 \uAC00\uB2A5\uD55C \uD558\uC704 \uC791\uC5C5 \uD45C\uC2DC",description:"\uC791\uC5C5 \uCE74\uB4DC\uC5D0\uC11C \uD558\uC704 \uC791\uC5C5 \uC139\uC158\uC744 \uD3BC\uCE58\uACE0 \uC811\uC744 \uC218 \uC788\uB3C4\uB85D \uD5C8\uC6A9"},expandSubtasksByDefault:{name:"\uD558\uC704 \uC791\uC5C5 \uAE30\uBCF8 \uD3BC\uCE58\uAE30",description:"\uC791\uC5C5 \uCE74\uB4DC\uAC00 \uB80C\uB354\uB9C1\uB420 \uB54C \uD504\uB85C\uC81D\uD2B8 \uD558\uC704 \uC791\uC5C5\uC744 \uD3BC\uCCD0\uC11C \uD45C\uC2DC"},subtaskChevronPosition:{name:"\uD558\uC704 \uC791\uC5C5 \uD654\uC0B4\uD45C \uC704\uCE58",description:"\uC791\uC5C5 \uCE74\uB4DC\uC5D0\uC11C \uD3BC\uCE58\uAE30/\uC811\uAE30 \uD654\uC0B4\uD45C\uC758 \uC704\uCE58",options:{left:"\uC67C\uCABD",right:"\uC624\uB978\uCABD"}},viewsButtonAlignment:{name:"\uBDF0 \uBC84\uD2BC \uC815\uB82C",description:"\uC791\uC5C5 \uC778\uD130\uD398\uC774\uC2A4\uC5D0\uC11C \uBDF0/\uD544\uD130 \uBC84\uD2BC\uC758 \uC815\uB82C",options:{left:"\uC67C\uCABD",right:"\uC624\uB978\uCABD"}}},projectAutosuggest:{header:"\uD504\uB85C\uC81D\uD2B8 \uC790\uB3D9 \uC81C\uC548",description:"\uC791\uC5C5 \uC0DD\uC131 \uC2DC \uD504\uB85C\uC81D\uD2B8 \uC81C\uC548\uC774 \uD45C\uC2DC\uB418\uB294 \uBC29\uC2DD\uC744 \uC0AC\uC6A9\uC790 \uC9C0\uC815\uD569\uB2C8\uB2E4.",requiredTags:{name:"\uD544\uC218 \uD0DC\uADF8",description:"\uC774\uB7EC\uD55C \uD0DC\uADF8 \uC911 \uD558\uB098\uAC00 \uC788\uB294 \uB178\uD2B8\uB9CC \uD45C\uC2DC (\uC27C\uD45C\uB85C \uAD6C\uBD84). \uBAA8\uB4E0 \uB178\uD2B8\uB97C \uD45C\uC2DC\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694.",placeholder:"\uD504\uB85C\uC81D\uD2B8, \uD65C\uC131, \uC911\uC694"},includeFolders:{name:"\uD3EC\uD568 \uD3F4\uB354",description:"\uC774\uB7EC\uD55C \uD3F4\uB354\uC758 \uB178\uD2B8\uB9CC \uD45C\uC2DC (\uC27C\uD45C\uB85C \uAD6C\uBD84\uB41C \uACBD\uB85C). \uBAA8\uB4E0 \uD3F4\uB354\uB97C \uD45C\uC2DC\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694.",placeholder:"\uD504\uB85C\uC81D\uD2B8/, \uC5C5\uBB34/\uD65C\uC131, \uAC1C\uC778"},requiredPropertyKey:{name:"\uD544\uC218 \uC18D\uC131 \uD0A4",description:"\uC774 \uD504\uB860\uD2B8\uB9E4\uD130 \uC18D\uC131\uC774 \uC544\uB798 \uAC12\uACFC \uC77C\uCE58\uD558\uB294 \uB178\uD2B8\uB9CC \uD45C\uC2DC. \uBB34\uC2DC\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694.",placeholder:"\uC720\uD615"},requiredPropertyValue:{name:"\uD544\uC218 \uC18D\uC131 \uAC12",description:"\uC18D\uC131\uC774 \uC774 \uAC12\uACFC \uAC19\uC740 \uB178\uD2B8\uB9CC \uC81C\uC548\uB429\uB2C8\uB2E4. \uC18D\uC131 \uC874\uC7AC\uB9CC \uC694\uAD6C\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694.",placeholder:"\uD504\uB85C\uC81D\uD2B8"},customizeDisplay:{name:"\uC81C\uC548 \uD45C\uC2DC \uC0AC\uC6A9\uC790 \uC9C0\uC815",description:"\uD504\uB85C\uC81D\uD2B8 \uC81C\uC548\uC774 \uD45C\uC2DC\uB418\uB294 \uBC29\uC2DD\uACFC \uD45C\uC2DC\uB418\uB294 \uC815\uBCF4\uB97C \uC124\uC815\uD558\uB294 \uACE0\uAE09 \uC635\uC158 \uD45C\uC2DC."},enableFuzzyMatching:{name:"\uD37C\uC9C0 \uB9E4\uCE6D \uD65C\uC131\uD654",description:"\uD504\uB85C\uC81D\uD2B8 \uAC80\uC0C9\uC5D0\uC11C \uC624\uD0C0\uC640 \uBD80\uBD84 \uC77C\uCE58 \uD5C8\uC6A9. \uD070 \uBCF4\uAD00\uC18C\uC5D0\uC11C\uB294 \uB290\uB824\uC9C8 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},displayRowsHelp:"\uAC01 \uD504\uB85C\uC81D\uD2B8 \uC81C\uC548\uC5D0 \uD45C\uC2DC\uD560 \uCD5C\uB300 3\uC904\uC758 \uC815\uBCF4\uB97C \uAD6C\uC131\uD569\uB2C8\uB2E4.",displayRows:{row1:{name:"\uD589 1",description:"\uD615\uC2DD: {property|flags}. \uC18D\uC131: title, aliases, file.path, file.parent. \uD50C\uB798\uADF8: n(Label)\uC740 \uB808\uC774\uBE14 \uD45C\uC2DC, s\uB294 \uAC80\uC0C9 \uAC00\uB2A5. \uC608: {title|n(Title)|s}",placeholder:"{title|n(\uC81C\uBAA9)}"},row2:{name:"\uD589 2 (\uC120\uD0DD\uC0AC\uD56D)",description:"\uC77C\uBC18\uC801\uC778 \uD328\uD134: {aliases|n(Aliases)}, {file.parent|n(Folder)}, literal:Custom Text",placeholder:"{aliases|n(\uBCC4\uCE6D)}"},row3:{name:"\uD589 3 (\uC120\uD0DD\uC0AC\uD56D)",description:"{file.path|n(Path)} \uB610\uB294 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD504\uB860\uD2B8\uB9E4\uD130 \uD544\uB4DC \uAC19\uC740 \uCD94\uAC00 \uC815\uBCF4",placeholder:"{file.path|n(\uACBD\uB85C)}"}},quickReference:{header:"\uBE60\uB978 \uCC38\uC870",properties:"\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC18D\uC131: title, aliases, file.path, file.parent \uB610\uB294 \uBAA8\uB4E0 \uD504\uB860\uD2B8\uB9E4\uD130 \uD544\uB4DC",labels:'\uB808\uC774\uBE14 \uCD94\uAC00: {title|n(Title)} \u2192 "Title: My Project"',searchable:"\uAC80\uC0C9 \uAC00\uB2A5\uD558\uAC8C \uB9CC\uB4E4\uAE30: {description|s}\uB294 + \uAC80\uC0C9\uC5D0 \uC124\uBA85 \uD3EC\uD568",staticText:"\uC815\uC801 \uD14D\uC2A4\uD2B8: literal:My Custom Label",alwaysSearchable:"\uD30C\uC77C\uBA85, \uC81C\uBAA9, \uBCC4\uCE6D\uC740 \uAE30\uBCF8\uC801\uC73C\uB85C \uD56D\uC0C1 \uAC80\uC0C9 \uAC00\uB2A5\uD569\uB2C8\uB2E4."}},dataStorage:{name:"\uC800\uC7A5 \uC704\uCE58",description:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uAE30\uB85D\uC744 \uC800\uC7A5\uD560 \uC704\uCE58",pluginData:"\uD50C\uB7EC\uADF8\uC778 \uB370\uC774\uD130 (\uAD8C\uC7A5)",dailyNotes:"\uB370\uC77C\uB9AC \uB178\uD2B8",notices:{locationChanged:"\uBF40\uBAA8\uB3C4\uB85C \uC800\uC7A5 \uC704\uCE58\uAC00 {location}(\uC73C)\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4"}},notifications:{description:"\uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354 \uC54C\uB9BC \uBC0F \uACBD\uACE0\uB97C \uC124\uC815\uD569\uB2C8\uB2E4."},performance:{description:"\uD50C\uB7EC\uADF8\uC778 \uC131\uB2A5 \uBC0F \uB3D9\uC791 \uC635\uC158\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},timeTrackingSection:{description:"\uC790\uB3D9 \uC2DC\uAC04 \uCD94\uC801 \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},recurringSection:{description:"\uBC18\uBCF5 \uC791\uC5C5 \uAD00\uB9AC \uB3D9\uC791\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."}},integrations:{mobileCalendar:{disable:{name:"\uBAA8\uBC14\uC77C\uC5D0\uC11C \uCE98\uB9B0\uB354 \uC5F0\uB3D9 \uBE44\uD65C\uC131\uD654",description:"Obsidian Mobile\uC5D0\uC11C Google, Microsoft \uBC0F ICS \uCE98\uB9B0\uB354 \uB85C\uB4DC\uB97C \uAC74\uB108\uB701\uB2C8\uB2E4. \uB370\uC2A4\uD06C\uD1B1 \uCE98\uB9B0\uB354 \uC5F0\uB3D9\uC740 \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},status:{name:"\uC774 \uBAA8\uBC14\uC77C \uAE30\uAE30\uC5D0\uC11C \uCE98\uB9B0\uB354 \uC5F0\uB3D9\uC774 \uBE44\uD65C\uC131\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",description:"\uCE98\uB9B0\uB354 \uB85C\uB4DC\uB97C \uB2E4\uC2DC \uC2DC\uC791\uD558\uB824\uBA74 \uC774 \uC124\uC815\uC744 \uB044\uACE0 Obsidian Mobile\uC744 \uB2E4\uC2DC \uB85C\uB4DC\uD558\uC138\uC694."}},basesIntegration:{header:"\uBCA0\uC774\uC2A4 \uD1B5\uD569",description:"Obsidian \uBCA0\uC774\uC2A4 \uD50C\uB7EC\uADF8\uC778\uACFC\uC758 \uD1B5\uD569\uC744 \uC124\uC815\uD569\uB2C8\uB2E4. \uC774\uAC83\uC740 \uC2E4\uD5D8\uC801 \uAE30\uB2A5\uC774\uBA70 \uD604\uC7AC \uBB38\uC11C\uD654\uB418\uC9C0 \uC54A\uC740 Obsidian API\uC5D0 \uC758\uC874\uD569\uB2C8\uB2E4. \uB3D9\uC791\uC774 \uBCC0\uACBD\uB418\uAC70\uB098 \uC911\uB2E8\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",enable:{name:"\uBCA0\uC774\uC2A4 \uD1B5\uD569 \uD65C\uC131\uD654",description:"TaskNotes \uBDF0\uB97C Obsidian \uBCA0\uC774\uC2A4 \uD50C\uB7EC\uADF8\uC778 \uB0B4\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB3C4\uB85D \uD65C\uC131\uD654. \uC774 \uAE30\uB2A5\uC774 \uC791\uB3D9\uD558\uB824\uBA74 \uBCA0\uC774\uC2A4 \uD50C\uB7EC\uADF8\uC778\uC774 \uD65C\uC131\uD654\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4."},viewCommands:{header:"\uBDF0 \uBC0F \uBCA0\uC774\uC2A4 \uD30C\uC77C",description:"TaskNotes\uB294 Obsidian \uBCA0\uC774\uC2A4 \uD30C\uC77C (.base)\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBDF0\uB97C \uAD6C\uB3D9\uD569\uB2C8\uB2E4. \uC774 \uD30C\uC77C\uB4E4\uC740 \uC2DC\uC791 \uC2DC \uC874\uC7AC\uD558\uC9C0 \uC54A\uC73C\uBA74 \uD604\uC7AC \uC124\uC815 (\uC791\uC5C5 \uC2DD\uBCC4, \uD544\uB4DC \uB9E4\uD551, \uC0C1\uD0DC \uB4F1)\uC73C\uB85C \uC790\uB3D9 \uC0DD\uC131\uB429\uB2C8\uB2E4.",descriptionRegen:'\uC124\uC815\uC744 \uBCC0\uACBD\uD574\uB3C4 Base \uD30C\uC77C\uC740 \uC790\uB3D9\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC0C8 \uC124\uC815\uC744 \uC801\uC6A9\uD558\uB824\uBA74 \uC544\uB798\uC758 "\uD30C\uC77C \uC5C5\uB370\uC774\uD2B8"\uB97C \uC0AC\uC6A9\uD558\uAC70\uB098, \uAE30\uC874 .base \uD30C\uC77C\uC744 \uC0AD\uC81C\uD558\uACE0 Obsidian\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uAC70\uB098, \uC218\uB3D9\uC73C\uB85C \uD3B8\uC9D1\uD558\uC138\uC694.',docsLink:"\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC218\uC2DD \uBC0F \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC635\uC158\uC5D0 \uB300\uD55C \uBB38\uC11C \uBCF4\uAE30",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"\uBBF8\uB2C8 \uCE98\uB9B0\uB354 \uBDF0 \uC5F4\uAE30",kanban:"\uCE78\uBC18 \uBDF0 \uC5F4\uAE30",tasks:"\uC791\uC5C5 \uBDF0 \uC5F4\uAE30",advancedCalendar:"\uACE0\uAE09 \uCE98\uB9B0\uB354 \uBDF0 \uC5F4\uAE30",agenda:"\uC77C\uC815 \uBDF0 \uC5F4\uAE30",relationships:"\uAD00\uACC4 \uC704\uC82F",pomodoroStats:"Pomodoro \uD1B5\uACC4 Base"},fileLabel:"\uD30C\uC77C: {path}",resetButton:"\uCD08\uAE30\uD654",resetTooltip:"\uAE30\uBCF8 \uACBD\uB85C\uB85C \uCD08\uAE30\uD654",pomodoroDailyNotesHint:"\uC0DD\uC131\uB41C Pomodoro \uD1B5\uACC4 Base\uB294 \uB370\uC77C\uB9AC \uB178\uD2B8\uC5D0\uC11C Pomodoro \uAE30\uB85D\uC744 \uC77D\uC2B5\uB2C8\uB2E4. \uAE30\uB85D\uC774 \uC544\uC9C1 \uD50C\uB7EC\uADF8\uC778 \uB370\uC774\uD130\uC5D0 \uC800\uC7A5\uB418\uC5B4 \uC788\uB2E4\uBA74 \uC774 Base \uD30C\uC77C\uC744 \uC0AC\uC6A9\uD558\uAE30 \uC804\uC5D0 \uC124\uC815\uC5D0\uC11C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uD558\uC138\uC694."},autoCreateDefaultFiles:{name:"\uAE30\uBCF8 \uD30C\uC77C \uC790\uB3D9 \uC0DD\uC131",description:"\uC2DC\uC791 \uC2DC \uB204\uB77D\uB41C \uAE30\uBCF8 \uBCA0\uC774\uC2A4 \uBDF0 \uD30C\uC77C\uC744 \uC790\uB3D9\uC73C\uB85C \uC0DD\uC131. \uC0AD\uC81C\uB41C \uC0D8\uD50C \uD30C\uC77C\uC774 \uB2E4\uC2DC \uC0DD\uC131\uB418\uC9C0 \uC54A\uB3C4\uB85D \uBE44\uD65C\uC131\uD654\uD558\uC138\uC694."},createDefaultFiles:{name:"\uAE30\uBCF8 \uD30C\uC77C \uC0DD\uC131",description:"TaskNotes/Views/ \uB514\uB809\uD1A0\uB9AC\uC5D0 \uAE30\uBCF8 .base \uD30C\uC77C\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4. \uAE30\uC874 \uD30C\uC77C\uC740 \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",buttonText:"\uD30C\uC77C \uC0DD\uC131"},exportV3Views:{name:"V3 \uC800\uC7A5\uB41C \uBDF0\uB97C \uBCA0\uC774\uC2A4\uB85C \uB0B4\uBCF4\uB0B4\uAE30",description:"TaskNotes v3\uC758 \uBAA8\uB4E0 \uC800\uC7A5\uB41C \uBDF0\uB97C \uC5EC\uB7EC \uBDF0\uAC00 \uD3EC\uD568\uB41C \uB2E8\uC77C .base \uD30C\uC77C\uB85C \uBCC0\uD658\uD569\uB2C8\uB2E4. v3 \uD544\uD130 \uAD6C\uC131\uC744 \uC0C8 \uBCA0\uC774\uC2A4 \uC2DC\uC2A4\uD15C\uC73C\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uD558\uB294 \uB370 \uB3C4\uC6C0\uC774 \uB429\uB2C8\uB2E4.",buttonText:"V3 \uBDF0 \uB0B4\uBCF4\uB0B4\uAE30",noViews:"\uB0B4\uBCF4\uB0BC \uC800\uC7A5\uB41C \uBDF0\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",fileExists:"\uD30C\uC77C\uC774 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4",confirmOverwrite:'"{fileName}"\uC774\uB77C\uB294 \uD30C\uC77C\uC774 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uB36E\uC5B4\uC4F0\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?',success:"{count}\uAC1C\uC758 \uC800\uC7A5\uB41C \uBDF0\uB97C {filePath}(\uC73C)\uB85C \uB0B4\uBCF4\uB0C8\uC2B5\uB2C8\uB2E4",error:"\uBDF0 \uB0B4\uBCF4\uB0B4\uAE30 \uC2E4\uD328: {message}"},notices:{enabled:"\uBCA0\uC774\uC2A4 \uD1B5\uD569\uC774 \uD65C\uC131\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uC815\uC744 \uC644\uB8CC\uD558\uB824\uBA74 Obsidian\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694.",disabled:"\uBCA0\uC774\uC2A4 \uD1B5\uD569\uC774 \uBE44\uD65C\uC131\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC81C\uAC70\uB97C \uC644\uB8CC\uD558\uB824\uBA74 Obsidian\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694."},updateDefaultFiles:{name:"\uAE30\uBCF8 \uD30C\uC77C \uC5C5\uB370\uC774\uD2B8",description:"\uD604\uC7AC TaskNotes \uC124\uC815\uC5D0\uC11C \uC0DD\uC131\uB41C \uD15C\uD50C\uB9BF\uC73C\uB85C \uAD6C\uC131\uB41C \uAE30\uBCF8 .base \uD30C\uC77C\uC744 \uB36E\uC5B4\uC501\uB2C8\uB2E4.",buttonText:"\uD30C\uC77C \uC5C5\uB370\uC774\uD2B8",confirmTitle:"\uAE30\uBCF8 Base \uD30C\uC77C \uC5C5\uB370\uC774\uD2B8",confirmMessage:"\uAD6C\uC131\uB41C \uAE30\uBCF8 .base \uD30C\uC77C\uC744 \uC0C8\uB85C \uC0DD\uC131\uB41C \uD15C\uD50C\uB9BF\uC73C\uB85C \uB36E\uC5B4\uC501\uB2C8\uB2E4. \uD574\uB2F9 \uD30C\uC77C\uC758 \uC218\uB3D9 \uD3B8\uC9D1 \uB0B4\uC6A9\uC740 \uB300\uCCB4\uB429\uB2C8\uB2E4.",confirmText:"\uD30C\uC77C \uC5C5\uB370\uC774\uD2B8"}},calendarSubscriptions:{header:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5",description:"ICS/iCal URL\uC744 \uD1B5\uD574 \uC678\uBD80 \uCE98\uB9B0\uB354\uB97C \uAD6C\uB3C5\uD558\uC5EC \uC791\uC5C5\uACFC \uD568\uAED8 \uC774\uBCA4\uD2B8\uB97C \uBD05\uB2C8\uB2E4.",defaultNoteTemplate:{name:"\uAE30\uBCF8 \uB178\uD2B8 \uD15C\uD50C\uB9BF",description:"ICS \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131\uB41C \uB178\uD2B8\uC6A9 \uD15C\uD50C\uB9BF \uD30C\uC77C \uACBD\uB85C",placeholder:"\uD15C\uD50C\uB9BF/\uC774\uBCA4\uD2B8 \uD15C\uD50C\uB9BF.md"},defaultNoteFolder:{name:"\uAE30\uBCF8 \uB178\uD2B8 \uD3F4\uB354",description:"ICS \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131\uB41C \uB178\uD2B8\uC6A9 \uD3F4\uB354",placeholder:"\uCE98\uB9B0\uB354/\uC774\uBCA4\uD2B8"},filenameFormat:{name:"ICS \uB178\uD2B8 \uD30C\uC77C\uBA85 \uD615\uC2DD",description:"ICS \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131\uB41C \uB178\uD2B8\uC758 \uD30C\uC77C\uBA85 \uC0DD\uC131 \uBC29\uBC95",options:{title:"\uC774\uBCA4\uD2B8 \uC81C\uBAA9",zettel:"Zettelkasten \uD615\uC2DD",timestamp:"\uD0C0\uC784\uC2A4\uD0EC\uD504",custom:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD15C\uD50C\uB9BF"}},customTemplate:{name:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 ICS \uD30C\uC77C\uBA85 \uD15C\uD50C\uB9BF",description:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 ICS \uC774\uBCA4\uD2B8 \uD30C\uC77C\uBA85 \uD15C\uD50C\uB9BF",placeholder:"{date}-{title}"},useICSEndAsDue:{name:"ICS \uC774\uBCA4\uD2B8 \uC885\uB8CC \uC2DC\uAC04\uC744 \uC791\uC5C5 \uB9C8\uAC10\uC77C\uB85C \uC0AC\uC6A9",description:"\uD65C\uC131\uD654\uD558\uBA74 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131\uB41C \uC791\uC5C5\uC758 \uB9C8\uAC10\uC77C\uC774 \uC774\uBCA4\uD2B8 \uC885\uB8CC \uC2DC\uAC04\uC73C\uB85C \uC124\uC815\uB429\uB2C8\uB2E4. \uC885\uC77C \uC774\uBCA4\uD2B8\uC758 \uACBD\uC6B0 \uB9C8\uAC10\uC77C\uC774 \uC774\uBCA4\uD2B8 \uB0A0\uC9DC\uB85C \uC124\uC815\uB429\uB2C8\uB2E4. \uC2DC\uAC04\uC774 \uC9C0\uC815\uB41C \uC774\uBCA4\uD2B8\uC758 \uACBD\uC6B0 \uB9C8\uAC10\uC77C\uC5D0 \uC885\uB8CC \uC2DC\uAC04\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4."}},subscriptionsList:{header:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uBAA9\uB85D",addSubscription:{name:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uCD94\uAC00",description:"ICS/iCal URL \uB610\uB294 \uB85C\uCEEC \uD30C\uC77C\uC5D0\uC11C \uC0C8 \uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uCD94\uAC00",buttonText:"\uAD6C\uB3C5 \uCD94\uAC00"},refreshAll:{name:"\uBAA8\uB4E0 \uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68",description:"\uD65C\uC131\uD654\uB41C \uBAA8\uB4E0 \uCE98\uB9B0\uB354 \uAD6C\uB3C5\uC744 \uC218\uB3D9\uC73C\uB85C \uC0C8\uB85C\uACE0\uCE68",buttonText:"\uBAA8\uB450 \uC0C8\uB85C\uACE0\uCE68"},newCalendarName:"\uC0C8 \uCE98\uB9B0\uB354",emptyState:"\uCE98\uB9B0\uB354 \uAD6C\uB3C5\uC774 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC678\uBD80 \uCE98\uB9B0\uB354\uB97C \uB3D9\uAE30\uD654\uD558\uB824\uBA74 \uAD6C\uB3C5\uC744 \uCD94\uAC00\uD558\uC138\uC694.",notices:{addSuccess:"\uC0C8 \uCE98\uB9B0\uB354 \uAD6C\uB3C5\uC774 \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4 - \uC138\uBD80 \uC815\uBCF4\uB97C \uC124\uC815\uD558\uC138\uC694",addFailure:"\uAD6C\uB3C5 \uCD94\uAC00 \uC2E4\uD328",serviceUnavailable:"ICS \uAD6C\uB3C5 \uC11C\uBE44\uC2A4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",refreshSuccess:"\uBAA8\uB4E0 \uCE98\uB9B0\uB354 \uAD6C\uB3C5\uC774 \uC0C8\uB85C\uACE0\uCE68\uB418\uC5C8\uC2B5\uB2C8\uB2E4",refreshFailure:"\uC77C\uBD80 \uCE98\uB9B0\uB354 \uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68 \uC2E4\uD328",updateFailure:"\uAD6C\uB3C5 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328",deleteSuccess:'"{name}" \uAD6C\uB3C5\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4',deleteFailure:"\uAD6C\uB3C5 \uC0AD\uC81C \uC2E4\uD328",enableFirst:"\uBA3C\uC800 \uAD6C\uB3C5\uC744 \uD65C\uC131\uD654\uD558\uC138\uC694",refreshSubscriptionSuccess:'"{name}" \uC0C8\uB85C\uACE0\uCE68\uB428',refreshSubscriptionFailure:"\uAD6C\uB3C5 \uC0C8\uB85C\uACE0\uCE68 \uC2E4\uD328"},labels:{enabled:"\uD65C\uC131\uD654:",name:"\uC774\uB984:",type:"\uC720\uD615:",url:"URL:",filePath:"\uD30C\uC77C \uACBD\uB85C:",color:"\uC0C9\uC0C1:",refreshMinutes:"\uC0C8\uB85C\uACE0\uCE68 (\uBD84):"},typeOptions:{remote:"\uC6D0\uACA9 URL",local:"\uB85C\uCEEC \uD30C\uC77C"},placeholders:{calendarName:"\uCE98\uB9B0\uB354 \uC774\uB984",url:"ICS/iCal \uC8FC\uC18C",filePath:"\uB85C\uCEEC \uD30C\uC77C \uACBD\uB85C (\uC608: Calendar.ics)",localFile:"\uCE98\uB9B0\uB354.ics"},statusLabels:{enabled:"\uD65C\uC131\uD654\uB428",disabled:"\uBE44\uD65C\uC131\uD654\uB428",remote:"\uC6D0\uACA9",localFile:"\uB85C\uCEEC \uD30C\uC77C",remoteCalendar:"\uC6D0\uACA9 \uCE98\uB9B0\uB354",localFileCalendar:"\uB85C\uCEEC \uD30C\uC77C",synced:"{timeAgo} \uC804 \uB3D9\uAE30\uD654\uB428",error:"\uC624\uB958"},actions:{refreshNow:"\uC9C0\uAE08 \uC0C8\uB85C\uACE0\uCE68",deleteSubscription:"\uAD6C\uB3C5 \uC0AD\uC81C"},refreshNow:"\uC9C0\uAE08 \uC0C8\uB85C\uACE0\uCE68",confirmDelete:{title:"\uAD6C\uB3C5 \uC0AD\uC81C",message:'"{name}" \uAD6C\uB3C5\uC744 \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? \uC774 \uC791\uC5C5\uC740 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.',confirmText:"\uC0AD\uC81C"}},autoExport:{header:"\uC790\uB3D9 ICS \uB0B4\uBCF4\uB0B4\uAE30",description:"\uBAA8\uB4E0 \uC791\uC5C5\uC744 ICS \uD30C\uC77C\uB85C \uC790\uB3D9 \uB0B4\uBCF4\uB0B4\uAE30.",enable:{name:"\uC790\uB3D9 \uB0B4\uBCF4\uB0B4\uAE30 \uD65C\uC131\uD654",description:"\uBAA8\uB4E0 \uC791\uC5C5\uC73C\uB85C ICS \uD30C\uC77C\uC744 \uC790\uB3D9\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8"},filePath:{name:"\uB0B4\uBCF4\uB0B4\uAE30 \uD30C\uC77C \uACBD\uB85C",description:"ICS \uD30C\uC77C\uC774 \uC800\uC7A5\uB420 \uACBD\uB85C (\uBCF4\uAD00\uC18C \uB8E8\uD2B8 \uAE30\uC900)",placeholder:"tasknotes-\uCE98\uB9B0\uB354.ics"},interval:{name:"\uC5C5\uB370\uC774\uD2B8 \uAC04\uACA9 (5~1440\uBD84)",description:"\uB0B4\uBCF4\uB0B4\uAE30 \uD30C\uC77C \uC5C5\uB370\uC774\uD2B8 \uC8FC\uAE30",placeholder:"60"},useDuration:{name:"\uC791\uC5C5 \uC18C\uC694 \uC2DC\uAC04\uC744 \uC774\uBCA4\uD2B8 \uAE38\uC774\uB85C \uC0AC\uC6A9",description:"\uD65C\uC131\uD654\uD558\uBA74 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 \uC885\uB8CC \uC2DC\uAC04\uC5D0 \uB9C8\uAC10\uC77C \uB300\uC2E0 \uC791\uC5C5\uC758 \uC608\uC0C1 \uC2DC\uAC04(\uC18C\uC694 \uC2DC\uAC04)\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC774\uB294 \uC608\uC815 + \uC18C\uC694 \uC2DC\uAC04\uC774 \uC791\uC5C5 \uACC4\uD68D\uC744 \uB098\uD0C0\uB0B4\uACE0 \uB9C8\uAC10\uC77C\uC774 \uAE30\uD55C\uC744 \uB098\uD0C0\uB0B4\uB294 GTD \uC6CC\uD06C\uD50C\uB85C\uC6B0\uC5D0 \uC720\uC6A9\uD569\uB2C8\uB2E4."},exportNow:{name:"\uC9C0\uAE08 \uB0B4\uBCF4\uB0B4\uAE30",description:"\uC989\uC2DC \uB0B4\uBCF4\uB0B4\uAE30\uB97C \uC218\uB3D9\uC73C\uB85C \uD2B8\uB9AC\uAC70",buttonText:"\uC9C0\uAE08 \uB0B4\uBCF4\uB0B4\uAE30"},status:{title:"\uB0B4\uBCF4\uB0B4\uAE30 \uC0C1\uD0DC:",lastExport:"\uB9C8\uC9C0\uB9C9 \uB0B4\uBCF4\uB0B4\uAE30: {time}",nextExport:"\uB2E4\uC74C \uB0B4\uBCF4\uB0B4\uAE30: {time}",noExports:"\uC544\uC9C1 \uB0B4\uBCF4\uB0B4\uAE30 \uC5C6\uC74C",notScheduled:"\uC608\uC815\uB418\uC9C0 \uC54A\uC74C",notInitialized:"\uC790\uB3D9 \uB0B4\uBCF4\uB0B4\uAE30 \uC11C\uBE44\uC2A4\uAC00 \uCD08\uAE30\uD654\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4 - Obsidian\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694",serviceNotInitialized:"\uC11C\uBE44\uC2A4\uAC00 \uCD08\uAE30\uD654\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4 - Obsidian\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694"},notices:{reloadRequired:"\uC790\uB3D9 \uB0B4\uBCF4\uB0B4\uAE30 \uBCC0\uACBD \uC0AC\uD56D\uC744 \uC801\uC6A9\uD558\uB824\uBA74 Obsidian\uC744 \uB2E4\uC2DC \uB85C\uB4DC\uD558\uC138\uC694.",exportSuccess:"\uC791\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uB0B4\uBCF4\uB0B4\uC84C\uC2B5\uB2C8\uB2E4",exportFailure:"\uB0B4\uBCF4\uB0B4\uAE30 \uC2E4\uD328 - \uCF58\uC194\uC5D0\uC11C \uC790\uC138\uD55C \uB0B4\uC6A9\uC744 \uD655\uC778\uD558\uC138\uC694",serviceUnavailable:"\uC790\uB3D9 \uB0B4\uBCF4\uB0B4\uAE30 \uC11C\uBE44\uC2A4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4"},excludeCompleted:{name:"\uC644\uB8CC\uB41C \uC791\uC5C5 \uC81C\uC678",description:"\uD65C\uC131\uD654\uD558\uBA74 \uC644\uB8CC\uB41C \uC791\uC5C5\uC740 ICS \uB0B4\uBCF4\uB0B4\uAE30\uC5D0\uC11C \uC81C\uC678\uB429\uB2C8\uB2E4. \uC644\uB8CC \uC0C1\uD0DC\uB294 \uC791\uC5C5 \uC0C1\uD0DC \uC124\uC815\uC5D0\uC11C \uAC00\uC838\uC635\uB2C8\uB2E4."},excludeArchived:{name:"\uBCF4\uAD00\uB41C \uC791\uC5C5 \uC81C\uC678",description:"\uD65C\uC131\uD654\uD558\uBA74 \uBCF4\uAD00\uB41C \uC791\uC5C5\uC740 ICS \uB0B4\uBCF4\uB0B4\uAE30\uC5D0\uC11C \uC81C\uC678\uB429\uB2C8\uB2E4."},requireDueDate:{name:"\uB9C8\uAC10\uC77C \uD544\uC694",description:"\uD65C\uC131\uD654\uD558\uBA74 \uB9C8\uAC10\uC77C\uC774 \uC788\uB294 \uC791\uC5C5\uB9CC ICS \uB0B4\uBCF4\uB0B4\uAE30\uC5D0 \uD3EC\uD568\uB429\uB2C8\uB2E4."},requireScheduledDate:{name:"\uC608\uC57D\uC77C \uD544\uC694",description:"\uD65C\uC131\uD654\uD558\uBA74 \uC608\uC57D\uC77C\uC774 \uC788\uB294 \uC791\uC5C5\uB9CC ICS \uB0B4\uBCF4\uB0B4\uAE30\uC5D0 \uD3EC\uD568\uB429\uB2C8\uB2E4."}},googleCalendarExport:{header:"Google \uCE98\uB9B0\uB354\uB85C \uC791\uC5C5 \uB0B4\uBCF4\uB0B4\uAE30",description:"\uC791\uC5C5\uC744 Google \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB85C \uC790\uB3D9 \uB3D9\uAE30\uD654\uD569\uB2C8\uB2E4. \uC704\uC5D0\uC11C Google \uCE98\uB9B0\uB354\uAC00 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",enable:{name:"\uC791\uC5C5 \uB0B4\uBCF4\uB0B4\uAE30 \uD65C\uC131\uD654",description:"\uD65C\uC131\uD654\uD558\uBA74 \uB0A0\uC9DC\uAC00 \uC788\uB294 \uC791\uC5C5\uC774 Google \uCE98\uB9B0\uB354\uC5D0 \uC774\uBCA4\uD2B8\uB85C \uC790\uB3D9 \uB3D9\uAE30\uD654\uB429\uB2C8\uB2E4."},targetCalendar:{name:"\uB300\uC0C1 \uCE98\uB9B0\uB354",description:"\uC791\uC5C5 \uC774\uBCA4\uD2B8\uB97C \uC0DD\uC131\uD560 \uCE98\uB9B0\uB354\uB97C \uC120\uD0DD\uD558\uC138\uC694.",placeholder:"\uCE98\uB9B0\uB354 \uC120\uD0DD...",connectFirst:"\uBA3C\uC800 Google \uCE98\uB9B0\uB354\uB97C \uC5F0\uACB0\uD558\uC138\uC694",primarySuffix:" (\uAE30\uBCF8)"},syncTrigger:{name:"\uB3D9\uAE30\uD654 \uD2B8\uB9AC\uAC70",description:"\uC5B4\uB5A4 \uC791\uC5C5 \uB0A0\uC9DC\uAC00 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 \uC0DD\uC131\uC744 \uD2B8\uB9AC\uAC70\uD560\uC9C0 \uC124\uC815\uD569\uB2C8\uB2E4.",options:{scheduled:"\uC608\uC815 \uB0A0\uC9DC",due:"\uB9C8\uAC10 \uB0A0\uC9DC",both:"\uB458 \uB2E4 (\uC608\uC815 \uB0A0\uC9DC \uC6B0\uC120)"}},allDayEvents:{name:"\uC885\uC77C \uC774\uBCA4\uD2B8\uB85C \uC0DD\uC131",description:"\uD65C\uC131\uD654\uD558\uBA74 \uC791\uC5C5\uC774 \uC885\uC77C \uC774\uBCA4\uD2B8\uB85C \uC0DD\uC131\uB429\uB2C8\uB2E4. \uBE44\uD65C\uC131\uD654\uD558\uBA74 \uC2DC\uAC04 \uCD94\uC815\uC744 \uAE30\uAC04\uC73C\uB85C \uC0AC\uC6A9\uD569\uB2C8\uB2E4."},defaultDuration:{name:"\uAE30\uBCF8 \uC774\uBCA4\uD2B8 \uAE30\uAC04",description:"\uC2DC\uAC04\uC774 \uC9C0\uC815\uB41C \uC774\uBCA4\uD2B8\uC758 \uAE30\uAC04(\uBD84) (\uC791\uC5C5\uC5D0 \uC2DC\uAC04 \uCD94\uC815\uC774 \uC5C6\uC744 \uB54C \uC0AC\uC6A9)."},eventTitleTemplate:{name:"\uC774\uBCA4\uD2B8 \uC81C\uBAA9 \uD15C\uD50C\uB9BF",description:"\uC774\uBCA4\uD2B8 \uC81C\uBAA9 \uD15C\uD50C\uB9BF. \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uBCC0\uC218: {{title}}, {{status}}, {{priority}}",placeholder:"{{title}}"},includeDescription:{name:"\uC124\uBA85\uC5D0 \uC791\uC5C5 \uC138\uBD80 \uC815\uBCF4 \uD3EC\uD568",description:"\uC774\uBCA4\uD2B8 \uC124\uBA85\uC5D0 \uC791\uC5C5 \uBA54\uD0C0\uB370\uC774\uD130(\uC6B0\uC120\uC21C\uC704, \uC0C1\uD0DC, \uD0DC\uADF8 \uB4F1)\uB97C \uCD94\uAC00\uD569\uB2C8\uB2E4."},includeObsidianLink:{name:"Obsidian \uB9C1\uD06C \uD3EC\uD568",description:"\uC774\uBCA4\uD2B8 \uC124\uBA85\uC5D0 Obsidian\uC758 \uC791\uC5C5\uC73C\uB85C \uB3CC\uC544\uAC00\uB294 \uB9C1\uD06C\uB97C \uCD94\uAC00\uD569\uB2C8\uB2E4."},defaultReminder:{name:"\uAE30\uBCF8 \uC54C\uB9BC",description:"\uC2DC\uAC04\uC774 \uC9C0\uC815\uB41C Google Calendar \uC774\uBCA4\uD2B8\uC5D0 \uD31D\uC5C5 \uB9AC\uB9C8\uC778\uB354\uB97C \uCD94\uAC00\uD569\uB2C8\uB2E4. \uC774\uBCA4\uD2B8 \uC804 \uBD84 \uC218\uB97C \uC27C\uD45C\uB85C \uAD6C\uBD84\uD574 \uC785\uB825\uD558\uC138\uC694. \uBE44\uC6CC \uB450\uBA74 \uCE98\uB9B0\uB354 \uAE30\uBCF8\uAC12\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC77C\uBC18\uC801\uC778 \uAC12: 15, 30, 60, 1440."},automaticSyncBehavior:{header:"\uC790\uB3D9 \uB3D9\uAE30\uD654 \uB3D9\uC791"},syncOnCreate:{name:"\uC791\uC5C5 \uC0DD\uC131 \uC2DC \uB3D9\uAE30\uD654",description:"\uC0C8 \uC791\uC5C5\uC774 \uC0DD\uC131\uB420 \uB54C \uC790\uB3D9\uC73C\uB85C \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4."},syncOnUpdate:{name:"\uC791\uC5C5 \uC5C5\uB370\uC774\uD2B8 \uC2DC \uB3D9\uAE30\uD654",description:"\uC791\uC5C5\uC774 \uC218\uC815\uB420 \uB54C \uC790\uB3D9\uC73C\uB85C \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB97C \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4."},syncOnComplete:{name:"\uC791\uC5C5 \uC644\uB8CC \uC2DC \uB3D9\uAE30\uD654",description:"\uC791\uC5C5\uC774 \uC644\uB8CC\uB418\uBA74 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB97C \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4 (\uC81C\uBAA9\uC5D0 \uCCB4\uD06C \uD45C\uC2DC \uCD94\uAC00)."},syncOnDelete:{name:"\uC791\uC5C5 \uC0AD\uC81C \uC2DC \uC774\uBCA4\uD2B8 \uC0AD\uC81C",description:"\uD574\uB2F9 \uC791\uC5C5\uC774 \uC0AD\uC81C\uB418\uBA74 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4."},manualSyncActions:{header:"\uC218\uB3D9 \uB3D9\uAE30\uD654 \uC791\uC5C5"},syncAllTasks:{name:"\uBAA8\uB4E0 \uC791\uC5C5 \uB3D9\uAE30\uD654",description:"\uBAA8\uB4E0 \uAE30\uC874 \uC791\uC5C5\uC744 Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654\uD569\uB2C8\uB2E4. \uC544\uC9C1 \uB3D9\uAE30\uD654\uB418\uC9C0 \uC54A\uC740 \uC791\uC5C5\uC5D0 \uB300\uD574 \uC774\uBCA4\uD2B8\uAC00 \uC0DD\uC131\uB429\uB2C8\uB2E4.",buttonText:"\uBAA8\uB450 \uB3D9\uAE30\uD654"},unlinkAllTasks:{name:"\uBAA8\uB4E0 \uC791\uC5C5 \uC5F0\uACB0 \uD574\uC81C",description:"\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB97C \uC0AD\uC81C\uD558\uC9C0 \uC54A\uACE0 \uBAA8\uB4E0 \uC791\uC5C5-\uC774\uBCA4\uD2B8 \uB9C1\uD06C\uB97C \uC81C\uAC70\uD569\uB2C8\uB2E4.",buttonText:"\uBAA8\uB450 \uC5F0\uACB0 \uD574\uC81C",confirmTitle:"\uBAA8\uB4E0 \uC791\uC5C5 \uC5F0\uACB0 \uD574\uC81C",confirmMessage:"\uC791\uC5C5\uACFC \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 \uAC04\uC758 \uBAA8\uB4E0 \uB9C1\uD06C\uAC00 \uC81C\uAC70\uB429\uB2C8\uB2E4. \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uB294 \uC720\uC9C0\uB418\uC9C0\uB9CC \uC791\uC5C5 \uBCC0\uACBD \uC2DC \uB354 \uC774\uC0C1 \uC5C5\uB370\uC774\uD2B8\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD655\uC2E4\uD569\uB2C8\uAE4C?",confirmButtonText:"\uBAA8\uB450 \uC5F0\uACB0 \uD574\uC81C"},notices:{notEnabled:"Google \uCE98\uB9B0\uB354 \uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uD65C\uC131\uD654\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC124\uC815 > \uD1B5\uD569\uC5D0\uC11C \uAD6C\uC131\uD558\uC138\uC694.",notEnabledOrConfigured:"Google \uCE98\uB9B0\uB354 \uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uD65C\uC131\uD654\uB418\uAC70\uB098 \uAD6C\uC131\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4",serviceNotAvailable:"\uC791\uC5C5 \uCE98\uB9B0\uB354 \uB3D9\uAE30\uD654 \uC11C\uBE44\uC2A4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",syncResults:"\uB3D9\uAE30\uD654\uB428: {synced}, \uC2E4\uD328: {failed}, \uAC74\uB108\uB700: {skipped}",taskSynced:"\uC791\uC5C5\uC774 Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",noActiveFile:"\uD604\uC7AC \uD65C\uC131 \uD30C\uC77C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",notATask:"\uD604\uC7AC \uD30C\uC77C\uC740 \uC791\uC5C5\uC774 \uC544\uB2D9\uB2C8\uB2E4",noDateToSync:"\uB3D9\uAE30\uD654\uD560 \uC608\uC815 \uB0A0\uC9DC \uB610\uB294 \uB9C8\uAC10 \uB0A0\uC9DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",syncFailed:"Google \uCE98\uB9B0\uB354\uC5D0 \uC791\uC5C5 \uB3D9\uAE30\uD654 \uC2E4\uD328: {message}",connectionExpired:"Google \uCE98\uB9B0\uB354 \uC5F0\uACB0\uC774 \uB9CC\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uC815 > \uD1B5\uD569\uC5D0\uC11C \uB2E4\uC2DC \uC5F0\uACB0\uD558\uC138\uC694.",syncingTasks:"{total}\uAC1C\uC758 \uC791\uC5C5\uC744 Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654 \uC911...",syncComplete:"\uB3D9\uAE30\uD654 \uC644\uB8CC: {synced}\uAC1C \uB3D9\uAE30\uD654\uB428, {failed}\uAC1C \uC2E4\uD328, {skipped}\uAC1C \uAC74\uB108\uB700",eventsDeletedAndUnlinked:"\uBAA8\uB4E0 \uC774\uBCA4\uD2B8\uAC00 \uC0AD\uC81C\uB418\uACE0 \uC5F0\uACB0 \uD574\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4",tasksUnlinked:"\uBAA8\uB4E0 \uC791\uC5C5 \uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4"},eventDescription:{untitledTask:"\uC81C\uBAA9 \uC5C6\uB294 \uC791\uC5C5",priority:"\uC6B0\uC120\uC21C\uC704: {value}",status:"\uC0C1\uD0DC: {value}",due:"\uB9C8\uAC10: {value}",scheduled:"\uC608\uC815: {value}",timeEstimate:"\uC2DC\uAC04 \uCD94\uC815: {value}",tags:"\uD0DC\uADF8: {value}",contexts:"\uCEE8\uD14D\uC2A4\uD2B8: {value}",projects:"\uD504\uB85C\uC81D\uD2B8: {value}",openInObsidian:"Obsidian\uC5D0\uC11C \uC5F4\uAE30"}},httpApi:{header:"HTTP API",description:"\uC678\uBD80 \uD1B5\uD569 \uBC0F \uC790\uB3D9\uD654\uB97C \uC704\uD55C HTTP API \uD65C\uC131\uD654.",enable:{name:"HTTP API \uD65C\uC131\uD654",description:"API \uC561\uC138\uC2A4\uB97C \uC704\uD55C \uB85C\uCEEC HTTP \uC11C\uBC84 \uC2DC\uC791"},port:{name:"API \uD3EC\uD2B8",description:"HTTP API \uC11C\uBC84\uC758 \uD3EC\uD2B8 \uBC88\uD638",placeholder:"3000"},authToken:{name:"API \uC778\uC99D \uD1A0\uD070",description:"API \uC778\uC99D\uC5D0 \uD544\uC694\uD55C \uD1A0\uD070 (\uC778\uC99D \uC5C6\uC774 \uC0AC\uC6A9\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694)",placeholder:"\uBE44\uBC00-\uD1A0\uD070"},mcp:{enable:{name:"MCP \uC11C\uBC84 \uD65C\uC131\uD654",description:"Model Context Protocol\uC744 \uD1B5\uD574 /mcp \uC5D4\uB4DC\uD3EC\uC778\uD2B8\uC5D0\uC11C TaskNotes \uB3C4\uAD6C\uB97C \uB178\uCD9C\uD569\uB2C8\uB2E4. HTTP API\uAC00 \uD65C\uC131\uD654\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4."}},endpoints:{header:"\uC0AC\uC6A9 \uAC00\uB2A5\uD55C API \uC5D4\uB4DC\uD3EC\uC778\uD2B8",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"\uC6F9\uD6C5",description:{overview:"\uC6F9\uD6C5\uC740 TaskNotes \uC774\uBCA4\uD2B8\uAC00 \uBC1C\uC0DD\uD560 \uB54C \uC678\uBD80 \uC11C\uBE44\uC2A4\uC5D0 \uC2E4\uC2DC\uAC04 \uC54C\uB9BC\uC744 \uBCF4\uB0C5\uB2C8\uB2E4.",usage:"\uC790\uB3D9\uD654 \uB3C4\uAD6C, \uB3D9\uAE30\uD654 \uC11C\uBE44\uC2A4 \uB610\uB294 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uACFC \uD1B5\uD569\uD558\uB824\uBA74 \uC6F9\uD6C5\uC744 \uAD6C\uC131\uD558\uC138\uC694."},addWebhook:{name:"\uC6F9\uD6C5 \uCD94\uAC00",description:"\uC0C8 \uC6F9\uD6C5 \uC5D4\uB4DC\uD3EC\uC778\uD2B8 \uB4F1\uB85D",buttonText:"\uC6F9\uD6C5 \uCD94\uAC00"},emptyState:{message:"\uC6F9\uD6C5\uC774 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC2E4\uC2DC\uAC04 \uC54C\uB9BC\uC744 \uBC1B\uC73C\uB824\uBA74 \uC6F9\uD6C5\uC744 \uCD94\uAC00\uD558\uC138\uC694.",buttonText:"\uC6F9\uD6C5 \uCD94\uAC00"},labels:{active:"\uD65C\uC131:",url:"URL:",events:"\uC774\uBCA4\uD2B8:",transform:"\uBCC0\uD658:"},placeholders:{url:"\uC6F9\uD6C5 URL",noEventsSelected:"\uC120\uD0DD\uB41C \uC774\uBCA4\uD2B8 \uC5C6\uC74C",rawPayload:"\uC6D0\uBCF8 \uD398\uC774\uB85C\uB4DC (\uBCC0\uD658 \uC5C6\uC74C)"},statusLabels:{active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",created:"{timeAgo} \uC804 \uC0DD\uC131\uB428"},actions:{editEvents:"\uC774\uBCA4\uD2B8 \uD3B8\uC9D1",delete:"\uC0AD\uC81C"},editEvents:"\uC774\uBCA4\uD2B8 \uD3B8\uC9D1",notices:{urlUpdated:"\uC6F9\uD6C5 URL\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4",enabled:"\uC6F9\uD6C5\uC774 \uD65C\uC131\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",disabled:"\uC6F9\uD6C5\uC774 \uBE44\uD65C\uC131\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",created:"\uC6F9\uD6C5\uC774 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",deleted:"\uC6F9\uD6C5\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4",updated:"\uC6F9\uD6C5\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4"},confirmDelete:{title:"\uC6F9\uD6C5 \uC0AD\uC81C",message:`\uC774 \uC6F9\uD6C5\uC744 \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?
URL: {url}
\uC774 \uC791\uC5C5\uC740 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.`,confirmText:"\uC0AD\uC81C"},cardHeader:"\uC6F9\uD6C5",cardFields:{active:"\uD65C\uC131:",url:"URL:",events:"\uC774\uBCA4\uD2B8:",transform:"\uBCC0\uD658:"},eventsDisplay:{noEvents:"\uC120\uD0DD\uB41C \uC774\uBCA4\uD2B8 \uC5C6\uC74C"},transformDisplay:{noTransform:"\uC6D0\uBCF8 \uD398\uC774\uB85C\uB4DC (\uBCC0\uD658 \uC5C6\uC74C)"},secretModal:{title:"\uC6F9\uD6C5 \uC2DC\uD06C\uB9BF \uC0DD\uC131\uB428",description:"\uC6F9\uD6C5 \uC2DC\uD06C\uB9BF\uC774 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBCFC \uC218 \uC5C6\uC73C\uBBC0\uB85C \uC774 \uC2DC\uD06C\uB9BF\uC744 \uC800\uC7A5\uD558\uC138\uC694:",usage:"\uC218\uC2E0 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC5D0\uC11C \uC6F9\uD6C5 \uD398\uC774\uB85C\uB4DC\uB97C \uD655\uC778\uD558\uB294 \uB370 \uC774 \uC2DC\uD06C\uB9BF\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.",gotIt:"\uD655\uC778"},editModal:{title:"\uC6F9\uD6C5 \uD3B8\uC9D1",eventsHeader:"\uAD6C\uB3C5\uD560 \uC774\uBCA4\uD2B8"},events:{taskCreated:{label:"\uC791\uC5C5 \uC0DD\uC131\uB428",description:"\uC0C8 \uC791\uC5C5\uC774 \uC0DD\uC131\uB420 \uB54C"},taskUpdated:{label:"\uC791\uC5C5 \uC5C5\uB370\uC774\uD2B8\uB428",description:"\uC791\uC5C5\uC774 \uC218\uC815\uB420 \uB54C"},taskCompleted:{label:"\uC791\uC5C5 \uC644\uB8CC\uB428",description:"\uC791\uC5C5\uC774 \uC644\uB8CC\uB85C \uD45C\uC2DC\uB420 \uB54C"},taskDeleted:{label:"\uC791\uC5C5 \uC0AD\uC81C\uB428",description:"\uC791\uC5C5\uC774 \uC0AD\uC81C\uB420 \uB54C"},taskArchived:{label:"\uC791\uC5C5 \uBCF4\uAD00\uB428",description:"\uC791\uC5C5\uC774 \uBCF4\uAD00\uB420 \uB54C"},taskUnarchived:{label:"\uC791\uC5C5 \uBCF4\uAD00 \uD574\uC81C\uB428",description:"\uC791\uC5C5\uC774 \uBCF4\uAD00 \uD574\uC81C\uB420 \uB54C"},timeStarted:{label:"\uC2DC\uAC04 \uCD94\uC801 \uC2DC\uC791\uB428",description:"\uC2DC\uAC04 \uCD94\uC801\uC774 \uC2DC\uC791\uB420 \uB54C"},timeStopped:{label:"\uC2DC\uAC04 \uCD94\uC801 \uC911\uC9C0\uB428",description:"\uC2DC\uAC04 \uCD94\uC801\uC774 \uC911\uC9C0\uB420 \uB54C"},pomodoroStarted:{label:"\uBF40\uBAA8\uB3C4\uB85C \uC2DC\uC791\uB428",description:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158\uC774 \uC2DC\uC791\uB420 \uB54C"},pomodoroCompleted:{label:"\uBF40\uBAA8\uB3C4\uB85C \uC644\uB8CC\uB428",description:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158\uC774 \uC644\uB8CC\uB420 \uB54C"},pomodoroInterrupted:{label:"\uBF40\uBAA8\uB3C4\uB85C \uC911\uB2E8\uB428",description:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158\uC774 \uC911\uC9C0\uB420 \uB54C"},recurringCompleted:{label:"\uBC18\uBCF5 \uC778\uC2A4\uD134\uC2A4 \uC644\uB8CC\uB428",description:"\uBC18\uBCF5 \uC791\uC5C5 \uC778\uC2A4\uD134\uC2A4\uAC00 \uC644\uB8CC\uB420 \uB54C"},reminderTriggered:{label:"\uB9AC\uB9C8\uC778\uB354 \uD2B8\uB9AC\uAC70\uB428",description:"\uC791\uC5C5 \uB9AC\uB9C8\uC778\uB354\uAC00 \uD65C\uC131\uD654\uB420 \uB54C"}},modals:{secretGenerated:{title:"\uC6F9\uD6C5 \uC2DC\uD06C\uB9BF \uC0DD\uC131\uB428",description:"\uC6F9\uD6C5 \uC2DC\uD06C\uB9BF\uC774 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBCFC \uC218 \uC5C6\uC73C\uBBC0\uB85C \uC774 \uC2DC\uD06C\uB9BF\uC744 \uC800\uC7A5\uD558\uC138\uC694:",usage:"\uC218\uC2E0 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC5D0\uC11C \uC6F9\uD6C5 \uD398\uC774\uB85C\uB4DC\uB97C \uD655\uC778\uD558\uB294 \uB370 \uC774 \uC2DC\uD06C\uB9BF\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.",buttonText:"\uD655\uC778"},edit:{title:"\uC6F9\uD6C5 \uD3B8\uC9D1",eventsSection:"\uAD6C\uB3C5\uD560 \uC774\uBCA4\uD2B8",transformSection:"\uBCC0\uD658 \uAD6C\uC131 (\uC120\uD0DD\uC0AC\uD56D)",headersSection:"\uD5E4\uB354 \uAD6C\uC131",transformFile:{name:"\uBCC0\uD658 \uD30C\uC77C",description:"\uC6F9\uD6C5 \uD398\uC774\uB85C\uB4DC\uB97C \uBCC0\uD658\uD558\uB294 \uBCF4\uAD00\uC18C\uC758 .json \uD15C\uD50C\uB9BF \uD30C\uC77C \uACBD\uB85C",placeholder:"simple-template.json"},customHeaders:{name:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD5E4\uB354 \uD3EC\uD568",description:"TaskNotes \uD5E4\uB354 (\uC774\uBCA4\uD2B8 \uC720\uD615, \uC11C\uBA85, \uC804\uB2EC ID) \uD3EC\uD568. Discord, Slack \uBC0F \uC5C4\uACA9\uD55C CORS \uC815\uCC45\uC744 \uAC00\uC9C4 \uB2E4\uB978 \uC11C\uBE44\uC2A4\uC5D0\uC11C\uB294 \uBE44\uD65C\uC131\uD654\uD558\uC138\uC694."},buttons:{cancel:"\uCDE8\uC18C",save:"\uBCC0\uACBD \uC0AC\uD56D \uC800\uC7A5"},notices:{selectAtLeastOneEvent:"\uCD5C\uC18C \uD558\uB098\uC758 \uC774\uBCA4\uD2B8\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},add:{title:"\uC6F9\uD6C5 \uCD94\uAC00",eventsSection:"\uAD6C\uB3C5\uD560 \uC774\uBCA4\uD2B8",transformSection:"\uBCC0\uD658 \uAD6C\uC131 (\uC120\uD0DD\uC0AC\uD56D)",headersSection:"\uD5E4\uB354 \uAD6C\uC131",url:{name:"\uC6F9\uD6C5 URL",description:"\uC6F9\uD6C5 \uD398\uC774\uB85C\uB4DC\uAC00 \uC804\uC1A1\uB420 \uC5D4\uB4DC\uD3EC\uC778\uD2B8",placeholder:"https://your-service.com/webhook"},transformFile:{name:"\uBCC0\uD658 \uD30C\uC77C",description:"\uC6F9\uD6C5 \uD398\uC774\uB85C\uB4DC\uB97C \uBCC0\uD658\uD558\uB294 \uBCF4\uAD00\uC18C\uC758 .json \uD15C\uD50C\uB9BF \uD30C\uC77C \uACBD\uB85C",placeholder:"simple-template.json"},customHeaders:{name:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD5E4\uB354 \uD3EC\uD568",description:"TaskNotes \uD5E4\uB354 (\uC774\uBCA4\uD2B8 \uC720\uD615, \uC11C\uBA85, \uC804\uB2EC ID) \uD3EC\uD568. Discord, Slack \uBC0F \uC5C4\uACA9\uD55C CORS \uC815\uCC45\uC744 \uAC00\uC9C4 \uB2E4\uB978 \uC11C\uBE44\uC2A4\uC5D0\uC11C\uB294 \uBE44\uD65C\uC131\uD654\uD558\uC138\uC694."},transformHelp:{title:"JSON \uBCC0\uD658 \uD15C\uD50C\uB9BF\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC6F9\uD6C5 \uD398\uC774\uB85C\uB4DC\uB97C \uC0AC\uC6A9\uC790 \uC9C0\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:",jsFiles:"",jsDescription:"",jsonFiles:".json \uD30C\uC77C:",jsonDescription:" ",jsonVariable:"${data.task.title}",leaveEmpty:"\uBE44\uC6CC\uB450\uAE30:",leaveEmptyDescription:" \uC6D0\uBCF8 \uB370\uC774\uD130 \uC804\uC1A1",example:"\uC608:",exampleFile:"simple-template.json"},buttons:{cancel:"\uCDE8\uC18C",add:"\uC6F9\uD6C5 \uCD94\uAC00"},notices:{urlRequired:"\uC6F9\uD6C5 URL\uC774 \uD544\uC694\uD569\uB2C8\uB2E4",selectAtLeastOneEvent:"\uCD5C\uC18C \uD558\uB098\uC758 \uC774\uBCA4\uD2B8\uB97C \uC120\uD0DD\uD558\uC138\uC694"}}}},otherIntegrations:{header:"\uAE30\uD0C0 \uD50C\uB7EC\uADF8\uC778 \uD1B5\uD569",description:"\uB2E4\uB978 Obsidian \uD50C\uB7EC\uADF8\uC778\uACFC\uC758 \uD1B5\uD569\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},mdbaseSpec:{header:"mdbase \uD0C0\uC785 \uC815\uC758",learnMore:"mdbase-spec\uC5D0 \uB300\uD574 \uC790\uC138\uD788 \uC54C\uC544\uBCF4\uAE30",enable:{name:"mdbase \uD0C0\uC785 \uC815\uC758 \uC0DD\uC131",description:"\uC124\uC815\uC774 \uBCC0\uACBD\uB420 \uB54C \uBCF4\uAD00\uC18C \uB8E8\uD2B8\uC5D0 mdbase \uD0C0\uC785 \uD30C\uC77C(mdbase.yaml \uBC0F _types/task.md)\uC744 \uC0DD\uC131\uD558\uACE0 \uC720\uC9C0\uD569\uB2C8\uB2E4."}},timeFormats:{justNow:"\uBC29\uAE08",minutesAgo:"{minutes}\uBD84 \uC804",hoursAgo:"{hours}\uC2DC\uAC04 \uC804",daysAgo:"{days}\uC77C \uC804"}}},notices:{languageChanged:"\uC5B8\uC5B4\uAC00 {language}(\uC73C)\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",exportTasksFailed:"ICS \uD30C\uC77C\uB85C \uC791\uC5C5 \uB0B4\uBCF4\uB0B4\uAE30 \uC2E4\uD328",icsNoteCreatedSuccess:"\uB178\uD2B8\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",icsCreationModalOpenFailed:"\uC0DD\uC131 \uBAA8\uB2EC \uC5F4\uAE30 \uC2E4\uD328",icsNoteLinkSuccess:'\uB178\uD2B8 "{fileName}"\uC774(\uAC00) ICS \uC774\uBCA4\uD2B8\uC5D0 \uC5F0\uACB0\uB418\uC5C8\uC2B5\uB2C8\uB2E4',icsTaskCreatedSuccess:"\uC791\uC5C5 \uC0DD\uC131\uB428: {title}",icsRelatedItemsRefreshed:"\uAD00\uB828 \uB178\uD2B8\uAC00 \uC0C8\uB85C\uACE0\uCE68\uB418\uC5C8\uC2B5\uB2C8\uB2E4",icsFileNotFound:"\uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uAC70\uB098 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4",icsFileOpenFailed:"\uD30C\uC77C \uC5F4\uAE30 \uC2E4\uD328",timeblockAttachmentExists:'"{fileName}"\uC774(\uAC00) \uC774\uBBF8 \uCCA8\uBD80\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4',timeblockAttachmentAdded:'"{fileName}"\uC774(\uAC00) \uCCA8\uBD80 \uD30C\uC77C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4',timeblockAttachmentRemoved:'"{fileName}"\uC774(\uAC00) \uCCA8\uBD80 \uD30C\uC77C\uC5D0\uC11C \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4',timeblockFileTypeNotSupported:'"{fileName}"\uC744(\uB97C) \uC5F4 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4 - \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uD30C\uC77C \uD615\uC2DD',timeblockTitleRequired:"\uD0C0\uC784\uBE14\uB85D \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694",timeblockUpdatedSuccess:'\uD0C0\uC784\uBE14\uB85D "{title}"\uC774(\uAC00) \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4',timeblockUpdateFailed:"\uD0C0\uC784\uBE14\uB85D \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uCF58\uC194\uC744 \uD655\uC778\uD558\uC138\uC694.",timeblockDeletedSuccess:'\uD0C0\uC784\uBE14\uB85D "{title}"\uC774(\uAC00) \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4',timeblockDeleteFailed:"\uD0C0\uC784\uBE14\uB85D \uC0AD\uC81C \uC2E4\uD328. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uCF58\uC194\uC744 \uD655\uC778\uD558\uC138\uC694.",timeblockRequiredFieldsMissing:"\uBAA8\uB4E0 \uD544\uC218 \uD544\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",agendaLoadingFailed:"\uC77C\uC815 \uB85C\uB529 \uC911 \uC624\uB958. \uC0C8\uB85C\uACE0\uCE68\uC744 \uC2DC\uB3C4\uD558\uC138\uC694.",statsLoadingFailed:"\uD504\uB85C\uC81D\uD2B8 \uC138\uBD80\uC815\uBCF4 \uB85C\uB529 \uC911 \uC624\uB958."},commands:{openCalendarView:"\uBBF8\uB2C8 \uCE98\uB9B0\uB354 \uBDF0 \uC5F4\uAE30",openAdvancedCalendarView:"\uCE98\uB9B0\uB354 \uBDF0 \uC5F4\uAE30",openTasksView:"\uC791\uC5C5 \uBDF0 \uC5F4\uAE30",openNotesView:"\uB178\uD2B8 \uBDF0 \uC5F4\uAE30",openAgendaView:"\uC77C\uC815 \uBDF0 \uC5F4\uAE30",openPomodoroView:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38 \uC5F4\uAE30",openKanbanView:"\uCE78\uBC18 \uBCF4\uB4DC \uC5F4\uAE30",openPomodoroStats:"\uBF40\uBAA8\uB3C4\uB85C \uD1B5\uACC4 \uC5F4\uAE30",openStatisticsView:"\uC791\uC5C5 \uBC0F \uD504\uB85C\uC81D\uD2B8 \uD1B5\uACC4 \uC5F4\uAE30",createNewTask:"\uC0C8 \uC791\uC5C5 \uB9CC\uB4E4\uAE30",convertCurrentNoteToTask:{name:"\uD604\uC7AC \uB178\uD2B8\uB97C \uC791\uC5C5\uC73C\uB85C \uBCC0\uD658",noActiveFile:"\uBCC0\uD658\uD560 \uD65C\uC131 \uD30C\uC77C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",alreadyTask:"\uC774 \uB178\uD2B8\uB294 \uC774\uBBF8 \uC791\uC5C5\uC785\uB2C8\uB2E4",success:"'{title}'\uC744(\uB97C) \uC791\uC5C5\uC73C\uB85C \uBCC0\uD658\uD588\uC2B5\uB2C8\uB2E4"},convertToTaskNote:"\uCCB4\uD06C\uBC15\uC2A4 \uC791\uC5C5\uC744 TaskNote\uB85C \uBCC0\uD658",convertAllTasksInNote:"\uB178\uD2B8\uC758 \uBAA8\uB4E0 \uC791\uC5C5 \uBCC0\uD658",insertTaskNoteLink:"TaskNote \uB9C1\uD06C \uC0BD\uC785",createInlineTask:"\uC0C8 \uC778\uB77C\uC778 \uC791\uC5C5 \uB9CC\uB4E4\uAE30",quickActionsCurrentTask:"\uD604\uC7AC \uC791\uC5C5\uC758 \uBE60\uB978 \uC791\uC5C5",goToTodayNote:"\uC624\uB298\uC758 \uB178\uD2B8\uB85C \uC774\uB3D9",startPomodoro:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38 \uC2DC\uC791",stopPomodoro:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38 \uC911\uC9C0",pauseResumePomodoro:"\uBF40\uBAA8\uB3C4\uB85C \uD0C0\uC774\uBA38 \uC77C\uC2DC \uC815\uC9C0/\uC7AC\uAC1C",refreshCache:"\uCE90\uC2DC \uC0C8\uB85C\uACE0\uCE68",exportAllTasksIcs:"\uBAA8\uB4E0 \uC791\uC5C5\uC744 ICS \uD30C\uC77C\uB85C \uB0B4\uBCF4\uB0B4\uAE30",viewReleaseNotes:"\uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uBCF4\uAE30",startTimeTrackingWithSelector:"\uC2DC\uAC04 \uCD94\uC801 \uC2DC\uC791 (\uC791\uC5C5 \uC120\uD0DD)",editTimeEntries:"\uC2DC\uAC04 \uAE30\uB85D \uD3B8\uC9D1 (\uC791\uC5C5 \uC120\uD0DD)",createOrOpenTask:"\uC791\uC5C5 \uB9CC\uB4E4\uAE30 \uB610\uB294 \uC5F4\uAE30",createOrOpenTaskWithTracking:"\uC791\uC5C5\uC744 \uB9CC\uB4E4\uAC70\uB098 \uC5F4\uACE0 \uC2DC\uAC04 \uCD94\uC801 \uC2DC\uC791",rolloverOverdueScheduledTasks:"\uAE30\uD55C\uC774 \uC9C0\uB09C \uC608\uC57D \uC791\uC5C5\uC744 \uC624\uB298\uB85C \uC5F0\uAE30",syncAllTasksGoogleCalendar:"\uBAA8\uB4E0 \uC791\uC5C5\uC744 Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654",syncCurrentTaskGoogleCalendar:"\uD604\uC7AC \uC791\uC5C5\uC744 Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654",quickActionsTaskUnderCursor:"\uCEE4\uC11C \uC544\uB798 \uC791\uC5C5\uC758 \uBE60\uB978 \uC791\uC5C5",editCurrentTask:"\uD604\uC7AC \uC791\uC5C5 \uD3B8\uC9D1",cycleCurrentTaskStatus:"\uD604\uC7AC \uC791\uC5C5 \uC0C1\uD0DC \uC21C\uD658",cycleCurrentTaskPriority:"\uD604\uC7AC \uC791\uC5C5 \uC6B0\uC120\uC21C\uC704 \uC21C\uD658",addProjectToCurrentTask:"\uD604\uC7AC \uC791\uC5C5\uC5D0 \uD504\uB85C\uC81D\uD2B8 \uCD94\uAC00",addSubtaskToCurrentNote:"\uD604\uC7AC \uB178\uD2B8\uC5D0 \uD558\uC704 \uC791\uC5C5 \uCD94\uAC00"},modals:{deviceCode:{title:"Google \uCE98\uB9B0\uB354 \uC778\uC99D",instructions:{intro:"Google \uCE98\uB9B0\uB354\uC5D0 \uC5F0\uACB0\uD558\uB824\uBA74 \uB2E4\uC74C \uB2E8\uACC4\uB97C \uB530\uB974\uC138\uC694:"},steps:{open:"\uC5F4\uAE30",inBrowser:"(\uBE0C\uB77C\uC6B0\uC800\uC5D0\uC11C)",enterCode:"\uBA54\uC2DC\uC9C0\uAC00 \uD45C\uC2DC\uB418\uBA74 \uC774 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694:",signIn:"Google \uACC4\uC815\uC73C\uB85C \uB85C\uADF8\uC778\uD558\uACE0 \uC561\uC138\uC2A4 \uAD8C\uD55C\uC744 \uBD80\uC5EC\uD558\uC138\uC694",returnToObsidian:"Obsidian\uC73C\uB85C \uB3CC\uC544\uAC00\uC138\uC694 (\uC774 \uCC3D\uC740 \uC790\uB3D9\uC73C\uB85C \uB2EB\uD799\uB2C8\uB2E4)"},codeLabel:"\uCF54\uB4DC:",copyCodeAriaLabel:"\uCF54\uB4DC \uBCF5\uC0AC",waitingForAuthorization:"\uC778\uC99D \uB300\uAE30 \uC911...",openBrowserButton:"\uBE0C\uB77C\uC6B0\uC800 \uC5F4\uAE30",cancelButton:"\uCDE8\uC18C",expiresMinutesSeconds:"\uCF54\uB4DC \uB9CC\uB8CC: {minutes}\uBD84 {seconds}\uCD08",expiresSeconds:"\uCF54\uB4DC \uB9CC\uB8CC: {seconds}\uCD08"},icsEventInfo:{calendarEventHeading:"\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8",titleLabel:"\uC81C\uBAA9",calendarLabel:"\uCE98\uB9B0\uB354",dateTimeLabel:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04",locationLabel:"\uC704\uCE58",descriptionLabel:"\uC124\uBA85",urlLabel:"URL",relatedNotesHeading:"\uAD00\uB828 \uB178\uD2B8 \uBC0F \uC791\uC5C5",noRelatedItems:"\uC774 \uC774\uBCA4\uD2B8\uC5D0 \uB300\uD55C \uAD00\uB828 \uB178\uD2B8\uB098 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",typeTask:"\uC791\uC5C5",typeNote:"\uB178\uD2B8",actionsHeading:"\uC791\uC5C5",createFromEventLabel:"\uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131",createFromEventDesc:"\uC774 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0C8 \uB178\uD2B8\uB098 \uC791\uC5C5 \uC0DD\uC131",linkExistingLabel:"\uAE30\uC874 \uD56D\uBAA9 \uC5F0\uACB0",linkExistingDesc:"\uC774 \uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8\uC5D0 \uAE30\uC874 \uB178\uD2B8 \uC5F0\uACB0"},timeblockInfo:{editHeading:"\uD0C0\uC784\uBE14\uB85D \uD3B8\uC9D1",dateTimeLabel:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04: ",titleLabel:"\uC81C\uBAA9",titleDesc:"\uD0C0\uC784\uBE14\uB85D \uC81C\uBAA9",titlePlaceholder:"\uC608: \uC9D1\uC911 \uC791\uC5C5 \uC2DC\uAC04",descriptionLabel:"\uC124\uBA85",descriptionDesc:"\uD0C0\uC784\uBE14\uB85D\uC5D0 \uB300\uD55C \uC120\uD0DD\uC801 \uC124\uBA85",descriptionPlaceholder:"\uC0C8 \uAE30\uB2A5\uC5D0 \uC9D1\uC911, \uBC29\uD574 \uAE08\uC9C0",colorLabel:"\uC0C9\uC0C1",colorDesc:"\uD0C0\uC784\uBE14\uB85D\uC758 \uC120\uD0DD\uC801 \uC0C9\uC0C1",colorPlaceholder:"#3b82f6",attachmentsLabel:"\uCCA8\uBD80 \uD30C\uC77C",attachmentsDesc:"\uC774 \uD0C0\uC784\uBE14\uB85D\uC5D0 \uC5F0\uACB0\uB41C \uD30C\uC77C \uB610\uB294 \uB178\uD2B8",addAttachmentButton:"\uCCA8\uBD80 \uD30C\uC77C \uCD94\uAC00",addAttachmentTooltip:"\uD37C\uC9C0 \uAC80\uC0C9\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD30C\uC77C \uB610\uB294 \uB178\uD2B8 \uC120\uD0DD",deleteButton:"\uD0C0\uC784\uBE14\uB85D \uC0AD\uC81C",saveButton:"\uBCC0\uACBD \uC0AC\uD56D \uC800\uC7A5",deleteConfirmationTitle:"\uD0C0\uC784\uBE14\uB85D \uC0AD\uC81C"},timeblockCreation:{heading:"\uD0C0\uC784\uBE14\uB85D \uB9CC\uB4E4\uAE30",dateLabel:"\uB0A0\uC9DC: ",titleLabel:"\uC81C\uBAA9",titleDesc:"\uD0C0\uC784\uBE14\uB85D \uC81C\uBAA9",titlePlaceholder:"\uC608: \uC9D1\uC911 \uC791\uC5C5 \uC2DC\uAC04",startTimeLabel:"\uC2DC\uC791 \uC2DC\uAC04",startTimeDesc:"\uD0C0\uC784\uBE14\uB85D \uC2DC\uC791 \uC2DC\uAC04",startTimePlaceholder:"09:00",endTimeLabel:"\uC885\uB8CC \uC2DC\uAC04",endTimeDesc:"\uD0C0\uC784\uBE14\uB85D \uC885\uB8CC \uC2DC\uAC04",endTimePlaceholder:"11:00",descriptionLabel:"\uC124\uBA85",descriptionDesc:"\uD0C0\uC784\uBE14\uB85D\uC5D0 \uB300\uD55C \uC120\uD0DD\uC801 \uC124\uBA85",descriptionPlaceholder:"\uC0C8 \uAE30\uB2A5\uC5D0 \uC9D1\uC911, \uBC29\uD574 \uAE08\uC9C0",colorLabel:"\uC0C9\uC0C1",colorDesc:"\uD0C0\uC784\uBE14\uB85D\uC758 \uC120\uD0DD\uC801 \uC0C9\uC0C1",colorPlaceholder:"#3b82f6",attachmentsLabel:"\uCCA8\uBD80 \uD30C\uC77C",attachmentsDesc:"\uC774 \uD0C0\uC784\uBE14\uB85D\uC5D0 \uC5F0\uACB0\uD560 \uD30C\uC77C \uB610\uB294 \uB178\uD2B8",addAttachmentButton:"\uCCA8\uBD80 \uD30C\uC77C \uCD94\uAC00",addAttachmentTooltip:"\uD37C\uC9C0 \uAC80\uC0C9\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD30C\uC77C \uB610\uB294 \uB178\uD2B8 \uC120\uD0DD",createButton:"\uD0C0\uC784\uBE14\uB85D \uB9CC\uB4E4\uAE30"},calendarEventCreation:{heading:"\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 \uB9CC\uB4E4\uAE30",dateTimeLabel:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04: ",titleLabel:"\uC81C\uBAA9",titleDesc:"\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 \uC81C\uBAA9",titlePlaceholder:"\uC608: \uD300 \uD68C\uC758",calendarLabel:"\uCE98\uB9B0\uB354",calendarDesc:"\uC774\uBCA4\uD2B8\uB97C \uB9CC\uB4E4 \uCE98\uB9B0\uB354",descriptionLabel:"\uC124\uBA85",descriptionDesc:"\uC774\uBCA4\uD2B8\uC5D0 \uB300\uD55C \uC120\uD0DD\uC801 \uC124\uBA85",descriptionPlaceholder:"\uC774\uBCA4\uD2B8\uC5D0 \uB300\uD55C \uC138\uBD80\uC815\uBCF4 \uCD94\uAC00...",locationLabel:"\uC704\uCE58",locationDesc:"\uC774\uBCA4\uD2B8\uC758 \uC120\uD0DD\uC801 \uC704\uCE58",locationPlaceholder:"\uC608: \uD68C\uC758\uC2E4 A",createButton:"\uC774\uBCA4\uD2B8 \uB9CC\uB4E4\uAE30",titleRequired:"\uC774\uBCA4\uD2B8 \uC81C\uBAA9\uC740 \uD544\uC218\uC785\uB2C8\uB2E4",noCalendarSelected:"\uCE98\uB9B0\uB354\uAC00 \uC120\uD0DD\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4",success:'\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 "{title}" \uC0DD\uC131\uB428',error:"\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8 \uC0DD\uC131 \uC2E4\uD328: {message}"},icsNoteCreation:{heading:"ICS \uC774\uBCA4\uD2B8\uC5D0\uC11C \uC0DD\uC131",titleLabel:"\uC81C\uBAA9",titleDesc:"\uC0C8 \uCF58\uD150\uCE20\uC758 \uC81C\uBAA9",folderLabel:"\uD3F4\uB354",folderDesc:"\uB300\uC0C1 \uD3F4\uB354 (\uBCF4\uAD00\uC18C \uB8E8\uD2B8\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74 \uBE44\uC6CC\uB450\uC138\uC694)",folderPlaceholder:"\uD3F4\uB354/\uD558\uC704\uD3F4\uB354",createButton:"\uC0DD\uC131",startLabel:"\uC2DC\uC791: ",endLabel:"\uC885\uB8CC: ",locationLabel:"\uC704\uCE58: ",calendarLabel:"\uCE98\uB9B0\uB354: ",useTemplateLabel:"\uD15C\uD50C\uB9BF \uC0AC\uC6A9",useTemplateDesc:"\uCF58\uD150\uCE20 \uC0DD\uC131 \uC2DC \uD15C\uD50C\uB9BF \uC801\uC6A9",templatePathLabel:"\uD15C\uD50C\uB9BF \uACBD\uB85C",templatePathDesc:"\uD15C\uD50C\uB9BF \uD30C\uC77C \uACBD\uB85C",templatePathPlaceholder:"\uD15C\uD50C\uB9BF/ICS \uB178\uD2B8 \uD15C\uD50C\uB9BF.md"},unscheduledTasksSelector:{title:"\uC608\uC815\uB418\uC9C0 \uC54A\uC740 \uC791\uC5C5",placeholder:"\uC608\uC815\uB418\uC9C0 \uC54A\uC740 \uC791\uC5C5\uC744 \uAC80\uC0C9\uD558\uC138\uC694...",instructions:{navigate:"\uD0D0\uC0C9",schedule:"\uC608\uC815",dismiss:"\uB2EB\uAE30"}},migration:{title:"\uC0C8 \uBC18\uBCF5 \uC2DC\uC2A4\uD15C\uC73C\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158",description:"TaskNotes\uB294 \uC774\uC81C \uBC18\uBCF5\uC5D0 \uB300\uD574 \uC5C5\uACC4 \uD45C\uC900 RRULE \uD328\uD134\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC774\uB97C \uD1B5\uD574 \uB354 \uBCF5\uC7A1\uD55C \uC77C\uC815\uACFC \uB2E4\uB978 \uC571\uACFC\uC758 \uD638\uD658\uC131\uC774 \uD5A5\uC0C1\uB429\uB2C8\uB2E4.",tasksFound:"\uC774\uC804 \uBC18\uBCF5 \uD328\uD134\uC744 \uAC00\uC9C4 {count}\uAC1C\uC758 \uC791\uC5C5\uC774 \uAC10\uC9C0\uB418\uC5C8\uC2B5\uB2C8\uB2E4",noMigrationNeeded:"\uB9C8\uC774\uADF8\uB808\uC774\uC158\uC774 \uD544\uC694\uD55C \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",warnings:{title:"\uC9C4\uD589\uD558\uAE30 \uC804\uC5D0:",backup:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC804\uC5D0 \uBCF4\uAD00\uC18C\uB97C \uBC31\uC5C5\uD558\uC138\uC694",conversion:"\uC774\uC804 \uBC18\uBCF5 \uD328\uD134\uC774 \uC0C8 \uD615\uC2DD\uC73C\uB85C \uBCC0\uD658\uB429\uB2C8\uB2E4",normalUsage:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC911\uC5D0\uB3C4 TaskNotes\uB97C \uC815\uC0C1\uC801\uC73C\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",permanent:"\uC774 \uBCC0\uACBD\uC740 \uC601\uAD6C\uC801\uC774\uBA70 \uC790\uB3D9\uC73C\uB85C \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4"},benefits:{title:"\uC0C8 \uC2DC\uC2A4\uD15C\uC758 \uC774\uC810:",powerfulPatterns:"\uBCF5\uC7A1\uD55C \uBC18\uBCF5 \uD328\uD134 (\uC608: '\uB9E4\uC6D4 \uB450 \uBC88\uC9F8 \uD654\uC694\uC77C')",performance:"\uBC18\uBCF5 \uC791\uC5C5\uC5D0 \uB300\uD55C \uB354 \uB098\uC740 \uC131\uB2A5",compatibility:"\uB2E4\uB978 \uC571\uACFC \uD638\uD658\uB418\uB294 \uD45C\uC900 \uBC18\uBCF5 \uD615\uC2DD",nlp:"\uD5A5\uC0C1\uB41C \uC790\uC5F0\uC5B4 \uCC98\uB9AC \uC9C0\uC6D0"},progress:{title:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC9C4\uD589 \uC0C1\uD669",preparing:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC900\uBE44 \uC911...",completed:"\uB9C8\uC774\uADF8\uB808\uC774\uC158\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",failed:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD328"},buttons:{migrate:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2DC\uC791",completed:"\uB2EB\uAE30"},errors:{title:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC911 \uC624\uB958:"},notices:{completedWithErrors:"\uC77C\uBD80 \uC624\uB958\uC640 \uD568\uAED8 \uB9C8\uC774\uADF8\uB808\uC774\uC158\uC774 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC704\uC758 \uC624\uB958 \uBAA9\uB85D\uC744 \uD655\uC778\uD558\uC138\uC694.",success:"\uBAA8\uB4E0 \uC791\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uB418\uC5C8\uC2B5\uB2C8\uB2E4!",failed:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD328. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uCF58\uC194\uC744 \uD655\uC778\uD558\uC138\uC694."},prompt:{message:"TaskNotes\uC5D0\uC11C \uC774\uC804 \uBC18\uBCF5 \uD615\uC2DD\uC744 \uC0AC\uC6A9\uD558\uB294 \uC791\uC5C5\uC744 \uAC10\uC9C0\uD588\uC2B5\uB2C8\uB2E4. \uC9C0\uAE08 \uC0C8 \uC2DC\uC2A4\uD15C\uC73C\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",migrateNow:"\uC9C0\uAE08 \uB9C8\uC774\uADF8\uB808\uC774\uC158",remindLater:"\uB098\uC911\uC5D0 \uC54C\uB9BC"}},task:{titlePlaceholder:"\uBB34\uC5C7\uC744 \uD574\uC57C \uD558\uB098\uC694?",titleLabel:"\uC81C\uBAA9",titleDetailedPlaceholder:"\uC791\uC5C5 \uC81C\uBAA9...",detailsLabel:"\uC138\uBD80\uC815\uBCF4",detailsPlaceholder:"\uC138\uBD80\uC815\uBCF4 \uCD94\uAC00...",projectsLabel:"\uD504\uB85C\uC81D\uD2B8",projectsAdd:"\uD504\uB85C\uC81D\uD2B8 \uCD94\uAC00",projectsTooltip:"\uD37C\uC9C0 \uAC80\uC0C9\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD504\uB85C\uC81D\uD2B8 \uB178\uD2B8 \uC120\uD0DD",projectsRemoveTooltip:"\uD504\uB85C\uC81D\uD2B8 \uC81C\uAC70",contextsLabel:"\uCEE8\uD14D\uC2A4\uD2B8",contextsPlaceholder:"\uCEE8\uD14D\uC2A4\uD2B81, \uCEE8\uD14D\uC2A4\uD2B82",tagsLabel:"\uD0DC\uADF8",tagsPlaceholder:"\uD0DC\uADF81, \uD0DC\uADF82",timeEstimateLabel:"\uC2DC\uAC04 \uC608\uC0C1 (\uBD84)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"\uC800\uC7A5\uB418\uC9C0 \uC54A\uC740 \uBCC0\uACBD \uC0AC\uD56D",message:"\uC800\uC7A5\uB418\uC9C0 \uC54A\uC740 \uBCC0\uACBD \uC0AC\uD56D\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC800\uC7A5\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",save:"\uBCC0\uACBD \uC0AC\uD56D \uC800\uC7A5",discard:"\uBCC0\uACBD \uC0AC\uD56D \uBC84\uB9AC\uAE30",cancel:"\uACC4\uC18D \uD3B8\uC9D1"},dependencies:{blockedBy:"\uCC28\uB2E8 \uC6D0\uC778",blocking:"\uCC28\uB2E8 \uC911",placeholder:"[[\uC791\uC5C5 \uB178\uD2B8]]",addTaskButton:"\uC791\uC5C5 \uCD94\uAC00",selectTaskTooltip:"\uD37C\uC9C0 \uAC80\uC0C9\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC791\uC5C5 \uB178\uD2B8 \uC120\uD0DD",removeTaskTooltip:"\uC791\uC5C5 \uC81C\uAC70"},organization:{projects:"\uD504\uB85C\uC81D\uD2B8",subtasks:"\uD558\uC704 \uC791\uC5C5",addToProject:"\uD504\uB85C\uC81D\uD2B8\uC5D0 \uCD94\uAC00",addToProjectButton:"\uD504\uB85C\uC81D\uD2B8\uC5D0 \uCD94\uAC00",addSubtasks:"\uD558\uC704 \uC791\uC5C5 \uCD94\uAC00",addSubtasksButton:"\uD558\uC704 \uC791\uC5C5 \uCD94\uAC00",addSubtasksTooltip:"\uC774 \uC791\uC5C5\uC758 \uD558\uC704 \uC791\uC5C5\uC73C\uB85C \uB9CC\uB4E4 \uC791\uC5C5 \uC120\uD0DD",removeSubtaskTooltip:"\uD558\uC704 \uC791\uC5C5 \uC81C\uAC70",notices:{noEligibleSubtasks:"\uD558\uC704 \uC791\uC5C5\uC73C\uB85C \uC9C0\uC815\uD560 \uC218 \uC788\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",subtaskSelectFailed:"\uD558\uC704 \uC791\uC5C5 \uC120\uD0DD\uAE30 \uC5F4\uAE30 \uC2E4\uD328"}},customFieldsLabel:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD544\uB4DC",actions:{due:"\uB9C8\uAC10\uC77C \uC124\uC815",scheduled:"\uC608\uC815\uC77C \uC124\uC815",status:"\uC0C1\uD0DC \uC124\uC815",priority:"\uC6B0\uC120\uC21C\uC704 \uC124\uC815",recurrence:"\uBC18\uBCF5 \uC124\uC815",reminders:"\uB9AC\uB9C8\uC778\uB354 \uC124\uC815"},buttons:{openNote:"\uB178\uD2B8 \uC5F4\uAE30",save:"\uC800\uC7A5"},tooltips:{dueValue:"\uB9C8\uAC10: {value}",scheduledValue:"\uC608\uC815: {value}",statusValue:"\uC0C1\uD0DC: {value}",priorityValue:"\uC6B0\uC120\uC21C\uC704: {value}",recurrenceValue:"\uBC18\uBCF5: {value}",remindersSingle:"1\uAC1C\uC758 \uB9AC\uB9C8\uC778\uB354 \uC124\uC815\uB428",remindersPlural:"{count}\uAC1C\uC758 \uB9AC\uB9C8\uC778\uB354 \uC124\uC815\uB428"},dateMenu:{dueTitle:"\uB9C8\uAC10\uC77C \uC124\uC815",scheduledTitle:"\uC608\uC815\uC77C \uC124\uC815"},userFields:{textPlaceholder:"{field} \uC785\uB825...",numberPlaceholder:"0",datePlaceholder:"YYYY-MM-DD",listPlaceholder:"\uD56D\uBAA91, \uD56D\uBAA92, \uD56D\uBAA93",pickDate:"{field} \uB0A0\uC9DC \uC120\uD0DD"},recurrence:{daily:"\uB9E4\uC77C",weekly:"\uB9E4\uC8FC",everyTwoWeeks:"2\uC8FC\uB9C8\uB2E4",weekdays:"\uD3C9\uC77C",weeklyOn:"{days}\uB9C8\uB2E4",monthly:"\uB9E4\uC6D4",everyThreeMonths:"3\uAC1C\uC6D4\uB9C8\uB2E4",monthlyOnOrdinal:"\uB9E4\uC6D4 {ordinal}",monthlyByWeekday:"\uB9E4\uC6D4 (\uC694\uC77C \uAE30\uC900)",yearly:"\uB9E4\uB144",yearlyOn:"\uB9E4\uB144 {month} {day}",custom:"\uC0AC\uC6A9\uC790 \uC9C0\uC815",countSuffix:"{count}\uD68C",untilSuffix:"{date}\uAE4C\uC9C0",ordinal:"{number}{suffix}"}},taskSelector:{title:"\uC791\uC5C5 \uC120\uD0DD",placeholder:"\uC791\uC5C5\uC744 \uAC80\uC0C9\uD558\uC138\uC694...",instructions:{navigate:"\uD0D0\uC0C9",select:"\uC120\uD0DD",dismiss:"\uCDE8\uC18C"},notices:{noteNotFound:'"{name}" \uB178\uD2B8\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4'},dueDate:{overdue:"\uB9C8\uAC10: {date} (\uC9C0\uC5F0\uB428)",today:"\uB9C8\uAC10: \uC624\uB298"}},taskSelectorWithCreate:{title:"\uC791\uC5C5 \uB9CC\uB4E4\uAE30 \uB610\uB294 \uC5F4\uAE30",placeholder:"\uC791\uC5C5\uC744 \uAC80\uC0C9\uD558\uAC70\uB098 \uC0C8\uB85C \uB9CC\uB4E4\uB824\uBA74 \uC785\uB825\uD558\uC138\uC694...",instructions:{create:"\uC0C8 \uC791\uC5C5 \uB9CC\uB4E4\uAE30"},footer:{createLabel:" \uB9CC\uB4E4\uAE30: "},notices:{emptyQuery:"\uC791\uC5C5 \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694",invalidTitle:"\uC720\uD6A8\uD55C \uC791\uC5C5 \uC81C\uBAA9\uC744 \uD30C\uC2F1\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4"}},taskCreation:{title:"\uC791\uC5C5 \uB9CC\uB4E4\uAE30",actions:{fillFromNaturalLanguage:"\uC790\uC5F0\uC5B4\uC5D0\uC11C \uC591\uC2DD \uCC44\uC6B0\uAE30",hideDetailedOptions:"\uC0C1\uC138 \uC635\uC158 \uC228\uAE30\uAE30",showDetailedOptions:"\uC0C1\uC138 \uC635\uC158 \uBCF4\uAE30"},nlPlaceholder:"\uB0B4\uC77C \uC624\uD6C4 3\uC2DC\uC5D0 \uC7A5\uBCF4\uAE30 @home #\uC2EC\uBD80\uB984",notices:{titleRequired:"\uC791\uC5C5 \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694",success:'\uC791\uC5C5 "{title}"\uC774(\uAC00) \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4',successShortened:'\uC791\uC5C5 "{title}"\uC774(\uAC00) \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4 (\uAE38\uC774\uB85C \uC778\uD574 \uD30C\uC77C\uBA85\uC774 \uB2E8\uCD95\uB428)',failure:"\uC791\uC5C5 \uC0DD\uC131 \uC2E4\uD328: {message}",blockingUnresolved:"\uD574\uACB0\uD560 \uC218 \uC5C6\uC74C: {entries}",openCreatedTaskFailure:"\uC791\uC5C5\uC740 \uC0DD\uC131\uB418\uC5C8\uC9C0\uB9CC \uC791\uC5C5 \uB178\uD2B8\uB97C \uC5F4 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}},taskEdit:{title:"\uC791\uC5C5 \uD3B8\uC9D1",sections:{completions:"\uC644\uB8CC",taskInfo:"\uC791\uC5C5 \uC815\uBCF4"},metadata:{totalTrackedTime:"\uCD1D \uAE30\uB85D \uC2DC\uAC04:",created:"\uC0DD\uC131:",modified:"\uC218\uC815:",file:"\uD30C\uC77C:"},buttons:{archive:"\uBCF4\uAD00",unarchive:"\uBCF4\uAD00 \uD574\uC81C"},notices:{titleRequired:"\uC791\uC5C5 \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694",noChanges:"\uC800\uC7A5\uD560 \uBCC0\uACBD \uC0AC\uD56D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",updateSuccess:'\uC791\uC5C5 "{title}"\uC774(\uAC00) \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4',updateFailure:"\uC791\uC5C5 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328: {message}",dependenciesUpdateSuccess:"\uC885\uC18D\uC131\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4",blockingUnresolved:"\uD574\uACB0\uD560 \uC218 \uC5C6\uC74C: {entries}",fileMissing:"\uC791\uC5C5 \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: {path}",openNoteFailure:"\uC791\uC5C5 \uB178\uD2B8 \uC5F4\uAE30 \uC2E4\uD328",archiveSuccess:"\uC791\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C {action}\uB418\uC5C8\uC2B5\uB2C8\uB2E4",archiveFailure:"\uC791\uC5C5 \uBCF4\uAD00 \uC2E4\uD328",deleteSuccess:'\uC791\uC5C5 "{title}"\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4',deleteFailure:"\uC791\uC5C5 \uC0AD\uC81C \uC2E4\uD328: {message}"},archiveAction:{archived:"\uBCF4\uAD00\uB428",unarchived:"\uBCF4\uAD00 \uD574\uC81C\uB428"},deleteConfirmation:{title:"\uC791\uC5C5 \uC0AD\uC81C",message:'"{title}"\uC744 \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? \uC791\uC5C5 \uB178\uD2B8\uAC00 Obsidian \uD734\uC9C0\uD1B5\uC73C\uB85C \uC774\uB3D9\uB429\uB2C8\uB2E4.',confirm:"\uC791\uC5C5 \uC0AD\uC81C"}},storageLocation:{title:{migrate:"\uBF40\uBAA8\uB3C4\uB85C \uB370\uC774\uD130\uB97C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",switch:"\uB370\uC77C\uB9AC \uB178\uD2B8 \uC800\uC7A5\uC18C\uB85C \uC804\uD658\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"},message:{migrate:"\uC774 \uC791\uC5C5\uC740 \uAE30\uC874 \uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uB370\uC774\uD130\uB97C \uB370\uC77C\uB9AC \uB178\uD2B8 \uD504\uB860\uD2B8\uB9E4\uD130\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uD569\uB2C8\uB2E4. \uB370\uC774\uD130\uB294 \uB0A0\uC9DC\uBCC4\uB85C \uADF8\uB8F9\uD654\uB418\uC5B4 \uAC01 \uB370\uC77C\uB9AC \uB178\uD2B8\uC5D0 \uC800\uC7A5\uB429\uB2C8\uB2E4.",switch:"\uBF40\uBAA8\uB3C4\uB85C \uC138\uC158 \uB370\uC774\uD130\uAC00 \uD50C\uB7EC\uADF8\uC778 \uB370\uC774\uD130 \uD30C\uC77C \uB300\uC2E0 \uB370\uC77C\uB9AC \uB178\uD2B8 \uD504\uB860\uD2B8\uB9E4\uD130\uC5D0 \uC800\uC7A5\uB429\uB2C8\uB2E4."},whatThisMeans:"\uC774\uAC83\uC774 \uC758\uBBF8\uD558\uB294 \uAC83:",bullets:{dailyNotesRequired:"\uB370\uC77C\uB9AC \uB178\uD2B8\uB294 \uCF54\uC5B4 \uB370\uC77C\uB9AC \uB178\uD2B8 \uD50C\uB7EC\uADF8\uC778\uC774\uB098 Periodic Notes\uC5D0\uC11C \uD65C\uC131\uD654\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4",storedInNotes:"\uB370\uC774\uD130\uAC00 \uB370\uC77C\uB9AC \uB178\uD2B8 \uD504\uB860\uD2B8\uB9E4\uD130\uC5D0 \uC800\uC7A5\uB429\uB2C8\uB2E4",migrateData:"\uAE30\uC874 \uD50C\uB7EC\uADF8\uC778 \uB370\uC774\uD130\uAC00 \uB9C8\uC774\uADF8\uB808\uC774\uC158\uB41C \uD6C4 \uC9C0\uC6CC\uC9D1\uB2C8\uB2E4",futureSessions:"\uD5A5\uD6C4 \uC138\uC158\uC740 \uB370\uC77C\uB9AC \uB178\uD2B8\uC5D0 \uC800\uC7A5\uB429\uB2C8\uB2E4",dataLongevity:"\uB178\uD2B8\uC640 \uD568\uAED8 \uB354 \uB098\uC740 \uB370\uC774\uD130 \uC218\uBA85\uC744 \uC81C\uACF5\uD569\uB2C8\uB2E4"},finalNote:{migrate:"\u26A0\uFE0F \uD544\uC694\uD55C \uACBD\uC6B0 \uBC31\uC5C5\uC774 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694. \uC774 \uBCC0\uACBD\uC740 \uC790\uB3D9\uC73C\uB85C \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",switch:"\uD5A5\uD6C4 \uC5B8\uC81C\uB4E0\uC9C0 \uD50C\uB7EC\uADF8\uC778 \uC800\uC7A5\uC18C\uB85C \uB2E4\uC2DC \uC804\uD658\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},buttons:{migrate:"\uB370\uC774\uD130 \uB9C8\uC774\uADF8\uB808\uC774\uC158",switch:"\uC800\uC7A5\uC18C \uC804\uD658"}},dueDate:{title:"\uB9C8\uAC10\uC77C \uC124\uC815",taskLabel:"\uC791\uC5C5: {title}",sections:{dateTime:"\uB9C8\uAC10\uC77C \uBC0F \uC2DC\uAC04",quickOptions:"\uBE60\uB978 \uC635\uC158"},descriptions:{dateTime:"\uC774 \uC791\uC5C5\uC744 \uC644\uB8CC\uD574\uC57C \uD558\uB294 \uC2DC\uAC04 \uC124\uC815"},inputs:{date:{ariaLabel:"\uC791\uC5C5 \uB9C8\uAC10\uC77C",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"\uC791\uC5C5 \uB9C8\uAC10 \uC2DC\uAC04 (\uC120\uD0DD\uC0AC\uD56D)",placeholder:"HH:MM"}},quickOptions:{today:"\uC624\uB298",todayAriaLabel:"\uB9C8\uAC10\uC77C\uC744 \uC624\uB298\uB85C \uC124\uC815",tomorrow:"\uB0B4\uC77C",tomorrowAriaLabel:"\uB9C8\uAC10\uC77C\uC744 \uB0B4\uC77C\uB85C \uC124\uC815",nextWeek:"\uB2E4\uC74C \uC8FC",nextWeekAriaLabel:"\uB9C8\uAC10\uC77C\uC744 \uB2E4\uC74C \uC8FC\uB85C \uC124\uC815",now:"\uC9C0\uAE08",nowAriaLabel:"\uB9C8\uAC10\uC77C\uACFC \uC2DC\uAC04\uC744 \uC9C0\uAE08\uC73C\uB85C \uC124\uC815",clear:"\uC9C0\uC6B0\uAE30",clearAriaLabel:"\uB9C8\uAC10\uC77C \uC9C0\uC6B0\uAE30"},errors:{invalidDateTime:"\uC720\uD6A8\uD55C \uB0A0\uC9DC \uBC0F \uC2DC\uAC04 \uD615\uC2DD\uC744 \uC785\uB825\uD558\uC138\uC694",updateFailed:"\uB9C8\uAC10\uC77C \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694."}},scheduledDate:{title:"\uC608\uC815\uC77C \uC124\uC815",taskLabel:"\uC791\uC5C5: {title}",sections:{dateTime:"\uC608\uC815\uC77C \uBC0F \uC2DC\uAC04",quickOptions:"\uBE60\uB978 \uC635\uC158"},descriptions:{dateTime:"\uC774 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC2DC\uAC04 \uC124\uC815"},inputs:{date:{ariaLabel:"\uC791\uC5C5 \uC608\uC815\uC77C",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"\uC791\uC5C5 \uC608\uC815 \uC2DC\uAC04 (\uC120\uD0DD\uC0AC\uD56D)",placeholder:"HH:MM"}},quickOptions:{today:"\uC624\uB298",todayAriaLabel:"\uC608\uC815\uC77C\uC744 \uC624\uB298\uB85C \uC124\uC815",tomorrow:"\uB0B4\uC77C",tomorrowAriaLabel:"\uC608\uC815\uC77C\uC744 \uB0B4\uC77C\uB85C \uC124\uC815",nextWeek:"\uB2E4\uC74C \uC8FC",nextWeekAriaLabel:"\uC608\uC815\uC77C\uC744 \uB2E4\uC74C \uC8FC\uB85C \uC124\uC815",now:"\uC9C0\uAE08",nowAriaLabel:"\uC608\uC815\uC77C\uACFC \uC2DC\uAC04\uC744 \uC9C0\uAE08\uC73C\uB85C \uC124\uC815",clear:"\uC9C0\uC6B0\uAE30",clearAriaLabel:"\uC608\uC815\uC77C \uC9C0\uC6B0\uAE30"},errors:{invalidDateTime:"\uC720\uD6A8\uD55C \uB0A0\uC9DC \uBC0F \uC2DC\uAC04 \uD615\uC2DD\uC744 \uC785\uB825\uD558\uC138\uC694",updateFailed:"\uC608\uC815\uC77C \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694."}},timeEntryEditor:{title:"\uC2DC\uAC04 \uAE30\uB85D - {taskTitle}",addEntry:"\uC2DC\uAC04 \uAE30\uB85D \uCD94\uAC00",noEntries:"\uC544\uC9C1 \uC2DC\uAC04 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",deleteEntry:"\uAE30\uB85D \uC0AD\uC81C",startTime:"\uC2DC\uC791 \uC2DC\uAC04",endTime:"\uC885\uB8CC \uC2DC\uAC04 (\uC9C4\uD589 \uC911\uC774\uBA74 \uBE44\uC6CC\uB450\uC138\uC694)",duration:"\uAE30\uAC04 (\uBD84)",durationDesc:"\uACC4\uC0B0\uB41C \uAE30\uAC04 \uC7AC\uC815\uC758",durationPlaceholder:"\uAE30\uAC04\uC744 \uBD84 \uB2E8\uC704\uB85C \uC785\uB825",description:"\uC124\uBA85",descriptionPlaceholder:"\uBB34\uC5C7\uC744 \uC791\uC5C5\uD588\uB098\uC694?",calculatedDuration:"\uACC4\uC0B0\uB428: {minutes}\uBD84",totalTime:"\uCD1D {hours}\uC2DC\uAC04 {minutes}\uBD84",totalMinutes:"\uCD1D {minutes}\uBD84",saved:"\uC2DC\uAC04 \uAE30\uB85D\uC774 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4",saveFailed:"\uC2DC\uAC04 \uAE30\uB85D \uC800\uC7A5 \uC2E4\uD328",openFailed:"\uC2DC\uAC04 \uAE30\uB85D \uD3B8\uC9D1\uAE30 \uC5F4\uAE30 \uC2E4\uD328",noTasksWithEntries:"\uD3B8\uC9D1\uD560 \uC2DC\uAC04 \uAE30\uB85D\uC774 \uC788\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",validation:{missingStartTime:"\uC2DC\uC791 \uC2DC\uAC04\uC774 \uD544\uC694\uD569\uB2C8\uB2E4",endBeforeStart:"\uC885\uB8CC \uC2DC\uAC04\uC740 \uC2DC\uC791 \uC2DC\uAC04 \uC774\uD6C4\uC5EC\uC57C \uD569\uB2C8\uB2E4"}},timeTracking:{noTasksAvailable:"\uC2DC\uAC04\uC744 \uCD94\uC801\uD560 \uC218 \uC788\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",started:"{taskTitle}\uC5D0 \uB300\uD55C \uC2DC\uAC04 \uCD94\uC801\uC774 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4",startFailed:"\uC2DC\uAC04 \uCD94\uC801 \uC2DC\uC791 \uC2E4\uD328"},timeEntry:{mustHaveSpecificTime:"\uC2DC\uAC04 \uAE30\uB85D\uC5D0\uB294 \uD2B9\uC815 \uC2DC\uAC04\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. \uC8FC\uAC04 \uB610\uB294 \uC77C\uAC04 \uBDF0\uC5D0\uC11C \uC2DC\uAC04 \uBC94\uC704\uB97C \uC120\uD0DD\uD558\uC138\uC694.",noTasksAvailable:"\uC2DC\uAC04 \uAE30\uB85D\uC744 \uC0DD\uC131\uD560 \uC218 \uC788\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",created:"{taskTitle}\uC5D0 \uB300\uD55C \uC2DC\uAC04 \uAE30\uB85D\uC774 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4 ({duration}\uBD84)",createFailed:"\uC2DC\uAC04 \uAE30\uB85D \uC0DD\uC131 \uC2E4\uD328"}},contextMenus:{task:{status:"\uC0C1\uD0DC",statusSelected:"\u2713 {label}",priority:"\uC6B0\uC120\uC21C\uC704",prioritySelected:"\u2713 {label}",dueDate:"\uB9C8\uAC10\uC77C",scheduledDate:"\uC608\uC815\uC77C",reminders:"\uB9AC\uB9C8\uC778\uB354",remindBeforeDue:"\uB9C8\uAC10 \uC804 \uC54C\uB9BC...",remindBeforeScheduled:"\uC608\uC815 \uC804 \uC54C\uB9BC...",manageReminders:"\uBAA8\uB4E0 \uB9AC\uB9C8\uC778\uB354 \uAD00\uB9AC...",clearReminders:"\uBAA8\uB4E0 \uB9AC\uB9C8\uC778\uB354 \uC9C0\uC6B0\uAE30",startTimeTracking:"\uC2DC\uAC04 \uCD94\uC801 \uC2DC\uC791",stopTimeTracking:"\uC2DC\uAC04 \uCD94\uC801 \uC911\uC9C0",editTimeEntries:"\uC2DC\uAC04 \uAE30\uB85D \uD3B8\uC9D1",archive:"\uBCF4\uAD00",unarchive:"\uBCF4\uAD00 \uD574\uC81C",openNote:"\uB178\uD2B8 \uC5F4\uAE30",openNoteInNewTab:"\uC0C8 \uD0ED\uC5D0\uC11C \uB178\uD2B8 \uC5F4\uAE30",copyTitle:"\uC791\uC5C5 \uC81C\uBAA9 \uBCF5\uC0AC",quickActions:"\uBE60\uB978 \uC791\uC5C5",noteActions:"\uB178\uD2B8 \uC791\uC5C5",rename:"\uC774\uB984 \uBCC0\uACBD",renameTitle:"\uD30C\uC77C \uC774\uB984 \uBCC0\uACBD",renamePlaceholder:"\uC0C8 \uC774\uB984 \uC785\uB825",delete:"\uC0AD\uC81C",deleteTitle:"\uD30C\uC77C \uC0AD\uC81C",deleteMessage:'"{name}"\uC744(\uB97C) \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?',deleteConfirm:"\uC0AD\uC81C",copyPath:"\uACBD\uB85C \uBCF5\uC0AC",copyUrl:"Obsidian URL \uBCF5\uC0AC",showInExplorer:"\uD30C\uC77C \uD0D0\uC0C9\uAE30\uC5D0\uC11C \uBCF4\uAE30",addToCalendar:"\uCE98\uB9B0\uB354\uC5D0 \uCD94\uAC00",calendar:{google:"Google \uCE98\uB9B0\uB354",outlook:"Outlook \uCE98\uB9B0\uB354",yahoo:"Yahoo \uCE98\uB9B0\uB354",downloadIcs:".ics \uD30C\uC77C \uB2E4\uC6B4\uB85C\uB4DC",syncToGoogle:"Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654",syncToGoogleNotConfigured:"Google \uCE98\uB9B0\uB354 \uB3D9\uAE30\uD654\uAC00 \uAD6C\uC131\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4",syncToGoogleSuccess:"\uC791\uC5C5\uC774 Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",syncToGoogleFailed:"Google \uCE98\uB9B0\uB354 \uB3D9\uAE30\uD654 \uC2E4\uD328"},recurrence:"\uBC18\uBCF5",clearRecurrence:"\uBC18\uBCF5 \uC9C0\uC6B0\uAE30",customRecurrence:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBC18\uBCF5...",createSubtask:"\uD558\uC704 \uC791\uC5C5 \uB9CC\uB4E4\uAE30",dependencies:{title:"\uC885\uC18D\uC131",addBlockedBy:'"\uCC28\uB2E8 \uC6D0\uC778" \uCD94\uAC00...',addBlockedByTitle:"\uC774 \uC791\uC5C5\uC774 \uC885\uC18D\uD558\uB294 \uC791\uC5C5 \uCD94\uAC00",addBlocking:'"\uCC28\uB2E8 \uC911" \uCD94\uAC00...',addBlockingTitle:"\uC774 \uC791\uC5C5\uC774 \uCC28\uB2E8\uD558\uB294 \uC791\uC5C5 \uCD94\uAC00",removeBlockedBy:"\uCC28\uB2E8 \uC6D0\uC778 \uC81C\uAC70...",removeBlocking:"\uCC28\uB2E8 \uC911 \uC81C\uAC70...",unknownDependency:"\uC54C \uC218 \uC5C6\uC74C",inputPlaceholder:"[[\uC791\uC5C5 \uB178\uD2B8]]",notices:{noEntries:"\uCD5C\uC18C \uD558\uB098\uC758 \uC791\uC5C5\uC744 \uC785\uB825\uD558\uC138\uC694",blockedByAdded:"{count}\uAC1C\uC758 \uC885\uC18D\uC131\uC774 \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4",blockedByRemoved:"\uC885\uC18D\uC131\uC774 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4",blockingAdded:"{count}\uAC1C\uC758 \uC885\uC18D \uC791\uC5C5\uC774 \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4",blockingRemoved:"\uC885\uC18D \uC791\uC5C5\uC774 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4",unresolved:"\uD574\uACB0\uD560 \uC218 \uC5C6\uC74C: {entries}",noEligibleTasks:"\uC77C\uCE58\uD558\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",updateFailed:"\uC885\uC18D\uC131 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328"}},organization:{title:"\uC870\uC9C1",projects:"\uD504\uB85C\uC81D\uD2B8",addToProject:"\uD504\uB85C\uC81D\uD2B8\uC5D0 \uCD94\uAC00...",subtasks:"\uD558\uC704 \uC791\uC5C5",addSubtasks:"\uD558\uC704 \uC791\uC5C5 \uCD94\uAC00...",notices:{alreadyInProject:"\uC791\uC5C5\uC774 \uC774\uBBF8 \uC774 \uD504\uB85C\uC81D\uD2B8\uC5D0 \uC788\uC2B5\uB2C8\uB2E4",alreadySubtask:"\uC791\uC5C5\uC774 \uC774\uBBF8 \uC774 \uC791\uC5C5\uC758 \uD558\uC704 \uC791\uC5C5\uC785\uB2C8\uB2E4",addedToProject:"\uD504\uB85C\uC81D\uD2B8\uC5D0 \uCD94\uAC00\uB428: {project}",addedAsSubtask:"{subtask}\uC774(\uAC00) {parent}\uC758 \uD558\uC704 \uC791\uC5C5\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4",addToProjectFailed:"\uD504\uB85C\uC81D\uD2B8\uC5D0 \uC791\uC5C5 \uCD94\uAC00 \uC2E4\uD328",addAsSubtaskFailed:"\uD558\uC704 \uC791\uC5C5\uC73C\uB85C \uC791\uC5C5 \uCD94\uAC00 \uC2E4\uD328",projectSelectFailed:"\uD504\uB85C\uC81D\uD2B8 \uC120\uD0DD\uAE30 \uC5F4\uAE30 \uC2E4\uD328",subtaskSelectFailed:"\uD558\uC704 \uC791\uC5C5 \uC120\uD0DD\uAE30 \uC5F4\uAE30 \uC2E4\uD328",noEligibleSubtasks:"\uD558\uC704 \uC791\uC5C5\uC73C\uB85C \uC9C0\uC815\uD560 \uC218 \uC788\uB294 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",currentTaskNotFound:"\uD604\uC7AC \uC791\uC5C5 \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",updateContextsFailed:"\uCEE8\uD14D\uC2A4\uD2B8 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328"},contexts:"\uCEE8\uD14D\uC2A4\uD2B8",addContext:"\uCEE8\uD14D\uC2A4\uD2B8 \uCD94\uAC00\u2026",contextPlaceholder:"\uCEE8\uD14D\uC2A4\uD2B8",contextSelected:"\u2713 {context}",clearContexts:"\uCEE8\uD14D\uC2A4\uD2B8 \uC9C0\uC6B0\uAE30"},subtasks:{loading:"\uD558\uC704 \uC791\uC5C5 \uB85C\uB529 \uC911...",noSubtasks:"\uD558\uC704 \uC791\uC5C5\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",loadFailed:"\uD558\uC704 \uC791\uC5C5 \uB85C\uB4DC \uC2E4\uD328"},markComplete:"\uC774 \uB0A0\uC9DC\uC5D0 \uC644\uB8CC\uB85C \uD45C\uC2DC",markIncomplete:"\uC774 \uB0A0\uC9DC\uC5D0 \uBBF8\uC644\uB8CC\uB85C \uD45C\uC2DC",skipInstance:"\uC778\uC2A4\uD134\uC2A4 \uAC74\uB108\uB6F0\uAE30",unskipInstance:"\uC778\uC2A4\uD134\uC2A4 \uAC74\uB108\uB6F0\uAE30 \uCDE8\uC18C",quickReminders:{atTime:"\uC774\uBCA4\uD2B8 \uC2DC\uAC04\uC5D0",fiveMinutes:"5\uBD84 \uC804",fifteenMinutes:"15\uBD84 \uC804",oneHour:"1\uC2DC\uAC04 \uC804",oneDay:"1\uC77C \uC804"},notices:{toggleCompletionFailure:"\uBC18\uBCF5 \uC791\uC5C5 \uC644\uB8CC \uD1A0\uAE00 \uC2E4\uD328: {message}",toggleSkipFailure:"\uBC18\uBCF5 \uC791\uC5C5 \uAC74\uB108\uB6F0\uAE30 \uD1A0\uAE00 \uC2E4\uD328: {message}",updateDueDateFailure:"\uC791\uC5C5 \uB9C8\uAC10\uC77C \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328: {message}",updateScheduledFailure:"\uC791\uC5C5 \uC608\uC815\uC77C \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328: {message}",updateRemindersFailure:"\uB9AC\uB9C8\uC778\uB354 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328",clearRemindersFailure:"\uB9AC\uB9C8\uC778\uB354 \uC9C0\uC6B0\uAE30 \uC2E4\uD328",addReminderFailure:"\uB9AC\uB9C8\uC778\uB354 \uCD94\uAC00 \uC2E4\uD328",archiveFailure:"\uC791\uC5C5 \uBCF4\uAD00 \uD1A0\uAE00 \uC2E4\uD328: {message}",copyTitleSuccess:"\uC791\uC5C5 \uC81C\uBAA9\uC774 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copyFailure:"\uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC \uC2E4\uD328",renameSuccess:'"{name}"(\uC73C)\uB85C \uC774\uB984\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4',renameFailure:"\uD30C\uC77C \uC774\uB984 \uBCC0\uACBD \uC2E4\uD328",copyPathSuccess:"\uD30C\uC77C \uACBD\uB85C\uAC00 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copyUrlSuccess:"Obsidian URL\uC774 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",updateRecurrenceFailure:"\uC791\uC5C5 \uBC18\uBCF5 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328: {message}",updateTagsFailed:"\uD0DC\uADF8 \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328"},tags:"\uD0DC\uADF8",addTag:"\uD0DC\uADF8 \uCD94\uAC00\u2026",removeTag:"{tag} \uC81C\uAC70",removeTagInput:"\uD0DC\uADF8 \uC81C\uAC70\u2026",tagPlaceholder:"\uD0DC\uADF8 \uB610\uB294 #\uD0DC\uADF8",clearTags:"\uD0DC\uADF8 \uC9C0\uC6B0\uAE30"},priority:{clearPriority:"\uC6B0\uC120\uC21C\uC704 \uC9C0\uC6B0\uAE30"},ics:{showDetails:"\uC138\uBD80\uC815\uBCF4 \uBCF4\uAE30",createTask:"\uC774\uBCA4\uD2B8\uC5D0\uC11C \uC791\uC5C5 \uB9CC\uB4E4\uAE30",createNote:"\uC774\uBCA4\uD2B8\uC5D0\uC11C \uB178\uD2B8 \uB9CC\uB4E4\uAE30",linkNote:"\uAE30\uC874 \uB178\uD2B8 \uC5F0\uACB0",copyTitle:"\uC81C\uBAA9 \uBCF5\uC0AC",copyLocation:"\uC704\uCE58 \uBCF5\uC0AC",copyUrl:"URL \uBCF5\uC0AC",copyMarkdown:"\uB9C8\uD06C\uB2E4\uC6B4\uC73C\uB85C \uBCF5\uC0AC",subscriptionUnknown:"\uC54C \uC218 \uC5C6\uB294 \uCE98\uB9B0\uB354",notices:{copyTitleSuccess:"\uC774\uBCA4\uD2B8 \uC81C\uBAA9\uC774 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copyLocationSuccess:"\uC704\uCE58\uAC00 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copyUrlSuccess:"\uC774\uBCA4\uD2B8 URL\uC774 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copyMarkdownSuccess:"\uC774\uBCA4\uD2B8 \uC138\uBD80\uC815\uBCF4\uAC00 \uB9C8\uD06C\uB2E4\uC6B4\uC73C\uB85C \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copyFailure:"\uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC \uC2E4\uD328",taskCreated:"\uC791\uC5C5 \uC0DD\uC131\uB428: {title}",taskCreateFailure:"\uC774\uBCA4\uD2B8\uC5D0\uC11C \uC791\uC5C5 \uC0DD\uC131 \uC2E4\uD328",noteCreated:"\uB178\uD2B8\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",creationFailure:"\uC0DD\uC131 \uBAA8\uB2EC \uC5F4\uAE30 \uC2E4\uD328",linkSuccess:'\uB178\uD2B8 "{name}"\uC774(\uAC00) \uC774\uBCA4\uD2B8\uC5D0 \uC5F0\uACB0\uB418\uC5C8\uC2B5\uB2C8\uB2E4',linkFailure:"\uB178\uD2B8 \uC5F0\uACB0 \uC2E4\uD328",linkSelectionFailure:"\uB178\uD2B8 \uC120\uD0DD \uC5F4\uAE30 \uC2E4\uD328"},markdown:{titleFallback:"\uC81C\uBAA9 \uC5C6\uB294 \uC774\uBCA4\uD2B8",calendar:"**\uCE98\uB9B0\uB354:** {value}",date:"**\uB0A0\uC9DC \uBC0F \uC2DC\uAC04:** {value}",location:"**\uC704\uCE58:** {value}",descriptionHeading:"### \uC124\uBA85",url:"**URL:** {value}",at:" {time}"}},date:{increment:{plusOneDay:"+1\uC77C",minusOneDay:"-1\uC77C",plusOneWeek:"+1\uC8FC",minusOneWeek:"-1\uC8FC"},basic:{today:"\uC624\uB298",tomorrow:"\uB0B4\uC77C",thisWeekend:"\uC774\uBC88 \uC8FC\uB9D0",nextWeek:"\uB2E4\uC74C \uC8FC",nextMonth:"\uB2E4\uC74C \uB2EC"},weekdaysLabel:"\uD3C9\uC77C",selected:"\u2713 {label}",pickDateTime:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04 \uC120\uD0DD...",clearDate:"\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",modal:{title:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04 \uC124\uC815",dateLabel:"\uB0A0\uC9DC",timeLabel:"\uC2DC\uAC04 (\uC120\uD0DD\uC0AC\uD56D)",select:"\uC120\uD0DD"}}},services:{pomodoro:{notices:{alreadyRunning:"\uBF40\uBAA8\uB3C4\uB85C\uAC00 \uC774\uBBF8 \uC2E4\uD589 \uC911\uC785\uB2C8\uB2E4",resumeCurrentSession:"\uC0C8 \uC138\uC158\uC744 \uC2DC\uC791\uD558\uB294 \uB300\uC2E0 \uD604\uC7AC \uC138\uC158\uC744 \uC7AC\uAC1C\uD558\uC138\uC694",timerAlreadyRunning:"\uD0C0\uC774\uBA38\uAC00 \uC774\uBBF8 \uC2E4\uD589 \uC911\uC785\uB2C8\uB2E4",resumeSessionInstead:"\uC0C8 \uC138\uC158\uC744 \uC2DC\uC791\uD558\uB294 \uB300\uC2E0 \uD604\uC7AC \uC138\uC158\uC744 \uC7AC\uAC1C\uD558\uC138\uC694",shortBreakStarted:"\uC9E7\uC740 \uD734\uC2DD\uC774 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4",longBreakStarted:"\uAE34 \uD734\uC2DD\uC774 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4",paused:"\uBF40\uBAA8\uB3C4\uB85C \uC77C\uC2DC \uC815\uC9C0\uB428",resumed:"\uBF40\uBAA8\uB3C4\uB85C \uC7AC\uAC1C\uB428",stoppedAndReset:"\uBF40\uBAA8\uB3C4\uB85C\uAC00 \uC911\uC9C0\uB418\uACE0 \uCD08\uAE30\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4",migrationSuccess:"{count}\uAC1C\uC758 \uBF40\uBAA8\uB3C4\uB85C \uC138\uC158\uC774 \uB370\uC77C\uB9AC \uB178\uD2B8\uB85C \uB9C8\uC774\uADF8\uB808\uC774\uC158\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",migrationFailure:"\uBF40\uBAA8\uB3C4\uB85C \uB370\uC774\uD130 \uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD328. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uAC70\uB098 \uCF58\uC194\uC5D0\uC11C \uC790\uC138\uD55C \uB0B4\uC6A9\uC744 \uD655\uC778\uD558\uC138\uC694."}},icsSubscription:{notices:{calendarNotFound:'\uCE98\uB9B0\uB354 "{name}"\uC744(\uB97C) \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4 (404). ICS URL\uC774 \uC62C\uBC14\uB974\uACE0 \uCE98\uB9B0\uB354\uAC00 \uACF5\uAC1C\uC801\uC73C\uB85C \uC811\uADFC \uAC00\uB2A5\uD55C\uC9C0 \uD655\uC778\uD558\uC138\uC694.',calendarAccessDenied:'\uCE98\uB9B0\uB354 "{name}" \uC561\uC138\uC2A4\uAC00 \uAC70\uBD80\uB418\uC5C8\uC2B5\uB2C8\uB2E4 (500). Microsoft Outlook \uC11C\uBC84 \uC81C\uD55C \uB54C\uBB38\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uCE98\uB9B0\uB354 \uC124\uC815\uC5D0\uC11C ICS URL\uC744 \uB2E4\uC2DC \uC0DD\uC131\uD574 \uBCF4\uC138\uC694.',fetchRemoteFailed:'\uC6D0\uACA9 \uCE98\uB9B0\uB354 "{name}" \uAC00\uC838\uC624\uAE30 \uC2E4\uD328: {error}',readLocalFailed:'\uB85C\uCEEC \uCE98\uB9B0\uB354 "{name}" \uC77D\uAE30 \uC2E4\uD328: {error}'}},calendarExport:{notices:{generateLinkFailed:"\uCE98\uB9B0\uB354 \uB9C1\uD06C \uC0DD\uC131 \uC2E4\uD328",noTasksToExport:"\uB0B4\uBCF4\uB0BC \uC791\uC5C5\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",downloadSuccess:"{count}\uAC1C\uC758 \uC791\uC5C5\uC774 \uD3EC\uD568\uB41C {filename}\uC774(\uAC00) \uB2E4\uC6B4\uB85C\uB4DC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",downloadFailed:"\uCE98\uB9B0\uB354 \uD30C\uC77C \uB2E4\uC6B4\uB85C\uB4DC \uC2E4\uD328",singleDownloadSuccess:"{filename}\uC774(\uAC00) \uB2E4\uC6B4\uB85C\uB4DC\uB418\uC5C8\uC2B5\uB2C8\uB2E4"}},filter:{groupLabels:{noProject:"\uD504\uB85C\uC81D\uD2B8 \uC5C6\uC74C",noTags:"\uD0DC\uADF8 \uC5C6\uC74C",invalidDate:"\uC798\uBABB\uB41C \uB0A0\uC9DC",due:{overdue:"\uC9C0\uC5F0\uB428",today:"\uC624\uB298",tomorrow:"\uB0B4\uC77C",nextSevenDays:"\uB2E4\uC74C 7\uC77C",later:"\uB098\uC911\uC5D0",none:"\uB9C8\uAC10\uC77C \uC5C6\uC74C"},scheduled:{past:"\uACFC\uAC70 \uC608\uC815",today:"\uC624\uB298",tomorrow:"\uB0B4\uC77C",nextSevenDays:"\uB2E4\uC74C 7\uC77C",later:"\uB098\uC911\uC5D0",none:"\uC608\uC815\uC77C \uC5C6\uC74C"}},errors:{noDatesProvided:"\uB0A0\uC9DC\uAC00 \uC81C\uACF5\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4"},folders:{root:"(\uB8E8\uD2B8)"}},instantTaskConvert:{notices:{noCheckboxTasks:"\uD604\uC7AC \uB178\uD2B8\uC5D0\uC11C \uCCB4\uD06C\uBC15\uC2A4 \uC791\uC5C5\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",convertingTasks:"{count}\uAC1C\uC758 \uC791\uC5C5\uC744 \uBCC0\uD658 \uC911...",conversionSuccess:"\u2705 {count}\uAC1C\uC758 \uC791\uC5C5\uC774 TaskNotes\uB85C \uC131\uACF5\uC801\uC73C\uB85C \uBCC0\uD658\uB418\uC5C8\uC2B5\uB2C8\uB2E4!",partialConversion:"{successCount}\uAC1C\uC758 \uC791\uC5C5\uC774 \uBCC0\uD658\uB418\uC5C8\uC2B5\uB2C8\uB2E4. {failureCount}\uAC1C \uC2E4\uD328.",batchConversionFailed:"\uC77C\uAD04 \uBCC0\uD658 \uC218\uD589 \uC2E4\uD328. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",invalidParameters:"\uC798\uBABB\uB41C \uC785\uB825 \uB9E4\uAC1C\uBCC0\uC218.",emptyLine:"\uD604\uC7AC \uC904\uC774 \uBE44\uC5B4 \uC788\uAC70\uB098 \uC720\uD6A8\uD55C \uCF58\uD150\uCE20\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",parseError:"\uC791\uC5C5 \uD30C\uC2F1 \uC624\uB958: {error}",invalidTaskData:"\uC798\uBABB\uB41C \uC791\uC5C5 \uB370\uC774\uD130.",replaceLineFailed:"\uC791\uC5C5 \uC904 \uAD50\uCCB4 \uC2E4\uD328.",conversionComplete:"\uC791\uC5C5 \uBCC0\uD658\uB428: {title}",conversionCompleteShortened:'\uC791\uC5C5 \uBCC0\uD658\uB428: "{title}" (\uAE38\uC774\uB85C \uC778\uD574 \uD30C\uC77C\uBA85\uC774 \uB2E8\uCD95\uB428)',fileExists:"\uC774 \uC774\uB984\uC758 \uD30C\uC77C\uC774 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uAC70\uB098 \uC791\uC5C5 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC138\uC694.",conversionFailed:"\uC791\uC5C5 \uBCC0\uD658 \uC2E4\uD328. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694."}},icsNote:{notices:{templateNotFound:"\uD15C\uD50C\uB9BF\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: {path}",templateProcessError:"\uD15C\uD50C\uB9BF \uCC98\uB9AC \uC911 \uC624\uB958: {template}",linkedToEvent:"\uB178\uD2B8\uAC00 ICS \uC774\uBCA4\uD2B8\uC5D0 \uC5F0\uACB0\uB418\uC5C8\uC2B5\uB2C8\uB2E4: {title}"}},task:{notices:{templateNotFound:"\uC791\uC5C5 \uBCF8\uBB38 \uD15C\uD50C\uB9BF\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: {path}",templateReadError:"\uC791\uC5C5 \uBCF8\uBB38 \uD15C\uD50C\uB9BF \uC77D\uAE30 \uC624\uB958: {template}",moveTaskFailed:"{operation} \uC791\uC5C5 \uC774\uB3D9 \uC2E4\uD328: {error}"}},autoExport:{notices:{exportFailed:"TaskNotes \uC790\uB3D9 \uB0B4\uBCF4\uB0B4\uAE30 \uC2E4\uD328: {error}"}}},ui:{icsCard:{untitledEvent:"\uC81C\uBAA9 \uC5C6\uB294 \uC774\uBCA4\uD2B8",allDay:"\uC885\uC77C",calendarEvent:"\uCE98\uB9B0\uB354 \uC774\uBCA4\uD2B8",calendarFallback:"\uCE98\uB9B0\uB354"},noteCard:{createdLabel:"\uC0DD\uC131:",dailyBadge:"\uB370\uC77C\uB9AC",dailyTooltip:"\uB370\uC77C\uB9AC \uB178\uD2B8"},taskCard:{labels:{due:"\uB9C8\uAC10\uC77C",scheduled:"\uC608\uC815\uC77C",recurrence:"\uBC18\uBCF5",completed:"\uC644\uB8CC",created:"\uC0DD\uC131\uC77C",modified:"\uC218\uC815\uC77C",blocked:"\uCC28\uB2E8\uB428",blocking:"\uCC28\uB2E8 \uC911"},blockedBadge:"\uCC28\uB2E8\uB428",blockedBadgeTooltip:"\uC774 \uC791\uC5C5\uC740 \uB2E4\uB978 \uC791\uC5C5\uC744 \uAE30\uB2E4\uB9AC\uACE0 \uC788\uC2B5\uB2C8\uB2E4",blockingBadge:"\uCC28\uB2E8 \uC911",blockingBadgeTooltip:"\uC774 \uC791\uC5C5\uC774 \uB2E4\uB978 \uC791\uC5C5\uC744 \uCC28\uB2E8\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4",blockingToggle:"{count}\uAC1C\uC758 \uC791\uC5C5\uC744 \uCC28\uB2E8 \uC911",priorityAriaLabel:"\uC6B0\uC120\uC21C\uC704: {label}",taskOptions:"\uC791\uC5C5 \uC635\uC158",recurrenceTooltip:"{label}: {value}",reminderTooltipOne:"\uC54C\uB9BC 1\uAC1C \uC124\uC815\uB428 (\uAD00\uB9AC\uD558\uB824\uBA74 \uD074\uB9AD)",reminderTooltipMany:"{count}\uAC1C \uC54C\uB9BC \uC124\uC815\uB428 (\uAD00\uB9AC\uD558\uB824\uBA74 \uD074\uB9AD)",projectTooltip:"\uC774 \uC791\uC5C5\uC740 \uD504\uB85C\uC81D\uD2B8\uB85C \uC0AC\uC6A9\uB429\uB2C8\uB2E4 (\uD558\uC704 \uC791\uC5C5\uC744 \uD544\uD130\uB9C1\uD558\uB824\uBA74 \uD074\uB9AD)",expandSubtasks:"\uD558\uC704 \uC791\uC5C5 \uD3BC\uCE58\uAE30",collapseSubtasks:"\uD558\uC704 \uC791\uC5C5 \uC811\uAE30",dueToday:"{label}: \uC624\uB298",dueTodayAt:"{label}: \uC624\uB298 {time}",dueOverdue:"{label}: {display} (\uAE30\uD55C \uC9C0\uB0A8)",dueLabel:"{label}: {display}",scheduledToday:"{label}: \uC624\uB298",scheduledTodayAt:"{label}: \uC624\uB298 {time}",scheduledPast:"{label}: {display} (\uC9C0\uB09C)",scheduledLabel:"{label}: {display}",loadingDependencies:"\uC885\uC18D\uC131 \uB85C\uB529 \uC911...",blockingEmpty:"\uC885\uC18D \uC791\uC5C5 \uC5C6\uC74C",blockingLoadError:"\uC885\uC18D\uC131 \uB85C\uB4DC \uC2E4\uD328",googleCalendarSyncTooltip:"Google \uCE98\uB9B0\uB354\uC5D0 \uB3D9\uAE30\uD654\uB428",detailsTooltip:"\uC791\uC5C5\uC5D0 \uC138\uBD80 \uC815\uBCF4\uAC00 \uC788\uC2B5\uB2C8\uB2E4"},propertyEventCard:{unknownFile:"\uC54C \uC218 \uC5C6\uB294 \uD30C\uC77C"},filterHeading:{allViewName:"\uBAA8\uB450"},filterBar:{saveView:"\uBDF0 \uC800\uC7A5",saveViewNamePlaceholder:"\uBDF0 \uC774\uB984 \uC785\uB825...",saveButton:"\uC800\uC7A5",views:"\uBDF0",savedFilterViews:"\uC800\uC7A5\uB41C \uD544\uD130 \uBDF0",filters:"\uD544\uD130",properties:"\uC18D\uC131",sort:"\uC815\uB82C",newTask:"\uC0C8\uB85C \uB9CC\uB4E4\uAE30",expandAllGroups:"\uBAA8\uB4E0 \uADF8\uB8F9 \uD3BC\uCE58\uAE30",collapseAllGroups:"\uBAA8\uB4E0 \uADF8\uB8F9 \uC811\uAE30",searchTasksPlaceholder:"\uC791\uC5C5 \uAC80\uC0C9...",searchTasksTooltip:"\uC791\uC5C5 \uC81C\uBAA9 \uAC80\uC0C9",filterUnavailable:"\uD544\uD130 \uBC14\uB97C \uC77C\uC2DC\uC801\uC73C\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",toggleFilter:"\uD544\uD130 \uD1A0\uAE00",activeFiltersTooltip:"\uD65C\uC131 \uD544\uD130 \u2013 \uC218\uC815\uD558\uB824\uBA74 \uD074\uB9AD, \uC9C0\uC6B0\uB824\uBA74 \uC6B0\uD074\uB9AD",configureVisibleProperties:"\uD45C\uC2DC \uC18D\uC131 \uC124\uC815",sortAndGroupOptions:"\uC815\uB82C \uBC0F \uADF8\uB8F9 \uC635\uC158",sortMenuHeader:"\uC815\uB82C",orderMenuHeader:"\uC21C\uC11C",groupMenuHeader:"\uADF8\uB8F9",createNewTask:"\uC0C8 \uC791\uC5C5 \uB9CC\uB4E4\uAE30",filter:"\uD544\uD130",displayOrganization:"\uD45C\uC2DC \uBC0F \uC870\uC9C1",viewOptions:"\uBDF0 \uC635\uC158",addFilter:"\uD544\uD130 \uCD94\uAC00",addFilterGroup:"\uD544\uD130 \uADF8\uB8F9 \uCD94\uAC00",addFilterTooltip:"\uC0C8 \uD544\uD130 \uC870\uAC74 \uCD94\uAC00",addFilterGroupTooltip:"\uC911\uCCA9\uB41C \uD544\uD130 \uADF8\uB8F9 \uCD94\uAC00",clearAllFilters:"\uBAA8\uB4E0 \uD544\uD130 \uBC0F \uADF8\uB8F9 \uC9C0\uC6B0\uAE30",saveCurrentFilter:"\uD604\uC7AC \uD544\uD130\uB97C \uBDF0\uB85C \uC800\uC7A5",closeFilterModal:"\uD544\uD130 \uBAA8\uB2EC \uB2EB\uAE30",deleteFilterGroup:"\uD544\uD130 \uADF8\uB8F9 \uC0AD\uC81C",deleteCondition:"\uC870\uAC74 \uC0AD\uC81C",all:"\uBAA8\uB450",any:"\uC77C\uBD80",followingAreTrue:"\uB2E4\uC74C \uC870\uAC74\uC774 \uCC38:",where:"\uC870\uAC74",selectProperty:"\uC120\uD0DD...",chooseProperty:"\uD544\uD130\uB9C1\uD560 \uC791\uC5C5 \uC18D\uC131 \uC120\uD0DD",chooseOperator:"\uC18D\uC131 \uAC12 \uBE44\uAD50 \uBC29\uBC95 \uC120\uD0DD",enterValue:"\uD544\uD130\uB9C1\uD560 \uAC12 \uC785\uB825",selectValue:"\uD544\uD130\uB9C1\uD560 {property} \uC120\uD0DD",sortBy:"\uC815\uB82C \uAE30\uC900:",toggleSortDirection:"\uC815\uB82C \uBC29\uD5A5 \uD1A0\uAE00",chooseSortMethod:"\uC791\uC5C5 \uC815\uB82C \uBC29\uBC95 \uC120\uD0DD",groupBy:"\uADF8\uB8F9 \uAE30\uC900:",chooseGroupMethod:"\uACF5\uD1B5 \uC18D\uC131\uC73C\uB85C \uC791\uC5C5 \uADF8\uB8F9\uD654",toggleViewOption:"{option} \uD1A0\uAE00",expandCollapseFilters:"\uD544\uD130 \uC870\uAC74 \uD3BC\uCE58\uAE30/\uC811\uAE30",expandCollapseSort:"\uC815\uB82C \uBC0F \uADF8\uB8F9 \uC635\uC158 \uD3BC\uCE58\uAE30/\uC811\uAE30",expandCollapseViewOptions:"\uBDF0\uBCC4 \uC635\uC158 \uD3BC\uCE58\uAE30/\uC811\uAE30",naturalLanguageDates:"\uC790\uC5F0\uC5B4 \uB0A0\uC9DC",naturalLanguageExamples:"\uC790\uC5F0\uC5B4 \uB0A0\uC9DC \uC608\uC2DC \uBCF4\uAE30",enterNumericValue:"\uD544\uD130\uB9C1\uD560 \uC22B\uC790 \uAC12 \uC785\uB825",enterDateValue:"\uC790\uC5F0\uC5B4 \uB610\uB294 ISO \uD615\uC2DD\uC73C\uB85C \uB0A0\uC9DC \uC785\uB825",pickDateTime:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04 \uC120\uD0DD",noSavedViews:"\uC800\uC7A5\uB41C \uBDF0 \uC5C6\uC74C",savedViews:"\uC800\uC7A5\uB41C \uBDF0",yourSavedFilters:"\uC800\uC7A5\uB41C \uD544\uD130 \uAD6C\uC131",dragToReorder:"\uB4DC\uB798\uADF8\uD558\uC5EC \uBDF0 \uC21C\uC11C \uBCC0\uACBD",loadSavedView:"\uC800\uC7A5\uB41C \uBDF0 \uB85C\uB4DC: {name}",deleteView:"\uBDF0 \uC0AD\uC81C",deleteViewTitle:"\uBDF0 \uC0AD\uC81C",deleteViewMessage:'"{name}" \uBDF0\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?',manageAllReminders:"\uBAA8\uB4E0 \uB9AC\uB9C8\uC778\uB354 \uAD00\uB9AC...",clearAllReminders:"\uBAA8\uB4E0 \uB9AC\uB9C8\uC778\uB354 \uC9C0\uC6B0\uAE30",customRecurrence:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBC18\uBCF5...",clearRecurrence:"\uBC18\uBCF5 \uC9C0\uC6B0\uAE30",sortOptions:{dueDate:"\uB9C8\uAC10\uC77C",scheduledDate:"\uC608\uC815\uC77C",priority:"\uC6B0\uC120\uC21C\uC704",status:"\uC0C1\uD0DC",title:"\uC81C\uBAA9",createdDate:"\uC0DD\uC131\uC77C",tags:"\uD0DC\uADF8",ascending:"\uC624\uB984\uCC28\uC21C",descending:"\uB0B4\uB9BC\uCC28\uC21C"},group:{none:"\uC5C6\uC74C",status:"\uC0C1\uD0DC",priority:"\uC6B0\uC120\uC21C\uC704",context:"\uCEE8\uD14D\uC2A4\uD2B8",project:"\uD504\uB85C\uC81D\uD2B8",dueDate:"\uB9C8\uAC10\uC77C",scheduledDate:"\uC608\uC815\uC77C",tags:"\uD0DC\uADF8",completedDate:"\uC644\uB8CC\uC77C"},subgroupLabel:"\uD558\uC704 \uADF8\uB8F9",notices:{propertiesMenuFailed:"\uC18D\uC131 \uBA54\uB274 \uD45C\uC2DC \uC2E4\uD328"}}},components:{dateContextMenu:{weekdays:"\uD3C9\uC77C",clearDate:"\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",today:"\uC624\uB298",tomorrow:"\uB0B4\uC77C",thisWeekend:"\uC774\uBC88 \uC8FC\uB9D0",nextWeek:"\uB2E4\uC74C \uC8FC",nextMonth:"\uB2E4\uC74C \uB2EC",setDateTime:"\uB0A0\uC9DC \uBC0F \uC2DC\uAC04 \uC124\uC815",dateLabel:"\uB0A0\uC9DC",timeLabel:"\uC2DC\uAC04 (\uC120\uD0DD\uC0AC\uD56D)"},subgroupMenuBuilder:{none:"\uC5C6\uC74C",status:"\uC0C1\uD0DC",priority:"\uC6B0\uC120\uC21C\uC704",context:"\uCEE8\uD14D\uC2A4\uD2B8",project:"\uD504\uB85C\uC81D\uD2B8",dueDate:"\uB9C8\uAC10\uC77C",scheduledDate:"\uC608\uC815\uC77C",tags:"\uD0DC\uADF8",completedDate:"\uC644\uB8CC\uC77C",subgroup:"\uD558\uC704 \uADF8\uB8F9"},propertyVisibilityDropdown:{coreProperties:"\uD575\uC2EC \uC18D\uC131",organization:"\uC870\uC9C1",customProperties:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC18D\uC131",failed:"\uC18D\uC131 \uBA54\uB274 \uD45C\uC2DC \uC2E4\uD328",properties:{statusDot:"\uC0C1\uD0DC \uC810",priorityDot:"\uC6B0\uC120\uC21C\uC704 \uC810",dueDate:"\uB9C8\uAC10\uC77C",scheduledDate:"\uC608\uC815\uC77C",timeEstimate:"\uC2DC\uAC04 \uC608\uC0C1",totalTrackedTime:"\uCD1D \uAE30\uB85D \uC2DC\uAC04",checklistProgress:"\uCCB4\uD06C\uB9AC\uC2A4\uD2B8 \uC9C4\uD589\uB960",recurrence:"\uBC18\uBCF5",completedDate:"\uC644\uB8CC\uC77C",createdDate:"\uC0DD\uC131\uC77C",modifiedDate:"\uC218\uC815\uC77C",projects:"\uD504\uB85C\uC81D\uD2B8",contexts:"\uCEE8\uD14D\uC2A4\uD2B8",tags:"\uD0DC\uADF8",blocked:"\uCC28\uB2E8\uB428",blocking:"\uCC28\uB2E8 \uC911"}},reminderContextMenu:{remindBeforeDue:"\uB9C8\uAC10 \uC804 \uC54C\uB9BC...",remindBeforeScheduled:"\uC608\uC815 \uC804 \uC54C\uB9BC...",manageAllReminders:"\uBAA8\uB4E0 \uB9AC\uB9C8\uC778\uB354 \uAD00\uB9AC...",clearAllReminders:"\uBAA8\uB4E0 \uB9AC\uB9C8\uC778\uB354 \uC9C0\uC6B0\uAE30",quickReminders:{atTime:"\uC774\uBCA4\uD2B8 \uC2DC\uAC04\uC5D0",fiveMinutesBefore:"5\uBD84 \uC804",fifteenMinutesBefore:"15\uBD84 \uC804",oneHourBefore:"1\uC2DC\uAC04 \uC804",oneDayBefore:"1\uC77C \uC804"}},recurrenceContextMenu:{daily:"\uB9E4\uC77C",weeklyOn:"{day}\uB9C8\uB2E4",everyTwoWeeksOn:"2\uC8FC\uB9C8\uB2E4 {day}",monthlyOnThe:"\uB9E4\uC6D4 {ordinal}",everyThreeMonthsOnThe:"3\uAC1C\uC6D4\uB9C8\uB2E4 {ordinal}",yearlyOn:"\uB9E4\uB144 {month} {ordinal}",weekdaysOnly:"\uD3C9\uC77C\uB9CC",dailyAfterCompletion:"\uB9E4\uC77C (\uC644\uB8CC \uD6C4)",every3DaysAfterCompletion:"3\uC77C\uB9C8\uB2E4 (\uC644\uB8CC \uD6C4)",weeklyAfterCompletion:"\uB9E4\uC8FC (\uC644\uB8CC \uD6C4)",monthlyAfterCompletion:"\uB9E4\uC6D4 (\uC644\uB8CC \uD6C4)",customRecurrence:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBC18\uBCF5...",clearRecurrence:"\uBC18\uBCF5 \uC9C0\uC6B0\uAE30",customRecurrenceModal:{title:"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBC18\uBCF5",startDate:"\uC2DC\uC791 \uB0A0\uC9DC",startDateDesc:"\uBC18\uBCF5 \uD328\uD134\uC774 \uC2DC\uC791\uB418\uB294 \uB0A0\uC9DC",startTime:"\uC2DC\uC791 \uC2DC\uAC04",startTimeDesc:"\uBC18\uBCF5 \uC778\uC2A4\uD134\uC2A4\uAC00 \uB098\uD0C0\uB098\uC57C \uD558\uB294 \uC2DC\uAC04 (\uC120\uD0DD\uC0AC\uD56D)",recurFrom:"\uBC18\uBCF5 \uAE30\uC900",recurFromDesc:"\uB2E4\uC74C \uBC1C\uC0DD\uC744 \uC5B8\uC81C \uACC4\uC0B0\uD574\uC57C \uD558\uB098\uC694?",scheduledDate:"\uC608\uC815\uC77C",completionDate:"\uC644\uB8CC\uC77C",frequency:"\uBE48\uB3C4",interval:"\uAC04\uACA9",intervalDesc:"X\uC77C/\uC8FC/\uC6D4/\uB144\uB9C8\uB2E4",daysOfWeek:"\uC694\uC77C",daysOfWeekDesc:"\uD2B9\uC815 \uC694\uC77C \uC120\uD0DD (\uC8FC\uAC04 \uBC18\uBCF5\uC6A9)",monthlyRecurrence:"\uC6D4\uAC04 \uBC18\uBCF5",monthlyRecurrenceDesc:"\uB9E4\uC6D4 \uBC18\uBCF5 \uBC29\uBC95 \uC120\uD0DD",yearlyRecurrence:"\uC5F0\uAC04 \uBC18\uBCF5",yearlyRecurrenceDesc:"\uB9E4\uB144 \uBC18\uBCF5 \uBC29\uBC95 \uC120\uD0DD",endCondition:"\uC885\uB8CC \uC870\uAC74",endConditionDesc:"\uBC18\uBCF5\uC774 \uB05D\uB098\uC57C \uD558\uB294 \uC2DC\uC810 \uC120\uD0DD",neverEnds:"\uB05D\uB098\uC9C0 \uC54A\uC74C",endAfterOccurrences:"{count}\uD68C \uD6C4 \uC885\uB8CC",endOnDate:"{date}\uC5D0 \uC885\uB8CC",onDayOfMonth:"\uB9E4\uC6D4 {day}\uC77C\uC5D0",onTheWeekOfMonth:"\uB9E4\uC6D4 {week} {day}\uC5D0",onDateOfYear:"\uB9E4\uB144 {month} {day}\uC5D0",onTheWeekOfYear:"\uB9E4\uB144 {month} {week} {day}\uC5D0",frequencies:{daily:"\uB9E4\uC77C",weekly:"\uB9E4\uC8FC",monthly:"\uB9E4\uC6D4",yearly:"\uB9E4\uB144"},weekPositions:{first:"\uCCAB\uC9F8",second:"\uB458\uC9F8",third:"\uC14B\uC9F8",fourth:"\uB137\uC9F8",last:"\uB9C8\uC9C0\uB9C9"},weekdays:{monday:"\uC6D4\uC694\uC77C",tuesday:"\uD654\uC694\uC77C",wednesday:"\uC218\uC694\uC77C",thursday:"\uBAA9\uC694\uC77C",friday:"\uAE08\uC694\uC77C",saturday:"\uD1A0\uC694\uC77C",sunday:"\uC77C\uC694\uC77C"},weekdaysShort:{mon:"\uC6D4",tue:"\uD654",wed:"\uC218",thu:"\uBAA9",fri:"\uAE08",sat:"\uD1A0",sun:"\uC77C"},cancel:"\uCDE8\uC18C",save:"\uC800\uC7A5"}}}};var xnt={en:kwe,fr:wwe,ru:Swe,zh:Ewe,de:xwe,es:Cwe,ja:Dwe,pt:Pwe,ko:Mwe};function _we(r){return new qI({resources:xnt,defaultLocale:"en",fallbackLocale:"en",...r})}nV();Kz();var By=require("obsidian");Nc();var yw=require("obsidian");Nc();Cl();G();Mc();var TWt=I({tag:"Settings/Tabs/GeneralTab"});function $y(r,e,t){r.empty();let n=(o,l)=>e.i18n.translate(o,l);kt(r,{heading:n("settings.general.taskStorage.header"),description:n("settings.general.taskStorage.description")},o=>{o.addSetting(l=>void Mn(l,{name:n("settings.general.taskStorage.defaultFolder.name"),desc:n("settings.general.taskStorage.defaultFolder.description"),placeholder:"TaskNotes",getValue:()=>e.settings.tasksFolder,setValue:async c=>{e.settings.tasksFolder=c,t()},ariaLabel:"Default folder path for new tasks"})),o.addSetting(l=>void Mn(l,{name:n("settings.features.instantConvert.folder.name"),desc:n("settings.features.instantConvert.folder.description"),placeholder:"{{currentNotePath}}",getValue:()=>e.settings.inlineTaskConvertFolder,setValue:async c=>{e.settings.inlineTaskConvertFolder=c,t()},ariaLabel:"Folder for inline-created tasks"})),o.addSetting(l=>void me(l,{name:n("settings.general.taskStorage.moveArchived.name"),desc:n("settings.general.taskStorage.moveArchived.description"),getValue:()=>e.settings.moveArchivedTasks,setValue:async c=>{e.settings.moveArchivedTasks=c,t(),$y(r,e,t)}})),e.settings.moveArchivedTasks&&o.addSetting(l=>void Mn(l,{name:n("settings.general.taskStorage.archiveFolder.name"),desc:n("settings.general.taskStorage.archiveFolder.description"),placeholder:"TaskNotes/Archive",getValue:()=>e.settings.archiveFolder,setValue:async c=>{e.settings.archiveFolder=c,t()},ariaLabel:"Archive folder path"}))}),kt(r,{heading:n("settings.general.taskIdentification.header"),description:n("settings.general.taskIdentification.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.general.taskIdentification.identifyBy.name"),desc:n("settings.general.taskIdentification.identifyBy.description"),options:[{value:"tag",label:n("settings.general.taskIdentification.identifyBy.options.tag")},{value:"property",label:n("settings.general.taskIdentification.identifyBy.options.property")}],getValue:()=>e.settings.taskIdentificationMethod,setValue:async c=>{e.settings.taskIdentificationMethod=c,t(),$y(r,e,t)},ariaLabel:"Task identification method"})),e.settings.taskIdentificationMethod==="tag"?(o.addSetting(l=>void Mn(l,{name:n("settings.general.taskIdentification.taskTag.name"),desc:n("settings.general.taskIdentification.taskTag.description"),placeholder:"task",getValue:()=>e.settings.taskTag,setValue:async c=>{e.settings.taskTag=c,t()},ariaLabel:"Task identification tag"})),o.addSetting(l=>void me(l,{name:n("settings.general.taskIdentification.hideIdentifyingTags.name"),desc:n("settings.general.taskIdentification.hideIdentifyingTags.description"),getValue:()=>e.settings.hideIdentifyingTagsInCards,setValue:async c=>{e.settings.hideIdentifyingTagsInCards=c,t(),$y(r,e,t)}})),e.settings.hideIdentifyingTagsInCards&&o.addSetting(l=>void dn(l,{name:n("settings.general.taskIdentification.hideIdentifyingTagsMode.name"),desc:n("settings.general.taskIdentification.hideIdentifyingTagsMode.description"),options:[{value:"all",label:n("settings.general.taskIdentification.hideIdentifyingTagsMode.options.all")},{value:"exact-only",label:n("settings.general.taskIdentification.hideIdentifyingTagsMode.options.exactOnly")}],getValue:()=>e.settings.hideIdentifyingTagsMode,setValue:async c=>{e.settings.hideIdentifyingTagsMode=c,t()},ariaLabel:"Hidden identification tag scope"}))):(o.addSetting(l=>void Mn(l,{name:n("settings.general.taskIdentification.taskProperty.name"),desc:n("settings.general.taskIdentification.taskProperty.description"),placeholder:"category",getValue:()=>e.settings.taskPropertyName,setValue:async c=>{e.settings.taskPropertyName=c,t()}})),o.addSetting(l=>void Mn(l,{name:n("settings.general.taskIdentification.taskPropertyValue.name"),desc:n("settings.general.taskIdentification.taskPropertyValue.description"),placeholder:"task",getValue:()=>e.settings.taskPropertyValue,setValue:async c=>{e.settings.taskPropertyValue=c,t()}})))});let i=[{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:"pomodoro-stats-base",nameKey:"pomodoroStats",defaultPath:"TaskNotes/Views/pomodoro-stats.base"},{id:"relationships",nameKey:"relationships",defaultPath:"TaskNotes/Views/relationships.base"}];kt(r,{heading:n("settings.integrations.basesIntegration.viewCommands.header"),description:n("settings.integrations.basesIntegration.viewCommands.description")},o=>{o.addSetting(l=>{l.setDesc(n("settings.integrations.basesIntegration.viewCommands.descriptionRegen")),l.settingEl.addClass("settings-view__group-description")}),o.addSetting(l=>{l.setDesc(n("settings.integrations.basesIntegration.viewCommands.pomodoroDailyNotesHint")),l.settingEl.addClass("settings-view__group-description")}),o.addSetting(l=>{l.descEl.createEl("a",{text:n("settings.integrations.basesIntegration.viewCommands.docsLink"),href:n("settings.integrations.basesIntegration.viewCommands.docsLinkUrl")}).setAttr("target","_blank"),l.settingEl.addClass("settings-view__group-description")}),i.forEach(({id:l,nameKey:c,defaultPath:d})=>{o.addSetting(u=>{let p=n(`settings.integrations.basesIntegration.viewCommands.commands.${c}`);u.setName(p),u.setDesc(n("settings.integrations.basesIntegration.viewCommands.fileLabel",{path:e.settings.commandFileMapping[l]})),u.addText(m=>(m.setPlaceholder(d).setValue(e.settings.commandFileMapping[l]).onChange(f=>{e.settings.commandFileMapping[l]=f,t(),u.setDesc(n("settings.integrations.basesIntegration.viewCommands.fileLabel",{path:f}))}),m.inputEl.classList.remove("tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),m.inputEl.classList.add("tn-static-width-100-0466783d"),m)),u.addButton(m=>(m.setButtonText(n("settings.integrations.basesIntegration.viewCommands.resetButton")).setTooltip(n("settings.integrations.basesIntegration.viewCommands.resetTooltip")).onClick(()=>{e.settings.commandFileMapping[l]=d,t(),e.app.setting.activeTab&&e.app.setting.openTabById(e.app.setting.activeTab.id)}),m))})}),o.addSetting(l=>{l.setName(n("settings.integrations.basesIntegration.autoCreateDefaultFiles.name")).setDesc(n("settings.integrations.basesIntegration.autoCreateDefaultFiles.description")).addToggle(c=>(c.setValue(e.settings.autoCreateDefaultBasesFiles).onChange(d=>{e.settings.autoCreateDefaultBasesFiles=d,t()}),c))}),o.addSetting(l=>{l.setName(n("settings.integrations.basesIntegration.createDefaultFiles.name")).setDesc(n("settings.integrations.basesIntegration.createDefaultFiles.description")).addButton(c=>(c.setButtonText(n("settings.integrations.basesIntegration.createDefaultFiles.buttonText")).setCta().onClick(async()=>{await e.createDefaultBasesFiles()}),c))}),o.addSetting(l=>{l.setName(n("settings.integrations.basesIntegration.updateDefaultFiles.name")).setDesc(n("settings.integrations.basesIntegration.updateDefaultFiles.description")).addButton(c=>(c.setButtonText(n("settings.integrations.basesIntegration.updateDefaultFiles.buttonText")).onClick(async()=>{await bn(e.app,{title:n("settings.integrations.basesIntegration.updateDefaultFiles.confirmTitle"),message:n("settings.integrations.basesIntegration.updateDefaultFiles.confirmMessage"),confirmText:n("settings.integrations.basesIntegration.updateDefaultFiles.confirmText"),isDestructive:!1})&&await e.createDefaultBasesFiles({overwriteExisting:!0})}),c))}),o.addSetting(l=>{l.setName(n("settings.integrations.basesIntegration.exportV3Views.name")).setDesc(n("settings.integrations.basesIntegration.exportV3Views.description")).addButton(c=>(c.setButtonText(n("settings.integrations.basesIntegration.exportV3Views.buttonText")).onClick(async()=>{try{let d=e.viewStateManager.getSavedViews();if(d.length===0){new yw.Notice(n("settings.integrations.basesIntegration.exportV3Views.noViews"));return}let u=e.basesFilterConverter.convertAllSavedViewsToBasesFile(d),p="all-saved-views.base",m=`TaskNotes/Views/${p}`;await e.app.vault.adapter.exists("TaskNotes/Views")||await Xw(e.app,"TaskNotes/Views");let f=e.app.vault.getAbstractFileByPath(m);if(f){if(!(f instanceof yw.TFile))throw new Error(`${m} exists but is not a file`);if(!await bn(e.app,{title:n("settings.integrations.basesIntegration.exportV3Views.fileExists"),message:n("settings.integrations.basesIntegration.exportV3Views.confirmOverwrite",{fileName:p}),isDestructive:!1}))return;await Xa(e.app,f,u)}else await sh(e.app,m,u);new yw.Notice(n("settings.integrations.basesIntegration.exportV3Views.success",{count:d.length.toString(),filePath:m})),await e.app.workspace.openLinkText(m,"",!0)}catch(d){TWt.error("Error exporting all views to Bases:",{category:"provider",operation:"exporting-all-views-bases",error:d}),new yw.Notice(n("settings.integrations.basesIntegration.exportV3Views.error",{message:d.message}))}}),c))})}),kt(r,{heading:n("settings.general.folderManagement.header")},o=>{o.addSetting(l=>void Mn(l,{name:n("settings.general.folderManagement.excludedFolders.name"),desc:n("settings.general.folderManagement.excludedFolders.description"),placeholder:"Templates, Archive",getValue:()=>e.settings.excludedFolders,setValue:async c=>{e.settings.excludedFolders=c,t()},ariaLabel:"Excluded folder paths"}))});let a=(()=>{let o=[{value:"system",label:n("common.systemDefault")}];for(let l of e.i18n.getAvailableLocales()){let c=e.i18n.getNativeLanguageName(l);o.push({value:l,label:c})}return o})();kt(r,{heading:n("settings.features.uiLanguage.header"),description:n("settings.features.uiLanguage.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.features.uiLanguage.dropdown.name"),desc:n("settings.features.uiLanguage.dropdown.description"),options:a,getValue:()=>{var c;return(c=e.settings.uiLanguage)!=null?c:"system"},setValue:async c=>{e.settings.uiLanguage=c,e.i18n.setLocale(c),t(),$y(r,e,t)}}))}),e.app.vault.getConfig("useMarkdownLinks")&&kt(r,{heading:n("settings.general.frontmatter.header"),description:n("settings.general.frontmatter.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.general.frontmatter.useMarkdownLinks.name"),desc:n("settings.general.frontmatter.useMarkdownLinks.description"),getValue:()=>e.settings.useFrontmatterMarkdownLinks,setValue:async c=>{e.settings.useFrontmatterMarkdownLinks=c,t()}}))}),kt(r,{heading:n("settings.general.releaseNotes.header"),description:n("settings.general.releaseNotes.description",{version:e.manifest.version})},o=>{o.addSetting(l=>void me(l,{name:n("settings.general.releaseNotes.showOnUpdate.name"),desc:n("settings.general.releaseNotes.showOnUpdate.description"),getValue:()=>{var c;return(c=e.settings.showReleaseNotesOnUpdate)!=null?c:!0},setValue:async c=>{e.settings.showReleaseNotesOnUpdate=c,t()}})),o.addSetting(l=>{l.setName(n("settings.general.releaseNotes.viewButton.name")).setDesc(n("settings.general.releaseNotes.viewButton.description")).addButton(c=>c.setButtonText(n("settings.general.releaseNotes.viewButton.buttonText")).setCta().onClick(async()=>{await e.activateReleaseNotesView()}))})})}Nc();ca();var tGe=require("obsidian");ca();var xie=require("obsidian");ca();function kWt(r,e,t){var i;let n=r.settings.nlpTriggers.triggers.find(a=>a.propertyId===e);return{propertyId:e,enabled:(i=n==null?void 0:n.enabled)!=null?i:e!=="priority",trigger:(n==null?void 0:n.trigger)||t}}function eGe(r,e,t,n,i){var s,o;let a=r.settings.nlpTriggers.triggers.findIndex(l=>l.propertyId===e);a!==-1?(t.enabled!==void 0&&(r.settings.nlpTriggers.triggers[a].enabled=t.enabled),t.trigger!==void 0&&(r.settings.nlpTriggers.triggers[a].trigger=t.trigger)):r.settings.nlpTriggers.triggers.push({propertyId:e,trigger:(s=t.trigger)!=null?s:n,enabled:(o=t.enabled)!=null?o:!0}),i()}function ml(r,e,t,n,i,a){let s=kWt(r,e,t),o=_n(s.enabled,d=>{eGe(r,e,{enabled:d},t,n),a&&a()}),l=[{label:i("settings.taskProperties.propertyCard.nlpTrigger"),input:o}],c=Ge("text",t,s.trigger);return c.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419"),c.classList.add("tn-static-width-80px-8573bae3"),c.addEventListener("change",()=>{let d=c.value;if(d.trim().length===0){new xie.Notice(i("settings.taskProperties.propertyCard.triggerEmpty"));return}if(d.length>10){new xie.Notice(i("settings.taskProperties.propertyCard.triggerTooLong"));return}eGe(r,e,{trigger:d},t,n)}),l.push({label:i("settings.taskProperties.propertyCard.triggerChar"),input:c}),l}function Za(r){let e=activeDocument.createElement("p");return e.className="setting-item-description",e.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),e.classList.add("tn-static-margin-top-0-d462248a"),e.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-20px-49f14f8f","tn-static-margin-bottom-8px-fdf33f23"),e.classList.add("tn-static-margin-bottom-0-75rem-c05a3c6e"),e.textContent=r,e}function zy(r,e,t,n,i){let a=Ge("text",i.propertyId,e.settings.fieldMapping[i.propertyId]);a.addEventListener("change",()=>{e.settings.fieldMapping[i.propertyId]=a.value,t()});let o=[{label:"",input:Za(i.description||""),fullWidth:!0},{label:n("settings.taskProperties.propertyCard.propertyKey"),input:a}];if(i.hasDefault&&i.getDefaultValue&&i.setDefaultValue){let l=i.setDefaultValue,c;i.defaultType==="dropdown"||i.defaultType==="date-preset"?(c=ci(i.defaultOptions||[],i.getDefaultValue()),c.addEventListener("change",()=>{l(c.value)})):i.defaultType==="number"?(c=em(0,void 0,1,parseInt(i.getDefaultValue())||0),c.addEventListener("change",()=>{l(c.value)})):(c=Ge("text",i.defaultPlaceholder||"",i.getDefaultValue()),c.addEventListener("change",()=>{l(c.value)})),o.push({label:n("settings.taskProperties.propertyCard.default"),input:c})}if(i.extraRows&&o.push(...i.extraRows),i.hasNLPTrigger&&i.nlpDefaultTrigger){let l=ml(e,i.propertyId,i.nlpDefaultTrigger,t,n);o.push(...l)}vr(r,{id:`property-${i.propertyId}`,collapsible:!0,defaultCollapsed:!0,header:{primaryText:i.displayName,secondaryText:e.settings.fieldMapping[i.propertyId]},content:{sections:[{rows:o}]}})}function Qa(r,e,t,n,i,a,s){let o=Ge("text",i,e.settings.fieldMapping[i]);o.addEventListener("change",()=>{e.settings.fieldMapping[i]=o.value,t()});let l=Za(s||"");vr(r,{id:`property-${i}`,collapsible:!0,defaultCollapsed:!0,header:{primaryText:a,secondaryText:e.settings.fieldMapping[i]},content:{sections:[{rows:[{label:"",input:l,fullWidth:!0},{label:n("settings.taskProperties.propertyCard.propertyKey"),input:o}]}]}})}function Cie(r,e,t,n){let i=r.createDiv(),a=!0;function s(){i.empty();let o=Ge("text","title",e.settings.fieldMapping.title);o.addEventListener("change",()=>{e.settings.fieldMapping.title=o.value,t()});let l=_n(e.settings.storeTitleInFilename,p=>{e.settings.storeTitleInFilename=p,t(),s()}),c=activeDocument.createElement("div");c.addClass("tasknotes-settings__nested-content"),rGe(c,e,t,n);let u=[{label:"",input:Za(n("settings.taskProperties.properties.title.description")),fullWidth:!0}];e.settings.storeTitleInFilename||u.push({label:n("settings.taskProperties.propertyCard.propertyKey"),input:o}),u.push({label:n("settings.taskProperties.titleCard.storeTitleInFilename"),input:l},{label:"",input:c,fullWidth:!0}),vr(i,{id:"property-title",collapsible:!0,defaultCollapsed:a,onCollapseChange:p=>{a=p},header:{primaryText:n("settings.taskProperties.properties.title.name"),secondaryText:e.settings.storeTitleInFilename?n("settings.taskProperties.titleCard.storedInFilename"):e.settings.fieldMapping.title},content:{sections:[{rows:u}]}})}s()}function rGe(r,e,t,n){if(r.empty(),e.settings.storeTitleInFilename){r.createDiv({text:n("settings.taskProperties.titleCard.filenameUpdatesWithTitle"),cls:"setting-item-description"});return}let i=r.createDiv("tasknotes-settings__card-config-row");i.createSpan({text:n("settings.taskProperties.titleCard.filenameFormat"),cls:"tasknotes-settings__card-config-label"});let a=ci([{value:"title",label:n("settings.appearance.taskFilenames.filenameFormat.options.title")},{value:"zettel",label:n("settings.appearance.taskFilenames.filenameFormat.options.zettel")},{value:"timestamp",label:n("settings.appearance.taskFilenames.filenameFormat.options.timestamp")},{value:"uuid",label:n("settings.appearance.taskFilenames.filenameFormat.options.uuid")},{value:"custom",label:n("settings.appearance.taskFilenames.filenameFormat.options.custom")}],e.settings.taskFilenameFormat);if(a.addEventListener("change",()=>{e.settings.taskFilenameFormat=a.value,t(),rGe(r,e,t,n)}),i.appendChild(a),e.settings.taskFilenameFormat==="custom"){let s=r.createDiv("tasknotes-settings__card-config-row");s.createSpan({text:n("settings.taskProperties.titleCard.customTemplate"),cls:"tasknotes-settings__card-config-label"});let o=Ge("text",n("settings.appearance.taskFilenames.customTemplate.placeholder"),e.settings.customFilenameTemplate);o.classList.remove("tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-200px-2acaf3b5","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),o.classList.add("tn-static-width-100-0466783d");let l=r.createDiv(),c=()=>{l.empty();let d=o.value,u=/\{[a-zA-Z]+\}/g,p=/\{\{[a-zA-Z]+\}\}/g,m=d.replace(p,"");if(u.test(m)){let h=l.createDiv({cls:"setting-item-description mod-warning"});h.classList.remove("tn-static-color-var-color-accent-d2cad743","tn-static-color-var-text-accent-65b47ee3","tn-static-color-var-text-muted-5872de20","tn-static-color-var-text-on-accent-f3e1679d","tn-static-color-var-tn-text-muted-a90fb6f3","tn-static-color-white-0a43e56a","tn-static-cursor-pointer-2723efcc","tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-2px-0-edce9b14","tn-static-padding-20px-7a035d95","tn-static-padding-20px-ebe8e48c"),h.classList.add("tn-static-color-var-text-warning-783d5f03"),h.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-f4f01e68"),h.classList.add("tn-static-margin-top-8px-8a77e5a3"),h.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),h.classList.add("tn-static-display-flex-75816cae"),h.classList.remove("tn-static-align-items-baseline-4b95b5c7","tn-static-align-items-center-7c619740"),h.classList.add("tn-static-align-items-flex-start-0486f781"),h.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-10px-f3d7ce77","tn-static-gap-12px-ed7b3d87","tn-static-gap-8px-33fcd4c3"),h.classList.add("tn-static-gap-6px-f0abc1db");let g=h.createSpan();(0,tGe.setIcon)(g,"alert-triangle"),g.classList.add("tn-static-flex-shrink-0-6ee0661e");let v=h.createSpan();v.textContent=n("settings.taskProperties.titleCard.legacySyntaxWarning")}};o.addEventListener("change",()=>{e.settings.customFilenameTemplate=o.value,t(),c()}),o.addEventListener("input",c),s.appendChild(o),r.createDiv({text:n("settings.appearance.taskFilenames.customTemplate.helpText"),cls:"setting-item-description"}),c()}}var nGe=require("obsidian");ca();var kp=require("obsidian"),Die=class extends kp.AbstractInputSuggest{constructor(e,t){super(e,t),this.input=t}getSuggestions(e){let t=(0,kp.getIconIds)(),n=e.toLowerCase().trim();return n?t.filter(i=>i.toLowerCase().includes(n)).map(i=>({id:i,display:i})):["check","circle","clock","star","flag","alert-circle","calendar","bookmark","play","pause","square","x","check-circle","minus-circle","plus-circle","loader"].filter(a=>t.includes(a)).map(a=>({id:a,display:a}))}renderSuggestion(e,t){t.addClass("icon-suggestion-item");let n=t.createSpan("icon-suggestion-preview");(0,kp.setIcon)(n,e.id),t.createSpan({text:e.display,cls:"icon-suggestion-text"})}selectSuggestion(e){this.input.value=e.id,this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.dispatchEvent(new Event("change",{bubbles:!0})),this.close()}};function Zz(r,e,t,n){let i=activeDocument.createElement("div");i.addClass("icon-input-container");let a=activeDocument.createElement("span");a.addClass("icon-input-preview"),i.appendChild(a);let s=activeDocument.createElement("input");s.type="text",s.addClass("tasknotes-settings__card-input"),s.addClass("icon-input"),s.placeholder=e,t&&(s.value=t,(0,kp.setIcon)(a,t),a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-flex-75816cae")),i.appendChild(s);let o=()=>{let l=s.value.trim();l&&(0,kp.getIconIds)().includes(l)?(a.empty(),(0,kp.setIcon)(a,l),a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-flex-75816cae")):(a.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),a.classList.add("tn-static-display-none-6b99de8b"))};return s.addEventListener("input",()=>{o(),n&&n(s.value)}),new Die(r,s),{container:i,input:s}}function Pie(r,e,t,n){let i=Ge("text","status",e.settings.fieldMapping.status),a=e.settings.customStatuses.map(b=>b.value);!a.includes(e.settings.defaultTaskStatus)&&a.length>0&&(e.settings.defaultTaskStatus=a[0],t());let s=ci(e.settings.customStatuses.map(b=>({value:b.value,label:b.label||b.value})),e.settings.defaultTaskStatus);i.addEventListener("change",()=>{e.settings.fieldMapping.status=i.value,t()}),s.addEventListener("change",()=>{e.settings.defaultTaskStatus=s.value,t()});let o=activeDocument.createElement("div");o.addClass("tasknotes-settings__nested-cards");let l=o.createDiv("tasknotes-settings__collapsible-section"),c=l.createDiv("tasknotes-settings__collapsible-section-header");c.createSpan({text:n("settings.taskProperties.statusCard.valuesHeader"),cls:"tasknotes-settings__collapsible-section-title"});let d=c.createSpan("tasknotes-settings__collapsible-section-chevron");(0,nGe.setIcon)(d,"chevron-down");let u=l.createDiv("tasknotes-settings__collapsible-section-content"),p=u.createDiv("tasknotes-settings__help-section");p.createEl("h4",{text:n("settings.taskProperties.taskStatuses.howTheyWork.title")});let m=p.createEl("ul");m.createEl("li",{text:n("settings.taskProperties.taskStatuses.howTheyWork.value")}),m.createEl("li",{text:n("settings.taskProperties.taskStatuses.howTheyWork.label")}),m.createEl("li",{text:n("settings.taskProperties.taskStatuses.howTheyWork.color")}),m.createEl("li",{text:n("settings.taskProperties.taskStatuses.howTheyWork.icon")}),m.createEl("li",{text:n("settings.taskProperties.taskStatuses.howTheyWork.completed")}),m.createEl("li",{text:n("settings.taskProperties.taskStatuses.howTheyWork.autoArchive")}),p.createEl("p",{text:n("settings.taskProperties.taskStatuses.howTheyWork.orderNote"),cls:"setting-item-description"});let f=u.createDiv("tasknotes-statuses-container");OM(f,e,t,n,()=>{s.empty(),e.settings.customStatuses.forEach(b=>{let w=s.createEl("option",{value:b.value,text:b.label||b.value});b.value===e.settings.defaultTaskStatus&&(w.selected=!0)})});let h=u.createEl("button",{text:n("settings.taskProperties.taskStatuses.addNew.buttonText"),cls:"tn-btn tn-btn--ghost"});h.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),h.classList.add("tn-static-margin-top-0-5rem-3dc98b5e"),h.onclick=()=>{let w={id:`status_${Date.now()}`,value:"",label:"",color:"#6366f1",completed:!1,isCompleted:!1,excludeFromCycle:!1,order:e.settings.customStatuses.length,autoArchive:!1,autoArchiveDelay:5};e.settings.customStatuses.push(w),t(),OM(f,e,t,n,()=>{s.empty(),e.settings.customStatuses.forEach(S=>{let x=s.createEl("option",{value:S.value,text:S.label||S.value});S.value===e.settings.defaultTaskStatus&&(x.selected=!0)})})},c.addEventListener("click",()=>{l.toggleClass("tasknotes-settings__collapsible-section--collapsed",!l.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let g=ml(e,"status","*",t,n),k=[{label:"",input:Za(n("settings.taskProperties.properties.status.description")),fullWidth:!0},{label:n("settings.taskProperties.propertyCard.propertyKey"),input:i},{label:n("settings.taskProperties.propertyCard.default"),input:s},...g,{label:"",input:o,fullWidth:!0}];vr(r,{id:"property-status",collapsible:!0,defaultCollapsed:!0,header:{primaryText:n("settings.taskProperties.properties.status.name"),secondaryText:e.settings.fieldMapping.status},content:{sections:[{rows:k}]}})}function OM(r,e,t,n,i){if(r.empty(),!e.settings.customStatuses||e.settings.customStatuses.length===0){Rc(r,n("settings.taskProperties.taskStatuses.emptyState"));return}let a=[...e.settings.customStatuses].sort((s,o)=>s.order-o.order);a.forEach(s=>{let o=s.value,l=Ge("text",n("settings.taskProperties.taskStatuses.placeholders.value"),s.value),c=Ge("text",n("settings.taskProperties.taskStatuses.placeholders.label"),s.label),d=ub(s.color),{container:u,input:p}=Zz(e.app,n("settings.taskProperties.taskStatuses.placeholders.icon"),s.icon||""),m=_n(s.isCompleted||!1,C=>{s.isCompleted=C;let D=b==null?void 0:b.querySelector(".tasknotes-settings__card-meta");D&&(D.empty(),s.isCompleted&&D.appendChild(La(n("settings.taskProperties.taskStatuses.badges.completed"),"completed"))),t()}),f=_n(s.excludeFromCycle||!1,C=>{s.excludeFromCycle=C,t()}),h=ci([{value:"",label:n("settings.taskProperties.taskStatuses.placeholders.nextStatusDefault")},...a.filter(C=>C.id!==s.id).map(C=>({value:C.value,label:C.label||C.value}))],s.nextStatus===s.value?"":s.nextStatus||""),g=_n(s.autoArchive||!1,C=>{s.autoArchive=C,t(),w()}),v=em(1,1440,1,s.autoArchiveDelay||5),k=s.isCompleted?[La(n("settings.taskProperties.taskStatuses.badges.completed"),"completed")]:[],b,w=()=>{let C=v.closest(".tasknotes-settings__card-config-row");C&&(C.style.display=s.autoArchive?"flex":"none")},S=()=>{if(confirm(n("settings.taskProperties.taskStatuses.deleteConfirm",{label:s.label||s.value}))){let D=e.settings.customStatuses.findIndex(_=>_.id===s.id);if(D!==-1){let _=e.settings.defaultTaskStatus===s.value,O=e.settings.customStatuses[D].value;e.settings.customStatuses.splice(D,1),e.settings.customStatuses.forEach((L,N)=>{L.order=N,L.nextStatus===O&&delete L.nextStatus}),_&&e.settings.customStatuses.length>0&&(e.settings.defaultTaskStatus=e.settings.customStatuses[0].value),t(),OM(r,e,t,n,i),i&&i()}}},x={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:k,actions:[Al(S)]},content:{sections:[{rows:[{label:n("settings.taskProperties.taskStatuses.fields.value"),input:l},{label:n("settings.taskProperties.taskStatuses.fields.label"),input:c},{label:n("settings.taskProperties.taskStatuses.fields.color"),input:d},{label:n("settings.taskProperties.taskStatuses.fields.icon"),input:u},{label:n("settings.taskProperties.taskStatuses.fields.completed"),input:m},{label:n("settings.taskProperties.taskStatuses.fields.excludeFromCycle"),input:f},{label:n("settings.taskProperties.taskStatuses.fields.nextStatus"),input:h},{label:n("settings.taskProperties.taskStatuses.fields.autoArchive"),input:g},{label:n("settings.taskProperties.taskStatuses.fields.delayMinutes"),input:v}]}]}};b=vr(r,x),w(),l.addEventListener("input",()=>{s.value=l.value,b.querySelector(".tasknotes-settings__card-primary-text").textContent=s.value||"untitled",t(),i&&i()}),l.addEventListener("change",()=>{o!==s.value&&(e.settings.customStatuses.forEach(C=>{C.nextStatus===o&&(C.nextStatus=C.id===s.id||!s.value?void 0:s.value)}),o=s.value,t(),OM(r,e,t,n,i))}),c.addEventListener("input",()=>{s.label=c.value,b.querySelector(".tasknotes-settings__card-secondary-text").textContent=s.label||"No label",t(),i&&i()}),d.addEventListener("change",()=>{s.color=pb(d,s.color||"#6366f1");let C=b.querySelector(".tasknotes-settings__card-color-indicator");C&&(C.style.backgroundColor=s.color),t()}),p.addEventListener("change",()=>{s.icon=p.value.trim()||void 0,t()}),h.addEventListener("change",()=>{s.nextStatus=h.value&&h.value!==s.value?h.value:void 0,t()}),v.addEventListener("change",()=>{let C=parseInt(v.value);!isNaN(C)&&C>=1&&C<=1440&&(s.autoArchiveDelay=C,t())}),mb(b,r,(C,D,_)=>{let O=e.settings.customStatuses.findIndex(H=>H.id===C),L=e.settings.customStatuses.findIndex(H=>H.id===D);if(O===-1||L===-1)return;let N=[...e.settings.customStatuses],[R]=N.splice(O,1),z=L;O<L&&(z=L-1),_||z++,N.splice(z,0,R),N.forEach((H,Y)=>{H.order=Y}),e.settings.customStatuses=N,t(),OM(r,e,t,n,i)})})}var Jz=require("obsidian");ca();function Mie(r,e,t,n){let i=Ge("text","priority",e.settings.fieldMapping.priority),a=e.settings.customPriorities.map(b=>b.value);e.settings.defaultTaskPriority!==""&&!a.includes(e.settings.defaultTaskPriority)&&(e.settings.defaultTaskPriority=a.length>0?a[0]:"",t());let s=ci([{value:"",label:n("settings.defaults.options.noDefault")},...e.settings.customPriorities.map(b=>({value:b.value,label:b.label||b.value}))],e.settings.defaultTaskPriority);i.addEventListener("change",()=>{e.settings.fieldMapping.priority=i.value,t()}),s.addEventListener("change",()=>{e.settings.defaultTaskPriority=s.value,t()});let o=activeDocument.createElement("div");o.addClass("tasknotes-settings__nested-cards");let l=o.createDiv("tasknotes-settings__collapsible-section"),c=l.createDiv("tasknotes-settings__collapsible-section-header");c.createSpan({text:n("settings.taskProperties.priorityCard.valuesHeader"),cls:"tasknotes-settings__collapsible-section-title"});let d=c.createSpan("tasknotes-settings__collapsible-section-chevron");(0,Jz.setIcon)(d,"chevron-down");let u=l.createDiv("tasknotes-settings__collapsible-section-content"),p=u.createDiv("tasknotes-settings__help-section");p.createEl("h4",{text:n("settings.taskProperties.taskPriorities.howTheyWork.title")});let m=p.createEl("ul");m.createEl("li",{text:n("settings.taskProperties.taskPriorities.howTheyWork.value")}),m.createEl("li",{text:n("settings.taskProperties.taskPriorities.howTheyWork.label")}),m.createEl("li",{text:n("settings.taskProperties.taskPriorities.howTheyWork.color")}),m.createEl("li",{text:n("settings.taskProperties.taskPriorities.howTheyWork.icon")});let f=u.createDiv("tasknotes-priorities-container");Qz(f,e,t,n,()=>{s.empty();let b=s.createEl("option",{value:"",text:n("settings.defaults.options.noDefault")});e.settings.defaultTaskPriority===""&&(b.selected=!0),e.settings.customPriorities.forEach(w=>{let S=s.createEl("option",{value:w.value,text:w.label||w.value});w.value===e.settings.defaultTaskPriority&&(S.selected=!0)})});let h=u.createEl("button",{text:n("settings.taskProperties.taskPriorities.addNew.buttonText"),cls:"tn-btn tn-btn--ghost"});h.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),h.classList.add("tn-static-margin-top-0-5rem-3dc98b5e"),h.onclick=()=>{let b=`priority_${Date.now()}`,w=e.settings.customPriorities.reduce((x,C)=>Math.max(x,C.weight),-1),S={id:b,value:"",label:"",color:"#6366f1",weight:w+1};e.settings.customPriorities.push(S),t(),Qz(f,e,t,n,()=>{s.empty();let x=s.createEl("option",{value:"",text:n("settings.defaults.options.noDefault")});e.settings.defaultTaskPriority===""&&(x.selected=!0),e.settings.customPriorities.forEach(C=>{let D=s.createEl("option",{value:C.value,text:C.label||C.value});C.value===e.settings.defaultTaskPriority&&(D.selected=!0)})})},c.addEventListener("click",()=>{l.toggleClass("tasknotes-settings__collapsible-section--collapsed",!l.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let g=ml(e,"priority","!",t,n),k=[{label:"",input:Za(n("settings.taskProperties.properties.priority.description")),fullWidth:!0},{label:n("settings.taskProperties.propertyCard.propertyKey"),input:i},{label:n("settings.taskProperties.propertyCard.default"),input:s},...g,{label:"",input:o,fullWidth:!0}];vr(r,{id:"property-priority",collapsible:!0,defaultCollapsed:!0,header:{primaryText:n("settings.taskProperties.properties.priority.name"),secondaryText:e.settings.fieldMapping.priority},content:{sections:[{rows:k}]}})}function Qz(r,e,t,n,i){if(r.empty(),!e.settings.customPriorities||e.settings.customPriorities.length===0){Rc(r,n("settings.taskProperties.taskPriorities.emptyState"));return}[...e.settings.customPriorities].sort((s,o)=>s.weight-o.weight).forEach(s=>{let o=Ge("text",n("settings.taskProperties.taskPriorities.placeholders.value"),s.value),l=Ge("text",n("settings.taskProperties.taskPriorities.placeholders.label"),s.label),c=ub(s.color),{container:d,input:u}=Zz(e.app,n("settings.taskProperties.taskPriorities.placeholders.icon"),s.icon||""),p=vr(r,{id:s.id,draggable:!0,collapsible:!0,defaultCollapsed:!0,colorIndicator:{color:s.color},header:{primaryText:s.label||s.value||"untitled",actions:[Al(()=>{if(e.settings.customPriorities.length<=1){new Jz.Notice(n("settings.taskProperties.taskPriorities.deleteConfirm"));return}let m=e.settings.customPriorities.findIndex(f=>f.id===s.id);if(m!==-1){let f=e.settings.defaultTaskPriority===s.value;e.settings.customPriorities.splice(m,1),e.settings.customPriorities.sort((h,g)=>h.weight-g.weight).forEach((h,g)=>{h.weight=g}),f&&(e.settings.defaultTaskPriority=e.settings.customPriorities.length>0?e.settings.customPriorities[0].value:""),t(),Qz(r,e,t,n,i),i&&i()}},n("settings.taskProperties.taskPriorities.deleteTooltip"))]},content:{sections:[{rows:[{label:n("settings.taskProperties.taskPriorities.fields.value"),input:o},{label:n("settings.taskProperties.taskPriorities.fields.label"),input:l},{label:n("settings.taskProperties.taskPriorities.fields.color"),input:c},{label:n("settings.taskProperties.taskPriorities.fields.icon"),input:d}]}]}});o.addEventListener("input",()=>{s.value=o.value,t(),i&&i()}),l.addEventListener("input",()=>{s.label=l.value,p.querySelector(".tasknotes-settings__card-primary-text").textContent=s.label||s.value||"untitled",t(),i&&i()}),c.addEventListener("change",()=>{s.color=pb(c,s.color||"#6366f1");let m=p.querySelector(".tasknotes-settings__card-color-indicator");m&&(m.style.backgroundColor=s.color),t()}),u.addEventListener("change",()=>{s.icon=u.value.trim()||void 0,t()}),mb(p,r,(m,f,h)=>{let g=e.settings.customPriorities.findIndex(C=>C.id===m),v=e.settings.customPriorities.findIndex(C=>C.id===f);if(g===-1||v===-1)return;let k=[...e.settings.customPriorities].sort((C,D)=>C.weight-D.weight),b=k.findIndex(C=>C.id===m),w=k.findIndex(C=>C.id===f),[S]=k.splice(b,1),x=w;b<w&&(x=w-1),h||x++,k.splice(x,0,S),k.forEach((C,D)=>{C.weight=D}),e.settings.customPriorities=k,t(),Qz(r,e,t,n,i)})})}var LM=require("obsidian");ca();ca();function Xz(r,e,t,n){var u,p;let i=e||{requiredTags:[],includeFolders:[],propertyKey:"",propertyValue:""},a=m=>{i={...i,...m},t(i)},s=Ge("text",n("settings.appearance.projectAutosuggest.requiredTags.placeholder"),((u=i.requiredTags)==null?void 0:u.join(", "))||"");s.addEventListener("change",()=>{let m=s.value.split(",").map(f=>f.trim()).filter(Boolean);a({requiredTags:m})});let o=Ge("text",n("settings.appearance.projectAutosuggest.includeFolders.placeholder"),((p=i.includeFolders)==null?void 0:p.join(", "))||"");o.addEventListener("change",()=>{let m=o.value.split(",").map(f=>f.trim()).filter(Boolean);a({includeFolders:m})});let l=Ge("text",n("settings.appearance.projectAutosuggest.requiredPropertyKey.placeholder"),i.propertyKey||"");l.addEventListener("change",()=>{a({propertyKey:l.value.trim()})});let c=Ge("text",n("settings.appearance.projectAutosuggest.requiredPropertyValue.placeholder"),i.propertyValue||"");c.addEventListener("change",()=>{a({propertyValue:c.value.trim()})});let d=(m,f)=>{let h=r.createDiv("tasknotes-settings__card-config-row"),g=h.createSpan("tasknotes-settings__card-config-label");g.textContent=m,h.appendChild(f)};d(n("settings.appearance.projectAutosuggest.requiredTags.name"),s),d(n("settings.appearance.projectAutosuggest.includeFolders.name"),o),d(n("settings.appearance.projectAutosuggest.requiredPropertyKey.name"),l),d(n("settings.appearance.projectAutosuggest.requiredPropertyValue.name"),c)}iS();Op();function Aie(r,e,t,n){let i=r.createDiv(),a=!0;function s(){i.empty();let o=Ge("text","projects",e.settings.fieldMapping.projects);o.addEventListener("change",()=>{e.settings.fieldMapping.projects=o.value,t()});let l=activeDocument.createElement("div");l.addClass("tasknotes-settings__nested-content");let c=[],d=l.createDiv("default-projects-container");e.settings.taskCreationDefaults.defaultProjects&&zs(e.settings.taskCreationDefaults.defaultProjects).map(x=>x.replace(/\[\[|\]\]/g,"").trim()).filter(x=>x).forEach(x=>{let C=e.app.vault.getAbstractFileByPath(x+".md")||e.app.vault.getAbstractFileByPath(x);C&&c.push(C)});let p=d.createDiv().createEl("button",{text:n("settings.defaults.basicDefaults.defaultProjects.selectButton"),cls:"tn-btn tn-btn--ghost"});p.onclick=()=>{new yc(e.app,e,x=>{if(!c.includes(x)){c.push(x);let C=c.map(D=>`[[${D.path.replace(/\.md$/,"")}]]`).join(", ");e.settings.taskCreationDefaults.defaultProjects=C,t(),_ie(m,e,t,c,n)}}).open()};let m=d.createDiv("default-projects-list-container");_ie(m,e,t,c,n);let f=_n(e.settings.taskCreationDefaults.useParentNoteAsProject,S=>{e.settings.taskCreationDefaults.useParentNoteAsProject=S,t()}),h=_n(e.settings.taskCreationDefaults.useParentHeaderAsProject,S=>{e.settings.taskCreationDefaults.useParentHeaderAsProject=S,t()}),g=_n(e.settings.taskCreationDefaults.inheritParentTaskProperties,S=>{e.settings.taskCreationDefaults.inheritParentTaskProperties=S,t()}),v=ml(e,"projects","+",t,n),k=Za(n("settings.taskProperties.properties.projects.description")),b=activeDocument.createElement("div");b.addClass("tasknotes-settings__nested-content"),wWt(b,e,t,n,s);let w=[{label:"",input:k,fullWidth:!0},{label:n("settings.taskProperties.propertyCard.propertyKey"),input:o},{label:n("settings.taskProperties.projectsCard.defaultProjects"),input:l,fullWidth:!0},{label:n("settings.taskProperties.projectsCard.useParentNote"),input:f},{label:n("settings.taskProperties.projectsCard.useParentHeader"),input:h},{label:n("settings.taskProperties.projectsCard.inheritParentTaskProperties"),input:g},...v,{label:"",input:b,fullWidth:!0}];vr(i,{id:"property-projects",collapsible:!0,defaultCollapsed:a,onCollapseChange:S=>{a=S},header:{primaryText:n("settings.taskProperties.properties.projects.name"),secondaryText:e.settings.fieldMapping.projects},content:{sections:[{rows:w}]}})}s()}function wWt(r,e,t,n,i){r.empty(),e.settings.projectAutosuggest||(e.settings.projectAutosuggest={enableFuzzy:!1,rows:[],showAdvanced:!1,requiredTags:[],includeFolders:[],propertyKey:"",propertyValue:""});let a=()=>{let H=e.settings.projectAutosuggest;return H?H.requiredTags&&H.requiredTags.length>0||H.includeFolders&&H.includeFolders.length>0||H.propertyKey&&H.propertyKey.trim()!=="":!1},s=e.settings.projectAutosuggest;if(!s)return;let o=r.createDiv("tasknotes-settings__collapsible-section");o.addClass("tasknotes-settings__collapsible-section--collapsed");let l=o.createDiv("tasknotes-settings__collapsible-section-header"),c=l.createDiv("tasknotes-settings__collapsible-section-header-left");c.createSpan({text:n("settings.taskProperties.projectsCard.autosuggestFilters"),cls:"tasknotes-settings__collapsible-section-title"});let d=c.createSpan("tasknotes-settings__filter-badge"),u=()=>{if(a()){d.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),d.classList.add("tn-static-display-inline-flex-f984c520"),d.empty();let H=d.createSpan();(0,LM.setIcon)(H,"filter"),d.createSpan({text:n("settings.taskProperties.projectsCard.filtersOn")})}else d.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),d.classList.add("tn-static-display-none-6b99de8b"),d.empty()};u();let p=l.createSpan("tasknotes-settings__collapsible-section-chevron");(0,LM.setIcon)(p,"chevron-down");let m=o.createDiv("tasknotes-settings__collapsible-section-content");Xz(m,{requiredTags:s.requiredTags,includeFolders:s.includeFolders,propertyKey:s.propertyKey,propertyValue:s.propertyValue},H=>{s.requiredTags=H.requiredTags,s.includeFolders=H.includeFolders,s.propertyKey=H.propertyKey,s.propertyValue=H.propertyValue,u(),t()},n),l.addEventListener("click",()=>{o.toggleClass("tasknotes-settings__collapsible-section--collapsed",!o.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let f=r.createDiv("tasknotes-settings__collapsible-section");f.addClass("tasknotes-settings__collapsible-section--collapsed");let h=f.createDiv("tasknotes-settings__collapsible-section-header");h.createDiv("tasknotes-settings__collapsible-section-header-left").createSpan({text:n("settings.taskProperties.projectsCard.customizeDisplay"),cls:"tasknotes-settings__collapsible-section-title"});let v=h.createSpan("tasknotes-settings__collapsible-section-chevron");(0,LM.setIcon)(v,"chevron-down");let k=f.createDiv("tasknotes-settings__collapsible-section-content"),b=k.createDiv("tasknotes-settings__card-config-row");b.createSpan({text:n("settings.appearance.projectAutosuggest.enableFuzzyMatching.name"),cls:"tasknotes-settings__card-config-label"});let w=_n(s.enableFuzzy,H=>{s.enableFuzzy=H,t()});b.appendChild(w),k.createDiv({text:n("settings.appearance.projectAutosuggest.displayRowsHelp"),cls:"setting-item-description"});let S=()=>{var H,Y;return((Y=(H=e.settings.projectAutosuggest)==null?void 0:H.rows)!=null?Y:[]).slice(0,3)},x=(H,Y)=>{var te;if(!e.settings.projectAutosuggest)return;let J=[...(te=e.settings.projectAutosuggest.rows)!=null?te:[]];J[H]=Y,e.settings.projectAutosuggest.rows=J.slice(0,3),t()},C=k.createDiv("tasknotes-settings__card-config-row");C.createSpan({text:n("settings.appearance.projectAutosuggest.displayRows.row1.name"),cls:"tasknotes-settings__card-config-label"});let D=Ge("text",n("settings.appearance.projectAutosuggest.displayRows.row1.placeholder"),S()[0]||"");D.addEventListener("change",()=>x(0,D.value)),C.appendChild(D);let _=k.createDiv("tasknotes-settings__card-config-row");_.createSpan({text:n("settings.appearance.projectAutosuggest.displayRows.row2.name"),cls:"tasknotes-settings__card-config-label"});let O=Ge("text",n("settings.appearance.projectAutosuggest.displayRows.row2.placeholder"),S()[1]||"");O.addEventListener("change",()=>x(1,O.value)),_.appendChild(O);let L=k.createDiv("tasknotes-settings__card-config-row");L.createSpan({text:n("settings.appearance.projectAutosuggest.displayRows.row3.name"),cls:"tasknotes-settings__card-config-label"});let N=Ge("text",n("settings.appearance.projectAutosuggest.displayRows.row3.placeholder"),S()[2]||"");N.addEventListener("change",()=>x(2,N.value)),L.appendChild(N);let R=k.createDiv("tasknotes-settings__help-section");R.createEl("h4",{text:n("settings.appearance.projectAutosuggest.quickReference.header")});let z=R.createEl("ul");z.createEl("li",{text:n("settings.appearance.projectAutosuggest.quickReference.properties")}),z.createEl("li",{text:n("settings.appearance.projectAutosuggest.quickReference.labels")}),z.createEl("li",{text:n("settings.appearance.projectAutosuggest.quickReference.searchable")}),z.createEl("li",{text:n("settings.appearance.projectAutosuggest.quickReference.staticText")}),R.createEl("p",{text:n("settings.appearance.projectAutosuggest.quickReference.alwaysSearchable"),cls:"settings-help-note"}),h.addEventListener("click",()=>{f.toggleClass("tasknotes-settings__collapsible-section--collapsed",!f.hasClass("tasknotes-settings__collapsible-section--collapsed"))})}function _ie(r,e,t,n,i){if(r.empty(),n.length===0){r.createDiv({text:i("settings.taskProperties.projectsCard.noDefaultProjects"),cls:"setting-item-description"});return}n.forEach(a=>{let s=r.createDiv("tasknotes-settings__project-item");s.createSpan({text:a.name.replace(/\.md$/,"")});let o=s.createEl("button",{cls:"tasknotes-settings__card-header-btn tasknotes-settings__card-header-btn--delete"});(0,LM.setIcon)(o,"x"),o.title=i("settings.defaults.basicDefaults.defaultProjects.removeTooltip",{name:a.name}),o.onclick=()=>{let l=n.indexOf(a);if(l>-1){n.splice(l,1);let c=n.map(d=>`[[${d.path.replace(/\.md$/,"")}]]`).join(", ");e.settings.taskCreationDefaults.defaultProjects=c,t(),_ie(r,e,t,n,i)}}})}ca();function Iie(r,e,t,n){let i=Ge("text",n("settings.defaults.basicDefaults.defaultTags.placeholder"),e.settings.taskCreationDefaults.defaultTags);i.addEventListener("change",()=>{e.settings.taskCreationDefaults.defaultTags=i.value,t()});let a=ml(e,"tags","#",t,n),o=[{label:"",input:Za(n("settings.taskProperties.properties.tags.description")),fullWidth:!0},{label:n("settings.taskProperties.propertyCard.default"),input:i},...a];vr(r,{id:"property-tags",collapsible:!0,defaultCollapsed:!0,header:{primaryText:n("settings.taskProperties.properties.tags.name"),secondaryText:n("settings.taskProperties.tagsCard.nativeObsidianTags")},content:{sections:[{rows:o}]}})}var aGe=require("obsidian");ca();function Nie(r,e,t,n){let i=Ge("text","reminders",e.settings.fieldMapping.reminders);i.addEventListener("change",()=>{e.settings.fieldMapping.reminders=i.value,t()});let a=activeDocument.createElement("div");a.addClass("tasknotes-settings__nested-cards");let s=a.createDiv("tasknotes-settings__collapsible-section"),o=s.createDiv("tasknotes-settings__collapsible-section-header");o.createSpan({text:n("settings.taskProperties.remindersCard.defaultReminders"),cls:"tasknotes-settings__collapsible-section-title"});let l=o.createSpan("tasknotes-settings__collapsible-section-chevron");(0,aGe.setIcon)(l,"chevron-down");let c=s.createDiv("tasknotes-settings__collapsible-section-content"),d=c.createDiv("tasknotes-reminders-container");ej(d,e,t,n);let u=c.createEl("button",{text:n("settings.defaults.reminders.addReminder.buttonText"),cls:"tn-btn tn-btn--ghost"});u.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-20px-a26bda7d","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),u.classList.add("tn-static-margin-top-0-5rem-3dc98b5e"),u.onclick=()=>{let h={id:`reminder_${Date.now()}`,type:"relative",relatedTo:"due",offset:1,unit:"hours",direction:"before",description:"Reminder"};e.settings.taskCreationDefaults.defaultReminders=e.settings.taskCreationDefaults.defaultReminders||[],e.settings.taskCreationDefaults.defaultReminders.push(h),t(),ej(d,e,t,n)},o.addEventListener("click",()=>{s.toggleClass("tasknotes-settings__collapsible-section--collapsed",!s.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let m=[{label:"",input:Za(n("settings.taskProperties.properties.reminders.description")),fullWidth:!0},{label:n("settings.taskProperties.propertyCard.propertyKey"),input:i},{label:"",input:a,fullWidth:!0}];vr(r,{id:"property-reminders",collapsible:!0,defaultCollapsed:!0,header:{primaryText:n("settings.taskProperties.properties.reminders.name"),secondaryText:e.settings.fieldMapping.reminders},content:{sections:[{rows:m}]}})}function ej(r,e,t,n){if(r.empty(),!e.settings.taskCreationDefaults.defaultReminders||e.settings.taskCreationDefaults.defaultReminders.length===0){Rc(r,n("settings.defaults.reminders.emptyState"));return}e.settings.taskCreationDefaults.defaultReminders.forEach((i,a)=>{let s=iGe(i,n),o=Ge("text",n("settings.defaults.reminders.reminderDescription"),i.description),l=ci([{value:"relative",label:n("settings.defaults.reminders.types.relative")},{value:"absolute",label:n("settings.defaults.reminders.types.absolute")}],i.type),c=p=>{Object.assign(i,p),t();let m=r.querySelector(`[data-card-id="${i.id}"]`);if(m){let f=m.querySelector(".tasknotes-settings__card-secondary-text");f&&(f.textContent=iGe(i,n))}},d=i.type==="relative"?SWt(i,c,n):EWt(i,c,n),u=vr(r,{id:i.id,collapsible:!0,defaultCollapsed:!0,header:{primaryText:i.description||n("settings.defaults.reminders.unnamedReminder"),secondaryText:s,actions:[Al(()=>{e.settings.taskCreationDefaults.defaultReminders.splice(a,1),t(),ej(r,e,t,n)},n("settings.defaults.reminders.deleteTooltip"))]},content:{sections:[{rows:[{label:n("settings.defaults.reminders.fields.description"),input:o},{label:n("settings.defaults.reminders.fields.type"),input:l}]},{rows:d}]}});o.addEventListener("input",()=>{i.description=o.value,t();let p=u.querySelector(".tasknotes-settings__card-primary-text");p&&(p.textContent=i.description||n("settings.defaults.reminders.unnamedReminder"))}),l.addEventListener("change",()=>{i.type=l.value,t(),ej(r,e,t,n)})})}function SWt(r,e,t){let n=em(0,void 0,1,r.offset);n.addEventListener("input",()=>{let o=parseInt(n.value);!isNaN(o)&&o>=0&&e({offset:o})});let i=ci([{value:"minutes",label:t("settings.defaults.reminders.units.minutes")},{value:"hours",label:t("settings.defaults.reminders.units.hours")},{value:"days",label:t("settings.defaults.reminders.units.days")}],r.unit);i.addEventListener("change",()=>{e({unit:i.value})});let a=ci([{value:"before",label:t("settings.defaults.reminders.directions.before")},{value:"after",label:t("settings.defaults.reminders.directions.after")}],r.direction);a.addEventListener("change",()=>{e({direction:a.value})});let s=ci([{value:"due",label:t("settings.defaults.reminders.relatedTo.due")},{value:"scheduled",label:t("settings.defaults.reminders.relatedTo.scheduled")}],r.relatedTo);return s.addEventListener("change",()=>{e({relatedTo:s.value})}),[{label:t("settings.defaults.reminders.fields.offset"),input:n},{label:t("settings.defaults.reminders.fields.unit"),input:i},{label:t("settings.defaults.reminders.fields.direction"),input:a},{label:t("settings.defaults.reminders.fields.relatedTo"),input:s}]}function EWt(r,e,t){let n=Ge("date",r.absoluteDate||new Date().toISOString().split("T")[0]);n.addEventListener("input",()=>{e({absoluteDate:n.value})});let i=Ge("time",r.absoluteTime||"09:00");return i.addEventListener("input",()=>{e({absoluteTime:i.value})}),[{label:t("settings.defaults.reminders.fields.date"),input:n},{label:t("settings.defaults.reminders.fields.time"),input:i}]}function iGe(r,e){var t;if(r.type==="relative"){let n=r.direction==="before"?e("settings.defaults.reminders.directions.before"):e("settings.defaults.reminders.directions.after"),i=e(`settings.defaults.reminders.units.${r.unit||"hours"}`),a=(t=r.offset)!=null?t:1,s=r.relatedTo==="due"?e("settings.defaults.reminders.relatedTo.due"):e("settings.defaults.reminders.relatedTo.scheduled");return`${a} ${i} ${n} ${s}`}else{let n=r.absoluteDate||e("settings.defaults.reminders.fields.date"),i=r.absoluteTime||e("settings.defaults.reminders.fields.time");return`${n} at ${i}`}}var $M=require("obsidian");ca();$w();function xWt(r,e,t){let n,i;if(r.type==="boolean"){let a=typeof r.defaultValue=="boolean"?r.defaultValue:!1;n=_n(a,s=>{t(s)}),i={label:e("settings.taskProperties.customUserFields.fields.defaultValue"),input:n}}else if(r.type==="number"){let a=Ge("number",e("settings.taskProperties.customUserFields.placeholders.defaultValue"),r.defaultValue!==void 0?String(r.defaultValue):"");a.addEventListener("input",()=>{let s=a.value.trim();if(s==="")t(void 0);else{let o=parseFloat(s);Number.isNaN(o)||t(o)}}),n=a,i={label:e("settings.taskProperties.customUserFields.fields.defaultValue"),input:n}}else if(r.type==="date"){let a=typeof r.defaultValue=="string"?r.defaultValue:"none",s=ci([{value:"none",label:e("settings.defaults.options.none")},{value:"today",label:e("settings.defaults.options.today")},{value:"tomorrow",label:e("settings.defaults.options.tomorrow")},{value:"next-week",label:e("settings.defaults.options.nextWeek")}],a);s.addEventListener("change",()=>{let o=s.value;t(o==="none"?void 0:o)}),n=s,i={label:e("settings.taskProperties.customUserFields.fields.defaultValue"),input:n}}else if(r.type==="list"){let a=Array.isArray(r.defaultValue)?r.defaultValue.join(", "):"",s=Ge("text",e("settings.taskProperties.customUserFields.placeholders.defaultValueList"),a);s.addEventListener("input",()=>{let o=s.value.trim();t(o===""?void 0:o.split(",").map(l=>l.trim()).filter(l=>l))}),n=s,i={label:e("settings.taskProperties.customUserFields.fields.defaultValue"),input:n}}else{let a=Ge("text",e("settings.taskProperties.customUserFields.placeholders.defaultValue"),typeof r.defaultValue=="string"?r.defaultValue:"");a.addEventListener("input",()=>{let s=a.value.trim();t(s===""?void 0:s)}),n=a,i={label:e("settings.taskProperties.customUserFields.fields.defaultValue"),input:n}}return{element:n,row:i}}function Rie(r,e,t,n){if(Array.isArray(e.settings.userFields)||(e.settings.userFields=[]),e.settings.userField&&e.settings.userField.enabled){let a=e.settings.userField,s=(a.displayName||a.key||"field").toLowerCase().replace(/[^a-z0-9_-]/g,"-");e.settings.userFields.find(o=>o.id===s||o.key===a.key)||(e.settings.userFields.push({id:s,displayName:a.displayName||"",key:a.key||"",type:a.type||"text"}),t())}let i=r.createDiv("tasknotes-user-fields-container");FM(i,e,t,n),new $M.Setting(r).setName(n("settings.taskProperties.customUserFields.addNew.name")).setDesc(n("settings.taskProperties.customUserFields.addNew.description")).addButton(a=>a.setButtonText(n("settings.taskProperties.customUserFields.addNew.buttonText")).onClick(async()=>{e.settings.userFields||(e.settings.userFields=[]);let s=`field_${Date.now()}`,o={id:s,displayName:"",key:"",type:"text"};if(e.settings.userFields.push(o),!e.settings.modalFieldsConfig)e.settings.modalFieldsConfig=uc(void 0,e.settings.userFields);else{let l=e.settings.modalFieldsConfig.fields.filter(d=>d.group==="custom"),c=l.length>0?Math.max(...l.map(d=>d.order)):-1;e.settings.modalFieldsConfig.fields.push({id:s,fieldType:"user",group:"custom",displayName:o.displayName||"",visibleInCreation:!0,visibleInEdit:!0,order:c+1,enabled:!0})}t(),FM(i,e,t,n)}))}function FM(r,e,t,n,i){if(r.empty(),e.settings.userFields||(e.settings.userFields=[]),e.settings.userFields.length===0){Rc(r,n("settings.taskProperties.customUserFields.emptyState"),n("settings.taskProperties.customUserFields.emptyStateButton"),()=>{let a=activeDocument.querySelector('[data-setting-name="Add new user field"] button');a&&a.click()});return}e.settings.userFields.forEach((a,s)=>{let o=Ge("text",n("settings.taskProperties.customUserFields.placeholders.displayName"),a.displayName),l=Ge("text",n("settings.taskProperties.customUserFields.placeholders.propertyKey"),a.key),c=ci([{value:"text",label:n("settings.taskProperties.customUserFields.types.text")},{value:"number",label:n("settings.taskProperties.customUserFields.types.number")},{value:"boolean",label:n("settings.taskProperties.customUserFields.types.boolean")},{value:"date",label:n("settings.taskProperties.customUserFields.types.date")},{value:"list",label:n("settings.taskProperties.customUserFields.types.list")}],a.type);o.addEventListener("input",()=>{if(a.displayName=o.value,e.settings.modalFieldsConfig){let x=e.settings.modalFieldsConfig.fields.find(C=>C.id===a.id);x&&(x.displayName=a.displayName)}let S=r.querySelector(`[data-card-id="${a.id}"]`);if(S){let x=S.querySelector(".tasknotes-settings__card-header-primary");x&&(x.textContent=a.displayName||n("settings.taskProperties.customUserFields.defaultNames.unnamedField"))}t()}),l.addEventListener("input",()=>{a.key=l.value;let S=r.querySelector(`[data-card-id="${a.id}"]`);if(S){let x=S.querySelector(".tasknotes-settings__card-header-secondary");x&&(x.textContent=a.key||n("settings.taskProperties.customUserFields.defaultNames.noKey"))}t()}),c.addEventListener("change",()=>{a.type=c.value,a.defaultValue=a.type==="boolean"?!1:void 0,t(),FM(r,e,t,n,a.id)});let{row:d}=xWt(a,n,S=>{a.defaultValue=S,t()}),u=ml(e,a.id,`${a.id}:`,t,n,()=>FM(r,e,t,n)),p=activeDocument.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,f=p.createDiv("tasknotes-settings__collapsible-section-header"),h=f.createDiv("tasknotes-settings__collapsible-section-header-left"),g=h.createSpan("tasknotes-settings__collapsible-section-title");g.textContent=n("settings.taskProperties.customUserFields.autosuggestFilters.header");let v=h.createSpan("tasknotes-settings__filter-badge"),k=()=>{if(m(a.autosuggestFilter)){v.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),v.classList.add("tn-static-display-inline-flex-f984c520"),v.empty();let S=v.createSpan();(0,$M.setIcon)(S,"filter"),v.createSpan({text:"Filters On"})}else v.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),v.classList.add("tn-static-display-none-6b99de8b")};k();let b=f.createSpan("tasknotes-settings__collapsible-section-chevron");(0,$M.setIcon)(b,"chevron-down");let w=p.createDiv("tasknotes-settings__collapsible-section-content");Xz(w,a.autosuggestFilter,S=>{a.autosuggestFilter=S,k(),t()},n),f.addEventListener("click",()=>{p.hasClass("tasknotes-settings__collapsible-section--collapsed")?p.removeClass("tasknotes-settings__collapsible-section--collapsed"):p.addClass("tasknotes-settings__collapsible-section--collapsed")}),vr(r,{id:a.id,collapsible:!0,defaultCollapsed:a.id!==i,header:{primaryText:a.displayName||n("settings.taskProperties.customUserFields.defaultNames.unnamedField"),secondaryText:a.key||n("settings.taskProperties.customUserFields.defaultNames.noKey"),meta:[La(a.type.charAt(0).toUpperCase()+a.type.slice(1),"default")],actions:[Al(()=>{var S;if(e.settings.userFields){let x=(S=e.settings.userFields[s])==null?void 0:S.id;e.settings.userFields.splice(s,1),e.settings.modalFieldsConfig&&x&&(e.settings.modalFieldsConfig.fields=e.settings.modalFieldsConfig.fields.filter(C=>C.id!==x)),t(),FM(r,e,t,n)}},n("settings.taskProperties.customUserFields.deleteTooltip"))]},content:{sections:[{rows:[{label:n("settings.taskProperties.customUserFields.fields.displayName"),input:o},{label:n("settings.taskProperties.customUserFields.fields.propertyKey"),input:l},{label:n("settings.taskProperties.customUserFields.fields.type"),input:c},d,...u]},{rows:[{label:"",input:p,fullWidth:!0}]}]}})})}function Oie(r,e,t){r.empty();let n=(a,s)=>e.i18n.translate(a,s),i=(a,s)=>{let o=Ge("time","",a&&a!=="none"?a:"");return o.addEventListener("change",()=>{s(o.value||"none"),t()}),o};Xp(r,n("settings.taskProperties.sections.coreProperties")),Ic(r,n("settings.taskProperties.sections.corePropertiesDesc")),Cie(r,e,t,n),Pie(r,e,t,n),Mie(r,e,t,n),Xp(r,n("settings.taskProperties.sections.dateProperties")),Ic(r,n("settings.taskProperties.sections.datePropertiesDesc")),zy(r,e,t,n,{propertyId:"due",displayName:n("settings.taskProperties.properties.due.name"),description:n("settings.taskProperties.properties.due.description"),hasDefault:!0,defaultType:"date-preset",defaultOptions:[{value:"none",label:n("settings.defaults.options.none")},{value:"today",label:n("settings.defaults.options.today")},{value:"tomorrow",label:n("settings.defaults.options.tomorrow")},{value:"next-week",label:n("settings.defaults.options.nextWeek")}],getDefaultValue:()=>e.settings.taskCreationDefaults.defaultDueDate,setDefaultValue:a=>{e.settings.taskCreationDefaults.defaultDueDate=a,t()},extraRows:[{label:n("settings.defaults.reminders.fields.time"),input:i(e.settings.taskCreationDefaults.defaultDueTime,a=>{e.settings.taskCreationDefaults.defaultDueTime=a})}]}),zy(r,e,t,n,{propertyId:"scheduled",displayName:n("settings.taskProperties.properties.scheduled.name"),description:n("settings.taskProperties.properties.scheduled.description"),hasDefault:!0,defaultType:"date-preset",defaultOptions:[{value:"none",label:n("settings.defaults.options.none")},{value:"today",label:n("settings.defaults.options.today")},{value:"tomorrow",label:n("settings.defaults.options.tomorrow")},{value:"next-week",label:n("settings.defaults.options.nextWeek")}],getDefaultValue:()=>e.settings.taskCreationDefaults.defaultScheduledDate,setDefaultValue:a=>{e.settings.taskCreationDefaults.defaultScheduledDate=a,t()},extraRows:[{label:n("settings.defaults.reminders.fields.time"),input:i(e.settings.taskCreationDefaults.defaultScheduledTime,a=>{e.settings.taskCreationDefaults.defaultScheduledTime=a})}]}),Xp(r,n("settings.taskProperties.sections.organizationProperties")),Ic(r,n("settings.taskProperties.sections.organizationPropertiesDesc")),zy(r,e,t,n,{propertyId:"contexts",displayName:n("settings.taskProperties.properties.contexts.name"),description:n("settings.taskProperties.properties.contexts.description"),hasDefault:!0,defaultType:"text",defaultPlaceholder:n("settings.defaults.basicDefaults.defaultContexts.placeholder"),getDefaultValue:()=>e.settings.taskCreationDefaults.defaultContexts,setDefaultValue:a=>{e.settings.taskCreationDefaults.defaultContexts=a,t()},hasNLPTrigger:!0,nlpDefaultTrigger:"@"}),Aie(r,e,t,n),Iie(r,e,t,n),Xp(r,n("settings.taskProperties.sections.taskDetails")),Ic(r,n("settings.taskProperties.sections.taskDetailsDesc")),zy(r,e,t,n,{propertyId:"timeEstimate",displayName:n("settings.taskProperties.properties.timeEstimate.name"),description:n("settings.taskProperties.properties.timeEstimate.description"),hasDefault:!0,defaultType:"number",defaultPlaceholder:n("settings.defaults.basicDefaults.defaultTimeEstimate.placeholder"),getDefaultValue:()=>{var a;return((a=e.settings.taskCreationDefaults.defaultTimeEstimate)==null?void 0:a.toString())||""},setDefaultValue:a=>{e.settings.taskCreationDefaults.defaultTimeEstimate=parseInt(a)||0,t()}}),zy(r,e,t,n,{propertyId:"recurrence",displayName:n("settings.taskProperties.properties.recurrence.name"),description:n("settings.taskProperties.properties.recurrence.description"),hasDefault:!0,defaultType:"dropdown",defaultOptions:[{value:"none",label:n("settings.defaults.options.none")},{value:"daily",label:n("settings.defaults.options.daily")},{value:"weekly",label:n("settings.defaults.options.weekly")},{value:"monthly",label:n("settings.defaults.options.monthly")},{value:"yearly",label:n("settings.defaults.options.yearly")}],getDefaultValue:()=>e.settings.taskCreationDefaults.defaultRecurrence,setDefaultValue:a=>{e.settings.taskCreationDefaults.defaultRecurrence=a,t()}}),Qa(r,e,t,n,"recurrenceAnchor",n("settings.taskProperties.properties.recurrenceAnchor.name"),n("settings.taskProperties.properties.recurrenceAnchor.description")),Nie(r,e,t,n),Xp(r,n("settings.taskProperties.sections.metadataProperties")),Ic(r,n("settings.taskProperties.sections.metadataPropertiesDesc")),Qa(r,e,t,n,"dateCreated",n("settings.taskProperties.properties.dateCreated.name"),n("settings.taskProperties.properties.dateCreated.description")),Qa(r,e,t,n,"dateModified",n("settings.taskProperties.properties.dateModified.name"),n("settings.taskProperties.properties.dateModified.description")),Qa(r,e,t,n,"completedDate",n("settings.taskProperties.properties.completedDate.name"),n("settings.taskProperties.properties.completedDate.description")),Qa(r,e,t,n,"archiveTag",n("settings.taskProperties.properties.archiveTag.name"),n("settings.taskProperties.properties.archiveTag.description")),Qa(r,e,t,n,"timeEntries",n("settings.taskProperties.properties.timeEntries.name"),n("settings.taskProperties.properties.timeEntries.description")),Qa(r,e,t,n,"completeInstances",n("settings.taskProperties.properties.completeInstances.name"),n("settings.taskProperties.properties.completeInstances.description")),Qa(r,e,t,n,"skippedInstances",n("settings.taskProperties.properties.skippedInstances.name"),n("settings.taskProperties.properties.skippedInstances.description")),Qa(r,e,t,n,"blockedBy",n("settings.taskProperties.properties.blockedBy.name"),n("settings.taskProperties.properties.blockedBy.description")),Qa(r,e,t,n,"sortOrder",n("settings.taskProperties.properties.sortOrder.name"),n("settings.taskProperties.properties.sortOrder.description")),Xp(r,n("settings.taskProperties.sections.featureProperties")),Ic(r,n("settings.taskProperties.sections.featurePropertiesDesc")),Qa(r,e,t,n,"pomodoros",n("settings.taskProperties.properties.pomodoros.name"),n("settings.taskProperties.properties.pomodoros.description")),Qa(r,e,t,n,"icsEventId",n("settings.taskProperties.properties.icsEventId.name"),n("settings.taskProperties.properties.icsEventId.description")),Qa(r,e,t,n,"icsEventTag",n("settings.taskProperties.properties.icsEventTag.name"),n("settings.taskProperties.properties.icsEventTag.description")),Xp(r,n("settings.taskProperties.customUserFields.header")),Ic(r,n("settings.taskProperties.customUserFields.description")),Rie(r,e,t,n)}var Lie=require("obsidian");Nc();ca();function sGe(r,e,t,n,i){if(r.empty(),r.addClass("field-manager"),!t||!t.groups||!t.fields){r.createDiv({text:"Error: Invalid field configuration. Please reset to defaults."});return}let a=r.createDiv({cls:"field-manager__tabs"}),s=r.createDiv({cls:"field-manager__content"}),o=[...t.groups].sort((l,c)=>l.order-c.order);o.forEach((l,c)=>{let d=a.createDiv({cls:"field-manager__tab"});c===0&&d.addClass("field-manager__tab--active"),d.setText(l.displayName),d.onclick=()=>{a.querySelectorAll(".field-manager__tab").forEach(u=>{u.removeClass("field-manager__tab--active")}),d.addClass("field-manager__tab--active"),tj(s,l.id,t,e,n,i)}}),o.length>0&&tj(s,o[0].id,t,e,n,i)}function tj(r,e,t,n,i,a){r.empty();let s=t.fields.filter(l=>l.group===e).sort((l,c)=>l.order-c.order);if(s.length===0){r.createDiv({cls:"field-manager__empty"}).setText("No fields in this group");return}let o=r.createDiv({cls:"field-manager__cards"});s.forEach((l,c)=>{CWt(o,l,c,t,n,i,a,e)})}function CWt(r,e,t,n,i,a,s,o){let l=activeDocument.createElement("span");l.classList.add("field-card__type"),l.classList.add(`field-card__type--${e.fieldType}`),l.textContent=e.fieldType;let c=_n(e.enabled,h=>{let g=n.fields.findIndex(v=>v.id===e.id);if(g!==-1){n.fields[g].enabled=h,a(n);let v=activeDocument.querySelector(".field-manager__tab--active");if(v){let k=v.parentElement,b=r.parentElement;if(!k||!b)return;let w=Array.from(k.children).indexOf(v),x=[...n.groups].sort((C,D)=>C.order-D.order)[w];x&&tj(b,x.id,n,i,a,s)}}}),d=_n(e.visibleInCreation,h=>{let g=n.fields.findIndex(v=>v.id===e.id);g!==-1&&(n.fields[g].visibleInCreation=h,a(n))}),u=_n(e.visibleInEdit,h=>{let g=n.fields.findIndex(v=>v.id===e.id);g!==-1&&(n.fields[g].visibleInEdit=h,a(n))}),p=ci(n.groups.map(h=>({value:h.id,label:h.displayName})),e.group);p.onchange=()=>{let h=n.fields.findIndex(g=>g.id===e.id);if(h!==-1){n.fields[h].group=p.value,a(n);let g=activeDocument.querySelector(".field-manager__tab--active");g&&g.click()}};let m=e.group!=="basic",f=vr(r,{id:e.id,draggable:m,header:{primaryText:e.displayName,secondaryText:DWt(e,i.settings.userFields),meta:[l]},content:{sections:[{rows:[{label:"Enabled:",input:c}]},...e.enabled?[{rows:[{label:"Show in Creation:",input:d},{label:"Show in Edit:",input:u},{label:"Group:",input:p,fullWidth:!0}]}]:[]]}});m&&mb(f,r,(h,g,v)=>{let k=n.fields.findIndex(_=>_.id===h&&_.group===o),b=n.fields.findIndex(_=>_.id===g&&_.group===o);if(k===-1||b===-1)return;let w=n.fields.filter(_=>_.group===o),S=w.findIndex(_=>_.id===h),x=w.findIndex(_=>_.id===g),[C]=w.splice(S,1),D=x+(v?0:1);w.splice(D,0,C),w.forEach((_,O)=>{let L=n.fields.findIndex(N=>N.id===_.id);L!==-1&&(n.fields[L].order=O)}),a(n),tj(r,o,n,i,a,s)})}function DWt(r,e){if(r.fieldType!=="user")return`ID: ${r.id}`;let t=e==null?void 0:e.find(n=>n.id===r.id);return t!=null&&t.key?`Key: ${t.key}`:"No key set"}function oGe(){let r="field-manager-styles";if(activeDocument.getElementById(r))return;let e=activeDocument.createElement("style");e.id=r,e.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: var(--text-on-accent);
}
.field-card__type--dependency {
background: var(--color-orange);
color: var(--text-on-accent);
}
.field-card__type--organization {
background: var(--color-green);
color: var(--text-on-accent);
}
`,activeDocument.head.appendChild(e)}$w();Cl();function zM(r,e,t){r.empty(),oGe(),e.settings.modalFieldsConfig||(e.settings.modalFieldsConfig=uc(void 0,e.settings.userFields),t()),kt(r,{heading:"Task Modal Fields Configuration",description:"Configure which fields appear in task creation and edit modals. Drag fields to reorder them within each group."},i=>{i.addSetting(a=>{me(a,{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:()=>e.settings.enableModalSplitLayout,setValue:s=>{e.settings.enableModalSplitLayout=s,t()}})}),i.addSetting(a=>{me(a,{name:"Tab moves focus in details editor",desc:"When enabled, Tab moves from the details editor to the next modal field and Shift+Tab moves to the previous field. When disabled, Tab and Shift+Tab use the markdown editor's indentation behavior.",getValue:()=>e.settings.taskModalTabMovesFocus,setValue:s=>{e.settings.taskModalTabMovesFocus=s,t()}})}),i.addSetting(a=>{a.setName("Sync user fields").setDesc("Click to sync custom user fields from task properties settings into this configuration.").addButton(s=>{s.setButtonText("Sync user fields").setCta().onClick(()=>{PWt(e),t(),new Lie.Notice("User fields synced to modal configuration"),zM(r,e,t)})})}),i.addSetting(a=>{a.setName("Reset to defaults").setDesc("Reset all field configurations to their default values. This will remove any custom configurations.").addButton(s=>{s.setButtonText("Reset to defaults").setWarning().onClick(async()=>{await bn(e.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})&&(e.settings.modalFieldsConfig=uc(void 0,e.settings.userFields),t(),new Lie.Notice("Field configuration reset to defaults"),zM(r,e,t))})})})});let n=r.createDiv({cls:"modal-fields-manager-container"});if(!e.settings.modalFieldsConfig){n.createDiv({text:"Error: Could not initialize field configuration"});return}sGe(n,e,e.settings.modalFieldsConfig,i=>{e.settings.modalFieldsConfig=i,t()},e.app)}function PWt(r){if(!r.settings.modalFieldsConfig){r.settings.modalFieldsConfig=uc(void 0,r.settings.userFields);return}if(!r.settings.userFields||r.settings.userFields.length===0)return;let e=r.settings.modalFieldsConfig,t=new Set(e.fields.filter(i=>i.fieldType==="user").map(i=>i.id));r.settings.userFields.forEach(i=>{if(t.has(i.id)){let a=e.fields.findIndex(s=>s.id===i.id);a!==-1&&(e.fields[a].displayName=i.displayName)}else{let a=e.fields.filter(o=>o.group==="custom"),s=a.length>0?Math.max(...a.map(o=>o.order)):-1;e.fields.push({id:i.id,fieldType:"user",group:"custom",displayName:i.displayName,visibleInCreation:!0,visibleInEdit:!0,order:s+1,enabled:!0})}});let n=new Set(r.settings.userFields.map(i=>i.id));e.fields=e.fields.filter(i=>i.fieldType!=="user"||n.has(i.id))}var wp=require("obsidian");Nc();var rj=require("obsidian");G();var MWt=I({tag:"Modals/PropertySelectorModal"}),vw=class extends rj.Modal{constructor(t,n,i,a,s="Select Task Card Properties",o="Choose which properties to display in task cards. Selected properties will appear in the order shown below."){super(t);this.keyboardHandler=null;this.availableProperties=n,this.currentSelection=i,this.tempSelection=[...i],this.onSubmit=a,this.modalTitle=s,this.modalDescription=o}onOpen(){let{contentEl:t}=this;t.empty(),this.keyboardHandler=o=>{o.key==="Enter"&&(o.ctrlKey||o.metaKey)&&(o.preventDefault(),this.submitSelection(),this.close())},this.containerEl.addEventListener("keydown",this.keyboardHandler),t.createEl("h2",{text:this.modalTitle}),t.createEl("p",{text:this.modalDescription,cls:"setting-item-description"});let n=t.createDiv({cls:"property-selector-checkboxes"});n.classList.remove("tn-static-margin-top-12px-91e0f558"),n.classList.add("tn-static-max-height-400px-f0787633"),n.classList.remove("tn-static-margin-top-12px-91e0f558","tn-static-overflow-y-clip-c5043043"),n.classList.add("tn-static-overflow-y-auto-03df744e"),n.classList.remove("tn-static-font-size-12px-65574819","tn-static-font-weight-bold-0fe8c30d","tn-static-font-weight-bold-e0b452bd","tn-static-margin-bottom-0-75rem-c05a3c6e","tn-static-margin-bottom-8px-fdf33f23"),n.classList.add("tn-static-margin-bottom-20px-49f14f8f");for(let o of this.availableProperties)new rj.Setting(n).setName(o.label).addToggle(l=>{l.setValue(this.tempSelection.includes(o.id)).onChange(c=>{if(c)this.tempSelection.includes(o.id)||this.tempSelection.push(o.id);else{let d=this.tempSelection.indexOf(o.id);d>-1&&this.tempSelection.splice(d,1)}})});let i=t.createDiv({cls:"modal-button-container"});i.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),i.classList.add("tn-static-display-flex-75816cae"),i.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),i.classList.add("tn-static-gap-10px-f3d7ce77"),i.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),i.classList.add("tn-static-justify-content-flex-end-455f8cca"),i.createEl("button",{text:"Cancel"}).addEventListener("click",()=>{this.close()}),i.createEl("button",{text:"Save",cls:"mod-cta"}).addEventListener("click",()=>{this.submitSelection(),this.close()})}submitSelection(){Promise.resolve().then(()=>this.onSubmit(this.tempSelection)).catch(t=>{MWt.error("TaskNotes property selection callback failed:",{category:"persistence",operation:"property-selection-callback",error:t})})}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:t}=this;t.empty()}};function jM(r){var i;let e=(a,s)=>{let o=r.fieldMapper.toUserField(s);return o!==a.toLowerCase().replace(/\s+/g,"")?`${a} (${o})`:a},t=[{id:"status",label:e("Status","status")},{id:"priority",label:e("Priority","priority")},{id:"blocked",label:"Blocked Status"},{id:"blocking",label:"Blocking Status"},{id:"due",label:e("Due Date","due")},{id:"scheduled",label:e("Scheduled Date","scheduled")},{id:"timeEstimate",label:e("Time Estimate","timeEstimate")},{id:"totalTrackedTime",label:"Total Tracked Time"},{id:"checklistProgress",label:"Checklist Progress"},{id:"recurrence",label:e("Recurrence","recurrence")},{id:"completeInstances",label:e("Completed Instances","completeInstances")},{id:"skippedInstances",label:e("Skipped Instances","skippedInstances")},{id:"completedDate",label:e("Completed Date","completedDate")},{id:"dateCreated",label:e("Created Date","dateCreated")},{id:"dateModified",label:e("Modified Date","dateModified")},{id:"projects",label:e("Projects","projects")},{id:"contexts",label:e("Contexts","contexts")},{id:"tags",label:"Tags"}],n=((i=r.settings.userFields)==null?void 0:i.map(a=>({id:`user:${a.id}`,label:a.displayName})))||[];return[...t,...n]}function nj(r,e){let t=jM(r);return e.map(n=>{var i;return((i=t.find(a=>a.id===n))==null?void 0:i.label)||n}).filter(Boolean)}KZ();var _Wt=["dayGridMonth","timeGridWeek","timeGridDay","multiMonthYear","timeGridCustom"],AWt=[0,1,2,3,4,5,6],IWt=["00:15:00","00:30:00","01:00:00"];function NWt(r){return _Wt.some(e=>e===r)}function RWt(r,e){var n;let t=Number.parseInt(r,10);return(n=AWt.find(i=>i===t))!=null?n:e}function OWt(r){return IWt.some(e=>e===r)}function jy(r,e,t){r.empty();let n=(o,l)=>e.i18n.translate(o,l),i=jM(e),a=e.settings.defaultVisibleProperties||[],s=nj(e,a);kt(r,{heading:n("settings.appearance.taskCards.header"),description:n("settings.appearance.taskCards.description")},o=>{o.addSetting(l=>{l.setName(n("settings.appearance.taskCards.defaultVisibleProperties.name")).setDesc(n("settings.appearance.taskCards.defaultVisibleProperties.description")).addButton(c=>{c.setButtonText("Configure").onClick(()=>{new vw(e.app,i,a,async u=>{e.settings.defaultVisibleProperties=u,t(),new wp.Notice("Default task card properties updated"),jy(r,e,t)},"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()})})}),o.addSetting(l=>{l.setDesc(`Currently showing: ${s.join(", ")}`),l.settingEl.addClass("settings-view__group-description")})}),kt(r,{heading:n("settings.appearance.displayFormatting.header"),description:n("settings.appearance.displayFormatting.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.appearance.displayFormatting.timeFormat.name"),desc:n("settings.appearance.displayFormatting.timeFormat.description"),options:[{value:"12",label:n("settings.appearance.displayFormatting.timeFormat.options.twelveHour")},{value:"24",label:n("settings.appearance.displayFormatting.timeFormat.options.twentyFourHour")}],getValue:()=>e.settings.calendarViewSettings.timeFormat,setValue:async c=>{e.settings.calendarViewSettings.timeFormat=c,t()}}))}),kt(r,{heading:n("settings.appearance.calendarView.header"),description:n("settings.appearance.calendarView.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.appearance.calendarView.defaultView.name"),desc:n("settings.appearance.calendarView.defaultView.description"),options:[{value:"dayGridMonth",label:n("settings.appearance.calendarView.defaultView.options.monthGrid")},{value:"timeGridWeek",label:n("settings.appearance.calendarView.defaultView.options.weekTimeline")},{value:"timeGridDay",label:n("settings.appearance.calendarView.defaultView.options.dayTimeline")},{value:"multiMonthYear",label:n("settings.appearance.calendarView.defaultView.options.yearView")},{value:"timeGridCustom",label:n("settings.appearance.calendarView.defaultView.options.customMultiDay")}],getValue:()=>e.settings.calendarViewSettings.defaultView,setValue:async c=>{NWt(c)&&(e.settings.calendarViewSettings.defaultView=c,t(),jy(r,e,t))}})),e.settings.calendarViewSettings.defaultView==="timeGridCustom"&&o.addSetting(l=>void Oa(l,{name:n("settings.appearance.calendarView.customDayCount.name"),desc:n("settings.appearance.calendarView.customDayCount.description"),placeholder:n("settings.appearance.calendarView.customDayCount.placeholder"),min:2,max:10,getValue:()=>e.settings.calendarViewSettings.customDayCount,setValue:async c=>{e.settings.calendarViewSettings.customDayCount=c,t()}})),o.addSetting(l=>void dn(l,{name:n("settings.appearance.calendarView.firstDayOfWeek.name"),desc:n("settings.appearance.calendarView.firstDayOfWeek.description"),options:[{value:"0",label:n("common.weekdays.sunday")},{value:"1",label:n("common.weekdays.monday")},{value:"2",label:n("common.weekdays.tuesday")},{value:"3",label:n("common.weekdays.wednesday")},{value:"4",label:n("common.weekdays.thursday")},{value:"5",label:n("common.weekdays.friday")},{value:"6",label:n("common.weekdays.saturday")}],getValue:()=>e.settings.calendarViewSettings.firstDay.toString(),setValue:async c=>{e.settings.calendarViewSettings.firstDay=RWt(c,e.settings.calendarViewSettings.firstDay),t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.calendarView.showWeekends.name"),desc:n("settings.appearance.calendarView.showWeekends.description"),getValue:()=>e.settings.calendarViewSettings.showWeekends,setValue:async c=>{e.settings.calendarViewSettings.showWeekends=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.calendarView.showWeekNumbers.name"),desc:n("settings.appearance.calendarView.showWeekNumbers.description"),getValue:()=>e.settings.calendarViewSettings.weekNumbers,setValue:async c=>{e.settings.calendarViewSettings.weekNumbers=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.calendarView.showTodayHighlight.name"),desc:n("settings.appearance.calendarView.showTodayHighlight.description"),getValue:()=>e.settings.calendarViewSettings.showTodayHighlight,setValue:async c=>{e.settings.calendarViewSettings.showTodayHighlight=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.calendarView.showCurrentTimeIndicator.name"),desc:n("settings.appearance.calendarView.showCurrentTimeIndicator.description"),getValue:()=>e.settings.calendarViewSettings.nowIndicator,setValue:async c=>{e.settings.calendarViewSettings.nowIndicator=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.calendarView.selectionMirror.name"),desc:n("settings.appearance.calendarView.selectionMirror.description"),getValue:()=>e.settings.calendarViewSettings.selectMirror,setValue:async c=>{e.settings.calendarViewSettings.selectMirror=c,t()}})),o.addSetting(l=>{l.setName(n("settings.appearance.calendarView.calendarLocale.name")).setDesc(n("settings.appearance.calendarView.calendarLocale.description")).addText(c=>{c.setPlaceholder(n("settings.appearance.calendarView.calendarLocale.placeholder")),c.setValue(e.settings.calendarViewSettings.locale||""),c.inputEl.addClass("settings-view__input"),c.inputEl.addEventListener("blur",()=>{let d=c.getValue().trim();if(d)try{Intl.getCanonicalLocales(d),e.settings.calendarViewSettings.locale=d,t()}catch(u){new wp.Notice(n("settings.appearance.calendarView.calendarLocale.invalidLocale")),e.settings.calendarViewSettings.locale="",c.setValue(""),t()}else e.settings.calendarViewSettings.locale="",t()})})})}),kt(r,{heading:n("settings.appearance.defaultEventVisibility.header"),description:n("settings.appearance.defaultEventVisibility.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.appearance.defaultEventVisibility.showScheduledTasks.name"),desc:n("settings.appearance.defaultEventVisibility.showScheduledTasks.description"),getValue:()=>e.settings.calendarViewSettings.defaultShowScheduled,setValue:async c=>{e.settings.calendarViewSettings.defaultShowScheduled=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.defaultEventVisibility.showDueDates.name"),desc:n("settings.appearance.defaultEventVisibility.showDueDates.description"),getValue:()=>e.settings.calendarViewSettings.defaultShowDue,setValue:async c=>{e.settings.calendarViewSettings.defaultShowDue=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.defaultEventVisibility.showDueWhenScheduled.name"),desc:n("settings.appearance.defaultEventVisibility.showDueWhenScheduled.description"),getValue:()=>e.settings.calendarViewSettings.defaultShowDueWhenScheduled,setValue:async c=>{e.settings.calendarViewSettings.defaultShowDueWhenScheduled=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.defaultEventVisibility.showTimeEntries.name"),desc:n("settings.appearance.defaultEventVisibility.showTimeEntries.description"),getValue:()=>e.settings.calendarViewSettings.defaultShowTimeEntries,setValue:async c=>{e.settings.calendarViewSettings.defaultShowTimeEntries=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.defaultEventVisibility.showRecurringTasks.name"),desc:n("settings.appearance.defaultEventVisibility.showRecurringTasks.description"),getValue:()=>e.settings.calendarViewSettings.defaultShowRecurring,setValue:async c=>{e.settings.calendarViewSettings.defaultShowRecurring=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.defaultEventVisibility.showICSEvents.name"),desc:n("settings.appearance.defaultEventVisibility.showICSEvents.description"),getValue:()=>e.settings.calendarViewSettings.defaultShowICSEvents,setValue:async c=>{e.settings.calendarViewSettings.defaultShowICSEvents=c,t()}}))}),kt(r,{heading:n("settings.appearance.timeSettings.header"),description:n("settings.appearance.timeSettings.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.appearance.timeSettings.timeSlotDuration.name"),desc:n("settings.appearance.timeSettings.timeSlotDuration.description"),options:[{value:"00:15:00",label:n("settings.appearance.timeSettings.timeSlotDuration.options.fifteenMinutes")},{value:"00:30:00",label:n("settings.appearance.timeSettings.timeSlotDuration.options.thirtyMinutes")},{value:"01:00:00",label:n("settings.appearance.timeSettings.timeSlotDuration.options.sixtyMinutes")}],getValue:()=>e.settings.calendarViewSettings.slotDuration,setValue:async c=>{OWt(c)&&(e.settings.calendarViewSettings.slotDuration=c,t())}})),o.addSetting(l=>void Mn(l,{name:n("settings.appearance.timeSettings.startTime.name"),desc:n("settings.appearance.timeSettings.startTime.description"),placeholder:n("settings.appearance.timeSettings.startTime.placeholder"),debounceMs:500,getValue:()=>{let c=e.settings.calendarViewSettings.slotMinTime;return!c||c.length<5||!/^\d{2}:\d{2}:\d{2}$/.test(c)?"00:00":c.slice(0,5)},setValue:async c=>{if(!/^\d{2}:\d{2}$/.test(c)){new wp.Notice("Invalid time format. Please use hh:mm format (e.g., 08:00)");return}let[d,u]=c.split(":").map(Number);if(d<0||d>23||u<0||u>59){new wp.Notice("Invalid time. Hours must be 00-23 and minutes must be 00-59");return}e.settings.calendarViewSettings.slotMinTime=c+":00",t()}})),o.addSetting(l=>void Mn(l,{name:n("settings.appearance.timeSettings.endTime.name"),desc:n("settings.appearance.timeSettings.endTime.description"),placeholder:n("settings.appearance.timeSettings.endTime.placeholder"),debounceMs:500,getValue:()=>{let c=e.settings.calendarViewSettings.slotMaxTime;return!c||c.length<5||!/^\d{2}:\d{2}:\d{2}$/.test(c)?"24:00":c.slice(0,5)},setValue:async c=>{if(!/^\d{2}:\d{2}$/.test(c)){new wp.Notice("Invalid time format. Please use hh:mm format (e.g., 26:00)");return}let d=c1(c,"24:00:00",{maxHour:48,allowMaxHourOnlyAtZero:!0});if(!d.isValid){new wp.Notice("Invalid time. Use 00:00-48:00; values after midnight use 24:00-48:00, such as 26:00 for 2 am next day");return}e.settings.calendarViewSettings.slotMaxTime=d.value,t()}})),o.addSetting(l=>void Mn(l,{name:n("settings.appearance.timeSettings.initialScrollTime.name"),desc:n("settings.appearance.timeSettings.initialScrollTime.description"),placeholder:n("settings.appearance.timeSettings.initialScrollTime.placeholder"),debounceMs:500,getValue:()=>{let c=e.settings.calendarViewSettings.scrollTime;return!c||c.length<5||!/^\d{2}:\d{2}:\d{2}$/.test(c)?"08:00":c.slice(0,5)},setValue:async c=>{if(!/^\d{2}:\d{2}$/.test(c)){new wp.Notice("Invalid time format. Please use hh:mm format (e.g., 08:00)");return}let[d,u]=c.split(":").map(Number);if(d<0||d>23||u<0||u>59){new wp.Notice("Invalid time. Hours must be 00-23 and minutes must be 00-59");return}e.settings.calendarViewSettings.scrollTime=c+":00",t()}})),o.addSetting(l=>void Oa(l,{name:n("settings.appearance.timeSettings.eventMinHeight.name"),desc:n("settings.appearance.timeSettings.eventMinHeight.description"),placeholder:n("settings.appearance.timeSettings.eventMinHeight.placeholder"),min:5,max:100,debounceMs:300,getValue:()=>e.settings.calendarViewSettings.eventMinHeight,setValue:async c=>{e.settings.calendarViewSettings.eventMinHeight=c,t()}}))}),kt(r,{heading:n("settings.appearance.uiElements.header"),description:n("settings.appearance.uiElements.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.appearance.uiElements.showTrackedTasksInStatusBar.name"),desc:n("settings.appearance.uiElements.showTrackedTasksInStatusBar.description"),getValue:()=>e.settings.showTrackedTasksInStatusBar,setValue:async c=>{e.settings.showTrackedTasksInStatusBar=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.uiElements.showRelationshipsWidget.name"),desc:n("settings.appearance.uiElements.showRelationshipsWidget.description"),getValue:()=>e.settings.showRelationships,setValue:async c=>{e.settings.showRelationships=c,t(),jy(r,e,t)}})),e.settings.showRelationships&&o.addSetting(l=>void dn(l,{name:n("settings.appearance.uiElements.relationshipsPosition.name"),desc:n("settings.appearance.uiElements.relationshipsPosition.description"),options:[{value:"top",label:n("settings.appearance.uiElements.relationshipsPosition.options.top")},{value:"bottom",label:n("settings.appearance.uiElements.relationshipsPosition.options.bottom")}],getValue:()=>e.settings.relationshipsPosition,setValue:async c=>{e.settings.relationshipsPosition=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.uiElements.showTaskCardInNote.name"),desc:n("settings.appearance.uiElements.showTaskCardInNote.description"),getValue:()=>e.settings.showTaskCardInNote,setValue:async c=>{e.settings.showTaskCardInNote=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.uiElements.showCompletedTaskStrikethrough.name"),desc:n("settings.appearance.uiElements.showCompletedTaskStrikethrough.description"),getValue:()=>e.settings.showCompletedTaskStrikethrough,setValue:async c=>{e.settings.showCompletedTaskStrikethrough=c,t(),e.app.workspace.trigger("tasknotes:refresh-views")}})),o.addSetting(l=>void me(l,{name:n("settings.appearance.uiElements.showExpandableSubtasks.name"),desc:n("settings.appearance.uiElements.showExpandableSubtasks.description"),getValue:()=>e.settings.showExpandableSubtasks,setValue:async c=>{e.settings.showExpandableSubtasks=c,t(),jy(r,e,t)}})),e.settings.showExpandableSubtasks&&(o.addSetting(l=>void me(l,{name:n("settings.appearance.uiElements.expandSubtasksByDefault.name"),desc:n("settings.appearance.uiElements.expandSubtasksByDefault.description"),getValue:()=>e.settings.expandSubtasksByDefault,setValue:async c=>{e.settings.expandSubtasksByDefault=c,t()}})),o.addSetting(l=>void dn(l,{name:n("settings.appearance.uiElements.subtaskChevronPosition.name"),desc:n("settings.appearance.uiElements.subtaskChevronPosition.description"),options:[{value:"left",label:n("settings.appearance.uiElements.subtaskChevronPosition.options.left")},{value:"right",label:n("settings.appearance.uiElements.subtaskChevronPosition.options.right")}],getValue:()=>e.settings.subtaskChevronPosition,setValue:async c=>{e.settings.subtaskChevronPosition=c,t()}}))),o.addSetting(l=>void dn(l,{name:n("settings.appearance.uiElements.viewsButtonAlignment.name"),desc:n("settings.appearance.uiElements.viewsButtonAlignment.description"),options:[{value:"left",label:n("settings.appearance.uiElements.viewsButtonAlignment.options.left")},{value:"right",label:n("settings.appearance.uiElements.viewsButtonAlignment.options.right")}],getValue:()=>e.settings.viewsButtonAlignment,setValue:async c=>{e.settings.viewsButtonAlignment=c,t()}}))}),kt(r,{heading:n("settings.general.taskInteraction.header"),description:n("settings.general.taskInteraction.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.general.taskInteraction.singleClick.name"),desc:n("settings.general.taskInteraction.singleClick.description"),options:[{value:"edit",label:n("settings.general.taskInteraction.actions.edit")},{value:"openNote",label:n("settings.general.taskInteraction.actions.openNote")}],getValue:()=>e.settings.singleClickAction,setValue:async c=>{e.settings.singleClickAction=c,t()}})),o.addSetting(l=>void dn(l,{name:n("settings.general.taskInteraction.doubleClick.name"),desc:n("settings.general.taskInteraction.doubleClick.description"),options:[{value:"edit",label:n("settings.general.taskInteraction.actions.edit")},{value:"openNote",label:n("settings.general.taskInteraction.actions.openNote")},{value:"none",label:n("settings.general.taskInteraction.actions.none")}],getValue:()=>e.settings.doubleClickAction,setValue:async c=>{e.settings.doubleClickAction=c,t()}}))})}var $ie=require("obsidian");Nc();var ij=require("obsidian"),Fie=class extends ij.Modal{constructor(e,t){super(e.app),this.plugin=e,this.hasExistingData=t}t(e,t){return this.plugin.i18n.translate(e,t)}show(){return new Promise(e=>{this.resolve=e,this.open()})}onOpen(){let{contentEl:e}=this;e.empty();let t=this.hasExistingData?"migrate":"switch",n=this.t(`modals.storageLocation.title.${t}`);new ij.Setting(e).setName(n).setHeading();let i=this.t(`modals.storageLocation.message.${t}`),s=e.createEl("p").createEl("strong");s.textContent=i,e.createEl("br"),e.createEl("p",{text:this.t("modals.storageLocation.whatThisMeans")});let o=e.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 f=o.createEl("li");f.textContent=m}),e.createEl("br");let c=e.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=e.createEl("div",{cls:"modal-button-container"});d.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-display-none-6b99de8b","tn-static-min-height-800px-997b4c8c"),d.classList.add("tn-static-display-flex-75816cae"),d.classList.remove("tn-static-display-flex-8bb39979","tn-static-gap-0-5rem-ce2fca4d","tn-static-gap-12px-ed7b3d87","tn-static-gap-6px-f0abc1db","tn-static-gap-8px-33fcd4c3"),d.classList.add("tn-static-gap-10px-f3d7ce77"),d.classList.remove("tn-static-justify-content-center-03c4bb6f","tn-static-justify-content-space-between-a562f4fd"),d.classList.add("tn-static-justify-content-flex-end-455f8cca"),d.classList.remove("tn-static-font-size-12px-b0cc7e05","tn-static-margin-top-0-5rem-3dc98b5e","tn-static-margin-top-0-d462248a","tn-static-margin-top-12px-91e0f558","tn-static-margin-top-16px-1b0f4999","tn-static-margin-top-1rem-2239d6d5","tn-static-margin-top-30px-2fbbbcd4","tn-static-margin-top-4px-96ad6099","tn-static-margin-top-8px-8a77e5a3","tn-static-margin-top-8px-f4f01e68"),d.classList.add("tn-static-margin-top-20px-a26bda7d"),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:e}=this;e.empty(),this.resolve&&this.resolve(!1)}};async function lGe(r,e){return new Fie(r,e).show()}var cGe={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 dGe={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 uGe={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 pGe={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 mGe={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 fGe={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 hGe={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 gGe={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 yGe={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 vGe={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 bGe={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 TGe={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 LWt={en:cGe,es:dGe,fr:uGe,de:pGe,ru:mGe,zh:fGe,ja:hGe,it:gGe,nl:yGe,pt:vGe,sv:bGe,uk:TGe};function kGe(){return Object.values(LWt).map(r=>({value:r.code,label:r.name}))}fc();ca();async function FWt(r){if(!r.pomodoroService){let{PomodoroService:e}=await Promise.resolve().then(()=>(W8(),z1e));r.pomodoroService=new e(r),await r.pomodoroService.initialize()}return r.pomodoroService}function Rs(r,e,t){r.empty();let n=(o,l)=>e.i18n.translate(o,l),i=jM(e),a=e.settings.inlineVisibleProperties||["status","priority","due","scheduled","recurrence"],s=nj(e,a);kt(r,{heading:n("settings.features.inlineTasks.header"),description:n("settings.features.inlineTasks.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.overlays.taskLinkToggle.name"),desc:n("settings.features.overlays.taskLinkToggle.description"),getValue:()=>e.settings.enableTaskLinkOverlay,setValue:async c=>{e.settings.enableTaskLinkOverlay=c,t(),Rs(r,e,t)}})),e.settings.enableTaskLinkOverlay&&(o.addSetting(l=>void me(l,{name:n("settings.features.overlays.aliasExclusion.name"),desc:n("settings.features.overlays.aliasExclusion.description"),getValue:()=>e.settings.disableOverlayOnAlias,setValue:async c=>{e.settings.disableOverlayOnAlias=c,t()}})),o.addSetting(l=>{l.setName("Inline task card properties").setDesc("Select which properties to show in inline task cards.").addButton(c=>{c.setButtonText("Configure").onClick(()=>{new vw(e.app,i,a,async u=>{e.settings.inlineVisibleProperties=u,t(),new $ie.Notice("Inline task card properties updated"),Rs(r,e,t)},"Select Inline Task Card Properties","Choose which properties to display in inline task cards.").open()})})}),o.addSetting(l=>{l.setDesc(`Currently showing: ${s.join(", ")}`),l.settingEl.addClass("settings-view__group-description")})),o.addSetting(l=>void me(l,{name:n("settings.features.instantConvert.toggle.name"),desc:n("settings.features.instantConvert.toggle.description"),getValue:()=>e.settings.enableInstantTaskConvert,setValue:async c=>{e.settings.enableInstantTaskConvert=c,t(),Rs(r,e,t)}})),e.settings.enableInstantTaskConvert&&o.addSetting(l=>void me(l,{name:n("settings.features.instantConvert.preserveCheckbox.name"),desc:n("settings.features.instantConvert.preserveCheckbox.description"),getValue:()=>e.settings.preserveCheckboxOnConvert,setValue:async c=>{e.settings.preserveCheckboxOnConvert=c,t()}}))}),kt(r,{heading:n("settings.features.nlp.header"),description:n("settings.features.nlp.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.nlp.enable.name"),desc:n("settings.features.nlp.enable.description"),getValue:()=>e.settings.enableNaturalLanguageInput,setValue:async c=>{e.settings.enableNaturalLanguageInput=c,t(),Rs(r,e,t)}})),e.settings.enableNaturalLanguageInput&&(o.addSetting(l=>void me(l,{name:n("settings.features.nlp.defaultToScheduled.name"),desc:n("settings.features.nlp.defaultToScheduled.description"),getValue:()=>e.settings.nlpDefaultToScheduled,setValue:async c=>{e.settings.nlpDefaultToScheduled=c,t()}})),o.addSetting(l=>void dn(l,{name:n("settings.features.nlp.language.name"),desc:n("settings.features.nlp.language.description"),options:kGe(),getValue:()=>e.settings.nlpLanguage,setValue:async c=>{e.settings.nlpLanguage=c,t()}})))}),kt(r,{heading:n("settings.features.taskCreation.header"),description:n("settings.features.taskCreation.description")},o=>{o.addSetting(l=>void dn(l,{name:n("settings.features.taskCreation.openAfterCreate.name"),desc:n("settings.features.taskCreation.openAfterCreate.description"),options:[{value:"none",label:n("settings.features.taskCreation.openAfterCreate.options.none")},{value:"same-tab",label:n("settings.features.taskCreation.openAfterCreate.options.sameTab")},{value:"new-tab",label:n("settings.features.taskCreation.openAfterCreate.options.newTab")}],getValue:()=>e.settings.openTaskAfterCreation,setValue:async c=>{e.settings.openTaskAfterCreation=c,t()}}))}),kt(r,{heading:n("settings.defaults.header.bodyTemplate"),description:n("settings.defaults.description.bodyTemplate")},o=>{o.addSetting(l=>void me(l,{name:n("settings.defaults.bodyTemplate.useBodyTemplate.name"),desc:n("settings.defaults.bodyTemplate.useBodyTemplate.description"),getValue:()=>e.settings.taskCreationDefaults.useBodyTemplate,setValue:async c=>{e.settings.taskCreationDefaults.useBodyTemplate=c,t(),Rs(r,e,t)}})),e.settings.taskCreationDefaults.useBodyTemplate&&(o.addSetting(l=>void Mn(l,{name:n("settings.defaults.bodyTemplate.bodyTemplateFile.name"),desc:n("settings.defaults.bodyTemplate.bodyTemplateFile.description"),placeholder:n("settings.defaults.bodyTemplate.bodyTemplateFile.placeholder"),getValue:()=>e.settings.taskCreationDefaults.bodyTemplate,setValue:async c=>{e.settings.taskCreationDefaults.bodyTemplate=c,t()}})),o.addSetting(l=>{let c=[n("settings.defaults.bodyTemplate.variables.title"),n("settings.defaults.bodyTemplate.variables.details"),n("settings.defaults.bodyTemplate.variables.date"),n("settings.defaults.bodyTemplate.variables.time"),n("settings.defaults.bodyTemplate.variables.priority"),n("settings.defaults.bodyTemplate.variables.status"),n("settings.defaults.bodyTemplate.variables.contexts"),n("settings.defaults.bodyTemplate.variables.tags"),n("settings.defaults.bodyTemplate.variables.projects")];l.setName(n("settings.defaults.bodyTemplate.variablesHeader")),l.setDesc(c.join(" \u2022 "))})),o.addSetting(l=>void me(l,{name:n("settings.defaults.instantConversion.useDefaultsOnInstantConvert.name"),desc:n("settings.defaults.instantConversion.useDefaultsOnInstantConvert.description"),getValue:()=>e.settings.useDefaultsOnInstantConvert,setValue:async c=>{e.settings.useDefaultsOnInstantConvert=c,t()}}))}),kt(r,{heading:n("settings.features.pomodoro.header"),description:n("settings.features.pomodoro.description")},o=>{o.addSetting(l=>void Oa(l,{name:n("settings.features.pomodoro.workDuration.name"),desc:n("settings.features.pomodoro.workDuration.description"),placeholder:"25",min:1,max:120,getValue:()=>e.settings.pomodoroWorkDuration,setValue:async c=>{e.settings.pomodoroWorkDuration=c,t()}})),o.addSetting(l=>void Oa(l,{name:n("settings.features.pomodoro.shortBreak.name"),desc:n("settings.features.pomodoro.shortBreak.description"),placeholder:"5",min:1,max:60,getValue:()=>e.settings.pomodoroShortBreakDuration,setValue:async c=>{e.settings.pomodoroShortBreakDuration=c,t()}})),o.addSetting(l=>void Oa(l,{name:n("settings.features.pomodoro.longBreak.name"),desc:n("settings.features.pomodoro.longBreak.description"),placeholder:"15",min:1,max:120,getValue:()=>e.settings.pomodoroLongBreakDuration,setValue:async c=>{e.settings.pomodoroLongBreakDuration=c,t()}})),o.addSetting(l=>void Oa(l,{name:n("settings.features.pomodoro.longBreakInterval.name"),desc:n("settings.features.pomodoro.longBreakInterval.description"),placeholder:"4",min:1,max:10,getValue:()=>e.settings.pomodoroLongBreakInterval,setValue:async c=>{e.settings.pomodoroLongBreakInterval=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.pomodoro.autoStartBreaks.name"),desc:n("settings.features.pomodoro.autoStartBreaks.description"),getValue:()=>e.settings.pomodoroAutoStartBreaks,setValue:async c=>{e.settings.pomodoroAutoStartBreaks=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.pomodoro.autoStartWork.name"),desc:n("settings.features.pomodoro.autoStartWork.description"),getValue:()=>e.settings.pomodoroAutoStartWork,setValue:async c=>{e.settings.pomodoroAutoStartWork=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.pomodoro.notifications.name"),desc:n("settings.features.pomodoro.notifications.description"),getValue:()=>e.settings.pomodoroNotifications,setValue:async c=>{e.settings.pomodoroNotifications=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.pomodoro.statusBar.name"),desc:n("settings.features.pomodoro.statusBar.description"),getValue:()=>e.settings.showPomodoroInStatusBar,setValue:async c=>{var d;e.settings.showPomodoroInStatusBar=c,t(),(d=e.statusBarService)==null||d.updateVisibility()}})),o.addSetting(l=>void me(l,{name:n("settings.features.pomodoroSound.enabledName"),desc:n("settings.features.pomodoroSound.enabledDesc"),getValue:()=>e.settings.pomodoroSoundEnabled,setValue:async c=>{e.settings.pomodoroSoundEnabled=c,t(),Rs(r,e,t)}})),e.settings.pomodoroSoundEnabled&&o.addSetting(l=>void Oa(l,{name:n("settings.features.pomodoroSound.volumeName"),desc:n("settings.features.pomodoroSound.volumeDesc"),placeholder:"50",min:0,max:100,getValue:()=>e.settings.pomodoroSoundVolume,setValue:async c=>{e.settings.pomodoroSoundVolume=c,t()}})),o.addSetting(l=>void dn(l,{name:n("settings.features.dataStorage.name"),desc:n("settings.features.dataStorage.description"),options:[{value:"plugin",label:n("settings.features.dataStorage.pluginData")},{value:"daily-notes",label:n("settings.features.dataStorage.dailyNotes")}],getValue:()=>e.settings.pomodoroStorageLocation,setValue:async c=>{let d=c;if(d!==e.settings.pomodoroStorageLocation){let u=await e.loadData(),p=(u==null?void 0:u.pomodoroHistory)&&Array.isArray(u.pomodoroHistory)&&u.pomodoroHistory.length>0;if(await lGe(e,p))try{d==="daily-notes"&&await(await FWt(e)).migrateTodailyNotes(),e.settings.pomodoroStorageLocation=d,t(),new $ie.Notice(n("settings.features.dataStorage.notices.locationChanged",{location:n(d==="plugin"?"settings.features.dataStorage.pluginData":"settings.features.dataStorage.dailyNotes")}))}catch(f){Rs(r,e,t)}else Rs(r,e,t)}}})),o.addSetting(l=>void dn(l,{name:n("settings.features.pomodoro.mobileSidebar.name"),desc:n("settings.features.pomodoro.mobileSidebar.description"),options:[{value:"tab",label:n("settings.features.pomodoro.mobileSidebar.tab")},{value:"left",label:n("settings.features.pomodoro.mobileSidebar.left")},{value:"right",label:n("settings.features.pomodoro.mobileSidebar.right")}],getValue:()=>e.settings.pomodoroMobileSidebar,setValue:async c=>{e.settings.pomodoroMobileSidebar=c,t()}}))}),kt(r,{heading:n("settings.features.notifications.header"),description:n("settings.features.notifications.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.notifications.enableName"),desc:n("settings.features.notifications.enableDesc"),getValue:()=>e.settings.enableNotifications,setValue:async c=>{e.settings.enableNotifications=c,t(),Rs(r,e,t)}})),e.settings.enableNotifications&&(o.addSetting(l=>void dn(l,{name:n("settings.features.notifications.typeName"),desc:n("settings.features.notifications.typeDesc"),options:[{value:"in-app",label:n("settings.features.notifications.inAppLabel")},{value:"system",label:n("settings.features.notifications.systemLabel")}],getValue:()=>e.settings.notificationType,setValue:async c=>{e.settings.notificationType=c,t()}})),o.addSetting(l=>void Ac(l,{name:n("settings.features.notifications.testReminderName"),desc:n("settings.features.notifications.testReminderDesc"),buttonText:n("settings.features.notifications.testReminderButton"),onClick:async()=>{var c;await((c=e.notificationService)==null?void 0:c.sendTestReminderNotification())}})),o.addSetting(l=>void me(l,{name:n("settings.features.notifications.soundEnabledName"),desc:n("settings.features.notifications.soundEnabledDesc"),getValue:()=>e.settings.notificationSoundEnabled,setValue:async c=>{e.settings.notificationSoundEnabled=c,t(),Rs(r,e,t)}})),e.settings.notificationSoundEnabled&&(o.addSetting(l=>void Oa(l,{name:n("settings.features.notifications.soundVolumeName"),desc:n("settings.features.notifications.soundVolumeDesc"),placeholder:"50",min:0,max:100,getValue:()=>e.settings.notificationSoundVolume,setValue:async c=>{e.settings.notificationSoundVolume=c,t()}})),o.addSetting(l=>void Ac(l,{name:n("settings.features.notifications.soundPreviewName"),desc:n("settings.features.notifications.soundPreviewDesc"),buttonText:n("settings.features.notifications.soundPreviewButton"),onClick:()=>{var c;(c=e.notificationService)==null||c.playNotificationSound()}}))))}),kt(r,{heading:n("settings.features.performance.header"),description:n("settings.features.performance.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.overdue.hideCompletedName"),desc:n("settings.features.overdue.hideCompletedDesc"),getValue:()=>e.settings.hideCompletedFromOverdue,setValue:async c=>{e.settings.hideCompletedFromOverdue=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.indexing.disableName"),desc:n("settings.features.indexing.disableDesc"),getValue:()=>e.settings.disableNoteIndexing,setValue:async c=>{e.settings.disableNoteIndexing=c,t()}})),e.settings.suggestionDebounceMs!==void 0&&o.addSetting(l=>void Oa(l,{name:n("settings.features.suggestions.debounceName"),desc:n("settings.features.suggestions.debounceDesc"),placeholder:"300",min:0,max:2e3,getValue:()=>e.settings.suggestionDebounceMs||0,setValue:async c=>{e.settings.suggestionDebounceMs=c>0?c:void 0,t()}}))}),kt(r,{heading:n("settings.features.timeTrackingSection.header"),description:n("settings.features.timeTrackingSection.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.timeTracking.autoStopName"),desc:n("settings.features.timeTracking.autoStopDesc"),getValue:()=>e.settings.autoStopTimeTrackingOnComplete,setValue:async c=>{e.settings.autoStopTimeTrackingOnComplete=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.timeTracking.stopNotificationName"),desc:n("settings.features.timeTracking.stopNotificationDesc"),getValue:()=>e.settings.autoStopTimeTrackingNotification,setValue:async c=>{e.settings.autoStopTimeTrackingNotification=c,t()}}))}),kt(r,{heading:n("settings.features.recurringSection.header"),description:n("settings.features.recurringSection.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.recurring.maintainOffsetName"),desc:n("settings.features.recurring.maintainOffsetDesc"),getValue:()=>e.settings.maintainDueDateOffsetInRecurring,setValue:async c=>{e.settings.maintainDueDateOffsetInRecurring=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.recurring.resetCheckboxesName"),desc:n("settings.features.recurring.resetCheckboxesDesc"),getValue:()=>e.settings.resetCheckboxesOnRecurrence,setValue:async c=>{e.settings.resetCheckboxesOnRecurrence=c,t()}}))}),kt(r,{heading:n("settings.features.timeblocking.header"),description:n("settings.features.timeblocking.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.timeblocking.enableName"),desc:n("settings.features.timeblocking.enableDesc"),getValue:()=>e.settings.calendarViewSettings.enableTimeblocking,setValue:async c=>{e.settings.calendarViewSettings.enableTimeblocking=c,t(),Rs(r,e,t)}})),e.settings.calendarViewSettings.enableTimeblocking&&(o.addSetting(l=>void dn(l,{name:"Attachment Search Order",desc:"Controls how files are ordered in the Add Attachment search window for timeblocks.",options:[{value:"name-asc",label:"Name (A to Z)"},{value:"name-desc",label:"Name (Z to A)"},{value:"path-asc",label:"Path (A to Z)"},{value:"path-desc",label:"Path (Z to A)"},{value:"created-recent",label:"Created (Newest first)"},{value:"created-oldest",label:"Created (Oldest first)"},{value:"modified-recent",label:"Modified (Newest first)"},{value:"modified-oldest",label:"Modified (Oldest first)"}],getValue:()=>e.settings.calendarViewSettings.timeblockAttachmentSearchOrder,setValue:async c=>{e.settings.calendarViewSettings.timeblockAttachmentSearchOrder=c,t()}})),o.addSetting(l=>void me(l,{name:n("settings.features.timeblocking.showBlocksName"),desc:n("settings.features.timeblocking.showBlocksDesc"),getValue:()=>e.settings.calendarViewSettings.defaultShowTimeblocks,setValue:async c=>{e.settings.calendarViewSettings.defaultShowTimeblocks=c,t()}})),o.addSetting(l=>{l.setName(n("settings.features.timeblocking.defaultColorName")).setDesc(n("settings.features.timeblocking.defaultColorDesc")).addText(c=>{zh(c.inputEl),c.setValue(au(e.settings.calendarViewSettings.defaultTimeblockColor)),c.onChange(d=>{e.settings.calendarViewSettings.defaultTimeblockColor=_r(d,e.settings.calendarViewSettings.defaultTimeblockColor),t()})})}),o.addSetting(l=>{l.setDesc(n("settings.features.timeblocking.usage")),l.settingEl.addClass("settings-view__group-description")}))}),kt(r,{heading:n("settings.features.debugLogging.header"),description:n("settings.features.debugLogging.description")},o=>{o.addSetting(l=>void me(l,{name:n("settings.features.debugLogging.enableName"),desc:n("settings.features.debugLogging.enableDesc"),getValue:()=>e.settings.enableDebugLogging,setValue:async c=>{e.settings.enableDebugLogging=c,t()}}))})}var he=require("obsidian");var wGe=require("obsidian");G();var $Wt=I({tag:"Api/LoadAPIEndpoints"});function zWt(r){return r instanceof Error?r.message:String(r)}function jWt(r=8080,e={}){var i;let t={url:`http://localhost:${r}/api/docs`,throw:!1},n=(i=e.apiAuthToken)==null?void 0:i.trim();return n&&(t.headers={Authorization:`Bearer ${n}`}),t}async function SGe(r,e=8080,t={}){let n=r.createEl("p",{text:"Loading API endpoints...",attr:{style:"color: var(--text-muted); font-style: italic; margin: 16px 0;"}});try{let i=await(0,wGe.requestUrl)(jWt(e,t));if(i.status<200||i.status>=300)throw new Error(`API unavailable (${i.status})`);let a=i.json;n.remove();let s={};if(a.paths)for(let[o,l]of Object.entries(a.paths))for(let[c,d]of Object.entries(l)){let p=(d.tags||["General"])[0];s[p]||(s[p]=[]),s[p].push({method:c.toUpperCase(),path:o,summary:d.summary||d.description||"No description"})}Object.keys(s).length>0?Object.entries(s).forEach(([o,l])=>{r.createEl("h5",{text:o,attr:{style:"margin: 16px 0 8px 0; font-weight: 600; color: var(--text-normal);"}});let c=r.createEl("ul");l.forEach(d=>{c.createEl("li",{text:`${d.method} ${d.path} - ${d.summary}`})})}):r.createEl("p",{text:"No API endpoints found in specification.",attr:{style:"color: var(--text-muted); margin: 16px 0;"}})}catch(i){$Wt.error("Error loading API endpoints:",{category:"provider",operation:"loading-api-endpoints",error:i}),n.remove(),r.createEl("p",{text:`API server not accessible (${zWt(i)}). Ensure the TaskNotes API server is running on port ${e}.`,attr:{style:"color: var(--text-muted); font-style: italic; margin: 16px 0;"}})}}FT();Nc();Cl();o7();ca();G();var fl=I({tag:"Settings/Tabs/IntegrationsTab"});function Sp(r,e){let n=new Date().getTime()-r.getTime(),i=Math.floor(n/1e3),a=Math.floor(i/60),s=Math.floor(a/60),o=Math.floor(s/24);return o>0?e("settings.integrations.timeFormats.daysAgo",{days:o,plural:o>1?"s":""}):s>0?e("settings.integrations.timeFormats.hoursAgo",{hours:s,plural:s>1?"s":""}):a>0?e("settings.integrations.timeFormats.minutesAgo",{minutes:a,plural:a>1?"s":""}):e("settings.integrations.timeFormats.justNow")}function zie(r){return r instanceof Error?r.message:String(r)}var BWt=["title","zettel","timestamp","custom"];function UWt(r){return BWt.some(e=>e===r)}function HWt(r){return Array.isArray(r)?r.filter(e=>e>0).join(", "):typeof r=="number"&&r>0?r.toString():""}function VWt(r){let e=r.split(/[,\s]+/).map(n=>Math.trunc(Number(n.trim()))).filter(n=>Number.isFinite(n)&&n>0).map(n=>Math.min(n,ql.MAX_REMINDER_MINUTES)),t=Array.from(new Set(e));return t.length===0?null:t.length===1?t[0]:t}var EGe=[{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"}];function Of(r,e,t){r.empty();let n=(d,u)=>e.i18n.translate(d,u),i=tF(e.settings);kt(r,{heading:n("settings.integrations.mdbaseSpec.header")},d=>{d.addSetting(u=>{me(u,{name:n("settings.integrations.mdbaseSpec.enable.name"),desc:"",getValue:()=>e.settings.enableMdbaseSpec,setValue:f=>{e.settings.enableMdbaseSpec=f,t()}});let p=u.descEl;p.createSpan({text:n("settings.integrations.mdbaseSpec.enable.description")+" "}),p.createEl("a",{text:n("settings.integrations.mdbaseSpec.learnMore"),href:"https://mdbase.dev"}).setAttr("target","_blank")})}),kt(r,{heading:"OAuth Calendar Integration"},d=>{d.addSetting(u=>{u.setDesc("Connect your Google calendar or Microsoft outlook to sync events directly into tasknotes.");let p=u.descEl;p.createSpan({text:" You'll need to create OAuth credentials with Google and/or Microsoft. This takes approximately 15 minutes for initial setup. "}),p.createEl("a",{text:"View calendar setup guide",href:"https://callumalpass.github.io/tasknotes/calendar-setup"}).setAttr("target","_blank")}),d.addSetting(u=>void me(u,{name:n("settings.integrations.mobileCalendar.disable.name"),desc:n("settings.integrations.mobileCalendar.disable.description"),getValue:()=>e.settings.disableCalendarOnMobile,setValue:async p=>{e.settings.disableCalendarOnMobile=p,t(),he.Platform.isMobile&&Of(r,e,t)}})),i&&d.addSetting(u=>{u.setName(n("settings.integrations.mobileCalendar.status.name")),u.setDesc(n("settings.integrations.mobileCalendar.status.description"))})});let a=r.createDiv("google-calendar-integration-container"),s=async()=>{if(a.empty(),!e.oauthService){vr(a,{header:{primaryText:"Google Calendar",secondaryText:"OAuth service not available",meta:[La("Error","inactive")]}});return}let d=await e.oauthService.isConnected("google"),u=d?await e.oauthService.getConnection("google"):null;if(d&&u){let p=u.connectedAt?new Date(u.connectedAt):null,m=p?Sp(p,n):"",f=activeDocument.createElement("div");f.className="tasknotes-calendar-info",f.textContent=p?`Connected ${m}`:"Connected";let h=activeDocument.createElement("div");if(h.className="tasknotes-calendar-info",u.lastRefreshed){let g=new Date(u.lastRefreshed);h.textContent=`Last refreshed ${Sp(g,n)}`}else h.textContent="Never refreshed";vr(a,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#4285F4"},header:{primaryText:"Google Calendar",secondaryText:"OAuth 2.0 Connection",meta:[La("Connected","active")]},content:{sections:[{rows:[{label:"Status:",input:f},{label:"Sync:",input:h}]}]},actions:{buttons:[{text:"Refresh Now",icon:"refresh-cw",variant:"primary",onClick:async()=>{try{e.googleCalendarService&&(await e.googleCalendarService.refresh(),new he.Notice("Google calendar refreshed successfully"),s())}catch(g){fl.error("Failed to refresh:",{category:"configuration",operation:"refresh",error:g}),new he.Notice("Failed to refresh Google calendar")}}},{text:"Disconnect",icon:"log-out",variant:"warning",onClick:async()=>{try{let g=e.oauthService;if(!g)return;await g.disconnect("google"),new he.Notice("Disconnected from Google calendar"),s()}catch(g){fl.error("Failed to disconnect:",{category:"configuration",operation:"disconnect",error:g}),new he.Notice("Failed to disconnect from Google calendar")}}}]}})}else{let p=activeDocument.createElement("div");p.className="tasknotes-calendar-help",p.textContent="Connect your Google calendar account to sync events directly into tasknotes. Events will automatically refresh every 15 minutes.";let m=[{rows:[{label:"Info:",input:p,fullWidth:!0}]}],f=Ge("text","your-client-id.apps.googleusercontent.com",e.settings.googleOAuthClientId);f.addEventListener("blur",()=>{Di(async()=>{e.settings.googleOAuthClientId=f.value.trim(),t(),e.oauthService&&await e.oauthService.loadClientIds()})});let h=Ge("text","your-client-secret",e.settings.googleOAuthClientSecret);h.setAttribute("type","password"),h.addEventListener("blur",()=>{Di(async()=>{e.settings.googleOAuthClientSecret=h.value.trim(),t(),e.oauthService&&await e.oauthService.loadClientIds()})});let g=activeDocument.createElement("div");g.className="tasknotes-credential-note",g.textContent="Enter your OAUTH app credentials from Google cloud console.",m.push({rows:[{label:"Client ID:",input:f},{label:"Client Secret:",input:h},{label:"",input:g,fullWidth:!0}]}),vr(a,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#9AA0A6"},header:{primaryText:"Google Calendar",secondaryText:"OAuth 2.0 Connection",meta:[La("Not Connected","inactive")]},content:{sections:m},actions:{buttons:[{text:"Connect Google Calendar",icon:"link",variant:"primary",onClick:async()=>{try{let v=e.oauthService;if(!v)return;await v.authenticate("google"),new he.Notice("Google calendar connected successfully!"),s()}catch(v){fl.error("Failed to connect:",{category:"configuration",operation:"connect",error:v}),new he.Notice(`Failed to connect: ${zie(v)}`)}}}]}})}};s();let o=r.createDiv("microsoft-calendar-integration-container"),l=async()=>{var p;if(o.empty(),!e.oauthService){vr(o,{header:{primaryText:"Microsoft Outlook Calendar",secondaryText:"OAuth service not available",meta:[La("Error","inactive")]}});return}let d=await e.oauthService.isConnected("microsoft"),u=d?await e.oauthService.getConnection("microsoft"):null;if(d&&u){let m=u.connectedAt?new Date(u.connectedAt):null,f=m?Sp(m,n):"",h=activeDocument.createElement("div");h.className="tasknotes-calendar-info",h.textContent=m?`Connected ${f}`:"Connected";let g=activeDocument.createElement("div");if(g.className="tasknotes-calendar-info",u.lastRefreshed){let w=new Date(u.lastRefreshed);g.textContent=`OAuth token refreshed ${Sp(w,n)}`}else g.textContent="Token not refreshed yet";let v=(p=e.microsoftCalendarService)==null?void 0:p.getSyncStatus(),k=activeDocument.createElement("div");if(k.className="tasknotes-calendar-info",!e.microsoftCalendarService)k.addClass("tasknotes-calendar-info--warning"),k.textContent="Calendar sync service not available";else if(v!=null&&v.lastError){k.addClass("tasknotes-calendar-info--warning");let w=v.lastAttempt?new Date(v.lastAttempt):null,S=w?` ${Sp(w,n)}`:"";k.textContent=`Calendar sync failed${S}: ${v.lastError}`}else if(v!=null&&v.lastSuccess){let w=new Date(v.lastSuccess);k.textContent=`Calendar sync succeeded ${Sp(w,n)} (${v.eventsLoaded} events)`}else if(v!=null&&v.lastAttempt){let w=new Date(v.lastAttempt);k.textContent=`Calendar sync checked ${Sp(w,n)}`}else k.textContent="Calendar events not refreshed yet";let b=[{label:"Status:",input:h},{label:"Token:",input:g},{label:"Sync:",input:k}];if(v!=null&&v.calendarErrors.length){let w=activeDocument.createElement("div");w.className="tasknotes-calendar-info tasknotes-calendar-info--warning";let S=v.calendarErrors[0],x=S.calendarName||S.calendarId||"Microsoft calendar";w.textContent=v.calendarErrors.length===1?`${x}: ${S.message}`:`${v.calendarErrors.length} calendars failed. First error: ${x}: ${S.message}`,b.push({label:"Issue:",input:w,fullWidth:!0})}vr(o,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#0078D4"},header:{primaryText:"Microsoft Outlook Calendar",secondaryText:"OAuth 2.0 Connection",meta:[La("Connected","active")]},content:{sections:[{rows:b}]},actions:{buttons:[{text:"Refresh Now",icon:"refresh-cw",variant:"primary",onClick:async()=>{try{if(e.microsoftCalendarService){await e.microsoftCalendarService.refresh();let w=e.microsoftCalendarService.getSyncStatus();w.lastError?new he.Notice(`Microsoft calendar refresh had errors: ${w.lastError}`):new he.Notice("Microsoft calendar refreshed successfully"),l()}}catch(w){fl.error("Failed to refresh:",{category:"configuration",operation:"refresh",error:w}),new he.Notice(`Failed to refresh Microsoft calendar: ${zie(w)}`)}}},{text:"Disconnect",icon:"log-out",variant:"warning",onClick:async()=>{try{let w=e.oauthService;if(!w)return;await w.disconnect("microsoft"),new he.Notice("Disconnected from Microsoft calendar"),l()}catch(w){fl.error("Failed to disconnect:",{category:"configuration",operation:"disconnect",error:w}),new he.Notice("Failed to disconnect from Microsoft calendar")}}}]}})}else{let m=activeDocument.createElement("div");m.className="tasknotes-calendar-help",m.textContent="Connect your Microsoft outlook calendar to sync events directly into tasknotes.";let f=[{rows:[{label:"Info:",input:m,fullWidth:!0}]}],h=Ge("text","your-microsoft-client-id",e.settings.microsoftOAuthClientId);h.addEventListener("blur",()=>{Di(async()=>{e.settings.microsoftOAuthClientId=h.value.trim(),t(),e.oauthService&&await e.oauthService.loadClientIds()})});let g=Ge("text","your-microsoft-client-secret",e.settings.microsoftOAuthClientSecret);g.setAttribute("type","password"),g.addEventListener("blur",()=>{Di(async()=>{e.settings.microsoftOAuthClientSecret=g.value.trim(),t(),e.oauthService&&await e.oauthService.loadClientIds()})});let v=activeDocument.createElement("div");v.className="tasknotes-credential-note",v.textContent="Enter your OAUTH app credentials from azure portal.",f.push({rows:[{label:"Client ID:",input:h},{label:"Client Secret:",input:g},{label:"",input:v,fullWidth:!0}]}),vr(o,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#737373"},header:{primaryText:"Microsoft Outlook Calendar",secondaryText:"OAuth 2.0 Connection",meta:[La("Not Connected","inactive")]},content:{sections:f},actions:{buttons:[{text:"Connect Microsoft Calendar",icon:"link",variant:"primary",onClick:async()=>{try{let k=e.oauthService;if(!k)return;await k.authenticate("microsoft"),new he.Notice("Microsoft calendar connected successfully!"),l()}catch(k){fl.error("Failed to connect:",{category:"configuration",operation:"connect",error:k}),new he.Notice(`Failed to connect: ${zie(k)}`)}}}]}})}};l(),kt(r,{heading:n("settings.integrations.googleCalendarExport.header"),description:n("settings.integrations.googleCalendarExport.description")},d=>{d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.enable.name"),desc:n("settings.integrations.googleCalendarExport.enable.description"),getValue:()=>e.settings.googleCalendarExport.enabled,setValue:async p=>{e.settings.googleCalendarExport.enabled=p,t()}})),d.addSetting(u=>{u.setName(n("settings.integrations.googleCalendarExport.targetCalendar.name")),u.setDesc(n("settings.integrations.googleCalendarExport.targetCalendar.description"));let p=u.controlEl.createEl("select",{cls:"dropdown"});p.classList.remove("tn-static-width-100-0466783d","tn-static-width-12px-fbf353fb","tn-static-width-16px-7375d50b","tn-static-width-1px-aa77e27e","tn-static-width-60px-bd09c419","tn-static-width-80px-8573bae3"),p.classList.add("tn-static-width-200px-2acaf3b5"),p.createEl("option",{text:n("settings.integrations.googleCalendarExport.targetCalendar.placeholder"),value:""});let m=async()=>{for(;p.options.length>1;)p.remove(1);if(e.oauthService&&await e.oauthService.isConnected("google")&&e.googleCalendarService){let k=e.googleCalendarService.getAvailableCalendars();for(let b of k){let w=p.createEl("option",{text:b.summary+(b.primary?n("settings.integrations.googleCalendarExport.targetCalendar.primarySuffix"):""),value:b.id});b.id===e.settings.googleCalendarExport.targetCalendarId&&(w.selected=!0)}}else p.createEl("option",{text:n("settings.integrations.googleCalendarExport.targetCalendar.connectFirst"),value:""})};m();let f=null,h=null,g=()=>{f&&(f(),f=null),h&&(h.disconnect(),h=null)};f=e.googleCalendarService.on("data-changed",()=>{if(!p.isConnected){g();return}m()}),h=new MutationObserver(()=>{p.isConnected||g()}),h.observe(r.ownerDocument.body,{childList:!0,subtree:!0}),p.addEventListener("change",()=>{e.settings.googleCalendarExport.targetCalendarId=p.value,t()})}),d.addSetting(u=>void dn(u,{name:n("settings.integrations.googleCalendarExport.syncTrigger.name"),desc:n("settings.integrations.googleCalendarExport.syncTrigger.description"),options:[{value:"scheduled",label:n("settings.integrations.googleCalendarExport.syncTrigger.options.scheduled")},{value:"due",label:n("settings.integrations.googleCalendarExport.syncTrigger.options.due")},{value:"both",label:n("settings.integrations.googleCalendarExport.syncTrigger.options.both")}],getValue:()=>e.settings.googleCalendarExport.syncTrigger,setValue:async p=>{e.settings.googleCalendarExport.syncTrigger=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.allDayEvents.name"),desc:n("settings.integrations.googleCalendarExport.allDayEvents.description"),getValue:()=>e.settings.googleCalendarExport.createAsAllDay,setValue:async p=>{e.settings.googleCalendarExport.createAsAllDay=p,t()}})),d.addSetting(u=>void Oa(u,{name:n("settings.integrations.googleCalendarExport.defaultDuration.name"),desc:n("settings.integrations.googleCalendarExport.defaultDuration.description"),getValue:()=>e.settings.googleCalendarExport.defaultEventDuration,setValue:async p=>{e.settings.googleCalendarExport.defaultEventDuration=p,t()},min:15,max:480})),d.addSetting(u=>void Mn(u,{name:n("settings.integrations.googleCalendarExport.eventTitleTemplate.name"),desc:n("settings.integrations.googleCalendarExport.eventTitleTemplate.description"),placeholder:n("settings.integrations.googleCalendarExport.eventTitleTemplate.placeholder"),getValue:()=>e.settings.googleCalendarExport.eventTitleTemplate,setValue:async p=>{e.settings.googleCalendarExport.eventTitleTemplate=p||"{{title}}",t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.includeDescription.name"),desc:n("settings.integrations.googleCalendarExport.includeDescription.description"),getValue:()=>e.settings.googleCalendarExport.includeDescription,setValue:async p=>{e.settings.googleCalendarExport.includeDescription=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.includeObsidianLink.name"),desc:n("settings.integrations.googleCalendarExport.includeObsidianLink.description"),getValue:()=>e.settings.googleCalendarExport.includeObsidianLink,setValue:async p=>{e.settings.googleCalendarExport.includeObsidianLink=p,t()}})),d.addSetting(u=>void Mn(u,{name:n("settings.integrations.googleCalendarExport.defaultReminder.name"),desc:n("settings.integrations.googleCalendarExport.defaultReminder.description"),getValue:()=>HWt(e.settings.googleCalendarExport.defaultReminderMinutes),setValue:async p=>{e.settings.googleCalendarExport.defaultReminderMinutes=VWt(p),t()},placeholder:"60, 1440"})),d.addSetting(u=>{u.setName(n("settings.integrations.googleCalendarExport.automaticSyncBehavior.header")),u.setHeading()}),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.syncOnCreate.name"),desc:n("settings.integrations.googleCalendarExport.syncOnCreate.description"),getValue:()=>e.settings.googleCalendarExport.syncOnTaskCreate,setValue:async p=>{e.settings.googleCalendarExport.syncOnTaskCreate=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.syncOnUpdate.name"),desc:n("settings.integrations.googleCalendarExport.syncOnUpdate.description"),getValue:()=>e.settings.googleCalendarExport.syncOnTaskUpdate,setValue:async p=>{e.settings.googleCalendarExport.syncOnTaskUpdate=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.syncOnComplete.name"),desc:n("settings.integrations.googleCalendarExport.syncOnComplete.description"),getValue:()=>e.settings.googleCalendarExport.syncOnTaskComplete,setValue:async p=>{e.settings.googleCalendarExport.syncOnTaskComplete=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.googleCalendarExport.syncOnDelete.name"),desc:n("settings.integrations.googleCalendarExport.syncOnDelete.description"),getValue:()=>e.settings.googleCalendarExport.syncOnTaskDelete,setValue:async p=>{e.settings.googleCalendarExport.syncOnTaskDelete=p,t()}})),d.addSetting(u=>{u.setName(n("settings.integrations.googleCalendarExport.manualSyncActions.header")),u.setHeading()}),d.addSetting(u=>void Ac(u,{name:n("settings.integrations.googleCalendarExport.syncAllTasks.name"),desc:n("settings.integrations.googleCalendarExport.syncAllTasks.description"),buttonText:n("settings.integrations.googleCalendarExport.syncAllTasks.buttonText"),onClick:async()=>{var m;if(!((m=e.taskCalendarSyncService)!=null&&m.isEnabled())){new he.Notice(n("settings.integrations.googleCalendarExport.notices.notEnabledOrConfigured"));return}let p=await e.taskCalendarSyncService.syncAllTasks();new he.Notice(n("settings.integrations.googleCalendarExport.notices.syncResults",{synced:p.synced,failed:p.failed,skipped:p.skipped}))}})),d.addSetting(u=>void Ac(u,{name:n("settings.integrations.googleCalendarExport.unlinkAllTasks.name"),desc:n("settings.integrations.googleCalendarExport.unlinkAllTasks.description"),buttonText:n("settings.integrations.googleCalendarExport.unlinkAllTasks.buttonText"),onClick:async()=>{if(!e.taskCalendarSyncService){new he.Notice(n("settings.integrations.googleCalendarExport.notices.serviceNotAvailable"));return}await bn(e.app,{title:n("settings.integrations.googleCalendarExport.unlinkAllTasks.confirmTitle"),message:n("settings.integrations.googleCalendarExport.unlinkAllTasks.confirmMessage"),confirmText:n("settings.integrations.googleCalendarExport.unlinkAllTasks.confirmButtonText"),isDestructive:!0})&&await e.taskCalendarSyncService.unlinkAllTasks(!1)}}))}),kt(r,{heading:n("settings.integrations.calendarSubscriptions.header"),description:n("settings.integrations.calendarSubscriptions.description")},d=>{d.addSetting(u=>void Mn(u,{name:n("settings.integrations.calendarSubscriptions.defaultNoteTemplate.name"),desc:n("settings.integrations.calendarSubscriptions.defaultNoteTemplate.description"),placeholder:n("settings.integrations.calendarSubscriptions.defaultNoteTemplate.placeholder"),getValue:()=>e.settings.icsIntegration.defaultNoteTemplate,setValue:async p=>{e.settings.icsIntegration.defaultNoteTemplate=p,t()}})),d.addSetting(u=>void Mn(u,{name:n("settings.integrations.calendarSubscriptions.defaultNoteFolder.name"),desc:n("settings.integrations.calendarSubscriptions.defaultNoteFolder.description"),placeholder:n("settings.integrations.calendarSubscriptions.defaultNoteFolder.placeholder"),getValue:()=>e.settings.icsIntegration.defaultNoteFolder,setValue:async p=>{e.settings.icsIntegration.defaultNoteFolder=p,t()}})),d.addSetting(u=>void dn(u,{name:n("settings.integrations.calendarSubscriptions.filenameFormat.name"),desc:n("settings.integrations.calendarSubscriptions.filenameFormat.description"),options:[{value:"title",label:n("settings.integrations.calendarSubscriptions.filenameFormat.options.title")},{value:"zettel",label:n("settings.integrations.calendarSubscriptions.filenameFormat.options.zettel")},{value:"timestamp",label:n("settings.integrations.calendarSubscriptions.filenameFormat.options.timestamp")},{value:"custom",label:n("settings.integrations.calendarSubscriptions.filenameFormat.options.custom")}],getValue:()=>e.settings.icsIntegration.icsNoteFilenameFormat,setValue:async p=>{UWt(p)&&(e.settings.icsIntegration.icsNoteFilenameFormat=p,t(),Of(r,e,t))}})),e.settings.icsIntegration.icsNoteFilenameFormat==="custom"&&d.addSetting(u=>void Mn(u,{name:n("settings.integrations.calendarSubscriptions.customTemplate.name"),desc:n("settings.integrations.calendarSubscriptions.customTemplate.description"),placeholder:n("settings.integrations.calendarSubscriptions.customTemplate.placeholder"),getValue:()=>e.settings.icsIntegration.customICSNoteFilenameTemplate,setValue:async p=>{e.settings.icsIntegration.customICSNoteFilenameTemplate=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.calendarSubscriptions.useICSEndAsDue.name"),desc:n("settings.integrations.calendarSubscriptions.useICSEndAsDue.description"),getValue:()=>{var p;return(p=e.settings.icsIntegration.useICSEndAsDue)!=null?p:!1},setValue:async p=>{e.settings.icsIntegration.useICSEndAsDue=p,t()}}))}),kt(r,{heading:n("settings.integrations.subscriptionsList.header")},d=>{d.addSetting(u=>void Ac(u,{name:n("settings.integrations.subscriptionsList.addSubscription.name"),desc:n("settings.integrations.subscriptionsList.addSubscription.description"),buttonText:n("settings.integrations.subscriptionsList.addSubscription.buttonText"),onClick:async()=>{let p={name:n("settings.integrations.subscriptionsList.newCalendarName"),url:"",color:"#6366f1",enabled:!1,type:"remote",refreshInterval:60};if(!e.icsSubscriptionService){new he.Notice(n("settings.integrations.subscriptionsList.notices.serviceUnavailable"));return}try{await e.icsSubscriptionService.addSubscription(p),new he.Notice(n("settings.integrations.subscriptionsList.notices.addSuccess")),bw(c,e,t)}catch(m){fl.error("Error adding subscription:",{category:"provider",operation:"adding-subscription",error:m}),new he.Notice(n("settings.integrations.subscriptionsList.notices.addFailure"))}}})),d.addSetting(u=>void Ac(u,{name:n("settings.integrations.subscriptionsList.refreshAll.name"),desc:n("settings.integrations.subscriptionsList.refreshAll.description"),buttonText:n("settings.integrations.subscriptionsList.refreshAll.buttonText"),onClick:async()=>{if(e.icsSubscriptionService)try{await e.icsSubscriptionService.refreshAllSubscriptions(),new he.Notice(n("settings.integrations.subscriptionsList.notices.refreshSuccess"))}catch(p){fl.error("Error refreshing subscriptions:",{category:"provider",operation:"refreshing-subscriptions",error:p}),new he.Notice(n("settings.integrations.subscriptionsList.notices.refreshFailure"))}}}))});let c=r.createDiv("ics-subscriptions-container");if(bw(c,e,t),kt(r,{heading:n("settings.integrations.autoExport.header"),description:n("settings.integrations.autoExport.description")},d=>{d.addSetting(u=>void me(u,{name:n("settings.integrations.autoExport.enable.name"),desc:n("settings.integrations.autoExport.enable.description"),getValue:()=>e.settings.icsIntegration.enableAutoExport,setValue:async p=>{e.settings.icsIntegration.enableAutoExport=p,t(),new he.Notice(n("settings.integrations.autoExport.notices.reloadRequired")),Of(r,e,t)}})),e.settings.icsIntegration.enableAutoExport&&(d.addSetting(u=>void Mn(u,{name:n("settings.integrations.autoExport.filePath.name"),desc:n("settings.integrations.autoExport.filePath.description"),placeholder:n("settings.integrations.autoExport.filePath.placeholder"),getValue:()=>e.settings.icsIntegration.autoExportPath,setValue:async p=>{e.settings.icsIntegration.autoExportPath=p||"tasknotes-calendar.ics",t()}})),d.addSetting(u=>void Oa(u,{name:n("settings.integrations.autoExport.interval.name"),desc:n("settings.integrations.autoExport.interval.description"),placeholder:n("settings.integrations.autoExport.interval.placeholder"),min:5,max:1440,getValue:()=>e.settings.icsIntegration.autoExportInterval,setValue:async p=>{e.settings.icsIntegration.autoExportInterval=Math.max(5,p||60),t(),e.autoExportService&&e.autoExportService.updateInterval(e.settings.icsIntegration.autoExportInterval)}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.autoExport.useDuration.name"),desc:n("settings.integrations.autoExport.useDuration.description"),getValue:()=>{var p;return(p=e.settings.icsIntegration.useDurationForExport)!=null?p:!1},setValue:async p=>{e.settings.icsIntegration.useDurationForExport=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.autoExport.excludeCompleted.name"),desc:n("settings.integrations.autoExport.excludeCompleted.description"),getValue:()=>{var p;return(p=e.settings.icsIntegration.excludeCompletedFromExport)!=null?p:!1},setValue:async p=>{e.settings.icsIntegration.excludeCompletedFromExport=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.autoExport.excludeArchived.name"),desc:n("settings.integrations.autoExport.excludeArchived.description"),getValue:()=>{var p;return(p=e.settings.icsIntegration.excludeArchivedFromExport)!=null?p:!1},setValue:async p=>{e.settings.icsIntegration.excludeArchivedFromExport=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.autoExport.requireDueDate.name"),desc:n("settings.integrations.autoExport.requireDueDate.description"),getValue:()=>{var p;return(p=e.settings.icsIntegration.requireDueDateForExport)!=null?p:!1},setValue:async p=>{e.settings.icsIntegration.requireDueDateForExport=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.autoExport.requireScheduledDate.name"),desc:n("settings.integrations.autoExport.requireScheduledDate.description"),getValue:()=>{var p;return(p=e.settings.icsIntegration.requireScheduledDateForExport)!=null?p:!1},setValue:async p=>{e.settings.icsIntegration.requireScheduledDateForExport=p,t()}})),d.addSetting(u=>void Ac(u,{name:n("settings.integrations.autoExport.exportNow.name"),desc:n("settings.integrations.autoExport.exportNow.description"),buttonText:n("settings.integrations.autoExport.exportNow.buttonText"),onClick:async()=>{if(e.autoExportService)try{await e.autoExportService.exportNow(),new he.Notice(n("settings.integrations.autoExport.notices.exportSuccess")),Of(r,e,t)}catch(p){fl.error("Manual export failed:",{category:"provider",operation:"manual-export",error:p}),new he.Notice(n("settings.integrations.autoExport.notices.exportFailure"))}else new he.Notice(n("settings.integrations.autoExport.notices.serviceUnavailable"))}})),d.addSetting(u=>{u.setName(n("settings.integrations.autoExport.status.title"));let p=u.descEl;if(e.autoExportService){let m=e.autoExportService.getLastExportTime(),f=e.autoExportService.getNextExportTime(),h=m?n("settings.integrations.autoExport.status.lastExport",{time:m.toLocaleString()}):n("settings.integrations.autoExport.status.noExports"),g=f?n("settings.integrations.autoExport.status.nextExport",{time:f.toLocaleString()}):n("settings.integrations.autoExport.status.notScheduled");p.textContent=h+`
`+g}else p.textContent=n("settings.integrations.autoExport.status.serviceNotInitialized"),p.addClass("tasknotes-auto-export-status__error")}))}),!he.Platform.isMobile){if(kt(r,{heading:n("settings.integrations.httpApi.header"),description:n("settings.integrations.httpApi.description")},d=>{d.addSetting(u=>void me(u,{name:n("settings.integrations.httpApi.enable.name"),desc:n("settings.integrations.httpApi.enable.description"),getValue:()=>e.settings.enableAPI,setValue:async p=>{e.settings.enableAPI=p,t(),Of(r,e,t)}})),e.settings.enableAPI&&(d.addSetting(u=>void Oa(u,{name:n("settings.integrations.httpApi.port.name"),desc:n("settings.integrations.httpApi.port.description"),placeholder:n("settings.integrations.httpApi.port.placeholder"),min:1024,max:65535,getValue:()=>e.settings.apiPort,setValue:async p=>{e.settings.apiPort=p,t()}})),d.addSetting(u=>void Mn(u,{name:n("settings.integrations.httpApi.authToken.name"),desc:n("settings.integrations.httpApi.authToken.description"),placeholder:n("settings.integrations.httpApi.authToken.placeholder"),getValue:()=>e.settings.apiAuthToken,setValue:async p=>{e.settings.apiAuthToken=p,t()}})),d.addSetting(u=>void me(u,{name:n("settings.integrations.httpApi.mcp.enable.name"),desc:n("settings.integrations.httpApi.mcp.enable.description"),getValue:()=>e.settings.enableMCP,setValue:async p=>{e.settings.enableMCP=p,t()}})))}),e.settings.enableAPI){let d=r.createDiv("tasknotes-settings__help-section"),u=d.createDiv("tasknotes-settings__collapsible-header"),p=u.createDiv("tasknotes-settings__collapsible-header-content"),m=p.createSpan("tasknotes-settings__collapsible-icon");m.textContent=n("settings.integrations.httpApi.endpoints.expandIcon"),p.createSpan({text:n("settings.integrations.httpApi.endpoints.header"),cls:"tasknotes-settings__collapsible-title"});let f=d.createDiv("tasknotes-settings__collapsible-content");f.classList.remove("tn-static-display-block-2a1b75c9","tn-static-display-flex-4d51fc62","tn-static-display-flex-75816cae","tn-static-display-flex-8bb39979","tn-static-display-inline-block-60e32dcb","tn-static-display-inline-cccfa456","tn-static-display-inline-flex-f984c520","tn-static-min-height-800px-997b4c8c"),f.classList.add("tn-static-display-none-6b99de8b"),u.addEventListener("click",()=>{let h=f.style.display!=="none";f.style.display=h?"none":"block",m.textContent=n(h?"settings.integrations.httpApi.endpoints.expandIcon":"settings.integrations.httpApi.endpoints.collapseIcon")}),SGe(f,e.settings.apiPort,{apiAuthToken:e.settings.apiAuthToken})}kt(r,{heading:n("settings.integrations.webhooks.header"),description:n("settings.integrations.webhooks.description.overview")+" "+n("settings.integrations.webhooks.description.usage")},d=>{d.addSetting(u=>void Ac(u,{name:n("settings.integrations.webhooks.addWebhook.name"),desc:n("settings.integrations.webhooks.addWebhook.description"),buttonText:n("settings.integrations.webhooks.addWebhook.buttonText"),onClick:async()=>{new Uie(e.app,m=>{var h;let f={id:`wh_${Date.now()}_${Math.random().toString(36).substring(2,9)}`,url:m.url||"",events:m.events||[],secret:qWt(),active:!0,createdAt:new Date().toISOString(),failureCount:0,successCount:0,transformFile:m.transformFile,corsHeaders:m.corsHeaders};e.settings.webhooks||(e.settings.webhooks=[]),e.settings.webhooks.push(f),t(),aj(((h=r.querySelector(".tasknotes-webhooks-container"))==null?void 0:h.parentElement)||r,e,t),new jie(e.app,f.secret).open(),new he.Notice(n("settings.integrations.webhooks.notices.created"))}).open()}}))}),aj(r,e,t)}}function bw(r,e,t){r.empty();let n=(a,s)=>e.i18n.translate(a,s);if(!e.icsSubscriptionService){Ic(r,n("settings.integrations.subscriptionsList.notices.serviceUnavailable"));return}let i=e.icsSubscriptionService.getSubscriptions();if(i.length===0){let a=r.createDiv("tasknotes-webhooks-empty-state");a.createSpan("tasknotes-webhooks-empty-icon"),a.createSpan({text:n("settings.integrations.subscriptionsList.emptyState"),cls:"tasknotes-webhooks-empty-text"});return}i.forEach(a=>{let s=_n(a.enabled,S=>{a.enabled=S,t()}),o=Ge("text","Calendar name",a.name),l=activeDocument.createElement("select");l.className="tasknotes-settings__card-input";let c=activeDocument.createElement("option");c.value="remote",c.textContent="Remote URL",c.selected=a.type==="remote",l.appendChild(c);let d=activeDocument.createElement("option");d.value="local",d.textContent="Local file",d.selected=a.type==="local",l.appendChild(d);let u;if(a.type==="remote")u=yI("ICS/iCal URL",a.url);else{let S=Ge("text","Local file path (e.g., Calendar.ics)",a.filePath||"");S.setAttribute("placeholder","Calendar.ics"),u=S}let p=ub(a.color),m=em(5,1440,5,a.refreshInterval||60),f=async S=>{try{let x=e.icsSubscriptionService;if(!x)return;await x.updateSubscription(a.id,S),t(),bw(r,e,t)}catch(x){fl.error("Error updating subscription:",{category:"provider",operation:"updating-subscription",error:x}),new he.Notice(n("settings.integrations.subscriptionsList.notices.updateFailure")),bw(r,e,t)}};o.addEventListener("blur",()=>{f({name:o.value.trim()})}),p.addEventListener("change",()=>{f({color:pb(p,a.color||"#3788d8")})}),m.addEventListener("blur",()=>{let S=parseInt(m.value)||60;f({refreshInterval:S})}),l.addEventListener("change",()=>{Di(async()=>{let S=l.value;a.type=S,S==="remote"?(a.url=a.filePath||"",a.filePath=void 0):(a.filePath=a.url||"",a.url=void 0),t();let x=l.closest(".tasknotes-settings__card");if(x){let C=x.querySelector(".tasknotes-settings__card-config-row:nth-child(4)");if(C){let D=C.querySelector("input");D&&D.remove();let _;if(S==="remote")_=yI("ICS/iCal URL",a.url);else{let R=Ge("text","Local file path (e.g., Calendar.ics)",a.filePath||"");R.setAttribute("placeholder","Calendar.ics"),_=R}_.addEventListener("blur",()=>{let R=_.value.trim();if(a.type==="remote"){let z=uV(R);f({url:z})}else f({filePath:R})}),C.appendChild(_);let O=C.querySelector(".tasknotes-settings__card-config-label");O&&(O.textContent=S==="remote"?"URL:":"File Path:");let L=x.querySelector(".tasknotes-settings__card-secondary-text");L&&(L.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(a.type==="remote"){let x=uV(S);f({url:x})}else f({filePath:S})});let h=La(a.enabled?"Enabled":"Disabled",a.enabled?"active":"inactive"),g=fb(a.type==="remote"?"Remote":"Local File"),v=[h,g],k=e.icsSubscriptionService.getLastFetched(a.id);if(k){let S=new Date(k),x=Sp(S,n),C=fb(`Synced ${x}`);v.push(C)}let b=e.icsSubscriptionService.getLastError(a.id);if(b){let S=La("Error","inactive");S.title=b,v.push(S)}let w=[{label:"Enabled:",input:s},{label:"Name:",input:o},{label:"Type:",input:l},{label:a.type==="remote"?"URL:":"File Path:",input:u},{label:"Color:",input:p},{label:"Refresh (min):",input:m}];vr(r,{id:a.id,collapsible:!0,defaultCollapsed:!0,colorIndicator:{color:a.color},header:{primaryText:a.name,secondaryText:a.type==="remote"?"Remote Calendar":"Local File",meta:v,actions:[Al(async()=>{if(await bn(e.app,{title:n("settings.integrations.subscriptionsList.confirmDelete.title"),message:n("settings.integrations.subscriptionsList.confirmDelete.message",{name:a.name}),confirmText:n("settings.integrations.subscriptionsList.confirmDelete.confirmText"),cancelText:n("common.cancel"),isDestructive:!0}))try{let x=e.icsSubscriptionService;if(!x)return;await x.removeSubscription(a.id),new he.Notice(n("settings.integrations.subscriptionsList.notices.deleteSuccess",{name:a.name})),t(),bw(r,e,t)}catch(x){fl.error("Error deleting subscription:",{category:"provider",operation:"deleting-subscription",error:x}),new he.Notice(n("settings.integrations.subscriptionsList.notices.deleteFailure"))}},"Delete subscription")]},content:{sections:[{rows:w}]},actions:{buttons:[{text:n("settings.integrations.subscriptionsList.refreshNow"),icon:"refresh-cw",variant:a.enabled?"primary":"secondary",disabled:!a.enabled,onClick:async()=>{if(!a.enabled){new he.Notice(n("settings.integrations.subscriptionsList.notices.enableFirst"));return}try{let S=e.icsSubscriptionService;if(!S)return;await S.refreshSubscription(a.id),new he.Notice(n("settings.integrations.subscriptionsList.notices.refreshSuccess",{name:a.name})),bw(r,e,t)}catch(S){fl.error("Error refreshing subscription:",{category:"provider",operation:"refreshing-subscription",error:S}),new he.Notice(n("settings.integrations.subscriptionsList.notices.refreshFailure"))}}}]}})})}function aj(r,e,t){let n=(s,o)=>e.i18n.translate(s,o),i=r.querySelector(".tasknotes-webhooks-container");i&&i.remove();let a=r.createDiv("tasknotes-webhooks-container");if(!e.settings.webhooks||e.settings.webhooks.length===0){Rc(a,n("settings.integrations.webhooks.emptyState.message"),n("settings.integrations.webhooks.emptyState.buttonText"),()=>{var o;let s=(o=r.closest(".settings-tab-content"))==null?void 0:o.querySelector("button.tn-btn--primary");s&&s.click()});return}e.settings.webhooks.forEach((s,o)=>{let l=La(s.active?"Active":"Inactive",s.active?"active":"inactive"),c=fb(`Success: ${s.successCount||0}`),d=fb(`Failed: ${s.failureCount||0}`),u=yI("Webhook URL",s.url),p=_n(s.active,v=>{s.active=v,t();let k=p.closest(".tasknotes-settings__card");if(k){let b=k.querySelector(".tasknotes-settings__card-status-badge--active, .tasknotes-settings__card-status-badge--inactive");b&&(b.textContent=s.active?"Active":"Inactive",b.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=k.querySelector('[aria-label*="Test"]');w&&(w.disabled=!s.active||!s.url)}new he.Notice(s.active?n("settings.integrations.webhooks.notices.enabled"):n("settings.integrations.webhooks.notices.disabled"))});u.addEventListener("blur",()=>{u.value.trim()!==s.url&&(s.url=u.value.trim(),t(),new he.Notice(n("settings.integrations.webhooks.notices.urlUpdated")))});let m=s.createdAt?new Date(s.createdAt):null,f=m?n("settings.integrations.webhooks.statusLabels.created",{timeAgo:Sp(m,n)}):"Creation date unknown",h=activeDocument.createElement("div");if(h.className="tasknotes-webhook-events",s.events.length===0){let v=activeDocument.createElement("span");v.className="tasknotes-webhook-events--empty",v.textContent=n("settings.integrations.webhooks.eventsDisplay.noEvents"),h.appendChild(v)}else s.events.forEach(v=>{h.appendChild(fb(v))});let g=activeDocument.createElement("span");s.transformFile?(g.className="tasknotes-transform-file",g.textContent=s.transformFile):(g.className="tasknotes-transform-file--empty",g.textContent=n("settings.integrations.webhooks.transformDisplay.noTransform")),vr(a,{id:s.id,collapsible:!0,defaultCollapsed:!0,header:{primaryText:n("settings.integrations.webhooks.cardHeader"),secondaryText:f,meta:[l,c,d],actions:[Al(async()=>{await bn(e.app,{title:n("settings.integrations.webhooks.confirmDelete.title"),message:n("settings.integrations.webhooks.confirmDelete.message",{url:s.url}),confirmText:n("settings.integrations.webhooks.confirmDelete.confirmText"),cancelText:n("common.cancel"),isDestructive:!0})&&(e.settings.webhooks.splice(o,1),t(),aj(r,e,t),new he.Notice(n("settings.integrations.webhooks.notices.deleted")))})]},content:{sections:[{rows:[{label:n("settings.integrations.webhooks.cardFields.active"),input:p},{label:n("settings.integrations.webhooks.cardFields.url"),input:u},{label:n("settings.integrations.webhooks.cardFields.events"),input:h},{label:n("settings.integrations.webhooks.cardFields.transform"),input:g}]}]},actions:{buttons:[{text:n("settings.integrations.webhooks.editEvents"),icon:"settings",variant:"secondary",onClick:async()=>{new Bie(e.app,s,k=>{Object.assign(s,k),t(),aj(r,e,t),new he.Notice(n("settings.integrations.webhooks.notices.updated"))}).open()}}]}})})}function qWt(){return Array.from(crypto.getRandomValues(new Uint8Array(32))).map(r=>r.toString(16).padStart(2,"0")).join("")}var jie=class extends he.Modal{constructor(e,t){super(e),this.secret=t}onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("tasknotes-webhook-modal");let t=e.createDiv({cls:"tasknotes-webhook-secret-notice"}),n=t.createDiv({cls:"tasknotes-webhook-secret-title"}),i=n.createSpan();(0,he.setIcon)(i,"shield-check"),n.createSpan({text:"Webhook Secret Generated"});let a=t.createDiv({cls:"tasknotes-webhook-secret-content"});a.createEl("p",{text:"Your webhook secret has been generated. Save this secret as you won't be able to view it again:"}),a.createEl("code",{text:this.secret,cls:"tasknotes-webhook-secret-code"}),a.createEl("p",{text:"Use this secret to verify webhook payloads in your receiving application."});let o=e.createDiv({cls:"tasknotes-webhook-modal-buttons"}).createEl("button",{text:"Got it",cls:"tasknotes-webhook-modal-btn save"});o.onclick=()=>this.close()}onClose(){let{contentEl:e}=this;e.empty()}},Bie=class extends he.Modal{constructor(e,t,n){var i;super(e),this.selectedEvents=[...t.events],this.transformFile=t.transformFile||"",this.corsHeaders=(i=t.corsHeaders)!=null?i:!0,this.onSubmit=n}onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("tasknotes-webhook-modal");let t=e.createDiv({cls:"tasknotes-webhook-modal-header"}),n=t.createSpan({cls:"tasknotes-webhook-modal-icon"});(0,he.setIcon)(n,"webhook"),t.createEl("h2",{text:"Edit webhook",cls:"tasknotes-webhook-modal-title"});let i=e.createDiv({cls:"tasknotes-webhook-modal-section"}),a=i.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),s=a.createSpan();(0,he.setIcon)(s,"zap"),a.createEl("h3",{text:"Events to subscribe to"});let o=i.createDiv({cls:"tasknotes-webhook-events-list"});EGe.forEach(b=>{new he.Setting(o).setName(b.label).setDesc(b.desc).addToggle(w=>(w.toggleEl.setAttribute("aria-label",`Subscribe to ${b.label} events`),w.setValue(this.selectedEvents.includes(b.id)).onChange(S=>{if(S)this.selectedEvents.push(b.id);else{let x=this.selectedEvents.indexOf(b.id);x>-1&&this.selectedEvents.splice(x,1)}})))});let l=e.createDiv({cls:"tasknotes-webhook-modal-section"}),c=l.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),d=c.createSpan();(0,he.setIcon)(d,"file-code"),c.createEl("h3",{text:"Transform configuration (optional)"}),new he.Setting(l).setName("Transform file").setDesc("Path to a .json template file in your vault that transforms webhook payloads").addText(b=>(b.inputEl.setAttribute("aria-label","Transform file path"),b.setPlaceholder("simple-template.json").setValue(this.transformFile).onChange(w=>{this.transformFile=w})));let u=e.createDiv({cls:"tasknotes-webhook-modal-section"}),p=u.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),m=p.createSpan();(0,he.setIcon)(m,"settings"),p.createEl("h3",{text:"Headers configuration"}),new he.Setting(u).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(b=>(b.toggleEl.setAttribute("aria-label","Include custom headers"),b.setValue(this.corsHeaders).onChange(w=>{this.corsHeaders=w})));let f=e.createDiv({cls:"tasknotes-webhook-modal-buttons"}),h=f.createEl("button",{text:"Cancel",cls:"tasknotes-webhook-modal-btn cancel",attr:{"aria-label":"Cancel webhook editing"}}),g=h.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,he.setIcon)(g,"x"),h.onclick=()=>this.close();let v=f.createEl("button",{text:"Save changes",cls:"tasknotes-webhook-modal-btn save mod-cta",attr:{"aria-label":"Save webhook changes"}}),k=v.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,he.setIcon)(k,"save"),v.onclick=()=>{if(this.selectedEvents.length===0){new he.Notice("Please select at least one event");return}Di(()=>this.onSubmit({events:this.selectedEvents,transformFile:this.transformFile.trim()||void 0,corsHeaders:this.corsHeaders})),this.close()}}onClose(){let{contentEl:e}=this;e.empty()}},Uie=class extends he.Modal{constructor(t,n){super(t);this.url="";this.selectedEvents=[];this.transformFile="";this.corsHeaders=!0;this.onSubmit=n}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-webhook-modal");let n=t.createDiv({cls:"tasknotes-webhook-modal-header"}),i=n.createSpan({cls:"tasknotes-webhook-modal-icon"});(0,he.setIcon)(i,"webhook"),n.createEl("h2",{text:"Add webhook",cls:"tasknotes-webhook-modal-title"});let a=t.createDiv({cls:"tasknotes-webhook-modal-section"});new he.Setting(a).setName("Webhook URL").setDesc("The endpoint where webhook payloads will be sent").addText(N=>(N.inputEl.setAttribute("aria-label","Webhook URL"),N.setPlaceholder("HTTPS://your-service.com/webhook").setValue(this.url).onChange(R=>{this.url=R})));let s=t.createDiv({cls:"tasknotes-webhook-modal-section"}),o=s.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),l=o.createSpan();(0,he.setIcon)(l,"zap"),o.createEl("h3",{text:"Events to subscribe to"});let c=s.createDiv({cls:"tasknotes-webhook-events-list"});EGe.forEach(N=>{new he.Setting(c).setName(N.label).setDesc(N.desc).addToggle(R=>(R.toggleEl.setAttribute("aria-label",`Subscribe to ${N.label} events`),R.setValue(this.selectedEvents.includes(N.id)).onChange(z=>{if(z)this.selectedEvents.push(N.id);else{let H=this.selectedEvents.indexOf(N.id);H>-1&&this.selectedEvents.splice(H,1)}})))});let d=t.createDiv({cls:"tasknotes-webhook-modal-section"}),u=d.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),p=u.createSpan();(0,he.setIcon)(p,"file-code"),u.createEl("h3",{text:"Transform configuration (optional)"}),new he.Setting(d).setName("Transform file").setDesc("Path to a .json template file in your vault that transforms webhook payloads").addText(N=>(N.inputEl.setAttribute("aria-label","Transform file path"),N.setPlaceholder("simple-template.json").setValue(this.transformFile).onChange(R=>{this.transformFile=R})));let m=d.createDiv({cls:"tasknotes-webhook-transform-help"}),f=m.createDiv({cls:"tasknotes-webhook-help-header"}),h=f.createSpan();(0,he.setIcon)(h,"info"),f.createSpan({text:"JSON transform templates customize webhook payloads:"});let g=m.createEl("ul",{cls:"tasknotes-webhook-help-list"}),v=g.createEl("li");v.createEl("strong",{text:".json files:"}),v.appendText(" Templates with "),v.createEl("code",{text:"${data.task.title}"});let k=g.createEl("li");k.createEl("strong",{text:"Leave empty:"}),k.appendText(" Send raw data");let b=m.createDiv({cls:"tasknotes-webhook-help-example"});b.createEl("strong",{text:"Example:"}),b.appendText(" "),b.createEl("code",{text:"simple-template.json"});let w=t.createDiv({cls:"tasknotes-webhook-modal-section"}),S=w.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),x=S.createSpan();(0,he.setIcon)(x,"settings"),S.createEl("h3",{text:"Headers configuration"}),new he.Setting(w).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(N=>(N.toggleEl.setAttribute("aria-label","Include custom headers"),N.setValue(this.corsHeaders).onChange(R=>{this.corsHeaders=R})));let C=t.createDiv({cls:"tasknotes-webhook-modal-buttons"}),D=C.createEl("button",{text:"Cancel",cls:"tasknotes-webhook-modal-btn cancel",attr:{"aria-label":"Cancel webhook creation"}}),_=D.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,he.setIcon)(_,"x"),D.onclick=()=>this.close();let O=C.createEl("button",{text:"Add webhook",cls:"tasknotes-webhook-modal-btn save mod-cta",attr:{"aria-label":"Create webhook"}}),L=O.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,he.setIcon)(L,"plus"),O.onclick=()=>{if(!this.url.trim()){new he.Notice("Webhook URL is required");return}if(this.selectedEvents.length===0){new he.Notice("Please select at least one event");return}Di(()=>this.onSubmit({url:this.url.trim(),events:this.selectedEvents,transformFile:this.transformFile.trim()||void 0,corsHeaders:this.corsHeaders})),this.close()}}onClose(){let{contentEl:t}=this;t.empty()}};var sj=class extends By.PluginSettingTab{constructor(t,n){super(t,n);this.activeTab="general";this.tabContents={};this.debouncedSave=db(()=>this.plugin.saveSettings(),500);this.plugin=n,(0,By.requireApiVersion)("1.11.0")&&(this.icon="tasknotes-simple"),this.plugin.registerEvent(this.plugin.i18n.on("locale-changed",()=>{this.containerEl.isConnected&&this.display()}))}display(){let{containerEl:t}=this;t.empty(),t.addClass("tasknotes-settings"),t.addClass("tasknotes-plugin"),t.addClass("settings-view");let n=u=>this.plugin.i18n.translate(u),i=t.createDiv("settings-view__toolbar"),a=i.createDiv("settings-tab-nav settings-view__tab-nav"),s=[{id:"general",nameKey:"settings.tabs.general",renderFn:$y},{id:"task-properties",nameKey:"settings.tabs.taskProperties",renderFn:Oie},{id:"modal-fields",nameKey:"settings.tabs.modalFields",renderFn:zM},{id:"appearance",nameKey:"settings.tabs.appearance",renderFn:jy},{id:"features",nameKey:"settings.tabs.features",renderFn:Rs},{id:"integrations",nameKey:"settings.tabs.integrations",renderFn:Of}],o=By.Platform.isMobile?s.filter(u=>u.id!=="integrations"||this.hasNonAPIIntegrations()):s;By.Platform.isMobile&&this.activeTab==="integrations"&&!this.hasNonAPIIntegrations()&&(this.activeTab="general"),o.forEach(u=>{let p=this.activeTab===u.id,m=n(u.nameKey),f=a.createEl("button",{text:m,cls:p?"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":p.toString(),"aria-controls":`settings-tab-${u.id}`,id:`tab-button-${u.id}`,tabindex:p?"0":"-1"}});f.addEventListener("click",()=>{this.switchTab(u.id)}),f.addEventListener("keydown",h=>{if(h.key==="ArrowLeft"||h.key==="ArrowRight"){h.preventDefault();let g=o.findIndex(b=>b.id===u.id),v=h.key==="ArrowRight"?(g+1)%o.length:(g-1+o.length)%o.length,k=o[v].id;this.switchTab(k)}})}),i.createDiv("settings-header").createEl("a",{text:n("settings.header.documentation"),href:n("settings.header.documentationUrl"),cls:"settings-header-link"}).setAttr("target","_blank");let d=t.createDiv("settings-tab-contents settings-view__tab-contents");o.forEach(u=>{let p=d.createDiv("settings-tab-content settings-view__tab-content");p.setAttribute("role","tabpanel"),p.setAttribute("id",`settings-tab-${u.id}`),p.setAttribute("aria-labelledby",`tab-button-${u.id}`),this.activeTab===u.id&&(p.addClass("active"),p.addClass("settings-view__tab-content--active"),u.renderFn(p,this.plugin,this.debouncedSave)),this.tabContents[u.id]=p})}switchTab(t){this.activeTab=t,this.containerEl.querySelectorAll(".settings-tab-button").forEach(i=>{let a=i.id===`tab-button-${t}`;i.classList.toggle("active",a),i.classList.toggle("settings-view__tab-button--active",a),i.classList.toggle("is-active",a),i.setAttribute("aria-selected",a.toString()),i.setAttribute("tabindex",a?"0":"-1")}),this.containerEl.querySelectorAll(".settings-tab-content").forEach(i=>{let a=i.id===`settings-tab-${t}`;i.classList.toggle("active",a),i.classList.toggle("settings-view__tab-content--active",a)});let n=this.tabContents[t];if(n&&n.children.length===0){let i=this.getTabConfigurations().find(a=>a.id===t);i&&i.renderFn(n,this.plugin,this.debouncedSave)}window.setTimeout(()=>{let i=this.containerEl.querySelector(`#tab-button-${t}`);i&&i.focus()},50)}getTabConfigurations(){return[{id:"general",nameKey:"settings.tabs.general",renderFn:$y},{id:"task-properties",nameKey:"settings.tabs.taskProperties",renderFn:Oie},{id:"modal-fields",nameKey:"settings.tabs.modalFields",renderFn:zM},{id:"appearance",nameKey:"settings.tabs.appearance",renderFn:jy},{id:"features",nameKey:"settings.tabs.features",renderFn:Rs},{id:"integrations",nameKey:"settings.tabs.integrations",renderFn:Of}]}hasNonAPIIntegrations(){return!0}hide(){this.debouncedSave.flush()}};var Tw=require("obsidian");G();var BM=I({tag:"Utils/PerformanceMonitor"}),Lf=class Lf{constructor(){this.metrics=new Map;this.markers=new Map;this.enabled=!0;this.mutationObservers=new Set;this.performanceObservers=new Set}static getInstance(){return Lf.instance||(Lf.instance=new Lf),Lf.instance}startTimer(e){this.enabled&&this.markers.set(e,performance.now())}endTimer(e){if(!this.enabled)return 0;let t=this.markers.get(e);if(t===void 0)return e.includes("-measure-")||BM.warn(`No start marker found for operation: ${e}`,{category:"configuration",operation:"no-start-marker-found-operation"}),0;let n=performance.now()-t;return this.recordMetric(e,n),this.markers.delete(e),n}async measure(e,t){if(!this.enabled)return t();let n=performance.now();try{return await t()}finally{let i=performance.now()-n;this.recordMetric(e,i)}}measureSync(e,t){if(!this.enabled)return t();let n=performance.now();try{return t()}finally{let i=performance.now()-n;this.recordMetric(e,i)}}recordMetric(e,t){if(!this.enabled)return;this.metrics.has(e)||this.metrics.set(e,[]);let n=this.metrics.get(e);n.push(t),n.length>50&&n.splice(0,n.length-50)}getStats(e){let t=this.metrics.get(e);if(!t||t.length===0)return null;let n=[...t].sort((s,o)=>s-o),i=n.length,a=n.reduce((s,o)=>s+o,0);return{count:i,average:a/i,min:n[0],max:n[i-1],median:n[Math.floor(i/2)],p95:n[Math.floor(i*.95)]}}getAllStats(){let e={};for(let[t]of this.metrics)e[t]=this.getStats(t);return e}logSummary(){this.enabled&&this.getAllStats()}monitorDOMMutations(e){if(!this.enabled)return()=>{};let t=0,n=performance.now(),i=new MutationObserver(a=>{t+=a.length;let s=performance.now()-n;t>100&&s<1e3&&BM.warn(`High DOM mutation rate: ${t} mutations in ${s.toFixed(2)}ms`,{category:"configuration",operation:"high-dom-mutation-rate"})});return i.observe(e,{childList:!0,subtree:!0,attributes:!0}),this.mutationObservers.add(i),()=>{i.disconnect(),this.mutationObservers.delete(i),this.recordMetric("dom-mutations",t)}}recordMemoryUsage(e){if(!this.enabled||!("memory"in performance))return;let t=performance.memory;if(!t)return;let n={used:t.usedJSHeapSize/1024/1024,total:t.totalJSHeapSize/1024/1024,limit:t.jsHeapSizeLimit/1024/1024},i=e?`memory-${e}`:"memory-usage";this.recordMetric(i,n.used),n.used>100&&BM.warn(`High memory usage: ${n.used.toFixed(2)}MB`,{category:"configuration",operation:"high-memory-usage"})}trackLongTasks(){if(!this.enabled||!("PerformanceObserver"in window))return()=>{};let e=new PerformanceObserver(t=>{for(let n of t.getEntries())n.duration>50&&(BM.warn(`Long task detected: ${n.duration.toFixed(2)}ms`,{category:"persistence",operation:"long-task-detected"}),this.recordMetric("long-task",n.duration))});try{e.observe({entryTypes:["longtask"]}),this.performanceObservers.add(e)}catch(t){BM.warn("Long task monitoring not supported",{category:"persistence",operation:"long-task-monitoring-not-supported"})}return()=>{e.disconnect(),this.performanceObservers.delete(e)}}mark(e){if(this.enabled)try{performance.mark(`tasknotes-${e}`)}catch(t){}}measureBetweenMarks(e,t,n){if(this.enabled)try{performance.measure(`tasknotes-${n}`,`tasknotes-${e}`,`tasknotes-${t}`)}catch(i){}}clear(){this.metrics.clear(),this.markers.clear()}destroy(){for(let e of this.mutationObservers)e.disconnect();this.mutationObservers.clear();for(let e of this.performanceObservers)e.disconnect();this.performanceObservers.clear(),this.clear(),Lf.instance=null}setEnabled(e){this.enabled=e,e||this.clear()}exportData(){let e={timestamp:new Date().toISOString(),stats:this.getAllStats(),platform:{isDesktop:Tw.Platform.isDesktop,isMobile:Tw.Platform.isMobile,isWin:Tw.Platform.isWin,isMacOS:Tw.Platform.isMacOS,isLinux:Tw.Platform.isLinux},memoryInfo:"memory"in performance?performance.memory:null};return JSON.stringify(e,null,2)}};Lf.instance=null;var Hie=Lf;var UM=Hie.getInstance();var FGe=require("obsidian");function Ji(r){return JSON.stringify(r,null,2)}function xGe(r){return{title:r.title,path:r.path,status:r.status,priority:r.priority}}wc();Ne();Ct();Lx();function Vie(r){if(!r)return;let e=r.split(",").map(t=>t.trim()).filter(t=>t.length>0);return e.length>0?e:void 0}function WWt(r){if(!r)return;let e=Number(r);if(!Number.isFinite(e)||e<0)throw new Error("--estimate must be a non-negative number of minutes");return e}function CGe(r){return`rem_${Date.now()}_${r}_${Math.random().toString(36).slice(2,11)}`}function YWt(r){return/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(r)?`${r}:00`:r}function GWt(r,e){let t=r.trim();if(t.startsWith("at:")){let s=YWt(t.slice(3).trim());if(!s)throw new Error("Absolute reminders must use at:YYYY-MM-DDTHH:MM or full ISO datetime");return{id:CGe(e),type:"absolute",description:"Reminder",absoluteTime:s}}let n=t.indexOf(":");if(n===-1)throw new Error("Reminder shorthand must use due:<offset>, scheduled:<offset>, or at:<datetime>");let i=t.slice(0,n).trim(),a=t.slice(n+1).trim();if(i!=="due"&&i!=="scheduled"||!a)throw new Error("Relative reminders must use due:<offset> or scheduled:<offset> with ISO 8601 durations like -PT1H");return{id:CGe(e),type:"relative",description:"Reminder",relatedTo:i,offset:a}}function KWt(r){if(!r)return;let e=r.trim();if(!e)return;if(e.startsWith("[")){let n=JSON.parse(e);if(!Array.isArray(n))throw new Error("--reminders JSON must be an array");return n}let t=e.split(";").map(n=>n.trim()).filter(n=>n.length>0).map((n,i)=>GWt(n,i));return t.length>0?t:void 0}function ZWt(r){if(r){if(r!=="scheduled"&&r!=="completion")throw new Error("--recurrence-anchor must be either 'scheduled' or 'completion'");return r}}function DGe(r,e){var m,f;let t=(m=e.text)==null?void 0:m.trim(),n=(f=e.title)==null?void 0:f.trim(),i=e.literal==="true",a,s=!1;if(t&&!i){let h=Zn.fromPlugin(r).parseInput(t);a=Su(r,h,{creationContext:"api"}),s=!0}else{let h=Ye(),g=n||t;if(!g)throw new Error("Either --text or --title is required");a={title:g,status:r.settings.defaultTaskStatus,priority:r.settings.defaultTaskPriority,dateCreated:h,dateModified:h,creationContext:"api"}}if((!a.title||a.title.trim()===""||a.title==="Untitled Task")&&!n)throw new Error("Could not derive a task title from --text; pass --title to override");n&&(a.title=n),e.details&&(a.details=e.details),e.status&&(a.status=e.status),e.priority&&(a.priority=e.priority),e.due&&(a.due=e.due),e.scheduled&&(a.scheduled=e.scheduled);let o=Vie(e.tags);o&&(a.tags=o.map(h=>Ri(h)));let l=Vie(e.contexts);l&&(a.contexts=l);let c=Vie(e.projects);c&&(a.projects=c),e.recurrence&&(a.recurrence=e.recurrence);let d=ZWt(e["recurrence-anchor"]);d&&(a.recurrence_anchor=d);let u=WWt(e.estimate);u!==void 0&&(a.timeEstimate=u);let p=KWt(e.reminders);return p&&(a.reminders=p),{taskData:a,usedNlp:s}}var PGe={command:"capture",description:"Create a TaskNotes task from free text or explicit flags",flags:{text:{value:"<text>",description:"Task text to parse with NLP unless --literal is set"},title:{value:"<title>",description:"Explicit task title; overrides NLP-derived title"},details:{value:"<details>",description:"Task details/body; overrides NLP-derived details"},status:{value:"<status>",description:"Explicit task status"},priority:{value:"<priority>",description:"Explicit task priority"},due:{value:"<date>",description:"Due date or datetime (YYYY-MM-DD or YYYY-MM-DDTHH:MM)"},scheduled:{value:"<date>",description:"Scheduled date or datetime (YYYY-MM-DD or YYYY-MM-DDTHH:MM)"},tags:{value:"<tag1,tag2>",description:"Comma-separated tags; overrides NLP-derived tags"},contexts:{value:"<ctx1,ctx2>",description:"Comma-separated contexts; overrides NLP-derived contexts"},projects:{value:"<proj1,proj2>",description:"Comma-separated projects; overrides NLP-derived projects"},recurrence:{value:"<rrule>",description:"Explicit recurrence rule"},"recurrence-anchor":{value:"<scheduled|completion>",description:"How recurring tasks advance: from the scheduled date or completion date"},reminders:{value:"<spec>",description:"Reminder spec(s): due:-PT1H;scheduled:-PT30M;at:2026-04-02T09:00 or a JSON array"},estimate:{value:"<minutes>",description:"Time estimate in minutes"},literal:{description:"Treat --text as a literal title instead of parsing it with NLP"}},async handler(r,e){let{taskData:t,usedNlp:n}=DGe(r,e),i=await r.taskService.createTask(t);return Ji({...xGe(i.taskInfo),usedNlp:n})}};function qie(r){let e=r==null?void 0:r.trim();return e&&e.length>0?e:void 0}function MGe(r){return r.slice(0,5).map(e=>`${e.title} (${e.path})`).join(", ")}async function Ff(r,e){let t=qie(e.path),n=qie(e.title),i=qie(e.query);if(t){let s=await r.cacheManager.getTaskInfo(t);if(!s)throw new Error(`Task not found for path: ${t}`);return s}let a=await r.cacheManager.getAllTasks();if(n){let s=a.filter(o=>o.title===n);if(s.length===1)return s[0];throw s.length>1?new Error(`Multiple tasks matched title "${n}": ${MGe(s)}`):new Error(`Task not found for title: ${n}`)}if(i){let s=i.toLowerCase(),o=a.filter(l=>l.title.toLowerCase().includes(s)||l.path.toLowerCase().includes(s));if(o.length===1)return o[0];throw o.length>1?new Error(`Multiple tasks matched query "${i}": ${MGe(o)}`):new Error(`Task not found for query: ${i}`)}throw new Error("A task reference is required: pass path, title, or query")}function QWt(r){let e=(r==null?void 0:r.trim())||"status";switch(e){case"status":case"start":case"pause":case"resume":case"stop":case"short-break":case"long-break":return e;default:throw new Error("--action must be one of: status, start, pause, resume, stop, short-break, long-break")}}function JWt(r){if(!r)return;let e=Number(r);if(!Number.isFinite(e)||e<=0)throw new Error("--duration must be a positive number of minutes");return e}function XWt(r){return!!(r.path||r.title||r.query)}async function e4t(r,e,t){if(!XWt(e)){if(t)throw new Error("A task reference is required: pass path, title, or query");return}return Ff(r,{path:e.path,title:e.title,query:e.query})}async function Uy(r,e){var i,a,s;let t=e.currentSession,n=t!=null&&t.taskPath?await r.cacheManager.getTaskInfo(t.taskPath):null;return{isRunning:e.isRunning,timeRemaining:e.timeRemaining,nextSessionType:(i=e.nextSessionType)!=null?i:null,currentSession:t?{id:t.id,type:t.type,startTime:t.startTime,endTime:(a=t.endTime)!=null?a:null,plannedDuration:t.plannedDuration,completed:t.completed,interrupted:(s=t.interrupted)!=null?s:!1,task:n?{title:n.title,path:n.path}:t.taskPath?{title:null,path:t.taskPath}:null}:null}}var _Ge={command:"pomodoro",description:"Control TaskNotes Pomodoro sessions or inspect the current Pomodoro state",flags:{action:{value:"<status|start|pause|resume|stop|short-break|long-break>",description:"Pomodoro action to perform (default: status)"},path:{value:"<path>",description:"Exact task file path for action=start"},title:{value:"<title>",description:"Exact task title for action=start"},query:{value:"<text>",description:"Substring match against task title or path for action=start"},duration:{value:"<minutes>",description:"Optional work-session duration override for action=start"}},async handler(r,e){let t=QWt(e.action),n=JWt(e.duration);switch(t){case"status":return Ji(await Uy(r,r.pomodoroService.getState()));case"start":{let i=await e4t(r,e,!1);return await r.pomodoroService.startPomodoro(i,n),Ji(await Uy(r,r.pomodoroService.getState()))}case"pause":return await r.pomodoroService.pausePomodoro(),Ji(await Uy(r,r.pomodoroService.getState()));case"resume":return await r.pomodoroService.resumePomodoro(),Ji(await Uy(r,r.pomodoroService.getState()));case"stop":return await r.pomodoroService.stopPomodoro(),Ji(await Uy(r,r.pomodoroService.getState()));case"short-break":return await r.pomodoroService.startBreak(!1),Ji(await Uy(r,r.pomodoroService.getState()));case"long-break":return await r.pomodoroService.startBreak(!0),Ji(await Uy(r,r.pomodoroService.getState()))}}};function t4t(r){return AGe(r)}function AGe(r){var e,t;return(t=(e=r.timeEntries)==null?void 0:e.find(n=>!n.endTime))!=null?t:null}async function IGe(r,e,t){let n=await r.taskService.startTimeTracking(e),i=t==null?void 0:t.trim();if(i&&n.timeEntries&&n.timeEntries.length>0){let a=n.timeEntries[n.timeEntries.length-1];a&&!a.endTime&&(a.description=i,n=await r.taskService.updateTask(n,{timeEntries:n.timeEntries}))}return n}async function NGe(r,e){let t=await e();if(t)return t;let i=(await r.cacheManager.getAllTasks()).filter(a=>!!t4t(a));if(i.length===1)return i[0];throw i.length>1?new Error("Multiple tasks have active time tracking; pass path, title, or query"):new Error("No active time tracking session found")}function oj(r){var t,n;let e=AGe(r);return{title:r.title,path:r.path,status:r.status,priority:r.priority,activeTimeEntry:e?{startTime:e.startTime,description:e.description}:null,totalTimeEntries:(n=(t=r.timeEntries)==null?void 0:t.length)!=null?n:0}}var RGe={command:"start-time",description:"Start time tracking for a task",flags:{path:{value:"<path>",description:"Exact task file path"},title:{value:"<title>",description:"Exact task title"},query:{value:"<text>",description:"Substring match against task title or path"},description:{value:"<text>",description:"Optional description for the started time entry"}},async handler(r,e){let t=await Ff(r,{path:e.path,title:e.title,query:e.query}),n=await IGe(r,t,e.description);return Ji(oj(n))}};function r4t(r){return!!(r.path||r.title||r.query)}var OGe={command:"stop-time",description:"Stop time tracking for a task, or for the only active session if unambiguous",flags:{path:{value:"<path>",description:"Exact task file path"},title:{value:"<title>",description:"Exact task title"},query:{value:"<text>",description:"Substring match against task title or path"}},async handler(r,e){let t=await NGe(r,async()=>r4t(e)?Ff(r,{path:e.path,title:e.title,query:e.query}):null),n=await r.taskService.stopTimeTracking(t);return Ji(oj(n))}};cP();function n4t(r){return!!(r.path||r.title||r.query)}var LGe={command:"time-status",description:"Show active time-tracking sessions, or detailed status for a specific task",flags:{path:{value:"<path>",description:"Exact task file path"},title:{value:"<title>",description:"Exact task title"},query:{value:"<text>",description:"Substring match against task title or path"}},async handler(r,e){if(n4t(e)){let n=await Ff(r,{path:e.path,title:e.title,query:e.query});return Ji(Xm(n,i=>r.getActiveTimeSession(i)))}let t=await r.cacheManager.getAllTasks();return Ji(ik(t,n=>r.getActiveTimeSession(n)))}};var i4t=[_Ge,LGe,RGe,OGe,PGe];function $Ge(r){var e;if((0,FGe.requireApiVersion)("1.12.2")&&typeof r.registerCliHandler=="function")for(let t of i4t)r.registerCliHandler(`${r.manifest.id}:${t.command}`,t.description,(e=t.flags)!=null?e:null,n=>t.handler(r,n))}var $f=require("obsidian");G();var a4t=I({tag:"Commands/TaskNotesCommands"});function zGe(r){return[{id:"open-calendar-view",nameKey:"commands.openCalendarView",callback:async e=>{await e.activateCalendarView()}},{id:"open-advanced-calendar-view",nameKey:"commands.openAdvancedCalendarView",callback:async e=>{await e.openBasesFileForCommand("open-advanced-calendar-view")}},{id:"open-tasks-view",nameKey:"commands.openTasksView",callback:async e=>{await e.openBasesFileForCommand("open-tasks-view")}},{id:"open-agenda-view",nameKey:"commands.openAgendaView",callback:async e=>{await e.openBasesFileForCommand("open-agenda-view")}},{id:"open-pomodoro-view",nameKey:"commands.openPomodoroView",callback:async e=>{await e.activatePomodoroView()}},{id:"open-kanban-view",nameKey:"commands.openKanbanView",callback:async e=>{await e.openBasesFileForCommand("open-kanban-view")}},{id:"open-pomodoro-stats",nameKey:"commands.openPomodoroStats",callback:async e=>{await e.activatePomodoroStatsView()}},{id:"open-statistics",nameKey:"commands.openStatisticsView",callback:async e=>{await e.activateStatsView()}},{id:"create-new-task",nameKey:"commands.createNewTask",callback:e=>{e.openTaskCreationModal()}},{id:"convert-current-note-to-task",nameKey:"commands.convertCurrentNoteToTask.name",callback:async e=>{await e.convertCurrentNoteToTask()}},{id:"convert-to-tasknote",nameKey:"commands.convertToTaskNote",editorCallback:async(e,t)=>{await e.convertTaskToTaskNote(t)}},{id:"batch-convert-all-tasks",nameKey:"commands.convertAllTasksInNote",editorCallback:async(e,t)=>{await e.batchConvertAllTasks(t)}},{id:"insert-tasknote-link",nameKey:"commands.insertTaskNoteLink",editorCallback:(e,t)=>{e.insertTaskNoteLink(t)}},{id:"create-inline-task",nameKey:"commands.createInlineTask",editorCallback:async(e,t)=>{await e.createInlineTask(t)}},{id:"quick-actions-current-task",nameKey:"commands.quickActionsCurrentTask",callback:async e=>{await e.openQuickActionsForCurrentTask()}},{id:"quick-actions-task-under-cursor",nameKey:"commands.quickActionsTaskUnderCursor",editorCallback:async(e,t,n)=>{await e.openQuickActionsForTaskUnderCursor(t,n.file)}},{id:"edit-current-task",nameKey:"commands.editCurrentTask",callback:async e=>{await e.openTaskEditModalForCurrentTask()}},{id:"cycle-current-task-status",nameKey:"commands.cycleCurrentTaskStatus",callback:async e=>{await e.cycleCurrentTaskStatus()}},{id:"cycle-current-task-priority",nameKey:"commands.cycleCurrentTaskPriority",callback:async e=>{await e.cycleCurrentTaskPriority()}},{id:"add-project-to-current-task",nameKey:"commands.addProjectToCurrentTask",callback:async e=>{await e.addProjectToCurrentTask()}},{id:"add-subtask-to-current-note",nameKey:"commands.addSubtaskToCurrentNote",callback:async e=>{await e.addSubtaskToCurrentNote()}},{id:"go-to-today",nameKey:"commands.goToTodayNote",callback:async e=>{await e.navigateToCurrentDailyNote()}},{id:"start-pomodoro",nameKey:"commands.startPomodoro",callback:async e=>{let t=e.pomodoroService.getState();if(t.currentSession&&!t.isRunning){await e.pomodoroService.resumePomodoro();return}t.nextSessionType==="short-break"?await e.pomodoroService.startBreak(!1):t.nextSessionType==="long-break"?await e.pomodoroService.startBreak(!0):await e.pomodoroService.startPomodoroWithLastSelectedTask()}},{id:"stop-pomodoro",nameKey:"commands.stopPomodoro",callback:async e=>{await e.pomodoroService.stopPomodoro()}},{id:"pause-pomodoro",nameKey:"commands.pauseResumePomodoro",callback:async e=>{let t=e.pomodoroService.getState();t.isRunning?await e.pomodoroService.pausePomodoro():t.currentSession&&await e.pomodoroService.resumePomodoro()}},{id:"refresh-cache",nameKey:"commands.refreshCache",callback:async e=>{await e.refreshCache()}},{id:"export-all-tasks-ics",nameKey:"commands.exportAllTasksIcs",callback:async e=>{var t,n,i,a,s;try{let o=await e.cacheManager.getAllTasks(),{downloadAllTasksICSFile:l}=await Promise.resolve().then(()=>(bV(),dTe));l(o,e.i18n.translate.bind(e.i18n),{useDurationForExport:(t=e.settings.icsIntegration.useDurationForExport)!=null?t:!1,excludeArchived:(n=e.settings.icsIntegration.excludeArchivedFromExport)!=null?n:!1,excludeCompleted:(i=e.settings.icsIntegration.excludeCompletedFromExport)!=null?i:!1,completedStatuses:e.statusManager.getCompletedStatuses(),requireDueDate:(a=e.settings.icsIntegration.requireDueDateForExport)!=null?a:!1,requireScheduledDate:(s=e.settings.icsIntegration.requireScheduledDateForExport)!=null?s:!1,includeObsidianLink:!0,vaultName:e.app.vault.getName()})}catch(o){a4t.error("Error exporting all tasks as ICS:",{category:"provider",operation:"exporting-all-tasks-as-ics",error:o}),new $f.Notice(e.i18n.translate("notices.exportTasksFailed"))}}},{id:"sync-all-tasks-google-calendar",nameKey:"commands.syncAllTasksGoogleCalendar",callback:async e=>{var t;if(!((t=e.taskCalendarSyncService)!=null&&t.isEnabled())){new $f.Notice(e.i18n.translate("settings.integrations.googleCalendarExport.notices.notEnabled"));return}await e.taskCalendarSyncService.syncAllTasks()}},{id:"sync-current-task-google-calendar",nameKey:"commands.syncCurrentTaskGoogleCalendar",callback:async e=>{var i;if(!((i=e.taskCalendarSyncService)!=null&&i.isEnabled())){new $f.Notice(e.i18n.translate("settings.integrations.googleCalendarExport.notices.notEnabled"));return}let t=e.app.workspace.getActiveFile();if(!t){new $f.Notice(e.i18n.translate("settings.integrations.googleCalendarExport.notices.noActiveFile"));return}let n=await e.cacheManager.getTaskInfo(t.path);if(!n){new $f.Notice(e.i18n.translate("settings.integrations.googleCalendarExport.notices.notATask"));return}if(!e.taskCalendarSyncService.shouldSyncTask(n)){new $f.Notice(e.i18n.translate("settings.integrations.googleCalendarExport.notices.noDateToSync"));return}await e.taskCalendarSyncService.syncTaskToCalendar(n),new $f.Notice(e.i18n.translate("settings.integrations.googleCalendarExport.notices.taskSynced"))}},{id:"view-release-notes",nameKey:"commands.viewReleaseNotes",callback:async e=>{await e.activateReleaseNotesView()}},{id:"start-time-tracking-with-selector",nameKey:"commands.startTimeTrackingWithSelector",callback:async e=>{await e.openTaskSelectorForTimeTracking()}},{id:"edit-time-entries",nameKey:"commands.editTimeEntries",callback:async e=>{await e.openTaskSelectorForTimeEntryEditor()}},{id:"create-or-open-task",nameKey:"commands.createOrOpenTask",callback:async e=>{await e.openTaskSelectorWithCreate()}},{id:"create-or-open-task-with-time-tracking",nameKey:"commands.createOrOpenTaskWithTracking",callback:async e=>{await e.openTaskSelectorWithCreateAndStartTracking()}},{id:"rollover-overdue-scheduled-tasks",nameKey:"commands.rolloverOverdueScheduledTasks",callback:async e=>{await e.rolloverOverdueScheduledTasks()}}]}var lj=class{constructor(e){this.plugin=e;this.definitions=[];this.registeredCommands=new Map}register(){this.definitions=zGe(this.plugin),this.registerCommands()}refreshTranslations(){var i,a;if(!this.definitions.length)return;let e=this.plugin.app.commands;if(!e)return;let t=e,n=t.removeCommand;if(typeof n=="function"){for(let s of this.registeredCommands.values())n.call(e,s);this.registerCommands();return}for(let s of this.definitions){let o=(i=this.registeredCommands.get(s.id))!=null?i:`${this.plugin.manifest.id}:${s.id}`,l=(a=t.commands)==null?void 0:a[o];l&&(l.name=this.plugin.i18n.translate(s.nameKey),typeof t.updateCommand=="function"&&t.updateCommand(o,l))}}registerCommands(){this.registeredCommands.clear();for(let e of this.definitions){let t={id:e.id,name:this.plugin.i18n.translate(e.nameKey)};e.callback&&(t.callback=()=>{var i;(i=e.callback)==null||i.call(e,this.plugin)}),e.editorCallback&&(t.editorCallback=(i,a)=>{var s;(s=e.editorCallback)==null||s.call(e,this.plugin,i,a)}),e.checkCallback&&(t.checkCallback=e.checkCallback),e.hotkeys&&(t.hotkeys=e.hotkeys);let n=this.plugin.addCommand(t);this.registeredCommands.set(e.id,n.id)}}};var Hy=require("obsidian");Ur();l3();Eu();var cj=class{constructor(e){this.plugin=e}getLeafOfType(e){let t=this.plugin.app.workspace.getLeavesOfType(e);return t.length>0?t[0]:null}async revealLeafReady(e){let{workspace:t}=this.plugin.app;t.setActiveLeaf(e,{focus:!0}),await t.revealLeaf(e),e.isDeferred&&await e.loadIfDeferred()}async activateView(e){let{workspace:t}=this.plugin.app,n=this.getLeafOfType(e);return n||(n=t.getLeaf("tab"),await n.setViewState({type:e,active:!0})),await this.revealLeafReady(n),n}async activateCalendarView(){await this.openBasesFileForCommand("open-calendar-view")}async activateAgendaView(){return this.activateView(Nde)}async activatePomodoroView(){if(Hy.Platform.isMobile&&this.plugin.settings.pomodoroMobileSidebar!=="tab"){let{workspace:e}=this.plugin.app,t=this.getLeafOfType(Bd);if(!t){let n=this.plugin.settings.pomodoroMobileSidebar==="left"?e.getLeftLeaf(!1):e.getRightLeaf(!1);if(n)t=n,await t.setViewState({type:Bd,active:!0});else return this.activateView(Bd)}return await this.revealLeafReady(t),t}return this.activateView(Bd)}async activatePomodoroStatsView(){return this.activateView(av)}async activateStatsView(){return this.activateView(sv)}async activateReleaseNotesView(){return this.activateView(yD)}getLeafFilePath(e){var n,i,a,s;let t=((i=(n=e.view)==null?void 0:n.file)==null?void 0:i.path)||((s=(a=e.view)==null?void 0:a.getState)==null?void 0:s.call(a).file);return t?(0,Hy.normalizePath)(t):null}findLeafForFile(e){var i;let t=this.plugin.app.workspace,n=null;return(i=t.iterateAllLeaves)==null||i.call(t,a=>{!n&&this.getLeafFilePath(a)===e&&(n=a)}),n}async openBasesFileForCommand(e){let t=this.plugin.settings.commandFileMapping[e];if(!t){Qe(`No file configured for command: ${e}`);return}let n=(0,Hy.normalizePath)(t);if(!await this.plugin.app.vault.adapter.exists(n)){Qe(`File not found: ${n}
Please configure a valid file in Settings \u2192 TaskNotes \u2192 View Commands, or use the "Create Default Files" button.`,1e4);return}let a=this.plugin.app.vault.getAbstractFileByPath(n);if(!a){Qe(`File not found in vault: ${n}
The file exists but Obsidian cannot find it. Try reloading the vault.`);return}if(!(a instanceof Hy.TFile)){Qe(`Path is not a file: ${n}`);return}let s=this.findLeafForFile(n);if(s){await this.revealLeafReady(s);return}await this.plugin.app.workspace.getLeaf("tab").openFile(a)}};var VGe=require("obsidian");Ur();var Ep=require("obsidian");Xj();var dj=class extends Ep.Modal{constructor(t,n,i,a){super(t);this.keyboardHandler=null;this.totalEl=null;this.descriptionEditors=[];this.plugin=n,this.task=i,this.timeEntries=JSON.parse(JSON.stringify(i.timeEntries||[])),this.onSave=a,this.translate=n.i18n.translate.bind(n.i18n)}onOpen(){let{contentEl:t}=this;this.cleanupDescriptionEditors(),t.empty(),t.addClass("time-entry-editor-modal"),this.titleEl.setText(this.translate("modals.timeEntryEditor.title",{taskTitle:this.task.title})),this.keyboardHandler&&this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=c=>{c.key==="Enter"&&(c.ctrlKey||c.metaKey)&&(c.preventDefault(),this.save())},this.containerEl.addEventListener("keydown",this.keyboardHandler),this.entriesContainerEl=t.createDiv({cls:"time-entry-editor-modal__entries"}),this.renderEntries(),t.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 a=t.createDiv({cls:"time-entry-editor-modal__footer"});this.totalEl=a.createDiv({cls:"time-entry-editor-modal__total"}),this.updateTotalDisplay();let s=a.createDiv({cls:"time-entry-editor-modal__buttons"});s.createEl("button",{text:this.translate("common.cancel")}).addEventListener("click",()=>this.close()),s.createEl("button",{text:this.translate("common.save"),cls:"mod-cta"}).addEventListener("click",()=>this.save())}renderEntries(){if(this.cleanupDescriptionEditors(),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((n,i)=>new Date(i.startTime).getTime()-new Date(n.startTime).getTime()).forEach(n=>{let i=this.timeEntries.indexOf(n);this.renderEntry(n,i)})}renderEntry(t,n){let i=this.entriesContainerEl.createDiv({cls:"time-entry-editor-modal__entry"}),a=i.createDiv({cls:"time-entry-editor-modal__entry-header"}),s=new Date(t.startTime).toLocaleDateString();a.createSpan({cls:"time-entry-editor-modal__entry-date",text:s});let o=a.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(n));let l=i.createDiv({cls:"time-entry-editor-modal__time-container"}),d=new Ep.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(t.startTime)),d.addEventListener("change",()=>{let g=new Date(d.value);isNaN(g.getTime())||(t.startTime=g.toISOString(),this.updateTotalDisplay())});let p=new Ep.Setting(l).setName(this.translate("modals.timeEntryEditor.endTime")).controlEl.createEl("input",{type:"datetime-local",cls:"time-entry-editor-modal__datetime-input"});t.endTime&&(p.value=this.formatDateTimeForInput(new Date(t.endTime))),p.addEventListener("change",()=>{if(p.value){let g=new Date(p.value);isNaN(g.getTime())||(t.endTime=g.toISOString(),this.updateTotalDisplay())}else t.endTime=void 0,this.updateTotalDisplay()});let m=new Ep.Setting(l).setName(this.translate("modals.timeEntryEditor.description"));m.settingEl.addClass("time-entry-editor-modal__description-setting");let f=m.controlEl.createDiv({cls:"time-entry-editor-modal__description-editor-container"}),h=c_(this.app,f,{value:t.description||"",placeholder:this.translate("modals.timeEntryEditor.descriptionPlaceholder"),cls:"time-entry-editor-modal__description-editor",onChange:g=>{t.description=g||void 0},onSubmit:()=>this.save(),onEscape:()=>this.close(),onTab:()=>!1});h&&this.descriptionEditors.push(h)}cleanupDescriptionEditors(){this.descriptionEditors.forEach(t=>t.destroy()),this.descriptionEditors=[]}updateTotalDisplay(){if(!this.totalEl)return;let t=this.calculateTotalMinutes(),n=Math.floor(t/60),i=t%60,a=n>0?this.translate("modals.timeEntryEditor.totalTime",{hours:n.toString(),minutes:i.toString()}):this.translate("modals.timeEntryEditor.totalMinutes",{minutes:t.toString()});this.totalEl.setText(a)}calculateDuration(t){if(!t.endTime){let a=new Date,s=new Date(t.startTime);return Math.round((a.getTime()-s.getTime())/6e4)}let n=new Date(t.startTime),i=new Date(t.endTime);return Math.round((i.getTime()-n.getTime())/6e4)}calculateTotalMinutes(){return this.timeEntries.reduce((t,n)=>{let i=this.calculateDuration(n);return t+i},0)}addNewEntry(){let t=new Date,i={startTime:new Date(t.getTime()-3600*1e3).toISOString(),endTime:t.toISOString(),description:""};this.timeEntries.push(i),this.renderEntries(),this.updateTotalDisplay()}deleteEntry(t){this.timeEntries.splice(t,1),this.renderEntries(),this.updateTotalDisplay()}formatDateTimeForInput(t){let n=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),s=String(t.getHours()).padStart(2,"0"),o=String(t.getMinutes()).padStart(2,"0");return`${n}-${i}-${a}T${s}:${o}`}save(){for(let n of this.timeEntries){if(!n.startTime){new Ep.Notice(this.translate("modals.timeEntryEditor.validation.missingStartTime"));return}if(n.endTime){let i=new Date(n.startTime);if(new Date(n.endTime)<=i){new Ep.Notice(this.translate("modals.timeEntryEditor.validation.endBeforeStart"));return}}}let t=this.timeEntries.map(n=>{let i={...n};return delete i.duration,i});this.onSave(t),this.close()}onClose(){this.cleanupDescriptionEditors(),this.totalEl=null,this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:t}=this;t.empty()}};Cl();No();var Wie=/^(\d{4})-(\d{2})-(\d{2})$/,s4t=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d{1,3})?(?:Z|([+-])(\d{2}):(\d{2}))?$/;function Yie(r){let e=l4t(r),t=e.match(Wie);if(t){let[,i,a,s]=t,o=Number(i),l=Number(a),c=Number(s);if(!BGe(o,l,c))throw new Error(`Invalid date "${r}".`);return new Date(Date.UTC(o,l-1,c,0,0,0,0))}if(!c4t(e))throw new Error(`Invalid date "${r}".`);let n=new Date(e);if(!UGe(n))throw new Error(`Invalid date "${r}".`);return n}function o4t(r){if(!UGe(r))return"";let e=r.getUTCFullYear(),t=String(r.getUTCMonth()+1).padStart(2,"0"),n=String(r.getUTCDate()).padStart(2,"0");return`${e}-${t}-${n}`}function HM(){let r=new Date,e=r.getFullYear(),t=String(r.getMonth()+1).padStart(2,"0"),n=String(r.getDate()).padStart(2,"0");return`${e}-${t}-${n}`}function uj(r){if(!r)return"";let e=r.trim();if(Wie.test(e))return e;let t=e.indexOf("T");if(t>-1)return e.slice(0,t);let n=e.indexOf(" ");return n>-1&&Wie.test(e.slice(0,n))?e.slice(0,n):o4t(Yie(e))}function jGe(r,e){try{return Yie(uj(r)).getTime()<Yie(uj(e)).getTime()}catch(t){return!1}}function l4t(r,e="Date string cannot be empty"){if(!r||r.trim().length===0)throw new Error(e);return r.trim()}function c4t(r){let e=r.match(s4t);if(!e)return!1;let[,t,n,i,a,s,o,,l,c,d]=e;return BGe(Number(t),Number(n),Number(i))&&d4t(Number(a),Number(s),Number(o))&&u4t(l,c,d)}function BGe(r,e,t){let n=new Date(Date.UTC(r,e-1,t,0,0,0,0));return n.getUTCFullYear()===r&&n.getUTCMonth()===e-1&&n.getUTCDate()===t}function d4t(r,e,t){return r>=0&&r<=23&&e>=0&&e<=59&&t>=0&&t<=59}function u4t(r,e,t){if(!r)return!0;let n=Number(e),i=Number(t);return!(n>14||i>59||n===14&&i!==0)}function UGe(r){return r instanceof Date&&!Number.isNaN(r.getTime())}Ct();function p4t(r,e=HM()){let t=r.indexOf("T");return t===-1?e:`${e}${r.slice(t)}`}function HGe(r,e,t=HM()){let n=[];for(let i of r){if(!i.scheduled||i.archived||e(i.status))continue;let a=uj(i.scheduled);!a||!jGe(a,t)||n.push({task:i,nextScheduled:p4t(i.scheduled,t)})}return n}G();Eu();var zf=I({tag:"Services/TaskActionCoordinator"}),pj=class{constructor(e){this.plugin=e}async openTaskFile(e){let t=this.plugin.app.vault.getAbstractFileByPath(e.path);t instanceof VGe.TFile&&await this.plugin.app.workspace.getLeaf(!1).openFile(t)}async openTaskSelectorWithCreate(){let{openTaskSelectorWithCreate:e}=await Promise.resolve().then(()=>(No(),sV)),t=await e(this.plugin);(t.type==="selected"||t.type==="created")&&await this.openTaskFile(t.task)}async openTaskSelectorWithCreateAndStartTracking(){let{openTaskSelectorWithCreate:e}=await Promise.resolve().then(()=>(No(),sV)),t=new Date,n=await e(this.plugin,{targetDate:t});if(n.type==="selected"||n.type==="created"){let i=n.task;try{i=await this.startTimeTracking(n.task)}catch(a){}finally{await this.openTaskFile(i)}}}async startTimeTracking(e,t){try{let n=await this.plugin.taskService.startTimeTracking(e),i=t==null?void 0:t.trim();if(i&&n.timeEntries&&n.timeEntries.length>0){let a=n.timeEntries[n.timeEntries.length-1];a&&!a.endTime&&(a.description=i,n=await this.plugin.taskService.updateTask(n,{timeEntries:n.timeEntries}))}return Qe("Time tracking started"),this.requestStatusBarUpdate(),n}catch(n){throw zf.error("Failed to start time tracking:",{category:"persistence",operation:"start-time-tracking",error:n}),n instanceof Error&&n.message==="Time tracking is already active for this task"?Qe("Time tracking is already active for this task"):Qe("Failed to start time tracking"),n}}async stopTimeTracking(e){try{let t=await this.plugin.taskService.stopTimeTracking(e);return Qe("Time tracking stopped"),this.requestStatusBarUpdate(),t}catch(t){throw zf.error("Failed to stop time tracking:",{category:"persistence",operation:"stop-time-tracking",error:t}),t instanceof Error&&t.message==="No active time tracking session for this task"?Qe("No active time tracking session for this task"):Qe("Failed to stop time tracking"),t}}async openTaskSelectorForTimeTracking(){try{let e=new Date,n=(await this.plugin.cacheManager.getAllTasks()).filter(i=>!i.archived).filter(i=>!j_(i.timeEntries||[]));if(n.length===0){Qe(this.plugin.i18n.translate("modals.timeTracking.noTasksAvailable"));return}Pn(this.plugin,n,i=>{(async()=>{if(i)try{await this.startTimeTracking(i),Qe(this.plugin.i18n.translate("modals.timeTracking.started",{taskTitle:i.title}))}catch(a){zf.error("Error starting time tracking:",{category:"persistence",operation:"starting-time-tracking",error:a}),Qe(this.plugin.i18n.translate("modals.timeTracking.startFailed"))}})()},{targetDate:e})}catch(e){zf.error("Error opening task selector for time tracking:",{category:"persistence",operation:"opening-task-selector-time-tracking",error:e}),Qe(this.plugin.i18n.translate("modals.timeTracking.startFailed"))}}async openTaskSelectorForTimeEntryEditor(){try{let t=(await this.plugin.cacheManager.getAllTasks()).filter(n=>!n.archived).filter(n=>n.timeEntries&&n.timeEntries.length>0);if(t.length===0){Qe(this.plugin.i18n.translate("modals.timeEntryEditor.noTasksWithEntries"));return}Pn(this.plugin,t,n=>{n&&this.openTimeEntryEditor(n)})}catch(e){zf.error("Error opening task selector for time entry editor:",{category:"persistence",operation:"opening-task-selector-time-entry-editor",error:e}),Qe(this.plugin.i18n.translate("modals.timeEntryEditor.openFailed"))}}async rolloverOverdueScheduledTasks(){try{let e=HM(),t=await this.plugin.cacheManager.getAllTasks(),n=HGe(t,l=>this.plugin.statusManager.isCompletedStatus(l),e);if(n.length===0){Qe("No overdue scheduled tasks to postpone");return}let i=n.length===1?"task":"tasks";if(!await bn(this.plugin.app,{title:"Postpone overdue scheduled tasks",message:`Move ${n.length} active overdue scheduled ${i} to today (${e})?`,confirmText:"Postpone",cancelText:this.plugin.i18n.translate("common.cancel")}))return;Qe(`Postponing ${n.length} ${i}...`);let s=0,o=0;for(let l of n)try{await this.plugin.taskService.updateProperty(l.task,"scheduled",l.nextScheduled),s++}catch(c){zf.error(`[TaskActionCoordinator] Failed to postpone scheduled task ${l.task.path}:`,{category:"persistence",operation:"postpone-scheduled-task",error:c}),o++}o===0?Qe(`Postponed ${s} ${s===1?"task":"tasks"}`):Qe(`Postponed ${s} tasks, ${o} failed`),this.plugin.emitter.trigger(ea)}catch(e){zf.error("Failed to postpone overdue scheduled tasks:",{category:"persistence",operation:"postpone-overdue-scheduled-tasks",error:e}),Qe("Failed to postpone overdue scheduled tasks")}}openTimeEntryEditor(e,t){new dj(this.plugin.app,this.plugin,e,i=>{(async()=>{try{let a=i.map(s=>{let o={...s};return delete o.duration,o});await this.plugin.taskService.updateTask(e,{timeEntries:a}),t==null||t(),this.plugin.emitter.trigger(ea),Qe(this.plugin.i18n.translate("modals.timeEntryEditor.saved"))}catch(a){zf.error("Error saving time entries:",{category:"persistence",operation:"saving-time-entries",error:a}),Qe(this.plugin.i18n.translate("modals.timeEntryEditor.saveFailed"))}})()}).open()}requestStatusBarUpdate(){this.plugin.statusBarService&&window.setTimeout(()=>{this.plugin.statusBarService.requestUpdate()},50)}};Ur();G();ls();var qGe=I({tag:"Services/SettingsLifecycleService"}),mj=class{constructor(e){this.plugin=e;this.previousCacheSettings=null;this.previousTimeTrackingSettings=null;this.autoStopTimeTrackingListener=null;this.saveSettingsPromise=null;this.saveSettingsRequested=!1}captureCurrentSettings(){this.updatePreviousCacheSettings(),this.updatePreviousTimeTrackingSettings()}setupTimeTrackingEventListeners(){this.autoStopTimeTrackingListener&&(this.plugin.emitter.offref(this.autoStopTimeTrackingListener),this.autoStopTimeTrackingListener=null),this.plugin.settings.autoStopTimeTrackingOnComplete&&(this.autoStopTimeTrackingListener=this.plugin.emitter.on(nt,async e=>{await this.handleAutoStopTimeTracking(e)})),this.updatePreviousTimeTrackingSettings()}async saveSettings(){this.saveSettingsRequested=!0,this.saveSettingsPromise||(this.saveSettingsPromise=this.drainSettingsSaves()),await this.saveSettingsPromise}async drainSettingsSaves(){try{for(;this.saveSettingsRequested;)this.saveSettingsRequested=!1,await this.plugin.saveSettingsDataOnly(),!this.saveSettingsRequested&&this.applySettingsSideEffects()}finally{this.saveSettingsPromise=null,this.saveSettingsRequested&&await this.saveSettings()}}applySettingsSideEffects(){var n,i,a,s,o,l,c,d,u,p,m,f;(i=(n=this.plugin.apiService)==null?void 0:n.syncWebhookSettings)==null||i.call(n);let e=this.haveCacheSettingsChanged(),t=this.haveTimeTrackingSettingsChanged();(a=this.plugin.fieldMapper)==null||a.updateMapping(this.plugin.settings.fieldMapping),(o=this.plugin.fieldMapper)==null||o.updateUserFields((s=this.plugin.settings.userFields)!=null?s:[]),(l=this.plugin.fieldMapper)==null||l.updateConfiguredValues(this.plugin.settings.customStatuses,this.plugin.settings.customPriorities),(c=this.plugin.statusManager)==null||c.updateStatuses(this.plugin.settings.customStatuses),(d=this.plugin.priorityManager)==null||d.updatePriorities(this.plugin.settings.customPriorities),e&&(qGe.debug("Cache-related settings changed, updating cache configuration",{category:"configuration",operation:"cache-related-settings-changed-updating-cache-configuration"}),this.plugin.cacheManager.updateConfig(this.plugin.settings),(u=this.plugin.dependencyCache)==null||u.updateConfig(this.plugin.settings),this.updatePreviousCacheSettings()),this.plugin.injectCustomStyles(),t&&this.setupTimeTrackingEventListeners(),(p=this.plugin.statusBarService)==null||p.updateVisibility(),(m=this.plugin.mdbaseSpecService)==null||m.onSettingsChanged(),(f=this.plugin.filterService)==null||f.refreshFilterOptions(),this.plugin.notifyDataChanged(),this.plugin.emitter.trigger("settings-changed",this.plugin.settings)}async onExternalSettingsChange(){var e,t,n,i,a,s,o,l,c,d,u;await this.plugin.loadSettings(),(t=(e=this.plugin.apiService)==null?void 0:e.syncWebhookSettings)==null||t.call(e),(n=this.plugin.fieldMapper)==null||n.updateMapping(this.plugin.settings.fieldMapping),(a=this.plugin.fieldMapper)==null||a.updateUserFields((i=this.plugin.settings.userFields)!=null?i:[]),(s=this.plugin.fieldMapper)==null||s.updateConfiguredValues(this.plugin.settings.customStatuses,this.plugin.settings.customPriorities),(o=this.plugin.statusManager)==null||o.updateStatuses(this.plugin.settings.customStatuses),(l=this.plugin.priorityManager)==null||l.updatePriorities(this.plugin.settings.customPriorities),this.plugin.cacheManager.updateConfig(this.plugin.settings),(c=this.plugin.dependencyCache)==null||c.updateConfig(this.plugin.settings),this.updatePreviousCacheSettings(),this.setupTimeTrackingEventListeners(),this.plugin.injectCustomStyles(),(d=this.plugin.statusBarService)==null||d.updateVisibility(),(u=this.plugin.filterService)==null||u.refreshFilterOptions(),this.plugin.notifyDataChanged(),this.plugin.emitter.trigger("settings-changed",this.plugin.settings)}destroy(){this.autoStopTimeTrackingListener&&(this.plugin.emitter.offref(this.autoStopTimeTrackingListener),this.autoStopTimeTrackingListener=null)}async handleAutoStopTimeTracking(e){let{originalTask:t,updatedTask:n}=e;if(!t||!n)return;let i=!1,a=this.plugin.statusManager.isCompletedStatus(t.status),s=this.plugin.statusManager.isCompletedStatus(n.status);if(!a&&s&&(i=!0),n.recurrence){let l=t.complete_instances||[];(n.complete_instances||[]).length>l.length&&(i=!0)}if(!(!i||!this.plugin.getActiveTimeSession(n)))try{await this.plugin.stopTimeTracking(n),this.plugin.settings.autoStopTimeTrackingNotification&&Ee(this.plugin.emitter,`Auto-stopped time tracking for: ${n.title}`)}catch(l){qGe.error("Error auto-stopping time tracking:",{category:"configuration",operation:"auto-stopping-time-tracking",error:l})}}haveCacheSettingsChanged(){if(!this.previousCacheSettings)return!0;let e={taskTag:this.plugin.settings.taskTag,excludedFolders:this.plugin.settings.excludedFolders,disableNoteIndexing:this.plugin.settings.disableNoteIndexing,storeTitleInFilename:this.plugin.settings.storeTitleInFilename,fieldMapping:this.plugin.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)}haveTimeTrackingSettingsChanged(){return this.previousTimeTrackingSettings?this.plugin.settings.autoStopTimeTrackingOnComplete!==this.previousTimeTrackingSettings.autoStopTimeTrackingOnComplete:!0}updatePreviousCacheSettings(){this.previousCacheSettings={taskTag:this.plugin.settings.taskTag,excludedFolders:this.plugin.settings.excludedFolders,disableNoteIndexing:this.plugin.settings.disableNoteIndexing,storeTitleInFilename:this.plugin.settings.storeTitleInFilename,fieldMapping:JSON.parse(JSON.stringify(this.plugin.settings.fieldMapping))}}updatePreviousTimeTrackingSettings(){this.previousTimeTrackingSettings={autoStopTimeTrackingOnComplete:this.plugin.settings.autoStopTimeTrackingOnComplete}}};nQ();Kz();G();var m4t=I({tag:"Bootstrap/PluginRuntime"});async function WGe(r){Tie(),await kie(r),r.workspaceNavigationService=new cj(r),r.taskActionCoordinator=new pj(r),r.settingsLifecycleService=new mj(r),r.commandRegistry=new lj(r),r.settingsLifecycleService.captureCurrentSettings(),wie(r),r.commandRegistry.register(),$Ge(r),r.addSettingTab(new sj(r.app,r))}async function YGe(r){var t,n,i,a,s,o,l,c,d,u,p,m,f,h,g,v,k,b,w,S,x,C,D,_,O,L,N;if((t=r.settings)!=null&&t.enableBases)try{rQ(r),r.basesRegistered=!1}catch(R){m4t.debug("[TaskNotes][Bases] Unregistration failed:",{category:"internal",operation:"unregistration",error:R})}let e=UM.getStats("cache-initialization");e&&e.count>0&&UM.logSummary(),(n=r.pomodoroService)==null||n.cleanup(),(i=r.filterService)==null||i.cleanup(),(a=r.viewPerformanceService)==null||a.destroy(),r.taskCardReadingModeCleanup&&(r.taskCardReadingModeCleanup(),r.taskCardReadingModeCleanup=null),r.relationshipsReadingModeCleanup&&(r.relationshipsReadingModeCleanup(),r.relationshipsReadingModeCleanup=null),(s=r.autoArchiveService)==null||s.stop(),(o=r.icsSubscriptionService)==null||o.destroy(),(l=r.autoExportService)==null||l.destroy(),(c=r.taskLinkDetectionService)==null||c.cleanup(),(d=r.dragDropManager)==null||d.destroy(),(u=r.apiService)==null||u.stop(),(p=r.oauthService)==null||p.destroy(),(m=r.taskFileLifecycleReconciliationService)==null||m.destroy(),(f=r.taskCalendarSyncService)==null||f.destroy(),(h=r.googleCalendarService)==null||h.destroy(),(g=r.microsoftCalendarService)==null||g.destroy(),(v=r.calendarProviderRegistry)==null||v.destroyAll(),(k=r.viewStateManager)==null||k.cleanup(),(b=r.statusBarService)==null||b.destroy(),(w=r.notificationService)==null||w.destroy(),(S=r.projectSubtasksService)==null||S.destroy(),(x=r.cacheManager)==null||x.destroy(),(C=r.dependencyCache)==null||C.destroy(),(D=r.requestDeduplicator)==null||D.cancelAll(),(_=r.domReconciler)==null||_.destroy(),(O=r.uiStateManager)==null||O.destroy(),(L=r.settingsLifecycleService)==null||L.destroy(),(N=r.performanceProfiler)==null||N.destroy(),typeof UM!="undefined"&&UM.destroy(),r.taskUpdateListenerForEditor&&r.emitter.offref(r.taskUpdateListenerForEditor),r.initializationComplete=!1}var VM=require("obsidian");Rh();async function f4t(r,e){if(!e)return;let n=(0,VM.normalizePath)(e).split("/").filter(a=>a.length>0);if(n.length===0)return;let i="";for(let a of n)if(i=i?`${i}/${a}`:a,!await r.adapter.exists(i))try{await r.createFolder(i)}catch(s){if(!await r.adapter.exists(i))throw s}}async function GGe(r,e={}){var s,o,l;let t=[],n=[],i=[],a=e.overwriteExisting===!0;try{let c=r.app.vault,d=c.adapter,u={...li.commandFileMapping,...(s=r.settings.commandFileMapping)!=null?s:{}};r.settings.commandFileMapping=u;for(let[p,m]of Object.entries(u)){if(!m)continue;let f=(0,VM.normalizePath)(m),h=r.generateTemplate(p);if(!h){i.push(m);continue}if(await d.exists(f)){if(!a){i.push(m);continue}let k=c.getAbstractFileByPath(f);if(!(k instanceof VM.TFile)){(o=r.warn)==null||o.call(r,`[TaskNotes][Bases] Cannot update default Bases file because path is not a file: ${f}`),i.push(m);continue}await c.modify(k,h),n.push(m);continue}let g=f.lastIndexOf("/"),v=g>=0?f.substring(0,g):"";v&&await f4t(c,v),await c.create(f,h),t.push(m)}}catch(c){(l=r.warn)==null||l.call(r,"[TaskNotes][Bases] Failed to ensure Bases command files:",c)}return{created:t,updated:n,skipped:i}}Ne();gr();function KGe({path:r,basename:e,content:t,frontmatter:n={},settings:i,now:a=Ye()}){var s,o,l;return{path:r,title:Vy(n.title)||e,status:(s=Vy(n.status))!=null?s:i.defaultTaskStatus,priority:(o=Vy(n.priority))!=null?o:i.defaultTaskPriority,archived:!1,due:Vy(n.due),scheduled:Vy(n.scheduled),contexts:Gie(n.contexts),projects:Gie(n.projects),tags:(l=Gie(n.tags))!=null?l:[],timeEstimate:g4t(n.timeEstimate),recurrence:Vy(n.recurrence),dateCreated:Vy(n.dateCreated)||a,dateModified:a,details:h4t(t)}}function h4t(r){let e=r.match(/^---\n[\s\S]*?\n---\n*/);return e?r.slice(e[0].length).trim():r.trim()}function Vy(r){if(r!=null){if(typeof r=="string")return r;if(typeof r=="number"||typeof r=="boolean")return String(r)}}function Gie(r){if(r!=null)return H_(r)}function g4t(r){if(typeof r=="number")return r;if(typeof r=="string"&&r.trim()!==""){let e=Number(r);return Number.isNaN(e)?void 0:e}}function ZGe(r,e){let t=r?{...r}:{},n=Object.keys(t).length>0,i=Array.isArray(t.projects)?t.projects:[];return!e||i.length>0?n?t:void 0:(t.projects=[e],t)}function QGe(r,e){var n;let t=r;return typeof t.setQuery=="function"?(t.setQuery(e),!0):typeof((n=t.searchComponent)==null?void 0:n.setValue)=="function"?(t.searchComponent.setValue(e),!0):t.searchInputEl?(t.searchInputEl.value=e,typeof t.startSearch=="function"&&t.startSearch(),!0):!1}wI();var XGe=require("obsidian");Rh();Rh();function y4t(r,e){return r!==null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,e)}function Kie(r,e){return Object.keys(r).some(t=>!y4t(e,t))}function JGe(r){return r?Kie(li.fieldMapping,r.fieldMapping)||Kie(li.calendarViewSettings,r.calendarViewSettings)||Kie(li.commandFileMapping,r.commandFileMapping):!1}$w();G();var v4t=I({tag:"Settings/SettingsPersistence"});function b4t(r){return new Promise(e=>window.setTimeout(e,r))}function T4t(r){var t;let e=(t=r.manifest.dir)!=null?t:r.app.vault.configDir&&r.manifest.id?`${r.app.vault.configDir}/plugins/${r.manifest.id}`:void 0;return e?(0,XGe.normalizePath)(`${e}/data.json`):null}async function Zie(r){let e=T4t(r);if(!e)return!1;try{return await r.app.vault.adapter.exists(e)}catch(t){return v4t.warn("[TaskNotes] Could not check settings data file existence:",{category:"configuration",operation:"check-settings-data-file-existence",error:t}),!1}}async function e5e(r,e={}){var a,s;let t=(a=e.retryCount)!=null?a:3,n=(s=e.retryDelayMs)!=null?s:50,i=await r.loadData();if(i!==null)return{data:i,compromised:!1};if(!await Zie(r))return{data:null,compromised:!1};for(let o=0;o<t;o++){await b4t(n);let l=await r.loadData();if(l!==null)return{data:l,compromised:!1}}return{data:null,compromised:!0}}function k4t(r){if(!r)return null;let e={...r};if(delete e.useNativeMetadataCache,typeof e.enableAPI=="undefined"&&(e.enableAPI=!1),typeof e.apiPort=="undefined"&&(e.apiPort=8080),typeof e.apiAuthToken=="undefined"&&(e.apiAuthToken=""),typeof e.enableMCP=="undefined"&&(e.enableMCP=!1),!e.nlpTriggers&&e.statusSuggestionTrigger!==void 0){e.nlpTriggers={triggers:[...yH.triggers]};let t=e.nlpTriggers.triggers.findIndex(n=>n.propertyId==="status");t!==-1&&e.statusSuggestionTrigger&&(e.nlpTriggers.triggers[t].trigger=e.statusSuggestionTrigger)}return e.modalFieldsConfig||(e.modalFieldsConfig=uc(void 0,e.userFields)),e.enableBases===!1&&(e.enableBases=!0),e.taskFilenameFormat!=="custom"&&e.customFilenameTemplate==="{title}"&&(e.customFilenameTemplate="{{title}}"),e}function t5e(r){var i;let e=k4t(r),t=(r==null?void 0:r.taskFilenameFormat)!=="custom"&&(r==null?void 0:r.customFilenameTemplate)==="{title}"&&(e==null?void 0:e.customFilenameTemplate)==="{{title}}";return{settings:{...li,...e,fieldMapping:{...li.fieldMapping,...(e==null?void 0:e.fieldMapping)||{}},taskCreationDefaults:{...li.taskCreationDefaults,...(e==null?void 0:e.taskCreationDefaults)||{}},calendarViewSettings:{...li.calendarViewSettings,...(e==null?void 0:e.calendarViewSettings)||{}},commandFileMapping:{...li.commandFileMapping,...(e==null?void 0:e.commandFileMapping)||{}},icsIntegration:{...li.icsIntegration,...(e==null?void 0:e.icsIntegration)||{}},nlpTriggers:{...li.nlpTriggers,...(e==null?void 0:e.nlpTriggers)||{},triggers:((i=e==null?void 0:e.nlpTriggers)==null?void 0:i.triggers)||li.nlpTriggers.triggers},modalFieldsConfig:uc(e==null?void 0:e.modalFieldsConfig,e==null?void 0:e.userFields),customStatuses:(e==null?void 0:e.customStatuses)||li.customStatuses,customPriorities:(e==null?void 0:e.customPriorities)||li.customPriorities,savedViews:(e==null?void 0:e.savedViews)||li.savedViews},shouldPersistMigratedSettings:JGe(e)||t}}function r5e(r,e){let t=r?{...r}:{},n=Object.keys(li);for(let i of n)t[i]=e[i];return t}function n5e({timer:r=window,registerTimer:e,emitDateChanged:t,getDateKey:n=()=>new Date().toDateString(),getNow:i=()=>new Date,intervalMs:a=6e4}){let s=n(),o=null,l=()=>{let u=n();return u===s?!1:(s=u,t(),!0)},c=()=>{let u=w4t(i());return o!==null&&r.clearTimeout(o),o=r.setTimeout(()=>{l(),c()},u),e(o),o},d=r.setInterval(l,a);return e(d),c(),{checkDateChange:l,scheduleNextMidnightCheck:c,getLastKnownDate:()=>s,getMidnightTimeout:()=>o}}function w4t(r){let e=new Date(r);return e.setHours(24,0,0,0),e.getTime()-r.getTime()}G();dP();var kw=require("obsidian");G();var S4t=200,E4t=250,x4t=I({tag:"Utils/PerformanceProfiler"});function C4t(){return typeof performance!="undefined"&&typeof performance.now=="function"?performance.now():Date.now()}function D4t(){return typeof performance!="undefined"&&"memory"in performance}function i5e(r,e){if(r.length===0)return 0;let t=Math.min(r.length-1,Math.max(0,Math.ceil(r.length*e)-1));return r[t]}function jf(r){return Math.round(r*1e3)/1e3}function P4t(r,e){if(!(!r&&!e))return{...r||{},...e||{}}}var Qie=class r{constructor(e={}){this.enabledOverride=null;this.metrics=new Map;this.counters=new Map;this.gauges=new Map;var t,n;this.namespace=((t=e.namespace)==null?void 0:t.trim())||"tasknotes",this.isEnabledCallback=e.isEnabled||(()=>!1),this.logger=e.logger||x4t,this.now=e.now||C4t,this.sampleLimit=Math.max(1,e.sampleLimit||S4t),this.slowThresholdMs=Math.max(0,(n=e.slowThresholdMs)!=null?n:E4t)}isEnabled(){var e;return(e=this.enabledOverride)!=null?e:this.isEnabledCallback()}enable(){this.enabledOverride=!0}disable(){this.enabledOverride=!1}clearEnabledOverride(){this.enabledOverride=null}child(e){return new r({namespace:[this.namespace,e].filter(Boolean).join("."),isEnabled:()=>this.isEnabled(),logger:this.logger,now:this.now,sampleLimit:this.sampleLimit,slowThresholdMs:this.slowThresholdMs})}start(e,t){if(!this.isEnabled())return{end:()=>0};let n=this.now(),i=!1;return{end:a=>{if(i)return 0;i=!0;let s=this.now()-n;return this.recordDuration(e,s,P4t(t,a)),s}}}async measureAsync(e,t,n){if(!this.isEnabled())return t();let i=this.start(e,n);try{let a=await t();return i.end(),a}catch(a){throw i.end({failed:!0}),a}}measureSync(e,t,n){if(!this.isEnabled())return t();let i=this.start(e,n);try{let a=t();return i.end(),a}catch(a){throw i.end({failed:!0}),a}}recordDuration(e,t,n){if(!this.isEnabled())return;let i=this.getMetricName(e),s=this.metrics.get(i)||{count:0,totalMs:0,minMs:Number.POSITIVE_INFINITY,maxMs:0,lastMs:0,samples:[]};s.count++,s.totalMs+=t,s.minMs=Math.min(s.minMs,t),s.maxMs=Math.max(s.maxMs,t),s.lastMs=t,s.lastDetails=n,s.samples.push(t),s.samples.length>this.sampleLimit&&s.samples.splice(0,s.samples.length-this.sampleLimit),this.metrics.set(i,s),t>=this.slowThresholdMs&&this.logger.warn("Slow operation recorded",{category:"internal",operation:"performance-profiler",details:{name:i,durationMs:jf(t),...n||{}}})}increment(e,t=1,n){if(!this.isEnabled())return;let i=this.getMetricName(e),a=this.counters.get(i)||{count:0};a.count+=t,a.lastDetails=n,this.counters.set(i,a)}recordGauge(e,t,n){this.isEnabled()&&this.gauges.set(this.getMetricName(e),{value:t,updatedAt:new Date().toISOString(),lastDetails:n})}getMetric(e){let t=this.metrics.get(this.getMetricName(e));return t?this.toMetricSnapshot(this.getMetricName(e),t):null}snapshot(){let e={},t={},n={};for(let[i,a]of this.metrics)e[i]=this.toMetricSnapshot(i,a);for(let[i,a]of this.counters)t[i]={name:i,count:a.count,lastDetails:a.lastDetails};for(let[i,a]of this.gauges)n[i]={name:i,value:a.value,updatedAt:a.updatedAt,lastDetails:a.lastDetails};return{generatedAt:new Date().toISOString(),enabled:this.isEnabled(),metrics:e,counters:t,gauges:n}}exportData(){return{...this.snapshot(),platform:{isDesktop:kw.Platform.isDesktop,isMobile:kw.Platform.isMobile,isWin:kw.Platform.isWin,isMacOS:kw.Platform.isMacOS,isLinux:kw.Platform.isLinux},memoryInfo:D4t()?performance.memory:null}}reset(e){if(!e){this.metrics.clear(),this.counters.clear(),this.gauges.clear();return}let t=this.getMetricName(e);this.metrics.delete(t),this.counters.delete(t),this.gauges.delete(t)}destroy(){this.reset(),this.clearEnabledOverride()}getMetricName(e){let t=e.trim();return t.startsWith(`${this.namespace}.`)?t:`${this.namespace}.${t}`}toMetricSnapshot(e,t){let n=[...t.samples].sort((a,s)=>a-s),i=t.count===0?0:t.totalMs/t.count;return{name:e,count:t.count,totalMs:jf(t.totalMs),averageMs:jf(i),minMs:jf(t.minMs===Number.POSITIVE_INFINITY?0:t.minMs),maxMs:jf(t.maxMs),medianMs:jf(i5e(n,.5)),p95Ms:jf(i5e(n,.95)),lastMs:jf(t.lastMs),sampleCount:t.samples.length,lastDetails:t.lastDetails}}};function a5e(r={}){return new Qie(r)}var Lt=I({tag:"Main"});function A4t(r){return r.setSubmenu()}var qM=class extends ge.Plugin{constructor(){super(...arguments);this.settingsLoadCompromised=!1;this.settingsDataSavePromise=null;this.settingsDataSaveRequested=!1;this.taskUpdateListenerForEditor=null;this.relationshipsReadingModeCleanup=null;this.taskCardReadingModeCleanup=null;this.initializationComplete=!1;this.migrationComplete=!1;this.migrationPromise=null;this.basesRegistered=!1}getSystemUILocale(){try{let t=(0,ge.getLanguage)();if(t)return t}catch(t){}return typeof navigator!="undefined"&&navigator.language?navigator.language:"en"}refreshLocalizedViews(){}async onload(){var t;this.readyPromise=new Promise(n=>{this.resolveReady=n}),await this.loadSettings(),this.performanceProfiler=a5e({isEnabled:()=>{var n;return((n=this.settings)==null?void 0:n.enableDebugLogging)===!0},logger:I({tag:"PerformanceProfiler",isDebugEnabled:()=>{var n;return((n=this.settings)==null?void 0:n.enableDebugLogging)===!0}})}),this.i18n=_we({initialLocale:(t=this.settings.uiLanguage)!=null?t:"system",getSystemLocale:()=>this.getSystemUILocale()}),this.i18n.on("locale-changed",({current:n})=>{var a;if(!this.initializationComplete)return;let i=this.i18n.getNativeLanguageName(n);new ge.Notice(this.i18n.translate("notices.languageChanged",{language:i})),this.refreshLocalizedViews(),(a=this.commandRegistry)==null||a.refreshTranslations()}),await WGe(this),this.registerTaskNotesFileMenuActions(),this.migrationPromise=this.performEarlyMigrationCheck(),Sie(this),await Gz(this),this.app.workspace.onLayoutReady(()=>{this.initializeAfterLayoutReady()}),this.resolveReady(),this.emitter.trigger(gd.ready,{timestamp:new Date().toISOString()})}registerTaskNotesFileMenuActions(){this.registerEvent(this.app.workspace.on("file-menu",(t,n,i)=>{this.addTaskNotesFileMenuActions(t,n,i)}))}addTaskNotesFileMenuActions(t,n,i){if(i==="tasknotes-context-menu"||!(n instanceof ge.TFile))return;let a=this.app.metadataCache.getFileCache(n);if(!(a!=null&&a.frontmatter)||!this.cacheManager.isTaskFile(a.frontmatter))return;t.addSeparator(),t.addItem(o=>{o.setTitle(this.i18n.translate("modals.taskEdit.title")),o.setIcon("pencil"),o.setSection("tasknotes"),o.onClick(()=>{this.openTaskEditModalForFile(n)})});let s=this.cacheManager.getCachedTaskInfoSync(n.path);s&&t.addItem(o=>{o.setTitle(this.i18n.translate("common.appName")),o.setIcon("list-checks"),o.setSection("tasknotes");let l=A4t(o);nm.addToMenu(l,{task:s,plugin:this,targetDate:wr(),onUpdate:()=>{this.app.workspace.trigger("tasknotes:refresh-views")}})})}async initializeAfterLayoutReady(){await Eie(this)}initializeServicesLazily(){Promise.resolve().then(()=>(Kz(),X6e)).then(({initializeServicesLazily:t})=>{t(this)})}async warmupProjectIndexes(){try{this.cacheManager.getTasksForDate(new Date().toISOString().split("T")[0])}catch(t){Lt.error("[TaskNotes] Error during project index warmup:",{category:"internal",operation:"project-index-warmup",error:t})}}async onReady(){await this.readyPromise}setupStatusBarEventListeners(){this.statusBarService&&(this.registerEvent(this.emitter.on(nt,()=>{window.setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.registerEvent(this.emitter.on(ea,()=>{window.setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.pomodoroService&&(this.registerEvent(this.emitter.on("pomodoro-start",()=>{window.setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.registerEvent(this.emitter.on("pomodoro-stop",()=>{window.setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.registerEvent(this.emitter.on("pomodoro-state-changed",()=>{window.setTimeout(()=>{this.statusBarService.requestUpdate()},100)}))))}setupTimeTrackingEventListeners(){this.settingsLifecycleService.setupTimeTrackingEventListeners()}async performEarlyMigrationCheck(){try{await this.viewStateManager.initializeSavedViews(),this.viewStateManager.needsMigration()&&await this.viewStateManager.performMigration(),this.migrationComplete=!0}catch(t){Lt.error("Error during early migration check:",{category:"configuration",operation:"early-migration-check",error:t}),this.migrationComplete=!0}}async checkForVersionUpdate(){var t;try{let n=this.manifest.version,i=this.settings.lastSeenVersion;i&&i!==n&&(((t=this.settings.showReleaseNotesOnUpdate)!=null?t:!0)?window.setTimeout(()=>{(async()=>(await this.activateReleaseNotesView(),this.settings.lastSeenVersion=n,await this.saveSettings()))()},1500):(this.settings.lastSeenVersion=n,await this.saveSettings())),i||(this.settings.lastSeenVersion=n,await this.saveSettings())}catch(n){Lt.error("Error checking for version update:",{category:"configuration",operation:"checking-version-update",error:n})}}async waitForMigration(){for(this.migrationPromise&&await this.migrationPromise;!this.migrationComplete;)await new Promise(t=>window.setTimeout(t,50))}notifyDataChanged(t,n=!1,i=!0){t?(this.cacheManager.clearCacheEntry(t),this.taskLinkDetectionService&&this.taskLinkDetectionService.clearCacheForFile(t)):n&&(this.cacheManager.clearAllCaches(),this.taskLinkDetectionService&&this.taskLinkDetectionService.clearCache()),i&&window.requestAnimationFrame(()=>{this.emitter.trigger(ea),this.emitter.trigger(gd["cache.changed"],{filePath:t,force:n,timestamp:new Date().toISOString()})})}setupDateChangeDetection(){n5e({registerTimer:t=>this.registerInterval(t),emitDateChanged:()=>this.emitter.trigger(xp)})}onunload(){var t;(t=this.emitter)==null||t.trigger(gd.unloading,{timestamp:new Date().toISOString()}),YGe(this)}async pluginDataFileExists(){return Zie(this)}async loadSettingsData(){this.settingsLoadCompromised=!1;let t=await e5e(this);return this.settingsLoadCompromised=t.compromised,t.compromised&&Lt.error("Settings data could not be read safely",{category:"internal",operation:"load-settings-data",details:{reason:"Settings data file exists, but Obsidian returned no settings data.",settingsSavesBlocked:!0}}),t.data}async loadSettings(){let t=await this.loadSettingsData(),{settings:n,shouldPersistMigratedSettings:i}=t5e(t);this.settings=n,i&&window.setTimeout(()=>{(async()=>{try{await this.saveSettingsDataOnly()}catch(a){Lt.error("Failed to save migrated settings:",{category:"configuration",operation:"save-migrated-settings",error:a})}})()},100)}async saveSettings(){await this.settingsLifecycleService.saveSettings()}async saveSettingsDataOnly(){this.settingsDataSaveRequested=!0,this.settingsDataSavePromise||(this.settingsDataSavePromise=this.drainSettingsDataSaves()),await this.settingsDataSavePromise}async drainSettingsDataSaves(){try{for(;this.settingsDataSaveRequested;)this.settingsDataSaveRequested=!1,await this.writeSettingsDataOnlyOnce()}finally{this.settingsDataSavePromise=null,this.settingsDataSaveRequested&&await this.saveSettingsDataOnly()}}async writeSettingsDataOnlyOnce(){if(this.settingsLoadCompromised){Lt.warn("[TaskNotes] Skipping settings save because settings data could not be read safely during startup.",{category:"configuration",operation:"skipping-settings-save-because-settings-data-read-safely-startup"});return}let t=await this.loadData();if(t===null&&await this.pluginDataFileExists()){this.settingsLoadCompromised=!0,Lt.warn("[TaskNotes] Skipping settings save because data.json exists but could not be read.",{category:"configuration",operation:"skipping-settings-save-because-data-json-exists-but-read"});return}let n=t||{};await this.saveData(r5e(n,this.settings))}async onExternalSettingsChange(){await this.settingsLifecycleService.onExternalSettingsChange()}async revealLeafReady(t){await this.workspaceNavigationService.revealLeafReady(t)}async activateView(t){return this.workspaceNavigationService.activateView(t)}async activateCalendarView(){return this.workspaceNavigationService.activateCalendarView()}async activateAgendaView(){return this.workspaceNavigationService.activateAgendaView()}async activatePomodoroView(){return this.workspaceNavigationService.activatePomodoroView()}async activatePomodoroStatsView(){return this.workspaceNavigationService.activatePomodoroStatsView()}async activateStatsView(){return this.workspaceNavigationService.activateStatsView()}async activateReleaseNotesView(){return this.workspaceNavigationService.activateReleaseNotesView()}async openBasesFileForCommand(t){await this.workspaceNavigationService.openBasesFileForCommand(t)}async createDefaultBasesFiles(t={}){let{created:n,updated:i,skipped:a}=await this.ensureBasesViewFiles(t);n.length>0&&new ge.Notice(`Created ${n.length} default Bases file(s):
${n.join(`
`)}`,8e3),i.length>0&&new ge.Notice(`Updated ${i.length} default Bases file(s):
${i.join(`
`)}`,8e3),a.length>0&&n.length===0&&i.length===0&&new ge.Notice(`Default Bases files already exist:
${a.join(`
`)}`,8e3)}async ensureBasesViewFiles(t={}){return GGe({app:this.app,settings:this.settings,generateTemplate:n=>Ade(n,this),warn:(n,i)=>{i===void 0?Lt.warn(n,{category:"configuration",operation:"ensure-bases-view-files"}):Lt.warn(n,{category:"configuration",operation:"ensure-bases-view-files",error:i})}},t)}async openTagsPane(t){let{workspace:n}=this.app;try{let i=n.getLeavesOfType("search").first();if(!i){let s=n.getLeftLeaf(!1);if(!s)return Lt.warn("Could not get left leaf for search pane",{category:"configuration",operation:"get-left-leaf-search-pane"}),!1;try{await s.setViewState({type:"search",active:!0}),i=s}catch(o){return Lt.warn("Failed to create search view:",{category:"persistence",operation:"create-search-view",error:o}),!1}}if(!i)return Lt.warn("No search leaf available",{category:"configuration",operation:"no-search-leaf"}),!1;await this.revealLeafReady(i);let a=`tag:${t}`;return QGe(i.view,a)?!0:(Lt.warn("[TaskNotes] Could not find method to set search query",{category:"stale-data",operation:"find-method-set-search-query"}),new ge.Notice("Search pane opened but could not set tag query"),!1)}catch(i){return Lt.error("[TaskNotes] Error opening search pane with tag:",{category:"internal",operation:"opening-search-pane-tag",error:i}),new ge.Notice(`Failed to open search pane for tag: ${t}`),!1}}getLeafOfType(t){return this.workspaceNavigationService.getLeafOfType(t)}getCalendarLeaf(){return this.getLeafOfType(Ide)}async navigateToCurrentDailyNote(){let t=wr();await this.navigateToDailyNote(t,{isAlreadyLocal:!0})}async navigateToDailyNote(t,n){try{if(!(0,Bf.appHasDailyNotesPluginLoaded)()){new ge.Notice("Daily notes core plugin is not enabled. Please enable it in settings > core plugins.");return}let i=n!=null&&n.isAlreadyLocal?t:tu(t),a=window.moment(i),s=(0,Bf.getAllDailyNotes)(),o=(0,Bf.getDailyNote)(a,s),l=!1;if(!o)try{o=await(0,Bf.createDailyNote)(a),l=!0}catch(c){let d=c instanceof Error?c.message:String(c);Lt.error("Failed to create daily note:",{category:"persistence",operation:"create-daily-note",error:c}),new ge.Notice(`Failed to create daily note: ${d}`);return}o&&(await this.app.workspace.getLeaf(!1).openFile(o),l&&this.notifyDataChanged(o.path,!1,!0))}catch(i){let a=i instanceof Error?i.message:String(i);Lt.error("Failed to navigate to daily note:",{category:"persistence",operation:"navigate-daily-note",error:i}),new ge.Notice(`Failed to navigate to daily note: ${a}`)}}injectCustomStyles(){let t=activeDocument.getElementById("tasknotes-custom-styles");t&&t.remove();let n=this.statusManager.getStatusStyles(),i=this.priorityManager.getPriorityStyles(),a=activeDocument.createElement("style");a.id="tasknotes-custom-styles",a.textContent=`
${n}
${i}
`,activeDocument.head.appendChild(a)}async updateTaskProperty(t,n,i,a={}){try{let s=await this.taskService.updateProperty(t,n,i,a);if(!a.silent)if(n==="status"){let o=typeof i=="string"?i:String(i),l=this.statusManager.getStatusConfig(o);new ge.Notice(`Task marked as '${(l==null?void 0:l.label)||o}'`)}else new ge.Notice(`Task ${n} updated`);return s}catch(s){throw Lt.error(`Failed to update task ${n}:`,{category:"validation",operation:"update-task",error:s}),new ge.Notice(`Failed to update task ${n}`),s}}async toggleRecurringTaskComplete(t,n){var i;try{let a=await this.taskService.resolveRecurringTaskActionDate(t,n),s=await this.taskService.toggleRecurringTaskComplete(t,a),o=ce(a),c=((i=s.complete_instances)==null?void 0:i.includes(o))?"completed":"marked incomplete",d=ut(o);return new ge.Notice(`Recurring task ${c} for ${P(d,"MMM d")}`),s}catch(a){throw Lt.error("Failed to toggle recurring task completion:",{category:"persistence",operation:"toggle-recurring-task-completion",error:a}),new ge.Notice("Failed to update recurring task"),a}}async toggleTaskArchive(t){try{let n=await this.taskService.toggleArchive(t),i=n.archived?"archived":"unarchived";return new ge.Notice(`Task ${i}`),n}catch(n){throw Lt.error("Failed to toggle task archive:",{category:"persistence",operation:"toggle-task-archive",error:n}),new ge.Notice("Failed to update task archive status"),n}}async toggleTaskStatus(t){try{let n=await this.taskService.toggleStatus(t),i=this.statusManager.getStatusConfig(n.status);return new ge.Notice(`Task marked as '${(i==null?void 0:i.label)||n.status}'`),n}catch(n){throw Lt.error("Failed to toggle task status:",{category:"persistence",operation:"toggle-task-status",error:n}),new ge.Notice("Failed to update task status"),n}}openTaskCreationModal(t){new am(this.app,this,{prePopulatedValues:this.applyParentNoteProjectDefault(t)}).open()}applyParentNoteProjectDefault(t){if(!this.settings.taskCreationDefaults.useParentNoteAsProject)return t;let n=this.app.workspace.getActiveFile(),i=n?this.app.fileManager.generateMarkdownLink(n,n.path):void 0;return ZGe(t,i)}async convertCurrentNoteToTask(){let t=this.app.workspace.getActiveFile();if(!t){new ge.Notice(this.i18n.translate("commands.convertCurrentNoteToTask.noActiveFile"));return}if(await this.cacheManager.getTaskInfo(t.path)){new ge.Notice(this.i18n.translate("commands.convertCurrentNoteToTask.alreadyTask"));return}let i=this.app.metadataCache.getFileCache(t),a=(i==null?void 0:i.frontmatter)||{},s=await this.app.vault.read(t),o=KGe({path:t.path,basename:t.basename,content:s,frontmatter:a,settings:this.settings});new Zx(this.app,this,{task:o,onTaskUpdated:l=>{new ge.Notice(this.i18n.translate("commands.convertCurrentNoteToTask.success",{title:l.title}))}}).open()}async openTaskSelectorWithCreate(){await this.taskActionCoordinator.openTaskSelectorWithCreate()}async openTaskSelectorWithCreateAndStartTracking(){await this.taskActionCoordinator.openTaskSelectorWithCreateAndStartTracking()}async rolloverOverdueScheduledTasks(){await this.taskActionCoordinator.rolloverOverdueScheduledTasks()}async applyProjectSubtaskFilter(t){try{if(!this.app.vault.getAbstractFileByPath(t.path)){new ge.Notice("Project file not found");return}new ge.Notice("Project subtask filtering not available")}catch(n){Lt.error("Error applying project subtask filter:",{category:"persistence",operation:"applying-project-subtask-filter",error:n}),new ge.Notice("Failed to apply project filter")}}async startTimeTracking(t,n){return this.taskActionCoordinator.startTimeTracking(t,n)}async stopTimeTracking(t){return this.taskActionCoordinator.stopTimeTracking(t)}getActiveTimeSession(t){return j_(t.timeEntries||[])}isRecurringTaskCompleteForDate(t,n){if(!t.recurrence)return!1;let i=ce(n);return(Array.isArray(t.complete_instances)?t.complete_instances:[]).includes(i)}formatTime(t){return B_(t)}async openTaskEditModal(t,n){new Zx(this.app,this,{task:t,onTaskUpdated:n}).open()}async openDueDateModal(t){this.openTaskDatePicker(t,"due")}async openScheduledDateModal(t){this.openTaskDatePicker(t,"scheduled")}async openTaskDatePicker(t,n){try{let{DateTimePickerModal:i}=await Promise.resolve().then(()=>(BA(),Wve)),{getDatePart:a,getTimePart:s,combineDateAndTime:o}=await Promise.resolve().then(()=>(Ne(),UB)),l=(n==="due"?t.due:t.scheduled)||"";new i(this.app,{currentDate:a(l)||null,currentTime:s(l)||null,dateRole:n,plugin:this,onSelect:(d,u)=>{(async()=>{let p=d&&u?o(d,u):d||void 0;await this.taskService.updateProperty(t,n,p)})()}}).open()}catch(i){Lt.error("Error loading DateTimePickerModal:",{category:"validation",operation:"loading-datetimepickermodal",error:i})}}async refreshCache(){try{let t=new ge.Notice("Refreshing tasknotes cache...",0);await this.cacheManager.clearAllCaches(),this.notifyDataChanged(void 0,!0,!0),this.emitter.trigger(gd["cache.rebuilt"],{force:!0,timestamp:new Date().toISOString()}),t.hide(),new ge.Notice("Tasknotes cache refreshed successfully")}catch(t){Lt.error("Error refreshing cache:",{category:"stale-data",operation:"refreshing-cache",error:t}),new ge.Notice("Failed to refresh cache. Please try again.")}}async convertTaskToTaskNote(t){try{let n=t.getCursor();if(!this.instantTaskConvertService){new ge.Notice("Task conversion service not available. Please try again.");return}await this.instantTaskConvertService.instantConvertTask(t,n.line)}catch(n){Lt.error("Error converting task:",{category:"validation",operation:"converting-task",error:n}),new ge.Notice("Failed to convert task. Please try again.")}}async batchConvertAllTasks(t){try{if(!this.instantTaskConvertService){new ge.Notice("Task conversion service not available. Please try again.");return}await this.instantTaskConvertService.batchConvertAllTasks(t)}catch(n){Lt.error("Error batch converting tasks:",{category:"validation",operation:"batch-converting-tasks",error:n}),new ge.Notice("Failed to batch convert tasks. Please try again.")}}async insertTaskNoteLink(t){try{let i=(await this.cacheManager.getAllTasks()).filter(a=>!a.archived);Pn(this,i,a=>{if(a){let s=this.app.vault.getAbstractFileByPath(a.path);if(s instanceof ge.TFile){let o=this.app.workspace.getActiveFile(),l=(o==null?void 0:o.path)||"",c=this.app.fileManager.generateMarkdownLink(s,l,"",a.title),d=t.getCursor();t.replaceRange(c,d);let u={line:d.line,ch:d.ch+c.length};t.setCursor(u)}else new ge.Notice("Failed to create link - file not found")}})}catch(n){Lt.error("Error inserting tasknote link:",{category:"persistence",operation:"inserting-tasknote-link",error:n}),new ge.Notice("Failed to insert tasknote link")}}async openTaskSelectorForTimeTracking(){await this.taskActionCoordinator.openTaskSelectorForTimeTracking()}async openTaskSelectorForTimeEntryEditor(){await this.taskActionCoordinator.openTaskSelectorForTimeEntryEditor()}openTimeEntryEditor(t,n){this.taskActionCoordinator.openTimeEntryEditor(t,n)}extractSelectionInfoForCommand(t,n){let i=t.getSelection();if(i&&i.trim()){let a=t.listSelections()[0],s=Math.min(a.anchor.line,a.head.line),o=Math.max(a.anchor.line,a.head.line),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}}else{let a=t.getLine(n);return{taskLine:a,details:"",startLine:n,endLine:n,originalContent:[a]}}}async openQuickActionsForCurrentTask(){try{let t=this.app.workspace.getActiveFile();if(!t){new ge.Notice("No file is currently open");return}await this.openQuickActionsForTaskFile(t,"Current file is not a tasknote")}catch(t){Lt.error("Error opening quick actions:",{category:"internal",operation:"opening-quick-actions",error:t}),new ge.Notice("Failed to open quick actions")}}async openQuickActionsForTaskUnderCursor(t,n){try{let i=n!=null?n:this.app.workspace.getActiveFile();if(!i){new ge.Notice("No file is currently open");return}let a=await this.getTaskLinkDetectionService(),s=this.getTaskLinkAtCursor(t,a);if(!s){new ge.Notice("No task link found");return}let o=await a.detectTaskLink(s.match,i.path,s.type);if(!o.isValidTaskLink||!o.taskInfo){new ge.Notice("No task link found");return}await this.openQuickActionsForTaskInfo(o.taskInfo)}catch(i){Lt.error("Error opening quick actions for task under cursor:",{category:"persistence",operation:"opening-quick-actions-task-under-cursor",error:i}),new ge.Notice("Failed to open quick actions")}}async openTaskEditModalForCurrentTask(){let t=this.app.workspace.getActiveFile();if(!t){new ge.Notice("No file is currently open");return}await this.openTaskEditModalForFile(t,"Current file is not a tasknote")}async cycleCurrentTaskStatus(){try{let t=await this.getCurrentTaskForCommand();if(!t)return;let n=this.statusManager.getNextStatus(t.status);await this.updateTaskProperty(t,"status",n)}catch(t){Lt.error("Failed to cycle current task status:",{category:"persistence",operation:"cycle-current-task-status",error:t}),new ge.Notice("Failed to cycle task status")}}async cycleCurrentTaskPriority(){try{let t=await this.getCurrentTaskForCommand();if(!t)return;let n=t.priority||this.settings.defaultTaskPriority,i=this.priorityManager.getNextPriority(n);await this.updateTaskProperty(t,"priority",i)}catch(t){Lt.error("Failed to cycle current task priority:",{category:"persistence",operation:"cycle-current-task-priority",error:t}),new ge.Notice("Failed to cycle task priority")}}async getCurrentTaskForCommand(t="Current file is not a task"){let n=this.app.workspace.getActiveFile();if(!n)return new ge.Notice("No file is currently open"),null;let i=await this.cacheManager.getTaskInfo(n.path);return i||(new ge.Notice(t),null)}async getTaskLinkDetectionService(){if(!this.taskLinkDetectionService){let{TaskLinkDetectionService:t}=await Promise.resolve().then(()=>(_O(),d3));this.taskLinkDetectionService=new t(this)}return this.taskLinkDetectionService}getTaskLinkAtCursor(t,n){var o;let i=t.getCursor(),a=t.getLine(i.line);return(o=n.findWikilinks(a).find(l=>i.ch>=l.start&&i.ch<=l.end&&(l.type==="wikilink"||l.type==="markdown")))!=null?o:null}async openTaskEditModalForFile(t,n){try{let i=await this.cacheManager.getTaskInfo(t.path);if(!i){new ge.Notice(n!=null?n:this.i18n.translate("modals.taskEdit.notices.fileMissing",{path:t.path}));return}await this.openTaskEditModal(i)}catch(i){Lt.error("Error opening task edit modal from file menu:",{category:"persistence",operation:"opening-task-edit-modal-file-menu",error:i}),new ge.Notice(this.i18n.translate("modals.taskEdit.notices.openNoteFailure"))}}async openQuickActionsForTaskFile(t,n="Selected file is not a tasknote"){let i=await this.cacheManager.getTaskInfo(t.path);if(!i){new ge.Notice(n);return}await this.openQuickActionsForTaskInfo(i)}async openQuickActionsForTaskInfo(t){let{TaskActionPaletteModal:n}=await Promise.resolve().then(()=>(o5e(),s5e)),i=new Date,a=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate()));new n(this.app,t,this,a).open()}async addProjectToCurrentTask(){try{let t=this.app.workspace.getActiveFile();if(!t){new ge.Notice("No file is currently open");return}let n=await this.cacheManager.getTaskInfo(t.path);if(!n){new ge.Notice("Current file is not a task");return}new yc(this.app,this,a=>{if(!(a instanceof ge.TFile)){new ge.Notice(this.i18n.translate("contextMenus.task.organization.notices.projectSelectFailed"));return}this.addSelectedProjectToTask(n,a)}).open()}catch(t){Lt.error("Failed to add project to current task:",{category:"persistence",operation:"add-project-current-task",error:t}),new ge.Notice(this.i18n.translate("contextMenus.task.organization.notices.addToProjectFailed"))}}async addSubtaskToCurrentNote(){try{let t=this.app.workspace.getActiveFile();if(!t){new ge.Notice("No file is currently open");return}let i=(await this.cacheManager.getAllTasks()).filter(a=>a.path!==t.path);if(i.length===0){new ge.Notice(this.i18n.translate("contextMenus.task.organization.notices.noEligibleSubtasks"));return}Pn(this,i,a=>{a&&this.assignSelectedSubtaskToCurrentNote(t,a)})}catch(t){Lt.error("Failed to add subtask to current note:",{category:"persistence",operation:"add-subtask-current-note",error:t}),new ge.Notice(this.i18n.translate("contextMenus.task.organization.notices.subtaskSelectFailed"))}}async addSelectedProjectToTask(t,n){try{await pI(this,t,n)}catch(i){Lt.error("Failed to add selected project to task:",{category:"persistence",operation:"add-selected-project-task",error:i}),new ge.Notice(this.i18n.translate("contextMenus.task.organization.notices.addToProjectFailed"))}}async assignSelectedSubtaskToCurrentNote(t,n){try{await mI(this,t,n)}catch(i){Lt.error("Failed to assign selected subtask to current note:",{category:"persistence",operation:"assign-selected-subtask-current-note",error:i}),new ge.Notice(this.i18n.translate("contextMenus.task.organization.notices.addAsSubtaskFailed"))}}async createInlineTask(t){try{let n=t.getCursor(),i=t.getLine(n.line),a=i.trim(),s;if(a==="")s={line:n.line,ch:n.ch};else{let d={line:n.line,ch:i.length};t.replaceRange(`
`,d),s={line:n.line+1,ch:0}}let o={editor:t,insertionPoint:s},l=this.applyParentNoteProjectDefault();new am(this.app,this,{prePopulatedValues:l,onTaskCreated:d=>{this.handleInlineTaskCreated(d,o)},creationContext:"modal-inline-creation"}).open()}catch(n){Lt.error("Error creating inline task:",{category:"persistence",operation:"creating-inline-task",error:n}),new ge.Notice("Failed to create inline task")}}handleInlineTaskCreated(t,n){try{let{editor:i,insertionPoint:a}=n,s=this.app.vault.getAbstractFileByPath(t.path);if(!(s instanceof ge.TFile)){new ge.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,"",t.title);i.replaceRange(c,a);let d={line:a.line,ch:a.ch+c.length};i.setCursor(d),new ge.Notice(`Inline task "${t.title}" created and linked successfully`)}catch(i){Lt.error("Error handling inline task creation:",{category:"persistence",operation:"handling-inline-task-creation",error:i}),new ge.Notice("Failed to insert task link")}}};var I4t=qM;
/*! 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 */