Files
cours/.obsidian/plugins/obsidian-tasks-plugin/main.js

501 lines
759 KiB
JavaScript
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 visit the plugins github repository
*/
/*
License obsidian-tasks:
MIT License
Copyright (c) 2021 Clare Macrae, Ilyas Landikov and Martin Schenck
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/*
License rrule (included library):
rrule.js: Library for working with recurrence rules for calendar dates.
=======================================================================
Copyright 2010, Jakub Roztocil <jakub@roztocil.name> and Lars Schöning
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of The author nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
./rrule.js and ./test/tests.js is based on python-dateutil. LICENCE:
python-dateutil - Extensions to the standard Python datetime module.
====================================================================
Copyright (c) 2003-2011 - Gustavo Niemeyer <gustavo@niemeyer.net>
Copyright (c) 2012 - Tomi Pieviläinen <tomi.pievilainen@iki.fi>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
License chrono-node (included library):
The MIT License
Copyright (c) 2014, Wanasit Tanakitrungruang
*/
/*
License flatpickr (included library):
The MIT License (MIT)
Copyright (c) 2017 Gregory Petrosyan
*/
/*
License @floating-ui/dom (included library):
MIT License
Copyright (c) 2021 Floating UI contributors
*/
/*
License boon-js (included library):
The MIT License (MIT)
Copyright (c) 2020-present Jake Chorley
*/
/*
License eventemitter2 (included library):
The MIT License (MIT)
Copyright (c) 2016 Paolo Fragomeni <http://www.github.com/0x00a> and Contributors
*/
/*
License i18next (included library):
The MIT License (MIT)
Copyright (c) 2025 i18next
*/
/*
License mustache (included library):
The MIT License
Copyright (c) 2009 Chris Wanstrath (Ruby)
Copyright (c) 2010-2014 Jan Lehnardt (JavaScript)
Copyright (c) 2010-2015 The mustache.js community
*/
/*
License mustache-validator (included library):
MIT License
Copyright (c) 2022 Elias Mangoro
*/
"use strict";var Bx=Object.create;var Ho=Object.defineProperty,Vx=Object.defineProperties,zx=Object.getOwnPropertyDescriptor,Kx=Object.getOwnPropertyDescriptors,Qx=Object.getOwnPropertyNames,Lu=Object.getOwnPropertySymbols,Zx=Object.getPrototypeOf,$f=Object.prototype.hasOwnProperty,Pb=Object.prototype.propertyIsEnumerable;var Ab=(r,t,e)=>t in r?Ho(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,F=(r,t)=>{for(var e in t||(t={}))$f.call(t,e)&&Ab(r,e,t[e]);if(Lu)for(var e of Lu(t))Pb.call(t,e)&&Ab(r,e,t[e]);return r},de=(r,t)=>Vx(r,Kx(t));var ma=(r,t)=>{var e={};for(var n in r)$f.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&Lu)for(var n of Lu(r))t.indexOf(n)<0&&Pb.call(r,n)&&(e[n]=r[n]);return e};var Z=(r,t)=>()=>(r&&(t=r(r=0)),t);var x=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),Nb=(r,t)=>{for(var e in t)Ho(r,e,{get:t[e],enumerable:!0})},Ib=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Qx(t))!$f.call(r,i)&&i!==e&&Ho(r,i,{get:()=>t[i],enumerable:!(n=zx(t,i))||n.enumerable});return r};var Go=(r,t,e)=>(e=r!=null?Bx(Zx(r)):{},Ib(t||!r||!r.__esModule?Ho(e,"default",{value:r,enumerable:!0}):e,r)),Fb=r=>Ib(Ho({},"__esModule",{value:!0}),r);var I=(r,t,e)=>new Promise((n,i)=>{var s=l=>{try{o(e.next(l))}catch(u){i(u)}},a=l=>{try{o(e.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((e=e.apply(r,t)).next())});var Te,Bo,Lb,Xx,Jx,Ub,Yb,Vo,$b,eO,Yu,tO,Vb,ha,nO,rO,qf,iO,sO,aO,jf,$u,oO,ya,Yr,ba,Wu,zb,Wb,Ta,qu,qb,jb,Hf,Hb,Wf,Gf,lO,ga,Bf,uO,Vf,Gb,Bb,Uu,cO,ys,yt,h$,g$,y$,b$,T$,v$,_$,w$,k$,S$,D$,E$,x$,O$,Kb=Z(()=>{Te=r=>typeof r=="string",Bo=()=>{let r,t,e=new Promise((n,i)=>{r=n,t=i});return e.resolve=r,e.reject=t,e},Lb=r=>r==null?"":""+r,Xx=(r,t,e)=>{r.forEach(n=>{t[n]&&(e[n]=t[n])})},Jx=/###/g,Ub=r=>r&&r.indexOf("###")>-1?r.replace(Jx,"."):r,Yb=r=>!r||Te(r),Vo=(r,t,e)=>{let n=Te(t)?t.split("."):t,i=0;for(;i<n.length-1;){if(Yb(r))return{};let s=Ub(n[i]);!r[s]&&e&&(r[s]=new e),Object.prototype.hasOwnProperty.call(r,s)?r=r[s]:r={},++i}return Yb(r)?{}:{obj:r,k:Ub(n[i])}},$b=(r,t,e)=>{let{obj:n,k:i}=Vo(r,t,Object);if(n!==void 0||t.length===1){n[i]=e;return}let s=t[t.length-1],a=t.slice(0,t.length-1),o=Vo(r,a,Object);for(;o.obj===void 0&&a.length;)s=`${a[a.length-1]}.${s}`,a=a.slice(0,a.length-1),o=Vo(r,a,Object),(o==null?void 0:o.obj)&&typeof o.obj[`${o.k}.${s}`]!="undefined"&&(o.obj=void 0);o.obj[`${o.k}.${s}`]=e},eO=(r,t,e,n)=>{let{obj:i,k:s}=Vo(r,t,Object);i[s]=i[s]||[],i[s].push(e)},Yu=(r,t)=>{let{obj:e,k:n}=Vo(r,t);if(!!e&&!!Object.prototype.hasOwnProperty.call(e,n))return e[n]},tO=(r,t,e)=>{let n=Yu(r,e);return n!==void 0?n:Yu(t,e)},Vb=(r,t,e)=>{for(let n in t)n!=="__proto__"&&n!=="constructor"&&(n in r?Te(r[n])||r[n]instanceof String||Te(t[n])||t[n]instanceof String?e&&(r[n]=t[n]):Vb(r[n],t[n],e):r[n]=t[n]);return r},ha=r=>r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),nO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},rO=r=>Te(r)?r.replace(/[&<>"'\/]/g,t=>nO[t]):r,qf=class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){let e=this.regExpMap.get(t);if(e!==void 0)return e;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}},iO=[" ",",","?","!",";"],sO=new qf(20),aO=(r,t,e)=>{t=t||"",e=e||"";let n=iO.filter(a=>t.indexOf(a)<0&&e.indexOf(a)<0);if(n.length===0)return!0;let i=sO.getRegExp(`(${n.map(a=>a==="?"?"\\?":a).join("|")})`),s=!i.test(r);if(!s){let a=r.indexOf(e);a>0&&!i.test(r.substring(0,a))&&(s=!0)}return s},jf=function(r,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[t])return Object.prototype.hasOwnProperty.call(r,t)?r[t]:void 0;let n=t.split(e),i=r;for(let s=0;s<n.length;){if(!i||typeof i!="object")return;let a,o="";for(let l=s;l<n.length;++l)if(l!==s&&(o+=e),o+=n[l],a=i[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<n.length-1)continue;s+=l-s+1;break}i=a}return i},$u=r=>r==null?void 0:r.replace("_","-"),oO={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,t){var e,n;(n=(e=console==null?void 0:console[r])==null?void 0:e.apply)==null||n.call(e,console,t)}},ya=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||oO,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,i){return i&&!this.debug?null:(Te(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[e](t))}create(t){return new ya(this.logger,F({prefix:`${this.prefix}:${t}:`},this.options))}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new ya(this.logger,t)}},Yr=new ya,ba=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);let i=this.observers[n].get(e)||0;this.observers[n].set(e,i+1)}),this}off(t,e){if(!!this.observers[t]){if(!e){delete this.observers[t];return}this.observers[t].delete(e)}}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(a=>{let[o,l]=a;for(let u=0;u<l;u++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(a=>{let[o,l]=a;for(let u=0;u<l;u++)o.apply(o,[t,...n])})}},Wu=class extends ba{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){let e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){var u,c;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,o;t.indexOf(".")>-1?o=t.split("."):(o=[t,e],n&&(Array.isArray(n)?o.push(...n):Te(n)&&s?o.push(...n.split(s)):o.push(n)));let l=Yu(this.data,o);return!l&&!e&&!n&&t.indexOf(".")>-1&&(t=o[0],e=o[1],n=o.slice(2).join(".")),l||!a||!Te(n)?l:jf((c=(u=this.data)==null?void 0:u[t])==null?void 0:c[e],n,s)}addResource(t,e,n,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=[t,e];n&&(o=o.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(o=t.split("."),i=e,e=o[1]),this.addNamespaces(e),$b(this.data,o,i),s.silent||this.emit("added",t,e,n,i)}addResources(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(let s in n)(Te(n[s])||Array.isArray(n[s]))&&this.addResource(t,e,s,n[s],{silent:!0});i.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,i,s){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[t,e];t.indexOf(".")>-1&&(o=t.split("."),i=n,n=e,e=o[1]),this.addNamespaces(e);let l=Yu(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?Vb(l,n,s):l=F(F({},l),n),$b(this.data,o,l),a.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return this.getResource(t,e)!==void 0}getResourceBundle(t,e){return e||(e=this.options.defaultNS),this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(i=>e[i]&&Object.keys(e[i]).length>0)}toJSON(){return this.data}},zb={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,t,e,n,i){return r.forEach(s=>{var a,o;t=(o=(a=this.processors[s])==null?void 0:a.process(t,e,n,i))!=null?o:t}),t}},Wb={},Ta=class extends ba{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Xx(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Yr.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;let n=this.resolve(t,e);return(n==null?void 0:n.res)!==void 0}extractFromKey(t,e){let n=e.nsSeparator!==void 0?e.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");let i=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,s=e.ns||this.options.defaultNS||[],a=n&&t.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!aO(t,n,i);if(a&&!o){let l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Te(s)?[s]:s};let u=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(u[0])>-1)&&(s=u.shift()),t=u.join(i)}return{key:t,namespaces:Te(s)?[s]:s}}translate(t,e,n){if(typeof e!="object"&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),typeof e=="object"&&(e=F({},e)),e||(e={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);let i=e.returnDetails!==void 0?e.returnDetails:this.options.returnDetails,s=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(t[t.length-1],e),l=o[o.length-1],u=e.lng||this.language,c=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(c){let Y=e.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${Y}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(e)}:`${l}${Y}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(e)}:a}let d=this.resolve(t,e),f=d==null?void 0:d.res,p=(d==null?void 0:d.usedKey)||a,b=(d==null?void 0:d.exactUsedKey)||a,T=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],O=e.joinArrays!==void 0?e.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,P=!Te(f)&&typeof f!="boolean"&&typeof f!="number";if(E&&f&&P&&v.indexOf(T)<0&&!(Te(O)&&Array.isArray(f))){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let Y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,f,de(F({},e),{ns:o})):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=Y,d.usedParams=this.getUsedParamsDetails(e),d):Y}if(s){let Y=Array.isArray(f),j=Y?[]:{},ae=Y?b:p;for(let H in f)if(Object.prototype.hasOwnProperty.call(f,H)){let J=`${ae}${s}${H}`;j[H]=this.translate(J,de(F({},e),{joinArrays:!1,ns:o})),j[H]===J&&(j[H]=f[H])}f=j}}else if(E&&Te(O)&&Array.isArray(f))f=f.join(O),f&&(f=this.extendTranslation(f,t,e,n));else{let Y=!1,j=!1,ae=e.count!==void 0&&!Te(e.count),H=Ta.hasDefaultValue(e),J=ae?this.pluralResolver.getSuffix(u,e.count,e):"",ye=e.ordinal&&ae?this.pluralResolver.getSuffix(u,e.count,{ordinal:!1}):"",we=ae&&!e.ordinal&&e.count===0,V=we&&e[`defaultValue${this.options.pluralSeparator}zero`]||e[`defaultValue${J}`]||e[`defaultValue${ye}`]||e.defaultValue;!this.isValidLookup(f)&&H&&(Y=!0,f=V),this.isValidLookup(f)||(j=!0,f=a);let R=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&j?void 0:f,ee=H&&V!==f&&this.options.updateMissing;if(j||Y||ee){if(this.logger.log(ee?"updateKey":"missingKey",u,l,a,ee?V:f),s){let y=this.resolve(a,de(F({},e),{keySeparator:!1}));y&&y.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[],le=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if(this.options.saveMissingTo==="fallback"&&le&&le[0])for(let y=0;y<le.length;y++)q.push(le[y]);else this.options.saveMissingTo==="all"?q=this.languageUtils.toResolveHierarchy(e.lng||this.language):q.push(e.lng||this.language);let m=(y,_,w)=>{var C;let S=H&&w!==f?w:R;this.options.missingKeyHandler?this.options.missingKeyHandler(y,l,_,S,ee,e):(C=this.backendConnector)!=null&&C.saveMissing&&this.backendConnector.saveMissing(y,l,_,S,ee,e),this.emit("missingKey",y,l,_,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ae?q.forEach(y=>{let _=this.pluralResolver.getSuffixes(y,e);we&&e[`defaultValue${this.options.pluralSeparator}zero`]&&_.indexOf(`${this.options.pluralSeparator}zero`)<0&&_.push(`${this.options.pluralSeparator}zero`),_.forEach(w=>{m([y],a+w,e[`defaultValue${w}`]||V)})}):m(q,a,V))}f=this.extendTranslation(f,t,e,d,n),j&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(j||Y)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,Y?f:void 0))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(e),d):f}extendTranslation(t,e,n,i,s){var u,c;var a=this;if((u=this.i18nFormat)!=null&&u.parse)t=this.i18nFormat.parse(t,F(F({},this.options.interpolation.defaultVariables),n),n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(de(F({},n),{interpolation:F(F({},this.options.interpolation),n.interpolation)}));let d=Te(t)&&(((c=n==null?void 0:n.interpolation)==null?void 0:c.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(d){let b=t.match(this.interpolator.nestingRegexp);f=b&&b.length}let p=n.replace&&!Te(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p=F(F({},this.options.interpolation.defaultVariables),p)),t=this.interpolator.interpolate(t,p,n.lng||this.language||i.usedLng,n),d){let b=t.match(this.interpolator.nestingRegexp),T=b&&b.length;f<T&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var b=arguments.length,T=new Array(b),v=0;v<b;v++)T[v]=arguments[v];return(s==null?void 0:s[0])===T[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${T[0]} in key: ${e[0]}`),null):a.translate(...T,e)},n)),n.interpolation&&this.interpolator.reset()}let o=n.postProcess||this.options.postProcess,l=Te(o)?[o]:o;return t!=null&&(l==null?void 0:l.length)&&n.applyPostProcessor!==!1&&(t=zb.handle(l,t,e,this.options&&this.options.postProcessPassResolved?F({i18nResolved:de(F({},i),{usedParams:this.getUsedParamsDetails(n)})},n):n,this)),t}resolve(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,s,a,o;return Te(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(n))return;let u=this.extractFromKey(l,e),c=u.key;i=c;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));let f=e.count!==void 0&&!Te(e.count),p=f&&!e.ordinal&&e.count===0,b=e.context!==void 0&&(Te(e.context)||typeof e.context=="number")&&e.context!=="",T=e.lngs?e.lngs:this.languageUtils.toResolveHierarchy(e.lng||this.language,e.fallbackLng);d.forEach(v=>{var O,E;this.isValidLookup(n)||(o=v,!Wb[`${T[0]}-${v}`]&&((O=this.utils)==null?void 0:O.hasLoadedNamespace)&&!((E=this.utils)!=null&&E.hasLoadedNamespace(o))&&(Wb[`${T[0]}-${v}`]=!0,this.logger.warn(`key "${i}" for languages "${T.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(P=>{var ae;if(this.isValidLookup(n))return;a=P;let Y=[c];if((ae=this.i18nFormat)!=null&&ae.addLookupKeys)this.i18nFormat.addLookupKeys(Y,c,P,v,e);else{let H;f&&(H=this.pluralResolver.getSuffix(P,e.count,e));let J=`${this.options.pluralSeparator}zero`,ye=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(Y.push(c+H),e.ordinal&&H.indexOf(ye)===0&&Y.push(c+H.replace(ye,this.options.pluralSeparator)),p&&Y.push(c+J)),b){let we=`${c}${this.options.contextSeparator}${e.context}`;Y.push(we),f&&(Y.push(we+H),e.ordinal&&H.indexOf(ye)===0&&Y.push(we+H.replace(ye,this.options.pluralSeparator)),p&&Y.push(we+J))}}let j;for(;j=Y.pop();)this.isValidLookup(n)||(s=j,n=this.getResource(P,v,j,e))}))})}),{res:n,usedKey:i,exactUsedKey:s,usedLng:a,usedNS:o}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,e,n){var s;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(t,e,n,i):this.resourceStore.getResource(t,e,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!Te(t.replace),i=n?t.replace:t;if(n&&typeof t.count!="undefined"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i=F(F({},this.options.interpolation.defaultVariables),i)),!n){i=F({},i);for(let s of e)delete i[s]}return i}static hasDefaultValue(t){let e="defaultValue";for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,e.length)&&t[n]!==void 0)return!0;return!1}},qu=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Yr.create("languageUtils")}getScriptPartFromCode(t){if(t=$u(t),!t||t.indexOf("-")<0)return null;let e=t.split("-");return e.length===2||(e.pop(),e[e.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(e.join("-"))}getLanguagePartFromCode(t){if(t=$u(t),!t||t.indexOf("-")<0)return t;let e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(Te(t)&&t.indexOf("-")>-1){let e;try{e=Intl.getCanonicalLocales(t)[0]}catch(n){}return e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(n=>{if(e)return;let i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(e=i)}),!e&&this.options.supportedLngs&&t.forEach(n=>{if(e)return;let i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return e=i;e=this.options.supportedLngs.find(s=>{if(s===i)return s;if(!(s.indexOf("-")<0&&i.indexOf("-")<0)&&(s.indexOf("-")>0&&i.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===i||s.indexOf(i)===0&&i.length>1))return s})}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if(typeof t=="function"&&(t=t(e)),Te(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){let n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],s=a=>{!a||(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return Te(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Te(t)&&s(this.formatLanguageCode(t)),n.forEach(a=>{i.indexOf(a)<0&&s(this.formatLanguageCode(a))}),i}},qb={zero:0,one:1,two:2,few:3,many:4,other:5},jb={select:r=>r===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},Hf=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=Yr.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=$u(t==="dev"?"en":t),i=e.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:n,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let a;try{a=new Intl.PluralRules(n,{type:i})}catch(o){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),jb;if(!t.match(/-|_/))return jb;let l=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(l,e)}return this.pluralRulesCache[s]=a,a}needsPlural(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,e);return n||(n=this.getRule("dev",e)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${e}${i}`)}getSuffixes(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,e);return n||(n=this.getRule("dev",e)),n?n.resolvedOptions().pluralCategories.sort((i,s)=>qb[i]-qb[s]).map(i=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(t,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(e)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",e,n))}},Hb=function(r,t,e){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=tO(r,t,e);return!s&&i&&Te(e)&&(s=jf(r,e,n),s===void 0&&(s=jf(t,e,n))),s},Wf=r=>r.replace(/\$/g,"$$$$"),Gf=class{constructor(){var e;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Yr.create("interpolator"),this.options=t,this.format=((e=t==null?void 0:t.interpolation)==null?void 0:e.format)||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:e,escapeValue:n,useRawValueToEscape:i,prefix:s,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:p,nestingSuffix:b,nestingSuffixEscaped:T,nestingOptionsSeparator:v,maxReplaces:O,alwaysFormat:E}=t.interpolation;this.escape=e!==void 0?e:rO,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?ha(s):a||"{{",this.suffix=o?ha(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?ha(f):p||ha("$t("),this.nestingSuffix=b?ha(b):T||ha(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=O||1e3,this.alwaysFormat=E!==void 0?E:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(e,n)=>(e==null?void 0:e.source)===n?(e.lastIndex=0,e):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,i){var p;let s,a,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=b=>{if(b.indexOf(this.formatSeparator)<0){let E=Hb(e,l,b,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,n,de(F(F({},i),e),{interpolationkey:b})):E}let T=b.split(this.formatSeparator),v=T.shift().trim(),O=T.join(this.formatSeparator).trim();return this.format(Hb(e,l,v,this.options.keySeparator,this.options.ignoreJSONStructure),O,n,de(F(F({},i),e),{interpolationkey:v}))};this.resetRegExp();let c=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,d=((p=i==null?void 0:i.interpolation)==null?void 0:p.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:b=>Wf(b)},{regex:this.regexp,safeValue:b=>this.escapeValue?Wf(this.escape(b)):Wf(b)}].forEach(b=>{for(o=0;s=b.regex.exec(t);){let T=s[1].trim();if(a=u(T),a===void 0)if(typeof c=="function"){let O=c(t,s,i);a=Te(O)?O:""}else if(i&&Object.prototype.hasOwnProperty.call(i,T))a="";else if(d){a=s[0];continue}else this.logger.warn(`missed to pass in variable ${T} for interpolating ${t}`),a="";else!Te(a)&&!this.useRawValueToEscape&&(a=Lb(a));let v=b.safeValue(a);if(t=t.replace(s[0],v),d?(b.regex.lastIndex+=a.length,b.regex.lastIndex-=s[0].length):b.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),t}nest(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,s,a,o=(l,u)=>{var T;let c=this.nestingOptionsSeparator;if(l.indexOf(c)<0)return l;let d=l.split(new RegExp(`${c}[ ]*{`)),f=`{${d[1]}`;l=d[0],f=this.interpolate(f,a);let p=f.match(/'/g),b=f.match(/"/g);(((T=p==null?void 0:p.length)!=null?T:0)%2===0&&!b||b.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),u&&(a=F(F({},u),a))}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${c}${f}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;i=this.nestingRegexp.exec(t);){let l=[];a=F({},n),a=a.replace&&!Te(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){let c=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=c.shift(),l=c,u=!0}if(s=e(o.call(this,i[1].trim(),a),a),s&&i[0]===t&&!Te(s))return s;Te(s)||(s=Lb(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),s=""),u&&(s=l.reduce((c,d)=>this.format(c,d,n.lng,de(F({},n),{interpolationkey:i[1].trim()})),s.trim())),t=t.replace(i[0],s),this.regexp.lastIndex=0}return t}},lO=r=>{let t=r.toLowerCase().trim(),e={};if(r.indexOf("(")>-1){let n=r.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?e.currency||(e.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?e.range||(e.range=i.trim()):i.split(";").forEach(a=>{if(a){let[o,...l]=a.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),c=o.trim();e[c]||(e[c]=u),u==="false"&&(e[c]=!1),u==="true"&&(e[c]=!0),isNaN(u)||(e[c]=parseInt(u,10))}})}return{formatName:t,formatOptions:e}},ga=r=>{let t={};return(e,n,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s=de(F({},s),{[i.interpolationkey]:void 0}));let a=n+JSON.stringify(s),o=t[a];return o||(o=r($u(n),i),t[a]=o),o(e)}},Bf=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Yr.create("formatter"),this.options=t,this.formats={number:ga((e,n)=>{let i=new Intl.NumberFormat(e,F({},n));return s=>i.format(s)}),currency:ga((e,n)=>{let i=new Intl.NumberFormat(e,de(F({},n),{style:"currency"}));return s=>i.format(s)}),datetime:ga((e,n)=>{let i=new Intl.DateTimeFormat(e,F({},n));return s=>i.format(s)}),relativetime:ga((e,n)=>{let i=new Intl.RelativeTimeFormat(e,F({},n));return s=>i.format(s,n.range||"day")}),list:ga((e,n)=>{let i=new Intl.ListFormat(e,F({},n));return s=>i.format(s)})},this.init(t)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=ga(e)}format(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=e.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(o=>o.indexOf(")")>-1)){let o=s.findIndex(l=>l.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,o)].join(this.formatSeparator)}return s.reduce((o,l)=>{var d;let{formatName:u,formatOptions:c}=lO(l);if(this.formats[u]){let f=o;try{let p=((d=i==null?void 0:i.formatParams)==null?void 0:d[i.interpolationkey])||{},b=p.locale||p.lng||i.locale||i.lng||n;f=this.formats[u](o,b,F(F(F({},c),i),p))}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return o},t)}},uO=(r,t)=>{r.pending[t]!==void 0&&(delete r.pending[t],r.pendingCount--)},Vf=class extends ba{constructor(t,e,n){var s,a;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=Yr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(a=(s=this.backend)==null?void 0:s.init)==null||a.call(s,n,i.backend,i)}queueLoad(t,e,n,i){let s={},a={},o={},l={};return t.forEach(u=>{let c=!0;e.forEach(d=>{let f=`${u}|${d}`;!n.reload&&this.store.hasResourceBundle(u,d)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?a[f]===void 0&&(a[f]=!0):(this.state[f]=1,c=!1,a[f]===void 0&&(a[f]=!0),s[f]===void 0&&(s[f]=!0),l[d]===void 0&&(l[d]=!0)))}),c||(o[u]=!0)}),(Object.keys(s).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(t,e,n){let i=t.split("|"),s=i[0],a=i[1];e&&this.emit("failedLoading",s,a,e),!e&&n&&this.store.addResourceBundle(s,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&n&&(this.state[t]=0);let o={};this.queue.forEach(l=>{eO(l.loaded,[s],a),uO(l,t),e&&l.errors.push(e),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{o[u]||(o[u]={});let c=l.loaded[u];c.length&&c.forEach(d=>{o[u][d]===void 0&&(o[u][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:e,fcName:n,tried:i,wait:s,callback:a});return}this.readingCalls++;let o=(u,c)=>{if(this.readingCalls--,this.waitingReads.length>0){let d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&c&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,e,n,i+1,s*2,a)},s);return}a(u,c)},l=this.backend[n].bind(this.backend);if(l.length===2){try{let u=l(t,e);u&&typeof u.then=="function"?u.then(c=>o(null,c)).catch(o):o(null,u)}catch(u){o(u)}return}return l(t,e,o)}prepareLoading(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();Te(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Te(e)&&(e=[e]);let s=this.queueLoad(t,e,n,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(a=>{this.loadOne(a)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=t.split("|"),i=n[0],s=n[1];this.read(i,s,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${e}loading namespace ${s} for language ${i} failed`,a),!a&&o&&this.logger.log(`${e}loaded namespace ${s} for language ${i}`,o),this.loaded(t,a,o)})}saveMissing(t,e,n,i,s){var l,u,c,d,f;let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(((u=(l=this.services)==null?void 0:l.utils)==null?void 0:u.hasLoadedNamespace)&&!((d=(c=this.services)==null?void 0:c.utils)!=null&&d.hasLoadedNamespace(e))){this.logger.warn(`did not save key "${n}" as the namespace "${e}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((f=this.backend)!=null&&f.create){let p=de(F({},a),{isUpdate:s}),b=this.backend.create.bind(this.backend);if(b.length<6)try{let T;b.length===5?T=b(t,e,n,i,p):T=b(t,e,n,i),T&&typeof T.then=="function"?T.then(v=>o(null,v)).catch(o):o(null,T)}catch(T){o(T)}else b(t,e,n,i,o,p)}!t||!t[0]||this.store.addResource(t[0],e,n,i)}}},Gb=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:r=>{let t={};if(typeof r[1]=="object"&&(t=r[1]),Te(r[1])&&(t.defaultValue=r[1]),Te(r[2])&&(t.tDescription=r[2]),typeof r[2]=="object"||typeof r[3]=="object"){let e=r[3]||r[2];Object.keys(e).forEach(n=>{t[n]=e[n]})}return t},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Bb=r=>{var t,e;return Te(r.ns)&&(r.ns=[r.ns]),Te(r.fallbackLng)&&(r.fallbackLng=[r.fallbackLng]),Te(r.fallbackNS)&&(r.fallbackNS=[r.fallbackNS]),((e=(t=r.supportedLngs)==null?void 0:t.indexOf)==null?void 0:e.call(t,"cimode"))<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),typeof r.initImmediate=="boolean"&&(r.initAsync=r.initImmediate),r},Uu=()=>{},cO=r=>{Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(e=>{typeof r[e]=="function"&&(r[e]=r[e].bind(r))})},ys=class extends ba{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Bb(t),this.services={},this.logger=Yr,this.modules={external:[]},cO(this),e&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(Te(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=Gb();this.options=F(F(F({},i),this.options),Bb(e)),this.options.interpolation=F(F({},i.interpolation),this.options.interpolation),e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator);let s=c=>c?typeof c=="function"?new c:c:null;if(!this.options.isClone){this.modules.logger?Yr.init(s(this.modules.logger),this.options):Yr.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=Bf;let d=new qu(this.options);this.store=new Wu(this.options.resources,this.options);let f=this.services;f.logger=Yr,f.resourceStore=this.store,f.languageUtils=d,f.pluralResolver=new Hf(d,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(f.formatter=s(c),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Gf(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Vf(s(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(p){for(var b=arguments.length,T=new Array(b>1?b-1:0),v=1;v<b;v++)T[v-1]=arguments[v];t.emit(p,...T)}),this.modules.languageDetector&&(f.languageDetector=s(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=s(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new Ta(this.services,this.options),this.translator.on("*",function(p){for(var b=arguments.length,T=new Array(b>1?b-1:0),v=1;v<b;v++)T[v-1]=arguments[v];t.emit(p,...T)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Uu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=function(){return t.store[c](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=function(){return t.store[c](...arguments),t}});let l=Bo(),u=()=>{let c=(d,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),n(d,f)};if(this.languages&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),l}loadResources(t){var s,a;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Uu,i=Te(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();let o=[],l=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(d=>{d!=="cimode"&&o.indexOf(d)<0&&o.push(d)})};i?l(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>l(c)),(a=(s=this.options.preload)==null?void 0:s.forEach)==null||a.call(s,u=>l(u)),this.services.backendConnector.load(o,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(u)})}else n(null)}reloadResources(t,e,n){let i=Bo();return typeof t=="function"&&(n=t,t=void 0),typeof e=="function"&&(n=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),n||(n=Uu),this.services.backendConnector.reload(t,e,s=>{i.resolve(),n(s)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&zb.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let e=0;e<this.languages.length;e++){let n=this.languages[e];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;let i=Bo();this.emit("languageChanging",t);let s=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,u)=>{u?(s(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),e&&e(l,function(){return n.t(...arguments)})},o=l=>{var c,d;!t&&!l&&this.services.languageDetector&&(l=[]);let u=Te(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||s(u),this.translator.language||this.translator.changeLanguage(u),(d=(c=this.services.languageDetector)==null?void 0:c.cacheUserLanguage)==null||d.call(c,u)),this.loadResources(u,f=>{a(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),i}getFixedT(t,e,n){var i=this;let s=function(a,o){let l;if(typeof o!="object"){for(var u=arguments.length,c=new Array(u>2?u-2:0),d=2;d<u;d++)c[d-2]=arguments[d];l=i.options.overloadTranslationOptionHandler([a,o].concat(c))}else l=F({},o);l.lng=l.lng||s.lng,l.lngs=l.lngs||s.lngs,l.ns=l.ns||s.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||n||s.keyPrefix);let f=i.options.keySeparator||".",p;return l.keyPrefix&&Array.isArray(a)?p=a.map(b=>`${l.keyPrefix}${f}${b}`):p=l.keyPrefix?`${l.keyPrefix}${f}${a}`:a,i.t(p,l)};return Te(t)?s.lng=t:s.lngs=t,s.ns=e,s.keyPrefix=n,s}t(){var i;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(i=this.translator)==null?void 0:i.translate(...e)}exists(){var i;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(i=this.translator)==null?void 0:i.exists(...e)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=e.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;let a=(o,l)=>{let u=this.services.backendConnector.state[`${o}|${l}`];return u===-1||u===0||u===2};if(e.precheck){let o=e.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(s,t)))}loadNamespaces(t,e){let n=Bo();return this.options.ns?(Te(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),e&&e(i)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){let n=Bo();Te(t)&&(t=[t]);let i=this.options.preload||[],s=t.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return s.length?(this.options.preload=i.concat(s),this.loadResources(a=>{n.resolve(),e&&e(a)}),n):(e&&e(),Promise.resolve())}dir(t){var i,s;if(t||(t=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!t)return"rtl";let e=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((s=this.services)==null?void 0:s.languageUtils)||new qu(Gb());return e.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new ys(t,e)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Uu,n=t.forkResourceStore;n&&delete t.forkResourceStore;let i=de(F(F({},this.options),t),{isClone:!0}),s=new ys(i);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(o=>{s[o]=this[o]}),s.services=F({},this.services),s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},n){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]=F({},this.store.data[u]),Object.keys(l[u]).reduce((c,d)=>(c[d]=F({},l[u][d]),c),{})),{});s.store=new Wu(o,i),s.services.resourceStore=s.store}return s.translator=new Ta(s.services,i),s.translator.on("*",function(o){for(var l=arguments.length,u=new Array(l>1?l-1:0),c=1;c<l;c++)u[c-1]=arguments[c];s.emit(o,...u)}),s.init(i,e),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},yt=ys.createInstance();yt.createInstance=ys.createInstance;h$=yt.createInstance,g$=yt.dir,y$=yt.init,b$=yt.loadResources,T$=yt.reloadResources,v$=yt.use,_$=yt.changeLanguage,w$=yt.getFixedT,k$=yt.t,S$=yt.exists,D$=yt.setDefaultNamespace,E$=yt.hasLoadedNamespace,x$=yt.loadNamespaces,O$=yt.loadLanguages});var Zb,Qb=Z(()=>{Zb={main:{loadingPlugin:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}",unloadingPlugin:"\u0412\u044B\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u041A\u0430\u043B\u0456 \u045E\u043A\u043B\u044E\u0447\u0430\u043D\u0430, \u0433\u044D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0437\u0435 \u0434\u0430\u0441\u0442\u0443\u043F\u043D\u044B \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u043A\u0430\u043C\u0430\u043D\u0434\u044B, \u0442\u0430\u043A \u0448\u0442\u043E \u0432\u044B \u0437\u043C\u043E\u0436\u0430\u0446\u0435 \u043F\u0440\u044B\u0437\u043D\u0430\u0447\u044B\u0446\u044C \u0433\u0430\u0440\u0430\u0447\u0443\u044E \u043A\u043B\u0430\u0432\u0456\u0448\u0443 \u0456 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u0430\u0446\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0437 \u044F\u0435 \u0434\u0430\u043F\u0430\u043C\u043E\u0433\u0430\u0439.",name:"\u0414\u0430\u0441\u0442\u0443\u043F\u043D\u044B \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u043A\u0430\u043C\u0430\u043D\u0434\u044B"},editNextStatusSymbol:{description:"\u041F\u0440\u044B \u043D\u0430\u0446\u0456\u0441\u043A\u0443 \u0433\u044D\u0442\u0430 \u0441\u0456\u043C\u0432\u0430\u043B, \u044F\u043A\u0456 \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043D\u044B \u0434\u0430\u043B\u0435\u0439.",name:"\u0421\u0456\u043C\u0432\u0430\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},editStatusName:{description:"\u0413\u044D\u0442\u0430 \u0437\u0440\u0430\u0437\u0443\u043C\u0435\u043B\u0430\u0435 \u0456\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0406\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},editStatusSymbol:{description:"\u0413\u044D\u0442\u0430 \u0441\u0456\u043C\u0432\u0430\u043B \u043F\u0430\u043C\u0456\u0436 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u043C\u0456 \u0434\u0443\u0436\u043A\u0430\u043C\u0456. (\u042F\u0433\u043E \u043C\u043E\u0436\u043D\u0430 \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0442\u043E\u043B\u044C\u043A\u0456 \u0434\u043B\u044F \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E, \u0430 \u043D\u0435 \u0434\u043B\u044F \u0430\u0441\u043D\u043E\u045E\u043D\u044B\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E.)",name:"\u0421\u0456\u043C\u0432\u0430\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},editStatusType:{description:"\u041A\u0456\u0440\u0443\u0439\u0446\u0435 \u0442\u044B\u043C, \u044F\u043A \u0441\u0442\u0430\u0442\u0443\u0441 \u043F\u0430\u0432\u043E\u0434\u0437\u0456\u0446\u044C \u0441\u044F\u0431\u0435 \u043F\u0440\u044B \u043F\u043E\u0448\u0443\u043A\u0443 \u0456 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0456.",name:"\u0422\u044B\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},fixErrorsBeforeSaving:"\u0412\u044B\u043F\u0440\u0430\u045E\u0446\u0435 \u043F\u0430\u043C\u044B\u043B\u043A\u0456 \u043F\u0435\u0440\u0430\u0434 \u0437\u0430\u0445\u0430\u0432\u0430\u043D\u043D\u0435\u043C."}},reports:{statusRegistry:{about:{createdBy:"\u0413\u044D\u0442\u044B \u0444\u0430\u0439\u043B \u0431\u044B\u045E \u0441\u0442\u0432\u043E\u0440\u0430\u043D\u044B \u043F\u043B\u0430\u0433\u0456\u043D\u0430\u043C Obsidian Tasks (\u0432\u0435\u0440\u0441\u0456\u044F {{version}}) \u0434\u043B\u044F \u0432\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0430\u0446\u044B\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0437\u0430\u0434\u0430\u0447 \u0443 \u0433\u044D\u0442\u044B\u043C \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u044B.",deleteFileAnyTime:"\u0412\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0432\u044B\u0434\u0430\u043B\u0456\u0446\u044C \u0433\u044D\u0442\u044B \u0444\u0430\u0439\u043B \u0443 \u043B\u044E\u0431\u044B \u043C\u043E\u043C\u0430\u043D\u0442.",title:"\u041F\u0440\u0430 \u0433\u044D\u0442\u044B \u0444\u0430\u0439\u043B",updateReport:{line1:"\u041A\u0430\u043B\u0456 \u0432\u044B \u0437\u043C\u044F\u043D\u044F\u0435\u0446\u0435 \u043D\u0430\u043B\u0430\u0434\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0443 Tasks, \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0430\u0442\u0440\u044B\u043C\u0430\u0446\u044C \u0430\u0431\u043D\u043E\u045E\u043B\u0435\u043D\u044B \u0441\u043F\u0440\u0430\u0432\u0430\u0437\u0434\u0430\u0447\u0443:",line2:"\u041F\u0435\u0440\u0430\u0439\u0448\u043E\u045E\u0448\u044B \u045E `\u041D\u0430\u043B\u0430\u0434\u044B` -> `Tasks`.",line3:"\u041D\u0430\u0446\u0456\u0441\u043D\u0443\u045E\u0448\u044B \u043D\u0430 `\u041F\u0440\u0430\u0433\u043B\u044F\u0434\u0437\u0435\u0446\u044C \u0456 \u043F\u0440\u0430\u0432\u0435\u0440\u044B\u0446\u044C \u0432\u0430\u0448\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u044B`."}},columnHeadings:{nextStatusSymbol:"\u0421\u0456\u043C\u0432\u0430\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443",problems:"\u041F\u0440\u0430\u0431\u043B\u0435\u043C\u044B (\u043A\u0430\u043B\u0456 \u0451\u0441\u0446\u044C)",statusName:"\u0406\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusSymbol:"\u0421\u0456\u043C\u0432\u0430\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusType:"\u0422\u044B\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443"},loadedSettings:{settingsActuallyUsed:"\u0413\u044D\u0442\u0430 \u043D\u0430\u043B\u0430\u0434\u044B, \u044F\u043A\u0456\u044F \u0441\u0430\u043F\u0440\u0430\u045E\u0434\u044B \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u044E\u0446\u0446\u0430 Tasks.",switchToLivePreview:"\u041F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044B\u0446\u0435\u0441\u044F \u045E \u0440\u044D\u0436\u044B\u043C \u043F\u0430\u043F\u044F\u0440\u044D\u0434\u043D\u044F\u0433\u0430 \u043F\u0440\u0430\u0433\u043B\u044F\u0434\u0443 \u045E \u0440\u044D\u0430\u043B\u044C\u043D\u044B\u043C \u0447\u0430\u0441\u0435 \u0430\u0431\u043E \u0440\u044D\u0436\u044B\u043C \u0447\u044B\u0442\u0430\u043D\u043D\u044F, \u043A\u0430\u0431 \u0443\u0431\u0430\u0447\u044B\u0446\u044C \u0434\u044B\u044F\u0433\u0440\u0430\u043C\u0443.",title:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u043D\u044B\u044F \u043D\u0430\u043B\u0430\u0434\u044B"},messages:{cannotFindNextStatus:"\u041D\u0435\u0447\u0430\u043A\u0430\u043D\u0430\u044F \u043F\u0430\u043C\u044B\u043B\u043A\u0430 \u043F\u0440\u044B \u043F\u043E\u0448\u0443\u043A\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443.",duplicateSymbol:"\u0414\u0443\u0431\u043B\u0456\u043A\u0430\u0442 \u0441\u0456\u043C\u0432\u0430\u043B\u0430 '{{symbol}}': \u0433\u044D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0437\u0435 \u043F\u0440\u0430\u0456\u0433\u043D\u0430\u0440\u0430\u0432\u0430\u043D\u044B.",emptySymbol:"\u041F\u0443\u0441\u0442\u044B \u0441\u0456\u043C\u0432\u0430\u043B: \u0433\u044D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0437\u0435 \u043F\u0440\u0430\u0456\u0433\u043D\u0430\u0440\u0430\u0432\u0430\u043D\u044B.",nextSymbolUnknown:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u044B \u0441\u0456\u043C\u0432\u0430\u043B {{symbol}} \u043D\u0435\u0432\u044F\u0434\u043E\u043C\u044B: \u0441\u0442\u0432\u0430\u0440\u044B\u0446\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437 \u0441\u0456\u043C\u0432\u0430\u043B\u0430\u043C {{symbol}}.",notConventionalType:"\u0414\u043B\u044F \u0456\u043D\u0444\u0430\u0440\u043C\u0430\u0446\u044B\u0456, \u0437\u0432\u044B\u0447\u0430\u0439\u043D\u044B \u0442\u044B\u043F \u0434\u043B\u044F \u0441\u0456\u043C\u0432\u0430\u043B\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 {{symbol}} - {{type}}: \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u043F\u0435\u0440\u0430\u0433\u043B\u0435\u0434\u0437\u0435\u0446\u044C \u0433\u044D\u0442\u044B \u0442\u044B\u043F.",wrongTypeAfterDone:{line1:"\u041F\u0430\u0441\u043B\u044F \u0433\u044D\u0442\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 `DONE` \u0456\u0434\u0437\u0435 {{nextType}}, \u0430 \u043D\u0435 `TODO` \u0430\u0431\u043E `IN_PROGRESS`.",line2:"\u041F\u0440\u044B \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043D\u043D\u0456 \u0434\u043B\u044F \u0437\u0430\u0432\u044F\u0440\u0448\u044D\u043D\u043D\u044F \u043F\u0435\u0440\u044B\u044F\u0434\u044B\u0447\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B \u044F\u043D\u0430 \u0437\u0430\u043C\u0435\u0441\u0442 \u0433\u044D\u0442\u0430\u0433\u0430 \u0431\u0443\u0434\u0437\u0435 \u0441\u0443\u043F\u0440\u0430\u0432\u0430\u0434\u0436\u0430\u0446\u0446\u0430 `TODO` \u0430\u0431\u043E `IN_PROGRESS`, \u043A\u0430\u0431 \u0433\u0430\u0440\u0430\u043D\u0442\u0430\u0432\u0430\u0446\u044C, \u0448\u0442\u043E \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430 \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0435 \u0444\u0456\u043B\u044C\u0442\u0440\u0443 `\u043D\u0435 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u0430`.",line3:"\u0413\u043B\u044F\u0434\u0437\u0456\u0446\u0435 [Recurring Tasks and Custom Statuses]({{helpURL}})."}},sampleTasks:{line1:"\u0412\u043E\u0441\u044C \u043F\u0430 \u0430\u0434\u043D\u044B\u043C \u043F\u0440\u044B\u043A\u043B\u0430\u0434\u0437\u0435 \u0440\u0430\u0434\u043A\u0430 \u0437\u0430\u0434\u0430\u0447\u044B \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0433\u0430 \u0441\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E, \u044F\u043A\u0456\u044F \u0444\u0430\u043A\u0442\u044B\u0447\u043D\u0430 \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u044E\u0446\u0446\u0430 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0456, \u043A\u0430\u0431 \u0432\u044B \u043C\u0430\u0433\u043B\u0456 \u043F\u0430\u044D\u043A\u0441\u043F\u0435\u0440\u044B\u043C\u0435\u043D\u0442\u0430\u0432\u0430\u0446\u044C.",line2:"\u0421\u0456\u043C\u0432\u0430\u043B\u044B \u0456 \u043D\u0430\u0437\u0432\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0443 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u044F\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u044B\u043B\u0456 \u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B\u043C\u0456 \u043D\u0430 \u043C\u043E\u043C\u0430\u043D\u0442 \u0441\u0442\u0432\u0430\u0440\u044D\u043D\u043D\u044F \u0433\u044D\u0442\u0430\u0433\u0430 \u0444\u0430\u0439\u043B\u0430.",line3:"\u041A\u0430\u043B\u0456 \u0432\u044B \u0437\u043C\u044F\u043D\u0456\u043B\u0456 \u043F\u0440\u044B\u043A\u043B\u0430\u0434\u044B \u0437\u0430\u0434\u0430\u0447 \u0437 \u043C\u043E\u043C\u0430\u043D\u0442\u0443 \u0456\u0445 \u0441\u0442\u0432\u0430\u0440\u044D\u043D\u043D\u044F, \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u045E\u0431\u0430\u0447\u044B\u0446\u044C \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u044F \u0442\u044B\u043F\u044B \u0456 \u043D\u0430\u0437\u0432\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0443 \u0437\u0430\u0433\u0430\u043B\u043E\u045E\u043A\u0430\u0445 \u0433\u0440\u0443\u043F \u0443 \u043F\u043E\u0448\u0443\u043A\u0443 \u0437\u0430\u0434\u0430\u0447 \u043D\u0456\u0436\u044D\u0439.",tip:{line1:"\u041F\u0430\u0440\u0430\u0434\u0430: \u041A\u0430\u043B\u0456 \u045E\u0441\u0435 \u0432\u0430\u0448\u044B \u0441\u0446\u044F\u0436\u043A\u0456 \u0432\u044B\u0433\u043B\u044F\u0434\u0430\u044E\u0446\u044C \u0430\u0434\u043D\u043E\u043B\u044C\u043A\u0430\u0432\u0430...",line2:"\u041A\u0430\u043B\u0456 \u045E\u0441\u0435 \u0441\u0446\u044F\u0436\u043A\u0456 \u0432\u044B\u0433\u043B\u044F\u0434\u0430\u044E\u0446\u044C \u0430\u0434\u043D\u043E\u043B\u044C\u043A\u0430\u0432\u0430 \u045E \u0420\u044D\u0436\u044B\u043C\u0435 \u0447\u044B\u0442\u0430\u043D\u043D\u044F \u0430\u0431\u043E Live Preview, \u0433\u043B\u044F\u0434\u0437\u0456\u0446\u0435 [\u0421\u0442\u044B\u043B\u0456\u0437\u0430\u0432\u0430\u0446\u044C \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B]({{url}}), \u043A\u0430\u0431 \u0434\u0430\u0432\u0435\u0434\u0430\u0446\u0446\u0430, \u044F\u043A \u0432\u044B\u0431\u0440\u0430\u0446\u044C \u0442\u044D\u043C\u0443 \u0430\u0431\u043E CSS-\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u0434\u043B\u044F \u0441\u0442\u044B\u043B\u0456\u0437\u0430\u0446\u044B\u0456 \u0432\u0430\u0448\u044B\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E."},title:"\u041F\u0440\u044B\u043A\u043B\u0430\u0434\u044B \u0437\u0430\u0434\u0430\u0447"},searchSampleTasks:{line1:"\u0413\u044D\u0442\u044B \u043F\u043E\u0448\u0443\u043A \u0437\u0430\u0434\u0430\u0447 \u043F\u0430\u043A\u0430\u0437\u0432\u0430\u0435 \u045E\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u044B \u045E \u0433\u044D\u0442\u044B\u043C \u0444\u0430\u0439\u043B\u0435, \u0437\u0433\u0440\u0443\u043F\u0430\u0432\u0430\u043D\u044B\u044F \u043F\u0430 \u0442\u044B\u043F\u0435 \u0456 \u043D\u0430\u0437\u0432\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430.",title:"\u041F\u043E\u0448\u0443\u043A \u043F\u0430 \u043F\u0440\u044B\u043A\u043B\u0430\u0434\u0430\u0445 \u0437\u0430\u0434\u0430\u0447"},statusSettings:{comment:{line1:"\u041F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044B\u0446\u0435\u0441\u044F \u045E \u0440\u044D\u0436\u044B\u043C \u043F\u0430\u043F\u044F\u0440\u044D\u0434\u043D\u044F\u0433\u0430 \u043F\u0440\u0430\u0433\u043B\u044F\u0434\u0443 \u045E \u0440\u044D\u0430\u043B\u044C\u043D\u044B\u043C \u0447\u0430\u0441\u0435 \u0430\u0431\u043E \u0440\u044D\u0436\u044B\u043C \u0447\u044B\u0442\u0430\u043D\u043D\u044F, \u043A\u0430\u0431 \u0443\u0431\u0430\u0447\u044B\u0446\u044C \u0442\u0430\u0431\u043B\u0456\u0446\u0443.",line2:"\u041A\u0430\u043B\u0456 \u045E \u0456\u043C\u0451\u043D\u0430\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0451\u0441\u0446\u044C \u044F\u043A\u0456\u044F-\u043D\u0435\u0431\u0443\u0434\u0437\u044C \u0441\u0456\u043C\u0432\u0430\u043B\u044B \u0444\u0430\u0440\u043C\u0430\u0442\u0430\u0432\u0430\u043D\u043D\u044F Markdown, \u0442\u0430\u043A\u0456\u044F \u044F\u043A '*' \u0430\u0431\u043E '_',",line3:"Obsidian \u043C\u043E\u0436\u0430 \u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430 \u0430\u0434\u043B\u044E\u0441\u0442\u0440\u0430\u0432\u0430\u0446\u044C \u0442\u0430\u0431\u043B\u0456\u0446\u0443 \u0442\u043E\u043B\u044C\u043A\u0456 \u045E \u0440\u044D\u0436\u044B\u043C\u0435 \u0447\u044B\u0442\u0430\u043D\u043D\u044F."},theseAreStatusValues:"\u0413\u044D\u0442\u0430 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u045E \u0440\u0430\u0437\u0434\u0437\u0435\u043B\u0430\u0445 Core \u0456 Custom statuses.",title:"\u041D\u0430\u043B\u0430\u0434\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0443"}}},settings:{autoSuggest:{heading:"\u0410\u045E\u0442\u0430\u043F\u0430\u0434\u043A\u0430\u0437\u043A\u0430",maxSuggestions:{description:"\u041A\u043E\u043B\u044C\u043A\u0456 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C \u043F\u0430\u043A\u0430\u0437\u0430\u043D\u0430 \u043F\u0440\u044B \u0437'\u044F\u045E\u043B\u0435\u043D\u043D\u0456 \u043C\u0435\u043D\u044E \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u044B\u0445 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E (\u0443\u043A\u043B\u044E\u0447\u0430\u044E\u0447\u044B \u043E\u043F\u0446\u044B\u044E \xAB\u23CE\xBB).",name:"\u041C\u0430\u043A\u0441\u0456\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u043E\u043B\u044C\u043A\u0430\u0441\u0446\u044C \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u044B\u0445 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E \u0434\u043B\u044F \u043F\u0430\u043A\u0430\u0437\u0443"},minLength:{description:"\u041A\u0430\u043B\u0456 \u0432\u044B\u0448\u044D\u0439 \u0437\u0430 0, \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430\u044F \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u0432\u0430 \u0431\u0443\u0434\u0437\u0435 \u0441\u043F\u0440\u0430\u0446\u043E\u045E\u0432\u0430\u0446\u044C \u0442\u043E\u043B\u044C\u043A\u0456 \u0442\u0430\u0434\u044B, \u043A\u0430\u043B\u0456 \u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u0435\u0446\u0446\u0430 \u043F\u0430\u0447\u0430\u0442\u0430\u043A \u043B\u044E\u0431\u043E\u0433\u0430 \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043E\u045E\u0432\u0430\u043D\u0430\u0433\u0430 \u043A\u043B\u044E\u0447\u0430\u0432\u043E\u0433\u0430 \u0441\u043B\u043E\u0432\u0430.",name:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u045E\u0436\u044B\u043D\u044F \u0441\u0443\u043F\u0430\u0434\u0437\u0435\u043D\u043D\u044F \u0434\u043B\u044F \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430\u0439 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u0432\u044B"},toggle:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0430\u0434\u043A\u0440\u044B\u0435 \u0456\u043D\u0442\u044D\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0430\u0435 \u043C\u0435\u043D\u044E \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E \u043F\u0440\u044B \u045E\u0432\u043E\u0434\u0437\u0435 \u0442\u044D\u043A\u0441\u0442\u0443 \u045E\u043D\u0443\u0442\u0440\u044B \u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u0430\u0439 \u043B\u0456\u043D\u0456\u0456 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0410\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E\u0432\u0430\u0446\u044C \u0437\u043C\u0435\u0441\u0442 \u0437\u0430\u0434\u0430\u0447\u044B"}},changeRequiresRestart:"\u0417\u043C\u0435\u043D\u0430 \u043B\u044E\u0431\u044B\u0445 \u043D\u0430\u043B\u0430\u0434 \u043F\u0430\u0442\u0440\u0430\u0431\u0443\u0435 \u043F\u0435\u0440\u0430\u0437\u0430\u043F\u0443\u0441\u043A\u0443 Obsidian.",dates:{cancelledDate:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0434\u0430\u0434\u0430\u0441\u0446\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u043F\u0430\u0437\u043D\u0430\u043A\u0443 \u274C YYYY-MM-DD \u045E \u043A\u0430\u043D\u0446\u044B, \u043A\u0430\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u0430\u0435\u0446\u0446\u0430 \u045E \u0430\u0434\u043C\u0435\u043D\u0435\u043D\u044B \u0441\u0442\u0430\u043D.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u0456\u0446\u044C \u0434\u0430\u0442\u0443 \u0430\u0434\u043C\u0435\u043D\u044B \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0439 \u0430\u0434\u043C\u0435\u043D\u0435\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B"},createdDate:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0434\u0430\u0434\u0430\u0441\u0446\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u043F\u0430\u0437\u043D\u0430\u043A\u0443 \u2795 YYYY-MM-DD \u043F\u0435\u0440\u0430\u0434 \u0456\u043D\u0448\u044B\u043C\u0456 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u044F\u043C\u0456 \u0434\u0430\u0442\u044B, \u043A\u0430\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0442\u0432\u0430\u0440\u0430\u0435\u0446\u0446\u0430 \u0437 \u0434\u0430\u043F\u0430\u043C\u043E\u0433\u0430\u0439 \xAB\u0421\u0442\u0432\u0430\u0440\u044B\u0446\u044C \u0430\u0431\u043E \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0437\u0430\u0434\u0430\u0447\u0443\xBB \u0430\u0431\u043E \u043F\u0440\u044B \u0437\u0430\u0432\u044F\u0440\u0448\u044D\u043D\u043D\u0456 \u043F\u0435\u0440\u044B\u044F\u0434\u044B\u0447\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u0456\u0446\u044C \u0434\u0430\u0442\u0443 \u0441\u0442\u0432\u0430\u0440\u044D\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0439 \u0434\u0430\u0434\u0430\u0434\u0437\u0435\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B"},doneDate:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0434\u0430\u0434\u0430\u0441\u0446\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u043F\u0430\u0437\u043D\u0430\u043A\u0443 \u2705 YYYY-MM-DD \u045E \u043A\u0430\u043D\u0446\u044B, \u043A\u0430\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u0430\u0435\u0446\u0446\u0430 \u045E \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u044B \u0441\u0442\u0430\u043D.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u0456\u0446\u044C \u0434\u0430\u0442\u0443 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0439 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B"},heading:"\u0414\u0430\u0442\u044B"},datesFromFileNames:{heading:"\u0414\u0430\u0442\u044B \u0437 \u0456\u043C\u0451\u043D\u0430\u045E \u0444\u0430\u0439\u043B\u0430\u045E",scheduledDate:{extraFormat:{description:{line1:"\u0414\u0430\u0434\u0430\u0442\u043A\u043E\u0432\u044B \u0444\u0430\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B, \u044F\u043A\u0456 \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0431\u0443\u0434\u0437\u0435 \u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u0432\u0430\u0446\u044C \u043F\u0440\u044B \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043D\u043D\u0456 \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u044B.",line2:"\u0414\u0430\u0432\u0435\u0434\u043A\u0430 \u043F\u0430 \u0441\u0456\u043D\u0442\u0430\u043A\u0441\u0456\u0441\u0435"},name:"\u0414\u0430\u0434\u0430\u0442\u043A\u043E\u0432\u044B \u0444\u0430\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u044B",placeholder:"\u043F\u0440\u044B\u043A\u043B\u0430\u0434: MMM DD YYYY"},folders:{description:"\u041F\u0430\u043A\u0456\u043D\u044C\u0446\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u043A\u0430\u043B\u0456 \u0445\u043E\u0447\u0430\u0446\u0435 \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0446\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u044B\u044F \u0434\u0430\u0442\u044B \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456 \u043F\u0430\u045E\u0441\u044E\u043B\u044C, \u0430\u0431\u043E \u045E\u0432\u044F\u0434\u0437\u0456\u0446\u0435 \u0441\u043F\u0456\u0441 \u0442\u044D\u0447\u0430\u043A, \u043F\u0430\u0434\u0437\u0435\u043B\u0435\u043D\u044B\u0445 \u043A\u043E\u0441\u043A\u0430\u043C\u0456.",name:"\u0422\u044D\u0447\u043A\u0456 \u0437 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u044B\u043C\u0456 \u0434\u0430\u0442\u0430\u043C\u0456 \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456"},toggle:{description:{line1:"\u042D\u043A\u0430\u043D\u043E\u043C\u0446\u0435 \u0447\u0430\u0441, \u0443\u0432\u043E\u0434\u0437\u044F\u0447\u044B \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u044B\u044F (\u23F3) \u0434\u0430\u0442\u044B.",line2:"\u041A\u0430\u043B\u0456 \u0433\u044D\u0442\u0430\u044F \u043E\u043F\u0446\u044B\u044F \u045E\u043A\u043B\u044E\u0447\u0430\u043D\u0430, \u043B\u044E\u0431\u044B\u043C \u0437\u0430\u0434\u0430\u0447\u0430\u043C \u0431\u0435\u0437 \u0434\u0430\u0442\u044B \u0431\u0443\u0434\u0437\u0435 \u043F\u0440\u044B\u0437\u043D\u0430\u0447\u0430\u043D\u0430 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456, \u0432\u044B\u043D\u044F\u0442\u0430\u044F \u0437 \u0456\u0445 \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430.",line3:"\u041F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456 \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0431\u0443\u0434\u0437\u0435 \u0441\u0443\u043F\u0430\u0441\u0442\u0430\u045E\u043B\u044F\u0446\u044C \u0444\u0430\u0440\u043C\u0430\u0442\u044B \u0434\u0430\u0442\u044B <code>YYYY-MM-DD</code> \u0456 <code>YYYYMMDD</code>.",line4:"\u0417\u0430\u0434\u0430\u0447\u044B \u0431\u0435\u0437 \u0434\u0430\u0442\u044B \u043D\u0435 \u043C\u0430\u044E\u0446\u044C \u043D\u0456\u0432\u043E\u0434\u043D\u0430\u0439 \u0437 \u0434\u0430\u0442: Due (\u{1F4C5} ), Scheduled (\u23F3) \u0456 Start (\u{1F6EB})."},name:"\u0412\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0446\u044C \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u044B"}}},dialogs:{accessKeys:{description:"\u041A\u0430\u043B\u0456 \u043A\u043B\u0430\u0432\u0456\u0448\u044B \u0434\u043E\u0441\u0442\u0443\u043F\u0443 (\u043A\u043B\u0430\u0432\u0456\u044F\u0442\u0443\u0440\u043D\u044B\u044F \u0441\u043A\u0430\u0440\u0430\u0447\u044D\u043D\u043D\u0456) \u0434\u043B\u044F \u0440\u043E\u0437\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E \u043A\u0456\u0440\u0430\u0432\u0430\u043D\u043D\u044F \u045E \u0434\u044B\u044F\u043B\u043E\u0433\u0430\u0432\u044B\u0445 \u0432\u043E\u043A\u043D\u0430\u0445 \u043A\u0430\u043D\u0444\u043B\u0456\u043A\u0442\u0443\u044E\u0446\u044C \u0437 \u0441\u0456\u0441\u0442\u044D\u043C\u043D\u044B\u043C\u0456 \u043A\u043B\u0430\u0432\u0456\u044F\u0442\u0443\u0440\u043D\u044B\u043C\u0456 \u0441\u043A\u0430\u0440\u0430\u0447\u044D\u043D\u043D\u044F\u043C\u0456 \u0430\u0431\u043E \u0444\u0443\u043D\u043A\u0446\u044B\u044F\u043C\u0456 \u0434\u0430\u043F\u0430\u043C\u043E\u0436\u043D\u0430\u0439 \u0442\u044D\u0445\u043D\u0430\u043B\u043E\u0433\u0456\u0456, \u044F\u043A\u0456\u044F \u0432\u0430\u0436\u043D\u044B\u044F \u0434\u043B\u044F \u0432\u0430\u0441, \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0430\u0434\u043A\u043B\u044E\u0447\u044B\u0446\u044C \u0456\u0445 \u0442\u0443\u0442.",name:"\u0417\u0430\u0431\u044F\u0441\u043F\u0435\u0447\u044B\u0446\u044C \u043A\u043B\u0430\u0432\u0456\u0448\u044B \u0434\u043E\u0441\u0442\u0443\u043F\u0443 \u045E \u0434\u044B\u044F\u043B\u043E\u0433\u0430\u0445"},heading:"\u0414\u044B\u044F\u043B\u043E\u0433\u0456"},format:{description:{line1:"\u0424\u0430\u0440\u043C\u0430\u0442, \u044F\u043A\u0456 Tasks \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0435 \u0434\u043B\u044F \u0447\u044B\u0442\u0430\u043D\u043D\u044F \u0456 \u0437\u0430\u043F\u0456\u0441\u0443 \u0437\u0430\u0434\u0430\u0447.",line2:"<b>\u0412\u0430\u0436\u043D\u0430:</b> Tasks \u0443 \u0446\u044F\u043F\u0435\u0440\u0430\u0448\u043D\u0456 \u0447\u0430\u0441 \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u0442\u043E\u043B\u044C\u043A\u0456 \u0430\u0434\u0437\u0456\u043D \u0444\u0430\u0440\u043C\u0430\u0442 \u0430\u0434\u043D\u0430\u0447\u0430\u0441\u043E\u0432\u0430. \u0412\u044B\u0431\u0430\u0440 Dataview \u0443 \u0446\u044F\u043F\u0435\u0440\u0430\u0448\u043D\u0456 \u0447\u0430\u0441 <b>\u0441\u043F\u044B\u043D\u0456\u0446\u044C \u0447\u044B\u0442\u0430\u043D\u043D\u0435 Tasks \u0441\u0432\u0430\u0456\u0445 \u0443\u043B\u0430\u0441\u043D\u044B\u0445 \u0437\u043D\u0430\u043A\u0430\u045E \u044D\u043C\u043E\u0434\u0437\u0456</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0424\u0430\u0440\u043C\u0430\u0442 \u044D\u043C\u043E\u0434\u0437\u0456 Tasks"},name:"\u0424\u0430\u0440\u043C\u0430\u0442 \u0437\u0430\u0434\u0430\u0447\u044B"},globalFilter:{filter:{description:{line1:"\u0420\u044D\u043A\u0430\u043C\u0435\u043D\u0434\u0443\u0435\u0446\u0446\u0430: \u043F\u0430\u043A\u0456\u043D\u044C\u0446\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u043A\u0430\u043B\u0456 \u0445\u043E\u0447\u0430\u0446\u0435, \u043A\u0430\u0431 \u0443\u0441\u0435 \u043F\u0443\u043D\u043A\u0442\u044B \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u045E \u0432\u0430\u0448\u044B\u043C \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u044B \u0431\u044B\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0456, \u044F\u043A\u0456\u043C\u0456 \u043A\u0456\u0440\u0443\u0435 \u0433\u044D\u0442\u044B \u043F\u043B\u0430\u0433\u0456\u043D.",line2:"\u0412\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0439\u0446\u0435 \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440, \u043A\u0430\u043B\u0456 \u0432\u044B \u0445\u043E\u0447\u0430\u0446\u0435, \u043A\u0430\u0431 Tasks \u0434\u0437\u0435\u0439\u043D\u0456\u0447\u0430\u045E \u0442\u043E\u043B\u044C\u043A\u0456 \u043D\u0430 \u043F\u0430\u0434\u043C\u043D\u043E\u0441\u0442\u0432\u0430 \u0432\u0430\u0448\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \xAB<code>- [ ]</code>\xBB, \u0442\u0430\u043A\u0456\u043C \u0447\u044B\u043D\u0430\u043C, \u043A\u0430\u0431 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u045E\u043A\u043B\u044E\u0447\u0430\u045E \u0443 \u0441\u0432\u0430\u0451 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u0435 \u0432\u044B\u0437\u043D\u0430\u0447\u0430\u043D\u044B \u0440\u0430\u0434\u043E\u043A, \u043A\u0430\u0431 \u043B\u0456\u0447\u044B\u0446\u0446\u0430 \u0437\u0430\u0434\u0430\u0447\u0430\u0439.",line3:"\u041D\u0430\u043F\u0440\u044B\u043A\u043B\u0430\u0434, \u043A\u0430\u043B\u0456 \u0432\u044B \u045E\u0441\u0442\u0430\u043B\u044E\u0435\u0446\u0435 \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440 \u043D\u0430 <code>#task</code>, \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0431\u0443\u0434\u0437\u0435 \u0430\u043F\u0440\u0430\u0446\u043E\u045E\u0432\u0430\u0446\u044C \u0442\u043E\u043B\u044C\u043A\u0456 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443, \u043F\u0430\u0437\u043D\u0430\u0447\u0430\u043D\u044B\u044F <code>#task</code>.",line4:"\u0406\u043D\u0448\u044B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u0437\u0430\u0441\u0442\u0430\u043D\u0443\u0446\u0446\u0430 \u0437\u0432\u044B\u0447\u0430\u0439\u043D\u044B\u043C\u0456 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0456 \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u0456 \u043D\u0435 \u0431\u0443\u0434\u0443\u0446\u044C \u0437'\u044F\u045E\u043B\u044F\u0446\u0446\u0430 \u045E \u0437\u0430\u043F\u044B\u0442\u0430\u0445, \u0456 \u0434\u043B\u044F \u0456\u0445 \u043D\u0435 \u0431\u0443\u0434\u0437\u0435 \u045E\u0441\u0442\u0430\u043D\u043E\u045E\u043B\u0435\u043D\u0430 \u0434\u0430\u0442\u0430 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u043D\u044F."},name:"\u0413\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440",placeholder:"\u043D\u0430\u043F\u0440\u044B\u043A\u043B\u0430\u0434 #task \u0430\u0431\u043E TODO"},heading:"\u0413\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440 \u0437\u0430\u0434\u0430\u0447",removeFilter:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0432\u044B\u0434\u0430\u043B\u0456\u0446\u044C \u0440\u0430\u0434\u043E\u043A, \u044F\u043A\u0456 \u0432\u044B \u045E\u0441\u0442\u0430\u043B\u044F\u0432\u0430\u043B\u0456 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u0430\u0433\u0430 \u0444\u0456\u043B\u044C\u0442\u0440\u0430, \u0437 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u044F \u0437\u0430\u0434\u0430\u0447\u044B \u043F\u0440\u044B \u0430\u0434\u043B\u044E\u0441\u0442\u0440\u0430\u0432\u0430\u043D\u043D\u0456 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0412\u044B\u0434\u0430\u043B\u0456\u0446\u044C \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440 \u0437 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u044F"}},globalQuery:{heading:"\u0413\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0437\u0430\u043F\u044B\u0442",query:{description:"\u0417\u0430\u043F\u044B\u0442, \u044F\u043A\u0456 \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430 \u045E\u043A\u043B\u044E\u0447\u0430\u0435\u0446\u0446\u0430 \u045E \u043F\u0430\u0447\u0430\u0442\u043A\u0443 \u043A\u043E\u0436\u043D\u0430\u0433\u0430 \u0431\u043B\u043E\u043A\u0430 Tasks \u0443 \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u044B. \u041A\u0430\u0440\u044B\u0441\u043D\u044B \u0434\u043B\u044F \u0434\u0430\u0434\u0430\u043D\u043D\u044F \u0444\u0456\u043B\u044C\u0442\u0440\u0430\u045E \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456 \u0430\u0431\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u045E \u043C\u0430\u043A\u0435\u0442\u0430.",placeholder:`\u041D\u0430\u043F\u0440\u044B\u043A\u043B\u0430\u0434...
path does not include _templates/
limit 300
show urgency`}},presets:{line1:"",line2:"",name:""},recurringTasks:{heading:"\u041F\u0435\u0440\u044B\u044F\u0434\u044B\u0447\u043D\u044B\u044F \u0437\u0430\u0434\u0430\u0447\u044B",nextLine:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0437\u0440\u043E\u0431\u0456\u0446\u044C \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0435 \u043F\u0430\u045E\u0442\u0430\u0440\u044D\u043D\u043D\u0435 \u0437\u0430\u0434\u0430\u0447\u044B \u043D\u0430 \u0440\u0430\u0434\u043A\u0443 \u043D\u0456\u0436\u044D\u0439 \u0437\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u043D\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443. \u0423 \u0430\u0434\u0432\u0430\u0440\u043E\u0442\u043D\u044B\u043C \u0432\u044B\u043F\u0430\u0434\u043A\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0435 \u043F\u0430\u045E\u0442\u0430\u0440\u044D\u043D\u043D\u0435 \u0437'\u044F\u0432\u0456\u0446\u0446\u0430 \u043F\u0435\u0440\u0430\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u0430\u0439.",name:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0435 \u043F\u0430\u045E\u0442\u0430\u0440\u044D\u043D\u043D\u0435 \u0437'\u044F\u045E\u043B\u044F\u0435\u0446\u0446\u0430 \u043D\u0430 \u0440\u0430\u0434\u043A\u0443 \u043D\u0456\u0436\u044D\u0439"},removeScheduledDate:{description:{line1:"",line2:""},name:""}},seeTheDocumentation:"\u0413\u043B\u044F\u0434\u0437\u0456\u0446\u0435 \u0434\u0430\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u044B\u044E",statuses:{collections:{anuppuccinTheme:"\u0422\u044D\u043C\u0430 AnuPpuccin",auraTheme:"\u0422\u044D\u043C\u0430 Aura",borderTheme:"\u0422\u044D\u043C\u0430 Border",buttons:{addCollection:{name:"{{themeName}}: \u0414\u0430\u0434\u0430\u0446\u044C {{numberOfStatuses}} \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043E\u045E\u0432\u0430\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B"}},ebullientworksTheme:"\u0422\u044D\u043C\u0430 Ebullientworks",itsThemeAndSlrvbCheckboxes:"\u0422\u044D\u043C\u0430 ITS \u0456 \u0441\u0446\u044F\u0436\u043A\u0456 SlRvb",lytModeTheme:"\u0422\u044D\u043C\u0430 LYT Mode (\u0442\u043E\u043B\u044C\u043A\u0456 \u0446\u0451\u043C\u043D\u044B \u0440\u044D\u0436\u044B\u043C)",minimalTheme:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u044D\u043C\u0430",thingsTheme:"\u0422\u044D\u043C\u0430 Things"},coreStatuses:{buttons:{checkStatuses:{name:"\u041F\u0440\u0430\u0433\u043B\u044F\u0434\u0437\u0435\u0446\u044C \u0456 \u043F\u0440\u0430\u0432\u0435\u0440\u044B\u0446\u044C \u0432\u0430\u0448\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u044B",tooltip:"\u0421\u0442\u0432\u0430\u0440\u044B\u0446\u044C \u043D\u043E\u0432\u044B \u0444\u0430\u0439\u043B \u0443 \u043A\u0430\u0440\u0430\u043D\u0451\u0432\u0430\u0439 \u0442\u044D\u0447\u0446\u044B \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u0430, \u044F\u043A\u0456 \u0437\u043C\u044F\u0448\u0447\u0430\u0435 \u0434\u044B\u044F\u0433\u0440\u0430\u043C\u0443 Mermaid \u0437 \u0431\u044F\u0433\u0443\u0447\u044B\u043C\u0456 \u043D\u0430\u043B\u0430\u0434\u0430\u043C\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0443."}},description:{line1:"\u0413\u044D\u0442\u0430 \u0430\u0441\u043D\u043E\u045E\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u044F\u043A\u0456\u044F Tasks \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u045E\u043B\u0430\u0441\u043D\u0430, \u0431\u0435\u0437 \u043F\u0430\u0442\u0440\u044D\u0431\u044B \u045E \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u043C CSS-\u0441\u0442\u044B\u043B\u0456 \u0430\u0431\u043E \u0442\u044D\u043C\u0430\u0442\u044B\u0437\u0430\u0446\u044B\u0456.",line2:"\u0412\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0456 \u0434\u0430\u0434\u0430\u0432\u0430\u0446\u044C \u0441\u0432\u0430\u0435 \u045E\u043B\u0430\u0441\u043D\u044B\u044F \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u045E \u0440\u0430\u0437\u0434\u0437\u0435\u043B\u0435 \u043D\u0456\u0436\u044D\u0439."},heading:"\u0410\u0441\u043D\u043E\u045E\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},customStatuses:{buttons:{addAllUnknown:{name:"\u0414\u0430\u0434\u0430\u0446\u044C \u0443\u0441\u0435 \u043D\u0435\u0432\u044F\u0434\u043E\u043C\u044B\u044F \u0442\u044B\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E"},addNewStatus:{name:"\u0414\u0430\u0434\u0430\u0446\u044C \u043D\u043E\u0432\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u044B"},resetCustomStatuses:{name:"\u0421\u043A\u0456\u043D\u0443\u0446\u044C \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0442\u044B\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0434\u0430 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u044F\u045E \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456"}},description:{line1:"\u0421\u043F\u0430\u0447\u0430\u0442\u043A\u0443 \u0432\u044B \u043F\u0430\u0432\u0456\u043D\u043D\u044B <b>\u0432\u044B\u0431\u0440\u0430\u0446\u044C \u0456 \u045E\u0441\u0442\u0430\u043B\u044F\u0432\u0430\u0446\u044C CSS Snippet \u0430\u0431\u043E Theme</b>, \u043A\u0430\u0431 \u0441\u0442\u044B\u043B\u0456\u0437\u0430\u0432\u0430\u0446\u044C \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0446\u044F\u0436\u043A\u0456.",line2:"\u0417\u0430\u0442\u044B\u043C \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0439\u0446\u0435 \u043A\u043D\u043E\u043F\u043A\u0456 \u043D\u0456\u0436\u044D\u0439, \u043A\u0430\u0431 \u043D\u0430\u043B\u0430\u0434\u0437\u0456\u0446\u044C \u0441\u0432\u0430\u0435 \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u045E \u0430\u0434\u043F\u0430\u0432\u0435\u0434\u043D\u0430\u0441\u0446\u0456 \u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u044B\u043C\u0456 CSS-\u0441\u0446\u044F\u0436\u043A\u0430\u043C\u0456.",line3:"<b>\u0417\u0430\u045E\u0432\u0430\u0433\u0430</b> \u041B\u044E\u0431\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0437 \u0442\u044B\u043C \u0436\u0430 \u0441\u0456\u043C\u0432\u0430\u043B\u0430\u043C, \u0448\u0442\u043E \u0456 \u045E \u043F\u0430\u043F\u044F\u0440\u044D\u0434\u043D\u0456\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E, \u0431\u0443\u0434\u0443\u0446\u044C \u043F\u0440\u0430\u0456\u0433\u043D\u0430\u0440\u0430\u0432\u0430\u043D\u044B\u044F. \u0412\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u043F\u0430\u0446\u0432\u0435\u0440\u0434\u0437\u0456\u0446\u044C \u0444\u0430\u043A\u0442\u044B\u0447\u043D\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u0437\u0430\u043F\u0443\u0441\u0446\u0456\u045E\u0448\u044B \u043A\u0430\u043C\u0430\u043D\u0434\u0443 \xAB\u0421\u0442\u0432\u0430\u0440\u044B\u0446\u044C \u0430\u0431\u043E \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0437\u0430\u0434\u0430\u0447\u0443\xBB \u0456 \u043F\u0430\u0433\u043B\u044F\u0434\u0437\u0435\u045E\u0448\u044B \u043D\u0430 \u0432\u044B\u043F\u0430\u0434\u0430\u043B\u044C\u043D\u044B \u0441\u043F\u0456\u0441 \u0421\u0442\u0430\u0442\u0443\u0441.",line4:"\u0413\u043B\u044F\u0434\u0437\u0456\u0446\u0435 \u0434\u0430\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u044B\u044E, \u043A\u0430\u0431 \u043F\u0430\u0447\u0430\u0446\u044C!"},heading:"\u041A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},heading:"\u0421\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447"}}}});var Jb,Xb=Z(()=>{Jb={main:{loadingPlugin:"Lade Plugin: {{name}} v{{version}}",unloadingPlugin:"Entlade Plugin: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"WennBei Aktivierung k\xF6nnen Sie diesen Status als Befehl nutzen und ihm eine Tastenkombination zuordnen, um den Status umzuschalten.",name:"Verf\xFCgbar als Befehl"},editNextStatusSymbol:{description:"Bei Klick verwenden Sie dies als das n\xE4chstverwendete Symbol.",name:"Symbol f\xFCr n\xE4chsten Status"},editStatusName:{description:"Der Anzeigename des Aufgabenstatus.",name:"Name des Aufgabenstatus"},editStatusSymbol:{description:"Das Zeichen zwischen den eckigen Klammern. (Sie k\xF6nnen es nur f\xFCr benutzerdefinierte Status bearbeiten, nicht f\xFCr Kernstatus.)",name:"Symbol des Aufgabenstatus"},editStatusType:{description:"Kontrollieren Sie, wie der Status beim Suchen und Umschalten funktioniert.",name:"Typ des Aufgabenstatus"},fixErrorsBeforeSaving:"Fehler vor dem Speichern beheben."}},reports:{statusRegistry:{about:{createdBy:"Ich habe diese Datei mit dem Obsidian Tasks-Plugin (Version {{version}}) erstellt, um die Aufgabenstatus in diesem Vault zu visualisieren.",deleteFileAnyTime:"Sie k\xF6nnen diese Datei jederzeit l\xF6schen.",title:"\xDCber diese Datei",updateReport:{line1:"Wenn Sie die Tasks-Status-Einstellungen \xE4ndern, erhalten Sie einen aktualisierten Bericht, indem Sie:",line2:"Zu `Einstellungen` -> `Tasks` gehen.",line3:"Auf `\xDCberpr\xFCfen und Status kontrollieren` klicken."}},columnHeadings:{nextStatusSymbol:"N\xE4chstes Status-Symbol",problems:"Probleme (falls vorhanden)",statusName:"Statusname",statusSymbol:"Statussymbol",statusType:"Statustyp"},loadedSettings:{settingsActuallyUsed:"Dies sind die aktuellen Einstellungen, die Tasks verwendet.",switchToLivePreview:"Wechseln Sie zur Live-Vorschau oder zum Lesemodus, um das Diagramm zu sehen.",title:"Geladene Einstellungen"},messages:{cannotFindNextStatus:"Ich konnte den n\xE4chsten Status nicht finden.",duplicateSymbol:"Doppeltes Symbol '{{symbol}}': Plugin ignoriert diesen Status.",emptySymbol:"Leeres Symbol: Plugin ignoriert diesen Status.",nextSymbolUnknown:"N\xE4chstes Symbol {{symbol}} ist unbekannt: Erstellen Sie einen Status mit dem Symbol {{symbol}}.",notConventionalType:"Zur Information: Der \xFCbliche Typ f\xFCr das Status-Symbol {{symbol}} ist {{type}}. \xDCberpr\xFCfen Sie diesen Typ gegebenenfalls.",wrongTypeAfterDone:{line1:"Nach diesem `ERLEDIGT`-Status folgt {{nextType}}, nicht `TODO` oder `IN_PROGRESS`.",line2:"Wenn Sie diesen Status verwenden, um eine wiederkehrende Aufgabe abzuschlie\xDFen, folgt darauf `TODO` oder `IN_PROGRESS`, um sicherzustellen, dass die n\xE4chste Aufgabe dem `nicht erledigt`-Filter entspricht.",line3:"Siehe [Wiederkehrende Aufgaben und benutzerdefinierte Status]({{helpURL}})."}},sampleTasks:{line1:"Hier ist eine Beispiel-Aufgabenzeile f\xFCr jeden von Tasks tats\xE4chlich genutzten Status, mit der Sie experimentieren k\xF6nnen.",line2:"Zu dem Zeitpunkt, zu dem ich diese Datei erstellt habe, waren die Status-Symbole und Namen in den Aufgabentexten korrekt.",line3:"Wenn Sie die Beispielaufgaben ge\xE4ndert haben, sehen Sie die aktuellen Statustypen und Namen in den Gruppen\xFCberschriften in der Tasks-Suche unten.",tip:{line1:"Tipp: Wenn alle Ihre Kontrollk\xE4stchen gleich aussehen...",line2:"Wenn Ihre Kontrollk\xE4stchen im Lesemodus oder in der Live-Vorschau gleich aussehen, informieren Sie sich unter [Benutzerdefinierte Statusstile]({{url}}), wie Sie ein Theme oder ein CSS-Snippet ausw\xE4hlen k\xF6nnen, um Ihre Status zu formatieren."},title:"Beispielaufgaben"},searchSampleTasks:{line1:"Diese Tasks-Suche zeigt alle Aufgaben in dieser Datei an, gruppiert nach ihrem Statustyp und Statusnamen.",title:"Suche in den Beispielaufgaben"},statusSettings:{comment:{line1:"Wechseln Sie zur Live-Vorschau oder zum Lesemodus, um die Tabelle zu sehen.",line2:"Wenn in Statusnamen Markdown-Formatierungszeichen wie '*' oder '_' enthalten sind,",line3:"stellt Obsidian die Tabelle m\xF6glicherweise nur im Lesemodus korrekt dar."},theseAreStatusValues:"Diese Statuswerte finden Sie in den Abschnitten Kern- und Benutzerdefinierte Status.",title:"Status-Einstellungen"}}},settings:{autoSuggest:{heading:"Autosuggest",maxSuggestions:{description:'Wie viele Vorschl\xE4ge m\xF6chten Sie anzeigen, wenn ein Autosuggest-Men\xFC aufgeht (einschlie\xDFlich der "\u23CE"-Option).',name:"Maximale Anzahl von Autosuggest-Vorschl\xE4gen anzeigen"},minLength:{description:"Wenn gr\xF6\xDFer als 0, l\xF6st Autosuggest nur aus, wenn Sie den Beginn eines unterst\xFCtzten Schl\xFCsselwortes erkennen.",name:"Minimale \xDCbereinstimmungsl\xE4nge f\xFCr Autosuggest"},toggle:{description:"Durch Aktivierung \xF6ffnet sich ein intelligentes Vorschlagsmen\xFC, w\xE4hrend Sie innerhalb einer erkannten Aufgabenzeile tippen.",name:"Aufgabentext automatisch vorschlagen"}},changeRequiresRestart:"Das \xC4ndern von Einstellungen erfordert einen Neustart von Obsidian.",dates:{cancelledDate:{description:"Wenn aktiviert, f\xFCge beim Umschalten auf 'abgebrochen' automatisch ein Datum \u274C YYYY-MM-DD am Ende hinzu.",name:"Abbruch-Datum bei jeder abgebrochenen Aufgabe festlegen"},createdDate:{description:"F\xFCge bei Aktivierung beim Erstellen einer Aufgabe mit 'Erstellen oder Bearbeiten einer Aufgabe' oder beim Abschluss einer wiederkehrenden Aufgabe ein Datum \u2795 YYYY-MM-DD vor anderen Datumswerten hinzu.",name:"Erstellungsdatum bei jeder hinzugef\xFCgten Aufgabe festlegen"},doneDate:{description:"Bei Aktivierung wird beim Umschalten auf 'erledigt' automatisch ein Datum \u2705 YYYY-MM-DD am Ende hinzugef\xFCgt.",name:"Erledigungsdatum bei jeder abgeschlossenen Aufgabe festlegen"},heading:"Daten"},datesFromFileNames:{heading:"Daten aus Dateinamen",scheduledDate:{extraFormat:{description:{line1:"Ein zus\xE4tzliches Datumsformat, das das Tasks-Plugin beim Verwenden des Dateinamens als geplantes Datum f\xFCr undatierte Aufgaben erkennt.",line2:"Syntax-Referenz"},name:"Zus\xE4tzliches Datumsformat f\xFCr Dateinamen als geplantes Datum f\xFCr undatierte Aufgaben",placeholder:"Beispiel: MMM DD YYYY"},folders:{description:"Lassen Sie dieses Feld leer, wenn Sie standardm\xE4\xDFige geplante Datumsangaben \xFCberall verwenden wollen, oder geben Sie eine durch Kommas getrennte Liste von Ordnern ein.",name:"Ordner mit standardm\xE4\xDFigen geplanten Datumsangaben"},toggle:{description:{line1:"Sparen Sie Zeit beim Eingeben geplanter (\u23F3) Daten.",line2:"Bei Aktivierung erhalten alle undatierten Aufgaben ein geplantes Datum, das aus ihrem Dateinamen extrahiert wird.",line3:"Standardm\xE4\xDFig erkennt das Tasks-Plugin sowohl <code>YYYY-MM-DD</code> als auch <code>YYYYMMDD</code> Datumsformate.",line4:"Undatierte Aufgaben haben weder ein F\xE4lligkeitsdatum (\u{1F4C5} ), geplantes (\u23F3) noch Start-(\u{1F6EB})datum."},name:"Dateinamen als geplantes Datum f\xFCr undatierte Aufgaben verwenden"}}},dialogs:{accessKeys:{description:"Wenn die Zugriffsschl\xFCssel (Tastenkombinationen) f\xFCr verschiedene Steuerelemente in Dialogfeldern in Konflikt mit System-Tastenkombinationen oder wichtigen assistiven Funktionen stehen, deaktivieren Sie sie hier.",name:"Zugriffsschl\xFCssel in Dialogen bereitstellen"},heading:"Dialoge"},format:{description:{line1:"Das Format, das Tasks zum Lesen und Schreiben von Aufgaben verwendet.",line2:"<b>Wichtig:</b> Tasks unterst\xFCtzt gleichzeitig nur ein Format. Wenn Sie Dataview ausw\xE4hlen, hindert dies Tasks daran, seine eigenen Emoji-Anzeiger zu verwenden."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Tasks Emoji Format"},name:"Aufgabenformat"},globalFilter:{filter:{description:{line1:"Empfehlung: Lassen Sie dieses Feld leer, damit das Plugin alle Kontrollk\xE4stchen in Ihrem Tresor als Aufgaben verwalten kann.",line2:'Verwenden Sie einen globalen Filter, wenn Tasks nur auf einen Teil Ihrer "<code>- [ ]</code>" Kontrollk\xE4stchenitems wirken soll. Sorgen Sie daf\xFCr, dass ein Kontrollk\xE4stchenitem die angegebene Zeichenfolge in seiner Beschreibung enth\xE4lt, um als Aufgabe betrachtet zu werden.',line3:"Setzen Sie den globalen Filter z. B. auf <code>#task</code>, verwaltet Tasks nur die mit <code>#task</code> gekennzeichneten Kontrollk\xE4stchenitems.",line4:"Andere Kontrollk\xE4stchenitems bleiben normale Kontrollk\xE4stchen und erscheinen nicht in Abfragen und erhalten kein Erledigungsdatum."},name:"Globaler Filter",placeholder:"z.B. #task oder TODO"},heading:"Globaler Aufgabenfilter",removeFilter:{description:"Aktiviert entfernt die Zeichenfolge, die Sie als globalen Filter gesetzt haben, aus der Aufgabenbeschreibung, wenn die Aufgabe angezeigt wird.",name:"Globalen Filter aus Beschreibung entfernen"}},globalQuery:{heading:"Globale Abfrage",query:{description:"F\xFCgen Sie automatisch eine Abfrage am Anfang jedes Tasks-Blocks im Tresor hinzu. N\xFCtzlich f\xFCr Standardfilter oder Layout-Optionen.",placeholder:`Zum Beispiel...
path does not include _templates/
limit 300
show urgency`}},presets:{line1:"",line2:"",name:""},recurringTasks:{heading:"Wiederkehrende Aufgaben",nextLine:{description:"Aktivieren Sie dies, damit das n\xE4chste Auftreten einer Aufgabe in der Zeile unterhalb der abgeschlossenen Aufgabe erscheint. Ansonsten erscheint es vor der abgeschlossenen Aufgabe.",name:"N\xE4chste Wiederholung erscheint in Zeile darunter"},removeScheduledDate:{description:{line1:"Aktiviert, damit das n\xE4chste Auftreten einer Aufgabe keinen geplanten (\u23F3) Termin hat, wenn mindestens Start-(\u{1F6EB}) oder F\xE4lligkeitsdaten (\u{1F4C5}) vorhanden sind.",line2:"Dies gilt, wenn Sie m\xF6chten, dass Start- und F\xE4lligkeitsdaten beim n\xE4chsten Auftreten beibehalten werden, aber das geplante Datum sp\xE4ter festgelegt wird, sobald Sie planen, daran zu arbeiten."},name:"Geplantes Datum bei Wiederholung entfernen"}},seeTheDocumentation:"Vgl. die Dokumentation",statuses:{collections:{anuppuccinTheme:"AnuPpuccin Theme",auraTheme:"Aura Theme",borderTheme:"Border Theme",buttons:{addCollection:{name:"{{themeName}}: F\xFCge {{numberOfStatuses}} unterst\xFCtzte Status hinzu"}},ebullientworksTheme:"Ebullientworks Theme",itsThemeAndSlrvbCheckboxes:"ITS Theme & SlRvb Kontrollk\xE4stchen",lytModeTheme:"LYT Mode Theme (nur Dunkelmodus)",minimalTheme:"Minimal Theme",thingsTheme:"Things Theme"},coreStatuses:{buttons:{checkStatuses:{name:"\xDCberpr\xFCfen und einsehen Sie Ihre Status-Eintr\xE4ge",tooltip:"Erstellen Sie eine neue Datei im Hauptverzeichnis des Tresors, die ein Mermaid-Diagramm der aktuellen Statuseinstellungen enth\xE4lt."}},description:{line1:"Diese Kern-Status unterst\xFCtzt Tasks nativ ohne benutzerdefiniertes CSS-Styling oder Themes.",line2:"Hinzuf\xFCgen und Bearbeiten Ihrer eigenen benutzerdefinierten Status k\xF6nnen Sie im unteren Abschnitt."},heading:"Kern-Status"},customStatuses:{buttons:{addAllUnknown:{name:"Alle unbekannten Statustypen hinzuf\xFCgen"},addNewStatus:{name:"Neuen Aufgabenstatus hinzuf\xFCgen"},resetCustomStatuses:{name:"Benutzerdefinierte Statustypen auf Standard zur\xFCcksetzen"}},description:{line1:"Zuerst w\xE4hlen und installieren Sie ein CSS-Snippet oder Theme, um benutzerdefinierte Kontrollk\xE4stchen zu formatieren.",line2:"Verwenden Sie dann die untenstehenden Schaltfl\xE4chen, um Ihre benutzerdefinierten Status zu erstellen, sodass sie mit Ihren ausgew\xE4hlten CSS-Kontrollk\xE4stchen \xFCbereinstimmen.",line3:"Hinweis: Status mit dem gleichen Symbol wie ein fr\xFCherer Status ignorieren wir. Best\xE4tigen Sie die tats\xE4chlich geladenen Status, indem Sie den 'Aufgabe erstellen oder bearbeiten'-Befehl ausf\xFChren und das Status-Dropdown anschauen.",line4:"Nutzen Sie die Dokumentation, um loszulegen!"},heading:"Benutzerdefinierte Status"},heading:"Aufgabenstatus"}}}});var tT,eT=Z(()=>{tT={main:{loadingPlugin:"Loading plugin: {{name}} v{{version}}",unloadingPlugin:"Unloading plugin: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"If enabled this status will be available as a command so you can assign a hotkey and toggle the status using it.",name:"Available as command"},editNextStatusSymbol:{description:"When clicked on this is the symbol that should be used next.",name:"Task Next Status Symbol"},editStatusName:{description:"This is the friendly name of the task status.",name:"Task Status Name"},editStatusSymbol:{description:"This is the character between the square braces. (It can only be edited for Custom statuses, and not Core statuses.)",name:"Task Status Symbol"},editStatusType:{description:"Control how the status behaves for searching and toggling.",name:"Task Status Type"},fixErrorsBeforeSaving:"Fix errors before saving."}},reports:{statusRegistry:{about:{createdBy:"This file was created by the Obsidian Tasks plugin (version {{version}}) to help visualise the task statuses in this vault.",deleteFileAnyTime:"You can delete this file any time.",title:"About this file",updateReport:{line1:"If you change the Tasks status settings, you can get an updated report by:",line2:"Going to `Settings` -> `Tasks`.",line3:"Clicking on `Review and check your Statuses`."}},columnHeadings:{nextStatusSymbol:"Next Status Symbol",problems:"Problems (if any)",statusName:"Status Name",statusSymbol:"Status Symbol",statusType:"Status Type"},loadedSettings:{settingsActuallyUsed:"These are the settings actually used by Tasks.",switchToLivePreview:"Switch to Live Preview or Reading Mode to see the diagram.",title:"Loaded Settings"},messages:{cannotFindNextStatus:"Unexpected failure to find the next status.",duplicateSymbol:"Duplicate symbol '{{symbol}}': this status will be ignored.",emptySymbol:"Empty symbol: this status will be ignored.",nextSymbolUnknown:"Next symbol {{symbol}} is unknown: create a status with symbol {{symbol}}.",notConventionalType:"For information, the conventional type for status symbol {{symbol}} is {{type}}: you may wish to review this type.",wrongTypeAfterDone:{line1:"This `DONE` status is followed by {{nextType}}, not `TODO` or `IN_PROGRESS`.",line2:"If used to complete a recurring task, it will instead be followed by `TODO` or `IN_PROGRESS`, to ensure the next task matches the `not done` filter.",line3:"See [Recurring Tasks and Custom Statuses]({{helpURL}})."}},sampleTasks:{line1:"Here is one example task line for each of the statuses actually used by tasks, for you to experiment with.",line2:"The status symbols and names in the task descriptions were correct when this file was created.",line3:"If you have modified the sample tasks since they were created, you can see the current status types and names in the group headings in the Tasks search below.",tip:{line1:"Tip: If all your checkboxes look the same...",line2:"If all the checkboxes look the same in Reading Mode or Live Preview, see [Style custom statuses]({{url}}) for how to select a theme or CSS snippet to style your statuses."},title:"Sample Tasks"},searchSampleTasks:{line1:"This Tasks search shows all the tasks in this file, grouped by their status type and status name.",title:"Search the Sample Tasks"},statusSettings:{comment:{line1:"Switch to Live Preview or Reading Mode to see the table.",line2:"If there are any Markdown formatting characters in status names, such as '*' or '_',",line3:"Obsidian may only render the table correctly in Reading Mode."},theseAreStatusValues:"These are the status values in the Core and Custom statuses sections.",title:"Status Settings"}}},settings:{autoSuggest:{heading:"Auto-suggest",maxSuggestions:{description:'How many suggestions should be shown when an auto-suggest menu pops up (including the "\u23CE" option).',name:"Maximum number of auto-suggestions to show"},minLength:{description:"If higher than 0, auto-suggest will be triggered only when the beginning of any supported keywords is recognized.",name:"Minimum match length for auto-suggest"},toggle:{description:"Enabling this will open an intelligent suggest menu while typing inside a recognized task line.",name:"Auto-suggest task content"}},changeRequiresRestart:"Changing any settings requires a restart of obsidian.",dates:{cancelledDate:{description:"Enabling this will add a timestamp \u274C YYYY-MM-DD at the end when a task is toggled to cancelled.",name:"Set cancelled date on every cancelled task"},createdDate:{description:"Enabling this will add a timestamp \u2795 YYYY-MM-DD before other date values, when a task is created with 'Create or edit task', or by completing a recurring task.",name:"Set created date on every added task"},doneDate:{description:"Enabling this will add a timestamp \u2705 YYYY-MM-DD at the end when a task is toggled to done.",name:"Set done date on every completed task"},heading:"Dates"},datesFromFileNames:{heading:"Dates from file names",scheduledDate:{extraFormat:{description:{line1:"An additional date format that Tasks plugin will recogize when using the file name as the Scheduled date for undated tasks.",line2:"Syntax Reference"},name:"Additional filename date format as Scheduled date for undated tasks",placeholder:"example: MMM DD YYYY"},folders:{description:"Leave empty if you want to use default Scheduled dates everywhere, or enter a comma-separated list of folders.",name:"Folders with default Scheduled dates"},toggle:{description:{line1:"Save time entering Scheduled (\u23F3) dates.",line2:"If this option is enabled, any undated tasks will be given a default Scheduled date extracted from their file name.",line3:"By default, Tasks plugin will match both <code>YYYY-MM-DD</code> and <code>YYYYMMDD</code> date formats.",line4:"Undated tasks have none of Due (\u{1F4C5} ), Scheduled (\u23F3) and Start (\u{1F6EB}) dates."},name:"Use filename as Scheduled date for undated tasks"}}},dialogs:{accessKeys:{description:"If the access keys (keyboard shortcuts) for various controls in dialog boxes conflict with system keyboard shortcuts or assistive technology functionality that is important for you, you may want to deactivate them here.",name:"Provide access keys in dialogs"},heading:"Dialogs"},format:{description:{line1:"The format that Tasks uses to read and write tasks.",line2:"<b>Important:</b> Tasks currently only supports one format at a time. Selecting Dataview will currently <b>stop Tasks reading its own emoji signifiers</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Tasks Emoji Format"},name:"Task Format"},globalFilter:{filter:{description:{line1:"Recommended: Leave empty if you want all checklist items in your vault to be tasks managed by this plugin.",line2:'Use a global filter if you want Tasks to only act on a subset of your "<code>- [ ]</code>" checklist items, so that a checklist item must include the specified string in its description in order to be considered a task.',line3:"For example, if you set the global filter to <code>#task</code>, the Tasks plugin will only handle checklist items tagged with <code>#task</code>.",line4:"Other checklist items will remain normal checklist items and not appear in queries or get a done date set."},name:"Global filter",placeholder:"e.g. #task or TODO"},heading:"Global task filter",removeFilter:{description:"Enabling this removes the string that you set as global filter from the task description when displaying a task.",name:"Remove global filter from description"}},globalQuery:{heading:"Global Query",query:{description:"A query that is automatically included at the start of every Tasks block in the vault. Useful for adding default filters, or layout options.",placeholder:`For example...
path does not include _templates/
limit 300
show urgency`}},presets:{line1:"You can define named instructions here, that you can re-use in multiple queries. A preset called '{{name}}' can be used in Tasks queries with either '{{instruction1}}' or '{{instruction2}}'.",line2:"Any open Tasks queries are reloaded automatically when presets are edited.",name:"Presets"},recurringTasks:{heading:"Recurring tasks",nextLine:{description:"Enabling this will make the next recurrence of a task appear on the line below the completed task. Otherwise the next recurrence will appear before the completed one.",name:"Next recurrence appears on the line below"},removeScheduledDate:{description:{line1:"Enabling this will make the next recurrence of a task have no Scheduled (\u23F3) date, when at least one of Start (\u{1F6EB}) or Due (\u{1F4C5}) dates is present.",line2:"This is for when you want the Start and Due dates to carry forward to the next recurrence, but you will set the Scheduled date in future, once you plan to work on it."},name:"Remove scheduled date on recurrence"}},seeTheDocumentation:"See the documentation",statuses:{collections:{anuppuccinTheme:"AnuPpuccin Theme",auraTheme:"Aura Theme",borderTheme:"Border Theme",buttons:{addCollection:{name:"{{themeName}}: Add {{numberOfStatuses}} supported Statuses"}},ebullientworksTheme:"Ebullientworks Theme",itsThemeAndSlrvbCheckboxes:"ITS Theme & SlRvb Checkboxes",lytModeTheme:"LYT Mode Theme (Dark mode only)",minimalTheme:"Minimal Theme",thingsTheme:"Things Theme"},coreStatuses:{buttons:{checkStatuses:{name:"Review and check your Statuses",tooltip:"Create a new file in the root of the vault, containing a Mermaid diagram of the current status settings."}},description:{line1:"These are the core statuses that Tasks supports natively, with no need for custom CSS styling or theming.",line2:"You can add edit and add your own custom statuses in the section below."},heading:"Core Statuses"},customStatuses:{buttons:{addAllUnknown:{name:"Add All Unknown Status Types"},addNewStatus:{name:"Add New Task Status"},resetCustomStatuses:{name:"Reset Custom Status Types to Defaults"}},description:{line1:"You should first <b>select and install a CSS Snippet or Theme</b> to style custom checkboxes.",line2:"Then, use the buttons below to set up your custom statuses, to match your chosen CSS checkboxes.",line3:"<b>Note</b> Any statuses with the same symbol as any earlier statuses will be ignored. You can confirm the actually loaded statuses by running the 'Create or edit task' command and looking at the Status drop-down.",line4:"See the documentation to get started!"},heading:"Custom Statuses"},heading:"Task Statuses"}}}});var rT,nT=Z(()=>{rT={main:{loadingPlugin:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0438\u043D\u0430: {{name}} v{{version}}",unloadingPlugin:"\u0412\u044B\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0438\u043D\u0430: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u0415\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u044D\u0442\u043E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u043A\u0430\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C \u0433\u043E\u0440\u044F\u0447\u0443\u044E \u043A\u043B\u0430\u0432\u0438\u0448\u0443 \u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u0435\u0435 \u043F\u043E\u043C\u043E\u0449\u044C\u044E.",name:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043A\u0430\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430"},editNextStatusSymbol:{description:"\u041F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u044D\u0442\u043E \u0441\u0438\u043C\u0432\u043E\u043B, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u043C.",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},editStatusName:{description:"\u042D\u0442\u043E \u043F\u043E\u043D\u044F\u0442\u043D\u043E\u0435 \u0438\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0418\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},editStatusSymbol:{description:"\u042D\u0442\u043E \u0441\u0438\u043C\u0432\u043E\u043B \u043C\u0435\u0436\u0434\u0443 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u043C\u0438 \u0441\u043A\u043E\u0431\u043A\u0430\u043C\u0438. (\u0415\u0433\u043E \u043C\u043E\u0436\u043D\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432, \u043D\u043E \u043D\u0435 \u0434\u043B\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0445.)",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},editStatusType:{description:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438.",name:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},fixErrorsBeforeSaving:"\u0418\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u043C."}},reports:{statusRegistry:{about:{createdBy:"\u042D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0431\u044B\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C Obsidian Tasks (\u0432\u0435\u0440\u0441\u0438\u044F {{version}}), \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447 \u0432 \u044D\u0442\u043E\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435.",deleteFileAnyTime:"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0432 \u043B\u044E\u0431\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",title:"\u041E\u0431 \u044D\u0442\u043E\u043C \u0444\u0430\u0439\u043B\u0435",updateReport:{line1:"\u0415\u0441\u043B\u0438 \u0432\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 Tasks, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u043E\u0442\u0447\u0435\u0442, \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F:",line2:"\u041F\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 `Settings` -> `Tasks`.",line3:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 `Review and check your Statuses`."}},columnHeadings:{nextStatusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430",problems:"\u041F\u0440\u043E\u0431\u043B\u0435\u043C\u044B (\u0435\u0441\u043B\u0438 \u0435\u0441\u0442\u044C)",statusName:"\u0418\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430",statusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0430",statusType:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0430"},loadedSettings:{settingsActuallyUsed:"\u042D\u0442\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F Tasks.",switchToLivePreview:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C \u0432 \u0440\u0435\u0436\u0438\u043C Live Preview \u0438\u043B\u0438 Reading Mode, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0443.",title:"\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438"},messages:{cannotFindNextStatus:"\u041D\u0435\u043E\u0436\u0438\u0434\u0430\u043D\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430.",duplicateSymbol:"\u0414\u0443\u0431\u043B\u0438\u0440\u0443\u044E\u0449\u0438\u0439\u0441\u044F \u0441\u0438\u043C\u0432\u043E\u043B '{{symbol}}': \u044D\u0442\u043E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u043D.",emptySymbol:"\u041F\u0443\u0441\u0442\u043E\u0439 \u0441\u0438\u043C\u0432\u043E\u043B: \u044D\u0442\u043E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u043D.",nextSymbolUnknown:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B {{symbol}} \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D: \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C {{symbol}}.",notConventionalType:"\u0414\u043B\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u043E\u0431\u044B\u0447\u043D\u044B\u0439 \u0442\u0438\u043F \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 {{symbol}} - {{type}}: \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u0445\u043E\u0442\u0435\u0442\u044C \u043F\u0435\u0440\u0435\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u0438\u043F.",wrongTypeAfterDone:{line1:"\u0417\u0430 \u044D\u0442\u0438\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C `DONE` \u0441\u043B\u0435\u0434\u0443\u0435\u0442 {{nextType}}, \u0430 \u043D\u0435 `TODO` \u0438\u043B\u0438 `IN_PROGRESS`.",line2:"\u0415\u0441\u043B\u0438 \u043E\u043D \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438, \u0442\u043E \u0432\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0437\u0430 \u043D\u0438\u043C \u0431\u0443\u0434\u0435\u0442 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C `TODO` \u0438\u043B\u0438 `IN_PROGRESS`, \u0447\u0442\u043E\u0431\u044B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u043B\u0430 \u0444\u0438\u043B\u044C\u0442\u0440\u0443 `\u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E`.",line3:"\u0421\u043C. [Recurring Tasks and Custom Statuses]({{helpURL}})."}},sampleTasks:{line1:"\u0412\u043E\u0442 \u043F\u043E \u043E\u0434\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0435-\u043F\u0440\u0438\u043C\u0435\u0440\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430, \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0433\u043E \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C, \u0447\u0442\u043E\u0431\u044B \u0432\u044B \u043C\u043E\u0433\u043B\u0438 \u043F\u043E\u044D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C.",line2:"\u0421\u0438\u043C\u0432\u043E\u043B\u044B \u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0432 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u044B\u043B\u0438 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B \u043D\u0430 \u043C\u043E\u043C\u0435\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u044D\u0442\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430.",line3:"\u0415\u0441\u043B\u0438 \u0432\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438 \u043F\u0440\u0438\u043C\u0435\u0440\u044B \u0437\u0430\u0434\u0430\u0447 \u0441 \u043C\u043E\u043C\u0435\u043D\u0442\u0430 \u0438\u0445 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0435 \u0442\u0438\u043F\u044B \u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0432 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0445 \u0433\u0440\u0443\u043F\u043F \u0432 \u043F\u043E\u0438\u0441\u043A\u0435 Tasks \u043D\u0438\u0436\u0435.",tip:{line1:"\u041F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430: \u0415\u0441\u043B\u0438 \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u044B \u0432\u044B\u0433\u043B\u044F\u0434\u044F\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E...",line2:"\u0415\u0441\u043B\u0438 \u0432\u0441\u0435 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u044B \u0432\u044B\u0433\u043B\u044F\u0434\u044F\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0447\u0442\u0435\u043D\u0438\u044F (Reading Mode) \u0438\u043B\u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 (Live Preview), \u0441\u043C. [\u0421\u0442\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432]({{url}}), \u0447\u0442\u043E\u0431\u044B \u0443\u0437\u043D\u0430\u0442\u044C, \u043A\u0430\u043A \u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0442\u0435\u043C\u0443 \u0438\u043B\u0438 CSS-\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 (snippet) \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432."},title:"\u041F\u0440\u0438\u043C\u0435\u0440\u044B \u0417\u0430\u0434\u0430\u0447"},searchSampleTasks:{line1:"\u042D\u0442\u043E\u0442 \u043F\u043E\u0438\u0441\u043A Tasks \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u044D\u0442\u043E\u043C \u0444\u0430\u0439\u043B\u0435, \u0441\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u043F\u043E \u0442\u0438\u043F\u0443 \u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044E \u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430.",title:"\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u043F\u0440\u0438\u043C\u0435\u0440\u0430\u043C \u0437\u0430\u0434\u0430\u0447"},statusSettings:{comment:{line1:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C \u0432 \u0440\u0435\u0436\u0438\u043C Live Preview \u0438\u043B\u0438 Reading Mode, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0442\u0430\u0431\u043B\u0438\u0446\u0443.",line2:"\u0415\u0441\u043B\u0438 \u0432 \u0438\u043C\u0435\u043D\u0430\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0435\u0441\u0442\u044C \u043A\u0430\u043A\u0438\u0435-\u043B\u0438\u0431\u043E \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F Markdown, \u0442\u0430\u043A\u0438\u0435 \u043A\u0430\u043A '*' \u0438\u043B\u0438 '_',",line3:"Obsidian \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0442\u0430\u0431\u043B\u0438\u0446\u0443 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 Reading Mode."},theseAreStatusValues:"\u042D\u0442\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0430\u0445 Core \u0438 Custom \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432.",title:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"}}},settings:{autoSuggest:{heading:"\u0410\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",maxSuggestions:{description:'\u0421\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u043F\u043E\u044F\u0432\u043B\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044E \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A (\u0432\u043A\u043B\u044E\u0447\u0430\u044F \u043E\u043F\u0446\u0438\u044E "\u23CE").',name:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A"},minLength:{description:"\u0415\u0441\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435 0, \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u043E\u0433\u0434\u0430, \u043A\u043E\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043E \u043D\u0430\u0447\u0430\u043B\u043E \u043B\u044E\u0431\u043E\u0433\u043E \u0438\u0437 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0445 \u0441\u043B\u043E\u0432.",name:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u043B\u0438\u043D\u0430 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A"},toggle:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u043E\u0442\u043A\u0440\u043E\u0435\u0442 \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u043C\u0435\u043D\u044E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432\u043D\u0443\u0442\u0440\u0438 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0435\u0434\u043B\u0430\u0433\u0430\u0442\u044C \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0437\u0430\u0434\u0430\u0447\u0438"}},changeRequiresRestart:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0430 Obsidian.",dates:{cancelledDate:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442 \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u274C YYYY-MM-DD \u0432 \u043A\u043E\u043D\u0446\u0435, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043D\u0443\u044E.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u043E\u0442\u043C\u0435\u043D\u044B \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438"},createdDate:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442 \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u2795 YYYY-MM-DD \u043F\u0435\u0440\u0435\u0434 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C\u0438 \u0434\u0430\u0442\u044B, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u0437\u0434\u0430\u0435\u0442\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E 'Create or edit task' \u0438\u043B\u0438 \u043F\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.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438"},doneDate:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442 \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u2705 YYYY-MM-DD \u0432 \u043A\u043E\u043D\u0446\u0435, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u0443\u044E.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438"},heading:"\u0414\u0430\u0442\u044B"},datesFromFileNames:{heading:"\u0414\u0430\u0442\u044B \u0438\u0437 \u0438\u043C\u0435\u043D \u0444\u0430\u0439\u043B\u043E\u0432",scheduledDate:{extraFormat:{description:{line1:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043F\u043B\u0430\u0433\u0438\u043D Tasks \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B.",line2:"\u0421\u043F\u0440\u0430\u0432\u043A\u0430 \u043F\u043E \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0443"},name:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B \u0438\u0437 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B",placeholder:"\u043F\u0440\u0438\u043C\u0435\u0440: MMM DD YYYY"},folders:{description:"\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u0435\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \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 \u0432\u0435\u0437\u0434\u0435, \u0438\u043B\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0430\u043F\u043E\u043A \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E.",name:"\u041F\u0430\u043F\u043A\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"},toggle:{description:{line1:"\u042D\u043A\u043E\u043D\u043E\u043C\u044C\u0442\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0430 \u0432\u0432\u043E\u0434\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 (\u23F3) \u0434\u0430\u0442.",line2:"\u0415\u0441\u043B\u0438 \u044D\u0442\u0430 \u043E\u043F\u0446\u0438\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430, \u0442\u043E \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430, \u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u043D\u0430\u044F \u0438\u0437 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430.",line3:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u043B\u0430\u0433\u0438\u043D Tasks \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0444\u043E\u0440\u043C\u0430\u0442\u044B \u0434\u0430\u0442 <code>YYYY-MM-DD</code> \u0438 <code>YYYYMMDD</code>.",line4:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u043D\u0435 \u0438\u043C\u0435\u044E\u0442 \u0434\u0430\u0442 Due (\u{1F4C5} ), Scheduled (\u23F3) \u0438 Start (\u{1F6EB})."},name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u043A\u0430\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B"}}},dialogs:{accessKeys:{description:"\u0415\u0441\u043B\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 (\u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448) \u0434\u043B\u044F \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0432 \u0434\u0438\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0445 \u043E\u043A\u043D\u0430\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u044E\u0442 \u0441 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u043C\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F\u043C\u0438 \u043A\u043B\u0430\u0432\u0438\u0448 \u0438\u043B\u0438 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u043C\u0438 \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0439, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u0436\u043D\u044B \u0434\u043B\u044F \u0432\u0430\u0441, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u0437\u0434\u0435\u0441\u044C.",name:"\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432 \u0434\u0438\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0445 \u043E\u043A\u043D\u0430\u0445"},heading:"\u0414\u0438\u0430\u043B\u043E\u0433\u0438"},format:{description:{line1:"\u0424\u043E\u0440\u043C\u0430\u0442, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 Tasks \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F \u0438 \u0437\u0430\u043F\u0438\u0441\u0438 \u0437\u0430\u0434\u0430\u0447.",line2:"<b>\u0412\u0430\u0436\u043D\u043E:</b> Tasks \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u0438\u043D \u0444\u043E\u0440\u043C\u0430\u0442 \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E. \u0412\u044B\u0431\u043E\u0440 Dataview \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F <b>\u043F\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E Tasks \u043F\u0435\u0440\u0435\u0441\u0442\u0430\u043D\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u044D\u043C\u043E\u0434\u0437\u0438</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u044D\u043C\u043E\u0434\u0437\u0438 Tasks"},name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0437\u0430\u0434\u0430\u0447"},globalFilter:{filter:{description:{line1:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F: \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u0435\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u043F\u0438\u0441\u043A\u0430 \u0432 \u0432\u0430\u0448\u0435\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u0431\u044B\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438, \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u043C\u0438 \u044D\u0442\u0438\u043C \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C.",line2:'\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440, \u0435\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B Tasks \u0434\u0435\u0439\u0441\u0442\u0432\u043E\u0432\u0430\u043B \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u043F\u043E\u0434\u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0432\u0430\u0448\u0438\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441\u043F\u0438\u0441\u043A\u0430 "<code>- [ ]</code>", \u0442\u0430\u043A \u0447\u0442\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0441\u043F\u0438\u0441\u043A\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u0432 \u0441\u0432\u043E\u0435\u043C \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0438, \u0447\u0442\u043E\u0431\u044B \u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0435\u0439.',line3:"\u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0435\u0441\u043B\u0438 \u0432\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u043D\u0430 <code>#task</code>, \u043F\u043B\u0430\u0433\u0438\u043D Tasks \u0431\u0443\u0434\u0435\u0442 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u043F\u0438\u0441\u043A\u0430, \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435 \u0442\u0435\u0433\u043E\u043C <code>#task</code>.",line4:"\u0414\u0440\u0443\u0433\u0438\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u043F\u0438\u0441\u043A\u0430 \u043E\u0441\u0442\u0430\u043D\u0443\u0442\u0441\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u0441\u043F\u0438\u0441\u043A\u0430 \u0438 \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432 \u0437\u0430\u043F\u0440\u043E\u0441\u0430\u0445 \u0438\u043B\u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F."},name:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440",placeholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, #task \u0438\u043B\u0438 TODO"},heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u0437\u0430\u0434\u0430\u0447",removeFilter:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0443\u0434\u0430\u043B\u044F\u0435\u0442 \u0441\u0442\u0440\u043E\u043A\u0443, \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0438 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0444\u0438\u043B\u044C\u0442\u0440\u0430, \u0438\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0423\u0434\u0430\u043B\u044F\u0442\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u0438\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F"}},globalQuery:{heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0437\u0430\u043F\u0440\u043E\u0441",query:{description:"\u0417\u0430\u043F\u0440\u043E\u0441, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u043D\u0430\u0447\u0430\u043B\u043E \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430 Tasks \u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435. \u041F\u043E\u043B\u0435\u0437\u043D\u043E \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0438\u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u043C\u0430\u043A\u0435\u0442\u0430.",placeholder:`\u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440...
path does not include _templates/
limit 300
show urgency`}},presets:{line1:"",line2:"",name:""},recurringTasks:{heading:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438",nextLine:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u043F\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0435 \u043D\u0438\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0412 \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u043F\u0435\u0440\u0435\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0439.",name:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u043F\u043E\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0435 \u043D\u0438\u0436\u0435"},removeScheduledDate:{description:{line1:"",line2:""},name:""}},seeTheDocumentation:"\u0421\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E",statuses:{collections:{anuppuccinTheme:"\u0422\u0435\u043C\u0430 AnuPpuccin",auraTheme:"\u0422\u0435\u043C\u0430 Aura",borderTheme:"\u0422\u0435\u043C\u0430 Border",buttons:{addCollection:{name:"{{themeName}}: \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C {{numberOfStatuses}} \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"}},ebullientworksTheme:"\u0422\u0435\u043C\u0430 Ebullientworks",itsThemeAndSlrvbCheckboxes:"\u0422\u0435\u043C\u0430 ITS \u0438 \u0444\u043B\u0430\u0436\u043A\u0438 SlRvb",lytModeTheme:"\u0422\u0435\u043C\u0430 LYT Mode (\u0442\u043E\u043B\u044C\u043A\u043E \u0442\u0435\u043C\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C)",minimalTheme:"\u0422\u0435\u043C\u0430 Minimal",thingsTheme:"\u0422\u0435\u043C\u0430 Things"},coreStatuses:{buttons:{checkStatuses:{name:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0441\u0432\u043E\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u044B",tooltip:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0444\u0430\u0439\u043B \u0432 \u043A\u043E\u0440\u043D\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430, \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 Mermaid \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0443 \u0442\u0435\u043A\u0443\u0449\u0438\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432."}},description:{line1:"\u042D\u0442\u043E \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 Tasks \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E, \u0431\u0435\u0437 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 CSS \u0441\u0442\u0438\u043B\u0435\u0439 \u0438\u043B\u0438 \u0442\u0435\u043C.",line2:"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C \u0441\u0432\u043E\u0438 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 \u043D\u0438\u0436\u0435."},heading:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},customStatuses:{buttons:{addAllUnknown:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0442\u0438\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"},addNewStatus:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438"},resetCustomStatuses:{name:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0442\u0438\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u043A \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"}},description:{line1:"\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 <b>\u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C CSS \u0441\u043D\u0438\u043F\u043F\u0435\u0442 \u0438\u043B\u0438 \u0442\u0435\u043C\u0443</b> \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0444\u043B\u0430\u0436\u043A\u043E\u0432.",line2:"\u0417\u0430\u0442\u0435\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043D\u0438\u0436\u0435, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0441\u0432\u043E\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438 CSS \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438.",line3:"<b>\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435.</b> \u041B\u044E\u0431\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0441 \u0442\u0435\u043C \u0436\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C, \u0447\u0442\u043E \u0438 \u0443 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432, \u0431\u0443\u0434\u0443\u0442 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 '\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438\u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443' \u0438 \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0432 \u043D\u0430 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0439\u0441\u044F \u0441\u043F\u0438\u0441\u043E\u043A \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432.",line4:"\u0421\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C!"},heading:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},heading:"\u0421\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447"}}}});var sT,iT=Z(()=>{sT={main:{loadingPlugin:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}",unloadingPlugin:"\u0412\u0438\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u042F\u043A\u0449\u043E \u0432\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043E, \u0446\u0435\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u044F\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430, \u0449\u043E\u0431 \u0432\u0438 \u043C\u043E\u0433\u043B\u0438 \u043F\u0440\u0438\u0437\u043D\u0430\u0447\u0438\u0442\u0438 \u0433\u0430\u0440\u044F\u0447\u0443 \u043A\u043B\u0430\u0432\u0456\u0448\u0443 \u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u0442\u0438 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430 \u0457\u0457 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E.",name:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u044F\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430"},editNextStatusSymbol:{description:"\u0421\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043C\u0430\u0454 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u043C \u043F\u0440\u0438 \u043D\u0430\u0442\u0438\u0441\u043A\u0430\u043D\u043D\u0456.",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},editStatusName:{description:"\u0426\u0435 \u0437\u0440\u043E\u0437\u0443\u043C\u0456\u043B\u0430 \u043D\u0430\u0437\u0432\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u041D\u0430\u0437\u0432\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},editStatusSymbol:{description:"\u0426\u0435 \u0441\u0438\u043C\u0432\u043E\u043B \u043C\u0456\u0436 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u0438\u043C\u0438 \u0434\u0443\u0436\u043A\u0430\u043C\u0438. (\u0419\u043E\u0433\u043E \u043C\u043E\u0436\u043D\u0430 \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043B\u0438\u0448\u0435 \u0434\u043B\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432, \u0430 \u043D\u0435 \u0434\u043B\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432.)",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},editStatusType:{description:"\u041A\u0435\u0440\u0443\u0439\u0442\u0435 \u0442\u0438\u043C, \u044F\u043A \u0441\u0442\u0430\u0442\u0443\u0441 \u043F\u043E\u0432\u043E\u0434\u0438\u0442\u044C\u0441\u044F \u043F\u0456\u0434 \u0447\u0430\u0441 \u043F\u043E\u0448\u0443\u043A\u0443 \u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u043D\u043D\u044F.",name:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},fixErrorsBeforeSaving:"\u0412\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F\u043C."}},reports:{statusRegistry:{about:{createdBy:"\u0426\u0435\u0439 \u0444\u0430\u0439\u043B \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043F\u043B\u0430\u0433\u0456\u043D\u043E\u043C Obsidian Tasks (\u0432\u0435\u0440\u0441\u0456\u044F {{version}}), \u0449\u043E\u0431 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438 \u0432\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0437\u0430\u0434\u0430\u0447 \u0443 \u0446\u044C\u043E\u043C\u0443 \u0441\u0445\u043E\u0432\u0438\u0449\u0456.",deleteFileAnyTime:"\u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0444\u0430\u0439\u043B \u0443 \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u0439 \u0447\u0430\u0441.",title:"\u041F\u0440\u043E \u0446\u0435\u0439 \u0444\u0430\u0439\u043B",updateReport:{line1:"\u042F\u043A\u0449\u043E \u0432\u0438 \u0437\u043C\u0456\u043D\u0438\u0442\u0435 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 Tasks, \u0432\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0439 \u0437\u0432\u0456\u0442, \u0432\u0438\u043A\u043E\u043D\u0430\u0432\u0448\u0438 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0456 \u0434\u0456\u0457:",line2:"\u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0434\u043E `\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F` -> `Tasks`.",line3:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C `\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0442\u0430 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0432\u0430\u0448\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438`."}},columnHeadings:{nextStatusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443",problems:"\u041F\u0440\u043E\u0431\u043B\u0435\u043C\u0438 (\u044F\u043A\u0449\u043E \u0454)",statusName:"\u041D\u0430\u0437\u0432\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusType:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443"},loadedSettings:{settingsActuallyUsed:"\u0426\u0435 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F, \u044F\u043A\u0456 \u0444\u0430\u043A\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u044E\u0442\u044C\u0441\u044F Tasks.",switchToLivePreview:"\u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0443 \u0440\u0435\u0436\u0438\u043C Live Preview \u0430\u0431\u043E \u0440\u0435\u0436\u0438\u043C \u0447\u0438\u0442\u0430\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443.",title:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F"},messages:{cannotFindNextStatus:"\u041D\u0435\u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0440\u0438 \u043F\u043E\u0448\u0443\u043A\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443.",duplicateSymbol:"\u0414\u0443\u0431\u043B\u0456\u043A\u0430\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u0443 '{{symbol}}': \u0446\u0435\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0456\u0433\u043D\u043E\u0440\u043E\u0432\u0430\u043D\u043E.",emptySymbol:"\u041F\u043E\u0440\u043E\u0436\u043D\u0456\u0439 \u0441\u0438\u043C\u0432\u043E\u043B: \u0446\u0435\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0456\u0433\u043D\u043E\u0440\u043E\u0432\u0430\u043D\u043E.",nextSymbolUnknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u0438\u0439 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B {{symbol}}: \u0441\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0456\u0437 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C {{symbol}}.",notConventionalType:"\u0414\u043B\u044F \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457, \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0442\u0438\u043F \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0443 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 {{symbol}} - {{type}}: \u043C\u043E\u0436\u043B\u0438\u0432\u043E, \u0432\u0438 \u0437\u0430\u0445\u043E\u0447\u0435\u0442\u0435 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0446\u0435\u0439 \u0442\u0438\u043F.",wrongTypeAfterDone:{line1:"\u0417\u0430 \u0446\u0438\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C `DONE` \u0439\u0434\u0435 {{nextType}}, \u0430 \u043D\u0435 `TODO` \u0430\u0431\u043E `IN_PROGRESS`.",line2:"\u042F\u043A\u0449\u043E \u0439\u043E\u0433\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456, \u0437\u0430\u043C\u0456\u0441\u0442\u044C \u0446\u044C\u043E\u0433\u043E \u0437\u0430 \u043D\u0438\u043C \u0431\u0443\u0434\u0435 \u0441\u043B\u0456\u0434\u0443\u0432\u0430\u0442\u0438 `TODO` \u0430\u0431\u043E `IN_PROGRESS`, \u0449\u043E\u0431 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u043B\u0430 \u0444\u0456\u043B\u044C\u0442\u0440\u0443 `\u043D\u0435 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E`.",line3:"\u0414\u0438\u0432. [\u041F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u0456 \u0437\u0430\u0434\u0430\u0447\u0456 \u0442\u0430 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438]({{helpURL}})."}},sampleTasks:{line1:"\u041E\u0441\u044C \u043F\u043E \u043E\u0434\u043D\u043E\u043C\u0443 \u043F\u0440\u0438\u043A\u043B\u0430\u0434\u0443 \u0440\u044F\u0434\u043A\u0430 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443, \u044F\u043A\u0438\u0439 \u0444\u0430\u043A\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F \u0443 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F\u0445, \u0449\u043E\u0431 \u0432\u0438 \u043C\u043E\u0433\u043B\u0438 \u043F\u043E\u0435\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442\u0443\u0432\u0430\u0442\u0438.",line2:"\u0421\u0438\u043C\u0432\u043E\u043B\u0438 \u0442\u0430 \u043D\u0430\u0437\u0432\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0432 \u043E\u043F\u0438\u0441\u0430\u0445 \u0437\u0430\u0432\u0434\u0430\u043D\u044C \u0431\u0443\u043B\u0438 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u043C\u0438 \u043D\u0430 \u043C\u043E\u043C\u0435\u043D\u0442 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0443.",line3:"\u042F\u043A\u0449\u043E \u0432\u0438 \u0437\u043C\u0456\u043D\u0438\u043B\u0438 \u043F\u0440\u0438\u043A\u043B\u0430\u0434\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u044C \u0437 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0457\u0445 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F, \u0432\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u043F\u043E\u0442\u043E\u0447\u043D\u0456 \u0442\u0438\u043F\u0438 \u0442\u0430 \u043D\u0430\u0437\u0432\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0443 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0445 \u0433\u0440\u0443\u043F \u0443 \u043F\u043E\u0448\u0443\u043A\u0443 Tasks \u043D\u0438\u0436\u0447\u0435.",tip:{line1:"\u041F\u043E\u0440\u0430\u0434\u0430: \u042F\u043A\u0449\u043E \u0432\u0441\u0456 \u0432\u0430\u0448\u0456 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456 \u0432\u0438\u0433\u043B\u044F\u0434\u0430\u044E\u0442\u044C \u043E\u0434\u043D\u0430\u043A\u043E\u0432\u043E...",line2:"\u042F\u043A\u0449\u043E \u0432\u0441\u0456 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456 \u0432\u0438\u0433\u043B\u044F\u0434\u0430\u044E\u0442\u044C \u043E\u0434\u043D\u0430\u043A\u043E\u0432\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0456 \u0447\u0438\u0442\u0430\u043D\u043D\u044F \u0447\u0438 \u0456\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434\u0443 (Live Preview), \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u044C\u0442\u0435 [\u0421\u0442\u0438\u043B\u0456\u0437\u0430\u0446\u0456\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432]({{url}}), \u0449\u043E\u0431 \u0434\u0456\u0437\u043D\u0430\u0442\u0438\u0441\u044F, \u044F\u043A \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0442\u0435\u043C\u0443 \u0447\u0438 CSS-\u0441\u043D\u0456\u043F\u0435\u0442 \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0456\u0437\u0430\u0446\u0456\u0457 \u0432\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432."},title:"\u041F\u0440\u0438\u043A\u043B\u0430\u0434\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u044C"},searchSampleTasks:{line1:"\u0426\u0435\u0439 \u043F\u043E\u0448\u0443\u043A Tasks \u043F\u043E\u043A\u0430\u0437\u0443\u0454 \u0432\u0441\u0456 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0432 \u0446\u044C\u043E\u043C\u0443 \u0444\u0430\u0439\u043B\u0456, \u0437\u0433\u0440\u0443\u043F\u043E\u0432\u0430\u043D\u0456 \u0437\u0430 \u0442\u0438\u043F\u043E\u043C \u0442\u0430 \u043D\u0430\u0437\u0432\u043E\u044E \u0441\u0442\u0430\u0442\u0443\u0441\u0443.",title:"\u041F\u043E\u0448\u0443\u043A \u0443 \u043F\u0440\u0438\u043A\u043B\u0430\u0434\u0430\u0445 \u0437\u0430\u0432\u0434\u0430\u043D\u044C"},statusSettings:{comment:{line1:"\u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0443 \u0440\u0435\u0436\u0438\u043C Live Preview \u0430\u0431\u043E \u0440\u0435\u0436\u0438\u043C \u0447\u0438\u0442\u0430\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u0442\u0430\u0431\u043B\u0438\u0446\u044E.",line2:"\u042F\u043A\u0449\u043E \u0432 \u043D\u0430\u0437\u0432\u0430\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0454 \u0441\u0438\u043C\u0432\u043E\u043B\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0443\u0432\u0430\u043D\u043D\u044F Markdown, \u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434 '*' \u0430\u0431\u043E '_',",line3:"Obsidian \u043C\u043E\u0436\u0435 \u043A\u043E\u0440\u0435\u043A\u0442\u043D\u043E \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u0438 \u0442\u0430\u0431\u043B\u0438\u0446\u044E \u043B\u0438\u0448\u0435 \u0432 \u0440\u0435\u0436\u0438\u043C\u0456 \u0447\u0438\u0442\u0430\u043D\u043D\u044F."},theseAreStatusValues:"\u0426\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0443 \u0440\u043E\u0437\u0434\u0456\u043B\u0430\u0445 \u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0445 \u0456 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432.",title:"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432"}}},settings:{autoSuggest:{heading:"\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F",maxSuggestions:{description:'\u0421\u043A\u0456\u043B\u044C\u043A\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u043C\u0430\u0454 \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u0438\u0441\u044F, \u043A\u043E\u043B\u0438 \u0437\u2019\u044F\u0432\u043B\u044F\u0454\u0442\u044C\u0441\u044F \u043C\u0435\u043D\u044E \u0430\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F (\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0447\u0438 \u043E\u043F\u0446\u0456\u044E "\u23CE").',name:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u0434\u043B\u044F \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F"},minLength:{description:"\u042F\u043A\u0449\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0431\u0456\u043B\u044C\u0448\u0435 0, \u0430\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F \u0431\u0443\u0434\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u0438\u0441\u044F \u043B\u0438\u0448\u0435 \u0442\u043E\u0434\u0456, \u043A\u043E\u043B\u0438 \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0454\u0442\u044C\u0441\u044F \u043F\u043E\u0447\u0430\u0442\u043E\u043A \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u0445 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0432\u0430\u043D\u0438\u0445 \u043A\u043B\u044E\u0447\u043E\u0432\u0438\u0445 \u0441\u043B\u0456\u0432.",name:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430 \u0434\u043E\u0432\u0436\u0438\u043D\u0430 \u0437\u0431\u0456\u0433\u0443 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F"},toggle:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0456\u0434\u043A\u0440\u0438\u0454 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0435 \u043C\u0435\u043D\u044E \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0442\u0435\u043A\u0441\u0442\u0443 \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0456 \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u043E\u0433\u043E \u0440\u044F\u0434\u043A\u0430 \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F \u0432\u043C\u0456\u0441\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"}},changeRequiresRestart:"\u0417\u043C\u0456\u043D\u0430 \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u0445 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0432\u0438\u043C\u0430\u0433\u0430\u0454 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0443 obsidian.",dates:{cancelledDate:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0434\u043E\u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0437\u043D\u0430\u0447\u043A\u0443 \u0447\u0430\u0441\u0443 \u274C YYYY-MM-DD \u0432 \u043A\u0456\u043D\u0446\u0456, \u043A\u043E\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u0454\u0442\u044C\u0441\u044F \u0432 \u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u0438\u0439 \u0441\u0442\u0430\u043D.",name:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u0442\u0443 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0457 \u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456"},createdDate:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0434\u043E\u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0437\u043D\u0430\u0447\u043A\u0443 \u0447\u0430\u0441\u0443 \u2795 YYYY-MM-DD \u043F\u0435\u0440\u0435\u0434 \u0456\u043D\u0448\u0438\u043C\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F\u043C\u0438 \u0434\u0430\u0442, \u043A\u043E\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0442\u0432\u043E\u0440\u044E\u0454\u0442\u044C\u0441\u044F \u0437\u0430 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E '\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0430\u0431\u043E \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0443' \u0430\u0431\u043E \u0448\u043B\u044F\u0445\u043E\u043C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u0442\u0443 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0457 \u0434\u043E\u0434\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456"},doneDate:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0434\u043E\u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0437\u043D\u0430\u0447\u043A\u0443 \u0447\u0430\u0441\u0443 \u2705 YYYY-MM-DD \u0432 \u043A\u0456\u043D\u0446\u0456, \u043A\u043E\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u0454\u0442\u044C\u0441\u044F \u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u0438\u0439 \u0441\u0442\u0430\u043D.",name:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u0442\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0457 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456"},heading:"\u0414\u0430\u0442\u0438"},datesFromFileNames:{heading:"\u0414\u0430\u0442\u0438 \u0437 \u043D\u0430\u0437\u0432 \u0444\u0430\u0439\u043B\u0456\u0432",scheduledDate:{extraFormat:{description:{line1:"\u0414\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u0438, \u044F\u043A\u0438\u0439 \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0432\u0430\u0442\u0438\u043C\u0435 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0437\u0432\u0438 \u0444\u0430\u0439\u043B\u0443 \u044F\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0443 \u0434\u0430\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438.",line2:"\u0414\u043E\u0432\u0456\u0434\u043A\u0430 \u0437 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0443"},name:"\u0414\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u0438 \u043D\u0430\u0437\u0432\u0438 \u0444\u0430\u0439\u043B\u0443 \u044F\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0430 \u0434\u0430\u0442\u0430 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438",placeholder:"\u043F\u0440\u0438\u043A\u043B\u0430\u0434: MMM DD YYYY"},folders:{description:"\u0417\u0430\u043B\u0438\u0448\u0442\u0435 \u043F\u043E\u0440\u043E\u0436\u043D\u0456\u043C, \u044F\u043A\u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0456 \u0434\u0430\u0442\u0438 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C \u0432\u0441\u044E\u0434\u0438, \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0430\u043F\u043E\u043A, \u0440\u043E\u0437\u0434\u0456\u043B\u0435\u043D\u0438\u0445 \u043A\u043E\u043C\u0430\u043C\u0438.",name:"\u041F\u0430\u043F\u043A\u0438 \u0437 \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0438\u043C\u0438 \u0434\u0430\u0442\u0430\u043C\u0438 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C"},toggle:{description:{line1:"\u0417\u0430\u043E\u0449\u0430\u0434\u0436\u0443\u0439\u0442\u0435 \u0447\u0430\u0441 \u043D\u0430 \u0432\u0432\u0435\u0434\u0435\u043D\u043D\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0438\u0445 (\u23F3) \u0434\u0430\u0442.",line2:"\u042F\u043A\u0449\u043E \u0446\u0435\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0443\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043E, \u0443\u0441\u0456\u043C \u0437\u0430\u0434\u0430\u0447\u0430\u043C \u0431\u0435\u0437 \u0434\u0430\u0442\u0438 \u0431\u0443\u0434\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0454\u043D\u043E \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0443 \u0434\u0430\u0442\u0443 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C, \u0432\u0438\u0442\u044F\u0433\u043D\u0443\u0442\u0443 \u0437 \u0457\u0445 \u043D\u0430\u0437\u0432\u0438 \u0444\u0430\u0439\u043B\u0443.",line3:"\u0417\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0432\u0430\u0442\u0438\u043C\u0435 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 \u0434\u0430\u0442 <code>YYYY-MM-DD</code> \u0456 <code>YYYYMMDD</code>.",line4:"\u0417\u0430\u0434\u0430\u0447\u0456 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438 \u043D\u0435 \u043C\u0430\u044E\u0442\u044C \u0434\u0430\u0442 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F (\u{1F4C5}), \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u043E\u0457 (\u23F3) \u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 (\u{1F6EB})."},name:"\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u043D\u0430\u0437\u0432\u0443 \u0444\u0430\u0439\u043B\u0443 \u044F\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0443 \u0434\u0430\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438"}}},dialogs:{accessKeys:{description:"\u042F\u043A\u0449\u043E \u043A\u043B\u0430\u0432\u0456\u0448\u0456 \u0434\u043E\u0441\u0442\u0443\u043F\u0443 (\u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u0457 \u043A\u043B\u0430\u0432\u0456\u0448) \u0434\u043B\u044F \u0440\u0456\u0437\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043A\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u0432 \u0434\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0438\u0445 \u0432\u0456\u043A\u043D\u0430\u0445 \u043A\u043E\u043D\u0444\u043B\u0456\u043A\u0442\u0443\u044E\u0442\u044C \u0456\u0437 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0438\u043C\u0438 \u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u044F\u043C\u0438 \u043A\u043B\u0430\u0432\u0456\u0448 \u0430\u0431\u043E \u0444\u0443\u043D\u043A\u0446\u0456\u043E\u043D\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044E \u0434\u043E\u043F\u043E\u043C\u0456\u0436\u043D\u0438\u0445 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0456\u0439, \u044F\u043A\u0456 \u0432\u0430\u0436\u043B\u0438\u0432\u0456 \u0434\u043B\u044F \u0432\u0430\u0441, \u0432\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0443\u0432\u0430\u0442\u0438 \u0457\u0445 \u0442\u0443\u0442.",name:"\u041D\u0430\u0434\u0430\u0432\u0430\u0442\u0438 \u043A\u043B\u0430\u0432\u0456\u0448\u0456 \u0434\u043E\u0441\u0442\u0443\u043F\u0443 \u0432 \u0434\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0438\u0445 \u0432\u0456\u043A\u043D\u0430\u0445"},heading:"\u0414\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0456 \u0432\u0456\u043A\u043D\u0430"},format:{description:{line1:"\u0424\u043E\u0440\u043C\u0430\u0442, \u044F\u043A\u0438\u0439 Tasks \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0434\u043B\u044F \u0447\u0438\u0442\u0430\u043D\u043D\u044F \u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u0443 \u0437\u0430\u0434\u0430\u0447.",line2:"<b>\u0412\u0430\u0436\u043B\u0438\u0432\u043E:</b> Tasks \u0437\u0430\u0440\u0430\u0437 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454 \u043B\u0438\u0448\u0435 \u043E\u0434\u0438\u043D \u0444\u043E\u0440\u043C\u0430\u0442 \u0437\u0430 \u0440\u0430\u0437. \u0412\u0438\u0431\u0456\u0440 Dataview \u043D\u0430\u0440\u0430\u0437\u0456 <b>\u0437\u0443\u043F\u0438\u043D\u0438\u0442\u044C \u0447\u0438\u0442\u0430\u043D\u043D\u044F Tasks \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u0437\u043D\u0430\u043A\u0456\u0432 \u0435\u043C\u043E\u0434\u0437\u0456</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0435\u043C\u043E\u0434\u0437\u0456 Tasks"},name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0437\u0430\u0434\u0430\u0447"},globalFilter:{filter:{description:{line1:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u043E\u0432\u0430\u043D\u043E: \u0417\u0430\u043B\u0438\u0448\u0442\u0435 \u043F\u043E\u0440\u043E\u0436\u043D\u0456\u043C, \u044F\u043A\u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435, \u0449\u043E\u0431 \u0443\u0441\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0443 \u0432\u0430\u0448\u043E\u043C\u0443 \u0441\u0445\u043E\u0432\u0438\u0449\u0456 \u0431\u0443\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438, \u044F\u043A\u0438\u043C\u0438 \u043A\u0435\u0440\u0443\u0454 \u0446\u0435\u0439 \u043F\u043B\u0430\u0433\u0456\u043D.",line2:'\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0439\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440, \u044F\u043A\u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435, \u0449\u043E\u0431 Tasks \u0434\u0456\u044F\u043B\u0438 \u043B\u0438\u0448\u0435 \u043D\u0430 \u043F\u0456\u0434\u043C\u043D\u043E\u0436\u0438\u043D\u0443 \u0432\u0430\u0448\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 "<code>- [ ]</code>", \u0449\u043E\u0431 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0432\u043A\u043B\u044E\u0447\u0430\u0432 \u0432 \u043E\u043F\u0438\u0441\u0456 \u0432\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A, \u0449\u043E\u0431 \u0432\u0432\u0430\u0436\u0430\u0442\u0438\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0435\u044E.',line3:"\u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u044F\u043A\u0449\u043E \u0432\u0438 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440 \u043D\u0430 <code>#task</code>, \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u043E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438\u043C\u0435 \u043B\u0438\u0448\u0435 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432, \u043F\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0456 \u0442\u0435\u0433\u043E\u043C <code>#task</code>.",line4:"\u0406\u043D\u0448\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0437\u0430\u043B\u0438\u0448\u0430\u0442\u044C\u0441\u044F \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u043C\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0456 \u043D\u0435 \u0437\u2019\u044F\u0432\u043B\u044F\u0442\u0438\u043C\u0443\u0442\u044C\u0441\u044F \u0432 \u0437\u0430\u043F\u0438\u0442\u0430\u0445 \u0430\u0431\u043E \u043D\u0435 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u044E\u0432\u0430\u0442\u0438\u043C\u0443\u0442\u044C \u0434\u0430\u0442\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F."},name:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440",placeholder:"\u043D\u0430\u043F\u0440. #task \u0430\u0431\u043E TODO"},heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440 \u0437\u0430\u0434\u0430\u0447",removeFilter:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0438\u0434\u0430\u043B\u044F\u0454 \u0440\u044F\u0434\u043E\u043A, \u044F\u043A\u0438\u0439 \u0432\u0438 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0438 \u044F\u043A \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440, \u0437 \u043E\u043F\u0438\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440 \u0437 \u043E\u043F\u0438\u0441\u0443"}},globalQuery:{heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0437\u0430\u043F\u0438\u0442",query:{description:"\u0417\u0430\u043F\u0438\u0442, \u044F\u043A\u0438\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0432\u043A\u043B\u044E\u0447\u0430\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043A\u043E\u0436\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0443 Tasks \u0443 \u0441\u0445\u043E\u0432\u0438\u0449\u0456. \u041A\u043E\u0440\u0438\u0441\u043D\u043E \u0434\u043B\u044F \u0434\u043E\u0434\u0430\u0432\u0430\u043D\u043D\u044F \u0444\u0456\u043B\u044C\u0442\u0440\u0456\u0432 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C \u0430\u0431\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0456\u0432 \u043C\u0430\u043A\u0435\u0442\u0430.",placeholder:`\u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434...
path does not include _templates/
limit 300
show urgency`}},presets:{line1:"",line2:"",name:""},recurringTasks:{heading:"\u041F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u0456 \u0437\u0430\u0434\u0430\u0447\u0456",nextLine:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0437\u043C\u0443\u0441\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u0430\u0434\u0430\u0447\u0456 \u0437\u2019\u044F\u0432\u043B\u044F\u0442\u0438\u0441\u044F \u043D\u0430 \u0440\u044F\u0434\u043A\u0443 \u043D\u0438\u0436\u0447\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456. \u0406\u043D\u0430\u043A\u0448\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u2019\u044F\u0432\u0438\u0442\u044C\u0441\u044F \u043F\u0435\u0440\u0435\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E\u044E.",name:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u2019\u044F\u0432\u043B\u044F\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u0440\u044F\u0434\u043A\u0443 \u043D\u0438\u0436\u0447\u0435"},removeScheduledDate:{description:{line1:"",line2:""},name:""}},seeTheDocumentation:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0456\u044E",statuses:{collections:{anuppuccinTheme:"\u0422\u0435\u043C\u0430 AnuPpuccin",auraTheme:"\u0422\u0435\u043C\u0430 Aura",borderTheme:"\u0422\u0435\u043C\u0430 Border",buttons:{addCollection:{name:"{{themeName}}: \u0414\u043E\u0434\u0430\u0442\u0438 {{numberOfStatuses}} \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0432\u0430\u043D\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432"}},ebullientworksTheme:"\u0422\u0435\u043C\u0430 Ebullientworks",itsThemeAndSlrvbCheckboxes:"\u0422\u0435\u043C\u0430 ITS \u0456 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456 SlRvb",lytModeTheme:"\u0422\u0435\u043C\u0430 LYT Mode (\u043B\u0438\u0448\u0435 \u0442\u0435\u043C\u043D\u0438\u0439 \u0440\u0435\u0436\u0438\u043C)",minimalTheme:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430 \u0442\u0435\u043C\u0430",thingsTheme:"\u0422\u0435\u043C\u0430 Things"},coreStatuses:{buttons:{checkStatuses:{name:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0442\u0430 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0432\u0430\u0448\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438",tooltip:"\u0421\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u043D\u043E\u0432\u0438\u0439 \u0444\u0430\u0439\u043B \u0443 \u043A\u043E\u0440\u0435\u043D\u0456 \u0441\u0445\u043E\u0432\u0438\u0449\u0430, \u0449\u043E \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443 Mermaid \u043F\u043E\u0442\u043E\u0447\u043D\u0438\u0445 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0441\u0442\u0430\u0442\u0443\u0441\u0443."}},description:{line1:"\u0426\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438, \u044F\u043A\u0456 Tasks \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454 \u043D\u0430\u0442\u0438\u0432\u043D\u043E, \u0431\u0435\u0437 \u043F\u043E\u0442\u0440\u0435\u0431\u0438 \u0432 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u043E\u043C\u0443 CSS-\u0441\u0442\u0438\u043B\u044E\u0432\u0430\u043D\u043D\u0456 \u0447\u0438 \u0442\u0435\u043C\u0430\u0445.",line2:"\u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u043E\u0434\u0430\u0432\u0430\u0442\u0438, \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0430 \u0434\u043E\u0434\u0430\u0432\u0430\u0442\u0438 \u0432\u043B\u0430\u0441\u043D\u0456 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0432 \u0440\u043E\u0437\u0434\u0456\u043B\u0456 \u043D\u0438\u0436\u0447\u0435."},heading:"\u041E\u0441\u043D\u043E\u0432\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438"},customStatuses:{buttons:{addAllUnknown:{name:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0432\u0441\u0456 \u043D\u0435\u0432\u0456\u0434\u043E\u043C\u0456 \u0442\u0438\u043F\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432"},addNewStatus:{name:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0456"},resetCustomStatuses:{name:"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0442\u0438\u043F\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0434\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u044C \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C"}},description:{line1:"\u0421\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u0441\u043B\u0456\u0434 <b>\u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0442\u0430 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 CSS-\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u0430\u0431\u043E \u0442\u0435\u043C\u0443</b> \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0456\u0437\u0430\u0446\u0456\u0457 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456\u0432.",line2:"\u041F\u043E\u0442\u0456\u043C \u0441\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435\u0441\u044F \u043A\u043D\u043E\u043F\u043A\u0430\u043C\u0438 \u043D\u0438\u0436\u0447\u0435, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0432\u043E\u0457 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u043D\u043E \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 CSS-\u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456\u0432.",line3:"<b>\u041F\u0440\u0438\u043C\u0456\u0442\u043A\u0430</b> \u0411\u0443\u0434\u044C-\u044F\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0437 \u0442\u0438\u043C \u0441\u0430\u043C\u0438\u043C \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C, \u0449\u043E \u0439 \u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438, \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0456\u0433\u043D\u043E\u0440\u043E\u0432\u0430\u043D\u043E. \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u0444\u0430\u043A\u0442\u0438\u0447\u043D\u043E \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438, \u0432\u0438\u043A\u043E\u043D\u0430\u0432\u0448\u0438 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \xAB\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0430\u0431\u043E \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0443\xBB \u0442\u0430 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0432\u0448\u0438 \u0441\u043F\u0430\u0434\u043D\u0435 \u043C\u0435\u043D\u044E \xAB\u0421\u0442\u0430\u0442\u0443\u0441\xBB.",line4:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u044C\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0456\u044E, \u0449\u043E\u0431 \u0440\u043E\u0437\u043F\u043E\u0447\u0430\u0442\u0438!"},heading:"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438"},heading:"\u0421\u0442\u0430\u0442\u0443\u0441\u0438 \u0437\u0430\u0434\u0430\u0447"}}}});var oT,aT=Z(()=>{oT={main:{loadingPlugin:"\u52A0\u8F7D\u63D2\u4EF6: {{name}} v{{version}}",unloadingPlugin:"\u5378\u8F7D\u63D2\u4EF6: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u5982\u679C\u542F\u7528\uFF0C\u6B64\u72B6\u6001\u5C06\u4F5C\u4E3A\u547D\u4EE4\u53EF\u7528,\u56E0\u6B64\u60A8\u53EF\u4EE5\u6307\u5B9A\u5FEB\u6377\u952E\u5E76\u4F7F\u7528\u5B83\u5207\u6362\u72B6\u6001\u3002",name:"\u53EF\u7528\u4F5C\u547D\u4EE4"},editNextStatusSymbol:{description:"\u5355\u51FB\u65F6\uFF0C\u8FD9\u662F\u4E0B\u4E00\u6B65\u5E94\u8BE5\u4F7F\u7528\u7684\u7B26\u53F7\u3002",name:"\u4EFB\u52A1\u4E0B\u4E00\u4E2A\u72B6\u6001\u7B26\u53F7"},editStatusName:{description:"\u8FD9\u662F\u4EFB\u52A1\u72B6\u6001\u7684\u53CB\u597D\u540D\u79F0.",name:"\u4EFB\u52A1\u72B6\u6001\u540D\u79F0"},editStatusSymbol:{description:"\u8FD9\u662F\u65B9\u62EC\u53F7\u4E2D\u7684\u5B57\u7B26\u3002\uFF08\u4EC5\u53EF\u7F16\u8F91\u81EA\u5B9A\u4E49\u72B6\u6001,\u4E0D\u53EF\u7F16\u8F91\u6838\u5FC3\u72B6\u6001\u3002\uFF09",name:"\u4EFB\u52A1\u72B6\u6001\u7B26\u53F7"},editStatusType:{description:"\u63A7\u5236\u641C\u7D22\u548C\u5207\u6362\u72B6\u6001\u7684\u884C\u4E3A\u3002",name:"\u4EFB\u52A1\u72B6\u6001\u7C7B\u578B"},fixErrorsBeforeSaving:"\u5728\u4FDD\u5B58\u524D\u4FEE\u590D\u9519\u8BEF\u3002"}},reports:{statusRegistry:{about:{createdBy:"\u6B64\u6587\u4EF6\u7531 Obsidian tasks \u63D2\u4EF6(version {{version}})\u521B\u5EFA,\u4EE5\u5E2E\u52A9\u53EF\u89C6\u5316\u6B64\u4ED3\u5E93\u4E2D\u7684\u4EFB\u52A1\u72B6\u6001.",deleteFileAnyTime:"\u60A8\u53EF\u4EE5\u968F\u65F6\u5220\u9664\u6B64\u6587\u4EF6.",title:"\u5173\u4E8E\u6B64\u6587\u4EF6",updateReport:{line1:"\u5982\u679C\u66F4\u6539 Tasks \u72B6\u6001\u8BBE\u7F6E,\u5219\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B\u65B9\u5F0F\u83B7\u53D6\u66F4\u65B0\u540E\u7684\u62A5\u544A:",line2:"\u524D\u5F80 `\u8BBE\u7F6E` -> `Tasks`\u3002",line3:"\u70B9\u51FB `\u67E5\u770B\u5E76\u68C0\u67E5\u60A8\u7684\u72B6\u6001`\u3002"}},columnHeadings:{nextStatusSymbol:"\u4E0B\u4E00\u4E2A\u72B6\u6001\u7B26\u53F7",problems:"\u95EE\u9898 (\u5982\u679C\u5B58\u5728)",statusName:"\u72B6\u6001\u540D\u79F0",statusSymbol:"\u72B6\u6001\u7B26\u53F7",statusType:"\u72B6\u6001\u7C7B\u578B"},loadedSettings:{settingsActuallyUsed:"\u8FD9\u4E9B\u662F Tasks \u5B9E\u9645\u4F7F\u7528\u7684\u8BBE\u7F6E.",switchToLivePreview:"\u5207\u6362\u5230\u5B9E\u65F6\u9884\u89C8\u6216\u9605\u8BFB\u6A21\u5F0F\u4EE5\u67E5\u770B\u56FE\u8868.",title:"\u5DF2\u52A0\u8F7D\u8BBE\u7F6E"},messages:{cannotFindNextStatus:"\u672A\u80FD\u610F\u5916\u627E\u5230\u4E0B\u4E00\u4E2A\u72B6\u6001.",duplicateSymbol:"\u91CD\u590D\u7684\u7B26\u53F7 '{{symbol}}':\u6B64\u72B6\u6001\u5C06\u88AB\u5FFD\u7565.",emptySymbol:"\u7A7A\u7B26\u53F7:\u6B64\u72B6\u6001\u5C06\u88AB\u5FFD\u7565.",nextSymbolUnknown:"\u4E0B\u4E00\u4E2A\u7B26\u53F7 {{symbol}} \u672A\u77E5:\u8BF7\u521B\u5EFA\u7B26\u53F7\u4E3A {{symbol}} \u7684\u72B6\u6001.",notConventionalType:"\u4F9B\u53C2\u8003,\u72B6\u6001\u7B26\u53F7 {{symbol}} \u7684\u5E38\u89C4\u7C7B\u578B\u662F {{type}}:\u60A8\u53EF\u80FD\u5E0C\u671B\u67E5\u770B\u6B64\u7C7B\u578B.",wrongTypeAfterDone:{line1:"\u6B64`\u5B8C\u6210`\u72B6\u6001\u540E\u8DDF\u968F\u7684\u662F{{nextType}}\uFF0C\u800C\u4E0D\u662F`\u5F85\u529E`\u6216`\u8FDB\u884C\u4E2D`\u3002",line2:"\u5982\u679C\u7528\u4E8E\u5B8C\u6210\u4E00\u4E2A\u91CD\u590D\u4EFB\u52A1\uFF0C\u5B83\u540E\u9762\u4F1A\u8DDF\u7740\u5F85\u529E`\u6216`\u8FDB\u884C\u4E2D`\uFF0C\u4EE5\u786E\u4FDD\u4E0B\u4E00\u4E2A\u4EFB\u52A1\u7B26\u5408\u201C\u672A\u5B8C\u6210\u201D\u7684\u7B5B\u9009\u6761\u4EF6\u3002",line3:"\u8BF7\u53C2\u9605[\u91CD\u590D\u4EFB\u52A1\u548C\u81EA\u5B9A\u4E49\u72B6\u6001]({{helpURL}})\u3002"}},sampleTasks:{line1:"\u8FD9\u91CC\u662F\u7528\u4E8E\u5B9E\u9645\u4EFB\u52A1\u4F7F\u7528\u7684\u5404\u79CD\u72B6\u6001\u7684\u793A\u4F8B\u4EFB\u52A1\u884C\uFF0C\u4F9B\u60A8\u8FDB\u884C\u5B9E\u9A8C\u3002",line2:"\u521B\u5EFA\u6B64\u6587\u4EF6\u65F6\uFF0C\u4EFB\u52A1\u63CF\u8FF0\u4E2D\u7684\u72B6\u6001\u7B26\u53F7\u548C\u540D\u79F0\u662F\u6B63\u786E\u7684\u3002",line3:"\u5982\u679C\u60A8\u81EA\u521B\u5EFA\u4EE5\u6765\u4FEE\u6539\u4E86\u6837\u4F8B\u4EFB\u52A1\uFF0C\u53EF\u4EE5\u5728\u4E0B\u65B9\u7684\u4EFB\u52A1\u641C\u7D22\u7684\u5206\u7EC4\u6807\u9898\u4E2D\u67E5\u770B\u5F53\u524D\u7684\u72B6\u6001\u7C7B\u578B\u548C\u540D\u79F0\u3002",tip:{line1:"\u63D0\u793A\uFF1A\u5982\u679C\u6240\u6709\u590D\u9009\u6846\u770B\u8D77\u6765\u90FD\u4E00\u6837...",line2:"\u5982\u679C\u5728\u9605\u8BFB\u6A21\u5F0F\u6216\u5B9E\u65F6\u9884\u89C8\u4E2D\u6240\u6709\u590D\u9009\u6846\u770B\u8D77\u6765\u90FD\u4E00\u6837\uFF0C\u8BF7\u53C2\u9605[\u81EA\u5B9A\u4E49\u72B6\u6001\u6837\u5F0F]({{url}})\uFF0C\u4E86\u89E3\u5982\u4F55\u9009\u62E9\u4E3B\u9898\u6216CSS\u7247\u6BB5\u6765\u4E3A\u60A8\u7684\u72B6\u6001\u8BBE\u7F6E\u6837\u5F0F\u3002"},title:"\u6837\u4F8B\u4EFB\u52A1"},searchSampleTasks:{line1:"\u6B64\u4EFB\u52A1\u641C\u7D22\u663E\u793A\u4E86\u6B64\u6587\u4EF6\u4E2D\u7684\u6240\u6709\u4EFB\u52A1\uFF0C\u6309\u5176\u72B6\u6001\u7C7B\u578B\u548C\u72B6\u6001\u540D\u79F0\u8FDB\u884C\u5206\u7EC4\u3002",title:"\u641C\u7D22\u6837\u4F8B\u4EFB\u52A1"},statusSettings:{comment:{line1:"\u5207\u6362\u5230\u5B9E\u65F6\u9884\u89C8\u6216\u9605\u8BFB\u6A21\u5F0F\u4EE5\u67E5\u770B\u8868\u683C.",line2:"\u5982\u679C\u72B6\u6001\u540D\u79F0\u4E2D\u6709\u4EFB\u4F55Markdown\u683C\u5F0F\u5B57\u7B26,\u5982 '*' \u6216 '_',",line3:"\u9ED1\u66DC\u77F3\u53EA\u80FD\u5728\u9605\u8BFB\u6A21\u5F0F\u4E0B\u6B63\u786E\u6E32\u67D3\u8868\u683C."},theseAreStatusValues:"\u8FD9\u4E9B\u662F\u6838\u5FC3\u548C\u81EA\u5B9A\u4E49\u72B6\u6001\u90E8\u5206\u4E2D\u7684\u72B6\u6001\u503C.",title:"\u72B6\u6001\u8BBE\u7F6E"}}},settings:{autoSuggest:{heading:"\u81EA\u52A8\u5EFA\u8BAE",maxSuggestions:{description:'\u5F53\u81EA\u52A8\u5EFA\u8BAE\u83DC\u5355\u5F39\u51FA\u65F6\uFF0C\u5E94\u663E\u793A\u591A\u5C11\u6761\u5EFA\u8BAE (\u5305\u542B "\u23CE" \u9009\u9879)\u3002',name:"\u8981\u663E\u793A\u7684\u6700\u5927\u81EA\u52A8\u5EFA\u8BAE\u6570"},minLength:{description:"\u5982\u679C\u9AD8\u4E8E0\uFF0C\u5219\u53EA\u6709\u5728\u8BC6\u522B\u51FA\u4EFB\u4F55\u652F\u6301\u7684\u5173\u952E\u5B57\u7684\u5F00\u5934\u65F6\u624D\u4F1A\u89E6\u53D1\u81EA\u52A8\u5EFA\u8BAE\u3002",name:"\u81EA\u52A8\u5EFA\u8BAE\u7684\u6700\u5C0F\u5339\u914D\u957F\u5EA6"},toggle:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u8BC6\u522B\u7684\u4EFB\u52A1\u884C\u5185\u8F93\u5165\u65F6\u6253\u5F00\u667A\u80FD\u5EFA\u8BAE\u83DC\u5355\u3002",name:"\u81EA\u52A8\u5EFA\u8BAE\u4EFB\u52A1\u5185\u5BB9"}},changeRequiresRestart:"\u66F4\u6539\u4EFB\u4F55\u8BBE\u7F6E\u90FD\u9700\u8981\u91CD\u65B0\u542F\u52A8Obsidian\u3002",dates:{cancelledDate:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u4EFB\u52A1\u8BBE\u7F6E\u4E3A\u53D6\u6D88\u65F6\uFF0C\u5728\u5176\u672B\u5C3E\u6DFB\u52A0\u65F6\u95F4\u6233 \u274C YYYY-MM-DD\u3002",name:"\u8BBE\u7F6E\u6BCF\u4E2A\u5DF2\u53D6\u6D88\u7684\u4EFB\u52A1\u7684\u53D6\u6D88\u65E5\u671F"},createdDate:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u901A\u8FC7\u201CCreate or edit task\u201D\u547D\u4EE4\u6216\u5B8C\u6210\u91CD\u590D\u4EFB\u52A1\u65F6\uFF0C\u5728\u5176\u4ED6\u65E5\u671F\u503C\u4E4B\u524D\u6DFB\u52A0\u65F6\u95F4\u6233\u2795YYYY-MM-DD\u3002",name:"\u8BBE\u7F6E\u6BCF\u4E2A\u5DF2\u6DFB\u52A0\u4EFB\u52A1\u7684\u521B\u5EFA\u65E5\u671F"},doneDate:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u4EFB\u52A1\u88AB\u8BBE\u7F6E\u4E3A\u5B8C\u6210\u65F6\uFF0C\u5728\u5176\u672B\u5C3E\u6DFB\u52A0\u65F6\u95F4\u6233 \u2705 YYYY-MM-DD\u3002",name:"\u8BBE\u7F6E\u6BCF\u4E2A\u5DF2\u5B8C\u6210\u4EFB\u52A1\u7684\u5B8C\u6210\u65E5\u671F"},heading:"\u65E5\u671F"},datesFromFileNames:{heading:"\u4ECE\u6587\u4EF6\u540D\u4E2D\u63D0\u53D6\u65E5\u671F",scheduledDate:{extraFormat:{description:{line1:"\u4EFB\u52A1\u63D2\u4EF6\u5728\u5C06\u6587\u4EF6\u540D\u7528\u4F5C\u672A\u6CE8\u660E\u65E5\u671F\u4EFB\u52A1\u7684\u8BA1\u5212\u65E5\u671F\u65F6\uFF0C\u5C06\u8BC6\u522B\u7684\u9644\u52A0\u65E5\u671F\u683C\u5F0F\u3002",line2:"\u8BED\u6CD5\u53C2\u8003"},name:"\u4E3A\u65E0\u65E5\u671F\u4EFB\u52A1\u6DFB\u52A0\u6587\u4EF6\u540D\u65E5\u671F\u683C\u5F0F\u4F5C\u4E3A\u8BA1\u5212\u65E5\u671F",placeholder:"\u793A\u4F8B\uFF1AMMM DD YYYY"},folders:{description:"\u5982\u679C\u8981\u5728\u5168\u5C40\u4F7F\u7528\u9ED8\u8BA4\u7684\u8BA1\u5212\u65E5\u671F\uFF0C\u8BF7\u4FDD\u7559\u4E3A\u7A7A,\u6216\u8005\u8F93\u5165\u4EE5\u9017\u53F7\u5206\u9694\u7684\u6587\u4EF6\u5939\u5217\u8868\u3002",name:"\u5177\u6709\u9ED8\u8BA4\u8BA1\u5212\u65E5\u671F\u7684\u6587\u4EF6\u5939"},toggle:{description:{line1:"\u7528\u4E8E\u8282\u7701\u8F93\u5165\u8BA1\u5212\u65E5\u671F (\u23F3) \u7684\u65F6\u95F4\u3002",line2:"\u5982\u679C\u542F\u7528\u6B64\u9009\u9879\uFF0C\u5219\u4EFB\u4F55\u672A\u6CE8\u660E\u65E5\u671F\u7684\u4EFB\u52A1\u90FD\u5C06\u88AB\u8D4B\u4E88\u4ECE\u5176\u6587\u4EF6\u540D\u4E2D\u63D0\u53D6\u7684\u9ED8\u8BA4\u201C\u8BA1\u5212\u65E5\u671F\u201D\u3002",line3:"\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0CTasks \u63D2\u4EF6\u5C06\u5339\u914D <code>YYYY-MM-DD</code> \u548C <code>YYYYMMDD</code> \u4E24\u79CD\u65E5\u671F\u683C\u5F0F\u3002",line4:"\u672A\u6CE8\u660E\u65E5\u671F\u7684\u4EFB\u52A1\u6307\u6CA1\u6709\u622A\u6B62\u65E5\u671F (\u{1F4C5} ), \u8BA1\u5212\u65E5\u671F (\u23F3) \u548C\u5F00\u59CB\u65E5\u671F(\u{1F6EB}) \u7684\u4EFB\u52A1\u3002"},name:"\u5C06\u6587\u4EF6\u540D\u7528\u4F5C\u672A\u6CE8\u660E\u65E5\u671F\u7684\u4EFB\u52A1\u7684\u8BA1\u5212\u65E5\u671F"}}},dialogs:{accessKeys:{description:"\u5982\u679C\u5BF9\u8BDD\u6846\u4E2D\u5404\u79CD\u63A7\u4EF6\u7684\u5FEB\u6377\u952E\u4E0E\u7CFB\u7EDF\u5FEB\u6377\u952E\u53D1\u751F\u51B2\u7A81\uFF0C\u60A8\u53EF\u4EE5\u5728\u8FD9\u91CC\u505C\u7528\u5B83\u4EEC\u3002",name:"\u5728\u5BF9\u8BDD\u6846\u4E2D\u4F7F\u7528\u5FEB\u6377\u952E"},heading:"\u5BF9\u8BDD\u6846"},format:{description:{line1:"Tasks \u7528\u4E8E\u8BFB\u53D6\u548C\u5199\u5165\u4EFB\u52A1\u7684\u683C\u5F0F.",line2:"<b>\u91CD\u70B9:</b> \u76EE\u524D Tasks \u53EA\u652F\u6301\u540C\u65F6\u4F7F\u7528\u4E00\u79CD\u683C\u5F0F\u3002\u9009\u62E9 dataview \u5C06 <b>\u4F7F Tasks \u505C\u6B62\u8BFB\u53D6\u81EA\u6709\u7684\u8868\u60C5\u7B26\u53F7\u683C\u5F0F</b>"},displayName:{dataview:"Dataview \u683C\u5F0F",tasksEmojiFormat:"Tasks \u8868\u60C5\u683C\u5F0F"},name:"\u4EFB\u52A1\u683C\u5F0F"},globalFilter:{filter:{description:{line1:"\u5EFA\u8BAE\uFF1A\u5982\u679C\u60A8\u5E0C\u671B\u4ED3\u5E93\u4E2D\u7684\u6240\u6709\u4EFB\u52A1\u5217\u8868\u9879\u90FD\u7531\u6B64\u63D2\u4EF6\u7BA1\u7406\uFF0C\u8BF7\u7559\u7A7A\u3002",line2:'\u5982\u679C\u60A8\u5E0C\u671B Tasks \u4EC5\u4F5C\u7528\u4E8E "<code>- [ ]</code>" \u4EFB\u52A1\u5217\u8868\u9879\u7684\u5B50\u96C6\uFF0C\u8BF7\u4F7F\u7528\u5168\u5C40\u7B5B\u9009\u5668,\u4EE5\u4FBF\u53EA\u6709\u5728\u5176\u63CF\u8FF0\u4E2D\u5305\u542B\u6307\u5B9A\u7684\u5B57\u7B26\u4E32\u7684\u4EFB\u52A1\u5217\u8868\u9879\u624D\u88AB\u89C6\u4E3A\u4EFB\u52A1\u3002',line3:"\u4F8B\u5982\uFF0C\u5982\u679C\u5C06\u5168\u5C40\u7B5B\u9009\u5668\u8BBE\u7F6E\u4E3A <code>#task</code>\uFF0C\u5219 Tasks \u63D2\u4EF6\u5C06\u4EC5\u5904\u7406\u6807\u8BB0\u4E3A <code>#task</code> \u7684\u4EFB\u52A1\u5217\u8868\u9879\u3002",line4:"\u5176\u4ED6\u4EFB\u52A1\u5217\u8868\u9879\u5C06\u4FDD\u6301\u6B63\u5E38,\u4E0D\u4F1A\u51FA\u73B0\u5728\u67E5\u8BE2\u4E2D\u6216\u8BBE\u7F6E\u5B8C\u6210\u65E5\u671F\u3002"},name:"\u5168\u5C40\u7B5B\u9009\u5668",placeholder:"\u4F8B\u5982:#task \u6216 TODO"},heading:"\u5168\u5C40\u4EFB\u52A1\u7B5B\u9009\u5668",removeFilter:{description:"\u542F\u7528\u6B64\u9009\u9879\u5C06\u5728\u663E\u793A\u4EFB\u52A1\u65F6\u4ECE\u4EFB\u52A1\u63CF\u8FF0\u4E2D\u5220\u9664\u8BBE\u7F6E\u4E3A\u5168\u5C40\u7B5B\u9009\u5668\u7684\u5B57\u7B26\u4E32.",name:"\u4ECE\u63CF\u8FF0\u4E2D\u5220\u9664\u5168\u5C40\u7B5B\u9009\u5668"}},globalQuery:{heading:"\u5168\u5C40\u67E5\u8BE2",query:{description:"\u81EA\u52A8\u5305\u542B\u5728\u5E93\u4E2D\u6BCF\u4E2A Tasks \u5757\u5F00\u5934\u7684\u67E5\u8BE2\u8BED\u53E5.\u7528\u4E8E\u6DFB\u52A0\u9ED8\u8BA4\u8FC7\u6EE4\u5668\u6216\u5E03\u5C40\u9009\u9879\u3002",placeholder:`\u4F8B\u5982...
path does not include _templates/
limit 300
show urgency`}},presets:{line1:"\u60A8\u53EF\u4EE5\u5728\u8FD9\u91CC\u5B9A\u4E49\u547D\u540D\u6307\u4EE4\uFF0C\u53EF\u4EE5\u5728\u591A\u4E2A\u67E5\u8BE2\u4E2D\u91CD\u590D\u4F7F\u7528\u3002\u4E00\u4E2A\u540D\u4E3A '{{name}}' \u7684\u9884\u8BBE\u53EF\u4EE5\u5728\u4EFB\u52A1\u67E5\u8BE2\u4E2D\u4F7F\u7528 '{{instruction1}}' \u6216 '{{instruction2}}'\u3002",line2:"\u4EFB\u4F55\u6253\u5F00\u7684\u4EFB\u52A1\u67E5\u8BE2\u5728\u9884\u8BBE\u88AB\u7F16\u8F91\u65F6\u90FD\u4F1A\u81EA\u52A8\u91CD\u65B0\u52A0\u8F7D\u3002",name:"\u9884\u8BBE"},recurringTasks:{heading:"\u91CD\u590D\u6027\u4EFB\u52A1",nextLine:{description:"\u542F\u7528\u6B64\u529F\u80FD\u540E\uFF0C\u4EFB\u52A1\u7684\u4E0B\u4E00\u6B21\u91CD\u590D\u5C06\u663E\u793A\u5728\u5DF2\u5B8C\u6210\u4EFB\u52A1\u7684\u4E0B\u4E00\u884C\u3002\u82E5\u5173\u95ED\u6B64\u529F\u80FD\uFF0C\u5219\u4E0B\u4E00\u6B21\u91CD\u590D\u5C06\u51FA\u73B0\u5728\u5DF2\u5B8C\u6210\u4EFB\u52A1\u7684\u4E0A\u4E00\u884C\u3002",name:"\u628A\u4EFB\u52A1\u7684\u4E0B\u4E00\u6B21\u91CD\u590D\u653E\u5728\u4E0B\u4E00\u884C"},removeScheduledDate:{description:{line1:"\u5F00\u542F\u6B64\u9009\u9879\u540E\uFF0C\u5F53\u4EFB\u52A1\u81F3\u5C11\u8BBE\u7F6E\u4E86\u5F00\u59CB\u65E5\u671F(\u{1F6EB})\u6216\u8BA1\u5212\u65E5\u671F(\u{1F4C5})\u4E2D\u7684\u4E00\u4E2A\u65F6\uFF0C\u8BE5\u4EFB\u52A1\u7684\u4E0B\u4E00\u6B21\u91CD\u590D\u5468\u671F\u5C06\u4E0D\u518D\u5305\u542B\u8BA1\u5212\u65E5\u671F(\u23F3)\u3002",line2:"\u6B64\u529F\u80FD\u9002\u7528\u4E8E\u4F60\u5E0C\u671B\u5C06\u5F00\u59CB\u548C\u622A\u6B62\u65E5\u671F\u5EF6\u7EED\u5230\u4E0B\u4E00\u4E2A\u5468\u671F\uFF0C\u4F46\u8BA1\u5212\u65E5\u671F\u6682\u4E0D\u8BBE\u7F6E\uFF0C\u7B49\u5B9E\u9645\u5F00\u59CB\u5904\u7406\u65F6\u518D\u786E\u5B9A\u7684\u60C5\u51B5\u3002"},name:"\u5728\u91CD\u590D\u6027\u4EFB\u52A1\u4E2D\u79FB\u9664\u8BA1\u5212\u65E5\u671F"}},seeTheDocumentation:"\u53C2\u9605\u6587\u6863",statuses:{collections:{anuppuccinTheme:"AnuPpuccin \u4E3B\u9898",auraTheme:"Aura \u4E3B\u9898",borderTheme:"Border \u4E3B\u9898",buttons:{addCollection:{name:"{{themeName}}: \u6DFB\u52A0 {{numberOfStatuses}} \u79CD\u652F\u6301\u72B6\u6001"}},ebullientworksTheme:"Ebullientworks \u4E3B\u9898",itsThemeAndSlrvbCheckboxes:"ITS \u4E3B\u9898\u548C SlRvb \u590D\u9009\u6846",lytModeTheme:"LYT Mode \u4E3B\u9898 (\u4EC5\u6DF1\u8272\u6A21\u5F0F)",minimalTheme:"Minimal \u4E3B\u9898",thingsTheme:"Things \u4E3B\u9898"},coreStatuses:{buttons:{checkStatuses:{name:"\u67E5\u770B\u5E76\u68C0\u67E5\u60A8\u7684\u72B6\u6001",tooltip:"\u5728\u5E93\u7684\u6839\u76EE\u5F55\u4E0B\u521B\u5EFA\u4E00\u4E2A\u65B0\u6587\u4EF6,\u5305\u542B\u5F53\u524D\u72B6\u6001\u8BBE\u7F6E\u7684 Mermaid \u56FE\u8868."}},description:{line1:"\u8FD9\u4E9B\u662F Tasks \u539F\u751F\u652F\u6301\u7684\u6838\u5FC3\u72B6\u6001\uFF0C\u4E0D\u9700\u8981\u81EA\u5B9A\u4E49CSS\u6837\u5F0F\u6216\u4E3B\u9898\u3002",line2:"\u60A8\u53EF\u4EE5\u5728\u4E0B\u9762\u7F16\u8F91\u548C\u6DFB\u52A0\u81EA\u5B9A\u4E49\u72B6\u6001\u3002"},heading:"\u6838\u5FC3\u72B6\u6001"},customStatuses:{buttons:{addAllUnknown:{name:"\u6DFB\u52A0\u6240\u6709\u672A\u77E5\u72B6\u6001\u7C7B\u578B"},addNewStatus:{name:"\u6DFB\u52A0\u65B0\u4EFB\u52A1\u72B6\u6001"},resetCustomStatuses:{name:"\u91CD\u7F6E\u81EA\u5B9A\u4E49\u72B6\u6001\u7C7B\u578B\u4E3A\u9ED8\u8BA4\u503C"}},description:{line1:"\u60A8\u5E94\u8BE5\u9996\u5148<b>\u9009\u62E9\u5E76\u5B89\u88C5 CSS\u4EE3\u7801\u6BB5\u6216\u4E3B\u9898<b>\u4EE5\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u590D\u9009\u6846\u7684\u6837\u5F0F",line2:"\u7136\u540E\uFF0C\u4F7F\u7528\u4E0B\u9762\u7684\u6309\u94AE\u8BBE\u7F6E\u60A8\u7684\u81EA\u5B9A\u4E49\u72B6\u6001,\u4EE5\u5339\u914D\u60A8\u9009\u62E9\u7684CSS\u590D\u9009\u6846.",line3:"<b>\u6CE8\u610F</b>\u4EFB\u4F55\u4E0E\u66F4\u65E9\u7684\u72B6\u6001\u5177\u6709\u76F8\u540C\u7B26\u53F7\u7684\u72B6\u6001\u90FD\u5C06\u88AB\u5FFD\u7565.\u60A8\u53EF\u4EE5\u901A\u8FC7\u8FD0\u884C\u201CCreate or edit task\u201D\u547D\u4EE4\u5E76\u67E5\u770B\u201CStatus\u201D\u4E0B\u62C9\u5217\u8868\u6765\u786E\u8BA4\u5B9E\u9645\u52A0\u8F7D\u7684\u72B6\u6001\u3002",line4:"\u53C2\u9605\u6587\u6863\uFF01"},heading:"\u81EA\u5B9A\u4E49\u72B6\u6001"},heading:"\u4EFB\u52A1\u72B6\u6001"}}}});var zf,yO,lT,M,bs=Z(()=>{"use strict";Kb();Qb();Xb();eT();nT();iT();aT();zf=!1,yO=()=>{let r=localStorage.getItem("language"),t=(r==null?void 0:r.toLowerCase())||"en";return console.log(`Language in Obsidian settings: '${t}'; requesting Tasks in '${t}'.`),t},lT=()=>I(void 0,null,function*(){zf||(yield yt.init({lng:yO(),fallbackLng:"en",returnEmptyString:!1,resources:{be:{translation:Zb},de:{translation:Jb},en:{translation:tT},ru:{translation:rT},uk:{translation:sT},zh:{translation:oT}},interpolation:{escapeValue:!1}}),zf=!0)}),M=new Proxy(yt,{get(r,t){if(!zf&&t==="t")throw new Error("i18n.t() called before initialization. Call initializeI18n() first.");return Reflect.get(r,t)}})});var Hu,cT=Z(()=>{"use strict";Hu=class{constructor(t,e,n){this.rawLink=t,this.pathContainingLink=e,this._destinationPath=n!=null?n:null}get originalMarkdown(){return this.rawLink.original}get markdown(){return this.destination.startsWith("#")?`[[${this.pathContainingLink}${this.destination}|${this.displayText}]]`:this.originalMarkdown}get destination(){return this.rawLink.link}get destinationPath(){return this._destinationPath}get displayText(){return this.rawLink.displayText}linksTo(t){if(typeof t=="string"){let e=/\.md$/,n=this.destination.replace(e,""),i=t.replace(e,"");return!!(i===n||n.endsWith(`/${i}`))}return this.destinationPath===t.path}}});var dT,kn,Gu=Z(()=>{"use strict";cT();dT=(r,t)=>null,kn=class{constructor(){this.getFirstLinkpathDestFn=dT}setGetFirstLinkpathDestFn(t){this.getFirstLinkpathDestFn=t}resetGetFirstLinkpathDestFn(){this.getFirstLinkpathDestFn=dT}resolve(t,e){var n;return new Hu(t,e,(n=this.getFirstLinkpathDestFn(t,e))!=null?n:void 0)}static getInstance(){return kn.instance||(kn.instance=new kn),kn.instance}}});var Sn,fe,li=Z(()=>{"use strict";Sn=class{},fe=Sn;fe.dateFormat="YYYY-MM-DD",fe.dateTimeFormat="YYYY-MM-DD HH:mm",fe.indentationRegex=/^([\s\t>]*)/,fe.listMarkerRegex=/([-*+]|[0-9]+[.)])/,fe.checkboxRegex=/\[(.)\]/u,fe.afterCheckboxRegex=/ *(.*)/u,fe.taskRegex=new RegExp(Sn.indentationRegex.source+Sn.listMarkerRegex.source+" +"+Sn.checkboxRegex.source+Sn.afterCheckboxRegex.source,"u"),fe.nonTaskRegex=new RegExp(Sn.indentationRegex.source+Sn.listMarkerRegex.source+"? *("+Sn.checkboxRegex.source+")?"+Sn.afterCheckboxRegex.source,"u"),fe.listItemRegex=new RegExp(Sn.indentationRegex.source+Sn.listMarkerRegex.source),fe.blockLinkRegex=/ \^[a-zA-Z0-9-]+$/u,fe.hashTags=/(^|\s)#[^ !@#$%^&*(),.?":{}|<>]+/g,fe.hashTagsFromEnd=new RegExp(Sn.hashTags.source+"$")});var Ke=x(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.matchAnyPattern=Ui.extractTerms=Ui.repeatedTimeunitPattern=void 0;function wO(r,t){let e=t.replace(/\((?!\?)/g,"(?:");return`${r}${e}\\s{0,5}(?:,?\\s{0,5}${e}){0,10}`}Ui.repeatedTimeunitPattern=wO;function fT(r){let t;return r instanceof Array?t=[...r]:r instanceof Map?t=Array.from(r.keys()):t=Object.keys(r),t}Ui.extractTerms=fT;function kO(r){return`(?:${fT(r).sort((e,n)=>n.length-e.length).join("|").replace(/\./g,"\\.")})`}Ui.matchAnyPattern=kO});var Ue=x((Qf,Zf)=>{(function(r,t){typeof Qf=="object"&&typeof Zf!="undefined"?Zf.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs=t()})(Qf,function(){"use strict";var r=1e3,t=6e4,e=36e5,n="millisecond",i="second",s="minute",a="hour",o="day",l="week",u="month",c="quarter",d="year",f="date",p="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|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,v={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("_")},O=function(V,K,R){var ee=String(V);return!ee||ee.length>=K?V:""+Array(K+1-ee.length).join(R)+V},E={s:O,z:function(V){var K=-V.utcOffset(),R=Math.abs(K),ee=Math.floor(R/60),q=R%60;return(K<=0?"+":"-")+O(ee,2,"0")+":"+O(q,2,"0")},m:function V(K,R){if(K.date()<R.date())return-V(R,K);var ee=12*(R.year()-K.year())+(R.month()-K.month()),q=K.clone().add(ee,u),le=R-q<0,m=K.clone().add(ee+(le?-1:1),u);return+(-(ee+(R-q)/(le?q-m:m-q))||0)},a:function(V){return V<0?Math.ceil(V)||0:Math.floor(V)},p:function(V){return{M:u,y:d,w:l,d:o,D:f,h:a,m:s,s:i,ms:n,Q:c}[V]||String(V||"").toLowerCase().replace(/s$/,"")},u:function(V){return V===void 0}},P="en",Y={};Y[P]=v;var j=function(V){return V instanceof ye},ae=function(V,K,R){var ee;if(!V)return P;if(typeof V=="string")Y[V]&&(ee=V),K&&(Y[V]=K,ee=V);else{var q=V.name;Y[q]=V,ee=q}return!R&&ee&&(P=ee),ee||!R&&P},H=function(V,K){if(j(V))return V.clone();var R=typeof K=="object"?K:{};return R.date=V,R.args=arguments,new ye(R)},J=E;J.l=ae,J.i=j,J.w=function(V,K){return H(V,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var ye=function(){function V(R){this.$L=ae(R.locale,null,!0),this.parse(R)}var K=V.prototype;return K.parse=function(R){this.$d=function(ee){var q=ee.date,le=ee.utc;if(q===null)return new Date(NaN);if(J.u(q))return new Date;if(q instanceof Date)return new Date(q);if(typeof q=="string"&&!/Z$/i.test(q)){var m=q.match(b);if(m){var y=m[2]-1||0,_=(m[7]||"0").substring(0,3);return le?new Date(Date.UTC(m[1],y,m[3]||1,m[4]||0,m[5]||0,m[6]||0,_)):new Date(m[1],y,m[3]||1,m[4]||0,m[5]||0,m[6]||0,_)}}return new Date(q)}(R),this.$x=R.x||{},this.init()},K.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},K.$utils=function(){return J},K.isValid=function(){return this.$d.toString()!==p},K.isSame=function(R,ee){var q=H(R);return this.startOf(ee)<=q&&q<=this.endOf(ee)},K.isAfter=function(R,ee){return H(R)<this.startOf(ee)},K.isBefore=function(R,ee){return this.endOf(ee)<H(R)},K.$g=function(R,ee,q){return J.u(R)?this[ee]:this.set(q,R)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(R,ee){var q=this,le=!!J.u(ee)||ee,m=J.p(R),y=function(N,W){var ce=J.w(q.$u?Date.UTC(q.$y,W,N):new Date(q.$y,W,N),q);return le?ce:ce.endOf(o)},_=function(N,W){return J.w(q.toDate()[N].apply(q.toDate("s"),(le?[0,0,0,0]:[23,59,59,999]).slice(W)),q)},w=this.$W,S=this.$M,C=this.$D,L="set"+(this.$u?"UTC":"");switch(m){case d:return le?y(1,0):y(31,11);case u:return le?y(1,S):y(0,S+1);case l:var $=this.$locale().weekStart||0,D=(w<$?w+7:w)-$;return y(le?C-D:C+(6-D),S);case o:case f:return _(L+"Hours",0);case a:return _(L+"Minutes",1);case s:return _(L+"Seconds",2);case i:return _(L+"Milliseconds",3);default:return this.clone()}},K.endOf=function(R){return this.startOf(R,!1)},K.$set=function(R,ee){var q,le=J.p(R),m="set"+(this.$u?"UTC":""),y=(q={},q[o]=m+"Date",q[f]=m+"Date",q[u]=m+"Month",q[d]=m+"FullYear",q[a]=m+"Hours",q[s]=m+"Minutes",q[i]=m+"Seconds",q[n]=m+"Milliseconds",q)[le],_=le===o?this.$D+(ee-this.$W):ee;if(le===u||le===d){var w=this.clone().set(f,1);w.$d[y](_),w.init(),this.$d=w.set(f,Math.min(this.$D,w.daysInMonth())).$d}else y&&this.$d[y](_);return this.init(),this},K.set=function(R,ee){return this.clone().$set(R,ee)},K.get=function(R){return this[J.p(R)]()},K.add=function(R,ee){var q,le=this;R=Number(R);var m=J.p(ee),y=function(S){var C=H(le);return J.w(C.date(C.date()+Math.round(S*R)),le)};if(m===u)return this.set(u,this.$M+R);if(m===d)return this.set(d,this.$y+R);if(m===o)return y(1);if(m===l)return y(7);var _=(q={},q[s]=t,q[a]=e,q[i]=r,q)[m]||1,w=this.$d.getTime()+R*_;return J.w(w,this)},K.subtract=function(R,ee){return this.add(-1*R,ee)},K.format=function(R){var ee=this,q=this.$locale();if(!this.isValid())return q.invalidDate||p;var le=R||"YYYY-MM-DDTHH:mm:ssZ",m=J.z(this),y=this.$H,_=this.$m,w=this.$M,S=q.weekdays,C=q.months,L=function(W,ce,be,Oe){return W&&(W[ce]||W(ee,le))||be[ce].substr(0,Oe)},$=function(W){return J.s(y%12||12,W,"0")},D=q.meridiem||function(W,ce,be){var Oe=W<12?"AM":"PM";return be?Oe.toLowerCase():Oe},N={YY:String(this.$y).slice(-2),YYYY:this.$y,M:w+1,MM:J.s(w+1,2,"0"),MMM:L(q.monthsShort,w,C,3),MMMM:L(C,w),D:this.$D,DD:J.s(this.$D,2,"0"),d:String(this.$W),dd:L(q.weekdaysMin,this.$W,S,2),ddd:L(q.weekdaysShort,this.$W,S,3),dddd:S[this.$W],H:String(y),HH:J.s(y,2,"0"),h:$(1),hh:$(2),a:D(y,_,!0),A:D(y,_,!1),m:String(_),mm:J.s(_,2,"0"),s:String(this.$s),ss:J.s(this.$s,2,"0"),SSS:J.s(this.$ms,3,"0"),Z:m};return le.replace(T,function(W,ce){return ce||N[W]||m.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(R,ee,q){var le,m=J.p(ee),y=H(R),_=(y.utcOffset()-this.utcOffset())*t,w=this-y,S=J.m(this,y);return S=(le={},le[d]=S/12,le[u]=S,le[c]=S/3,le[l]=(w-_)/6048e5,le[o]=(w-_)/864e5,le[a]=w/e,le[s]=w/t,le[i]=w/r,le)[m]||w,q?S:J.a(S)},K.daysInMonth=function(){return this.endOf(u).$D},K.$locale=function(){return Y[this.$L]},K.locale=function(R,ee){if(!R)return this.$L;var q=this.clone(),le=ae(R,ee,!0);return le&&(q.$L=le),q},K.clone=function(){return J.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},V}(),we=ye.prototype;return H.prototype=we,[["$ms",n],["$s",i],["$m",s],["$H",a],["$W",o],["$M",u],["$y",d],["$D",f]].forEach(function(V){we[V[1]]=function(K){return this.$g(K,V[0],V[1])}}),H.extend=function(V,K){return V.$i||(V(K,ye,H),V.$i=!0),H},H.locale=ae,H.isDayjs=j,H.unix=function(V){return H(1e3*V)},H.en=Y[P],H.Ls=Y,H.p={},H})});var Rt=x(Yi=>{"use strict";var SO=Yi&&Yi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Yi,"__esModule",{value:!0});Yi.findYearClosestToRef=Yi.findMostLikelyADYear=void 0;var DO=SO(Ue());function EO(r){return r<100&&(r>50?r=r+1900:r=r+2e3),r}Yi.findMostLikelyADYear=EO;function xO(r,t,e){let n=DO.default(r),i=n;i=i.month(e-1),i=i.date(t),i=i.year(n.year());let s=i.add(1,"y"),a=i.add(-1,"y");return Math.abs(s.diff(n))<Math.abs(i.diff(n))?i=s:Math.abs(a.diff(n))<Math.abs(i.diff(n))&&(i=a),i.year()}Yi.findYearClosestToRef=xO});var Ct=x(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.parseTimeUnits=Ce.TIME_UNITS_PATTERN=Ce.parseYear=Ce.YEAR_PATTERN=Ce.parseOrdinalNumberPattern=Ce.ORDINAL_NUMBER_PATTERN=Ce.parseNumberPattern=Ce.NUMBER_PATTERN=Ce.TIME_UNIT_DICTIONARY=Ce.ORDINAL_WORD_DICTIONARY=Ce.INTEGER_WORD_DICTIONARY=Ce.MONTH_DICTIONARY=Ce.FULL_MONTH_NAME_DICTIONARY=Ce.WEEKDAY_DICTIONARY=void 0;var Vu=Ke(),OO=Rt();Ce.WEEKDAY_DICTIONARY={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};Ce.FULL_MONTH_NAME_DICTIONARY={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12};Ce.MONTH_DICTIONARY=Object.assign(Object.assign({},Ce.FULL_MONTH_NAME_DICTIONARY),{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});Ce.INTEGER_WORD_DICTIONARY={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12};Ce.ORDINAL_WORD_DICTIONARY={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};Ce.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconds:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",hour:"hour",hours:"hour",day:"d",days:"d",week:"week",weeks:"week",month:"month",months:"month",qtr:"quarter",quarter:"quarter",quarters:"quarter",y:"year",yr:"year",year:"year",years:"year"};Ce.NUMBER_PATTERN=`(?:${Vu.matchAnyPattern(Ce.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|a?\\s{0,2}couple\\s{0,2}(?:of)?)`;function mT(r){let t=r.toLowerCase();return Ce.INTEGER_WORD_DICTIONARY[t]!==void 0?Ce.INTEGER_WORD_DICTIONARY[t]:t==="a"||t==="an"?1:t.match(/few/)?3:t.match(/half/)?.5:t.match(/couple/)?2:t.match(/several/)?7:parseFloat(t)}Ce.parseNumberPattern=mT;Ce.ORDINAL_NUMBER_PATTERN=`(?:${Vu.matchAnyPattern(Ce.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function RO(r){let t=r.toLowerCase();return Ce.ORDINAL_WORD_DICTIONARY[t]!==void 0?Ce.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:st|nd|rd|th)$/i,""),parseInt(t))}Ce.parseOrdinalNumberPattern=RO;Ce.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9])";function CO(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 t=parseInt(r);return OO.findMostLikelyADYear(t)}Ce.parseYear=CO;var hT=`(${Ce.NUMBER_PATTERN})\\s{0,3}(${Vu.matchAnyPattern(Ce.TIME_UNIT_DICTIONARY)})`,pT=new RegExp(hT,"i");Ce.TIME_UNITS_PATTERN=Vu.repeatedTimeunitPattern("(?:(?:about|around)\\s{0,3})?",hT);function MO(r){let t={},e=r,n=pT.exec(e);for(;n;)AO(t,n),e=e.substring(n[0].length).trim(),n=pT.exec(e);return t}Ce.parseTimeUnits=MO;function AO(r,t){let e=mT(t[1]),n=Ce.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var gT=x((Xf,Jf)=>{(function(r,t){typeof Xf=="object"&&typeof Jf!="undefined"?Jf.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs_plugin_quarterOfYear=t()})(Xf,function(){"use strict";var r="month",t="quarter";return function(e,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 s=i.add;i.add=function(o,l){return o=Number(o),this.$utils().p(l)===t?this.add(3*o,r):s.bind(this)(o,l)};var a=i.startOf;i.startOf=function(o,l){var u=this.$utils(),c=!!u.u(l)||l;if(u.p(o)===t){var d=this.quarter()-1;return c?this.month(3*d).startOf(r).startOf("day"):this.month(3*d+2).endOf(r).endOf("day")}return a.bind(this)(o,l)}}})});var Hn=x($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.implySimilarTime=$r.assignSimilarTime=$r.assignSimilarDate=$r.assignTheNextDay=void 0;var yT=ht();function PO(r,t){t=t.add(1,"day"),bT(r,t),TT(r,t)}$r.assignTheNextDay=PO;function bT(r,t){r.assign("day",t.date()),r.assign("month",t.month()+1),r.assign("year",t.year())}$r.assignSimilarDate=bT;function NO(r,t){r.assign("hour",t.hour()),r.assign("minute",t.minute()),r.assign("second",t.second()),r.assign("millisecond",t.millisecond()),r.get("hour")<12?r.assign("meridiem",yT.Meridiem.AM):r.assign("meridiem",yT.Meridiem.PM)}$r.assignSimilarTime=NO;function TT(r,t){r.imply("hour",t.hour()),r.imply("minute",t.minute()),r.imply("second",t.second()),r.imply("millisecond",t.millisecond())}$r.implySimilarTime=TT});var vT=x(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.toTimezoneOffset=Ts.TIMEZONE_ABBR_MAP=void 0;Ts.TIMEZONE_ABBR_MAP={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:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,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:-300,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,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:-480,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 IO(r){var t;return r==null?null:typeof r=="number"?r:(t=Ts.TIMEZONE_ABBR_MAP[r])!==null&&t!==void 0?t:null}Ts.toTimezoneOffset=IO});var rt=x(Wr=>{"use strict";var _T=Wr&&Wr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.ParsingResult=Wr.ParsingComponents=Wr.ReferenceWithTimezone=void 0;var FO=_T(gT()),zu=_T(Ue()),ep=Hn(),LO=vT();zu.default.extend(FO.default);var tp=class{constructor(t){var e;t=t!=null?t:new Date,t instanceof Date?this.instant=t:(this.instant=(e=t.instant)!==null&&e!==void 0?e:new Date,this.timezoneOffset=LO.toTimezoneOffset(t.timezone))}};Wr.ReferenceWithTimezone=tp;var vs=class{constructor(t,e){if(this.reference=t,this.knownValues={},this.impliedValues={},e)for(let i in e)this.knownValues[i]=e[i];let n=zu.default(t.instant);this.imply("day",n.date()),this.imply("month",n.month()+1),this.imply("year",n.year()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}get(t){return t in this.knownValues?this.knownValues[t]:t in this.impliedValues?this.impliedValues[t]:null}isCertain(t){return t in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(t,e){return t in this.knownValues?this:(this.impliedValues[t]=e,this)}assign(t,e){return this.knownValues[t]=e,delete this.impliedValues[t],this}delete(t){delete this.knownValues[t],delete this.impliedValues[t]}clone(){let t=new vs(this.reference);t.knownValues={},t.impliedValues={};for(let e in this.knownValues)t.knownValues[e]=this.knownValues[e];for(let e in this.impliedValues)t.impliedValues[e]=this.impliedValues[e];return t}isOnlyDate(){return!this.isCertain("hour")&&!this.isCertain("minute")&&!this.isCertain("second")}isOnlyTime(){return!this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyWeekdayComponent(){return this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyDayMonthComponent(){return this.isCertain("day")&&this.isCertain("month")&&!this.isCertain("year")}isValidDate(){let t=this.dateWithoutTimezoneAdjustment();return!(t.getFullYear()!==this.get("year")||t.getMonth()!==this.get("month")-1||t.getDate()!==this.get("day")||this.get("hour")!=null&&t.getHours()!=this.get("hour")||this.get("minute")!=null&&t.getMinutes()!=this.get("minute"))}toString(){return`[ParsingComponents {knownValues: ${JSON.stringify(this.knownValues)}, impliedValues: ${JSON.stringify(this.impliedValues)}}, reference: ${JSON.stringify(this.reference)}]`}dayjs(){return zu.default(this.date())}date(){let t=this.dateWithoutTimezoneAdjustment();return new Date(t.getTime()+this.getSystemTimezoneAdjustmentMinute(t)*6e4)}dateWithoutTimezoneAdjustment(){let t=new Date(this.get("year"),this.get("month")-1,this.get("day"),this.get("hour"),this.get("minute"),this.get("second"),this.get("millisecond"));return t.setFullYear(this.get("year")),t}getSystemTimezoneAdjustmentMinute(t){var e,n;(!t||t.getTime()<0)&&(t=new Date);let i=-t.getTimezoneOffset(),s=(n=(e=this.get("timezoneOffset"))!==null&&e!==void 0?e:this.reference.timezoneOffset)!==null&&n!==void 0?n:i;return i-s}static createRelativeFromReference(t,e){let n=zu.default(t.instant);for(let s in e)n=n.add(e[s],s);let i=new vs(t);return e.hour||e.minute||e.second?(ep.assignSimilarTime(i,n),ep.assignSimilarDate(i,n),t.timezoneOffset!==null&&i.assign("timezoneOffset",-t.instant.getTimezoneOffset())):(ep.implySimilarTime(i,n),t.timezoneOffset!==null&&i.imply("timezoneOffset",-t.instant.getTimezoneOffset()),e.d?(i.assign("day",n.date()),i.assign("month",n.month()+1),i.assign("year",n.year())):(e.week&&i.imply("weekday",n.day()),i.imply("day",n.date()),e.month?(i.assign("month",n.month()+1),i.assign("year",n.year())):(i.imply("month",n.month()+1),e.year?i.assign("year",n.year()):i.imply("year",n.year())))),i}};Wr.ParsingComponents=vs;var zo=class{constructor(t,e,n,i,s){this.reference=t,this.refDate=t.instant,this.index=e,this.text=n,this.start=i||new vs(t),this.end=s}clone(){let t=new zo(this.reference,this.index,this.text);return t.start=this.start?this.start.clone():null,t.end=this.end?this.end.clone():null,t}date(){return this.start.date()}toString(){return`[ParsingResult {index: ${this.index}, text: '${this.text}', ...}]`}};Wr.ParsingResult=zo});var ie=x(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.AbstractParserWithWordBoundaryChecking=void 0;var np=class{constructor(){this.cachedInnerPattern=null,this.cachedPattern=null}patternLeftBoundary(){return"(\\W|^)"}pattern(t){let e=this.innerPattern(t);return e==this.cachedInnerPattern?this.cachedPattern:(this.cachedPattern=new RegExp(`${this.patternLeftBoundary()}${e.source}`,e.flags),this.cachedInnerPattern=e,this.cachedPattern)}extract(t,e){var n;let i=(n=e[1])!==null&&n!==void 0?n:"";e.index=e.index+i.length,e[0]=e[0].substring(i.length);for(let s=2;s<e.length;s++)e[s-1]=e[s];return this.innerExtract(t,e)}};Ku.AbstractParserWithWordBoundaryChecking=np});var wT=x(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});var ip=Ct(),UO=rt(),YO=ie(),$O=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${ip.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),WO=new RegExp(`(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${ip.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),rp=class extends YO.AbstractParserWithWordBoundaryChecking{innerPattern(t){return t.option.forwardDate?WO:$O}innerExtract(t,e){let n=ip.parseTimeUnits(e[1]);return UO.ParsingComponents.createRelativeFromReference(t.reference,n)}};sp.default=rp});var OT=x(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});var qO=Rt(),ET=Ct(),xT=Ct(),Qu=Ct(),jO=Ke(),HO=ie(),GO=new RegExp(`(?:on\\s{0,3})?(${Qu.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${Qu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${jO.matchAnyPattern(ET.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s{0,3})(${xT.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),kT=1,ST=2,BO=3,DT=4,ap=class extends HO.AbstractParserWithWordBoundaryChecking{innerPattern(){return GO}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=ET.MONTH_DICTIONARY[e[BO].toLowerCase()],s=Qu.parseOrdinalNumberPattern(e[kT]);if(s>31)return e.index=e.index+e[kT].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[DT]){let a=xT.parseYear(e[DT]);n.start.assign("year",a)}else{let a=qO.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[ST]){let a=Qu.parseOrdinalNumberPattern(e[ST]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};op.default=ap});var PT=x(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});var VO=Rt(),MT=Ct(),Zu=Ct(),AT=Ct(),zO=Ke(),KO=ie(),QO=new RegExp(`(${zO.matchAnyPattern(MT.MONTH_DICTIONARY)})(?:-|/|\\s*,?\\s*)(${Zu.ORDINAL_NUMBER_PATTERN})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${Zu.ORDINAL_NUMBER_PATTERN})\\s*)?(?:(?:-|/|\\s*,?\\s*)(${AT.YEAR_PATTERN}))?(?=\\W|$)(?!\\:\\d)`,"i"),ZO=1,XO=2,RT=3,CT=4,lp=class extends KO.AbstractParserWithWordBoundaryChecking{innerPattern(){return QO}innerExtract(t,e){let n=MT.MONTH_DICTIONARY[e[ZO].toLowerCase()],i=Zu.parseOrdinalNumberPattern(e[XO]);if(i>31)return null;let s=t.createParsingComponents({day:i,month:n});if(e[CT]){let l=AT.parseYear(e[CT]);s.assign("year",l)}else{let l=VO.findYearClosestToRef(t.refDate,i,n);s.imply("year",l)}if(!e[RT])return s;let a=Zu.parseOrdinalNumberPattern(e[RT]),o=t.createParsingResult(e.index,e[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};up.default=lp});var FT=x(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});var cp=Ct(),JO=Rt(),e1=Ke(),IT=Ct(),t1=ie(),n1=new RegExp(`((?:in)\\s*)?(${e1.matchAnyPattern(cp.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${IT.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),r1=1,i1=2,NT=3,dp=class extends t1.AbstractParserWithWordBoundaryChecking{innerPattern(){return n1}innerExtract(t,e){let n=e[i1].toLowerCase();if(e[0].length<=3&&!cp.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=t.createParsingResult(e.index+(e[r1]||"").length,e.index+e[0].length);i.start.imply("day",1);let s=cp.MONTH_DICTIONARY[n];if(i.start.assign("month",s),e[NT]){let a=IT.parseYear(e[NT]);i.start.assign("year",a)}else{let a=JO.findYearClosestToRef(t.refDate,1,s);i.start.imply("year",a)}return i}};fp.default=dp});var YT=x(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});var UT=Ct(),s1=Ke(),a1=ie(),o1=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${s1.matchAnyPattern(UT.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),l1=1,u1=2,LT=3,c1=4,pp=class extends a1.AbstractParserWithWordBoundaryChecking{innerPattern(){return o1}innerExtract(t,e){let n=e[LT]?parseInt(e[LT]):UT.MONTH_DICTIONARY[e[u1].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(e[l1]);return{day:parseInt(e[c1]),month:n,year:i}}};mp.default=pp});var $T=x(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});var d1=ie(),f1=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),p1=1,m1=2,hp=class extends d1.AbstractParserWithWordBoundaryChecking{innerPattern(){return f1}innerExtract(t,e){let n=parseInt(e[m1]),i=parseInt(e[p1]);return t.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};gp.default=hp});var _s=x(ec=>{"use strict";Object.defineProperty(ec,"__esModule",{value:!0});ec.AbstractTimeExpressionParser=void 0;var tn=ht();function h1(r,t,e,n){return new RegExp(`${r}${t}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,n)}function g1(r,t){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?))?${t}`,"i")}var WT=2,va=3,Xu=4,Ju=5,Ko=6,yp=class{constructor(t=!1){this.cachedPrimaryPrefix=null,this.cachedPrimarySuffix=null,this.cachedPrimaryTimePattern=null,this.cachedFollowingPhase=null,this.cachedFollowingSuffix=null,this.cachedFollowingTimePatten=null,this.strictMode=t}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?=\\W|$)"}followingSuffix(){return"(?=\\W|$)"}pattern(t){return this.getPrimaryTimePatternThroughCache()}extract(t,e){let n=this.extractPrimaryTimeComponents(t,e);if(!n)return e.index+=e[0].length,null;let i=e.index+e[1].length,s=e[0].substring(e[1].length),a=t.createParsingResult(i,s,n);e.index+=e[0].length;let o=t.text.substring(e.index),u=this.getFollowingTimePatternThroughCache().exec(o);return s.match(/^\d{3,4}/)&&u&&u[0].match(/^\s*([+-])\s*\d{2,4}$/)?null:!u||u[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(a):(a.end=this.extractFollowingTimeComponents(t,u,a),a.end&&(a.text+=u[0]),this.checkAndReturnWithFollowingPattern(a))}extractPrimaryTimeComponents(t,e,n=!1){let i=t.createParsingComponents(),s=0,a=null,o=parseInt(e[WT]);if(o>100){if(this.strictMode||e[va]!=null)return null;s=o%100,o=Math.floor(o/100)}if(o>24)return null;if(e[va]!=null){if(e[va].length==1&&!e[Ko])return null;s=parseInt(e[va])}if(s>=60)return null;if(o>12&&(a=tn.Meridiem.PM),e[Ko]!=null){if(o>12)return null;let l=e[Ko][0].toLowerCase();l=="a"&&(a=tn.Meridiem.AM,o==12&&(o=0)),l=="p"&&(a=tn.Meridiem.PM,o!=12&&(o+=12))}if(i.assign("hour",o),i.assign("minute",s),a!==null?i.assign("meridiem",a):o<12?i.imply("meridiem",tn.Meridiem.AM):i.imply("meridiem",tn.Meridiem.PM),e[Ju]!=null){let l=parseInt(e[Ju].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(e[Xu]!=null){let l=parseInt(e[Xu]);if(l>=60)return null;i.assign("second",l)}return i}extractFollowingTimeComponents(t,e,n){let i=t.createParsingComponents();if(e[Ju]!=null){let l=parseInt(e[Ju].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(e[Xu]!=null){let l=parseInt(e[Xu]);if(l>=60)return null;i.assign("second",l)}let s=parseInt(e[WT]),a=0,o=-1;if(e[va]!=null?a=parseInt(e[va]):s>100&&(a=s%100,s=Math.floor(s/100)),a>=60||s>24)return null;if(s>=12&&(o=tn.Meridiem.PM),e[Ko]!=null){if(s>12)return null;let l=e[Ko][0].toLowerCase();l=="a"&&(o=tn.Meridiem.AM,s==12&&(s=0,i.isCertain("day")||i.imply("day",i.get("day")+1))),l=="p"&&(o=tn.Meridiem.PM,s!=12&&(s+=12)),n.start.isCertain("meridiem")||(o==tn.Meridiem.AM?(n.start.imply("meridiem",tn.Meridiem.AM),n.start.get("hour")==12&&n.start.assign("hour",0)):(n.start.imply("meridiem",tn.Meridiem.PM),n.start.get("hour")!=12&&n.start.assign("hour",n.start.get("hour")+12)))}return i.assign("hour",s),i.assign("minute",a),o>=0?i.assign("meridiem",o):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>s?i.imply("meridiem",tn.Meridiem.AM):s<=12&&(i.assign("hour",s+12),i.assign("meridiem",tn.Meridiem.PM)):s>12?i.imply("meridiem",tn.Meridiem.PM):s<=12&&i.imply("meridiem",tn.Meridiem.AM),i.date().getTime()<n.start.date().getTime()&&i.imply("day",i.get("day")+1),i}checkAndReturnWithoutFollowingPattern(t){if(t.text.match(/^\d$/)||t.text.match(/^\d\d\d+$/)||t.text.match(/\d[apAP]$/))return null;let e=t.text.match(/[^\d:.](\d[\d.]+)$/);if(e){let n=e[1];if(this.strictMode||n.includes(".")&&!n.match(/\d(\.\d{2})+$/)||parseInt(n)>24)return null}return t}checkAndReturnWithFollowingPattern(t){if(t.text.match(/^\d+-\d+$/))return null;let e=t.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(e){if(this.strictMode)return null;let n=e[1],i=e[2];if(i.includes(".")&&!i.match(/\d(\.\d{2})+$/))return null;let s=parseInt(i),a=parseInt(n);if(s>24||a>24)return null}return t}getPrimaryTimePatternThroughCache(){let t=this.primaryPrefix(),e=this.primarySuffix();return this.cachedPrimaryPrefix===t&&this.cachedPrimarySuffix===e?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=h1(this.primaryPatternLeftBoundary(),t,e,this.patternFlags()),this.cachedPrimaryPrefix=t,this.cachedPrimarySuffix=e,this.cachedPrimaryTimePattern)}getFollowingTimePatternThroughCache(){let t=this.followingPhase(),e=this.followingSuffix();return this.cachedFollowingPhase===t&&this.cachedFollowingSuffix===e?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=g1(t,e),this.cachedFollowingPhase=t,this.cachedFollowingSuffix=e,this.cachedFollowingTimePatten)}};ec.AbstractTimeExpressionParser=yp});var qT=x(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});var tc=ht(),y1=_s(),bp=class extends y1.AbstractTimeExpressionParser{constructor(t){super(t)}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|to|\\?)\\s*"}primaryPrefix(){return"(?:(?:at|from)\\s*)??"}primarySuffix(){return"(?:\\s*(?:o\\W*clock|at\\s*night|in\\s*the\\s*(?:morning|afternoon)))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(t,e){let n=super.extractPrimaryTimeComponents(t,e);if(n){if(e[0].endsWith("night")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",tc.Meridiem.PM)):i<6&&n.assign("meridiem",tc.Meridiem.AM)}if(e[0].endsWith("afternoon")){n.assign("meridiem",tc.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}e[0].endsWith("morning")&&(n.assign("meridiem",tc.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};Tp.default=bp});var Gn=x(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.addImpliedTimeUnits=_a.reverseTimeUnits=void 0;function b1(r){let t={};for(let e in r)t[e]=-r[e];return t}_a.reverseTimeUnits=b1;function T1(r,t){let e=r.clone(),n=r.dayjs();for(let i in t)n=n.add(t[i],i);return("day"in t||"d"in t||"week"in t||"month"in t||"year"in t)&&(e.imply("day",n.date()),e.imply("month",n.month()+1),e.imply("year",n.year())),("second"in t||"minute"in t||"hour"in t)&&(e.imply("second",n.second()),e.imply("minute",n.minute()),e.imply("hour",n.hour())),e}_a.addImpliedTimeUnits=T1});var jT=x(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});var _p=Ct(),v1=rt(),_1=ie(),w1=Gn(),k1=new RegExp(`(${_p.TIME_UNITS_PATTERN})\\s{0,5}(?:ago|before|earlier)(?=(?:\\W|$))`,"i"),S1=new RegExp(`(${_p.TIME_UNITS_PATTERN})\\s{0,5}ago(?=(?:\\W|$))`,"i"),vp=class extends _1.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?S1:k1}innerExtract(t,e){let n=_p.parseTimeUnits(e[1]),i=w1.reverseTimeUnits(n);return v1.ParsingComponents.createRelativeFromReference(t.reference,i)}};wp.default=vp});var HT=x(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});var Sp=Ct(),D1=rt(),E1=ie(),x1=new RegExp(`(${Sp.TIME_UNITS_PATTERN})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),O1=new RegExp("("+Sp.TIME_UNITS_PATTERN+")(later|from now)(?=(?:\\W|$))","i"),R1=1,kp=class extends E1.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?O1:x1}innerExtract(t,e){let n=Sp.parseTimeUnits(e[R1]);return D1.ParsingComponents.createRelativeFromReference(t.reference,n)}};Dp.default=kp});var ka=x(wa=>{"use strict";Object.defineProperty(wa,"__esModule",{value:!0});wa.MergingRefiner=wa.Filter=void 0;var Ep=class{refine(t,e){return e.filter(n=>this.isValid(t,n))}};wa.Filter=Ep;var xp=class{refine(t,e){if(e.length<2)return e;let n=[],i=e[0],s=null;for(let a=1;a<e.length;a++){s=e[a];let o=t.text.substring(i.index+i.text.length,s.index);if(!this.shouldMergeResults(o,i,s,t))n.push(i),i=s;else{let l=i,u=s,c=this.mergeResults(o,l,u,t);t.debug(()=>{console.log(`${this.constructor.name} merged ${l} and ${u} into ${c}`)}),i=c}}return i!=null&&n.push(i),n}};wa.MergingRefiner=xp});var qr=x(Rp=>{"use strict";Object.defineProperty(Rp,"__esModule",{value:!0});var C1=ka(),Op=class extends C1.MergingRefiner{shouldMergeResults(t,e,n){return!e.end&&!n.end&&t.match(this.patternBetween())!=null}mergeResults(t,e,n){if(!e.start.isOnlyWeekdayComponent()&&!n.start.isOnlyWeekdayComponent()&&(n.start.getCertainComponents().forEach(s=>{e.start.isCertain(s)||e.start.assign(s,n.start.get(s))}),e.start.getCertainComponents().forEach(s=>{n.start.isCertain(s)||n.start.assign(s,e.start.get(s))})),e.start.date().getTime()>n.start.date().getTime()){let s=e.start.dayjs(),a=n.start.dayjs();e.start.isOnlyWeekdayComponent()&&s.add(-7,"days").isBefore(a)?(s=s.add(-7,"days"),e.start.imply("day",s.date()),e.start.imply("month",s.month()+1),e.start.imply("year",s.year())):n.start.isOnlyWeekdayComponent()&&a.add(7,"days").isAfter(s)?(a=a.add(7,"days"),n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())):[n,e]=[e,n]}let i=e.clone();return i.start=e.start,i.end=n.start,i.index=Math.min(e.index,n.index),e.index<n.index?i.text=e.text+t+n.text:i.text=n.text+t+e.text,i}};Rp.default=Op});var GT=x(Qo=>{"use strict";var M1=Qo&&Qo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Qo,"__esModule",{value:!0});var A1=M1(qr()),Cp=class extends A1.default{patternBetween(){return/^\s*(to|-)\s*$/i}};Qo.default=Cp});var BT=x(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.mergeDateTimeComponent=Sa.mergeDateTimeResult=void 0;var P1=ht();function N1(r,t){let e=r.clone(),n=r.start,i=t.start;if(e.start=Mp(n,i),r.end!=null||t.end!=null){let s=r.end==null?r.start:r.end,a=t.end==null?t.start:t.end,o=Mp(s,a);r.end==null&&o.date().getTime()<e.start.date().getTime()&&(o.isCertain("day")?o.assign("day",o.get("day")+1):o.imply("day",o.get("day")+1)),e.end=o}return e}Sa.mergeDateTimeResult=N1;function Mp(r,t){let e=r.clone();return t.isCertain("hour")?(e.assign("hour",t.get("hour")),e.assign("minute",t.get("minute")),t.isCertain("second")?(e.assign("second",t.get("second")),t.isCertain("millisecond")?e.assign("millisecond",t.get("millisecond")):e.imply("millisecond",t.get("millisecond"))):(e.imply("second",t.get("second")),e.imply("millisecond",t.get("millisecond")))):(e.imply("hour",t.get("hour")),e.imply("minute",t.get("minute")),e.imply("second",t.get("second")),e.imply("millisecond",t.get("millisecond"))),t.isCertain("timezoneOffset")&&e.assign("timezoneOffset",t.get("timezoneOffset")),t.isCertain("meridiem")?e.assign("meridiem",t.get("meridiem")):t.get("meridiem")!=null&&e.get("meridiem")==null&&e.imply("meridiem",t.get("meridiem")),e.get("meridiem")==P1.Meridiem.PM&&e.get("hour")<12&&(t.isCertain("hour")?e.assign("hour",e.get("hour")+12):e.imply("hour",e.get("hour")+12)),e}Sa.mergeDateTimeComponent=Mp});var ui=x(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});var I1=ka(),VT=BT(),Ap=class extends I1.MergingRefiner{shouldMergeResults(t,e,n){return(e.start.isOnlyDate()&&n.start.isOnlyTime()||n.start.isOnlyDate()&&e.start.isOnlyTime())&&t.match(this.patternBetween())!=null}mergeResults(t,e,n){let i=e.start.isOnlyDate()?VT.mergeDateTimeResult(e,n):VT.mergeDateTimeResult(n,e);return i.index=e.index,i.text=e.text+t+n.text,i}};Pp.default=Ap});var zT=x(Zo=>{"use strict";var F1=Zo&&Zo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Zo,"__esModule",{value:!0});var L1=F1(ui()),Np=class extends L1.default{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-)?\\s*$")}};Zo.default=Np});var KT=x(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});var U1=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),Y1={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:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,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:-300,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:240,MST:-420,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:-480,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},Ip=class{constructor(t){this.timezone=Object.assign(Object.assign({},Y1),t)}refine(t,e){var n;let i=(n=t.option.timezones)!==null&&n!==void 0?n:{};return e.forEach(s=>{var a,o;let l=t.text.substring(s.index+s.text.length),u=U1.exec(l);if(!u)return;let c=u[1].toUpperCase(),d=(o=(a=i[c])!==null&&a!==void 0?a:this.timezone[c])!==null&&o!==void 0?o:null;if(d===null)return;t.debug(()=>{console.log(`Extracting timezone: '${c}' into: ${d} for: ${s.start}`)});let f=s.start.get("timezoneOffset");f!==null&&d!=f&&(s.start.isCertain("timezoneOffset")||c!=u[1])||s.start.isOnlyDate()&&c!=u[1]||(s.text+=u[0],s.start.isCertain("timezoneOffset")||s.start.assign("timezoneOffset",d),s.end!=null&&!s.end.isCertain("timezoneOffset")&&s.end.assign("timezoneOffset",d))}),e}};Fp.default=Ip});var nc=x(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});var $1=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),W1=1,q1=2,j1=3,Lp=class{refine(t,e){return e.forEach(function(n){if(n.start.isCertain("timezoneOffset"))return;let i=t.text.substring(n.index+n.text.length),s=$1.exec(i);if(!s)return;t.debug(()=>{console.log(`Extracting timezone: '${s[0]}' into : ${n}`)});let a=parseInt(s[q1]),o=parseInt(s[j1]||"0"),l=a*60+o;l>14*60||(s[W1]==="-"&&(l=-l),n.end!=null&&n.end.assign("timezoneOffset",l),n.start.assign("timezoneOffset",l),n.text+=s[0])}),e}};Up.default=Lp});var QT=x($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});var Yp=class{refine(t,e){if(e.length<2)return e;let n=[],i=e[0];for(let s=1;s<e.length;s++){let a=e[s];a.index<i.index+i.text.length?a.text.length>i.text.length&&(i=a):(n.push(i),i=a)}return i!=null&&n.push(i),n}};$p.default=Yp});var ZT=x(Xo=>{"use strict";var H1=Xo&&Xo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Xo,"__esModule",{value:!0});var G1=H1(Ue()),Wp=class{refine(t,e){return t.option.forwardDate&&e.forEach(function(n){let i=G1.default(t.refDate);if(n.start.isOnlyDayMonthComponent()&&i.isAfter(n.start.dayjs()))for(let s=0;s<3&&i.isAfter(n.start.dayjs());s++)n.start.imply("year",n.start.get("year")+1),t.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.start})`)}),n.end&&!n.end.isCertain("year")&&(n.end.imply("year",n.end.get("year")+1),t.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.end})`)}));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()),t.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${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()),t.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.end})`)})))}),e}};Xo.default=Wp});var XT=x(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});var B1=ka(),qp=class extends B1.Filter{constructor(t){super(),this.strictMode=t}isValid(t,e){return e.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(t.debug(()=>{console.log(`Removing unlikely result '${e.text}'`)}),!1):e.start.isValidDate()?e.end&&!e.end.isValidDate()?(t.debug(()=>{console.log(`Removing invalid result: ${e} (${e.end})`)}),!1):this.strictMode?this.isStrictModeValid(t,e):!0:(t.debug(()=>{console.log(`Removing invalid result: ${e} (${e.start})`)}),!1)}isStrictModeValid(t,e){return e.start.isOnlyWeekdayComponent()?(t.debug(()=>{console.log(`(Strict) Removing weekday only component: ${e} (${e.end})`)}),!1):e.start.isOnlyTime()&&(!e.start.isCertain("hour")||!e.start.isCertain("minute"))?(t.debug(()=>{console.log(`(Strict) Removing uncertain time component: ${e} (${e.end})`)}),!1):!0}};jp.default=qp});var Bp=x(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});var V1=ie(),z1=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"),K1=1,Q1=2,Z1=3,JT=4,X1=5,ev=6,tv=7,nv=8,rv=9,Hp=class extends V1.AbstractParserWithWordBoundaryChecking{innerPattern(){return z1}innerExtract(t,e){let n={};if(n.year=parseInt(e[K1]),n.month=parseInt(e[Q1]),n.day=parseInt(e[Z1]),e[JT]!=null)if(n.hour=parseInt(e[JT]),n.minute=parseInt(e[X1]),e[ev]!=null&&(n.second=parseInt(e[ev])),e[tv]!=null&&(n.millisecond=parseInt(e[tv])),e[nv]==null)n.timezoneOffset=0;else{let i=parseInt(e[nv]),s=0;e[rv]!=null&&(s=parseInt(e[rv]));let a=i*60;a<0?a-=s:a+=s,n.timezoneOffset=a}return n}};Gp.default=Hp});var iv=x(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});var J1=ka(),Vp=class extends J1.MergingRefiner{mergeResults(t,e,n){let i=n.clone();return i.index=e.index,i.text=e.text+t+i.text,i.start.assign("weekday",e.start.get("weekday")),i.end&&i.end.assign("weekday",e.start.get("weekday")),i}shouldMergeResults(t,e,n){return e.start.isOnlyWeekdayComponent()&&!e.start.isCertain("hour")&&n.start.isCertain("day")&&t.match(/^,?\s*$/)!=null}};zp.default=Vp});var ci=x(Da=>{"use strict";var ws=Da&&Da.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Da,"__esModule",{value:!0});Da.includeCommonConfiguration=void 0;var e0=ws(KT()),t0=ws(nc()),sv=ws(QT()),n0=ws(ZT()),r0=ws(XT()),i0=ws(Bp()),s0=ws(iv());function a0(r,t=!1){return r.parsers.unshift(new i0.default),r.refiners.unshift(new s0.default),r.refiners.unshift(new e0.default),r.refiners.unshift(new t0.default),r.refiners.unshift(new sv.default),r.refiners.push(new sv.default),r.refiners.push(new n0.default),r.refiners.push(new r0.default(t)),r}Da.includeCommonConfiguration=a0});var fi=x(Be=>{"use strict";var o0=Be&&Be.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Be,"__esModule",{value:!0});Be.noon=Be.morning=Be.midnight=Be.yesterdayEvening=Be.evening=Be.lastNight=Be.tonight=Be.theDayAfter=Be.tomorrow=Be.theDayBefore=Be.yesterday=Be.today=Be.now=void 0;var jr=rt(),Ea=o0(Ue()),di=Hn(),Jo=ht();function l0(r){let t=Ea.default(r.instant),e=new jr.ParsingComponents(r,{});return di.assignSimilarDate(e,t),di.assignSimilarTime(e,t),r.timezoneOffset!==null&&e.assign("timezoneOffset",t.utcOffset()),e}Be.now=l0;function u0(r){let t=Ea.default(r.instant),e=new jr.ParsingComponents(r,{});return di.assignSimilarDate(e,t),di.implySimilarTime(e,t),e}Be.today=u0;function c0(r){return av(r,1)}Be.yesterday=c0;function av(r,t){return Kp(r,-t)}Be.theDayBefore=av;function d0(r){return Kp(r,1)}Be.tomorrow=d0;function Kp(r,t){let e=Ea.default(r.instant),n=new jr.ParsingComponents(r,{});return e=e.add(t,"day"),di.assignSimilarDate(n,e),di.implySimilarTime(n,e),n}Be.theDayAfter=Kp;function f0(r,t=22){let e=Ea.default(r.instant),n=new jr.ParsingComponents(r,{});return n.imply("hour",t),n.imply("meridiem",Jo.Meridiem.PM),di.assignSimilarDate(n,e),n}Be.tonight=f0;function p0(r,t=0){let e=Ea.default(r.instant),n=new jr.ParsingComponents(r,{});return e.hour()<6&&(e=e.add(-1,"day")),di.assignSimilarDate(n,e),n.imply("hour",t),n}Be.lastNight=p0;function m0(r,t=20){let e=new jr.ParsingComponents(r,{});return e.imply("meridiem",Jo.Meridiem.PM),e.imply("hour",t),e}Be.evening=m0;function h0(r,t=20){let e=Ea.default(r.instant),n=new jr.ParsingComponents(r,{});return e=e.add(-1,"day"),di.assignSimilarDate(n,e),n.imply("hour",t),n.imply("meridiem",Jo.Meridiem.PM),n}Be.yesterdayEvening=h0;function g0(r){let t=new jr.ParsingComponents(r,{});return t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t}Be.midnight=g0;function y0(r,t=6){let e=new jr.ParsingComponents(r,{});return e.imply("meridiem",Jo.Meridiem.AM),e.imply("hour",t),e}Be.morning=y0;function b0(r){let t=new jr.ParsingComponents(r,{});return t.imply("meridiem",Jo.Meridiem.AM),t.imply("hour",12),t}Be.noon=b0});var ov=x(br=>{"use strict";var T0=br&&br.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),v0=br&&br.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),_0=br&&br.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&T0(t,r,e);return v0(t,r),t},w0=br&&br.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(br,"__esModule",{value:!0});var k0=w0(Ue()),S0=ie(),D0=Hn(),el=_0(fi()),E0=/(now|today|tonight|tomorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,Qp=class extends S0.AbstractParserWithWordBoundaryChecking{innerPattern(t){return E0}innerExtract(t,e){let n=k0.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();switch(i){case"now":return el.now(t.reference);case"today":return el.today(t.reference);case"yesterday":return el.yesterday(t.reference);case"tomorrow":case"tmr":case"tmrw":return el.tomorrow(t.reference);case"tonight":return el.tonight(t.reference);default:i.match(/last\s*night/)&&(n.hour()>6&&(n=n.add(-1,"day")),D0.assignSimilarDate(s,n),s.imply("hour",0));break}return s}};br.default=Qp});var lv=x(tl=>{"use strict";var x0=tl&&tl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(tl,"__esModule",{value:!0});var rc=ht(),O0=ie(),R0=x0(Ue()),C0=Hn(),M0=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|noon)(?=\W|$)/i,Zp=class extends O0.AbstractParserWithWordBoundaryChecking{innerPattern(){return M0}innerExtract(t,e){let n=R0.default(t.refDate),i=t.createParsingComponents();switch(e[1].toLowerCase()){case"afternoon":i.imply("meridiem",rc.Meridiem.PM),i.imply("hour",15);break;case"evening":case"night":i.imply("meridiem",rc.Meridiem.PM),i.imply("hour",20);break;case"midnight":C0.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"morning":i.imply("meridiem",rc.Meridiem.AM),i.imply("hour",6);break;case"noon":i.imply("meridiem",rc.Meridiem.AM),i.imply("hour",12);break}return i}};tl.default=Zp});var ks=x($i=>{"use strict";var A0=$i&&$i.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty($i,"__esModule",{value:!0});$i.toDayJSClosestWeekday=$i.toDayJSWeekday=void 0;var uv=A0(Ue());function P0(r,t,e){if(!e)return cv(r,t);let n=uv.default(r);switch(e){case"this":n=n.day(t);break;case"next":n=n.day(t+7);break;case"last":n=n.day(t-7);break}return n}$i.toDayJSWeekday=P0;function cv(r,t){let e=uv.default(r),n=e.day();return Math.abs(t-7-n)<Math.abs(t-n)?e=e.day(t-7):Math.abs(t+7-n)<Math.abs(t-n)?e=e.day(t+7):e=e.day(t),e}$i.toDayJSClosestWeekday=cv});var fv=x(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});var dv=Ct(),N0=Ke(),I0=ie(),F0=ks(),L0=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${N0.matchAnyPattern(dv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),U0=1,Y0=2,$0=3,Xp=class extends I0.AbstractParserWithWordBoundaryChecking{innerPattern(){return L0}innerExtract(t,e){let n=e[Y0].toLowerCase(),i=dv.WEEKDAY_DICTIONARY[n],s=e[U0],a=e[$0],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o=="last"||o=="past"?l="last":o=="next"?l="next":o=="this"&&(l="this");let u=F0.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Jp.default=Xp});var hv=x(nl=>{"use strict";var W0=nl&&nl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(nl,"__esModule",{value:!0});var mv=Ct(),pv=rt(),q0=W0(Ue()),j0=ie(),H0=Ke(),G0=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${H0.matchAnyPattern(mv.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),B0=1,V0=2,em=class extends j0.AbstractParserWithWordBoundaryChecking{innerPattern(){return G0}innerExtract(t,e){let n=e[B0].toLowerCase(),i=e[V0].toLowerCase(),s=mv.TIME_UNIT_DICTIONARY[i];if(n=="next"||n.startsWith("after")){let l={};return l[s]=1,pv.ParsingComponents.createRelativeFromReference(t.reference,l)}if(n=="last"||n=="past"){let l={};return l[s]=-1,pv.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=q0.default(t.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};nl.default=em});var Tr=x(Ra=>{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});Ra.ParsingContext=Ra.Chrono=void 0;var xa=rt(),z0=tm(),Oa=class{constructor(t){t=t||z0.createCasualConfiguration(),this.parsers=[...t.parsers],this.refiners=[...t.refiners]}clone(){return new Oa({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(t,e,n){let i=this.parse(t,e,n);return i.length>0?i[0].start.date():null}parse(t,e,n){let i=new ic(t,e,n),s=[];return this.parsers.forEach(a=>{let o=Oa.executeParser(i,a);s=s.concat(o)}),s.sort((a,o)=>a.index-o.index),this.refiners.forEach(function(a){s=a.refine(i,s)}),s}static executeParser(t,e){let n=[],i=e.pattern(t),s=t.text,a=t.text,o=i.exec(a);for(;o;){let l=o.index+s.length-a.length;o.index=l;let u=e.extract(t,o);if(!u){a=s.substring(o.index+1),o=i.exec(a);continue}let c=null;u instanceof xa.ParsingResult?c=u:u instanceof xa.ParsingComponents?(c=t.createParsingResult(o.index,o[0]),c.start=u):c=t.createParsingResult(o.index,o[0],u),t.debug(()=>console.log(`${e.constructor.name} extracted result ${c}`)),n.push(c),a=s.substring(l+c.text.length),o=i.exec(a)}return n}};Ra.Chrono=Oa;var ic=class{constructor(t,e,n){this.text=t,this.reference=new xa.ReferenceWithTimezone(e),this.option=n!=null?n:{},this.refDate=this.reference.instant}createParsingComponents(t){return t instanceof xa.ParsingComponents?t:new xa.ParsingComponents(this.reference,t)}createParsingResult(t,e,n,i){let s=typeof e=="string"?e:this.text.substring(t,e),a=n?this.createParsingComponents(n):null,o=i?this.createParsingComponents(i):null;return new xa.ParsingResult(this.reference,t,s,a,o)}debug(t){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(t):this.option.debug.debug(t))}};Ra.ParsingContext=ic});var Ss=x(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});var gv=Rt(),K0=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"),sc=1,yv=5,bv=2,Tv=3,nm=4,rm=class{constructor(t){this.groupNumberMonth=t?Tv:bv,this.groupNumberDay=t?bv:Tv}pattern(){return K0}extract(t,e){if(e[sc]=="/"||e[yv]=="/"){e.index+=e[0].length;return}let n=e.index+e[sc].length,i=e[0].substr(e[sc].length,e[0].length-e[sc].length-e[yv].length);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!e[nm]&&e[0].indexOf("/")<0)return;let s=t.createParsingResult(n,i),a=parseInt(e[this.groupNumberMonth]),o=parseInt(e[this.groupNumberDay]);if((a<1||a>12)&&a>12)if(o>=1&&o<=12&&a<=31)[o,a]=[a,o];else return null;if(o<1||o>31)return null;if(s.start.assign("day",o),s.start.assign("month",a),e[nm]){let l=parseInt(e[nm]),u=gv.findMostLikelyADYear(l);s.start.assign("year",u)}else{let l=gv.findYearClosestToRef(t.refDate,o,a);s.start.imply("year",l)}return s}};im.default=rm});var _v=x(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});var vv=Ct(),Q0=rt(),Z0=ie(),X0=Gn(),J0=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${vv.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),sm=class extends Z0.AbstractParserWithWordBoundaryChecking{innerPattern(){return J0}innerExtract(t,e){let n=e[1].toLowerCase(),i=vv.parseTimeUnits(e[2]);switch(n){case"last":case"past":case"-":i=X0.reverseTimeUnits(i);break}return Q0.ParsingComponents.createRelativeFromReference(t.reference,i)}};am.default=sm});var kv=x(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});var eR=ka(),om=rt(),tR=Ct(),nR=Gn();function wv(r){return r.text.match(/\s+(before|from)$/i)!=null}function rR(r){return r.text.match(/\s+(after|since)$/i)!=null}var lm=class extends eR.MergingRefiner{patternBetween(){return/^\s*$/i}shouldMergeResults(t,e,n){return!t.match(this.patternBetween())||!wv(e)&&!rR(e)?!1:!!n.start.get("day")&&!!n.start.get("month")&&!!n.start.get("year")}mergeResults(t,e,n){let i=tR.parseTimeUnits(e.text);wv(e)&&(i=nR.reverseTimeUnits(i));let s=om.ParsingComponents.createRelativeFromReference(new om.ReferenceWithTimezone(n.start.date()),i);return new om.ParsingResult(n.reference,e.index,`${e.text}${t}${n.text}`,s)}};um.default=lm});var tm=x(ut=>{"use strict";var bt=ut&&ut.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ut,"__esModule",{value:!0});ut.createConfiguration=ut.createCasualConfiguration=ut.parseDate=ut.parse=ut.GB=ut.strict=ut.casual=void 0;var iR=bt(wT()),sR=bt(OT()),aR=bt(PT()),oR=bt(FT()),lR=bt(YT()),uR=bt($T()),cR=bt(qT()),dR=bt(jT()),fR=bt(HT()),pR=bt(GT()),mR=bt(zT()),hR=ci(),gR=bt(ov()),yR=bt(lv()),bR=bt(fv()),TR=bt(hv()),cm=Tr(),vR=bt(Ss()),_R=bt(_v()),wR=bt(kv());ut.casual=new cm.Chrono(Sv(!1));ut.strict=new cm.Chrono(ac(!0,!1));ut.GB=new cm.Chrono(ac(!1,!0));function kR(r,t,e){return ut.casual.parse(r,t,e)}ut.parse=kR;function SR(r,t,e){return ut.casual.parseDate(r,t,e)}ut.parseDate=SR;function Sv(r=!1){let t=ac(!1,r);return t.parsers.unshift(new gR.default),t.parsers.unshift(new yR.default),t.parsers.unshift(new oR.default),t.parsers.unshift(new TR.default),t.parsers.unshift(new _R.default),t}ut.createCasualConfiguration=Sv;function ac(r=!0,t=!1){return hR.includeCommonConfiguration({parsers:[new vR.default(t),new iR.default,new sR.default,new aR.default,new bR.default,new lR.default,new uR.default,new cR.default(r),new dR.default(r),new fR.default(r)],refiners:[new wR.default,new mR.default,new pR.default]},r)}ut.createConfiguration=ac});var Dv=x(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});var DR=_s(),dm=class extends DR.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:um|von)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|bis)\\s*"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}};fm.default=dm});var rl=x(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.parseTimeUnits=Qe.TIME_UNITS_PATTERN=Qe.parseYear=Qe.YEAR_PATTERN=Qe.parseNumberPattern=Qe.NUMBER_PATTERN=Qe.TIME_UNIT_DICTIONARY=Qe.INTEGER_WORD_DICTIONARY=Qe.MONTH_DICTIONARY=Qe.WEEKDAY_DICTIONARY=void 0;var pm=Ke(),ER=Rt();Qe.WEEKDAY_DICTIONARY={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};Qe.MONTH_DICTIONARY={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};Qe.INTEGER_WORD_DICTIONARY={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};Qe.TIME_UNIT_DICTIONARY={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"};Qe.NUMBER_PATTERN=`(?:${pm.matchAnyPattern(Qe.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s*an?)?|an?\\b(?:\\s*few)?|few|several|a?\\s*couple\\s*(?:of)?)`;function xv(r){let t=r.toLowerCase();return Qe.INTEGER_WORD_DICTIONARY[t]!==void 0?Qe.INTEGER_WORD_DICTIONARY[t]:t==="a"||t==="an"?1:t.match(/few/)?3:t.match(/half/)?.5:t.match(/couple/)?2:t.match(/several/)?7:parseFloat(t)}Qe.parseNumberPattern=xv;Qe.YEAR_PATTERN="(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)";function xR(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 t=parseInt(r);return ER.findMostLikelyADYear(t)}Qe.parseYear=xR;var Ov=`(${Qe.NUMBER_PATTERN})\\s{0,5}(${pm.matchAnyPattern(Qe.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Ev=new RegExp(Ov,"i");Qe.TIME_UNITS_PATTERN=pm.repeatedTimeunitPattern("",Ov);function OR(r){let t={},e=r,n=Ev.exec(e);for(;n;)RR(t,n),e=e.substring(n[0].length),n=Ev.exec(e);return t}Qe.parseTimeUnits=OR;function RR(r,t){let e=xv(t[1]),n=Qe.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var Cv=x(hm=>{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});var Rv=rl(),CR=Ke(),MR=ie(),AR=ks(),PR=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${CR.matchAnyPattern(Rv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),NR=1,IR=3,FR=2,mm=class extends MR.AbstractParserWithWordBoundaryChecking{innerPattern(){return PR}innerExtract(t,e){let n=e[FR].toLowerCase(),i=Rv.WEEKDAY_DICTIONARY[n],s=e[NR],a=e[IR],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o.match(/letzte/)?l="last":o.match(/chste/)?l="next":o.match(/diese/)&&(l="this");let u=AR.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};hm.default=mm});var Nv=x(gm=>{"use strict";Object.defineProperty(gm,"__esModule",{value:!0});var Wi=ht(),LR=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"),UR=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"),YR=2,Mv=3,Av=4,Pv=5,Ca=class{pattern(t){return LR}extract(t,e){let n=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(n.text.match(/^\d{4}$/)||(n.start=Ca.extractTimeComponent(n.start.clone(),e),!n.start))return e.index+=e[0].length,null;let i=t.text.substring(e.index+e[0].length),s=UR.exec(i);return s&&(n.end=Ca.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(t,e){let n=0,i=0,s=null;if(n=parseInt(e[YR]),e[Mv]!=null&&(i=parseInt(e[Mv])),i>=60||n>24)return null;if(n>=12&&(s=Wi.Meridiem.PM),e[Pv]!=null){if(n>12)return null;let a=e[Pv].toLowerCase();a.match(/morgen|vormittag/)&&(s=Wi.Meridiem.AM,n==12&&(n=0)),a.match(/nachmittag|abend/)&&(s=Wi.Meridiem.PM,n!=12&&(n+=12)),a.match(/nacht/)&&(n==12?(s=Wi.Meridiem.AM,n=0):n<6?s=Wi.Meridiem.AM:(s=Wi.Meridiem.PM,n+=12))}if(t.assign("hour",n),t.assign("minute",i),s!==null?t.assign("meridiem",s):n<12?t.imply("meridiem",Wi.Meridiem.AM):t.imply("meridiem",Wi.Meridiem.PM),e[Av]!=null){let a=parseInt(e[Av]);if(a>=60)return null;t.assign("second",a)}return t}};gm.default=Ca});var Iv=x(il=>{"use strict";var $R=il&&il.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(il,"__esModule",{value:!0});var WR=$R(qr()),ym=class extends WR.default{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}};il.default=ym});var Fv=x(sl=>{"use strict";var qR=sl&&sl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(sl,"__esModule",{value:!0});var jR=qR(ui()),bm=class extends jR.default{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}};sl.default=bm});var Tm=x(ol=>{"use strict";var HR=ol&&ol.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ol,"__esModule",{value:!0});var GR=HR(Ue()),Ds=ht(),BR=ie(),VR=Hn(),zR=Gn(),al=class extends BR.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(t,e){let n=GR.default(t.refDate),i=e[2].toLowerCase(),s=t.createParsingComponents();return VR.implySimilarTime(s,n),al.extractTimeComponents(s,i)}static extractTimeComponents(t,e){switch(e){case"morgen":t.imply("hour",6),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.AM);break;case"vormittag":t.imply("hour",9),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.AM);break;case"mittag":case"mittags":t.imply("hour",12),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.AM);break;case"nachmittag":t.imply("hour",15),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.PM);break;case"abend":t.imply("hour",18),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.PM);break;case"nacht":t.imply("hour",22),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.PM);break;case"mitternacht":t.get("hour")>1&&(t=zR.addImpliedTimeUnits(t,{day:1})),t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",Ds.Meridiem.AM);break}return t}};ol.default=al});var Yv=x(vr=>{"use strict";var KR=vr&&vr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),QR=vr&&vr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),ZR=vr&&vr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&KR(t,r,e);return QR(t,r),t},Uv=vr&&vr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(vr,"__esModule",{value:!0});var XR=Uv(Ue()),JR=ie(),Es=Hn(),eC=Uv(Tm()),Lv=ZR(fi()),tC=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),nC=1,rC=2,vm=class extends JR.AbstractParserWithWordBoundaryChecking{innerPattern(t){return tC}innerExtract(t,e){let n=XR.default(t.refDate),i=(e[nC]||"").toLowerCase(),s=(e[rC]||"").toLowerCase(),a=t.createParsingComponents();switch(i){case"jetzt":a=Lv.now(t.reference);break;case"heute":a=Lv.today(t.reference);break;case"morgen":Es.assignTheNextDay(a,n);break;case"\xFCbermorgen":case"uebermorgen":n=n.add(1,"day"),Es.assignTheNextDay(a,n);break;case"gestern":n=n.add(-1,"day"),Es.assignSimilarDate(a,n),Es.implySimilarTime(a,n);break;case"vorgestern":n=n.add(-2,"day"),Es.assignSimilarDate(a,n),Es.implySimilarTime(a,n);break;default:i.match(/letzte\s*nacht/)&&(n.hour()>6&&(n=n.add(-1,"day")),Es.assignSimilarDate(a,n),a.imply("hour",0));break}return s&&(a=eC.default.extractTimeComponents(a,s)),a}};vr.default=vm});var Gv=x(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});var iC=Rt(),jv=rl(),Hv=rl(),sC=Ke(),aC=ie(),oC=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${sC.matchAnyPattern(jv.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Hv.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),$v=1,Wv=2,lC=3,qv=4,_m=class extends aC.AbstractParserWithWordBoundaryChecking{innerPattern(){return oC}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=jv.MONTH_DICTIONARY[e[lC].toLowerCase()],s=parseInt(e[$v]);if(s>31)return e.index=e.index+e[$v].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[qv]){let a=Hv.parseYear(e[qv]);n.start.assign("year",a)}else{let a=iC.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[Wv]){let a=parseInt(e[Wv]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};wm.default=_m});var Bv=x(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});var oc=rl(),uC=rt(),cC=ie(),dC=Gn(),fC=Ke(),km=class extends cC.AbstractParserWithWordBoundaryChecking{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*)?(${oc.NUMBER_PATTERN})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${fC.matchAnyPattern(oc.TIME_UNIT_DICTIONARY)})`,"i")}innerExtract(t,e){let n=e[2]?oc.parseNumberPattern(e[2]):1,i=oc.TIME_UNIT_DICTIONARY[e[4].toLowerCase()],s={};s[i]=n;let a=e[1]||e[3]||"";if(a=a.toLowerCase(),!!a)return(/vor/.test(a)||/letzte/.test(a)||/vergangen/.test(a))&&(s=dC.reverseTimeUnits(s)),uC.ParsingComponents.createRelativeFromReference(t.reference,s)}};Sm.default=km});var Kv=x(Tt=>{"use strict";var _r=Tt&&Tt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Tt,"__esModule",{value:!0});Tt.createConfiguration=Tt.createCasualConfiguration=Tt.parseDate=Tt.parse=Tt.strict=Tt.casual=void 0;var pC=ci(),Vv=Tr(),mC=_r(Ss()),hC=_r(Bp()),gC=_r(Dv()),yC=_r(Cv()),bC=_r(Nv()),TC=_r(Iv()),vC=_r(Fv()),_C=_r(Yv()),wC=_r(Tm()),kC=_r(Gv()),SC=_r(Bv());Tt.casual=new Vv.Chrono(zv());Tt.strict=new Vv.Chrono(Dm(!0));function DC(r,t,e){return Tt.casual.parse(r,t,e)}Tt.parse=DC;function EC(r,t,e){return Tt.casual.parseDate(r,t,e)}Tt.parseDate=EC;function zv(r=!0){let t=Dm(!1,r);return t.parsers.unshift(new wC.default),t.parsers.unshift(new _C.default),t.parsers.unshift(new SC.default),t}Tt.createCasualConfiguration=zv;function Dm(r=!0,t=!0){return pC.includeCommonConfiguration({parsers:[new hC.default,new mC.default(t),new gC.default,new bC.default,new kC.default,new yC.default],refiners:[new TC.default,new vC.default]},r)}Tt.createConfiguration=Dm});var Zv=x(wr=>{"use strict";var xC=wr&&wr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),OC=wr&&wr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),RC=wr&&wr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&xC(t,r,e);return OC(t,r),t},CC=wr&&wr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wr,"__esModule",{value:!0});var MC=CC(Ue()),AC=ht(),PC=ie(),Qv=Hn(),lc=RC(fi()),Em=class extends PC.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(t,e){let n=MC.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();switch(i){case"maintenant":return lc.now(t.reference);case"aujourd'hui":return lc.today(t.reference);case"hier":return lc.yesterday(t.reference);case"demain":return lc.tomorrow(t.reference);default:i.match(/cette\s*nuit/)?(Qv.assignSimilarDate(s,n),s.imply("hour",22),s.imply("meridiem",AC.Meridiem.PM)):i.match(/la\s*veille/)&&(n=n.add(-1,"day"),Qv.assignSimilarDate(s,n),s.imply("hour",0))}return s}};wr.default=Em});var Xv=x(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});var ll=ht(),NC=ie(),xm=class extends NC.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(t,e){let n=e[2].toLowerCase(),i=t.createParsingComponents();switch(n){case"apr\xE8s-midi":case"aprem":i.imply("hour",14),i.imply("minute",0),i.imply("meridiem",ll.Meridiem.PM);break;case"soir":i.imply("hour",18),i.imply("minute",0),i.imply("meridiem",ll.Meridiem.PM);break;case"matin":i.imply("hour",8),i.imply("minute",0),i.imply("meridiem",ll.Meridiem.AM);break;case"a midi":i.imply("hour",12),i.imply("minute",0),i.imply("meridiem",ll.Meridiem.AM);break;case"\xE0 minuit":i.imply("hour",0),i.imply("meridiem",ll.Meridiem.AM);break}return i}};Om.default=xm});var Jv=x(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});var IC=_s(),Rm=class extends IC.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:[\xE0a])\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}};Cm.default=Rm});var e_=x(ul=>{"use strict";var FC=ul&&ul.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ul,"__esModule",{value:!0});var LC=FC(ui()),Mm=class extends LC.default{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|vers|de|,|-)?\\s*$")}};ul.default=Mm});var t_=x(cl=>{"use strict";var UC=cl&&cl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(cl,"__esModule",{value:!0});var YC=UC(qr()),Am=class extends YC.default{patternBetween(){return/^\s*(à|a|-)\s*$/i}};cl.default=Am});var qi=x(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.parseTimeUnits=Ye.TIME_UNITS_PATTERN=Ye.parseYear=Ye.YEAR_PATTERN=Ye.parseOrdinalNumberPattern=Ye.ORDINAL_NUMBER_PATTERN=Ye.parseNumberPattern=Ye.NUMBER_PATTERN=Ye.TIME_UNIT_DICTIONARY=Ye.INTEGER_WORD_DICTIONARY=Ye.MONTH_DICTIONARY=Ye.WEEKDAY_DICTIONARY=void 0;var Pm=Ke();Ye.WEEKDAY_DICTIONARY={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};Ye.MONTH_DICTIONARY={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};Ye.INTEGER_WORD_DICTIONARY={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};Ye.TIME_UNIT_DICTIONARY={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"};Ye.NUMBER_PATTERN=`(?:${Pm.matchAnyPattern(Ye.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;function r_(r){let t=r.toLowerCase();return Ye.INTEGER_WORD_DICTIONARY[t]!==void 0?Ye.INTEGER_WORD_DICTIONARY[t]:t==="une"||t==="un"?1:t.match(/quelques?/)?3:t.match(/demi-?/)?.5:parseFloat(t)}Ye.parseNumberPattern=r_;Ye.ORDINAL_NUMBER_PATTERN="(?:[0-9]{1,2}(?:er)?)";function $C(r){let t=r.toLowerCase();return t=t.replace(/(?:er)$/i,""),parseInt(t)}Ye.parseOrdinalNumberPattern=$C;Ye.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:AC|AD|p\\.\\s*C(?:hr?)?\\.\\s*n\\.)|[1-2][0-9]{3}|[5-9][0-9])";function WC(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 t=parseInt(r);return t<100&&(t>50?t=t+1900:t=t+2e3),t}Ye.parseYear=WC;var i_=`(${Ye.NUMBER_PATTERN})\\s{0,5}(${Pm.matchAnyPattern(Ye.TIME_UNIT_DICTIONARY)})\\s{0,5}`,n_=new RegExp(i_,"i");Ye.TIME_UNITS_PATTERN=Pm.repeatedTimeunitPattern("",i_);function qC(r){let t={},e=r,n=n_.exec(e);for(;n;)jC(t,n),e=e.substring(n[0].length),n=n_.exec(e);return t}Ye.parseTimeUnits=qC;function jC(r,t){let e=r_(t[1]),n=Ye.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var a_=x(Im=>{"use strict";Object.defineProperty(Im,"__esModule",{value:!0});var s_=qi(),HC=Ke(),GC=ie(),BC=ks(),VC=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${HC.matchAnyPattern(s_.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),zC=1,KC=2,Nm=class extends GC.AbstractParserWithWordBoundaryChecking{innerPattern(){return VC}innerExtract(t,e){let n=e[zC].toLowerCase(),i=s_.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=e[KC];s=s||"",s=s.toLowerCase();let a=null;s=="dernier"?a="last":s=="prochain"&&(a="next");let o=BC.toDayJSWeekday(t.refDate,i,a);return t.createParsingComponents().assign("weekday",i).imply("day",o.date()).imply("month",o.month()+1).imply("year",o.year())}};Im.default=Nm});var c_=x(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});var dl=ht(),QC=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"),ZC=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"),XC=2,o_=3,l_=4,u_=5,Ma=class{pattern(t){return QC}extract(t,e){let n=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(n.text.match(/^\d{4}$/)||(n.start=Ma.extractTimeComponent(n.start.clone(),e),!n.start))return e.index+=e[0].length,null;let i=t.text.substring(e.index+e[0].length),s=ZC.exec(i);return s&&(n.end=Ma.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(t,e){let n=0,i=0,s=null;if(n=parseInt(e[XC]),e[o_]!=null&&(i=parseInt(e[o_])),i>=60||n>24)return null;if(n>=12&&(s=dl.Meridiem.PM),e[u_]!=null){if(n>12)return null;let a=e[u_][0].toLowerCase();a=="a"&&(s=dl.Meridiem.AM,n==12&&(n=0)),a=="p"&&(s=dl.Meridiem.PM,n!=12&&(n+=12))}if(t.assign("hour",n),t.assign("minute",i),s!==null?t.assign("meridiem",s):n<12?t.imply("meridiem",dl.Meridiem.AM):t.imply("meridiem",dl.Meridiem.PM),e[l_]!=null){let a=parseInt(e[l_]);if(a>=60)return null;t.assign("second",a)}return t}};Fm.default=Ma});var g_=x(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});var JC=Rt(),m_=qi(),h_=qi(),uc=qi(),eM=Ke(),tM=ie(),nM=new RegExp(`(?:on\\s*?)?(${uc.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${uc.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:de)?\\s*)(${eM.matchAnyPattern(m_.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${h_.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),d_=1,f_=2,rM=3,p_=4,Lm=class extends tM.AbstractParserWithWordBoundaryChecking{innerPattern(){return nM}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=m_.MONTH_DICTIONARY[e[rM].toLowerCase()],s=uc.parseOrdinalNumberPattern(e[d_]);if(s>31)return e.index=e.index+e[d_].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[p_]){let a=h_.parseYear(e[p_]);n.start.assign("year",a)}else{let a=JC.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[f_]){let a=uc.parseOrdinalNumberPattern(e[f_]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Um.default=Lm});var b_=x($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});var y_=qi(),iM=rt(),sM=ie(),aM=Gn(),Ym=class extends sM.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${y_.TIME_UNITS_PATTERN})(?=(?:\\W|$))`,"i")}innerExtract(t,e){let n=y_.parseTimeUnits(e[1]),i=aM.reverseTimeUnits(n);return iM.ParsingComponents.createRelativeFromReference(t.reference,i)}};$m.default=Ym});var v_=x(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});var T_=qi(),oM=rt(),lM=ie(),Wm=class extends lM.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${T_.TIME_UNITS_PATTERN})(?=\\W|$)`,"i")}innerExtract(t,e){let n=T_.parseTimeUnits(e[1]);return oM.ParsingComponents.createRelativeFromReference(t.reference,n)}};qm.default=Wm});var __=x(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});var cc=qi(),uM=rt(),cM=ie(),dM=Gn(),fM=Ke(),jm=class extends cM.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${cc.NUMBER_PATTERN})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${fM.matchAnyPattern(cc.TIME_UNIT_DICTIONARY)})(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?`,"i")}innerExtract(t,e){let n=e[1]?cc.parseNumberPattern(e[1]):1,i=cc.TIME_UNIT_DICTIONARY[e[3].toLowerCase()],s={};s[i]=n;let a=e[2]||e[4]||"";if(a=a.toLowerCase(),!!a)return(/derni[eè]re?s?/.test(a)||/pass[ée]e?s?/.test(a)||/pr[ée]c[ée]dents?/.test(a))&&(s=dM.reverseTimeUnits(s)),uM.ParsingComponents.createRelativeFromReference(t.reference,s)}};Hm.default=jm});var S_=x(vt=>{"use strict";var Bn=vt&&vt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(vt,"__esModule",{value:!0});vt.createConfiguration=vt.createCasualConfiguration=vt.parseDate=vt.parse=vt.strict=vt.casual=void 0;var pM=ci(),w_=Tr(),mM=Bn(Zv()),hM=Bn(Xv()),gM=Bn(Ss()),yM=Bn(Jv()),bM=Bn(e_()),TM=Bn(t_()),vM=Bn(a_()),_M=Bn(c_()),wM=Bn(g_()),kM=Bn(b_()),SM=Bn(v_()),DM=Bn(__());vt.casual=new w_.Chrono(k_());vt.strict=new w_.Chrono(Gm(!0));function EM(r,t,e){return vt.casual.parse(r,t,e)}vt.parse=EM;function xM(r,t,e){return vt.casual.parseDate(r,t,e)}vt.parseDate=xM;function k_(r=!0){let t=Gm(!1,r);return t.parsers.unshift(new mM.default),t.parsers.unshift(new hM.default),t.parsers.unshift(new DM.default),t}vt.createCasualConfiguration=k_;function Gm(r=!0,t=!0){return pM.includeCommonConfiguration({parsers:[new gM.default(t),new wM.default,new yM.default,new _M.default,new kM.default,new SM.default,new vM.default],refiners:[new bM.default,new TM.default]},r)}vt.createConfiguration=Gm});var D_=x(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});dc.toHankaku=void 0;function OM(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,RM)}dc.toHankaku=OM;function RM(r){return String.fromCharCode(r.charCodeAt(0)-65248)}});var x_=x(fl=>{"use strict";var CM=fl&&fl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(fl,"__esModule",{value:!0});var Bm=D_(),MM=Rt(),AM=CM(Ue()),PM=/(?:(?:([同今本])|((昭和|平成|令和)?([0-9-]{1,4}|元)))年\s*)?([0-9-]{1,2})月\s*([0-9-]{1,2})日/i,E_=1,NM=2,Vm=3,IM=4,FM=5,LM=6,zm=class{pattern(){return PM}extract(t,e){let n=parseInt(Bm.toHankaku(e[FM])),i=parseInt(Bm.toHankaku(e[LM])),s=t.createParsingComponents({day:i,month:n});if(e[E_]&&e[E_].match("\u540C|\u4ECA|\u672C")){let a=AM.default(t.refDate);s.assign("year",a.year())}if(e[NM]){let a=e[IM],o=a=="\u5143"?1:parseInt(Bm.toHankaku(a));e[Vm]=="\u4EE4\u548C"?o+=2018:e[Vm]=="\u5E73\u6210"?o+=1988:e[Vm]=="\u662D\u548C"&&(o+=1925),s.assign("year",o)}else{let a=MM.findYearClosestToRef(t.refDate,i,n);s.imply("year",a)}return s}};fl.default=zm});var O_=x(pl=>{"use strict";var UM=pl&&pl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(pl,"__esModule",{value:!0});var YM=UM(qr()),Km=class extends YM.default{patternBetween(){return/^\s*(から|ー|-)\s*$/i}};pl.default=Km});var C_=x(kr=>{"use strict";var $M=kr&&kr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),WM=kr&&kr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),qM=kr&&kr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&$M(t,r,e);return WM(t,r),t},jM=kr&&kr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(kr,"__esModule",{value:!0});var HM=jM(Ue()),R_=ht(),Qm=qM(fi()),GM=/今日|当日|昨日|明日|今夜|今夕|今晩|今朝/i,Zm=class{pattern(){return GM}extract(t,e){let n=e[0],i=HM.default(t.refDate),s=t.createParsingComponents();switch(n){case"\u6628\u65E5":return Qm.yesterday(t.reference);case"\u660E\u65E5":return Qm.tomorrow(t.reference);case"\u4ECA\u65E5":case"\u5F53\u65E5":return Qm.today(t.reference)}return n=="\u4ECA\u591C"||n=="\u4ECA\u5915"||n=="\u4ECA\u6669"?(s.imply("hour",22),s.assign("meridiem",R_.Meridiem.PM)):n.match("\u4ECA\u671D")&&(s.imply("hour",6),s.assign("meridiem",R_.Meridiem.AM)),s.assign("day",i.date()),s.assign("month",i.month()+1),s.assign("year",i.year()),s}};kr.default=Zm});var P_=x(_t=>{"use strict";var Xm=_t&&_t.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_t,"__esModule",{value:!0});_t.createConfiguration=_t.createCasualConfiguration=_t.parseDate=_t.parse=_t.strict=_t.casual=void 0;var BM=Xm(x_()),VM=Xm(O_()),zM=Xm(C_()),M_=Tr();_t.casual=new M_.Chrono(A_());_t.strict=new M_.Chrono(Jm());function KM(r,t,e){return _t.casual.parse(r,t,e)}_t.parse=KM;function QM(r,t,e){return _t.casual.parseDate(r,t,e)}_t.parseDate=QM;function A_(){let r=Jm();return r.parsers.unshift(new zM.default),r}_t.createCasualConfiguration=A_;function Jm(){return{parsers:[new BM.default],refiners:[new VM.default]}}_t.createConfiguration=Jm});var fc=x(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.parseYear=Hr.YEAR_PATTERN=Hr.MONTH_DICTIONARY=Hr.WEEKDAY_DICTIONARY=void 0;Hr.WEEKDAY_DICTIONARY={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};Hr.MONTH_DICTIONARY={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};Hr.YEAR_PATTERN="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";function ZM(r){if(r.match(/^[0-9]{1,4}$/)){let t=parseInt(r);return t<100&&(t>50?t=t+1900:t=t+2e3),t}return r.match(/a\.?\s*c\.?/i)?(r=r.replace(/a\.?\s*c\.?/i,""),-parseInt(r)):parseInt(r)}Hr.parseYear=ZM});var I_=x(th=>{"use strict";Object.defineProperty(th,"__esModule",{value:!0});var N_=fc(),XM=Ke(),JM=ie(),eA=ks(),tA=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${XM.matchAnyPattern(N_.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),nA=1,rA=2,iA=3,eh=class extends JM.AbstractParserWithWordBoundaryChecking{innerPattern(){return tA}innerExtract(t,e){let n=e[rA].toLowerCase(),i=N_.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=e[nA],a=e[iA],o=s||a||"";o=o.toLowerCase();let l=null;o=="passado"?l="this":o=="pr\xF3ximo"||o=="proximo"?l="next":o=="este"&&(l="this");let u=eA.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};th.default=eh});var F_=x(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});var sA=_s(),nh=class extends sA.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}};rh.default=nh});var L_=x(ml=>{"use strict";var aA=ml&&ml.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ml,"__esModule",{value:!0});var oA=aA(ui()),ih=class extends oA.default{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}};ml.default=ih});var U_=x(hl=>{"use strict";var lA=hl&&hl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(hl,"__esModule",{value:!0});var uA=lA(qr()),sh=class extends uA.default{patternBetween(){return/^\s*(?:-)\s*$/i}};hl.default=sh});var H_=x(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});var cA=Rt(),q_=fc(),j_=fc(),dA=Ke(),fA=ie(),pA=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*)(${dA.matchAnyPattern(q_.MONTH_DICTIONARY)})(?:\\s*(?:de|,)?\\s*(${j_.YEAR_PATTERN}))?(?=\\W|$)`,"i"),Y_=1,$_=2,mA=3,W_=4,ah=class extends fA.AbstractParserWithWordBoundaryChecking{innerPattern(){return pA}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=q_.MONTH_DICTIONARY[e[mA].toLowerCase()],s=parseInt(e[Y_]);if(s>31)return e.index=e.index+e[Y_].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[W_]){let a=j_.parseYear(e[W_]);n.start.assign("year",a)}else{let a=cA.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[$_]){let a=parseInt(e[$_]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};oh.default=ah});var G_=x(pi=>{"use strict";var hA=pi&&pi.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),gA=pi&&pi.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),yA=pi&&pi.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&hA(t,r,e);return gA(t,r),t};Object.defineProperty(pi,"__esModule",{value:!0});var bA=ie(),pc=yA(fi()),lh=class extends bA.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(t,e){let n=e[0].toLowerCase(),i=t.createParsingComponents();switch(n){case"agora":return pc.now(t.reference);case"hoje":return pc.today(t.reference);case"amanha":case"amanh\xE3":return pc.tomorrow(t.reference);case"ontem":return pc.yesterday(t.reference)}return i}};pi.default=lh});var B_=x(gl=>{"use strict";var TA=gl&&gl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(gl,"__esModule",{value:!0});var mc=ht(),vA=ie(),_A=Hn(),wA=TA(Ue()),uh=class extends vA.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(t,e){let n=wA.default(t.refDate),i=t.createParsingComponents();switch(e[1].toLowerCase()){case"tarde":i.imply("meridiem",mc.Meridiem.PM),i.imply("hour",15);break;case"noite":i.imply("meridiem",mc.Meridiem.PM),i.imply("hour",22);break;case"manha":case"manh\xE3":i.imply("meridiem",mc.Meridiem.AM),i.imply("hour",6);break;case"meia-noite":_A.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"meio-dia":i.imply("meridiem",mc.Meridiem.AM),i.imply("hour",12);break}return i}};gl.default=uh});var K_=x(wt=>{"use strict";var ji=wt&&wt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wt,"__esModule",{value:!0});wt.createConfiguration=wt.createCasualConfiguration=wt.parseDate=wt.parse=wt.strict=wt.casual=void 0;var kA=ci(),V_=Tr(),SA=ji(Ss()),DA=ji(I_()),EA=ji(F_()),xA=ji(L_()),OA=ji(U_()),RA=ji(H_()),CA=ji(G_()),MA=ji(B_());wt.casual=new V_.Chrono(z_());wt.strict=new V_.Chrono(ch(!0));function AA(r,t,e){return wt.casual.parse(r,t,e)}wt.parse=AA;function PA(r,t,e){return wt.casual.parseDate(r,t,e)}wt.parseDate=PA;function z_(r=!0){let t=ch(!1,r);return t.parsers.push(new CA.default),t.parsers.push(new MA.default),t}wt.createCasualConfiguration=z_;function ch(r=!0,t=!0){return kA.includeCommonConfiguration({parsers:[new SA.default(t),new DA.default,new EA.default,new RA.default],refiners:[new xA.default,new OA.default]},r)}wt.createConfiguration=ch});var Q_=x(yl=>{"use strict";var NA=yl&&yl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(yl,"__esModule",{value:!0});var IA=NA(qr()),dh=class extends IA.default{patternBetween(){return/^\s*(tot|-)\s*$/i}};yl.default=dh});var Z_=x(bl=>{"use strict";var FA=bl&&bl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(bl,"__esModule",{value:!0});var LA=FA(ui()),fh=class extends LA.default{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}};bl.default=fh});var X_=x(mi=>{"use strict";var UA=mi&&mi.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),YA=mi&&mi.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),$A=mi&&mi.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&UA(t,r,e);return YA(t,r),t};Object.defineProperty(mi,"__esModule",{value:!0});var WA=ie(),hc=$A(fi()),ph=class extends WA.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(t,e){let n=e[0].toLowerCase(),i=t.createParsingComponents();switch(n){case"nu":return hc.now(t.reference);case"vandaag":return hc.today(t.reference);case"morgen":case"morgend":return hc.tomorrow(t.reference);case"gisteren":return hc.yesterday(t.reference)}return i}};mi.default=ph});var J_=x(Tl=>{"use strict";var qA=Tl&&Tl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Tl,"__esModule",{value:!0});var gc=ht(),jA=ie(),HA=qA(Ue()),GA=Hn(),BA=1,VA=2,mh=class extends jA.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(t,e){let n=HA.default(t.refDate),i=t.createParsingComponents();switch(e[BA]==="deze"&&(i.assign("day",t.refDate.getDate()),i.assign("month",t.refDate.getMonth()+1),i.assign("year",t.refDate.getFullYear())),e[VA].toLowerCase()){case"namiddag":case"'s namiddags":i.imply("meridiem",gc.Meridiem.PM),i.imply("hour",15);break;case"avond":case"'s avonds'":i.imply("meridiem",gc.Meridiem.PM),i.imply("hour",20);break;case"middernacht":GA.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"ochtend":case"'s ochtends":i.imply("meridiem",gc.Meridiem.AM),i.imply("hour",6);break;case"middag":case"'s middags":i.imply("meridiem",gc.Meridiem.AM),i.imply("hour",12);break}return i}};Tl.default=mh});var Dn=x(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Pe.parseTimeUnits=Pe.TIME_UNITS_PATTERN=Pe.parseYear=Pe.YEAR_PATTERN=Pe.parseOrdinalNumberPattern=Pe.ORDINAL_NUMBER_PATTERN=Pe.parseNumberPattern=Pe.NUMBER_PATTERN=Pe.TIME_UNIT_DICTIONARY=Pe.ORDINAL_WORD_DICTIONARY=Pe.INTEGER_WORD_DICTIONARY=Pe.MONTH_DICTIONARY=Pe.WEEKDAY_DICTIONARY=void 0;var yc=Ke(),zA=Rt();Pe.WEEKDAY_DICTIONARY={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};Pe.MONTH_DICTIONARY={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,maart:3,mar:3,"mar.":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};Pe.INTEGER_WORD_DICTIONARY={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12};Pe.ORDINAL_WORD_DICTIONARY={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};Pe.TIME_UNIT_DICTIONARY={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"};Pe.NUMBER_PATTERN=`(?:${yc.matchAnyPattern(Pe.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;function tw(r){let t=r.toLowerCase();return Pe.INTEGER_WORD_DICTIONARY[t]!==void 0?Pe.INTEGER_WORD_DICTIONARY[t]:t==="paar"?2:t==="half"||t.match(/halve?/)?.5:parseFloat(t.replace(",","."))}Pe.parseNumberPattern=tw;Pe.ORDINAL_NUMBER_PATTERN=`(?:${yc.matchAnyPattern(Pe.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:ste|de)?)`;function KA(r){let t=r.toLowerCase();return Pe.ORDINAL_WORD_DICTIONARY[t]!==void 0?Pe.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:ste|de)$/i,""),parseInt(t))}Pe.parseOrdinalNumberPattern=KA;Pe.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";function QA(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 t=parseInt(r);return zA.findMostLikelyADYear(t)}Pe.parseYear=QA;var nw=`(${Pe.NUMBER_PATTERN})\\s{0,5}(${yc.matchAnyPattern(Pe.TIME_UNIT_DICTIONARY)})\\s{0,5}`,ew=new RegExp(nw,"i");Pe.TIME_UNITS_PATTERN=yc.repeatedTimeunitPattern("(?:(?:binnen|in)\\s*)?",nw);function ZA(r){let t={},e=r,n=ew.exec(e);for(;n;)XA(t,n),e=e.substring(n[0].length),n=ew.exec(e);return t}Pe.parseTimeUnits=ZA;function XA(r,t){let e=tw(t[1]),n=Pe.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var iw=x(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});var rw=Dn(),JA=rt(),eP=ie(),hh=class extends eP.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+rw.TIME_UNITS_PATTERN+")(?=\\W|$)","i")}innerExtract(t,e){let n=rw.parseTimeUnits(e[1]);return JA.ParsingComponents.createRelativeFromReference(t.reference,n)}};gh.default=hh});var aw=x(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});var sw=Dn(),tP=Ke(),nP=ie(),rP=ks(),iP=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${tP.matchAnyPattern(sw.WEEKDAY_DICTIONARY)})(?=\\W|$)`,"i"),sP=1,aP=2,oP=3,yh=class extends nP.AbstractParserWithWordBoundaryChecking{innerPattern(){return iP}innerExtract(t,e){let n=e[aP].toLowerCase(),i=sw.WEEKDAY_DICTIONARY[n],s=e[sP],a=e[oP],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o=="vorige"?l="last":o=="volgende"?l="next":o=="deze"&&(l="this");let u=rP.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};bh.default=yh});var fw=x(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});var lP=Rt(),cw=Dn(),bc=Dn(),dw=Dn(),uP=Ke(),cP=ie(),dP=new RegExp(`(?:on\\s*?)?(${bc.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${bc.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:of)?\\s*)(`+uP.matchAnyPattern(cw.MONTH_DICTIONARY)+`)(?:(?:-|/|,?\\s*)(${dw.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),fP=3,ow=1,lw=2,uw=4,Th=class extends cP.AbstractParserWithWordBoundaryChecking{innerPattern(){return dP}innerExtract(t,e){let n=cw.MONTH_DICTIONARY[e[fP].toLowerCase()],i=bc.parseOrdinalNumberPattern(e[ow]);if(i>31)return e.index=e.index+e[ow].length,null;let s=t.createParsingComponents({day:i,month:n});if(e[uw]){let l=dw.parseYear(e[uw]);s.assign("year",l)}else{let l=lP.findYearClosestToRef(t.refDate,i,n);s.imply("year",l)}if(!e[lw])return s;let a=bc.parseOrdinalNumberPattern(e[lw]),o=t.createParsingResult(e.index,e[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};vh.default=Th});var gw=x(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});var mw=Dn(),pP=Rt(),mP=Ke(),hw=Dn(),hP=ie(),gP=new RegExp(`(${mP.matchAnyPattern(mw.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${hw.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),yP=1,pw=2,_h=class extends hP.AbstractParserWithWordBoundaryChecking{innerPattern(){return gP}innerExtract(t,e){let n=t.createParsingComponents();n.imply("day",1);let i=e[yP],s=mw.MONTH_DICTIONARY[i.toLowerCase()];if(n.assign("month",s),e[pw]){let a=hw.parseYear(e[pw]);n.assign("year",a)}else{let a=pP.findYearClosestToRef(t.refDate,1,s);n.imply("year",a)}return n}};wh.default=_h});var yw=x(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});var bP=ie(),TP=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),vP=1,_P=2,kh=class extends bP.AbstractParserWithWordBoundaryChecking{innerPattern(){return TP}innerExtract(t,e){let n=parseInt(e[_P]),i=parseInt(e[vP]);return t.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};Sh.default=kh});var bw=x(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});var wP=_s(),Dh=class extends wP.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:om)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|om|\\?)\\s*"}primarySuffix(){return"(?:\\s*(?:uur))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}};Eh.default=Dh});var _w=x(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});var vw=Dn(),kP=Ke(),SP=ie(),DP=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${kP.matchAnyPattern(vw.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),EP=1,xP=2,Tw=3,OP=4,xh=class extends SP.AbstractParserWithWordBoundaryChecking{innerPattern(){return DP}innerExtract(t,e){let n=e[Tw]?parseInt(e[Tw]):vw.MONTH_DICTIONARY[e[xP].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(e[EP]);return{day:parseInt(e[OP]),month:n,year:i}}};Oh.default=xh});var ww=x(vl=>{"use strict";var RP=vl&&vl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(vl,"__esModule",{value:!0});var CP=ie(),Tc=ht(),Rh=Hn(),MP=RP(Ue()),AP=1,PP=2,Ch=class extends CP.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(t,e){let n=e[AP].toLowerCase(),i=e[PP].toLowerCase(),s=t.createParsingComponents(),a=MP.default(t.refDate);switch(n){case"gisteren":Rh.assignSimilarDate(s,a.add(-1,"day"));break;case"van":Rh.assignSimilarDate(s,a);break;case"morgen":Rh.assignTheNextDay(s,a);break}switch(i){case"ochtend":s.imply("meridiem",Tc.Meridiem.AM),s.imply("hour",6);break;case"middag":s.imply("meridiem",Tc.Meridiem.AM),s.imply("hour",12);break;case"namiddag":s.imply("meridiem",Tc.Meridiem.PM),s.imply("hour",15);break;case"avond":s.imply("meridiem",Tc.Meridiem.PM),s.imply("hour",20);break}return s}};vl.default=Ch});var Sw=x(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});var kw=Dn(),NP=rt(),IP=ie(),FP=Gn(),LP=new RegExp(`(deze|vorige|afgelopen|komende|over|\\+|-)\\s*(${kw.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),Mh=class extends IP.AbstractParserWithWordBoundaryChecking{innerPattern(){return LP}innerExtract(t,e){let n=e[1].toLowerCase(),i=kw.parseTimeUnits(e[2]);switch(n){case"vorige":case"afgelopen":case"-":i=FP.reverseTimeUnits(i);break}return NP.ParsingComponents.createRelativeFromReference(t.reference,i)}};Ah.default=Mh});var xw=x(_l=>{"use strict";var UP=_l&&_l.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_l,"__esModule",{value:!0});var Ew=Dn(),Dw=rt(),YP=UP(Ue()),$P=ie(),WP=Ke(),qP=new RegExp(`(dit|deze|komende|volgend|volgende|afgelopen|vorige)\\s*(${WP.matchAnyPattern(Ew.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),jP=1,HP=2,Ph=class extends $P.AbstractParserWithWordBoundaryChecking{innerPattern(){return qP}innerExtract(t,e){let n=e[jP].toLowerCase(),i=e[HP].toLowerCase(),s=Ew.TIME_UNIT_DICTIONARY[i];if(n=="volgend"||n=="volgende"||n=="komende"){let l={};return l[s]=1,Dw.ParsingComponents.createRelativeFromReference(t.reference,l)}if(n=="afgelopen"||n=="vorige"){let l={};return l[s]=-1,Dw.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=YP.default(t.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/maand/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/jaar/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};_l.default=Ph});var Ow=x(Fh=>{"use strict";Object.defineProperty(Fh,"__esModule",{value:!0});var Ih=Dn(),GP=rt(),BP=ie(),VP=Gn(),zP=new RegExp("("+Ih.TIME_UNITS_PATTERN+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),KP=new RegExp("("+Ih.TIME_UNITS_PATTERN+")geleden(?=(?:\\W|$))","i"),Nh=class extends BP.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?KP:zP}innerExtract(t,e){let n=Ih.parseTimeUnits(e[1]),i=VP.reverseTimeUnits(n);return GP.ParsingComponents.createRelativeFromReference(t.reference,i)}};Fh.default=Nh});var Rw=x(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});var Uh=Dn(),QP=rt(),ZP=ie(),XP=new RegExp("("+Uh.TIME_UNITS_PATTERN+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),JP=new RegExp("("+Uh.TIME_UNITS_PATTERN+")(later|vanaf nu)(?=(?:\\W|$))","i"),eN=1,Lh=class extends ZP.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?JP:XP}innerExtract(t,e){let n=Uh.parseTimeUnits(e[eN]);return QP.ParsingComponents.createRelativeFromReference(t.reference,n)}};Yh.default=Lh});var Pw=x(kt=>{"use strict";var Mt=kt&&kt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(kt,"__esModule",{value:!0});kt.createConfiguration=kt.createCasualConfiguration=kt.parseDate=kt.parse=kt.strict=kt.casual=void 0;var tN=ci(),Cw=Tr(),nN=Mt(Q_()),rN=Mt(Z_()),iN=Mt(X_()),sN=Mt(J_()),aN=Mt(Ss()),oN=Mt(iw()),lN=Mt(aw()),uN=Mt(fw()),Mw=Mt(gw()),cN=Mt(yw()),dN=Mt(bw()),fN=Mt(_w()),pN=Mt(ww()),mN=Mt(Sw()),hN=Mt(xw()),gN=Mt(Ow()),yN=Mt(Rw());kt.casual=new Cw.Chrono(Aw());kt.strict=new Cw.Chrono($h(!0));function bN(r,t,e){return kt.casual.parse(r,t,e)}kt.parse=bN;function TN(r,t,e){return kt.casual.parseDate(r,t,e)}kt.parseDate=TN;function Aw(r=!0){let t=$h(!1,r);return t.parsers.unshift(new iN.default),t.parsers.unshift(new sN.default),t.parsers.unshift(new pN.default),t.parsers.unshift(new Mw.default),t.parsers.unshift(new hN.default),t.parsers.unshift(new mN.default),t}kt.createCasualConfiguration=Aw;function $h(r=!0,t=!0){return tN.includeCommonConfiguration({parsers:[new aN.default(t),new oN.default,new uN.default,new Mw.default,new lN.default,new fN.default,new cN.default,new dN.default(r),new gN.default(r),new yN.default(r)],refiners:[new rN.default,new nN.default]},r)}kt.createConfiguration=$h});var Lw=x(wl=>{"use strict";var vN=wl&&wl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wl,"__esModule",{value:!0});var _N=vN(Ue()),wN=ie(),kN=1,Nw=2,SN=3,Iw=4,Fw=5,DN=6,Wh=class extends wN.AbstractParserWithWordBoundaryChecking{innerPattern(t){return new RegExp("(\u800C\u5BB6|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(t,e){let n=e.index,i=t.createParsingResult(n,e[0]),s=_N.default(t.refDate),a=s;if(e[kN])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(e[Nw]){let o=e[Nw],l=e[SN];o=="\u660E"||o=="\u807D"?s.hour()>1&&(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")),l=="\u65E9"||l=="\u671D"?i.start.imply("hour",6):l=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(e[Iw]){let l=e[Iw][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(e[Fw]){let o=e[Fw];o=="\u660E"||o=="\u807D"?s.hour()>1&&(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"));let l=e[DN];if(l){let u=l[0];u=="\u65E9"||u=="\u671D"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"||u=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};wl.default=Wh});var Aa=x(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.zhStringToYear=cn.zhStringToNumber=cn.WEEKDAY_OFFSET=cn.NUMBER=void 0;cn.NUMBER={\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};cn.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function EN(r){let t=0;for(let e=0;e<r.length;e++){let n=r[e];n==="\u5341"?t=t===0?cn.NUMBER[n]:t*cn.NUMBER[n]:t+=cn.NUMBER[n]}return t}cn.zhStringToNumber=EN;function xN(r){let t="";for(let e=0;e<r.length;e++){let n=r[e];t=t+cn.NUMBER[n]}return parseInt(t)}cn.zhStringToYear=xN});var Yw=x(kl=>{"use strict";var ON=kl&&kl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(kl,"__esModule",{value:!0});var RN=ON(Ue()),CN=ie(),xs=Aa(),qh=1,Uw=2,jh=3,Hh=class extends CN.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(xs.NUMBER).join("")+"]{4}|["+Object.keys(xs.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(xs.NUMBER).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(xs.NUMBER).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(t,e){let n=RN.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=parseInt(e[Uw]);if(isNaN(s)&&(s=xs.zhStringToNumber(e[Uw])),i.start.assign("month",s),e[jh]){let a=parseInt(e[jh]);isNaN(a)&&(a=xs.zhStringToNumber(e[jh])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(e[qh]){let a=parseInt(e[qh]);isNaN(a)&&(a=xs.zhStringToYear(e[qh])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};kl.default=Hh});var Ww=x(Sl=>{"use strict";var MN=Sl&&Sl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Sl,"__esModule",{value:!0});var AN=MN(Ue()),PN=ie(),$w=Aa(),NN=new RegExp("(\\d+|["+Object.keys($w.NUMBER).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"),Gh=1,IN=2,Bh=class extends PN.AbstractParserWithWordBoundaryChecking{innerPattern(){return NN}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=parseInt(e[Gh]);if(isNaN(i)&&(i=$w.zhStringToNumber(e[Gh])),isNaN(i)){let l=e[Gh];if(l==="\u5E7E")i=3;else if(l==="\u534A")i=.5;else return null}let s=AN.default(t.refDate),o=e[IN][0];return o.match(/[日天星禮月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u79AE"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u9418")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};Sl.default=Bh});var jw=x(Dl=>{"use strict";var FN=Dl&&Dl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Dl,"__esModule",{value:!0});var LN=FN(Ue()),UN=ie(),qw=Aa(),YN=new RegExp("(?<prefix>\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(qw.WEEKDAY_OFFSET).join("|")+")"),Vh=class extends UN.AbstractParserWithWordBoundaryChecking{innerPattern(){return YN}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=qw.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=e.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":(o=="\u4ECA"||o=="\u9019"||o=="\u5462")&&(a="this");let l=LN.default(t.refDate),u=!1,c=l.day();return a=="last"||a=="past"?(l=l.day(s-7),u=!0):a=="next"?(l=l.day(s+7),u=!0):a=="this"?l=l.day(s):Math.abs(s-7-c)<Math.abs(s-c)?l=l.day(s-7):Math.abs(s+7-c)<Math.abs(s-c)?l=l.day(s+7):l=l.day(s),n.start.assign("weekday",s),u?(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}};Dl.default=Vh});var Hw=x(El=>{"use strict";var $N=El&&El.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(El,"__esModule",{value:!0});var WN=$N(Ue()),qN=ie(),zn=Aa(),jN=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(zn.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(zn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(zn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),HN=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(zn.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(zn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(zn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),vc=1,_c=2,wc=3,kc=4,Sc=5,Dc=6,Vn=7,Pa=8,Ec=9,zh=class extends qN.AbstractParserWithWordBoundaryChecking{innerPattern(){return jN}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let n=WN.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=n.clone();if(e[vc]){var a=e[vc];a=="\u660E"||a=="\u807D"?n.hour()>1&&s.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?s.add(-1,"day"):a=="\u524D"?s.add(-2,"day"):a=="\u5927\u524D"?s.add(-3,"day"):a=="\u5F8C"?s.add(2,"day"):a=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(e[kc]){var o=e[kc];o=="\u660E"||o=="\u807D"?s.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?s.add(-1,"day"):o=="\u524D"?s.add(-2,"day"):o=="\u5927\u524D"?s.add(-3,"day"):o=="\u5F8C"?s.add(2,"day"):o=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let l=0,u=0,c=-1;if(e[Pa]){var d=parseInt(e[Pa]);if(isNaN(d)&&(d=zn.zhStringToNumber(e[Pa])),d>=60)return null;i.start.assign("second",d)}if(l=parseInt(e[Dc]),isNaN(l)&&(l=zn.zhStringToNumber(e[Dc])),e[Vn]?e[Vn]=="\u534A"?u=30:e[Vn]=="\u6B63"||e[Vn]=="\u6574"?u=0:(u=parseInt(e[Vn]),isNaN(u)&&(u=zn.zhStringToNumber(e[Vn]))):l>100&&(u=l%100,l=Math.floor(l/100)),u>=60||l>24)return null;if(l>=12&&(c=1),e[Ec]){if(l>12)return null;var f=e[Ec][0].toLowerCase();f=="a"&&(c=0,l==12&&(l=0)),f=="p"&&(c=1,l!=12&&(l+=12))}else if(e[_c]){var p=e[_c],b=p[0];b=="\u671D"||b=="\u65E9"?(c=0,l==12&&(l=0)):b=="\u665A"&&(c=1,l!=12&&(l+=12))}else if(e[wc]){var T=e[wc],v=T[0];v=="\u4E0A"||v=="\u671D"||v=="\u65E9"||v=="\u51CC"?(c=0,l==12&&(l=0)):(v=="\u4E0B"||v=="\u664F"||v=="\u665A")&&(c=1,l!=12&&(l+=12))}else if(e[Sc]){var O=e[Sc],E=O[0];E=="\u4E0A"||E=="\u671D"||E=="\u65E9"||E=="\u51CC"?(c=0,l==12&&(l=0)):(E=="\u4E0B"||E=="\u664F"||E=="\u665A")&&(c=1,l!=12&&(l+=12))}if(i.start.assign("hour",l),i.start.assign("minute",u),c>=0?i.start.assign("meridiem",c):l<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),e=HN.exec(t.text.substring(i.index+i.text.length)),!e)return i.text.match(/^\d+$/)?null:i;let P=s.clone();if(i.end=t.createParsingComponents(),e[vc]){var a=e[vc];a=="\u660E"||a=="\u807D"?n.hour()>1&&P.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?P.add(-1,"day"):a=="\u524D"?P.add(-2,"day"):a=="\u5927\u524D"?P.add(-3,"day"):a=="\u5F8C"?P.add(2,"day"):a=="\u5927\u5F8C"&&P.add(3,"day"),i.end.assign("day",P.date()),i.end.assign("month",P.month()+1),i.end.assign("year",P.year())}else if(e[kc]){var o=e[kc];o=="\u660E"||o=="\u807D"?P.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?P.add(-1,"day"):o=="\u524D"?P.add(-2,"day"):o=="\u5927\u524D"?P.add(-3,"day"):o=="\u5F8C"?P.add(2,"day"):o=="\u5927\u5F8C"&&P.add(3,"day"),i.end.assign("day",P.date()),i.end.assign("month",P.month()+1),i.end.assign("year",P.year())}else i.end.imply("day",P.date()),i.end.imply("month",P.month()+1),i.end.imply("year",P.year());if(l=0,u=0,c=-1,e[Pa]){var d=parseInt(e[Pa]);if(isNaN(d)&&(d=zn.zhStringToNumber(e[Pa])),d>=60)return null;i.end.assign("second",d)}if(l=parseInt(e[Dc]),isNaN(l)&&(l=zn.zhStringToNumber(e[Dc])),e[Vn]?e[Vn]=="\u534A"?u=30:e[Vn]=="\u6B63"||e[Vn]=="\u6574"?u=0:(u=parseInt(e[Vn]),isNaN(u)&&(u=zn.zhStringToNumber(e[Vn]))):l>100&&(u=l%100,l=Math.floor(l/100)),u>=60||l>24)return null;if(l>=12&&(c=1),e[Ec]){if(l>12)return null;var f=e[Ec][0].toLowerCase();f=="a"&&(c=0,l==12&&(l=0)),f=="p"&&(c=1,l!=12&&(l+=12)),i.start.isCertain("meridiem")||(c==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(e[_c]){var p=e[_c],b=p[0];b=="\u671D"||b=="\u65E9"?(c=0,l==12&&(l=0)):b=="\u665A"&&(c=1,l!=12&&(l+=12))}else if(e[wc]){var T=e[wc],v=T[0];v=="\u4E0A"||v=="\u671D"||v=="\u65E9"||v=="\u51CC"?(c=0,l==12&&(l=0)):(v=="\u4E0B"||v=="\u664F"||v=="\u665A")&&(c=1,l!=12&&(l+=12))}else if(e[Sc]){var O=e[Sc],E=O[0];E=="\u4E0A"||E=="\u671D"||E=="\u65E9"||E=="\u51CC"?(c=0,l==12&&(l=0)):(E=="\u4E0B"||E=="\u664F"||E=="\u665A")&&(c=1,l!=12&&(l+=12))}return i.text=i.text+e[0],i.end.assign("hour",l),i.end.assign("minute",u),c>=0?i.end.assign("meridiem",c):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}};El.default=zh});var Bw=x(xl=>{"use strict";var GN=xl&&xl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(xl,"__esModule",{value:!0});var BN=GN(Ue()),VN=ie(),Gw=Aa(),zN=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(Gw.WEEKDAY_OFFSET).join("|")+")"),Kh=class extends VN.AbstractParserWithWordBoundaryChecking{innerPattern(){return zN}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=Gw.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=BN.default(t.refDate),o=!1,l=a.day();return Math.abs(s-7-l)<Math.abs(s-l)?a=a.day(s-7):Math.abs(s+7-l)<Math.abs(s-l)?a=a.day(s+7):a=a.day(s),n.start.assign("weekday",s),o?(n.start.assign("day",a.date()),n.start.assign("month",a.month()+1),n.start.assign("year",a.year())):(n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())),n}};xl.default=Kh});var Vw=x(Ol=>{"use strict";var KN=Ol&&Ol.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ol,"__esModule",{value:!0});var QN=KN(qr()),Qh=class extends QN.default{patternBetween(){return/^\s*(至|到|\-|\~|||ー)\s*$/i}};Ol.default=Qh});var zw=x(Rl=>{"use strict";var ZN=Rl&&Rl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Rl,"__esModule",{value:!0});var XN=ZN(ui()),Zh=class extends XN.default{patternBetween(){return/^\s*$/i}};Rl.default=Zh});var Kw=x(ct=>{"use strict";var hi=ct&&ct.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ct,"__esModule",{value:!0});ct.createConfiguration=ct.createCasualConfiguration=ct.parseDate=ct.parse=ct.strict=ct.casual=ct.hant=void 0;var Xh=Tr(),JN=hi(nc()),eI=ci(),tI=hi(Lw()),nI=hi(Yw()),rI=hi(Ww()),iI=hi(jw()),sI=hi(Hw()),aI=hi(Bw()),oI=hi(Vw()),lI=hi(zw());ct.hant=new Xh.Chrono(Jh());ct.casual=new Xh.Chrono(Jh());ct.strict=new Xh.Chrono(eg());function uI(r,t,e){return ct.casual.parse(r,t,e)}ct.parse=uI;function cI(r,t,e){return ct.casual.parseDate(r,t,e)}ct.parseDate=cI;function Jh(){let r=eg();return r.parsers.unshift(new tI.default),r}ct.createCasualConfiguration=Jh;function eg(){let r=eI.includeCommonConfiguration({parsers:[new nI.default,new iI.default,new aI.default,new sI.default,new rI.default],refiners:[new oI.default,new lI.default]});return r.refiners=r.refiners.filter(t=>!(t instanceof JN.default)),r}ct.createConfiguration=eg});var Jw=x(Cl=>{"use strict";var dI=Cl&&Cl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Cl,"__esModule",{value:!0});var fI=dI(Ue()),pI=ie(),mI=1,Qw=2,hI=3,Zw=4,Xw=5,gI=6,tg=class extends pI.AbstractParserWithWordBoundaryChecking{innerPattern(t){return new RegExp("(\u73B0\u5728|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(t,e){let n=e.index,i=t.createParsingResult(n,e[0]),s=fI.default(t.refDate),a=s;if(e[mI])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(e[Qw]){let o=e[Qw],l=e[hI];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day")),l=="\u65E9"?i.start.imply("hour",6):l=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(e[Zw]){let l=e[Zw][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(e[Xw]){let o=e[Xw];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day"));let l=e[gI];if(l){let u=l[0];u=="\u65E9"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};Cl.default=tg});var Na=x(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.zhStringToYear=dn.zhStringToNumber=dn.WEEKDAY_OFFSET=dn.NUMBER=void 0;dn.NUMBER={\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};dn.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function yI(r){let t=0;for(let e=0;e<r.length;e++){let n=r[e];n==="\u5341"?t=t===0?dn.NUMBER[n]:t*dn.NUMBER[n]:t+=dn.NUMBER[n]}return t}dn.zhStringToNumber=yI;function bI(r){let t="";for(let e=0;e<r.length;e++){let n=r[e];t=t+dn.NUMBER[n]}return parseInt(t)}dn.zhStringToYear=bI});var tk=x(Ml=>{"use strict";var TI=Ml&&Ml.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ml,"__esModule",{value:!0});var vI=TI(Ue()),_I=ie(),Os=Na(),ng=1,ek=2,rg=3,ig=class extends _I.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(Os.NUMBER).join("")+"]{4}|["+Object.keys(Os.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(Os.NUMBER).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(Os.NUMBER).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(t,e){let n=vI.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=parseInt(e[ek]);if(isNaN(s)&&(s=Os.zhStringToNumber(e[ek])),i.start.assign("month",s),e[rg]){let a=parseInt(e[rg]);isNaN(a)&&(a=Os.zhStringToNumber(e[rg])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(e[ng]){let a=parseInt(e[ng]);isNaN(a)&&(a=Os.zhStringToYear(e[ng])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};Ml.default=ig});var rk=x(Al=>{"use strict";var wI=Al&&Al.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Al,"__esModule",{value:!0});var kI=wI(Ue()),SI=ie(),nk=Na(),DI=new RegExp("(\\d+|["+Object.keys(nk.NUMBER).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"),sg=1,EI=2,ag=class extends SI.AbstractParserWithWordBoundaryChecking{innerPattern(){return DI}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=parseInt(e[sg]);if(isNaN(i)&&(i=nk.zhStringToNumber(e[sg])),isNaN(i)){let l=e[sg];if(l==="\u51E0")i=3;else if(l==="\u534A")i=.5;else return null}let s=kI.default(t.refDate),o=e[EI][0];return o.match(/[日天星礼月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u793C"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u949F")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};Al.default=ag});var sk=x(Pl=>{"use strict";var xI=Pl&&Pl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Pl,"__esModule",{value:!0});var OI=xI(Ue()),RI=ie(),ik=Na(),CI=new RegExp("(?<prefix>\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(ik.WEEKDAY_OFFSET).join("|")+")"),og=class extends RI.AbstractParserWithWordBoundaryChecking{innerPattern(){return CI}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=ik.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=e.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":o=="\u8FD9"&&(a="this");let l=OI.default(t.refDate),u=!1,c=l.day();return a=="last"||a=="past"?(l=l.day(s-7),u=!0):a=="next"?(l=l.day(s+7),u=!0):a=="this"?l=l.day(s):Math.abs(s-7-c)<Math.abs(s-c)?l=l.day(s-7):Math.abs(s+7-c)<Math.abs(s-c)?l=l.day(s+7):l=l.day(s),n.start.assign("weekday",s),u?(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}};Pl.default=og});var ak=x(Nl=>{"use strict";var MI=Nl&&Nl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Nl,"__esModule",{value:!0});var AI=MI(Ue()),PI=ie(),Qn=Na(),NI=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(Qn.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Qn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Qn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),II=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(Qn.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Qn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Qn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),xc=1,Oc=2,Rc=3,Cc=4,Mc=5,Ac=6,Kn=7,Ia=8,Pc=9,lg=class extends PI.AbstractParserWithWordBoundaryChecking{innerPattern(){return NI}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let n=AI.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=n.clone();if(e[xc]){let c=e[xc];c=="\u660E"?n.hour()>1&&s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(e[Cc]){let c=e[Cc];c=="\u660E"?s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let a=0,o=0,l=-1;if(e[Ia]){let c=parseInt(e[Ia]);if(isNaN(c)&&(c=Qn.zhStringToNumber(e[Ia])),c>=60)return null;i.start.assign("second",c)}if(a=parseInt(e[Ac]),isNaN(a)&&(a=Qn.zhStringToNumber(e[Ac])),e[Kn]?e[Kn]=="\u534A"?o=30:e[Kn]=="\u6B63"||e[Kn]=="\u6574"?o=0:(o=parseInt(e[Kn]),isNaN(o)&&(o=Qn.zhStringToNumber(e[Kn]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(l=1),e[Pc]){if(a>12)return null;let c=e[Pc][0].toLowerCase();c=="a"&&(l=0,a==12&&(a=0)),c=="p"&&(l=1,a!=12&&(a+=12))}else if(e[Oc]){let d=e[Oc][0];d=="\u65E9"?(l=0,a==12&&(a=0)):d=="\u665A"&&(l=1,a!=12&&(a+=12))}else if(e[Rc]){let d=e[Rc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}else if(e[Mc]){let d=e[Mc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}if(i.start.assign("hour",a),i.start.assign("minute",o),l>=0?i.start.assign("meridiem",l):a<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),e=II.exec(t.text.substring(i.index+i.text.length)),!e)return i.text.match(/^\d+$/)?null:i;let u=s.clone();if(i.end=t.createParsingComponents(),e[xc]){let c=e[xc];c=="\u660E"?n.hour()>1&&u.add(1,"day"):c=="\u6628"?u.add(-1,"day"):c=="\u524D"?u.add(-2,"day"):c=="\u5927\u524D"?u.add(-3,"day"):c=="\u540E"?u.add(2,"day"):c=="\u5927\u540E"&&u.add(3,"day"),i.end.assign("day",u.date()),i.end.assign("month",u.month()+1),i.end.assign("year",u.year())}else if(e[Cc]){let c=e[Cc];c=="\u660E"?u.add(1,"day"):c=="\u6628"?u.add(-1,"day"):c=="\u524D"?u.add(-2,"day"):c=="\u5927\u524D"?u.add(-3,"day"):c=="\u540E"?u.add(2,"day"):c=="\u5927\u540E"&&u.add(3,"day"),i.end.assign("day",u.date()),i.end.assign("month",u.month()+1),i.end.assign("year",u.year())}else i.end.imply("day",u.date()),i.end.imply("month",u.month()+1),i.end.imply("year",u.year());if(a=0,o=0,l=-1,e[Ia]){let c=parseInt(e[Ia]);if(isNaN(c)&&(c=Qn.zhStringToNumber(e[Ia])),c>=60)return null;i.end.assign("second",c)}if(a=parseInt(e[Ac]),isNaN(a)&&(a=Qn.zhStringToNumber(e[Ac])),e[Kn]?e[Kn]=="\u534A"?o=30:e[Kn]=="\u6B63"||e[Kn]=="\u6574"?o=0:(o=parseInt(e[Kn]),isNaN(o)&&(o=Qn.zhStringToNumber(e[Kn]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(l=1),e[Pc]){if(a>12)return null;let c=e[Pc][0].toLowerCase();c=="a"&&(l=0,a==12&&(a=0)),c=="p"&&(l=1,a!=12&&(a+=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(e[Oc]){let d=e[Oc][0];d=="\u65E9"?(l=0,a==12&&(a=0)):d=="\u665A"&&(l=1,a!=12&&(a+=12))}else if(e[Rc]){let d=e[Rc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}else if(e[Mc]){let d=e[Mc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}return i.text=i.text+e[0],i.end.assign("hour",a),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")>a?i.end.imply("meridiem",0):a>12&&i.end.imply("meridiem",1),i.end.date().getTime()<i.start.date().getTime()&&i.end.imply("day",i.end.get("day")+1),i}};Nl.default=lg});var lk=x(Il=>{"use strict";var FI=Il&&Il.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Il,"__esModule",{value:!0});var LI=FI(Ue()),UI=ie(),ok=Na(),YI=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(ok.WEEKDAY_OFFSET).join("|")+")"),ug=class extends UI.AbstractParserWithWordBoundaryChecking{innerPattern(){return YI}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=ok.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=LI.default(t.refDate),o=!1,l=a.day();return Math.abs(s-7-l)<Math.abs(s-l)?a=a.day(s-7):Math.abs(s+7-l)<Math.abs(s-l)?a=a.day(s+7):a=a.day(s),n.start.assign("weekday",s),o?(n.start.assign("day",a.date()),n.start.assign("month",a.month()+1),n.start.assign("year",a.year())):(n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())),n}};Il.default=ug});var uk=x(Fl=>{"use strict";var $I=Fl&&Fl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Fl,"__esModule",{value:!0});var WI=$I(qr()),cg=class extends WI.default{patternBetween(){return/^\s*(至|到|-|~|||ー)\s*$/i}};Fl.default=cg});var ck=x(Ll=>{"use strict";var qI=Ll&&Ll.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ll,"__esModule",{value:!0});var jI=qI(ui()),dg=class extends jI.default{patternBetween(){return/^\s*$/i}};Ll.default=dg});var dk=x(dt=>{"use strict";var gi=dt&&dt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(dt,"__esModule",{value:!0});dt.createConfiguration=dt.createCasualConfiguration=dt.parseDate=dt.parse=dt.strict=dt.casual=dt.hans=void 0;var fg=Tr(),HI=gi(nc()),GI=ci(),BI=gi(Jw()),VI=gi(tk()),zI=gi(rk()),KI=gi(sk()),QI=gi(ak()),ZI=gi(lk()),XI=gi(uk()),JI=gi(ck());dt.hans=new fg.Chrono(pg());dt.casual=new fg.Chrono(pg());dt.strict=new fg.Chrono(mg());function eF(r,t,e){return dt.casual.parse(r,t,e)}dt.parse=eF;function tF(r,t,e){return dt.casual.parseDate(r,t,e)}dt.parseDate=tF;function pg(){let r=mg();return r.parsers.unshift(new BI.default),r}dt.createCasualConfiguration=pg;function mg(){let r=GI.includeCommonConfiguration({parsers:[new VI.default,new KI.default,new ZI.default,new QI.default,new zI.default],refiners:[new XI.default,new JI.default]});return r.refiners=r.refiners.filter(t=>!(t instanceof HI.default)),r}dt.createConfiguration=mg});var pk=x(En=>{"use strict";var fk=En&&En.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),nF=En&&En.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),rF=En&&En.__exportStar||function(r,t){for(var e in r)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&fk(t,r,e)},iF=En&&En.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&fk(t,r,e);return nF(t,r),t};Object.defineProperty(En,"__esModule",{value:!0});En.hans=void 0;rF(Kw(),En);En.hans=iF(dk())});var fn=x(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.parseTimeUnits=De.TIME_UNITS_PATTERN=De.parseYear=De.YEAR_PATTERN=De.parseOrdinalNumberPattern=De.ORDINAL_NUMBER_PATTERN=De.parseNumberPattern=De.NUMBER_PATTERN=De.TIME_UNIT_DICTIONARY=De.ORDINAL_WORD_DICTIONARY=De.INTEGER_WORD_DICTIONARY=De.MONTH_DICTIONARY=De.FULL_MONTH_NAME_DICTIONARY=De.WEEKDAY_DICTIONARY=De.REGEX_PARTS=void 0;var Nc=Ke(),sF=Rt();De.REGEX_PARTS={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"};De.WEEKDAY_DICTIONARY={\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};De.FULL_MONTH_NAME_DICTIONARY={\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\u044F\u043B\u044C:2,\u0444\u0435\u0432\u0440\u044F\u043B\u044F:2,\u0444\u0435\u0432\u0440\u044F\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};De.MONTH_DICTIONARY=Object.assign(Object.assign({},De.FULL_MONTH_NAME_DICTIONARY),{\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});De.INTEGER_WORD_DICTIONARY={\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\u0435\u043C\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};De.ORDINAL_WORD_DICTIONARY={\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};De.TIME_UNIT_DICTIONARY={\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",\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"};De.NUMBER_PATTERN=`(?:${Nc.matchAnyPattern(De.INTEGER_WORD_DICTIONARY)}|[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})`;function hk(r){let t=r.toLowerCase();return De.INTEGER_WORD_DICTIONARY[t]!==void 0?De.INTEGER_WORD_DICTIONARY[t]:t.match(/несколько/)?3:t.match(/пол/)?.5:t.match(/пар/)?2:t===""?1:parseFloat(t)}De.parseNumberPattern=hk;De.ORDINAL_NUMBER_PATTERN=`(?:${Nc.matchAnyPattern(De.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;function aF(r){let t=r.toLowerCase();return De.ORDINAL_WORD_DICTIONARY[t]!==void 0?De.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:st|nd|rd|th)$/i,""),parseInt(t))}De.parseOrdinalNumberPattern=aF;var hg="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?";De.YEAR_PATTERN=`(?:[1-9][0-9]{0,3}${hg}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${hg}|[5-9][0-9]${hg})`;function oF(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 t=parseInt(r);return sF.findMostLikelyADYear(t)}De.parseYear=oF;var gk=`(${De.NUMBER_PATTERN})\\s{0,3}(${Nc.matchAnyPattern(De.TIME_UNIT_DICTIONARY)})`,mk=new RegExp(gk,"i");De.TIME_UNITS_PATTERN=Nc.repeatedTimeunitPattern("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",gk);function lF(r){let t={},e=r,n=mk.exec(e);for(;n;)uF(t,n),e=e.substring(n[0].length).trim(),n=mk.exec(e);return t}De.parseTimeUnits=lF;function uF(r,t){let e=hk(t[1]),n=De.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var bk=x(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});var Ul=fn(),cF=rt(),dF=ie(),yk=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${Ul.TIME_UNITS_PATTERN})${Ul.REGEX_PARTS.rightBoundary}`,fF=new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${yk}`,Ul.REGEX_PARTS.flags),pF=new RegExp(yk,"i"),gg=class extends dF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Ul.REGEX_PARTS.leftBoundary}innerPattern(t){return t.option.forwardDate?pF:fF}innerExtract(t,e){let n=Ul.parseTimeUnits(e[1]);return cF.ParsingComponents.createRelativeFromReference(t.reference,n)}};yg.default=gg});var kk=x(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});var mF=Rt(),Yl=fn(),wk=fn(),Ic=fn(),hF=Ke(),gF=ie(),yF=new RegExp(`(?:\u0441)?\\s*(${Ic.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${Ic.ORDINAL_NUMBER_PATTERN}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${hF.matchAnyPattern(Yl.MONTH_DICTIONARY)})(?:(?:-|\\/|,?\\s{0,3})(${wk.YEAR_PATTERN}(?![^\\s]\\d)))?${Yl.REGEX_PARTS.rightBoundary}`,Yl.REGEX_PARTS.flags),Tk=1,vk=2,bF=3,_k=4,bg=class extends gF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Yl.REGEX_PARTS.leftBoundary}innerPattern(){return yF}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=Yl.MONTH_DICTIONARY[e[bF].toLowerCase()],s=Ic.parseOrdinalNumberPattern(e[Tk]);if(s>31)return e.index=e.index+e[Tk].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[_k]){let a=wk.parseYear(e[_k]);n.start.assign("year",a)}else{let a=mF.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[vk]){let a=Ic.parseOrdinalNumberPattern(e[vk]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Tg.default=bg});var Ek=x(_g=>{"use strict";Object.defineProperty(_g,"__esModule",{value:!0});var $l=fn(),TF=Rt(),vF=Ke(),Dk=fn(),_F=ie(),wF=new RegExp(`((?:\u0432)\\s*)?(${vF.matchAnyPattern($l.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${Dk.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,$l.REGEX_PARTS.flags),kF=2,Sk=3,vg=class extends _F.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return $l.REGEX_PARTS.leftBoundary}innerPattern(){return wF}innerExtract(t,e){let n=e[kF].toLowerCase();if(e[0].length<=3&&!$l.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=t.createParsingResult(e.index,e.index+e[0].length);i.start.imply("day",1);let s=$l.MONTH_DICTIONARY[n];if(i.start.assign("month",s),e[Sk]){let a=Dk.parseYear(e[Sk]);i.start.assign("year",a)}else{let a=TF.findYearClosestToRef(t.refDate,1,s);i.start.imply("year",a)}return i}};_g.default=vg});var Ok=x(kg=>{"use strict";Object.defineProperty(kg,"__esModule",{value:!0});var Fc=ht(),SF=_s(),xk=fn(),wg=class extends SF.AbstractTimeExpressionParser{constructor(t){super(t)}patternFlags(){return xk.REGEX_PARTS.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))?(?!\\/)${xk.REGEX_PARTS.rightBoundary}`}extractPrimaryTimeComponents(t,e){let n=super.extractPrimaryTimeComponents(t,e);if(n){if(e[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",Fc.Meridiem.PM)):i<6&&n.assign("meridiem",Fc.Meridiem.AM)}if(e[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){n.assign("meridiem",Fc.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}e[0].endsWith("\u0443\u0442\u0440\u0430")&&(n.assign("meridiem",Fc.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};kg.default=wg});var Rk=x(Dg=>{"use strict";Object.defineProperty(Dg,"__esModule",{value:!0});var Lc=fn(),DF=rt(),EF=ie(),xF=Gn(),OF=new RegExp(`(${Lc.TIME_UNITS_PATTERN})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`,Lc.REGEX_PARTS.flags),Sg=class extends EF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Lc.REGEX_PARTS.leftBoundary}innerPattern(){return OF}innerExtract(t,e){let n=Lc.parseTimeUnits(e[1]),i=xF.reverseTimeUnits(n);return DF.ParsingComponents.createRelativeFromReference(t.reference,i)}};Dg.default=Sg});var Ck=x(Wl=>{"use strict";var RF=Wl&&Wl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wl,"__esModule",{value:!0});var CF=RF(qr()),Eg=class extends CF.default{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}};Wl.default=Eg});var Mk=x(ql=>{"use strict";var MF=ql&&ql.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ql,"__esModule",{value:!0});var AF=MF(ui()),xg=class extends AF.default{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}};ql.default=xg});var Ak=x(yi=>{"use strict";var PF=yi&&yi.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),NF=yi&&yi.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),IF=yi&&yi.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&PF(t,r,e);return NF(t,r),t};Object.defineProperty(yi,"__esModule",{value:!0});var FF=ie(),jl=IF(fi()),Og=fn(),LF=new RegExp(`(?:\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\u0437\u0430\u0432\u0447\u0435\u0440\u0430)${Og.REGEX_PARTS.rightBoundary}`,Og.REGEX_PARTS.flags),Rg=class extends FF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Og.REGEX_PARTS.leftBoundary}innerPattern(t){return LF}innerExtract(t,e){let n=e[1].toLowerCase(),i=t.createParsingComponents();switch(n){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return jl.today(t.reference);case"\u0432\u0447\u0435\u0440\u0430":return jl.yesterday(t.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return jl.tomorrow(t.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return jl.theDayAfter(t.reference,2);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return jl.theDayBefore(t.reference,2)}return i}};yi.default=Rg});var Pk=x(Sr=>{"use strict";var UF=Sr&&Sr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),YF=Sr&&Sr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),$F=Sr&&Sr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&UF(t,r,e);return YF(t,r),t},WF=Sr&&Sr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Sr,"__esModule",{value:!0});var qF=ie(),Rs=$F(fi()),jF=Hn(),HF=WF(Ue()),Cg=fn(),GF=new RegExp(`(\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)${Cg.REGEX_PARTS.rightBoundary}`,Cg.REGEX_PARTS.flags),Mg=class extends qF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Cg.REGEX_PARTS.leftBoundary}innerPattern(){return GF}innerExtract(t,e){let n=HF.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();if(i==="\u0441\u0435\u0439\u0447\u0430\u0441")return Rs.now(t.reference);if(i==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||i==="\u0432\u0435\u0447\u0435\u0440\u0430")return Rs.evening(t.reference);if(i.endsWith("\u0443\u0442\u0440\u043E\u043C")||i.endsWith("\u0443\u0442\u0440\u0430"))return Rs.morning(t.reference);if(i.match(/в\s*полдень/))return Rs.noon(t.reference);if(i.match(/прошлой\s*ночью/))return Rs.lastNight(t.reference);if(i.match(/прошлым\s*вечером/))return Rs.yesterdayEvening(t.reference);if(i.match(/следующей\s*ночью/)){let a=n.hour()<22?1:2;n=n.add(a,"day"),jF.assignSimilarDate(s,n),s.imply("hour",0)}return i.match(/в\s*полночь/)||i.endsWith("\u043D\u043E\u0447\u044C\u044E")?Rs.midnight(t.reference):s}};Sr.default=Mg});var Nk=x(Pg=>{"use strict";Object.defineProperty(Pg,"__esModule",{value:!0});var Hl=fn(),BF=Ke(),VF=ie(),zF=ks(),KF=new RegExp(`(?:(?:,|\\(|\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*)?(${BF.matchAnyPattern(Hl.WEEKDAY_DICTIONARY)})(?:\\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)?${Hl.REGEX_PARTS.rightBoundary}`,Hl.REGEX_PARTS.flags),QF=1,ZF=2,XF=3,Ag=class extends VF.AbstractParserWithWordBoundaryChecking{innerPattern(){return KF}patternLeftBoundary(){return Hl.REGEX_PARTS.leftBoundary}innerExtract(t,e){let n=e[ZF].toLowerCase(),i=Hl.WEEKDAY_DICTIONARY[n],s=e[QF],a=e[XF],o=s||a;o=o||"",o=o.toLowerCase();let l=null;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");let u=zF.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Pg.default=Ag});var Fk=x(Bl=>{"use strict";var JF=Bl&&Bl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Bl,"__esModule",{value:!0});var Gl=fn(),Ik=rt(),eL=JF(Ue()),tL=ie(),nL=Ke(),rL=new RegExp(`(\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*(${nL.matchAnyPattern(Gl.TIME_UNIT_DICTIONARY)})(?=\\s*)${Gl.REGEX_PARTS.rightBoundary}`,Gl.REGEX_PARTS.flags),iL=1,sL=2,Ng=class extends tL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Gl.REGEX_PARTS.leftBoundary}innerPattern(){return rL}innerExtract(t,e){let n=e[iL].toLowerCase(),i=e[sL].toLowerCase(),s=Gl.TIME_UNIT_DICTIONARY[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[s]=1,Ik.ParsingComponents.createRelativeFromReference(t.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[s]=-1,Ik.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=eL.default(t.reference.instant);return s.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):s.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):s.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};Bl.default=Ng});var Lk=x(Fg=>{"use strict";Object.defineProperty(Fg,"__esModule",{value:!0});var Vl=fn(),aL=rt(),oL=ie(),lL=Gn(),uL=new RegExp(`(\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|\u0447\u0435\u0440\u0435\u0437|\\+|-)\\s*(${Vl.TIME_UNITS_PATTERN})${Vl.REGEX_PARTS.rightBoundary}`,Vl.REGEX_PARTS.flags),Ig=class extends oL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Vl.REGEX_PARTS.leftBoundary}innerPattern(){return uL}innerExtract(t,e){let n=e[1].toLowerCase(),i=Vl.parseTimeUnits(e[2]);switch(n){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":i=lL.reverseTimeUnits(i);break}return aL.ParsingComponents.createRelativeFromReference(t.reference,i)}};Fg.default=Ig});var $k=x(St=>{"use strict";var xn=St&&St.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(St,"__esModule",{value:!0});St.createConfiguration=St.createCasualConfiguration=St.parseDate=St.parse=St.strict=St.casual=void 0;var cL=xn(bk()),dL=xn(kk()),fL=xn(Ek()),pL=xn(Ok()),mL=xn(Rk()),hL=xn(Ck()),gL=xn(Mk()),yL=ci(),bL=xn(Ak()),TL=xn(Pk()),vL=xn(Nk()),_L=xn(Fk()),Uk=Tr(),wL=xn(Ss()),kL=xn(Lk());St.casual=new Uk.Chrono(Yk());St.strict=new Uk.Chrono(Lg(!0));function SL(r,t,e){return St.casual.parse(r,t,e)}St.parse=SL;function DL(r,t,e){return St.casual.parseDate(r,t,e)}St.parseDate=DL;function Yk(){let r=Lg(!1);return r.parsers.unshift(new bL.default),r.parsers.unshift(new TL.default),r.parsers.unshift(new fL.default),r.parsers.unshift(new _L.default),r.parsers.unshift(new kL.default),r}St.createCasualConfiguration=Yk;function Lg(r=!0){return yL.includeCommonConfiguration({parsers:[new wL.default(!0),new cL.default,new dL.default,new vL.default,new pL.default(r),new mL.default],refiners:[new gL.default,new hL.default]},r)}St.createConfiguration=Lg});var ht=x(Me=>{"use strict";var EL=Me&&Me.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),xL=Me&&Me.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),Hi=Me&&Me.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&EL(t,r,e);return xL(t,r),t};Object.defineProperty(Me,"__esModule",{value:!0});Me.parseDate=Me.parse=Me.casual=Me.strict=Me.ru=Me.zh=Me.nl=Me.pt=Me.ja=Me.fr=Me.de=Me.Meridiem=Me.Chrono=Me.en=void 0;var Ug=Hi(tm());Me.en=Ug;var OL=Tr();Object.defineProperty(Me,"Chrono",{enumerable:!0,get:function(){return OL.Chrono}});var RL;(function(r){r[r.AM=0]="AM",r[r.PM=1]="PM"})(RL=Me.Meridiem||(Me.Meridiem={}));var CL=Hi(Kv());Me.de=CL;var ML=Hi(S_());Me.fr=ML;var AL=Hi(P_());Me.ja=AL;var PL=Hi(K_());Me.pt=PL;var NL=Hi(Pw());Me.nl=NL;var IL=Hi(pk());Me.zh=IL;var FL=Hi($k());Me.ru=FL;Me.strict=Ug.strict;Me.casual=Ug.casual;function LL(r,t,e){return Me.casual.parse(r,t,e)}Me.parse=LL;function UL(r,t,e){return Me.casual.parseDate(r,t,e)}Me.parseDate=UL});var nn,Yg=Z(()=>{"use strict";nn=class{constructor(t,e){this.start=t,this.end=e,e.isBefore(t)&&(this.start=e,this.end=t),this.start=this.start.startOf("day"),this.end=this.end.startOf("day")}static buildRelative(t){let e=t==="week"?"isoWeek":t;return new nn(window.moment().startOf(e).startOf("day"),window.moment().endOf(e).startOf("day"))}static buildInvalid(){return new nn(window.moment.invalid(),window.moment.invalid())}isValid(){return this.start.isValid()&&this.end.isValid()}moveToPrevious(t){let e=window.moment.duration(1,t);this.start.subtract(e),this.end.subtract(e),(t==="month"||t==="quarter")&&(this.end=this.end.endOf(t).startOf("day"))}moveToNext(t){let e=window.moment.duration(1,t);this.start.add(e),this.end.add(e),(t==="month"||t==="quarter")&&(this.end=this.end.endOf(t).startOf("day"))}}});var Uc,On,$g=Z(()=>{"use strict";Uc=Go(ht());Yg();On=class{static parseDate(t,e=!1){return window.moment(Uc.parseDate(t,void 0,{forwardDate:e})).startOf("day")}static parseDateRange(t,e=!1){let n=[On.parseRelativeDateRange,On.parseNumberedDateRange,On.parseAbsoluteDateRange];for(let i of n){let s=i(t,e);if(s.isValid())return s}return nn.buildInvalid()}static parseAbsoluteDateRange(t,e){let n=Uc.parse(t,void 0,{forwardDate:e});if(n.length===0)return nn.buildInvalid();let i=n[0].start,s=n[1]&&n[1].start?n[1].start:i,a=window.moment(i.date()),o=window.moment(s.date());return new nn(a,o)}static parseRelativeDateRange(t,e){let n=/(last|this|next) (week|month|quarter|year)/,i=t.match(n);if(i&&i.length===3){let s=i[1],a=i[2],o=nn.buildRelative(a);switch(s){case"last":o.moveToPrevious(a);break;case"next":o.moveToNext(a);break}return o}return nn.buildInvalid()}static parseNumberedDateRange(t,e){let n=[[/^\s*[0-9]{4}\s*$/,"YYYY","year"],[/^\s*[0-9]{4}-Q[1-4]\s*$/,"YYYY-Q","quarter"],[/^\s*[0-9]{4}-[0-9]{2}\s*$/,"YYYY-MM","month"],[/^\s*[0-9]{4}-W[0-9]{2}\s*$/,"YYYY-WW","isoWeek"]];for(let[i,s,a]of n){let o=t.match(i);if(o){let l=o[0].trim();return new nn(window.moment(l,s).startOf(a),window.moment(l,s).endOf(a))}}return nn.buildInvalid()}}});function Yc(r){for(let[t,e]of Object.entries(YL))r=r.replace(RegExp(`\\b${t}\\s`,"i"),e);return r}var YL,Wg=Z(()=>{"use strict";YL={td:"today",tm:"tomorrow",yd:"yesterday",tw:"this week",nw:"next week",weekend:"sat",we:"sat"}});function Zn(r,t){return r!==null&&t===null?-1:r===null&&t!==null?1:r!==null&&t!==null?r.isValid()&&!t.isValid()?1:!r.isValid()&&t.isValid()?-1:r.isAfter(t)?1:r.isBefore(t)?-1:0:0}function $L(r,t,e=void 0){if(!t)return`<i>no ${r} date</i>`;let n=qg.parseDate(t,e,{forwardDate:e!=null});return n!==null?window.moment(n).format("YYYY-MM-DD"):`<i>invalid ${r} date</i>`}function Wk(r,t,e){return $L(r,t,e?new Date:void 0)}function Cs(r,t){let e=null,n=qg.parseDate(r,new Date,{forwardDate:t});return n!==null&&(e=window.moment(n)),e}var qg,Ms=Z(()=>{"use strict";qg=Go(ht())});var Xn,$c=Z(()=>{"use strict";Ms();Xn=class{constructor({startDate:t=null,scheduledDate:e=null,dueDate:n=null}){this.startDate=t!=null?t:null,this.scheduledDate=e!=null?e:null,this.dueDate=n!=null?n:null,this.referenceDate=this.getReferenceDate()}getReferenceDate(){return this.dueDate?window.moment(this.dueDate):this.scheduledDate?window.moment(this.scheduledDate):this.startDate?window.moment(this.startDate):null}isIdenticalTo(t){return!(Zn(this.startDate,t.startDate)!==0||Zn(this.scheduledDate,t.scheduledDate)!==0||Zn(this.dueDate,t.dueDate)!==0)}next(t,e=!1){if(this.referenceDate===null)return new Xn({startDate:null,scheduledDate:null,dueDate:null});let n=this.startDate!==null,i=this.dueDate!==null,a=e&&(n||i),o=this.nextOccurrenceDate(this.startDate,t),l=a?null:this.nextOccurrenceDate(this.scheduledDate,t),u=this.nextOccurrenceDate(this.dueDate,t);return new Xn({startDate:o,scheduledDate:l,dueDate:u})}nextOccurrenceDate(t,e){if(t===null)return null;let n=window.moment.duration(t.diff(this.referenceDate)),i=window.moment(e);return i.add(Math.round(n.asDays()),"days"),i}}});var zl,ft,As=Z(()=>{zl=["MO","TU","WE","TH","FR","SA","SU"],ft=function(){function r(t,e){if(e===0)throw new Error("Can't create weekday with n == 0");this.weekday=t,this.n=e}return r.fromStr=function(t){return new r(zl.indexOf(t))},r.prototype.nth=function(t){return this.n===t?this:new r(this.weekday,t)},r.prototype.equals=function(t){return this.weekday===t.weekday&&this.n===t.n},r.prototype.toString=function(){var t=zl[this.weekday];return this.n&&(t=(this.n>0?"+":"")+String(this.n)+t),t},r.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},r}()});function Ps(r,t,e){e===void 0&&(e=" ");var n=String(r);return t=t>>0,n.length>t?String(n):(t=t-n.length,t>e.length&&(e+=Ie(e,t/e.length)),e.slice(0,t)+String(n))}var Je,Rn,jg,At,Jn,Ie,qk,jk,qt,Wc,Cn,at,Fe,rn=Z(()=>{As();Je=function(r){return r!=null},Rn=function(r){return typeof r=="number"},jg=function(r){return typeof r=="string"&&zl.includes(r)},At=Array.isArray,Jn=function(r,t){t===void 0&&(t=r),arguments.length===1&&(t=r,r=0);for(var e=[],n=r;n<t;n++)e.push(n);return e},Ie=function(r,t){var e=0,n=[];if(At(r))for(;e<t;e++)n[e]=[].concat(r);else for(;e<t;e++)n[e]=r;return n},qk=function(r){return At(r)?r:[r]};jk=function(r,t,e){var n=r.split(t);return e?n.slice(0,e).concat([n.slice(e).join(t)]):n},qt=function(r,t){var e=r%t;return e*t<0?e+t:e},Wc=function(r,t){return{div:Math.floor(r/t),mod:qt(r,t)}},Cn=function(r){return!Je(r)||r.length===0},at=function(r){return!Cn(r)},Fe=function(r,t){return at(r)&&r.indexOf(t)!==-1}});var Gr,WL,Gk,qc,Bk,qL,Fa,Hg,Ns,jL,Kl,jc,HL,bi,Gg,Hc,Gc,Bg,Ti,La,Ql,Hk,Vk,jt=Z(()=>{rn();Gr=function(r,t,e,n,i,s){return n===void 0&&(n=0),i===void 0&&(i=0),s===void 0&&(s=0),new Date(Date.UTC(r,t-1,e,n,i,s))},WL=[31,28,31,30,31,30,31,31,30,31,30,31],Gk=1e3*60*60*24,qc=9999,Bk=Gr(1970,1,1),qL=[6,0,1,2,3,4,5],Fa=function(r){return r%4===0&&r%100!==0||r%400===0},Hg=function(r){return r instanceof Date},Ns=function(r){return Hg(r)&&!isNaN(r.getTime())},jL=function(r,t){var e=r.getTime(),n=t.getTime(),i=e-n;return Math.round(i/Gk)},Kl=function(r){return jL(r,Bk)},jc=function(r){return new Date(Bk.getTime()+r*Gk)},HL=function(r){var t=r.getUTCMonth();return t===1&&Fa(r.getUTCFullYear())?29:WL[t]},bi=function(r){return qL[r.getUTCDay()]},Gg=function(r,t){var e=Gr(r,t+1,1);return[bi(e),HL(e)]},Hc=function(r,t){return t=t||r,new Date(Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},Gc=function(r){var t=new Date(r.getTime());return t},Bg=function(r){for(var t=[],e=0;e<r.length;e++)t.push(Gc(r[e]));return t},Ti=function(r){r.sort(function(t,e){return t.getTime()-e.getTime()})},La=function(r,t){t===void 0&&(t=!0);var e=new Date(r);return[Ps(e.getUTCFullYear().toString(),4,"0"),Ps(e.getUTCMonth()+1,2,"0"),Ps(e.getUTCDate(),2,"0"),"T",Ps(e.getUTCHours(),2,"0"),Ps(e.getUTCMinutes(),2,"0"),Ps(e.getUTCSeconds(),2,"0"),t?"Z":""].join("")},Ql=function(r){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/,e=t.exec(r);if(!e)throw new Error("Invalid UNTIL value: ".concat(r));return new Date(Date.UTC(parseInt(e[1],10),parseInt(e[2],10)-1,parseInt(e[3],10),parseInt(e[5],10)||0,parseInt(e[6],10)||0,parseInt(e[7],10)||0))},Hk=function(r,t){var e=r.toLocaleString("sv-SE",{timeZone:t});return e.replace(" ","T")+"Z"},Vk=function(r,t){var e=Intl.DateTimeFormat().resolvedOptions().timeZone,n=new Date(Hk(r,e)),i=new Date(Hk(r,t!=null?t:"UTC")),s=i.getTime()-n.getTime();return new Date(r.getTime()-s)}});var GL,vi,Bc=Z(()=>{GL=function(){function r(t,e){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=t,this.args=e,t==="between"?(this.maxDate=e.inc?e.before:new Date(e.before.getTime()-1),this.minDate=e.inc?e.after:new Date(e.after.getTime()+1)):t==="before"?this.maxDate=e.inc?e.dt:new Date(e.dt.getTime()-1):t==="after"&&(this.minDate=e.inc?e.dt:new Date(e.dt.getTime()+1))}return r.prototype.accept=function(t){++this.total;var e=this.minDate&&t<this.minDate,n=this.maxDate&&t>this.maxDate;if(this.method==="between"){if(e)return!0;if(n)return!1}else if(this.method==="before"){if(n)return!1}else if(this.method==="after")return e?!0:(this.add(t),!1);return this.add(t)},r.prototype.add=function(t){return this._result.push(t),!0},r.prototype.getValue=function(){var t=this._result;switch(this.method){case"all":case"between":return t;case"before":case"after":default:return t.length?t[t.length-1]:null}},r.prototype.clone=function(){return new r(this.method,this.args)},r}(),vi=GL});function Ua(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Vg(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function zk(r,t,e,n){function i(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function o(c){try{u(n.next(c))}catch(d){a(d)}}function l(c){try{u(n.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((n=n.apply(r,t||[])).next())})}function Q(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))}var Vg,Pt,Br=Z(()=>{Vg=function(r,t){return Vg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Vg(r,t)};Pt=function(){return Pt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Pt.apply(this,arguments)}});var BL,zg,Kk=Z(()=>{Br();Bc();BL=function(r){Ua(t,r);function t(e,n,i){var s=r.call(this,e,n)||this;return s.iterator=i,s}return t.prototype.add=function(e){return this.iterator(e,this._result.length)?(this._result.push(e),!0):!1},t}(vi),zg=BL});var VL,Is,Vc=Z(()=>{VL={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}},Is=VL});var Qk,zL,KL,QL,Vr,Zk=Z(()=>{Vc();er();rn();Qk=function(r,t){return r.indexOf(t)!==-1},zL=function(r){return r.toString()},KL=function(r,t,e){return"".concat(t," ").concat(e,", ").concat(r)},QL=function(){function r(t,e,n,i){if(e===void 0&&(e=zL),n===void 0&&(n=Is),i===void 0&&(i=KL),this.text=[],this.language=n||Is,this.gettext=e,this.dateFormatter=i,this.rrule=t,this.options=t.options,this.origOptions=t.origOptions,this.origOptions.bymonthday){var s=[].concat(this.options.bymonthday),a=[].concat(this.options.bynmonthday);s.sort(function(c,d){return c-d}),a.sort(function(c,d){return d-c}),this.bymonthday=s.concat(a),this.bymonthday.length||(this.bymonthday=null)}if(Je(this.origOptions.byweekday)){var o=At(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],l=String(o);this.byweekday={allWeeks:o.filter(function(c){return!c.n}),someWeeks:o.filter(function(c){return Boolean(c.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 u=function(c,d){return c.weekday-d.weekday};this.byweekday.allWeeks.sort(u),this.byweekday.someWeeks.sort(u),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return r.isFullyConvertible=function(t){var e=!0;if(!(t.options.freq in r.IMPLEMENTED)||t.origOptions.until&&t.origOptions.count)return!1;for(var n in t.origOptions){if(Qk(["dtstart","tzid","wkst","freq"],n))return!0;if(!Qk(r.IMPLEMENTED[t.options.freq],n))return!1}return e},r.prototype.isFullyConvertible=function(){return r.isFullyConvertible(this.rrule)},r.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in r.IMPLEMENTED))return t("RRule error: Unable to fully convert this rrule to text");if(this.text=[t("every")],this[oe.FREQUENCIES[this.options.freq]](),this.options.until){this.add(t("until"));var e=this.options.until;this.add(this.dateFormatter(e.getUTCFullYear(),this.language.monthNames[e.getUTCMonth()],e.getUTCDate()))}else this.options.count&&this.add(t("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?t("times"):t("time"));return this.isFullyConvertible()||this.add(t("(~ approximate)")),this.text.join("")},r.prototype.HOURLY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("hours"):t("hour"))},r.prototype.MINUTELY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("minutes"):t("minute"))},r.prototype.DAILY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?t("weekdays"):t("weekday")):this.add(this.plural(this.options.interval)?t("days"):t("day")),this.origOptions.bymonth&&(this.add(t("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},r.prototype.WEEKLY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?t("weeks"):t("week")),this.byweekday&&this.byweekday.isWeekdays?this.options.interval===1?this.add(this.plural(this.options.interval)?t("weekdays"):t("weekday")):this.add(t("on")).add(t("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?t("days"):t("day")):(this.options.interval===1&&this.add(t("week")),this.origOptions.bymonth&&(this.add(t("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},r.prototype.MONTHLY=function(){var t=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()).add(t("months")),this.plural(this.options.interval)&&this.add(t("in"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("months"):t("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(t("on")).add(t("weekdays")):this.byweekday&&this._byweekday()},r.prototype.YEARLY=function(){var t=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()),this.add(t("years"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("years"):t("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(t("on the")).add(this.list(this.options.byyearday,this.nth,t("and"))).add(t("day")),this.options.byweekno&&this.add(t("in")).add(this.plural(this.options.byweekno.length)?t("weeks"):t("week")).add(this.list(this.options.byweekno,void 0,t("and")))},r.prototype._bymonthday=function(){var t=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(t("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,t("or"))).add(t("the")).add(this.list(this.bymonthday,this.nth,t("or"))):this.add(t("on the")).add(this.list(this.bymonthday,this.nth,t("and")))},r.prototype._byweekday=function(){var t=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(t("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(t("and")),this.add(t("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,t("and"))))},r.prototype._byhour=function(){var t=this.gettext;this.add(t("at")).add(this.list(this.origOptions.byhour,void 0,t("and")))},r.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},r.prototype.nth=function(t){t=parseInt(t.toString(),10);var e,n=this.gettext;if(t===-1)return n("last");var i=Math.abs(t);switch(i){case 1:case 21:case 31:e=i+n("st");break;case 2:case 22:e=i+n("nd");break;case 3:case 23:e=i+n("rd");break;default:e=i+n("th")}return t<0?e+" "+n("last"):e},r.prototype.monthtext=function(t){return this.language.monthNames[t-1]},r.prototype.weekdaytext=function(t){var e=Rn(t)?(t+1)%7:t.getJsWeekday();return(t.n?this.nth(t.n)+" ":"")+this.language.dayNames[e]},r.prototype.plural=function(t){return t%100!==1},r.prototype.add=function(t){return this.text.push(" "),this.text.push(t),this},r.prototype.list=function(t,e,n,i){var s=this;i===void 0&&(i=","),At(t)||(t=[t]);var a=function(l,u,c){for(var d="",f=0;f<l.length;f++)f!==0&&(f===l.length-1?d+=" "+c+" ":d+=u+" "),d+=l[f];return d};e=e||function(l){return l.toString()};var o=function(l){return e&&e.call(s,l)};return n?a(t.map(o),i,n):t.map(o).join(i+" ")},r}(),Vr=QL});function Zl(r,t){t===void 0&&(t=Is);var e={},n=new ZL(t.tokens);if(!n.start(r))return null;return i(),e;function i(){n.expect("every");var f=n.acceptNumber();if(f&&(e.interval=parseInt(f[0],10)),n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":e.freq=oe.DAILY,n.nextSymbol()&&(a(),d());break;case"weekday(s)":e.freq=oe.WEEKLY,e.byweekday=[oe.MO,oe.TU,oe.WE,oe.TH,oe.FR],n.nextSymbol(),a(),d();break;case"week(s)":e.freq=oe.WEEKLY,n.nextSymbol()&&(s(),a(),d());break;case"hour(s)":e.freq=oe.HOURLY,n.nextSymbol()&&(s(),d());break;case"minute(s)":e.freq=oe.MINUTELY,n.nextSymbol()&&(s(),d());break;case"month(s)":e.freq=oe.MONTHLY,n.nextSymbol()&&(s(),d());break;case"year(s)":e.freq=oe.YEARLY,n.nextSymbol()&&(s(),d());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":e.freq=oe.WEEKLY;var p=n.symbol.substr(0,2).toUpperCase();if(e.byweekday=[oe[p]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var b=l();if(!b)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");e.byweekday.push(oe[b]),n.nextSymbol()}a(),c(),d();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(e.freq=oe.YEARLY,e.bymonth=[o()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var T=o();if(!T)throw new Error("Unexpected symbol "+n.symbol+", expected month");e.bymonth.push(T),n.nextSymbol()}s(),d();break;default:throw new Error("Unknown symbol")}}function s(){var f=n.accept("on"),p=n.accept("the");if(!!(f||p))do{var b=u(),T=l(),v=o();if(b)T?(n.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(oe[T].nth(b))):(e.bymonthday||(e.bymonthday=[]),e.bymonthday.push(b),n.accept("day(s)"));else if(T)n.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(oe[T]);else if(n.symbol==="weekday(s)")n.nextSymbol(),e.byweekday||(e.byweekday=[oe.MO,oe.TU,oe.WE,oe.TH,oe.FR]);else if(n.symbol==="week(s)"){n.nextSymbol();var O=n.acceptNumber();if(!O)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(e.byweekno=[parseInt(O[0],10)];n.accept("comma");){if(O=n.acceptNumber(),!O)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");e.byweekno.push(parseInt(O[0],10))}}else if(v)n.nextSymbol(),e.bymonth||(e.bymonth=[]),e.bymonth.push(v);else return}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function a(){var f=n.accept("at");if(!!f)do{var p=n.acceptNumber();if(!p)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(e.byhour=[parseInt(p[0],10)];n.accept("comma");){if(p=n.acceptNumber(),!p)throw new Error("Unexpected symbol "+n.symbol+"; expected hour");e.byhour.push(parseInt(p[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 u(){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 f=parseInt(n.value[1],10);if(f<-366||f>366)throw new Error("Nth out of range: "+f);return n.nextSymbol(),n.accept("last")?-f:f;default:return!1}}function c(){n.accept("on"),n.accept("the");var f=u();if(!!f)for(e.bymonthday=[f],n.nextSymbol();n.accept("comma");){if(f=u(),!f)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");e.bymonthday.push(f),n.nextSymbol()}}function d(){if(n.symbol==="until"){var f=Date.parse(n.text);if(!f)throw new Error("Cannot parse until date:"+n.text);e.until=new Date(f)}else n.accept("for")&&(e.count=parseInt(n.value[0],10),n.expect("number"))}}var ZL,Xk=Z(()=>{Vc();er();ZL=function(){function r(t){this.done=!0,this.rules=t}return r.prototype.start=function(t){return this.text=t,this.done=!1,this.nextSymbol()},r.prototype.isDone=function(){return this.done&&this.symbol===null},r.prototype.nextSymbol=function(){var t,e;this.symbol=null,this.value=null;do{if(this.done)return!1;var n=void 0;t=null;for(var i in this.rules){n=this.rules[i];var s=n.exec(this.text);s&&(t===null||s[0].length>t[0].length)&&(t=s,e=i)}if(t!=null&&(this.text=this.text.substr(t[0].length),this.text===""&&(this.done=!0)),t==null){this.done=!0,this.symbol=null,this.value=null;return}}while(e==="SKIP");return this.symbol=e,this.value=t,!0},r.prototype.accept=function(t){if(this.symbol===t){if(this.value){var e=this.value;return this.nextSymbol(),e}return this.nextSymbol(),!0}return!1},r.prototype.acceptNumber=function(){return this.accept("number")},r.prototype.expect=function(t){if(this.accept(t))return!0;throw new Error("expected "+t+" but found "+this.symbol)},r}()});function Xl(r){return r<Ae.HOURLY}var Ae,_i=Z(()=>{(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"})(Ae||(Ae={}))});var Jk,Ya,eS,tS,nS=Z(()=>{Zk();Xk();er();_i();Vc();Jk=function(r,t){return t===void 0&&(t=Is),new oe(Zl(r,t)||void 0)},Ya=["count","until","interval","byweekday","bymonthday","bymonth"];Vr.IMPLEMENTED=[];Vr.IMPLEMENTED[Ae.HOURLY]=Ya;Vr.IMPLEMENTED[Ae.MINUTELY]=Ya;Vr.IMPLEMENTED[Ae.DAILY]=["byhour"].concat(Ya);Vr.IMPLEMENTED[Ae.WEEKLY]=Ya;Vr.IMPLEMENTED[Ae.MONTHLY]=Ya;Vr.IMPLEMENTED[Ae.YEARLY]=["byweekno","byyearday"].concat(Ya);eS=function(r,t,e,n){return new Vr(r,t,e,n).toString()},tS=Vr.isFullyConvertible});var $a,rS,zc=Z(()=>{Br();_i();rn();jt();$a=function(){function r(t,e,n,i){this.hour=t,this.minute=e,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}(),rS=function(r){Ua(t,r);function t(e,n,i,s,a,o,l){var u=r.call(this,s,a,o,l)||this;return u.year=e,u.month=n,u.day=i,u}return t.fromDate=function(e){return new this(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.valueOf()%1e3)},t.prototype.getWeekday=function(){return bi(new Date(this.getTime()))},t.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},t.prototype.getDay=function(){return this.day},t.prototype.getMonth=function(){return this.month},t.prototype.getYear=function(){return this.year},t.prototype.addYears=function(e){this.year+=e},t.prototype.addMonths=function(e){if(this.month+=e,this.month>12){var n=Math.floor(this.month/12),i=qt(this.month,12);this.month=i,this.year+=n,this.month===0&&(this.month=12,--this.year)}},t.prototype.addWeekly=function(e,n){n>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-n))+e*7:this.day+=-(this.getWeekday()-n)+e*7,this.fixDay()},t.prototype.addDaily=function(e){this.day+=e,this.fixDay()},t.prototype.addHours=function(e,n,i){for(n&&(this.hour+=Math.floor((23-this.hour)/e)*e);;){this.hour+=e;var s=Wc(this.hour,24),a=s.div,o=s.mod;if(a&&(this.hour=o,this.addDaily(a)),Cn(i)||Fe(i,this.hour))break}},t.prototype.addMinutes=function(e,n,i,s){for(n&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/e)*e);;){this.minute+=e;var a=Wc(this.minute,60),o=a.div,l=a.mod;if(o&&(this.minute=l,this.addHours(o,!1,i)),(Cn(i)||Fe(i,this.hour))&&(Cn(s)||Fe(s,this.minute)))break}},t.prototype.addSeconds=function(e,n,i,s,a){for(n&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/e)*e);;){this.second+=e;var o=Wc(this.second,60),l=o.div,u=o.mod;if(l&&(this.second=u,this.addMinutes(l,!1,i,s)),(Cn(i)||Fe(i,this.hour))&&(Cn(s)||Fe(s,this.minute))&&(Cn(a)||Fe(a,this.second)))break}},t.prototype.fixDay=function(){if(!(this.day<=28)){var e=Gg(this.year,this.month-1)[1];if(!(this.day<=e))for(;this.day>e;){if(this.day-=e,++this.month,this.month===13&&(this.month=1,++this.year,this.year>qc))return;e=Gg(this.year,this.month-1)[1]}}},t.prototype.add=function(e,n){var i=e.freq,s=e.interval,a=e.wkst,o=e.byhour,l=e.byminute,u=e.bysecond;switch(i){case Ae.YEARLY:return this.addYears(s);case Ae.MONTHLY:return this.addMonths(s);case Ae.WEEKLY:return this.addWeekly(s,a);case Ae.DAILY:return this.addDaily(s);case Ae.HOURLY:return this.addHours(s,n,o);case Ae.MINUTELY:return this.addMinutes(s,n,o,l);case Ae.SECONDLY:return this.addSeconds(s,n,o,l,u)}},t}($a)});function Kg(r){for(var t=[],e=Object.keys(r),n=0,i=e;n<i.length;n++){var s=i[n];Fe(aS,s)||t.push(s),Hg(r[s])&&!Ns(r[s])&&t.push(s)}if(t.length)throw new Error("Invalid options: "+t.join(", "));return Pt({},r)}function iS(r){var t=Pt(Pt({},Jl),Kg(r));if(Je(t.byeaster)&&(t.freq=oe.YEARLY),!(Je(t.freq)&&oe.FREQUENCIES[t.freq]))throw new Error("Invalid frequency: ".concat(t.freq," ").concat(r.freq));if(t.dtstart||(t.dtstart=new Date(new Date().setMilliseconds(0))),Je(t.wkst)?Rn(t.wkst)||(t.wkst=t.wkst.weekday):t.wkst=oe.MO.weekday,Je(t.bysetpos)){Rn(t.bysetpos)&&(t.bysetpos=[t.bysetpos]);for(var e=0;e<t.bysetpos.length;e++){var n=t.bysetpos[e];if(n===0||!(n>=-366&&n<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(Boolean(t.byweekno)||at(t.byweekno)||at(t.byyearday)||Boolean(t.bymonthday)||at(t.bymonthday)||Je(t.byweekday)||Je(t.byeaster)))switch(t.freq){case oe.YEARLY:t.bymonth||(t.bymonth=t.dtstart.getUTCMonth()+1),t.bymonthday=t.dtstart.getUTCDate();break;case oe.MONTHLY:t.bymonthday=t.dtstart.getUTCDate();break;case oe.WEEKLY:t.byweekday=[bi(t.dtstart)];break}if(Je(t.bymonth)&&!At(t.bymonth)&&(t.bymonth=[t.bymonth]),Je(t.byyearday)&&!At(t.byyearday)&&Rn(t.byyearday)&&(t.byyearday=[t.byyearday]),!Je(t.bymonthday))t.bymonthday=[],t.bynmonthday=[];else if(At(t.bymonthday)){for(var i=[],s=[],e=0;e<t.bymonthday.length;e++){var n=t.bymonthday[e];n>0?i.push(n):n<0&&s.push(n)}t.bymonthday=i,t.bynmonthday=s}else t.bymonthday<0?(t.bynmonthday=[t.bymonthday],t.bymonthday=[]):(t.bynmonthday=[],t.bymonthday=[t.bymonthday]);if(Je(t.byweekno)&&!At(t.byweekno)&&(t.byweekno=[t.byweekno]),!Je(t.byweekday))t.bynweekday=null;else if(Rn(t.byweekday))t.byweekday=[t.byweekday],t.bynweekday=null;else if(jg(t.byweekday))t.byweekday=[ft.fromStr(t.byweekday).weekday],t.bynweekday=null;else if(t.byweekday instanceof ft)!t.byweekday.n||t.freq>oe.MONTHLY?(t.byweekday=[t.byweekday.weekday],t.bynweekday=null):(t.bynweekday=[[t.byweekday.weekday,t.byweekday.n]],t.byweekday=null);else{for(var a=[],o=[],e=0;e<t.byweekday.length;e++){var l=t.byweekday[e];if(Rn(l)){a.push(l);continue}else if(jg(l)){a.push(ft.fromStr(l).weekday);continue}!l.n||t.freq>oe.MONTHLY?a.push(l.weekday):o.push([l.weekday,l.n])}t.byweekday=at(a)?a:null,t.bynweekday=at(o)?o:null}return Je(t.byhour)?Rn(t.byhour)&&(t.byhour=[t.byhour]):t.byhour=t.freq<oe.HOURLY?[t.dtstart.getUTCHours()]:null,Je(t.byminute)?Rn(t.byminute)&&(t.byminute=[t.byminute]):t.byminute=t.freq<oe.MINUTELY?[t.dtstart.getUTCMinutes()]:null,Je(t.bysecond)?Rn(t.bysecond)&&(t.bysecond=[t.bysecond]):t.bysecond=t.freq<oe.SECONDLY?[t.dtstart.getUTCSeconds()]:null,{parsedOptions:t}}function sS(r){var t=r.dtstart.getTime()%1e3;if(!Xl(r.freq))return[];var e=[];return r.byhour.forEach(function(n){r.byminute.forEach(function(i){r.bysecond.forEach(function(s){e.push(new $a(n,i,s,t))})})}),e}var Qg=Z(()=>{Br();_i();rn();er();jt();As();zc()});function tu(r){var t=r.split(`
`).map(XL).filter(function(e){return e!==null});return Pt(Pt({},t[0]),t[1])}function eu(r){var t={},e=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(r);if(!e)return t;var n=e[1],i=e[2];return n&&(t.tzid=n),t.dtstart=Ql(i),t}function XL(r){if(r=r.replace(/^\s+|\s+$/,""),!r.length)return null;var t=/^([A-Z]+?)[:;]/.exec(r.toUpperCase());if(!t)return oS(r);var e=t[1];switch(e.toUpperCase()){case"RRULE":case"EXRULE":return oS(r);case"DTSTART":return eu(r);default:throw new Error("Unsupported RFC prop ".concat(e," in ").concat(r))}}function oS(r){var t=r.replace(/^RRULE:/i,""),e=eu(t),n=r.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return n.forEach(function(i){var s=i.split("="),a=s[0],o=s[1];switch(a.toUpperCase()){case"FREQ":e.freq=Ae[o.toUpperCase()];break;case"WKST":e.wkst=tr[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=JL(o),u=a.toLowerCase();e[u]=l;break;case"BYWEEKDAY":case"BYDAY":e.byweekday=e2(o);break;case"DTSTART":case"TZID":var c=eu(r);e.tzid=c.tzid,e.dtstart=c.dtstart;break;case"UNTIL":e.until=Ql(o);break;case"BYEASTER":e.byeaster=Number(o);break;default:throw new Error("Unknown RRULE property '"+a+"'")}}),e}function JL(r){if(r.indexOf(",")!==-1){var t=r.split(",");return t.map(lS)}return lS(r)}function lS(r){return/^[+-]?\d+$/.test(r)?Number(r):r}function e2(r){var t=r.split(",");return t.map(function(e){if(e.length===2)return tr[e];var n=e.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!n||n.length<3)throw new SyntaxError("Invalid weekday string: ".concat(e));var i=Number(n[1]),s=n[2],a=tr[s].weekday;return new ft(a,i)})}var Zg=Z(()=>{Br();_i();As();jt();er()});var Fs,Kc=Z(()=>{jt();Fs=function(){function r(t,e){if(isNaN(t.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=t,this.tzid=e}return Object.defineProperty(r.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){var t=La(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(t):";TZID=".concat(this.tzid,":").concat(t)},r.prototype.getTime=function(){return this.date.getTime()},r.prototype.rezonedDate=function(){return this.isUTC?this.date:Vk(this.date,this.tzid)},r}()});function nu(r){for(var t=[],e="",n=Object.keys(r),i=Object.keys(Jl),s=0;s<n.length;s++)if(n[s]!=="tzid"&&!!Fe(i,n[s])){var a=n[s].toUpperCase(),o=r[n[s]],l="";if(!(!Je(o)||At(o)&&!o.length)){switch(a){case"FREQ":l=oe.FREQUENCIES[r.freq];break;case"WKST":Rn(o)?l=new ft(o).toString():l=o.toString();break;case"BYWEEKDAY":a="BYDAY",l=qk(o).map(function(p){return p instanceof ft?p:At(p)?new ft(p[0],p[1]):new ft(p)}).toString();break;case"DTSTART":e=t2(o,r.tzid);break;case"UNTIL":l=La(o,!r.tzid);break;default:if(At(o)){for(var u=[],c=0;c<o.length;c++)u[c]=String(o[c]);l=u.toString()}else l=String(o)}l&&t.push([a,l])}}var d=t.map(function(p){var b=p[0],T=p[1];return"".concat(b,"=").concat(T.toString())}).join(";"),f="";return d!==""&&(f="RRULE:".concat(d)),[e,f].filter(function(p){return!!p}).join(`
`)}function t2(r,t){return r?"DTSTART"+new Fs(new Date(r),t).toString():""}var Xg=Z(()=>{er();rn();As();jt();Kc()});function n2(r,t){return Array.isArray(r)?!Array.isArray(t)||r.length!==t.length?!1:r.every(function(e,n){return e.getTime()===t[n].getTime()}):r instanceof Date?t instanceof Date&&r.getTime()===t.getTime():r===t}var uS,cS=Z(()=>{Bc();jt();rn();uS=function(){function r(){this.all=!1,this.before=[],this.after=[],this.between=[]}return r.prototype._cacheAdd=function(t,e,n){e&&(e=e instanceof Date?Gc(e):Bg(e)),t==="all"?this.all=e:(n._value=e,this[t].push(n))},r.prototype._cacheGet=function(t,e){var n=!1,i=e?Object.keys(e):[],s=function(c){for(var d=0;d<i.length;d++){var f=i[d];if(!n2(e[f],c[f]))return!0}return!1},a=this[t];if(t==="all")n=this.all;else if(At(a))for(var o=0;o<a.length;o++){var l=a[o];if(!(i.length&&s(l))){n=l._value;break}}if(!n&&this.all){for(var u=new vi(t,e),o=0;o<this.all.length&&u.accept(this.all[o]);o++);n=u.getValue(),this._cacheAdd(t,n,e)}return At(n)?Bg(n):n instanceof Date?Gc(n):n},r}()});var dS,fS,r2,i2,Gi,Ht,pS,mS,s2,a2,Bi,Gt,hS,gS,yS,bS,Jg,TS=Z(()=>{Br();rn();dS=Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q([],Ie(1,31),!0),Ie(2,28),!0),Ie(3,31),!0),Ie(4,30),!0),Ie(5,31),!0),Ie(6,30),!0),Ie(7,31),!0),Ie(8,31),!0),Ie(9,30),!0),Ie(10,31),!0),Ie(11,30),!0),Ie(12,31),!0),Ie(1,7),!0),fS=Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q([],Ie(1,31),!0),Ie(2,29),!0),Ie(3,31),!0),Ie(4,30),!0),Ie(5,31),!0),Ie(6,30),!0),Ie(7,31),!0),Ie(8,31),!0),Ie(9,30),!0),Ie(10,31),!0),Ie(11,30),!0),Ie(12,31),!0),Ie(1,7),!0),r2=Jn(1,29),i2=Jn(1,30),Gi=Jn(1,31),Ht=Jn(1,32),pS=Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q([],Ht,!0),i2,!0),Ht,!0),Gi,!0),Ht,!0),Gi,!0),Ht,!0),Ht,!0),Gi,!0),Ht,!0),Gi,!0),Ht,!0),Ht.slice(0,7),!0),mS=Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q([],Ht,!0),r2,!0),Ht,!0),Gi,!0),Ht,!0),Gi,!0),Ht,!0),Ht,!0),Gi,!0),Ht,!0),Gi,!0),Ht,!0),Ht.slice(0,7),!0),s2=Jn(-28,0),a2=Jn(-29,0),Bi=Jn(-30,0),Gt=Jn(-31,0),hS=Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q([],Gt,!0),a2,!0),Gt,!0),Bi,!0),Gt,!0),Bi,!0),Gt,!0),Gt,!0),Bi,!0),Gt,!0),Bi,!0),Gt,!0),Gt.slice(0,7),!0),gS=Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(Q([],Gt,!0),s2,!0),Gt,!0),Bi,!0),Gt,!0),Bi,!0),Gt,!0),Gt,!0),Bi,!0),Gt,!0),Bi,!0),Gt,!0),Gt.slice(0,7),!0),yS=[0,31,60,91,121,152,182,213,244,274,305,335,366],bS=[0,31,59,90,120,151,181,212,243,273,304,334,365],Jg=function(){for(var r=[],t=0;t<55;t++)r=r.concat(Jn(7));return r}()});function vS(r,t){var e=Gr(r,1,1),n=Fa(r)?366:365,i=Fa(r+1)?366:365,s=Kl(e),a=bi(e),o=Pt(Pt({yearlen:n,nextyearlen:i,yearordinal:s,yearweekday:a},o2(r)),{wnomask:null});if(Cn(t.byweekno))return o;o.wnomask=Ie(0,n+7);var l,u,c=l=qt(7-a+t.wkst,7);c>=4?(c=0,u=o.yearlen+qt(a-t.wkst,7)):u=n-c;for(var d=Math.floor(u/7),f=qt(u,7),p=Math.floor(d+f/4),b=0;b<t.byweekno.length;b++){var T=t.byweekno[b];if(T<0&&(T+=p+1),T>0&&T<=p){var v=void 0;T>1?(v=c+(T-1)*7,c!==l&&(v-=7-l)):v=c;for(var O=0;O<7&&(o.wnomask[v]=1,v++,o.wdaymask[v]!==t.wkst);O++);}}if(Fe(t.byweekno,1)){var v=c+p*7;if(c!==l&&(v-=7-l),v<n)for(var b=0;b<7&&(o.wnomask[v]=1,v+=1,o.wdaymask[v]!==t.wkst);b++);}if(c){var E=void 0;if(Fe(t.byweekno,-1))E=-1;else{var P=bi(Gr(r-1,1,1)),Y=qt(7-P.valueOf()+t.wkst,7),j=Fa(r-1)?366:365,ae=void 0;Y>=4?(Y=0,ae=j+qt(P-t.wkst,7)):ae=n-c,E=Math.floor(52+qt(ae,7)/4)}if(Fe(t.byweekno,E))for(var v=0;v<c;v++)o.wnomask[v]=1}return o}function o2(r){var t=Fa(r)?366:365,e=Gr(r,1,1),n=bi(e);return t===365?{mmask:dS,mdaymask:mS,nmdaymask:gS,wdaymask:Jg.slice(n),mrange:bS}:{mmask:fS,mdaymask:pS,nmdaymask:hS,wdaymask:Jg.slice(n),mrange:yS}}var _S=Z(()=>{Br();jt();rn();TS()});function wS(r,t,e,n,i,s){var a={lastyear:r,lastmonth:t,nwdaymask:[]},o=[];if(s.freq===oe.YEARLY)if(Cn(s.bymonth))o=[[0,e]];else for(var l=0;l<s.bymonth.length;l++)t=s.bymonth[l],o.push(n.slice(t-1,t+1));else s.freq===oe.MONTHLY&&(o=[n.slice(t-1,t+1)]);if(Cn(o))return a;a.nwdaymask=Ie(0,e);for(var l=0;l<o.length;l++)for(var u=o[l],c=u[0],d=u[1]-1,f=0;f<s.bynweekday.length;f++){var p=void 0,b=s.bynweekday[f],T=b[0],v=b[1];v<0?(p=d+(v+1)*7,p-=qt(i[p]-T,7)):(p=c+(v-1)*7,p+=qt(7-i[p]+T,7)),c<=p&&p<=d&&(a.nwdaymask[p]=1)}return a}var kS=Z(()=>{er();rn()});function SS(r,t){t===void 0&&(t=0);var e=r%19,n=Math.floor(r/100),i=r%100,s=Math.floor(n/4),a=n%4,o=Math.floor((n+8)/25),l=Math.floor((n-o+1)/3),u=Math.floor(19*e+n-s-l+15)%30,c=Math.floor(i/4),d=i%4,f=Math.floor(32+2*a+2*c-u-d)%7,p=Math.floor((e+11*u+22*f)/451),b=Math.floor((u+f-7*p+114)/31),T=(u+f-7*p+114)%31+1,v=Date.UTC(r,b-1,T+t),O=Date.UTC(r,0,1);return[Math.ceil((v-O)/(1e3*60*60*24))]}var DS=Z(()=>{});var l2,ES,xS=Z(()=>{rn();_i();_S();kS();DS();zc();jt();l2=function(){function r(t){this.options=t}return r.prototype.rebuild=function(t,e){var n=this.options;if(t!==this.lastyear&&(this.yearinfo=vS(t,n)),at(n.bynweekday)&&(e!==this.lastmonth||t!==this.lastyear)){var i=this.yearinfo,s=i.yearlen,a=i.mrange,o=i.wdaymask;this.monthinfo=wS(t,e,s,a,o,n)}Je(n.byeaster)&&(this.eastermask=SS(t,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[Jn(this.yearlen),0,this.yearlen]},r.prototype.mdayset=function(t,e){for(var n=this.mrange[e-1],i=this.mrange[e],s=Ie(null,this.yearlen),a=n;a<i;a++)s[a]=a;return[s,n,i]},r.prototype.wdayset=function(t,e,n){for(var i=Ie(null,this.yearlen+7),s=Kl(Gr(t,e,n))-this.yearordinal,a=s,o=0;o<7&&(i[s]=s,++s,this.wdaymask[s]!==this.options.wkst);o++);return[i,a,s]},r.prototype.ddayset=function(t,e,n){var i=Ie(null,this.yearlen),s=Kl(Gr(t,e,n))-this.yearordinal;return i[s]=s,[i,s,s+1]},r.prototype.htimeset=function(t,e,n,i){var s=this,a=[];return this.options.byminute.forEach(function(o){a=a.concat(s.mtimeset(t,o,n,i))}),Ti(a),a},r.prototype.mtimeset=function(t,e,n,i){var s=this.options.bysecond.map(function(a){return new $a(t,e,a,i)});return Ti(s),s},r.prototype.stimeset=function(t,e,n,i){return[new $a(t,e,n,i)]},r.prototype.getdayset=function(t){switch(t){case Ae.YEARLY:return this.ydayset.bind(this);case Ae.MONTHLY:return this.mdayset.bind(this);case Ae.WEEKLY:return this.wdayset.bind(this);case Ae.DAILY:return this.ddayset.bind(this);default:return this.ddayset.bind(this)}},r.prototype.gettimeset=function(t){switch(t){case Ae.HOURLY:return this.htimeset.bind(this);case Ae.MINUTELY:return this.mtimeset.bind(this);case Ae.SECONDLY:return this.stimeset.bind(this)}},r}(),ES=l2});function OS(r,t,e,n,i,s){for(var a=[],o=0;o<r.length;o++){var l=void 0,u=void 0,c=r[o];c<0?(l=Math.floor(c/t.length),u=qt(c,t.length)):(l=Math.floor((c-1)/t.length),u=qt(c-1,t.length));for(var d=[],f=e;f<n;f++){var p=s[f];!Je(p)||d.push(p)}var b=void 0;l<0?b=d.slice(l)[0]:b=d[l];var T=t[u],v=jc(i.yearordinal+b),O=Hc(v,T);Fe(a,O)||a.push(O)}return Ti(a),a}var RS=Z(()=>{jt();rn()});function Qc(r,t){var e=t.dtstart,n=t.freq,i=t.interval,s=t.until,a=t.bysetpos,o=t.count;if(o===0||i===0)return wi(r);var l=rS.fromDate(e),u=new ES(t);u.rebuild(l.year,l.month);for(var c=d2(u,l,t);;){var d=u.getdayset(n)(l.year,l.month,l.day),f=d[0],p=d[1],b=d[2],T=c2(f,p,b,u,t);if(at(a))for(var v=OS(a,c,p,b,u,f),O=0;O<v.length;O++){var E=v[O];if(s&&E>s)return wi(r);if(E>=e){var P=CS(E,t);if(!r.accept(P)||o&&(--o,!o))return wi(r)}}else for(var O=p;O<b;O++){var Y=f[O];if(!!Je(Y))for(var j=jc(u.yearordinal+Y),ae=0;ae<c.length;ae++){var H=c[ae],E=Hc(j,H);if(s&&E>s)return wi(r);if(E>=e){var P=CS(E,t);if(!r.accept(P)||o&&(--o,!o))return wi(r)}}}if(t.interval===0||(l.add(t,T),l.year>qc))return wi(r);Xl(n)||(c=u.gettimeset(n)(l.hour,l.minute,l.second,0)),u.rebuild(l.year,l.month)}}function u2(r,t,e){var n=e.bymonth,i=e.byweekno,s=e.byweekday,a=e.byeaster,o=e.bymonthday,l=e.bynmonthday,u=e.byyearday;return at(n)&&!Fe(n,r.mmask[t])||at(i)&&!r.wnomask[t]||at(s)&&!Fe(s,r.wdaymask[t])||at(r.nwdaymask)&&!r.nwdaymask[t]||a!==null&&!Fe(r.eastermask,t)||(at(o)||at(l))&&!Fe(o,r.mdaymask[t])&&!Fe(l,r.nmdaymask[t])||at(u)&&(t<r.yearlen&&!Fe(u,t+1)&&!Fe(u,-r.yearlen+t)||t>=r.yearlen&&!Fe(u,t+1-r.yearlen)&&!Fe(u,-r.nextyearlen+t-r.yearlen))}function CS(r,t){return new Fs(r,t.tzid).rezonedDate()}function wi(r){return r.getValue()}function c2(r,t,e,n,i){for(var s=!1,a=t;a<e;a++){var o=r[a];s=u2(n,o,i),s&&(r[o]=null)}return s}function d2(r,t,e){var n=e.freq,i=e.byhour,s=e.byminute,a=e.bysecond;return Xl(n)?sS(e):n>=oe.HOURLY&&at(i)&&!Fe(i,t.hour)||n>=oe.MINUTELY&&at(s)&&!Fe(s,t.minute)||n>=oe.SECONDLY&&at(a)&&!Fe(a,t.second)?[]:r.gettimeset(n)(t.hour,t.minute,t.second,t.millisecond)}var ey=Z(()=>{_i();jt();xS();er();Qg();rn();Kc();RS();zc()});var tr,Jl,aS,oe,er=Z(()=>{jt();Bc();Kk();nS();_i();Qg();Zg();Xg();cS();As();ey();tr={MO:new ft(0),TU:new ft(1),WE:new ft(2),TH:new ft(3),FR:new ft(4),SA:new ft(5),SU:new ft(6)},Jl={freq:Ae.YEARLY,dtstart:null,interval:1,wkst:tr.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},aS=Object.keys(Jl),oe=function(){function r(t,e){t===void 0&&(t={}),e===void 0&&(e=!1),this._cache=e?null:new uS,this.origOptions=Kg(t);var n=iS(t).parsedOptions;this.options=n}return r.parseText=function(t,e){return Zl(t,e)},r.fromText=function(t,e){return Jk(t,e)},r.fromString=function(t){return new r(r.parseString(t)||void 0)},r.prototype._iter=function(t){return Qc(t,this.options)},r.prototype._cacheGet=function(t,e){return this._cache?this._cache._cacheGet(t,e):!1},r.prototype._cacheAdd=function(t,e,n){if(!!this._cache)return this._cache._cacheAdd(t,e,n)},r.prototype.all=function(t){if(t)return this._iter(new zg("all",{},t));var e=this._cacheGet("all");return e===!1&&(e=this._iter(new vi("all",{})),this._cacheAdd("all",e)),e},r.prototype.between=function(t,e,n,i){if(n===void 0&&(n=!1),!Ns(t)||!Ns(e))throw new Error("Invalid date passed in to RRule.between");var s={before:e,after:t,inc:n};if(i)return this._iter(new zg("between",s,i));var a=this._cacheGet("between",s);return a===!1&&(a=this._iter(new vi("between",s)),this._cacheAdd("between",a,s)),a},r.prototype.before=function(t,e){if(e===void 0&&(e=!1),!Ns(t))throw new Error("Invalid date passed in to RRule.before");var n={dt:t,inc:e},i=this._cacheGet("before",n);return i===!1&&(i=this._iter(new vi("before",n)),this._cacheAdd("before",i,n)),i},r.prototype.after=function(t,e){if(e===void 0&&(e=!1),!Ns(t))throw new Error("Invalid date passed in to RRule.after");var n={dt:t,inc:e},i=this._cacheGet("after",n);return i===!1&&(i=this._iter(new vi("after",n)),this._cacheAdd("after",i,n)),i},r.prototype.count=function(){return this.all().length},r.prototype.toString=function(){return nu(this.origOptions)},r.prototype.toText=function(t,e,n){return eS(this,t,e,n)},r.prototype.isFullyConvertibleToText=function(){return tS(this)},r.prototype.clone=function(){return new r(this.origOptions)},r.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],r.YEARLY=Ae.YEARLY,r.MONTHLY=Ae.MONTHLY,r.WEEKLY=Ae.WEEKLY,r.DAILY=Ae.DAILY,r.HOURLY=Ae.HOURLY,r.MINUTELY=Ae.MINUTELY,r.SECONDLY=Ae.SECONDLY,r.MO=tr.MO,r.TU=tr.TU,r.WE=tr.WE,r.TH=tr.TH,r.FR=tr.FR,r.SA=tr.SA,r.SU=tr.SU,r.parseString=tu,r.optionsToString=nu,r}()});function MS(r,t,e,n,i,s){var a={},o=r.accept;function l(f,p){e.forEach(function(b){b.between(f,p,!0).forEach(function(T){a[Number(T)]=!0})})}i.forEach(function(f){var p=new Fs(f,s).rezonedDate();a[Number(p)]=!0}),r.accept=function(f){var p=Number(f);return isNaN(p)?o.call(this,f):!a[p]&&(l(new Date(p-1),new Date(p+1)),!a[p])?(a[p]=!0,o.call(this,f)):!0},r.method==="between"&&(l(r.args.after,r.args.before),r.accept=function(f){var p=Number(f);return a[p]?!0:(a[p]=!0,o.call(this,f))});for(var u=0;u<n.length;u++){var c=new Fs(n[u],s).rezonedDate();if(!r.accept(new Date(c.getTime())))break}t.forEach(function(f){Qc(r,f.options)});var d=r._result;switch(Ti(d),r.method){case"all":case"between":return d;case"before":return d.length&&d[d.length-1]||null;case"after":default:return d.length&&d[0]||null}}var AS=Z(()=>{Kc();ey();jt()});function f2(r,t){var e=[],n=[],i=[],s=[],a=eu(r),o=a.dtstart,l=a.tzid,u=y2(r,t.unfold);return u.forEach(function(c){var d;if(!!c){var f=g2(c),p=f.name,b=f.parms,T=f.value;switch(p.toUpperCase()){case"RRULE":if(b.length)throw new Error("unsupported RRULE parm: ".concat(b.join(",")));e.push(tu(c));break;case"RDATE":var v=(d=/RDATE(?:;TZID=([^:=]+))?/i.exec(c))!==null&&d!==void 0?d:[],O=v[1];O&&!l&&(l=O),n=n.concat(NS(T,b));break;case"EXRULE":if(b.length)throw new Error("unsupported EXRULE parm: ".concat(b.join(",")));i.push(tu(T));break;case"EXDATE":s=s.concat(NS(T,b));break;case"DTSTART":break;default:throw new Error("unsupported property: "+p)}}}),{dtstart:o,tzid:l,rrulevals:e,rdatevals:n,exrulevals:i,exdatevals:s}}function p2(r,t){var e=f2(r,t),n=e.rrulevals,i=e.rdatevals,s=e.exrulevals,a=e.exdatevals,o=e.dtstart,l=e.tzid,u=t.cache===!1;if(t.compatible&&(t.forceset=!0,t.unfold=!0),t.forceset||n.length>1||i.length||s.length||a.length){var c=new ry(u);return c.dtstart(o),c.tzid(l||void 0),n.forEach(function(f){c.rrule(new oe(ty(f,o,l),u))}),i.forEach(function(f){c.rdate(f)}),s.forEach(function(f){c.exrule(new oe(ty(f,o,l),u))}),a.forEach(function(f){c.exdate(f)}),t.compatible&&t.dtstart&&c.rdate(o),c}var d=n[0]||{};return new oe(ty(d,d.dtstart||t.dtstart||o,d.tzid||t.tzid||l),u)}function Zc(r,t){return t===void 0&&(t={}),p2(r,m2(t))}function ty(r,t,e){return Pt(Pt({},r),{dtstart:t,tzid:e})}function m2(r){var t=[],e=Object.keys(r),n=Object.keys(PS);if(e.forEach(function(i){Fe(n,i)||t.push(i)}),t.length)throw new Error("Invalid options: "+t.join(", "));return Pt(Pt({},PS),r)}function h2(r){if(r.indexOf(":")===-1)return{name:"RRULE",value:r};var t=jk(r,":",1),e=t[0],n=t[1];return{name:e,value:n}}function g2(r){var t=h2(r),e=t.name,n=t.value,i=e.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:n}}function y2(r,t){if(t===void 0&&(t=!1),r=r&&r.trim(),!r)throw new Error("Invalid empty string");if(!t)return r.split(/\s/);for(var e=r.split(`
`),n=0;n<e.length;){var i=e[n]=e[n].replace(/\s+$/g,"");i?n>0&&i[0]===" "?(e[n-1]+=i.slice(1),e.splice(n,1)):n+=1:e.splice(n,1)}return e}function b2(r){r.forEach(function(t){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(t))throw new Error("unsupported RDATE/EXDATE parm: "+t)})}function NS(r,t){return b2(t),r.split(",").map(function(e){return Ql(e)})}var PS,ny=Z(()=>{Br();er();iy();jt();rn();Zg();PS={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null}});function IS(r){var t=this;return function(e){if(e!==void 0&&(t["_".concat(r)]=e),t["_".concat(r)]!==void 0)return t["_".concat(r)];for(var n=0;n<t._rrule.length;n++){var i=t._rrule[n].origOptions[r];if(i)return i}}}function FS(r,t){if(!(r instanceof oe))throw new TypeError(String(r)+" is not RRule instance");Fe(t.map(String),String(r))||t.push(r)}function LS(r,t){if(!(r instanceof Date))throw new TypeError(String(r)+" is not Date instance");Fe(t.map(Number),Number(r))||(t.push(r),Ti(t))}function US(r,t,e){var n=!e||e.toUpperCase()==="UTC",i=n?"".concat(r,":"):"".concat(r,";TZID=").concat(e,":"),s=t.map(function(a){return La(a.valueOf(),n)}).join(",");return"".concat(i).concat(s)}var ry,iy=Z(()=>{Br();er();jt();rn();AS();ny();Xg();ry=function(r){Ua(t,r);function t(e){e===void 0&&(e=!1);var n=r.call(this,{},e)||this;return n.dtstart=IS.apply(n,["dtstart"]),n.tzid=IS.apply(n,["tzid"]),n._rrule=[],n._rdate=[],n._exrule=[],n._exdate=[],n}return t.prototype._iter=function(e){return MS(e,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(e){FS(e,this._rrule)},t.prototype.exrule=function(e){FS(e,this._exrule)},t.prototype.rdate=function(e){LS(e,this._rdate)},t.prototype.exdate=function(e){LS(e,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(e){return Zc(e.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(e){return Zc(e.toString())})},t.prototype.rdates=function(){return this._rdate.map(function(e){return new Date(e.getTime())})},t.prototype.exdates=function(){return this._exdate.map(function(e){return new Date(e.getTime())})},t.prototype.valueOf=function(){var e=[];return!this._rrule.length&&this._dtstart&&(e=e.concat(nu({dtstart:this._dtstart}))),this._rrule.forEach(function(n){e=e.concat(n.toString().split(`
`))}),this._exrule.forEach(function(n){e=e.concat(n.toString().split(`
`).map(function(i){return i.replace(/^RRULE:/,"EXRULE:")}).filter(function(i){return!/^DTSTART/.test(i)}))}),this._rdate.length&&e.push(US("RDATE",this._rdate,this.tzid())),this._exdate.length&&e.push(US("EXDATE",this._exdate,this.tzid())),e},t.prototype.toString=function(){return this.valueOf().join(`
`)},t.prototype.clone=function(){var e=new t(!!this._cache);return this._rrule.forEach(function(n){return e.rrule(n.clone())}),this._exrule.forEach(function(n){return e.exrule(n.clone())}),this._rdate.forEach(function(n){return e.rdate(new Date(n.getTime()))}),this._exdate.forEach(function(n){return e.exdate(new Date(n.getTime()))}),e},t}(oe)});var YS=Z(()=>{er();iy();ny();_i();As();jt()});var Dt,Xc=Z(()=>{"use strict";YS();Dt=class{constructor({rrule:t,baseOnToday:e,occurrence:n}){this.rrule=t,this.baseOnToday=e,this.occurrence=n}static fromText({recurrenceRuleText:t,occurrence:e}){try{let n=t.match(/^([a-zA-Z0-9, !]+?)( when done)?$/i);if(n==null)return null;let i=n[1].trim(),s=n[2]!==void 0,a=oe.parseText(i);if(a!==null){let o=e.referenceDate;!s&&o!==null?a.dtstart=window.moment(o).startOf("day").utc(!0).toDate():a.dtstart=window.moment().startOf("day").utc(!0).toDate();let l=new oe(a);return new Dt({rrule:l,baseOnToday:s,occurrence:e})}}catch(n){n instanceof Error&&console.log(n.message)}return null}toText(){let t=this.rrule.toText();return this.baseOnToday&&(t+=" when done"),t}next(t=window.moment(),e=!1){let n=this.nextReferenceDate(t);return n===null?null:this.occurrence.next(n,e)}identicalTo(t){return this.baseOnToday!==t.baseOnToday||!this.occurrence.isIdenticalTo(t.occurrence)?!1:this.toText()===t.toText()}nextReferenceDate(t){return this.baseOnToday?this.nextReferenceDateFromToday(t.clone()).toDate():this.nextReferenceDateFromOriginalReferenceDate().toDate()}nextReferenceDateFromToday(t){let e=new oe(de(F({},this.rrule.origOptions),{dtstart:t.startOf("day").utc(!0).toDate()}));return this.nextAfter(t.endOf("day"),e)}nextReferenceDateFromOriginalReferenceDate(){var e;let t=window.moment((e=this.occurrence.referenceDate)!=null?e:void 0).endOf("day");return this.nextAfter(t,this.rrule)}nextAfter(t,e){t.utc(!0);let n=window.moment.utc(e.after(t.toDate())),i=this.toText(),s=i.match(/every( \d+)? month(s)?(.*)?/);s!==null&&(i.includes(" on ")||(n=Dt.nextAfterMonths(t,n,e,s[1])));let a=i.match(/every( \d+)? year(s)?(.*)?/);return a!==null&&(n=Dt.nextAfterYears(t,n,e,a[1])),Dt.addTimezone(n)}static nextAfterMonths(t,e,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));Dt.isSkippingTooManyMonths(t,e,s);)e=Dt.fromOneDayEarlier(t,n);return e}static isSkippingTooManyMonths(t,e,n){let i=e.month()-t.month();return i+=(e.year()-t.year())*12,i>n}static nextAfterYears(t,e,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));Dt.isSkippingTooManyYears(t,e,s);)e=Dt.fromOneDayEarlier(t,n);return e}static isSkippingTooManyYears(t,e,n){return e.year()-t.year()>n}static fromOneDayEarlier(t,e){t.subtract(1,"days").endOf("day");let n=e.origOptions;return n.dtstart=t.startOf("day").toDate(),e=new oe(n),window.moment.utc(e.after(t.toDate()))}static addTimezone(t){return window.moment.utc(t).set({hour:12,minute:0,second:0,millisecond:0}).local(!0).startOf("day")}}});function $S(r,t,e){let n=new Map([["cancelled date","cancelledDate"],["created date","createdDate"],["depends on","dependsOn"],["done date","doneDate"],["due date","dueDate"],["id","id"],["on completion","onCompletion"],["priority","priority"],["recurrence rule","recurrenceRule"],["scheduled date","scheduledDate"],["start date","startDate"]]);for(let[i,s]of n.entries())if(t.startsWith(i))return r.setVisibility(s,e),!0;return t.startsWith("tags")?(r.setTagsVisibility(e),!0):!1}var ru,Jc,zr,Ls=Z(()=>{"use strict";ru=(p=>(p.Description="description",p.Id="id",p.DependsOn="dependsOn",p.Priority="priority",p.RecurrenceRule="recurrenceRule",p.OnCompletion="onCompletion",p.CreatedDate="createdDate",p.StartDate="startDate",p.ScheduledDate="scheduledDate",p.DueDate="dueDate",p.CancelledDate="cancelledDate",p.DoneDate="doneDate",p.BlockLink="blockLink",p))(ru||{}),Jc=Object.values(ru),zr=class{constructor(){this.visible={};this.tagsVisible=!0;Jc.forEach(t=>{this.visible[t]=!0})}isShown(t){return this.visible[t]}areTagsShown(){return this.tagsVisible}hide(t){this.visible[t]=!1}setVisibility(t,e){this.visible[t]=e}setTagsVisibility(t){this.tagsVisible=t}get shownComponents(){return Jc.filter(t=>this.visible[t])}get hiddenComponents(){return Jc.filter(t=>!this.visible[t])}get toggleableComponents(){return Jc.filter(t=>t!=="description"&&t!=="blockLink")}toggleVisibilityExceptDescriptionAndBlockLink(){this.toggleableComponents.forEach(t=>{this.visible[t]=!this.visible[t]}),this.setTagsVisibility(!this.areTagsShown())}}});var Bt,gt,Mn=Z(()=>{"use strict";Bt=(a=>(a.TODO="TODO",a.DONE="DONE",a.IN_PROGRESS="IN_PROGRESS",a.CANCELLED="CANCELLED",a.NON_TASK="NON_TASK",a.EMPTY="EMPTY",a))(Bt||{}),gt=class{constructor(t,e,n,i,s="TODO"){this.symbol=t,this.name=e,this.nextStatusSymbol=n,this.availableAsCommand=i,this.type=s}}});function WS(r){let t=r.trim().toLowerCase();return t==="delete"?"delete":t==="keep"?"keep":""}function T2(r,t){return r.filter(e=>e!==t)}function v2(r,t){let e=r.status,n=t.status,i=n.type===e.type;return n.type!=="DONE"||i}function qS(r,t){let e=t.length;if(r.onCompletion===""||r.onCompletion==="keep"||e===0)return t;let n=t[e-1];if(v2(r,n))return t;let s=r.onCompletion;return s==="delete"?T2(t,n):(console.log(`OnCompletion action ${s} not yet implemented.`),t)}var ed=Z(()=>{"use strict";Mn()});var Wa=Z(()=>{"use strict"});function qa(r){return Ha(r,"(\\d{4}-\\d{2}-\\d{2})")}function Ha(r,t){let e=r+"\uFE0F?";return t!==""&&(e+=" *"+t),e+="$",new RegExp(e)}function td(r,t,e){return e?r?" "+t:` ${t} ${e}`:""}function ja(r,t,e){return e?r?" "+t:` ${t} ${e.format(fe.dateFormat)}`:""}function jS(){let r=[];return Object.values(iu.prioritySymbols).forEach(t=>{t.length>0&&r.push(t)}),Object.values(iu).forEach(t=>{typeof t=="string"&&r.push(t)}),r}var Us,sy,iu,Ys,su=Z(()=>{"use strict";Ls();ed();$c();Xc();Nt();Wa();li();Us=/[a-zA-Z0-9-_]+/,sy=new RegExp(Us.source+"( *, *"+Us.source+" *)*");iu={prioritySymbols:{Highest:"\u{1F53A}",High:"\u23EB",Medium:"\u{1F53C}",Low:"\u{1F53D}",Lowest:"\u23EC",None:""},startDateSymbol:"\u{1F6EB}",createdDateSymbol:"\u2795",scheduledDateSymbol:"\u23F3",dueDateSymbol:"\u{1F4C5}",doneDateSymbol:"\u2705",cancelledDateSymbol:"\u274C",recurrenceSymbol:"\u{1F501}",onCompletionSymbol:"\u{1F3C1}",dependsOnSymbol:"\u26D4",idSymbol:"\u{1F194}",TaskFormatRegularExpressions:{priorityRegex:Ha("(\u{1F53A}|\u23EB|\u{1F53C}|\u{1F53D}|\u23EC)",""),startDateRegex:qa("\u{1F6EB}"),createdDateRegex:qa("\u2795"),scheduledDateRegex:qa("(?:\u23F3|\u231B)"),dueDateRegex:qa("(?:\u{1F4C5}|\u{1F4C6}|\u{1F5D3})"),doneDateRegex:qa("\u2705"),cancelledDateRegex:qa("\u274C"),recurrenceRegex:Ha("\u{1F501}","([a-zA-Z0-9, !]+)"),onCompletionRegex:Ha("\u{1F3C1}","([a-zA-Z]+)"),dependsOnRegex:Ha("\u26D4","("+sy.source+")"),idRegex:Ha("\u{1F194}","("+Us.source+")")}};Ys=class{constructor(t){this.symbols=t}serialize(t){let e=new zr,n="",i=!1;for(let s of e.shownComponents)n+=this.componentToString(t,i,s);return n}componentToString(t,e,n){var T;let{prioritySymbols:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,doneDateSymbol:l,cancelledDateSymbol:u,recurrenceSymbol:c,onCompletionSymbol:d,dueDateSymbol:f,dependsOnSymbol:p,idSymbol:b}=this.symbols;switch(n){case"description":return t.description;case"priority":{let v="";return t.priority==="0"?v=" "+i.Highest:t.priority==="1"?v=" "+i.High:t.priority==="2"?v=" "+i.Medium:t.priority==="4"?v=" "+i.Low:t.priority==="5"&&(v=" "+i.Lowest),v}case"startDate":return ja(e,s,t.startDate);case"createdDate":return ja(e,a,t.createdDate);case"scheduledDate":return t.scheduledDateIsInferred?"":ja(e,o,t.scheduledDate);case"doneDate":return ja(e,l,t.doneDate);case"cancelledDate":return ja(e,u,t.cancelledDate);case"dueDate":return ja(e,f,t.dueDate);case"recurrenceRule":return t.recurrence?td(e,c,t.recurrence.toText()):"";case"onCompletion":return t.onCompletion===""?"":td(e,d,t.onCompletion);case"dependsOn":return t.dependsOn.length===0?"":td(e,p,t.dependsOn.join(","));case"id":return td(e,b,t.id);case"blockLink":return(T=t.blockLink)!=null?T:"";default:throw new Error(`Don't know how to render task component of type '${n}'`)}}parsePriority(t){let{prioritySymbols:e}=this.symbols;switch(t){case e.Lowest:return"5";case e.Low:return"4";case e.Medium:return"2";case e.High:return"1";case e.Highest:return"0";default:return"3"}}deserialize(t){let{TaskFormatRegularExpressions:e}=this.symbols,n,i="3",s=null,a=null,o=null,l=null,u=null,c=null,d="",f=null,p="",b="",T=[],v="",O=20,E=0;do{n=!1;let P=t.match(e.priorityRegex);P!==null&&(i=this.parsePriority(P[1]),t=t.replace(e.priorityRegex,"").trim(),n=!0);let Y=t.match(e.doneDateRegex);Y!==null&&(l=window.moment(Y[1],fe.dateFormat),t=t.replace(e.doneDateRegex,"").trim(),n=!0);let j=t.match(e.cancelledDateRegex);j!==null&&(u=window.moment(j[1],fe.dateFormat),t=t.replace(e.cancelledDateRegex,"").trim(),n=!0);let ae=t.match(e.dueDateRegex);ae!==null&&(o=window.moment(ae[1],fe.dateFormat),t=t.replace(e.dueDateRegex,"").trim(),n=!0);let H=t.match(e.scheduledDateRegex);H!==null&&(a=window.moment(H[1],fe.dateFormat),t=t.replace(e.scheduledDateRegex,"").trim(),n=!0);let J=t.match(e.startDateRegex);J!==null&&(s=window.moment(J[1],fe.dateFormat),t=t.replace(e.startDateRegex,"").trim(),n=!0);let ye=t.match(e.createdDateRegex);ye!==null&&(c=window.moment(ye[1],fe.dateFormat),t=t.replace(e.createdDateRegex,"").trim(),n=!0);let we=t.match(e.recurrenceRegex);we!==null&&(d=we[1].trim(),t=t.replace(e.recurrenceRegex,"").trim(),n=!0);let V=t.match(e.onCompletionRegex);if(V!=null){t=t.replace(e.onCompletionRegex,"").trim();let q=V[1];p=WS(q),n=!0}let K=t.match(fe.hashTagsFromEnd);if(K!=null){t=t.replace(fe.hashTagsFromEnd,"").trim(),n=!0;let q=K[0].trim();v=v.length>0?[q,v].join(" "):q}let R=t.match(e.idRegex);R!=null&&(t=t.replace(e.idRegex,"").trim(),b=R[1].trim(),n=!0);let ee=t.match(e.dependsOnRegex);ee!=null&&(t=t.replace(e.dependsOnRegex,"").trim(),T=ee[1].replace(/ /g,"").split(",").filter(q=>q!==""),n=!0),E++}while(n&&E<=O);return d.length>0&&(f=Dt.fromText({recurrenceRuleText:d,occurrence:new Xn({startDate:s,scheduledDate:a,dueDate:o})})),v.length>0&&(t+=" "+v),{description:t,priority:i,startDate:s,createdDate:c,scheduledDate:a,dueDate:o,doneDate:l,cancelledDate:u,recurrence:f,onCompletion:p,id:b,dependsOn:T,tags:pe.extractHashtags(t)}}}});function au(r){let t="",e=!0;for(;e;)t=Math.random().toString(36).substring(2,6+2),r.includes(t)||(e=!1);return t}function rd(r,t){return r.id!==""?r:new pe(de(F({},r),{id:au(t)}))}function HS(r,t){let e=r;if(!r.dependsOn.includes(t.id)){let n=[...r.dependsOn,t.id];e=new pe(de(F({},r),{dependsOn:n}))}return e}function GS(r,t){let e=r;if(r.dependsOn.includes(t.id)){let n=r.dependsOn.filter(i=>i!==t.id);e=new pe(de(F({},r),{dependsOn:n}))}return e}var id=Z(()=>{"use strict";Nt()});function Vi(r){return r.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")}var ou=Z(()=>{"use strict"});var zi,Ne,pn=Z(()=>{"use strict";ou();zi=class{constructor(){this._globalFilter="";this._removeGlobalFilter=!1}static getInstance(){return zi.instance||(zi.instance=new zi),zi.instance}get(){return this._globalFilter}set(t){this._globalFilter=t}reset(){this.set(zi.empty)}isEmpty(){return this.get()===zi.empty}equals(t){return this.get()===t}includedIn(t){let e=this.get();return t.includes(e)}prependTo(t){return this.get()+" "+t}removeAsWordFromDependingOnSettings(t){return this.getRemoveGlobalFilter()?this.removeAsWordFrom(t):t}getRemoveGlobalFilter(){return this._removeGlobalFilter}setRemoveGlobalFilter(t){this._removeGlobalFilter=t}removeAsWordFrom(t){if(this.isEmpty())return t;let e=RegExp("(^|\\s)"+Vi(this.get())+"($|\\s)","ug");return t.search(e)>-1&&(t=t.replace(e,"$1$2").replace(" "," ").trim()),t}removeAsSubstringFrom(t){let e=this.get();return t.replace(e,"").trim()}},Ne=zi;Ne.empty=""});function $s(r){return Ne.getInstance().removeAsWordFrom(r.description)}function k2(r,t){if(r==="")return t;let e=(0,VS.prepareSimpleSearch)(r),n=-4;return t.map(a=>{let o=e($s(a));return o&&o.score>n?{item:a,match:o}:null}).filter(Boolean).sort((a,o)=>o.match.score-a.match.score).map(a=>a.item)}function sd(r,t,e,n,i){let s=k2(r,t);return s=s.filter(a=>!(a.isDone||a.description.includes("<%")&&a.description.includes("%>")||a.description===(e==null?void 0:e.description)&&a.taskLocation.path===(e==null?void 0:e.taskLocation.path)&&a.originalMarkdown===(e==null?void 0:e.originalMarkdown)||(n==null?void 0:n.includes(a))||(i==null?void 0:i.includes(a)))),e&&s.sort((a,o)=>{let l=a.taskLocation.path===e.taskLocation.path,u=o.taskLocation.path===e.taskLocation.path;return l&&u?Math.abs(a.taskLocation.lineNumber-e.taskLocation.lineNumber)-Math.abs(o.taskLocation.lineNumber-e.taskLocation.lineNumber):l?-1:u?1:0}),s.slice(0,w2)}var VS,w2,ay=Z(()=>{"use strict";VS=require("obsidian");pn();w2=20});function zS(r){return globalThis.SHOW_DEPENDENCY_SUGGESTIONS&&r}function ly(r,t,e){let n=[r.startDateSymbol,r.scheduledDateSymbol,r.dueDateSymbol].join("|");return(i,s,a,o,l,u)=>{let c=[],{postfix:d,insertSkip:f}=D2(e,i,s),p={line:i,cursorPos:s,settings:a,dataviewMode:e,postfix:d,insertSkip:f};return c=c.concat(M2(n,t,p)),c=c.concat(A2(r.recurrenceSymbol,p)),zS(l)&&(c=c.concat(N2(r.idSymbol,o,p)),c=c.concat(I2(r.dependsOnSymbol,o,p,u))),c=c.concat(P2(r.onCompletionSymbol,t,p)),c=c.concat(E2(r,l,p)),c.length>0&&!c.some(b=>b.suggestionType==="match")&&(e||c.unshift({suggestionType:"empty",displayText:"\u23CE",appendText:`
`})),c=c.slice(0,a.autoSuggestMaxItems),c}}function D2(r,t,e){let n=L2(t.substring(0,e),[["(",")"],["[","]"]])=="("?")":"]",i=r?n+" ":" ",s=r&&t.length>e&&t.charAt(e)===n?1:0;return{postfix:i,insertSkip:s}}function E2(r,t,e){let n=[],i=e.line;Ws(n,i,r.dueDateSymbol,"due date"),Ws(n,i,r.startDateSymbol,"start date"),Ws(n,i,r.scheduledDateSymbol,"scheduled date"),x2(n,r,e),Ws(n,i,r.recurrenceSymbol,"recurring (repeat)"),O2(n,r,e),zS(t)&&(Ws(n,i,r.idSymbol,"id"),Ws(n,i,r.dependsOnSymbol,"depends on id")),Ws(n,i,r.onCompletionSymbol,"on completion");let s=R2(n,e);return s.length===0&&e.settings.autoSuggestMinMatch===0?n:s}function Ws(r,t,e,n){t.includes(e)||r.push({displayText:`${e} ${n}`,appendText:`${e} `})}function x2(r,t,e){if(!(i=>Object.values(t.prioritySymbols).some(s=>s.length>0&&i.includes(s)))(e.line)){let i=t.prioritySymbols,s=["High","Medium","Low","Highest","Lowest"];for(let a of s){let o=i[a];r.push({displayText:e.dataviewMode?`${o} priority`:`${o} ${a.toLowerCase()} priority`,appendText:`${o}${e.postfix}`,insertSkip:e.dataviewMode?e.insertSkip:void 0})}}}function O2(r,t,e){if(!e.line.includes(t.createdDateSymbol)){let i=On.parseDate("today",!0).format(fe.dateFormat);r.push({textToMatch:`${t.createdDateSymbol} created`,displayText:`${t.createdDateSymbol} created today (${i})`,appendText:`${t.createdDateSymbol} ${i}`+e.postfix,insertSkip:e.dataviewMode?e.insertSkip:void 0})}}function R2(r,t){let e=Ga(/([a-zA-Z'_-]*)/g,t),n=[];if(e&&e.length>0){let i=e[0];if(i.length>=Math.max(1,t.settings.autoSuggestMinMatch)){let s=r.filter(a=>{var l;return((l=a.textToMatch)!=null?l:a.displayText).toLowerCase().includes(i.toLowerCase())});for(let a of s){let o=t.dataviewMode&&(a.displayText.includes("priority")||a.displayText.includes("created"))?i.length+t.insertSkip:i.length;n.push({suggestionType:"match",displayText:a.displayText,appendText:a.appendText,insertAt:e.index,insertSkip:o})}}}return n}function KS(r,t){let e=`${t}`,n=`${r} ${t}`;return{displayText:e,appendText:n}}function C2(r,t){let n=`${On.parseDate(t,!0).format(fe.dateFormat)}`,i=`${t} (${n})`,s=`${r} ${n}`;return{displayText:i,appendText:s}}function M2(r,t,e){let n=["today","tomorrow","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","next week","next month","next year"],i=[],s=new RegExp(`(${r})\\s*([0-9a-zA-Z ]*)`,"ug"),a=Ga(s,e);if(a&&a.length>=2){let o=a[2];if(o.length<e.settings.autoSuggestMinMatch)return[];let l=o&&o.length>1?On.parseDate(Yc(o),!0):null;if(l!=null&&l.isValid()){let c=l.format(fe.dateFormat);ad(e,a,[c],KS,i)}let u=uy(n,o,t,!0);ad(e,a,u,C2,i)}return i}function A2(r,t){var a;let e=["every","every day","every week","every month","every month on the","every year","every week on Sunday","every week on Monday","every week on Tuesday","every week on Wednesday","every week on Thursday","every week on Friday","every week on Saturday"],n=[],i=new RegExp(`(${r})\\s*([0-9a-zA-Z ]*)`,"ug"),s=Ga(i,t);if(s&&s.length>=2){let o=s[1],l=s[2];if(l.length<t.settings.autoSuggestMinMatch)return[];if(l.length>0){let f=(a=Dt.fromText({recurrenceRuleText:l,occurrence:new Xn({startDate:null,scheduledDate:null,dueDate:null})}))==null?void 0:a.toText();if(f){let p=`${o} ${f}`+t.postfix;if(n.push({suggestionType:"match",displayText:`\u2705 ${f}`,appendText:p,insertAt:s.index,insertSkip:cy(s[0],t)}),s[0]==p)return[]}}let u=t.settings.autoSuggestMaxItems/2,c=uy(e,l,u,!1);c.length===0&&l.trim().length===0&&(c=e.slice(0,u)),ad(t,s,c,(f,p)=>{let b=`${p}`,T=`${f} ${p}`;return{displayText:b,appendText:T}},n)}return n}function P2(r,t,e){let n=["delete","keep"],i=[],s=new RegExp(`(${r})\\s*([0-9a-zA-Z ]*)`,"ug"),a=Ga(s,e);if(a&&a.length>=2){let o=a[2];if(o.length<e.settings.autoSuggestMinMatch)return[];let l=uy(n,o,t,!0);ad(e,a,l,KS,i)}return i}function N2(r,t,e){let n=[],i=new RegExp(`(${r})\\s*(${Us.source})?`,"ug"),s=Ga(i,e);if(s&&s[0].trim().length<=r.length){let a=au(t.map(o=>o.id));n.push({suggestionType:"match",displayText:"generate unique id",appendText:`${r} ${a}`+e.postfix,insertAt:s.index,insertSkip:cy(s[0],e)})}return n}function I2(r,t,e,n){let i=[],s=e.dataviewMode?Vi("()[]"):jS(),a=new RegExp(`(${r})([0-9a-zA-Z-_ ^,]*,)*([^,${s}]*)`,"ug"),o=Ga(a,e);if(o&&o.length>=1){let l=o[2]||"",u=o[3],c=[];if(l){let d=l.split(",").map(f=>f.trim());c=t.filter(f=>f.id&&d.includes(f.id))}if(u.length>=e.settings.autoSuggestMinMatch){let d=sd(u.trim(),t,n,[],c);for(let f of d)i.push({suggestionType:"match",displayText:`${f.descriptionWithoutTags} - From: ${f.filename}.md`,appendText:`${r}${l}`,insertAt:o.index,insertSkip:r.length+l.length+u.length,taskItDependsOn:f})}}return i}function uy(r,t,e,n){let s=r.filter(a=>t&&t.length>=1&&a.toLowerCase().includes(t.toLowerCase())).slice(0,e);return n&&s.length===0&&(s=r.slice(0,e)),s}function ad(r,t,e,n,i){let s=t[1];for(let a of e){let{displayText:o,appendText:l}=n(s,a);i.push({suggestionType:"match",displayText:o,appendText:l+r.postfix,insertAt:t.index,insertSkip:cy(t[0],r)})}}function Ga(r,t){let e=t.line.matchAll(r),n=t.cursorPos;for(let i of e)if((i==null?void 0:i.index)&&i.index<n&&n<=i.index+i[0].length)return i}function F2(r,t){if(t.length===0)return!1;let e=Object.fromEntries(t.map(([i,s])=>[i,0])),n=Object.fromEntries(t.map(([i,s])=>[s,i]));for(let i of r)i in e?e[i]++:i in n&&(e[n[i]]=Math.max(0,e[n[i]]-1));return Object.values(e).some(i=>i>0)}function L2(r,t){if(t.length===0)return null;let e=Object.fromEntries(t.map(([s,a])=>[s,0])),n=Object.fromEntries(t.map(([s,a])=>[a,s])),i=[];for(let s=0;s<r.length;s++){let a=r[s];if(a in e)e[a]++,i.push({bracket:a,idx:s});else if(a in n){if(e[n[a]]>=1){for(let o=i.length-1;o>=0;o--)if(i[o].bracket==n[a]){i.splice(o,1);break}}e[n[a]]=Math.max(0,e[n[a]]-1)}}return i.length>0?i[i.length-1].bracket:null}function QS(r,t){return(e,n,i,s,a)=>F2(e.slice(0,n),t)?r(e,n,i,s,a):[]}function ZS(r,t,e){let n=Ne.getInstance().includedIn(r),i=U2(e,t,n);return typeof i=="boolean"?i:n&&Y2(r,t.ch)}function U2(r,t,e){var n,i;return(i=(n=r==null?void 0:r.editorComponent)==null?void 0:n.showTasksPluginAutoSuggest)==null?void 0:i.call(n,t,r,e)}function Y2(r,t){if(r.length===0)return!1;let e=pe.extractTaskComponents(r);if(!e||e.status.type==="NON_TASK")return!1;let n=e.indentation+e.listMarker+" ["+e.status.symbol+"] ";return t>=n.length}function cy(r,t){return t.dataviewMode?r.length+t.insertSkip:r.length}var oy,S2,dy=Z(()=>{"use strict";$g();Wg();$c();Xc();su();Nt();id();pn();li();ay();ou();Mn();oy=5,S2=!0;globalThis.SHOW_DEPENDENCY_SUGGESTIONS=S2});var An,lu=Z(()=>{"use strict";Wa();An=class{static priorityNameUsingNone(t){let e="ERROR";switch(t){case"1":e="High";break;case"0":e="Highest";break;case"2":e="Medium";break;case"3":e="None";break;case"4":e="Low";break;case"5":e="Lowest";break}return e}static priorityNameUsingNormal(t){return An.priorityNameUsingNone(t).replace("None","Normal")}static priorityValue(t){switch(t.toLowerCase()){case"lowest":return"5";case"low":return"4";case"medium":return"2";case"high":return"1";case"highest":return"0";default:return"3"}}}});function Dr(r){let t=["(?:",/(?=[^\]]+\])\[/,"|",/(?=[^)]+\))\(/,")",/ */,r,/ */,/[)\]]/,/(?: *,)?/,/$/].map(e=>e instanceof RegExp?e.source:e).join("");return new RegExp(t,r.flags)}var fy,od,py=Z(()=>{"use strict";Ls();lu();su();fy={prioritySymbols:{Highest:"priority:: highest",High:"priority:: high",Medium:"priority:: medium",Low:"priority:: low",Lowest:"priority:: lowest",None:""},startDateSymbol:"start::",createdDateSymbol:"created::",scheduledDateSymbol:"scheduled::",dueDateSymbol:"due::",doneDateSymbol:"completion::",cancelledDateSymbol:"cancelled::",recurrenceSymbol:"repeat::",onCompletionSymbol:"onCompletion::",idSymbol:"id::",dependsOnSymbol:"dependsOn::",TaskFormatRegularExpressions:{priorityRegex:Dr(/priority:: *(highest|high|medium|low|lowest)/),startDateRegex:Dr(/start:: *(\d{4}-\d{2}-\d{2})/),createdDateRegex:Dr(/created:: *(\d{4}-\d{2}-\d{2})/),scheduledDateRegex:Dr(/scheduled:: *(\d{4}-\d{2}-\d{2})/),dueDateRegex:Dr(/due:: *(\d{4}-\d{2}-\d{2})/),doneDateRegex:Dr(/completion:: *(\d{4}-\d{2}-\d{2})/),cancelledDateRegex:Dr(/cancelled:: *(\d{4}-\d{2}-\d{2})/),recurrenceRegex:Dr(/repeat:: *([a-zA-Z0-9, !]+)/),onCompletionRegex:Dr(/onCompletion:: *([a-zA-Z]+)/),dependsOnRegex:Dr(new RegExp("dependsOn:: *("+sy.source+")")),idRegex:Dr(new RegExp("id:: *("+Us.source+")"))}},od=class extends Ys{constructor(){super(fy)}parsePriority(t){return An.priorityValue(t)}componentToString(t,e,n){let i=super.componentToString(t,e,n),s=["blockLink","description"];return i!==""&&!s.includes(n)?` [${i.trim()}]`:i}}});var nr,ge,Er=Z(()=>{"use strict";Mn();nr=class{get symbol(){return this.configuration.symbol}get name(){return this.configuration.name}get nextStatusSymbol(){return this.configuration.nextStatusSymbol}get nextSymbol(){return this.configuration.nextStatusSymbol}get availableAsCommand(){return this.configuration.availableAsCommand}get type(){return this.configuration.type}get typeGroupText(){let t=this.type,e;switch(t){case"IN_PROGRESS":e="1";break;case"TODO":e="2";break;case"DONE":e="3";break;case"CANCELLED":e="4";break;case"NON_TASK":e="5";break;case"EMPTY":e="6";break}return`%%${e}%%${t}`}constructor(t){this.configuration=t}static getTypeForUnknownSymbol(t){switch(t){case"x":case"X":return"DONE";case"/":return"IN_PROGRESS";case"-":return"CANCELLED";case"":return"EMPTY";case" ":default:return"TODO"}}static getTypeFromStatusTypeString(t){return Bt[t]||"TODO"}static createUnknownStatus(t){return new nr(new gt(t,"Unknown","x",!1,"TODO"))}static createFromImportedValue(t){let e=t[0],n=nr.getTypeFromStatusTypeString(t[3]);return new nr(new gt(e,t[1],t[2],!1,n))}isCompleted(){return this.type==="DONE"}isCancelled(){return this.type==="CANCELLED"}identicalTo(t){let e=["symbol","name","nextStatusSymbol","availableAsCommand","type"];for(let n of e)if(this[n]!==t[n])return!1;return!0}previewText(){let t="";return nr.tasksPluginCanCreateCommandsForStatuses()&&this.availableAsCommand&&(t=" Available as a command."),`- [${this.symbol}] => [${this.nextStatusSymbol}], name: '${this.name}', type: '${this.configuration.type}'.${t}`}static tasksPluginCanCreateCommandsForStatuses(){return!1}},ge=nr;ge.DONE=new nr(new gt("x","Done"," ",!0,"DONE")),ge.EMPTY=new nr(new gt("","EMPTY","",!0,"EMPTY")),ge.TODO=new nr(new gt(" ","Todo","x",!0,"TODO")),ge.CANCELLED=new nr(new gt("-","Cancelled"," ",!0,"CANCELLED")),ge.IN_PROGRESS=new nr(new gt("/","In Progress","x",!0,"IN_PROGRESS")),ge.NON_TASK=new nr(new gt("Q","Non-Task","A",!0,"NON_TASK"))});var XS=Z(()=>{"use strict";su()});function $2(r){let t=r,e=!1,n=r.split(`
`);n.length>1&&(t=n[0],e=!0);let i=50;return t.length>i&&(t=t.slice(0,i),e=!0),e&&(t+="..."),t}function eD(r,t){let e=`Cannot find preset "${r}" in the Tasks settings`;if(Object.keys(t).length===0)e+=`
You can define the instruction(s) for "${r}" in the Tasks settings.`;else{let i=Math.max(...Object.keys(t).map(a=>a.length));e+=`
The following presets are defined in the Tasks settings:
${Object.entries(t).sort(([a],[o])=>a.localeCompare(o)).map(([a,o])=>`${a.padEnd(i)}: ${$2(o)}`).join(`
`)}`}return e}var JS,my=Z(()=>{"use strict";JS={this_file:"path includes {{query.file.path}}",this_folder:"folder includes {{query.file.folder}}",this_folder_only:"filter by function task.file.folder === query.file.folder",this_root:"root includes {{query.file.root}}",hide_date_fields:`# Hide any values for all date fields
hide due date
hide scheduled date
hide start date
hide created date
hide done date
hide cancelled date`,hide_non_date_fields:`# Hide all the non-date fields, but not tags
hide id
hide depends on
hide recurrence rule
hide on completion
hide priority`,hide_query_elements:`# Hide postpone, edit and backinks
hide postpone button
hide edit button
hide backlinks`,hide_everything:`# Hide everything except description and any tags
preset hide_date_fields
preset hide_non_date_fields
preset hide_query_elements`}});var ld,tD=Z(()=>{"use strict";ld=class{constructor(t=!1,e=!1,n=!1){this.ignoreSortInstructions=t,this.showTaskHiddenData=e,this.recordTimings=n}}});var et,Ba=Z(()=>{"use strict";Er();et=class{constructor(){this.coreStatuses=[ge.TODO.configuration,ge.DONE.configuration],this.customStatuses=[ge.IN_PROGRESS.configuration,ge.CANCELLED.configuration]}static addStatus(t,e){t.push(e)}static replaceStatus(t,e,n){let i=this.findStatusIndex(e,t);return i<=-1?!1:(t.splice(i,1,n),!0)}static findStatusIndex(t,e){let n=new ge(t);return e.findIndex(i=>new ge(i).previewText()==n.previewText())}static deleteStatus(t,e){let n=this.findStatusIndex(e,t);return n<=-1?!1:(t.splice(n,1),!0)}static deleteAllCustomStatuses(t){t.customStatuses.splice(0)}static resetAllCustomStatuses(t){et.deleteAllCustomStatuses(t),new et().customStatuses.forEach(n=>{et.addStatus(t.customStatuses,n)})}static bulkAddStatusCollection(t,e){let n=[];return e.forEach(i=>{t.customStatuses.find(a=>a.symbol==i[0]&&a.name==i[1]&&a.nextStatusSymbol==i[2])?n.push(`The status ${i[1]} (${i[0]}) is already added.`):et.addStatus(t.customStatuses,ge.createFromImportedValue(i))}),n}static allStatuses(t){return t.coreStatuses.concat(t.customStatuses)}static applyToStatusRegistry(t,e){e.clearStatuses(),et.allStatuses(t).forEach(n=>{e.add(n)})}}});var rD,nD=Z(()=>{rD=[{index:9999,internalName:"INTERNAL_TESTING_ENABLED_BY_DEFAULT",displayName:"Test Item. Used to validate the Feature Framework.",description:"Description",enabledByDefault:!0,stable:!1}]});var ki,iD=Z(()=>{"use strict";nD();ki=class{constructor(t,e,n,i,s,a){this.internalName=t;this.index=e;this.description=n;this.displayName=i;this.enabledByDefault=s;this.stable=a}static get values(){let t=[];return rD.forEach(e=>{t=[...t,new ki(e.internalName,e.index,e.description,e.displayName,e.enabledByDefault,e.stable)]}),t}static get settingsFlags(){let t={};return ki.values.forEach(e=>{t[e.internalName]=e.enabledByDefault}),t}static fromString(t){for(let e of ki.values)if(t===e.internalName)return e;throw new RangeError(`Illegal argument passed to fromString(): ${t} does not correspond to any available Feature ${this.prototype.constructor.name}`)}}});function hy(r,t){for(let e in r)t[e]===void 0&&(t[e]=r[e])}function uu(){return xr[re().taskFormat]}function q2(r){let t=F({},r);return"includes"in t&&!("presets"in t)&&(t.presets=t.includes,delete t.includes),t}var xr,gy,Si,re,nt,qs,sD,Vt=Z(()=>{"use strict";dy();su();py();Mn();Er();XS();py();bs();my();tD();Ba();iD();xr={tasksPluginEmoji:{getDisplayName:()=>M.t("settings.format.displayName.tasksEmojiFormat"),taskSerializer:new Ys(iu),buildSuggestions:ly(iu,oy,!1)},dataview:{getDisplayName:()=>M.t("settings.format.displayName.dataview"),taskSerializer:new od,buildSuggestions:QS(ly(fy,oy,!0),[["(",")"],["[","]"]])}},gy={presets:JS,globalQuery:"",globalFilter:"",removeGlobalFilter:!1,taskFormat:"tasksPluginEmoji",setCreatedDate:!1,setDoneDate:!0,setCancelledDate:!0,autoSuggestInEditor:!0,autoSuggestMinMatch:0,autoSuggestMaxItems:20,provideAccessKeys:!0,useFilenameAsScheduledDate:!1,filenameAsScheduledDateFormat:"",filenameAsDateFolders:[],recurrenceOnNextLine:!1,removeScheduledDateOnRecurrence:!1,statusSettings:new et,features:ki.settingsFlags,generalSettings:{},headingOpened:{},debugSettings:new ld,loggingOptions:{minLevels:{"":"info",tasks:"info","tasks.Cache":"info","tasks.Events":"info","tasks.File":"info","tasks.Query":"info","tasks.Task":"info"}}},Si=F({},gy);re=()=>(hy(ki.settingsFlags,Si.features),hy(gy.loggingOptions.minLevels,Si.loggingOptions.minLevels),hy(gy.debugSettings,Si.debugSettings),Si.statusSettings.customStatuses.forEach((r,t,e)=>{var i,s;let n=ge.getTypeFromStatusTypeString(r.type);e[t]=new gt((i=r.symbol)!=null?i:" ",r.name,(s=r.nextStatusSymbol)!=null?s:"x",r.availableAsCommand,n)}),F({},Si)),nt=r=>{let t=q2(r);return Si=F(F({},Si),t),re()},qs=(r,t)=>(Si.generalSettings[r]=t,re()),sD=r=>{var t;return(t=Si.features[r])!=null?t:!1}});function ud(r){let e={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[r];return e!==void 0?e:r}function aD(r){let t=[...r],e="";return t.forEach(n=>{e+=ud(n)}),e}var oD=Z(()=>{"use strict"});var $e,Kr=Z(()=>{"use strict";oD();Er();Mn();$e=class{constructor(){this._registeredStatuses=[];this.addDefaultStatusTypes()}set(t){this.clearStatuses(),t.forEach(e=>{this.add(e)})}get registeredStatuses(){return this._registeredStatuses.filter(({symbol:t})=>t!==ge.EMPTY.symbol)}static getInstance(){return $e.instance||($e.instance=new $e),$e.instance}add(t){this.hasSymbol(t.symbol)||(t instanceof ge?this._registeredStatuses.push(t):this._registeredStatuses.push(new ge(t)))}bySymbol(t){return this.hasSymbol(t)?this.getSymbol(t):ge.EMPTY}bySymbolOrCreate(t){return this.hasSymbol(t)?this.getSymbol(t):ge.createUnknownStatus(t)}byName(t){return this._registeredStatuses.filter(({name:e})=>e===t).length>0?this._registeredStatuses.filter(({name:e})=>e===t)[0]:ge.EMPTY}resetToDefaultStatuses(){this.clearStatuses(),this.addDefaultStatusTypes()}clearStatuses(){this._registeredStatuses=[]}getNextStatus(t){if(t.nextStatusSymbol!==""){let e=this.bySymbol(t.nextStatusSymbol);if(e!==null)return e}return ge.EMPTY}getNextStatusOrCreate(t){let e=this.getNextStatus(t);return e.type!=="EMPTY"?e:ge.createUnknownStatus(t.nextStatusSymbol)}getNextRecurrenceStatusOrCreate(t){let e=this.getNextStatusOrCreate(t),n=this.getNextRecurrenceStatusOfType(e,"TODO");if(n)return n;let i=this.getNextRecurrenceStatusOfType(e,"IN_PROGRESS");return i||this.bySymbolOrCreate(" ")}getNextRecurrenceStatusOfType(t,e){if(t.type===e)return t;let n=t;for(let i=0;i<this.registeredStatuses.length-1;i++)if(n=this.getNextStatusOrCreate(n),n.type===e)return n}findUnknownStatuses(t){let e=t.filter(s=>!this.hasSymbol(s.symbol)),n=new $e,i=[];return e.forEach(s=>{if(n.hasSymbol(s.symbol))return;let a=$e.copyStatusWithNewName(s,`Unknown (${s.symbol})`);i.push(a),n.add(a)}),i.sort((s,a)=>s.symbol.localeCompare(a.symbol,void 0,{numeric:!0}))}static copyStatusWithNewName(t,e){let n=new gt(t.symbol,e,t.nextStatusSymbol,t.availableAsCommand,t.type);return new ge(n)}getSymbol(t){return this._registeredStatuses.filter(({symbol:e})=>e===t)[0]}hasSymbol(t){return this._registeredStatuses.find(e=>e.symbol===t)!==void 0}addDefaultStatusTypes(){[ge.TODO,ge.IN_PROGRESS,ge.DONE,ge.CANCELLED].forEach(e=>{this.add(e)})}mermaidDiagram(t=!1){let e=this.registeredStatuses,n="mermaid",i=[],s=[];return e.forEach((a,o)=>{let l=this.getMermaidNodeLabel(a,t);i.push(`${o+1}${l}`);let u=this.getNextStatus(a);if(this.addEdgeIfNotToInternal(e,u,s,o,!1),a.type==="DONE"){let c=this.getNextRecurrenceStatusOrCreate(a);c.symbol!==u.symbol&&this.addEdgeIfNotToInternal(e,c,s,o,!0)}}),`
\`\`\`${n}
flowchart LR
classDef TODO stroke:#f33,stroke-width:3px;
classDef DONE stroke:#0c0,stroke-width:3px;
classDef IN_PROGRESS stroke:#fa0,stroke-width:3px;
classDef CANCELLED stroke:#ddd,stroke-width:3px;
classDef NON_TASK stroke:#99e,stroke-width:3px;
${i.join(`
`)}
${s.join(`
`)}
linkStyle default stroke:gray
\`\`\`
`}addEdgeIfNotToInternal(t,e,n,i,s){let a=t.findIndex(u=>u.symbol===e.symbol),o=a!==-1,l=e.type!=="EMPTY";if(o&&l){let u;s?u='-. "\u{1F501}" .-> ':u=" --> ";let c=`${i+1}${u}${a+1}`;n.push(c)}}getMermaidNodeLabel(t,e){let n=aD(t.name),i=t.type;if(e){let s=ud(t.symbol),a=ud(t.nextStatusSymbol),o=`[${s}] -> [${a}]`,l=`'${n}'`,u=`(${i})`;return`["${l}<br>${o}<br>${u}"]:::${i}`}else return`["${n}"]:::${i}`}}});var Qr,lD=Z(()=>{"use strict";Qr=class{constructor(t,e){this.name=t,this.sortOrder=e}get groupText(){return this.name!==""?`%%${this.sortOrder}%% ${this.name}`:""}}});var uD,It,cd=Z(()=>{"use strict";uD=require("obsidian");lD();li();It=class{constructor(t){this._date=null;this._date=t}get moment(){return this._date}formatAsDate(t=""){return this.format(fe.dateFormat,t)}formatAsDateAndTime(t=""){return this.format(fe.dateTimeFormat,t)}format(t,e=""){return this._date?this._date.format(t):e}toISOString(t){return this._date?this._date.toISOString(t):""}get category(){let t=window.moment(),e=this.moment;return e?e.isBefore(t,"day")?new Qr("Overdue",1):e.isSame(t,"day")?new Qr("Today",2):e.isValid()?new Qr("Future",3):new Qr("Invalid date",0):new Qr("Undated",4)}get fromNow(){let t=this.moment;if(!t)return new Qr("",0);let e=this.fromNowOrder(t);return new Qr(t.fromNow(),e)}fromNowOrder(t){if(!t.isValid())return 0;let e=window.moment(),n=t.isSameOrBefore(e,"day"),i=this.fromNowStartDateOfGroup(t,n,e);return Number((n?1:3)+i.format("YYYYMMDD"))}fromNowStartDateOfGroup(t,e,n){let i=t.fromNow(!0).split(" "),s,a=Number(i[0]);isNaN(a)?s=1:s=a;let o=i[1];return e?n.subtract(s,o):n.add(s,o)}postpone(t="days",e=1){if(!this._date)throw new uD.Notice("Cannot postpone a null date");let n=window.moment().startOf("day");return this._date.isSameOrAfter(n,"day")?this._date.clone().add(e,t):n.add(e,t)}}});var fD=x((cD,dD)=>{(function(r){var t=Object.hasOwnProperty,e=Array.isArray?Array.isArray:function(y){return Object.prototype.toString.call(y)==="[object Array]"},n=10,i=typeof process=="object"&&typeof process.nextTick=="function",s=typeof Symbol=="function",a=typeof Reflect=="object",o=typeof setImmediate=="function",l=o?setImmediate:setTimeout,u=s?a&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(m){var y=Object.getOwnPropertyNames(m);return y.push.apply(y,Object.getOwnPropertySymbols(m)),y}:Object.keys;function c(){this._events={},this._conf&&d.call(this,this._conf)}function d(m){m&&(this._conf=m,m.delimiter&&(this.delimiter=m.delimiter),m.maxListeners!==r&&(this._maxListeners=m.maxListeners),m.wildcard&&(this.wildcard=m.wildcard),m.newListener&&(this._newListener=m.newListener),m.removeListener&&(this._removeListener=m.removeListener),m.verboseMemoryLeak&&(this.verboseMemoryLeak=m.verboseMemoryLeak),m.ignoreErrors&&(this.ignoreErrors=m.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function f(m,y){var _="(node) warning: possible EventEmitter memory leak detected. "+m+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(_+=" Event name: "+y+"."),typeof process!="undefined"&&process.emitWarning){var w=new Error(_);w.name="MaxListenersExceededWarning",w.emitter=this,w.count=m,process.emitWarning(w)}else console.error(_),console.trace&&console.trace()}var p=function(m,y,_){var w=arguments.length;switch(w){case 0:return[];case 1:return[m];case 2:return[m,y];case 3:return[m,y,_];default:for(var S=new Array(w);w--;)S[w]=arguments[w];return S}};function b(m,y){for(var _={},w,S=m.length,C=y?y.length:0,L=0;L<S;L++)w=m[L],_[w]=L<C?y[L]:r;return _}function T(m,y,_){this._emitter=m,this._target=y,this._listeners={},this._listenersCount=0;var w,S;if((_.on||_.off)&&(w=_.on,S=_.off),y.addEventListener?(w=y.addEventListener,S=y.removeEventListener):y.addListener?(w=y.addListener,S=y.removeListener):y.on&&(w=y.on,S=y.off),!w&&!S)throw Error("target does not implement any known event API");if(typeof w!="function")throw TypeError("on method must be a function");if(typeof S!="function")throw TypeError("off method must be a function");this._on=w,this._off=S;var C=m._observers;C?C.push(this):m._observers=[this]}Object.assign(T.prototype,{subscribe:function(m,y,_){var w=this,S=this._target,C=this._emitter,L=this._listeners,$=function(){var D=p.apply(null,arguments),N={data:D,name:y,original:m};if(_){var W=_.call(S,N);W!==!1&&C.emit.apply(C,[N.name].concat(D));return}C.emit.apply(C,[y].concat(D))};if(L[m])throw Error("Event '"+m+"' is already listening");this._listenersCount++,C._newListener&&C._removeListener&&!w._onNewListener?(this._onNewListener=function(D){D===y&&L[m]===null&&(L[m]=$,w._on.call(S,m,$))},C.on("newListener",this._onNewListener),this._onRemoveListener=function(D){D===y&&!C.hasListeners(D)&&L[m]&&(L[m]=null,w._off.call(S,m,$))},L[m]=null,C.on("removeListener",this._onRemoveListener)):(L[m]=$,w._on.call(S,m,$))},unsubscribe:function(m){var y=this,_=this._listeners,w=this._emitter,S,C,L=this._off,$=this._target,D;if(m&&typeof m!="string")throw TypeError("event must be a string");function N(){y._onNewListener&&(w.off("newListener",y._onNewListener),w.off("removeListener",y._onRemoveListener),y._onNewListener=null,y._onRemoveListener=null);var W=ae.call(w,y);w._observers.splice(W,1)}if(m){if(S=_[m],!S)return;L.call($,m,S),delete _[m],--this._listenersCount||N()}else{for(C=u(_),D=C.length;D-- >0;)m=C[D],L.call($,m,_[m]);this._listeners={},this._listenersCount=0,N()}}});function v(m,y,_,w){var S=Object.assign({},y);if(!m)return S;if(typeof m!="object")throw TypeError("options must be an object");var C=Object.keys(m),L=C.length,$,D,N;function W(be){throw Error('Invalid "'+$+'" option value'+(be?". Reason: "+be:""))}for(var ce=0;ce<L;ce++){if($=C[ce],!w&&!t.call(y,$))throw Error('Unknown "'+$+'" option');D=m[$],D!==r&&(N=_[$],S[$]=N?N(D,W):D)}return S}function O(m,y){return(typeof m!="function"||!m.hasOwnProperty("prototype"))&&y("value must be a constructor"),m}function E(m){var y="value must be type of "+m.join("|"),_=m.length,w=m[0],S=m[1];return _===1?function(C,L){if(typeof C===w)return C;L(y)}:_===2?function(C,L){var $=typeof C;if($===w||$===S)return C;L(y)}:function(C,L){for(var $=typeof C,D=_;D-- >0;)if($===m[D])return C;L(y)}}var P=E(["function"]),Y=E(["object","function"]);function j(m,y,_){var w,S,C=0,L,$=new m(function(D,N,W){_=v(_,{timeout:0,overload:!1},{timeout:function(Ge,Le){return Ge*=1,(typeof Ge!="number"||Ge<0||!Number.isFinite(Ge))&&Le("timeout must be a positive number"),Ge}}),w=!_.overload&&typeof m.prototype.cancel=="function"&&typeof W=="function";function ce(){S&&(S=null),C&&(clearTimeout(C),C=0)}var be=function(Ge){ce(),D(Ge)},Oe=function(Ge){ce(),N(Ge)};w?y(be,Oe,W):(S=[function(Ge){Oe(Ge||Error("canceled"))}],y(be,Oe,function(Ge){if(L)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof Ge!="function")throw TypeError("onCancel callback must be a function");S.push(Ge)}),L=!0),_.timeout>0&&(C=setTimeout(function(){var Ge=Error("timeout");Ge.code="ETIMEDOUT",C=0,$.cancel(Ge),N(Ge)},_.timeout))});return w||($.cancel=function(D){if(!!S){for(var N=S.length,W=1;W<N;W++)S[W](D);S[0](D),S=null}}),$}function ae(m){var y=this._observers;if(!y)return-1;for(var _=y.length,w=0;w<_;w++)if(y[w]._target===m)return w;return-1}function H(m,y,_,w,S){if(!_)return null;if(w===0){var C=typeof y;if(C==="string"){var L,$,D=0,N=0,W=this.delimiter,ce=W.length;if(($=y.indexOf(W))!==-1){L=new Array(5);do L[D++]=y.slice(N,$),N=$+ce;while(($=y.indexOf(W,N))!==-1);L[D++]=y.slice(N),y=L,S=D}else y=[y],S=1}else C==="object"?S=y.length:(y=[y],S=1)}var be=null,Oe,Ge,Le,$t,mr,wn=y[w],te=y[w+1],Wt,st;if(w===S)_._listeners&&(typeof _._listeners=="function"?(m&&m.push(_._listeners),be=[_]):(m&&m.push.apply(m,_._listeners),be=[_]));else if(wn==="*"){for(Wt=u(_),$=Wt.length;$-- >0;)Oe=Wt[$],Oe!=="_listeners"&&(st=H(m,y,_[Oe],w+1,S),st&&(be?be.push.apply(be,st):be=st));return be}else if(wn==="**"){for(mr=w+1===S||w+2===S&&te==="*",mr&&_._listeners&&(be=H(m,y,_,S,S)),Wt=u(_),$=Wt.length;$-- >0;)Oe=Wt[$],Oe!=="_listeners"&&(Oe==="*"||Oe==="**"?(_[Oe]._listeners&&!mr&&(st=H(m,y,_[Oe],S,S),st&&(be?be.push.apply(be,st):be=st)),st=H(m,y,_[Oe],w,S)):Oe===te?st=H(m,y,_[Oe],w+2,S):st=H(m,y,_[Oe],w,S),st&&(be?be.push.apply(be,st):be=st));return be}else _[wn]&&(be=H(m,y,_[wn],w+1,S));if(Ge=_["*"],Ge&&H(m,y,Ge,w+1,S),Le=_["**"],Le)if(w<S)for(Le._listeners&&H(m,y,Le,S,S),Wt=u(Le),$=Wt.length;$-- >0;)Oe=Wt[$],Oe!=="_listeners"&&(Oe===te?H(m,y,Le[Oe],w+2,S):Oe===wn?H(m,y,Le[Oe],w+1,S):($t={},$t[Oe]=Le[Oe],H(m,y,{"**":$t},w+1,S)));else Le._listeners?H(m,y,Le,S,S):Le["*"]&&Le["*"]._listeners&&H(m,y,Le["*"],S,S);return be}function J(m,y,_){var w=0,S=0,C,L=this.delimiter,$=L.length,D;if(typeof m=="string")if((C=m.indexOf(L))!==-1){D=new Array(5);do D[w++]=m.slice(S,C),S=C+$;while((C=m.indexOf(L,S))!==-1);D[w++]=m.slice(S)}else D=[m],w=1;else D=m,w=m.length;if(w>1){for(C=0;C+1<w;C++)if(D[C]==="**"&&D[C+1]==="**")return}var N=this.listenerTree,W;for(C=0;C<w;C++)if(W=D[C],N=N[W]||(N[W]={}),C===w-1)return N._listeners?(typeof N._listeners=="function"&&(N._listeners=[N._listeners]),_?N._listeners.unshift(y):N._listeners.push(y),!N._listeners.warned&&this._maxListeners>0&&N._listeners.length>this._maxListeners&&(N._listeners.warned=!0,f.call(this,N._listeners.length,W))):N._listeners=y,!0;return!0}function ye(m,y,_,w){for(var S=u(m),C=S.length,L,$,D,N=m._listeners,W;C-- >0;)$=S[C],L=m[$],$==="_listeners"?D=_:D=_?_.concat($):[$],W=w||typeof $=="symbol",N&&y.push(W?D:D.join(this.delimiter)),typeof L=="object"&&ye.call(this,L,y,D,W);return y}function we(m){for(var y=u(m),_=y.length,w,S,C;_-- >0;)S=y[_],w=m[S],w&&(C=!0,S!=="_listeners"&&!we(w)&&delete m[S]);return C}function V(m,y,_){this.emitter=m,this.event=y,this.listener=_}V.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function K(m,y,_){if(_===!0)S=!0;else if(_===!1)w=!0;else{if(!_||typeof _!="object")throw TypeError("options should be an object or true");var w=_.async,S=_.promisify,C=_.nextTick,L=_.objectify}if(w||C||S){var $=y,D=y._origin||y;if(C&&!i)throw Error("process.nextTick is not supported");S===r&&(S=y.constructor.name==="AsyncFunction"),y=function(){var N=arguments,W=this,ce=this.event;return S?C?Promise.resolve():new Promise(function(be){l(be)}).then(function(){return W.event=ce,$.apply(W,N)}):(C?process.nextTick:l)(function(){W.event=ce,$.apply(W,N)})},y._async=!0,y._origin=D}return[y,L?new V(this,m,y):this]}function R(m){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,d.call(this,m)}R.EventEmitter2=R,R.prototype.listenTo=function(m,y,_){if(typeof m!="object")throw TypeError("target musts be an object");var w=this;_=v(_,{on:r,off:r,reducers:r},{on:P,off:P,reducers:Y});function S(C){if(typeof C!="object")throw TypeError("events must be an object");var L=_.reducers,$=ae.call(w,m),D;$===-1?D=new T(w,m,_):D=w._observers[$];for(var N=u(C),W=N.length,ce,be=typeof L=="function",Oe=0;Oe<W;Oe++)ce=N[Oe],D.subscribe(ce,C[ce]||ce,be?L:L&&L[ce])}return e(y)?S(b(y)):S(typeof y=="string"?b(y.split(/\s+/)):y),this},R.prototype.stopListeningTo=function(m,y){var _=this._observers;if(!_)return!1;var w=_.length,S,C=!1;if(m&&typeof m!="object")throw TypeError("target should be an object");for(;w-- >0;)S=_[w],(!m||S._target===m)&&(S.unsubscribe(y),C=!0);return C},R.prototype.delimiter=".",R.prototype.setMaxListeners=function(m){m!==r&&(this._maxListeners=m,this._conf||(this._conf={}),this._conf.maxListeners=m)},R.prototype.getMaxListeners=function(){return this._maxListeners},R.prototype.event="",R.prototype.once=function(m,y,_){return this._once(m,y,!1,_)},R.prototype.prependOnceListener=function(m,y,_){return this._once(m,y,!0,_)},R.prototype._once=function(m,y,_,w){return this._many(m,1,y,_,w)},R.prototype.many=function(m,y,_,w){return this._many(m,y,_,!1,w)},R.prototype.prependMany=function(m,y,_,w){return this._many(m,y,_,!0,w)},R.prototype._many=function(m,y,_,w,S){var C=this;if(typeof _!="function")throw new Error("many only accepts instances of Function");function L(){return--y===0&&C.off(m,L),_.apply(this,arguments)}return L._origin=_,this._on(m,L,w,S)},R.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var m=arguments[0],y,_=this.wildcard,w,S,C,L,$;if(m==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(_&&(y=m,m!=="newListener"&&m!=="removeListener"&&typeof m=="object")){if(S=m.length,s){for(C=0;C<S;C++)if(typeof m[C]=="symbol"){$=!0;break}}$||(m=m.join(this.delimiter))}var D=arguments.length,N;if(this._all&&this._all.length)for(N=this._all.slice(),C=0,S=N.length;C<S;C++)switch(this.event=m,D){case 1:N[C].call(this,m);break;case 2:N[C].call(this,m,arguments[1]);break;case 3:N[C].call(this,m,arguments[1],arguments[2]);break;default:N[C].apply(this,arguments)}if(_)N=[],H.call(this,N,y,this.listenerTree,0,S);else if(N=this._events[m],typeof N=="function"){switch(this.event=m,D){case 1:N.call(this);break;case 2:N.call(this,arguments[1]);break;case 3:N.call(this,arguments[1],arguments[2]);break;default:for(w=new Array(D-1),L=1;L<D;L++)w[L-1]=arguments[L];N.apply(this,w)}return!0}else N&&(N=N.slice());if(N&&N.length){if(D>3)for(w=new Array(D-1),L=1;L<D;L++)w[L-1]=arguments[L];for(C=0,S=N.length;C<S;C++)switch(this.event=m,D){case 1:N[C].call(this);break;case 2:N[C].call(this,arguments[1]);break;case 3:N[C].call(this,arguments[1],arguments[2]);break;default:N[C].apply(this,w)}return!0}else if(!this.ignoreErrors&&!this._all&&m==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},R.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var m=arguments[0],y=this.wildcard,_,w,S,C,L,$;if(m==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(y&&(_=m,m!=="newListener"&&m!=="removeListener"&&typeof m=="object")){if(C=m.length,s){for(L=0;L<C;L++)if(typeof m[L]=="symbol"){w=!0;break}}w||(m=m.join(this.delimiter))}var D=[],N=arguments.length,W;if(this._all)for(L=0,C=this._all.length;L<C;L++)switch(this.event=m,N){case 1:D.push(this._all[L].call(this,m));break;case 2:D.push(this._all[L].call(this,m,arguments[1]));break;case 3:D.push(this._all[L].call(this,m,arguments[1],arguments[2]));break;default:D.push(this._all[L].apply(this,arguments))}if(y?(W=[],H.call(this,W,_,this.listenerTree,0)):W=this._events[m],typeof W=="function")switch(this.event=m,N){case 1:D.push(W.call(this));break;case 2:D.push(W.call(this,arguments[1]));break;case 3:D.push(W.call(this,arguments[1],arguments[2]));break;default:for(S=new Array(N-1),$=1;$<N;$++)S[$-1]=arguments[$];D.push(W.apply(this,S))}else if(W&&W.length){if(W=W.slice(),N>3)for(S=new Array(N-1),$=1;$<N;$++)S[$-1]=arguments[$];for(L=0,C=W.length;L<C;L++)switch(this.event=m,N){case 1:D.push(W[L].call(this));break;case 2:D.push(W[L].call(this,arguments[1]));break;case 3:D.push(W[L].call(this,arguments[1],arguments[2]));break;default:D.push(W[L].apply(this,S))}}else if(!this.ignoreErrors&&!this._all&&m==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(D)},R.prototype.on=function(m,y,_){return this._on(m,y,!1,_)},R.prototype.prependListener=function(m,y,_){return this._on(m,y,!0,_)},R.prototype.onAny=function(m){return this._onAny(m,!1)},R.prototype.prependAny=function(m){return this._onAny(m,!0)},R.prototype.addListener=R.prototype.on,R.prototype._onAny=function(m,y){if(typeof m!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),y?this._all.unshift(m):this._all.push(m),this},R.prototype._on=function(m,y,_,w){if(typeof m=="function")return this._onAny(m,y),this;if(typeof y!="function")throw new Error("on only accepts instances of Function");this._events||c.call(this);var S=this,C;return w!==r&&(C=K.call(this,m,y,w),y=C[0],S=C[1]),this._newListener&&this.emit("newListener",m,y),this.wildcard?(J.call(this,m,y,_),S):(this._events[m]?(typeof this._events[m]=="function"&&(this._events[m]=[this._events[m]]),_?this._events[m].unshift(y):this._events[m].push(y),!this._events[m].warned&&this._maxListeners>0&&this._events[m].length>this._maxListeners&&(this._events[m].warned=!0,f.call(this,this._events[m].length,m))):this._events[m]=y,S)},R.prototype.off=function(m,y){if(typeof y!="function")throw new Error("removeListener only takes instances of Function");var _,w=[];if(this.wildcard){var S=typeof m=="string"?m.split(this.delimiter):m.slice();if(w=H.call(this,null,S,this.listenerTree,0),!w)return this}else{if(!this._events[m])return this;_=this._events[m],w.push({_listeners:_})}for(var C=0;C<w.length;C++){var L=w[C];if(_=L._listeners,e(_)){for(var $=-1,D=0,N=_.length;D<N;D++)if(_[D]===y||_[D].listener&&_[D].listener===y||_[D]._origin&&_[D]._origin===y){$=D;break}if($<0)continue;return this.wildcard?L._listeners.splice($,1):this._events[m].splice($,1),_.length===0&&(this.wildcard?delete L._listeners:delete this._events[m]),this._removeListener&&this.emit("removeListener",m,y),this}else(_===y||_.listener&&_.listener===y||_._origin&&_._origin===y)&&(this.wildcard?delete L._listeners:delete this._events[m],this._removeListener&&this.emit("removeListener",m,y))}return this.listenerTree&&we(this.listenerTree),this},R.prototype.offAny=function(m){var y=0,_=0,w;if(m&&this._all&&this._all.length>0){for(w=this._all,y=0,_=w.length;y<_;y++)if(m===w[y])return w.splice(y,1),this._removeListener&&this.emit("removeListenerAny",m),this}else{if(w=this._all,this._removeListener)for(y=0,_=w.length;y<_;y++)this.emit("removeListenerAny",w[y]);this._all=[]}return this},R.prototype.removeListener=R.prototype.off,R.prototype.removeAllListeners=function(m){if(m===r)return!this._events||c.call(this),this;if(this.wildcard){var y=H.call(this,null,m,this.listenerTree,0),_,w;if(!y)return this;for(w=0;w<y.length;w++)_=y[w],_._listeners=null;this.listenerTree&&we(this.listenerTree)}else this._events&&(this._events[m]=null);return this},R.prototype.listeners=function(m){var y=this._events,_,w,S,C,L;if(m===r){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!y)return[];for(_=u(y),C=_.length,S=[];C-- >0;)w=y[_[C]],typeof w=="function"?S.push(w):S.push.apply(S,w);return S}else{if(this.wildcard){if(L=this.listenerTree,!L)return[];var $=[],D=typeof m=="string"?m.split(this.delimiter):m.slice();return H.call(this,$,D,L,0),$}return y?(w=y[m],w?typeof w=="function"?[w]:w:[]):[]}},R.prototype.eventNames=function(m){var y=this._events;return this.wildcard?ye.call(this,this.listenerTree,[],null,m):y?u(y):[]},R.prototype.listenerCount=function(m){return this.listeners(m).length},R.prototype.hasListeners=function(m){if(this.wildcard){var y=[],_=typeof m=="string"?m.split(this.delimiter):m.slice();return H.call(this,y,_,this.listenerTree,0),y.length>0}var w=this._events,S=this._all;return!!(S&&S.length||w&&(m===r?u(w).length:w[m]))},R.prototype.listenersAny=function(){return this._all?this._all:[]},R.prototype.waitFor=function(m,y){var _=this,w=typeof y;return w==="number"?y={timeout:y}:w==="function"&&(y={filter:y}),y=v(y,{timeout:0,filter:r,handleError:!1,Promise,overload:!1},{filter:P,Promise:O}),j(y.Promise,function(S,C,L){function $(){var D=y.filter;if(!(D&&!D.apply(_,arguments)))if(_.off(m,$),y.handleError){var N=arguments[0];N?C(N):S(p.apply(null,arguments).slice(1))}else S(p.apply(null,arguments))}L(function(){_.off(m,$)}),_._on(m,$,!1)},{timeout:y.timeout,overload:y.overload})};function ee(m,y,_){_=v(_,{Promise,timeout:0,overload:!1},{Promise:O});var w=_.Promise;return j(w,function(S,C,L){var $;if(typeof m.addEventListener=="function"){$=function(){S(p.apply(null,arguments))},L(function(){m.removeEventListener(y,$)}),m.addEventListener(y,$,{once:!0});return}var D=function(){N&&m.removeListener("error",N),S(p.apply(null,arguments))},N;y!=="error"&&(N=function(W){m.removeListener(y,D),C(W)},m.once("error",N)),L(function(){N&&m.removeListener("error",N),m.removeListener(y,D)}),m.once(y,D)},{timeout:_.timeout,overload:_.overload})}var q=R.prototype;if(Object.defineProperties(R,{defaultMaxListeners:{get:function(){return q._maxListeners},set:function(m){if(typeof m!="number"||m<0||Number.isNaN(m))throw TypeError("n must be a non-negative number");q._maxListeners=m},enumerable:!0},once:{value:ee,writable:!0,configurable:!0}}),Object.defineProperties(q,{_maxListeners:{value:n,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof define=="function"&&define.amd)define(function(){return R});else if(typeof cD=="object")dD.exports=R;else{var le=new Function("","return this")();le.EventEmitter2=R}})()});function Ty(r,t){let e=sn.getLogger("tasks");switch(r){case"trace":e.trace(t);break;case"debug":e.debug(t);break;case"info":e.info(t);break;case"warn":e.warn(t);break;case"error":e.error(t);break;default:break}}var j2,pD,yy,sn,by,js=Z(()=>{"use strict";j2=require("obsidian"),pD=Go(fD()),yy=class extends pD.EventEmitter2{constructor(){super(...arguments);this.options={minLevels:{"":"info",tasks:"info"}};this.consoleLoggerRegistered=!1;this.arrAvg=e=>e.reduce((n,i)=>n+i,0)/e.length}configure(e){return this.options=Object.assign({},this.options,e),this}getLogger(e){let n="none",i="";for(let s in this.options.minLevels)e.startsWith(s)&&s.length>=i.length&&(n=this.options.minLevels[s],i=s);return new by(this,e,n)}onLogEntry(e){return this.on("log",e),this}registerConsoleLogger(){return this.consoleLoggerRegistered?this:(this.onLogEntry(e=>{let n=`[${window.moment().format("YYYY-MM-DD-HH:mm:ss.SSS")}][${e.level}][${e.module}]`;switch(e.traceId&&(n+=`[${e.traceId}]`),n+=` ${e.message}`,e.objects===void 0&&(e.objects=""),e.level){case"trace":console.trace(n,e.objects);break;case"debug":console.debug(n,e.objects);break;case"info":console.info(n,e.objects);break;case"warn":console.warn(n,e.objects);break;case"error":console.error(n,e.objects);break;default:console.log(`{${e.level}} ${n}`,e.objects)}}),this.consoleLoggerRegistered=!0,this)}},sn=new yy,by=class{constructor(t,e,n){this.levels={trace:1,debug:2,info:3,warn:4,error:5};this.logManager=t,this.module=e,this.minLevel=this.levelToInt(n)}levelToInt(t){return t.toLowerCase()in this.levels?this.levels[t.toLowerCase()]:99}log(t,e,n){if(this.levelToInt(t)<this.minLevel)return;let s={level:t,module:this.module,message:e,objects:n,traceId:void 0};this.logManager.emit("log",s)}trace(t,e){this.log("trace",t,e)}debug(t,e){this.log("debug",t,e)}info(t,e){this.log("info",t,e)}warn(t,e){this.log("warn",t,e)}error(t,e){this.log("error",t,e)}logWithId(t,e,n,i){if(this.levelToInt(t)<this.minLevel)return;let a={level:t,module:this.module,message:n,objects:i,traceId:e};this.logManager.emit("log",a)}traceWithId(t,e,n){this.logWithId("trace",t,e,n)}debugWithId(t,e,n){this.logWithId("debug",t,e,n)}infoWithId(t,e,n){this.logWithId("info",t,e,n)}warnWithId(t,e,n){this.logWithId("warn",t,e,n)}errorWithId(t,e,n){this.logWithId("error",t,e,n)}}});function dd(r,t,e){r.debug(`${t}: task line number: ${e.taskLocation.lineNumber}. file path: "${e.path}"`),r.debug(`${t} original: ${e.originalMarkdown}`)}function fd(r,t,e){e.map((n,i)=>{r.debug(`${t} ==> ${i+1} : ${n.toFileLineString()}`)})}var vy=Z(()=>{"use strict"});var Ft,Ki=Z(()=>{"use strict";Vt();Nt();Ft=class{static fromPath(t){let{useFilenameAsScheduledDate:e,filenameAsDateFolders:n}=re();return!e||!this.matchesAnyFolder(n,t)?null:this.extractDateFromPath(t)}static matchesAnyFolder(t,e){return t.length===0?!0:t.some(n=>e.startsWith(n+"/"))}static extractDateFromPath(t){let e=Math.max(0,t.lastIndexOf("/")+1),n=t.lastIndexOf("."),i=t.substring(e,n),{filenameAsScheduledDateFormat:s}=re();if(s!==""){let o=window.moment(i,s,!0);if(o.isValid())return o}let a=/(\d{4})-(\d{2})-(\d{2})/.exec(i);if(a||(a=/(\d{4})(\d{2})(\d{2})/.exec(i)),a){let o=window.moment([parseInt(a[1]),parseInt(a[2])-1,parseInt(a[3])]);if(o.isValid())return o}return null}static canApplyFallback({startDate:t,scheduledDate:e,dueDate:n}){return t===null&&n===null&&e===null}static updateTaskPath(t,e,n){let i=t.scheduledDate,s=t.scheduledDateIsInferred;return n===null?s&&(s=!1,i=null):s?i=n:this.canApplyFallback(t)&&(i=n,s=!0),new pe(de(F({},t),{taskLocation:e,scheduledDate:i,scheduledDateIsInferred:s}))}static removeInferredStatusIfNeeded(t,e){let n=t.scheduledDateIsInferred?t.scheduledDate:null;return e.map(i=>(n!==null&&!n.isSame(i.scheduledDate,"day")&&(i=new pe(de(F({},i),{scheduledDateIsInferred:!1}))),i))}}});var Or,Di,mD=Z(()=>{"use strict";Or=class{static calculate(t){var n,i,s;let e=0;if((n=t.dueDate)!=null&&n.isValid()){let a=window.moment().startOf("day"),o=Math.round(a.diff(t.dueDate)/Or.milliSecondsPerDay),l;o>=7?l=1:o>=-14?l=(o+14)*.8/21+.2:l=.2,e+=l*Or.dueCoefficient}switch((i=t.scheduledDate)!=null&&i.isValid()&&window.moment().isSameOrAfter(t.scheduledDate)&&(e+=1*Or.scheduledCoefficient),(s=t.startDate)!=null&&s.isValid()&&window.moment().isBefore(t.startDate)&&(e+=1*Or.startedCoefficient),t.priority){case"0":e+=1.5*Or.priorityCoefficient;break;case"1":e+=1*Or.priorityCoefficient;break;case"2":e+=.65*Or.priorityCoefficient;break;case"3":e+=.325*Or.priorityCoefficient;break;case"5":e-=.3*Or.priorityCoefficient;break}return e}},Di=Or;Di.dueCoefficient=12,Di.scheduledCoefficient=5,Di.startedCoefficient=-3,Di.priorityCoefficient=6,Di.milliSecondsPerDay=1e3*60*60*24});var hD={};Nb(hD,{Task:()=>pe,isBlocked:()=>H2});function H2(r,t){if(r.dependsOn.length===0||r.isDone)return!1;for(let e of r.dependsOn)if(!!t.find(i=>i.id===e&&!i.isDone))return!0;return!1}var pe,Nt=Z(()=>{"use strict";Vt();pn();Kr();Ms();cd();Mn();lu();js();vy();Ki();pd();mD();li();ed();pe=class extends rr{constructor({status:e,description:n,taskLocation:i,indentation:s,listMarker:a,priority:o,createdDate:l,startDate:u,scheduledDate:c,dueDate:d,doneDate:f,cancelledDate:p,recurrence:b,onCompletion:T,dependsOn:v,id:O,blockLink:E,tags:P,originalMarkdown:Y,scheduledDateIsInferred:j,parent:ae=null}){super({originalMarkdown:Y,indentation:s,listMarker:a,statusCharacter:e.symbol,description:n,taskLocation:i,parent:ae});this._urgency=null;this.status=e,this.tags=P,this.priority=o,this.createdDate=l,this.startDate=u,this.scheduledDate=c,this.dueDate=d,this.doneDate=f,this.cancelledDate=p,this.recurrence=b,this.onCompletion=T,this.dependsOn=v,this.id=O,this.blockLink=E,this.scheduledDateIsInferred=j}static fromLine({line:e,taskLocation:n,fallbackDate:i}){let s=pe.extractTaskComponents(e);return s===null||!Ne.getInstance().includedIn(s.body)?null:pe.parseTaskSignifiers(e,n,i)}static parseTaskSignifiers(e,n,i){let s=pe.extractTaskComponents(e);if(s===null)return null;let{taskSerializer:a}=uu(),o=a.deserialize(s.body),l=!1;return Ft.canApplyFallback(o)&&i!==null&&(o.scheduledDate=i,l=!0),o.tags=o.tags.map(u=>u.trim()),o.tags=o.tags.filter(u=>!Ne.getInstance().equals(u)),new pe(de(F(F({},s),o),{taskLocation:n,originalMarkdown:e,scheduledDateIsInferred:l}))}static extractTaskComponents(e){let n=e.match(fe.taskRegex);if(n===null)return null;let i=n[1],s=n[2],a=n[3],o=$e.getInstance().bySymbolOrCreate(a),l=n[4].trim(),u=l.match(fe.blockLinkRegex),c=u!==null?u[0]:"";return c!==""&&(l=l.replace(fe.blockLinkRegex,"").trim()),{indentation:i,listMarker:s,status:o,body:l,blockLink:c}}toString(){return uu().taskSerializer.serialize(this)}toFileLineString(){return`${this.indentation}${this.listMarker} [${this.status.symbol}] ${this.toString()}`}toggle(){let e=sn.getLogger("tasks.Task"),n="toggle()";dd(e,n,this);let i=$e.getInstance().getNextStatusOrCreate(this.status),s=this.handleNewStatus(i);return fd(e,n,s),s}handleNewStatus(e,n=window.moment()){if(e.identicalTo(this.status))return[this];let{setDoneDate:i}=re(),s=this.newDate(e,"DONE",this.doneDate,i,n),{setCancelledDate:a}=re(),o=this.newDate(e,"CANCELLED",this.cancelledDate,a,n),l=new pe(de(F({},this),{status:e,doneDate:s,cancelledDate:o})),u=!e.isCompleted(),c=this.status.isCompleted(),d=this.recurrence===null;if(u||c||d)return[l];let{removeScheduledDateOnRecurrence:p}=re(),b=this.recurrence.next(n,p);return b===null?[l]:[this.createNextOccurrence(e,b),l]}newDate(e,n,i,s,a){let o=null;return e.type===n&&(this.status.type!==n?s&&(o=a):o=i),o}createNextOccurrence(e,n){let{setCreatedDate:i}=re(),s=null;i&&(s=window.moment());let a=null,o=null,u=$e.getInstance().getNextRecurrenceStatusOrCreate(e);return new pe(de(F(F({},this),n),{status:u,blockLink:"",id:"",dependsOn:[],createdDate:s,cancelledDate:a,doneDate:o}))}toggleWithRecurrenceInUsersOrder(){let e=this.toggle();return this.putRecurrenceInUsersOrder(e)}handleNewStatusWithRecurrenceInUsersOrder(e,n=window.moment()){sn.getLogger("tasks.Task").debug(`changed task ${this.taskLocation.path} ${this.taskLocation.lineNumber} ${this.originalMarkdown} status to '${e.symbol}'`);let s=this.handleNewStatus(e,n);return this.putRecurrenceInUsersOrder(s)}putRecurrenceInUsersOrder(e){let n=qS(this,e),{recurrenceOnNextLine:i}=re();return i?n.reverse():n}get isTask(){return!0}get isDone(){return this.status.type==="DONE"||this.status.type==="CANCELLED"||this.status.type==="NON_TASK"}isBlocked(e){if(this.dependsOn.length===0||this.isDone)return!1;for(let n of this.dependsOn)if(!!e.find(s=>s.id===n&&!s.isDone))return!0;return!1}isBlocking(e){return this.id===""||this.isDone?!1:e.some(n=>n.isDone?!1:n.dependsOn.includes(this.id))}get priorityNumber(){return Number.parseInt(this.priority)}get priorityNameGroupText(){let e=An.priorityNameUsingNormal(this.priority);return`%%${this.priority}%%${e} priority`}get descriptionWithoutTags(){return this.description.replace(fe.hashTags,"").trim()}get priorityName(){return An.priorityNameUsingNormal(this.priority)}get urgency(){return this._urgency===null&&(this._urgency=Di.calculate(this)),this._urgency}get cancelled(){return new It(this.cancelledDate)}get created(){return new It(this.createdDate)}get done(){return new It(this.doneDate)}get due(){return new It(this.dueDate)}get scheduled(){return new It(this.scheduledDate)}get start(){return new It(this.startDate)}get happensDates(){return Array.of(this.startDate,this.scheduledDate,this.dueDate)}get happens(){let e=this.happensDates,n=Array.from(e).sort(Zn);for(let i of n)if(i!=null&&i.isValid())return new It(i);return new It(null)}get isRecurring(){return this.recurrence!==null}get recurrenceRule(){return this.recurrence?this.recurrence.toText():""}get heading(){return this.precedingHeader}get hasHeading(){return this.precedingHeader!==null}getLinkText({isFilenameUnique:e}){let n;return e?n=this.filename:n="/"+this.path,n===null?null:(this.precedingHeader!==null&&this.precedingHeader!==n&&(n=n+" > "+this.precedingHeader),n)}identicalTo(e){var i,s;if(!super.identicalTo(e))return!1;let n=["priority","blockLink","scheduledDateIsInferred","id","dependsOn","onCompletion"];for(let a of n)if(((i=this[a])==null?void 0:i.toString())!==((s=e[a])==null?void 0:s.toString()))return!1;if(!this.status.identicalTo(e.status)||this.tags.length!==e.tags.length||!this.tags.every(function(a,o){return a===e.tags[o]}))return!1;n=pe.allDateFields();for(let a of n){let o=this[a],l=e[a];if(Zn(o,l)!==0)return!1}return this.recurrenceIdenticalTo(e)?this.file.rawFrontmatterIdenticalTo(e.file):!1}recurrenceIdenticalTo(e){let n=this.recurrence,i=e.recurrence;return!(n===null&&i!==null||n!==null&&i===null||n&&i&&!n.identicalTo(i))}static allDateFields(){return["createdDate","startDate","scheduledDate","dueDate","doneDate","cancelledDate"]}static extractHashtags(e){var n,i;return(i=(n=e.match(fe.hashTags))==null?void 0:n.map(s=>s.trim()))!=null?i:[]}}});var rr,pd=Z(()=>{"use strict";li();Gu();rr=class{constructor({originalMarkdown:t,indentation:e,listMarker:n,statusCharacter:i,description:s,parent:a,taskLocation:o}){this.children=[];this.indentation=e,this.listMarker=n,this.statusCharacter=i,this.description=s,this.originalMarkdown=t,this.parent=a,a!==null&&a.children.push(this),this.taskLocation=o}static fromListItemLine(t,e,n){var a;let i=RegExp(fe.nonTaskRegex).exec(t);if(!i)return null;let s=i[2];return s===void 0?null:new rr({originalMarkdown:t,indentation:i[1],listMarker:s,statusCharacter:(a=i[4])!=null?a:null,description:i[5].trim(),taskLocation:n,parent:e})}get root(){return this.parent===null?this:this.parent.root}get isRoot(){return this.parent===null}findClosestParentTask(){let t=this.parent;for(;t!==null;){let{Task:e}=(Nt(),Fb(hD));if(t instanceof e)return t;t=t.parent}return null}get isTask(){return!1}identicalTo(t){var n,i;if(this.constructor.name!==t.constructor.name)return!1;let e=["description","statusCharacter","indentation","listMarker"];for(let s of e)if(((n=this[s])==null?void 0:n.toString())!==((i=t[s])==null?void 0:i.toString()))return!1;return this.taskLocation.identicalTo(t.taskLocation)?rr.listsAreIdentical(this.children,t.children):!1}static listsAreIdentical(t,e){return t.length!==e.length?!1:t.every((n,i)=>n.identicalTo(e[i]))}get path(){return this.taskLocation.path}get file(){return this.taskLocation.tasksFile}get rawLinksInFileBody(){var t,e;return(e=(t=this.file.cachedMetadata)==null?void 0:t.links)!=null?e:[]}get outlinks(){return this.rawLinksInFileBody.filter(t=>t.position.start.line===this.lineNumber).map(t=>kn.getInstance().resolve(t,this.file.path))}get filename(){let t=this.path.match(/([^/]+)\.md$/);return t!==null?t[1]:null}get lineNumber(){return this.taskLocation.lineNumber}get sectionStart(){return this.taskLocation.sectionStart}get sectionIndex(){return this.taskLocation.sectionIndex}get precedingHeader(){return this.taskLocation.precedingHeader}checkOrUncheck(){if(this.statusCharacter===null)return this;let t=this.statusCharacter===" "?"x":" ",e=this.originalMarkdown.replace(RegExp(fe.checkboxRegex),`[${t}]`);return new rr(de(F({},this),{originalMarkdown:e,statusCharacter:t,parent:null}))}toFileLineString(){let t=this.statusCharacter?`[${this.statusCharacter}] `:"";return`${this.indentation}${this.listMarker} ${t}${this.description}`}}});var OE=x(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});var EE=Symbol("MustacheDataPath");function DE({target:r,propertyName:t}){return[...r[EE]||[],t]}function xE(r,t){return typeof r!="object"?r:new Proxy(r,{get(e,n){let i=e[n];if(i===void 0&&!(n in e)){let s=DE({target:e,propertyName:n});if(t!=null&&t.handleError)return t.handleError(s),i;throw Error(`Missing Mustache data property: ${s.join(" > ")}`)}return i&&typeof i=="object"?(i[EE]=DE({target:e,propertyName:n}),xE(i,t)):i}})}Zy.default=xE});var ni=x(Pr=>{"use strict";Pr.__esModule=!0;Pr.Tokens=Pr.StructuralCharacters=Pr.Operators=void 0;var _Y;(function(r){r.AND="AND",r.OR="OR",r.XOR="XOR",r.NOT="NOT"})(_Y=Pr.Operators||(Pr.Operators={}));var wY;(function(r){r.OPEN_PARENTHESIS="(",r.CLOSE_PARENTHESIS=")"})(wY=Pr.StructuralCharacters||(Pr.StructuralCharacters={}));var kY;(function(r){r.IDENTIFIER="IDENTIFIER",r.OPERATOR="OPERATOR",r.STRUCTURAL_CHARACTER="STRUCTURAL_CHARACTER",r.EOF="EOF",r.COMMENT="COMMENT"})(kY=Pr.Tokens||(Pr.Tokens={}))});var ib=x(mo=>{"use strict";mo.__esModule=!0;mo.VALID_TOKENS=mo.OPERATOR_PRECEDENCE=void 0;var it=ni();mo.OPERATOR_PRECEDENCE={NOT:0,XOR:1,AND:2,OR:3};mo.VALID_TOKENS={identifierOnly:[{name:it.Tokens.IDENTIFIER},{name:it.Tokens.STRUCTURAL_CHARACTER,value:it.StructuralCharacters.OPEN_PARENTHESIS}],identifierOrNot:[{name:it.Tokens.IDENTIFIER},{name:it.Tokens.STRUCTURAL_CHARACTER,value:it.StructuralCharacters.OPEN_PARENTHESIS},{name:it.Tokens.OPERATOR,value:it.Operators.NOT}],binaryOperator:[{name:it.Tokens.OPERATOR,value:it.Operators.AND},{name:it.Tokens.OPERATOR,value:it.Operators.OR},{name:it.Tokens.OPERATOR,value:it.Operators.XOR}],binaryOperatorOrClose:[{name:it.Tokens.OPERATOR,value:it.Operators.AND},{name:it.Tokens.OPERATOR,value:it.Operators.OR},{name:it.Tokens.OPERATOR,value:it.Operators.XOR},{name:it.Tokens.STRUCTURAL_CHARACTER,value:it.StructuralCharacters.CLOSE_PARENTHESIS}]}});var sb=x(Qt=>{"use strict";Qt.__esModule=!0;Qt.ESCAPE_CHARACTER=Qt.EOL=Qt.COMMENT_DELIMITER=Qt.QUOTED_IDENTIFIER_DELIMITER=Qt.SEPARATORS=Qt.OPERATORS=Qt.STRUCTURAL_CHARACTERS=void 0;var ho=ni();Qt.STRUCTURAL_CHARACTERS={"(":ho.StructuralCharacters.OPEN_PARENTHESIS,")":ho.StructuralCharacters.CLOSE_PARENTHESIS};Qt.OPERATORS={AND:ho.Operators.AND,OR:ho.Operators.OR,XOR:ho.Operators.XOR,NOT:ho.Operators.NOT};Qt.SEPARATORS=new Set([32,9,10,13].map(function(r){return String.fromCodePoint(r)}));Qt.QUOTED_IDENTIFIER_DELIMITER=String.fromCodePoint(34);Qt.COMMENT_DELIMITER=String.fromCodePoint(35);Qt.EOL=String.fromCodePoint(10);Qt.ESCAPE_CHARACTER=String.fromCodePoint(92)});var AE=x(dr=>{"use strict";var ab=dr&&dr.__assign||function(){return ab=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},ab.apply(this,arguments)};dr.__esModule=!0;dr.getQuotedIdentifier=dr.getComment=dr.createResult=void 0;var ME=ni(),ra=sb(),SY=function(r,t,e){return{token:ab({name:r},t!==null?{value:t}:{}),remainingString:e}};dr.createResult=SY;var DY=function(r){for(var t=r.length,e=0;e<r.length;e+=1){var n=r[e];if(n===ra.EOL){t=e;break}}return(0,dr.createResult)(ME.Tokens.COMMENT,r.slice(0,t),r.slice(t+1))};dr.getComment=DY;var EY=function(r){for(var t=!1,e="",n=null,i=0;i<r.length;i+=1){var s=r[i];if(n===null)s===ra.QUOTED_IDENTIFIER_DELIMITER?t?(e=e.slice(0,-1)+ra.QUOTED_IDENTIFIER_DELIMITER,t=!1):n=i:(s===ra.ESCAPE_CHARACTER?t=!0:t=!1,e=e+=s);else{if(!ra.SEPARATORS.has(s)&&!ra.STRUCTURAL_CHARACTERS[s])throw new Error("Unexpected character: ".concat(s," Expected ) character or separator"));break}}if(n===null)throw new Error("Unexpected end of expression: expected ".concat(ra.QUOTED_IDENTIFIER_DELIMITER," character"));return(0,dr.createResult)(ME.Tokens.IDENTIFIER,e,r.slice(n+1))};dr.getQuotedIdentifier=EY});var PE=x(qd=>{"use strict";qd.__esModule=!0;qd.lex=void 0;var go=ni(),Fn=sb(),yo=AE(),xY=function(r){for(var t=null,e=null,n=null,i=0;i<r.length;i+=1){var s=r[i];if(t===null){if(!Fn.SEPARATORS.has(s)){var a=Fn.STRUCTURAL_CHARACTERS[s];if(a){var o=r[i+1];if(a===go.StructuralCharacters.CLOSE_PARENTHESIS&&o&&!Fn.SEPARATORS.has(o)&&o!==go.StructuralCharacters.CLOSE_PARENTHESIS)throw new Error("Unexpected character: ".concat(o,". A closing parenthesis should be followed by another closing parenthesis or whitespace"));return(0,yo.createResult)(go.Tokens.STRUCTURAL_CHARACTER,Fn.STRUCTURAL_CHARACTERS[s],r.slice(i+1))}if(s===Fn.QUOTED_IDENTIFIER_DELIMITER)return(0,yo.getQuotedIdentifier)(r.slice(i+1));if(s===Fn.COMMENT_DELIMITER)return(0,yo.getComment)(r.slice(i+1));t=i}}else if(Fn.SEPARATORS.has(s)||Fn.STRUCTURAL_CHARACTERS[s]){e=i,n=s;break}else if(s===Fn.QUOTED_IDENTIFIER_DELIMITER||s===Fn.COMMENT_DELIMITER)throw new Error("Unexpected character: ".concat(s))}if(t!==null){e=e!=null?e:r.length;var l=r.slice(t,e),u=r.slice(e);if(Fn.OPERATORS[l]){if(n&&!Fn.SEPARATORS.has(n))throw new Error("Unexpected character: ".concat(n,". Operators should be separated using whitespace"));return(0,yo.createResult)(go.Tokens.OPERATOR,Fn.OPERATORS[l],u)}else return(0,yo.createResult)(go.Tokens.IDENTIFIER,l,u)}return(0,yo.createResult)(go.Tokens.EOF,null,"")};qd.lex=xY});var IE=x(Ln=>{"use strict";var NE=Ln&&Ln.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))};Ln.__esModule=!0;Ln.validateToken=Ln.previousOperatorTakesPrecedent=Ln.getValue=Ln.newTokenGenerator=void 0;var OY=PE(),bo=ni(),jd=ib(),RY=function(r){var t=r;return function(e,n){for(n===void 0&&(n=!1);;){var i=(0,OY.lex)(t),s=i.token,a=i.remainingString;if(t=a,s.name!==bo.Tokens.COMMENT)return(0,Ln.validateToken)(s,e,n),s}}};Ln.newTokenGenerator=RY;var CY=function(r,t){var e=r(jd.VALID_TOKENS.identifierOrNot),n=e.value===bo.Operators.NOT;n&&(e=r(jd.VALID_TOKENS.identifierOnly));var i=e.name===bo.Tokens.STRUCTURAL_CHARACTER?t(r,!0):[e];return n?NE(NE([],i,!0),[{name:bo.Tokens.OPERATOR,value:bo.Operators.NOT}],!1):i};Ln.getValue=CY;var MY=function(r,t){return jd.OPERATOR_PRECEDENCE[r]<=jd.OPERATOR_PRECEDENCE[t]};Ln.previousOperatorTakesPrecedent=MY;var AY=function(r,t,e){if(e===void 0&&(e=!1),r.name===bo.Tokens.EOF){if(e)return;throw new Error("Unexpected end of expression")}for(var n=0,i=t;n<i.length;n++){var s=i[n];if(s.name===r.name&&(!s.value||s.value===r.value))return}throw new TypeError("Invalid token")};Ln.validateToken=AY});var lb=x(To=>{"use strict";var ri=To&&To.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))};To.__esModule=!0;To.parse=void 0;var FE=ni(),LE=ib(),Hd=IE(),PY=function(r){if(typeof r!="string")throw new Error("Expected string but received ".concat(typeof r));var t=(0,Hd.newTokenGenerator)(r);return ob(t)};To.parse=PY;var ob=function(r,t){t===void 0&&(t=!1);for(var e=ri([],(0,Hd.getValue)(r,ob),!0),n=[];;){var i=t?LE.VALID_TOKENS.binaryOperatorOrClose:LE.VALID_TOKENS.binaryOperator,s=r(i,!t);if(s.name===FE.Tokens.EOF||s.name===FE.Tokens.STRUCTURAL_CHARACTER)return ri(ri([],e,!0),ri([],n,!0).reverse(),!0);for(;n.length;){var a=n[n.length-1]||null;if(a&&(0,Hd.previousOperatorTakesPrecedent)(a.value,s.value))e=ri(ri([],e,!0),[a],!1),n=n.slice(0,-1);else break}n=ri(ri([],n,!0),[s],!1),e=ri(ri([],e,!0),(0,Hd.getValue)(r,ob),!0)}}});var ub=x(Zt=>{"use strict";Zt.__esModule=!0;Zt.throwInvalidExpression=Zt.isOperator=Zt.isIdentifier=Zt.notUtil=Zt.xorUtil=Zt.orUtil=Zt.andUtil=void 0;var UE=ni(),NY=function(r,t){return r&&t};Zt.andUtil=NY;var IY=function(r,t){return r||t};Zt.orUtil=IY;var FY=function(r,t){return r!==t};Zt.xorUtil=FY;var LY=function(r){return!r};Zt.notUtil=LY;var UY=function(r){var t=r.name,e=r.value;return t===UE.Tokens.IDENTIFIER&&typeof e=="string"};Zt.isIdentifier=UY;var YY=function(r){var t=r.name,e=r.value;return t===UE.Tokens.OPERATOR&&typeof e=="string"};Zt.isOperator=YY;var $Y=function(r){throw new TypeError("Invalid postfix expression: ".concat(r))};Zt.throwInvalidExpression=$Y});var YE=x(Gd=>{"use strict";var Eu;Gd.__esModule=!0;Gd.OPERATOR_MAP=void 0;var cb=ni(),db=ub();Gd.OPERATOR_MAP=(Eu={},Eu[cb.Operators.AND]=db.andUtil,Eu[cb.Operators.OR]=db.orUtil,Eu[cb.Operators.XOR]=db.xorUtil,Eu)});var WE=x(fr=>{"use strict";var vo=fr&&fr.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))};fr.__esModule=!0;fr.evaluateExpression=fr.evaluate=fr.getEvaluator=void 0;var WY=lb(),$E=ni(),qY=YE(),ia=ub(),jY=function(r){var t=(0,WY.parse)(r);return function(e){return(0,fr.evaluate)(t,e)}};fr.getEvaluator=jY;var HY=function(r,t){if(!Array.isArray(r))throw new Error("".concat(r," should be an array. evaluate takes in a parsed expression. Use in combination with parse or use getEvaluator"));var e=r.reduce(function(n,i,s){if(!(i&&((0,ia.isIdentifier)(i)||(0,ia.isOperator)(i))))throw new Error("Invalid token: ".concat(i,". Found in parsed expression at index ").concat(s));if(i.name===$E.Tokens.IDENTIFIER)return vo(vo([],n,!0),[Boolean(t[i.value])],!1);var a=n[n.length-2],o=n[n.length-1];if(i.value===$E.Operators.NOT)return o===void 0&&(0,ia.throwInvalidExpression)("missing identifier"),vo(vo([],n.slice(0,-1),!0),[(0,ia.notUtil)(o)],!1);(o===void 0||a===void 0)&&(0,ia.throwInvalidExpression)("missing identifier");var l=qY.OPERATOR_MAP[i.value];return l||(0,ia.throwInvalidExpression)("unknown operator"),vo(vo([],n.slice(0,-2),!0),[l(a,o)],!1)},[]);return e.length!==1&&(0,ia.throwInvalidExpression)("too many identifiers after evaluation"),e[0]};fr.evaluate=HY;var GY=function(r,t){return(0,fr.getEvaluator)(r)(t)};fr.evaluateExpression=GY});var jE=x(ii=>{"use strict";var fb=ii&&ii.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e);var i=Object.getOwnPropertyDescriptor(t,e);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(r,n,i)}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]});ii.__esModule=!0;ii.parse=ii.evaluate=ii.getEvaluator=void 0;var qE=WE();fb(ii,qE,"getEvaluator");fb(ii,qE,"evaluate");var BY=lb();fb(ii,BY,"parse")});var p$={};Nb(p$,{default:()=>If});module.exports=Fb(p$);var Ff=require("obsidian");bs();var gD=require("obsidian"),za=require("obsidian");var H$=new Error("timeout while waiting for mutex to become available"),G$=new Error("mutex already locked"),bO=new Error("request for lock canceled"),TO=function(r,t,e,n){function i(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function o(c){try{u(n.next(c))}catch(d){a(d)}}function l(c){try{u(n.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((n=n.apply(r,t||[])).next())})},Kf=class{constructor(t,e=bO){this._value=t,this._cancelError=e,this._queue=[],this._weightedWaiters=[]}acquire(t=1,e=0){if(t<=0)throw new Error(`invalid weight ${t}: must be positive`);return new Promise((n,i)=>{let s={resolve:n,reject:i,weight:t,priority:e},a=uT(this._queue,o=>e<=o.priority);a===-1&&t<=this._value?this._dispatchItem(s):this._queue.splice(a+1,0,s)})}runExclusive(t){return TO(this,arguments,void 0,function*(e,n=1,i=0){let[s,a]=yield this.acquire(n,i);try{return yield e(s)}finally{a()}})}waitForUnlock(t=1,e=0){if(t<=0)throw new Error(`invalid weight ${t}: must be positive`);return this._couldLockImmediately(t,e)?Promise.resolve():new Promise(n=>{this._weightedWaiters[t-1]||(this._weightedWaiters[t-1]=[]),vO(this._weightedWaiters[t-1],{resolve:n,priority:e})})}isLocked(){return this._value<=0}getValue(){return this._value}setValue(t){this._value=t,this._dispatchQueue()}release(t=1){if(t<=0)throw new Error(`invalid weight ${t}: must be positive`);this._value+=t,this._dispatchQueue()}cancel(){this._queue.forEach(t=>t.reject(this._cancelError)),this._queue=[]}_dispatchQueue(){for(this._drainUnlockWaiters();this._queue.length>0&&this._queue[0].weight<=this._value;)this._dispatchItem(this._queue.shift()),this._drainUnlockWaiters()}_dispatchItem(t){let e=this._value;this._value-=t.weight,t.resolve([e,this._newReleaser(t.weight)])}_newReleaser(t){let e=!1;return()=>{e||(e=!0,this.release(t))}}_drainUnlockWaiters(){if(this._queue.length===0)for(let t=this._value;t>0;t--){let e=this._weightedWaiters[t-1];!e||(e.forEach(n=>n.resolve()),this._weightedWaiters[t-1]=[])}else{let t=this._queue[0].priority;for(let e=this._value;e>0;e--){let n=this._weightedWaiters[e-1];if(!n)continue;let i=n.findIndex(s=>s.priority<=t);(i===-1?n:n.splice(0,i)).forEach(s=>s.resolve())}}}_couldLockImmediately(t,e){return(this._queue.length===0||this._queue[0].priority<e)&&t<=this._value}};function vO(r,t){let e=uT(r,n=>t.priority<=n.priority);r.splice(e+1,0,t)}function uT(r,t){for(let e=r.length-1;e>=0;e--)if(t(r[e]))return e;return-1}var _O=function(r,t,e,n){function i(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function o(c){try{u(n.next(c))}catch(d){a(d)}}function l(c){try{u(n.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((n=n.apply(r,t||[])).next())})},ju=class{constructor(t){this._semaphore=new Kf(1,t)}acquire(){return _O(this,arguments,void 0,function*(t=0){let[,e]=yield this._semaphore.acquire(1,t);return e})}runExclusive(t,e=0){return this._semaphore.runExclusive(()=>t(),1,e)}isLocked(){return this._semaphore.isLocked()}waitForUnlock(t=0){return this._semaphore.waitForUnlock(1,t)}release(){this._semaphore.isLocked()&&this._semaphore.release()}cancel(){return this._semaphore.cancel()}};var Bu=require("obsidian");Gu();var mt=class{constructor(t,e={}){this._frontmatter={tags:[]};this._tags=[];this._outlinksInProperties=[];this._outlinksInBody=[];var i,s;this._path=t,this._cachedMetadata=e;let n=e.frontmatter;if(n!==void 0&&(this._frontmatter=JSON.parse(JSON.stringify(n)),this._frontmatter.tags=(i=(0,Bu.parseFrontMatterTags)(n))!=null?i:[]),this._outlinksInProperties=this.createLinks(this.cachedMetadata.frontmatterLinks),this._outlinksInBody=this.createLinks(this.cachedMetadata.links),Object.keys(e).length!==0){let a=(s=(0,Bu.getAllTags)(this.cachedMetadata))!=null?s:[];this._tags=[...new Set(a)]}}createLinks(t){var e;return(e=t==null?void 0:t.map(n=>kn.getInstance().resolve(n,this.path)))!=null?e:[]}get path(){return this._path}get tags(){return this._tags}get outlinks(){return[...this.outlinksInProperties,...this.outlinksInBody]}get outlinksInProperties(){return this._outlinksInProperties}get outlinksInBody(){return this._outlinksInBody}get cachedMetadata(){return this._cachedMetadata}get frontmatter(){return this._frontmatter}rawFrontmatterIdenticalTo(t){let e=this.cachedMetadata.frontmatter,n=t.cachedMetadata.frontmatter;return e===n?!0:!e||!n?!1:JSON.stringify(e)===JSON.stringify(n)}get pathWithoutExtension(){return this.withoutExtension(this.path)}withoutExtension(t){return t.replace(/\.md$/,"")}get root(){let t=this.path.replace(/\\/g,"/");t.charAt(0)==="/"&&(t=t.substring(1));let e=t.indexOf("/");return e==-1?"/":t.substring(0,e+1)}get folder(){let t=this.path,e=this.filename,n=t.substring(0,t.lastIndexOf(e));return n===""?"/":n}get filename(){let t=this.path.match(/([^/]+)$/);return t!==null?t[1]:""}get filenameWithoutExtension(){return this.withoutExtension(this.filename)}hasProperty(t){let e=this.findKeyInFrontmatter(t);if(e===void 0)return!1;let n=this.frontmatter[e];return!(n===null||n===void 0)}property(t){let e=this.findKeyInFrontmatter(t);if(e===void 0)return null;let n=this.frontmatter[e];return n===void 0?null:Array.isArray(n)?n.filter(i=>i!==null):n}findKeyInFrontmatter(t){let e=t.toLowerCase();return Object.keys(this.frontmatter).find(n=>n.toLowerCase()===e)}identicalTo(t){return this.path!==t.path?!1:this.rawFrontmatterIdenticalTo(t)}};pd();Nt();Ki();Vt();var Va=class{constructor(t){this.fetch=t;this._value=void 0}get value(){return this._value===void 0&&(this._value=this.fetch()),this._value}};js();Nt();Ki();pd();var Lt=class{constructor(t,e,n,i,s){this._tasksFile=t,this._lineNumber=e,this._sectionStart=n,this._sectionIndex=i,this._precedingHeader=s}static fromUnknownPosition(t){return new Lt(t,0,0,0,null)}fromRenamedFile(t){return new Lt(t,this.lineNumber,this.sectionStart,this.sectionIndex,this.precedingHeader)}get tasksFile(){return this._tasksFile}get path(){return this._tasksFile.path}get lineNumber(){return this._lineNumber}get sectionStart(){return this._sectionStart}get sectionIndex(){return this._sectionIndex}get precedingHeader(){return this._precedingHeader}get hasKnownPath(){return this.path!==""}allFieldsExceptTasksFileForTesting(){let n=F({},this),{_tasksFile:t}=n;return ma(n,["_tasksFile"])}identicalTo(t){let e=["lineNumber","sectionStart","sectionIndex","precedingHeader"];for(let n of e)if(this[n]!==t[n])return!1;return this._tasksFile.identicalTo(t._tasksFile)}};var md=class{constructor(t,e,n,i,s,a){this.line2ListItem=new Map;this.tasks=[];this.filePath=t,this.fileContent=e,this.listItems=n,this.logger=i,this.fileCache=s,this.errorReporter=a,this.fileLines=this.fileContent.split(`
`),this.dateFromFileName=new Va(()=>Ft.fromPath(this.filePath))}parseFileContent(){if(this.listItems===void 0)return this.tasks;let t=new mt(this.filePath,this.fileCache),e=this.fileLines.length,n=null,i=0;for(let s of this.listItems){let a=s.position.start.line;if(a>=e)return this.logger.debug(`${this.filePath} Obsidian gave us a line number ${a} past the end of the file. ${e}.`),this.tasks;if((n===null||n.position.end.line<a)&&(n=Hs.getSection(a,this.fileCache.sections),i=0),n===null)continue;let o=this.fileLines[a];if(o===void 0){this.logger.debug(`${this.filePath}: line ${a} - ignoring 'undefined' line.`);continue}let l=new Lt(t,a,n.position.start.line,i,Hs.getPrecedingHeader(a,this.fileCache.headings));i=this.parseLine(s,o,l,a,i)}return this.tasks}parseLine(t,e,n,i,s){var o;if(t.task===void 0)return this.createListItem(t,e,i,n),s;let a;try{if(a=pe.fromLine({line:e,taskLocation:n,fallbackDate:this.dateFromFileName.value}),a!==null){let l=(o=this.line2ListItem.get(t.parent))!=null?o:null;l!==null&&(a=new pe(de(F({},a),{parent:l}))),this.line2ListItem.set(i,a),a!==null&&(s++,this.tasks.push(a))}else this.createListItem(t,e,i,n)}catch(l){this.errorReporter(l,this.filePath,t,e)}return s}createListItem(t,e,n,i){var o;let s=(o=this.line2ListItem.get(t.parent))!=null?o:null,a=rr.fromListItemLine(e,s,i);if(a===null){this.logger.warn("Unexpected failure to create a list item from line: "+e+" in file: "+this.filePath);return}this.line2ListItem.set(n,a)}};var Hs=class{constructor({metadataCache:t,vault:e,workspace:n,events:i}){this.logger=sn.getLogger("tasks.Cache");this.notifySubscribersDebounced=(0,gD.debounce)(()=>this.notifySubscribersNotDebounced(),100,!0);this.logger.debug("Creating Cache object"),this.metadataCache=t,this.metadataCacheEventReferences=[],this.vault=e,this.workspace=n,this.vaultEventReferences=[],this.events=i,this.eventsEventReferences=[],this.tasksMutex=new ju,this.state="Cold",this.logger.debug("Cache.constructor(): state = Cold"),this.tasks=[],this.loadedAfterFirstResolve=!1,this.subscribeToCache(),this.workspace.onLayoutReady(()=>{this.subscribeToVault(),this.loadVault()}),this.subscribeToEvents()}unload(){this.logger.info("Unloading Cache");for(let t of this.metadataCacheEventReferences)this.metadataCache.offref(t);for(let t of this.vaultEventReferences)this.vault.offref(t);for(let t of this.eventsEventReferences)this.events.off(t)}getTasks(){return this.tasks}getState(){return this.state}notifySubscribers(){this.logger.debug("Cache.notifySubscribers()"),this.notifySubscribersDebounced()}notifySubscribersNotDebounced(){this.logger.debug("Cache.notifySubscribersNotDebounced()"),this.events.triggerCacheUpdate({tasks:this.tasks,state:this.state})}subscribeToCache(){this.logger.debug("Cache.subscribeToCache()");let t=this.metadataCache.on("resolved",()=>I(this,null,function*(){this.loadedAfterFirstResolve||(this.loadedAfterFirstResolve=!0,this.loadVault())}));this.metadataCacheEventReferences.push(t);let e=this.metadataCache.on("changed",n=>{this.tasksMutex.runExclusive(()=>{this.indexFile(n)})});this.metadataCacheEventReferences.push(e)}subscribeToVault(){this.logger.debug("Cache.subscribeToVault()");let{useFilenameAsScheduledDate:t}=re(),e=this.vault.on("create",s=>{s instanceof za.TFile&&(this.logger.debug(`Cache.subscribeToVault.createdEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.indexFile(s)}))});this.vaultEventReferences.push(e);let n=this.vault.on("delete",s=>{s instanceof za.TFile&&(this.logger.debug(`Cache.subscribeToVault.deletedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.tasks=this.tasks.filter(a=>a.path!==s.path),this.notifySubscribers()}))});this.vaultEventReferences.push(n);let i=this.vault.on("rename",(s,a)=>{s instanceof za.TFile&&(this.logger.debug(`Cache.subscribeToVault.renamedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{let o=this.metadataCache.getFileCache(s),l=new mt(s.path,o!=null?o:void 0),u=new Va(()=>Ft.fromPath(s.path));this.tasks=this.tasks.map(c=>{if(c.path!==a)return c;let d=c.taskLocation.fromRenamedFile(l);return t?Ft.updateTaskPath(c,d,u.value):new pe(de(F({},c),{taskLocation:d}))}),this.notifySubscribers()}))});this.vaultEventReferences.push(i)}subscribeToEvents(){this.logger.debug("Cache.subscribeToEvents()");let t=this.events.onRequestCacheUpdate(e=>{e({tasks:this.tasks,state:this.state})});this.eventsEventReferences.push(t)}loadVault(){return this.logger.debug("Cache.loadVault()"),this.tasksMutex.runExclusive(()=>I(this,null,function*(){this.state="Initializing",this.logger.debug("Cache.loadVault(): state = Initializing"),yield Promise.all(this.vault.getMarkdownFiles().map(t=>this.indexFile(t))),this.state="Warm",this.logger.debug("Cache.loadVault(): state = Warm"),this.notifySubscribers()}))}indexFile(t){return I(this,null,function*(){let e=this.metadataCache.getFileCache(t);if(e==null)return;if(!t.path.endsWith(".md")){this.logger.debug("indexFile: skipping non-markdown file: "+t.path);return}this.logger.debug("Cache.indexFile: "+t.path);let n=this.tasks.filter(a=>a.path===t.path),i=e.listItems,s=[];if(i!==void 0){let a=yield this.vault.cachedRead(t);s=this.getTasksFromFileContent(a,i,e,t.path,this.reportTaskParsingErrorToUser,this.logger)}rr.listsAreIdentical(n,s)||(this.tasks=this.tasks.filter(a=>a.path!==t.path),this.tasks.push(...s),this.logger.debug("Cache.indexFile: "+t.path+`: read ${s.length} task(s)`),this.notifySubscribers())})}getTasksFromFileContent(t,e,n,i,s,a){return new md(i,t,e,a,n,s).parseFileContent()}reportTaskParsingErrorToUser(t,e,n,i){let s=`There was an error reading one of the tasks in this vault.
The following task has been ignored, to prevent Tasks queries getting stuck with 'Loading Tasks ...'
Error: ${t}
File: ${e}
Line number: ${n.position.start.line}
Task line: ${i}
Please create a bug report for this message at
https://github.com/obsidian-tasks-group/obsidian-tasks/issues/new/choose
to help us find and fix the underlying issue.
Include:
- either a screenshot of the error popup, or copy the text from the console, if on a desktop machine.
- the output from running the Obsidian command 'Show debug info'
The error popup will only be shown when Tasks is starting up, but if the error persists,
it will be shown in the console every time this file is edited during the Obsidian
session.
`;this.logger.error(s),t instanceof Error&&this.logger.error(t.stack?t.stack:"Cannot determine stack"),this.state==="Initializing"&&new za.Notice(s,1e4)}static getSection(t,e){if(e===void 0)return null;for(let n of e)if(n.position.start.line<=t&&n.position.end.line>=t)return n;return null}static getPrecedingHeader(t,e){if(e===void 0)return null;let n=null;for(let i of e){if(i.position.start.line>t)return n;n=i.heading}return n}};var Gy=require("obsidian");var TE=require("obsidian");function tt(){}function Sy(r){return r()}function yD(){return Object.create(null)}function zt(r){r.forEach(Sy)}function yd(r){return typeof r=="function"}function Zr(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function bD(r){return Object.keys(r).length===0}var TD=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global,du=class{constructor(t){this.options=t,this._listeners="WeakMap"in TD?new WeakMap:void 0}observe(t,e){return this._listeners.set(t,e),this._getObserver().observe(t,this.options),()=>{this._listeners.delete(t),this._observer.unobserve(t)}}_getObserver(){var t;return(t=this._observer)!==null&&t!==void 0?t:this._observer=new ResizeObserver(e=>{var n;for(let i of e)du.entries.set(i.target,i),(n=this._listeners.get(i.target))===null||n===void 0||n(i)})}};du.entries="WeakMap"in TD?new WeakMap:void 0;var vD=!1;function G2(){vD=!0}function B2(){vD=!1}function z(r,t){r.appendChild(t)}function Ee(r,t,e){r.insertBefore(t,e||null)}function _e(r){r.parentNode&&r.parentNode.removeChild(r)}function Vs(r,t){for(let e=0;e<r.length;e+=1)r[e]&&r[e].d(t)}function ue(r){return document.createElement(r)}function V2(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function Ve(r){return document.createTextNode(r)}function xe(){return Ve(" ")}function bd(){return Ve("")}function We(r,t,e,n){return r.addEventListener(t,e,n),()=>r.removeEventListener(t,e,n)}function _D(r){return function(t){return t.preventDefault(),r.call(this,t)}}function B(r,t,e){e==null?r.removeAttribute(t):r.getAttribute(t)!==e&&r.setAttribute(t,e)}function wD(r){let t;return{p(...e){t=e,t.forEach(n=>r.push(n))},r(){t.forEach(e=>r.splice(r.indexOf(e),1))}}}function z2(r){return Array.from(r.childNodes)}function sr(r,t){t=""+t,r.data!==t&&(r.data=t)}function mn(r,t){r.value=t==null?"":t}function Dy(r,t,e){for(let n=0;n<r.options.length;n+=1){let i=r.options[n];if(i.__value===t){i.selected=!0;return}}(!e||t!==void 0)&&(r.selectedIndex=-1)}function kD(r){let t=r.querySelector(":checked");return t&&t.__value}var hd;function K2(){if(hd===void 0){hd=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(r){hd=!0}}return hd}function SD(r,t){getComputedStyle(r).position==="static"&&(r.style.position="relative");let n=ue("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;let i=K2(),s;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=We(window,"message",a=>{a.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{s=We(n.contentWindow,"resize",t),t()}),z(r,n),()=>{(i||s&&n.contentWindow)&&s(),_e(n)}}function Ei(r,t,e){r.classList[e?"add":"remove"](t)}var Xa=class{constructor(t=!1){this.is_svg=!1,this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e,n=null){this.e||(this.is_svg?this.e=V2(e.nodeName):this.e=ue(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)Ee(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(_e)}};var fu;function cu(r){fu=r}function Q2(){if(!fu)throw new Error("Function called outside component initialization");return fu}function Ey(r){Q2().$$.on_mount.push(r)}var Qa=[];var ot=[],Za=[],wy=[],Z2=Promise.resolve(),ky=!1;function X2(){ky||(ky=!0,Z2.then(DD))}function Bs(r){Za.push(r)}function an(r){wy.push(r)}var _y=new Set,Ka=0;function DD(){if(Ka!==0)return;let r=fu;do{try{for(;Ka<Qa.length;){let t=Qa[Ka];Ka++,cu(t),J2(t.$$)}}catch(t){throw Qa.length=0,Ka=0,t}for(cu(null),Qa.length=0,Ka=0;ot.length;)ot.pop()();for(let t=0;t<Za.length;t+=1){let e=Za[t];_y.has(e)||(_y.add(e),e())}Za.length=0}while(Qa.length);for(;wy.length;)wy.pop()();ky=!1,_y.clear(),cu(r)}function J2(r){if(r.fragment!==null){r.update(),zt(r.before_update);let t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Bs)}}function eU(r){let t=[],e=[];Za.forEach(n=>r.indexOf(n)===-1?t.push(n):e.push(n)),e.forEach(n=>n()),Za=t}var gd=new Set,Gs;function ED(){Gs={r:0,c:[],p:Gs}}function xD(){Gs.r||zt(Gs.c),Gs=Gs.p}function hn(r,t){r&&r.i&&(gd.delete(r),r.i(t))}function Pn(r,t,e,n){if(r&&r.o){if(gd.has(r))return;gd.add(r),Gs.c.push(()=>{gd.delete(r),n&&(e&&r.d(1),n())}),r.o(t)}else n&&n()}var tU=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],d4=new Set([...tU]);function on(r,t,e){let n=r.$$.props[t];n!==void 0&&(r.$$.bound[n]=e,e(r.$$.ctx[n]))}function Rr(r){r&&r.c()}function ar(r,t,e,n){let{fragment:i,after_update:s}=r.$$;i&&i.m(t,e),n||Bs(()=>{let a=r.$$.on_mount.map(Sy).filter(yd);r.$$.on_destroy?r.$$.on_destroy.push(...a):zt(a),r.$$.on_mount=[]}),s.forEach(Bs)}function Nn(r,t){let e=r.$$;e.fragment!==null&&(eU(e.after_update),zt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[])}function nU(r,t){r.$$.dirty[0]===-1&&(Qa.push(r),X2(),r.$$.dirty.fill(0)),r.$$.dirty[t/31|0]|=1<<t%31}function Xr(r,t,e,n,i,s,a,o=[-1]){let l=fu;cu(r);let u=r.$$={fragment:null,ctx:[],props:s,update:tt,not_equal:i,bound:yD(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:yD(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=e?e(r,t.props||{},(d,f,...p)=>{let b=p.length?p[0]:f;return u.ctx&&i(u.ctx[d],u.ctx[d]=b)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](b),c&&nU(r,d)),f}):[],u.update(),c=!0,zt(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){G2();let d=z2(t.target);u.fragment&&u.fragment.l(d),d.forEach(_e)}else u.fragment&&u.fragment.c();t.intro&&hn(r.$$.fragment),ar(r,t.target,t.anchor,t.customElement),B2(),DD()}cu(l)}var rU;typeof HTMLElement=="function"&&(rU=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let{on_mount:r}=this.$$;this.$$.on_disconnect=r.map(Sy).filter(yd);for(let t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(r,t,e){this[r]=e}disconnectedCallback(){zt(this.$$.on_disconnect)}$destroy(){Nn(this,1),this.$destroy=tt}$on(r,t){if(!yd(t))return tt;let e=this.$$.callbacks[r]||(this.$$.callbacks[r]=[]);return e.push(t),()=>{let n=e.indexOf(t);n!==-1&&e.splice(n,1)}}$set(r){this.$$set&&!bD(r)&&(this.$$.skip_bound=!0,this.$$set(r),this.$$.skip_bound=!1)}});var ir=class{$destroy(){Nn(this,1),this.$destroy=tt}$on(t,e){if(!yd(e))return tt;let n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{let i=n.indexOf(e);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!bD(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}};Br();Vt();Wg();Ms();function Ja(r){return r.charAt(0).toUpperCase()+r.slice(1)}function Ut(r,t){if(t===null)return Ja(r);let e=r.toLowerCase().indexOf(t.toLowerCase());if(e===-1)return`${Ja(r)} (<span class="accesskey">${t.toLowerCase()}</span>)`;let n=r.substring(0,e);return n+='<span class="accesskey">',e===0?n+=r.substring(e,e+1).toUpperCase():n+=r.substring(e,e+1),n+="</span>",n+=r.substring(e+1),n=Ja(n),n}function iU(r){let t,e,n,i;return{c(){t=ue("code"),e=Ve(r[4]),n=xe(),i=new Xa(!1),i.a=null,B(t,"class","tasks-modal-parsed-date")},m(s,a){Ee(s,t,a),z(t,e),z(t,n),i.m(r[2],t)},p(s,a){a&16&&sr(e,s[4]),a&4&&i.p(s[2])},d(s){s&&_e(t)}}}function sU(r){let t,e,n,i,s;return{c(){t=ue("div"),e=Ve(r[4]),n=ue("input"),B(n,"class","tasks-modal-date-editor-picker"),B(n,"type","date"),B(n,"id","date-editor-picker"),B(n,"tabindex","-1"),B(t,"class","tasks-modal-parsed-date")},m(a,o){Ee(a,t,o),z(t,e),z(t,n),mn(n,r[6]),i||(s=[We(n,"input",r[10]),We(n,"input",r[7])],i=!0)},p(a,o){o&16&&sr(e,a[4]),o&64&&mn(n,a[6])},d(a){a&&_e(t),i=!1,zt(s)}}}function aU(r){let t,e=Ut(r[3],r[5])+"",n,i,s,a,o,l;function u(f,p){return f[1]?sU:iU}let c=u(r,-1),d=c(r);return{c(){t=ue("label"),n=xe(),i=ue("input"),s=xe(),d.c(),a=bd(),B(t,"for",r[3]),B(i,"id",r[3]),B(i,"type","text"),B(i,"class","tasks-modal-date-input"),B(i,"placeholder",oU),B(i,"accesskey",r[5]),Ei(i,"tasks-modal-error",!r[1])},m(f,p){Ee(f,t,p),t.innerHTML=e,Ee(f,n,p),Ee(f,i,p),mn(i,r[0]),Ee(f,s,p),d.m(f,p),Ee(f,a,p),o||(l=We(i,"input",r[9]),o=!0)},p(f,[p]){p&40&&e!==(e=Ut(f[3],f[5])+"")&&(t.innerHTML=e),p&8&&B(t,"for",f[3]),p&8&&B(i,"id",f[3]),p&32&&B(i,"accesskey",f[5]),p&1&&i.value!==f[0]&&mn(i,f[0]),p&2&&Ei(i,"tasks-modal-error",!f[1]),c===(c=u(f,p))&&d?d.p(f,p):(d.d(1),d=c(f),d&&(d.c(),d.m(a.parentNode,a)))},i:tt,o:tt,d(f){f&&_e(t),f&&_e(n),f&&_e(i),f&&_e(s),d.d(f),f&&_e(a),o=!1,l()}}}var oU="Try 'Mon' or 'tm' then space";function lU(r,t,e){let{id:n}=t,{dateSymbol:i}=t,{date:s}=t,{isDateValid:a}=t,{forwardOnly:o}=t,{accesskey:l}=t,{parsedDate:u=""}=t,c="";function d(b){b.target!==null&&e(0,s=c)}function f(){s=this.value,e(0,s),e(3,n),e(8,o),e(2,u),e(1,a)}function p(){c=this.value,e(6,c),e(0,s),e(3,n),e(8,o),e(2,u),e(1,a)}return r.$$set=b=>{"id"in b&&e(3,n=b.id),"dateSymbol"in b&&e(4,i=b.dateSymbol),"date"in b&&e(0,s=b.date),"isDateValid"in b&&e(1,a=b.isDateValid),"forwardOnly"in b&&e(8,o=b.forwardOnly),"accesskey"in b&&e(5,l=b.accesskey),"parsedDate"in b&&e(2,u=b.parsedDate)},r.$$.update=()=>{if(r.$$.dirty&271){e:e(0,s=Yc(s)),e(2,u=Wk(n,s,o)),e(1,a=!u.includes("invalid")),a&&e(6,c=u)}},[s,a,u,n,i,l,c,d,o,f,p]}var xy=class extends ir{constructor(t){super(),Xr(this,t,lU,aU,Zr,{id:3,dateSymbol:4,date:0,isDateValid:1,forwardOnly:8,accesskey:5,parsedDate:2})}},zs=xy;var Ks=Math.min,gn=Math.max,mu=Math.round;var Cr=r=>({x:r,y:r}),uU={left:"right",right:"left",bottom:"top",top:"bottom"},cU={start:"end",end:"start"};function Oy(r,t,e){return gn(r,Ks(t,e))}function eo(r,t){return typeof r=="function"?r(t):r}function xi(r){return r.split("-")[0]}function to(r){return r.split("-")[1]}function Ry(r){return r==="x"?"y":"x"}function Cy(r){return r==="y"?"height":"width"}function Qi(r){return["top","bottom"].includes(xi(r))?"y":"x"}function My(r){return Ry(Qi(r))}function OD(r,t,e){e===void 0&&(e=!1);let n=to(r),i=My(r),s=Cy(i),a=i==="x"?n===(e?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=pu(a)),[a,pu(a)]}function RD(r){let t=pu(r);return[Td(r),t,Td(t)]}function Td(r){return r.replace(/start|end/g,t=>cU[t])}function dU(r,t,e){let n=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return e?t?i:n:t?n:i;case"left":case"right":return t?s:a;default:return[]}}function CD(r,t,e,n){let i=to(r),s=dU(xi(r),e==="start",n);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Td)))),s}function pu(r){return r.replace(/left|right|bottom|top/g,t=>uU[t])}function fU(r){return F({top:0,right:0,bottom:0,left:0},r)}function MD(r){return typeof r!="number"?fU(r):{top:r,right:r,bottom:r,left:r}}function Qs(r){let{x:t,y:e,width:n,height:i}=r;return{width:n,height:i,top:e,left:t,right:t+n,bottom:e+i,x:t,y:e}}function AD(r,t,e){let{reference:n,floating:i}=r,s=Qi(t),a=My(t),o=Cy(a),l=xi(t),u=s==="y",c=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[o]/2-i[o]/2,p;switch(l){case"top":p={x:c,y:n.y-i.height};break;case"bottom":p={x:c,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-i.width,y:d};break;default:p={x:n.x,y:n.y}}switch(to(t)){case"start":p[a]-=f*(e&&u?-1:1);break;case"end":p[a]+=f*(e&&u?-1:1);break}return p}var PD=(r,t,e)=>I(void 0,null,function*(){let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=e,o=s.filter(Boolean),l=yield a.isRTL==null?void 0:a.isRTL(t),u=yield a.getElementRects({reference:r,floating:t,strategy:i}),{x:c,y:d}=AD(u,n,l),f=n,p={},b=0;for(let T=0;T<o.length;T++){let{name:v,fn:O}=o[T],{x:E,y:P,data:Y,reset:j}=yield O({x:c,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:p,rects:u,platform:a,elements:{reference:r,floating:t}});c=E!=null?E:c,d=P!=null?P:d,p=de(F({},p),{[v]:F(F({},p[v]),Y)}),j&&b<=50&&(b++,typeof j=="object"&&(j.placement&&(f=j.placement),j.rects&&(u=j.rects===!0?yield a.getElementRects({reference:r,floating:t,strategy:i}):j.rects),{x:c,y:d}=AD(u,f,l)),T=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}});function vd(r,t){return I(this,null,function*(){var e;t===void 0&&(t={});let{x:n,y:i,platform:s,rects:a,elements:o,strategy:l}=r,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=eo(t,r),b=MD(p),v=o[f?d==="floating"?"reference":"floating":d],O=Qs(yield s.getClippingRect({element:(e=yield s.isElement==null?void 0:s.isElement(v))==null||e?v:v.contextElement||(yield s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:u,rootBoundary:c,strategy:l})),E=d==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,P=yield s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating),Y=(yield s.isElement==null?void 0:s.isElement(P))?(yield s.getScale==null?void 0:s.getScale(P))||{x:1,y:1}:{x:1,y:1},j=Qs(s.convertOffsetParentRelativeRectToViewportRelativeRect?yield s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:E,offsetParent:P,strategy:l}):E);return{top:(O.top-j.top+b.top)/Y.y,bottom:(j.bottom-O.bottom+b.bottom)/Y.y,left:(O.left-j.left+b.left)/Y.x,right:(j.right-O.right+b.right)/Y.x}})}var ND=function(r){return r===void 0&&(r={}),{name:"flip",options:r,fn(e){return I(this,null,function*(){var n,i;let{placement:s,middlewareData:a,rects:o,initialPlacement:l,platform:u,elements:c}=e,q=eo(r,e),{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:v=!0}=q,O=ma(q,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset)return{};let E=xi(s),P=Qi(l),Y=xi(l)===l,j=yield u.isRTL==null?void 0:u.isRTL(c.floating),ae=p||(Y||!v?[pu(l)]:RD(l)),H=T!=="none";!p&&H&&ae.push(...CD(l,v,T,j));let J=[l,...ae],ye=yield vd(e,O),we=[],V=((i=a.flip)==null?void 0:i.overflows)||[];if(d&&we.push(ye[E]),f){let le=OD(s,o,j);we.push(ye[le[0]],ye[le[1]])}if(V=[...V,{placement:s,overflows:we}],!we.every(le=>le<=0)){var K,R;let le=(((K=a.flip)==null?void 0:K.index)||0)+1,m=J[le];if(m)return{data:{index:le,overflows:V},reset:{placement:m}};let y=(R=V.filter(_=>_.overflows[0]<=0).sort((_,w)=>_.overflows[1]-w.overflows[1])[0])==null?void 0:R.placement;if(!y)switch(b){case"bestFit":{var ee;let _=(ee=V.filter(w=>{if(H){let S=Qi(w.placement);return S===P||S==="y"}return!0}).map(w=>[w.placement,w.overflows.filter(S=>S>0).reduce((S,C)=>S+C,0)]).sort((w,S)=>w[1]-S[1])[0])==null?void 0:ee[0];_&&(y=_);break}case"initialPlacement":y=l;break}if(s!==y)return{reset:{placement:y}}}return{}})}}};function pU(r,t){return I(this,null,function*(){let{placement:e,platform:n,elements:i}=r,s=yield n.isRTL==null?void 0:n.isRTL(i.floating),a=xi(e),o=to(e),l=Qi(e)==="y",u=["left","top"].includes(a)?-1:1,c=s&&l?-1:1,d=eo(t,r),{mainAxis:f,crossAxis:p,alignmentAxis:b}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return o&&typeof b=="number"&&(p=o==="end"?b*-1:b),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}})}var ID=function(r){return r===void 0&&(r=0),{name:"offset",options:r,fn(e){return I(this,null,function*(){var n,i;let{x:s,y:a,placement:o,middlewareData:l}=e,u=yield pU(e,r);return o===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:de(F({},u),{placement:o})}})}}},FD=function(r){return r===void 0&&(r={}),{name:"shift",options:r,fn(e){return I(this,null,function*(){let{x:n,y:i,placement:s}=e,O=eo(r,e),{mainAxis:a=!0,crossAxis:o=!1,limiter:l={fn:E=>{let{x:P,y:Y}=E;return{x:P,y:Y}}}}=O,u=ma(O,["mainAxis","crossAxis","limiter"]),c={x:n,y:i},d=yield vd(e,u),f=Qi(xi(s)),p=Ry(f),b=c[p],T=c[f];if(a){let E=p==="y"?"top":"left",P=p==="y"?"bottom":"right",Y=b+d[E],j=b-d[P];b=Oy(Y,b,j)}if(o){let E=f==="y"?"top":"left",P=f==="y"?"bottom":"right",Y=T+d[E],j=T-d[P];T=Oy(Y,T,j)}let v=l.fn(de(F({},e),{[p]:b,[f]:T}));return de(F({},v),{data:{x:v.x-n,y:v.y-i,enabled:{[p]:a,[f]:o}}})})}}};var LD=function(r){return r===void 0&&(r={}),{name:"size",options:r,fn(e){return I(this,null,function*(){var n,i;let{placement:s,rects:a,platform:o,elements:l}=e,V=eo(r,e),{apply:u=()=>{}}=V,c=ma(V,["apply"]),d=yield vd(e,c),f=xi(s),p=to(s),b=Qi(s)==="y",{width:T,height:v}=a.floating,O,E;f==="top"||f==="bottom"?(O=f,E=p===((yield o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(E=f,O=p==="end"?"top":"bottom");let P=v-d.top-d.bottom,Y=T-d.left-d.right,j=Ks(v-d[O],P),ae=Ks(T-d[E],Y),H=!e.middlewareData.shift,J=j,ye=ae;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(ye=Y),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(J=P),H&&!p){let K=gn(d.left,0),R=gn(d.right,0),ee=gn(d.top,0),q=gn(d.bottom,0);b?ye=T-2*(K!==0||R!==0?K+R:gn(d.left,d.right)):J=v-2*(ee!==0||q!==0?ee+q:gn(d.top,d.bottom))}yield u(de(F({},e),{availableWidth:ye,availableHeight:J}));let we=yield o.getDimensions(l.floating);return T!==we.width||v!==we.height?{reset:{rects:!0}}:{}})}}};function wd(){return typeof window!="undefined"}function Zs(r){return YD(r)?(r.nodeName||"").toLowerCase():"#document"}function yn(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function Jr(r){var t;return(t=(YD(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function YD(r){return wd()?r instanceof Node||r instanceof yn(r).Node:!1}function or(r){return wd()?r instanceof Element||r instanceof yn(r).Element:!1}function Mr(r){return wd()?r instanceof HTMLElement||r instanceof yn(r).HTMLElement:!1}function UD(r){return!wd()||typeof ShadowRoot=="undefined"?!1:r instanceof ShadowRoot||r instanceof yn(r).ShadowRoot}function no(r){let{overflow:t,overflowX:e,overflowY:n,display:i}=lr(r);return/auto|scroll|overlay|hidden|clip/.test(t+n+e)&&!["inline","contents"].includes(i)}function $D(r){return["table","td","th"].includes(Zs(r))}function hu(r){return[":popover-open",":modal"].some(t=>{try{return r.matches(t)}catch(e){return!1}})}function kd(r){let t=Sd(),e=or(r)?lr(r):r;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(e.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(e.contain||"").includes(n))}function WD(r){let t=Oi(r);for(;Mr(t)&&!Xs(t);){if(kd(t))return t;if(hu(t))return null;t=Oi(t)}return null}function Sd(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Xs(r){return["html","body","#document"].includes(Zs(r))}function lr(r){return yn(r).getComputedStyle(r)}function gu(r){return or(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Oi(r){if(Zs(r)==="html")return r;let t=r.assignedSlot||r.parentNode||UD(r)&&r.host||Jr(r);return UD(t)?t.host:t}function qD(r){let t=Oi(r);return Xs(t)?r.ownerDocument?r.ownerDocument.body:r.body:Mr(t)&&no(t)?t:qD(t)}function _d(r,t,e){var n;t===void 0&&(t=[]),e===void 0&&(e=!0);let i=qD(r),s=i===((n=r.ownerDocument)==null?void 0:n.body),a=yn(i);if(s){let o=Dd(a);return t.concat(a,a.visualViewport||[],no(i)?i:[],o&&e?_d(o):[])}return t.concat(i,_d(i,[],e))}function Dd(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function GD(r){let t=lr(r),e=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Mr(r),s=i?r.offsetWidth:e,a=i?r.offsetHeight:n,o=mu(e)!==s||mu(n)!==a;return o&&(e=s,n=a),{width:e,height:n,$:o}}function BD(r){return or(r)?r:r.contextElement}function ro(r){let t=BD(r);if(!Mr(t))return Cr(1);let e=t.getBoundingClientRect(),{width:n,height:i,$:s}=GD(t),a=(s?mu(e.width):e.width)/n,o=(s?mu(e.height):e.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}var mU=Cr(0);function VD(r){let t=yn(r);return!Sd()||!t.visualViewport?mU:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hU(r,t,e){return t===void 0&&(t=!1),!e||t&&e!==yn(r)?!1:t}function yu(r,t,e,n){t===void 0&&(t=!1),e===void 0&&(e=!1);let i=r.getBoundingClientRect(),s=BD(r),a=Cr(1);t&&(n?or(n)&&(a=ro(n)):a=ro(r));let o=hU(s,e,n)?VD(s):Cr(0),l=(i.left+o.x)/a.x,u=(i.top+o.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(s){let f=yn(s),p=n&&or(n)?yn(n):n,b=f,T=Dd(b);for(;T&&n&&p!==b;){let v=ro(T),O=T.getBoundingClientRect(),E=lr(T),P=O.left+(T.clientLeft+parseFloat(E.paddingLeft))*v.x,Y=O.top+(T.clientTop+parseFloat(E.paddingTop))*v.y;l*=v.x,u*=v.y,c*=v.x,d*=v.y,l+=P,u+=Y,b=yn(T),T=Dd(b)}}return Qs({width:c,height:d,x:l,y:u})}function Py(r,t){let e=gu(r).scrollLeft;return t?t.left+e:yu(Jr(r)).left+e}function zD(r,t,e){e===void 0&&(e=!1);let n=r.getBoundingClientRect(),i=n.left+t.scrollLeft-(e?0:Py(r,n)),s=n.top+t.scrollTop;return{x:i,y:s}}function gU(r){let{elements:t,rect:e,offsetParent:n,strategy:i}=r,s=i==="fixed",a=Jr(n),o=t?hu(t.floating):!1;if(n===a||o&&s)return e;let l={scrollLeft:0,scrollTop:0},u=Cr(1),c=Cr(0),d=Mr(n);if((d||!d&&!s)&&((Zs(n)!=="body"||no(a))&&(l=gu(n)),Mr(n))){let p=yu(n);u=ro(n),c.x=p.x+n.clientLeft,c.y=p.y+n.clientTop}let f=a&&!d&&!s?zD(a,l,!0):Cr(0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:e.y*u.y-l.scrollTop*u.y+c.y+f.y}}function yU(r){return Array.from(r.getClientRects())}function bU(r){let t=Jr(r),e=gu(r),n=r.ownerDocument.body,i=gn(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=gn(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-e.scrollLeft+Py(r),o=-e.scrollTop;return lr(n).direction==="rtl"&&(a+=gn(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:a,y:o}}function TU(r,t){let e=yn(r),n=Jr(r),i=e.visualViewport,s=n.clientWidth,a=n.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;let u=Sd();(!u||u&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:s,height:a,x:o,y:l}}function vU(r,t){let e=yu(r,!0,t==="fixed"),n=e.top+r.clientTop,i=e.left+r.clientLeft,s=Mr(r)?ro(r):Cr(1),a=r.clientWidth*s.x,o=r.clientHeight*s.y,l=i*s.x,u=n*s.y;return{width:a,height:o,x:l,y:u}}function jD(r,t,e){let n;if(t==="viewport")n=TU(r,e);else if(t==="document")n=bU(Jr(r));else if(or(t))n=vU(t,e);else{let i=VD(r);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Qs(n)}function KD(r,t){let e=Oi(r);return e===t||!or(e)||Xs(e)?!1:lr(e).position==="fixed"||KD(e,t)}function _U(r,t){let e=t.get(r);if(e)return e;let n=_d(r,[],!1).filter(o=>or(o)&&Zs(o)!=="body"),i=null,s=lr(r).position==="fixed",a=s?Oi(r):r;for(;or(a)&&!Xs(a);){let o=lr(a),l=kd(a);!l&&o.position==="fixed"&&(i=null),(s?!l&&!i:!l&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||no(a)&&!l&&KD(r,a))?n=n.filter(c=>c!==a):i=o,a=Oi(a)}return t.set(r,n),n}function wU(r){let{element:t,boundary:e,rootBoundary:n,strategy:i}=r,a=[...e==="clippingAncestors"?hu(t)?[]:_U(t,this._c):[].concat(e),n],o=a[0],l=a.reduce((u,c)=>{let d=jD(t,c,i);return u.top=gn(d.top,u.top),u.right=Ks(d.right,u.right),u.bottom=Ks(d.bottom,u.bottom),u.left=gn(d.left,u.left),u},jD(t,o,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function kU(r){let{width:t,height:e}=GD(r);return{width:t,height:e}}function SU(r,t,e){let n=Mr(t),i=Jr(t),s=e==="fixed",a=yu(r,!0,s,t),o={scrollLeft:0,scrollTop:0},l=Cr(0);if(n||!n&&!s)if((Zs(t)!=="body"||no(i))&&(o=gu(t)),n){let f=yu(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else i&&(l.x=Py(i));let u=i&&!n&&!s?zD(i,o):Cr(0),c=a.left+o.scrollLeft-l.x-u.x,d=a.top+o.scrollTop-l.y-u.y;return{x:c,y:d,width:a.width,height:a.height}}function Ay(r){return lr(r).position==="static"}function HD(r,t){if(!Mr(r)||lr(r).position==="fixed")return null;if(t)return t(r);let e=r.offsetParent;return Jr(r)===e&&(e=e.ownerDocument.body),e}function QD(r,t){let e=yn(r);if(hu(r))return e;if(!Mr(r)){let i=Oi(r);for(;i&&!Xs(i);){if(or(i)&&!Ay(i))return i;i=Oi(i)}return e}let n=HD(r,t);for(;n&&$D(n)&&Ay(n);)n=HD(n,t);return n&&Xs(n)&&Ay(n)&&!kd(n)?e:n||WD(r)||e}var DU=function(r){return I(this,null,function*(){let t=this.getOffsetParent||QD,e=this.getDimensions,n=yield e(r.floating);return{reference:SU(r.reference,yield t(r.floating),r.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}})};function EU(r){return lr(r).direction==="rtl"}var xU={convertOffsetParentRelativeRectToViewportRelativeRect:gU,getDocumentElement:Jr,getClippingRect:wU,getOffsetParent:QD,getElementRects:DU,getClientRects:yU,getDimensions:kU,getScale:ro,isElement:or,isRTL:EU};var Ny=ID;var Iy=FD,ZD=ND,XD=LD;var Fy=(r,t,e)=>{let n=new Map,i=F({platform:xU},e),s=de(F({},i.platform),{_c:n});return PD(r,t,de(F({},i),{platform:s}))};ay();function JD(r,t,e){let n=r.slice();return n[5]=t[e],n}function eE(r,t,e){let n=r.slice();n[40]=t[e],n[43]=e;let i=n[17](n[40].taskLocation.path);return n[41]=i,n}function tE(r){let t,e,n,i=r[10],s=[];for(let a=0;a<i.length;a+=1)s[a]=rE(eE(r,i,a));return{c(){t=ue("ul");for(let a=0;a<s.length;a+=1)s[a].c();B(t,"class","task-dependency-dropdown")},m(a,o){Ee(a,t,o);for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(t,null);r[31](t),e||(n=We(t,"mouseleave",r[32]),e=!0)},p(a,o){if(o[0]&928832){i=a[10];let l;for(l=0;l<i.length;l+=1){let u=eE(a,i,l);s[l]?s[l].p(u,o):(s[l]=rE(u),s[l].c(),s[l].m(t,null))}for(;l<s.length;l+=1)s[l].d(1);s.length=i.length}},d(a){a&&_e(t),Vs(s,a),r[31](null),e=!1,n()}}}function nE(r){let t,e=r[41]+"",n,i,s;function a(...o){return r[28](r[41],...o)}return{c(){t=ue("div"),n=Ve(e),B(t,"class","dependency-path")},m(o,l){Ee(o,t,l),z(t,n),i||(s=We(t,"mouseenter",a),i=!0)},p(o,l){r=o,l[0]&1024&&e!==(e=r[41]+"")&&sr(n,e)},d(o){o&&_e(t),i=!1,s()}}}function rE(r){let t,e,n,i=r[40].status.symbol+"",s,a,o=$s(r[40])+"",l,u,c,d,f,p;function b(...E){return r[27](r[40],...E)}let T=r[41]&&nE(r);function v(){return r[29](r[40])}function O(){return r[30](r[43])}return{c(){t=ue("li"),e=ue("div"),n=Ve("["),s=Ve(i),a=Ve("] "),l=Ve(o),c=xe(),T&&T.c(),d=xe(),B(e,"class",u=r[41]?"dependency-name-shared":"dependency-name"),Ei(t,"selected",r[6]!==null&&r[43]===r[11])},m(E,P){Ee(E,t,P),z(t,e),z(e,n),z(e,s),z(e,a),z(e,l),z(t,c),T&&T.m(t,null),z(t,d),f||(p=[We(e,"mouseenter",b),We(t,"mousedown",v),We(t,"mouseenter",O)],f=!0)},p(E,P){r=E,P[0]&1024&&i!==(i=r[40].status.symbol+"")&&sr(s,i),P[0]&1024&&o!==(o=$s(r[40])+"")&&sr(l,o),P[0]&1024&&u!==(u=r[41]?"dependency-name-shared":"dependency-name")&&B(e,"class",u),r[41]?T?T.p(r,P):(T=nE(r),T.c(),T.m(t,d)):T&&(T.d(1),T=null),P[0]&2112&&Ei(t,"selected",r[6]!==null&&r[43]===r[11])},d(E){E&&_e(t),T&&T.d(),f=!1,zt(p)}}}function iE(r){let t,e=r[0][r[1]],n=[];for(let i=0;i<e.length;i+=1)n[i]=sE(JD(r,e,i));return{c(){t=ue("div");for(let i=0;i<n.length;i+=1)n[i].c();B(t,"class","task-dependencies-container results-dependency")},m(i,s){Ee(i,t,s);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(t,null)},p(i,s){if(s[0]&802819){e=i[0][i[1]];let a;for(a=0;a<e.length;a+=1){let o=JD(i,e,a);n[a]?n[a].p(o,s):(n[a]=sE(o),n[a].c(),n[a].m(t,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=e.length}},d(i){i&&_e(t),Vs(n,i)}}}function sE(r){let t,e,n,i=r[5].status.symbol+"",s,a,o=$s(r[5])+"",l,u,c,d,f,p;function b(){return r[33](r[5])}function T(...v){return r[34](r[5],...v)}return{c(){t=ue("div"),e=ue("span"),n=Ve("["),s=Ve(i),a=Ve("] "),l=Ve(o),u=xe(),c=ue("button"),c.innerHTML='<svg style="display: block; margin: auto;" xmlns="http://www.w3.org/2000/svg" width="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg>',d=xe(),B(e,"class","task-dependency-name"),B(c,"type","button"),B(c,"class","task-dependency-delete"),B(t,"class","task-dependency")},m(v,O){Ee(v,t,O),z(t,e),z(e,n),z(e,s),z(e,a),z(e,l),z(t,u),z(t,c),z(t,d),f||(p=[We(c,"click",b),We(t,"mouseenter",T)],f=!0)},p(v,O){r=v,O[0]&3&&i!==(i=r[5].status.symbol+"")&&sr(s,i),O[0]&3&&o!==(o=$s(r[5])+"")&&sr(l,o)},d(v){v&&_e(t),f=!1,zt(p)}}}function OU(r){let t,e=Ut(r[2],r[3])+"",n,i,s,a,o,l,u,c,d,f=r[10]&&r[10].length!==0&&tE(r),p=r[0][r[1]].length!==0&&iE(r);return{c(){t=ue("label"),n=xe(),i=ue("span"),s=ue("input"),o=xe(),f&&f.c(),l=xe(),p&&p.c(),u=bd(),B(t,"for",r[1]),B(s,"accesskey",r[3]),B(s,"id",r[1]),B(s,"class","tasks-modal-dependency-input"),B(s,"type","text"),B(s,"placeholder",r[4]),Bs(()=>r[26].call(i))},m(b,T){Ee(b,t,T),t.innerHTML=e,Ee(b,n,T),Ee(b,i,T),z(i,s),r[22](s),mn(s,r[6]),a=SD(i,r[26].bind(i)),Ee(b,o,T),f&&f.m(b,T),Ee(b,l,T),p&&p.m(b,T),Ee(b,u,T),c||(d=[We(s,"input",r[23]),We(s,"keydown",r[24]),We(s,"focus",r[16]),We(s,"blur",r[25])],c=!0)},p(b,T){T[0]&12&&e!==(e=Ut(b[2],b[3])+"")&&(t.innerHTML=e),T[0]&2&&B(t,"for",b[1]),T[0]&8&&B(s,"accesskey",b[3]),T[0]&2&&B(s,"id",b[1]),T[0]&16&&B(s,"placeholder",b[4]),T[0]&64&&s.value!==b[6]&&mn(s,b[6]),b[10]&&b[10].length!==0?f?f.p(b,T):(f=tE(b),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null),b[0][b[1]].length!==0?p?p.p(b,T):(p=iE(b),p.c(),p.m(u.parentNode,u)):p&&(p.d(1),p=null)},i:tt,o:tt,d(b){b&&_e(t),b&&_e(n),b&&_e(i),r[22](null),a(),b&&_e(o),f&&f.d(b),b&&_e(l),p&&p.d(b),b&&_e(u),c=!1,zt(d)}}}function RU(r,t,e){let{task:n}=t,{editableTask:i}=t,{allTasks:s}=t,{_onDescriptionKeyDown:a}=t,{type:o}=t,{labelText:l}=t,{accesskey:u}=t,{placeholder:c="Type to search..."}=t,d="",f=null,p=0,b,T=!1,v=!1,O,E;function P(D){e(0,i[o]=[...i[o],D],i),e(6,d=""),e(7,T=!1)}function Y(D){e(0,i[o]=i[o].filter(N=>N!==D),i)}function j(D){var N;if(f!==null){switch(D.key){case"ArrowUp":D.preventDefault(),!!p&&p>0?e(11,p-=1):e(11,p=f.length-1);break;case"ArrowDown":D.preventDefault(),!!p&&p<f.length-1?e(11,p+=1):e(11,p=0);break;case"Enter":if(D.isComposing)return;p!==null?(D.preventDefault(),P(f[p]),e(11,p=null),e(7,T=!1)):a(D);break;default:e(11,p=0);break}p&&((N=E==null?void 0:E.getElementsByTagName("li")[p])===null||N===void 0||N.scrollIntoView({block:"nearest"}))}}function ae(D){return!D&&!v?[]:(v=!1,sd(D,s,n,i.blockedBy,i.blocking))}function H(){e(7,T=!0),v=!0}function J(D,N){!D||!N||Fy(D,N,{middleware:[Ny(6),Iy(),ZD(),XD({apply(){N&&Object.assign(N.style,{width:`${b}px`})}})]}).then(({x:W,y:ce})=>{N.style.left=`${W}px`,N.style.top=`${ce}px`})}function ye(D){return D===n.taskLocation.path?"":D}function we(D){return $s(D)}function V(D,N){let W=D.createDiv();W.addClasses(["tooltip","pop-up"]),W.innerText=N,Fy(D,W,{placement:"top",middleware:[Ny(-18),Iy()]}).then(({x:ce,y:be})=>{W.style.left=`${ce}px`,W.style.top=`${be}px`}),D.addEventListener("mouseleave",()=>W.remove())}function K(D){ot[D?"unshift":"push"](()=>{O=D,e(8,O)})}function R(){d=this.value,e(6,d)}let ee=D=>j(D),q=()=>e(7,T=!1);function le(){b=this.clientWidth,e(12,b)}let m=(D,N)=>V(N.currentTarget,we(D)),y=(D,N)=>V(N.currentTarget,D),_=D=>P(D),w=D=>e(11,p=D);function S(D){ot[D?"unshift":"push"](()=>{E=D,e(9,E)})}let C=()=>e(11,p=null),L=D=>Y(D),$=(D,N)=>V(N.currentTarget,we(D));return r.$$set=D=>{"task"in D&&e(5,n=D.task),"editableTask"in D&&e(0,i=D.editableTask),"allTasks"in D&&e(20,s=D.allTasks),"_onDescriptionKeyDown"in D&&e(21,a=D._onDescriptionKeyDown),"type"in D&&e(1,o=D.type),"labelText"in D&&e(2,l=D.labelText),"accesskey"in D&&e(3,u=D.accesskey),"placeholder"in D&&e(4,c=D.placeholder)},r.$$.update=()=>{if(r.$$.dirty[0]&768){e:J(O,E)}if(r.$$.dirty[0]&192){e:e(10,f=T?ae(d):null)}},[i,o,l,u,c,n,d,T,O,E,f,p,b,P,Y,j,H,ye,we,V,s,a,K,R,ee,q,le,m,y,_,w,S,C,L,$]}var Ly=class extends ir{constructor(t){super(),Xr(this,t,RU,OU,Zr,{task:5,editableTask:0,allTasks:20,_onDescriptionKeyDown:21,type:1,labelText:2,accesskey:3,placeholder:4},null,[-1,-1])}},Uy=Ly;pn();Ms();lu();var Tu=require("obsidian");pn();js();vy();var bu,Yy,$y,CU=["md"];function Od(){return sn.getLogger("tasks.File")}var aE=({metadataCache:r,vault:t,workspace:e})=>{bu=r,Yy=t,$y=e},In=e=>I(void 0,[e],function*({originalTask:r,newTasks:t}){if(Yy===void 0||bu===void 0||$y===void 0){Ed("Tasks: cannot use File before initializing it.");return}Array.isArray(t)||(t=[t]);let n=Od(),i="replaceTaskWithTasks()";dd(n,i,r),fd(n,i,t),yield lE({originalTask:r,newTasks:t,vault:Yy,metadataCache:bu,workspace:$y,previousTries:0})});function Ed(r){console.error(r),new Tu.Notice(r,15e3)}function oE(r){console.warn(r),new Tu.Notice(r,1e4)}function MU(r){Od().debug(r)}var Zi=class extends Error{},xd=class extends Error{},lE=a=>I(void 0,[a],function*({originalTask:r,newTasks:t,vault:e,metadataCache:n,workspace:i,previousTries:s}){let o=Od();o.debug(`tryRepetitive after ${s} previous tries`);let l=()=>I(void 0,null,function*(){if(s>10){let c=`Tasks: Could not find the correct task line to update.
The task line not updated is:
${r.originalMarkdown}
In this markdown file:
"${r.taskLocation.path}"
Note: further clicks on this checkbox will usually now be ignored until the file is opened (or certain, specific edits are made - it's complicated).
Recommendations:
1. Close all panes that have the above file open, and then re-open the file.
2. Check for exactly identical copies of the task line, in this file, and see if you can make them different.
`;Ed(c);return}let u=Math.min(Math.pow(10,s),100);o.debug(`timeout = ${u}`),setTimeout(()=>I(void 0,null,function*(){yield lE({originalTask:r,newTasks:t,vault:e,metadataCache:n,workspace:i,previousTries:s+1})}),u)});try{let[u,c,d]=yield uE(r,e),f=[...d.slice(0,u),...t.map(p=>p.toFileLineString()),...d.slice(u+1)];yield e.modify(c,f.join(`
`))}catch(u){if(u instanceof Zi){u.message&&oE(u.message),yield l();return}else if(u instanceof xd){yield l();return}else u instanceof Error&&Ed(u.message)}});function uE(r,t){return I(this,null,function*(){if(bu===void 0)throw new Zi;let e=t.getAbstractFileByPath(r.path);if(!(e instanceof Tu.TFile))throw new Zi(`Tasks: No file found for task ${r.description}. Retrying ...`);if(!CU.includes(e.extension))throw new Error(`Tasks: Does not support files with the ${e.extension} file extension.`);let n=bu.getFileCache(e);if(n==null||n===null)throw new Zi(`Tasks: No file cache found for file ${e.path}. Retrying ...`);let i=n.listItems;if(i===void 0||i.length===0)throw new Zi(`Tasks: No list items found in file cache of ${e.path}. Retrying ...`);let a=(yield t.read(e)).split(`
`),o=AU(r,a,i,MU);if(o===void 0)throw new xd;return[o,e,a]})}function Wy(r,t){return I(this,null,function*(){try{let[e,n,i]=yield uE(r,t);return[e,n]}catch(e){e instanceof Zi?e.message&&oE(e.message):e instanceof Error&&Ed(e.message)}})}function cE(r,t){return r<t.length}function AU(r,t,e,n){let i=PU(r,t);return i!==void 0||(i=NU(r,t),i!==void 0)?i:IU(r,t,e,n)}function PU(r,t){let e=r.taskLocation.lineNumber;if(cE(e,t)&&t[e]===r.originalMarkdown)return Od().debug(`Found original markdown at original line number ${e}`),e}function NU(r,t){let e=[];for(let n=0;n<t.length;n++)t[n]===r.originalMarkdown&&e.push(n);if(e.length===1)return e[0]}function IU(r,t,e,n){let i,s=0;for(let a of e){let o=a.position.start.line;if(!cE(o,t))return;if(o<r.taskLocation.sectionStart||a.task===void 0)continue;let l=t[o];if(Ne.getInstance().includedIn(l)){if(s===r.taskLocation.sectionIndex){if(l===r.originalMarkdown)i=o;else{n(`Tasks: Unable to find task in file ${r.taskLocation.path}.
Expected task:
${r.originalMarkdown}
Found task:
${l}`);return}break}s++}}return i}$c();Wa();Xc();Nt();id();Mn();var io=class{constructor(t){this.addGlobalFilterOnSave=t.addGlobalFilterOnSave,this.originalBlocking=t.originalBlocking,this.description=t.description,this.status=t.status,this.priority=t.priority,this.onCompletion=t.onCompletion,this.recurrenceRule=t.recurrenceRule,this.createdDate=t.createdDate,this.startDate=t.startDate,this.scheduledDate=t.scheduledDate,this.dueDate=t.dueDate,this.doneDate=t.doneDate,this.cancelledDate=t.cancelledDate,this.forwardOnly=t.forwardOnly,this.blockedBy=t.blockedBy,this.blocking=t.blocking}static fromTask(t,e){let n=Ne.getInstance().removeAsWordFrom(t.description),i=n!=t.description||!Ne.getInstance().includedIn(t.description),s="none";t.priority==="5"?s="lowest":t.priority==="4"?s="low":t.priority==="2"?s="medium":t.priority==="1"?s="high":t.priority==="0"&&(s="highest");let a=[];for(let l of t.dependsOn){let u=e.find(c=>c.id===l);!u||a.push(u)}let o=e.filter(l=>l.dependsOn.includes(t.id));return new io({addGlobalFilterOnSave:i,originalBlocking:o,description:n,status:t.status,priority:s,recurrenceRule:t.recurrence?t.recurrence.toText():"",onCompletion:t.onCompletion,createdDate:t.created.formatAsDate(),startDate:t.start.formatAsDate(),scheduledDate:t.scheduled.formatAsDate(),dueDate:t.due.formatAsDate(),doneDate:t.done.formatAsDate(),cancelledDate:t.cancelled.formatAsDate(),forwardOnly:!0,blockedBy:a,blocking:o})}applyEdits(t,e){return I(this,null,function*(){let n=this.description.trim();this.addGlobalFilterOnSave&&(n=Ne.getInstance().prependTo(n));let i=Cs(this.startDate,this.forwardOnly),s=Cs(this.scheduledDate,this.forwardOnly),a=Cs(this.dueDate,this.forwardOnly),o=Cs(this.cancelledDate,this.forwardOnly),l=Cs(this.createdDate,this.forwardOnly),u=Cs(this.doneDate,this.forwardOnly),c=null;this.recurrenceRule&&(c=Dt.fromText({recurrenceRuleText:this.recurrenceRule,occurrence:new Xn({startDate:i,scheduledDate:s,dueDate:a})}));let d=this.onCompletion,f=[];for(let E of this.blockedBy){let P=yield FU(E,e);f.push(P)}let p=t.id,b=[],T=[];(this.blocking.toString()!==this.originalBlocking.toString()||this.blocking.length!==0)&&(t.id===""&&(p=au(e.filter(E=>E.id!=="").map(E=>E.id))),b=this.originalBlocking.filter(E=>!this.blocking.includes(E)),T=this.blocking.filter(E=>!this.originalBlocking.includes(E)));let v=new pe(de(F({},t),{description:n,status:t.status,priority:An.priorityValue(this.priority),onCompletion:d,recurrence:c,startDate:i,scheduledDate:s,dueDate:a,doneDate:u,createdDate:l,cancelledDate:o,dependsOn:f.map(E=>E.id),id:p}));for(let E of b){let P=GS(E,v);yield In({originalTask:E,newTasks:P})}for(let E of T){let P=HS(E,v);yield In({originalTask:E,newTasks:P})}let O=this.inferTodaysDate(this.status.type,u,o);return v.handleNewStatusWithRecurrenceInUsersOrder(this.status,O)})}inferTodaysDate(t,e,n){return t==="DONE"&&e!==null?e:t==="CANCELLED"&&n!==null?n:window.moment()}parseAndValidateRecurrence(){var e;if(!this.recurrenceRule)return{parsedRecurrence:"<i>not recurring</>",isRecurrenceValid:!0};let t=(e=Dt.fromText({recurrenceRuleText:this.recurrenceRule,occurrence:new Xn({startDate:null,scheduledDate:null,dueDate:null})}))==null?void 0:e.toText();return t?this.startDate||this.scheduledDate||this.dueDate?{parsedRecurrence:t,isRecurrenceValid:!0}:{parsedRecurrence:"<i>due, scheduled or start date required</i>",isRecurrenceValid:!1}:{parsedRecurrence:"<i>invalid recurrence rule</i>",isRecurrenceValid:!1}}};function FU(r,t){return I(this,null,function*(){if(r.id!=="")return r;let e=t.filter(i=>i.id!==""),n=rd(r,e.map(i=>i.id));return yield In({originalTask:r,newTasks:n}),n})}Vt();function LU(r){let t,e=Ut("Recurs",r[2])+"",n,i,s,a,o,l,u,c,d;return{c(){t=ue("label"),n=xe(),i=ue("input"),s=xe(),a=ue("code"),o=Ve(r[4]),l=xe(),u=new Xa(!1),B(t,"for","recurrence"),B(i,"id","recurrence"),B(i,"type","text"),B(i,"class","tasks-modal-date-input"),B(i,"placeholder","Try 'every day when done'"),B(i,"accesskey",r[2]),Ei(i,"tasks-modal-error",!r[1]),u.a=null,B(a,"class","tasks-modal-parsed-date")},m(f,p){Ee(f,t,p),t.innerHTML=e,Ee(f,n,p),Ee(f,i,p),mn(i,r[0].recurrenceRule),Ee(f,s,p),Ee(f,a,p),z(a,o),z(a,l),u.m(r[3],a),c||(d=We(i,"input",r[5]),c=!0)},p(f,[p]){p&4&&e!==(e=Ut("Recurs",f[2])+"")&&(t.innerHTML=e),p&4&&B(i,"accesskey",f[2]),p&1&&i.value!==f[0].recurrenceRule&&mn(i,f[0].recurrenceRule),p&2&&Ei(i,"tasks-modal-error",!f[1]),p&8&&u.p(f[3])},i:tt,o:tt,d(f){f&&_e(t),f&&_e(n),f&&_e(i),f&&_e(s),f&&_e(a),c=!1,d()}}}function UU(r,t,e){let{editableTask:n}=t,{isRecurrenceValid:i}=t,{accesskey:s}=t,a,{recurrenceSymbol:o}=xr.tasksPluginEmoji.taskSerializer.symbols;function l(){n.recurrenceRule=this.value,e(0,n)}return r.$$set=u=>{"editableTask"in u&&e(0,n=u.editableTask),"isRecurrenceValid"in u&&e(1,i=u.isRecurrenceValid),"accesskey"in u&&e(2,s=u.accesskey)},r.$$.update=()=>{if(r.$$.dirty&1){e:e(3,{parsedRecurrence:a,isRecurrenceValid:i}=n.parseAndValidateRecurrence(),a,(e(1,i),e(0,n)))}},[n,i,s,a,o,l]}var qy=class extends ir{constructor(t){super(),Xr(this,t,UU,LU,Zr,{editableTask:0,isRecurrenceValid:1,accesskey:2})}},dE=qy;function fE(r,t,e){let n=r.slice();return n[7]=t[e],n}function pE(r){let t,e=r[7].name+"",n,i,s=r[7].symbol+"",a,o,l;return{c(){t=ue("option"),n=Ve(e),i=Ve(" ["),a=Ve(s),o=Ve("]"),t.__value=l=r[7].symbol,t.value=t.__value},m(u,c){Ee(u,t,c),z(t,n),z(t,i),z(t,a),z(t,o)},p(u,c){c&1&&e!==(e=u[7].name+"")&&sr(n,e),c&1&&s!==(s=u[7].symbol+"")&&sr(a,s),c&1&&l!==(l=u[7].symbol)&&(t.__value=l,t.value=t.__value)},d(u){u&&_e(t)}}}function YU(r){let t,e=Ut("Status",r[1])+"",n,i,s,a,o=r[0],l=[];for(let u=0;u<o.length;u+=1)l[u]=pE(fE(r,o,u));return{c(){t=ue("label"),n=xe(),i=ue("select");for(let u=0;u<l.length;u+=1)l[u].c();B(t,"for","status"),B(i,"id","status-type"),B(i,"class","status-editor-status-selector"),B(i,"accesskey",r[1]),r[2]===void 0&&Bs(()=>r[6].call(i))},m(u,c){Ee(u,t,c),t.innerHTML=e,Ee(u,n,c),Ee(u,i,c);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(i,null);Dy(i,r[2],!0),s||(a=[We(i,"change",r[6]),We(i,"change",r[3])],s=!0)},p(u,[c]){if(c&2&&e!==(e=Ut("Status",u[1])+"")&&(t.innerHTML=e),c&1){o=u[0];let d;for(d=0;d<o.length;d+=1){let f=fE(u,o,d);l[d]?l[d].p(f,c):(l[d]=pE(f),l[d].c(),l[d].m(i,null))}for(;d<l.length;d+=1)l[d].d(1);l.length=o.length}c&2&&B(i,"accesskey",u[1]),c&5&&Dy(i,u[2])},i:tt,o:tt,d(u){u&&_e(t),u&&_e(n),u&&_e(i),Vs(l,u),s=!1,zt(a)}}}function mE(r,t,e){let n=r==="";return t&&n?e.formatAsDate():!t&&!n?"":r}function $U(r,t,e){let{task:n}=t,{editableTask:i}=t,{statusOptions:s}=t,{accesskey:a}=t,o=n.status.symbol,l=()=>{let c=s.find(f=>f.symbol===o);if(c)e(4,i.status=c,i);else{console.log(`Error in EditTask: cannot find status with symbol ${o}`);return}let d=n.handleNewStatus(c).pop();d&&(e(4,i.doneDate=mE(i.doneDate,c.isCompleted(),d.done),i),e(4,i.cancelledDate=mE(i.cancelledDate,c.isCancelled(),d.cancelled),i))};function u(){o=kD(this),e(2,o),e(0,s)}return r.$$set=c=>{"task"in c&&e(5,n=c.task),"editableTask"in c&&e(4,i=c.editableTask),"statusOptions"in c&&e(0,s=c.statusOptions),"accesskey"in c&&e(1,a=c.accesskey)},[s,a,o,l,i,n,u]}var jy=class extends ir{constructor(t){super(),Xr(this,t,$U,YU,Zr,{task:5,editableTask:4,statusOptions:0,accesskey:1})}},hE=jy;function gE(r,t,e){let n=r.slice();return n[49]=t[e].value,n[50]=t[e].label,n[51]=t[e].symbol,n[52]=t[e].accessKey,n[53]=t[e].accessKeyIndex,n}function WU(r){let t,e=r[50]+"",n;return{c(){t=ue("span"),n=Ve(e)},m(i,s){Ee(i,t,s),z(t,n)},p:tt,d(i){i&&_e(t)}}}function qU(r){let t,e=r[50].substring(0,r[53])+"",n,i,s=r[50].substring(r[53],r[53]+1)+"",a,o,l=r[50].substring(r[53]+1)+"",u;return{c(){t=ue("span"),n=Ve(e),i=ue("span"),a=Ve(s),o=ue("span"),u=Ve(l),B(i,"class","accesskey")},m(c,d){Ee(c,t,d),z(t,n),Ee(c,i,d),z(i,a),Ee(c,o,d),z(o,u)},p:tt,d(c){c&&_e(t),c&&_e(i),c&&_e(o)}}}function jU(r){let t,e=r[51]+"",n;return{c(){t=ue("span"),n=Ve(e)},m(i,s){Ee(i,t,s),z(t,n)},p:tt,d(i){i&&_e(t)}}}function yE(r){let t,e,n,i,s,a,o,l,u=r[51]&&r[51].charCodeAt(0)>=256,c,d,f,p,b;function T(P,Y){return P[11]?qU:WU}let v=T(r,[-1,-1]),O=v(r),E=u&&jU(r);return f=wD(r[32][0]),{c(){t=ue("div"),e=ue("input"),a=xe(),o=ue("label"),O.c(),l=xe(),E&&E.c(),d=xe(),B(e,"type","radio"),B(e,"id",n="priority-"+r[49]),e.__value=i=r[49],e.value=e.__value,B(e,"accesskey",s=r[15](r[52])),B(o,"for",c="priority-"+r[49]),B(t,"class","task-modal-priority-option-container"),f.p(e)},m(P,Y){Ee(P,t,Y),z(t,e),e.checked=e.__value===r[3].priority,z(t,a),z(t,o),O.m(o,null),z(o,l),E&&E.m(o,null),z(t,d),p||(b=We(e,"change",r[31]),p=!0)},p(P,Y){Y[0]&32768&&s!==(s=P[15](P[52]))&&B(e,"accesskey",s),Y[0]&8&&(e.checked=e.__value===P[3].priority),v===(v=T(P,Y))&&O?O.p(P,Y):(O.d(1),O=v(P),O&&(O.c(),O.m(o,l))),u&&E.p(P,Y)},d(P){P&&_e(t),O.d(),E&&E.d(),f.r(),p=!1,b()}}}function HU(r){let t;return{c(){t=ue("div"),t.innerHTML="<i>Blocking and blocked by fields are disabled when vault tasks is empty</i>"},m(e,n){Ee(e,t,n)},p:tt,i:tt,o:tt,d(e){e&&_e(t)}}}function GU(r){let t,e,n,i;return t=new Uy({props:{type:"blockedBy",labelText:"Before this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[15]("b"),placeholder:"Search for tasks that the task being edited depends on..."}}),n=new Uy({props:{type:"blocking",labelText:"After this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[15]("e"),placeholder:"Search for tasks that depend on this task being done..."}}),{c(){Rr(t.$$.fragment),e=xe(),Rr(n.$$.fragment)},m(s,a){ar(t,s,a),Ee(s,e,a),ar(n,s,a),i=!0},p(s,a){let o={};a[0]&1&&(o.task=s[0]),a[0]&8&&(o.editableTask=s[3]),a[0]&4&&(o.allTasks=s[2]),a[0]&32768&&(o.accesskey=s[15]("b")),t.$set(o);let l={};a[0]&1&&(l.task=s[0]),a[0]&8&&(l.editableTask=s[3]),a[0]&4&&(l.allTasks=s[2]),a[0]&32768&&(l.accesskey=s[15]("e")),n.$set(l)},i(s){i||(hn(t.$$.fragment,s),hn(n.$$.fragment,s),i=!0)},o(s){Pn(t.$$.fragment,s),Pn(n.$$.fragment,s),i=!1},d(s){Nn(t,s),s&&_e(e),Nn(n,s)}}}function BU(r){let t,e,n,i=Ut("Description",r[15]("t"))+"",s,a,o,l,u,c,d,f,p,b,T,v,O,E,P,Y,j,ae,H,J,ye,we,V,K,R,ee,q,le,m,y,_=Ut("Only future dates:",r[15]("f"))+"",w,S,C,L,$,D,N,W,ce,be,Oe,Ge,Le,$t,mr,wn,te,Wt,st,ds,hr,Ao,la,ua,$n,Ii,Po,No,Fi,Lr,Fu,ca,Io,fs,Wn,Ze,da,Ur=r[22],xt=[];for(let U=0;U<Ur.length;U+=1)xt[U]=yE(gE(r,Ur,U));function fa(U){r[33](U)}let pa={editableTask:r[3],accesskey:r[15]("r")};r[10]!==void 0&&(pa.isRecurrenceValid=r[10]),E=new dE({props:pa}),ot.push(()=>on(E,"isRecurrenceValid",fa));function gr(U){r[34](U)}function Lf(U){r[35](U)}let Fo={id:"due",dateSymbol:r[18],forwardOnly:r[3].forwardOnly,accesskey:r[15]("d")};r[3].dueDate!==void 0&&(Fo.date=r[3].dueDate),r[7]!==void 0&&(Fo.isDateValid=r[7]),j=new zs({props:Fo}),ot.push(()=>on(j,"date",gr)),ot.push(()=>on(j,"isDateValid",Lf));function h(U){r[36](U)}function g(U){r[37](U)}let k={id:"scheduled",dateSymbol:r[17],forwardOnly:r[3].forwardOnly,accesskey:r[15]("s")};r[3].scheduledDate!==void 0&&(k.date=r[3].scheduledDate),r[8]!==void 0&&(k.isDateValid=r[8]),ye=new zs({props:k}),ot.push(()=>on(ye,"date",h)),ot.push(()=>on(ye,"isDateValid",g));function A(U){r[38](U)}function G(U){r[39](U)}let X={id:"start",dateSymbol:r[16],forwardOnly:r[3].forwardOnly,accesskey:r[15]("a")};r[3].startDate!==void 0&&(X.date=r[3].startDate),r[9]!==void 0&&(X.isDateValid=r[9]),R=new zs({props:X}),ot.push(()=>on(R,"date",A)),ot.push(()=>on(R,"isDateValid",G));let ve=[GU,HU],ne=[];function Re(U,he){return U[2].length>0&&U[14]?0:1}W=Re(r,[-1,-1]),ce=ne[W]=ve[W](r);function se(U){r[41](U)}let me={task:r[0],statusOptions:r[1],accesskey:r[15]("u")};r[3]!==void 0&&(me.editableTask=r[3]),$t=new hE({props:me}),ot.push(()=>on($t,"editableTask",se));function ze(U){r[42](U)}function qn(U){r[43](U)}let Ot={id:"created",dateSymbol:r[20],forwardOnly:r[3].forwardOnly,accesskey:r[15]("c")};r[3].createdDate!==void 0&&(Ot.date=r[3].createdDate),r[5]!==void 0&&(Ot.isDateValid=r[5]),te=new zs({props:Ot}),ot.push(()=>on(te,"date",ze)),ot.push(()=>on(te,"isDateValid",qn));function ps(U){r[44](U)}function Li(U){r[45](U)}let Lo={id:"done",dateSymbol:r[21],forwardOnly:r[3].forwardOnly,accesskey:r[15]("x")};r[3].doneDate!==void 0&&(Lo.date=r[3].doneDate),r[6]!==void 0&&(Lo.isDateValid=r[6]),hr=new zs({props:Lo}),ot.push(()=>on(hr,"date",ps)),ot.push(()=>on(hr,"isDateValid",Li));function Uo(U){r[46](U)}function Uf(U){r[47](U)}let Yo={id:"cancelled",dateSymbol:r[19],forwardOnly:r[3].forwardOnly,accesskey:r[15]("-")};return r[3].cancelledDate!==void 0&&(Yo.date=r[3].cancelledDate),r[4]!==void 0&&(Yo.isDateValid=r[4]),$n=new zs({props:Yo}),ot.push(()=>on($n,"date",Uo)),ot.push(()=>on($n,"isDateValid",Uf)),{c(){t=ue("form"),e=ue("section"),n=ue("label"),s=xe(),a=ue("textarea"),l=xe(),u=ue("section"),c=ue("label"),d=Ve("Priority"),p=xe();for(let U=0;U<xt.length;U+=1)xt[U].c();b=xe(),T=ue("hr"),v=xe(),O=ue("section"),Rr(E.$$.fragment),Y=xe(),Rr(j.$$.fragment),J=xe(),Rr(ye.$$.fragment),K=xe(),Rr(R.$$.fragment),le=xe(),m=ue("div"),y=ue("label"),w=xe(),S=ue("input"),L=xe(),$=ue("hr"),D=xe(),N=ue("section"),ce.c(),be=xe(),Oe=ue("hr"),Ge=xe(),Le=ue("section"),Rr($t.$$.fragment),wn=xe(),Rr(te.$$.fragment),ds=xe(),Rr(hr.$$.fragment),ua=xe(),Rr($n.$$.fragment),No=xe(),Fi=ue("section"),Lr=ue("button"),Fu=Ve("Apply"),Io=xe(),fs=ue("button"),fs.textContent="Cancel",B(n,"for","description"),B(a,"id","description"),B(a,"class","tasks-modal-description"),B(a,"placeholder","Take out the trash"),B(a,"accesskey",o=r[15]("t")),B(e,"class","tasks-modal-description-section"),B(c,"for",f="priority-"+r[3].priority),B(u,"class","tasks-modal-priority-section"),B(y,"for","forwardOnly"),B(S,"id","forwardOnly"),B(S,"type","checkbox"),B(S,"class","task-list-item-checkbox tasks-modal-checkbox"),B(S,"accesskey",C=r[15]("f")),B(m,"class","future-dates-only"),B(O,"class","tasks-modal-dates-section"),B(N,"class","tasks-modal-dependencies-section"),B(Le,"class","tasks-modal-dates-section"),Lr.disabled=ca=!r[13],B(Lr,"type","submit"),B(Lr,"class","mod-cta"),B(fs,"type","button"),B(Fi,"class","tasks-modal-button-section"),B(t,"class","tasks-modal")},m(U,he){Ee(U,t,he),z(t,e),z(e,n),n.innerHTML=i,z(e,s),z(e,a),mn(a,r[3].description),r[30](a),z(t,l),z(t,u),z(u,c),z(c,d),z(u,p);for(let yr=0;yr<xt.length;yr+=1)xt[yr]&&xt[yr].m(u,null);z(t,b),z(t,T),z(t,v),z(t,O),ar(E,O,null),z(O,Y),ar(j,O,null),z(O,J),ar(ye,O,null),z(O,K),ar(R,O,null),z(O,le),z(O,m),z(m,y),y.innerHTML=_,z(m,w),z(m,S),S.checked=r[3].forwardOnly,z(t,L),z(t,$),z(t,D),z(t,N),ne[W].m(N,null),z(t,be),z(t,Oe),z(t,Ge),z(t,Le),ar($t,Le,null),z(Le,wn),ar(te,Le,null),z(Le,ds),ar(hr,Le,null),z(Le,ua),ar($n,Le,null),z(t,No),z(t,Fi),z(Fi,Lr),z(Lr,Fu),z(Fi,Io),z(Fi,fs),Wn=!0,Ze||(da=[We(a,"input",r[29]),We(a,"keydown",r[24]),We(a,"paste",r[25]),We(a,"drop",r[25]),We(S,"change",r[40]),We(fs,"click",r[23]),We(t,"submit",_D(r[26]))],Ze=!0)},p(U,he){if((!Wn||he[0]&32768)&&i!==(i=Ut("Description",U[15]("t"))+"")&&(n.innerHTML=i),(!Wn||he[0]&32768&&o!==(o=U[15]("t")))&&B(a,"accesskey",o),he[0]&8&&mn(a,U[3].description),(!Wn||he[0]&8&&f!==(f="priority-"+U[3].priority))&&B(c,"for",f),he[0]&4229128){Ur=U[22];let jn;for(jn=0;jn<Ur.length;jn+=1){let Mb=gE(U,Ur,jn);xt[jn]?xt[jn].p(Mb,he):(xt[jn]=yE(Mb),xt[jn].c(),xt[jn].m(u,null))}for(;jn<xt.length;jn+=1)xt[jn].d(1);xt.length=Ur.length}let yr={};he[0]&8&&(yr.editableTask=U[3]),he[0]&32768&&(yr.accesskey=U[15]("r")),!P&&he[0]&1024&&(P=!0,yr.isRecurrenceValid=U[10],an(()=>P=!1)),E.$set(yr);let ms={};he[0]&8&&(ms.forwardOnly=U[3].forwardOnly),he[0]&32768&&(ms.accesskey=U[15]("d")),!ae&&he[0]&8&&(ae=!0,ms.date=U[3].dueDate,an(()=>ae=!1)),!H&&he[0]&128&&(H=!0,ms.isDateValid=U[7],an(()=>H=!1)),j.$set(ms);let hs={};he[0]&8&&(hs.forwardOnly=U[3].forwardOnly),he[0]&32768&&(hs.accesskey=U[15]("s")),!we&&he[0]&8&&(we=!0,hs.date=U[3].scheduledDate,an(()=>we=!1)),!V&&he[0]&256&&(V=!0,hs.isDateValid=U[8],an(()=>V=!1)),ye.$set(hs);let gs={};he[0]&8&&(gs.forwardOnly=U[3].forwardOnly),he[0]&32768&&(gs.accesskey=U[15]("a")),!ee&&he[0]&8&&(ee=!0,gs.date=U[3].startDate,an(()=>ee=!1)),!q&&he[0]&512&&(q=!0,gs.isDateValid=U[9],an(()=>q=!1)),R.$set(gs),(!Wn||he[0]&32768)&&_!==(_=Ut("Only future dates:",U[15]("f"))+"")&&(y.innerHTML=_),(!Wn||he[0]&32768&&C!==(C=U[15]("f")))&&B(S,"accesskey",C),he[0]&8&&(S.checked=U[3].forwardOnly);let Yf=W;W=Re(U,he),W===Yf?ne[W].p(U,he):(ED(),Pn(ne[Yf],1,1,()=>{ne[Yf]=null}),xD(),ce=ne[W],ce?ce.p(U,he):(ce=ne[W]=ve[W](U),ce.c()),hn(ce,1),ce.m(N,null));let $o={};he[0]&1&&($o.task=U[0]),he[0]&2&&($o.statusOptions=U[1]),he[0]&32768&&($o.accesskey=U[15]("u")),!mr&&he[0]&8&&(mr=!0,$o.editableTask=U[3],an(()=>mr=!1)),$t.$set($o);let Wo={};he[0]&8&&(Wo.forwardOnly=U[3].forwardOnly),he[0]&32768&&(Wo.accesskey=U[15]("c")),!Wt&&he[0]&8&&(Wt=!0,Wo.date=U[3].createdDate,an(()=>Wt=!1)),!st&&he[0]&32&&(st=!0,Wo.isDateValid=U[5],an(()=>st=!1)),te.$set(Wo);let qo={};he[0]&8&&(qo.forwardOnly=U[3].forwardOnly),he[0]&32768&&(qo.accesskey=U[15]("x")),!Ao&&he[0]&8&&(Ao=!0,qo.date=U[3].doneDate,an(()=>Ao=!1)),!la&&he[0]&64&&(la=!0,qo.isDateValid=U[6],an(()=>la=!1)),hr.$set(qo);let jo={};he[0]&8&&(jo.forwardOnly=U[3].forwardOnly),he[0]&32768&&(jo.accesskey=U[15]("-")),!Ii&&he[0]&8&&(Ii=!0,jo.date=U[3].cancelledDate,an(()=>Ii=!1)),!Po&&he[0]&16&&(Po=!0,jo.isDateValid=U[4],an(()=>Po=!1)),$n.$set(jo),(!Wn||he[0]&8192&&ca!==(ca=!U[13]))&&(Lr.disabled=ca)},i(U){Wn||(hn(E.$$.fragment,U),hn(j.$$.fragment,U),hn(ye.$$.fragment,U),hn(R.$$.fragment,U),hn(ce),hn($t.$$.fragment,U),hn(te.$$.fragment,U),hn(hr.$$.fragment,U),hn($n.$$.fragment,U),Wn=!0)},o(U){Pn(E.$$.fragment,U),Pn(j.$$.fragment,U),Pn(ye.$$.fragment,U),Pn(R.$$.fragment,U),Pn(ce),Pn($t.$$.fragment,U),Pn(te.$$.fragment,U),Pn(hr.$$.fragment,U),Pn($n.$$.fragment,U),Wn=!1},d(U){U&&_e(t),r[30](null),Vs(xt,U),Nn(E),Nn(j),Nn(ye),Nn(R),ne[W].d(),Nn($t),Nn(te),Nn(hr),Nn($n),Ze=!1,zt(da)}}}function VU(r,t,e){let n,{task:i}=t,{onSubmit:s}=t,{statusOptions:a}=t,{allTasks:o}=t,{prioritySymbols:l,startDateSymbol:u,scheduledDateSymbol:c,dueDateSymbol:d,cancelledDateSymbol:f,createdDateSymbol:p,doneDateSymbol:b}=xr.tasksPluginEmoji.taskSerializer.symbols,T,v=io.fromTask(i,o),O=!0,E=!0,P=!0,Y=!0,j=!0,ae=!0,H=!0,J=!0,ye=!0,we=!0,V=!1,K=[{value:"lowest",label:"Lowest",symbol:l.Lowest,accessKey:"o",accessKeyIndex:1},{value:"low",label:"Low",symbol:l.Low,accessKey:"l",accessKeyIndex:0},{value:"none",label:"Normal",symbol:l.None,accessKey:"n",accessKeyIndex:0},{value:"medium",label:"Medium",symbol:l.Medium,accessKey:"m",accessKeyIndex:0},{value:"high",label:"High",symbol:l.High,accessKey:"h",accessKeyIndex:0},{value:"highest",label:"Highest",symbol:l.Highest,accessKey:"i",accessKeyIndex:1}];Ey(()=>{let{provideAccessKeys:te}=re();e(11,ye=te),e(14,V=!0),setTimeout(()=>{T.focus()},10)});let R=()=>{s([])},ee=te=>{te.key==="Enter"&&!te.isComposing&&(te.preventDefault(),we&&le())},q=()=>{setTimeout(()=>{e(3,v.description=v.description.replace(/[\r\n]+/g," "),v)},0)},le=()=>zk(void 0,void 0,void 0,function*(){let te=yield v.applyEdits(i,o);s(te)}),m=[[]];function y(){v.description=this.value,e(3,v)}function _(te){ot[te?"unshift":"push"](()=>{T=te,e(12,T)})}function w(){v.priority=this.__value,e(3,v)}function S(te){J=te,e(10,J)}function C(te){r.$$.not_equal(v.dueDate,te)&&(v.dueDate=te,e(3,v))}function L(te){j=te,e(7,j)}function $(te){r.$$.not_equal(v.scheduledDate,te)&&(v.scheduledDate=te,e(3,v))}function D(te){ae=te,e(8,ae)}function N(te){r.$$.not_equal(v.startDate,te)&&(v.startDate=te,e(3,v))}function W(te){H=te,e(9,H)}function ce(){v.forwardOnly=this.checked,e(3,v)}function be(te){v=te,e(3,v)}function Oe(te){r.$$.not_equal(v.createdDate,te)&&(v.createdDate=te,e(3,v))}function Ge(te){P=te,e(5,P)}function Le(te){r.$$.not_equal(v.doneDate,te)&&(v.doneDate=te,e(3,v))}function $t(te){Y=te,e(6,Y)}function mr(te){r.$$.not_equal(v.cancelledDate,te)&&(v.cancelledDate=te,e(3,v))}function wn(te){E=te,e(4,E)}return r.$$set=te=>{"task"in te&&e(0,i=te.task),"onSubmit"in te&&e(27,s=te.onSubmit),"statusOptions"in te&&e(1,a=te.statusOptions),"allTasks"in te&&e(2,o=te.allTasks)},r.$$.update=()=>{if(r.$$.dirty[0]&2048){e:e(15,n=te=>ye?te:null)}if(r.$$.dirty[0]&8){e:e(28,O=v.description.trim()!=="")}if(r.$$.dirty[0]&268437488){e:e(13,we=j&&J&&ae&&H&&O&&E&&P&&Y)}},[i,a,o,v,E,P,Y,j,ae,H,J,ye,T,we,V,n,u,c,d,f,p,b,K,R,ee,q,le,s,O,y,_,w,m,S,C,L,$,D,N,W,ce,be,Oe,Ge,Le,$t,mr,wn]}var Hy=class extends ir{constructor(t){super(),Xr(this,t,VU,BU,Zr,{task:0,onSubmit:27,statusOptions:1,allTasks:2},null,[-1,-1])}},bE=Hy;Kr();Er();var ei=class extends TE.Modal{constructor({app:e,task:n,onSubmit:i,allTasks:s}){super(e);this.task=n,this.allTasks=s,this.onSubmit=a=>{a.length&&i(a),this.close()}}onOpen(){this.titleEl.setText("Create or edit Task"),this.modalEl.style.paddingBottom="0";let{contentEl:e}=this;this.contentEl.style.paddingBottom="0";let n=this.getKnownStatusesAndCurrentTaskStatusIfNotKnown();new bE({target:e,props:{task:this.task,statusOptions:n,onSubmit:this.onSubmit,allTasks:this.allTasks}})}getKnownStatusesAndCurrentTaskStatusIfNotKnown(){let e=$e.getInstance().registeredStatuses;return $e.getInstance().bySymbol(this.task.status.symbol)===ge.EMPTY&&e.push(this.task.status),e}onClose(){let{contentEl:e}=this;e.empty()}};Ki();Er();ed();Nt();Ki();Kr();Vt();pn();Wa();li();function zU(){let{setCreatedDate:r}=re();return r?window.moment():null}function KU(r){let{setCreatedDate:t}=re();if(!t||r.createdDate!==null)return!1;let e=r.description==="",n=!Ne.getInstance().isEmpty(),i=!Ne.getInstance().includedIn(r.description);return e||n&&i}var so=({line:r,path:t})=>{var f,p;let e=pe.parseTaskSignifiers(r,Lt.fromUnknownPosition(new mt(t)),Ft.fromPath(t)),n=zU();if(e!==null)return KU(e)?new pe(de(F({},e),{createdDate:n})):e;let i=r.match(fe.nonTaskRegex);if(i===null)return console.error("Tasks: Cannot create task on line:",r),new pe({status:ge.TODO,description:"",taskLocation:Lt.fromUnknownPosition(new mt(t)),indentation:"",listMarker:"-",priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,onCompletion:"",dependsOn:[],id:"",blockLink:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1});let s=i[1],a=(f=i[2])!=null?f:"-",o=(p=i[4])!=null?p:" ",l=$e.getInstance().bySymbolOrCreate(o),u=i[5],c=r.match(fe.blockLinkRegex),d=c!==null?c[0]:"";return d!==""&&(u=u.replace(fe.blockLinkRegex,"")),new pe({status:l,description:u,taskLocation:Lt.fromUnknownPosition(new mt(t)),indentation:s,listMarker:a,blockLink:d,priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,onCompletion:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1,id:"",dependsOn:[]})};var vE=(r,t,e,n,i)=>{var f;if(r)return e instanceof Gy.MarkdownView;if(!(e instanceof Gy.MarkdownView))return;let s=(f=e.file)==null?void 0:f.path;if(s===void 0)return;let o=t.getCursor().line,l=t.getLine(o),u=so({line:l,path:s}),c=p=>{let b=Ft.removeInferredStatusIfNeeded(u,p).map(T=>T.toFileLineString()).join(`
`);t.setLine(o,b)};new ei({app:n,task:u,onSubmit:c,allTasks:i}).open()};var By=require("obsidian");Kr();Nt();li();var _E=(r,t,e)=>{var c;if(r)return e instanceof By.MarkdownView;if(!(e instanceof By.MarkdownView))return;let n=(c=e.file)==null?void 0:c.path;if(n===void 0)return;let i=t.getCursor(),s=i.line,a=t.getLine(s),o=Vy(a,n),l=o.text.length>0,u=s>=t.lineCount()-1;if(l||u)t.setLine(s,o.text);else{let d={line:s,ch:0},f={line:s+1,ch:0};t.replaceRange("",d,f)}t.setCursor(QU(i,o))},Vy=(r,t)=>{let e=pe.fromLine({line:r,taskLocation:Lt.fromUnknownPosition(new mt(t)),fallbackDate:null});if(e!==null){let n=e.toggleWithRecurrenceInUsersOrder().map(s=>s.toFileLineString()),i=n.length>0?n.length-1:0;return{text:n.join(`
`),moveTo:{line:i}}}else{let n=r.match(fe.taskRegex);if(n!==null){let i=n[3],a=$e.getInstance().bySymbol(i).nextStatusSymbol;return{text:r.replace(fe.taskRegex,`$1- [${a}] $4`)}}else if(fe.listItemRegex.test(r)){let i=r.replace(fe.listItemRegex,"$1$2 [ ]");return{text:i,moveTo:{ch:i.length}}}else{let i=r.replace(fe.indentationRegex,"$1- ");return{text:i,moveTo:{ch:i.length}}}}},QU=(r,t)=>{var s;let e={line:0,ch:r.ch},n=F(F({},e),(s=t.moveTo)!=null?s:{}),i=t.text.split(`
`)[n.line].length;return{line:r.line+n.line,ch:Math.min(n.ch,i)}};var gb=require("obsidian");Vt();var Xi=class{constructor(){this.hidePostponeButton=!1;this.hideTaskCount=!1;this.hideBacklinks=!1;this.hideEditButton=!1;this.hideUrgency=!0;this.hideTree=!0;this.shortMode=!1;this.explainQuery=!1}};function wE(r,t,e){let n=new Map([["backlink","hideBacklinks"],["edit button","hideEditButton"],["postpone button","hidePostponeButton"],["task count","hideTaskCount"],["tree","hideTree"],["urgency","hideUrgency"]]);for(let[i,s]of n.entries())if(t.startsWith(i))return r[s]=e,!0;return!1}Ls();function Js(r,t){let e=`Error: ${r}.
The error message was:
`,n="";return t instanceof Error?n+=t:n+="Unknown error",`${e}"${n}"`}js();var ZU=Object.prototype.toString,oo=Array.isArray||function(t){return ZU.call(t)==="[object Array]"};function Ky(r){return typeof r=="function"}function XU(r){return oo(r)?"array":typeof r}function zy(r){return r.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function kE(r,t){return r!=null&&typeof r=="object"&&t in r}function JU(r,t){return r!=null&&typeof r!="object"&&r.hasOwnProperty&&r.hasOwnProperty(t)}var eY=RegExp.prototype.test;function tY(r,t){return eY.call(r,t)}var nY=/\S/;function rY(r){return!tY(nY,r)}var iY={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function sY(r){return String(r).replace(/[&<>"'`=\/]/g,function(e){return iY[e]})}var aY=/\s*/,oY=/\s+/,SE=/\s*=/,lY=/\s*\}/,uY=/#|\^|\/|>|\{|&|=|!/;function cY(r,t){if(!r)return[];var e=!1,n=[],i=[],s=[],a=!1,o=!1,l="",u=0;function c(){if(a&&!o)for(;s.length;)delete i[s.pop()];else s=[];a=!1,o=!1}var d,f,p;function b(J){if(typeof J=="string"&&(J=J.split(oY,2)),!oo(J)||J.length!==2)throw new Error("Invalid tags: "+J);d=new RegExp(zy(J[0])+"\\s*"),f=new RegExp("\\s*"+zy(J[1])),p=new RegExp("\\s*"+zy("}"+J[1]))}b(t||ur.tags);for(var T=new _u(r),v,O,E,P,Y,j;!T.eos();){if(v=T.pos,E=T.scanUntil(d),E)for(var ae=0,H=E.length;ae<H;++ae)P=E.charAt(ae),rY(P)?(s.push(i.length),l+=P):(o=!0,e=!0,l+=" "),i.push(["text",P,v,v+1]),v+=1,P===`
`&&(c(),l="",u=0,e=!1);if(!T.scan(d))break;if(a=!0,O=T.scan(uY)||"name",T.scan(aY),O==="="?(E=T.scanUntil(SE),T.scan(SE),T.scanUntil(f)):O==="{"?(E=T.scanUntil(p),T.scan(lY),T.scanUntil(f),O="&"):E=T.scanUntil(f),!T.scan(f))throw new Error("Unclosed tag at "+T.pos);if(O==">"?Y=[O,E,v,T.pos,l,u,e]:Y=[O,E,v,T.pos],u++,i.push(Y),O==="#"||O==="^")n.push(Y);else if(O==="/"){if(j=n.pop(),!j)throw new Error('Unopened section "'+E+'" at '+v);if(j[1]!==E)throw new Error('Unclosed section "'+j[1]+'" at '+v)}else O==="name"||O==="{"||O==="&"?o=!0:O==="="&&b(E)}if(c(),j=n.pop(),j)throw new Error('Unclosed section "'+j[1]+'" at '+T.pos);return fY(dY(i))}function dY(r){for(var t=[],e,n,i=0,s=r.length;i<s;++i)e=r[i],e&&(e[0]==="text"&&n&&n[0]==="text"?(n[1]+=e[1],n[3]=e[3]):(t.push(e),n=e));return t}function fY(r){for(var t=[],e=t,n=[],i,s,a=0,o=r.length;a<o;++a)switch(i=r[a],i[0]){case"#":case"^":e.push(i),n.push(i),e=i[4]=[];break;case"/":s=n.pop(),s[5]=i[2],e=n.length>0?n[n.length-1][4]:t;break;default:e.push(i)}return t}function _u(r){this.string=r,this.tail=r,this.pos=0}_u.prototype.eos=function(){return this.tail===""};_u.prototype.scan=function(t){var e=this.tail.match(t);if(!e||e.index!==0)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};_u.prototype.scanUntil=function(t){var e=this.tail.search(t),n;switch(e){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,e),this.tail=this.tail.substring(e)}return this.pos+=n.length,n};function ao(r,t){this.view=r,this.cache={".":this.view},this.parent=t}ao.prototype.push=function(t){return new ao(t,this)};ao.prototype.lookup=function(t){var e=this.cache,n;if(e.hasOwnProperty(t))n=e[t];else{for(var i=this,s,a,o,l=!1;i;){if(t.indexOf(".")>0)for(s=i.view,a=t.split("."),o=0;s!=null&&o<a.length;)o===a.length-1&&(l=kE(s,a[o])||JU(s,a[o])),s=s[a[o++]];else s=i.view[t],l=kE(i.view,t);if(l){n=s;break}i=i.parent}e[t]=n}return Ky(n)&&(n=n.call(this.view)),n};function ln(){this.templateCache={_cache:{},set:function(t,e){this._cache[t]=e},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}ln.prototype.clearCache=function(){typeof this.templateCache!="undefined"&&this.templateCache.clear()};ln.prototype.parse=function(t,e){var n=this.templateCache,i=t+":"+(e||ur.tags).join(":"),s=typeof n!="undefined",a=s?n.get(i):void 0;return a==null&&(a=cY(t,e),s&&n.set(i,a)),a};ln.prototype.render=function(t,e,n,i){var s=this.getConfigTags(i),a=this.parse(t,s),o=e instanceof ao?e:new ao(e,void 0);return this.renderTokens(a,o,n,t,i)};ln.prototype.renderTokens=function(t,e,n,i,s){for(var a="",o,l,u,c=0,d=t.length;c<d;++c)u=void 0,o=t[c],l=o[0],l==="#"?u=this.renderSection(o,e,n,i,s):l==="^"?u=this.renderInverted(o,e,n,i,s):l===">"?u=this.renderPartial(o,e,n,s):l==="&"?u=this.unescapedValue(o,e):l==="name"?u=this.escapedValue(o,e,s):l==="text"&&(u=this.rawValue(o)),u!==void 0&&(a+=u);return a};ln.prototype.renderSection=function(t,e,n,i,s){var a=this,o="",l=e.lookup(t[1]);function u(f){return a.render(f,e,n,s)}if(!!l){if(oo(l))for(var c=0,d=l.length;c<d;++c)o+=this.renderTokens(t[4],e.push(l[c]),n,i,s);else if(typeof l=="object"||typeof l=="string"||typeof l=="number")o+=this.renderTokens(t[4],e.push(l),n,i,s);else if(Ky(l)){if(typeof i!="string")throw new Error("Cannot use higher-order sections without the original template");l=l.call(e.view,i.slice(t[3],t[5]),u),l!=null&&(o+=l)}else o+=this.renderTokens(t[4],e,n,i,s);return o}};ln.prototype.renderInverted=function(t,e,n,i,s){var a=e.lookup(t[1]);if(!a||oo(a)&&a.length===0)return this.renderTokens(t[4],e,n,i,s)};ln.prototype.indentPartial=function(t,e,n){for(var i=e.replace(/[^ \t]/g,""),s=t.split(`
`),a=0;a<s.length;a++)s[a].length&&(a>0||!n)&&(s[a]=i+s[a]);return s.join(`
`)};ln.prototype.renderPartial=function(t,e,n,i){if(!!n){var s=this.getConfigTags(i),a=Ky(n)?n(t[1]):n[t[1]];if(a!=null){var o=t[6],l=t[5],u=t[4],c=a;l==0&&u&&(c=this.indentPartial(a,u,o));var d=this.parse(c,s);return this.renderTokens(d,e,n,c,i)}}};ln.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);if(n!=null)return n};ln.prototype.escapedValue=function(t,e,n){var i=this.getConfigEscape(n)||ur.escape,s=e.lookup(t[1]);if(s!=null)return typeof s=="number"&&i===ur.escape?String(s):i(s)};ln.prototype.rawValue=function(t){return t[1]};ln.prototype.getConfigTags=function(t){return oo(t)?t:t&&typeof t=="object"?t.tags:void 0};ln.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!oo(t))return t.escape};var ur={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(r){vu.templateCache=r},get templateCache(){return vu.templateCache}},vu=new ln;ur.clearCache=function(){return vu.clearCache()};ur.parse=function(t,e){return vu.parse(t,e)};ur.render=function(t,e,n,i){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+XU(t)+'" was given as the first argument for mustache#render(template, view, partials)');return vu.render(t,e,n,i)};ur.escape=sY;ur.Scanner=_u;ur.Context=ao;ur.Writer=ln;var Qy=ur;var RE=Go(OE());var ti=class{constructor(t){this.instruction=t}get queryComponent(){return this._queryComponent}set queryComponent(t){this._queryComponent=t}get error(){return this._error}set error(t){this._error=t}isValid(){return this._queryComponent!==void 0}static fromObject(t,e){let n=new ti(t);return n._queryComponent=e,n}static fromError(t,e){let n=new ti(t);return n._error=e,n}};var wu=class extends ti{};function ku(r,t){try{let e=r.map(([s])=>s),n=t.includes("return")?t:`return ${t}`,i=t&&new Function(...e,n);return i instanceof Function?wu.fromObject(t,i):wu.fromError(t,`Problem parsing expression "${t}"`)}catch(e){return wu.fromError(t,Js(`Failed parsing expression "${t}"`,e))}}function Su(r,t){let e=t.map(([n,i])=>i);return r(...e)}function Xy(r,t,e){try{return Su(r,t)}catch(n){return Js(`Failed calculating expression "${e}"`,n)}}function Jy(r,t){Qy.escape=function(e){return e};try{let e=mY(r,t);return Qy.render(e,(0,RE.default)(t))}catch(e){let n="";throw e instanceof Error?n=`There was an error expanding one or more placeholders.
The error message was:
${e.message.replace(/ > /g,".").replace("Missing Mustache data property","Unknown property")}`:n="Unknown error expanding placeholders.",n+=`
The problem is in:
${r}`,Error(n)}}var pY=new RegExp(["\\{\\{","(.*?)","\\}\\}"].join(""),"g");function mY(r,t){return r.replace(pY,(e,n)=>{let i=hY(t),s=ku(i,n);if(s.isValid()){let a=Su(s.queryComponent,i);if(a===null)throw Error(`Invalid placeholder result 'null'.
Check for missing file property in this expression:
{{${n}}}`);if(a!==void 0)return a}return e})}function hY(r){return Object.entries(r)}Vt();function eb(r){return tb(r,[])}function tb(r,t){return{query:{file:r,allTasks:t,searchCache:{}},preset:F({},re().presets)}}my();Vt();var lo=class{constructor(t=""){this.indentation=t}explainQuery(t){if(t.error!==void 0)return this.explainError(t);let e=[];return e.push(this.explainIgnoreGlobalQuery(t)),e.push(this.explainFilters(t)),e.push(this.explainGroups(t)),e.push(this.explainSorters(t)),e.push(this.explainLayout(t)),e.push(this.explainQueryLimits(t)),e.push(this.explainDebugSettings()),e.filter(n=>n!=="").join(`
`)}explainError(t){let e="";return e+=`Query has an error:
`,e+=t.error+`
`,e}explainIgnoreGlobalQuery(t){return t.ignoreGlobalQuery?this.indent(`ignore global query
`):""}explainFilters(t){return t.filters.length===0?this.indent(`No filters supplied. All tasks will match the query.
`):t.filters.map(e=>e.explainFilterIndented(this.indentation)).join(`
`)}explainGroups(t){return this.explainStatements(t.grouping.map(e=>e.statement))}explainSorters(t){return this.explainStatements(t.sorting.map(e=>e.statement))}explainLayout(t){return this.explainStatements(t.layoutStatements)}explainQueryLimits(t){function e(i){let s=`At most ${i} task`;return i!==1&&(s+="s"),s}let n=[];if(t.limit!==void 0){let i=e(t.limit)+`.
`;n.push(this.indent(i))}if(t.taskGroupLimit!==void 0){let i=e(t.taskGroupLimit)+` per group (if any "group by" options are supplied).
`;n.push(this.indent(i))}return n.join(`
`)}explainDebugSettings(){let t="",{debugSettings:e}=re();return e.ignoreSortInstructions&&(t+=this.indent(`NOTE: All sort instructions, including default sort order, are disabled, due to 'ignoreSortInstructions' setting.
`)),t}explainStatements(t){return t.length===0?"":t.map(e=>e.explainStatement(this.indentation)).join(`
`)+`
`}indent(t){return this.indentation+t}};pn();var He=class{constructor(t,e=[],n=""){this.description=t,this.symbol=n,this.children=e}static booleanAnd(t){return this.combineOrCreateExplanation("All of",t,"AND")}static booleanOr(t){return this.combineOrCreateExplanation("At least one of",t,"OR")}static booleanNot(t){return new He("None of",t,"NOT")}static booleanXor(t){return new He("Exactly one of",t,"XOR")}asString(t=""){if(this.children.length==0)return t+this.description;let e=t;this.symbol===""?e+=this.description:(e+=this.symbol,this.children.length>1&&(e+=` (${this.description})`),e+=":");let n=t+" ";for(let i=0;i<this.children.length;i++)e+=`
${this.children[i].asString(n)}`;return e}static combineOrCreateExplanation(t,e,n){if(e.length===2){let i=e[0],s=e[1];if(i.symbol===n&&s.symbol==="")return i.children.push(s),i}return new He(t,e,n)}};var uo=class{matchesAnyOf(t){return t.some(e=>this.matches(e))}};var co=class extends uo{constructor(e){super();this.stringToFind=e}matches(e){return co.stringIncludesCaseInsensitive(e,this.stringToFind)}static stringIncludesCaseInsensitive(e,n){return e.toLocaleLowerCase().includes(n.toLocaleLowerCase())}explanation(e){return new He(e)}};var Ji=class extends uo{constructor(e){super();this.regex=e}static validateAndConstruct(e){let n=/^\/(.+)\/([^/]*)$/,i=e.match(n);if(i!==null){let s=new RegExp(i[1],i[2]);return new Ji(s)}else return null}matches(e){return e.match(this.regex)!==null}static helpMessage(){return String.raw`See https://publish.obsidian.md/tasks/Queries/Regular+Expressions
Regular expressions must look like this:
/pattern/
or this:
/pattern/flags
Where:
- pattern: The 'regular expression' pattern to search for.
- flags: Optional characters that modify the search.
i => make the search case-insensitive
u => add Unicode support
Examples: /^Log/
/^Log/i
/File Name\.md/
/waiting|waits|waited/i
/\d\d:\d\d/
The following characters have special meaning in the pattern:
to find them literally, you must add a \ before them:
[\^$.|?*+()
CAUTION! Regular expression (or 'regex') searching is a powerful
but advanced feature that requires thorough knowledge in order to
use successfully, and not miss intended search results.
`}explanation(e){let i=gY(e,"using regex: ",this.regexAsString());return new He(i)}regexAsString(){let e=`'${this.regex.source}' with `;switch(this.regex.flags.length){case 0:e+="no flags";break;case 1:e+=`flag '${this.regex.flags}'`;break;default:e+=`flags '${this.regex.flags}'`;break}return e}};function gY(r,t,e){var o;let n=r.match(/\//);if(!n)return"Error explaining instruction. Could not find a slash character";let i=2,s=((o=n.index)!=null?o:i)-i;return`${t.padEnd(s)}${e}`}var un=class{constructor(t,e){this._rawInstruction=t,this._anyContinuationLinesRemoved=e.trim(),this._anyPlaceholdersExpanded=this._anyContinuationLinesRemoved}recordExpandedPlaceholders(t){this._anyPlaceholdersExpanded=t}get rawInstruction(){return this._rawInstruction}get anyContinuationLinesRemoved(){return this._anyContinuationLinesRemoved}get anyPlaceholdersExpanded(){return this._anyPlaceholdersExpanded}explainStatement(t){function e(a,o){o!==a&&(s+=` =>
${t}${o}`)}let n=this._rawInstruction.trim(),i=n.split(`
`).join(`
`+t),s=`${t}${i}`;return this._rawInstruction.includes(`
`)&&(s+=`
`+t),e(n,this._anyContinuationLinesRemoved),e(this._anyContinuationLinesRemoved,this._anyPlaceholdersExpanded),s}allLinesIdentical(){return this._rawInstruction===this._anyContinuationLinesRemoved&&this._rawInstruction===this._anyPlaceholdersExpanded}};var Ar=class{constructor(t,e,n,i){this._statement=new un(t,t),this.property=e,this.comparator=Ar.maybeReverse(i,n)}setStatement(t){this._statement=t}get statement(){return this._statement}get instruction(){return this._statement.anyPlaceholdersExpanded}static maybeReverse(t,e){return t?Ar.makeReversedComparator(e):e}static makeReversedComparator(t){return(e,n,i)=>t(e,n,i)*-1}};ou();var es=class{constructor(t,e,n,i){this._statement=new un(t,t),this.property=e,this.grouper=n,this.reverse=i}setStatement(t){this._statement=t}get statement(){return this._statement}get instruction(){return this._statement.anyPlaceholdersExpanded}};var qe=class{canCreateFilterForLine(t){return qe.lineMatchesFilter(this.filterRegExp(),t)}static lineMatchesFilter(t,e){return t?t.test(e):!1}static getMatch(t,e){return t?e.match(t):null}fieldNameSingular(){return this.fieldName()}fieldNameSingularEscaped(){return Vi(this.fieldNameSingular())}supportsSorting(){return!1}createSorterFromLine(t){if(!this.supportsSorting())return null;let e=qe.getMatch(this.sorterRegExp(),t);if(e===null)return null;let n=!!e[1];return this.createSorter(n)}sorterRegExp(){if(!this.supportsSorting())throw Error(`sorterRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^sort by ${this.fieldNameSingularEscaped()}( reverse)?`,"i")}sorterInstruction(t){let e=`sort by ${this.fieldNameSingular()}`;return t&&(e+=" reverse"),e}comparator(){throw Error(`comparator() unimplemented for ${this.fieldNameSingular()}`)}createSorter(t){return new Ar(this.sorterInstruction(t),this.fieldNameSingular(),this.comparator(),t)}createNormalSorter(){return this.createSorter(!1)}createReverseSorter(){return this.createSorter(!0)}supportsGrouping(){return!1}createGrouperFromLine(t){if(!this.supportsGrouping())return null;let e=qe.getMatch(this.grouperRegExp(),t);if(e===null)return null;let n=!!e[1];return this.createGrouper(n)}grouperRegExp(){if(!this.supportsGrouping())throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)?$`,"i")}grouperInstruction(t){let e=`group by ${this.fieldNameSingular()}`;return t&&(e+=" reverse"),e}grouper(){throw Error(`grouper() unimplemented for ${this.fieldNameSingular()}`)}createGrouper(t){return new es(this.grouperInstruction(t),this.fieldNameSingular(),this.grouper(),t)}createNormalGrouper(){return this.createGrouper(!1)}createReverseGrouper(){return this.createGrouper(!0)}};var Kt=class{constructor(t,e,n){this._statement=new un(t,t),this.explanation=n,this.filterFunction=e}get statement(){return this._statement}setStatement(t){this._statement=t}get instruction(){return this._statement.anyPlaceholdersExpanded}explainFilterIndented(t){let e=this._statement.explainStatement(t);return this.onlyNeedsOneLineExplanation()?`${e}
`:`${e} =>
${this.explanation.asString(t+" ")}
`}simulateExplainFilter(){return this.onlyNeedsOneLineExplanation()?this.explanation:new He(this.instruction+" =>",[this.explanation])}onlyNeedsOneLineExplanation(){return this.explanation.asString("")===this.instruction}};var ke=class{constructor(t){this.object=t}get instruction(){return this.object.instruction}get filter(){return this.object.queryComponent}isValid(){return this.object.isValid()}get error(){return this.object.error}get filterFunction(){if(this.filter)return this.filter.filterFunction}static fromFilter(t){return new ke(ti.fromObject(t.instruction,t))}static fromError(t,e){return new ke(ti.fromError(t,e))}};var Xe=class extends qe{createFilterOrErrorMessage(t){let e=qe.getMatch(this.filterRegExp(),t);if(e===null)return ke.fromError(t,`do not understand query filter (${this.fieldName()})`);let n=e[1].toLowerCase(),i=e[2],s=null;if(n.includes("include"))s=new co(i);else if(n.includes("regex")){try{s=Ji.validateAndConstruct(i)}catch(l){let u=Js("Parsing regular expression",l)+`
${Ji.helpMessage()}`;return ke.fromError(t,u)}if(s===null)return ke.fromError(t,`Invalid instruction: '${t}'
${Ji.helpMessage()}`)}if(s===null)return ke.fromError(t,`do not understand query filter (${this.fieldName()})`);let a=n.match(/not/)!==null,o=new Kt(t,this.getFilter(s,a),s.explanation(t));return ke.fromFilter(o)}fieldPattern(){return this.fieldNameSingularEscaped()}filterOperatorPattern(){return"includes|does not include|regex matches|regex does not match"}filterRegExp(){return new RegExp(`^(?:${this.fieldPattern()}) (${this.filterOperatorPattern()}) (.*)`,"i")}getFilter(t,e){return n=>{let i=t.matches(this.value(n));return e?!i:i}}comparator(){return(t,e)=>this.value(t).localeCompare(this.value(e),void 0,{numeric:!0})}grouper(){return t=>[this.value(t)]}static escapeMarkdownCharacters(t){return t.replace(/\\/g,"\\\\").replace(/_/g,"\\_")}};var ea=class extends Xe{fieldName(){return"description"}value(t){return Ne.getInstance().removeAsSubstringFrom(t.description)}supportsSorting(){return!0}comparator(){return(t,e)=>{let n=ea.cleanDescription(t.description),i=ea.cleanDescription(e.description);return n.localeCompare(i,void 0,{numeric:!0})}}static cleanDescription(t){t=Ne.getInstance().removeAsSubstringFrom(t);let e=/^\[\[?([^\]]*)]]?/,n=t.match(e);if(n!==null){let i=n[1];t=i.substring(i.indexOf("|")+1)+t.replace(e,"")}return t=this.replaceFormatting(t,/^\*\*([^*]+)\*\*/),t=this.replaceFormatting(t,/^\*([^*]+)\*/),t=this.replaceFormatting(t,/^==([^=]+)==/),t=this.replaceFormatting(t,/^__([^_]+)__/),t=this.replaceFormatting(t,/^_([^_]+)_/),t}static replaceFormatting(t,e){let n=t.match(e);return n!==null&&(t=n[1]+t.replace(e,"")),t}};Yg();$g();Ms();var Rd=class{findUnexpandedDateText(t){let e=["<%","YYYY-MM-DD"];for(let n of e)if(t.includes(n))return this.unexpandedDateTextMessage(n);return null}unexpandedDateTextMessage(t){return`Instruction contains unexpanded template text: "${t}" - and cannot be interpreted.
Possible causes:
- The query is an a template file, and is not intended to be searched.
- A command such as "Replace templates in the active file" needs to be run.
- The core "Daily notes" plugin is in use, and the template contained
date calculations that it does not support.
- Some sample template text was accidentally pasted in to a tasks query,
instead of in to a template file.
See: https://publish.obsidian.md/tasks/Advanced/Daily+Agenda#Instruction+contains+unexpanded+template+text
`}};var Cd=class{constructor(t,e){this._instruction=t,this._filter=e}canCreateFilterForLine(t){return t.toLocaleLowerCase()===this._instruction.toLocaleLowerCase()}createFilterOrErrorMessage(t){return this.canCreateFilterForLine(t)?ke.fromFilter(new Kt(t,this._filter,new He(t))):ke.fromError(t,`do not understand filter: ${t}`)}};var bn=class{constructor(){this._filters=[]}add(t,e){this._filters.push(new Cd(t,e))}canCreateFilterForLine(t){return this._filters.some(e=>e.canCreateFilterForLine(t))}createFilterOrErrorMessage(t){for(let e of this._filters){let n=e.createFilterOrErrorMessage(t);if(n.isValid())return n}return ke.fromError(t,`do not understand filter: ${t}`)}};var Et=class extends qe{constructor(e=null){super();e!==null?this.filterInstructions=e:(this.filterInstructions=new bn,this.filterInstructions.add(`has ${this.fieldName()} date`,n=>this.date(n)!==null),this.filterInstructions.add(`no ${this.fieldName()} date`,n=>this.date(n)===null),this.filterInstructions.add(`${this.fieldName()} date is invalid`,n=>{let i=this.date(n);return i!==null&&!i.isValid()}))}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){var f;let n=this.checkForUnexpandedTemplateText(e);if(n)return ke.fromError(e,n);let i=this.filterInstructions.createFilterOrErrorMessage(e);if(i.isValid())return i;let s=qe.getMatch(this.filterRegExp(),e);if(s===null)return ke.fromError(e,"do not understand query filter ("+this.fieldName()+" date)");let a=s[1],o=(f=s[2])==null?void 0:f.toLowerCase(),l=s[3],u=On.parseDateRange(l);if(!u.isValid()){let p=On.parseDate(a);p.isValid()&&(u=new nn(p,p))}if(!u.isValid())return ke.fromError(e,"do not understand "+this.fieldName()+" date");let c=this.buildFilterFunction(o,u),d=Et.buildExplanation(this.fieldNameForExplanation(),o,this.filterResultIfFieldMissing(),u);return ke.fromFilter(new Kt(e,c,d))}buildFilterFunction(e,n){let i;switch(e){case"before":i=s=>s?s.isBefore(n.start):this.filterResultIfFieldMissing();break;case"after":i=s=>s?s.isAfter(n.end):this.filterResultIfFieldMissing();break;case"on or before":case"in or before":i=s=>s?s.isSameOrBefore(n.end):this.filterResultIfFieldMissing();break;case"on or after":case"in or after":i=s=>s?s.isSameOrAfter(n.start):this.filterResultIfFieldMissing();break;default:i=s=>s?s.isSameOrAfter(n.start)&&s.isSameOrBefore(n.end):this.filterResultIfFieldMissing()}return this.getFilter(i)}getFilter(e){return n=>e(this.date(n))}filterRegExp(){return new RegExp(`^${this.fieldNameForFilterInstruction()} (((?:on|in) or before|before|(?:on|in) or after|after|on|in)? ?(.*))`,"i")}fieldNameForFilterInstruction(){return this.fieldName()}static buildExplanation(e,n,i,s){let a=n,o="YYYY-MM-DD (dddd Do MMMM YYYY)",l;switch(n){case"before":case"on or after":l=s.start.format(o);break;case"after":case"on or before":l=s.end.format(o);break;case"in or before":a="on or before",l=s.end.format(o);break;case"in or after":a="on or after",l=s.start.format(o);break;default:if(!s.start.isSame(s.end)){let c=`${e} date is between:`,d=[new He(`${s.start.format(o)} and`),new He(`${s.end.format(o)} inclusive`)];return i&&d.push(new He(`OR no ${e} date`)),new He(c,d)}a="on",l=s.start.format(o);break}let u=`${e} date is ${a} ${l}`;return i&&(u+=` OR no ${e} date`),new He(u)}fieldNameForExplanation(){return this.fieldName()}supportsSorting(){return!0}comparator(){return(e,n)=>Zn(this.date(e),this.date(n))}supportsGrouping(){return!0}grouper(){return e=>{let n=this.date(e);return n===null?["No "+this.fieldName()+" date"]:n.isValid()?[n.format("YYYY-MM-DD dddd")]:["%%0%% Invalid "+this.fieldName()+" date"]}}checkForUnexpandedTemplateText(e){return new Rd().findUnexpandedDateText(e)}};var Md=class extends Et{fieldName(){return"created"}date(t){return t.createdDate}filterResultIfFieldMissing(){return!1}};var Ad=class extends Et{fieldName(){return"done"}date(t){return t.doneDate}filterResultIfFieldMissing(){return!1}};var fo=class extends Et{fieldName(){return"due"}date(t){return t.dueDate}filterResultIfFieldMissing(){return!1}};var cr=class extends qe{constructor(){super(...arguments);this._filters=new bn}canCreateFilterForLine(e){return this._filters.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){return this._filters.createFilterOrErrorMessage(e)}filterRegExp(){return null}};var Pd=class extends cr{constructor(){super(),this._filters.add("exclude sub-items",t=>{if(t.indentation==="")return!0;let e=t.indentation.lastIndexOf(">");return e===-1?!1:/^ ?$/.test(t.indentation.slice(e+1))})}fieldName(){return"exclude"}};function Nd(r,t){return[["task",r],["query",t?t.query:null]]}function CE(r,t,e){let n=Nd(r,e||null),i=ku(n,t);return i.error?i.error:Xy(i.queryComponent,n,t)}var Du=class{constructor(t){this.line=t,this.functionOrError=ku(Nd(null,null),t)}isValid(){return this.functionOrError.isValid()}get parseError(){return this.functionOrError.error}evaluate(t,e){if(!this.isValid())throw Error(`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`);return Su(this.functionOrError.queryComponent,Nd(t,e||null))}evaluateOrCatch(t,e){return this.isValid()?Xy(this.functionOrError.queryComponent,Nd(t,e),this.line):`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`}};Ms();function nb(r){if(r===null)return"null";let t=typeof r;return t==="object"?r.constructor.name:t}var Id=class extends qe{createFilterOrErrorMessage(t){let e=qe.getMatch(this.filterRegExp(),t);if(e===null)return ke.fromError(t,"Unable to parse line");let n=e[1],i=new Du(n);return i.isValid()?ke.fromFilter(new Kt(t,yY(i),new He(t))):ke.fromError(t,i.parseError)}fieldName(){return"function"}filterRegExp(){return new RegExp(`^filter by ${this.fieldNameSingularEscaped()} (.*)`,"i")}supportsSorting(){return!0}sorterRegExp(){return new RegExp(`^sort by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}createSorterFromLine(t){let e=qe.getMatch(this.sorterRegExp(),t);if(e===null)return null;let n=!!e[1],i=e[2],s=new Du(i);if(!s.isValid())throw new Error(s.parseError);let a=(o,l,u)=>{try{let c=u.queryContext(),d=this.validateTaskSortKey(s.evaluate(o,c)),f=this.validateTaskSortKey(s.evaluate(l,c));return this.compareTaskSortKeys(d,f)}catch(c){throw c instanceof Error&&(c.message+=`: while evaluating instruction '${t}'`),c}};return new Ar(t,this.fieldNameSingular(),a,n)}validateTaskSortKey(t){function e(n){throw new Error(`"${n}" is not a valid sort key`)}return t===void 0&&e("undefined"),Number.isNaN(t)&&e("NaN (Not a Number)"),Array.isArray(t)&&e("array"),t}compareTaskSortKeys(t,e){let n=nb(t),i=nb(e),s=this.compareTaskSortKeysIfOptionalMoment(t,e,n,i);if(s!==void 0)return s;let a=this.compareTaskSortKeysIfEitherIsNull(t,e);if(a!==void 0)return a;if(n!==i)throw new Error(`Unable to compare two different sort key types '${n}' and '${i}' order`);if(n==="string")return t.localeCompare(e,void 0,{numeric:!0});if(n==="TasksDate")return Zn(t.moment,e.moment);if(n==="boolean")return Number(e)-Number(t);let o=Number(t)-Number(e);if(isNaN(o))throw new Error(`Unable to determine sort order for sort key types '${n}' and '${i}'`);return o}compareTaskSortKeysIfOptionalMoment(t,e,n,i){let s=n==="Moment",a=i==="Moment";if(s&&a||s&&e===null||a&&t===null)return Zn(t,e)}compareTaskSortKeysIfEitherIsNull(t,e){if(t===null&&e===null)return 0;if(t===null&&e!==null)return-1;if(t!==null&&e===null)return 1}supportsGrouping(){return!0}createGrouperFromLine(t){let e=qe.getMatch(this.grouperRegExp(),t);if(e===null)return null;let n=!!e[1],i=e[2];return new es(t,"function",TY(i),n)}grouperRegExp(){return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}grouper(){throw Error("grouper() function not valid for FunctionField. Use createGrouperFromLine() instead.")}};function yY(r){return(t,e)=>{let n=e.queryContext();return bY(r,t,n)}}function bY(r,t,e){let n=r.evaluate(t,e);if(typeof n=="boolean")return n;throw Error(`filtering function must return true or false. This returned "${n}".`)}function TY(r){return(t,e)=>{let n=e.queryContext();return vY(t,r,n)}}function vY(r,t,e){try{let n=CE(r,t,e);return Array.isArray(n)?n.map(s=>s.toString()):n===null?[]:typeof n=="number"&&!Number.isInteger(n)?[n.toFixed(5)]:[n.toString()]}catch(n){let i=`Error: Failed calculating expression "${t}". The error message was: `;return n instanceof Error?[i+n.message]:[i+"Unknown error"]}}var Fd=class extends Xe{fieldName(){return"heading"}value(t){return t.precedingHeader?t.precedingHeader:""}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return t=>t.precedingHeader===null||t.precedingHeader.length===0?["(No heading)"]:[t.precedingHeader]}};var po=class extends Xe{fieldName(){return"path"}value(t){return t.path}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return t=>[Xe.escapeMarkdownCharacters(t.path.replace(".md",""))]}};Wa();var rb=class extends qe{createFilterOrErrorMessage(t){var n;let e=qe.getMatch(this.filterRegExp(),t);if(e!==null){let i=e[5],s=null;switch(i.toLowerCase()){case"lowest":s="5";break;case"low":s="4";break;case"none":s="3";break;case"medium":s="2";break;case"high":s="1";break;case"highest":s="0";break}if(s===null)return ke.fromError(t,"do not understand priority");let a=t,o;switch((n=e[3])==null?void 0:n.toLowerCase()){case"above":o=l=>l.priority.localeCompare(s)<0;break;case"below":o=l=>l.priority.localeCompare(s)>0;break;case"not":o=l=>l.priority!==s;break;default:o=l=>l.priority===s,a=`${this.fieldName()} is ${i}`}return ke.fromFilter(new Kt(t,o,new He(a)))}else return ke.fromError(t,"do not understand query filter (priority)")}fieldName(){return"priority"}filterRegExp(){return rb.priorityRegexp}supportsSorting(){return!0}comparator(){return(t,e)=>t.priority.localeCompare(e.priority)}supportsGrouping(){return!0}grouper(){return t=>[t.priorityNameGroupText]}},ta=rb;ta.priorityRegexp=/^priority(\s+is)?(\s+(above|below|not))?(\s+(lowest|low|none|medium|high|highest))$/i;var Ld=class extends Et{fieldName(){return"scheduled"}date(t){return t.scheduledDate}filterResultIfFieldMissing(){return!1}};var Ud=class extends Et{fieldName(){return"start"}fieldNameForFilterInstruction(){return"starts"}date(t){return t.startDate}filterResultIfFieldMissing(){return!0}};var Yd=class extends Et{constructor(){let t=new bn;t.add("has happens date",e=>this.dates(e).some(n=>n!==null)),t.add("no happens date",e=>!this.dates(e).some(n=>n!==null)),super(t)}fieldName(){return"happens"}fieldNameForExplanation(){return"due, start or scheduled"}date(t){return this.earliestDate(t)}dates(t){return t.happensDates}earliestDate(t){return t.happens.moment}filterResultIfFieldMissing(){return!1}getFilter(t){return e=>this.dates(e).some(n=>t(n))}};var $d=class extends cr{constructor(){super(),this._filters.add("is recurring",t=>t.recurrence!==null),this._filters.add("is not recurring",t=>t.recurrence===null)}fieldName(){return"recurring"}supportsSorting(){return!0}comparator(){return(t,e)=>t.recurrence!==null&&e.recurrence===null?-1:t.recurrence===null&&e.recurrence!==null?1:0}supportsGrouping(){return!0}grouper(){return t=>t.recurrence!==null?["Recurring"]:["Not Recurring"]}};var ts=class extends cr{constructor(){super(),this._filters.add("done",t=>t.isDone),this._filters.add("not done",t=>!t.isDone)}fieldName(){return"status"}supportsSorting(){return!0}comparator(){return(t,e)=>{let n=ts.oldStatusName(t),i=ts.oldStatusName(e);return n<i?1:n>i?-1:0}}static oldStatusName(t){return t.isDone?"Done":"Todo"}supportsGrouping(){return!0}grouper(){return t=>[ts.oldStatusName(t)]}};var Wd=class extends Xe{fieldNamePlural(){return this.fieldNameSingular()+"s"}fieldName(){return`${this.fieldNameSingular()}/${this.fieldNamePlural()}`}fieldPattern(){return`${this.fieldNameSingular()}|${this.fieldNamePlural()}`}filterOperatorPattern(){return`${super.filterOperatorPattern()}|include|do not include`}value(t){return this.values(t).join(", ")}getFilter(t,e){return n=>{let i=t.matchesAnyOf(this.values(n));return e?!i:i}}createGrouper(t){return new es(this.grouperInstruction(t),this.fieldNamePlural(),this.grouper(),t)}grouperRegExp(){if(!this.supportsGrouping())throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^group by ${this.fieldNamePlural()}( reverse)?$`,"i")}grouperInstruction(t){let e=`group by ${this.fieldNamePlural()}`;return t&&(e+=" reverse"),e}};var na=class extends Wd{constructor(){super();this.filterInstructions=new bn,this.filterInstructions.add(`has ${this.fieldNameSingular()}`,e=>this.values(e).length>0),this.filterInstructions.add(`has ${this.fieldNamePlural()}`,e=>this.values(e).length>0),this.filterInstructions.add(`no ${this.fieldNameSingular()}`,e=>this.values(e).length===0),this.filterInstructions.add(`no ${this.fieldNamePlural()}`,e=>this.values(e).length===0)}createFilterOrErrorMessage(e){let n=this.filterInstructions.createFilterOrErrorMessage(e);return n.isValid()?n:super.createFilterOrErrorMessage(e)}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}fieldNameSingular(){return"tag"}values(e){return e.tags}supportsSorting(){return!0}createSorterFromLine(e){let n=e.match(this.sorterRegExp());if(n===null)return null;let i=!!n[1],s=isNaN(+n[2])?1:+n[2],a=na.makeCompareByTagComparator(s);return new Ar(e,this.fieldNameSingular(),a,i)}sorterRegExp(){return/^sort by tag( reverse)?[\s]*(\d+)?/i}comparator(){return na.makeCompareByTagComparator(1)}static makeCompareByTagComparator(e){return(n,i)=>{if(n.tags.length===0&&i.tags.length===0)return 0;if(n.tags.length===0)return 1;if(i.tags.length===0)return-1;let s=e-1;if(n.tags.length<e&&i.tags.length>=e)return 1;if(i.tags.length<e&&n.tags.length>=e)return-1;if(n.tags.length<e&&i.tags.length<e)return 0;let a=n.tags[s],o=i.tags[s];return a.localeCompare(o,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return e=>e.tags.length==0?["(No tags)"]:e.tags}};var HE=Go(jE());ou();function ns(r){return new RegExp("["+Vi(r)+"]").source}var pb=[["(",")"],["[","]"],["{","}"],['"','"']],Ri=class{constructor(t,e,n){this.openFilterChars=t,this.closeFilterChars=e,this.openAndCloseFilterChars=n,this.openFilter=ns(this.openFilterChars),this.closeFilter=ns(this.closeFilterChars)}static allSupportedDelimiters(){let t="",e="",n="";for(let[i,s]of pb)t+=i,e+=s,n+=Ri.openAndClosing(i,s);return new Ri(t,e,n)}static fromInstructionLine(t){let e=t.trim(),i=/^[A-Z ]*\s*(.*)/.exec(e);if(i){let a=i[1],o=a[0],l=a.slice(-1);for(let[u,c]of pb)if(o===u&&l===c){let d=this.openAndClosing(u,c);return new Ri(u,c,d)}}let s="All filters in a Boolean instruction must be inside one of these pairs of delimiter characters: "+pb.map(([a,o])=>a+"..."+o).join(" or ")+". Combinations of those delimiters are no longer supported.";throw new Error(s)}static openAndClosing(t,e){let n=t;return e!=t&&(n+=e),n}};var rs=class{static preprocessExpression(t,e){let n=rs.splitLine(t,e);return rs.getFiltersAndSimplifiedLine(n,e)}static splitLine(t,e){let n=new RegExp("("+e.closeFilter+"\\s*(?:AND|OR|AND +NOT|OR +NOT|XOR)\\s*"+e.openFilter+")"),i=t.split(n),s=new RegExp("(NOT\\s*"+e.openFilter+")"),a=i.flatMap(u=>u.split(s)).filter(u=>u!==""),o=new RegExp("(^"+ns(e.openFilterChars+" ")+"*)"),l=new RegExp("("+ns(e.closeFilterChars+" ")+"*$)");return a.flatMap(u=>u.split(o)).flatMap(u=>u.split(l)).filter(u=>u!=="")}static getFiltersAndSimplifiedLine(t,e){let n="",i=1,s={};t.forEach(u=>{if(!rs.isAFilter(u,e))n+=`${u}`;else{let c=`f${i}`;s[c]=u,n+=c,i++}});let a=new RegExp(`(${e.closeFilter})([A-Z])`,"g");n=n.replace(a,"$1 $2");let o=new RegExp(`([A-Z])(${e.openFilter})`,"g");n=n.replace(o,"$1 $2");let l=e.openFilterChars;if(l!='"'&&l!="("){let u=new RegExp(ns(l),"g");n=n.replace(u,"(");let c=e.closeFilterChars,d=new RegExp(ns(c),"g");n=n.replace(d,")")}return{simplifiedLine:n,filters:s}}static isAFilter(t,e){let n=new RegExp("^"+ns(" "+e.openAndCloseFilterChars)+"+$"),i=new RegExp("^ *"+e.closeFilter+" *(AND|OR|XOR) *"+e.openFilter+" *$"),s=new RegExp("^(AND|OR|XOR|NOT) *"+e.openFilter+"$"),a=new RegExp("^"+e.closeFilter+" *(AND|OR|XOR)$");return![n,i,s,a,/^(AND|OR|XOR|NOT)$/].some(l=>RegExp(l).exec(t))}};var Bd=class extends qe{constructor(){super();this.supportedOperators=["AND","OR","XOR","NOT"];this.subFields={};let e=Ri.allSupportedDelimiters();this.basicBooleanRegexp=new RegExp("(.*(AND|OR|XOR|NOT)\\s*"+e.openFilter+".*|"+e.openFilter+".+"+e.closeFilter+")","g")}filterRegExp(){return this.basicBooleanRegexp}createFilterOrErrorMessage(e){return this.parseLine(e)}fieldName(){return"boolean query"}parseLine(e){if(e.length===0)return ke.fromError(e,"empty line");let n;try{n=Ri.fromInstructionLine(e)}catch(o){let l=o instanceof Error?o.message:"unknown error type";return ke.fromError(e,this.helpMessageFromSimpleError(e,l))}let i=rs.preprocessExpression(e,n),s=i.simplifiedLine,a=i.filters;try{let o=(0,HE.parse)(s);for(let c of o)if(c.name==="IDENTIFIER"&&c.value){let d=c.value.trim(),f=a[d];if(c.value=f,!(f in this.subFields)){let p=xu(f);if(p===null)return this.helpMessage(e,`couldn't parse sub-expression '${f}'`,i);if(p.error)return this.helpMessage(e,`couldn't parse sub-expression '${f}': ${p.error}`,i);p.filter&&(this.subFields[f]=p.filter)}}else if(c.name==="OPERATOR"){if(c.value==null)return this.helpMessage(e,"empty operator in boolean query",i);if(!this.supportedOperators.includes(c.value))return this.helpMessage(e,`unknown boolean operator '${c.value}'`,i)}let l=(c,d)=>this.filterTaskWithParsedQuery(c,o,d),u=this.constructExplanation(o);return ke.fromFilter(new Kt(e,l,u))}catch(o){let l=o instanceof Error?o.message:"unknown error type";return this.helpMessage(e,`malformed boolean query -- ${l} (check the documentation for guidelines)`,i)}}filterTaskWithParsedQuery(e,n,i){let s=l=>l==="true",a=l=>l?"true":"false",o=[];for(let l of n)if(l.name==="IDENTIFIER"){if(l.value==null)throw Error("null token value");let c=this.subFields[l.value.trim()].filterFunction(e,i);o.push(a(c))}else if(l.name==="OPERATOR")if(l.value==="NOT"){let u=s(o.pop());o.push(a(!u))}else if(l.value==="OR"){let u=s(o.pop()),c=s(o.pop());o.push(a(u||c))}else if(l.value==="AND"){let u=s(o.pop()),c=s(o.pop());o.push(a(u&&c))}else if(l.value==="XOR"){let u=s(o.pop()),c=s(o.pop());o.push(a(u&&!c||!u&&c))}else throw Error("Unsupported operator: "+l.value);else throw Error("Unsupported token type: "+l);return s(o[0])}constructExplanation(e){let n=[];for(let i of e)if(i.name==="IDENTIFIER")this.explainExpression(i,n);else if(i.name==="OPERATOR")this.explainOperator(i,n);else throw Error("Unsupported token type: "+i.name);return n[0]}explainExpression(e,n){if(e.value==null)throw Error("null token value");let i=this.subFields[e.value.trim()],s=this.simulateExplainFilter(i);n.push(s)}simulateExplainFilter(e){return e.simulateExplainFilter()}explainOperator(e,n){if(e.value==="NOT"){let i=n.pop();n.push(He.booleanNot([i]))}else if(e.value==="OR"){let i=n.pop(),s=n.pop();n.push(He.booleanOr([s,i]))}else if(e.value==="AND"){let i=n.pop(),s=n.pop();n.push(He.booleanAnd([s,i]))}else if(e.value==="XOR"){let i=n.pop(),s=n.pop();n.push(He.booleanXor([s,i]))}else throw Error("Unsupported operator: "+e.value)}helpMessage(e,n,i){let s=i.filters,a=this.stringifySubExpressionsForErrorMessage(s),l=`${this.helpMessageFromSimpleError(e,n)}
The instruction was converted to the following simplified line:
${i.simplifiedLine}
Where the sub-expressions in the simplified line are:
${a}
For help, see:
https://publish.obsidian.md/tasks/Queries/Combining+Filters
`;return ke.fromError(e,l)}stringifySubExpressionsForErrorMessage(e){return Object.entries(e).map(([n,i])=>` '${n}': '${i}'
=> ${this.stringifySubExpressionStatus(i)}`).join(`
`)}stringifySubExpressionStatus(e){let n=xu(e);return n?n.error?`ERROR:
${n.error.split(`
`).map(s=>s.trim()).join(`
`)}`:"OK":`ERROR:
do not understand query`}helpMessageFromSimpleError(e,n){return`Could not interpret the following instruction as a Boolean combination:
${e}
The error message is:
${n}`}};var Vd=class extends Xe{fieldName(){return"filename"}value(t){let e=t.filename;return e===null?"":e+".md"}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return t=>{let e=t.filename;return e===null?["Unknown Location"]:["[["+e+"]]"]}}};var _o=class extends qe{canCreateFilterForLine(t){return!1}createFilterOrErrorMessage(t){return ke.fromError(t,"Filtering by urgency is not yet supported")}fieldName(){return"urgency"}filterRegExp(){throw Error(`filterRegExp() unimplemented for ${this.fieldName()}`)}supportsSorting(){return!0}comparator(){return(t,e)=>e.urgency-t.urgency}supportsGrouping(){return!0}grouper(){return t=>[`${t.urgency.toFixed(2)}`]}createGrouper(t){return super.createGrouper(!t)}grouperInstruction(t){return super.grouperInstruction(!t)}};var zd=class extends Xe{constructor(){super()}fieldName(){return"status.name"}value(t){return t.status.name}supportsSorting(){return!0}supportsGrouping(){return!0}};Mn();var si=class extends qe{canCreateFilterForLine(t){let e=new RegExp(`^(?:${this.fieldNameSingularEscaped()})`,"i");return qe.lineMatchesFilter(e,t)}createFilterOrErrorMessage(t){let e=qe.getMatch(this.filterRegExp(),t);if(e===null)return this.helpMessage(t);let n=e[1].toLowerCase(),i=e[2],s=Bt[i.toUpperCase()];if(!s)return this.helpMessage(t);let a;switch(n){case"is":a=o=>o.status.type===s;break;case"is not":a=o=>o.status.type!==s;break;default:return this.helpMessage(t)}return ke.fromFilter(new Kt(t,a,new He(t)))}filterRegExp(){return new RegExp(`^(?:${this.fieldNameSingularEscaped()}) (is|is not) ([^ ]+)$`,"i")}helpMessage(t){let e=Object.values(Bt).filter(i=>i!=="EMPTY").join(" "),n=`Invalid ${this.fieldNameSingular()} instruction: '${t}'.
Allowed options: 'is' and 'is not' (without quotes).
Allowed values: ${e}
Note: values are case-insensitive,
so 'in_progress' works too, for example.
Example: ${this.fieldNameSingular()} is not NON_TASK`;return ke.fromError(t,n)}fieldName(){return"status.type"}value(t){return t.status.type}supportsSorting(){return!0}comparator(){return(t,e)=>{let n=si.groupName(t),i=si.groupName(e);return n.localeCompare(i,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return t=>[si.groupName(t)]}static groupName(t){return t.status.typeGroupText}};var Kd=class extends Xe{fieldName(){return"recurrence"}value(t){return t.recurrence!==null?t.recurrence.toText():""}supportsGrouping(){return!0}grouper(){return t=>t.recurrence!==null?[t.recurrence.toText()]:["None"]}};var Qd=class extends Xe{fieldName(){return"folder"}value(t){return t.file.folder}supportsGrouping(){return!0}grouper(){return t=>[Xe.escapeMarkdownCharacters(this.value(t))]}};var Zd=class extends Xe{fieldName(){return"root"}value(t){return t.file.root}supportsGrouping(){return!0}grouper(){return t=>[Xe.escapeMarkdownCharacters(this.value(t))]}};var Xd=class extends Xe{fieldName(){return"backlink"}value(t){let e=t.getLinkText({isFilenameUnique:!0});return e===null?"Unknown Location":e}createFilterOrErrorMessage(t){return ke.fromError(t,"backlink field does not support filtering")}canCreateFilterForLine(t){return!1}supportsGrouping(){return!0}grouper(){return t=>{let e=t.filename;if(e===null)return["Unknown Location"];let n=t.precedingHeader;return n===null?["[["+e+"]]"]:[`[[${e}#${n}|${e} > ${n}]]`]}}};var Jd=class extends Et{fieldName(){return"cancelled"}date(t){return t.cancelledDate}filterResultIfFieldMissing(){return!1}};var ef=class extends cr{constructor(){super(),this._filters.add("is blocking",(t,e)=>t.isBlocking(e.allTasks)),this._filters.add("is not blocking",(t,e)=>!t.isBlocking(e.allTasks)),this._filters.add("is blocked",(t,e)=>t.isBlocked(e.allTasks)),this._filters.add("is not blocked",(t,e)=>!t.isBlocked(e.allTasks))}fieldName(){return"blocking"}};var tf=class extends Xe{constructor(){super();this.filterInstructions=new bn;this.filterInstructions.add("has id",e=>e.id.length>0),this.filterInstructions.add("no id",e=>e.id.length===0)}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){let n=this.filterInstructions.createFilterOrErrorMessage(e);return n.isValid()?n:super.createFilterOrErrorMessage(e)}fieldName(){return"id"}value(e){return e.id}supportsSorting(){return!0}supportsGrouping(){return!0}};var nf=class extends qe{constructor(){super();this.filterInstructions=new bn;this.filterInstructions.add("has depends on",e=>e.dependsOn.length>0),this.filterInstructions.add("no depends on",e=>e.dependsOn.length===0)}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){let n=this.filterInstructions.createFilterOrErrorMessage(e);return n.isValid()?n:ke.fromError(e,"Unknown instruction")}fieldName(){return"blocked by"}filterRegExp(){return null}};var rf=class extends cr{fieldName(){return"random"}supportsSorting(){return!0}comparator(){return(t,e)=>this.sortKey(t)-this.sortKey(e)}sortKey(t){let e=i=>{let s=0,a=9;for(;s<i.length;)a=Math.imul(a^i.charCodeAt(s++),387420489);return a^a>>>9},n=window.moment().format("Y-MM-DD");return e(n+" "+t.description)}};var mb=[()=>new zd,()=>new si,()=>new ts,()=>new $d,()=>new ta,()=>new Yd,()=>new Jd,()=>new Md,()=>new Ud,()=>new Ld,()=>new fo,()=>new Ad,()=>new po,()=>new Qd,()=>new Zd,()=>new Xd,()=>new ea,()=>new na,()=>new Fd,()=>new Pd,()=>new Vd,()=>new _o,()=>new Kd,()=>new Id,()=>new tf,()=>new nf,()=>new ef,()=>new rf,()=>new Bd];function xu(r){for(let t of mb){let e=t();if(e.canCreateFilterForLine(r))return e.createFilterOrErrorMessage(r)}return null}function GE(r){let t=/^sort by /i;if(r.match(t)===null)return null;for(let e of mb){let i=e().createSorterFromLine(r);if(i)return i}return null}function BE(r){let t=/^group by /i;if(r.match(t)===null)return null;for(let e of mb){let i=e().createGrouperFromLine(r);if(i)return i}return null}var sf=class{constructor(t,e,n){this.nestingLevel=t,this.displayName=e,this.property=n}};var af=class{constructor(t,e){this.lastHeadingAtLevel=new Array;this.groupers=e;let i=t.keys().next().value.length;for(let s=0;s<i;s++)this.lastHeadingAtLevel.push("")}getHeadingsForTaskGroup(t){let e=new Array;for(let n=0;n<t.length;n++){let i=t[n];if(i!=this.lastHeadingAtLevel[n]){e.push(new sf(n,i,this.groupers[n].property));for(let s=n;s<t.length;s++)this.lastHeadingAtLevel[s]="";this.lastHeadingAtLevel[n]=i}}return e}};var of=class{constructor(t){this.children=new Map;this.values=[];this.values=t}generateAllPaths(t=[]){let e=new Map;if(this.children.size==0)return e.set([...t],this.values),e;for(let[n,i]of this.children)t.push(n),i.generateAllPaths(t).forEach((a,o)=>e.set(o,a)),t.pop();return e}};var lf=class extends of{},uf=class{constructor(t,e,n){this.root=new lf(e),this.buildGroupingTree(t,n)}buildGroupingTree(t,e){let n=[this.root];for(let i of t){let s=[];for(let a of n)for(let o of a.values){let l=i.grouper(o,e);l.length===0&&l.push("");for(let u of l){let c=a.children.get(u);c===void 0&&(c=new lf([]),a.children.set(u,c),s.push(c)),c.values.push(o)}}n=s}}generateTaskTreeStorage(){return this.root.generateAllPaths()}};var cf=class{constructor(t,e){this.groups=t,this.groupHeadings=[],this.tasks=e}setGroupHeadings(t){for(let e of t)this.groupHeadings.push(e)}applyTaskLimit(t){this.tasks=this.tasks.slice(0,t)}tasksAsStringOfLines(){let t="";for(let e of this.tasks)t+=e.toFileLineString()+`
`;return t}toString(){let t=`
`;t+=`Group names: [${this.groups}]
`;for(let e of this.groupHeadings)t+=`${"#".repeat(4+e.nestingLevel)} [${e.property}] ${e.displayName}
`;return t+=this.tasksAsStringOfLines(),t}};var wo=class{constructor(t,e,n){this._groups=new Array;this._totalTaskCount=0;this._totalTaskCount=e.length,this._groupers=t;let s=new uf(t,e,n).generateTaskTreeStorage();this.addTaskGroups(s),this.sortTaskGroups(),this.setGroupsHeadings(s)}get groupers(){return this._groupers}get groups(){return this._groups}totalTasksCount(){return this._totalTaskCount}toString(){let t="";t+=`Groupers (if any):
`;for(let n of this._groupers){let i=n.reverse?" reverse":"";t+=`- ${n.property}${i}
`}for(let n of this.groups)t+=n.toString(),t+=`
---
`;return t+=`
${this.totalTasksCount()} tasks
`,t}addTaskGroups(t){for(let[e,n]of t){let i=new cf(e,n);this.addTaskGroup(i)}}addTaskGroup(t){this._groups.push(t)}sortTaskGroups(){let t=(e,n)=>{let i=e.groups,s=n.groups;for(let a=0;a<i.length;a++){let o=this._groupers[a],l=i[a].localeCompare(s[a],void 0,{numeric:!0});if(l!==0)return o.reverse?-l:l}return 0};this._groups.sort(t)}setGroupsHeadings(t){let e=new af(t,this._groupers);for(let n of this._groups)n.setGroupHeadings(e.getHeadingsForTaskGroup(n.groups))}applyTaskLimit(t){this._groupers.length!==0&&(this._groups.forEach(e=>{e.applyTaskLimit(t)}),this.recalculateTotalTaskCount())}recalculateTotalTaskCount(){let t=[];this._groups.forEach(n=>{t=[...t,...n.tasks]});let e=[...new Set(t)];this._totalTaskCount=e.length}};var is=class{constructor(t,e){this.tasksFile=t,this.allTasks=[...e],this._queryContext=this.tasksFile?tb(this.tasksFile,this.allTasks):void 0}static fromAllTasks(t){return new is(void 0,t)}get queryPath(){var t,e;return(e=(t=this.tasksFile)==null?void 0:t.path)!=null?e:void 0}queryContext(){return this._queryContext}};function VE(r){return`task${r!==1?"s":""}`}var sa=class{constructor(t,e){this.totalTasksCountBeforeLimit=0;this._searchErrorMessage=void 0;this.taskGroups=t,this.totalTasksCountBeforeLimit=e}get searchErrorMessage(){return this._searchErrorMessage}set searchErrorMessage(t){this._searchErrorMessage=t}get totalTasksCount(){return this.taskGroups.totalTasksCount()}totalTasksCountDisplayText(){let t=this.totalTasksCount,e=this.totalTasksCountBeforeLimit;return t===e?`${t} ${VE(t)}`:`${t} of ${e} ${VE(e)}`}get groups(){return this.taskGroups.groups}static fromError(t){let e=new sa(new wo([],[],is.fromAllTasks([])),0);return e._searchErrorMessage=t,e}};function zE(r){return r.endsWith("\\")}function KE(r){return r.endsWith("\\\\")}function zY(r){return r.replace(/^[ \t]*/,"")}function KY(r){return r.replace(/[ \t]*\\$/,"")}function QY(r,t){let e=r;return t&&(e=zY(r)),KE(e)?e=e.slice(0,-1):zE(r)&&(e=KY(e)),e}function df(r){let t=[],e=!1,n="",i="",s=r+`
`;for(let a of s.split(`
`)){let o=QY(a,e);e?(n+=`
`+a,i+=" "+o):(n=a,i=o),KE(a)?e=!1:e=zE(a),e||(i.trim()!==""&&t.push(new un(n,i)),n="",i="")}return t}function QE(r){return df(r).map(t=>t.anyContinuationLinesRemoved)}var ko=class{static by(t,e,n){let i=this.defaultSorters().map(a=>a.comparator),s=[];for(let a of t)s.push(a.comparator);return e.sort(ko.makeCompositeComparator([...s,...i],n))}static defaultSorters(){return[new si().createNormalSorter(),new _o().createNormalSorter(),new fo().createNormalSorter(),new ta().createNormalSorter(),new po().createNormalSorter()]}static makeCompositeComparator(t,e){return(n,i)=>{for(let s of t){let a=s(n,i,e);if(a!==0)return a}return 0}}};var ZE=0,Un=class{constructor(t,e=void 0){this.statements=[];this._limit=void 0;this._taskGroupLimit=void 0;this._taskLayoutOptions=new zr;this._queryLayoutOptions=new Xi;this.layoutStatements=[];this._filters=[];this._error=void 0;this._sorting=[];this._grouping=[];this._ignoreGlobalQuery=!1;this.hideOptionsRegexp=/^(hide|show) +(.*)/i;this.shortModeRegexp=/^short/i;this.fullModeRegexp=/^full/i;this.explainQueryRegexp=/^explain/i;this.ignoreGlobalQueryRegexp=/^ignore global query/i;this.logger=sn.getLogger("tasks.Query");this.limitRegexp=/^limit (groups )?(to )?(\d+)( tasks?)?/i;this.commentRegexp=/^#.*/;this.presetRegexp=/^preset +(.*)/i;this._queryId=this.generateQueryId(10),this.source=t,this.tasksFile=e;let n=df(t);for(let i of n){let s=this.expandPlaceholders(i,e);if(this.error!==void 0)return;this.statements.push(...s)}for(let i of this.statements)try{if(this.parseLine(i),this.error!==void 0)return}catch(s){let a;s instanceof Error?a=s.message:a="Unknown error",this.setError(a,i);return}}removeIllegalGlobalQueryInstructions(){this._ignoreGlobalQuery=!1}get filePath(){var t,e;return(e=(t=this.tasksFile)==null?void 0:t.path)!=null?e:void 0}get queryId(){return this._queryId}parseLine(t){let e=t.anyPlaceholdersExpanded;switch(!0){case this.presetRegexp.test(e):this.parsePreset(e,t);break;case this.shortModeRegexp.test(e):this._queryLayoutOptions.shortMode=!0,this.saveLayoutStatement(t);break;case this.fullModeRegexp.test(e):this._queryLayoutOptions.shortMode=!1,this.saveLayoutStatement(t);break;case this.explainQueryRegexp.test(e):this._queryLayoutOptions.explainQuery=!0;break;case this.ignoreGlobalQueryRegexp.test(e):this._ignoreGlobalQuery=!0;break;case this.limitRegexp.test(e):this.parseLimit(e);break;case this.parseSortBy(e,t):break;case this.parseGroupBy(e,t):break;case this.hideOptionsRegexp.test(e):this.parseHideOptions(t);break;case this.commentRegexp.test(e):break;case this.parseFilter(e,t):break;default:this.setError("do not understand query",t)}}formatQueryForLogging(){return`
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
${this.source}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
`}expandPlaceholders(t,e){let n=t.anyContinuationLinesRemoved;if(n.includes("{{")&&n.includes("}}")&&this.tasksFile===void 0)return this._error=`The query looks like it contains a placeholder, with "{{" and "}}"
but no file path has been supplied, so cannot expand placeholder values.
The query is:
${n}`,[t];if(this.commentRegexp.test(n))return[t];let s=n;if(e){let a=eb(e),o="";try{let u=0;for(;s!==o&&u<10;)o=s,s=Jy(o,a),u++;s!==n&&(s=df(s).map(c=>c.anyContinuationLinesRemoved).join(`
`))}catch(l){return l instanceof Error?this._error=l.message:this._error="Internal error. expandPlaceholders() threw something other than Error.",[t]}}return this.createStatementsFromExpandedPlaceholders(s,t)}createStatementsFromExpandedPlaceholders(t,e){let n=t.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);return n.length===1?(e.recordExpandedPlaceholders(n[0]),[e]):n.map((i,s)=>{let a=`: statement ${s+1} after expansion of placeholder`,o=new un(e.rawInstruction+a,e.anyContinuationLinesRemoved+a);return o.recordExpandedPlaceholders(i),o})}append(t){return this.source===""?t:t.source===""?this:new Un(`${this.source}
${t.source}`,this.tasksFile)}explainQuery(){return new lo().explainQuery(this)}get limit(){return this._limit}get taskGroupLimit(){return this._taskGroupLimit}get taskLayoutOptions(){return this._taskLayoutOptions}get queryLayoutOptions(){return this._queryLayoutOptions}get filters(){return this._filters}addFilter(t){this._filters.push(t)}get sorting(){return this._sorting}get grouping(){return this._grouping}get error(){return this._error}setError(t,e){this._error=Un.generateErrorMessage(e,t)}static generateErrorMessage(t,e){return t.allLinesIdentical()?`${e}
Problem line: "${t.rawInstruction}"`:`${e}
Problem statement:
${t.explainStatement(" ")}
`}get ignoreGlobalQuery(){return this._ignoreGlobalQuery}applyQueryToTasks(t){this.debug(`[search] Executing query: ${this.formatQueryForLogging()}`);let e=new is(this.tasksFile,t),n;try{this.filters.forEach(l=>{n=l.statement,t=t.filter(u=>l.filterFunction(u,e))}),n=void 0;let{debugSettings:i}=re(),s=i.ignoreSortInstructions?t:ko.by(this.sorting,t,e),a=s.slice(0,this.limit),o=new wo(this.grouping,a,e);return this._taskGroupLimit!==void 0&&o.applyTaskLimit(this._taskGroupLimit),new sa(o,s.length)}catch(i){let a=Js("Search failed",i);return n&&(a=Un.generateErrorMessage(n,a)),sa.fromError(a)}}parseHideOptions(t){let e=t.anyPlaceholdersExpanded,n=e.match(this.hideOptionsRegexp);if(n===null)return;let i=n[1].toLowerCase()==="hide",s=n[2].toLowerCase();if(wE(this._queryLayoutOptions,s,i)){this.saveLayoutStatement(t);return}if($S(this._taskLayoutOptions,s,!i)){this.saveLayoutStatement(t);return}this.setError("do not understand hide/show option",new un(e,e))}saveLayoutStatement(t){this.layoutStatements.push(t)}parseFilter(t,e){var i;let n=xu(t);return n!=null?(n.filter?(n.filter.setStatement(e),this._filters.push(n.filter)):this.setError((i=n.error)!=null?i:"Unknown error",e),!0):!1}parseLimit(t){let e=t.match(this.limitRegexp);if(e===null){this.setError("do not understand query limit",new un(t,t));return}let n=Number.parseInt(e[3],10);e[1]!==void 0?this._taskGroupLimit=n:this._limit=n}parseSortBy(t,e){let n=GE(t);return n?(n.setStatement(e),this._sorting.push(n),!0):!1}parseGroupBy(t,e){let n=BE(t);return n?(n.setStatement(e),this._grouping.push(n),!0):!1}parsePreset(t,e){let n=this.presetRegexp.exec(t);if(n){let i=n[1].trim(),{presets:s}=re(),a=s[i];if(!a){this.setError(eD(i,s),e);return}let o=QE(a);for(let l of o){let u=new un(e.rawInstruction,e.anyContinuationLinesRemoved);if(u.recordExpandedPlaceholders(l),l.includes("{{")&&l.includes("}}")&&this.tasksFile){let c=eb(this.tasksFile),d=Jy(l,c);u.recordExpandedPlaceholders(d)}this.parseLine(u)}}}generateQueryId(t){return ZE+=1,ZE.toString().padStart(t,"0")}debug(t,e){this.logger.debugWithId(this._queryId,`"${this.filePath}": ${t}`,e)}warn(t,e){this.logger.warnWithId(this._queryId,`"${this.filePath}": ${t}`,e)}};var hb=[{name:"TQ_explain",type:"checkbox",display:"explain",handler:"instruction",trueValue:"explain",falseValue:""},{name:"TQ_short_mode",type:"checkbox",display:"short mode",handler:"instruction",trueValue:"short mode",falseValue:"full mode"},{name:"TQ_show_tree",type:"checkbox",display:"tree",handler:"showAndHide"},{name:"TQ_show_tags",type:"checkbox",display:"tags",handler:"showAndHide"},{name:"TQ_show_id",type:"checkbox",display:"id",handler:"showAndHide"},{name:"TQ_show_depends_on",type:"checkbox",display:"depends on",handler:"showAndHide"},{name:"TQ_show_priority",type:"checkbox",display:"priority",handler:"showAndHide"},{name:"TQ_show_recurrence_rule",type:"checkbox",display:"recurrence rule",handler:"showAndHide"},{name:"TQ_show_on_completion",type:"checkbox",display:"on completion",handler:"showAndHide"},{name:"TQ_show_created_date",type:"checkbox",display:"created date",handler:"showAndHide"},{name:"TQ_show_start_date",type:"checkbox",display:"start date",handler:"showAndHide"},{name:"TQ_show_scheduled_date",type:"checkbox",display:"scheduled date",handler:"showAndHide"},{name:"TQ_show_due_date",type:"checkbox",display:"due date",handler:"showAndHide"},{name:"TQ_show_cancelled_date",type:"checkbox",display:"cancelled date",handler:"showAndHide"},{name:"TQ_show_done_date",type:"checkbox",display:"done date",handler:"showAndHide"},{name:"TQ_show_urgency",type:"checkbox",display:"urgency",handler:"showAndHide"},{name:"TQ_show_backlink",type:"checkbox",display:"backlink",handler:"showAndHide"},{name:"TQ_show_edit_button",type:"checkbox",display:"edit button",handler:"showAndHide"},{name:"TQ_show_postpone_button",type:"checkbox",display:"postpone button",handler:"showAndHide"},{name:"TQ_show_task_count",type:"checkbox",display:"task count",handler:"showAndHide"},{name:"TQ_extra_instructions",type:"text",handler:"addValue"}],Ci=class{source(t){return t?hb.map(n=>this.generateInstruction(t,n)).filter(n=>n!=="").join(`
`):""}generateInstruction(t,e){let n=t.hasProperty(e.name),i=t.property(e.name);switch(e.handler){case"instruction":return n&&(i?e.trueValue:e.falseValue)||"";case"showAndHide":return n&&(i?"show "+e.display:"hide "+e.display)||"";case"addValue":return n&&i||"";default:throw new Error("Unknown handler type: "+e.handler+".")}}query(t){return new Un(this.source(t),t)}allPropertyNames(){return hb.map(t=>t.name)}allPropertyNamesSorted(){return this.allPropertyNames().sort((t,e)=>t.localeCompare(e))}propertyType(t){var e,n;return(n=(e=hb.find(i=>i.name===t))==null?void 0:e.type)!=null?n:void 0}metaBindPluginWidgets(){return"\nshort mode: `INPUT[toggle:TQ_short_mode]`\ntree: `INPUT[toggle:TQ_show_tree]`\ntags: `INPUT[toggle:TQ_show_tags]`\nid: `INPUT[toggle:TQ_show_id]` depends on: `INPUT[toggle:TQ_show_depends_on]`\npriority: `INPUT[toggle:TQ_show_priority]`\nrecurrence rule: `INPUT[toggle:TQ_show_recurrence_rule]` on completion: `INPUT[toggle:TQ_show_on_completion]`\nstart date: `INPUT[toggle:TQ_show_start_date]` scheduled date: `INPUT[toggle:TQ_show_scheduled_date]` due date: `INPUT[toggle:TQ_show_due_date]`\ncreated date: `INPUT[toggle:TQ_show_created_date]` cancelled date: `INPUT[toggle:TQ_show_cancelled_date]` done date: `INPUT[toggle:TQ_show_done_date]`\nurgency: `INPUT[toggle:TQ_show_urgency]`\nbacklink: `INPUT[toggle:TQ_show_backlink]`\nedit button: `INPUT[toggle:TQ_show_edit_button]` postpone button: `INPUT[toggle:TQ_show_postpone_button]`\ntask count: `INPUT[toggle:TQ_show_task_count]`\nextra instructions: `INPUT[textArea:TQ_extra_instructions]`\nexplain: `INPUT[toggle:TQ_explain]`\n"}};function XE(r,t){return I(this,null,function*(){yield r.fileManager.processFrontMatter(t,e=>{let n=new Ci().allPropertyNamesSorted(),i=!1;n.forEach(s=>{s in e||(e[s]=null,i=!0)}),i?new gb.Notice("Properties updated successfully."):new gb.Notice("All supported properties are already present.")})})}var ff=class{get app(){return this.plugin.app}constructor({plugin:t}){this.plugin=t,t.addCommand({id:"edit-task",name:"Create or edit task",icon:"pencil",editorCheckCallback:(e,n,i)=>vE(e,n,i,this.app,this.plugin.getTasks())}),t.addCommand({id:"toggle-done",name:"Toggle task done",icon:"check-in-circle",editorCheckCallback:_E}),t.addCommand({id:"add-query-file-defaults-properties",name:"Add all Query File Defaults properties",icon:"settings",checkCallback:e=>{let n=this.app.workspace.getActiveFile();return!n||n.extension!=="md"?!1:(e||this.ensureQueryFileDefaultsFrontmatter(n).catch(console.error),!0)}})}ensureQueryFileDefaultsFrontmatter(t){return I(this,null,function*(){let{app:e}=this;yield XE(e,t)})}};var ss=class{constructor(t=ss.empty){this._source=t}static getInstance(){return ss.instance||(ss.instance=new ss),ss.instance}set(t){this._source=t}query(t=void 0){let e=new Un(this._source,t);return e.removeIllegalGlobalQueryInstructions(),e}hasInstructions(){return this._source.trim()!==ss.empty}},pr=ss;pr.empty="";js();var pf=class{constructor({obsidianEvents:t}){this.logger=sn.getLogger("tasks.Events");this.obsidianEvents=t}onCacheUpdate(t){this.logger.debug("TasksEvents.onCacheUpdate()");let e="obsidian-tasks-plugin:cache-update";return this.obsidianEvents.on(e,t)}triggerCacheUpdate(t){this.logger.debug("TasksEvents.triggerCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:cache-update",t)}onRequestCacheUpdate(t){this.logger.debug("TasksEvents.onRequestCacheUpdate()");let e="obsidian-tasks-plugin:request-cache-update";return this.obsidianEvents.on(e,t)}triggerRequestCacheUpdate(t){this.logger.debug("TasksEvents.triggerRequestCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:request-cache-update",t)}onReloadOpenSearchResults(t){this.logger.debug("TasksEvents.onReloadOpenSearchResults()");let e="obsidian-tasks-plugin:reload-open-search-results";return this.obsidianEvents.on(e,t)}triggerReloadOpenSearchResults(){this.logger.debug("TasksEvents.triggerReloadOpenSearchResults()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:reload-open-search-results")}off(t){this.logger.debug("TasksEvents.off()"),this.obsidianEvents.offref(t)}};var kx=require("obsidian");pn();Ls();Nt();var wx=require("obsidian");pn();Vt();Ls();Kr();Nt();li();Er();Ba();var yb=class{constructor(t){this.newStatus=t}apply(t){return this.isCheckedForTask(t)?[t]:t.handleNewStatusWithRecurrenceInUsersOrder(this.newStatus)}instructionDisplayName(){return`Change status to: [${this.newStatus.symbol}] ${this.newStatus.name}`}isCheckedForTask(t){return this.newStatus.symbol===t.status.symbol}};function JE(r){let t=[],e=new et().coreStatuses.map(n=>n.symbol);for(let n of[!0,!1])for(let i of r.registeredStatuses)e.includes(i.symbol)===n&&t.push(new yb(i));return t}var ex=require("obsidian");var bb="---",So=class{apply(t){throw new Error("MenuDividerInstruction.apply(): Method not implemented.")}instructionDisplayName(){return bb}isCheckedForTask(t){return!1}};function ai(r,t){return I(this,null,function*(){yield In({originalTask:r,newTasks:t})})}var as=class extends ex.Menu{constructor(e){super();this.taskSaver=e}addItemsForInstructions(e,n){for(let i of e)this.addItemForInstruction(n,i)}addItemForInstruction(e,n){n.instructionDisplayName()===bb?this.addSeparator():this.addItem(i=>this.getMenuItemCallback(e,i,n))}getMenuItemCallback(e,n,i){n.setTitle(i.instructionDisplayName()).setChecked(i.isCheckedForTask(e)).onClick(()=>I(this,null,function*(){let s=i.apply(e);(s.length!==1||!Object.is(s[0],e))&&(yield this.taskSaver(e,s))}))}};var mf=class extends as{constructor(t,e,n=ai){super(n);let i=JE(t);this.addItemsForInstructions(i,e)}};var hf=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],os={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(r){return typeof console!="undefined"&&console.warn(r)},getWeek:function(r){var t=new Date(r.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var e=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1};var gf={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(r){var t=r%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},yf=gf;var Xt=function(r,t){return t===void 0&&(t=2),("000"+r).slice(t*-1)},Tn=function(r){return r===!0?1:0};function Tb(r,t){var e;return function(){var n=this,i=arguments;clearTimeout(e),e=setTimeout(function(){return r.apply(n,i)},t)}}var bf=function(r){return r instanceof Array?r:[r]};function Jt(r,t,e){if(e===!0)return r.classList.add(t);r.classList.remove(t)}function je(r,t,e){var n=window.document.createElement(r);return t=t||"",e=e||"",n.className=t,e!==void 0&&(n.textContent=e),n}function Ou(r){for(;r.firstChild;)r.removeChild(r.firstChild)}function vb(r,t){if(t(r))return r;if(r.parentNode)return vb(r.parentNode,t)}function Ru(r,t){var e=je("div","numInputWrapper"),n=je("input","numInput "+r),i=je("span","arrowUp"),s=je("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?n.type="number":(n.type="text",n.pattern="\\d*"),t!==void 0)for(var a in t)n.setAttribute(a,t[a]);return e.appendChild(n),e.appendChild(i),e.appendChild(s),e}function vn(r){try{if(typeof r.composedPath=="function"){var t=r.composedPath();return t[0]}return r.target}catch(e){return r.target}}var _b=function(){},Cu=function(r,t,e){return e.months[t?"shorthand":"longhand"][r]},tx={D:_b,F:function(r,t,e){r.setMonth(e.months.longhand.indexOf(t))},G:function(r,t){r.setHours((r.getHours()>=12?12:0)+parseFloat(t))},H:function(r,t){r.setHours(parseFloat(t))},J:function(r,t){r.setDate(parseFloat(t))},K:function(r,t,e){r.setHours(r.getHours()%12+12*Tn(new RegExp(e.amPM[1],"i").test(t)))},M:function(r,t,e){r.setMonth(e.months.shorthand.indexOf(t))},S:function(r,t){r.setSeconds(parseFloat(t))},U:function(r,t){return new Date(parseFloat(t)*1e3)},W:function(r,t,e){var n=parseInt(t),i=new Date(r.getFullYear(),0,2+(n-1)*7,0,0,0,0);return i.setDate(i.getDate()-i.getDay()+e.firstDayOfWeek),i},Y:function(r,t){r.setFullYear(parseFloat(t))},Z:function(r,t){return new Date(t)},d:function(r,t){r.setDate(parseFloat(t))},h:function(r,t){r.setHours((r.getHours()>=12?12:0)+parseFloat(t))},i:function(r,t){r.setMinutes(parseFloat(t))},j:function(r,t){r.setDate(parseFloat(t))},l:_b,m:function(r,t){r.setMonth(parseFloat(t)-1)},n:function(r,t){r.setMonth(parseFloat(t)-1)},s:function(r,t){r.setSeconds(parseFloat(t))},u:function(r,t){return new Date(parseFloat(t))},w:_b,y:function(r,t){r.setFullYear(2e3+parseFloat(t))}},Mi={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Do={Z:function(r){return r.toISOString()},D:function(r,t,e){return t.weekdays.shorthand[Do.w(r,t,e)]},F:function(r,t,e){return Cu(Do.n(r,t,e)-1,!1,t)},G:function(r,t,e){return Xt(Do.h(r,t,e))},H:function(r){return Xt(r.getHours())},J:function(r,t){return t.ordinal!==void 0?r.getDate()+t.ordinal(r.getDate()):r.getDate()},K:function(r,t){return t.amPM[Tn(r.getHours()>11)]},M:function(r,t){return Cu(r.getMonth(),!0,t)},S:function(r){return Xt(r.getSeconds())},U:function(r){return r.getTime()/1e3},W:function(r,t,e){return e.getWeek(r)},Y:function(r){return Xt(r.getFullYear(),4)},d:function(r){return Xt(r.getDate())},h:function(r){return r.getHours()%12?r.getHours()%12:12},i:function(r){return Xt(r.getMinutes())},j:function(r){return r.getDate()},l:function(r,t){return t.weekdays.longhand[r.getDay()]},m:function(r){return Xt(r.getMonth()+1)},n:function(r){return r.getMonth()+1},s:function(r){return r.getSeconds()},u:function(r){return r.getTime()},w:function(r){return r.getDay()},y:function(r){return String(r.getFullYear()).substring(2)}};var wb=function(r){var t=r.config,e=t===void 0?os:t,n=r.l10n,i=n===void 0?gf:n,s=r.isMobile,a=s===void 0?!1:s;return function(o,l,u){var c=u||i;return e.formatDate!==void 0&&!a?e.formatDate(o,l,c):l.split("").map(function(d,f,p){return Do[d]&&p[f-1]!=="\\"?Do[d](o,c,e):d!=="\\"?d:""}).join("")}},Tf=function(r){var t=r.config,e=t===void 0?os:t,n=r.l10n,i=n===void 0?gf:n;return function(s,a,o,l){if(!(s!==0&&!s)){var u=l||i,c,d=s;if(s instanceof Date)c=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)c=new Date(s);else if(typeof s=="string"){var f=a||(e||os).dateFormat,p=String(s).trim();if(p==="today")c=new Date,o=!0;else if(e&&e.parseDate)c=e.parseDate(s,f);else if(/Z$/.test(p)||/GMT$/.test(p))c=new Date(s);else{for(var b=void 0,T=[],v=0,O=0,E="";v<f.length;v++){var P=f[v],Y=P==="\\",j=f[v-1]==="\\"||Y;if(Mi[P]&&!j){E+=Mi[P];var ae=new RegExp(E).exec(s);ae&&(b=!0)&&T[P!=="Y"?"push":"unshift"]({fn:tx[P],val:ae[++O]})}else Y||(E+=".")}c=!e||!e.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),T.forEach(function(H){var J=H.fn,ye=H.val;return c=J(c,ye,u)||c}),c=b?c:void 0}}if(!(c instanceof Date&&!isNaN(c.getTime()))){e.errorHandler(new Error("Invalid date provided: "+d));return}return o===!0&&c.setHours(0,0,0,0),c}}};function _n(r,t,e){return e===void 0&&(e=!0),e!==!1?new Date(r.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):r.getTime()-t.getTime()}var nx=function(r,t,e){return r>Math.min(t,e)&&r<Math.max(t,e)},vf=function(r,t,e){return r*3600+t*60+e},rx=function(r){var t=Math.floor(r/3600),e=(r-t*3600)/60;return[t,e,r-t*3600-e*60]},ix={DAY:864e5};function _f(r){var t=r.defaultHour,e=r.defaultMinute,n=r.defaultSeconds;if(r.minDate!==void 0){var i=r.minDate.getHours(),s=r.minDate.getMinutes(),a=r.minDate.getSeconds();t<i&&(t=i),t===i&&e<s&&(e=s),t===i&&e===s&&n<a&&(n=r.minDate.getSeconds())}if(r.maxDate!==void 0){var o=r.maxDate.getHours(),l=r.maxDate.getMinutes();t=Math.min(t,o),t===o&&(e=Math.min(l,e)),t===o&&e===l&&(n=r.maxDate.getSeconds())}return{hours:t,minutes:e,seconds:n}}typeof Object.assign!="function"&&(Object.assign=function(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];if(!r)throw TypeError("Cannot convert undefined or null to object");for(var n=function(o){o&&Object.keys(o).forEach(function(l){return r[l]=o[l]})},i=0,s=t;i<s.length;i++){var a=s[i];n(a)}return r});var en=function(){return en=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},en.apply(this,arguments)},sx=function(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),i=0,t=0;t<e;t++)for(var s=arguments[t],a=0,o=s.length;a<o;a++,i++)n[i]=s[a];return n},ZY=300;function XY(r,t){var e={config:en(en({},os),pt.defaultConfig),l10n:yf};e.parseDate=Tf({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=T,e._setHoursFromDate=f,e._positionCalendar=ds,e.changeMonth=S,e.changeYear=W,e.clear=C,e.close=L,e.onMouseOver=Le,e._createElement=je,e.createDay=ae,e.destroy=$,e.isEnabled=ce,e.jumpToDate=E,e.updateValue=gr,e.open=mr,e.redraw=la,e.set=Po,e.setDate=Fi,e.toggle=Wn;function n(){e.utils={getDaysInMonth:function(h,g){return h===void 0&&(h=e.currentMonth),g===void 0&&(g=e.currentYear),h===1&&(g%4===0&&g%100!==0||g%400===0)?29:e.l10n.daysInMonth[h]}}}function i(){e.element=e.input=r,e.isOpen=!1,te(),st(),ca(),Fu(),n(),e.isMobile||j(),O(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&f(e.config.noCalendar?e.latestSelectedDateObj:void 0),gr(!1)),o();var h=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&h&&ds(),Ze("onReady")}function s(){var h;return((h=e.calendarContainer)===null||h===void 0?void 0:h.getRootNode()).activeElement||document.activeElement}function a(h){return h.bind(e)}function o(){var h=e.config;h.weekNumbers===!1&&h.showMonths===1||h.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){var g=(e.days.offsetWidth+1)*h.showMonths;e.daysContainer.style.width=g+"px",e.calendarContainer.style.width=g+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function l(h){if(e.selectedDates.length===0){var g=e.config.minDate===void 0||_n(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),k=_f(e.config);g.setHours(k.hours,k.minutes,k.seconds,g.getMilliseconds()),e.selectedDates=[g],e.latestSelectedDateObj=g}h!==void 0&&h.type!=="blur"&&Fo(h);var A=e._input.value;d(),gr(),e._input.value!==A&&e._debouncedChange()}function u(h,g){return h%12+12*Tn(g===e.l10n.amPM[1])}function c(h){switch(h%24){case 0:case 12:return 12;default:return h%12}}function d(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var h=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,g=(parseInt(e.minuteElement.value,10)||0)%60,k=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(h=u(h,e.amPM.textContent));var A=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&_n(e.latestSelectedDateObj,e.config.minDate,!0)===0,G=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&_n(e.latestSelectedDateObj,e.config.maxDate,!0)===0;if(e.config.maxTime!==void 0&&e.config.minTime!==void 0&&e.config.minTime>e.config.maxTime){var X=vf(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),ve=vf(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),ne=vf(h,g,k);if(ne>ve&&ne<X){var Re=rx(X);h=Re[0],g=Re[1],k=Re[2]}}else{if(G){var se=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;h=Math.min(h,se.getHours()),h===se.getHours()&&(g=Math.min(g,se.getMinutes())),g===se.getMinutes()&&(k=Math.min(k,se.getSeconds()))}if(A){var me=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;h=Math.max(h,me.getHours()),h===me.getHours()&&g<me.getMinutes()&&(g=me.getMinutes()),g===me.getMinutes()&&(k=Math.max(k,me.getSeconds()))}}p(h,g,k)}}function f(h){var g=h||e.latestSelectedDateObj;g&&g instanceof Date&&p(g.getHours(),g.getMinutes(),g.getSeconds())}function p(h,g,k){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(h%24,g,k||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=Xt(e.config.time_24hr?h:(12+h)%12+12*Tn(h%12===0)),e.minuteElement.value=Xt(g),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Tn(h>=12)]),e.secondElement!==void 0&&(e.secondElement.value=Xt(k)))}function b(h){var g=vn(h),k=parseInt(g.value)+(h.delta||0);(k/1e3>1||h.key==="Enter"&&!/[^\d]/.test(k.toString()))&&W(k)}function T(h,g,k,A){if(g instanceof Array)return g.forEach(function(G){return T(h,G,k,A)});if(h instanceof Array)return h.forEach(function(G){return T(G,g,k,A)});h.addEventListener(g,k,A),e._handlers.push({remove:function(){return h.removeEventListener(g,k,A)}})}function v(){Ze("onChange")}function O(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(k){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+k+"]"),function(A){return T(A,"click",e[k])})}),e.isMobile){fs();return}var h=Tb($t,50);if(e._debouncedChange=Tb(v,ZY),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&T(e.daysContainer,"mouseover",function(k){e.config.mode==="range"&&Le(vn(k))}),T(e._input,"keydown",Ge),e.calendarContainer!==void 0&&T(e.calendarContainer,"keydown",Ge),!e.config.inline&&!e.config.static&&T(window,"resize",h),window.ontouchstart!==void 0?T(window.document,"touchstart",N):T(window.document,"mousedown",N),T(window.document,"focus",N,{capture:!0}),e.config.clickOpens===!0&&(T(e._input,"focus",e.open),T(e._input,"click",e.open)),e.daysContainer!==void 0&&(T(e.monthNav,"click",Lf),T(e.monthNav,["keyup","increment"],b),T(e.daysContainer,"click",$n)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var g=function(k){return vn(k).select()};T(e.timeContainer,["increment"],l),T(e.timeContainer,"blur",l,{capture:!0}),T(e.timeContainer,"click",P),T([e.hourElement,e.minuteElement],["focus","click"],g),e.secondElement!==void 0&&T(e.secondElement,"focus",function(){return e.secondElement&&e.secondElement.select()}),e.amPM!==void 0&&T(e.amPM,"click",function(k){l(k)})}e.config.allowInput&&T(e._input,"blur",Oe)}function E(h,g){var k=h!==void 0?e.parseDate(h):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate<e.now?e.config.maxDate:e.now),A=e.currentYear,G=e.currentMonth;try{k!==void 0&&(e.currentYear=k.getFullYear(),e.currentMonth=k.getMonth())}catch(X){X.message="Invalid date supplied: "+k,e.config.errorHandler(X)}g&&e.currentYear!==A&&(Ze("onYearChange"),R()),g&&(e.currentYear!==A||e.currentMonth!==G)&&Ze("onMonthChange"),e.redraw()}function P(h){var g=vn(h);~g.className.indexOf("arrow")&&Y(h,g.classList.contains("arrowUp")?1:-1)}function Y(h,g,k){var A=h&&vn(h),G=k||A&&A.parentNode&&A.parentNode.firstChild,X=da("increment");X.delta=g,G&&G.dispatchEvent(X)}function j(){var h=window.document.createDocumentFragment();if(e.calendarContainer=je("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(h.appendChild(le()),e.innerContainer=je("div","flatpickr-innerContainer"),e.config.weekNumbers){var g=w(),k=g.weekWrapper,A=g.weekNumbers;e.innerContainer.appendChild(k),e.weekNumbers=A,e.weekWrapper=k}e.rContainer=je("div","flatpickr-rContainer"),e.rContainer.appendChild(y()),e.daysContainer||(e.daysContainer=je("div","flatpickr-days"),e.daysContainer.tabIndex=-1),K(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),h.appendChild(e.innerContainer)}e.config.enableTime&&h.appendChild(m()),Jt(e.calendarContainer,"rangeMode",e.config.mode==="range"),Jt(e.calendarContainer,"animate",e.config.animate===!0),Jt(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(h);var G=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!G&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){var X=je("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(X,e.element),X.appendChild(e.element),e.altInput&&X.appendChild(e.altInput),X.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function ae(h,g,k,A){var G=ce(g,!0),X=je("span",h,g.getDate().toString());return X.dateObj=g,X.$i=A,X.setAttribute("aria-label",e.formatDate(g,e.config.ariaDateFormat)),h.indexOf("hidden")===-1&&_n(g,e.now)===0&&(e.todayDateElem=X,X.classList.add("today"),X.setAttribute("aria-current","date")),G?(X.tabIndex=-1,Ur(g)&&(X.classList.add("selected"),e.selectedDateElem=X,e.config.mode==="range"&&(Jt(X,"startRange",e.selectedDates[0]&&_n(g,e.selectedDates[0],!0)===0),Jt(X,"endRange",e.selectedDates[1]&&_n(g,e.selectedDates[1],!0)===0),h==="nextMonthDay"&&X.classList.add("inRange")))):X.classList.add("flatpickr-disabled"),e.config.mode==="range"&&xt(g)&&!Ur(g)&&X.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&h!=="prevMonthDay"&&A%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(g)+"</span>"),Ze("onDayCreate",X),X}function H(h){h.focus(),e.config.mode==="range"&&Le(h)}function J(h){for(var g=h>0?0:e.config.showMonths-1,k=h>0?e.config.showMonths:-1,A=g;A!=k;A+=h)for(var G=e.daysContainer.children[A],X=h>0?0:G.children.length-1,ve=h>0?G.children.length:-1,ne=X;ne!=ve;ne+=h){var Re=G.children[ne];if(Re.className.indexOf("hidden")===-1&&ce(Re.dateObj))return Re}}function ye(h,g){for(var k=h.className.indexOf("Month")===-1?h.dateObj.getMonth():e.currentMonth,A=g>0?e.config.showMonths:-1,G=g>0?1:-1,X=k-e.currentMonth;X!=A;X+=G)for(var ve=e.daysContainer.children[X],ne=k-e.currentMonth===X?h.$i+g:g<0?ve.children.length-1:0,Re=ve.children.length,se=ne;se>=0&&se<Re&&se!=(g>0?Re:-1);se+=G){var me=ve.children[se];if(me.className.indexOf("hidden")===-1&&ce(me.dateObj)&&Math.abs(h.$i-se)>=Math.abs(g))return H(me)}e.changeMonth(G),we(J(G),0)}function we(h,g){var k=s(),A=be(k||document.body),G=h!==void 0?h:A?k:e.selectedDateElem!==void 0&&be(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&be(e.todayDateElem)?e.todayDateElem:J(g>0?1:-1);G===void 0?e._input.focus():A?ye(G,g):H(G)}function V(h,g){for(var k=(new Date(h,g,1).getDay()-e.l10n.firstDayOfWeek+7)%7,A=e.utils.getDaysInMonth((g-1+12)%12,h),G=e.utils.getDaysInMonth(g,h),X=window.document.createDocumentFragment(),ve=e.config.showMonths>1,ne=ve?"prevMonthDay hidden":"prevMonthDay",Re=ve?"nextMonthDay hidden":"nextMonthDay",se=A+1-k,me=0;se<=A;se++,me++)X.appendChild(ae("flatpickr-day "+ne,new Date(h,g-1,se),se,me));for(se=1;se<=G;se++,me++)X.appendChild(ae("flatpickr-day",new Date(h,g,se),se,me));for(var ze=G+1;ze<=42-k&&(e.config.showMonths===1||me%7!==0);ze++,me++)X.appendChild(ae("flatpickr-day "+Re,new Date(h,g+1,ze%G),ze,me));var qn=je("div","dayContainer");return qn.appendChild(X),qn}function K(){if(e.daysContainer!==void 0){Ou(e.daysContainer),e.weekNumbers&&Ou(e.weekNumbers);for(var h=document.createDocumentFragment(),g=0;g<e.config.showMonths;g++){var k=new Date(e.currentYear,e.currentMonth,1);k.setMonth(e.currentMonth+g),h.appendChild(V(k.getFullYear(),k.getMonth()))}e.daysContainer.appendChild(h),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&Le()}}function R(){if(!(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")){var h=function(A){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&A<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&A>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var g=0;g<12;g++)if(!!h(g)){var k=je("option","flatpickr-monthDropdown-month");k.value=new Date(e.currentYear,g).getMonth().toString(),k.textContent=Cu(g,e.config.shorthandCurrentMonth,e.l10n),k.tabIndex=-1,e.currentMonth===g&&(k.selected=!0),e.monthsDropdownContainer.appendChild(k)}}}function ee(){var h=je("div","flatpickr-month"),g=window.document.createDocumentFragment(),k;e.config.showMonths>1||e.config.monthSelectorType==="static"?k=je("span","cur-month"):(e.monthsDropdownContainer=je("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),T(e.monthsDropdownContainer,"change",function(ve){var ne=vn(ve),Re=parseInt(ne.value,10);e.changeMonth(Re-e.currentMonth),Ze("onMonthChange")}),R(),k=e.monthsDropdownContainer);var A=Ru("cur-year",{tabindex:"-1"}),G=A.getElementsByTagName("input")[0];G.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&G.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(G.setAttribute("max",e.config.maxDate.getFullYear().toString()),G.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());var X=je("div","flatpickr-current-month");return X.appendChild(k),X.appendChild(A),g.appendChild(X),h.appendChild(g),{container:h,yearElement:G,monthElement:k}}function q(){Ou(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var h=e.config.showMonths;h--;){var g=ee();e.yearElements.push(g.yearElement),e.monthElements.push(g.monthElement),e.monthNav.appendChild(g.container)}e.monthNav.appendChild(e.nextMonthNav)}function le(){return e.monthNav=je("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=je("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=je("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,q(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(h){e.__hidePrevMonthArrow!==h&&(Jt(e.prevMonthNav,"flatpickr-disabled",h),e.__hidePrevMonthArrow=h)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(h){e.__hideNextMonthArrow!==h&&(Jt(e.nextMonthNav,"flatpickr-disabled",h),e.__hideNextMonthArrow=h)}}),e.currentYearElement=e.yearElements[0],fa(),e.monthNav}function m(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var h=_f(e.config);e.timeContainer=je("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var g=je("span","flatpickr-time-separator",":"),k=Ru("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=k.getElementsByTagName("input")[0];var A=Ru("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=A.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=Xt(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?h.hours:c(h.hours)),e.minuteElement.value=Xt(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():h.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(k),e.timeContainer.appendChild(g),e.timeContainer.appendChild(A),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var G=Ru("flatpickr-second");e.secondElement=G.getElementsByTagName("input")[0],e.secondElement.value=Xt(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():h.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(je("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(G)}return e.config.time_24hr||(e.amPM=je("span","flatpickr-am-pm",e.l10n.amPM[Tn((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function y(){e.weekdayContainer?Ou(e.weekdayContainer):e.weekdayContainer=je("div","flatpickr-weekdays");for(var h=e.config.showMonths;h--;){var g=je("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(g)}return _(),e.weekdayContainer}function _(){if(!!e.weekdayContainer){var h=e.l10n.firstDayOfWeek,g=sx(e.l10n.weekdays.shorthand);h>0&&h<g.length&&(g=sx(g.splice(h,g.length),g.splice(0,h)));for(var k=e.config.showMonths;k--;)e.weekdayContainer.children[k].innerHTML=`
<span class='flatpickr-weekday'>
`+g.join("</span><span class='flatpickr-weekday'>")+`
</span>
`}}function w(){e.calendarContainer.classList.add("hasWeeks");var h=je("div","flatpickr-weekwrapper");h.appendChild(je("span","flatpickr-weekday",e.l10n.weekAbbreviation));var g=je("div","flatpickr-weeks");return h.appendChild(g),{weekWrapper:h,weekNumbers:g}}function S(h,g){g===void 0&&(g=!0);var k=g?h:h-e.currentMonth;k<0&&e._hidePrevMonthArrow===!0||k>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=k,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,Ze("onYearChange"),R()),K(),Ze("onMonthChange"),fa())}function C(h,g){if(h===void 0&&(h=!0),g===void 0&&(g=!0),e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,g===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){var k=_f(e.config),A=k.hours,G=k.minutes,X=k.seconds;p(A,G,X)}e.redraw(),h&&Ze("onChange")}function L(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),Ze("onClose")}function $(){e.config!==void 0&&Ze("onDestroy");for(var h=e._handlers.length;h--;)e._handlers[h].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){var g=e.calendarContainer.parentNode;if(g.lastChild&&g.removeChild(g.lastChild),g.parentNode){for(;g.firstChild;)g.parentNode.insertBefore(g.firstChild,g);g.parentNode.removeChild(g)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(k){try{delete e[k]}catch(A){}})}function D(h){return e.calendarContainer.contains(h)}function N(h){if(e.isOpen&&!e.config.inline){var g=vn(h),k=D(g),A=g===e.input||g===e.altInput||e.element.contains(g)||h.path&&h.path.indexOf&&(~h.path.indexOf(e.input)||~h.path.indexOf(e.altInput)),G=!A&&!k&&!D(h.relatedTarget),X=!e.config.ignoredFocusElements.some(function(ve){return ve.contains(g)});G&&X&&(e.config.allowInput&&e.setDate(e._input.value,!1,e.config.altInput?e.config.altFormat:e.config.dateFormat),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&l(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&e.clear(!1))}}function W(h){if(!(!h||e.config.minDate&&h<e.config.minDate.getFullYear()||e.config.maxDate&&h>e.config.maxDate.getFullYear())){var g=h,k=e.currentYear!==g;e.currentYear=g||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),k&&(e.redraw(),Ze("onYearChange"),R())}}function ce(h,g){var k;g===void 0&&(g=!0);var A=e.parseDate(h,void 0,g);if(e.config.minDate&&A&&_n(A,e.config.minDate,g!==void 0?g:!e.minDateHasTime)<0||e.config.maxDate&&A&&_n(A,e.config.maxDate,g!==void 0?g:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(A===void 0)return!1;for(var G=!!e.config.enable,X=(k=e.config.enable)!==null&&k!==void 0?k:e.config.disable,ve=0,ne=void 0;ve<X.length;ve++){if(ne=X[ve],typeof ne=="function"&&ne(A))return G;if(ne instanceof Date&&A!==void 0&&ne.getTime()===A.getTime())return G;if(typeof ne=="string"){var Re=e.parseDate(ne,void 0,!0);return Re&&Re.getTime()===A.getTime()?G:!G}else if(typeof ne=="object"&&A!==void 0&&ne.from&&ne.to&&A.getTime()>=ne.from.getTime()&&A.getTime()<=ne.to.getTime())return G}return!G}function be(h){return e.daysContainer!==void 0?h.className.indexOf("hidden")===-1&&h.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(h):!1}function Oe(h){var g=h.target===e._input,k=e._input.value.trimEnd()!==pa();g&&k&&!(h.relatedTarget&&D(h.relatedTarget))&&e.setDate(e._input.value,!0,h.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function Ge(h){var g=vn(h),k=e.config.wrap?r.contains(g):g===e._input,A=e.config.allowInput,G=e.isOpen&&(!A||!k),X=e.config.inline&&k&&!A;if(h.keyCode===13&&k){if(A)return e.setDate(e._input.value,!0,g===e.altInput?e.config.altFormat:e.config.dateFormat),e.close(),g.blur();e.open()}else if(D(g)||G||X){var ve=!!e.timeContainer&&e.timeContainer.contains(g);switch(h.keyCode){case 13:ve?(h.preventDefault(),l(),ua()):$n(h);break;case 27:h.preventDefault(),ua();break;case 8:case 46:k&&!e.config.allowInput&&(h.preventDefault(),e.clear());break;case 37:case 39:if(!ve&&!k){h.preventDefault();var ne=s();if(e.daysContainer!==void 0&&(A===!1||ne&&be(ne))){var Re=h.keyCode===39?1:-1;h.ctrlKey?(h.stopPropagation(),S(Re),we(J(1),0)):we(void 0,Re)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:h.preventDefault();var se=h.keyCode===40?1:-1;e.daysContainer&&g.$i!==void 0||g===e.input||g===e.altInput?h.ctrlKey?(h.stopPropagation(),W(e.currentYear-se),we(J(1),0)):ve||we(void 0,se*7):g===e.currentYearElement?W(e.currentYear-se):e.config.enableTime&&(!ve&&e.hourElement&&e.hourElement.focus(),l(h),e._debouncedChange());break;case 9:if(ve){var me=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(function(Ot){return Ot}),ze=me.indexOf(g);if(ze!==-1){var qn=me[ze+(h.shiftKey?-1:1)];h.preventDefault(),(qn||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(g)&&h.shiftKey&&(h.preventDefault(),e._input.focus());break;default:break}}if(e.amPM!==void 0&&g===e.amPM)switch(h.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],d(),gr();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],d(),gr();break}(k||D(g))&&Ze("onKeyDown",h)}function Le(h,g){if(g===void 0&&(g="flatpickr-day"),!(e.selectedDates.length!==1||h&&(!h.classList.contains(g)||h.classList.contains("flatpickr-disabled")))){for(var k=h?h.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),A=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),G=Math.min(k,e.selectedDates[0].getTime()),X=Math.max(k,e.selectedDates[0].getTime()),ve=!1,ne=0,Re=0,se=G;se<X;se+=ix.DAY)ce(new Date(se),!0)||(ve=ve||se>G&&se<X,se<A&&(!ne||se>ne)?ne=se:se>A&&(!Re||se<Re)&&(Re=se));var me=Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+"+e.config.showMonths+") > ."+g));me.forEach(function(ze){var qn=ze.dateObj,Ot=qn.getTime(),ps=ne>0&&Ot<ne||Re>0&&Ot>Re;if(ps){ze.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(Li){ze.classList.remove(Li)});return}else if(ve&&!ps)return;["startRange","inRange","endRange","notAllowed"].forEach(function(Li){ze.classList.remove(Li)}),h!==void 0&&(h.classList.add(k<=e.selectedDates[0].getTime()?"startRange":"endRange"),A<k&&Ot===A?ze.classList.add("startRange"):A>k&&Ot===A&&ze.classList.add("endRange"),Ot>=ne&&(Re===0||Ot<=Re)&&nx(Ot,A,k)&&ze.classList.add("inRange"))})}}function $t(){e.isOpen&&!e.config.static&&!e.config.inline&&ds()}function mr(h,g){if(g===void 0&&(g=e._positionElement),e.isMobile===!0){if(h){h.preventDefault();var k=vn(h);k&&k.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),Ze("onOpen");return}else if(e._input.disabled||e.config.inline)return;var A=e.isOpen;e.isOpen=!0,A||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),Ze("onOpen"),ds(g)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(h===void 0||!e.timeContainer.contains(h.relatedTarget))&&setTimeout(function(){return e.hourElement.select()},50)}function wn(h){return function(g){var k=e.config["_"+h+"Date"]=e.parseDate(g,e.config.dateFormat),A=e.config["_"+(h==="min"?"max":"min")+"Date"];k!==void 0&&(e[h==="min"?"minDateHasTime":"maxDateHasTime"]=k.getHours()>0||k.getMinutes()>0||k.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(function(G){return ce(G)}),!e.selectedDates.length&&h==="min"&&f(k),gr()),e.daysContainer&&(la(),k!==void 0?e.currentYearElement[h]=k.getFullYear().toString():e.currentYearElement.removeAttribute(h),e.currentYearElement.disabled=!!A&&k!==void 0&&A.getFullYear()===k.getFullYear())}}function te(){var h=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],g=en(en({},JSON.parse(JSON.stringify(r.dataset||{}))),t),k={};e.config.parseDate=g.parseDate,e.config.formatDate=g.formatDate,Object.defineProperty(e.config,"enable",{get:function(){return e.config._enable},set:function(me){e.config._enable=Lr(me)}}),Object.defineProperty(e.config,"disable",{get:function(){return e.config._disable},set:function(me){e.config._disable=Lr(me)}});var A=g.mode==="time";if(!g.dateFormat&&(g.enableTime||A)){var G=pt.defaultConfig.dateFormat||os.dateFormat;k.dateFormat=g.noCalendar||A?"H:i"+(g.enableSeconds?":S":""):G+" H:i"+(g.enableSeconds?":S":"")}if(g.altInput&&(g.enableTime||A)&&!g.altFormat){var X=pt.defaultConfig.altFormat||os.altFormat;k.altFormat=g.noCalendar||A?"h:i"+(g.enableSeconds?":S K":" K"):X+(" h:i"+(g.enableSeconds?":S":"")+" K")}Object.defineProperty(e.config,"minDate",{get:function(){return e.config._minDate},set:wn("min")}),Object.defineProperty(e.config,"maxDate",{get:function(){return e.config._maxDate},set:wn("max")});var ve=function(me){return function(ze){e.config[me==="min"?"_minTime":"_maxTime"]=e.parseDate(ze,"H:i:S")}};Object.defineProperty(e.config,"minTime",{get:function(){return e.config._minTime},set:ve("min")}),Object.defineProperty(e.config,"maxTime",{get:function(){return e.config._maxTime},set:ve("max")}),g.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,k,g);for(var ne=0;ne<h.length;ne++)e.config[h[ne]]=e.config[h[ne]]===!0||e.config[h[ne]]==="true";hf.filter(function(me){return e.config[me]!==void 0}).forEach(function(me){e.config[me]=bf(e.config[me]||[]).map(a)}),e.isMobile=!e.config.disableMobile&&!e.config.inline&&e.config.mode==="single"&&!e.config.disable.length&&!e.config.enable&&!e.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var ne=0;ne<e.config.plugins.length;ne++){var Re=e.config.plugins[ne](e)||{};for(var se in Re)hf.indexOf(se)>-1?e.config[se]=bf(Re[se]).map(a).concat(e.config[se]):typeof g[se]=="undefined"&&(e.config[se]=Re[se])}g.altInputClass||(e.config.altInputClass=Wt().className+" "+e.config.altInputClass),Ze("onParseConfig")}function Wt(){return e.config.wrap?r.querySelector("[data-input]"):r}function st(){typeof e.config.locale!="object"&&typeof pt.l10ns[e.config.locale]=="undefined"&&e.config.errorHandler(new Error("flatpickr: invalid locale "+e.config.locale)),e.l10n=en(en({},pt.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?pt.l10ns[e.config.locale]:void 0),Mi.D="("+e.l10n.weekdays.shorthand.join("|")+")",Mi.l="("+e.l10n.weekdays.longhand.join("|")+")",Mi.M="("+e.l10n.months.shorthand.join("|")+")",Mi.F="("+e.l10n.months.longhand.join("|")+")",Mi.K="("+e.l10n.amPM[0]+"|"+e.l10n.amPM[1]+"|"+e.l10n.amPM[0].toLowerCase()+"|"+e.l10n.amPM[1].toLowerCase()+")";var h=en(en({},t),JSON.parse(JSON.stringify(r.dataset||{})));h.time_24hr===void 0&&pt.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=wb(e),e.parseDate=Tf({config:e.config,l10n:e.l10n})}function ds(h){if(typeof e.config.position=="function")return void e.config.position(e,h);if(e.calendarContainer!==void 0){Ze("onPreCalendarPosition");var g=h||e._positionElement,k=Array.prototype.reduce.call(e.calendarContainer.children,function(hs,gs){return hs+gs.offsetHeight},0),A=e.calendarContainer.offsetWidth,G=e.config.position.split(" "),X=G[0],ve=G.length>1?G[1]:null,ne=g.getBoundingClientRect(),Re=window.innerHeight-ne.bottom,se=X==="above"||X!=="below"&&Re<k&&ne.top>k,me=window.pageYOffset+ne.top+(se?-k-2:g.offsetHeight+2);if(Jt(e.calendarContainer,"arrowTop",!se),Jt(e.calendarContainer,"arrowBottom",se),!e.config.inline){var ze=window.pageXOffset+ne.left,qn=!1,Ot=!1;ve==="center"?(ze-=(A-ne.width)/2,qn=!0):ve==="right"&&(ze-=A-ne.width,Ot=!0),Jt(e.calendarContainer,"arrowLeft",!qn&&!Ot),Jt(e.calendarContainer,"arrowCenter",qn),Jt(e.calendarContainer,"arrowRight",Ot);var ps=window.document.body.offsetWidth-(window.pageXOffset+ne.right),Li=ze+A>window.document.body.offsetWidth,Lo=ps+A>window.document.body.offsetWidth;if(Jt(e.calendarContainer,"rightMost",Li),!e.config.static)if(e.calendarContainer.style.top=me+"px",!Li)e.calendarContainer.style.left=ze+"px",e.calendarContainer.style.right="auto";else if(!Lo)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=ps+"px";else{var Uo=hr();if(Uo===void 0)return;var Uf=window.document.body.offsetWidth,Yo=Math.max(0,Uf/2-A/2),U=".flatpickr-calendar.centerMost:before",he=".flatpickr-calendar.centerMost:after",yr=Uo.cssRules.length,ms="{left:"+ne.left+"px;right:auto;}";Jt(e.calendarContainer,"rightMost",!1),Jt(e.calendarContainer,"centerMost",!0),Uo.insertRule(U+","+he+ms,yr),e.calendarContainer.style.left=Yo+"px",e.calendarContainer.style.right="auto"}}}}function hr(){for(var h=null,g=0;g<document.styleSheets.length;g++){var k=document.styleSheets[g];if(!!k.cssRules){try{k.cssRules}catch(A){continue}h=k;break}}return h!=null?h:Ao()}function Ao(){var h=document.createElement("style");return document.head.appendChild(h),h.sheet}function la(){e.config.noCalendar||e.isMobile||(R(),fa(),K())}function ua(){e._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(e.close,0):e.close()}function $n(h){h.preventDefault(),h.stopPropagation();var g=function(me){return me.classList&&me.classList.contains("flatpickr-day")&&!me.classList.contains("flatpickr-disabled")&&!me.classList.contains("notAllowed")},k=vb(vn(h),g);if(k!==void 0){var A=k,G=e.latestSelectedDateObj=new Date(A.dateObj.getTime()),X=(G.getMonth()<e.currentMonth||G.getMonth()>e.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=A,e.config.mode==="single")e.selectedDates=[G];else if(e.config.mode==="multiple"){var ve=Ur(G);ve?e.selectedDates.splice(parseInt(ve),1):e.selectedDates.push(G)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=G,e.selectedDates.push(G),_n(G,e.selectedDates[0],!0)!==0&&e.selectedDates.sort(function(me,ze){return me.getTime()-ze.getTime()}));if(d(),X){var ne=e.currentYear!==G.getFullYear();e.currentYear=G.getFullYear(),e.currentMonth=G.getMonth(),ne&&(Ze("onYearChange"),R()),Ze("onMonthChange")}if(fa(),K(),gr(),!X&&e.config.mode!=="range"&&e.config.showMonths===1?H(A):e.selectedDateElem!==void 0&&e.hourElement===void 0&&e.selectedDateElem&&e.selectedDateElem.focus(),e.hourElement!==void 0&&e.hourElement!==void 0&&e.hourElement.focus(),e.config.closeOnSelect){var Re=e.config.mode==="single"&&!e.config.enableTime,se=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(Re||se)&&ua()}v()}}var Ii={locale:[st,_],showMonths:[q,o,y],minDate:[E],maxDate:[E],positionElement:[Io],clickOpens:[function(){e.config.clickOpens===!0?(T(e._input,"focus",e.open),T(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function Po(h,g){if(h!==null&&typeof h=="object"){Object.assign(e.config,h);for(var k in h)Ii[k]!==void 0&&Ii[k].forEach(function(A){return A()})}else e.config[h]=g,Ii[h]!==void 0?Ii[h].forEach(function(A){return A()}):hf.indexOf(h)>-1&&(e.config[h]=bf(g));e.redraw(),gr(!0)}function No(h,g){var k=[];if(h instanceof Array)k=h.map(function(A){return e.parseDate(A,g)});else if(h instanceof Date||typeof h=="number")k=[e.parseDate(h,g)];else if(typeof h=="string")switch(e.config.mode){case"single":case"time":k=[e.parseDate(h,g)];break;case"multiple":k=h.split(e.config.conjunction).map(function(A){return e.parseDate(A,g)});break;case"range":k=h.split(e.l10n.rangeSeparator).map(function(A){return e.parseDate(A,g)});break;default:break}else e.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(h)));e.selectedDates=e.config.allowInvalidPreload?k:k.filter(function(A){return A instanceof Date&&ce(A,!1)}),e.config.mode==="range"&&e.selectedDates.sort(function(A,G){return A.getTime()-G.getTime()})}function Fi(h,g,k){if(g===void 0&&(g=!1),k===void 0&&(k=e.config.dateFormat),h!==0&&!h||h instanceof Array&&h.length===0)return e.clear(g);No(h,k),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),E(void 0,g),f(),e.selectedDates.length===0&&e.clear(!1),gr(g),g&&Ze("onChange")}function Lr(h){return h.slice().map(function(g){return typeof g=="string"||typeof g=="number"||g instanceof Date?e.parseDate(g,void 0,!0):g&&typeof g=="object"&&g.from&&g.to?{from:e.parseDate(g.from,void 0),to:e.parseDate(g.to,void 0)}:g}).filter(function(g){return g})}function Fu(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;var h=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);h&&No(h,e.config.dateFormat),e._initialDate=e.selectedDates.length>0?e.selectedDates[0]:e.config.minDate&&e.config.minDate.getTime()>e.now.getTime()?e.config.minDate:e.config.maxDate&&e.config.maxDate.getTime()<e.now.getTime()?e.config.maxDate:e.now,e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth(),e.selectedDates.length>0&&(e.latestSelectedDateObj=e.selectedDates[0]),e.config.minTime!==void 0&&(e.config.minTime=e.parseDate(e.config.minTime,"H:i")),e.config.maxTime!==void 0&&(e.config.maxTime=e.parseDate(e.config.maxTime,"H:i")),e.minDateHasTime=!!e.config.minDate&&(e.config.minDate.getHours()>0||e.config.minDate.getMinutes()>0||e.config.minDate.getSeconds()>0),e.maxDateHasTime=!!e.config.maxDate&&(e.config.maxDate.getHours()>0||e.config.maxDate.getMinutes()>0||e.config.maxDate.getSeconds()>0)}function ca(){if(e.input=Wt(),!e.input){e.config.errorHandler(new Error("Invalid input element specified"));return}e.input._type=e.input.type,e.input.type="text",e.input.classList.add("flatpickr-input"),e._input=e.input,e.config.altInput&&(e.altInput=je(e.input.nodeName,e.config.altInputClass),e._input=e.altInput,e.altInput.placeholder=e.input.placeholder,e.altInput.disabled=e.input.disabled,e.altInput.required=e.input.required,e.altInput.tabIndex=e.input.tabIndex,e.altInput.type="text",e.input.setAttribute("type","hidden"),!e.config.static&&e.input.parentNode&&e.input.parentNode.insertBefore(e.altInput,e.input.nextSibling)),e.config.allowInput||e._input.setAttribute("readonly","readonly"),Io()}function Io(){e._positionElement=e.config.positionElement||e._input}function fs(){var h=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=je("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=h,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=h==="datetime-local"?"Y-m-d\\TH:i:S":h==="date"?"Y-m-d":"H:i:S",e.selectedDates.length>0&&(e.mobileInput.defaultValue=e.mobileInput.value=e.formatDate(e.selectedDates[0],e.mobileFormatStr)),e.config.minDate&&(e.mobileInput.min=e.formatDate(e.config.minDate,"Y-m-d")),e.config.maxDate&&(e.mobileInput.max=e.formatDate(e.config.maxDate,"Y-m-d")),e.input.getAttribute("step")&&(e.mobileInput.step=String(e.input.getAttribute("step"))),e.input.type="hidden",e.altInput!==void 0&&(e.altInput.type="hidden");try{e.input.parentNode&&e.input.parentNode.insertBefore(e.mobileInput,e.input.nextSibling)}catch(g){}T(e.mobileInput,"change",function(g){e.setDate(vn(g).value,!1,e.mobileFormatStr),Ze("onChange"),Ze("onClose")})}function Wn(h){if(e.isOpen===!0)return e.close();e.open(h)}function Ze(h,g){if(e.config!==void 0){var k=e.config[h];if(k!==void 0&&k.length>0)for(var A=0;k[A]&&A<k.length;A++)k[A](e.selectedDates,e.input.value,e,g);h==="onChange"&&(e.input.dispatchEvent(da("change")),e.input.dispatchEvent(da("input")))}}function da(h){var g=document.createEvent("Event");return g.initEvent(h,!0,!0),g}function Ur(h){for(var g=0;g<e.selectedDates.length;g++){var k=e.selectedDates[g];if(k instanceof Date&&_n(k,h)===0)return""+g}return!1}function xt(h){return e.config.mode!=="range"||e.selectedDates.length<2?!1:_n(h,e.selectedDates[0])>=0&&_n(h,e.selectedDates[1])<=0}function fa(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach(function(h,g){var k=new Date(e.currentYear,e.currentMonth,1);k.setMonth(e.currentMonth+g),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[g].textContent=Cu(k.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=k.getMonth().toString(),h.value=k.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYear<e.config.minDate.getFullYear()),e._hideNextMonthArrow=e.config.maxDate!==void 0&&(e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth+1>e.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function pa(h){var g=h||(e.config.altInput?e.config.altFormat:e.config.dateFormat);return e.selectedDates.map(function(k){return e.formatDate(k,g)}).filter(function(k,A,G){return e.config.mode!=="range"||e.config.enableTime||G.indexOf(k)===A}).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function gr(h){h===void 0&&(h=!0),e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=pa(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=pa(e.config.altFormat)),h!==!1&&Ze("onValueUpdate")}function Lf(h){var g=vn(h),k=e.prevMonthNav.contains(g),A=e.nextMonthNav.contains(g);k||A?S(k?-1:1):e.yearElements.indexOf(g)>=0?g.select():g.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):g.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function Fo(h){h.preventDefault();var g=h.type==="keydown",k=vn(h),A=k;e.amPM!==void 0&&k===e.amPM&&(e.amPM.textContent=e.l10n.amPM[Tn(e.amPM.textContent===e.l10n.amPM[0])]);var G=parseFloat(A.getAttribute("min")),X=parseFloat(A.getAttribute("max")),ve=parseFloat(A.getAttribute("step")),ne=parseInt(A.value,10),Re=h.delta||(g?h.which===38?1:-1:0),se=ne+ve*Re;if(typeof A.value!="undefined"&&A.value.length===2){var me=A===e.hourElement,ze=A===e.minuteElement;se<G?(se=X+se+Tn(!me)+(Tn(me)&&Tn(!e.amPM)),ze&&Y(void 0,-1,e.hourElement)):se>X&&(se=A===e.hourElement?se-X-Tn(!e.amPM):G,ze&&Y(void 0,1,e.hourElement)),e.amPM&&me&&(ve===1?se+ne===23:Math.abs(se-ne)>ve)&&(e.amPM.textContent=e.l10n.amPM[Tn(e.amPM.textContent===e.l10n.amPM[0])]),A.value=Xt(se)}}return i(),e}function Eo(r,t){for(var e=Array.prototype.slice.call(r).filter(function(a){return a instanceof HTMLElement}),n=[],i=0;i<e.length;i++){var s=e[i];try{if(s.getAttribute("data-fp-omit")!==null)continue;s._flatpickr!==void 0&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=XY(s,t||{}),n.push(s._flatpickr)}catch(a){console.error(a)}}return n.length===1?n[0]:n}typeof HTMLElement!="undefined"&&typeof HTMLCollection!="undefined"&&typeof NodeList!="undefined"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(r){return Eo(this,r)},HTMLElement.prototype.flatpickr=function(r){return Eo([this],r)});var pt=function(r,t){return typeof r=="string"?Eo(window.document.querySelectorAll(r),t):r instanceof Node?Eo([r],t):Eo(r,t)};pt.defaultConfig={};pt.l10ns={en:en({},yf),default:en({},yf)};pt.localize=function(r){pt.l10ns.default=en(en({},pt.l10ns.default),r)};pt.setDefaults=function(r){pt.defaultConfig=en(en({},pt.defaultConfig),r)};pt.parseDate=Tf({});pt.formatDate=wb({});pt.compareDates=_n;typeof jQuery!="undefined"&&typeof jQuery.fn!="undefined"&&(jQuery.fn.flatpickr=function(r){return Eo(this,r)});Date.prototype.fp_incr=function(r){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof r=="string"?parseInt(r,10):r))};typeof window!="undefined"&&(window.flatpickr=pt);var ax=pt;Nt();Nt();Ki();cd();function ox(r){for(let e of pe.allDateFields()){let n=r[e];if(n&&!n.isValid())return!1}let t=r.happensDates.some(e=>!!(e!=null&&e.isValid()));return!r.isDone&&t}function xo(r){return r.dueDate?"dueDate":r.scheduledDate?"scheduledDate":r.startDate?"startDate":null}function kb(r,t,e,n){let i=r[t];return cx(i,r,t,e,n)}function lx(r,t,e,n){let i=window.moment();return cx(i,r,t,e,n)}function ux(r,t,e,n){return dx(r,t,null)}function cx(r,t,e,n,i){let s=new It(r).postpone(n,i);return dx(t,e,s)}function dx(r,t,e){let n=Ft.removeInferredStatusIfNeeded(r,[new pe(de(F({},r),{[t]:e}))])[0];return{postponedDate:e,postponedTask:n}}function fx(r,t){if(r){let e=r==null?void 0:r.format("DD MMM YYYY");return`Task's ${t} changed to ${e}`}else return`Task's ${t} removed`}function px(r,t,e){return`\u2139\uFE0F ${Sb(r,t,e)} (right-click for more options)`}function Sb(r,t,e){let n=xo(r),i=r[n];return Oo(n,i,t,e)}function mx(r,t,e){let n=xo(r),i=window.moment().startOf("day");return Oo(n,i,t,e)}function hx(r,t,e){let n=xo(r);return Db(n,r)}function Db(r,t){return r==="scheduledDate"&&t.scheduledDateIsInferred?"Cannot remove inferred scheduled date":`Remove ${wf(r)}`}function JY(r){return Ja(r.replace("Date",""))}function wf(r){return r.replace("Date"," date")}function Oo(r,t,e,n){let s=new It(t).postpone(n,e).format("ddd Do MMM"),a=e!=1?e:"a";if(t.isSameOrBefore(window.moment(),"day")){let l=JY(r);return(e>=0?`${l} in ${a} ${n}, on ${s}`:`${l} ${-a} ${n} ago, on ${s}`).replace(" 1 day ago"," yesterday").replace(" in 0 days"," today").replace("in a day","tomorrow")}let o=wf(r);return e>=0?`Postpone ${o} by ${a} ${n}, to ${s}`:`Backdate ${o} by ${-a} ${n}, to ${s}`}cd();var ls=class{constructor(t,e,n){this.newDate=e,this.dateFieldToEdit=t,this.displayName=n!=null?n:`Set Date: ${this.newDate.toDateString()}`}apply(t){return this.isCheckedForTask(t)?[t]:[new pe(de(F({},t),{[this.dateFieldToEdit]:window.moment(this.newDate)}))]}instructionDisplayName(){return this.displayName}isCheckedForTask(t){var e;return((e=t[this.dateFieldToEdit])==null?void 0:e.isSame(window.moment(this.newDate)))||!1}},Nr=class extends ls{constructor(t,e,n,i){var l;let s=(l=e[t])!=null?l:window.moment(),a=Oo(t,s,n,i),o=new It(window.moment(s)).postpone(i,n).toDate();super(t,o,a)}},Mu=class{constructor(t,e){this.dateFieldToEdit=t,this.displayName=Db(t,e)}apply(t){let e=this.dateFieldToEdit==="scheduledDate"&&t.scheduledDateIsInferred;return t[this.dateFieldToEdit]===null||e?[t]:[new pe(de(F({},t),{[this.dateFieldToEdit]:null}))]}instructionDisplayName(){return this.displayName}isCheckedForTask(t){return!1}};function gx(r,t){return bx(t,r,1)}function yx(r,t){return bx(t,r,-1)}function bx(r,t,e){let n=window.moment().startOf("day"),i=n.toDate(),s=new It(n.clone());return[new ls(t,i,Oo(t,n,0,"days")),new ls(t,s.postpone("day",e).toDate(),Oo(t,n,e,"day")),new So,new Nr(t,r,e*2,"days"),new Nr(t,r,e*3,"days"),new Nr(t,r,e*4,"days"),new Nr(t,r,e*5,"days"),new Nr(t,r,e*6,"days"),new So,new Nr(t,r,e,"week"),new Nr(t,r,e*2,"weeks"),new Nr(t,r,e*3,"weeks"),new Nr(t,r,e,"month"),new So,new Mu(t,r)]}function vx(r,t,e,n){var a,o;let i=t[e];ax(r,{defaultDate:i?i.format("YYYY-MM-DD"):new Date,disableMobile:!0,enableTime:!1,dateFormat:"Y-m-d",locale:{firstDayOfWeek:(o=(a=new Intl.Locale(navigator.language).weekInfo)==null?void 0:a.firstDay)!=null?o:1},onClose:(l,u,c)=>I(this,null,function*(){if(l.length>0){let d=l[0],f=new ls(e,d).apply(t);yield n(t,f)}c.destroy()}),onReady:(l,u,c)=>{let d=document.createElement("div");d.style.display="flex",d.style.justifyContent="space-between",d.style.marginTop="10px",Tx(d,c,t,n,"Clear",()=>new Mu(e,t).apply(t)),Tx(d,c,t,n,"Today",()=>{let p=new Date;return new ls(e,p).apply(t)}),c.calendarContainer.appendChild(d)}}).open()}function Tx(r,t,e,n,i,s){let a=document.createElement("button");a.type="button",a.textContent=i,a.classList.add("flatpickr-button"),a.addEventListener("click",()=>I(this,null,function*(){let o=s();yield n(e,o),t.destroy()})),r.appendChild(a)}function _x(r){return["startDate","scheduledDate","dueDate"].includes(r)}var kf=class extends as{constructor(t,e,n=ai){super(n);let i=_x(t)?gx(t,e):yx(t,e);this.addItemsForInstructions(i,e)}};lu();var Sf=class{constructor(){this.data=e$}addDataAttribute(t,e,n){this.data[n].addDataAttribute(t,e,n)}addClassName(t,e){let n=this.data[e].className;t.classList.add(n)}},Eb=class{constructor(t,e,n){if(t==="")throw Error("Developer note: CSS class cannot be an empty string, please specify one.");this.className=t,this.attributeName=e,this.attributeValueCalculator=n}addDataAttribute(t,e,n){if(this.attributeName===Eb.noAttributeName)return;let i=this.attributeValueCalculator(n,e);i!==""&&(t.dataset[this.attributeName]=i)}},Ir=Eb;Ir.noAttributeName="",Ir.noAttributeValueCalculator=()=>"",Ir.dateAttributeCalculator=(t,e)=>{let i="far";function s(o){let u=window.moment().startOf("day").diff(o,"days");if(isNaN(u))return null;if(u===0)return"today";let c="";return u>0?c+="past-":u<0&&(c+="future-"),Math.abs(u)<=7?c+=Math.abs(u).toString()+"d":c+=i,c}let a=e[t];if(!Array.isArray(a)&&a instanceof window.moment){let o=s(a);if(o)return o}return""};function Ro(r){return new Ir(r,Ir.noAttributeName,Ir.noAttributeValueCalculator)}function Co(r,t){return new Ir(r,t,Ir.dateAttributeCalculator)}var e$={createdDate:Co("task-created","taskCreated"),dueDate:Co("task-due","taskDue"),startDate:Co("task-start","taskStart"),scheduledDate:Co("task-scheduled","taskScheduled"),doneDate:Co("task-done","taskDone"),cancelledDate:Co("task-cancelled","taskCancelled"),priority:new Ir("task-priority","taskPriority",(r,t)=>An.priorityNameUsingNormal(t.priority).toLocaleLowerCase()),description:Ro("task-description"),recurrenceRule:Ro("task-recurring"),onCompletion:Ro("task-onCompletion"),dependsOn:Ro("task-dependsOn"),id:Ro("task-id"),blockLink:Ro("task-block-link")};function lt(r,t){let e=document.createElement(r);return t.appendChild(e),e}var Ai=class{static obsidianMarkdownRenderer(t,e,n,i,s){return I(this,null,function*(){!s||(yield wx.MarkdownRenderer.render(t,e,n,i,s))})}constructor({textRenderer:t=Ai.obsidianMarkdownRenderer,obsidianApp:e,obsidianComponent:n,parentUlElement:i,taskLayoutOptions:s,queryLayoutOptions:a}){this.textRenderer=t,this.obsidianApp=e,this.obsidianComponent=n,this.parentUlElement=i,this.taskLayoutOptions=s,this.queryLayoutOptions=a}renderTaskLine(s){return I(this,arguments,function*({task:t,taskIndex:e,isTaskInQueryFile:n,isFilenameUnique:i}){let a=lt("li",this.parentUlElement);a.classList.add("task-list-item","plugin-tasks-list-item");let o=lt("span",a);o.classList.add("tasks-list-text"),yield this.taskToHtml(t,o,a,n);let l=lt("input",a);return l.classList.add("task-list-item-checkbox"),l.type="checkbox",t.status.symbol!==" "&&(l.checked=!0,a.classList.add("is-checked")),t.taskLocation.hasKnownPath&&(l.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),l.disabled=!0;let d=t.toggleWithRecurrenceInUsersOrder();In({originalTask:t,newTasks:d})}),l.addEventListener("contextmenu",c=>{new mf($e.getInstance(),t).showAtPosition({x:c.clientX,y:c.clientY})}),l.setAttribute("title","Right-click for options")),a.prepend(l),a.setAttribute("data-task",t.status.symbol.trim()),a.setAttribute("data-line",e.toString()),a.setAttribute("data-task-status-name",t.status.name),a.setAttribute("data-task-status-type",t.status.type),l.setAttribute("data-line",e.toString()),this.queryLayoutOptions.shortMode&&this.addTooltip(t,o,i),a})}taskToHtml(t,e,n,i){return I(this,null,function*(){let s=new Sf,a=xr.tasksPluginEmoji.taskSerializer;for(let o of this.taskLayoutOptions.shownComponents){let l=a.componentToString(t,this.queryLayoutOptions.shortMode,o);if(l){let u=lt("span",e),c=lt("span",u);if(yield this.renderComponentText(c,l,o,t,i),this.addInternalClasses(o,c),s.addClassName(u,o),s.addDataAttribute(u,t,o),s.addDataAttribute(n,t,o),pe.allDateFields().includes(o)){let d=o;u.addEventListener("click",f=>{f.preventDefault(),f.stopPropagation(),vx(u,t,d,ai)}),u.addEventListener("contextmenu",f=>{f.preventDefault(),f.stopPropagation(),new kf(d,t,ai).showAtPosition({x:f.clientX,y:f.clientY})}),u.setAttribute("title",`Click to edit ${wf(d)}, Right-click for more options`)}}}for(let o of this.taskLayoutOptions.hiddenComponents)s.addDataAttribute(n,t,o);n.dataset.taskPriority===void 0&&s.addDataAttribute(n,t,"priority")})}renderComponentText(t,e,n,i,s){return I(this,null,function*(){if(n==="description")return yield this.renderDescription(i,t,s);t.innerHTML=e})}renderDescription(t,e,n){return I(this,null,function*(){let i=this.adjustRelativeLinksInDescription(t,n);i=Ne.getInstance().removeAsWordFromDependingOnSettings(i);let{debugSettings:s}=re();s.showTaskHiddenData&&(i+=`<br>\u{1F41B} <b>${t.lineNumber}</b> . ${t.sectionStart} . ${t.sectionIndex} . '<code>${t.originalMarkdown}</code>'<br>'<code>${t.path}</code>' > '<code>${t.precedingHeader}</code>'<br>`),yield this.textRenderer(this.obsidianApp,i,e,t.path,this.obsidianComponent);let a=e.querySelector("blockquote"),o=a!=null?a:e,l=o.querySelector("p");if(l!==null){for(;l.firstChild;)o.insertBefore(l.firstChild,l);l.remove()}e.querySelectorAll("p").forEach(u=>{u.hasChildNodes()||u.remove()}),e.querySelectorAll(".footnotes").forEach(u=>{u.remove()})})}adjustRelativeLinksInDescription(t,e){if(e)return t.description;let n=t.file.cachedMetadata.links;if(!n)return t.description;let i=n.filter(a=>a.position.start.line===t.taskLocation.lineNumber&&t.description.includes(a.original)&&a.link.startsWith("#")),s=t.description;if(i.length!==0)for(let a of i){let o=`[[${t.path}${a.link}|${a.displayText}]]`;s=s.replace(a.original,o)}return s}addInternalClasses(t,e){function n(i){let s=/["&\x00\r\n]/g,a=i.replace(s,"-");return a=a.replace(/^[-_]+/,""),a.length>0?a:null}if(t==="description"){let i=e.getElementsByClassName("tag");for(let s=0;s<i.length;s++){let a=i[s].textContent;if(a){let o=n(a),l=i[s];o&&(l.dataset.tagName=o)}}}}addTooltip(t,e,n){let{recurrenceSymbol:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,dueDateSymbol:l,cancelledDateSymbol:u,doneDateSymbol:c}=xr.tasksPluginEmoji.taskSerializer.symbols;e.addEventListener("mouseenter",()=>{function d(T,v,O){v&&T.createDiv().setText(f({signifier:O,date:v}))}function f({signifier:T,date:v}){return`${T} ${v.format(fe.dateFormat)} (${v.from(window.moment().startOf("day"))})`}let p=e.createDiv();p.addClasses(["tooltip","pop-up"]),t.recurrence&&p.createDiv().setText(`${i} ${t.recurrence.toText()}`),d(p,t.createdDate,a),d(p,t.startDate,s),d(p,t.scheduledDate,o),d(p,t.dueDate,l),d(p,t.cancelledDate,u),d(p,t.doneDate,c);let b=t.getLinkText({isFilenameUnique:n});b&&p.createDiv().setText(`\u{1F517} ${b}`),e.addEventListener("mouseleave",()=>{p.remove()})})}renderListItem(t,e,n){return I(this,null,function*(){var o,l;let i=lt("li",t);if(e.statusCharacter){let u=lt("input",i);u.classList.add("task-list-item-checkbox"),u.type="checkbox",u.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),u.disabled=!0;let d=e.checkOrUncheck();In({originalTask:e,newTasks:d})}),e.statusCharacter!==" "&&(u.checked=!0,i.classList.add("is-checked")),i.classList.add("task-list-item"),i.setAttribute("data-task",e.statusCharacter.trim()),i.setAttribute("data-line",n.toString())}let s=lt("span",i);yield this.textRenderer(this.obsidianApp,e.description,s,(l=(o=e.findClosestParentTask())==null?void 0:o.path)!=null?l:"",this.obsidianComponent);let a=s.querySelector("p");if(a!==null){for(;a.firstChild;)s.insertBefore(a.firstChild,a);a.remove()}return i})}};var Df=class{constructor({plugin:t,app:e}){this.markdownPostProcessor=this._markdownPostProcessor.bind(this);this.app=e,t.registerMarkdownPostProcessor((n,i)=>{t.app.workspace.onLayoutReady(()=>{this.markdownPostProcessor(n,i)})})}_markdownPostProcessor(t,e){return I(this,null,function*(){var d;let n=new kx.MarkdownRenderChild(t);e.addChild(n);let i=t.findAll(".task-list-item").filter(f=>{var T;let p=(T=f.textContent)==null?void 0:T.split(`
`);if(p===void 0)return!1;let b=null;for(let v=0;v<p.length;v=v+1)if(p[v]!==""){b=p[v];break}return b===null?!1:Ne.getInstance().includedIn(b)});if(i.length===0)return;let s=e.sourcePath,a=e.getSectionInfo(t);if(a===null)return;let o=a.text.split(`
`),l=0,u=[];for(let f=a.lineStart;f<=a.lineEnd;f++){let p=o[f];if(p===void 0)continue;let b=null,T=pe.fromLine({line:p,taskLocation:new Lt(new mt(s),f,a.lineStart,l,b),fallbackDate:null});T!==null&&(u.push(T),l++)}let c=new Ai({obsidianApp:this.app,obsidianComponent:n,parentUlElement:t,taskLayoutOptions:new zr,queryLayoutOptions:new Xi});for(let f=0;f<i.length;f++){let p=u[f],b=i[f];if(p===void 0||b===void 0)continue;let T=(d=b.getAttr("data-line"))!=null?d:"0",v=Number.parseInt(T,10),O=yield c.renderTaskLine({task:p,taskIndex:v,isTaskInQueryFile:!0}),E=b.childNodes;for(let j=0;j<E.length;j=j+1){let ae=E[j],H=ae.nodeName.toLowerCase();H==="div"?O.prepend(ae):(H==="ul"||H==="ol")&&O.append(ae)}let P=b.querySelectorAll("[data-footnote-id]"),Y=O.querySelectorAll("[data-footnote-id]");if(P.length===Y.length)for(let j=0;j<P.length;j++)Y[j].replaceWith(P[j]);b.replaceWith(O)}})}};var Sx=require("@codemirror/view"),Dx=require("obsidian");Nt();var Ex=()=>Sx.ViewPlugin.fromClass(xb),xb=class{constructor(t){this.view=t,this.handleClickEvent=this.handleClickEvent.bind(this),this.view.dom.addEventListener("click",this.handleClickEvent)}destroy(){this.view.dom.removeEventListener("click",this.handleClickEvent)}handleClickEvent(t){let{target:e}=t;if(!e||!(e instanceof HTMLInputElement)||e.type!=="checkbox")return!1;let n=e.closest("ul.plugin-tasks-query-result, div.callout-content");if(n){if(n.matches("div.callout-content")){let p=`obsidian-tasks-plugin warning: Tasks cannot add or remove completion dates or make the next copy of a recurring task for tasks written inside a callout when you click their checkboxes in Live Preview.
If you wanted Tasks to do these things, please undo your change, then either click the line of the task and use the "Toggle Task Done" command, or switch to Reading View to click the checkbox.`;console.warn(p),new Dx.Notice(p,45e3)}return!1}let{state:i}=this.view,s=this.view.posAtDOM(e),a=i.doc.lineAt(s),o=pe.fromLine({line:a.text,taskLocation:Lt.fromUnknownPosition(new mt("")),fallbackDate:null});if(o===null)return!1;t.preventDefault();let l=o.toggleWithRecurrenceInUsersOrder(),u=l.map(p=>p.toFileLineString()).join(i.lineBreak),c=a.to;if(u===""){let p=a.number<i.doc.lines?i.doc.line(a.number+1):null;p&&(c=p.from)}let d=i.update({changes:{from:a.from,to:c,insert:u}});if(this.view.dispatch(d),l.length===1){let p=l[0].status.symbol!==" ";setTimeout(()=>{e.checked=p},1)}return!0}};var Pi=require("obsidian"),Ox=require("obsidian");function xx(r,t,e,n=void 0){let i="";t.isEmpty()||(i+=`Only tasks containing the global filter '${t.get()}'.
`);let s=new lo(" ");function a(c,d){return`${c}:
${s.explainQuery(d)}`}let o=new Un(r,n),l=new Ci().query(n);if(!(o.ignoreGlobalQuery||l.ignoreGlobalQuery)&&e.hasInstructions()){let c=e.query(n);i+=a("Explanation of the global query",c)+`
`}return l.source!==""&&(i+=a("Explanation of the Query File Defaults (from properties/frontmatter in the query's file)",l)+`
`),i+=a("Explanation of this Tasks code block query",o),i}function Ef(r,t,e){let i=new Ci().query(e).append(new Un(r,e));return i.ignoreGlobalQuery?i:t.query(e).append(i)}Ki();pn();function Au(r,t,e){t&&r.push(t$(e))}function t$(r){return`tasks-layout-hide-${r}`}var xf=class{constructor(t){t?this.queryLayoutOptions=t:this.queryLayoutOptions=new Xi}getHiddenClasses(){let t=[],e=[[this.queryLayoutOptions.hideUrgency,"urgency"],[this.queryLayoutOptions.hideBacklinks,"backlinks"],[this.queryLayoutOptions.hideEditButton,"edit-button"],[this.queryLayoutOptions.hidePostponeButton,"postpone-button"]];for(let[n,i]of e)Au(t,n,i);return this.queryLayoutOptions.shortMode&&t.push("tasks-layout-short-mode"),t}};Ls();var Of=class{constructor(t){t?this.taskLayoutOptions=t:this.taskLayoutOptions=new zr}generateHiddenClasses(){let t=[];return this.taskLayoutOptions.toggleableComponents.forEach(e=>{Au(t,!this.taskLayoutOptions.isShown(e),e)}),Au(t,!this.taskLayoutOptions.areTagsShown(),"tags"),t}};Vt();var Pu=class{constructor(t){this.label=t,this.start()}start(){!this.recordTimings()||performance.mark(this.labelForStart())}finish(){!this.recordTimings()||(performance.mark(this.labelForEnd()),performance.measure(this.label,this.labelForStart(),this.labelForEnd()),this.printDuration())}printDuration(){let t=performance.getEntriesByName(this.label),e=t[t.length-1];e?console.log(this.label+":",e.duration.toFixed(2),"milliseconds"):console.log(`Measurement for ${this.label} not found`)}labelForStart(){return`${this.label} - start`}labelForEnd(){return`${this.label} - end`}recordTimings(){let{debugSettings:t}=re();return t.recordTimings}};Nt();var Ob=require("obsidian");var us=class extends as{constructor(t,e,n=ai){super(n);let i=(u,c,d,f,p,b)=>{var E;let T=!1,v=xo(e);if(v){let{postponedDate:P}=b(e,v,d,f);(E=e[v])!=null&&E.isSame(P,"day")&&(T=!0)}let O=p(e,f,d);c.setChecked(T).setTitle(O).onClick(()=>us.postponeOnClickCallback(u,e,f,d,b,n))},s=mx,a=lx;this.addItem(u=>i(t,u,"days",0,s,a)),this.addItem(u=>i(t,u,"day",1,s,a)),this.addSeparator();let o=Sb,l=kb;this.addItem(u=>i(t,u,"days",2,o,l)),this.addItem(u=>i(t,u,"days",3,o,l)),this.addItem(u=>i(t,u,"days",4,o,l)),this.addItem(u=>i(t,u,"days",5,o,l)),this.addItem(u=>i(t,u,"days",6,o,l)),this.addSeparator(),this.addItem(u=>i(t,u,"week",1,o,l)),this.addItem(u=>i(t,u,"weeks",2,o,l)),this.addItem(u=>i(t,u,"weeks",3,o,l)),this.addItem(u=>i(t,u,"month",1,o,l)),this.addSeparator(),this.addItem(u=>i(t,u,"days",2,hx,ux))}static postponeOnClickCallback(o,l,u,c){return I(this,arguments,function*(t,e,n,i,s=kb,a=ai){var b;let d=xo(e);if(d===null){let T="\u26A0\uFE0F Postponement requires a date: due, scheduled or start.";return new Ob.Notice(T,1e4)}let{postponedDate:f,postponedTask:p}=s(e,d,i,n);(b=e[d])!=null&&b.isSame(f,"day")||(yield a(e,p),us.postponeSuccessCallback(t,d,f))})}static postponeSuccessCallback(t,e,n){t.style.pointerEvents="none";let i=fx(n,e);new Ob.Notice(i,2e3)}};var Rf=class{constructor(t,e,n,i,s,a,o=Ai.obsidianMarkdownRenderer){switch(this.source=e,this._tasksFile=n,this.renderMarkdown=i,this.obsidianComponent=s,this.obsidianApp=a,this.textRenderer=o,t){case"block-language-tasks":this.query=this.makeQueryFromSourceAndTasksFile(),this.queryType="tasks";break;default:this.query=this.makeQueryFromSourceAndTasksFile(),this.queryType="tasks";break}}makeQueryFromSourceAndTasksFile(){return Ef(this.source,pr.getInstance(),this.tasksFile)}get tasksFile(){return this._tasksFile}setTasksFile(t){this._tasksFile=t,this.rereadQueryFromFile()}rereadQueryFromFile(){this.query=this.makeQueryFromSourceAndTasksFile()}get filePath(){var t,e;return(e=(t=this.tasksFile)==null?void 0:t.path)!=null?e:void 0}render(t,e,n,i){return I(this,null,function*(){t==="Warm"&&this.query.error===void 0?yield this.renderQuerySearchResults(e,t,n,i):this.query.error!==void 0?this.renderErrorMessage(n,this.query.error):this.renderLoadingMessage(n)})}renderQuerySearchResults(t,e,n,i){return I(this,null,function*(){let s=this.explainAndPerformSearch(e,t,n);if(s.searchErrorMessage!==void 0){this.renderErrorMessage(n,s.searchErrorMessage);return}yield this.renderSearchResults(s,n,i)})}explainAndPerformSearch(t,e,n){let i=new Pu(`Search: ${this.query.queryId} - ${this.filePath}`);i.start(),this.query.debug(`[render] Render called: plugin state: ${t}; searching ${e.length} tasks`),this.query.queryLayoutOptions.explainQuery&&this.createExplanation(n);let s=this.query.applyQueryToTasks(e);return i.finish(),s}renderSearchResults(t,e,n){return I(this,null,function*(){let i=new Pu(`Render: ${this.query.queryId} - ${this.filePath}`);i.start(),yield this.addAllTaskGroups(t.taskGroups,e,n);let s=t.totalTasksCount;this.addTaskCount(e,t),this.query.debug(`[render] ${s} tasks displayed`),i.finish()})}renderErrorMessage(t,e){t.createDiv().innerHTML=`<pre>Tasks query: ${e.replace(/\n/g,"<br>")}</pre>`}renderLoadingMessage(t){t.setText("Loading Tasks ...")}createExplanation(t){let e=xx(this.source,Ne.getInstance(),pr.getInstance(),this.tasksFile),n=lt("pre",t);n.classList.add("plugin-tasks-query-explanation"),n.setText(e),t.appendChild(n)}addAllTaskGroups(t,e,n){return I(this,null,function*(){for(let i of t.groups){yield this.addGroupHeadings(e,i.groupHeadings);let s=new Set;yield this.createTaskList(i.tasks,e,n,s)}})}createTaskList(t,e,n,i){return I(this,null,function*(){let s=lt("ul",e);s.classList.add("contains-task-list","plugin-tasks-query-result"),s.classList.add(...new Of(this.query.taskLayoutOptions).generateHiddenClasses()),s.classList.add(...new xf(this.query.queryLayoutOptions).getHiddenClasses());let a=this.getGroupingAttribute();a&&a.length>0&&(s.dataset.taskGroupBy=a);let o=new Ai({textRenderer:this.textRenderer,obsidianApp:this.obsidianApp,obsidianComponent:this.obsidianComponent,parentUlElement:s,taskLayoutOptions:this.query.taskLayoutOptions,queryLayoutOptions:this.query.queryLayoutOptions});for(let[l,u]of t.entries())this.query.queryLayoutOptions.hideTree?u instanceof pe&&(yield this.addTask(s,o,u,l,n)):yield this.addTaskOrListItemAndChildren(s,o,u,l,n,t,i);e.appendChild(s)})}willBeRenderedLater(t,e,n){let i=t.findClosestParentTask();return i?!!(!e.has(i)&&n.includes(i)):!1}alreadyRendered(t,e){return e.has(t)}addTaskOrListItemAndChildren(t,e,n,i,s,a,o){return I(this,null,function*(){if(this.alreadyRendered(n,o)||this.willBeRenderedLater(n,o,a))return;let l=yield this.addTaskOrListItem(t,e,n,i,s);o.add(n),n.children.length>0&&(yield this.createTaskList(n.children,l,s,o),n.children.forEach(u=>{o.add(u)}))})}addTaskOrListItem(t,e,n,i,s){return I(this,null,function*(){return n instanceof pe?yield this.addTask(t,e,n,i,s):yield this.addListItem(t,e,n,i)})}addListItem(t,e,n,i){return I(this,null,function*(){return yield e.renderListItem(t,n,i)})}addTask(t,e,n,i,s){return I(this,null,function*(){let a=this.isFilenameUnique({task:n},s.allMarkdownFiles),o=yield e.renderTaskLine({task:n,taskIndex:i,isTaskInQueryFile:this.filePath===n.path,isFilenameUnique:a});o.querySelectorAll("[data-footnote-id]").forEach(d=>d.remove());let u=lt("span",o);u.classList.add("task-extras"),this.query.queryLayoutOptions.hideUrgency||this.addUrgency(u,n);let c=this.query.queryLayoutOptions.shortMode;return this.query.queryLayoutOptions.hideBacklinks||this.addBacklinks(u,n,c,a,s),this.query.queryLayoutOptions.hideEditButton||this.addEditButton(u,n,s),!this.query.queryLayoutOptions.hidePostponeButton&&ox(n)&&this.addPostponeButton(u,n,c),t.appendChild(o),o})}addEditButton(t,e,n){let i=lt("a",t);i.classList.add("tasks-edit"),i.title="Edit task",i.href="#",i.addEventListener("click",s=>n.editTaskPencilClickHandler(s,e,n.allTasks))}addUrgency(t,e){let n=new Intl.NumberFormat().format(e.urgency),i=lt("span",t);i.textContent=n,i.classList.add("tasks-urgency")}addGroupHeadings(t,e){return I(this,null,function*(){for(let n of e)yield this.addGroupHeading(t,n)})}addGroupHeading(t,e){return I(this,null,function*(){let n="h6";e.nestingLevel===0?n="h4":e.nestingLevel===1&&(n="h5");let i=lt(n,t);i.classList.add("tasks-group-heading"),this.obsidianComponent!==null&&(yield this.renderMarkdown(this.obsidianApp,e.displayName,i,this.tasksFile.path,this.obsidianComponent))})}addBacklinks(t,e,n,i,s){var u;let a=lt("span",t);a.classList.add("tasks-backlink"),n||a.append(" (");let o=lt("a",a);o.rel="noopener",o.target="_blank",o.classList.add("internal-link"),n&&o.classList.add("internal-link-short-mode");let l;n?l=" \u{1F517}":l=(u=e.getLinkText({isFilenameUnique:i}))!=null?u:"",o.text=l,o.addEventListener("click",c=>I(this,null,function*(){yield s.backlinksClickHandler(c,e)})),o.addEventListener("mousedown",c=>I(this,null,function*(){yield s.backlinksMousedownHandler(c,e)})),n||a.append(")")}addPostponeButton(t,e,n){let s="day",a=px(e,1,s),o=lt("a",t);o.classList.add("tasks-postpone"),n&&o.classList.add("tasks-postpone-short-mode"),o.title=a,o.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),us.postponeOnClickCallback(o,e,1,s)}),o.addEventListener("contextmenu",l=>I(this,null,function*(){l.preventDefault(),l.stopPropagation(),new us(o,e).showAtPosition({x:l.clientX,y:l.clientY})}))}addTaskCount(t,e){if(!this.query.queryLayoutOptions.hideTaskCount){let n=lt("div",t);n.classList.add("task-count"),n.textContent=e.totalTasksCountDisplayText()}}isFilenameUnique({task:t},e){let n=t.path.match(/([^/]*)\..+$/i);if(n===null)return;let i=n[1];return e.filter(a=>{if(a.basename===i)return!0}).length<2}getGroupingAttribute(){let t=[];for(let e of this.query.grouping)t.push(e.property);return t.join(",")}};var Cf=class{constructor({plugin:t,events:e}){this.addQueryRenderChild=this._addQueryRenderChild.bind(this);this.app=t.app,this.plugin=t,this.events=e,t.registerMarkdownCodeBlockProcessor("tasks",(n,i,s)=>{t.app.workspace.onLayoutReady(()=>{this.addQueryRenderChild(n,i,s)})})}_addQueryRenderChild(t,e,n){return I(this,null,function*(){let i=this.app,s=n.sourcePath,a=i.vault.getAbstractFileByPath(s),o=null;a&&a instanceof Pi.TFile&&(o=i.metadataCache.getFileCache(a));let l=new mt(s,o!=null?o:{}),u=new Rb({app:i,plugin:this.plugin,events:this.events,container:e,source:t,tasksFile:l});n.addChild(u),u.load()})}},Rb=class extends Pi.MarkdownRenderChild{constructor({app:e,plugin:n,events:i,container:s,source:a,tasksFile:o}){super(s);this.isCacheChangedSinceLastRedraw=!1;this.observer=null;this.app=e,this.queryResultsRenderer=new Rf(this.containerEl.className,a,o,Pi.MarkdownRenderer.render,this,this.app),this.queryResultsRenderer.query.debug("[render] QueryRenderChild.constructor() entered"),this.plugin=n,this.events=i,this.debouncedRenderFn=(0,Pi.debounce)(l=>this.render(l),300,!0)}onload(){this.queryResultsRenderer.query.debug("[render] QueryRenderChild.onload() entered"),this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.renderEventRef=this.events.onCacheUpdate(this.render.bind(this)),this.reloadSearchResultsEventRef=this.events.onReloadOpenSearchResults(this.rereadQueryFromFile.bind(this)),this.reloadQueryAtMidnight(),this.registerEvent(this.app.metadataCache.on("changed",(e,n,i)=>{let s=e.path;s===this.queryResultsRenderer.filePath&&this.handleMetadataOrFilePathChange(s,i)})),this.registerEvent(this.app.vault.on("rename",(e,n)=>{if(n!==this.queryResultsRenderer.filePath)return;let i=null;e&&e instanceof Pi.TFile&&(i=this.app.metadataCache.getFileCache(e)),this.handleMetadataOrFilePathChange(e.path,i)})),this.setupVisibilityObserver()}setupVisibilityObserver(){this.observer||(this.observer=new IntersectionObserver(([e])=>{!this.containerEl.isShown()||!e.isIntersecting||(this.queryResultsRenderer.query.debug(`[render][observer] Became visible, isCacheChangedSinceLastRedraw:${this.isCacheChangedSinceLastRedraw}`),this.isCacheChangedSinceLastRedraw&&(this.queryResultsRenderer.query.debug("[render][observer] ... updating search results"),this.render({tasks:this.plugin.getTasks(),state:this.plugin.getState()}).then().catch(n=>console.error(n))))}),this.observer.observe(this.containerEl))}handleMetadataOrFilePathChange(e,n){let i=this.queryResultsRenderer.tasksFile,s=new mt(e,n!=null?n:{}),a=i.path!==s.path,o=!i.rawFrontmatterIdenticalTo(s);(a||o)&&(this.queryResultsRenderer.setTasksFile(s),this.events.triggerRequestCacheUpdate(this.render.bind(this)))}onunload(){var e;this.queryResultsRenderer.query.debug("[render] QueryRenderChild.onunload() entered"),this.renderEventRef!==void 0&&this.events.off(this.renderEventRef),this.reloadSearchResultsEventRef!==void 0&&this.events.off(this.reloadSearchResultsEventRef),this.queryReloadTimeout!==void 0&&clearTimeout(this.queryReloadTimeout),this.debouncedRenderFn.cancel(),(e=this.observer)==null||e.disconnect(),this.observer=null}reloadQueryAtMidnight(){let e=new Date;e.setHours(24,0,0,0);let n=new Date,i=e.getTime()-n.getTime();this.queryReloadTimeout=setTimeout(()=>{this.queryResultsRenderer.query=Ef(this.queryResultsRenderer.source,pr.getInstance(),this.queryResultsRenderer.tasksFile),this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.reloadQueryAtMidnight()},i+1e3)}debouncedRender(e){this.debouncedRenderFn(e)}render(i){return I(this,arguments,function*({tasks:e,state:n}){this.isCacheChangedSinceLastRedraw=!0,requestAnimationFrame(()=>I(this,null,function*(){if(!this.containerEl.isConnected){this.queryResultsRenderer.query.debug("[render] Ignoring redraw request, as code block is not connected.");return}if(!this.containerEl.isShown()){this.queryResultsRenderer.query.debug("[render] Ignoring redraw request, as code block is not shown.");return}yield this.renderResults(n,e),this.isCacheChangedSinceLastRedraw=!1}))})}renderResults(e,n){return I(this,null,function*(){var s;let i=lt("div",this.containerEl);yield this.queryResultsRenderer.render(e,n,i,{allTasks:this.plugin.getTasks(),allMarkdownFiles:this.app.vault.getMarkdownFiles(),backlinksClickHandler:i$(this.app),backlinksMousedownHandler:s$(this.app),editTaskPencilClickHandler:r$(this.app)}),(s=this.containerEl.firstChild)==null||s.replaceWith(i)})}rereadQueryFromFile(){this.queryResultsRenderer.rereadQueryFromFile(),this.isCacheChangedSinceLastRedraw=!0,this.debouncedRender({tasks:this.plugin.getTasks(),state:this.plugin.getState()})}};function r$(r){return function(e,n,i){e.preventDefault();let s=o=>I(this,null,function*(){yield In({originalTask:n,newTasks:Ft.removeInferredStatusIfNeeded(n,o)})});new ei({app:r,task:n,onSubmit:s,allTasks:i}).open()}}function i$(r){return function(e,n){return I(this,null,function*(){let i=yield Wy(n,r.vault);if(i){let[s,a]=i,o=r.workspace.getLeaf(Ox.Keymap.isModEvent(e));e.preventDefault(),yield o.openFile(a,{eState:{line:s}})}})}}function s$(r){return function(e,n){return I(this,null,function*(){if(e.button===1){let i=yield Wy(n,r.vault);if(i){let[s,a]=i,o=r.workspace.getLeaf("tab");e.preventDefault(),yield o.openFile(a,{eState:{line:s}})}}})}}Vt();var Se=require("obsidian");Mn();Kr();Er();bs();Ba();var Mf=class{constructor(t){this._markdown="";this.columnNames=t,this.addTitleRow()}get markdown(){return this._markdown}addTitleRow(){let t="|",e="|";this.columnNames.forEach(n=>{t+=` ${n} |`,e+=" ----- |"}),this._markdown+=`${t}
`,this._markdown+=`${e}
`}addRow(t){let e=this.makeRowText(t);this._markdown+=`${e}
`}addRowIfNew(t){let e=this.makeRowText(t);this._markdown.includes(e)||(this._markdown+=`${e}
`)}makeRowText(t){let e="|";return t.forEach(n=>{e+=` ${n} |`}),e}};bs();pn();Mn();Er();Kr();function Rx(r,t){return r.findIndex(e=>e.symbol===t)}function Ni(r){return r===""?r:"`"+(r!==" "?r:"space")+"`"}function a$(r,t){let e=ge.getTypeForUnknownSymbol(r.symbol);if(r.type===e||e==="TODO"&&r.symbol!==" ")return;let n=Ni(r.symbol),i=Ni(e);t.push(M.t("reports.statusRegistry.messages.notConventionalType",{symbol:n,type:i}))}function o$(r,t,e){let n=t.nextStatusSymbol,i=Rx(r,n);if(i===-1){let a=Ni(n);e.push(M.t("reports.statusRegistry.messages.nextSymbolUnknown",{symbol:a}));return}if(t.type!=="DONE")return;let s=r[i];if(s){if(s.type!=="TODO"&&s.type!=="IN_PROGRESS"){let a="https://publish.obsidian.md/tasks/Getting+Started/Statuses/Recurring+Tasks+and+Custom+Statuses",o=Ni(s.type),l=[M.t("reports.statusRegistry.messages.wrongTypeAfterDone.line1",{nextType:o}),M.t("reports.statusRegistry.messages.wrongTypeAfterDone.line2"),M.t("reports.statusRegistry.messages.wrongTypeAfterDone.line3",{helpURL:a})].join("<br>");e.push(l)}}else e.push(M.t("reports.statusRegistry.messages.cannotFindNextStatus"))}function l$(r,t,e){let n=[];if(t.symbol===ge.EMPTY.symbol)return n.push(M.t("reports.statusRegistry.messages.emptySymbol")),n;if(Rx(r,t.symbol)!=e){let s=Ni(t.symbol);return n.push(M.t("reports.statusRegistry.messages.duplicateSymbol",{symbol:s})),n}return a$(t,n),o$(r,t,n),n}function Cx(r){let t=new Mf([M.t("reports.statusRegistry.columnHeadings.statusSymbol"),M.t("reports.statusRegistry.columnHeadings.nextStatusSymbol"),M.t("reports.statusRegistry.columnHeadings.statusName"),M.t("reports.statusRegistry.columnHeadings.statusType"),M.t("reports.statusRegistry.columnHeadings.problems")]),e=et.allStatuses(r);return e.forEach((n,i)=>{t.addRow([Ni(n.symbol),Ni(n.nextStatusSymbol),n.name,Ni(n.type),l$(e,n,i).join("<br>")])}),t.markdown}function Mx(r){let t=new $e;return et.applyToStatusRegistry(r,t),t.registeredStatuses.map((n,i)=>{let s=Ne.getInstance(),a=s.isEmpty()?"":s.get()+" ",o=`Sample task ${i+1}`,l=`status symbol=${Ni(n.symbol)}`,u=`status name='${n.name}'`;return`- [${n.symbol}] ${a}${o}: ${l} ${u}`})}function Ax(r,t,e,n){let s=Cx(r),a=t.mermaidDiagram(!0),o=Mx(r);return`# ${e}
## ${M.t("reports.statusRegistry.about.title")}
${M.t("reports.statusRegistry.about.createdBy",{version:n})}
${M.t("reports.statusRegistry.about.updateReport.line1")}
- ${M.t("reports.statusRegistry.about.updateReport.line2")}
- ${M.t("reports.statusRegistry.about.updateReport.line3")}
${M.t("reports.statusRegistry.about.deleteFileAnyTime")}
## ${M.t("reports.statusRegistry.statusSettings.title")}
<!--
${M.t("reports.statusRegistry.statusSettings.comment.line1")}
${M.t("reports.statusRegistry.statusSettings.comment.line2")}
${M.t("reports.statusRegistry.statusSettings.comment.line3")}
-->
${M.t("reports.statusRegistry.statusSettings.theseAreStatusValues")}
${s}
## ${M.t("reports.statusRegistry.loadedSettings.title")}
<!-- ${M.t("reports.statusRegistry.loadedSettings.switchToLivePreview")} -->
${M.t("reports.statusRegistry.loadedSettings.settingsActuallyUsed")}
${a}
## ${M.t("reports.statusRegistry.sampleTasks.title")}
${M.t("reports.statusRegistry.sampleTasks.line1")}
${M.t("reports.statusRegistry.sampleTasks.line2")}
${M.t("reports.statusRegistry.sampleTasks.line3")}
> [!Tip] ${M.t("reports.statusRegistry.sampleTasks.tip.line1")}
> ${M.t("reports.statusRegistry.sampleTasks.tip.line2",{url:"https://publish.obsidian.md/tasks/How+To/Style+custom+statuses"})}
${o.join(`
`)}
## ${M.t("reports.statusRegistry.searchSampleTasks.title")}
${M.t("reports.statusRegistry.searchSampleTasks.line1")}
\`\`\`tasks
path includes {{query.file.path}}
group by status.type
group by status.name
sort by function task.lineNumber
hide postpone button
short mode
\`\`\`
`}bs();function Px(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],['"',"Quote","x","TODO"],["0","Speech bubble 0","0","NON_TASK"],["1","Speech bubble 1","1","NON_TASK"],["2","Speech bubble 2","2","NON_TASK"],["3","Speech bubble 3","3","NON_TASK"],["4","Speech bubble 4","4","NON_TASK"],["5","Speech bubble 5","5","NON_TASK"],["6","Speech bubble 6","6","NON_TASK"],["7","Speech bubble 7","7","NON_TASK"],["8","Speech bubble 8","8","NON_TASK"],["9","Speech bubble 9","9","NON_TASK"]]}function Nx(){return[[" ","incomplete","x","TODO"],["x","complete / done"," ","DONE"],["-","cancelled"," ","CANCELLED"],[">","deferred","x","TODO"],["/","in progress, or half-done","x","IN_PROGRESS"],["!","Important","x","TODO"],["?","question","x","TODO"],["R","review","x","TODO"],["+","Inbox / task that should be processed later","x","TODO"],["b","bookmark","x","TODO"],["B","brainstorm","x","TODO"],["D","deferred or scheduled","x","TODO"],["I","Info","x","TODO"],["i","idea","x","TODO"],["N","note","x","TODO"],["Q","quote","x","TODO"],["W","win / success / reward","x","TODO"],["P","pro","x","TODO"],["C","con","x","TODO"]]}function Ix(){return[[" ","To Do","x","TODO"],["/","In Progress","x","IN_PROGRESS"],["x","Done"," ","DONE"],["-","Cancelled"," ","CANCELLED"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["?","Question","x","TODO"],["i","Infomation","x","TODO"],["S","Amount","x","TODO"],["*","Star","x","TODO"],["b","Bookmark","x","TODO"],["\u201C","Quote","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["I","Idea","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["u","Up","x","TODO"],["d","Down","x","TODO"]]}function Fx(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],[">","Deferred","x","TODO"],["!","Important","x","TODO"],["?","Question","x","TODO"],["r","Review","x","TODO"]]}function Lx(){return[[" ","Unchecked","x","TODO"],["x","Regular"," ","DONE"],["X","Checked"," ","DONE"],["-","Dropped"," ","CANCELLED"],[">","Forward","x","TODO"],["D","Date","x","TODO"],["?","Question","x","TODO"],["/","Half Done","x","IN_PROGRESS"],["+","Add","x","TODO"],["R","Research","x","TODO"],["!","Important","x","TODO"],["i","Idea","x","TODO"],["B","Brainstorm","x","TODO"],["P","Pro","x","TODO"],["C","Con","x","TODO"],["Q","Quote","x","TODO"],["N","Note","x","TODO"],["b","Bookmark","x","TODO"],["I","Information","x","TODO"],["p","Paraphrase","x","TODO"],["L","Location","x","TODO"],["E","Example","x","TODO"],["A","Answer","x","TODO"],["r","Reward","x","TODO"],["c","Choice","x","TODO"],["d","Doing","x","IN_PROGRESS"],["T","Time","x","TODO"],["@","Character / Person","x","TODO"],["t","Talk","x","TODO"],["O","Outline / Plot","x","TODO"],["~","Conflict","x","TODO"],["W","World","x","TODO"],["f","Clue / Find","x","TODO"],["F","Foreshadow","x","TODO"],["H","Favorite / Health","x","TODO"],["&","Symbolism","x","TODO"],["s","Secret","x","TODO"]]}function Ux(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],["f","Fire","x","TODO"],["k","Key","x","TODO"],["w","Win","x","TODO"],["u","Up","x","TODO"],["d","Down","x","TODO"]]}function Yx(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}function $x(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}Vt();pn();Ba();var Fr=require("obsidian");Mn();Mn();Er();Kr();var aa=class{validate(t){let e=[];return e.push(...this.validateSymbol(t)),e.push(...this.validateName(t)),e.push(...this.validateNextSymbol(t)),e}validateStatusCollectionEntry(t){let[e,n,i,s]=t,a=[];if(a.push(...this.validateType(s)),e===i&&s!=="NON_TASK"&&a.push(`Status symbol '${e}' toggles to itself`),a.length>0)return a;let o=ge.createFromImportedValue(t).configuration;return a.push(...this.validateSymbolTypeConventions(o)),a.push(...this.validate(o)),a}validateSymbol(t){return aa.validateOneSymbol(t.symbol,"Task Status Symbol")}validateNextSymbol(t){return aa.validateOneSymbol(t.nextStatusSymbol,"Task Next Status Symbol")}validateName(t){let e=[];return t.name.length===0&&e.push("Task Status Name cannot be empty."),e}validateType(t){let e=Bt[t],n=[];return e||n.push(`Status Type "${t}" is not a valid type`),e=="EMPTY"&&n.push('Status Type "EMPTY" is not permitted in user data'),n}validateSymbolTypeConventions(t){let e=[],n=t.symbol,i=new $e,s=n==="X"?"x":n,a=i.bySymbol(s);return a.type!=="EMPTY"&&(t.nextStatusSymbol!==a.nextStatusSymbol&&e.push(`Next Status Symbol for symbol '${n}': '${t.nextStatusSymbol}' is inconsistent with convention '${a.nextStatusSymbol}'`),t.type!==a.type&&e.push(`Status Type for symbol '${n}': '${t.type}' is inconsistent with convention '${a.type}'`)),e}static validateOneSymbol(t,e){let n=[];return t.length===0&&n.push(`${e} cannot be empty.`),t.length>1&&n.push(`${e} ("${t}") must be a single character.`),n}};Er();bs();var oa=new aa,Yn=class extends Fr.Modal{constructor(e,n,i){super(e.app);this.plugin=e;this.saved=!1;this.error=!1;this.statusSymbol=n.symbol,this.statusName=n.name,this.statusNextSymbol=n.nextStatusSymbol,this.statusAvailableAsCommand=n.availableAsCommand,this.type=n.type,this.isCoreStatus=i}statusConfiguration(){return new gt(this.statusSymbol,this.statusName,this.statusNextSymbol,this.statusAvailableAsCommand,this.type)}display(){return I(this,null,function*(){let{contentEl:e}=this;e.empty();let n=e.createDiv(),i;new Fr.Setting(n).setName(M.t("modals.customStatusModal.editStatusSymbol.name")).setDesc(M.t("modals.customStatusModal.editStatusSymbol.description")).addText(u=>{i=u,u.setValue(this.statusSymbol).onChange(c=>{this.statusSymbol=c,Yn.setValid(u,oa.validateSymbol(this.statusConfiguration()))})}).setDisabled(this.isCoreStatus).then(u=>{Yn.setValid(i,oa.validateSymbol(this.statusConfiguration()))});let s;new Fr.Setting(n).setName(M.t("modals.customStatusModal.editStatusName.name")).setDesc(M.t("modals.customStatusModal.editStatusName.description")).addText(u=>{s=u,u.setValue(this.statusName).onChange(c=>{this.statusName=c,Yn.setValid(u,oa.validateName(this.statusConfiguration()))})}).then(u=>{Yn.setValid(s,oa.validateName(this.statusConfiguration()))});let a;new Fr.Setting(n).setName(M.t("modals.customStatusModal.editNextStatusSymbol.name")).setDesc(M.t("modals.customStatusModal.editNextStatusSymbol.description")).addText(u=>{a=u,u.setValue(this.statusNextSymbol).onChange(c=>{this.statusNextSymbol=c,Yn.setValid(u,oa.validateNextSymbol(this.statusConfiguration()))})}).then(u=>{Yn.setValid(a,oa.validateNextSymbol(this.statusConfiguration()))}),new Fr.Setting(n).setName(M.t("modals.customStatusModal.editStatusType.name")).setDesc(M.t("modals.customStatusModal.editStatusType.description")).addDropdown(u=>{["TODO","IN_PROGRESS","DONE","CANCELLED","NON_TASK"].forEach(d=>{u.addOption(d,d)}),u.setValue(this.type).onChange(d=>{this.type=ge.getTypeFromStatusTypeString(d)})}),ge.tasksPluginCanCreateCommandsForStatuses()&&new Fr.Setting(n).setName(M.t("modals.customStatusModal.editAvailableAsCommand.name")).setDesc(M.t("modals.customStatusModal.editAvailableAsCommand.description")).addToggle(u=>{u.setValue(this.statusAvailableAsCommand).onChange(c=>I(this,null,function*(){this.statusAvailableAsCommand=c}))});let o=e.createDiv(),l=new Fr.Setting(o);l.addButton(u=>(u.setTooltip("Save").setIcon("checkmark").onClick(()=>I(this,null,function*(){let c=oa.validate(this.statusConfiguration());if(c.length>0){let d=c.join(`
`)+`
`+M.t("modals.customStatusModal.fixErrorsBeforeSaving");new Fr.Notice(d);return}this.saved=!0,this.close()})),u)),l.addExtraButton(u=>(u.setIcon("cross").setTooltip("Cancel").onClick(()=>{this.saved=!1,this.close()}),u))})}onOpen(){this.display()}static setValidationError(e){e.inputEl.addClass("tasks-settings-is-invalid")}static removeValidationError(e){e.inputEl.removeClass("tasks-settings-is-invalid")}static setValid(e,n){n.length===0?Yn.removeValidationError(e):Yn.setValidationError(e)}};var Cb=require("obsidian");function Wx(r,t,e){if(t===e||!Object.prototype.hasOwnProperty.call(r,t))return F({},r);let n={};for(let[i,s]of Object.entries(r))i===t?n[e]=s:n[i]=s;return n}var Nu=class{constructor(t,e,n){this.originalName=t,this.isValid=e,this.errorMessage=n}},Af=class{validateRenames(t){let e={};for(let[n,i]of Object.entries(t)){let s={};for(let[a,o]of Object.entries(t))a!==n&&(s[o]="");e[n]=this.validateRename(s,"",i)}return e}validateRename(t,e,n){if(!n||n.trim()==="")return new Nu(e,!1,"Preset name cannot be empty or all whitespace");for(let i of Object.keys(t))if(i!==e&&i.trim()===n.trim())return new Nu(e,!1,"A preset with this name already exists");return new Nu(e,!0,null)}addPreset(t){let e=this.generateUniqueKey(t),n=F({},t);return n[e]="",{presets:n,newKey:e}}renamePreset(t,e,n){return!n||n.trim()===""||(n=n.trim(),this.wouldCreateDuplicateKey(t,e,n))?null:Wx(t,e,n)}deletePreset(t,e){let n=F({},t);return delete n[e],n}updatePresetValue(t,e,n){let i=F({},t);return i[e]=n,i}wouldCreateDuplicateKey(t,e,n){let i=n.trim();if(e.trim()===i)return!1;for(let s of Object.keys(t))if(s!==e&&s.trim()===i)return!0;return!1}generateUniqueKey(t){let e="new_key",n=1;for(;Object.prototype.hasOwnProperty.call(t,`${e}_${n}`);)n++;return`${e}_${n}`}reorderPreset(t,e,n){let i=Object.keys(t),s=i.indexOf(e);if(s===-1||n<0||n>=i.length)return null;if(s===n)return F({},t);let a=[...i];a.splice(s,1),a.splice(n,0,e);let o={};for(let l of a)o[l]=t[l];return o}};Vt();var Pf=class{constructor(t,e){this.presetsSettingsService=new Af;this.nameFields=new Map;this.plugin=t,this.events=e}renderPresetsSettings(t){let e=t.createDiv(),n=re(),i=()=>{e.empty(),this.nameFields.clear(),Object.entries(n.presets).forEach(([s,a])=>{this.renderPresetItem(e,n,s,a,i)})};i(),this.createAddNewPresetButton(t,n,i)}renderPresetItem(t,e,n,i,s){let a=t.createDiv({cls:"tasks-presets-wrapper"}),o=new Cb.Setting(a);o.settingEl.addClass("tasks-presets-setting"),a.setAttribute("data-preset-key",n),o.addText(l=>{l.setPlaceholder("Name").setValue(n),l.inputEl.addClass("tasks-presets-key"),this.nameFields.set(n,{inputEl:l.inputEl,originalKey:n});let u=n;l.inputEl.addEventListener("input",d=>{u=d.target.value,this.validateAllInputs()});let c=()=>I(this,null,function*(){if(u&&u!==n){let d=this.presetsSettingsService.renamePreset(e.presets,n,u);d&&(yield this.savePresetsSettings(d,e,s))}});l.inputEl.addEventListener("blur",c),l.inputEl.addEventListener("keydown",d=>I(this,null,function*(){d.key==="Enter"&&(d.preventDefault(),l.inputEl.blur())}))}),o.addTextArea(l=>(l.inputEl.addClass("tasks-presets-value"),l.setPlaceholder("Query or filter text...").setValue(i),this.setupAutoResizingTextarea(l),l.onChange(u=>I(this,null,function*(){let c=this.presetsSettingsService.updatePresetValue(e.presets,n,u);yield this.savePresetsSettings(c,e,null)})))),o.addExtraButton(l=>{l.extraSettingsEl.addClass("tasks-presets-drag-handle"),l.setIcon("grip-vertical").setTooltip("Drag to reorder"),l.extraSettingsEl.style.cursor="grab",l.extraSettingsEl.addEventListener("mousedown",u=>{a.draggable=!0,l.extraSettingsEl.style.cursor="grabbing"}),l.extraSettingsEl.addEventListener("mouseup",u=>{l.extraSettingsEl.style.cursor="grab"})}),o.addExtraButton(l=>{l.extraSettingsEl.addClass("tasks-presets-delete-button"),l.setIcon("cross").setTooltip("Delete").onClick(()=>I(this,null,function*(){let u=this.presetsSettingsService.deletePreset(e.presets,n);yield this.savePresetsSettings(u,e,s)}))}),this.setupDragAndDrop(a,n,e,s),o.infoEl.remove()}setupDragAndDrop(t,e,n,i){t.addEventListener("dragstart",s=>{s.dataTransfer&&(s.dataTransfer.setData("text/plain",e),s.dataTransfer.effectAllowed="move"),t.addClass("tasks-presets-dragging")}),t.addEventListener("dragend",s=>{t.draggable=!1,t.removeClass("tasks-presets-dragging"),this.clearDropIndicators()}),t.addEventListener("dragover",s=>{s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="move"),this.showDropIndicator(t,s)}),t.addEventListener("dragleave",s=>{let a=t.getBoundingClientRect(),o=s.clientX,l=s.clientY;(o<a.left||o>a.right||l<a.top||l>a.bottom)&&this.clearDropIndicator(t)}),t.addEventListener("drop",s=>I(this,null,function*(){var c;s.preventDefault();let a=(c=s.dataTransfer)==null?void 0:c.getData("text/plain");if(!a||a===e){this.clearDropIndicators();return}let o=this.calculateDropPosition(t,s),l=this.getTargetIndex(e,o),u=this.presetsSettingsService.reorderPreset(n.presets,a,l);u&&(yield this.savePresetsSettings(u,n,i)),this.clearDropIndicators()}))}getTargetIndex(t,e){let n=re(),s=Object.keys(n.presets).indexOf(t);return e==="above"?s:s+1}showDropIndicator(t,e){this.clearDropIndicators(),this.calculateDropPosition(t,e)==="above"?t.addClass("tasks-presets-drop-above"):t.addClass("tasks-presets-drop-below")}calculateDropPosition(t,e){let n=t.getBoundingClientRect(),i=n.top+n.height/2;return e.clientY<i?"above":"below"}clearDropIndicators(){document.querySelectorAll(".tasks-presets-wrapper").forEach(e=>{this.clearDropIndicator(e)})}clearDropIndicator(t){t.removeClass("tasks-presets-drop-above"),t.removeClass("tasks-presets-drop-below")}validateAllInputs(){let t={};this.nameFields.forEach(({inputEl:n,originalKey:i})=>{t[i]=n.value});let e=this.presetsSettingsService.validateRenames(t);this.nameFields.forEach(({inputEl:n,originalKey:i})=>{var a;let s=e[i];s&&!s.isValid?(n.addClass("has-error"),n.title=(a=s.errorMessage)!=null?a:""):(n.removeClass("has-error"),n.title="")})}setupAutoResizingTextarea(t){let e=()=>{t.inputEl.style.height="auto",t.inputEl.style.height=`${t.inputEl.scrollHeight}px`};e(),t.inputEl.addEventListener("input",e)}createAddNewPresetButton(t,e,n){new Cb.Setting(t).addButton(i=>{i.setButtonText("Add new preset").setCta().onClick(()=>I(this,null,function*(){let{presets:s}=this.presetsSettingsService.addPreset(e.presets);yield this.savePresetsSettings(s,e,n)}))})}savePresetsSettings(t,e,n){return I(this,null,function*(){nt({presets:t}),yield this.plugin.saveSettings(),e.presets=F({},t),n&&n(),this.events.triggerReloadOpenSearchResults()})}};var Yt=class extends Se.PluginSettingTab{constructor({plugin:e,events:n}){super(e.app,e);this.customFunctions={insertTaskCoreStatusSettings:this.insertTaskCoreStatusSettings.bind(this),insertCustomTaskStatusSettings:this.insertCustomTaskStatusSettings.bind(this)};this.plugin=e,this.presetsSettingsUI=new Pf(e,n)}saveSettings(e){return I(this,null,function*(){yield this.plugin.saveSettings(),e&&this.display()})}display(){let{containerEl:e}=this;e.empty(),this.containerEl.addClass("tasks-settings"),e.createEl("p",{cls:"tasks-setting-important",text:M.t("settings.changeRequiresRestart")}),new Se.Setting(e).setName(M.t("settings.format.name")).setDesc(Yt.createFragmentWithHTML(`<p>${M.t("settings.format.description.line1")}</p><p>${M.t("settings.format.description.line2")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Reference/Task+Formats/About+Task+Formats"))).addDropdown(c=>{for(let d of Object.keys(xr))c.addOption(d,xr[d].getDisplayName());c.setValue(re().taskFormat).onChange(d=>I(this,null,function*(){nt({taskFormat:d}),yield this.plugin.saveSettings()}))}),new Se.Setting(e).setName(M.t("settings.globalFilter.heading")).setHeading();let n=null;new Se.Setting(e).setName(M.t("settings.globalFilter.filter.name")).setDesc(Yt.createFragmentWithHTML(`<p><b>${M.t("settings.globalFilter.filter.description.line1")}</b></p><p>${M.t("settings.globalFilter.filter.description.line2")}<p><p>${M.t("settings.globalFilter.filter.description.line3")}</br>${M.t("settings.globalFilter.filter.description.line4")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Global+Filter"))).addText(c=>{c.setPlaceholder(M.t("settings.globalFilter.filter.placeholder")).setValue(Ne.getInstance().get()).onChange(d=>I(this,null,function*(){nt({globalFilter:d}),Ne.getInstance().set(d),yield this.plugin.saveSettings(),oi(n,d.length>0)}))}),n=new Se.Setting(e).setName(M.t("settings.globalFilter.removeFilter.name")).setDesc(M.t("settings.globalFilter.removeFilter.description")).addToggle(c=>{let d=re();c.setValue(d.removeGlobalFilter).onChange(f=>I(this,null,function*(){nt({removeGlobalFilter:f}),Ne.getInstance().setRemoveGlobalFilter(f),yield this.plugin.saveSettings()}))}),oi(n,re().globalFilter.length>0),new Se.Setting(e).setName(M.t("settings.globalQuery.heading")).setHeading(),d$(new Se.Setting(e).setDesc(Yt.createFragmentWithHTML(`<p>${M.t("settings.globalQuery.query.description")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Queries/Global+Query"))).addTextArea(c=>{let d=re();c.inputEl.rows=4,c.setPlaceholder("# "+M.t("settings.globalQuery.query.placeholder")).setValue(d.globalQuery).onChange(f=>I(this,null,function*(){nt({globalQuery:f}),pr.getInstance().set(f),yield this.plugin.saveSettings()}))})),new Se.Setting(e).setName(M.t("settings.presets.name")).setHeading().setDesc(Yt.createFragmentWithHTML("<p>"+M.t("settings.presets.line1",{name:"<code>name</code>",instruction1:"<code>preset name</code>",instruction2:"<code>{{preset.name}}</code>"})+"</p><p>"+M.t("settings.presets.line2")+"</p>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Queries/Presets"))),this.presetsSettingsUI.renderPresetsSettings(e),new Se.Setting(e).setName(M.t("settings.statuses.heading")).setHeading();let{headingOpened:i}=re();[{text:M.t("settings.statuses.coreStatuses.heading"),level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"<p>"+M.t("settings.statuses.coreStatuses.description.line1")+"</p><p>"+M.t("settings.statuses.coreStatuses.description.line2")+"</p>"},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertTaskCoreStatusSettings",featureFlag:"",notice:null}]},{text:M.t("settings.statuses.customStatuses.heading"),level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"<p>"+M.t("settings.statuses.customStatuses.description.line1")+"</p><p>"+M.t("settings.statuses.customStatuses.description.line2")+"</p><p>"+M.t("settings.statuses.customStatuses.description.line3")+`</p><p></p><p><a href="https://publish.obsidian.md/tasks/Getting+Started/Statuses">${M.t("settings.statuses.customStatuses.description.line4")}</a></p>`},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertCustomTaskStatusSettings",featureFlag:"",notice:null}]}].forEach(c=>{var p;let d=(p=i[c.text])!=null?p:!0,f=this.addOneSettingsBlock(e,c,i);f.open=d}),new Se.Setting(e).setName(M.t("settings.dates.heading")).setHeading(),new Se.Setting(e).setName(M.t("settings.dates.createdDate.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.dates.createdDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Created+date"))).addToggle(c=>{let d=re();c.setValue(d.setCreatedDate).onChange(f=>I(this,null,function*(){nt({setCreatedDate:f}),yield this.plugin.saveSettings()}))}),new Se.Setting(e).setName(M.t("settings.dates.doneDate.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.dates.doneDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Done+date"))).addToggle(c=>{let d=re();c.setValue(d.setDoneDate).onChange(f=>I(this,null,function*(){nt({setDoneDate:f}),yield this.plugin.saveSettings()}))}),new Se.Setting(e).setName(M.t("settings.dates.cancelledDate.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.dates.cancelledDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Cancelled+date"))).addToggle(c=>{let d=re();c.setValue(d.setCancelledDate).onChange(f=>I(this,null,function*(){nt({setCancelledDate:f}),yield this.plugin.saveSettings()}))}),new Se.Setting(e).setName(M.t("settings.datesFromFileNames.heading")).setHeading();let a=null,o=null;new Se.Setting(e).setName(M.t("settings.datesFromFileNames.scheduledDate.toggle.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line1")+"</br>"+M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line2")+"</br>"+M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line3")+"</br>"+M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line4")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Use+Filename+as+Default+Date"))).addToggle(c=>{let d=re();c.setValue(d.useFilenameAsScheduledDate).onChange(f=>I(this,null,function*(){nt({useFilenameAsScheduledDate:f}),oi(a,f),oi(o,f),yield this.plugin.saveSettings()}))}),a=new Se.Setting(e).setName(M.t("settings.datesFromFileNames.scheduledDate.extraFormat.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.datesFromFileNames.scheduledDate.extraFormat.description.line1")+`</br><p><a href="https://momentjs.com/docs/#/displaying/format/">${M.t("settings.datesFromFileNames.scheduledDate.extraFormat.description.line2")}</a></p>`)).addText(c=>{let d=re();c.setPlaceholder(M.t("settings.datesFromFileNames.scheduledDate.extraFormat.placeholder")).setValue(d.filenameAsScheduledDateFormat).onChange(f=>I(this,null,function*(){nt({filenameAsScheduledDateFormat:f}),yield this.plugin.saveSettings()}))}),o=new Se.Setting(e).setName(M.t("settings.datesFromFileNames.scheduledDate.folders.name")).setDesc(M.t("settings.datesFromFileNames.scheduledDate.folders.description")).addText(c=>I(this,null,function*(){let d=re();yield this.plugin.saveSettings(),c.setValue(Yt.renderFolderArray(d.filenameAsDateFolders)).onChange(f=>I(this,null,function*(){let p=Yt.parseCommaSeparatedFolders(f);nt({filenameAsDateFolders:p}),yield this.plugin.saveSettings()}))})),oi(a,re().useFilenameAsScheduledDate),oi(o,re().useFilenameAsScheduledDate),new Se.Setting(e).setName(M.t("settings.recurringTasks.heading")).setHeading(),new Se.Setting(e).setName(M.t("settings.recurringTasks.nextLine.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.recurringTasks.nextLine.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Recurring+Tasks"))).addToggle(c=>{let{recurrenceOnNextLine:d}=re();c.setValue(d).onChange(f=>I(this,null,function*(){nt({recurrenceOnNextLine:f}),yield this.plugin.saveSettings()}))}),new Se.Setting(e).setName(M.t("settings.recurringTasks.removeScheduledDate.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.recurringTasks.removeScheduledDate.description.line1")+"</br>"+M.t("settings.recurringTasks.removeScheduledDate.description.line2")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Recurring+Tasks"))).addToggle(c=>{let{removeScheduledDateOnRecurrence:d}=re();c.setValue(d).onChange(f=>I(this,null,function*(){nt({removeScheduledDateOnRecurrence:f}),yield this.plugin.saveSettings()}))}),new Se.Setting(e).setName(M.t("settings.autoSuggest.heading")).setHeading();let l=null,u=null;new Se.Setting(e).setName(M.t("settings.autoSuggest.toggle.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.autoSuggest.toggle.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Auto-Suggest"))).addToggle(c=>{let d=re();c.setValue(d.autoSuggestInEditor).onChange(f=>I(this,null,function*(){nt({autoSuggestInEditor:f}),yield this.plugin.saveSettings(),oi(l,f),oi(u,f)}))}),l=new Se.Setting(e).setName(M.t("settings.autoSuggest.minLength.name")).setDesc(M.t("settings.autoSuggest.minLength.description")).addSlider(c=>{let d=re();c.setLimits(0,3,1).setValue(d.autoSuggestMinMatch).setDynamicTooltip().onChange(f=>I(this,null,function*(){nt({autoSuggestMinMatch:f}),yield this.plugin.saveSettings()}))}),u=new Se.Setting(e).setName(M.t("settings.autoSuggest.maxSuggestions.name")).setDesc(M.t("settings.autoSuggest.maxSuggestions.description")).addSlider(c=>{let d=re();c.setLimits(3,20,1).setValue(d.autoSuggestMaxItems).setDynamicTooltip().onChange(f=>I(this,null,function*(){nt({autoSuggestMaxItems:f}),yield this.plugin.saveSettings()}))}),oi(l,re().autoSuggestInEditor),oi(u,re().autoSuggestInEditor),new Se.Setting(e).setName(M.t("settings.dialogs.heading")).setHeading(),new Se.Setting(e).setName(M.t("settings.dialogs.accessKeys.name")).setDesc(Yt.createFragmentWithHTML(M.t("settings.dialogs.accessKeys.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Create+or+edit+Task#Keyboard+shortcuts"))).addToggle(c=>{let d=re();c.setValue(d.provideAccessKeys).onChange(f=>I(this,null,function*(){nt({provideAccessKeys:f}),yield this.plugin.saveSettings()}))})}seeTheDocumentation(e){return`<p><a href="${e}">${M.t("settings.seeTheDocumentation")}</a>.</p>`}addOneSettingsBlock(e,n,i){let s=e.createEl("details",{cls:"tasks-nested-settings",attr:F({},n.open||i[n.text]?{open:!0}:{})});s.empty(),s.ontoggle=()=>{i[n.text]=s.open,nt({headingOpened:i}),this.plugin.saveSettings()};let a=s.createEl("summary");if(new Se.Setting(a).setHeading().setName(n.text),a.createDiv("collapser").createDiv("handle"),n.notice!==null){let o=s.createEl("div",{cls:n.notice.class,text:n.notice.text});n.notice.html!==null&&o.insertAdjacentHTML("beforeend",n.notice.html)}return n.settings.forEach(o=>{if(!(o.featureFlag!==""&&!sD(o.featureFlag))&&(o.type==="checkbox"?new Se.Setting(s).setName(o.name).setDesc(o.description).addToggle(l=>{let u=re();u.generalSettings[o.settingName]||qs(o.settingName,o.initialValue),l.setValue(u.generalSettings[o.settingName]).onChange(c=>I(this,null,function*(){qs(o.settingName,c),yield this.plugin.saveSettings()}))}):o.type==="text"?new Se.Setting(s).setName(o.name).setDesc(o.description).addText(l=>{let u=re();u.generalSettings[o.settingName]||qs(o.settingName,o.initialValue);let c=d=>I(this,null,function*(){qs(o.settingName,d),yield this.plugin.saveSettings()});l.setPlaceholder(o.placeholder.toString()).setValue(u.generalSettings[o.settingName].toString()).onChange((0,Se.debounce)(c,500,!0))}):o.type==="textarea"?new Se.Setting(s).setName(o.name).setDesc(o.description).addTextArea(l=>{let u=re();u.generalSettings[o.settingName]||qs(o.settingName,o.initialValue);let c=d=>I(this,null,function*(){qs(o.settingName,d),yield this.plugin.saveSettings()});l.setPlaceholder(o.placeholder.toString()).setValue(u.generalSettings[o.settingName].toString()).onChange((0,Se.debounce)(c,500,!0)),l.inputEl.rows=8,l.inputEl.cols=40}):o.type==="function"&&this.customFunctions[o.settingName](s,this),o.notice!==null)){let l=s.createEl("p",{cls:o.notice.class,text:o.notice.text});o.notice.html!==null&&l.insertAdjacentHTML("beforeend",o.notice.html)}}),s}static parseCommaSeparatedFolders(e){return e.split(",").map(n=>n.trim()).map(n=>n.replace(/^\/|\/$/g,"")).filter(n=>n!=="")}static renderFolderArray(e){return e.join(",")}insertTaskCoreStatusSettings(e,n){let{statusSettings:i}=re();i.coreStatuses.forEach(a=>{qx(e,a,i.coreStatuses,i,n,n.plugin,!0)}),new Se.Setting(e).addButton(a=>{let o=M.t("settings.statuses.coreStatuses.buttons.checkStatuses.name");a.setButtonText(o).setCta().onClick(()=>I(this,null,function*(){let u=window.moment().format("YYYY-MM-DD HH-mm-ss"),c=`Tasks Plugin - ${o} ${u}.md`,d=this.plugin.manifest.version,f=$e.getInstance(),p=Ax(i,f,o,d),b=yield this.app.vault.create(c,p);yield this.app.workspace.getLeaf(!0).openFile(b)})),a.setTooltip(M.t("settings.statuses.coreStatuses.buttons.checkStatuses.tooltip"))}).infoEl.remove()}insertCustomTaskStatusSettings(e,n){let{statusSettings:i}=re();i.customStatuses.forEach(u=>{qx(e,u,i.customStatuses,i,n,n.plugin,!1)}),e.createEl("div"),new Se.Setting(e).addButton(u=>{u.setButtonText(M.t("settings.statuses.customStatuses.buttons.addNewStatus.name")).setCta().onClick(()=>I(this,null,function*(){et.addStatus(i.customStatuses,new gt("","","",!1,"TODO")),yield Mo(i,n)}))}).infoEl.remove();let a=[[M.t("settings.statuses.collections.anuppuccinTheme"),Px()],[M.t("settings.statuses.collections.auraTheme"),Nx()],[M.t("settings.statuses.collections.borderTheme"),Ix()],[M.t("settings.statuses.collections.ebullientworksTheme"),Fx()],[M.t("settings.statuses.collections.itsThemeAndSlrvbCheckboxes"),Lx()],[M.t("settings.statuses.collections.minimalTheme"),Yx()],[M.t("settings.statuses.collections.thingsTheme"),$x()],[M.t("settings.statuses.collections.lytModeTheme"),Ux()]];for(let[u,c]of a)new Se.Setting(e).addButton(f=>{let p=M.t("settings.statuses.collections.buttons.addCollection.name",{themeName:u,numberOfStatuses:c.length});f.setButtonText(p).onClick(()=>I(this,null,function*(){yield c$(c,i,n)}))}).infoEl.remove();new Se.Setting(e).addButton(u=>{u.setButtonText(M.t("settings.statuses.customStatuses.buttons.addAllUnknown.name")).setCta().onClick(()=>I(this,null,function*(){let d=this.plugin.getTasks().map(p=>p.status),f=$e.getInstance().findUnknownStatuses(d);f.length!==0&&(f.forEach(p=>{et.addStatus(i.customStatuses,p)}),yield Mo(i,n))}))}).infoEl.remove(),new Se.Setting(e).addButton(u=>{u.setButtonText(M.t("settings.statuses.customStatuses.buttons.resetCustomStatuses.name")).setWarning().onClick(()=>I(this,null,function*(){et.resetAllCustomStatuses(i),yield Mo(i,n)}))}).infoEl.remove()}},Iu=Yt;Iu.createFragmentWithHTML=e=>createFragment(n=>n.createDiv().innerHTML=e);function qx(r,t,e,n,i,s,a){let o=r.createEl("pre");o.addClass("row-for-status"),o.textContent=new ge(t).previewText();let l=new Se.Setting(r);l.infoEl.replaceWith(o),a||l.addExtraButton(u=>{u.setIcon("cross").setTooltip("Delete").onClick(()=>I(this,null,function*(){et.deleteStatus(e,t)&&(yield Mo(n,i))}))}),l.addExtraButton(u=>{u.setIcon("pencil").setTooltip("Edit").onClick(()=>I(this,null,function*(){let c=new Yn(s,t,a);c.onClose=()=>I(this,null,function*(){c.saved&&et.replaceStatus(e,t,c.statusConfiguration())&&(yield Mo(n,i))}),c.open()}))}),l.infoEl.remove()}function c$(r,t,e){return I(this,null,function*(){et.bulkAddStatusCollection(t,r).forEach(i=>{new Se.Notice(i)}),yield Mo(t,e)})}function Mo(r,t){return I(this,null,function*(){nt({statusSettings:r}),et.applyToStatusRegistry(r,$e.getInstance()),yield t.saveSettings(!0)})}function d$(r){let{settingEl:t,infoEl:e,controlEl:n}=r,i=n.querySelector("textarea");i!==null&&(t.style.display="block",e.style.marginRight="0px",i.style.minWidth="-webkit-fill-available")}function oi(r,t){r?r.setVisibility(t):console.warn("Setting has not be initialised. Can update visibility of setting UI - in setSettingVisibility")}Kr();js();var cs=require("obsidian");id();Vt();dy();function f$(r){console.error(r),new cs.Notice(r+`
This message has been written to the console.
`,1e4)}var Nf=class extends cs.EditorSuggest{constructor(e,n,i){super(e);this.settings=n,this.plugin=i,e.scope.register([],"Tab",()=>{var a;let s=(a=this.context)==null?void 0:a.editor;return s?(s.exec("indentMore"),!1):!0})}onTrigger(e,n,i){if(!this.settings.autoSuggestInEditor||i===void 0)return null;let s=n.getLine(e.line);return!ZS(s,e,n)||this.grabSuggestions(n,i,s).length===0?null:{start:{line:e.line,ch:0},end:{line:e.line,ch:s.length},query:s}}getSuggestions(e){return e.file===void 0?[]:this.grabSuggestions(e.editor,e.file,e.query).map(i=>de(F({},i),{context:e}))}grabSuggestions(e,n,i){var c,d,f;let s=e.getCursor(),a=this.plugin.getTasks(),o=a.find(p=>p.taskLocation.path==n.path&&p.taskLocation.lineNumber==s.line),l=this.getMarkdownFileInfo(e),u=this.canSaveEdits(l);return(f=(d=(c=uu()).buildSuggestions)==null?void 0:d.call(c,i,s.ch,this.settings,a,u,o))!=null?f:[]}getMarkdownFileInfo(e){return e.cm.state.field(cs.editorInfoField)}canSaveEdits(e){return e instanceof cs.MarkdownView}renderSuggestion(e,n){n.setText(e.displayText)}selectSuggestion(e,n){return I(this,null,function*(){var u,c,d;let i=e.context.editor;if(e.suggestionType==="empty"){this.close();let f=new KeyboardEvent("keydown",{code:"Enter",key:"Enter"});(c=(u=i==null?void 0:i.cm)==null?void 0:u.contentDOM)==null||c.dispatchEvent(f);return}if(e.taskItDependsOn!=null){let f=rd(e.taskItDependsOn,this.plugin.getTasks().map(p=>p.id));if(e.appendText+=` ${f.id}`,e.taskItDependsOn!==f)if(e.context.file.path==f.path){let p=e.taskItDependsOn.originalMarkdown,b={line:e.taskItDependsOn.lineNumber,ch:0},T={line:e.taskItDependsOn.lineNumber,ch:p.length},v=e.context.editor.getRange(b,T);if(v!==p){let O=`Error adding new ID, due to mismatched data in Tasks memory and the editor:
task line in memory: '${e.taskItDependsOn.originalMarkdown}'
task line in editor: '${v}'
file: '${f.path}'
`;f$(O);return}e.context.editor.replaceRange(f.toFileLineString(),b,T)}else In({originalTask:e.taskItDependsOn,newTasks:f})}let s=e.context.editor.getCursor(),a={line:s.line,ch:(d=e.insertAt)!=null?d:s.ch},o=e.insertSkip?{line:s.line,ch:a.ch+e.insertSkip}:void 0;e.context.editor.replaceRange(e.appendText,a,o),e.context.editor.setCursor({line:s.line,ch:a.ch+e.appendText.length});let l=this.getMarkdownFileInfo(e.context.editor);this.canSaveEdits(l)&&(yield l.save())})}};Ba();var jx=(r,t)=>{let e,n=new Promise((o,l)=>{e=o}),i=o=>{let l=o.map(u=>u.toFileLineString()).join(`
`);e(l)},s=so({line:"",path:""});return new ei({app:r,task:s,onSubmit:i,allTasks:t}).open(),n};function Hx(r,t,e){let n,i=new Promise((l,u)=>{n=l}),s=l=>{let u=l.map(c=>c.toFileLineString()).join(`
`);n(u)},a=so({line:t!=null?t:"",path:""});return new ei({app:r,task:a,onSubmit:s,allTasks:e}).open(),i}var Gx=r=>{let t=r.app;return{createTaskLineModal:()=>jx(t,r.getTasks()),editTaskLineModal:e=>Hx(t,e,r.getTasks()),executeToggleTaskDoneCommand:(e,n)=>Vy(e,n).text}};pn();Gu();var If=class extends Ff.Plugin{get apiV1(){return Gx(this)}onload(){return I(this,null,function*(){yield lT(),sn.registerConsoleLogger(),Ty("info",M.t("main.loadingPlugin",{name:this.manifest.name,version:this.manifest.version})),yield this.loadSettings();let{loggingOptions:e}=re();sn.configure(e),kn.getInstance().setGetFirstLinkpathDestFn((i,s)=>{let a=(0,Ff.getLinkpath)(i.link),o=this.app.metadataCache.getFirstLinkpathDest(a,s);return o?o.path:null});let n=new pf({obsidianEvents:this.app.workspace});this.addSettingTab(new Iu({plugin:this,events:n})),aE({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace}),yield this.loadTaskStatuses(),this.cache=new Hs({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace,events:n}),this.inlineRenderer=new Df({plugin:this,app:this.app}),this.queryRenderer=new Cf({plugin:this,events:n}),this.setObsidianPropertiesTypes(),this.registerEditorExtension(Ex()),this.registerEditorSuggest(new Nf(this.app,re(),this)),new ff({plugin:this})})}loadTaskStatuses(){return I(this,null,function*(){let{statusSettings:e}=re();et.applyToStatusRegistry(e,$e.getInstance())})}onunload(){var e;Ty("info",M.t("main.unloadingPlugin",{name:this.manifest.name,version:this.manifest.version})),(e=this.cache)==null||e.unload()}loadSettings(){return I(this,null,function*(){let e=yield this.loadData();nt(e),e=re(),Ne.getInstance().set(e.globalFilter),Ne.getInstance().setRemoveGlobalFilter(e.removeGlobalFilter),pr.getInstance().set(e.globalQuery),yield this.loadTaskStatuses()})}saveSettings(){return I(this,null,function*(){yield this.saveData(re())})}getTasks(){return this.cache===void 0?[]:this.cache.getTasks()}getState(){return this.cache===void 0?"Cold":this.cache.getState()}setObsidianPropertiesTypes(){var e;try{let n=this.app.metadataTypeManager,i=n.getAllProperties(),s=new Ci;for(let a of s.allPropertyNamesSorted()){let o=s.propertyType(a);((e=i[a])==null?void 0:e.type)!==o&&n.setType(a,o)}}catch(n){console.error("setObsidianPropertiesTypes error",n)}}};
/*!
* EventEmitter2
* https://github.com/hij1nx/EventEmitter2
*
* Copyright (c) 2013 hij1nx
* Licensed under the MIT license.
*/
/*!
* mustache.js - Logic-less {{mustache}} templates with JavaScript
* http://github.com/janl/mustache.js
*/
/* nosourcemap */