/* THIS IS A GENERATED/BUNDLED FILE BY ESBUILD if you want to view the source visit the plugins github repository */ var Hy=Object.create;var Na=Object.defineProperty;var By=Object.getOwnPropertyDescriptor;var Ky=Object.getOwnPropertyNames;var $y=Object.getPrototypeOf,Uy=Object.prototype.hasOwnProperty;var ju=t=>Na(t,"__esModule",{value:!0});var zu=(t,n)=>()=>(t&&(n=t(t=0)),n),Fe=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),Yr=(t,n)=>{for(var e in n)Na(t,e,{get:n[e],enumerable:!0})},jy=(t,n,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Ky(n))!Uy.call(t,r)&&r!=="default"&&Na(t,r,{get:()=>n[r],enumerable:!(e=By(n,r))||e.enumerable});return t},ge=t=>jy(ju(Na(t!=null?Hy($y(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var Ot=Fe((Pn,Fd)=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});function Sn(t){return typeof t=="object"&&!("toString"in t)?Object.prototype.toString.call(t).slice(8,-1):t}var wb=typeof process=="object"&&!0;function pn(t,n){if(!t)throw wb?new Error("Invariant failed"):new Error(n())}Pn.invariant=pn;var vl=Object.prototype.hasOwnProperty,Eb=Array.prototype.splice,Sb=Object.prototype.toString;function xr(t){return Sb.call(t).slice(8,-1)}var Wa=Object.assign||function(t,n){return yl(n).forEach(function(e){vl.call(n,e)&&(t[e]=n[e])}),t},yl=typeof Object.getOwnPropertySymbols=="function"?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.keys(t)};function ar(t){return Array.isArray(t)?Wa(t.constructor(t.length),t):xr(t)==="Map"?new Map(t):xr(t)==="Set"?new Set(t):t&&typeof t=="object"?Wa(Object.create(Object.getPrototypeOf(t)),t):t}var Ld=function(){function t(){this.commands=Wa({},xb),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(n,e){return n===e},this.update.newContext=function(){return new t().update}}return Object.defineProperty(t.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(n){this.update.isEquals=n},enumerable:!0,configurable:!0}),t.prototype.extend=function(n,e){this.commands[n]=e},t.prototype.update=function(n,e){var r=this,i=typeof e=="function"?{$apply:e}:e;Array.isArray(n)&&Array.isArray(i)||pn(!Array.isArray(i),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),pn(typeof i=="object"&&i!==null,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the "+("following commands: "+Object.keys(r.commands).join(", ")+".")});var a=n;return yl(i).forEach(function(o){if(vl.call(r.commands,o)){var s=n===a;a=r.commands[o](i[o],a,i,n),s&&r.isEquals(a,n)&&(a=n)}else{var u=xr(n)==="Map"?r.update(n.get(o),i[o]):r.update(n[o],i[o]),l=xr(a)==="Map"?a.get(o):a[o];(!r.isEquals(u,l)||typeof u=="undefined"&&!vl.call(n,o))&&(a===n&&(a=ar(n)),xr(a)==="Map"?a.set(o,u):a[o]=u)}}),a},t}();Pn.Context=Ld;var xb={$push:function(t,n,e){return Pd(n,e,"$push"),t.length?n.concat(t):n},$unshift:function(t,n,e){return Pd(n,e,"$unshift"),t.length?t.concat(n):n},$splice:function(t,n,e,r){return kb(n,e),t.forEach(function(i){Od(i),n===r&&i.length&&(n=ar(r)),Eb.apply(n,i)}),n},$set:function(t,n,e){return Tb(e),t},$toggle:function(t,n){$i(t,"$toggle");var e=t.length?ar(n):n;return t.forEach(function(r){e[r]=!n[r]}),e},$unset:function(t,n,e,r){return $i(t,"$unset"),t.forEach(function(i){Object.hasOwnProperty.call(n,i)&&(n===r&&(n=ar(r)),delete n[i])}),n},$add:function(t,n,e,r){return Nd(n,"$add"),$i(t,"$add"),xr(n)==="Map"?t.forEach(function(i){var a=i[0],o=i[1];n===r&&n.get(a)!==o&&(n=ar(r)),n.set(a,o)}):t.forEach(function(i){n===r&&!n.has(i)&&(n=ar(r)),n.add(i)}),n},$remove:function(t,n,e,r){return Nd(n,"$remove"),$i(t,"$remove"),t.forEach(function(i){n===r&&n.has(i)&&(n=ar(r)),n.delete(i)}),n},$merge:function(t,n,e,r){return Mb(n,t),yl(t).forEach(function(i){t[i]!==n[i]&&(n===r&&(n=ar(r)),n[i]=t[i])}),n},$apply:function(t,n){return _b(t),t(n)}},bl=new Ld;Pn.isEquals=bl.update.isEquals;Pn.extend=bl.extend;Pn.default=bl.update;Pn.default.default=Fd.exports=Wa(Pn.default,Pn);function Pd(t,n,e){pn(Array.isArray(t),function(){return"update(): expected target of "+Sn(e)+" to be an array; got "+Sn(t)+"."}),$i(n[e],e)}function $i(t,n){pn(Array.isArray(t),function(){return"update(): expected spec of "+Sn(n)+" to be an array; got "+Sn(t)+". Did you forget to wrap your parameter in an array?"})}function kb(t,n){pn(Array.isArray(t),function(){return"Expected $splice target to be an array; got "+Sn(t)}),Od(n.$splice)}function Od(t){pn(Array.isArray(t),function(){return"update(): expected spec of $splice to be an array of arrays; got "+Sn(t)+". Did you forget to wrap your parameters in an array?"})}function _b(t){pn(typeof t=="function",function(){return"update(): expected spec of $apply to be a function; got "+Sn(t)+"."})}function Tb(t){pn(Object.keys(t).length===1,function(){return"Cannot have more than one key in an object with $set"})}function Mb(t,n){pn(n&&typeof n=="object",function(){return"update(): $merge expects a spec of type 'object'; got "+Sn(n)}),pn(t&&typeof t=="object",function(){return"update(): $merge expects a target of type 'object'; got "+Sn(t)})}function Nd(t,n){var e=xr(t);pn(e==="Map"||e==="Set",function(){return"update(): "+Sn(n)+" expects a target of type Set or Map; got "+Sn(e)})}});var Kd=Fe((s1,Bd)=>{"use strict";var Db=function(n){return Cb(n)&&!Ab(n)};function Cb(t){return!!t&&typeof t=="object"}function Ab(t){var n=Object.prototype.toString.call(t);return n==="[object RegExp]"||n==="[object Date]"||Pb(t)}var Ib=typeof Symbol=="function"&&Symbol.for,Lb=Ib?Symbol.for("react.element"):60103;function Pb(t){return t.$$typeof===Lb}function Ob(t){return Array.isArray(t)?[]:{}}function Ui(t,n){return n.clone!==!1&&n.isMergeableObject(t)?Zr(Ob(t),t,n):t}function Nb(t,n,e){return t.concat(n).map(function(r){return Ui(r,e)})}function Fb(t,n){if(!n.customMerge)return Zr;var e=n.customMerge(t);return typeof e=="function"?e:Zr}function Rb(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(n){return t.propertyIsEnumerable(n)}):[]}function Rd(t){return Object.keys(t).concat(Rb(t))}function Hd(t,n){try{return n in t}catch(e){return!1}}function Hb(t,n){return Hd(t,n)&&!(Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))}function Bb(t,n,e){var r={};return e.isMergeableObject(t)&&Rd(t).forEach(function(i){r[i]=Ui(t[i],e)}),Rd(n).forEach(function(i){Hb(t,i)||(Hd(t,i)&&e.isMergeableObject(n[i])?r[i]=Fb(i,e)(t[i],n[i],e):r[i]=Ui(n[i],e))}),r}function Zr(t,n,e){e=e||{},e.arrayMerge=e.arrayMerge||Nb,e.isMergeableObject=e.isMergeableObject||Db,e.cloneUnlessOtherwiseSpecified=Ui;var r=Array.isArray(n),i=Array.isArray(t),a=r===i;return a?r?e.arrayMerge(t,n,e):Bb(t,n,e):Ui(n,e)}Zr.all=function(n,e){if(!Array.isArray(n))throw new Error("first argument should be an array");return n.reduce(function(r,i){return Zr(r,i,e)},{})};var Kb=Zr;Bd.exports=Kb});var to=Fe(at=>{"use strict";var Al=32;at.INT_BITS=Al;at.INT_MAX=2147483647;at.INT_MIN=-1<0)-(t<0)};at.abs=function(t){var n=t>>Al-1;return(t^n)-n};at.min=function(t,n){return n^(t^n)&-(t65535)<<4,t>>>=n,e=(t>255)<<3,t>>>=e,n|=e,e=(t>15)<<2,t>>>=e,n|=e,e=(t>3)<<1,t>>>=e,n|=e,n|t>>1};at.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0};at.popCount=function(t){return t=t-(t>>>1&1431655765),t=(t&858993459)+(t>>>2&858993459),(t+(t>>>4)&252645135)*16843009>>>24};function rf(t){var n=32;return t&=-t,t&&n--,t&65535&&(n-=16),t&16711935&&(n-=8),t&252645135&&(n-=4),t&858993459&&(n-=2),t&1431655765&&(n-=1),n}at.countTrailingZeros=rf;at.nextPow2=function(t){return t+=t===0,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t+1};at.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t-(t>>>1)};at.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,t&=15,27030>>>t&1};var Ji=new Array(256);(function(t){for(var n=0;n<256;++n){var e=n,r=n,i=7;for(e>>>=1;e;e>>>=1)r<<=1,r|=e&1,--i;t[n]=r<>>8&255]<<16|Ji[t>>>16&255]<<8|Ji[t>>>24&255]};at.interleave2=function(t,n){return t&=65535,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,n&=65535,n=(n|n<<8)&16711935,n=(n|n<<4)&252645135,n=(n|n<<2)&858993459,n=(n|n<<1)&1431655765,t|n<<1};at.deinterleave2=function(t,n){return t=t>>>n&1431655765,t=(t|t>>>1)&858993459,t=(t|t>>>2)&252645135,t=(t|t>>>4)&16711935,t=(t|t>>>16)&65535,t<<16>>16};at.interleave3=function(t,n,e){return t&=1023,t=(t|t<<16)&4278190335,t=(t|t<<8)&251719695,t=(t|t<<4)&3272356035,t=(t|t<<2)&1227133513,n&=1023,n=(n|n<<16)&4278190335,n=(n|n<<8)&251719695,n=(n|n<<4)&3272356035,n=(n|n<<2)&1227133513,t|=n<<1,e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,t|e<<2};at.deinterleave3=function(t,n){return t=t>>>n&1227133513,t=(t|t>>>2)&3272356035,t=(t|t>>>4)&251719695,t=(t|t>>>8)&4278190335,t=(t|t>>>16)&1023,t<<22>>22};at.nextCombination=function(t){var n=t|t-1;return n+1|(~n&-~n)-1>>>rf(t)+1}});var sf=Fe((B1,of)=>{"use strict";function af(t,n,e){var r=t[e]|0;if(r<=0)return[];var i=new Array(r),a;if(e===t.length-1)for(a=0;a0)return Qb(t|0,n);break;case"object":if(typeof t.length=="number")return af(t,n,0);break}return[]}of.exports=Xb});var Mf={};Yr(Mf,{Buffer:()=>ee,INSPECT_MAX_BYTES:()=>ff,SlowBuffer:()=>cw,isBuffer:()=>_f,kMaxLength:()=>iw});function lf(){Il=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,e=t.length;n0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[s-2]==="="?2:t[s-1]==="="?1:0,o=new Zb(s*3/4-a),r=a>0?s-4:s;var u=0;for(n=0,e=0;n>16&255,o[u++]=i>>8&255,o[u++]=i&255;return a===2?(i=mn[t.charCodeAt(n)]<<2|mn[t.charCodeAt(n+1)]>>4,o[u++]=i&255):a===1&&(i=mn[t.charCodeAt(n)]<<10|mn[t.charCodeAt(n+1)]<<4|mn[t.charCodeAt(n+2)]>>2,o[u++]=i>>8&255,o[u++]=i&255),o}function tw(t){return Fn[t>>18&63]+Fn[t>>12&63]+Fn[t>>6&63]+Fn[t&63]}function nw(t,n,e){for(var r,i=[],a=n;au?u:s+o));return r===1?(n=t[e-1],i+=Fn[n>>2],i+=Fn[n<<4&63],i+="=="):r===2&&(n=(t[e-2]<<8)+t[e-1],i+=Fn[n>>10],i+=Fn[n>>4&63],i+=Fn[n<<2&63],i+="="),a.push(i),a.join("")}function no(t,n,e,r,i){var a,o,s=i*8-r-1,u=(1<>1,c=-7,d=e?i-1:0,f=e?-1:1,h=t[n+d];for(d+=f,a=h&(1<<-c)-1,h>>=-c,c+=s;c>0;a=a*256+t[n+d],d+=f,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=r;c>0;o=o*256+t[n+d],d+=f,c-=8);if(a===0)a=1-l;else{if(a===u)return o?NaN:(h?-1:1)*Infinity;o=o+Math.pow(2,r),a=a-l}return(h?-1:1)*o*Math.pow(2,a-r)}function uf(t,n,e,r,i,a){var o,s,u,l=a*8-i-1,c=(1<>1,f=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:a-1,p=r?1:-1,g=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===Infinity?(s=isNaN(n)?1:0,o=c):(o=Math.floor(Math.log(n)/Math.LN2),n*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+d>=1?n+=f/u:n+=f*Math.pow(2,1-d),n*u>=2&&(o++,u/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(n*u-1)*Math.pow(2,i),o=o+d):(s=n*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;t[e+h]=s&255,h+=p,s/=256,i-=8);for(o=o<0;t[e+h]=o&255,h+=p,o/=256,l-=8);t[e+h-p]|=g*128}function ro(){return ee.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Wn(t,n){if(ro()=ro())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ro().toString(16)+" bytes");return t|0}function cw(t){return+t!=t&&(t=0),ee.alloc(+t)}function Rn(t){return!!(t!=null&&t._isBuffer)}function mf(t,n){if(Rn(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var e=t.length;if(e===0)return 0;for(var r=!1;;)switch(n){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return oo(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kf(t).length;default:if(r)return oo(t).length;n=(""+n).toLowerCase(),r=!0}}function uw(t,n,e){var r=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,n>>>=0,e<=n))return"";for(t||(t="utf8");;)switch(t){case"hex":return ww(this,n,e);case"utf8":case"utf-8":return bf(this,n,e);case"ascii":return yw(this,n,e);case"latin1":case"binary":return bw(this,n,e);case"base64":return gw(this,n,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ew(this,n,e);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function _r(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function gf(t,n,e,r,i){if(t.length===0)return-1;if(typeof e=="string"?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof n=="string"&&(n=ee.from(n,r)),Rn(n))return n.length===0?-1:vf(t,n,e,r,i);if(typeof n=="number")return n=n&255,ee.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,n,e):Uint8Array.prototype.lastIndexOf.call(t,n,e):vf(t,[n],e,r,i);throw new TypeError("val must be string, number or Buffer")}function vf(t,n,e,r,i){var a=1,o=t.length,s=n.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(t.length<2||n.length<2)return-1;a=2,o/=2,s/=2,e/=2}function u(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}var l;if(i){var c=-1;for(l=e;lo&&(e=o-s),l=e;l>=0;l--){for(var d=!0,f=0;fi&&(r=i)):r=i;var a=n.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o239?4:a>223?3:a>191?2:1;if(i+s<=e){var u,l,c,d;switch(s){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)==128&&(d=(a&31)<<6|u&63,d>127&&(o=d));break;case 3:u=t[i+1],l=t[i+2],(u&192)==128&&(l&192)==128&&(d=(a&15)<<12|(u&63)<<6|l&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:u=t[i+1],l=t[i+2],c=t[i+3],(u&192)==128&&(l&192)==128&&(c&192)==128&&(d=(a&15)<<18|(u&63)<<12|(l&63)<<6|c&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),i+=s}return vw(r)}function vw(t){var n=t.length;if(n<=wf)return String.fromCharCode.apply(String,t);for(var e="",r=0;rr)&&(e=r);for(var i="",a=n;ae)throw new RangeError("Trying to access beyond buffer length")}function qt(t,n,e,r,i,a){if(!Rn(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>i||nt.length)throw new RangeError("Index out of range")}function io(t,n,e,r){n<0&&(n=65535+n+1);for(var i=0,a=Math.min(t.length-e,2);i>>(r?i:1-i)*8}function ao(t,n,e,r){n<0&&(n=4294967295+n+1);for(var i=0,a=Math.min(t.length-e,4);i>>(r?i:3-i)*8&255}function Ef(t,n,e,r,i,a){if(e+r>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Sf(t,n,e,r,i){return i||Ef(t,n,e,4),uf(t,n,e,r,23,4),e+4}function xf(t,n,e,r,i){return i||Ef(t,n,e,8),uf(t,n,e,r,52,8),e+8}function xw(t){if(t=kw(t).replace(Sw,""),t.length<2)return"";for(;t.length%4!=0;)t=t+"=";return t}function kw(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function _w(t){return t<16?"0"+t.toString(16):t.toString(16)}function oo(t,n){n=n||Infinity;for(var e,r=t.length,i=null,a=[],o=0;o55295&&e<57344){if(!i){if(e>56319){(n-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(n-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(n-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(n-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((n-=1)<0)break;a.push(e)}else if(e<2048){if((n-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((n-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((n-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function Tw(t){for(var n=[],e=0;e>8,i=e%256,a.push(i),a.push(r);return a}function kf(t){return ew(xw(t))}function so(t,n,e,r){for(var i=0;i=n.length||i>=t.length);++i)n[i+e]=t[i];return i}function Dw(t){return t!==t}function _f(t){return t!=null&&(!!t._isBuffer||Tf(t)||Cw(t))}function Tf(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Cw(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Tf(t.slice(0,0))}var Fn,mn,Zb,Il,rw,df,ff,iw,wf,Sw,Df=zu(()=>{Fn=[],mn=[],Zb=typeof Uint8Array!="undefined"?Uint8Array:Array,Il=!1;rw={}.toString,df=Array.isArray||function(t){return rw.call(t)=="[object Array]"};ff=50;ee.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:!0;iw=ro();ee.poolSize=8192;ee._augment=function(t){return t.__proto__=ee.prototype,t};ee.from=function(t,n,e){return hf(null,t,n,e)};ee.TYPED_ARRAY_SUPPORT&&(ee.prototype.__proto__=Uint8Array.prototype,ee.__proto__=Uint8Array);ee.alloc=function(t,n,e){return aw(null,t,n,e)};ee.allocUnsafe=function(t){return Ll(null,t)};ee.allocUnsafeSlow=function(t){return Ll(null,t)};ee.isBuffer=_f;ee.compare=function(n,e){if(!Rn(n)||!Rn(e))throw new TypeError("Arguments must be Buffers");if(n===e)return 0;for(var r=n.length,i=e.length,a=0,o=Math.min(r,i);a0&&(n=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(n+=" ... ")),""};ee.prototype.compare=function(n,e,r,i,a){if(!Rn(n))throw new TypeError("Argument must be a Buffer");if(e===void 0&&(e=0),r===void 0&&(r=n?n.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||r>n.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=r)return 0;if(i>=a)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,i>>>=0,a>>>=0,this===n)return 0;for(var o=a-i,s=r-e,u=Math.min(o,s),l=this.slice(i,a),c=n.slice(e,r),d=0;da)&&(r=a),n.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return dw(this,n,e,r);case"utf8":case"utf-8":return fw(this,n,e,r);case"ascii":return yf(this,n,e,r);case"latin1":case"binary":return hw(this,n,e,r);case"base64":return pw(this,n,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mw(this,n,e,r);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};ee.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};wf=4096;ee.prototype.slice=function(n,e){var r=this.length;n=~~n,e=e===void 0?r:~~e,n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(a*=256);)i+=this[n+--e]*a;return i};ee.prototype.readUInt8=function(n,e){return e||Et(n,1,this.length),this[n]};ee.prototype.readUInt16LE=function(n,e){return e||Et(n,2,this.length),this[n]|this[n+1]<<8};ee.prototype.readUInt16BE=function(n,e){return e||Et(n,2,this.length),this[n]<<8|this[n+1]};ee.prototype.readUInt32LE=function(n,e){return e||Et(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216};ee.prototype.readUInt32BE=function(n,e){return e||Et(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])};ee.prototype.readIntLE=function(n,e,r){n=n|0,e=e|0,r||Et(n,e,this.length);for(var i=this[n],a=1,o=0;++o=a&&(i-=Math.pow(2,8*e)),i};ee.prototype.readIntBE=function(n,e,r){n=n|0,e=e|0,r||Et(n,e,this.length);for(var i=e,a=1,o=this[n+--i];i>0&&(a*=256);)o+=this[n+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};ee.prototype.readInt8=function(n,e){return e||Et(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]};ee.prototype.readInt16LE=function(n,e){e||Et(n,2,this.length);var r=this[n]|this[n+1]<<8;return r&32768?r|4294901760:r};ee.prototype.readInt16BE=function(n,e){e||Et(n,2,this.length);var r=this[n+1]|this[n]<<8;return r&32768?r|4294901760:r};ee.prototype.readInt32LE=function(n,e){return e||Et(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24};ee.prototype.readInt32BE=function(n,e){return e||Et(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]};ee.prototype.readFloatLE=function(n,e){return e||Et(n,4,this.length),no(this,n,!0,23,4)};ee.prototype.readFloatBE=function(n,e){return e||Et(n,4,this.length),no(this,n,!1,23,4)};ee.prototype.readDoubleLE=function(n,e){return e||Et(n,8,this.length),no(this,n,!0,52,8)};ee.prototype.readDoubleBE=function(n,e){return e||Et(n,8,this.length),no(this,n,!1,52,8)};ee.prototype.writeUIntLE=function(n,e,r,i){if(n=+n,e=e|0,r=r|0,!i){var a=Math.pow(2,8*r)-1;qt(this,n,e,r,a,0)}var o=1,s=0;for(this[e]=n&255;++s=0&&(s*=256);)this[e+o]=n/s&255;return e+r};ee.prototype.writeUInt8=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,1,255,0),ee.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),this[e]=n&255,e+1};ee.prototype.writeUInt16LE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,2,65535,0),ee.TYPED_ARRAY_SUPPORT?(this[e]=n&255,this[e+1]=n>>>8):io(this,n,e,!0),e+2};ee.prototype.writeUInt16BE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,2,65535,0),ee.TYPED_ARRAY_SUPPORT?(this[e]=n>>>8,this[e+1]=n&255):io(this,n,e,!1),e+2};ee.prototype.writeUInt32LE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,4,4294967295,0),ee.TYPED_ARRAY_SUPPORT?(this[e+3]=n>>>24,this[e+2]=n>>>16,this[e+1]=n>>>8,this[e]=n&255):ao(this,n,e,!0),e+4};ee.prototype.writeUInt32BE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,4,4294967295,0),ee.TYPED_ARRAY_SUPPORT?(this[e]=n>>>24,this[e+1]=n>>>16,this[e+2]=n>>>8,this[e+3]=n&255):ao(this,n,e,!1),e+4};ee.prototype.writeIntLE=function(n,e,r,i){if(n=+n,e=e|0,!i){var a=Math.pow(2,8*r-1);qt(this,n,e,r,a-1,-a)}var o=0,s=1,u=0;for(this[e]=n&255;++o>0)-u&255;return e+r};ee.prototype.writeIntBE=function(n,e,r,i){if(n=+n,e=e|0,!i){var a=Math.pow(2,8*r-1);qt(this,n,e,r,a-1,-a)}var o=r-1,s=1,u=0;for(this[e+o]=n&255;--o>=0&&(s*=256);)n<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(n/s>>0)-u&255;return e+r};ee.prototype.writeInt8=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,1,127,-128),ee.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),n<0&&(n=255+n+1),this[e]=n&255,e+1};ee.prototype.writeInt16LE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,2,32767,-32768),ee.TYPED_ARRAY_SUPPORT?(this[e]=n&255,this[e+1]=n>>>8):io(this,n,e,!0),e+2};ee.prototype.writeInt16BE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,2,32767,-32768),ee.TYPED_ARRAY_SUPPORT?(this[e]=n>>>8,this[e+1]=n&255):io(this,n,e,!1),e+2};ee.prototype.writeInt32LE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,4,2147483647,-2147483648),ee.TYPED_ARRAY_SUPPORT?(this[e]=n&255,this[e+1]=n>>>8,this[e+2]=n>>>16,this[e+3]=n>>>24):ao(this,n,e,!0),e+4};ee.prototype.writeInt32BE=function(n,e,r){return n=+n,e=e|0,r||qt(this,n,e,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),ee.TYPED_ARRAY_SUPPORT?(this[e]=n>>>24,this[e+1]=n>>>16,this[e+2]=n>>>8,this[e+3]=n&255):ao(this,n,e,!1),e+4};ee.prototype.writeFloatLE=function(n,e,r){return Sf(this,n,e,!0,r)};ee.prototype.writeFloatBE=function(n,e,r){return Sf(this,n,e,!1,r)};ee.prototype.writeDoubleLE=function(n,e,r){return xf(this,n,e,!0,r)};ee.prototype.writeDoubleBE=function(n,e,r){return xf(this,n,e,!1,r)};ee.prototype.copy=function(n,e,r,i){if(r||(r=0),!i&&i!==0&&(i=this.length),e>=n.length&&(e=n.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),n.length-e=0;--o)n[o+e]=this[o+r];else if(a<1e3||!ee.TYPED_ARRAY_SUPPORT)for(o=0;o>>0,r=r===void 0?this.length:r>>>0,n||(n=0);var o;if(typeof n=="number")for(o=e;o{var Tr=(Df(),Mf);if(Tr&&Tr.default){lo.exports=Tr.default;for(let t in Tr)lo.exports[t]=Tr[t]}else Tr&&(lo.exports=Tr)});var fo=Fe(Re=>{"use strict";var ur=to(),kt=sf(),Af=Cf().Buffer;window.__TYPEDARRAY_POOL||(window.__TYPEDARRAY_POOL={UINT8:kt([32,0]),UINT16:kt([32,0]),UINT32:kt([32,0]),BIGUINT64:kt([32,0]),INT8:kt([32,0]),INT16:kt([32,0]),INT32:kt([32,0]),BIGINT64:kt([32,0]),FLOAT:kt([32,0]),DOUBLE:kt([32,0]),DATA:kt([32,0]),UINT8C:kt([32,0]),BUFFER:kt([32,0])});var Aw=typeof Uint8ClampedArray!="undefined",Iw=typeof BigUint64Array!="undefined",Lw=typeof BigInt64Array!="undefined",ct=window.__TYPEDARRAY_POOL;ct.UINT8C||(ct.UINT8C=kt([32,0]));ct.BIGUINT64||(ct.BIGUINT64=kt([32,0]));ct.BIGINT64||(ct.BIGINT64=kt([32,0]));ct.BUFFER||(ct.BUFFER=kt([32,0]));var co=ct.DATA,uo=ct.BUFFER;Re.free=function(n){if(Af.isBuffer(n))uo[ur.log2(n.length)].push(n);else{if(Object.prototype.toString.call(n)!=="[object ArrayBuffer]"&&(n=n.buffer),!n)return;var e=n.length||n.byteLength,r=ur.log2(e)|0;co[r].push(n)}};function If(t){if(!!t){var n=t.length||t.byteLength,e=ur.log2(n);co[e].push(t)}}function Pw(t){If(t.buffer)}Re.freeUint8=Re.freeUint16=Re.freeUint32=Re.freeBigUint64=Re.freeInt8=Re.freeInt16=Re.freeInt32=Re.freeBigInt64=Re.freeFloat32=Re.freeFloat=Re.freeFloat64=Re.freeDouble=Re.freeUint8Clamped=Re.freeDataView=Pw;Re.freeArrayBuffer=If;Re.freeBuffer=function(n){uo[ur.log2(n.length)].push(n)};Re.malloc=function(n,e){if(e===void 0||e==="arraybuffer")return Wt(n);switch(e){case"uint8":return Nl(n);case"uint16":return Lf(n);case"uint32":return Pf(n);case"int8":return Of(n);case"int16":return Nf(n);case"int32":return Ff(n);case"float":case"float32":return Rf(n);case"double":case"float64":return Hf(n);case"uint8_clamped":return Bf(n);case"bigint64":return $f(n);case"biguint64":return Kf(n);case"buffer":return jf(n);case"data":case"dataview":return Uf(n);default:return null}return null};function Wt(t){var t=ur.nextPow2(t),n=ur.log2(t),e=co[n];return e.length>0?e.pop():new ArrayBuffer(t)}Re.mallocArrayBuffer=Wt;function Nl(t){return new Uint8Array(Wt(t),0,t)}Re.mallocUint8=Nl;function Lf(t){return new Uint16Array(Wt(2*t),0,t)}Re.mallocUint16=Lf;function Pf(t){return new Uint32Array(Wt(4*t),0,t)}Re.mallocUint32=Pf;function Of(t){return new Int8Array(Wt(t),0,t)}Re.mallocInt8=Of;function Nf(t){return new Int16Array(Wt(2*t),0,t)}Re.mallocInt16=Nf;function Ff(t){return new Int32Array(Wt(4*t),0,t)}Re.mallocInt32=Ff;function Rf(t){return new Float32Array(Wt(4*t),0,t)}Re.mallocFloat32=Re.mallocFloat=Rf;function Hf(t){return new Float64Array(Wt(8*t),0,t)}Re.mallocFloat64=Re.mallocDouble=Hf;function Bf(t){return Aw?new Uint8ClampedArray(Wt(t),0,t):Nl(t)}Re.mallocUint8Clamped=Bf;function Kf(t){return Iw?new BigUint64Array(Wt(8*t),0,t):null}Re.mallocBigUint64=Kf;function $f(t){return Lw?new BigInt64Array(Wt(8*t),0,t):null}Re.mallocBigInt64=$f;function Uf(t){return new DataView(Wt(t),0,t)}Re.mallocDataView=Uf;function jf(t){t=ur.nextPow2(t);var n=ur.log2(t),e=uo[n];return e.length>0?e.pop():new Af(t)}Re.mallocBuffer=jf;Re.clearCache=function(){for(var n=0;n<32;++n)ct.UINT8[n].length=0,ct.UINT16[n].length=0,ct.UINT32[n].length=0,ct.INT8[n].length=0,ct.INT16[n].length=0,ct.INT32[n].length=0,ct.FLOAT[n].length=0,ct.DOUBLE[n].length=0,ct.BIGUINT64[n].length=0,ct.BIGINT64[n].length=0,ct.UINT8C[n].length=0,co[n].length=0,uo[n].length=0}});var Yf=Fe((U1,Wf)=>{"use strict";Wf.exports=Ow;var ho=32;function Ow(t,n){n<=4*ho?po(0,n-1,t):go(0,n-1,t)}function po(t,n,e){for(var r=2*(t+1),i=t+1;i<=n;++i){for(var a=e[r++],o=e[r++],s=i,u=r-2;s-- >t;){var l=e[u-2],c=e[u-1];if(le[n+1]:!0}function mo(t,n,e,r){t*=2;var i=r[t];return i>1,s=o-r,u=o+r,l=i,c=s,d=o,f=u,h=a,p=t+1,g=n-1,w=0;Yn(l,c,e)&&(w=l,l=c,c=w),Yn(f,h,e)&&(w=f,f=h,h=w),Yn(l,d,e)&&(w=l,l=d,d=w),Yn(c,d,e)&&(w=c,c=d,d=w),Yn(l,f,e)&&(w=l,l=f,f=w),Yn(d,f,e)&&(w=d,d=f,f=w),Yn(c,h,e)&&(w=c,c=h,h=w),Yn(c,d,e)&&(w=c,c=d,d=w),Yn(f,h,e)&&(w=f,f=h,h=w);for(var S=e[2*c],_=e[2*c+1],k=e[2*f],P=e[2*f+1],A=2*l,D=2*d,N=2*h,K=2*i,j=2*o,X=2*a,Q=0;Q<2;++Q){var ie=e[A+Q],Y=e[D+Q],J=e[N+Q];e[K+Q]=ie,e[j+Q]=Y,e[X+Q]=J}Vf(s,t,e),Vf(u,n,e);for(var ne=p;ne<=g;++ne)if(mo(ne,S,_,e))ne!==p&&zf(ne,p,e),++p;else if(!mo(ne,k,P,e))for(;;)if(mo(g,k,P,e)){mo(g,S,_,e)?(Nw(ne,p,g,e),++p,--g):(zf(ne,g,e),--g);break}else{if(--g{"use strict";Jf.exports={init:Rw,sweepBipartite:Hw,sweepComplete:Bw,scanBipartite:Kw,scanComplete:$w};var ut=fo(),Fw=to(),vo=Yf(),nn=1<<28,Mr=1024,_t=ut.mallocInt32(Mr),Jn=ut.mallocInt32(Mr),Gn=ut.mallocInt32(Mr),Dr=ut.mallocInt32(Mr),ri=ut.mallocInt32(Mr),Gi=ut.mallocInt32(Mr),Ie=ut.mallocDouble(Mr*8);function Rw(t){var n=Fw.nextPow2(t);_t.length>>1;vo(Ie,_);for(var k=0,P=0,p=0;p<_;++p){var A=Ie[2*p+1]|0;if(A>=nn)A=A-nn|0,ii(Gn,Dr,P--,A);else if(A>=0)ii(_t,Jn,k--,A);else if(A<=-nn){A=-A-nn|0;for(var D=0;D>>1;vo(Ie,_);for(var k=0,P=0,A=0,p=0;p<_;++p){var D=Ie[2*p+1]|0,N=D&1;if(p<_-1&&D>>1==Ie[2*p+3]>>1&&(N=2,p+=1),D<0){for(var K=-(D>>1)-1,j=0;j>1)-1;N===0?ii(_t,Jn,k--,K):N===1?ii(Gn,Dr,P--,K):N===2&&ii(ri,Gi,A--,K)}}}function Kw(t,n,e,r,i,a,o,s,u,l,c,d){var f=0,h=2*t,p=n,g=n+t,w=1,S=1;r?S=nn:w=nn;for(var _=i;_>>1;vo(Ie,D);for(var N=0,_=0;_=nn?(j=!r,k-=nn):(j=!!r,k-=1),j)ai(_t,Jn,N++,k);else{var X=d[k],Q=h*k,ie=c[Q+n+1],Y=c[Q+n+1+t];e:for(var J=0;J>>1;vo(Ie,k);for(var P=0,g=0;g=nn)_t[P++]=w-nn;else{w-=1;var D=c[w],N=f*w,K=l[N+n+1],j=l[N+n+1+t];e:for(var X=0;X=0;--X)if(_t[X]===w){for(var J=X+1;J{"use strict";var Cr="d",oi="ax",Gf="vv",Rl="fp",Qi="es",yo="rs",Hl="re",Xi="rb",Qf="ri",si="rp",bo="bs",Bl="be",Zi="bb",Xf="bi",li="bp",Kl="rv",$l="Q",Ul=[Cr,oi,Gf,yo,Hl,Xi,Qf,bo,Bl,Zi,Xf];function Uw(t,n,e){var r="bruteForce"+(t?"Red":"Blue")+(n?"Flip":"")+(e?"Full":""),i=["function ",r,"(",Ul.join(),"){","var ",Qi,"=2*",Cr,";"],a="for(var i="+yo+","+si+"="+Qi+"*"+yo+";i<"+Hl+";++i,"+si+"+="+Qi+"){var x0="+Xi+"["+oi+"+"+si+"],x1="+Xi+"["+oi+"+"+si+"+"+Cr+"],xi="+Qf+"[i];",o="for(var j="+bo+","+li+"="+Qi+"*"+bo+";j<"+Bl+";++j,"+li+"+="+Qi+"){var y0="+Zi+"["+oi+"+"+li+"],"+(e?"y1="+Zi+"["+oi+"+"+li+"+"+Cr+"],":"")+"yi="+Xf+"[j];";return t?i.push(a,$l,":",o):i.push(o,$l,":",a),e?i.push("if(y1"+Bl+"-"+bo+"){"),t?(a(!0,!1),i.push("}else{"),a(!1,!1)):(i.push("if("+Rl+"){"),a(!0,!0),i.push("}else{"),a(!0,!1),i.push("}}else{if("+Rl+"){"),a(!1,!0),i.push("}else{"),a(!1,!1),i.push("}")),i.push("}}return "+n);var o=e.join("")+i.join(""),s=new Function(o);return s()}jl.partial=Zf(!1);jl.full=Zf(!0)});var zl=Fe((V1,th)=>{"use strict";th.exports=zw;var jw="for(var j=2*a,k=j*c,l=k,m=c,n=b,o=a+b,p=c;d>p;++p,k+=j){var _;if($)if(m===p)m+=1,l+=j;else{for(var s=0;j>s;++s){var t=e[k+s];e[k+s]=e[l],e[l++]=t}var u=f[p];f[p]=f[m],f[m++]=u}}return m";function zw(t,n){var e="abcdef".split("").concat(n),r=[];return t.indexOf("lo")>=0&&r.push("lo=e[k+n]"),t.indexOf("hi")>=0&&r.push("hi=e[k+o]"),e.push(jw.replace("_",r.join()).replace("$",t)),Function.apply(void 0,e)}});var ih=Fe((q1,rh)=>{"use strict";rh.exports=Yw;var Vw=zl(),nh=Vw("loe&&i[d+n]>l;--c,d-=o){for(var f=d,h=d+o,p=0;p>>1,l=2*t,c=u,d=i[l*u+n];o=w?(c=g,d=w):p>=_?(c=h,d=p):(c=S,d=_):w>=_?(c=g,d=w):_>=p?(c=h,d=p):(c=S,d=_);for(var k=l*(s-1),P=l*c,A=0;A{"use strict";uh.exports=sE;var ci=fo(),Vl=to(),ah=eh(),Jw=ah.partial,Gw=ah.full,dr=Fl(),Qw=ih(),ui=zl(),oh=128,Xw=1<<22,Zw=1<<22,eE=ui("!(lo>=p0)&&!(p1>=hi)",["p0","p1"]),sh=ui("lo===p0",["p0"]),tE=ui("lo0;){l-=1;var f=l*ql,h=$t[f],p=$t[f+1],g=$t[f+2],w=$t[f+3],S=$t[f+4],_=$t[f+5],k=l*Wl,P=Ar[k],A=Ar[k+1],D=_&1,N=!!(_&16),K=i,j=a,X=s,Q=u;if(D&&(K=s,j=u,X=i,Q=a),!(_&2&&(g=tE(t,h,p,g,K,j,A),p>=g))&&!(_&4&&(p=nE(t,h,p,g,K,j,P),p>=g))){var ie=g-p,Y=S-w;if(N){if(t*ie*(ie+Y){"use strict";ph.exports=fE;var fr=fo(),wo=Fl(),lE=dh();function cE(t,n){for(var e=0;e>>1;if(!(o<=0)){var s,u=fr.mallocDouble(2*o*i),l=fr.mallocInt32(i);if(i=fh(t,o,u,l),i>0){if(o===1&&r)wo.init(i),s=wo.sweepComplete(o,e,0,i,u,l,0,i,u,l);else{var c=fr.mallocDouble(2*o*a),d=fr.mallocInt32(a);a=fh(n,o,c,d),a>0&&(wo.init(i+a),o===1?s=wo.sweepBipartite(o,e,0,i,u,l,0,a,c,d):s=lE(o,e,r,i,u,l,a,c,d),fr.free(c),fr.free(d))}fr.free(u),fr.free(l)}return s}}}var ea;function hh(t,n){ea.push([t,n])}function uE(t){return ea=[],Eo(t,t,hh,!0),ea}function dE(t,n){return ea=[],Eo(t,n,hh,!1),ea}function fE(t,n,e){var r;switch(arguments.length){case 1:return uE(t);case 2:return typeof n=="function"?Eo(t,t,n,!0):dE(t,n);case 3:return Eo(t,n,e,!1);default:throw new Error("box-intersect: Invalid arguments")}}});var Fh=Fe((G1,_o)=>{var gh,vh,yh,bh,wh,Eh,Sh,xh,kh,xo,Yl,_h,Th,Mh,di,Dh,Ch,Ah,Ih,Lh,Ph,Oh,Nh,ko;(function(t){var n=typeof window=="object"?window:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(r){t(e(n,e(r)))}):typeof _o=="object"&&typeof _o.exports=="object"?t(e(n,e(_o.exports))):t(e(n));function e(r,i){return r!==n&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(a,o){return r[a]=i?i(a,o):o}}})(function(t){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])};gh=function(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(r,i);function a(){this.constructor=r}r.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)},vh=Object.assign||function(r){for(var i,a=1,o=arguments.length;a=0;c--)(l=r[c])&&(u=(s<3?l(u):s>3?l(i,a,u):l(i,a))||u);return s>3&&u&&Object.defineProperty(i,a,u),u},wh=function(r,i){return function(a,o){i(a,o,r)}},Eh=function(r,i){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,i)},Sh=function(r,i,a,o){function s(u){return u instanceof a?u:new a(function(l){l(u)})}return new(a||(a=Promise))(function(u,l){function c(h){try{f(o.next(h))}catch(p){l(p)}}function d(h){try{f(o.throw(h))}catch(p){l(p)}}function f(h){h.done?u(h.value):s(h.value).then(c,d)}f((o=o.apply(r,i||[])).next())})},xh=function(r,i){var a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,s,u,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,s&&(u=f[0]&2?s.return:f[0]?s.throw||((u=s.return)&&u.call(s),0):s.next)&&!(u=u.call(s,f[1])).done)return u;switch(s=0,u&&(f=[f[0]&2,u.value]),f[0]){case 0:case 1:u=f;break;case 4:return a.label++,{value:f[1],done:!1};case 5:a.label++,s=f[1],f=[0];continue;case 7:f=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){a=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},Yl=function(r,i){var a=typeof Symbol=="function"&&r[Symbol.iterator];if(!a)return r;var o=a.call(r),s,u=[],l;try{for(;(i===void 0||i-- >0)&&!(s=o.next()).done;)u.push(s.value)}catch(c){l={error:c}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(l)throw l.error}}return u},_h=function(){for(var r=[],i=0;i1||c(g,w)})})}function c(g,w){try{d(o[g](w))}catch(S){p(u[0][3],S)}}function d(g){g.value instanceof di?Promise.resolve(g.value.v).then(f,h):p(u[0][2],g)}function f(g){c("next",g)}function h(g){c("throw",g)}function p(g,w){g(w),u.shift(),u.length&&c(u[0][0],u[0][1])}},Ch=function(r){var i,a;return i={},o("next"),o("throw",function(s){throw s}),o("return"),i[Symbol.iterator]=function(){return this},i;function o(s,u){i[s]=r[s]?function(l){return(a=!a)?{value:di(r[s](l)),done:s==="return"}:u?u(l):l}:u}},Ah=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r[Symbol.asyncIterator],a;return i?i.call(r):(r=typeof xo=="function"?xo(r):r[Symbol.iterator](),a={},o("next"),o("throw"),o("return"),a[Symbol.asyncIterator]=function(){return this},a);function o(u){a[u]=r[u]&&function(l){return new Promise(function(c,d){l=r[u](l),s(c,d,l.done,l.value)})}}function s(u,l,c,d){Promise.resolve(d).then(function(f){u({value:f,done:c})},l)}},Ih=function(r,i){return Object.defineProperty?Object.defineProperty(r,"raw",{value:i}):r.raw=i,r};var e=Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:!0,value:i})}:function(r,i){r.default=i};Lh=function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)a!=="default"&&Object.prototype.hasOwnProperty.call(r,a)&&ko(i,r,a);return e(i,r),i},Ph=function(r){return r&&r.__esModule?r:{default:r}},Oh=function(r,i,a,o){if(a==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof i=="function"?r!==i||!o:!i.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?o:a==="a"?o.call(r):o?o.value:i.get(r)},Nh=function(r,i,a,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof i=="function"?r!==i||!s:!i.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(r,a):s?s.value=a:i.set(r,a),a},t("__extends",gh),t("__assign",vh),t("__rest",yh),t("__decorate",bh),t("__param",wh),t("__metadata",Eh),t("__awaiter",Sh),t("__generator",xh),t("__exportStar",kh),t("__createBinding",ko),t("__values",xo),t("__read",Yl),t("__spread",_h),t("__spreadArrays",Th),t("__spreadArray",Mh),t("__await",di),t("__asyncGenerator",Dh),t("__asyncDelegator",Ch),t("__asyncValues",Ah),t("__makeTemplateObject",Ih),t("__importStar",Lh),t("__importDefault",Ph),t("__classPrivateFieldGet",Oh),t("__classPrivateFieldSet",Nh)})});var rc=Fe(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});var nt=require("obsidian"),tc="YYYY-MM-DD",nc="gggg-[W]ww",qh="YYYY-MM",Wh="YYYY-[Q]Q",Yh="YYYY";function oa(t){let n=window.app.plugins.getPlugin("periodic-notes");return n&&n.settings?.[t]?.enabled}function sa(){try{let{internalPlugins:t,plugins:n}=window.app;if(oa("daily")){let{format:a,folder:o,template:s}=n.getPlugin("periodic-notes")?.settings?.daily||{};return{format:a||tc,folder:o?.trim()||"",template:s?.trim()||""}}let{folder:e,format:r,template:i}=t.getPluginById("daily-notes")?.instance?.options||{};return{format:r||tc,folder:e?.trim()||"",template:i?.trim()||""}}catch(t){console.info("No custom daily note settings found!",t)}}function la(){try{let t=window.app.plugins,n=t.getPlugin("calendar")?.options,e=t.getPlugin("periodic-notes")?.settings?.weekly;if(oa("weekly"))return{format:e.format||nc,folder:e.folder?.trim()||"",template:e.template?.trim()||""};let r=n||{};return{format:r.weeklyNoteFormat||nc,folder:r.weeklyNoteFolder?.trim()||"",template:r.weeklyNoteTemplate?.trim()||""}}catch(t){console.info("No custom weekly note settings found!",t)}}function ca(){let t=window.app.plugins;try{let n=oa("monthly")&&t.getPlugin("periodic-notes")?.settings?.monthly||{};return{format:n.format||qh,folder:n.folder?.trim()||"",template:n.template?.trim()||""}}catch(n){console.info("No custom monthly note settings found!",n)}}function ua(){let t=window.app.plugins;try{let n=oa("quarterly")&&t.getPlugin("periodic-notes")?.settings?.quarterly||{};return{format:n.format||Wh,folder:n.folder?.trim()||"",template:n.template?.trim()||""}}catch(n){console.info("No custom quarterly note settings found!",n)}}function da(){let t=window.app.plugins;try{let n=oa("yearly")&&t.getPlugin("periodic-notes")?.settings?.yearly||{};return{format:n.format||Yh,folder:n.folder?.trim()||"",template:n.template?.trim()||""}}catch(n){console.info("No custom yearly note settings found!",n)}}function Jh(...t){let n=[];for(let r=0,i=t.length;r{let _=r(),k=t.clone().set({hour:_.get("hour"),minute:_.get("minute"),second:_.get("second")});return p&&k.add(parseInt(g,10),w),S?k.format(S.substring(1).trim()):k.format(a)}).replace(/{{\s*yesterday\s*}}/gi,t.clone().subtract(1,"day").format(a)).replace(/{{\s*tomorrow\s*}}/gi,t.clone().add(1,"d").format(a)));return n.foldManager.save(d,u),d}catch(d){console.error(`Failed to create file: '${c}'`,d),new nt.Notice("Unable to create new file.")}}function AE(t,n){return n[kn(t,"day")]??null}function IE(){let{vault:t}=window.app,{folder:n}=sa(),e=t.getAbstractFileByPath(nt.normalizePath(n));if(!e)throw new Xh("Failed to find daily notes folder");let r={};return nt.Vault.recurseChildren(e,i=>{if(i instanceof nt.TFile){let a=vi(i,"day");if(a){let o=kn(a,"day");r[o]=i}}}),r}var ep=class extends Error{};function LE(){let{moment:t}=window,n=t.localeData()._week.dow,e=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];for(;n;)e.push(e.shift()),n--;return e}function PE(t){return LE().indexOf(t.toLowerCase())}async function tp(t){let{vault:n}=window.app,{template:e,format:r,folder:i}=la(),[a,o]=await gi(e),s=t.format(r),u=await fa(i,s);try{let l=await n.create(u,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(c,d,f,h,p,g)=>{let w=window.moment(),S=t.clone().set({hour:w.get("hour"),minute:w.get("minute"),second:w.get("second")});return f&&S.add(parseInt(h,10),p),g?S.format(g.substring(1).trim()):S.format(r)}).replace(/{{\s*title\s*}}/gi,s).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*(sunday|monday|tuesday|wednesday|thursday|friday|saturday)\s*:(.*?)}}/gi,(c,d,f)=>{let h=PE(d);return t.weekday(h).format(f.trim())}));return window.app.foldManager.save(l,o),l}catch(l){console.error(`Failed to create file: '${u}'`,l),new nt.Notice("Unable to create new file.")}}function OE(t,n){return n[kn(t,"week")]??null}function NE(){let t={};if(!op())return t;let{vault:n}=window.app,{folder:e}=la(),r=n.getAbstractFileByPath(nt.normalizePath(e));if(!r)throw new ep("Failed to find weekly notes folder");return nt.Vault.recurseChildren(r,i=>{if(i instanceof nt.TFile){let a=vi(i,"week");if(a){let o=kn(a,"week");t[o]=i}}}),t}var np=class extends Error{};async function rp(t){let{vault:n}=window.app,{template:e,format:r,folder:i}=ca(),[a,o]=await gi(e),s=t.format(r),u=await fa(i,s);try{let l=await n.create(u,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(c,d,f,h,p,g)=>{let w=window.moment(),S=t.clone().set({hour:w.get("hour"),minute:w.get("minute"),second:w.get("second")});return f&&S.add(parseInt(h,10),p),g?S.format(g.substring(1).trim()):S.format(r)}).replace(/{{\s*date\s*}}/gi,s).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*title\s*}}/gi,s));return window.app.foldManager.save(l,o),l}catch(l){console.error(`Failed to create file: '${u}'`,l),new nt.Notice("Unable to create new file.")}}function FE(t,n){return n[kn(t,"month")]??null}function RE(){let t={};if(!sp())return t;let{vault:n}=window.app,{folder:e}=ca(),r=n.getAbstractFileByPath(nt.normalizePath(e));if(!r)throw new np("Failed to find monthly notes folder");return nt.Vault.recurseChildren(r,i=>{if(i instanceof nt.TFile){let a=vi(i,"month");if(a){let o=kn(a,"month");t[o]=i}}}),t}var ip=class extends Error{};async function HE(t){let{vault:n}=window.app,{template:e,format:r,folder:i}=ua(),[a,o]=await gi(e),s=t.format(r),u=await fa(i,s);try{let l=await n.create(u,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(c,d,f,h,p,g)=>{let w=window.moment(),S=t.clone().set({hour:w.get("hour"),minute:w.get("minute"),second:w.get("second")});return f&&S.add(parseInt(h,10),p),g?S.format(g.substring(1).trim()):S.format(r)}).replace(/{{\s*date\s*}}/gi,s).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*title\s*}}/gi,s));return window.app.foldManager.save(l,o),l}catch(l){console.error(`Failed to create file: '${u}'`,l),new nt.Notice("Unable to create new file.")}}function BE(t,n){return n[kn(t,"quarter")]??null}function KE(){let t={};if(!lp())return t;let{vault:n}=window.app,{folder:e}=ua(),r=n.getAbstractFileByPath(nt.normalizePath(e));if(!r)throw new ip("Failed to find quarterly notes folder");return nt.Vault.recurseChildren(r,i=>{if(i instanceof nt.TFile){let a=vi(i,"quarter");if(a){let o=kn(a,"quarter");t[o]=i}}}),t}var ap=class extends Error{};async function $E(t){let{vault:n}=window.app,{template:e,format:r,folder:i}=da(),[a,o]=await gi(e),s=t.format(r),u=await fa(i,s);try{let l=await n.create(u,a.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(c,d,f,h,p,g)=>{let w=window.moment(),S=t.clone().set({hour:w.get("hour"),minute:w.get("minute"),second:w.get("second")});return f&&S.add(parseInt(h,10),p),g?S.format(g.substring(1).trim()):S.format(r)}).replace(/{{\s*date\s*}}/gi,s).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*title\s*}}/gi,s));return window.app.foldManager.save(l,o),l}catch(l){console.error(`Failed to create file: '${u}'`,l),new nt.Notice("Unable to create new file.")}}function UE(t,n){return n[kn(t,"year")]??null}function jE(){let t={};if(!cp())return t;let{vault:n}=window.app,{folder:e}=da(),r=n.getAbstractFileByPath(nt.normalizePath(e));if(!r)throw new ap("Failed to find yearly notes folder");return nt.Vault.recurseChildren(r,i=>{if(i instanceof nt.TFile){let a=vi(i,"year");if(a){let o=kn(a,"year");t[o]=i}}}),t}function zE(){let{app:t}=window,n=t.internalPlugins.plugins["daily-notes"];if(n&&n.enabled)return!0;let e=t.plugins.getPlugin("periodic-notes");return e&&e.settings?.daily?.enabled}function op(){let{app:t}=window;if(t.plugins.getPlugin("calendar"))return!0;let n=t.plugins.getPlugin("periodic-notes");return n&&n.settings?.weekly?.enabled}function sp(){let{app:t}=window,n=t.plugins.getPlugin("periodic-notes");return n&&n.settings?.monthly?.enabled}function lp(){let{app:t}=window,n=t.plugins.getPlugin("periodic-notes");return n&&n.settings?.quarterly?.enabled}function cp(){let{app:t}=window,n=t.plugins.getPlugin("periodic-notes");return n&&n.settings?.yearly?.enabled}function VE(t){return{day:sa,week:la,month:ca,quarter:ua,year:da}[t]()}function qE(t,n){return{day:Zh,month:rp,week:tp}[t](n)}Ne.DEFAULT_DAILY_NOTE_FORMAT=tc;Ne.DEFAULT_MONTHLY_NOTE_FORMAT=qh;Ne.DEFAULT_QUARTERLY_NOTE_FORMAT=Wh;Ne.DEFAULT_WEEKLY_NOTE_FORMAT=nc;Ne.DEFAULT_YEARLY_NOTE_FORMAT=Yh;Ne.appHasDailyNotesPluginLoaded=zE;Ne.appHasMonthlyNotesPluginLoaded=sp;Ne.appHasQuarterlyNotesPluginLoaded=lp;Ne.appHasWeeklyNotesPluginLoaded=op;Ne.appHasYearlyNotesPluginLoaded=cp;Ne.createDailyNote=Zh;Ne.createMonthlyNote=rp;Ne.createPeriodicNote=qE;Ne.createQuarterlyNote=HE;Ne.createWeeklyNote=tp;Ne.createYearlyNote=$E;Ne.getAllDailyNotes=IE;Ne.getAllMonthlyNotes=RE;Ne.getAllQuarterlyNotes=KE;Ne.getAllWeeklyNotes=NE;Ne.getAllYearlyNotes=jE;Ne.getDailyNote=AE;Ne.getDailyNoteSettings=sa;Ne.getDateFromFile=vi;Ne.getDateFromPath=CE;Ne.getDateUID=kn;Ne.getMonthlyNote=FE;Ne.getMonthlyNoteSettings=ca;Ne.getPeriodicNoteSettings=VE;Ne.getQuarterlyNote=BE;Ne.getQuarterlyNoteSettings=ua;Ne.getTemplateInfo=gi;Ne.getWeeklyNote=OE;Ne.getWeeklyNoteSettings=la;Ne.getYearlyNote=UE;Ne.getYearlyNoteSettings=da});var pp=Fe((Oo,hp)=>{(function(t,n){typeof Oo=="object"&&typeof hp!="undefined"?n(Oo):typeof define=="function"&&define.amd?define(["exports"],n):(t=typeof globalThis!="undefined"?globalThis:t||self,n(t.index={}))})(Oo,function(t){"use strict";var n=function(){return n=Object.assign||function(Je){for(var ht,wn=1,zn=arguments.length;wn3&&Je<21)return"\xE8";switch(Je%10){case 1:return"r";case 2:return"n";case 3:return"r";case 4:return"t";default:return"\xE8"}},firstDayOfWeek:1,time_24hr:!0};w.l10ns.cat=w.l10ns.ca=S,w.l10ns;var _=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},k={weekdays:{shorthand:["Ne","Po","\xDAt","St","\u010Ct","P\xE1","So"],longhand:["Ned\u011Ble","Pond\u011Bl\xED","\xDAter\xFD","St\u0159eda","\u010Ctvrtek","P\xE1tek","Sobota"]},months:{shorthand:["Led","\xDAn","B\u0159e","Dub","Kv\u011B","\u010Cer","\u010Cvc","Srp","Z\xE1\u0159","\u0158\xEDj","Lis","Pro"],longhand:["Leden","\xDAnor","B\u0159ezen","Duben","Kv\u011Bten","\u010Cerven","\u010Cervenec","Srpen","Z\xE1\u0159\xED","\u0158\xEDjen","Listopad","Prosinec"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" do ",weekAbbreviation:"T\xFDd.",scrollTitle:"Rolujte pro zm\u011Bnu",toggleTitle:"P\u0159epnout dopoledne/odpoledne",amPM:["dop.","odp."],yearAriaLabel:"Rok",time_24hr:!0};_.l10ns.cs=k,_.l10ns;var P=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},A={weekdays:{shorthand:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],longhand:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"]},months:{shorthand:["Ion","Chwef","Maw","Ebr","Mai","Meh","Gorff","Awst","Medi","Hyd","Tach","Rhag"],longhand:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"]},firstDayOfWeek:1,ordinal:function(be){return be===1?"af":be===2?"ail":be===3||be===4?"ydd":be===5||be===6?"ed":be>=7&&be<=10||be==12||be==15||be==18||be==20?"fed":be==11||be==13||be==14||be==16||be==17||be==19?"eg":be>=21&&be<=39?"ain":""},time_24hr:!0};P.l10ns.cy=A,P.l10ns;var D=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},N={weekdays:{shorthand:["s\xF8n","man","tir","ons","tors","fre","l\xF8r"],longhand:["s\xF8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xF8rdag"]},months:{shorthand:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],longhand:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},ordinal:function(){return"."},firstDayOfWeek:1,rangeSeparator:" til ",weekAbbreviation:"uge",time_24hr:!0};D.l10ns.da=N,D.l10ns;var K=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},j={weekdays:{shorthand:["So","Mo","Di","Mi","Do","Fr","Sa"],longhand:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},months:{shorthand:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],longhand:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},firstDayOfWeek:1,weekAbbreviation:"KW",rangeSeparator:" bis ",scrollTitle:"Zum \xC4ndern scrollen",toggleTitle:"Zum Umschalten klicken",time_24hr:!0};K.l10ns.de=j,K.l10ns;var X={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(be){var Je=be%100;if(Je>3&&Je<21)return"th";switch(Je%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},Q=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ie={firstDayOfWeek:1,rangeSeparator:" \u011Dis ",weekAbbreviation:"Sem",scrollTitle:"Rulumu por pligrandigi la valoron",toggleTitle:"Klaku por \u015Dalti",weekdays:{shorthand:["Dim","Lun","Mar","Mer","\u0134a\u016D","Ven","Sab"],longhand:["diman\u0109o","lundo","mardo","merkredo","\u0135a\u016Ddo","vendredo","sabato"]},months:{shorthand:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","A\u016Dg","Sep","Okt","Nov","Dec"],longhand:["januaro","februaro","marto","aprilo","majo","junio","julio","a\u016Dgusto","septembro","oktobro","novembro","decembro"]},ordinal:function(){return"-a"},time_24hr:!0};Q.l10ns.eo=ie,Q.l10ns;var Y=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},J={weekdays:{shorthand:["Dom","Lun","Mar","Mi\xE9","Jue","Vie","S\xE1b"],longhand:["Domingo","Lunes","Martes","Mi\xE9rcoles","Jueves","Viernes","S\xE1bado"]},months:{shorthand:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],longhand:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"]},ordinal:function(){return"\xBA"},firstDayOfWeek:1,rangeSeparator:" a ",time_24hr:!0};Y.l10ns.es=J,Y.l10ns;var ne=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},le={weekdays:{shorthand:["P","E","T","K","N","R","L"],longhand:["P\xFChap\xE4ev","Esmasp\xE4ev","Teisip\xE4ev","Kolmap\xE4ev","Neljap\xE4ev","Reede","Laup\xE4ev"]},months:{shorthand:["Jaan","Veebr","M\xE4rts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],longhand:["Jaanuar","Veebruar","M\xE4rts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"]},firstDayOfWeek:1,ordinal:function(){return"."},weekAbbreviation:"N\xE4d",rangeSeparator:" kuni ",scrollTitle:"Keri, et suurendada",toggleTitle:"Kl\xF5psa, et vahetada",time_24hr:!0};ne.l10ns.et=le,ne.l10ns;var de=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},fe={weekdays:{shorthand:["\u06CC\u06A9","\u062F\u0648","\u0633\u0647","\u0686\u0647\u0627\u0631","\u067E\u0646\u062C","\u062C\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"],longhand:["\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647","\u062F\u0648\u0634\u0646\u0628\u0647","\u0633\u0647\u200C\u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067E\u0646\u0686\u200C\u0634\u0646\u0628\u0647","\u062C\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"]},months:{shorthand:["\u0698\u0627\u0646\u0648\u06CC\u0647","\u0641\u0648\u0631\u06CC\u0647","\u0645\u0627\u0631\u0633","\u0622\u0648\u0631\u06CC\u0644","\u0645\u0647","\u0698\u0648\u0626\u0646","\u0698\u0648\u0626\u06CC\u0647","\u0627\u0648\u062A","\u0633\u067E\u062A\u0627\u0645\u0628\u0631","\u0627\u06A9\u062A\u0628\u0631","\u0646\u0648\u0627\u0645\u0628\u0631","\u062F\u0633\u0627\u0645\u0628\u0631"],longhand:["\u0698\u0627\u0646\u0648\u06CC\u0647","\u0641\u0648\u0631\u06CC\u0647","\u0645\u0627\u0631\u0633","\u0622\u0648\u0631\u06CC\u0644","\u0645\u0647","\u0698\u0648\u0626\u0646","\u0698\u0648\u0626\u06CC\u0647","\u0627\u0648\u062A","\u0633\u067E\u062A\u0627\u0645\u0628\u0631","\u0627\u06A9\u062A\u0628\u0631","\u0646\u0648\u0627\u0645\u0628\u0631","\u062F\u0633\u0627\u0645\u0628\u0631"]},firstDayOfWeek:6,ordinal:function(){return""}};de.l10ns.fa=fe,de.l10ns;var he=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Te={firstDayOfWeek:1,weekdays:{shorthand:["Su","Ma","Ti","Ke","To","Pe","La"],longhand:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"]},months:{shorthand:["Tammi","Helmi","Maalis","Huhti","Touko","Kes\xE4","Hein\xE4","Elo","Syys","Loka","Marras","Joulu"],longhand:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kes\xE4kuu","Hein\xE4kuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"]},ordinal:function(){return"."},time_24hr:!0};he.l10ns.fi=Te,he.l10ns;var C=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},I={weekdays:{shorthand:["Sun","M\xE1n","T\xFDs","Mik","H\xF3s","Fr\xED","Ley"],longhand:["Sunnudagur","M\xE1nadagur","T\xFDsdagur","Mikudagur","H\xF3sdagur","Fr\xEDggjadagur","Leygardagur"]},months:{shorthand:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],longhand:["Januar","Februar","Mars","Apr\xEDl","Mai","Juni","Juli","August","Septembur","Oktobur","Novembur","Desembur"]},ordinal:function(){return"."},firstDayOfWeek:1,rangeSeparator:" til ",weekAbbreviation:"vika",scrollTitle:"Rulla fyri at broyta",toggleTitle:"Tr\xFDst fyri at skifta",yearAriaLabel:"\xC1r",time_24hr:!0};C.l10ns.fo=I,C.l10ns;var tt=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},$e={firstDayOfWeek:1,weekdays:{shorthand:["dim","lun","mar","mer","jeu","ven","sam"],longhand:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},months:{shorthand:["janv","f\xE9vr","mars","avr","mai","juin","juil","ao\xFBt","sept","oct","nov","d\xE9c"],longhand:["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]},ordinal:function(be){return be>1?"":"er"},rangeSeparator:" au ",weekAbbreviation:"Sem",scrollTitle:"D\xE9filer pour augmenter la valeur",toggleTitle:"Cliquer pour basculer",time_24hr:!0};tt.l10ns.fr=$e,tt.l10ns;var B=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},z={weekdays:{shorthand:["\u039A\u03C5","\u0394\u03B5","\u03A4\u03C1","\u03A4\u03B5","\u03A0\u03AD","\u03A0\u03B1","\u03A3\u03AC"],longhand:["\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE","\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1","\u03A4\u03C1\u03AF\u03C4\u03B7","\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7","\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7","\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE","\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF"]},months:{shorthand:["\u0399\u03B1\u03BD","\u03A6\u03B5\u03B2","\u039C\u03AC\u03C1","\u0391\u03C0\u03C1","\u039C\u03AC\u03B9","\u0399\u03BF\u03CD","\u0399\u03BF\u03CD","\u0391\u03CD\u03B3","\u03A3\u03B5\u03C0","\u039F\u03BA\u03C4","\u039D\u03BF\u03AD","\u0394\u03B5\u03BA"],longhand:["\u0399\u03B1\u03BD\u03BF\u03C5\u03AC\u03C1\u03B9\u03BF\u03C2","\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03AC\u03C1\u03B9\u03BF\u03C2","\u039C\u03AC\u03C1\u03C4\u03B9\u03BF\u03C2","\u0391\u03C0\u03C1\u03AF\u03BB\u03B9\u03BF\u03C2","\u039C\u03AC\u03B9\u03BF\u03C2","\u0399\u03BF\u03CD\u03BD\u03B9\u03BF\u03C2","\u0399\u03BF\u03CD\u03BB\u03B9\u03BF\u03C2","\u0391\u03CD\u03B3\u03BF\u03C5\u03C3\u03C4\u03BF\u03C2","\u03A3\u03B5\u03C0\u03C4\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2","\u039F\u03BA\u03C4\u03CE\u03B2\u03C1\u03B9\u03BF\u03C2","\u039D\u03BF\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2","\u0394\u03B5\u03BA\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2"]},firstDayOfWeek:1,ordinal:function(){return""},weekAbbreviation:"\u0395\u03B2\u03B4",rangeSeparator:" \u03AD\u03C9\u03C2 ",scrollTitle:"\u039C\u03B5\u03C4\u03B1\u03BA\u03C5\u03BB\u03AE\u03C3\u03C4\u03B5 \u03B3\u03B9\u03B1 \u03C0\u03C1\u03BF\u03C3\u03B1\u03CD\u03BE\u03B7\u03C3\u03B7",toggleTitle:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AE",amPM:["\u03A0\u039C","\u039C\u039C"]};B.l10ns.gr=z,B.l10ns;var U=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},G={weekdays:{shorthand:["\u05D0","\u05D1","\u05D2","\u05D3","\u05D4","\u05D5","\u05E9"],longhand:["\u05E8\u05D0\u05E9\u05D5\u05DF","\u05E9\u05E0\u05D9","\u05E9\u05DC\u05D9\u05E9\u05D9","\u05E8\u05D1\u05D9\u05E2\u05D9","\u05D7\u05DE\u05D9\u05E9\u05D9","\u05E9\u05D9\u05E9\u05D9","\u05E9\u05D1\u05EA"]},months:{shorthand:["\u05D9\u05E0\u05D5\u05F3","\u05E4\u05D1\u05E8\u05F3","\u05DE\u05E8\u05E5","\u05D0\u05E4\u05E8\u05F3","\u05DE\u05D0\u05D9","\u05D9\u05D5\u05E0\u05D9","\u05D9\u05D5\u05DC\u05D9","\u05D0\u05D5\u05D2\u05F3","\u05E1\u05E4\u05D8\u05F3","\u05D0\u05D5\u05E7\u05F3","\u05E0\u05D5\u05D1\u05F3","\u05D3\u05E6\u05DE\u05F3"],longhand:["\u05D9\u05E0\u05D5\u05D0\u05E8","\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8","\u05DE\u05E8\u05E5","\u05D0\u05E4\u05E8\u05D9\u05DC","\u05DE\u05D0\u05D9","\u05D9\u05D5\u05E0\u05D9","\u05D9\u05D5\u05DC\u05D9","\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8","\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8","\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8","\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8","\u05D3\u05E6\u05DE\u05D1\u05E8"]},rangeSeparator:" \u05D0\u05DC ",time_24hr:!0};U.l10ns.he=G,U.l10ns;var we=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Ee={weekdays:{shorthand:["\u0930\u0935\u093F","\u0938\u094B\u092E","\u092E\u0902\u0917\u0932","\u092C\u0941\u0927","\u0917\u0941\u0930\u0941","\u0936\u0941\u0915\u094D\u0930","\u0936\u0928\u093F"],longhand:["\u0930\u0935\u093F\u0935\u093E\u0930","\u0938\u094B\u092E\u0935\u093E\u0930","\u092E\u0902\u0917\u0932\u0935\u093E\u0930","\u092C\u0941\u0927\u0935\u093E\u0930","\u0917\u0941\u0930\u0941\u0935\u093E\u0930","\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930","\u0936\u0928\u093F\u0935\u093E\u0930"]},months:{shorthand:["\u091C\u0928","\u092B\u0930","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0947\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0942\u0932\u093E\u0908","\u0905\u0917","\u0938\u093F\u0924","\u0905\u0915\u094D\u091F","\u0928\u0935","\u0926\u093F"],longhand:["\u091C\u0928\u0935\u0930\u0940 ","\u092B\u0930\u0935\u0930\u0940","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0947\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0942\u0932\u093E\u0908","\u0905\u0917\u0938\u094D\u0924 ","\u0938\u093F\u0924\u092E\u094D\u092C\u0930","\u0905\u0915\u094D\u091F\u0942\u092C\u0930","\u0928\u0935\u092E\u094D\u092C\u0930","\u0926\u093F\u0938\u092E\u094D\u092C\u0930"]}};we.l10ns.hi=Ee,we.l10ns;var Pe=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},rt={firstDayOfWeek:1,weekdays:{shorthand:["Ned","Pon","Uto","Sri","\u010Cet","Pet","Sub"],longhand:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010Cetvrtak","Petak","Subota"]},months:{shorthand:["Sij","Velj","O\u017Eu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],longhand:["Sije\u010Danj","Velja\u010Da","O\u017Eujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"]},time_24hr:!0};Pe.l10ns.hr=rt,Pe.l10ns;var gt=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},dt={firstDayOfWeek:1,weekdays:{shorthand:["V","H","K","Sz","Cs","P","Szo"],longhand:["Vas\xE1rnap","H\xE9tf\u0151","Kedd","Szerda","Cs\xFCt\xF6rt\xF6k","P\xE9ntek","Szombat"]},months:{shorthand:["Jan","Feb","M\xE1r","\xC1pr","M\xE1j","J\xFAn","J\xFAl","Aug","Szep","Okt","Nov","Dec"],longhand:["Janu\xE1r","Febru\xE1r","M\xE1rcius","\xC1prilis","M\xE1jus","J\xFAnius","J\xFAlius","Augusztus","Szeptember","Okt\xF3ber","November","December"]},ordinal:function(){return"."},weekAbbreviation:"H\xE9t",scrollTitle:"G\xF6rgessen",toggleTitle:"Kattintson a v\xE1lt\xE1shoz",rangeSeparator:" - ",time_24hr:!0};gt.l10ns.hu=dt,gt.l10ns;var un=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},dn={weekdays:{shorthand:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],longhand:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},months:{shorthand:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],longhand:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},firstDayOfWeek:1,ordinal:function(){return""},time_24hr:!0,rangeSeparator:" - "};un.l10ns.id=dn,un.l10ns;var Xt=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Ct={weekdays:{shorthand:["Sun","M\xE1n","\xDEri","Mi\xF0","Fim","F\xF6s","Lau"],longhand:["Sunnudagur","M\xE1nudagur","\xDEri\xF0judagur","Mi\xF0vikudagur","Fimmtudagur","F\xF6studagur","Laugardagur"]},months:{shorthand:["Jan","Feb","Mar","Apr","Ma\xED","J\xFAn","J\xFAl","\xC1g\xFA","Sep","Okt","N\xF3v","Des"],longhand:["Jan\xFAar","Febr\xFAar","Mars","Apr\xEDl","Ma\xED","J\xFAn\xED","J\xFAl\xED","\xC1g\xFAst","September","Okt\xF3ber","N\xF3vember","Desember"]},ordinal:function(){return"."},firstDayOfWeek:1,rangeSeparator:" til ",weekAbbreviation:"vika",yearAriaLabel:"\xC1r",time_24hr:!0};Xt.l10ns.is=Ct,Xt.l10ns;var Zt=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Kn={weekdays:{shorthand:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],longhand:["Domenica","Luned\xEC","Marted\xEC","Mercoled\xEC","Gioved\xEC","Venerd\xEC","Sabato"]},months:{shorthand:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],longhand:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"]},firstDayOfWeek:1,ordinal:function(){return"\xB0"},rangeSeparator:" al ",weekAbbreviation:"Se",scrollTitle:"Scrolla per aumentare",toggleTitle:"Clicca per cambiare",time_24hr:!0};Zt.l10ns.it=Kn,Zt.l10ns;var Mn=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},yn={weekdays:{shorthand:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],longhand:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"]},months:{shorthand:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],longhand:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},time_24hr:!0,rangeSeparator:" \u304B\u3089 ",monthAriaLabel:"\u6708",amPM:["\u5348\u524D","\u5348\u5F8C"],yearAriaLabel:"\u5E74",hourAriaLabel:"\u6642\u9593",minuteAriaLabel:"\u5206"};Mn.l10ns.ja=yn,Mn.l10ns;var $n=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},fn={weekdays:{shorthand:["\u10D9\u10D5","\u10DD\u10E0","\u10E1\u10D0","\u10DD\u10D7","\u10EE\u10E3","\u10DE\u10D0","\u10E8\u10D0"],longhand:["\u10D9\u10D5\u10D8\u10E0\u10D0","\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8","\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8","\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8","\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8","\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8","\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8"]},months:{shorthand:["\u10D8\u10D0\u10DC","\u10D7\u10D4\u10D1","\u10DB\u10D0\u10E0","\u10D0\u10DE\u10E0","\u10DB\u10D0\u10D8","\u10D8\u10D5\u10DC","\u10D8\u10D5\u10DA","\u10D0\u10D2\u10D5","\u10E1\u10D4\u10E5","\u10DD\u10E5\u10E2","\u10DC\u10DD\u10D4","\u10D3\u10D4\u10D9"],longhand:["\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8","\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8","\u10DB\u10D0\u10E0\u10E2\u10D8","\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8","\u10DB\u10D0\u10D8\u10E1\u10D8","\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8","\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8","\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD","\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8","\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8","\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8","\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" \u2014 ",weekAbbreviation:"\u10D9\u10D5.",scrollTitle:"\u10D3\u10D0\u10E1\u10E5\u10E0\u10DD\u10DA\u10D4\u10D7 \u10D2\u10D0\u10E1\u10D0\u10D3\u10D8\u10D3\u10D4\u10D1\u10DA\u10D0\u10D3",toggleTitle:"\u10D3\u10D0\u10D0\u10D9\u10DA\u10D8\u10D9\u10D4\u10D7 \u10D2\u10D0\u10D3\u10D0\u10E0\u10D7\u10D5\u10D8\u10E1\u10D7\u10D5\u10D8\u10E1",amPM:["AM","PM"],yearAriaLabel:"\u10EC\u10D4\u10DA\u10D8",time_24hr:!0};$n.l10ns.ka=fn,$n.l10ns;var yt=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},At={weekdays:{shorthand:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],longhand:["\uC77C\uC694\uC77C","\uC6D4\uC694\uC77C","\uD654\uC694\uC77C","\uC218\uC694\uC77C","\uBAA9\uC694\uC77C","\uAE08\uC694\uC77C","\uD1A0\uC694\uC77C"]},months:{shorthand:["1\uC6D4","2\uC6D4","3\uC6D4","4\uC6D4","5\uC6D4","6\uC6D4","7\uC6D4","8\uC6D4","9\uC6D4","10\uC6D4","11\uC6D4","12\uC6D4"],longhand:["1\uC6D4","2\uC6D4","3\uC6D4","4\uC6D4","5\uC6D4","6\uC6D4","7\uC6D4","8\uC6D4","9\uC6D4","10\uC6D4","11\uC6D4","12\uC6D4"]},ordinal:function(){return"\uC77C"},rangeSeparator:" ~ "};yt.l10ns.ko=At,yt.l10ns;var it=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},V={weekdays:{shorthand:["\u17A2\u17B6\u1791\u17B7\u178F\u17D2\u1799","\u1785\u1793\u17D2\u1791","\u17A2\u1784\u17D2\u1782\u17B6\u179A","\u1796\u17BB\u1792","\u1796\u17D2\u179A\u17A0\u179F.","\u179F\u17BB\u1780\u17D2\u179A","\u179F\u17C5\u179A\u17CD"],longhand:["\u17A2\u17B6\u1791\u17B7\u178F\u17D2\u1799","\u1785\u1793\u17D2\u1791","\u17A2\u1784\u17D2\u1782\u17B6\u179A","\u1796\u17BB\u1792","\u1796\u17D2\u179A\u17A0\u179F\u17D2\u1794\u178F\u17B7\u17CD","\u179F\u17BB\u1780\u17D2\u179A","\u179F\u17C5\u179A\u17CD"]},months:{shorthand:["\u1798\u1780\u179A\u17B6","\u1780\u17BB\u1798\u17D2\u1797\u17C7","\u1798\u17B8\u1793\u17B6","\u1798\u17C1\u179F\u17B6","\u17A7\u179F\u1797\u17B6","\u1798\u17B7\u1790\u17BB\u1793\u17B6","\u1780\u1780\u17D2\u1780\u178A\u17B6","\u179F\u17B8\u17A0\u17B6","\u1780\u1789\u17D2\u1789\u17B6","\u178F\u17BB\u179B\u17B6","\u179C\u17B7\u1785\u17D2\u1786\u17B7\u1780\u17B6","\u1792\u17D2\u1793\u17BC"],longhand:["\u1798\u1780\u179A\u17B6","\u1780\u17BB\u1798\u17D2\u1797\u17C7","\u1798\u17B8\u1793\u17B6","\u1798\u17C1\u179F\u17B6","\u17A7\u179F\u1797\u17B6","\u1798\u17B7\u1790\u17BB\u1793\u17B6","\u1780\u1780\u17D2\u1780\u178A\u17B6","\u179F\u17B8\u17A0\u17B6","\u1780\u1789\u17D2\u1789\u17B6","\u178F\u17BB\u179B\u17B6","\u179C\u17B7\u1785\u17D2\u1786\u17B7\u1780\u17B6","\u1792\u17D2\u1793\u17BC"]},ordinal:function(){return""},firstDayOfWeek:1,rangeSeparator:" \u178A\u179B\u17CB ",weekAbbreviation:"\u179F\u1794\u17D2\u178F\u17B6\u17A0\u17CD",scrollTitle:"\u179A\u17C6\u1780\u17B7\u179B\u178A\u17BE\u1798\u17D2\u1794\u17B8\u1794\u1784\u17D2\u1780\u17BE\u1793",toggleTitle:"\u1785\u17BB\u1785\u178A\u17BE\u1798\u17D2\u1794\u17B8\u1795\u17D2\u179B\u17B6\u179F\u17CB\u1794\u17D2\u178A\u17BC\u179A",yearAriaLabel:"\u1786\u17D2\u1793\u17B6\u17C6",time_24hr:!0};it.l10ns.km=V,it.l10ns;var re=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ye={weekdays:{shorthand:["\u0416\u0441","\u0414\u0441","\u0421c","\u0421\u0440","\u0411\u0441","\u0416\u043C","\u0421\u0431"],longhand:["\u0416\u0435\u043A\u0441\u0435\u043D\u0431i","\u0414\u04AF\u0439\u0441\u0435\u043D\u0431i","\u0421\u0435\u0439\u0441\u0435\u043D\u0431i","\u0421\u04D9\u0440\u0441\u0435\u043D\u0431i","\u0411\u0435\u0439\u0441\u0435\u043D\u0431i","\u0416\u04B1\u043C\u0430","\u0421\u0435\u043D\u0431i"]},months:{shorthand:["\u049A\u0430\u04A3","\u0410\u049B\u043F","\u041D\u0430\u0443","\u0421\u04D9\u0443","\u041C\u0430\u043C","\u041C\u0430\u0443","\u0428i\u043B","\u0422\u0430\u043C","\u049A\u044B\u0440","\u049A\u0430\u0437","\u049A\u0430\u0440","\u0416\u0435\u043B"],longhand:["\u049A\u0430\u04A3\u0442\u0430\u0440","\u0410\u049B\u043F\u0430\u043D","\u041D\u0430\u0443\u0440\u044B\u0437","\u0421\u04D9\u0443i\u0440","\u041C\u0430\u043C\u044B\u0440","\u041C\u0430\u0443\u0441\u044B\u043C","\u0428i\u043B\u0434\u0435","\u0422\u0430\u043C\u044B\u0437","\u049A\u044B\u0440\u043A\u04AF\u0439\u0435\u043A","\u049A\u0430\u0437\u0430\u043D","\u049A\u0430\u0440\u0430\u0448\u0430","\u0416\u0435\u043B\u0442\u043E\u049B\u0441\u0430\u043D"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" \u2014 ",weekAbbreviation:"\u0410\u043F\u0442\u0430",scrollTitle:"\u04AE\u043B\u043A\u0435\u0439\u0442\u0443 \u04AF\u0448\u0456\u043D \u0430\u0439\u043D\u0430\u043B\u0434\u044B\u0440\u044B\u04A3\u044B\u0437",toggleTitle:"\u0410\u0443\u044B\u0441\u0442\u044B\u0440\u0443 \u04AF\u0448\u0456\u043D \u0431\u0430\u0441\u044B\u04A3\u044B\u0437",amPM:["\u0422\u0414","\u0422\u041A"],yearAriaLabel:"\u0416\u044B\u043B"};re.l10ns.kz=ye,re.l10ns;var Be=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ft={weekdays:{shorthand:["S","Pr","A","T","K","Pn","\u0160"],longhand:["Sekmadienis","Pirmadienis","Antradienis","Tre\u010Diadienis","Ketvirtadienis","Penktadienis","\u0160e\u0161tadienis"]},months:{shorthand:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd"],longhand:["Sausis","Vasaris","Kovas","Balandis","Gegu\u017E\u0117","Bir\u017Eelis","Liepa","Rugpju\u0304tis","Rugse\u0307jis","Spalis","Lapkritis","Gruodis"]},firstDayOfWeek:1,ordinal:function(){return"-a"},rangeSeparator:" iki ",weekAbbreviation:"Sav",scrollTitle:"Keisti laik\u0105 pel\u0117s rateliu",toggleTitle:"Perjungti laiko format\u0105",time_24hr:!0};Be.l10ns.lt=ft,Be.l10ns;var Ke=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Ue={firstDayOfWeek:1,weekdays:{shorthand:["Sv","Pr","Ot","Tr","Ce","Pk","Se"],longhand:["Sv\u0113tdiena","Pirmdiena","Otrdiena","Tre\u0161diena","Ceturtdiena","Piektdiena","Sestdiena"]},months:{shorthand:["Jan","Feb","Mar","Apr","Mai","J\u016Bn","J\u016Bl","Aug","Sep","Okt","Nov","Dec"],longhand:["Janv\u0101ris","Febru\u0101ris","Marts","Apr\u012Blis","Maijs","J\u016Bnijs","J\u016Blijs","Augusts","Septembris","Oktobris","Novembris","Decembris"]},rangeSeparator:" l\u012Bdz ",time_24hr:!0};Ke.l10ns.lv=Ue,Ke.l10ns;var Ge=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Vt={weekdays:{shorthand:["\u041D\u0435","\u041F\u043E","\u0412\u0442","\u0421\u0440","\u0427\u0435","\u041F\u0435","\u0421\u0430"],longhand:["\u041D\u0435\u0434\u0435\u043B\u0430","\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A","\u0412\u0442\u043E\u0440\u043D\u0438\u043A","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u043E\u043A","\u041F\u0435\u0442\u043E\u043A","\u0421\u0430\u0431\u043E\u0442\u0430"]},months:{shorthand:["\u0408\u0430\u043D","\u0424\u0435\u0432","\u041C\u0430\u0440","\u0410\u043F\u0440","\u041C\u0430\u0458","\u0408\u0443\u043D","\u0408\u0443\u043B","\u0410\u0432\u0433","\u0421\u0435\u043F","\u041E\u043A\u0442","\u041D\u043E\u0435","\u0414\u0435\u043A"],longhand:["\u0408\u0430\u043D\u0443\u0430\u0440\u0438","\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0438\u043B","\u041C\u0430\u0458","\u0408\u0443\u043D\u0438","\u0408\u0443\u043B\u0438","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438","\u041E\u043A\u0442\u043E\u043C\u0432\u0440\u0438","\u041D\u043E\u0435\u043C\u0432\u0440\u0438","\u0414\u0435\u043A\u0435\u043C\u0432\u0440\u0438"]},firstDayOfWeek:1,weekAbbreviation:"\u041D\u0435\u0434.",rangeSeparator:" \u0434\u043E ",time_24hr:!0};Ge.l10ns.mk=Vt,Ge.l10ns;var It=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Ye={firstDayOfWeek:1,weekdays:{shorthand:["\u0414\u0430","\u041C\u044F","\u041B\u0445","\u041F\u04AF","\u0411\u0430","\u0411\u044F","\u041D\u044F"],longhand:["\u0414\u0430\u0432\u0430\u0430","\u041C\u044F\u0433\u043C\u0430\u0440","\u041B\u0445\u0430\u0433\u0432\u0430","\u041F\u04AF\u0440\u044D\u0432","\u0411\u0430\u0430\u0441\u0430\u043D","\u0411\u044F\u043C\u0431\u0430","\u041D\u044F\u043C"]},months:{shorthand:["1-\u0440 \u0441\u0430\u0440","2-\u0440 \u0441\u0430\u0440","3-\u0440 \u0441\u0430\u0440","4-\u0440 \u0441\u0430\u0440","5-\u0440 \u0441\u0430\u0440","6-\u0440 \u0441\u0430\u0440","7-\u0440 \u0441\u0430\u0440","8-\u0440 \u0441\u0430\u0440","9-\u0440 \u0441\u0430\u0440","10-\u0440 \u0441\u0430\u0440","11-\u0440 \u0441\u0430\u0440","12-\u0440 \u0441\u0430\u0440"],longhand:["\u041D\u044D\u0433\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440","\u0425\u043E\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u0414\u04E9\u0440\u04E9\u0432\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440","\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u0417\u0443\u0440\u0433\u0430\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u0414\u043E\u043B\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u041D\u0430\u0439\u043C\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u0415\u0441\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440","\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440","\u0410\u0440\u0432\u0430\u043D\u043D\u044D\u0433\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440","\u0410\u0440\u0432\u0430\u043D\u0445\u043E\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440"]},rangeSeparator:"-\u0441 ",time_24hr:!0};It.l10ns.mn=Ye,It.l10ns;var St=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Lt={weekdays:{shorthand:["Min","Isn","Sel","Rab","Kha","Jum","Sab"],longhand:["Minggu","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},months:{shorthand:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],longhand:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},firstDayOfWeek:1,ordinal:function(){return""}};St.l10ns;var jr=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},x={weekdays:{shorthand:["\u1014\u103D\u1031","\u101C\u102C","\u1002\u102B","\u101F\u1030\u1038","\u1000\u103C\u102C","\u101E\u1031\u102C","\u1014\u1031"],longhand:["\u1010\u1014\u1004\u103A\u1039\u1002\u1014\u103D\u1031","\u1010\u1014\u1004\u103A\u1039\u101C\u102C","\u1021\u1004\u103A\u1039\u1002\u102B","\u1017\u102F\u1012\u1039\u1013\u101F\u1030\u1038","\u1000\u103C\u102C\u101E\u1015\u1010\u1031\u1038","\u101E\u1031\u102C\u1000\u103C\u102C","\u1005\u1014\u1031"]},months:{shorthand:["\u1007\u1014\u103A","\u1016\u1031","\u1019\u1010\u103A","\u1015\u103C\u102E","\u1019\u1031","\u1007\u103D\u1014\u103A","\u101C\u102D\u102F\u1004\u103A","\u101E\u103C","\u1005\u1000\u103A","\u1021\u1031\u102C\u1000\u103A","\u1014\u102D\u102F","\u1012\u102E"],longhand:["\u1007\u1014\u103A\u1014\u101D\u102B\u101B\u102E","\u1016\u1031\u1016\u1031\u102C\u103A\u101D\u102B\u101B\u102E","\u1019\u1010\u103A","\u1027\u1015\u103C\u102E","\u1019\u1031","\u1007\u103D\u1014\u103A","\u1007\u1030\u101C\u102D\u102F\u1004\u103A","\u101E\u103C\u1002\u102F\u1010\u103A","\u1005\u1000\u103A\u1010\u1004\u103A\u1018\u102C","\u1021\u1031\u102C\u1000\u103A\u1010\u102D\u102F\u1018\u102C","\u1014\u102D\u102F\u101D\u1004\u103A\u1018\u102C","\u1012\u102E\u1007\u1004\u103A\u1018\u102C"]},firstDayOfWeek:1,ordinal:function(){return""},time_24hr:!0};jr.l10ns.my=x,jr.l10ns;var T=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},H={weekdays:{shorthand:["zo","ma","di","wo","do","vr","za"],longhand:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},months:{shorthand:["jan","feb","mrt","apr","mei","jun","jul","aug","sept","okt","nov","dec"],longhand:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},firstDayOfWeek:1,weekAbbreviation:"wk",rangeSeparator:" t/m ",scrollTitle:"Scroll voor volgende / vorige",toggleTitle:"Klik om te wisselen",time_24hr:!0,ordinal:function(be){return be===1||be===8||be>=20?"ste":"de"}};T.l10ns.nl=H,T.l10ns;var W=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ae={weekdays:{shorthand:["S\xF8n","Man","Tir","Ons","Tor","Fre","L\xF8r"],longhand:["S\xF8ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L\xF8rdag"]},months:{shorthand:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],longhand:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"]},firstDayOfWeek:1,rangeSeparator:" til ",weekAbbreviation:"Uke",scrollTitle:"Scroll for \xE5 endre",toggleTitle:"Klikk for \xE5 veksle",time_24hr:!0,ordinal:function(){return"."}};W.l10ns.no=ae,W.l10ns;var Z=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ce={weekdays:{shorthand:["\u0A10\u0A24","\u0A38\u0A4B\u0A2E","\u0A2E\u0A70\u0A17\u0A32","\u0A2C\u0A41\u0A71\u0A27","\u0A35\u0A40\u0A30","\u0A38\u0A3C\u0A41\u0A71\u0A15\u0A30","\u0A38\u0A3C\u0A28\u0A3F\u0A71\u0A1A\u0A30"],longhand:["\u0A10\u0A24\u0A35\u0A3E\u0A30","\u0A38\u0A4B\u0A2E\u0A35\u0A3E\u0A30","\u0A2E\u0A70\u0A17\u0A32\u0A35\u0A3E\u0A30","\u0A2C\u0A41\u0A71\u0A27\u0A35\u0A3E\u0A30","\u0A35\u0A40\u0A30\u0A35\u0A3E\u0A30","\u0A38\u0A3C\u0A41\u0A71\u0A15\u0A30\u0A35\u0A3E\u0A30","\u0A38\u0A3C\u0A28\u0A3F\u0A71\u0A1A\u0A30\u0A35\u0A3E\u0A30"]},months:{shorthand:["\u0A1C\u0A28","\u0A2B\u0A3C\u0A30","\u0A2E\u0A3E\u0A30","\u0A05\u0A2A\u0A4D\u0A30\u0A48","\u0A2E\u0A08","\u0A1C\u0A42\u0A28","\u0A1C\u0A41\u0A32\u0A3E","\u0A05\u0A17","\u0A38\u0A24\u0A70","\u0A05\u0A15","\u0A28\u0A35\u0A70","\u0A26\u0A38\u0A70"],longhand:["\u0A1C\u0A28\u0A35\u0A30\u0A40","\u0A2B\u0A3C\u0A30\u0A35\u0A30\u0A40","\u0A2E\u0A3E\u0A30\u0A1A","\u0A05\u0A2A\u0A4D\u0A30\u0A48\u0A32","\u0A2E\u0A08","\u0A1C\u0A42\u0A28","\u0A1C\u0A41\u0A32\u0A3E\u0A08","\u0A05\u0A17\u0A38\u0A24","\u0A38\u0A24\u0A70\u0A2C\u0A30","\u0A05\u0A15\u0A24\u0A42\u0A2C\u0A30","\u0A28\u0A35\u0A70\u0A2C\u0A30","\u0A26\u0A38\u0A70\u0A2C\u0A30"]},time_24hr:!0};Z.l10ns.pa=ce,Z.l10ns;var ue=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},_e={weekdays:{shorthand:["Nd","Pn","Wt","\u015Ar","Cz","Pt","So"],longhand:["Niedziela","Poniedzia\u0142ek","Wtorek","\u015Aroda","Czwartek","Pi\u0105tek","Sobota"]},months:{shorthand:["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Pa\u017A","Lis","Gru"],longhand:["Stycze\u0144","Luty","Marzec","Kwiecie\u0144","Maj","Czerwiec","Lipiec","Sierpie\u0144","Wrzesie\u0144","Pa\u017Adziernik","Listopad","Grudzie\u0144"]},rangeSeparator:" do ",weekAbbreviation:"tydz.",scrollTitle:"Przewi\u0144, aby zwi\u0119kszy\u0107",toggleTitle:"Kliknij, aby prze\u0142\u0105czy\u0107",firstDayOfWeek:1,time_24hr:!0,ordinal:function(){return"."}};ue.l10ns.pl=_e,ue.l10ns;var De=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ze={weekdays:{shorthand:["Dom","Seg","Ter","Qua","Qui","Sex","S\xE1b"],longhand:["Domingo","Segunda-feira","Ter\xE7a-feira","Quarta-feira","Quinta-feira","Sexta-feira","S\xE1bado"]},months:{shorthand:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],longhand:["Janeiro","Fevereiro","Mar\xE7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"]},rangeSeparator:" at\xE9 ",time_24hr:!0};De.l10ns.pt=ze,De.l10ns;var xt=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},lt={weekdays:{shorthand:["Dum","Lun","Mar","Mie","Joi","Vin","S\xE2m"],longhand:["Duminic\u0103","Luni","Mar\u021Bi","Miercuri","Joi","Vineri","S\xE2mb\u0103t\u0103"]},months:{shorthand:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Noi","Dec"],longhand:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"]},firstDayOfWeek:1,time_24hr:!0,ordinal:function(){return""}};xt.l10ns.ro=lt,xt.l10ns;var Un=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Pt={weekdays:{shorthand:["\u0412\u0441","\u041F\u043D","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041F\u0442","\u0421\u0431"],longhand:["\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0412\u0442\u043E\u0440\u043D\u0438\u043A","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041F\u044F\u0442\u043D\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043E\u0442\u0430"]},months:{shorthand:["\u042F\u043D\u0432","\u0424\u0435\u0432","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440","\u041C\u0430\u0439","\u0418\u044E\u043D\u044C","\u0418\u044E\u043B\u044C","\u0410\u0432\u0433","\u0421\u0435\u043D","\u041E\u043A\u0442","\u041D\u043E\u044F","\u0414\u0435\u043A"],longhand:["\u042F\u043D\u0432\u0430\u0440\u044C","\u0424\u0435\u0432\u0440\u0430\u043B\u044C","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0435\u043B\u044C","\u041C\u0430\u0439","\u0418\u044E\u043D\u044C","\u0418\u044E\u043B\u044C","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u041E\u043A\u0442\u044F\u0431\u0440\u044C","\u041D\u043E\u044F\u0431\u0440\u044C","\u0414\u0435\u043A\u0430\u0431\u0440\u044C"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" \u2014 ",weekAbbreviation:"\u041D\u0435\u0434.",scrollTitle:"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u0435 \u0434\u043B\u044F \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F",toggleTitle:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F",amPM:["\u0414\u041F","\u041F\u041F"],yearAriaLabel:"\u0413\u043E\u0434",time_24hr:!0};Un.l10ns.ru=Pt,Un.l10ns;var bn=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Dn={weekdays:{shorthand:["\u0D89","\u0DC3","\u0D85","\u0DB6","\u0DB6\u0DCA\u200D\u0DBB","\u0DC3\u0DD2","\u0DC3\u0DD9"],longhand:["\u0D89\u0DBB\u0DD2\u0DAF\u0DCF","\u0DC3\u0DB3\u0DD4\u0DAF\u0DCF","\u0D85\u0D9F\u0DC4\u0DBB\u0DD4\u0DC0\u0DCF\u0DAF\u0DCF","\u0DB6\u0DAF\u0DCF\u0DAF\u0DCF","\u0DB6\u0DCA\u200D\u0DBB\u0DC4\u0DC3\u0DCA\u0DB4\u0DAD\u0DD2\u0DB1\u0DCA\u0DAF\u0DCF","\u0DC3\u0DD2\u0D9A\u0DD4\u0DBB\u0DCF\u0DAF\u0DCF","\u0DC3\u0DD9\u0DB1\u0DC3\u0DD4\u0DBB\u0DCF\u0DAF\u0DCF"]},months:{shorthand:["\u0DA2\u0DB1","\u0DB4\u0DD9\u0DB6","\u0DB8\u0DCF\u0DBB\u0DCA","\u0D85\u0DB4\u0DCA\u200D\u0DBB\u0DDA","\u0DB8\u0DD0\u0DBA\u0DD2","\u0DA2\u0DD4\u0DB1\u0DD2","\u0DA2\u0DD6\u0DBD\u0DD2","\u0D85\u0D9C\u0DDD","\u0DC3\u0DD0\u0DB4\u0DCA","\u0D94\u0D9A\u0DCA","\u0DB1\u0DDC\u0DC0\u0DD0","\u0DAF\u0DD9\u0DC3\u0DD0"],longhand:["\u0DA2\u0DB1\u0DC0\u0DCF\u0DBB\u0DD2","\u0DB4\u0DD9\u0DB6\u0DBB\u0DC0\u0DCF\u0DBB\u0DD2","\u0DB8\u0DCF\u0DBB\u0DCA\u0DAD\u0DD4","\u0D85\u0DB4\u0DCA\u200D\u0DBB\u0DDA\u0DBD\u0DCA","\u0DB8\u0DD0\u0DBA\u0DD2","\u0DA2\u0DD4\u0DB1\u0DD2","\u0DA2\u0DD6\u0DBD\u0DD2","\u0D85\u0D9C\u0DDD\u0DC3\u0DCA\u0DAD\u0DD4","\u0DC3\u0DD0\u0DB4\u0DCA\u0DAD\u0DD0\u0DB8\u0DCA\u0DB6\u0DBB\u0DCA","\u0D94\u0D9A\u0DCA\u0DAD\u0DDD\u0DB6\u0DBB\u0DCA","\u0DB1\u0DDC\u0DC0\u0DD0\u0DB8\u0DCA\u0DB6\u0DBB\u0DCA","\u0DAF\u0DD9\u0DC3\u0DD0\u0DB8\u0DCA\u0DB6\u0DBB\u0DCA"]},time_24hr:!0};bn.l10ns.si=Dn,bn.l10ns;var Cn=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},jn={weekdays:{shorthand:["Ned","Pon","Ut","Str","\u0160tv","Pia","Sob"],longhand:["Nede\u013Ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota"]},months:{shorthand:["Jan","Feb","Mar","Apr","M\xE1j","J\xFAn","J\xFAl","Aug","Sep","Okt","Nov","Dec"],longhand:["Janu\xE1r","Febru\xE1r","Marec","Apr\xEDl","M\xE1j","J\xFAn","J\xFAl","August","September","Okt\xF3ber","November","December"]},firstDayOfWeek:1,rangeSeparator:" do ",time_24hr:!0,ordinal:function(){return"."}};Cn.l10ns.sk=jn,Cn.l10ns;var Sr=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},zr={weekdays:{shorthand:["Ned","Pon","Tor","Sre","\u010Cet","Pet","Sob"],longhand:["Nedelja","Ponedeljek","Torek","Sreda","\u010Cetrtek","Petek","Sobota"]},months:{shorthand:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],longhand:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"]},firstDayOfWeek:1,rangeSeparator:" do ",time_24hr:!0,ordinal:function(){return"."}};Sr.l10ns.sl=zr,Sr.l10ns;var Vr=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},qr={weekdays:{shorthand:["Di","H\xEB","Ma","M\xEB","En","Pr","Sh"],longhand:["E Diel","E H\xEBn\xEB","E Mart\xEB","E M\xEBrkur\xEB","E Enjte","E Premte","E Shtun\xEB"]},months:{shorthand:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","N\xEBn","Dhj"],longhand:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","N\xEBntor","Dhjetor"]},time_24hr:!0};Vr.l10ns.sq=qr,Vr.l10ns;var Wr=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},rl={weekdays:{shorthand:["Ned","Pon","Uto","Sre","\u010Cet","Pet","Sub"],longhand:["Nedelja","Ponedeljak","Utorak","Sreda","\u010Cetvrtak","Petak","Subota"]},months:{shorthand:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],longhand:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"]},firstDayOfWeek:1,weekAbbreviation:"Ned.",rangeSeparator:" do ",time_24hr:!0};Wr.l10ns.sr=rl,Wr.l10ns;var O=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},y={firstDayOfWeek:1,weekAbbreviation:"v",weekdays:{shorthand:["S\xF6n","M\xE5n","Tis","Ons","Tor","Fre","L\xF6r"],longhand:["S\xF6ndag","M\xE5ndag","Tisdag","Onsdag","Torsdag","Fredag","L\xF6rdag"]},months:{shorthand:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],longhand:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"]},time_24hr:!0,ordinal:function(){return"."}};O.l10ns.sv=y,O.l10ns;var b=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},m={weekdays:{shorthand:["\u0E2D\u0E32","\u0E08","\u0E2D","\u0E1E","\u0E1E\u0E24","\u0E28","\u0E2A"],longhand:["\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C","\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C","\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23","\u0E1E\u0E38\u0E18","\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35","\u0E28\u0E38\u0E01\u0E23\u0E4C","\u0E40\u0E2A\u0E32\u0E23\u0E4C"]},months:{shorthand:["\u0E21.\u0E04.","\u0E01.\u0E1E.","\u0E21\u0E35.\u0E04.","\u0E40\u0E21.\u0E22.","\u0E1E.\u0E04.","\u0E21\u0E34.\u0E22.","\u0E01.\u0E04.","\u0E2A.\u0E04.","\u0E01.\u0E22.","\u0E15.\u0E04.","\u0E1E.\u0E22.","\u0E18.\u0E04."],longhand:["\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21","\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C","\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21","\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19","\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21","\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19","\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21","\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21","\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19","\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21","\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19","\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21"]},firstDayOfWeek:1,rangeSeparator:" \u0E16\u0E36\u0E07 ",scrollTitle:"\u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2B\u0E23\u0E37\u0E2D\u0E25\u0E14",toggleTitle:"\u0E04\u0E25\u0E34\u0E01\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19",time_24hr:!0,ordinal:function(){return""}};b.l10ns.th=m,b.l10ns;var E=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},M={weekdays:{shorthand:["Paz","Pzt","Sal","\xC7ar","Per","Cum","Cmt"],longhand:["Pazar","Pazartesi","Sal\u0131","\xC7ar\u015Famba","Per\u015Fembe","Cuma","Cumartesi"]},months:{shorthand:["Oca","\u015Eub","Mar","Nis","May","Haz","Tem","A\u011Fu","Eyl","Eki","Kas","Ara"],longhand:["Ocak","\u015Eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011Fustos","Eyl\xFCl","Ekim","Kas\u0131m","Aral\u0131k"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Art\u0131rmak i\xE7in kayd\u0131r\u0131n",toggleTitle:"A\xE7/Kapa",amPM:["\xD6\xD6","\xD6S"],time_24hr:!0};E.l10ns.tr=M,E.l10ns;var L=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},R={firstDayOfWeek:1,weekdays:{shorthand:["\u041D\u0434","\u041F\u043D","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041F\u0442","\u0421\u0431"],longhand:["\u041D\u0435\u0434\u0456\u043B\u044F","\u041F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0412\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0421\u0435\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440","\u041F'\u044F\u0442\u043D\u0438\u0446\u044F","\u0421\u0443\u0431\u043E\u0442\u0430"]},months:{shorthand:["\u0421\u0456\u0447","\u041B\u044E\u0442","\u0411\u0435\u0440","\u041A\u0432\u0456","\u0422\u0440\u0430","\u0427\u0435\u0440","\u041B\u0438\u043F","\u0421\u0435\u0440","\u0412\u0435\u0440","\u0416\u043E\u0432","\u041B\u0438\u0441","\u0413\u0440\u0443"],longhand:["\u0421\u0456\u0447\u0435\u043D\u044C","\u041B\u044E\u0442\u0438\u0439","\u0411\u0435\u0440\u0435\u0437\u0435\u043D\u044C","\u041A\u0432\u0456\u0442\u0435\u043D\u044C","\u0422\u0440\u0430\u0432\u0435\u043D\u044C","\u0427\u0435\u0440\u0432\u0435\u043D\u044C","\u041B\u0438\u043F\u0435\u043D\u044C","\u0421\u0435\u0440\u043F\u0435\u043D\u044C","\u0412\u0435\u0440\u0435\u0441\u0435\u043D\u044C","\u0416\u043E\u0432\u0442\u0435\u043D\u044C","\u041B\u0438\u0441\u0442\u043E\u043F\u0430\u0434","\u0413\u0440\u0443\u0434\u0435\u043D\u044C"]},time_24hr:!0};L.l10ns.uk=R,L.l10ns;var q=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},te={weekdays:{shorthand:["\u042F\u043A\u0448","\u0414\u0443\u0448","\u0421\u0435\u0448","\u0427\u043E\u0440","\u041F\u0430\u0439","\u0416\u0443\u043C","\u0428\u0430\u043D"],longhand:["\u042F\u043A\u0448\u0430\u043D\u0431\u0430","\u0414\u0443\u0448\u0430\u043D\u0431\u0430","\u0421\u0435\u0448\u0430\u043D\u0431\u0430","\u0427\u043E\u0440\u0448\u0430\u043D\u0431\u0430","\u041F\u0430\u0439\u0448\u0430\u043D\u0431\u0430","\u0416\u0443\u043C\u0430","\u0428\u0430\u043D\u0431\u0430"]},months:{shorthand:["\u042F\u043D\u0432","\u0424\u0435\u0432","\u041C\u0430\u0440","\u0410\u043F\u0440","\u041C\u0430\u0439","\u0418\u044E\u043D","\u0418\u044E\u043B","\u0410\u0432\u0433","\u0421\u0435\u043D","\u041E\u043A\u0442","\u041D\u043E\u044F","\u0414\u0435\u043A"],longhand:["\u042F\u043D\u0432\u0430\u0440","\u0424\u0435\u0432\u0440\u0430\u043B","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0435\u043B","\u041C\u0430\u0439","\u0418\u044E\u043D","\u0418\u044E\u043B","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043D\u0442\u044F\u0431\u0440","\u041E\u043A\u0442\u044F\u0431\u0440","\u041D\u043E\u044F\u0431\u0440","\u0414\u0435\u043A\u0430\u0431\u0440"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" \u2014 ",weekAbbreviation:"\u04B2\u0430\u0444\u0442\u0430",scrollTitle:"\u041A\u0430\u0442\u0442\u0430\u043B\u0430\u0448\u0442\u0438\u0440\u0438\u0448 \u0443\u0447\u0443\u043D \u0430\u0439\u043B\u0430\u043D\u0442\u0438\u0440\u0438\u043D\u0433",toggleTitle:"\u040E\u0442\u0438\u0448 \u0443\u0447\u0443\u043D \u0431\u043E\u0441\u0438\u043D\u0433",amPM:["AM","PM"],yearAriaLabel:"\u0419\u0438\u043B",time_24hr:!0};q.l10ns.uz=te,q.l10ns;var oe=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},ve={weekdays:{shorthand:["Ya","Du","Se","Cho","Pa","Ju","Sha"],longhand:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"]},months:{shorthand:["Yan","Fev","Mar","Apr","May","Iyun","Iyul","Avg","Sen","Okt","Noy","Dek"],longhand:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" \u2014 ",weekAbbreviation:"Hafta",scrollTitle:"Kattalashtirish uchun aylantiring",toggleTitle:"O\u2018tish uchun bosing",amPM:["AM","PM"],yearAriaLabel:"Yil",time_24hr:!0};oe.l10ns.uz_latn=ve,oe.l10ns;var pe=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Me={weekdays:{shorthand:["CN","T2","T3","T4","T5","T6","T7"],longhand:["Ch\u1EE7 nh\u1EADt","Th\u1EE9 hai","Th\u1EE9 ba","Th\u1EE9 t\u01B0","Th\u1EE9 n\u0103m","Th\u1EE9 s\xE1u","Th\u1EE9 b\u1EA3y"]},months:{shorthand:["Th1","Th2","Th3","Th4","Th5","Th6","Th7","Th8","Th9","Th10","Th11","Th12"],longhand:["Th\xE1ng m\u1ED9t","Th\xE1ng hai","Th\xE1ng ba","Th\xE1ng t\u01B0","Th\xE1ng n\u0103m","Th\xE1ng s\xE1u","Th\xE1ng b\u1EA3y","Th\xE1ng t\xE1m","Th\xE1ng ch\xEDn","Th\xE1ng m\u01B0\u1EDDi","Th\xE1ng m\u01B0\u1EDDi m\u1ED9t","Th\xE1ng m\u01B0\u1EDDi hai"]},firstDayOfWeek:1,rangeSeparator:" \u0111\u1EBFn "};pe.l10ns.vn=Me,pe.l10ns;var Ae=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},xe={weekdays:{shorthand:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],longhand:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},months:{shorthand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],longhand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},rangeSeparator:" \u81F3 ",weekAbbreviation:"\u5468",scrollTitle:"\u6EDA\u52A8\u5207\u6362",toggleTitle:"\u70B9\u51FB\u5207\u6362 12/24 \u5C0F\u65F6\u65F6\u5236"};Ae.l10ns.zh=xe,Ae.l10ns;var Oe=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},Ce={weekdays:{shorthand:["\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D"],longhand:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},months:{shorthand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],longhand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},rangeSeparator:" \u81F3 ",weekAbbreviation:"\u9031",scrollTitle:"\u6EFE\u52D5\u5207\u63DB",toggleTitle:"\u9EDE\u64CA\u5207\u63DB 12/24 \u5C0F\u6642\u6642\u5236"};Oe.l10ns.zh_tw=Ce,Oe.l10ns;var Le={ar:r,at:a,az:s,be:l,bg:h,bn:g,bs:d,ca:S,cat:S,cs:k,cy:A,da:N,de:j,default:n({},X),en:X,eo:ie,es:J,et:le,fa:fe,fi:Te,fo:I,fr:$e,gr:z,he:G,hi:Ee,hr:rt,hu:dt,id:dn,is:Ct,it:Kn,ja:yn,ka:fn,ko:At,km:V,kz:ye,lt:ft,lv:Ue,mk:Vt,mn:Ye,ms:Lt,my:x,nl:H,no:ae,pa:ce,pl:_e,pt:ze,ro:lt,ru:Pt,si:Dn,sk:jn,sl:zr,sq:qr,sr:rl,sv:y,th:m,tr:M,uk:R,vn:Me,zh:xe,zh_tw:Ce,uz:te,uz_latn:ve};t.default=Le,Object.defineProperty(t,"__esModule",{value:!0})})});var ga=Fe((_M,dc)=>{"use strict";var iS=Object.prototype.hasOwnProperty,Ut="~";function ma(){}Object.create&&(ma.prototype=Object.create(null),new ma().__proto__||(Ut=!1));function aS(t,n,e){this.fn=t,this.context=n,this.once=e||!1}function Mp(t,n,e,r,i){if(typeof e!="function")throw new TypeError("The listener must be a function");var a=new aS(e,r||t,i),o=Ut?Ut+n:n;return t._events[o]?t._events[o].fn?t._events[o]=[t._events[o],a]:t._events[o].push(a):(t._events[o]=a,t._eventsCount++),t}function Wo(t,n){--t._eventsCount==0?t._events=new ma:delete t._events[n]}function Ht(){this._events=new ma,this._eventsCount=0}Ht.prototype.eventNames=function(){var n=[],e,r;if(this._eventsCount===0)return n;for(r in e=this._events)iS.call(e,r)&&n.push(Ut?r.slice(1):r);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n};Ht.prototype.listeners=function(n){var e=Ut?Ut+n:n,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=new Array(a);i{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.SearchResult=void 0;var oS=/\$&/g,sS=/\$(\d)/g,Dp=class{constructor(n,e,r){this.data=n,this.term=e,this.strategy=r}getReplacementData(n){let e=this.strategy.replace(this.data);if(e==null)return null;let r="";Array.isArray(e)&&(r=e[1],e=e[0]);let i=this.strategy.match(n);if(i==null||i.index==null)return null;let a=e.replace(oS,i[0]).replace(sS,(o,s)=>i[parseInt(s)]);return{start:i.index,end:i.index+i[0].length,beforeCursor:a,afterCursor:r}}replace(n,e){let r=this.getReplacementData(n);if(r!==null)return e=r.afterCursor+e,[[n.slice(0,r.start),r.beforeCursor,n.slice(r.end)].join(""),e]}render(){return this.strategy.renderTemplate(this.data,this.term)}getStrategyId(){return this.strategy.getId()}};Yo.SearchResult=Dp});var hc=Fe(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.Strategy=Lr.DEFAULT_INDEX=void 0;var lS=fc();Lr.DEFAULT_INDEX=1;var Cp=class{constructor(n){this.props=n,this.cache={}}destroy(){return this.cache={},this}replace(n){return this.props.replace(n)}execute(n,e){var r;let i=this.matchWithContext(n);if(!i)return!1;let a=i[(r=this.props.index)!==null&&r!==void 0?r:Lr.DEFAULT_INDEX];return this.search(a,o=>{e(o.map(s=>new lS.SearchResult(s,a,this)))},i),!0}renderTemplate(n,e){if(this.props.template)return this.props.template(n,e);if(typeof n=="string")return n;throw new Error(`Unexpected render data type: ${typeof n}. Please implement template parameter by yourself`)}getId(){return this.props.id||null}match(n){return typeof this.props.match=="function"?this.props.match(n):n.match(this.props.match)}search(n,e,r){this.props.cache?this.searchWithCach(n,e,r):this.props.search(n,e,r)}matchWithContext(n){let e=this.context(n);return e===!1?null:this.match(e===!0?n:e)}context(n){return this.props.context?this.props.context(n):!0}searchWithCach(n,e,r){this.cache[n]!=null?e(this.cache[n]):this.props.search(n,i=>{this.cache[n]=i,e(i)},r)}};Lr.Strategy=Cp});var pc=Fe(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.Completer=void 0;var cS=ga(),uS=hc(),Ap=class extends cS.EventEmitter{constructor(n){super();this.handleQueryResult=e=>{this.emit("hit",{searchResults:e})},this.strategies=n.map(e=>new uS.Strategy(e))}destroy(){return this.strategies.forEach(n=>n.destroy()),this}run(n){for(let e of this.strategies)if(e.execute(n,this.handleQueryResult))return;this.handleQueryResult([])}};Jo.Completer=Ap});var Qo=Fe(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.createCustomEvent=void 0;var dS=typeof window!="undefined"&&!!window.CustomEvent,fS=(t,n)=>{if(dS)return new CustomEvent(t,n);let e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,(n==null?void 0:n.cancelable)||!1,(n==null?void 0:n.detail)||void 0),e};Go.createCustomEvent=fS});var mc=Fe(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.Dropdown=mt.DEFAULT_DROPDOWN_ITEM_ACTIVE_CLASS_NAME=mt.DEFAULT_DROPDOWN_ITEM_CLASS_NAME=mt.DEFAULT_DROPDOWN_CLASS_NAME=mt.DEFAULT_DROPDOWN_PLACEMENT=mt.DEFAULT_DROPDOWN_MAX_COUNT=void 0;var hS=ga(),mr=Qo();mt.DEFAULT_DROPDOWN_MAX_COUNT=10;mt.DEFAULT_DROPDOWN_PLACEMENT="auto";mt.DEFAULT_DROPDOWN_CLASS_NAME="dropdown-menu textcomplete-dropdown";mt.DEFAULT_DROPDOWN_ITEM_CLASS_NAME="textcomplete-item";mt.DEFAULT_DROPDOWN_ITEM_ACTIVE_CLASS_NAME=`${mt.DEFAULT_DROPDOWN_ITEM_CLASS_NAME} active`;var Xo=class extends hS.EventEmitter{constructor(n,e){super();this.el=n,this.option=e,this.shown=!1,this.items=[],this.activeIndex=null}static create(n){let e=document.createElement("ul");e.className=n.className||mt.DEFAULT_DROPDOWN_CLASS_NAME,Object.assign(e.style,{display:"none",position:"absolute",zIndex:"1000"},n.style);let r=n.parent||document.body;return r==null||r.appendChild(e),new Xo(e,n)}render(n,e){let r=(0,mr.createCustomEvent)("render",{cancelable:!0});return this.emit("render",r),r.defaultPrevented?this:(this.clear(),n.length===0?this.hide():(this.items=n.slice(0,this.option.maxCount||mt.DEFAULT_DROPDOWN_MAX_COUNT).map((i,a)=>{var o;return new Ip(this,a,i,((o=this.option)===null||o===void 0?void 0:o.item)||{})}),this.setStrategyId(n[0]).renderEdge(n,"header").renderItems().renderEdge(n,"footer").show().setOffset(e).activate(0),this.emit("rendered",(0,mr.createCustomEvent)("rendered")),this))}destroy(){var n;return this.clear(),(n=this.el.parentNode)===null||n===void 0||n.removeChild(this.el),this}select(n){let e={searchResult:n.searchResult},r=(0,mr.createCustomEvent)("select",{cancelable:!0,detail:e});return this.emit("select",r),r.defaultPrevented?this:(this.hide(),this.emit("selected",(0,mr.createCustomEvent)("selected",{detail:e})),this)}show(){if(!this.shown){let n=(0,mr.createCustomEvent)("show",{cancelable:!0});if(this.emit("show",n),n.defaultPrevented)return this;this.el.style.display="block",this.shown=!0,this.emit("shown",(0,mr.createCustomEvent)("shown"))}return this}hide(){if(this.shown){let n=(0,mr.createCustomEvent)("hide",{cancelable:!0});if(this.emit("hide",n),n.defaultPrevented)return this;this.el.style.display="none",this.shown=!1,this.clear(),this.emit("hidden",(0,mr.createCustomEvent)("hidden"))}return this}clear(){return this.items.forEach(n=>n.destroy()),this.items=[],this.el.innerHTML="",this.activeIndex=null,this}up(n){return this.shown?this.moveActiveItem("prev",n):this}down(n){return this.shown?this.moveActiveItem("next",n):this}moveActiveItem(n,e){if(this.activeIndex!=null){let r=n==="next"?this.getNextActiveIndex():this.getPrevActiveIndex();r!=null&&(this.activate(r),e.preventDefault())}return this}activate(n){return this.activeIndex!==n&&(this.activeIndex!=null&&this.items[this.activeIndex].deactivate(),this.activeIndex=n,this.items[n].activate()),this}isShown(){return this.shown}getActiveItem(){return this.activeIndex!=null?this.items[this.activeIndex]:null}setOffset(n){let e=document.documentElement;if(e){let r=this.el.offsetWidth;if(n.left){let o=this.option.dynamicWidth?e.scrollWidth:e.clientWidth;n.left+r>o&&(n.left=o-r),this.el.style.left=`${n.left}px`}else n.right&&(n.right-r<0&&(n.right=0),this.el.style.right=`${n.right}px`);let i=!1,a=this.option.placement||mt.DEFAULT_DROPDOWN_PLACEMENT;if(a==="auto"){let o=this.items.length*n.lineHeight;i=n.clientTop!=null&&n.clientTop+o>e.clientHeight}a==="top"||i?(this.el.style.bottom=`${e.clientHeight-n.top+n.lineHeight}px`,this.el.style.top="auto"):(this.el.style.top=`${n.top}px`,this.el.style.bottom="auto")}return this}getNextActiveIndex(){if(this.activeIndex==null)throw new Error;return this.activeIndexa.data)):r||"",this.el.appendChild(i),this}};mt.Dropdown=Xo;var Ip=class{constructor(n,e,r,i){this.dropdown=n,this.index=e,this.searchResult=r,this.props=i,this.active=!1,this.onClick=s=>{s.preventDefault(),this.dropdown.select(this)},this.className=this.props.className||mt.DEFAULT_DROPDOWN_ITEM_CLASS_NAME,this.activeClassName=this.props.activeClassName||mt.DEFAULT_DROPDOWN_ITEM_ACTIVE_CLASS_NAME;let a=document.createElement("li");a.className=this.active?this.activeClassName:this.className;let o=document.createElement("span");o.tabIndex=-1,o.innerHTML=this.searchResult.render(),a.appendChild(o),a.addEventListener("mousedown",this.onClick),a.addEventListener("touchstart",this.onClick),this.el=a}destroy(){var n;let e=this.el;return(n=e.parentNode)===null||n===void 0||n.removeChild(e),e.removeEventListener("mousedown",this.onClick,!1),e.removeEventListener("touchstart",this.onClick,!1),this}activate(){return this.active||(this.active=!0,this.el.className=this.activeClassName,this.dropdown.el.scrollTop=this.el.offsetTop),this}deactivate(){return this.active&&(this.active=!1,this.el.className=this.className),this}}});var Pp=Fe(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.Editor=void 0;var pS=ga(),Zo=Qo(),Lp=class extends pS.EventEmitter{destroy(){return this}applySearchResult(n){throw new Error("Not implemented.")}getCursorOffset(){throw new Error("Not implemented.")}getBeforeCursor(){throw new Error("Not implemented.")}emitMoveEvent(n){let e=(0,Zo.createCustomEvent)("move",{cancelable:!0,detail:{code:n}});return this.emit("move",e),e}emitEnterEvent(){let n=(0,Zo.createCustomEvent)("enter",{cancelable:!0});return this.emit("enter",n),n}emitChangeEvent(){let n=(0,Zo.createCustomEvent)("change",{detail:{beforeCursor:this.getBeforeCursor()}});return this.emit("change",n),n}emitEscEvent(){let n=(0,Zo.createCustomEvent)("esc",{cancelable:!0});return this.emit("esc",n),n}getCode(n){return n.keyCode===9||n.keyCode===13?"ENTER":n.keyCode===27?"ESC":n.keyCode===38?"UP":n.keyCode===40||n.keyCode===78&&n.ctrlKey?"DOWN":n.keyCode===80&&n.ctrlKey?"UP":"OTHER"}};es.Editor=Lp});var Np=Fe(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.Textcomplete=void 0;var mS=ga(),gS=mc(),vS=pc(),yS=["show","shown","render","rendered","selected","hidden","hide"],Op=class extends mS.EventEmitter{constructor(n,e,r){super();this.editor=n,this.isQueryInFlight=!1,this.nextPendingQuery=null,this.handleHit=({searchResults:i})=>{i.length?this.dropdown.render(i,this.editor.getCursorOffset()):this.dropdown.hide(),this.isQueryInFlight=!1,this.nextPendingQuery!==null&&this.trigger(this.nextPendingQuery)},this.handleMove=i=>{i.detail.code==="UP"?this.dropdown.up(i):this.dropdown.down(i)},this.handleEnter=i=>{let a=this.dropdown.getActiveItem();a?(this.dropdown.select(a),i.preventDefault()):this.dropdown.hide()},this.handleEsc=i=>{this.dropdown.isShown()&&(this.dropdown.hide(),i.preventDefault())},this.handleChange=i=>{i.detail.beforeCursor!=null?this.trigger(i.detail.beforeCursor):this.dropdown.hide()},this.handleSelect=i=>{this.emit("select",i),i.defaultPrevented||this.editor.applySearchResult(i.detail.searchResult)},this.handleResize=()=>{this.dropdown.isShown()&&this.dropdown.setOffset(this.editor.getCursorOffset())},this.completer=new vS.Completer(e),this.dropdown=gS.Dropdown.create((r==null?void 0:r.dropdown)||{}),this.startListening()}destroy(n=!0){return this.completer.destroy(),this.dropdown.destroy(),n&&this.editor.destroy(),this.stopListening(),this}isShown(){return this.dropdown.isShown()}hide(){return this.dropdown.hide(),this}trigger(n){return this.isQueryInFlight?this.nextPendingQuery=n:(this.isQueryInFlight=!0,this.nextPendingQuery=null,this.completer.run(n)),this}startListening(){var n;this.editor.on("move",this.handleMove).on("enter",this.handleEnter).on("esc",this.handleEsc).on("change",this.handleChange),this.dropdown.on("select",this.handleSelect);for(let e of yS)this.dropdown.on(e,r=>this.emit(e,r));this.completer.on("hit",this.handleHit),(n=this.dropdown.el.ownerDocument.defaultView)===null||n===void 0||n.addEventListener("resize",this.handleResize)}stopListening(){var n;(n=this.dropdown.el.ownerDocument.defaultView)===null||n===void 0||n.removeEventListener("resize",this.handleResize),this.completer.removeAllListeners(),this.dropdown.removeAllListeners(),this.editor.removeListener("move",this.handleMove).removeListener("enter",this.handleEnter).removeListener("esc",this.handleEsc).removeListener("change",this.handleChange)}};ts.Textcomplete=Op});var gc=Fe(an=>{"use strict";var bS=an&&an.__createBinding||(Object.create?function(t,n,e,r){r===void 0&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){r===void 0&&(r=e),t[r]=n[e]}),Pr=an&&an.__exportStar||function(t,n){for(var e in t)e!=="default"&&!Object.prototype.hasOwnProperty.call(n,e)&&bS(n,t,e)};Object.defineProperty(an,"__esModule",{value:!0});Pr(pc(),an);Pr(mc(),an);Pr(Pp(),an);Pr(fc(),an);Pr(hc(),an);Pr(Np(),an);Pr(Qo(),an)});var Rp={};Yr(Rp,{update:()=>Fp,wrapCursor:()=>wS});function Fp(t,n,e){let r=t.value,i=n+(e||""),a=document.activeElement,o=0,s=0;for(;o=0&&i.length-s-1>=0&&r[r.length-s-1]===i[i.length-s-1];)s++;o=Math.min(o,Math.min(r.length,i.length)-s),t.setSelectionRange(o,r.length-s);let u=i.substring(o,i.length-s);if(t.focus(),!document.execCommand("insertText",!1,u)){t.value=i;let l=document.createEvent("Event");l.initEvent("input",!0,!0),t.dispatchEvent(l)}return t.setSelectionRange(n.length,n.length),a.focus(),t}function wS(t,n,e){let r=t.selectionEnd,i=t.value.substr(0,t.selectionStart)+n,a=t.value.substring(t.selectionStart,r)+(e||"")+t.value.substr(r);return Fp(t,i,a),t.selectionEnd=r+n.length,t}var Hp=zu(()=>{});var Bp=Fe((OM,ns)=>{(function(){var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],n=typeof window!="undefined",e=n&&window.mozInnerScreenX!=null;function r(i,a,o){if(!n)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var s=o&&o.debug||!1;if(s){var u=document.querySelector("#input-textarea-caret-position-mirror-div");u&&u.parentNode.removeChild(u)}var l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);var c=l.style,d=window.getComputedStyle?window.getComputedStyle(i):i.currentStyle,f=i.nodeName==="INPUT";c.whiteSpace="pre-wrap",f||(c.wordWrap="break-word"),c.position="absolute",s||(c.visibility="hidden"),t.forEach(function(g){f&&g==="lineHeight"?c.lineHeight=d.height:c[g]=d[g]}),e?i.scrollHeight>parseInt(d.height)&&(c.overflowY="scroll"):c.overflow="hidden",l.textContent=i.value.substring(0,a),f&&(l.textContent=l.textContent.replace(/\s/g,"\xA0"));var h=document.createElement("span");h.textContent=i.value.substring(a)||".",l.appendChild(h);var p={top:h.offsetTop+parseInt(d.borderTopWidth),left:h.offsetLeft+parseInt(d.borderLeftWidth),height:parseInt(d.lineHeight)};return s?h.style.backgroundColor="#aaa":document.body.removeChild(l),p}typeof ns!="undefined"&&typeof ns.exports!="undefined"?ns.exports=r:n&&(window.getCaretCoordinates=r)})()});var Kp=Fe(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.calculateElementOffset=void 0;var ES=t=>{let n=t.getBoundingClientRect(),e=t.ownerDocument;if(e==null)throw new Error("Given element does not belong to document");let{defaultView:r,documentElement:i}=e;if(r==null)throw new Error("Given element does not belong to window");let a={top:n.top+r.pageYOffset,left:n.left+r.pageXOffset};return i&&(a.top-=i.clientTop,a.left-=i.clientLeft),a};rs.calculateElementOffset=ES});var Up=Fe(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.getLineHeightPx=void 0;var SS="0".charCodeAt(0),xS="9".charCodeAt(0),$p=t=>SS<=t&&t<=xS,kS=t=>{let n=getComputedStyle(t),e=n.lineHeight;if($p(e.charCodeAt(0))){let r=parseFloat(e);return $p(e.charCodeAt(e.length-1))?r*parseFloat(n.fontSize):r}return _S(t.nodeName,n)};is.getLineHeightPx=kS;var _S=(t,n)=>{let e=document.body;if(!e)return 0;let r=document.createElement(t);r.innerHTML=" ",Object.assign(r.style,{fontSize:n.fontSize,fontFamily:n.fontFamily,padding:"0"}),e.appendChild(r),r instanceof HTMLTextAreaElement&&(r.rows=1);let i=r.offsetHeight;return e.removeChild(r),i}});var jp=Fe(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.isSafari=void 0;var TS=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent);as.isSafari=TS});var zp=Fe(Qn=>{"use strict";var MS=Qn&&Qn.__createBinding||(Object.create?function(t,n,e,r){r===void 0&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){r===void 0&&(r=e),t[r]=n[e]}),vc=Qn&&Qn.__exportStar||function(t,n){for(var e in t)e!=="default"&&!Object.prototype.hasOwnProperty.call(n,e)&&MS(n,t,e)};Object.defineProperty(Qn,"__esModule",{value:!0});vc(Kp(),Qn);vc(Up(),Qn);vc(jp(),Qn)});var Yp=Fe(Si=>{"use strict";var DS=Si&&Si.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Si,"__esModule",{value:!0});Si.TextareaEditor=void 0;var CS=(Hp(),Rp),AS=DS(Bp()),Vp=gc(),qp=zp(),Wp=class extends Vp.Editor{constructor(n){super();this.el=n,this.onInput=()=>{this.emitChangeEvent()},this.onKeydown=e=>{let r=this.getCode(e),i;r==="UP"||r==="DOWN"?i=this.emitMoveEvent(r):r==="ENTER"?i=this.emitEnterEvent():r==="ESC"&&(i=this.emitEscEvent()),i&&i.defaultPrevented&&e.preventDefault()},this.startListening()}destroy(){return super.destroy(),this.stopListening(),this}applySearchResult(n){let e=this.getBeforeCursor();if(e!=null){let r=n.replace(e,this.getAfterCursor());this.el.focus(),Array.isArray(r)&&((0,CS.update)(this.el,r[0],r[1]),this.el&&this.el.dispatchEvent((0,Vp.createCustomEvent)("input")))}}getCursorOffset(){let n=(0,qp.calculateElementOffset)(this.el),e=this.getElScroll(),r=this.getCursorPosition(),i=(0,qp.getLineHeightPx)(this.el),a=n.top-e.top+r.top+i,o=n.left-e.left+r.left,s=this.el.getBoundingClientRect().top;if(this.el.dir!=="rtl")return{top:a,left:o,lineHeight:i,clientTop:s};{let u=document.documentElement?document.documentElement.clientWidth-o:0;return{top:a,right:u,lineHeight:i,clientTop:s}}}getBeforeCursor(){return this.el.selectionStart!==this.el.selectionEnd?null:this.el.value.substring(0,this.el.selectionEnd)}getAfterCursor(){return this.el.value.substring(this.el.selectionEnd)}getElScroll(){return{top:this.el.scrollTop,left:this.el.scrollLeft}}getCursorPosition(){return(0,AS.default)(this.el,this.el.selectionEnd)}startListening(){this.el.addEventListener("input",this.onInput),this.el.addEventListener("keydown",this.onKeydown)}stopListening(){this.el.removeEventListener("input",this.onInput),this.el.removeEventListener("keydown",this.onKeydown)}};Si.TextareaEditor=Wp});var Jp=Fe(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.TextareaEditor=void 0;var IS=Yp();Object.defineProperty(os,"TextareaEditor",{enumerable:!0,get:function(){return IS.TextareaEditor}})});var Bm=Fe((Hc,Bc)=>{(function(t,n){typeof Hc=="object"&&typeof Bc!="undefined"?Bc.exports=n():typeof define=="function"&&define.amd?define(n):t.Mark=n()})(Hc,function(){"use strict";var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n=function(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")},e=function(){function s(u,l){for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!0,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;n(this,s),this.ctx=u,this.iframes=l,this.exclude=c,this.iframesTimeout=d}return e(s,[{key:"getContexts",value:function(){var l=void 0,c=[];return typeof this.ctx=="undefined"||!this.ctx?l=[]:NodeList.prototype.isPrototypeOf(this.ctx)?l=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?l=this.ctx:typeof this.ctx=="string"?l=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):l=[this.ctx],l.forEach(function(d){var f=c.filter(function(h){return h.contains(d)}).length>0;c.indexOf(d)===-1&&!f&&c.push(d)}),c}},{key:"getIframeContents",value:function(l,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},f=void 0;try{var h=l.contentWindow;if(f=h.document,!h||!f)throw new Error("iframe inaccessible")}catch(p){d()}f&&c(f)}},{key:"isIframeBlank",value:function(l){var c="about:blank",d=l.getAttribute("src").trim(),f=l.contentWindow.location.href;return f===c&&d!==c&&d}},{key:"observeIframeLoad",value:function(l,c,d){var f=this,h=!1,p=null,g=function w(){if(!h){h=!0,clearTimeout(p);try{f.isIframeBlank(l)||(l.removeEventListener("load",w),f.getIframeContents(l,c,d))}catch(S){d()}}};l.addEventListener("load",g),p=setTimeout(g,this.iframesTimeout)}},{key:"onIframeReady",value:function(l,c,d){try{l.contentWindow.document.readyState==="complete"?this.isIframeBlank(l)?this.observeIframeLoad(l,c,d):this.getIframeContents(l,c,d):this.observeIframeLoad(l,c,d)}catch(f){d()}}},{key:"waitForIframes",value:function(l,c){var d=this,f=0;this.forEachIframe(l,function(){return!0},function(h){f++,d.waitForIframes(h.querySelector("html"),function(){--f||c()})},function(h){h||c()})}},{key:"forEachIframe",value:function(l,c,d){var f=this,h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},p=l.querySelectorAll("iframe"),g=p.length,w=0;p=Array.prototype.slice.call(p);var S=function(){--g<=0&&h(w)};g||S(),p.forEach(function(_){s.matches(_,f.exclude)?S():f.onIframeReady(_,function(k){c(_)&&(w++,d(k)),S()},S)})}},{key:"createIterator",value:function(l,c,d){return document.createNodeIterator(l,c,d,!1)}},{key:"createInstanceOnIframe",value:function(l){return new s(l.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(l,c,d){var f=l.compareDocumentPosition(d),h=Node.DOCUMENT_POSITION_PRECEDING;if(f&h)if(c!==null){var p=c.compareDocumentPosition(d),g=Node.DOCUMENT_POSITION_FOLLOWING;if(p&g)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(l){var c=l.previousNode(),d=void 0;return c===null?d=l.nextNode():d=l.nextNode()&&l.nextNode(),{prevNode:c,node:d}}},{key:"checkIframeFilter",value:function(l,c,d,f){var h=!1,p=!1;return f.forEach(function(g,w){g.val===d&&(h=w,p=g.handled)}),this.compareNodeIframe(l,c,d)?(h===!1&&!p?f.push({val:d,handled:!0}):h!==!1&&!p&&(f[h].handled=!0),!0):(h===!1&&f.push({val:d,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(l,c,d,f){var h=this;l.forEach(function(p){p.handled||h.getIframeContents(p.val,function(g){h.createInstanceOnIframe(g).forEachNode(c,d,f)})})}},{key:"iterateThroughNodes",value:function(l,c,d,f,h){for(var p=this,g=this.createIterator(c,l,f),w=[],S=[],_=void 0,k=void 0,P=function(){var D=p.getIteratorNode(g);return k=D.prevNode,_=D.node,_};P();)this.iframes&&this.forEachIframe(c,function(A){return p.checkIframeFilter(_,k,A,w)},function(A){p.createInstanceOnIframe(A).forEachNode(l,function(D){return S.push(D)},f)}),S.push(_);S.forEach(function(A){d(A)}),this.iframes&&this.handleOpenIframes(w,l,d,f),h()}},{key:"forEachNode",value:function(l,c,d){var f=this,h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},p=this.getContexts(),g=p.length;g||h(),p.forEach(function(w){var S=function(){f.iterateThroughNodes(l,w,c,d,function(){--g<=0&&h()})};f.iframes?f.waitForIframes(w,S):S()})}}],[{key:"matches",value:function(l,c){var d=typeof c=="string"?[c]:c,f=l.matches||l.matchesSelector||l.msMatchesSelector||l.mozMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector;if(f){var h=!1;return d.every(function(p){return f.call(l,p)?(h=!0,!1):!0}),h}else return!1}}]),s}(),a=function(){function s(u){n(this,s),this.ctx=u,this.ie=!1;var l=window.navigator.userAgent;(l.indexOf("MSIE")>-1||l.indexOf("Trident")>-1)&&(this.ie=!0)}return e(s,[{key:"log",value:function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",d=this.opt.log;!this.opt.debug||(typeof d=="undefined"?"undefined":t(d))==="object"&&typeof d[c]=="function"&&d[c]("mark.js: "+l)}},{key:"escapeStr",value:function(l){return l.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(l){return this.opt.wildcards!=="disabled"&&(l=this.setupWildcardsRegExp(l)),l=this.escapeStr(l),Object.keys(this.opt.synonyms).length&&(l=this.createSynonymsRegExp(l)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(l=this.setupIgnoreJoinersRegExp(l)),this.opt.diacritics&&(l=this.createDiacriticsRegExp(l)),l=this.createMergedBlanksRegExp(l),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(l=this.createJoinersRegExp(l)),this.opt.wildcards!=="disabled"&&(l=this.createWildcardsRegExp(l)),l=this.createAccuracyRegExp(l),l}},{key:"createSynonymsRegExp",value:function(l){var c=this.opt.synonyms,d=this.opt.caseSensitive?"":"i",f=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var h in c)if(c.hasOwnProperty(h)){var p=c[h],g=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(h):this.escapeStr(h),w=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(p):this.escapeStr(p);g!==""&&w!==""&&(l=l.replace(new RegExp("("+this.escapeStr(g)+"|"+this.escapeStr(w)+")","gm"+d),f+("("+this.processSynomyms(g)+"|")+(this.processSynomyms(w)+")")+f))}return l}},{key:"processSynomyms",value:function(l){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(l=this.setupIgnoreJoinersRegExp(l)),l}},{key:"setupWildcardsRegExp",value:function(l){return l=l.replace(/(?:\\)*\?/g,function(c){return c.charAt(0)==="\\"?"?":""}),l.replace(/(?:\\)*\*/g,function(c){return c.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(l){var c=this.opt.wildcards==="withSpaces";return l.replace(/\u0001/g,c?"[\\S\\s]?":"\\S?").replace(/\u0002/g,c?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(l){return l.replace(/[^(|)\\]/g,function(c,d,f){var h=f.charAt(d+1);return/[(|)\\]/.test(h)||h===""?c:c+"\0"})}},{key:"createJoinersRegExp",value:function(l){var c=[],d=this.opt.ignorePunctuation;return Array.isArray(d)&&d.length&&c.push(this.escapeStr(d.join(""))),this.opt.ignoreJoiners&&c.push("\\u00ad\\u200b\\u200c\\u200d"),c.length?l.split(/\u0000+/).join("["+c.join("")+"]*"):l}},{key:"createDiacriticsRegExp",value:function(l){var c=this.opt.caseSensitive?"":"i",d=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],f=[];return l.split("").forEach(function(h){d.every(function(p){if(p.indexOf(h)!==-1){if(f.indexOf(p)>-1)return!1;l=l.replace(new RegExp("["+p+"]","gm"+c),"["+p+"]"),f.push(p)}return!0})}),l}},{key:"createMergedBlanksRegExp",value:function(l){return l.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(l){var c=this,d="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",f=this.opt.accuracy,h=typeof f=="string"?f:f.value,p=typeof f=="string"?[]:f.limiters,g="";switch(p.forEach(function(w){g+="|"+c.escapeStr(w)}),h){case"partially":default:return"()("+l+")";case"complementary":return g="\\s"+(g||this.escapeStr(d)),"()([^"+g+"]*"+l+"[^"+g+"]*)";case"exactly":return"(^|\\s"+g+")("+l+")(?=$|\\s"+g+")"}}},{key:"getSeparatedKeywords",value:function(l){var c=this,d=[];return l.forEach(function(f){c.opt.separateWordSearch?f.split(" ").forEach(function(h){h.trim()&&d.indexOf(h)===-1&&d.push(h)}):f.trim()&&d.indexOf(f)===-1&&d.push(f)}),{keywords:d.sort(function(f,h){return h.length-f.length}),length:d.length}}},{key:"isNumeric",value:function(l){return Number(parseFloat(l))==l}},{key:"checkRanges",value:function(l){var c=this;if(!Array.isArray(l)||Object.prototype.toString.call(l[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(l),[];var d=[],f=0;return l.sort(function(h,p){return h.start-p.start}).forEach(function(h){var p=c.callNoMatchOnInvalidRanges(h,f),g=p.start,w=p.end,S=p.valid;S&&(h.start=g,h.length=w-g,d.push(h),f=w)}),d}},{key:"callNoMatchOnInvalidRanges",value:function(l,c){var d=void 0,f=void 0,h=!1;return l&&typeof l.start!="undefined"?(d=parseInt(l.start,10),f=d+parseInt(l.length,10),this.isNumeric(l.start)&&this.isNumeric(l.length)&&f-c>0&&f-d>0?h=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(l))),this.opt.noMatch(l))):(this.log("Ignoring invalid range: "+JSON.stringify(l)),this.opt.noMatch(l)),{start:d,end:f,valid:h}}},{key:"checkWhitespaceRanges",value:function(l,c,d){var f=void 0,h=!0,p=d.length,g=c-p,w=parseInt(l.start,10)-g;return w=w>p?p:w,f=w+parseInt(l.length,10),f>p&&(f=p,this.log("End range automatically set to the max value of "+p)),w<0||f-w<0||w>p||f>p?(h=!1,this.log("Invalid range: "+JSON.stringify(l)),this.opt.noMatch(l)):d.substring(w,f).replace(/\s+/g,"")===""&&(h=!1,this.log("Skipping whitespace only range: "+JSON.stringify(l)),this.opt.noMatch(l)),{start:w,end:f,valid:h}}},{key:"getTextNodes",value:function(l){var c=this,d="",f=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(h){f.push({start:d.length,end:(d+=h.textContent).length,node:h})},function(h){return c.matchesExclude(h.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){l({value:d,nodes:f})})}},{key:"matchesExclude",value:function(l){return i.matches(l,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(l,c,d){var f=this.opt.element?this.opt.element:"mark",h=l.splitText(c),p=h.splitText(d-c),g=document.createElement(f);return g.setAttribute("data-markjs","true"),this.opt.className&&g.setAttribute("class",this.opt.className),g.textContent=h.textContent,h.parentNode.replaceChild(g,h),p}},{key:"wrapRangeInMappedTextNode",value:function(l,c,d,f,h){var p=this;l.nodes.every(function(g,w){var S=l.nodes[w+1];if(typeof S=="undefined"||S.start>c){if(!f(g.node))return!1;var _=c-g.start,k=(d>g.end?g.end:d)-g.start,P=l.value.substr(0,g.start),A=l.value.substr(k+g.start);if(g.node=p.wrapRangeInTextNode(g.node,_,k),l.value=P+A,l.nodes.forEach(function(D,N){N>=w&&(l.nodes[N].start>0&&N!==w&&(l.nodes[N].start-=k),l.nodes[N].end-=k)}),d-=k,h(g.node.previousSibling,g.start),d>g.end)c=g.end;else return!1}return!0})}},{key:"wrapMatches",value:function(l,c,d,f,h){var p=this,g=c===0?0:c+1;this.getTextNodes(function(w){w.nodes.forEach(function(S){S=S.node;for(var _=void 0;(_=l.exec(S.textContent))!==null&&_[g]!=="";)if(!!d(_[g],S)){var k=_.index;if(g!==0)for(var P=1;P{"use strict";var hs=rr&&rr.__assign||function(){return hs=Object.assign||function(t){for(var n,e=1,r=arguments.length;e0&&a[a.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]-1&&(n&&nr.cancelMethods[e](),nr.elements.splice(e,1),nr.cancelMethods.splice(e,1))}},xg=typeof window!="undefined",hk={cancelOnUserAction:!0,easing:function(t){return--t*t*t+1},elementToScroll:xg?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function pk(t,n){return n===void 0&&(n={}),ck(this,void 0,void 0,function(){var e,r,i,a,o,s,u,l,c,d,f,h,p,g,w,S,_,k;return uk(this,function(P){if(xg){if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill."}else return[2,new Promise(function(A){A(!1)})];if(a=hs(hs({},hk),n),o=a.elementToScroll===window,s=!!a.elementToScroll.nodeName,!o&&!s)throw"Element to scroll needs to be either window or DOM element.";if(u=o?document.documentElement:a.elementToScroll,l=getComputedStyle(u).getPropertyValue("scroll-behavior"),l==="smooth"&&console.warn(u.tagName+` has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`),c=o?new fk:new dk(a.elementToScroll),t instanceof Element){if(i=t,s&&(!a.elementToScroll.contains(i)||a.elementToScroll.isSameNode(i)))throw"options.elementToScroll has to be a parent of scrollToElement";e=c.getHorizontalElementScrollOffset(i,a.elementToScroll),r=c.getVerticalElementScrollOffset(i,a.elementToScroll)}else if(typeof t=="number")e=c.getHorizontalScroll(),r=t;else if(Array.isArray(t)&&t.length===2)e=t[0]===null?c.getHorizontalScroll():t[0],r=t[1]===null?c.getVerticalScroll():t[1];else throw`Wrong function signature. Check documentation. Available method signatures are: animateScrollTo(y:number, options) animateScrollTo([x:number | null, y:number | null], options) animateScrollTo(scrollToElement:Element, options)`;return e+=a.horizontalOffset,r+=a.verticalOffset,d=c.getMaxHorizontalScroll(),f=c.getHorizontalScroll(),e>d&&(e=d),h=e-f,p=c.getMaxVerticalScroll(),g=c.getVerticalScroll(),r>p&&(r=p),w=r-g,S=Math.abs(Math.round(h/1e3*a.speed)),_=Math.abs(Math.round(w/1e3*a.speed)),k=S>_?S:_,ka.maxDuration&&(k=a.maxDuration),[2,new Promise(function(A,D){h===0&&w===0&&A(!0),nr.remove(a.elementToScroll,!0);var N,K=function(){Y(),cancelAnimationFrame(N),A(!1)};nr.add(a.elementToScroll,K);var j=function(le){return le.preventDefault()},X=a.cancelOnUserAction?K:j,Q=a.cancelOnUserAction?{passive:!0}:{passive:!1},ie=["wheel","touchstart","keydown","mousedown"],Y=function(){ie.forEach(function(le){a.elementToScroll.removeEventListener(le,X,Q)})};ie.forEach(function(le){a.elementToScroll.addEventListener(le,X,Q)});var J=Date.now(),ne=function(){var le=Date.now()-J,de=le/k,fe=Math.round(f+h*a.easing(de)),he=Math.round(g+w*a.easing(de));le{(function(n,e){typeof Ts=="object"&&typeof tu=="object"?tu.exports=e():typeof define=="function"&&define.amd?define([],e):typeof Ts=="object"?Ts.Choices=e():n.Choices=e()})(window,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(r,i,a){e.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},e.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,i){if(i&1&&(r=e(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var o in r)e.d(a,o,function(s){return r[s]}.bind(null,o));return a},e.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(i,"a",i),i},e.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},e.p="/public/assets/scripts/",e(e.s=4)}([function(t,n,e){"use strict";var r=function(P){return i(P)&&!a(P)};function i(k){return!!k&&typeof k=="object"}function a(k){var P=Object.prototype.toString.call(k);return P==="[object RegExp]"||P==="[object Date]"||u(k)}var o=typeof Symbol=="function"&&Symbol.for,s=o?Symbol.for("react.element"):60103;function u(k){return k.$$typeof===s}function l(k){return Array.isArray(k)?[]:{}}function c(k,P){return P.clone!==!1&&P.isMergeableObject(k)?S(l(k),k,P):k}function d(k,P,A){return k.concat(P).map(function(D){return c(D,A)})}function f(k,P){if(!P.customMerge)return S;var A=P.customMerge(k);return typeof A=="function"?A:S}function h(k){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(k).filter(function(P){return k.propertyIsEnumerable(P)}):[]}function p(k){return Object.keys(k).concat(h(k))}function g(k,P){try{return P in k&&!(Object.hasOwnProperty.call(k,P)&&Object.propertyIsEnumerable.call(k,P))}catch(A){return!1}}function w(k,P,A){var D={};return A.isMergeableObject(k)&&p(k).forEach(function(N){D[N]=c(k[N],A)}),p(P).forEach(function(N){g(k,N)||(!A.isMergeableObject(P[N])||!k[N]?D[N]=c(P[N],A):D[N]=f(N,A)(k[N],P[N],A))}),D}function S(k,P,A){A=A||{},A.arrayMerge=A.arrayMerge||d,A.isMergeableObject=A.isMergeableObject||r,A.cloneUnlessOtherwiseSpecified=c;var D=Array.isArray(P),N=Array.isArray(k),K=D===N;return K?D?A.arrayMerge(k,P,A):w(k,P,A):c(P,A)}S.all=function(P,A){if(!Array.isArray(P))throw new Error("first argument should be an array");return P.reduce(function(D,N){return S(D,N,A)},{})};var _=S;t.exports=_},function(t,n,e){"use strict";(function(r,i){var a=e(3),o;typeof self!="undefined"?o=self:typeof window!="undefined"?o=window:typeof r!="undefined"?o=r:o=i;var s=Object(a.a)(o);n.a=s}).call(this,e(5),e(6)(t))},function(t,n,e){(function(r,i){t.exports=i()})(this,function(){return function(r){var i={};function a(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return r[o].call(s.exports,s,s.exports,a),s.l=!0,s.exports}return a.m=r,a.c=i,a.d=function(o,s,u){a.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:u})},a.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},a.t=function(o,s){if(1&s&&(o=a(o)),8&s||4&s&&typeof o=="object"&&o&&o.__esModule)return o;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:o}),2&s&&typeof o!="string")for(var l in o)a.d(u,l,function(c){return o[c]}.bind(null,l));return u},a.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return a.d(s,"a",s),s},a.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},a.p="",a(a.s=1)}([function(r,i){r.exports=function(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}},function(r,i,a){function o(f){return(o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(f)}function s(f,h){for(var p=0;p1&&arguments[1]!==void 0?arguments[1]:{limit:!1};this._log(`--------- Search pattern: "`.concat(w,'"'));var _=this._prepareSearchers(w),k=_.tokenSearchers,P=_.fullSearcher,A=this._search(k,P),D=A.weights,N=A.results;return this._computeScore(D,N),this.options.shouldSort&&this._sort(N),S.limit&&typeof S.limit=="number"&&(N=N.slice(0,S.limit)),this._format(N)}},{key:"_prepareSearchers",value:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",S=[];if(this.options.tokenize)for(var _=w.split(this.options.tokenSeparator),k=0,P=_.length;k0&&arguments[0]!==void 0?arguments[0]:[],S=arguments.length>1?arguments[1]:void 0,_=this.list,k={},P=[];if(typeof _[0]=="string"){for(var A=0,D=_.length;A1)throw new Error("Key weight has to be > 0 and <= 1");Y=Y.name}else N[Y]={weight:1};this._analyze({key:Y,value:this.options.getFn(X,Y),record:X,index:K},{resultMap:k,results:P,tokenSearchers:w,fullSearcher:S})}return{weights:N,results:P}}},{key:"_analyze",value:function(w,S){var _=w.key,k=w.arrayIndex,P=k===void 0?-1:k,A=w.value,D=w.record,N=w.index,K=S.tokenSearchers,j=K===void 0?[]:K,X=S.fullSearcher,Q=X===void 0?[]:X,ie=S.resultMap,Y=ie===void 0?{}:ie,J=S.results,ne=J===void 0?[]:J;if(A!=null){var le=!1,de=-1,fe=0;if(typeof A=="string"){this._log(` Key: `.concat(_===""?"-":_));var he=Q.search(A);if(this._log('Full text: "'.concat(A,'", score: ').concat(he.score)),this.options.tokenize){for(var Te=A.split(this.options.tokenSeparator),C=[],I=0;I-1&&(Pe=(Pe+de)/2),this._log("Score average:",Pe);var rt=!this.options.tokenize||!this.options.matchAllTokens||fe>=j.length;if(this._log(` Check Matches: `.concat(rt)),(le||he.isMatch)&&rt){var gt=Y[N];gt?gt.output.push({key:_,arrayIndex:P,value:A,score:Pe,matchedIndices:he.matchedIndices}):(Y[N]={item:D,output:[{key:_,arrayIndex:P,value:A,score:Pe,matchedIndices:he.matchedIndices}]},ne.push(Y[N]))}}else if(c(A))for(var dt=0,un=A.length;dt-1&&(le.arrayIndex=ne.arrayIndex),Q.matches.push(le)}}}),this.options.includeScore&&k.push(function(X,Q){Q.score=X.score});for(var P=0,A=w.length;PS)return s(g,this.pattern,_);var k=this.options,P=k.location,A=k.distance,D=k.threshold,N=k.findAllMatches,K=k.minMatchCharLength;return u(g,this.pattern,this.patternAlphabet,{location:P,distance:A,threshold:D,findAllMatches:N,minMatchCharLength:K})}}])&&o(f.prototype,h),p&&o(f,p),d}();r.exports=c},function(r,i){var a=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;r.exports=function(o,s){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:/ +/g,l=new RegExp(s.replace(a,"\\$&").replace(u,"|")),c=o.match(l),d=!!c,f=[];if(d)for(var h=0,p=c.length;h=I;B-=1){var z=B-1,U=c[u.charAt(z)];if(U&&(Q[z]=1),$e[B]=($e[B+1]<<1|1)&U,he!==0&&($e[B]|=(ne[B+1]|ne[B])<<1|1|ne[B+1]),$e[B]&fe&&(le=o(l,{errors:he,currentLocation:z,expectedLocation:D,distance:g}))<=K){if(K=le,(j=z)<=D)break;I=Math.max(1,2*D-j)}}if(o(l,{errors:he+1,currentLocation:D,expectedLocation:D,distance:g})>K)break;ne=$e}return{isMatch:j>=0,score:le===0?.001:le,matchedIndices:s(Q,A)}}},function(r,i){r.exports=function(a,o){var s=o.errors,u=s===void 0?0:s,l=o.currentLocation,c=l===void 0?0:l,d=o.expectedLocation,f=d===void 0?0:d,h=o.distance,p=h===void 0?100:h,g=u/a.length,w=Math.abs(f-c);return p?g+w/p:w?1:g}},function(r,i){r.exports=function(){for(var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,s=[],u=-1,l=-1,c=0,d=a.length;c=o&&s.push([u,l]),u=-1)}return a[c-1]&&c-u>=o&&s.push([u,c-1]),s}},function(r,i){r.exports=function(a){for(var o={},s=a.length,u=0;u0)return"Unexpected "+(L.length>1?"keys":"key")+" "+('"'+L.join('", "')+'" found in '+M+". ")+"Expected to find one of the known reducer keys instead: "+('"'+E.join('", "')+'". Unexpected keys will be ignored.')}function g(O){Object.keys(O).forEach(function(y){var b=O[y],m=b(void 0,{type:l.INIT});if(typeof m=="undefined")throw new Error('Reducer "'+y+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof b(void 0,{type:l.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error('Reducer "'+y+'" returned undefined when probed with a random type. '+("Don't try to handle "+l.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function w(O){for(var y=Object.keys(O),b={},m=0;m-1?O.map(function(b){var m=b;return m.id===parseInt(y.choiceId,10)&&(m.selected=!0),m}):O;case"REMOVE_ITEM":return y.choiceId>-1?O.map(function(b){var m=b;return m.id===parseInt(y.choiceId,10)&&(m.selected=!1),m}):O;case"FILTER_CHOICES":return O.map(function(b){var m=b;return m.active=y.results.some(function(E){var M=E.item,L=E.score;return M.id===m.id?(m.score=L,!0):!1}),m});case"ACTIVATE_CHOICES":return O.map(function(b){var m=b;return m.active=y.active,m});case"CLEAR_CHOICES":return Y;default:return O}}var ne={loading:!1},le=function(y,b){switch(y===void 0&&(y=ne),b.type){case"SET_IS_LOADING":return{loading:b.isLoading};default:return y}},de=le,fe=function(y,b){return Math.floor(Math.random()*(b-y)+y)},he=function(y){return Array.from({length:y},function(){return fe(0,36).toString(36)}).join("")},Te=function(y,b){var m=y.id||y.name&&y.name+"-"+he(2)||he(4);return m=m.replace(/(:|\.|\[|\]|,)/g,""),m=b+"-"+m,m},C=function(y){return Object.prototype.toString.call(y).slice(8,-1)},I=function(y,b){return b!=null&&C(b)===y},tt=function(y,b){return b===void 0&&(b=document.createElement("div")),y.nextSibling?y.parentNode.insertBefore(b,y.nextSibling):y.parentNode.appendChild(b),b.appendChild(y)},$e=function(y,b,m){if(m===void 0&&(m=1),!(!(y instanceof Element)||typeof b!="string")){for(var E=(m>0?"next":"previous")+"ElementSibling",M=y[E];M;){if(M.matches(b))return M;M=M[E]}return M}},B=function(y,b,m){if(m===void 0&&(m=1),!y)return!1;var E;return m>0?E=b.scrollTop+b.offsetHeight>=y.offsetTop+y.offsetHeight:E=y.offsetTop>=b.scrollTop,E},z=function(y){return typeof y!="string"?y:y.replace(/&/g,"&").replace(/>/g,"&rt;").replace(/"'+z(y)+'"'},maxItemText:function(y){return"Only "+y+" values can be added"},valueComparer:function(y,b){return y===b},fuseOptions:{includeScore:!0},callbackOnInit:null,callbackOnCreateTemplates:null,classNames:$n},yt={showDropdown:"showDropdown",hideDropdown:"hideDropdown",change:"change",choice:"choice",search:"search",addItem:"addItem",removeItem:"removeItem",highlightItem:"highlightItem",highlightChoice:"highlightChoice"},At={ADD_CHOICE:"ADD_CHOICE",FILTER_CHOICES:"FILTER_CHOICES",ACTIVATE_CHOICES:"ACTIVATE_CHOICES",CLEAR_CHOICES:"CLEAR_CHOICES",ADD_GROUP:"ADD_GROUP",ADD_ITEM:"ADD_ITEM",REMOVE_ITEM:"REMOVE_ITEM",HIGHLIGHT_ITEM:"HIGHLIGHT_ITEM",CLEAR_ALL:"CLEAR_ALL"},it={BACK_KEY:46,DELETE_KEY:8,ENTER_KEY:13,A_KEY:65,ESC_KEY:27,UP_KEY:38,DOWN_KEY:40,PAGE_UP_KEY:33,PAGE_DOWN_KEY:34},V="text",re="select-one",ye="select-multiple",Be=4,ft=function(){function O(b){var m=b.element,E=b.type,M=b.classNames,L=b.position;this.element=m,this.classNames=M,this.type=E,this.position=L,this.isOpen=!1,this.isFlipped=!1,this.isFocussed=!1,this.isDisabled=!1,this.isLoading=!1,this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this)}var y=O.prototype;return y.addEventListeners=function(){this.element.addEventListener("focus",this._onFocus),this.element.addEventListener("blur",this._onBlur)},y.removeEventListeners=function(){this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur)},y.shouldFlip=function(m){if(typeof m!="number")return!1;var E=!1;return this.position==="auto"?E=!window.matchMedia("(min-height: "+(m+1)+"px)").matches:this.position==="top"&&(E=!0),E},y.setActiveDescendant=function(m){this.element.setAttribute("aria-activedescendant",m)},y.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},y.open=function(m){this.element.classList.add(this.classNames.openState),this.element.setAttribute("aria-expanded","true"),this.isOpen=!0,this.shouldFlip(m)&&(this.element.classList.add(this.classNames.flippedState),this.isFlipped=!0)},y.close=function(){this.element.classList.remove(this.classNames.openState),this.element.setAttribute("aria-expanded","false"),this.removeActiveDescendant(),this.isOpen=!1,this.isFlipped&&(this.element.classList.remove(this.classNames.flippedState),this.isFlipped=!1)},y.focus=function(){this.isFocussed||this.element.focus()},y.addFocusState=function(){this.element.classList.add(this.classNames.focusState)},y.removeFocusState=function(){this.element.classList.remove(this.classNames.focusState)},y.enable=function(){this.element.classList.remove(this.classNames.disabledState),this.element.removeAttribute("aria-disabled"),this.type===re&&this.element.setAttribute("tabindex","0"),this.isDisabled=!1},y.disable=function(){this.element.classList.add(this.classNames.disabledState),this.element.setAttribute("aria-disabled","true"),this.type===re&&this.element.setAttribute("tabindex","-1"),this.isDisabled=!0},y.wrap=function(m){tt(m,this.element)},y.unwrap=function(m){this.element.parentNode.insertBefore(m,this.element),this.element.parentNode.removeChild(this.element)},y.addLoadingState=function(){this.element.classList.add(this.classNames.loadingState),this.element.setAttribute("aria-busy","true"),this.isLoading=!0},y.removeLoadingState=function(){this.element.classList.remove(this.classNames.loadingState),this.element.removeAttribute("aria-busy"),this.isLoading=!1},y._onFocus=function(){this.isFocussed=!0},y._onBlur=function(){this.isFocussed=!1},O}();function Ke(O,y){for(var b=0;b0?this.element.scrollTop+te-R:m.offsetTop;requestAnimationFrame(function(){M._animateScroll(oe,E)})}},y._scrollDown=function(m,E,M){var L=(M-m)/E,R=L>1?L:1;this.element.scrollTop=m+R},y._scrollUp=function(m,E,M){var L=(m-M)/E,R=L>1?L:1;this.element.scrollTop=m-R},y._animateScroll=function(m,E){var M=this,L=Be,R=this.element.scrollTop,q=!1;E>0?(this._scrollDown(R,L,m),Rm&&(q=!0)),q&&requestAnimationFrame(function(){M._animateScroll(m,E)})},O}();function It(O,y){for(var b=0;b0?"treeitem":"option"),Object.assign(Le.dataset,{choice:"",id:oe,value:ve,selectText:m}),xe?(Le.classList.add(q),Le.dataset.choiceDisabled="",Le.setAttribute("aria-disabled","true")):(Le.classList.add(L),Le.dataset.choiceSelectable=""),Le},input:function(y,b){var m=y.input,E=y.inputCloned,M=Object.assign(document.createElement("input"),{type:"text",className:m+" "+E,autocomplete:"off",autocapitalize:"off",spellcheck:!1});return M.setAttribute("role","textbox"),M.setAttribute("aria-autocomplete","list"),M.setAttribute("aria-label",b),M},dropdown:function(y){var b=y.list,m=y.listDropdown,E=document.createElement("div");return E.classList.add(b,m),E.setAttribute("aria-expanded","false"),E},notice:function(y,b,m){var E=y.item,M=y.itemChoice,L=y.noResults,R=y.noChoices;m===void 0&&(m="");var q=[E,M];return m==="no-choices"?q.push(R):m==="no-results"&&q.push(L),Object.assign(document.createElement("div"),{innerHTML:b,className:q.join(" ")})},option:function(y){var b=y.label,m=y.value,E=y.customProperties,M=y.active,L=y.disabled,R=new Option(b,m,!1,M);return E&&(R.dataset.customProperties=E),R.disabled=L,R}},ue=ce,_e=function(y){var b=y.value,m=y.label,E=y.id,M=y.groupId,L=y.disabled,R=y.elementId,q=y.customProperties,te=y.placeholder,oe=y.keyCode;return{type:At.ADD_CHOICE,value:b,label:m,id:E,groupId:M,disabled:L,elementId:R,customProperties:q,placeholder:te,keyCode:oe}},De=function(y){return{type:At.FILTER_CHOICES,results:y}},ze=function(y){return y===void 0&&(y=!0),{type:At.ACTIVATE_CHOICES,active:y}},xt=function(){return{type:At.CLEAR_CHOICES}},lt=function(y){var b=y.value,m=y.label,E=y.id,M=y.choiceId,L=y.groupId,R=y.customProperties,q=y.placeholder,te=y.keyCode;return{type:At.ADD_ITEM,value:b,label:m,id:E,choiceId:M,groupId:L,customProperties:R,placeholder:q,keyCode:te}},Un=function(y,b){return{type:At.REMOVE_ITEM,id:y,choiceId:b}},Pt=function(y,b){return{type:At.HIGHLIGHT_ITEM,id:y,highlighted:b}},bn=function(y){var b=y.value,m=y.id,E=y.active,M=y.disabled;return{type:At.ADD_GROUP,value:b,id:m,active:E,disabled:M}},Dn=function(){return{type:"CLEAR_ALL"}},Cn=function(y){return{type:"RESET_TO",state:y}},jn=function(y){return{type:"SET_IS_LOADING",isLoading:y}};function Sr(O,y){for(var b=0;b=0?this._store.getGroupById(R):null;return this._store.dispatch(Pt(M,!0)),E&&this.passedElement.triggerEvent(yt.highlightItem,{id:M,value:te,label:ve,groupValue:pe&&pe.value?pe.value:null}),this},y.unhighlightItem=function(m){if(!m)return this;var E=m.id,M=m.groupId,L=M===void 0?-1:M,R=m.value,q=R===void 0?"":R,te=m.label,oe=te===void 0?"":te,ve=L>=0?this._store.getGroupById(L):null;return this._store.dispatch(Pt(E,!1)),this.passedElement.triggerEvent(yt.highlightItem,{id:E,value:q,label:oe,groupValue:ve&&ve.value?ve.value:null}),this},y.highlightAll=function(){var m=this;return this._store.items.forEach(function(E){return m.highlightItem(E)}),this},y.unhighlightAll=function(){var m=this;return this._store.items.forEach(function(E){return m.unhighlightItem(E)}),this},y.removeActiveItemsByValue=function(m){var E=this;return this._store.activeItems.filter(function(M){return M.value===m}).forEach(function(M){return E._removeItem(M)}),this},y.removeActiveItems=function(m){var E=this;return this._store.activeItems.filter(function(M){var L=M.id;return L!==m}).forEach(function(M){return E._removeItem(M)}),this},y.removeHighlightedItems=function(m){var E=this;return m===void 0&&(m=!1),this._store.highlightedActiveItems.forEach(function(M){E._removeItem(M),m&&E._triggerChange(M.value)}),this},y.showDropdown=function(m){var E=this;return this.dropdown.isActive?this:(requestAnimationFrame(function(){E.dropdown.show(),E.containerOuter.open(E.dropdown.distanceFromTopWindow),!m&&E._canSearch&&E.input.focus(),E.passedElement.triggerEvent(yt.showDropdown,{})}),this)},y.hideDropdown=function(m){var E=this;return this.dropdown.isActive?(requestAnimationFrame(function(){E.dropdown.hide(),E.containerOuter.close(),!m&&E._canSearch&&(E.input.removeActiveDescendant(),E.input.blur()),E.passedElement.triggerEvent(yt.hideDropdown,{})}),this):this},y.getValue=function(m){m===void 0&&(m=!1);var E=this._store.activeItems.reduce(function(M,L){var R=m?L.value:L;return M.push(R),M},[]);return this._isSelectOneElement?E[0]:E},y.setValue=function(m){var E=this;return this.initialised?(m.forEach(function(M){return E._setChoiceOrItem(M)}),this):this},y.setChoiceByValue=function(m){var E=this;if(!this.initialised||this._isTextElement)return this;var M=Array.isArray(m)?m:[m];return M.forEach(function(L){return E._findAndSelectChoiceByValue(L)}),this},y.setChoices=function(m,E,M,L){var R=this;if(m===void 0&&(m=[]),E===void 0&&(E="value"),M===void 0&&(M="label"),L===void 0&&(L=!1),!this.initialised)throw new ReferenceError("setChoices was called on a non-initialized instance of Choices");if(!this._isSelectElement)throw new TypeError("setChoices can't be used with INPUT based Choices");if(typeof E!="string"||!E)throw new TypeError("value parameter must be a name of 'value' field in passed objects");if(L&&this.clearChoices(),typeof m=="function"){var q=m(this);if(typeof Promise=="function"&&q instanceof Promise)return new Promise(function(te){return requestAnimationFrame(te)}).then(function(){return R._handleLoadingState(!0)}).then(function(){return q}).then(function(te){return R.setChoices(te,E,M,L)}).catch(function(te){R.config.silent||console.error(te)}).then(function(){return R._handleLoadingState(!1)}).then(function(){return R});if(!Array.isArray(q))throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: "+typeof q);return this.setChoices(q,E,M,!1)}if(!Array.isArray(m))throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");return this.containerOuter.removeLoadingState(),this._startLoading(),m.forEach(function(te){te.choices?R._addGroup({id:parseInt(te.id,10)||null,group:te,valueKey:E,labelKey:M}):R._addChoice({value:te[E],label:te[M],isSelected:te.selected,isDisabled:te.disabled,customProperties:te.customProperties,placeholder:te.placeholder})}),this._stopLoading(),this},y.clearChoices=function(){return this._store.dispatch(xt()),this},y.clearStore=function(){return this._store.dispatch(Dn()),this},y.clearInput=function(){var m=!this._isSelectOneElement;return this.input.clear(m),!this._isTextElement&&this._canSearch&&(this._isSearching=!1,this._store.dispatch(ze(!0))),this},y._render=function(){if(!this._store.isLoading()){this._currentState=this._store.state;var m=this._currentState.choices!==this._prevState.choices||this._currentState.groups!==this._prevState.groups||this._currentState.items!==this._prevState.items,E=this._isSelectElement,M=this._currentState.items!==this._prevState.items;!m||(E&&this._renderChoices(),M&&this._renderItems(),this._prevState=this._currentState)}},y._renderChoices=function(){var m=this,E=this._store,M=E.activeGroups,L=E.activeChoices,R=document.createDocumentFragment();if(this.choiceList.clear(),this.config.resetScrollPosition&&requestAnimationFrame(function(){return m.choiceList.scrollToTop()}),M.length>=1&&!this._isSearching){var q=L.filter(function(Me){return Me.placeholder===!0&&Me.groupId===-1});q.length>=1&&(R=this._createChoicesFragment(q,R)),R=this._createGroupsFragment(M,L,R)}else L.length>=1&&(R=this._createChoicesFragment(L,R));if(R.childNodes&&R.childNodes.length>0){var te=this._store.activeItems,oe=this._canAddItem(te,this.input.value);oe.response?(this.choiceList.append(R),this._highlightChoice()):this.choiceList.append(this._getTemplate("notice",oe.notice))}else{var ve,pe;this._isSearching?(pe=typeof this.config.noResultsText=="function"?this.config.noResultsText():this.config.noResultsText,ve=this._getTemplate("notice",pe,"no-results")):(pe=typeof this.config.noChoicesText=="function"?this.config.noChoicesText():this.config.noChoicesText,ve=this._getTemplate("notice",pe,"no-choices")),this.choiceList.append(ve)}},y._renderItems=function(){var m=this._store.activeItems||[];this.itemList.clear();var E=this._createItemsFragment(m);E.childNodes&&this.itemList.append(E)},y._createGroupsFragment=function(m,E,M){var L=this;M===void 0&&(M=document.createDocumentFragment());var R=function(te){return E.filter(function(oe){return L._isSelectOneElement?oe.groupId===te.id:oe.groupId===te.id&&(L.config.renderSelectedChoices==="always"||!oe.selected)})};return this.config.shouldSort&&m.sort(this.config.sorter),m.forEach(function(q){var te=R(q);if(te.length>=1){var oe=L._getTemplate("choiceGroup",q);M.appendChild(oe),L._createChoicesFragment(te,M,!0)}}),M},y._createChoicesFragment=function(m,E,M){var L=this;E===void 0&&(E=document.createDocumentFragment()),M===void 0&&(M=!1);var R=this.config,q=R.renderSelectedChoices,te=R.searchResultLimit,oe=R.renderChoiceLimit,ve=this._isSearching?we:this.config.sorter,pe=function(ht){var wn=q==="auto"?L._isSelectOneElement||!ht.selected:!0;if(wn){var zn=L._getTemplate("choice",ht,L.config.itemSelectText);E.appendChild(zn)}},Me=m;q==="auto"&&!this._isSelectOneElement&&(Me=m.filter(function(Je){return!Je.selected}));var Ae=Me.reduce(function(Je,ht){return ht.placeholder?Je.placeholderChoices.push(ht):Je.normalChoices.push(ht),Je},{placeholderChoices:[],normalChoices:[]}),xe=Ae.placeholderChoices,Oe=Ae.normalChoices;(this.config.shouldSort||this._isSearching)&&Oe.sort(ve);var Ce=Me.length,Le=this._isSelectOneElement?[].concat(xe,Oe):Oe;this._isSearching?Ce=te:oe&&oe>0&&!M&&(Ce=oe);for(var be=0;be=L){var te=R?this._searchChoices(m):0;this.passedElement.triggerEvent(yt.search,{value:m,resultCount:te})}else q&&(this._isSearching=!1,this._store.dispatch(ze(!0)))}},y._canAddItem=function(m,E){var M=!0,L=typeof this.config.addItemText=="function"?this.config.addItemText(E):this.config.addItemText;if(!this._isSelectOneElement){var R=Pe(m,E);this.config.maxItemCount>0&&this.config.maxItemCount<=m.length&&(M=!1,L=typeof this.config.maxItemText=="function"?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),!this.config.duplicateItemsAllowed&&R&&M&&(M=!1,L=typeof this.config.uniqueItemText=="function"?this.config.uniqueItemText(E):this.config.uniqueItemText),this._isTextElement&&this.config.addItems&&M&&typeof this.config.addItemFilter=="function"&&!this.config.addItemFilter(E)&&(M=!1,L=typeof this.config.customAddItemText=="function"?this.config.customAddItemText(E):this.config.customAddItemText)}return{response:M,notice:L}},y._searchChoices=function(m){var E=typeof m=="string"?m.trim():m,M=typeof this._currentValue=="string"?this._currentValue.trim():this._currentValue;if(E.length<1&&E===M+" ")return 0;var L=this._store.searchableChoices,R=E,q=[].concat(this.config.searchFields),te=Object.assign(this.config.fuseOptions,{keys:q}),oe=new i.a(L,te),ve=oe.search(R);return this._currentValue=E,this._highlightPosition=0,this._isSearching=!0,this._store.dispatch(De(ve)),ve.length},y._addEventListeners=function(){var m=document,E=m.documentElement;E.addEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.addEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,!0),E.addEventListener("click",this._onClick,{passive:!0}),E.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:!0}),this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:!0})),this.input.element.addEventListener("keyup",this._onKeyUp,{passive:!0}),this.input.element.addEventListener("focus",this._onFocus,{passive:!0}),this.input.element.addEventListener("blur",this._onBlur,{passive:!0}),this.input.element.form&&this.input.element.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},y._removeEventListeners=function(){var m=document,E=m.documentElement;E.removeEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,!0),E.removeEventListener("click",this._onClick),E.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(this.containerOuter.element.removeEventListener("focus",this._onFocus),this.containerOuter.element.removeEventListener("blur",this._onBlur)),this.input.element.removeEventListener("keyup",this._onKeyUp),this.input.element.removeEventListener("focus",this._onFocus),this.input.element.removeEventListener("blur",this._onBlur),this.input.element.form&&this.input.element.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},y._onKeyDown=function(m){var E,M=m.target,L=m.keyCode,R=m.ctrlKey,q=m.metaKey,te=this._store.activeItems,oe=this.input.isFocussed,ve=this.dropdown.isActive,pe=this.itemList.hasChildren(),Me=String.fromCharCode(L),Ae=it.BACK_KEY,xe=it.DELETE_KEY,Oe=it.ENTER_KEY,Ce=it.A_KEY,Le=it.ESC_KEY,be=it.UP_KEY,Je=it.DOWN_KEY,ht=it.PAGE_UP_KEY,wn=it.PAGE_DOWN_KEY,zn=R||q;!this._isTextElement&&/[a-zA-Z0-9-_ ]/.test(Me)&&this.showDropdown();var An=(E={},E[Ce]=this._onAKey,E[Oe]=this._onEnterKey,E[Le]=this._onEscapeKey,E[be]=this._onDirectionKey,E[ht]=this._onDirectionKey,E[Je]=this._onDirectionKey,E[wn]=this._onDirectionKey,E[xe]=this._onDeleteKey,E[Ae]=this._onDeleteKey,E);An[L]&&An[L]({event:m,target:M,keyCode:L,metaKey:q,activeItems:te,hasFocusedInput:oe,hasActiveDropdown:ve,hasItems:pe,hasCtrlDownKeyPressed:zn})},y._onKeyUp=function(m){var E=m.target,M=m.keyCode,L=this.input.value,R=this._store.activeItems,q=this._canAddItem(R,L),te=it.BACK_KEY,oe=it.DELETE_KEY;if(this._isTextElement){var ve=q.notice&&L;if(ve){var pe=this._getTemplate("notice",q.notice);this.dropdown.element.innerHTML=pe.outerHTML,this.showDropdown(!0)}else this.hideDropdown(!0)}else{var Me=(M===te||M===oe)&&!E.value,Ae=!this._isTextElement&&this._isSearching,xe=this._canSearch&&q.response;Me&&Ae?(this._isSearching=!1,this._store.dispatch(ze(!0))):xe&&this._handleSearch(this.input.value)}this._canSearch=this.config.searchEnabled},y._onAKey=function(m){var E=m.hasItems,M=m.hasCtrlDownKeyPressed;if(M&&E){this._canSearch=!1;var L=this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement;L&&this.highlightAll()}},y._onEnterKey=function(m){var E=m.event,M=m.target,L=m.activeItems,R=m.hasActiveDropdown,q=it.ENTER_KEY,te=M.hasAttribute("data-button");if(this._isTextElement&&M.value){var oe=this.input.value,ve=this._canAddItem(L,oe);ve.response&&(this.hideDropdown(!0),this._addItem({value:oe}),this._triggerChange(oe),this.clearInput())}if(te&&(this._handleButtonAction(L,M),E.preventDefault()),R){var pe=this.dropdown.getChild("."+this.config.classNames.highlightedState);pe&&(L[0]&&(L[0].keyCode=q),this._handleChoiceAction(L,pe)),E.preventDefault()}else this._isSelectOneElement&&(this.showDropdown(),E.preventDefault())},y._onEscapeKey=function(m){var E=m.hasActiveDropdown;E&&(this.hideDropdown(!0),this.containerOuter.focus())},y._onDirectionKey=function(m){var E=m.event,M=m.hasActiveDropdown,L=m.keyCode,R=m.metaKey,q=it.DOWN_KEY,te=it.PAGE_UP_KEY,oe=it.PAGE_DOWN_KEY;if(M||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var ve=L===q||L===oe?1:-1,pe=R||L===oe||L===te,Me="[data-choice-selectable]",Ae;if(pe)ve>0?Ae=this.dropdown.element.querySelector(Me+":last-of-type"):Ae=this.dropdown.element.querySelector(Me);else{var xe=this.dropdown.element.querySelector("."+this.config.classNames.highlightedState);xe?Ae=$e(xe,Me,ve):Ae=this.dropdown.element.querySelector(Me)}Ae&&(B(Ae,this.choiceList.element,ve)||this.choiceList.scrollToChildElement(Ae,ve),this._highlightChoice(Ae)),E.preventDefault()}},y._onDeleteKey=function(m){var E=m.event,M=m.target,L=m.hasFocusedInput,R=m.activeItems;L&&!M.value&&!this._isSelectOneElement&&(this._handleBackspace(R),E.preventDefault())},y._onTouchMove=function(){this._wasTap&&(this._wasTap=!1)},y._onTouchEnd=function(m){var E=m||m.touches[0],M=E.target,L=this._wasTap&&this.containerOuter.element.contains(M);if(L){var R=M===this.containerOuter.element||M===this.containerInner.element;R&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),m.stopPropagation()}this._wasTap=!0},y._onMouseDown=function(m){var E=m.target;if(E instanceof HTMLElement){if(Vr&&this.choiceList.element.contains(E)){var M=this.choiceList.element.firstElementChild,L=this._direction==="ltr"?m.offsetX>=M.offsetWidth:m.offsetX0;L&&this.unhighlightAll(),this.containerOuter.removeFocusState(),this.hideDropdown(!0)}},y._onFocus=function(m){var E=this,M,L=m.target,R=this.containerOuter.element.contains(L);if(!!R){var q=(M={},M[V]=function(){L===E.input.element&&E.containerOuter.addFocusState()},M[re]=function(){E.containerOuter.addFocusState(),L===E.input.element&&E.showDropdown(!0)},M[ye]=function(){L===E.input.element&&(E.showDropdown(!0),E.containerOuter.addFocusState())},M);q[this.passedElement.element.type]()}},y._onBlur=function(m){var E=this,M=m.target,L=this.containerOuter.element.contains(M);if(L&&!this._isScrollingOnIe){var R,q=this._store.activeItems,te=q.some(function(ve){return ve.highlighted}),oe=(R={},R[V]=function(){M===E.input.element&&(E.containerOuter.removeFocusState(),te&&E.unhighlightAll(),E.hideDropdown(!0))},R[re]=function(){E.containerOuter.removeFocusState(),(M===E.input.element||M===E.containerOuter.element&&!E._canSearch)&&E.hideDropdown(!0)},R[ye]=function(){M===E.input.element&&(E.containerOuter.removeFocusState(),E.hideDropdown(!0),te&&E.unhighlightAll())},R);oe[this.passedElement.element.type]()}else this._isScrollingOnIe=!1,this.input.element.focus()},y._onFormReset=function(){this._store.dispatch(Cn(this._initialState))},y._highlightChoice=function(m){var E=this;m===void 0&&(m=null);var M=Array.from(this.dropdown.element.querySelectorAll("[data-choice-selectable]"));if(!!M.length){var L=m,R=Array.from(this.dropdown.element.querySelectorAll("."+this.config.classNames.highlightedState));R.forEach(function(q){q.classList.remove(E.config.classNames.highlightedState),q.setAttribute("aria-selected","false")}),L?this._highlightPosition=M.indexOf(L):(M.length>this._highlightPosition?L=M[this._highlightPosition]:L=M[M.length-1],L||(L=M[0])),L.classList.add(this.config.classNames.highlightedState),L.setAttribute("aria-selected","true"),this.passedElement.triggerEvent(yt.highlightChoice,{el:L}),this.dropdown.isActive&&(this.input.setActiveDescendant(L.id),this.containerOuter.setActiveDescendant(L.id))}},y._addItem=function(m){var E=m.value,M=m.label,L=M===void 0?null:M,R=m.choiceId,q=R===void 0?-1:R,te=m.groupId,oe=te===void 0?-1:te,ve=m.customProperties,pe=ve===void 0?null:ve,Me=m.placeholder,Ae=Me===void 0?!1:Me,xe=m.keyCode,Oe=xe===void 0?null:xe,Ce=typeof E=="string"?E.trim():E,Le=Oe,be=pe,Je=this._store.items,ht=L||Ce,wn=q||-1,zn=oe>=0?this._store.getGroupById(oe):null,An=Je?Je.length+1:1;return this.config.prependValue&&(Ce=this.config.prependValue+Ce.toString()),this.config.appendValue&&(Ce+=this.config.appendValue.toString()),this._store.dispatch(lt({value:Ce,label:ht,id:An,choiceId:wn,groupId:oe,customProperties:pe,placeholder:Ae,keyCode:Le})),this._isSelectOneElement&&this.removeActiveItems(An),this.passedElement.triggerEvent(yt.addItem,{id:An,value:Ce,label:ht,customProperties:be,groupValue:zn&&zn.value?zn.value:void 0,keyCode:Le}),this},y._removeItem=function(m){if(!m||!I("Object",m))return this;var E=m.id,M=m.value,L=m.label,R=m.choiceId,q=m.groupId,te=q>=0?this._store.getGroupById(q):null;return this._store.dispatch(Un(E,R)),te&&te.value?this.passedElement.triggerEvent(yt.removeItem,{id:E,value:M,label:L,groupValue:te.value}):this.passedElement.triggerEvent(yt.removeItem,{id:E,value:M,label:L}),this},y._addChoice=function(m){var E=m.value,M=m.label,L=M===void 0?null:M,R=m.isSelected,q=R===void 0?!1:R,te=m.isDisabled,oe=te===void 0?!1:te,ve=m.groupId,pe=ve===void 0?-1:ve,Me=m.customProperties,Ae=Me===void 0?null:Me,xe=m.placeholder,Oe=xe===void 0?!1:xe,Ce=m.keyCode,Le=Ce===void 0?null:Ce;if(!(typeof E=="undefined"||E===null)){var be=this._store.choices,Je=L||E,ht=be?be.length+1:1,wn=this._baseId+"-"+this._idNames.itemChoice+"-"+ht;this._store.dispatch(_e({id:ht,groupId:pe,elementId:wn,value:E,label:Je,disabled:oe,customProperties:Ae,placeholder:Oe,keyCode:Le})),q&&this._addItem({value:E,label:Je,choiceId:ht,customProperties:Ae,placeholder:Oe,keyCode:Le})}},y._addGroup=function(m){var E=this,M=m.group,L=m.id,R=m.valueKey,q=R===void 0?"value":R,te=m.labelKey,oe=te===void 0?"label":te,ve=I("Object",M)?M.choices:Array.from(M.getElementsByTagName("OPTION")),pe=L||Math.floor(new Date().valueOf()*Math.random()),Me=M.disabled?M.disabled:!1;if(ve){this._store.dispatch(bn({value:M.label,id:pe,active:!0,disabled:Me}));var Ae=function(Oe){var Ce=Oe.disabled||Oe.parentNode&&Oe.parentNode.disabled;E._addChoice({value:Oe[q],label:I("Object",Oe)?Oe[oe]:Oe.innerHTML,isSelected:Oe.selected,isDisabled:Ce,groupId:pe,customProperties:Oe.customProperties,placeholder:Oe.placeholder})};ve.forEach(Ae)}else this._store.dispatch(bn({value:M.label,id:M.id,active:!1,disabled:M.disabled}))},y._getTemplate=function(m){var E;if(!m)return null;for(var M=this.config.classNames,L=arguments.length,R=new Array(L>1?L-1:0),q=1;q{(function(t,n){typeof Bs=="object"&&typeof xv!="undefined"?n(Bs):typeof define=="function"&&define.amd?define(["exports"],n):(t=typeof globalThis!="undefined"?globalThis:t||self,n(t.immutableJSONPatch={}))})(Bs,function(t){"use strict";function n(B){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(U){return typeof U}:n=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},n(B)}function e(B,z){return JSON.stringify(B)===JSON.stringify(z)}function r(B,z){return B===z}function i(B){return B.slice(0,B.length-1)}function a(B){return B[B.length-1]}function o(B,z){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;if(B.length3&&arguments[3]!==void 0?arguments[3]:!1;if(z.length===0)return U;var we=z[0],Ee=g(B?B[we]:void 0,z.slice(1),U,G);if(!s(B))if(G){var Pe=typeof we=="number"?[]:{};return Pe[we]=Ee,Pe}else throw new Error("Path does not exist");return h(B,we,Ee)}function w(B,z,U){if(z.length===0)return U(B);if(!s(B))throw new Error("Path doesn't exist");var G=z[0],we=w(B[G],z.slice(1),U);return h(B,G,we)}function S(B,z){if(z.length===0)return B;if(!s(B))throw new Error("Path does not exist");if(z.length===1){var U=z[0];if(U in B){var G=f(B);return Array.isArray(G)?G.splice(U,1):delete G[U],G}else return B}var we=z[0],Ee=S(B[we],z.slice(1));return h(B,we,Ee)}function _(B,z,U){var G=z.slice(0,z.length-1),we=z[z.length-1];return w(B,G,function(Ee){if(!Array.isArray(Ee))throw new TypeError("Array expected at path "+JSON.stringify(G));var Pe=f(Ee);return Pe.splice(we,0,U),Pe})}function k(B,z){return B===void 0?!1:z.length===0?!0:k(B[z[0]],z.slice(1))}function P(B){var z=B.split("/");return z.shift(),z.map(function(U){return U.replace(/~1/g,"/").replace(/~0/g,"~")})}function A(B){return B.map(function(z){return"/"+String(z).replace(/~/g,"~0").replace(/\//g,"~1")}).join("")}function D(B,z,U){for(var G=B,we=0;we{(function(){var t;typeof Ou!="undefined"?t=Ou.exports=r:t=function(){return this||(0,eval)("this")}(),t.format=r,t.vsprintf=e,typeof console!="undefined"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(r.apply(null,arguments))}function e(i,a){return r.apply(null,[i].concat(a))}function r(i){for(var a=1,o=[].slice.call(arguments),s=0,u=i.length,l="",c,d=!1,f,h,p=!1,g,w=function(){return o[a++]},S=function(){for(var _="";/\d/.test(i[s]);)_+=i[s++],c=i[s];return _.length>0?parseInt(_):null};sUu});function Fa(t,n){let e=Object.keys(n).map(r=>zy(t,r,n[r]));return e.length===1?e[0]:function(){e.forEach(r=>r())}}function zy(t,n,e){let r=t[n],i=t.hasOwnProperty(n),a=e(r);return r&&Object.setPrototypeOf(a,r),Object.setPrototypeOf(o,a),t[n]=o,s;function o(...u){return a===r&&t[n]===o&&s(),a.apply(this,u)}function s(){t[n]===o&&(i?t[n]=r:delete t[n]),a!==r&&(a=r,Object.setPrototypeOf(o,r||Function))}}var vn=ge(require("obsidian"));var Fi,me,Vu,Vy,Ri,qu,Wu,Yu,Ra={},Ju=[],qy=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Vn(t,n){for(var e in n)t[e]=n[e];return t}function Gu(t){var n=t.parentNode;n&&n.removeChild(t)}function En(t,n,e){var r,i,a,o={};for(a in n)a=="key"?r=n[a]:a=="ref"?i=n[a]:o[a]=n[a];if(arguments.length>2&&(o.children=arguments.length>3?Fi.call(arguments,2):e),typeof t=="function"&&t.defaultProps!=null)for(a in t.defaultProps)o[a]===void 0&&(o[a]=t.defaultProps[a]);return Hi(t,o,r,i,null)}function Hi(t,n,e,r,i){var a={type:t,props:n,key:e,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++Vu:i};return i==null&&me.vnode!=null&&me.vnode(a),a}function il(){return{current:null}}function In(t){return t.children}function hn(t,n){this.props=t,this.context=n}function Jr(t,n){if(n==null)return t.__?Jr(t.__,t.__.__k.indexOf(t)+1):null;for(var e;n0?Hi(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=e,h.__b=e.__b+1,(f=S[c])===null||f&&h.key==f.key&&h.type===f.type)S[c]=void 0;else for(d=0;d<_;d++){if((f=S[d])&&h.key==f.key&&h.type===f.type){S[d]=void 0;break}f=null}ol(t,h,f=f||Ra,i,a,o,s,u,l),p=h.__e,(d=h.ref)&&f.ref!=d&&(w||(w=[]),f.ref&&w.push(f.ref,null,h),w.push(d,h.__c||p,h)),p!=null?(g==null&&(g=p),typeof h.type=="function"&&h.__k===f.__k?h.__d=u=Zu(h,u,t):u=ed(t,h,f,S,p,u),typeof e.type=="function"&&(e.__d=u)):u&&f.__e==u&&u.parentNode!=t&&(u=Jr(f))}for(e.__e=g,c=_;c--;)S[c]!=null&&(typeof e.type=="function"&&S[c].__e!=null&&S[c].__e==e.__d&&(e.__d=Jr(r,c+1)),od(S[c],S[c]));if(w)for(c=0;c2&&(o.children=arguments.length>3?Fi.call(arguments,2):e),Hi(t.type,o,r||t.key,i||t.ref,null)}function ll(t,n){var e={__c:n="__cC"+Yu++,__:t,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,a;return this.getChildContext||(i=[],(a={})[n]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(al)},this.sub=function(o){i.push(o);var s=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),s&&s.call(o)}}),r.children}};return e.Provider.__=e.Consumer.contextType=e}Fi=Ju.slice,me={__e:function(t,n){for(var e,r,i;n=n.__;)if((e=n.__c)&&!e.__)try{if((r=e.constructor)&&r.getDerivedStateFromError!=null&&(e.setState(r.getDerivedStateFromError(t)),i=e.__d),e.componentDidCatch!=null&&(e.componentDidCatch(t),i=e.__d),i)return e.__E=e}catch(a){t=a}throw t}},Vu=0,Vy=function(t){return t!=null&&t.constructor===void 0},hn.prototype.setState=function(t,n){var e;e=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Vn({},this.state),typeof t=="function"&&(t=t(Vn({},e),this.props)),t&&Vn(e,t),t!=null&&this.__v&&(n&&this.__h.push(n),al(this))},hn.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),al(this))},hn.prototype.render=In,Ri=[],qu=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ha.__r=0,Yu=0;var Qr,Kt,ld,Xr=0,cl=[],cd=me.__b,ud=me.__r,dd=me.diffed,fd=me.__c,hd=me.unmount;function Bi(t,n){me.__h&&me.__h(Kt,t,Xr||n),Xr=0;var e=Kt.__H||(Kt.__H={__:[],__h:[]});return t>=e.__.length&&e.__.push({}),e.__[t]}function Ka(t){return Xr=1,ul(yd,t)}function ul(t,n,e){var r=Bi(Qr++,2);return r.t=t,r.__c||(r.__=[e?e(n):yd(void 0,n),function(i){var a=r.t(r.__[0],i);r.__[0]!==a&&(r.__=[a,r.__[1]],r.__c.setState({}))}],r.__c=Kt),r.__}function $a(t,n){var e=Bi(Qr++,3);!me.__s&&hl(e.__H,n)&&(e.__=t,e.__H=n,Kt.__H.__h.push(e))}function dl(t,n){var e=Bi(Qr++,4);!me.__s&&hl(e.__H,n)&&(e.__=t,e.__H=n,Kt.__h.push(e))}function Ua(t){return Xr=5,ja(function(){return{current:t}},[])}function pd(t,n,e){Xr=6,dl(function(){typeof t=="function"?t(n()):t&&(t.current=n())},e==null?e:e.concat(t))}function ja(t,n){var e=Bi(Qr++,7);return hl(e.__H,n)&&(e.__=t(),e.__H=n,e.__h=t),e.__}function za(t,n){return Xr=8,ja(function(){return t},n)}function md(t){var n=Kt.context[t.__c],e=Bi(Qr++,9);return e.c=t,n?(e.__==null&&(e.__=!0,n.sub(Kt)),n.props.value):t.__}function gd(t,n){me.useDebugValue&&me.useDebugValue(n?n(t):t)}function Gy(){var t;for(cl.sort(function(n,e){return n.__v.__b-e.__v.__b});t=cl.pop();)if(t.__P)try{t.__H.__h.forEach(Va),t.__H.__h.forEach(fl),t.__H.__h=[]}catch(n){t.__H.__h=[],me.__e(n,t.__v)}}me.__b=function(t){Kt=null,cd&&cd(t)},me.__r=function(t){ud&&ud(t),Qr=0;var n=(Kt=t.__c).__H;n&&(n.__h.forEach(Va),n.__h.forEach(fl),n.__h=[])},me.diffed=function(t){dd&&dd(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(cl.push(n)!==1&&ld===me.requestAnimationFrame||((ld=me.requestAnimationFrame)||function(e){var r,i=function(){clearTimeout(a),vd&&cancelAnimationFrame(r),setTimeout(e)},a=setTimeout(i,100);vd&&(r=requestAnimationFrame(i))})(Gy)),Kt=null},me.__c=function(t,n){n.some(function(e){try{e.__h.forEach(Va),e.__h=e.__h.filter(function(r){return!r.__||fl(r)})}catch(r){n.some(function(i){i.__h&&(i.__h=[])}),n=[],me.__e(r,e.__v)}}),fd&&fd(t,n)},me.unmount=function(t){hd&&hd(t);var n,e=t.__c;e&&e.__H&&(e.__H.__.forEach(function(r){try{Va(r)}catch(i){n=i}}),n&&me.__e(n,e.__v))};var vd=typeof requestAnimationFrame=="function";function Va(t){var n=Kt,e=t.__c;typeof e=="function"&&(t.__c=void 0,e()),Kt=n}function fl(t){var n=Kt;t.__c=t.__(),Kt=n}function hl(t,n){return!t||t.length!==n.length||n.some(function(e,r){return e!==t[r]})}function yd(t,n){return typeof n=="function"?n(t):n}function bd(t,n){for(var e in n)t[e]=n[e];return t}function pl(t,n){for(var e in t)if(e!=="__source"&&!(e in n))return!0;for(var r in n)if(r!=="__source"&&t[r]!==n[r])return!0;return!1}function ml(t){this.props=t}function Qy(t,n){function e(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),n?!n(this.props,i)||!o:pl(this.props,i)}function r(i){return this.shouldComponentUpdate=e,En(t,i)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ml.prototype=new hn).isPureReactComponent=!0,ml.prototype.shouldComponentUpdate=function(t,n){return pl(this.props,t)||pl(this.state,n)};var wd=me.__b;me.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),wd&&wd(t)};var Xy=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Zy(t){function n(e,r){var i=bd({},e);return delete i.ref,t(i,(r=e.ref||r)&&(typeof r!="object"||"current"in r)?r:null)}return n.$$typeof=Xy,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(t.displayName||t.name)+")",n}var Ed=function(t,n){return t==null?null:Ln(Ln(t).map(n))},eb={map:Ed,forEach:Ed,count:function(t){return t?Ln(t).length:0},only:function(t){var n=Ln(t);if(n.length!==1)throw"Children.only";return n[0]},toArray:Ln},tb=me.__e;me.__e=function(t,n,e){if(t.then){for(var r,i=n;i=i.__;)if((r=i.__c)&&r.__c)return n.__e==null&&(n.__e=e.__e,n.__k=e.__k),r.__c(t,n)}tb(t,n,e)};var Sd=me.unmount;function qa(){this.__u=0,this.t=null,this.__b=null}function xd(t){var n=t.__.__c;return n&&n.__e&&n.__e(t)}function nb(t){var n,e,r;function i(a){if(n||(n=t()).then(function(o){e=o.default||o},function(o){r=o}),r)throw r;if(!e)throw n;return En(e,a)}return i.displayName="Lazy",i.__f=!0,i}function Ki(){this.u=null,this.o=null}me.unmount=function(t){var n=t.__c;n&&n.__R&&n.__R(),n&&t.__h===!0&&(t.type=null),Sd&&Sd(t)},(qa.prototype=new hn).__c=function(t,n){var e=n.__c,r=this;r.t==null&&(r.t=[]),r.t.push(e);var i=xd(r.__v),a=!1,o=function(){a||(a=!0,e.__R=null,i?i(s):s())};e.__R=o;var s=function(){if(!--r.__u){if(r.state.__e){var l=r.state.__e;r.__v.__k[0]=function d(f,h,p){return f&&(f.__v=null,f.__k=f.__k&&f.__k.map(function(g){return d(g,h,p)}),f.__c&&f.__c.__P===h&&(f.__e&&p.insertBefore(f.__e,f.__d),f.__c.__e=!0,f.__c.__P=p)),f}(l,l.__c.__P,l.__c.__O)}var c;for(r.setState({__e:r.__b=null});c=r.t.pop();)c.forceUpdate()}},u=n.__h===!0;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(o,o)},qa.prototype.componentWillUnmount=function(){this.t=[]},qa.prototype.render=function(t,n){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function a(o,s,u){return o&&(o.__c&&o.__c.__H&&(o.__c.__H.__.forEach(function(l){typeof l.__c=="function"&&l.__c()}),o.__c.__H=null),(o=bd({},o)).__c!=null&&(o.__c.__P===u&&(o.__c.__P=s),o.__c=null),o.__k=o.__k&&o.__k.map(function(l){return a(l,s,u)})),o}(this.__b,e,r.__O=r.__P)}this.__b=null}var i=n.__e&&En(In,null,t.fallback);return i&&(i.__h=null),[En(In,null,n.__e?null:t.children),i]};var kd=function(t,n,e){if(++e[1]===e[0]&&t.o.delete(n),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(e=t.u;e;){for(;e.length>3;)e.pop()();if(e[1]>>1,1),n.i.removeChild(r)}}),Gr(En(rb,{context:n.context},t.__v),n.l)):n.l&&n.componentWillUnmount()}function gl(t,n){return En(ib,{__v:t,i:n})}(Ki.prototype=new hn).__e=function(t){var n=this,e=xd(n.__v),r=n.o.get(t);return r[0]++,function(i){var a=function(){n.props.revealOrder?(r.push(i),kd(n,t,r)):i()};e?e(a):a()}},Ki.prototype.render=function(t){this.u=null,this.o=new Map;var n=Ln(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&n.reverse();for(var e=n.length;e--;)this.o.set(n[e],this.u=[1,0,this.u]);return t.children},Ki.prototype.componentDidUpdate=Ki.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(n,e){kd(t,e,n)})};var _d=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,ab=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ob=typeof document!="undefined",sb=function(t){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};function lb(t,n,e){return n.__k==null&&(n.textContent=""),Gr(t,n),typeof e=="function"&&e(),t?t.__c:null}function cb(t,n,e){return sl(t,n),typeof e=="function"&&e(),t?t.__c:null}hn.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(hn.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var Td=me.event;function ub(){}function db(){return this.cancelBubble}function fb(){return this.defaultPrevented}me.event=function(t){return Td&&(t=Td(t)),t.persist=ub,t.isPropagationStopped=db,t.isDefaultPrevented=fb,t.nativeEvent=t};var Md,Dd={configurable:!0,get:function(){return this.class}},Cd=me.vnode;me.vnode=function(t){var n=t.type,e=t.props,r=e;if(typeof n=="string"){var i=n.indexOf("-")===-1;for(var a in r={},e){var o=e[a];ob&&a==="children"&&n==="noscript"||a==="value"&&"defaultValue"in e&&o==null||(a==="defaultValue"&&"value"in e&&e.value==null?a="value":a==="download"&&o===!0?o="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+n)&&!sb(e.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(a)?a=a.toLowerCase():i&&ab.test(a)?a=a.replace(/[A-Z0-9]/,"-$&").toLowerCase():o===null&&(o=void 0),r[a]=o)}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=Ln(e.children).forEach(function(s){s.props.selected=r.value.indexOf(s.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=Ln(e.children).forEach(function(s){s.props.selected=r.multiple?r.defaultValue.indexOf(s.props.value)!=-1:r.defaultValue==s.props.value})),t.props=r,e.class!=e.className&&(Dd.enumerable="className"in e,e.className!=null&&(r.class=e.className),Object.defineProperty(r,"className",Dd))}t.$$typeof=_d,Cd&&Cd(t)};var Ad=me.__r;me.__r=function(t){Ad&&Ad(t),Md=t.__c};var hb={ReactCurrentDispatcher:{current:{readContext:function(t){return Md.__n[t.__c].props.value}}}};function pb(t){return En.bind(null,t)}function Id(t){return!!t&&t.$$typeof===_d}function mb(t){return Id(t)?sd.apply(null,arguments):t}function gb(t){return!!t.__k&&(Gr(null,t),!0)}function vb(t){return t&&(t.base||t.nodeType===1&&t)||null}var yb=function(t,n){return t(n)},bb=function(t,n){return t(n)};var v={useState:Ka,useReducer:ul,useEffect:$a,useLayoutEffect:dl,useRef:Ua,useImperativeHandle:pd,useMemo:ja,useCallback:za,useContext:md,useDebugValue:gd,version:"17.0.2",Children:eb,render:lb,hydrate:cb,unmountComponentAtNode:gb,createPortal:gl,createElement:En,createContext:ll,createFactory:pb,cloneElement:mb,createRef:il,Fragment:In,isValidElement:Id,findDOMNode:vb,Component:hn,PureComponent:ml,memo:Qy,forwardRef:Zy,flushSync:bb,unstable_batchedUpdates:yb,StrictMode:In,Suspense:qa,SuspenseList:Ki,lazy:nb,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hb};var Xg=ge(Ot());var qe=v.createContext(null),Ya=v.createContext(null);var Jd=ge(Ot()),Ja=ge(require("obsidian"));var jd=ge(Kd()),or=ge(Ot());function $d(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ud(t){var n,e;return $d(t)===!1?!1:(n=t.constructor,n===void 0?!0:(e=n.prototype,!($d(e)===!1||e.hasOwnProperty("isPrototypeOf")===!1)))}function $b(t,n){return t.length!==n.length?!1:t.every((e,r,i)=>r===i.length-1?e!==n[r]:e===n[r])}function Ub(t,n){return t.length===n.length&&t.every((e,r)=>e===n[r])}var en;(function(i){i[i.Before=0]="Before",i[i.After=1]="After",i[i.Self=2]="Self",i[i.NotSiblings=3]="NotSiblings"})(en||(en={}));function ji(t,n){if(Ub(t,n))return 2;if(!$b(t,n))return 3;let e=t.length-1;return t[e]=0;r--)e={children:{[t[r]]:e}};return e}function zi(t,n){let e=n;for(let r=t.length-2;r>=0;r--)e={children:{[t[r]]:e}};return e}function zd(t){return zi(t,{children:{$splice:[[t[t.length-1],1]]}})}function Vd(t,n,e=0){return zi(t,{children:{$splice:[[t[t.length-1]+e,0,...n]]}})}function zb(t,n){return zi(t,{children:{$push:n}})}function Vb(t,n){return zi(t,{children:{$unshift:n}})}function qd(t,n,e,r){let i=r?r(vt(t,n)):vt(t,n),o=ji(n,e)===en.After?-1:0,s=zd(n),u=Vd(e,[i],o),l=(0,jd.default)(s,u,{isMergeableObject:d=>Ud(d)||Array.isArray(d)});return(0,or.default)(t,l)}function kr(t,n){return(0,or.default)(t,zd(n))}function sr(t,n,e){return(0,or.default)(t,Vd(n,e))}function wl(t,n,e){return(0,or.default)(t,zb(n,e))}function Wd(t,n,e){return(0,or.default)(t,Vb(n,e))}function Yd(t,n,e){return(0,or.default)(t,jb(n,e))}function El(t,n,e){return(0,or.default)(t,zi(n,e))}var Sl="kanban-plugin";function ei(){}function $(t){return`${Sl}__${t}`}function We(){return Math.random().toString(36).substr(2,9)}function xl(t,n,e,r,i){var l,c;let a=vt(t,n.slice(0,-1)),o=vt(e,r.slice(0,-1)),s=(l=a==null?void 0:a.data)==null?void 0:l.shouldMarkItemsComplete,u=(c=o==null?void 0:o.data)==null?void 0:c.shouldMarkItemsComplete;return!s&&!u||u===!!i.data.isComplete?i:(0,Jd.default)(i,{data:{isComplete:{$set:u}}})}function Ga(){let t=v.useRef(!1);return{oncompositionstart:()=>{t.current=!0},oncompositionend:()=>{t.current=!1},getShouldIMEBlockAction:()=>t.current}}var qb=/<%/;async function Gd(t,n){let e=n?t.app.vault.getAbstractFileByPath(n):null;if(e&&e instanceof Ja.TFile){let r=t.app.workspace.activeLeaf.view;try{r instanceof Ja.MarkdownView&&r.getMode()!=="source"&&await r.setState({...r.getState(),mode:"source"},{});let{templatesEnabled:i,templaterEnabled:a,templatesPlugin:o,templaterPlugin:s}=kl(t.app),u=await t.app.vault.read(e);if(i&&a)return qb.test(u)?await s.append_template_to_active_file(e):await o.instance.insertTemplate(e);if(i)return await o.instance.insertTemplate(e);if(a)return await s.append_template_to_active_file(e);await t.app.vault.modify(t.app.workspace.getActiveFile(),u)}catch(i){console.error(i),t.setError(i)}}}function ti(t){var s,u,l,c,d;let n=t.internalPlugins.plugins,e=(s=n["daily-notes"])==null?void 0:s.enabled,r=(u=n["daily-notes"])==null?void 0:u.instance.options.format,i=(l=t.plugins.plugins["nldates-obsidian"])==null?void 0:l.settings.format,a=(c=n.templates)==null?void 0:c.enabled,o=(d=n.templates)==null?void 0:d.instance.options.dateFormat;return e&&r||i||a&&o||"YYYY-MM-DD"}function Vi(t){var a,o,s;let n=t.internalPlugins.plugins,e=(a=t.plugins.plugins["nldates-obsidian"])==null?void 0:a.settings.timeFormat,r=(o=n.templates)==null?void 0:o.enabled,i=(s=n.templates)==null?void 0:s.instance.options.timeFormat;return e||r&&i||"HH:mm"}var Qd=/[\\^$.*+?()[\]{}|]/g,Wb=RegExp(Qd.source);function On(t){return t&&Wb.test(t)?t.replace(Qd,"\\$&"):t||""}function kl(t){var s;let n=t.internalPlugins.plugins.templates,e=n.enabled,r=t.plugins.plugins["templater-obsidian"],i=t.plugins.enabledPlugins.has("templater-obsidian"),a=r&&((s=this.app.plugins.plugins["templater-obsidian"].settings)==null?void 0:s.empty_file_template),o=e?n.instance.options.folder:r?r.settings.template_folder:void 0;return{templatesPlugin:n,templatesEnabled:e,templaterPlugin:r==null?void 0:r.templater,templaterEnabled:i,templaterEmptyFileTemplate:a,templateFolder:o}}function bt(t){if(typeof t=="string"||typeof t=="number")return""+t;let n="";if(Array.isArray(t))for(let e=0,r;e{r.has(n)&&(r.delete(n),r.size===0&&e.push(i))}),e.forEach(r=>{this.idScopes.delete(r),this.scrollStates.delete(r)})}};var wt=v.createContext(null),lr=v.createContext(""),Wi=v.createContext(null),Yi=v.createContext(new qi),Qa=v.createContext(null),Xa=v.createContext(null);var Xd={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,toJSON(){}},Zd=[0,0,0,0];function Xe(t){return t===void 0?0:t}function Za(t,n,e,r){return[t.left+Xe(n==null?void 0:n.x)+Xe(e==null?void 0:e.x)-Xe(r==null?void 0:r.x),t.top+Xe(n==null?void 0:n.y)+Xe(e==null?void 0:e.y)-Xe(r==null?void 0:r.y),t.left+t.width+Xe(n==null?void 0:n.x)+Xe(e==null?void 0:e.x)-Xe(r==null?void 0:r.x),t.top+t.height+Xe(n==null?void 0:n.y)+Xe(e==null?void 0:e.y)-Xe(r==null?void 0:r.y)]}function _l(t,n,e,r){let i=Za(t,n,e,null);return r==="top"?(i[3]=i[1]+35,i):r==="right"?(i[0]=i[0]+t.width-35,i):r==="bottom"?(i[1]=i[1]+t.height-35,i):(i[2]=i[0]+35,i)}function eo(t,n,e,r,i,a){return[t-Xe(i==null?void 0:i.x)-Xe(a==null?void 0:a.x),n-Xe(i==null?void 0:i.y)-Xe(a==null?void 0:a.y),e-Xe(i==null?void 0:i.x)-Xe(a==null?void 0:a.x),r-Xe(i==null?void 0:i.y)-Xe(a==null?void 0:a.y)]}var Yb=t=>Jb(t,(n,e)=>n{if(o.entityId===e)return Infinity;let s=o.getHitbox(),u=tf(s)[0],l=Gb(n),c=o.getData().sortAxis==="horizontal"?"x":"y",d=l[c]>r[c]?1e3:0;return ni(u,r)+d}),a=Yb(i);return t[a]?t[a]:null}function Ml(t){let{scrollLeft:n,scrollTop:e,scrollWidth:r,scrollHeight:i,offsetWidth:a,offsetHeight:o}=t,s=n,u=e,l=r-a,c=i-o;return{x:s,y:u,maxX:Math.max(l,0),maxY:Math.max(c,0)}}function nf(t,n,e){let r=Math.trunc((e.x-n.x)*100)/100,i=Math.trunc((e.y-n.y)*100)/100;return[t[0]+r,t[1]+i,t[2]+r,t[3]+i]}function Dl(t,n=[0,0,0,0]){let e=t[0]-n[0],r=t[1]-n[1],i=t[2]+n[2],o=t[3]+n[3]-r;return{width:i-e,height:o}}var Cl=class{constructor(n,e,r,i,a,o,s,u,l,c){this.isVisible=!1;this.id=r,this.instanceId=We(),this.scopeId=e,this.entityId=`${e}-${r}`,this.dndManager=n,this.index=i,this.children=new Map,this.parent=a,this.scrollParent=o,this.getEntityData=c,this.sortManager=s,this.pollForNodes(u,l)}pollForNodes(n,e){!n()||!e()?requestAnimationFrame(()=>this.pollForNodes(n,e)):this.initNodes(n(),e())}initNodes(n,e){var r,i;if(this.entityNode=n,this.measureNode=e,e.dataset.hitboxid=this.entityId,(r=this.sortManager)==null||r.registerSortable(this.entityId,this.getEntity(Xd),n,e),this.scrollParent)this.scrollParent.registerObserverHandler(this.entityId,e,a=>{var o,s;if(a.isIntersecting){let u=this.getEntity(a.boundingClientRect);(o=this.parent)==null||o.children.set(this.entityId,{entity:u,manager:this}),this.dndManager.observeResize(e),(!this.parent||this.parent.isVisible)&&(this.dndManager.registerHitboxEntity(this.entityId,u),this.children.forEach((l,c)=>{this.dndManager.registerHitboxEntity(c,l.entity)}),this.setVisibility(!0))}else this.dndManager.unregisterHitboxEntity(this.entityId),this.children.forEach((u,l)=>{this.dndManager.unregisterHitboxEntity(l)}),(s=this.parent)==null||s.children.delete(this.entityId),this.dndManager.unobserveResize(e),this.setVisibility(!1)});else{let a=this.getEntity(e.getBoundingClientRect());this.dndManager.observeResize(e),this.dndManager.registerHitboxEntity(this.entityId,a),(i=this.parent)==null||i.children.set(this.entityId,{entity:a,manager:this}),this.setVisibility(!0)}}setVisibility(n){this.isVisible=n,this.children.forEach(e=>{e.manager.setVisibility(n)})}destroy(){var n,e,r;this.dndManager.unobserveResize(this.measureNode),(n=this.sortManager)==null||n.unregisterSortable(this.entityId),(e=this.scrollParent)==null||e.unregisterObserverHandler(this.entityId,this.measureNode),this.dndManager.unregisterHitboxEntity(this.entityId),(r=this.parent)==null||r.children.delete(this.entityId)}getPath(){var n;return[...((n=this.parent)==null?void 0:n.getPath())||[],this.index]}getEntity(n){var r,i;let e=this;return{scopeId:this.scopeId,entityId:this.entityId,initial:Za(n,((r=e.scrollParent)==null?void 0:r.scrollState)||tn,((i=e.scrollParent)==null?void 0:i.getScrollShift())||Nn,null),getParentScrollState(){var a;return((a=e.scrollParent)==null?void 0:a.scrollState)||tn},getParentScrollShift(){var a;return((a=e.scrollParent)==null?void 0:a.getScrollShift())||Nn},recalcInitial(){var a,o;this.initial=Za(e.measureNode.getBoundingClientRect(),((a=e.scrollParent)==null?void 0:a.scrollState)||tn,((o=e.scrollParent)==null?void 0:o.getScrollShift())||Nn,null)},getHitbox(){return eo(this.initial[0],this.initial[1],this.initial[2],this.initial[3],this.getParentScrollState(),this.getParentScrollShift())},getPath(){return e.getPath()},getData(){var a;return{...e.getEntityData(),sortAxis:(a=e.sortManager)==null?void 0:a.axis}}}}};var cr=v.memo(function({id:n,index:e,elementRef:r,measureRef:i,children:a,data:o}){let s=v.useContext(wt),u=v.useContext(Qa),l=v.useContext(lr),c=v.useContext(Xa),d=v.useContext(Wi),f=v.useRef(o),h=v.useRef();f.current=o;let p=v.useMemo(()=>{if(s){h.current&&h.current.destroy();let g=new Cl(s,l,n,e,c,d,u,()=>r.current,()=>i.current,()=>f.current);return h.current=g,g}return null},[n,e,s,l,c,d,u]);return v.useEffect(()=>()=>{var g;return(g=h.current)==null?void 0:g.destroy()},[]),p?v.createElement(Xa.Provider,{value:p},a):null});function qn(t){let n=v.useContext(Xa),e=(n==null?void 0:n.getPath())||[];return t!==void 0&&e.push(t),v.useMemo(()=>e,e)}var sc=ge(mh()),bp=ge(require("obsidian"));var hE=function(n){var e=[],r=null,i=function(){for(var o=arguments.length,s=new Array(o),u=0;u0?r:t.name,writable:!1,configurable:!1,enumerable:!0})}return e}function mE(t){var n=t.name,e=n&&n.lastIndexOf(".")!==-1;if(e&&!t.type){var r=n.split(".").pop().toLowerCase(),i=pE.get(r);i&&Object.defineProperty(t,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return t}var gE=[".DS_Store","Thumbs.db"];function Jl(t){return fi(this,void 0,void 0,function(){return hi(this,function(n){return[2,vE(t)&&t.dataTransfer?wE(t.dataTransfer,t.type):yE(t)]})})}function vE(t){return!!t.dataTransfer}function yE(t){var n=bE(t.target)?t.target.files?Gl(t.target.files):[]:[];return n.map(function(e){return ta(e)})}function bE(t){return t!==null}function wE(t,n){return fi(this,void 0,void 0,function(){var e,r;return hi(this,function(i){switch(i.label){case 0:return t.items?(e=Gl(t.items).filter(function(a){return a.kind==="file"}),n!=="drop"?[2,e]:[4,Promise.all(e.map(EE))]):[3,2];case 1:return r=i.sent(),[2,Bh(Kh(r))];case 2:return[2,Bh(Gl(t.files).map(function(a){return ta(a)}))]}})})}function Bh(t){return t.filter(function(n){return gE.indexOf(n.name)===-1})}function Gl(t){for(var n=[],e=0;etypeof console!="undefined"&&console.warn(t),getWeek:t=>{let n=new Date(t.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var e=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1};var Mo={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:t=>{let n=t%100;if(n>3&&n<21)return"th";switch(n%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},Do=Mo;var Nt=(t,n=2)=>`000${t}`.slice(n*-1),Yt=t=>t===!0?1:0;function Ql(t,n){let e;return function(){clearTimeout(e),e=setTimeout(()=>t.apply(this,arguments),n)}}var Co=t=>t instanceof Array?t:[t];function Ft(t,n,e){if(e===!0)return t.classList.add(n);t.classList.remove(n)}function Ve(t,n,e){let r=window.document.createElement(t);return n=n||"",e=e||"",r.className=n,e!==void 0&&(r.textContent=e),r}function na(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Xl(t,n){if(n(t))return t;if(t.parentNode)return Xl(t.parentNode,n)}function ra(t,n){let e=Ve("div","numInputWrapper"),r=Ve("input","numInput "+t),i=Ve("span","arrowUp"),a=Ve("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?r.type="number":(r.type="text",r.pattern="\\d*"),n!==void 0)for(let o in n)r.setAttribute(o,n[o]);return e.appendChild(r),e.appendChild(i),e.appendChild(a),e}function Jt(t){try{return typeof t.composedPath=="function"?t.composedPath()[0]:t.target}catch(n){return t.target}}var Zl=()=>{},ia=(t,n,e)=>e.months[n?"shorthand":"longhand"][t],jh={D:Zl,F:function(t,n,e){t.setMonth(e.months.longhand.indexOf(n))},G:(t,n)=>{t.setHours(parseFloat(n))},H:(t,n)=>{t.setHours(parseFloat(n))},J:(t,n)=>{t.setDate(parseFloat(n))},K:(t,n,e)=>{t.setHours(t.getHours()%12+12*Yt(new RegExp(e.amPM[1],"i").test(n)))},M:function(t,n,e){t.setMonth(e.months.shorthand.indexOf(n))},S:(t,n)=>{t.setSeconds(parseFloat(n))},U:(t,n)=>new Date(parseFloat(n)*1e3),W:function(t,n,e){let r=parseInt(n),i=new Date(t.getFullYear(),0,2+(r-1)*7,0,0,0,0);return i.setDate(i.getDate()-i.getDay()+e.firstDayOfWeek),i},Y:(t,n)=>{t.setFullYear(parseFloat(n))},Z:(t,n)=>new Date(n),d:(t,n)=>{t.setDate(parseFloat(n))},h:(t,n)=>{t.setHours(parseFloat(n))},i:(t,n)=>{t.setMinutes(parseFloat(n))},j:(t,n)=>{t.setDate(parseFloat(n))},l:Zl,m:(t,n)=>{t.setMonth(parseFloat(n)-1)},n:(t,n)=>{t.setMonth(parseFloat(n)-1)},s:(t,n)=>{t.setSeconds(parseFloat(n))},u:(t,n)=>new Date(parseFloat(n)),w:Zl,y:(t,n)=>{t.setFullYear(2e3+parseFloat(n))}},aa={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",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:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},pi={Z:t=>t.toISOString(),D:function(t,n,e){return n.weekdays.shorthand[pi.w(t,n,e)]},F:function(t,n,e){return ia(pi.n(t,n,e)-1,!1,n)},G:function(t,n,e){return Nt(pi.h(t,n,e))},H:t=>Nt(t.getHours()),J:function(t,n){return n.ordinal!==void 0?t.getDate()+n.ordinal(t.getDate()):t.getDate()},K:(t,n)=>n.amPM[Yt(t.getHours()>11)],M:function(t,n){return ia(t.getMonth(),!0,n)},S:t=>Nt(t.getSeconds()),U:t=>t.getTime()/1e3,W:function(t,n,e){return e.getWeek(t)},Y:t=>Nt(t.getFullYear(),4),d:t=>Nt(t.getDate()),h:t=>t.getHours()%12?t.getHours()%12:12,i:t=>Nt(t.getMinutes()),j:t=>t.getDate(),l:function(t,n){return n.weekdays.longhand[t.getDay()]},m:t=>Nt(t.getMonth()+1),n:t=>t.getMonth()+1,s:t=>t.getSeconds(),u:t=>t.getTime(),w:t=>t.getDay(),y:t=>String(t.getFullYear()).substring(2)};var ec=({config:t=hr,l10n:n=Mo,isMobile:e=!1})=>(r,i,a)=>{let o=a||n;return t.formatDate!==void 0&&!e?t.formatDate(r,i,o):i.split("").map((s,u,l)=>pi[s]&&l[u-1]!=="\\"?pi[s](r,o,t):s!=="\\"?s:"").join("")},Ao=({config:t=hr,l10n:n=Mo})=>(e,r,i,a)=>{if(e!==0&&!e)return;let o=a||n,s,u=e;if(e instanceof Date)s=new Date(e.getTime());else if(typeof e!="string"&&e.toFixed!==void 0)s=new Date(e);else if(typeof e=="string"){let l=r||(t||hr).dateFormat,c=String(e).trim();if(c==="today")s=new Date,i=!0;else if(/Z$/.test(c)||/GMT$/.test(c))s=new Date(e);else if(t&&t.parseDate)s=t.parseDate(e,l);else{s=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0));let d,f=[];for(let h=0,p=0,g="";hs=k(s,P,o)||s)}s=d?s:void 0}}if(!(s instanceof Date&&!isNaN(s.getTime()))){t.errorHandler(new Error(`Invalid date provided: ${u}`));return}return i===!0&&s.setHours(0,0,0,0),s};function Gt(t,n,e=!0){return e!==!1?new Date(t.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):t.getTime()-n.getTime()}var zh=(t,n,e)=>t>Math.min(n,e)&&tt[r]=e[r]);return t});var kE=300;function _E(t,n){let e={config:Object.assign(Object.assign({},hr),pt.defaultConfig),l10n:Do};e.parseDate=Ao({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=p,e._setHoursFromDate=d,e._positionCalendar=Ct,e.changeMonth=Te,e.changeYear=z,e.clear=C,e.close=I,e._createElement=Ve,e.destroy=tt,e.isEnabled=U,e.jumpToDate=S,e.open=gt,e.redraw=Mn,e.set=yt,e.setDate=it,e.toggle=ft;function r(){e.utils={getDaysInMonth(x=e.currentMonth,T=e.currentYear){return x===1&&(T%4==0&&T%100!=0||T%400==0)?29:e.l10n.daysInMonth[x]}}}function i(){e.element=e.input=t,e.isOpen=!1,un(),Xt(),ye(),re(),r(),e.isMobile||P(),w(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&d(e.config.noCalendar?e.latestSelectedDateObj:void 0),St(!1)),o();let x=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&x&&Ct(),Ke("onReady")}function a(x){return x.bind(e)}function o(){let x=e.config;x.weekNumbers===!1&&x.showMonths===1||x.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){let T=(e.days.offsetWidth+1)*x.showMonths;e.daysContainer.style.width=T+"px",e.calendarContainer.style.width=T+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function s(x){if(e.selectedDates.length===0){let H=e.config.minDate===void 0||Gt(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),W=Io(e.config);H.setHours(W.hours,W.minutes,W.seconds,H.getMilliseconds()),e.selectedDates=[H],e.latestSelectedDateObj=H}x!==void 0&&x.type!=="blur"&&jr(x);let T=e._input.value;c(),St(),e._input.value!==T&&e._debouncedChange()}function u(x,T){return x%12+12*Yt(T===e.l10n.amPM[1])}function l(x){switch(x%24){case 0:case 12:return 12;default:return x%12}}function c(){if(e.hourElement===void 0||e.minuteElement===void 0)return;let x=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,T=(parseInt(e.minuteElement.value,10)||0)%60,H=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(x=u(x,e.amPM.textContent));let W=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&Gt(e.latestSelectedDateObj,e.config.minDate,!0)===0;if(e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&Gt(e.latestSelectedDateObj,e.config.maxDate,!0)===0){let Z=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;x=Math.min(x,Z.getHours()),x===Z.getHours()&&(T=Math.min(T,Z.getMinutes())),T===Z.getMinutes()&&(H=Math.min(H,Z.getSeconds()))}if(W){let Z=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;x=Math.max(x,Z.getHours()),x===Z.getHours()&&T=12)]),e.secondElement!==void 0&&(e.secondElement.value=Nt(H)))}function h(x){let T=Jt(x),H=parseInt(T.value)+(x.delta||0);(H/1e3>1||x.key==="Enter"&&!/[^\d]/.test(H.toString()))&&z(H)}function p(x,T,H,W){if(T instanceof Array)return T.forEach(ae=>p(x,ae,H,W));if(x instanceof Array)return x.forEach(ae=>p(ae,T,H,W));x.addEventListener(T,H,W),e._handlers.push({remove:()=>x.removeEventListener(T,H)})}function g(){Ke("onChange")}function w(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(T=>{Array.prototype.forEach.call(e.element.querySelectorAll(`[data-${T}]`),H=>p(H,"click",e[T]))}),e.isMobile){Be();return}let x=Ql(rt,50);if(e._debouncedChange=Ql(g,kE),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&p(e.daysContainer,"mouseover",T=>{e.config.mode==="range"&&Pe(Jt(T))}),p(window.document.body,"keydown",Ee),!e.config.inline&&!e.config.static&&p(window,"resize",x),window.ontouchstart!==void 0?p(window.document,"touchstart",B):p(window.document,"mousedown",B),p(window.document,"focus",B,{capture:!0}),e.config.clickOpens===!0&&(p(e._input,"focus",e.open),p(e._input,"click",e.open)),e.daysContainer!==void 0&&(p(e.monthNav,"click",Lt),p(e.monthNav,["keyup","increment"],h),p(e.daysContainer,"click",$n)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){let T=H=>Jt(H).select();p(e.timeContainer,["increment"],s),p(e.timeContainer,"blur",s,{capture:!0}),p(e.timeContainer,"click",_),p([e.hourElement,e.minuteElement],["focus","click"],T),e.secondElement!==void 0&&p(e.secondElement,"focus",()=>e.secondElement&&e.secondElement.select()),e.amPM!==void 0&&p(e.amPM,"click",H=>{s(H),g()})}e.config.allowInput&&p(e._input,"blur",we)}function S(x,T){let H=x!==void 0?e.parseDate(x):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate1),e.calendarContainer.appendChild(x);let T=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&&(!T&&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)){let H=Ve("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(H,e.element),H.appendChild(e.element),e.altInput&&H.appendChild(e.altInput),H.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function A(x,T,H,W){let ae=U(T,!0),Z=Ve("span","flatpickr-day "+x,T.getDate().toString());return Z.dateObj=T,Z.$i=W,Z.setAttribute("aria-label",e.formatDate(T,e.config.ariaDateFormat)),x.indexOf("hidden")===-1&&Gt(T,e.now)===0&&(e.todayDateElem=Z,Z.classList.add("today"),Z.setAttribute("aria-current","date")),ae?(Z.tabIndex=-1,Ge(T)&&(Z.classList.add("selected"),e.selectedDateElem=Z,e.config.mode==="range"&&(Ft(Z,"startRange",e.selectedDates[0]&&Gt(T,e.selectedDates[0],!0)===0),Ft(Z,"endRange",e.selectedDates[1]&&Gt(T,e.selectedDates[1],!0)===0),x==="nextMonthDay"&&Z.classList.add("inRange")))):Z.classList.add("flatpickr-disabled"),e.config.mode==="range"&&Vt(T)&&!Ge(T)&&Z.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&x!=="prevMonthDay"&&H%7==1&&e.weekNumbers.insertAdjacentHTML("beforeend",""+e.config.getWeek(T)+""),Ke("onDayCreate",Z),Z}function D(x){x.focus(),e.config.mode==="range"&&Pe(x)}function N(x){let T=x>0?0:e.config.showMonths-1,H=x>0?e.config.showMonths:-1;for(let W=T;W!=H;W+=x){let ae=e.daysContainer.children[W],Z=x>0?0:ae.children.length-1,ce=x>0?ae.children.length:-1;for(let ue=Z;ue!=ce;ue+=x){let _e=ae.children[ue];if(_e.className.indexOf("hidden")===-1&&U(_e.dateObj))return _e}}}function K(x,T){let H=x.className.indexOf("Month")===-1?x.dateObj.getMonth():e.currentMonth,W=T>0?e.config.showMonths:-1,ae=T>0?1:-1;for(let Z=H-e.currentMonth;Z!=W;Z+=ae){let ce=e.daysContainer.children[Z],ue=H-e.currentMonth===Z?x.$i+T:T<0?ce.children.length-1:0,_e=ce.children.length;for(let De=ue;De>=0&&De<_e&&De!=(T>0?_e:-1);De+=ae){let ze=ce.children[De];if(ze.className.indexOf("hidden")===-1&&U(ze.dateObj)&&Math.abs(x.$i-De)>=Math.abs(T))return D(ze)}}e.changeMonth(ae),j(N(ae),0)}function j(x,T){let H=G(document.activeElement||document.body),W=x!==void 0?x:H?document.activeElement:e.selectedDateElem!==void 0&&G(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&G(e.todayDateElem)?e.todayDateElem:N(T>0?1:-1);W===void 0?e._input.focus():H?K(W,T):D(W)}function X(x,T){let H=(new Date(x,T,1).getDay()-e.l10n.firstDayOfWeek+7)%7,W=e.utils.getDaysInMonth((T-1+12)%12,x),ae=e.utils.getDaysInMonth(T,x),Z=window.document.createDocumentFragment(),ce=e.config.showMonths>1,ue=ce?"prevMonthDay hidden":"prevMonthDay",_e=ce?"nextMonthDay hidden":"nextMonthDay",De=W+1-H,ze=0;for(;De<=W;De++,ze++)Z.appendChild(A(ue,new Date(x,T-1,De),De,ze));for(De=1;De<=ae;De++,ze++)Z.appendChild(A("",new Date(x,T,De),De,ze));for(let lt=ae+1;lt<=42-H&&(e.config.showMonths===1||ze%7!=0);lt++,ze++)Z.appendChild(A(_e,new Date(x,T+1,lt%ae),lt,ze));let xt=Ve("div","dayContainer");return xt.appendChild(Z),xt}function Q(){if(e.daysContainer===void 0)return;na(e.daysContainer),e.weekNumbers&&na(e.weekNumbers);let x=document.createDocumentFragment();for(let T=0;T1||e.config.monthSelectorType!=="dropdown")return;let x=function(T){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&Te.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(let T=0;T<12;T++){if(!x(T))continue;let H=Ve("option","flatpickr-monthDropdown-month");H.value=new Date(e.currentYear,T).getMonth().toString(),H.textContent=ia(T,e.config.shorthandCurrentMonth,e.l10n),H.tabIndex=-1,e.currentMonth===T&&(H.selected=!0),e.monthsDropdownContainer.appendChild(H)}}function Y(){let x=Ve("div","flatpickr-month"),T=window.document.createDocumentFragment(),H;e.config.showMonths>1||e.config.monthSelectorType==="static"?H=Ve("span","cur-month"):(e.monthsDropdownContainer=Ve("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),p(e.monthsDropdownContainer,"change",ce=>{let ue=Jt(ce),_e=parseInt(ue.value,10);e.changeMonth(_e-e.currentMonth),Ke("onMonthChange")}),ie(),H=e.monthsDropdownContainer);let W=ra("cur-year",{tabindex:"-1"}),ae=W.getElementsByTagName("input")[0];ae.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&ae.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(ae.setAttribute("max",e.config.maxDate.getFullYear().toString()),ae.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());let Z=Ve("div","flatpickr-current-month");return Z.appendChild(H),Z.appendChild(W),T.appendChild(Z),x.appendChild(T),{container:x,yearElement:ae,monthElement:H}}function J(){na(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(let x=e.config.showMonths;x--;){let T=Y();e.yearElements.push(T.yearElement),e.monthElements.push(T.monthElement),e.monthNav.appendChild(T.container)}e.monthNav.appendChild(e.nextMonthNav)}function ne(){return e.monthNav=Ve("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=Ve("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=Ve("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,J(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:()=>e.__hidePrevMonthArrow,set(x){e.__hidePrevMonthArrow!==x&&(Ft(e.prevMonthNav,"flatpickr-disabled",x),e.__hidePrevMonthArrow=x)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:()=>e.__hideNextMonthArrow,set(x){e.__hideNextMonthArrow!==x&&(Ft(e.nextMonthNav,"flatpickr-disabled",x),e.__hideNextMonthArrow=x)}}),e.currentYearElement=e.yearElements[0],It(),e.monthNav}function le(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");let x=Io(e.config);e.timeContainer=Ve("div","flatpickr-time"),e.timeContainer.tabIndex=-1;let T=Ve("span","flatpickr-time-separator",":"),H=ra("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=H.getElementsByTagName("input")[0];let W=ra("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=W.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=Nt(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?x.hours:l(x.hours)),e.minuteElement.value=Nt(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():x.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(H),e.timeContainer.appendChild(T),e.timeContainer.appendChild(W),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");let ae=ra("flatpickr-second");e.secondElement=ae.getElementsByTagName("input")[0],e.secondElement.value=Nt(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():x.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(Ve("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(ae)}return e.config.time_24hr||(e.amPM=Ve("span","flatpickr-am-pm",e.l10n.amPM[Yt((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 de(){e.weekdayContainer?na(e.weekdayContainer):e.weekdayContainer=Ve("div","flatpickr-weekdays");for(let x=e.config.showMonths;x--;){let T=Ve("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(T)}return fe(),e.weekdayContainer}function fe(){if(!e.weekdayContainer)return;let x=e.l10n.firstDayOfWeek,T=[...e.l10n.weekdays.shorthand];x>0&&x ${T.join("")} `}function he(){e.calendarContainer.classList.add("hasWeeks");let x=Ve("div","flatpickr-weekwrapper");x.appendChild(Ve("span","flatpickr-weekday",e.l10n.weekAbbreviation));let T=Ve("div","flatpickr-weeks");return x.appendChild(T),{weekWrapper:x,weekNumbers:T}}function Te(x,T=!0){let H=T?x:x-e.currentMonth;H<0&&e._hidePrevMonthArrow===!0||H>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=H,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,Ke("onYearChange"),ie()),Q(),Ke("onMonthChange"),It())}function C(x=!0,T=!0){if(e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,T===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){let{hours:H,minutes:W,seconds:ae}=Io(e.config);f(H,W,ae)}e.redraw(),x&&Ke("onChange")}function I(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),Ke("onClose")}function tt(){e.config!==void 0&&Ke("onDestroy");for(let x=e._handlers.length;x--;)e._handlers[x].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){let x=e.calendarContainer.parentNode;if(x.lastChild&&x.removeChild(x.lastChild),x.parentNode){for(;x.firstChild;)x.parentNode.insertBefore(x.firstChild,x);x.parentNode.removeChild(x)}}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(x=>{try{delete e[x]}catch(T){}})}function $e(x){return e.config.appendTo&&e.config.appendTo.contains(x)?!0:e.calendarContainer.contains(x)}function B(x){if(e.isOpen&&!e.config.inline){let T=Jt(x),H=$e(T),W=T===e.input||T===e.altInput||e.element.contains(T)||x.path&&x.path.indexOf&&(~x.path.indexOf(e.input)||~x.path.indexOf(e.altInput)),ae=x.type==="blur"?W&&x.relatedTarget&&!$e(x.relatedTarget):!W&&!H&&!$e(x.relatedTarget),Z=!e.config.ignoredFocusElements.some(ce=>ce.contains(T));ae&&Z&&(e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&s(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&(e.clear(!1),e.redraw()))}}function z(x){if(!x||e.config.minDate&&xe.config.maxDate.getFullYear())return;let T=x,H=e.currentYear!==T;e.currentYear=T||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)),H&&(e.redraw(),Ke("onYearChange"),ie())}function U(x,T=!0){var H;let W=e.parseDate(x,void 0,T);if(e.config.minDate&&W&&Gt(W,e.config.minDate,T!==void 0?T:!e.minDateHasTime)<0||e.config.maxDate&&W&&Gt(W,e.config.maxDate,T!==void 0?T:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(W===void 0)return!1;let ae=!!e.config.enable,Z=(H=e.config.enable)!==null&&H!==void 0?H:e.config.disable;for(let ce=0,ue;ce=ue.from.getTime()&&W.getTime()<=ue.to.getTime())return ae}return!ae}function G(x){return e.daysContainer!==void 0?x.className.indexOf("hidden")===-1&&x.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(x):!1}function we(x){x.target===e._input&&(e.selectedDates.length>0||e._input.value.length>0)&&!(x.relatedTarget&&$e(x.relatedTarget))&&e.setDate(e._input.value,!0,x.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function Ee(x){let T=Jt(x),H=e.config.wrap?t.contains(T):T===e._input,W=e.config.allowInput,ae=e.isOpen&&(!W||!H),Z=e.config.inline&&H&&!W;if(x.keyCode===13&&H){if(W)return e.setDate(e._input.value,!0,T===e.altInput?e.config.altFormat:e.config.dateFormat),T.blur();e.open()}else if($e(T)||ae||Z){let ce=!!e.timeContainer&&e.timeContainer.contains(T);switch(x.keyCode){case 13:ce?(x.preventDefault(),s(),yn()):$n(x);break;case 27:x.preventDefault(),yn();break;case 8:case 46:H&&!e.config.allowInput&&(x.preventDefault(),e.clear());break;case 37:case 39:if(!ce&&!H){if(x.preventDefault(),e.daysContainer!==void 0&&(W===!1||document.activeElement&&G(document.activeElement))){let _e=x.keyCode===39?1:-1;x.ctrlKey?(x.stopPropagation(),Te(_e),j(N(1),0)):j(void 0,_e)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:x.preventDefault();let ue=x.keyCode===40?1:-1;e.daysContainer&&T.$i!==void 0||T===e.input||T===e.altInput?x.ctrlKey?(x.stopPropagation(),z(e.currentYear-ue),j(N(1),0)):ce||j(void 0,ue*7):T===e.currentYearElement?z(e.currentYear-ue):e.config.enableTime&&(!ce&&e.hourElement&&e.hourElement.focus(),s(x),e._debouncedChange());break;case 9:if(ce){let _e=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(ze=>ze),De=_e.indexOf(T);if(De!==-1){let ze=_e[De+(x.shiftKey?-1:1)];x.preventDefault(),(ze||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(T)&&x.shiftKey&&(x.preventDefault(),e._input.focus());break;default:break}}if(e.amPM!==void 0&&T===e.amPM)switch(x.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],c(),St();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],c(),St();break}(H||$e(T))&&Ke("onKeyDown",x)}function Pe(x){if(e.selectedDates.length!==1||x&&(!x.classList.contains("flatpickr-day")||x.classList.contains("flatpickr-disabled")))return;let T=x?x.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),H=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),W=Math.min(T,e.selectedDates[0].getTime()),ae=Math.max(T,e.selectedDates[0].getTime()),Z=!1,ce=0,ue=0;for(let _e=W;_eW&&_ece)?ce=_e:_e>H&&(!ue||_e0&&Pt0&&Pt>ue;if(bn){lt.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(Dn=>{lt.classList.remove(Dn)});continue}else if(Z&&!bn)continue;["startRange","inRange","endRange","notAllowed"].forEach(Dn=>{lt.classList.remove(Dn)}),x!==void 0&&(x.classList.add(T<=e.selectedDates[0].getTime()?"startRange":"endRange"),HT&&Pt===H&<.classList.add("endRange"),Pt>=ce&&(ue===0||Pt<=ue)&&zh(Pt,H,T)&<.classList.add("inRange"))}}}function rt(){e.isOpen&&!e.config.static&&!e.config.inline&&Ct()}function gt(x,T=e._positionElement){if(e.isMobile===!0){if(x){x.preventDefault();let W=Jt(x);W&&W.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),Ke("onOpen");return}else if(e._input.disabled||e.config.inline)return;let H=e.isOpen;e.isOpen=!0,H||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),Ke("onOpen"),Ct(T)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(x===void 0||!e.timeContainer.contains(x.relatedTarget))&&setTimeout(()=>e.hourElement.select(),50)}function dt(x){return T=>{let H=e.config[`_${x}Date`]=e.parseDate(T,e.config.dateFormat),W=e.config[`_${x==="min"?"max":"min"}Date`];H!==void 0&&(e[x==="min"?"minDateHasTime":"maxDateHasTime"]=H.getHours()>0||H.getMinutes()>0||H.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(ae=>U(ae)),!e.selectedDates.length&&x==="min"&&d(H),St()),e.daysContainer&&(Mn(),H!==void 0?e.currentYearElement[x]=H.getFullYear().toString():e.currentYearElement.removeAttribute(x),e.currentYearElement.disabled=!!W&&H!==void 0&&W.getFullYear()===H.getFullYear())}}function un(){let x=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],T=Object.assign(Object.assign({},JSON.parse(JSON.stringify(t.dataset||{}))),n),H={};e.config.parseDate=T.parseDate,e.config.formatDate=T.formatDate,Object.defineProperty(e.config,"enable",{get:()=>e.config._enable,set:Z=>{e.config._enable=V(Z)}}),Object.defineProperty(e.config,"disable",{get:()=>e.config._disable,set:Z=>{e.config._disable=V(Z)}});let W=T.mode==="time";if(!T.dateFormat&&(T.enableTime||W)){let Z=pt.defaultConfig.dateFormat||hr.dateFormat;H.dateFormat=T.noCalendar||W?"H:i"+(T.enableSeconds?":S":""):Z+" H:i"+(T.enableSeconds?":S":"")}if(T.altInput&&(T.enableTime||W)&&!T.altFormat){let Z=pt.defaultConfig.altFormat||hr.altFormat;H.altFormat=T.noCalendar||W?"h:i"+(T.enableSeconds?":S K":" K"):Z+` h:i${T.enableSeconds?":S":""} K`}Object.defineProperty(e.config,"minDate",{get:()=>e.config._minDate,set:dt("min")}),Object.defineProperty(e.config,"maxDate",{get:()=>e.config._maxDate,set:dt("max")});let ae=Z=>ce=>{e.config[Z==="min"?"_minTime":"_maxTime"]=e.parseDate(ce,"H:i:S")};Object.defineProperty(e.config,"minTime",{get:()=>e.config._minTime,set:ae("min")}),Object.defineProperty(e.config,"maxTime",{get:()=>e.config._maxTime,set:ae("max")}),T.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,H,T);for(let Z=0;Ze.config[Z]!==void 0).forEach(Z=>{e.config[Z]=Co(e.config[Z]||[]).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(let Z=0;Z-1?e.config[ue]=Co(ce[ue]).map(a).concat(e.config[ue]):typeof T[ue]=="undefined"&&(e.config[ue]=ce[ue])}T.altInputClass||(e.config.altInputClass=dn().className+" "+e.config.altInputClass),Ke("onParseConfig")}function dn(){return e.config.wrap?t.querySelector("[data-input]"):t}function Xt(){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=Object.assign(Object.assign({},pt.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?pt.l10ns[e.config.locale]:void 0),aa.K=`(${e.l10n.amPM[0]}|${e.l10n.amPM[1]}|${e.l10n.amPM[0].toLowerCase()}|${e.l10n.amPM[1].toLowerCase()})`,Object.assign(Object.assign({},n),JSON.parse(JSON.stringify(t.dataset||{}))).time_24hr===void 0&&pt.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=ec(e),e.parseDate=Ao({config:e.config,l10n:e.l10n})}function Ct(x){if(typeof e.config.position=="function")return void e.config.position(e,x);if(e.calendarContainer===void 0)return;Ke("onPreCalendarPosition");let T=x||e._positionElement,H=Array.prototype.reduce.call(e.calendarContainer.children,(Cn,jn)=>Cn+jn.offsetHeight,0),W=e.calendarContainer.offsetWidth,ae=e.config.position.split(" "),Z=ae[0],ce=ae.length>1?ae[1]:null,ue=T.getBoundingClientRect(),_e=window.innerHeight-ue.bottom,De=Z==="above"||Z!=="below"&&_eH,ze=window.pageYOffset+ue.top+(De?-H-2:T.offsetHeight+2);if(Ft(e.calendarContainer,"arrowTop",!De),Ft(e.calendarContainer,"arrowBottom",De),e.config.inline)return;let xt=window.pageXOffset+ue.left,lt=!1,Un=!1;ce==="center"?(xt-=(W-ue.width)/2,lt=!0):ce==="right"&&(xt-=W-ue.width,Un=!0),Ft(e.calendarContainer,"arrowLeft",!lt&&!Un),Ft(e.calendarContainer,"arrowCenter",lt),Ft(e.calendarContainer,"arrowRight",Un);let Pt=window.document.body.offsetWidth-(window.pageXOffset+ue.right),bn=xt+W>window.document.body.offsetWidth,Dn=Pt+W>window.document.body.offsetWidth;if(Ft(e.calendarContainer,"rightMost",bn),!e.config.static)if(e.calendarContainer.style.top=`${ze}px`,!bn)e.calendarContainer.style.left=`${xt}px`,e.calendarContainer.style.right="auto";else if(!Dn)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=`${Pt}px`;else{let Cn=Zt();if(Cn===void 0)return;let jn=window.document.body.offsetWidth,Sr=Math.max(0,jn/2-W/2),zr=".flatpickr-calendar.centerMost:before",Vr=".flatpickr-calendar.centerMost:after",qr=Cn.cssRules.length,Wr=`{left:${ue.left}px;right:auto;}`;Ft(e.calendarContainer,"rightMost",!1),Ft(e.calendarContainer,"centerMost",!0),Cn.insertRule(`${zr},${Vr}${Wr}`,qr),e.calendarContainer.style.left=`${Sr}px`,e.calendarContainer.style.right="auto"}}function Zt(){let x=null;for(let T=0;Tce.classList&&ce.classList.contains("flatpickr-day")&&!ce.classList.contains("flatpickr-disabled")&&!ce.classList.contains("notAllowed"),H=Xl(Jt(x),T);if(H===void 0)return;let W=H,ae=e.latestSelectedDateObj=new Date(W.dateObj.getTime()),Z=(ae.getMonth()e.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=W,e.config.mode==="single")e.selectedDates=[ae];else if(e.config.mode==="multiple"){let ce=Ge(ae);ce?e.selectedDates.splice(parseInt(ce),1):e.selectedDates.push(ae)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=ae,e.selectedDates.push(ae),Gt(ae,e.selectedDates[0],!0)!==0&&e.selectedDates.sort((ce,ue)=>ce.getTime()-ue.getTime()));if(c(),Z){let ce=e.currentYear!==ae.getFullYear();e.currentYear=ae.getFullYear(),e.currentMonth=ae.getMonth(),ce&&(Ke("onYearChange"),ie()),Ke("onMonthChange")}if(It(),Q(),St(),!Z&&e.config.mode!=="range"&&e.config.showMonths===1?D(W):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){let ce=e.config.mode==="single"&&!e.config.enableTime,ue=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(ce||ue)&&yn()}g()}let fn={locale:[Xt,fe],showMonths:[J,o,de],minDate:[S],maxDate:[S],clickOpens:[()=>{e.config.clickOpens===!0?(p(e._input,"focus",e.open),p(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function yt(x,T){if(x!==null&&typeof x=="object"){Object.assign(e.config,x);for(let H in x)fn[H]!==void 0&&fn[H].forEach(W=>W())}else e.config[x]=T,fn[x]!==void 0?fn[x].forEach(H=>H()):To.indexOf(x)>-1&&(e.config[x]=Co(T));e.redraw(),St(!0)}function At(x,T){let H=[];if(x instanceof Array)H=x.map(W=>e.parseDate(W,T));else if(x instanceof Date||typeof x=="number")H=[e.parseDate(x,T)];else if(typeof x=="string")switch(e.config.mode){case"single":case"time":H=[e.parseDate(x,T)];break;case"multiple":H=x.split(e.config.conjunction).map(W=>e.parseDate(W,T));break;case"range":H=x.split(e.l10n.rangeSeparator).map(W=>e.parseDate(W,T));break;default:break}else e.config.errorHandler(new Error(`Invalid date supplied: ${JSON.stringify(x)}`));e.selectedDates=e.config.allowInvalidPreload?H:H.filter(W=>W instanceof Date&&U(W,!1)),e.config.mode==="range"&&e.selectedDates.sort((W,ae)=>W.getTime()-ae.getTime())}function it(x,T=!1,H=e.config.dateFormat){if(x!==0&&!x||x instanceof Array&&x.length===0)return e.clear(T);At(x,H),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),S(void 0,T),d(),e.selectedDates.length===0&&e.clear(!1),St(T),T&&Ke("onChange")}function V(x){return x.slice().map(T=>typeof T=="string"||typeof T=="number"||T instanceof Date?e.parseDate(T,void 0,!0):T&&typeof T=="object"&&T.from&&T.to?{from:e.parseDate(T.from,void 0),to:e.parseDate(T.to,void 0)}:T).filter(T=>T)}function re(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;let x=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);x&&At(x,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()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 ye(){if(e.input=dn(),!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=Ve(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"),e._positionElement=e.config.positionElement||e._input}function Be(){let x=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=Ve("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=x,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=x==="datetime-local"?"Y-m-d\\TH:i:S":x==="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(T){}p(e.mobileInput,"change",T=>{e.setDate(Jt(T).value,!1,e.mobileFormatStr),Ke("onChange"),Ke("onClose")})}function ft(x){if(e.isOpen===!0)return e.close();e.open(x)}function Ke(x,T){if(e.config===void 0)return;let H=e.config[x];if(H!==void 0&&H.length>0)for(let W=0;H[W]&&W=0&&Gt(x,e.selectedDates[1])<=0}function It(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach((x,T)=>{let H=new Date(e.currentYear,e.currentMonth,1);H.setMonth(e.currentMonth+T),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[T].textContent=ia(H.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=H.getMonth().toString(),x.value=H.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYeare.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function Ye(x){return e.selectedDates.map(T=>e.formatDate(T,x)).filter((T,H,W)=>e.config.mode!=="range"||e.config.enableTime||W.indexOf(T)===H).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function St(x=!0){e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=Ye(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=Ye(e.config.altFormat)),x!==!1&&Ke("onValueUpdate")}function Lt(x){let T=Jt(x),H=e.prevMonthNav.contains(T),W=e.nextMonthNav.contains(T);H||W?Te(H?-1:1):e.yearElements.indexOf(T)>=0?T.select():T.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):T.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function jr(x){x.preventDefault();let T=x.type==="keydown",H=Jt(x),W=H;e.amPM!==void 0&&H===e.amPM&&(e.amPM.textContent=e.l10n.amPM[Yt(e.amPM.textContent===e.l10n.amPM[0])]);let ae=parseFloat(W.getAttribute("min")),Z=parseFloat(W.getAttribute("max")),ce=parseFloat(W.getAttribute("step")),ue=parseInt(W.value,10),_e=x.delta||(T?x.which===38?1:-1:0),De=ue+ce*_e;if(typeof W.value!="undefined"&&W.value.length===2){let ze=W===e.hourElement,xt=W===e.minuteElement;DeZ&&(De=W===e.hourElement?De-Z-Yt(!e.amPM):ae,xt&&k(void 0,1,e.hourElement)),e.amPM&&ze&&(ce===1?De+ue===23:Math.abs(De-ue)>ce)&&(e.amPM.textContent=e.l10n.amPM[Yt(e.amPM.textContent===e.l10n.amPM[0])]),W.value=Nt(De)}}return i(),e}function mi(t,n){let e=Array.prototype.slice.call(t).filter(i=>i instanceof HTMLElement),r=[];for(let i=0;i{pt.l10ns.default=Object.assign(Object.assign({},pt.l10ns.default),t)};pt.setDefaults=t=>{pt.defaultConfig=Object.assign(Object.assign({},pt.defaultConfig),t)};pt.parseDate=Ao({});pt.formatDate=ec({});pt.compareDates=Gt;typeof jQuery!="undefined"&&typeof jQuery.fn!="undefined"&&(jQuery.fn.flatpickr=function(t){return mi(this,t)});Date.prototype.fp_incr=function(t){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof t=="string"?parseInt(t,10):t))};typeof window!="undefined"&&(window.flatpickr=pt);var Lo=pt;var ot=ge(require("obsidian"));var ha=ge(rc());function up(t,n){let e=(0,ha.getDateFromFile)(n,"day");if(!e||!e.isValid())return;t.internalPlugins.plugins["daily-notes"].instance.gotoNextExisting(e)}function dp(t,n){let e=(0,ha.getDateFromFile)(n,"day");if(!e||!e.isValid())return;t.internalPlugins.plugins["daily-notes"].instance.gotoPreviousExisting(e)}function Po(t,n){let e=(0,ha.getDailyNoteSettings)();return t.vault.getConfig("useMarkdownLinks")?`[${n}](${e.folder?`${encodeURIComponent(e.folder)}/`:""}${encodeURIComponent(n)}.md)`:`[[${n}]]`}function fp(t){if(!t)return!1;let n=t.match(/---\s+([\w\W]+?)\s+---/);return!(!n||!n[1].contains("kanban-plugin"))}var et=ge(pp()),mp=ge(require("obsidian")),gp={ar:et.default.ar,cs:et.default.cs,da:et.default.da,de:et.default.de,en:et.default.en,"en-gb":et.default.en,es:et.default.es,fr:et.default.fr,hi:et.default.hi,id:et.default.id,it:et.default.it,ja:et.default.ja,ko:et.default.ko,nl:et.default.nl,nn:et.default.no,pl:et.default.pl,pt:et.default.pt,"pt-br":et.default.pt,ro:et.default.ro,ru:et.default.ru,tr:et.default.tr,"zh-cn":et.default.zh,"zh-tw":et.default.zh_tw},WE=gp[mp.moment.locale()];function No(t){let n=t==null?void 0:t.getSetting("date-picker-week-start"),e=WE||gp.en;return n?{...e,firstDayOfWeek:n}:e}function Fo(t,n,e,r){return document.body.createDiv({cls:`${$("date-picker")} ${$("ignore-click-outside")}`},i=>{i.style.left=`${n.x||0}px`,i.style.top=`${n.y||0}px`,i.createEl("input",{type:"text"},a=>{setTimeout(()=>{let o=null,s=c=>{c.target instanceof HTMLElement&&c.target.closest(`.${$("date-picker")}`)===null&&l()},u=c=>{c.key==="Escape"&&l()},l=()=>{o.destroy(),i.remove(),document.body.removeEventListener("click",s),document.removeEventListener("keydown",u)};o=Lo(a,{locale:No(t),defaultDate:r,inline:!0,onChange:c=>{e(c),l()}}),setTimeout(()=>{let c=i.clientHeight,d=i.clientWidth;n.y+c>window.innerHeight&&(i.style.top=`${(n.y||0)-c}px`),n.x+d>window.innerWidth&&(i.style.left=`${(n.x||0)-d}px`)}),document.body.addEventListener("click",s),document.addEventListener("keydown",u)})})})}function Ro({stateManager:t,boardModifiers:n,item:e,hasDate:r,path:i}){let a=t.getSetting("date-format"),o=t.getSetting("link-date-to-daily-note"),s=t.getSetting("date-trigger"),u=o?"(?:\\[[^\\]]+\\]\\([^)]+\\)|\\[\\[[^\\]]+\\]\\])":"{[^}]+}",l=new RegExp(`(^|\\s)${On(s)}${u}`);return c=>{let d=c[0],f=(0,ot.moment)(d).format(a),h=o?Po(t.app,f):`{${f}}`,p=e.data.titleRaw;r?p=e.data.titleRaw.replace(l,`$1${s}${h}`):p=`${e.data.titleRaw} ${s}${h}`,t.updateItemContent(e,p).then(g=>{n.updateItem(i,g)}).catch(g=>{t.setError(g),console.error(g)})}}function ic(t){let n=t.getSetting("time-format"),e=[];for(let r=0;r<24;r++)e.push((0,ot.moment)({hour:r}).format(n)),e.push((0,ot.moment)({hour:r,minute:15}).format(n)),e.push((0,ot.moment)({hour:r,minute:30}).format(n)),e.push((0,ot.moment)({hour:r,minute:45}).format(n));return e}function Ho(t,n,e,r){let i=$("time-picker"),a=t.getSetting("time-format"),o=r==null?void 0:r.format(a);document.body.createDiv({cls:`${i} ${$("ignore-click-outside")}`},s=>{let u=ic(t),l=g=>{g.target instanceof HTMLElement&&g.target.hasClass($("time-picker-item"))&&g.target.dataset.value&&(e(g.target.dataset.value),f())},c=g=>{g.target instanceof HTMLElement&&g.target.closest(`.${i}`)===null&&f()},d=g=>{g.key==="Escape"&&f()},f=()=>{s.remove(),s.removeEventListener("click",l),document.body.removeEventListener("click",c),document.removeEventListener("keydown",d)};s.style.left=`${n.x||0}px`,s.style.top=`${n.y||0}px`;let h=null,p=null;u.forEach((g,w)=>{let S=g===o;s.createDiv({cls:`${$("time-picker-item")} ${S?"is-selected":""}`,text:g},_=>{_.createEl("span",{cls:$("time-picker-check"),prepend:!0},k=>{(0,ot.setIcon)(k,"checkmark")}),w%4==0&&_.addClass("is-hour"),_.dataset.value=g,S&&(h=_),w===Math.floor(u.length/2)&&(p=_)})}),setTimeout(()=>{var S;let g=s.clientHeight,w=s.clientWidth;n.y+g>window.innerHeight&&(s.style.top=`${(n.y||0)-g}px`),n.x+w>window.innerWidth&&(s.style.left=`${(n.x||0)-w}px`),(S=h||p)==null||S.scrollIntoView({block:"center",inline:"nearest"}),s.addEventListener("click",l),document.body.addEventListener("click",c),document.addEventListener("keydown",d)})})}function Bo({stateManager:t,boardModifiers:n,item:e,hasTime:r,path:i}){let a=t.getSetting("time-trigger"),o=new RegExp(`(^|\\s)${On(a)}{([^}]+)}`);return s=>{let u=e.data.titleRaw;r?u=e.data.titleRaw.replace(o,`$1${a}{${s}}`):u=`${e.data.titleRaw} ${a}{${s}}`,t.updateItemContent(e,u).then(l=>{n.updateItem(i,l)}).catch(l=>{t.setError(l),console.error(l)})}}function vp(t){let n=t.data.metadata.date,e=[];n&&(n.isSame(new Date,"day")&&e.push("is-today"),n.isAfter(new Date,"day")&&e.push("is-future"),n.isBefore(new Date,"day")&&e.push("is-past")),t.data.isComplete&&e.push("is-complete");for(let r of t.data.metadata.tags)e.push(`has-tag-${r.slice(1)}`);return e}function Ir(t,n,e,r){return t.app.fileManager.generateMarkdownLink(n,e,r)}function YE(t,n,e){return ot.htmlToMarkdown?(0,ot.htmlToMarkdown)(e):ot.MarkdownSourceView.prototype.handleDataTransfer.call({app:t.app},n)}function JE(t){return t.replace(/^\[(.*)\]\(app:\/\/obsidian.md\/(.*)\)$/,"[$1]($2)")}function ac(){var n;let t=window.require("electron").remote.clipboard;if(process.platform==="darwin"){if(t.has("NSFilenamesPboardType"))return((n=t.read("NSFilenamesPboardType").match(/.*<\/string>/g))==null?void 0:n.map(e=>e.replace(/|<\/string>/g,"")))||[];{let e=t.readImage("clipboard");return e.isEmpty()?[t.read("public.file-url").replace("file://","")].filter(r=>r):[{buffer:e.toPNG(),mimeType:"image/png",originalName:`Pasted image ${(0,ot.moment)().format("YYYYMMDDHHmmss")}.png`}]}}else if(t.has("CF_HDROP")){let e=t.read("CF_HDROP")||"",r=[...e].filter((a,o)=>e.charCodeAt(o)!==0).join("").replace(/\\/g,"\\"),i=r.match(/[a-zA-Z]:\\/);if(i){let a=r.indexOf(i[0]);return a!==0&&(r=r.substring(a)),r.split(i[0]).filter(o=>o).map(o=>i+o)}}else{let e=t.readImage("clipboard");return e.isEmpty()?[t.readBuffer("FileNameW").toString("ucs2").replace(RegExp(String.fromCharCode(0),"g"),"")].filter(r=>r):[{buffer:e.toPNG(),mimeType:"image/png",originalName:`Pasted image ${(0,ot.moment)().format("YYYYMMDDHHmmss")}.png`}]}return null}function GE(t){return t.split("\\").pop().split("/").pop()}async function QE(t,n,e,r){let i=await t.app.vault.getAvailablePathForAttachments(n,e,t.file),a=await t.app.vault.createBinary(i,r);return Ir(t,a,t.file.path)}async function XE(t){let n=ac();if(!n||n.length===0)return null;let e=window.require("fs/promises"),r=window.require("path");return(await Promise.all(n.map(async i=>{if(typeof i=="string"){let o=GE(i).split("."),s=o.pop(),u=o.join("."),l=await t.app.vault.getAvailablePathForAttachments(u,s,t.file),c=t.app.vault.adapter.basePath;await e.copyFile(i,r.join(c,l)),await new Promise(f=>setTimeout(f,50));let d=t.app.vault.getAbstractFileByPath(l);return Ir(t,d,t.file.path)}else{let a=i.originalName.split("."),o=a.pop(),s=a.join(".");return await QE(t,s,o,i.buffer)}}))).filter(i=>i)}function yp(t,n,e){return Promise.all(n.map(r=>{let i=r.name.split("."),a=i.pop(),o=i.join(".");if(e){switch(r.type){case"text/jpg":a="jpg";break;case"text/jpeg":a="jpeg";break;case"text/png":a="png";break}o="Pasted image "+(0,ot.moment)().format("YYYYMMDDHHmmss")}return new Promise((s,u)=>{let l=new FileReader;l.onload=async c=>{try{let d=await t.app.vault.getAvailablePathForAttachments(o,a,t.file),f=await t.app.vault.createBinary(d,c.target.result);s(Ir(t,f,t.file.path))}catch(d){console.error(d),u(d)}},l.readAsArrayBuffer(r)})}))}async function ZE(t,n){let e=n instanceof DragEvent?n.shiftKey:!1,r=n instanceof DragEvent?n.dataTransfer:n.clipboardData;if(n instanceof DragEvent){let u=await Jl(n);if(u.length)return await yp(t,u)}else{if(ot.Platform.isDesktopApp){let c=await XE(t);if(c==null?void 0:c.length)return c}let u=[],l=n.clipboardData.items;for(let c in l){let d=l[c];d.kind==="file"&&u.push(d.getAsFile())}if(u.length)return await yp(t,u,!0)}let i=r.getData("text/html"),a=r.getData("text/plain"),o=r.getData("text/uri-list"),s=e?a||i:YE(t,r,i);return[JE(s||o||a||i||"")]}async function Ko(t,n){let e=t.app.dragManager.draggable,r=n instanceof DragEvent?n.dataTransfer:n.clipboardData;switch(e==null?void 0:e.type){case"file":return[Ir(t,e.file,t.file.path)];case"files":return e.files.map(i=>Ir(t,i,t.file.path));case"folder":return e.file.children.map(i=>i instanceof ot.TFolder?null:Ir(t,i,t.file.path)).filter(i=>i);case"link":{let i=e.file?Ir(t,e.file,(0,ot.parseLinktext)(e.linktext).subpath):`[[${e.linktext}]]`,a=new DOMParser().parseFromString(r.getData("text/html"),"text/html").documentElement.textContent;return i=i.replace(/]]$/,`|${a}]]`).replace(/^\[[^\]].+]\(/,`[${a}](`),[i]}default:return await ZE(t,n)}}var Ze={Item:"item",Lane:"lane",Board:"board",MetadataSetting:"metadata-setting"},$o={accepts:[Ze.Item],type:Ze.Item,children:[]},pr={accepts:[Ze.Lane],type:Ze.Lane},Uo={accepts:[],type:Ze.Board},jo={accepts:[Ze.MetadataSetting],type:Ze.MetadataSetting,children:[]};function oc(t,n,e,r){let i="htmldnd",a=We(),o=t-75,s=t+75,u=n-25,l=n+25;return{scopeId:i,entityId:`${i}-${a}`,initial:[o,u,s,l],getParentScrollState(){return tn},getParentScrollShift(){return Nn},recalcInitial(){},getHitbox(){return this.initial},getPath(){return[]},getData(){return{viewId:r,type:Ze.Item,id:a,content:e,accepts:[]}}}}var lc=class{constructor(n,e,r){this.isHTMLDragging=!1;this.dragOverTimeout=0;this.hitboxEntities=e,this.scrollEntities=r,this.emitter=n}getDragEventData(){return{dragEntity:this.dragEntity,dragEntityId:this.dragEntityId,dragEntityMargin:this.dragEntityMargin,dragOrigin:this.dragOrigin,dragOriginHitbox:this.dragOriginHitbox,dragPosition:this.dragPosition,primaryIntersection:this.primaryIntersection,scrollIntersection:this.scrollIntersection}}dragStart(n,e){var a;let r=(e==null?void 0:e.dataset.hitboxid)||n.currentTarget.dataset.hitboxid;if(!r)return;let i=getComputedStyle(e||n.currentTarget);this.dragEntityId=r,this.dragOrigin={x:n.pageX,y:n.pageY},this.dragPosition={x:n.pageX,y:n.pageY},this.dragEntity=this.hitboxEntities.get(r),this.dragOriginHitbox=(a=this.dragEntity)==null?void 0:a.getHitbox(),this.dragEntityMargin=[parseFloat(i.marginLeft)||0,parseFloat(i.marginTop)||0,parseFloat(i.marginRight)||0,parseFloat(i.marginBottom)||0],this.emitter.emit("dragStart",this.getDragEventData())}dragStartHTML(n,e){this.isHTMLDragging=!0;let r=oc(n.pageX,n.pageY,[],e);this.dragEntityId=r.entityId,this.dragOrigin={x:n.pageX,y:n.pageY},this.dragPosition={x:n.pageX,y:n.pageY},this.dragEntity=r,this.dragOriginHitbox=r.getHitbox(),this.dragEntityMargin=[0,0,0,0],this.emitter.emit("dragStart",this.getDragEventData())}dragMove(n){this.dragPosition={x:n.pageX,y:n.pageY},this.emitter.emit("dragMove",this.getDragEventData()),this.calculateDragIntersect()}dragMoveHTML(n){this.dragPosition={x:n.pageX,y:n.pageY},this.emitter.emit("dragMove",this.getDragEventData()),this.calculateDragIntersect()}dragEnd(n){this.emitter.emit("dragEnd",this.getDragEventData()),this.dragEntityMargin=void 0,this.dragEntity=void 0,this.dragEntityId=void 0,this.dragOrigin=void 0,this.dragOriginHitbox=void 0,this.dragPosition=void 0,this.scrollIntersection=void 0,this.primaryIntersection=void 0}dragEndHTML(n,e,r,i){this.isHTMLDragging=!1,i||(this.dragEntity=oc(n.pageX,n.pageY,r,e),this.emitter.emit("dragEnd",this.getDragEventData())),this.dragEntityMargin=void 0,this.dragEntity=void 0,this.dragEntityId=void 0,this.dragOrigin=void 0,this.dragOriginHitbox=void 0,this.dragPosition=void 0,this.scrollIntersection=void 0,this.primaryIntersection=void 0,i&&this.emitter.emit("dragEnd",this.getDragEventData())}onHTMLDragLeave(n){clearTimeout(this.dragOverTimeout),this.dragOverTimeout=window.setTimeout(n,351)}calculateDragIntersect(){if(!this.dragEntity||!this.dragPosition||!this.dragOrigin||!this.dragOriginHitbox)return;let{type:n}=this.dragEntity.getData(),e=[],r=[],i=[],a=[];this.hitboxEntities.forEach(u=>{u.getData().accepts.includes(n)&&(e.push(u),r.push(u.getHitbox()))}),this.scrollEntities.forEach(u=>{u.getData().accepts.includes(n)&&(i.push(u),a.push(u.getHitbox()))});let o=nf(this.dragOriginHitbox,this.dragOrigin,this.dragPosition);this.handleScrollIntersect(o,this.dragEntity.entityId,a,i)||this.handleHitboxIntersect(o,this.dragEntity.entityId,r,e)}handleScrollIntersect(n,e,r,i){let a=(0,sc.default)([n],r).map(s=>i[s[1]]),o=ef(a,n,e);if(this.scrollIntersection&&(!o||o[0]!==this.scrollIntersection[0])){let[s,u]=this.scrollIntersection,l=s.getData(),c=s.entityId,d=l.side;this.emitter.emit("endDragScroll",{...this.getDragEventData(),scrollEntity:s,scrollEntityId:c,scrollEntitySide:d,scrollStrength:u},c),this.scrollIntersection=void 0}if(o&&(!this.scrollIntersection||this.scrollIntersection[0]!==o[0])){let[s,u]=o,l=s.getData(),c=s.entityId,d=l.side;this.emitter.emit("beginDragScroll",{...this.getDragEventData(),scrollEntity:s,scrollEntityId:c,scrollEntitySide:d,scrollStrength:u},c),this.scrollIntersection=o}else if(o&&this.scrollIntersection&&o[0]===this.scrollIntersection[0]){let[s,u]=o,l=s.getData(),c=s.entityId,d=l.side;this.emitter.emit("updateDragScroll",{...this.getDragEventData(),scrollEntity:s,scrollEntityId:c,scrollEntitySide:d,scrollStrength:u},c),this.scrollIntersection=o}return!!o}handleHitboxIntersect(n,e,r,i){let a=(0,sc.default)([n],r).map(s=>i[s[1]]),o=Tl(a,n,e);this.primaryIntersection&&this.primaryIntersection!==o&&(this.emitter.emit("dragLeave",this.getDragEventData(),this.primaryIntersection.entityId),this.primaryIntersection=void 0),o&&this.primaryIntersection!==o&&(this.emitter.emit("dragEnter",{...this.getDragEventData(),primaryIntersection:o},o.entityId),this.primaryIntersection=o)}},yi=t=>{t.preventDefault(),t.stopPropagation()};function bi(t,n){let e=v.useContext(wt);v.useEffect(()=>{let r=t.current,i=n.current;if(!e||!r||!i)return;let a=s=>{if(s.defaultPrevented||s.target.dataset.ignoreDrag||s.button!==0&&s.buttons!==1)return;let u=bp.Platform.isMobile;u||(s.stopPropagation(),s.preventDefault());let l=s,c={x:s.pageX,y:s.pageY},d=!1,f=0;u&&(window.addEventListener("contextmenu",yi,!0),f=window.setTimeout(()=>{e.dragManager.dragStart(l,r),d=!0,window.addEventListener("touchmove",yi,{passive:!1})},500));let h=So(g=>{u?d?e.dragManager.dragMove(g):ni(c,{x:g.pageX,y:g.pageY})>5&&(clearTimeout(f),window.removeEventListener("touchmove",yi),window.removeEventListener("contextmenu",yi,!0),window.removeEventListener("pointermove",h),window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p)):d?e.dragManager.dragMove(g):ni(c,{x:g.pageX,y:g.pageY})>5&&(e.dragManager.dragStart(l,r),d=!0)}),p=g=>{clearTimeout(f),d=!1,e.dragManager.dragEnd(g),window.removeEventListener("pointermove",h),window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p),u&&(window.removeEventListener("contextmenu",yi,!0),window.removeEventListener("touchmove",yi))};window.addEventListener("pointermove",h),window.addEventListener("pointerup",p),window.addEventListener("pointercancel",p)},o=s=>{s.stopPropagation()};return i.addEventListener("pointerdown",a),i.addEventListener("touchstart",o),()=>{i.removeEventListener("pointerdown",a),i.removeEventListener("touchstart",o)}},[t,n,e])}function wp(t){let n=v.useContext(wt),e=v.useCallback(i=>{n.dragManager.isHTMLDragging?(i.preventDefault(),n.dragManager.dragMoveHTML(i.nativeEvent)):n.dragManager.dragStartHTML(i.nativeEvent,t.getAView().id),n.dragManager.onHTMLDragLeave(()=>{n.dragManager.dragEndHTML(i.nativeEvent,t.getAView().id,[],!0)})},[n,t]),r=v.useCallback(async i=>{n.dragManager.dragEndHTML(i.nativeEvent,t.getAView().id,await Ko(t,i.nativeEvent),!1)},[n,t]);return{onDragOver:e,onDrop:r}}var Sp=ge(Ot());var Ep=ge(require("obsidian"));function Qt({name:t,className:n}){return v.createElement("span",{"data-icon":t,className:`${$("icon")} ${n||""}`,ref:e=>{e&&(0,Ep.setIcon)(e,t)}})}var xp=v.memo(function({shouldMarkItemsComplete:n,path:e,item:r,stateManager:i,boardModifiers:a}){let o=i.useSetting("show-checkboxes"),[s,u]=v.useState(!1),[l,c]=v.useState(!1);return v.useEffect(()=>{if(l){let d=f=>{f.metaKey||f.ctrlKey?u(!0):u(!1)};return window.addEventListener("keydown",d),window.addEventListener("keyup",d),()=>{window.removeEventListener("keydown",d),window.removeEventListener("keyup",d)}}},[l]),n||o?v.createElement("div",{onMouseEnter:d=>{c(!0),(d.ctrlKey||d.metaKey)&&u(!0)},onMouseLeave:()=>{c(!1),s&&u(!1)},className:$("item-prefix-button-wrapper")},o&&!s&&v.createElement("input",{onChange:()=>{a.updateItem(e,(0,Sp.default)(r,{data:{$toggle:["isComplete"]}}))},type:"checkbox",className:"task-list-item-checkbox",checked:!!r.data.isComplete}),(s||!o&&n)&&v.createElement("button",{onClick:()=>{a.archiveItem(e)},className:$("item-prefix-button"),"aria-label":s?void 0:"Archive card"},v.createElement(Qt,{name:"sheets-in-box"}))):null});var cc;function kp(t){if(t.nodeName!=="TEXTAREA")return!1;if(typeof cc=="undefined"){var n=document.createElement("textarea");n.value=1,cc=!!n.firstChild}return cc}function eS(t,n){if(t.focus(),document.selection){var e=document.selection.createRange();e.text=n,e.collapse(!1),e.select();return}var r=document.execCommand("insertText",!1,n);if(!r){var i=t.selectionStart,a=t.selectionEnd;if(typeof t.setRangeText=="function")t.setRangeText(n);else{var o=document.createRange(),s=document.createTextNode(n);if(kp(t)){var u=t.firstChild;if(!u)t.appendChild(s);else{for(var l=0,c=null,d=null;u&&(c===null||d===null);){var f=u.nodeValue.length;i>=l&&i<=l+f&&o.setStart(c=u,i-l),a>=l&&a<=l+f&&o.setEnd(d=u,a-l),l+=f,u=u.nextSibling}i!==a&&o.deleteContents()}}if(kp(t)&&o.commonAncestorContainer.nodeName==="#text")o.insertNode(s);else{var h=t.value;t.value=h.slice(0,i)+n+h.slice(a)}}t.setSelectionRange(i+n.length,i+n.length);var p=document.createEvent("UIEvent");p.initEvent("input",!0,!1),t.dispatchEvent(p)}}var pa=eS;var _p=ge(require("obsidian"));var uc=t=>t.charCodeAt(0)===10,Tp=t=>t===" "||uc(t);function tS(t,n,e){if(!t)throw Error("Argument 'text' should be truthy");let r=0,i=t.length;for(let a=n;a-1>-1;a--)if(uc(t[a-1])){r=a;break}for(let a=e===void 0?n:e;a-1;a--)if(Tp(t[a-1])){r=a;break}for(let a=e===void 0?n:e;a0&&t.value[a.selection.start-1]!==" ")return!1;if(a.selection.end===a.selection.start){let s=Tt(t,`${e}`);return Rt(t,{start:s.selection.end-1-a.selectedText.length,end:s.selection.end-1}),!1}let o=Tt(t,`${n}${a.selectedText}${e}`);return Rt(t,{start:o.selection.end-1-a.selectedText.length,end:o.selection.end-1}),!0}function zo(t,n,e,r){let i=Hn(t),a=wi({text:i.text,selection:i.selection}),o=Rt(t,a),s=n.test(o.selectedText)?r(o.selectedText):e(o.selectedText),u=Tt(t,s);Rt(t,{start:o.selection.start,end:u.selection.end})}function Vo(t,n){var e;if(n.types.includes("text/uri-list")||["file","files","link","folder"].includes((e=t.app.dragManager.draggable)==null?void 0:e.type))return"link";if(n.types.includes("text/html")||n.types.includes("text/plain"))return"copy"}async function qo(t,n){let e=t.clipboardData.getData("text/html"),r=t.clipboardData.types.includes("Files"),i=_p.Platform.isDesktopApp?ac():null,a=e||r||(i==null?void 0:i.length)>0;a&&t.preventDefault();try{let o=await Ko(n,t.nativeEvent);if(a){let s=t.target,u=o.join(` `);Tt(s,u)}}catch(o){console.error(o),n.setError(o)}}var xm=ge(gc()),km=ge(Jp());function Xn(t){return Array.isArray?Array.isArray(t):Xp(t)==="[object Array]"}var LS=1/0;function PS(t){if(typeof t=="string")return t;let n=t+"";return n=="0"&&1/t==-LS?"-0":n}function OS(t){return t==null?"":PS(t)}function Zn(t){return typeof t=="string"}function Gp(t){return typeof t=="number"}function NS(t){return t===!0||t===!1||FS(t)&&Xp(t)=="[object Boolean]"}function Qp(t){return typeof t=="object"}function FS(t){return Qp(t)&&t!==null}function on(t){return t!=null}function yc(t){return!t.trim().length}function Xp(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var RS="Incorrect 'index' type",HS=t=>`Invalid value for key ${t}`,BS=t=>`Pattern length exceeds max of ${t}.`,KS=t=>`Missing ${t} property in key`,$S=t=>`Property 'weight' in key '${t}' must be a positive integer`,Zp=Object.prototype.hasOwnProperty,em=class{constructor(n){this._keys=[],this._keyMap={};let e=0;n.forEach(r=>{let i=tm(r);e+=i.weight,this._keys.push(i),this._keyMap[i.id]=i,e+=i.weight}),this._keys.forEach(r=>{r.weight/=e})}get(n){return this._keyMap[n]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function tm(t){let n=null,e=null,r=null,i=1;if(Zn(t)||Xn(t))r=t,n=nm(t),e=bc(t);else{if(!Zp.call(t,"name"))throw new Error(KS("name"));let a=t.name;if(r=a,Zp.call(t,"weight")&&(i=t.weight,i<=0))throw new Error($S(a));n=nm(a),e=bc(a)}return{path:n,id:e,weight:i,src:r}}function nm(t){return Xn(t)?t:t.split(".")}function bc(t){return Xn(t)?t.join("."):t}function US(t,n){let e=[],r=!1,i=(a,o,s)=>{if(!!on(a))if(!o[s])e.push(a);else{let u=o[s],l=a[u];if(!on(l))return;if(s===o.length-1&&(Zn(l)||Gp(l)||NS(l)))e.push(OS(l));else if(Xn(l)){r=!0;for(let c=0,d=l.length;ct.score===n.score?t.idx{this._keysMap[e.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Zn(this.docs[0])?this.docs.forEach((n,e)=>{this._addString(n,e)}):this.docs.forEach((n,e)=>{this._addObject(n,e)}),this.norm.clear())}add(n){let e=this.size();Zn(n)?this._addString(n,e):this._addObject(n,e)}removeAt(n){this.records.splice(n,1);for(let e=n,r=this.size();e{let o=this.getFn(n,i.path);if(!!on(o)){if(Xn(o)){let s=[],u=[{nestedArrIndex:-1,value:o}];for(;u.length;){let{nestedArrIndex:l,value:c}=u.pop();if(!!on(c))if(Zn(c)&&!yc(c)){let d={v:c,i:l,n:this.norm.get(c)};s.push(d)}else Xn(c)&&c.forEach((d,f)=>{u.push({nestedArrIndex:f,value:d})})}r.$[a]=s}else if(!yc(o)){let s={v:o,n:this.norm.get(o)};r.$[a]=s}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}};function rm(t,n,{getFn:e=ke.getFn,fieldNormWeight:r=ke.fieldNormWeight}={}){let i=new ss({getFn:e,fieldNormWeight:r});return i.setKeys(t.map(tm)),i.setSources(n),i.create(),i}function JS(t,{getFn:n=ke.getFn,fieldNormWeight:e=ke.fieldNormWeight}={}){let{keys:r,records:i}=t,a=new ss({getFn:n,fieldNormWeight:e});return a.setKeys(r),a.setIndexRecords(i),a}function ls(t,{errors:n=0,currentLocation:e=0,expectedLocation:r=0,distance:i=ke.distance,ignoreLocation:a=ke.ignoreLocation}={}){let o=n/t.length;if(a)return o;let s=Math.abs(r-e);return i?o+s/i:s?1:o}function GS(t=[],n=ke.minMatchCharLength){let e=[],r=-1,i=-1,a=0;for(let o=t.length;a=n&&e.push([r,i]),r=-1)}return t[a-1]&&a-r>=n&&e.push([r,a-1]),e}var Or=32;function QS(t,n,e,{location:r=ke.location,distance:i=ke.distance,threshold:a=ke.threshold,findAllMatches:o=ke.findAllMatches,minMatchCharLength:s=ke.minMatchCharLength,includeMatches:u=ke.includeMatches,ignoreLocation:l=ke.ignoreLocation}={}){if(n.length>Or)throw new Error(BS(Or));let c=n.length,d=t.length,f=Math.max(0,Math.min(r,d)),h=a,p=f,g=s>1||u,w=g?Array(d):[],S;for(;(S=t.indexOf(n,p))>-1;){let N=ls(n,{currentLocation:S,expectedLocation:f,distance:i,ignoreLocation:l});if(h=Math.min(N,h),p=S+c,g){let K=0;for(;K=X;J-=1){let ne=J-1,le=e[t.charAt(ne)];if(g&&(w[ne]=+!!le),ie[J]=(ie[J+1]<<1|1)&le,N&&(ie[J]|=(_[J+1]|_[J])<<1|1|_[J+1]),ie[J]&A&&(k=ls(n,{errors:N,currentLocation:ne,expectedLocation:f,distance:i,ignoreLocation:l}),k<=h)){if(h=k,p=ne,p<=f)break;X=Math.max(1,2*f-p)}}if(ls(n,{errors:N+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l})>h)break;_=ie}let D={isMatch:p>=0,score:Math.max(.001,k)};if(g){let N=GS(w,s);N.length?u&&(D.indices=N):D.isMatch=!1}return D}function XS(t){let n={};for(let e=0,r=t.length;e{this.chunks.push({pattern:f,alphabet:XS(f),startIndex:h})},d=this.pattern.length;if(d>Or){let f=0,h=d%Or,p=d-h;for(;f{let{isMatch:S,score:_,indices:k}=QS(n,p,g,{location:i+w,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:u,includeMatches:r,ignoreLocation:l});S&&(f=!0),d+=_,S&&k&&(c=[...c,...k])});let h={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(h.indices=c),h}},er=class{constructor(n){this.pattern=n}static isMultiMatch(n){return im(n,this.multiRegex)}static isSingleMatch(n){return im(n,this.singleRegex)}search(){}};function im(t,n){let e=t.match(n);return e?e[1]:null}var am=class extends er{constructor(n){super(n)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(n){let e=n===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},om=class extends er{constructor(n){super(n)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(n){let r=n.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,n.length-1]}}},sm=class extends er{constructor(n){super(n)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(n){let e=n.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},lm=class extends er{constructor(n){super(n)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(n){let e=!n.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,n.length-1]}}},cm=class extends er{constructor(n){super(n)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(n){let e=n.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[n.length-this.pattern.length,n.length-1]}}},um=class extends er{constructor(n){super(n)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(n){let e=!n.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,n.length-1]}}},Ec=class extends er{constructor(n,{location:e=ke.location,threshold:r=ke.threshold,distance:i=ke.distance,includeMatches:a=ke.includeMatches,findAllMatches:o=ke.findAllMatches,minMatchCharLength:s=ke.minMatchCharLength,isCaseSensitive:u=ke.isCaseSensitive,ignoreLocation:l=ke.ignoreLocation}={}){super(n);this._bitapSearch=new wc(n,{location:e,threshold:r,distance:i,includeMatches:a,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:u,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(n){return this._bitapSearch.searchIn(n)}},Sc=class extends er{constructor(n){super(n)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(n){let e=0,r,i=[],a=this.pattern.length;for(;(r=n.indexOf(this.pattern,e))>-1;)e=r+a,i.push([r,e-1]);let o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}},xc=[am,Sc,sm,lm,um,cm,om,Ec],dm=xc.length,ZS=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,ex="|";function tx(t,n={}){return t.split(ex).map(e=>{let r=e.trim().split(ZS).filter(a=>a&&!!a.trim()),i=[];for(let a=0,o=r.length;a!!(t[cs.AND]||t[cs.OR]),ix=t=>!!t[Tc.PATH],ax=t=>!Xn(t)&&Qp(t)&&!Mc(t),hm=t=>({[cs.AND]:Object.keys(t).map(n=>({[n]:t[n]}))});function pm(t,n,{auto:e=!0}={}){let r=i=>{let a=Object.keys(i),o=ix(i);if(!o&&a.length>1&&!Mc(i))return r(hm(i));if(ax(i)){let u=o?i[Tc.PATH]:a[0],l=o?i[Tc.PATTERN]:i[u];if(!Zn(l))throw new Error(HS(u));let c={keyId:bc(u),pattern:l};return e&&(c.searcher=_c(l,n)),c}let s={children:[],operator:a[0]};return a.forEach(u=>{let l=i[u];Xn(l)&&l.forEach(c=>{s.children.push(r(c))})}),s};return Mc(t)||(t=hm(t)),r(t)}function ox(t,{ignoreFieldNorm:n=ke.ignoreFieldNorm}){t.forEach(e=>{let r=1;e.matches.forEach(({key:i,norm:a,score:o})=>{let s=i?i.weight:null;r*=Math.pow(o===0&&s?Number.EPSILON:o,(s||1)*(n?1:a))}),e.score=r})}function sx(t,n){let e=t.matches;n.matches=[],!!on(e)&&e.forEach(r=>{if(!on(r.indices)||!r.indices.length)return;let{indices:i,value:a}=r,o={indices:i,value:a};r.key&&(o.key=r.key.src),r.idx>-1&&(o.refIndex=r.idx),n.matches.push(o)})}function lx(t,n){n.score=t.score}function cx(t,n,{includeMatches:e=ke.includeMatches,includeScore:r=ke.includeScore}={}){let i=[];return e&&i.push(sx),r&&i.push(lx),t.map(a=>{let{idx:o}=a,s={item:n[o],refIndex:o};return i.length&&i.forEach(u=>{u(a,s)}),s})}var gn=class{constructor(n,e={},r){this.options={...ke,...e},this.options.useExtendedSearch,this._keyStore=new em(this.options.keys),this.setCollection(n,r)}setCollection(n,e){if(this._docs=n,e&&!(e instanceof ss))throw new Error(RS);this._myIndex=e||rm(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(n){!on(n)||(this._docs.push(n),this._myIndex.add(n))}remove(n=()=>!1){let e=[];for(let r=0,i=this._docs.length;r-1&&(u=u.slice(0,e)),cx(u,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(n){let e=_c(n,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:a,i:o,n:s})=>{if(!on(a))return;let{isMatch:u,score:l,indices:c}=e.searchIn(a);u&&i.push({item:a,idx:o,matches:[{score:l,value:a,norm:s,indices:c}]})}),i}_searchLogical(n){let e=pm(n,this.options),r=(s,u,l)=>{if(!s.children){let{keyId:d,searcher:f}=s,h=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(u,d),searcher:f});return h&&h.length?[{idx:l,item:u,matches:h}]:[]}let c=[];for(let d=0,f=s.children.length;d{if(on(s)){let l=r(e,s,u);l.length&&(a[u]||(a[u]={idx:u,item:s,matches:[]},o.push(a[u])),l.forEach(({matches:c})=>{a[u].matches.push(...c)}))}}),o}_searchObjectList(n){let e=_c(n,this.options),{keys:r,records:i}=this._myIndex,a=[];return i.forEach(({$:o,i:s})=>{if(!on(o))return;let u=[];r.forEach((l,c)=>{u.push(...this._findMatches({key:l,value:o[c],searcher:e}))}),u.length&&a.push({idx:s,item:o,matches:u})}),a}_findMatches({key:n,value:e,searcher:r}){if(!on(e))return[];let i=[];if(Xn(e))e.forEach(({v:a,i:o,n:s})=>{if(!on(a))return;let{isMatch:u,score:l,indices:c}=r.searchIn(a);u&&i.push({score:l,key:n,value:a,idx:o,norm:s,indices:c})});else{let{v:a,n:o}=e,{isMatch:s,score:u,indices:l}=r.searchIn(a);s&&i.push({score:u,key:n,value:a,norm:o,indices:l})}return i}};gn.version="6.5.3";gn.createIndex=rm;gn.parseIndex=JS;gn.config=ke;gn.parseQuery=pm;rx(fm);var _m=ge(require("obsidian"));var mm=ge(require("obsidian"));function us(t,n,e){let r=e.getSetting("date-format"),i=e.getSetting("link-date-to-daily-note"),a=(0,mm.moment)(t).format(r),o=i?Po(e.app,a):`{${a}}`;Tt(n.current,o),n.current.focus()}function gm({div:t,inputRef:n,cb:e,stateManager:r}){t.createEl("input",{type:"text"},i=>{setTimeout(()=>e(Lo(i,{locale:No(r),inline:!0,onChange:a=>{us(a[0],n,r)}})))})}function Dc(t,n){let e=n.clientHeight,r=n.clientWidth;t.top+e>window.innerHeight&&(n.style.top=`${(t.clientTop||0)-e}px`),t.left+r>window.innerWidth&&(n.style.left=`${(t.left||0)-r}px`)}function vm(t){let n=t.getSetting("time-trigger"),e=new RegExp(`\\B${On(n)}{?([^}]*)$`),r=ic(t);return{id:"time",match:e,index:1,search:(i,a)=>{a(i?r.filter(o=>o.startsWith(i)):r)},template:i=>i,replace:i=>`${n}{${i}} `}}function ym(t){let n=t.month(),e=t.clone().startOf("month").weekday(0),r=t.diff(e,"week");t.subtract(1,"month").startOf("month").weekday(6).add(r,"week");let i=t.month();for(;n===i;)t.subtract(1,"week"),i=t.month();return t}function bm(t){let n=t.month(),e=t.clone().startOf("month").weekday(6),r=t.diff(e,"week");t.add(1,"month").startOf("month").weekday(0).add(r,"week");let i=t.month();for(;n===i;)t.add(1,"week"),i=t.month();return t}var wm=ge(require("obsidian"));var ux=/\B\[\[([^\]]*)$/,dx=/\B!\[\[([^\]]*)$/,fx=/\B\[\[([^#\]]+)#([^\]]*)$/,hx=/\B!\[\[([^#\]]+)#([^\]]*)$/,px=/\B\[\[([^#\]]+)#?\^([^\]]*)$/,mx=/\B!\[\[([^#\]]+)#?\^([^\]]*)$/;function gx(t,n,e){let r=createDiv($("file-suggestion-wrapper"));(0,wm.setIcon)(r.createDiv($("file-suggestion-icon")),"forward-arrow",12),r.createDiv({},a=>{a.createDiv({cls:$("file-suggestion-title"),text:e.item.alias}),a.createDiv({cls:$("file-suggestion-subtitle"),text:t.app.metadataCache.fileToLinktext(e.item.file,n)})});let i=r.outerHTML;return r.remove(),r=null,i}function Cc(t,n,e,r,i,a){return{id:`link-${a?"embed":"normal"}`,match:a?dx:ux,index:1,template:o=>o.item.alias?gx(r,e,o):r.app.metadataCache.fileToLinktext(o.item.file,e),search:(o,s)=>{s(o?n.search(o):t.slice(0,10).map((u,l)=>({item:u,refIndex:l})))},replace:o=>{let s=[];a&&o.item.file.extension==="md"&&s.push("!"),s.push(r.app.fileManager.generateMarkdownLink(o.item.file,r.file.path,void 0,o.item.alias));let u=!!r.app.vault.getConfig("useMarkdownLinks");return i&&!u?s[s.length-1]=s[s.length-1].slice(0,-2):!i&&!u&&s.push("]] "),s.join("")}}}function vx(t,n,e,r){var u;if(!e)return[];let i=e.split("|"),a=t.metadataCache.getFirstLinkpathDest(i[0],n);if(!a)return[];let o=t.metadataCache.getFileCache(a);if(!o||!((u=o.headings)==null?void 0:u.length))return[];let s=o.headings.map(l=>({file:a,heading:l.heading,alias:i[1]||""}));return r?new gn(s,{keys:["heading"]}).search(r):s.map((l,c)=>({item:l,refIndex:c}))}function Ac(t,n,e,r){return{id:`heading-${r?"embed":"normal"}`,match:r?hx:fx,index:1,template:i=>i.item.heading,search:(i,a,o)=>{a(vx(n.app,t,o[1],o[2]))},replace:i=>{let a=[];r&&i.item.file.extension==="md"&&a.push("!"),a.push(n.app.fileManager.generateMarkdownLink(i.item.file,n.file.path,"#"+i.item.heading,i.item.alias));let o=!!n.app.vault.getConfig("useMarkdownLinks");return e&&!o?a[a.length-1]=a[a.length-1].slice(0,-2):!e&&!o&&a.push("]] "),a.join("")}}}var Em=class{constructor(){this.running=!1;this.cancelled=!1}start(){this.running=!0}stop(){this.running=!1}cancel(){this.stop(),this.cancelled=!0}isRunning(){return this.running}isCancelled(){return this.cancelled}};async function yx(t,n,e,r,i){var u;if(!e)return i([]);let a=e.split("|"),o=t.metadataCache.getFirstLinkpathDest(a[0],n);if(!o)return i([]);let s=t.metadataCache.getFileCache(o);if(!s||!((u=s.sections)==null?void 0:u.length))return i([]);try{let l=await t.metadataCache.blockCache.getForFile(new Em,o);if(!(l==null?void 0:l.blocks))return i([]);let c=l.blocks.map(d=>d.node.type==="heading"?null:{file:o,searchString:d.display,blockId:d.node.id,block:{type:d.node.type,start:d.node.position.start.offset,end:d.node.position.end.offset},alias:a[1]||""}).filter(d=>d);i(r?new gn(c,{keys:["searchString","blockId"]}).search(r):c.map((d,f)=>({item:d,refIndex:f})))}catch(l){i([])}}function bx(t){return["blockquote","code","table","comment","footnoteDefinition"].includes(t)}function Ic(t,n,e,r){return{id:`block-${r?"embed":"normal"}`,match:r?mx:px,index:1,template:i=>i.item.blockId?`
${i.item.searchString}
${i.item.blockId}
`:i.item.searchString,search:(i,a,o)=>{yx(n.app,t,o[1],o[2],a)},replace:i=>{let a=[];r&&i.item.file.extension==="md"&&a.push("!");let o="#^";if(i.item.blockId)o+=i.item.blockId;else{let u=We(),l=bx(i.item.block.type)?` `:" ";n.app.vault.cachedRead(i.item.file).then(c=>{let d=`${c.substring(0,i.item.block.end)}${l}^${u}${c.substring(i.item.block.end)}`;n.app.vault.modify(i.item.file,d)}).catch(c=>{n.setError(c),console.error(c)}),o+=u}a.push(n.app.fileManager.generateMarkdownLink(i.item.file,n.file.path,o,i.item.alias));let s=!!n.app.vault.getConfig("useMarkdownLinks");return e&&!s?a[a.length-1]=a[a.length-1].slice(0,-2):!e&&!s&&a.push("]] "),a.join("")}}}var wx=/\B#([^\s]*)?$/;function Sm(t,n){return{id:"tag",match:wx,index:1,search:(e,r)=>{r(e?n.search(e,{limit:50}):t.slice(0,50).map((i,a)=>({item:i,refIndex:a})))},template:e=>e.item,replace:e=>`${e.item} `}}function Ex({inputRef:t,isAutocompleteVisibleRef:n,obsidianContext:e,excludeDatePicker:r}){let{stateManager:i,filePath:a,view:o}=e,s=null,u=null,l=i.getSetting("date-trigger"),c=new RegExp(`(?:^|\\s)${On(l)}$`),d=Object.keys(i.app.metadataCache.getTags()).sort(),f=new gn(d),h=i.app.metadataCache.getLinkSuggestions().filter(A=>!!A.file),p=new gn(h,{keys:["file.basename","alias"]}),g=o.app.vault.getConfig("autoPairBrackets"),w=[Sm(d,f),Ic(a,i,g,!0),Ic(a,i,g,!1),Ac(a,i,g,!0),Ac(a,i,g,!1),Cc(h,p,a,i,g,!0),Cc(h,p,a,i,g,!1)];r||w.push(vm(i));let S=new km.TextareaEditor(t.current),_=new xm.Textcomplete(S,w,{dropdown:{maxCount:96,className:`${$("autocomplete")} ${$("ignore-click-outside")}`,rotate:!0,item:{className:`${$("autocomplete-item")} ${$("ignore-click-outside")}`,activeClassName:`${$("autocomplete-item-active")} ${$("ignore-click-outside")}`}}}),k=()=>{_.isShown()||(n.current=!1),u.destroy(),s.remove(),setTimeout(()=>s=null)};_.on("show",()=>{n.current=!0}),_.on("hidden",()=>{n.current=!1});let P;return r||(P=A=>{if(_.isShown&&["#","^"].contains(A.key)){let N=_.dropdown.getActiveItem(),K=N==null?void 0:N.searchResult;if(K&&K.strategy.props.id.startsWith("link")){A.preventDefault(),S.applySearchResult(K),Tt(t.current,A.key==="^"?"#^":"#");return}}if(!s)return;if(A.key==="Enter"){A.preventDefault();let N=u.selectedDates;return N.length?us(N[0],t,i):us(new Date,t,i),k()}if(A.key==="Escape")return A.preventDefault(),k();let D=(0,_m.moment)(u.selectedDates[0]||new Date);if(A.key==="ArrowRight"){A.preventDefault(),D.weekday()===6?u.setDate(bm(D).toDate(),!1):u.setDate(D.add(1,"day").toDate(),!1);return}if(A.key==="ArrowLeft"){A.preventDefault(),D.weekday()===0?u.setDate(ym(D).toDate(),!1):u.setDate(D.subtract(1,"day").toDate(),!1);return}if(A.key==="ArrowUp"){A.preventDefault(),u.setDate(D.subtract(1,"week").toDate(),!1);return}if(A.key==="ArrowDown"){A.preventDefault(),u.setDate(D.add(1,"week").toDate(),!1);return}},t.current.addEventListener("keydown",P),S.on("change",A=>{let D=A.detail.beforeCursor;if(D&&c.test(D)){let N=S.getCursorOffset();s?(s.style.left=`${N.left||0}px`,s.style.top=`${N.top||0}px`,Dc(N,s)):s=document.body.createDiv({cls:`${$("date-picker")} ${$("ignore-click-outside")}`},K=>{K.style.left=`${N.left||0}px`,K.style.top=`${N.top||0}px`,gm({div:K,inputRef:t,stateManager:i,cb:j=>{u=j,n.current=!0,Dc(N,s)}})})}else s&&k()})),()=>{!r&&t.current&&t.current.removeEventListener("keydown",P),s&&k(),_.destroy(),S.destroy()}}function Tm({isInputVisible:t,onEnter:n,onEscape:e,onKeyDown:r,excludeDatePicker:i}){let a=v.useContext(qe),o=v.useRef(!1),s=v.useRef(),{oncompositionstart:u,oncompositionend:l,getShouldIMEBlockAction:c}=Ga();return v.useEffect(()=>{let d=s.current;if(t&&d)return d.focus(),d.selectionStart=d.selectionEnd=d.value.length,Ex({inputRef:s,isAutocompleteVisibleRef:o,obsidianContext:a,excludeDatePicker:i})},[t]),{ref:s,oncompositionstart:u,oncompositionend:l,onKeyDownCapture:d=>{c()||o.current||r(d)||(d.key==="Enter"?n&&n(d):d.key==="Escape"&&e&&e(d))}}}var Mm=/^[*_]{2}(.+)[*_]{2}$/;function Sx(t){return t.replace(Mm,"$1")}var Dm=/^[*_]{1}(.+)[*_]{1}$/;function xx(t){return t.replace(Dm,"$1")}var Cm=/^`{1}(.+)`{1}$/;function kx(t){return t.replace(Cm,"$1")}var Am=/^={2}(.+)={2}$/;function _x(t){return t.replace(Am,"$1")}var Im=/^~{2}(.+)~{2}$/;function Tx(t){return t.replace(Im,"$1")}var Mx=/^(?:>.+?(?:[\r\n]|$))+$/;function Dx(t){return t.split(` `).map(e=>e[0]===">"?e:`> ${e}`).join(` `)}function Cx(t){return t.split(` `).map(e=>e[0]!==">"?e:e.replace(/^>+\s*/,"")).join(` `)}var va=/^(?:\s*\d+[.)]\s+.+?(?:[\r\n]|$))+$/,Lc=/^(?:\s*\d+[.)]\s+\[\s+\]+.+?(?:[\r\n]|$))+$/,Pc=/^(?:\s*\d+[.)]\s+\[[^\]\s]+\]+.+?(?:[\r\n]|$))+$/;function Ax(t){return t.match(/^\s*/)[0].length}function Ix(t){return parseInt(t.match(/^\s*(\d+)/)[1],10)}function Lx(t){let n=[0],e=0;return t.split(` `).map(r=>{let i=Ax(r);if(i>e?n.push(0):iva.test(n)?n.replace(/^(\s*)\d+[.)]\s+/,"$1"):n).join(` `)}var ya=/^(?:\s*[-*+]\s+.+?(?:[\r\n]|$))+$/,Oc=/^(?:\s*[-*+]\s+\[\s+\]+.+?(?:[\r\n]|$))+$/,Nc=/^(?:\s*[-*+]\s+\[[^\]\s]+\]+.+?(?:[\r\n]|$))+$/;function Lm(t){return t.split(` `).map(e=>ya.test(e)?e:e.replace(/^(\s*)/,"$1- ")).join(` `)}function Ox(t){return t.split(` `).map(n=>Oc.test(n)||Nc.test(n)?n:n.replace(/^(\s*[-*+]\s+)/,"$1[ ] ")).join(` `)}function Nx(t){return t.split(` `).map(n=>Lc.test(n)||Pc.test(n)?n:n.replace(/^(\s*\d+[.)]\s+)/,"$1[ ] ")).join(` `)}function Fx(t){return t.split(` `).map(n=>Oc.test(n)?n:n.replace(/^(\s*[-*+]\s+)\[[^\]]\]/,"$1[ ]")).join(` `)}function Rx(t){return t.split(` `).map(n=>Lc.test(n)?n:n.replace(/^(\s*\d+[.)]\s+)\[[^\]]{1}\]/,"$1[ ]")).join(` `)}function Hx(t){return t.split(` `).map(n=>Nc.test(n)?n:n.replace(/^(\s*[-*+]\s+)\[\s\]/,"$1[x]")).join(` `)}function Bx(t){return t.split(` `).map(n=>Pc.test(n)?n:n.replace(/^(\s*\d+[.)]\s+)\[\s\]/,"$1[x]")).join(` `)}function Kx(t){return t.split(` `).map(e=>ya.test(e)?e.replace(/^(\s*)[-+*]\s+/,"$1"):e).join(` `)}var Pm={"editor:toggle-bold":t=>{Ei(t,Mm,Sx,"**")},"editor:toggle-code":t=>{Ei(t,Cm,kx,"`")},"editor:toggle-italics":t=>{Ei(t,Dm,xx,"*")},"editor:toggle-highlight":t=>{Ei(t,Am,_x,"==")},"editor:toggle-strikethrough":t=>{Ei(t,Im,Tx,"~~")},"editor:toggle-blockquote":t=>{zo(t,Mx,Dx,Cx)},"editor:toggle-bullet-list":t=>{zo(t,ya,Lm,Kx)},"editor:toggle-numbered-list":t=>{zo(t,va,Lx,Px)},"editor:toggle-checklist-status":t=>{let n=Hn(t),e=wi({text:n.text,selection:n.selection}),r=Rt(t,e),i=r.selectedText,a=ya.test(i),o=va.test(i);!a&&!o?i=Lm(i):a?Oc.test(i)?i=Hx(i):Nc.test(i)?i=Fx(i):i=Ox(i):Lc.test(i)?i=Bx(i):Pc.test(i)?i=Rx(i):i=Nx(i);let s=Tt(t,i);Rt(t,{start:r.selection.start,end:s.selection.end})}},Fc={"(":t=>rn(t,"(",")",!1),"[":t=>rn(t,"[","]",!1,!0),"{":t=>rn(t,"{","}",!1),"'":t=>rn(t,"'","'",!1),'"':t=>rn(t,'"','"',!1)},Rc={"*":t=>rn(t,"*","*",!1),_:t=>rn(t,"_","_",!1),"`":t=>rn(t,"`","`",!1),"=":t=>rn(t,"=","=",!0),"~":t=>rn(t,"~","~",!0),$:t=>rn(t,"$","$",!0),"%":t=>rn(t,"%","%",!0)},$x={"(":")","[":"]","{":"}","'":"'",'"':'"',"*":"*",_:"_","`":"`","=":"=","~":"~",$:"$","%":"%"};function Om(t,n){let e=Hn(t);if(e.selection.end!==e.selection.start||e.selection.end===e.text.length)return!1;let r=e.text[e.selection.end-1],i=e.text[e.selection.end];if(n[r]&&i===$x[r])return Rt(t,{start:e.selection.end,end:e.selection.end+1}),Tt(t,""),!0}function Nm(t){return Om(t,Fc)}function Fm(t){return Om(t,Rc)}function Ux(t,n,e){let r=n?" ":" ".repeat(e);return t.split(` `).map(i=>r+i).join(` `)}function jx(t,n,e){let r=n?"\\t":" ".repeat(e),i=new RegExp(`^${r}`);return t.split(` `).map(a=>i.test(a)?a.replace(i,""):a).join(` `)}function Rm(t,n,e,r){let i=Hn(t);if(n){let l=wi(i),c=Rt(t,l);if(Tt(t,jx(c.selectedText,e,r)),i.selection.start===i.selection.end){let d=e?1:r;Rt(t,{start:i.selection.start-d,end:i.selection.end-d})}return!0}let a=wi(i),o=Rt(t,a),u=Ux(o.selectedText,e,r).replace(/^(\s*)(\d+)([.)]\s)/,(l,c,d,f)=>`${c}1${f}`);return Tt(t,u),!0}function Hm(t){let n=Hn(t);if(n.selection.start!==n.selection.end)return!1;let e=wi(n),r=t.value.slice(e.start,n.selection.end),i=t.value.slice(e.start,e.end);if(/^(\s*[-*+]\s+(?:\[[^\]]\]\s*)?)$/.test(i))return Rt(t,{start:e.start-1,end:e.end}),Tt(t,` `),!0;if(/^(\s*\d[.)]\s+(?:\[[^\]]\]\s*)?)$/.test(i))return Rt(t,{start:e.start-1,end:e.end}),Tt(t,` `),!0;if(ya.test(r)){let a=r.match(/^(\s*[-*+]\s+(?:\[[^\]]\]\s*)?)/)[1];return pa(t,` ${a.replace(/^(\s*[-*+]\s+)\[[^\]]\]/,"$1[ ]")}`),!0}if(va.test(r)){let s=r.match(/^(\s*\d+[.)]\s+(?:\[[^\]]\]\s*)?)/)[1].replace(/^(\s*\d+[.)]\s+)\[[^\]]\]/,"$1[ ]").replace(/^(\s*)(\d+)/,(u,l,c)=>`${l}${parseInt(c)+1}`);return pa(t,` ${s}`),!0}return!1}function tr(t,n){return n.getSetting("new-line-trigger")==="enter"?t.key==="Enter"&&!(t.shiftKey||t.metaKey||t.ctrlKey):t.key==="Enter"&&t.shiftKey}var gr=v.forwardRef(function({onEnter:n,onEscape:e,...r},i){let{view:a,stateManager:o}=v.useContext(qe),s=v.useMemo(()=>a.app.vault.getConfig("autoPairMarkdown"),[a]),u=v.useMemo(()=>a.app.vault.getConfig("autoPairBrackets"),[a]),l=v.useMemo(()=>a.app.vault.getConfig("useTab"),[a]),c=v.useMemo(()=>a.app.vault.getConfig("tabSize"),[a]),d=!!a.app.vault.getConfig("useMarkdownLinks"),f=Tm({isInputVisible:!0,onEnter:n,onEscape:e,onKeyDown:h=>{if(h.key==="Backspace"){let p=Nm(h.target);return p||Fm(h.target)}if(tr(h,o)){let p=Hm(h.target);if(p)return h.preventDefault(),p}if(h.key==="Tab")return h.preventDefault(),Rm(h.target,h.shiftKey,l,c);if(s){let p=Rc[h.key];if(p&&p(h.target))return h.preventDefault(),!0}if(u){if(d&&h.key==="[")return!1;let p=Fc[h.key];if(p&&p(h.target))return h.preventDefault(),!0}return!1}});return v.useEffect(()=>{let h=p=>{let g=Pm[p];g&&g(f.ref.current)};return a.emitter.on("hotkey",h),()=>{a.emitter.off("hotkey",h)}},[a]),v.createElement("div",{"data-replicated-value":r.value,className:$("grow-wrap")},v.createElement("textarea",{"data-ignore-drag":!0,rows:1,className:$("item-input"),...r,...f,ref:h=>{f.ref.current=h,i&&typeof i=="function"?i(h):i&&(i.current=h)}}))});var Uc=ge(Bm());var vr=ge(require("obsidian"));var Km={};var $m={};var Um={};var jm={"Open as kanban board":"\xD6ffne als Kanban-Board","Create new board":"Erstelle ein neues Board","Archive completed cards in active board":"Archiviere fertiggestellte Karten im aktiven Board","Error: current file is not a Kanban board":"Fehler: Momentan ge\xF6ffnete Datei ist kein Kanban-Board","Convert empty note to Kanban":"Konvertiere leere Notiz in ein Kanban-Board","Error: cannot create Kanban, the current note is not empty":"Fehler: Kanban konnte nicht erstellt werden, momentan ge\xF6ffnete Datei ist nicht leer","New kanban board":"Neues Kanban-Board","Untitled Kanban":"Unbenanntes Kanban","Toggle between Kanban and markdown mode":"Wechsle zwischen Kanban und Markdown Modus","Open as markdown":"\xD6ffne als Markdown","Open board settings":"\xD6ffne Board-Einstellungen","Archive completed cards":"Archiviere fertiggestellte Karten","Something went wrong":"Etwas ist schief gelaufen","You may wish to open as markdown and inspect or edit the file.":"Du kannst die Datei im Markdown Modus \xF6ffnen und \xFCberpr\xFCfen oder bearbeiten.","Are you sure you want to archive all completed cards on this board?":"Bist du dir sicher, dass du alle fertiggestellten Karten des Boards archivieren m\xF6chtest?",Complete:"Fertiggestellt",Archive:"Archiv","Invalid Kanban file: problems parsing frontmatter":"Fehlerhafte Kanban Datei: Probleme beim Parsen des Frontmatters","I don't know how to interpret this line:":"Ich wei\xDF nicht, wie ich diese Zeile interpretieren soll:",Untitled:"Unbenannt","Note: No template plugins are currently enabled.":"Beachte: Keine Template-Plugins sind derzeit aktiviert.",default:"Standard","Search...":"Suche...","These settings will take precedence over the default Kanban board settings.":"Diese Einstellung wird Vorrang vor der standard Kanban-Board Einstellung haben. ","Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.":"Stelle standard Kanban-Board Einstellungen ein. Einstellungen k\xF6nnen auf einer Board-f\xFCr-Board Basis \xFCberschrieben werden.","Note template":"Notiz Vorlage","This template will be used when creating new notes from Kanban cards.":"Diese Vorlage wird beim Erstellen neuer Notizen aus Kanban-Karten verwendet.","No template":"Keine Vorlage","Note folder":"Notiz Ordner","Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.":"Notizen, welche aus einer Kanban-Karte erstellt wurden, werden in diesem Ordner platziert. Falls leer, werden die Einstellungen des Vaults verwendet.","Default folder":"Standard Ordner","Lane width":"Schienen Breite","Enter a number to set the lane width in pixels.":"Gebe ein Zahl ein, um die Schienen Breite in Pixeln einzustellen.","Maximum number of archived cards":"Maximale Anzahl archivierter Karten.","Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.":"Archivierte Karten k\xF6nnen im Markdown-Modus betrachtet werden. Diese Einstellung wird alte Karten l\xF6schen, sobald das Limit erreicht wird. Eine Einstellung von -1 setzt das Archiv auf eine unendliche Gr\xF6\xDFe.","Display card checkbox":"Zeige Karten Checkbox","When toggled, a checkbox will be displayed with each card":"Wenn aktiviert, wird eine Checkbox mit jeder Karte angezeigt.","Reset to default":"Zur\xFCcksetzen","Date & Time":"Datum & Uhrzeit","Date trigger":"Datums Ausl\xF6ser","When this is typed, it will trigger the date selector":"Wenn dies eingegeben wird, dann wird die Datumsauswahl angezeigt","Time trigger":"Uhrzeit Ausl\xF6ser","When this is typed, it will trigger the time selector":"Wenn dies eingegeben wird, dann wird die Uhrzeitsauswahl angezeigt","Date format":"Format des Datums","This format will be used when saving dates in markdown.":"Dieses Format wird verwendet, wenn ein Datum in Markdown gespeichert wird.","For more syntax, refer to":"F\xFCr mehr Syntax Informationen siehe","format reference":"Formatvorlage","Your current syntax looks like this":"Dein momentanes Format sieht so aus","Time format":"Format der Uhrzeit","Date display format":"Format der Datums Anzeige","This format will be used when displaying dates in Kanban cards.":"Dieses Format wird verwendet, wenn ein Datum in einer Kanban-Karte angezeigt wird.","Show relative date":"Zeige relatives Datum","When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'":"Wenn aktiviert, wird die Zeitspanne zwischen Heute und dem Datum angezeigt. Zum Beispiel: 'In 3 Tagen', 'Vor einem Monat'","Hide card display dates":"Verstecke Karten Datum","When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.":"Wenn aktiviert, werden formatierte Daten nicht auf der Karte angezeigt. Relative Daten werden dennoch angezeigt, solange sie aktiviert sind.","Hide dates in card titles":"Verstecke Daten im Titel der Karte","When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.":"Wenn aktiviert, werden Daten nicht im Titel der Karte angezeigt. Dies verhindert, dass Daten im Titel neu erstellter Notizen vorhanden sind.","Link dates to daily notes":"Verbinde Daten zu Daily Notes","When toggled, dates will link to daily notes. Eg. [[2021-04-26]]":"Wenn aktiviert, werden Daten mit Daily Notes verbunden. Zum Beispiel [[26.4.2021]]","Add date and time to archived cards":"F\xFCge Datum und Uhrzeit zu archivierten Notizen hinzu","When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title":"Wenn aktiviert, wird das momentane Datum und die momentane Zeit am Anfang einer Karte hinzugef\xFCgt, wenn sie archiviert wird. Zum Beispiel: - [ ] 14.05.2021 10:00 Mein Karten Titel","Archive date/time separator":"Datum/Uhrzeit Trenner f\xFCr das Archiv","This will be used to separate the archived date/time from the title":"Dies wird verwendet, um das Datum und die Uhrzeit archivierter Karten vom Titel zu trennen","Archive date/time format":"Format des Datums und der Uhrzeit f\xFCr das Archiv","Kanban Plugin":"Kanban Erweiterung","New line trigger":"Taste f\xFCr neue Zeile","Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lanes.":"W\xE4hle aus ob Enter oder Umschalttaste+Enter eine neue Zeile erstellen soll. Das Gegenteil kannst du verwenden um die Karte zu erstellen oder das bearbeiten der Karte oder Schiene zu beenden.","Shift + Enter":"Umschalttaste + Enter",Enter:"Enter","Prepend / append new cards":"Neue Karten voranf\xFCgen / anh\xE4ngen","This setting controls whether new cards are added to the beginning or end of the list.":"Diese Einstellung gibt an ob neue Karten am Anfang oder am Ende einer Liste hinzugef\xFCgt werden.",Prepend:"Voranf\xFCgen",Append:"Anh\xE4ngen","Hide tags in card titles":"Ausblenden von Tags in Kartentiteln","When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.":"Ist diese Einstellung an, so werden Tags im Kartentitel nicht angezeigt. Dadurch wird verhindert, dass Tags beim Erstellen neuer Notizen in den Titel aufgenommen werden.","Hide card display tags":"Ausblenden von Kartenanzeige-Tags","When toggled, tags will not be displayed below the card title.":"Ist diese Einstellung an, werden Tags nicht unter dem Kartentitel angezeigt.","Linked Page Metadata":"Metadaten f\xFCr verkn\xFCpfte (verlinkte) Notizen","Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.":"Zeigen Sie Metadaten f\xFCr die erste Notiz an, die innerhalb einer Karte verkn\xFCpft ist. Geben Sie an, welche Metadatenschl\xFCssel unten angezeigt werden sollen. Ein optionales Label kann hinzugef\xFCgt werden, es kann aber auch vollst\xE4ndig ausgeblendet werden.","Metadata key":"Metadatenschl\xFCssel","Display label":"Anzeigelabel","Hide label":"Label ausblenden","Drag to rearrange":"Zum Neuanordnen ziehen",Delete:"L\xF6schen","Add key":"Schl\xFCssel hinzuf\xFCgen","Field contains markdown":"Feld beinhaltet Markdown","More options":"Mehr optionen",Cancel:"Abbrechen",today:"heute",yesterday:"gestern",tomorrow:"morgen","Change date":"Ver\xE4ndere Datum","Change time":"Ver\xE4ndere Uhrzeit","Card title...":"Karten Titel...","Add card":"Karte hinzuf\xFCgen","Add a card":"F\xFCge eine Karte hinzu","Edit card":"Karte editieren","New note from card":"Neue Notiz aus Karte erstellen","Archive card":"Karte archivieren","Delete card":"Karte l\xF6schen","Edit date":"Datum editieren","Add date":"Datum hinzuf\xFCgen","Remove date":"Datum entfernen","Edit time":"Karte editieren","Add time":"Uhrzeit hinzuf\xFCgen","Remove time":"Uhrzeit entfernen","Duplicate card":"Karte duplizieren","Enter list title...":"Listen Titel eingeben..","Mark cards in this list as complete":"Markiere Karten in dieser Liste als fertiggestellt","Add list":"Liste hinzuf\xFCgen","Add a list":"F\xFCge eine Liste hinzu","Move list":"Liste verschieben",Close:"Schlie\xDFen","Are you sure you want to delete this list and all its cards?":"Bist du dir sicher, dass du diese Liste und alle ihre Karten l\xF6schen m\xF6chtest?","Yes, delete list":"Ja, l\xF6sche diese Liste","Are you sure you want to archive this list and all its cards?":"Bist du dir sicher, dass du diese Liste und alle ihre Karten archivieren m\xF6chtest?","Yes, archive list":"Ja, archiviere diese Liste","Are you sure you want to archive all cards in this list?":"Bist du dir sicher, dass du alle Karten in dieser Liste archivieren m\xF6chtest?","Yes, archive cards":"Ja, archiviere Karten","Edit list":"Editiere Liste","Archive cards":"Archiviere Karten","Archive list":"Archiviere List","Delete list":"L\xF6sche Liste"};var Kc={"Open as kanban board":"Open as kanban board","Create new board":"Create new board","Archive completed cards in active board":"Archive completed cards in active board","Error: current file is not a Kanban board":"Error: current file is not a Kanban board","Convert empty note to Kanban":"Convert empty note to Kanban","Error: cannot create Kanban, the current note is not empty":"Error: cannot create Kanban, the current note is not empty","New kanban board":"New kanban board","Untitled Kanban":"Untitled Kanban","Toggle between Kanban and markdown mode":"Toggle between Kanban and markdown mode","Open as markdown":"Open as markdown","Open board settings":"Open board settings","Archive completed cards":"Archive completed cards","Something went wrong":"Something went wrong","You may wish to open as markdown and inspect or edit the file.":"You may wish to open as markdown and inspect or edit the file.","Are you sure you want to archive all completed cards on this board?":"Are you sure you want to archive all completed cards on this board?",Complete:"Complete",Archive:"Archive","Invalid Kanban file: problems parsing frontmatter":"Invalid Kanban file: problems parsing frontmatter","I don't know how to interpret this line:":"I don't know how to interpret this line:",Untitled:"Untitled","Note: No template plugins are currently enabled.":"Note: No template plugins are currently enabled.",default:"default","Search...":"Search...","New line trigger":"New line trigger","Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lanes.":"Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lanes.","Shift + Enter":"Shift + Enter",Enter:"Enter","Prepend / append new cards":"Prepend / append new cards","This setting controls whether new cards are added to the beginning or end of the list.":"This setting controls whether new cards are added to the beginning or end of the list.",Prepend:"Prepend","Prepend (compact)":"Prepend (compact)",Append:"Append","These settings will take precedence over the default Kanban board settings.":"These settings will take precedence over the default Kanban board settings.","Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.":"Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.","Note template":"Note template","This template will be used when creating new notes from Kanban cards.":"This template will be used when creating new notes from Kanban cards.","No template":"No template","Note folder":"Note folder","Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.":"Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.","Default folder":"Default folder","Lane width":"Lane width","Enter a number to set the lane width in pixels.":"Enter a number to set the lane width in pixels.","Maximum number of archived cards":"Maximum number of archived cards","Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.":"Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.","Display card checkbox":"Display card checkbox","When toggled, a checkbox will be displayed with each card":"When toggled, a checkbox will be displayed with each card","Reset to default":"Reset to default","Date & Time":"Date & Time","Date trigger":"Date trigger","When this is typed, it will trigger the date selector":"When this is typed, it will trigger the date selector","Time trigger":"Time trigger","When this is typed, it will trigger the time selector":"When this is typed, it will trigger the time selector","Date format":"Date format","This format will be used when saving dates in markdown.":"This format will be used when saving dates in markdown.","For more syntax, refer to":"For more syntax, refer to","format reference":"format reference","Your current syntax looks like this":"Your current syntax looks like this","Time format":"Time format","Date display format":"Date display format","This format will be used when displaying dates in Kanban cards.":"This format will be used when displaying dates in Kanban cards.","Show relative date":"Show relative date","When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'":"When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'","Hide card display dates":"Hide card display dates","When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.":"When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.","Hide dates in card titles":"Hide dates in card titles","When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.":"When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.","Link dates to daily notes":"Link dates to daily notes","When toggled, dates will link to daily notes. Eg. [[2021-04-26]]":"When toggled, dates will link to daily notes. Eg. [[2021-04-26]]","Add date and time to archived cards":"Add date and time to archived cards","When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title":"When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title","Archive date/time separator":"Archive date/time separator","This will be used to separate the archived date/time from the title":"This will be used to separate the archived date/time from the title","Archive date/time format":"Archive date/time format","Kanban Plugin":"Kanban Plugin","Hide tags in card titles":"Hide tags in card titles","When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.":"When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.","Hide card display tags":"Hide card display tags","When toggled, tags will not be displayed below the card title.":"When toggled, tags will not be displayed below the card title.","Linked Page Metadata":"Linked Page Metadata","Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.":"Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.","Board Header Buttons":"Board Header Buttons","Calendar: first day of week":"Calendar: first day of week","Override which day is used as the start of the week":"Override which day is used as the start of the week",Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday","Metadata key":"Metadata key","Display label":"Display label","Hide label":"Hide label","Drag to rearrange":"Drag to rearrange",Delete:"Delete","Add key":"Add key","Field contains markdown":"Field contains markdown","More options":"More options",Cancel:"Cancel",today:"today",yesterday:"yesterday",tomorrow:"tomorrow","Change date":"Change date","Change time":"Change time","Card title...":"Card title...","Add card":"Add card","Add a card":"Add a card","Edit card":"Edit card","New note from card":"New note from card","Archive card":"Archive card","Delete card":"Delete card","Edit date":"Edit date","Add date":"Add date","Remove date":"Remove date","Edit time":"Edit time","Add time":"Add time","Remove time":"Remove time","Duplicate card":"Duplicate card","Split card":"Split card","Copy link to card":"Copy link to card","Insert card before":"Insert card before","Insert card after":"Insert card after","Enter list title...":"Enter list title...","Mark cards in this list as complete":"Mark cards in this list as complete","Add list":"Add list","Add a list":"Add a list","Move list":"Move list",Close:"Close","Are you sure you want to delete this list and all its cards?":"Are you sure you want to delete this list and all its cards?","Yes, delete list":"Yes, delete list","Are you sure you want to archive this list and all its cards?":"Are you sure you want to archive this list and all its cards?","Yes, archive list":"Yes, archive list","Are you sure you want to archive all cards in this list?":"Are you sure you want to archive all cards in this list?","Yes, archive cards":"Yes, archive cards","Edit list":"Edit list","Archive cards":"Archive cards","Archive list":"Archive list","Delete list":"Delete list","Insert list before":"Insert list before","Insert list after":"Insert list after","Unable to find":"Unable to find","Open in default app":"Open in default app"};var zm={};var Vm={};var qm={};var Wm={};var Ym={"Open as kanban board":"Apri come bacheca Kanban","Create new board":"Crea nuova bacheca","Archive completed cards in active board":"Archivia schede completate nella bacheca attiva","Error: current file is not a Kanban board":"Errore: il file corrente non \xE8 una bacheca Kanban","Convert empty note to Kanban":"Converti nota vuota in Kanban","Error: cannot create Kanban, the current note is not empty":"Errore: Impossibile creare Kanban, la nota corrente non \xE8 vuota","New kanban board":"Nuova bacheca Kanban","Untitled Kanban":"Kanban senza titolo","Open as markdown":"Apri come markdown","Open board settings":"Apri impostazioni bacheca","Archive completed cards":"Archivia schede completate",Complete:"Completato",Archive:"Archivio","Note: No template plugins are currently enabled.":"Nota: Nessun plugin dei modelli attualmente abilitato.",default:"predefinito","Search...":"Ricerca...","These settings will take precedence over the default Kanban board settings.":"Queste impostazioni avranno la precedenza sulle impostazioni predefinite della bacheca Kanban.","Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.":"Impostazioni predefinite della bacheca Kanban. Le impostazioni possono essere sovrascritte per ogni bacheca.","Note template":"Nota modello","This template will be used when creating new notes from Kanban cards.":"Questo modello verr\xE0 utilizzato durante la creazione di nuove note dalle schede Kanban.","No template":"Nessun modello","Note folder":"Cartella delle note","Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.":"Le note create dalle schede Kanban verranno inserite in questa cartella. Se vuota, verranno inserite nella posizione predefinita del vault.","Default folder":"Cartella predefinita","Lane width":"Larghezza colonna","Enter a number to set the lane width in pixels.":"Inserire un numero per impostare la larghezza della colonna in pixel.","Maximum number of archived cards":"Numero massimo di schede archiviate","Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.":"Le schede archiviate possono essere visualizzate in modalit\xE0 Markdown. Le vecchie schede verranno rimosse una volta raggiunto il limite. Impostando il valore -1 il numero di schede archiviate sar\xE0 illimitato.","Display card checkbox":"Mostra casella di controllo","When toggled, a checkbox will be displayed with each card":"Se attiva, verr\xE0 visualizzata una casella di controllo per ogni scheda","Reset to default":"Ripristina predefiniti","Date & Time":"Data e ora","Date trigger":"Selettore data","When this is typed, it will trigger the date selector":"Digitando questo, verr\xE0 attivato il selettore della data","Time trigger":"Selettore ora","When this is typed, it will trigger the time selector":"Digitando questo, verr\xE0 attivato il selettore dell'ora","Date format":"Formato data","This format will be used when saving dates in markdown.":"Formato utilizzato per il salvataggio delle date in Markdown.","For more syntax, refer to":"Per maggiori informazioni, vedere","format reference":"formato di riferimento","Your current syntax looks like this":"Formato corrente","Time format":"Formato ora","Date display format":"Formato visualizzazione data","This format will be used when displaying dates in Kanban cards.":"Formato utilizzato per visualizzare le date nelle schede Kanban.","Show relative date":"Mostra data relativa","When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'":"Se attiva, le schede indicheranno la distanza tra la data odierna e la data della scheda. eg. 'Tra 3 giorni', 'Un mese fa'","Hide card display dates":"Hide card display dates","When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.":"Se attiva, la data non verr\xE0 mostrata sulla scheda. Le date relative verranno comunque mostrate se sono state abilitate.","Hide dates in card titles":"Nascondi date nei titoli delle schede","When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.":"Se attiva, la data non verr\xE0 mostrata nei titoli delle schede. Questo impedisce alle date di essere incluse quando vengono create nuove note.","Link dates to daily notes":"Collega date alle Note del giorno","When toggled, dates will link to daily notes. Eg. [[2021-04-26]]":"Se attiva, le date verranno collegate alle Note del giorno. Eg. [[2021-04-26]]","Add date and time to archived cards":"Aggiungi data e ora alle schede archiviate","When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title":"Se attiva, la data e l'ora corrente verranno aggiunte all'inizio della scheda quando viene archiviata. Eg. - [ ] 2021-05-14 10:00am Mia scheda","Archive date/time separator":"Separatore data/ora dell'archivio","This will be used to separate the archived date/time from the title":"Verr\xE0 usato per separare data e ora dell'archiviazione dal titolo","Archive date/time format":"Formato data/ora dell'archivio","Kanban Plugin":"Plugin Kanban","More options":"Altre opzioni",Cancel:"Annulla",today:"oggi",yesterday:"ieri",tomorrow:"domani","Change date":"Modifica data","Change time":"Modifica ora","Card title...":"Titolo elemento...","Add card":"Aggiungi elemento","Add a card":"Aggiungi un'altra scheda","Edit card":"Modifica scheda","New note from card":"Nuova nota da scheda","Archive card":"Archivia scheda","Delete card":"Elimina scheda","Edit date":"Modifica data","Add date":"Aggiungi data","Remove date":"Rimuovi data","Edit time":"Modifica ora","Add time":"Aggiungi ora","Remove time":"Rimuovi ora","Enter list title...":"Inserisci titolo lista...","Mark cards in this list as complete":"Segna elementi della lista come completati","Add list":"Aggiungi lista","Add a list":"Aggiungi un'altra lista","Move list":"Sposta lista",Close:"Chiudi","Are you sure you want to delete this list and all its cards?":"Cancellare questa lista e tutte le sue schede?","Yes, delete list":"Cancella lista","Are you sure you want to archive this list and all its cards?":"Archiviare questa lista e tutte le sue schede?","Yes, archive list":"Archivia lista","Are you sure you want to archive all cards in this list?":"Archiviare tutte le schede in questa lista?","Yes, archive cards":"Archivia schede","Edit list":"Modifica lista","Archive cards":"Archivia schede","Archive list":"Archivia lista","Delete list":"Cancella lista"};var Jm={"Open as kanban board":"\u30AB\u30F3\u30D0\u30F3\u30DC\u30FC\u30C9\u3068\u3057\u3066\u958B\u304F","Create new board":"\u30AB\u30F3\u30D0\u30F3\u30DC\u30FC\u30C9\u3092\u65B0\u898F\u4F5C\u6210","Archive completed cards in active board":"\u30A2\u30AF\u30C6\u30A3\u30D6\u30DC\u30FC\u30C9\u306E\u5B8C\u4E86\u3057\u305F\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","Error: current file is not a Kanban board":"\u30A8\u30E9\u30FC: \u73FE\u5728\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u30AB\u30F3\u30D0\u30F3\u30DC\u30FC\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093","Convert empty note to Kanban":"\u7A7A\u306E\u30CE\u30FC\u30C8\u3092\u30AB\u30F3\u30D0\u30F3\u306B\u5909\u63DB","Error: cannot create Kanban, the current note is not empty":"\u30A8\u30E9\u30FC: \u73FE\u5728\u958B\u3044\u3066\u3044\u308B\u30CE\u30FC\u30C8\u306F\u7A7A\u3067\u3042\u308A\u3001\u30AB\u30F3\u30D0\u30F3\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093","New kanban board":"\u65B0\u898F\u30AB\u30F3\u30D0\u30F3\u30DC\u30FC\u30C9","Untitled Kanban":"\u7121\u984C\u306E\u30AB\u30F3\u30D0\u30F3","Toggle between Kanban and markdown mode":"\u30AB\u30F3\u30D0\u30F3\u3068\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3\u306E\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048\u308B","Open as markdown":"\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3\u3068\u3057\u3066\u958B\u304F","Open board settings":"\u30DC\u30FC\u30C9\u8A2D\u5B9A\u3092\u958B\u304F","Archive completed cards":"\u5B8C\u4E86\u3057\u305F\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","Something went wrong":"\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F","You may wish to open as markdown and inspect or edit the file.":"\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3\u3068\u3057\u3066\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u3044\u3066\u8ABF\u67FB\u3059\u308B\u304B\u7DE8\u96C6\u3059\u308B\u3053\u3068\u3092\u304A\u3059\u3059\u3081\u3057\u307E\u3059\u3002","Are you sure you want to archive all completed cards on this board?":"\u3053\u306E\u30DC\u30FC\u30C9\u306B\u542B\u307E\u308C\u308B\u3059\u3079\u3066\u306E\u5B8C\u4E86\u3057\u305F\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u307E\u3059\u304B\uFF1F",Complete:"\u5B8C\u4E86",Archive:"\u30A2\u30FC\u30AB\u30A4\u30D6","Invalid Kanban file: problems parsing frontmatter":"\u7121\u52B9\u306A\u30AB\u30F3\u30D0\u30F3\u30D5\u30A1\u30A4\u30EB: \u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306E\u30D1\u30FC\u30B9\u306B\u554F\u984C\u304C\u3042\u308A\u307E\u3059","I don't know how to interpret this line:":"\u3053\u306E\u884C\u3092\u3069\u3046\u89E3\u91C8\u3059\u308C\u3070\u3088\u3044\u304B\u5206\u304B\u308A\u307E\u305B\u3093",Untitled:"\u7121\u984C","Note: No template plugins are currently enabled.":"\u30CE\u30FC\u30C8: \u73FE\u5728\u3001\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u304C\u7121\u52B9\u5316\u3055\u308C\u3066\u3044\u307E\u3059",default:"\u30C7\u30D5\u30A9\u30EB\u30C8","Search...":"\u691C\u7D22\u2026","New line trigger":"\u6539\u884C\u30C8\u30EA\u30AC\u30FC","Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lanes.":"\u6539\u884C\u306B\u4F7F\u3046\u30AD\u30FC\u3068\u3057\u3066Enter\u304BShift+Enter\u306E\u3069\u3061\u3089\u3092\u4F7F\u3046\u304B\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9078\u629E\u3057\u306A\u304B\u3063\u305F\u65B9\u306E\u30AD\u30FC\u306F\u30AB\u30FC\u30C9\u3068\u30EC\u30FC\u30F3\u306E\u4F5C\u6210\u3068\u7DE8\u96C6\u5B8C\u4E86\u306E\u30C8\u30EA\u30AC\u30FC\u3068\u306A\u308A\u307E\u3059\u3002","Shift + Enter":"Shift + Enter",Enter:"Enter","Prepend / append new cards":"\u5148\u982D\u307E\u305F\u306F\u672B\u5C3E\u306B\u65B0\u898F\u30AB\u30FC\u30C9\u3092\u8FFD\u52A0\u3059\u308B","This setting controls whether new cards are added to the beginning or end of the list.":"\u3053\u306E\u8A2D\u5B9A\u306B\u3088\u3063\u3066\u65B0\u898F\u30AB\u30FC\u30C9\u3092\u30EA\u30B9\u30C8\u306E\u5148\u982D\u307E\u305F\u306F\u672B\u5C3E\u306B\u8FFD\u52A0\u3059\u308B\u304B\u3092\u6C7A\u3081\u307E\u3059\u3002",Prepend:"\u5148\u982D\u306B\u8FFD\u52A0","Prepend (compact)":"\u5148\u982D\u306B\u8FFD\u52A0(\u30B3\u30F3\u30D1\u30AF\u30C8)",Append:"\u672B\u5C3E\u306B\u8FFD\u52A0","These settings will take precedence over the default Kanban board settings.":"\u3053\u308C\u3089\u306E\u8A2D\u5B9A\u306F\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30AB\u30F3\u30D0\u30F3\u8A2D\u5B9A\u3088\u308A\u512A\u5148\u3055\u308C\u307E\u3059\u3002","Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.":"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30AB\u30F3\u30D0\u30F3\u30DC\u30FC\u30C9\u8A2D\u5B9A\u3092\u30BB\u30C3\u30C8\u3057\u307E\u3059\u3002\u3053\u306E\u8A2D\u5B9A\u306F\u30DC\u30FC\u30C9\u6BCE\u306B\u4E0A\u66F8\u304D\u3067\u304D\u307E\u3059\u3002","Note template":"\u30CE\u30FC\u30C8\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8","This template will be used when creating new notes from Kanban cards.":"\u3053\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306F\u30AB\u30F3\u30D0\u30F3\u30AB\u30FC\u30C9\u304B\u3089\u30CE\u30FC\u30C8\u3092\u65B0\u898F\u4F5C\u6210\u3057\u305F\u969B\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","No template":"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u304C\u3042\u308A\u307E\u305B\u3093","Note folder":"\u30CE\u30FC\u30C8\u30D5\u30A9\u30EB\u30C0","Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.":"\u30AB\u30F3\u30D0\u30F3\u30AB\u30FC\u30C9\u304B\u3089\u4F5C\u6210\u3055\u308C\u305F\u30CE\u30FC\u30C8\u306F\u3053\u306E\u30D5\u30A9\u30EB\u30C0\u5185\u306B\u7F6E\u304B\u308C\u307E\u3059\u3002\u30D6\u30E9\u30F3\u30AF\u306E\u5834\u5408\u306B\u306F\u3001\u3053\u306E\u4FDD\u7BA1\u5EAB\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u30ED\u30B1\u30FC\u30B7\u30E7\u30F3\u306B\u7F6E\u304B\u308C\u307E\u3059\u3002","Default folder":"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D5\u30A9\u30EB\u30C0","Lane width":"\u30EC\u30FC\u30F3\u306E\u5E45","Enter a number to set the lane width in pixels.":"\u30EC\u30FC\u30F3\u306E\u5E45\u3092\u30D4\u30AF\u30BB\u30EB\u5358\u4F4D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Maximum number of archived cards":"\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u30AB\u30FC\u30C9\u306E\u6700\u5927\u6570","Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.":"\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u30AB\u30FC\u30C9\u306F\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3\u30E2\u30FC\u30C9\u3067\u95B2\u89A7\u3067\u304D\u307E\u3059\u3002\u3053\u306E\u8A2D\u5B9A\u306B\u3088\u308A\u6307\u5B9A\u3055\u308C\u305F\u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u9650\u754C\u6570\u307E\u3067\u9054\u3057\u305F\u969B\u306B\u306F\u53E4\u3044\u30AB\u30FC\u30C9\u3092\u524A\u9664\u3057\u307E\u3059\u3002\u3053\u306E\u5024\u3092-1\u306B\u8A2D\u5B9A\u3059\u308B\u3068\u30DC\u30FC\u30C9\u306E\u30A2\u30FC\u30AB\u30A4\u30D6\u9650\u754C\u3092\u7121\u9650\u306B\u3057\u307E\u3059\u3002","Display card checkbox":"\u30AB\u30FC\u30C9\u306E\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3092\u8868\u793A","When toggled, a checkbox will be displayed with each card":"\u6709\u52B9\u5316\u3059\u308B\u3068\u5404\u30AB\u30FC\u30C9\u306E\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","Reset to default":"\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u30EA\u30BB\u30C3\u30C8","Date & Time":"\u65E5\u4ED8\u3068\u6642\u9593","Date trigger":"\u65E5\u4ED8\u30C8\u30EA\u30AC\u30FC","When this is typed, it will trigger the date selector":"\u3053\u306E\u8A2D\u5B9A\u306B\u5165\u529B\u3055\u308C\u305F\u6587\u5B57\u5217\u3067\u65E5\u4ED8\u30BB\u30EC\u30AF\u30BF\u30FC\u3092\u30C8\u30EA\u30AC\u30FC\u3057\u307E\u3059\u3002","Time trigger":"\u6642\u9593\u30C8\u30EA\u30AC\u30FC","When this is typed, it will trigger the time selector":"\u3053\u306E\u8A2D\u5B9A\u306B\u5165\u529B\u3055\u308C\u305F\u6587\u5B57\u5217\u3067\u6642\u9593\u30BB\u30EC\u30AF\u30BF\u30FC\u3092\u30C8\u30EA\u30AC\u30FC\u3057\u307E\u3059\u3002","Date format":"\u65E5\u4ED8\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8","This format will be used when saving dates in markdown.":"\u3053\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u306F\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3\u3067\u65E5\u4ED8\u304C\u4FDD\u5B58\u3055\u308C\u308B\u969B\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","For more syntax, refer to":"\u30B7\u30F3\u30BF\u30C3\u30AF\u30B9\u306B\u3064\u3044\u3066\u306F\u3053\u3061\u3089\u3092\u53C2\u7167:","format reference":"\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u30EA\u30D5\u30A1\u30EC\u30F3\u30B9","Your current syntax looks like this":"\u73FE\u5728\u306E\u30B7\u30F3\u30BF\u30C3\u30AF\u30B9\u306F\u6B21\u306E\u3088\u3046\u306B\u898B\u3048\u307E\u3059","Time format":"\u6642\u9593\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8","Date display format":"\u65E5\u4ED8\u8868\u793A\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8","This format will be used when displaying dates in Kanban cards.":"\u3053\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u306F\u30AB\u30F3\u30D0\u30F3\u30AB\u30FC\u30C9\u5185\u306B\u3066\u65E5\u4ED8\u306E\u8868\u793A\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","Show relative date":"\u76F8\u5BFE\u65E5\u4ED8\u3092\u8868\u793A","When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'":"\u6709\u52B9\u5316\u3059\u308B\u3068\u30AB\u30FC\u30C9\u306E\u65E5\u4ED8\u3068\u4ECA\u65E5\u306E\u9593\u306E\u65E5\u6570\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u4F8B: '3\u65E5\u5F8C', '1\u30F6\u6708\u524D'","Hide card display dates":"\u30AB\u30FC\u30C9\u306B\u8868\u793A\u3055\u308C\u308B\u65E5\u4ED8\u3092\u96A0\u3059","When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.":"\u6709\u52B9\u5316\u3059\u308B\u3068\u30AB\u30FC\u30C9\u4E0A\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3055\u308C\u305F\u65E5\u4ED8\u304C\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002\u6709\u52B9\u5316\u3055\u308C\u305F\u5834\u5408\u306B\u306F\u76F8\u5BFE\u65E5\u4ED8\u306F\u8868\u793A\u3055\u308C\u307E\u307E\u3068\u306A\u308A\u307E\u3059\u3002","Hide dates in card titles":"\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u306E\u65E5\u4ED8\u3092\u96A0\u3059","When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.":"\u6709\u52B9\u5316\u3059\u308B\u3068\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u306E\u65E5\u4ED8\u304C\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002\u3053\u308C\u306F\u65B0\u898F\u30CE\u30FC\u30C8\u3092\u4F5C\u6210\u3057\u305F\u969B\u306B\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u306B\u65E5\u4ED8\u304C\u542B\u307E\u308C\u308B\u306E\u3092\u9632\u304E\u307E\u3059\u3002","Link dates to daily notes":"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u65E5\u4ED8\u3092\u30EA\u30F3\u30AF","When toggled, dates will link to daily notes. Eg. [[2021-04-26]]":"\u6709\u52B9\u5316\u3059\u308B\u3068\u65E5\u4ED8\u304C\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u30EA\u30F3\u30AF\u3055\u308C\u307E\u3059\u3002 \u4F8B: [[2021-04-26]]","Add date and time to archived cards":"\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u30AB\u30FC\u30C9\u306B\u65E5\u4ED8\u3068\u6642\u9593\u3092\u8FFD\u52A0","When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title":"\u6709\u52B9\u5316\u3059\u308B\u3068\u30AB\u30FC\u30C9\u304C\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u969B\u306B\u73FE\u5728\u306E\u65E5\u4ED8\u3068\u6642\u9593\u304C\u30AB\u30FC\u30C9\u306E\u6700\u521D\u306B\u8FFD\u8A18\u3055\u308C\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002\u4F8B: - [ ] 2021-05-14 10:00am \u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB","Archive date/time separator":"\u65E5\u4ED8\u30FB\u6642\u9593\u30BB\u30D1\u30EC\u30FC\u30BF\u30FC\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","This will be used to separate the archived date/time from the title":"\u3053\u308C\u306F\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u65E5\u4ED8\u30FB\u6642\u9593\u3092\u30BF\u30A4\u30C8\u30EB\u304B\u3089\u5206\u96E2\u3059\u308B\u306E\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","Archive date/time format":"\u65E5\u4ED8\u30FB\u6642\u9593\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","Kanban Plugin":"\u30AB\u30F3\u30D0\u30F3\u30D7\u30E9\u30B0\u30A4\u30F3","Hide tags in card titles":"\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u5185\u306E\u30BF\u30B0\u3092\u96A0\u3059","When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.":"\u6709\u52B9\u5316\u3059\u308B\u3068\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u5185\u306E\u30BF\u30B0\u304C\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002\u3053\u308C\u306F\u65B0\u898F\u30CE\u30FC\u30C8\u3092\u4F5C\u6210\u3057\u305F\u969B\u306B\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u306B\u30BF\u30B0\u304C\u542B\u307E\u308C\u308B\u306E\u3092\u9632\u304E\u307E\u3059\u3002","Hide card display tags":"\u30AB\u30FC\u30C9\u306B\u8868\u793A\u3055\u308C\u308B\u30BF\u30B0\u3092\u96A0\u3059","When toggled, tags will not be displayed below the card title.":"\u6709\u52B9\u5316\u3059\u308B\u3068\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u306E\u4E0B\u306E\u30BF\u30B0\u304C\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002","Linked Page Metadata":"\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30DA\u30FC\u30B8\u306E\u30E1\u30BF\u30C7\u30FC\u30BF","Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.":"\u30AB\u30FC\u30C9\u5185\u3067\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u308B\u6700\u521D\u306E\u30CE\u30FC\u30C8\u306E\u30E1\u30BF\u30C7\u30FC\u30BF\u3092\u8868\u793A\u3057\u307E\u3059\u3002\u4E0B\u306B\u8868\u793A\u3059\u308B\u30E1\u30BF\u30C7\u30FC\u30BF\u306E\u30AD\u30FC\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30AA\u30D7\u30B7\u30E7\u30F3\u3068\u3057\u3066\u30E9\u30D9\u30EB\u306E\u4ED8\u4E0E\u304C\u53EF\u80FD\u3067\u3042\u308A\u3001\u30E9\u30D9\u30EB\u306F\u5B8C\u5168\u306B\u975E\u8868\u793A\u306B\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002","Board Header Buttons":"\u30DC\u30FC\u30C9\u306E\u30D8\u30C3\u30C0\u30FC\u30DC\u30BF\u30F3","Calendar: first day of week":"\u30AB\u30EC\u30F3\u30C0\u30FC: \u9031\u306E\u59CB\u307E\u308A","Override which day is used as the start of the week":"\u9031\u306E\u59CB\u307E\u308A\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u66DC\u65E5\u3092\u5909\u66F4\u3057\u307E\u3059\u3002",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5","Metadata key":"\u30E1\u30BF\u30C7\u30FC\u30BF\u306E\u30AD\u30FC","Display label":"\u30E9\u30D9\u30EB\u3092\u8868\u793A","Hide label":"\u30E9\u30D9\u30EB\u3092\u96A0\u3059","Drag to rearrange":"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u4E26\u3079\u66FF\u3048\u308B",Delete:"\u524A\u9664","Add key":"\u30AD\u30FC\u3092\u8FFD\u52A0","Field contains markdown":"\u30D5\u30A3\u30FC\u30EB\u30C9\u306B\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3\u3092\u542B\u307F\u307E\u3059","More options":"\u4ED6\u306E\u30AA\u30D7\u30B7\u30E7\u30F3",Cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",today:"\u4ECA\u65E5",yesterday:"\u6628\u65E5",tomorrow:"\u660E\u65E5","Change date":"\u65E5\u4ED8\u3092\u5909\u66F4","Change time":"\u6642\u9593\u3092\u5909\u66F4","Card title...":"\u30AB\u30FC\u30C9\u30BF\u30A4\u30C8\u30EB\u2026","Add card":"\u30AB\u30FC\u30C9\u3092\u8FFD\u52A0","Add a card":"\u30AB\u30FC\u30C9\u3092\u8FFD\u52A0","Edit card":"\u30AB\u30FC\u30C9\u3092\u7DE8\u96C6","New note from card":"\u30AB\u30FC\u30C9\u304B\u3089\u30CE\u30FC\u30C8\u3092\u65B0\u898F\u4F5C\u6210","Archive card":"\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","Delete card":"\u30AB\u30FC\u30C9\u3092\u524A\u9664","Edit date":"\u65E5\u4ED8\u3092\u7DE8\u96C6","Add date":"\u65E5\u4ED8\u3092\u8FFD\u52A0","Remove date":"\u65E5\u4ED8\u3092\u524A\u9664","Edit time":"\u6642\u9593\u3092\u7DE8\u96C6","Add time":"\u6642\u9593\u3092\u8FFD\u52A0","Remove time":"\u6642\u9593\u3092\u524A\u9664","Duplicate card":"\u30AB\u30FC\u30C9\u3092\u8907\u88FD","Split card":"\u30AB\u30FC\u30C9\u3092\u5206\u5272","Copy link to card":"\u30AB\u30FC\u30C9\u3078\u306E\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","Enter list title...":"\u30EA\u30B9\u30C8\u30BF\u30A4\u30C8\u30EB\u3092\u7DE8\u96C6\u2026","Mark cards in this list as complete":"\u3053\u306E\u30EA\u30B9\u30C8\u306B\u542B\u307E\u308C\u308B\u30AB\u30FC\u30C9\u3092\u5B8C\u4E86\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3059\u308B","Add list":"\u30EA\u30B9\u30C8\u3092\u8FFD\u52A0","Add a list":"\u30EA\u30B9\u30C8\u3092\u8FFD\u52A0","Move list":"\u30EA\u30B9\u30C8\u3092\u79FB\u52D5",Close:"\u9589\u3058\u308B","Are you sure you want to delete this list and all its cards?":"\u3053\u306E\u30EA\u30B9\u30C8\u3068\u542B\u307E\u308C\u308B\u3059\u3079\u3066\u306E\u30AB\u30FC\u30C9\u3092\u524A\u9664\u3057\u307E\u3059\u304B\b\uFF1F","Yes, delete list":"\u306F\u3044\u3001\u30EA\u30B9\u30C8\u3092\u524A\u9664\u3057\u307E\u3059","Are you sure you want to archive this list and all its cards?":"\u3053\u306E\u30EA\u30B9\u30C8\u3068\u542B\u307E\u308C\u308B\u3059\u3079\u3066\u306E\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u307E\u3059\u304B\uFF1F","Yes, archive list":"\u306F\u3044\u3001\u30EA\u30B9\u30C8\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u307E\u3059","Are you sure you want to archive all cards in this list?":"\u3053\u306E\u30EA\u30B9\u30C8\u306B\u542B\u307E\u308C\u308B\u3059\u3079\u3066\u306E\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u307E\u3059\u304B\uFF1F","Yes, archive cards":"\u306F\u3044\u3001\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u307E\u3059","Edit list":"\u30EA\u30B9\u30C8\u3092\u7DE8\u96C6","Archive cards":"\u30AB\u30FC\u30C9\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","Archive list":"\u30EA\u30B9\u30C8\u3092\u30A2\u30FC\u30AB\u30A4\u30D6","Delete list":"\u30EA\u30B9\u30C8\u3092\u524A\u9664","Unable to find":"\u898B\u3064\u304B\u308A\u307E\u305B\u3093","Open in default app":"\u30C7\u30D5\u30A9\u30EB\u30C8\u30A2\u30D7\u30EA\u3067\u958B\u304F"};var Gm={};var Qm={};var Xm={};var Zm={};var eg={};var tg={"Open as Kanban board":"Abrir como quadro Kanban","Create new board":"Criar um novo quadro","Archive completed cards in active board":"Arquivar cart\xF5es conclu\xEDdos no quadro ativo","Error: current file is not a Kanban board":"Erro: o arquivo atual n\xE3o \xE9 um quadro Kanban","Convert empty note to Kanban":"Converter nota vazia em Kanban","Error: cannot create Kanban, the current note is not empty":"Erro: n\xE3o \xE9 poss\xEDvel criar o quadro Kanban, a nota atual n\xE3o est\xE1 vazia","New Kanban board":"Novo quadro Kanban","Untitled Kanban":"Kanban sem t\xEDtulo","Toggle between Kanban and markdown mode":"Alternar entre os modos Kanban e Markdown","Open as markdown":"Abrir como markdown","Open board settings":"Abrir configura\xE7\xF5es do quadro Kanban","Archive completed cards":"Arquivar cart\xF5es conclu\xEDdos",Complete:"Conclu\xEDdo",Archive:"Arquivado","Note: No template plugins are currently enabled.":"Nota: N\xE3o h\xE1 plug-ins de modelo habilitados no momento.",default:"padr\xE3o","Search...":"Pesquisar...","These settings will take precedence over the default Kanban board settings.":"Essas configura\xE7\xF5es sobrescrever\xE3o as configura\xE7\xF5es padr\xE3o do quadro Kanban","Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.":"Defina as configura\xE7\xF5es padr\xE3o do quadro Kanban. Cada quadro Kanban pode ter sua pr\xF3pria configura\xE7\xE3o.","Note template":"Modelo de nota","This template will be used when creating new notes from Kanban cards.":"Este modelo ser\xE1 usado quando uma nova nota Kanban for criada.","No template":"Sem modelo","Note folder":"Pasta de notas","Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.":"As notas criadas pelos links dos cart\xF5es Kanban ser\xE3o colocadas nesta pasta. Se estiver em branco, ser\xE3o colocadas no local configurado como padr\xE3o deste cofre.","Default folder":"Pasta padr\xE3o","Lane width":"Largura das listas","Enter a number to set the lane width in pixels.":"Insira um n\xFAmero para definir a largura das listas em pixels.","Maximum number of archived cards":"Quantidade m\xE1xima de cart\xF5es arquivados","Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.":"Os cart\xF5es arquivados podem ser vistos no modo Markdown. Esta configura\xE7\xE3o excluir\xE1 os cart\xF5es antigos assim que o limite for atingido. Inserir o valor -1 retira o limite para cart\xF5es arquivados.","Display card checkbox":"Exibe uma caixa de sele\xE7\xE3o do cart\xE3o","When toggled, a checkbox will be displayed with each card":"Quando ativada, uma caixa de sele\xE7\xE3o ser\xE1 exibida em cada cart\xE3o.","Reset to default":"Redefinir configura\xE7\xF5es padr\xE3o","Date & Time":"Data e Hora","Date trigger":"Gatilho de data","When this is typed, it will trigger the date selector":"Quando este caractere \xE9 digitado, o seletor de data \xE9 exibido.","Time trigger":"Gatilho de hora","When this is typed, it will trigger the time selector":"Quando este caractere \xE9 digitado, o seletor de hora \xE9 exibido.","Date format":"Formado da data","This format will be used when saving dates in markdown.":"Este formato ser\xE1 usado quando datas forem armazenadas no Markdown.","For more syntax, refer to":"Para mais informa\xE7\xF5es sobre esta sintaxe, consulte os","format reference":"modelos de formato.","Your current syntax looks like this":"Sua atual sintaxe est\xE1 assim","Time format":"Formato da hora","Date display format":"Formato de exibi\xE7\xE3o da data","This format will be used when displaying dates in Kanban cards.":"Este ser\xE1 o formato das datas exibido nos cart\xF5es do Kanban.","Show relative date":"Exibir datas relativas","When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'":"Ao ativar, os cart\xF5es exibir\xE3o o intervalo de tempo entre hoje e a data do cart\xE3o: Ex.: 'Em 3 dias', 'Um m\xEAs atr\xE1s'","Hide card display dates":"Ocultar datas dos cart\xF5es","When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.":"Ao ativar, as datas formatadas n\xE3o ser\xE3o exibidas no cart\xE3o. As datas relativas ainda ser\xE3o exibidas se estiverem ativadas.","Hide dates in card titles":"Ocultar datas dos t\xEDtulos dos cart\xF5es","When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.":"Ao ativar, as datas ser\xE3o t\xEDtulos de cart\xF5es ocultos. Evita que datas sejam inclu\xEDdas no t\xEDtulo ao criar novas notas.","Link dates to daily notes":"Vincular datas a notas di\xE1rias","When toggled, dates will link to daily notes. Eg. [[2021-04-26]]":"Ao ativar, as datas ser\xE3o vinculadas \xE0s notas di\xE1rias. Ex.: [[2021-04-26]]","Add date and time to archived cards":"Adicionar data e hora aos cart\xF5es arquivados","When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title":"Quando ativada, a data e a hora atuais ser\xE3o adicionadas ao in\xEDcio de um cart\xE3o quando ele for arquivado. Ex.: - [] 2021-05-14 10:00 T\xEDtulo do meu cart\xE3o","Archive date/time separator":"Separador de data/hora do arquivo","This will be used to separate the archived date/time from the title":"Isso ser\xE1 usado para separar a data/hora arquivada do t\xEDtulo.","Archive date/time format":"Formato de data/hora do arquivo","Kanban Plugin":"Plugin Kanban","Hide tags in card titles":"Ocultar \u2018tags\u2019 nos t\xEDtulos dos cart\xF5es","When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.":"Quando ativada, as \u2018tags\u2019 n\xE3o ser\xE3o exibidas nos t\xEDtulos de cartas. Isso impedir\xE1 que as \u2018tags\u2019 sejam inclu\xEDdas no t\xEDtulo ao criar novas notas.","Hide card display tags":"Ocultar \u2018tags\u2019 de exibi\xE7\xE3o de cart\xE3o","When toggled, tags will not be displayed below the card title.":"Quando ativada, as \u2018tags\u2019 n\xE3o ser\xE3o exibidas abaixo do t\xEDtulo do cart\xE3o.","Linked Page Metadata":"Metadados de p\xE1ginas 'lincadas'","Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.":"Exibe metadados para a primeira nota 'lincada' em um cart\xE3o. Especifique abaixo quais metadados ser\xE3o exibidos. Um r\xF3tulo opcional pode ser fornecido e os r\xF3tulos podem ser ocultados completamente.","Metadata key":"Metadado","Display label":"Descri\xE7\xE3o personalizada","Hide label":"Ocultar","Drag to rearrange":"Arraste para reorganizar",Delete:"Excluir","Add key":"Adicionar metadado","More options":"Mais op\xE7\xF5es",Cancel:"Cancelar",today:"hoje",yesterday:"ontem",tomorrow:"amanh\xE3","Change date":"Alterar data","Change time":"Mudar hora","Card title...":"T\xEDtulo do item...","Add card":"Adicionar Item","Add a card":"Adicione um cart\xE3o","Edit card":"Editar cart\xE3o","New note from card":"Nova nota do cart\xE3o","Archive card":"Arquivar cart\xE3o","Delete card":"Excluir cart\xE3o","Edit date":"Editar data","Add date":"Adicionar data","Remove date":"Remover data","Edit time":"Editar hora","Add time":"Adicionar hora","Remove time":"Remover hora","Duplicate card":"Duplicate card","Enter list title...":"Insira o t\xEDtulo da lista...","Mark cards in this list as complete":"Marcar os itens nesta lista como conclu\xEDdos","Add list":"Adicionar lista","Add a list":"Adicionar uma lista","Move list":"Mover lista",Close:"Fechar","Are you sure you want to delete this list and all its cards?":"Tem certeza de que deseja excluir esta lista e todos os seus cart\xF5es?","Yes, delete list":"Sim, excluir esta lista","Are you sure you want to archive this list and all its cards?":"Tem certeza de que deseja arquivar esta lista e todos os seus cart\xF5es?","Yes, archive list":"Sim, arquivar esta lista","Are you sure you want to archive all cards in this list?":"Tem certeza de que deseja arquivar todos os cart\xF5es desta lista?","Yes, archive cards":"Sim, arquivar cart\xF5es","Edit list":"Editar lista","Archive cards":"Arquivar cart\xF5es","Archive list":"Arquivar lista","Delete list":"Excluir lista"};var ng={};var rg={};var ig={};var ds={};var ag={"Open as kanban board":"\u6253\u5F00\u4E3A\u770B\u677F","Create new board":"\u521B\u5EFA\u65B0\u770B\u677F","Archive completed cards in active board":"\u5728\u5F53\u524D\u770B\u677F\u4E2D\u5F52\u6863\u5DF2\u5B8C\u6210\u5361\u7247","Error: current file is not a Kanban board":"\u9519\u8BEF\uFF1A\u5F53\u524D\u6587\u4EF6\u4E0D\u662F\u770B\u677F\u6587\u4EF6","Convert empty note to Kanban":"\u8F6C\u6362\u7A7A\u767D\u6587\u6863\u4E3A\u770B\u677F","Error: cannot create Kanban, the current note is not empty":"\u9519\u8BEF\uFF1A\u65E0\u6CD5\u8F6C\u6362\u5F53\u524D\u6587\u4EF6\uFF0C\u5F53\u524D\u6587\u4EF6\u4E0D\u662F\u7A7A\u767D\u6587\u6863","New kanban board":"\u65B0\u770B\u677F","Untitled Kanban":"\u672A\u547D\u540D\u770B\u677F","Toggle between Kanban and markdown mode":"\u5728\u770B\u677F\u548C Markdown \u6A21\u5F0F\u4E4B\u95F4\u8FDB\u884C\u5207\u6362","Open as markdown":"\u6253\u5F00\u4E3A Markdown \u6587\u4EF6","Open board settings":"\u6253\u5F00\u770B\u677F\u8BBE\u7F6E","Archive completed cards":"\u5F52\u6863\u5DF2\u5B8C\u6210\u5361\u7247","Something went wrong":"\u51FA\u4E86\u70B9\u95EE\u9898 `(*>\uFE4F<*)\u2032 ","You may wish to open as markdown and inspect or edit the file.":"\u4F60\u53EF\u80FD\u5E0C\u671B\u4EE5 Markdown \u65B9\u5F0F\u6253\u5F00\uFF0C\u5E76\u68C0\u67E5\u6216\u7F16\u8F91\u8BE5\u6587\u4EF6\u3002","Are you sure you want to archive all completed cards on this board?":"\u4F60\u786E\u5B9A\u8981\u5C06\u8FD9\u4E2A\u677F\u5757\u4E0A\u6240\u6709\u5DF2\u5B8C\u6210\u7684\u5361\u7247\u5F52\u6863\u5417\uFF1F",Complete:"\u5B8C\u6210",Archive:"\u5F52\u6863","Invalid Kanban file: problems parsing frontmatter":"\u65E0\u6548\u7684\u770B\u677F\u6587\u4EF6\uFF1A\u89E3\u6790\u524D\u7AEF\u5185\u5BB9\u65F6\u51FA\u73B0\u95EE\u9898","I don't know how to interpret this line:":"\u6211\u4E0D\u77E5\u9053\u5982\u4F55\u89E3\u8BFB\u8FD9\u53E5\u8BDD: ",Untitled:"\u672A\u547D\u540D","Note: No template plugins are currently enabled.":"\u6CE8\u610F\uFF1A\u5F53\u524D\u6A21\u677F\u63D2\u4EF6\u6CA1\u6709\u8FD0\u884C",default:"\u9ED8\u8BA4","Search...":"\u641C\u7D22...","New line trigger":"\u6362\u884C\u89E6\u53D1\u5668","Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lanes.":"\u9009\u62E9 Enter \u6216\u662F Shift+Enter \u6765\u521B\u5EFA\u65B0\u884C, \u4F60\u6CA1\u6709\u9009\u62E9\u7684\u5C06\u7528\u6765\u521B\u5EFA\u548C\u5B8C\u6210\u5361\u7247","Prepend / append new cards":"\u8FFD\u52A0\u65B0\u5361","This setting controls whether new cards are added to the beginning or end of the list.":"\u8BBE\u7F6E\u65B0\u5361\u7247\u6DFB\u52A0\u5230\u5217\u8868\u5934\u90E8\u6216\u5C3E\u90E8\u3002",Prepend:"\u5934\u90E8","Prepend (compact)":"\u5934\u90E8 (\u7D27\u51D1)",Append:"\u5C3E\u90E8","These settings will take precedence over the default Kanban board settings.":"\u5F53\u524D\u770B\u677F\u8BBE\u7F6E\u5C06\u4F1A\u8986\u76D6\u9ED8\u8BA4\u7684\u770B\u677F\u8BBE\u7F6E","Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.":"\u8BBE\u7F6E\u770B\u677F\u7684\u9ED8\u8BA4\u8BBE\u7F6E\u3002\u8BBE\u7F6E\u53EF\u4EE5\u6BCF\u4E2A\u770B\u677F\u5355\u72EC\u8BBE\u7F6E\u3002","Note template":"\u7B14\u8BB0\u6A21\u677F","This template will be used when creating new notes from Kanban cards.":"\u521B\u5EFA\u65B0\u770B\u677F\u5361\u7247\u65F6\u4F1A\u4F7F\u7528\u8BE5\u6A21\u677F","No template":"\u6CA1\u6709\u6A21\u677F","Note folder":"\u7B14\u8BB0\u5B58\u653E\u4F4D\u7F6E","Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.":"\u4ECE\u770B\u677F\u5361\u7247\u521B\u5EFA\u7684\u7B14\u8BB0\u4F1A\u653E\u7F6E\u5230\u8BE5\u6587\u4EF6\u5939\u4E2D\uFF0C\u5982\u679C\u8FD9\u91CC\u4E3A\u7A7A\uFF0C\u5728\u770B\u677F\u521B\u5EFA\u7684\u7B14\u8BB0\u4F1A\u653E\u7F6E\u5230 Obsidian \u7684\u9ED8\u8BA4\u6587\u4EF6\u5B58\u653E\u4F4D\u7F6E\u3002","Default folder":"\u9ED8\u8BA4\u6587\u4EF6\u5939","Lane width":"\u5361\u7247\u5BBD\u5EA6","Enter a number to set the lane width in pixels.":"\u8F93\u5165\u4E00\u4E2A\u6570\u5B57\u6765\u8BBE\u7F6E\u770B\u677F\u7684\u5361\u7247\u5BBD\u5EA6","Maximum number of archived cards":"\u5355\u4E2A\u770B\u677F\u7684\u5F52\u6863\u5361\u7247\u7684\u6700\u5927\u6570\u91CF","Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.":"\u5DF2\u5F52\u6863\u7684\u5361\u7247\u53EF\u4EE5\u5728 Markdown \u6A21\u5F0F\u4E0B\u67E5\u770B\u3002\u8FD9\u4E2A\u8BBE\u7F6E\u4F1A\u5BFC\u81F4\u63D2\u4EF6\u5728\u5DF2\u5F52\u6863\u7684\u5361\u7247\u6570\u91CF\u62B5\u8FBE\u9650\u5236\u503C\u65F6\u5F00\u59CB\u5220\u9664\u5361\u7247\u3002\u5F53\u524D\u503C\u8BBE\u7F6E\u4E3A -1 \u7684\u8BDD\u53EF\u4EE5\u6C38\u4E45\u4FDD\u7559\u6240\u6709\u5F52\u6863\u5361\u7247\u3002","Display card checkbox":"\u5C55\u793A\u5361\u7247\u590D\u9009\u6846","When toggled, a checkbox will be displayed with each card":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u590D\u9009\u6846\u4F1A\u51FA\u73B0\u5728\u6BCF\u4E2A\u5361\u7247\u4E0A","Reset to default":"\u8FD8\u539F\u521D\u59CB\u8BBE\u7F6E","Date & Time":"\u65E5\u671F\u548C\u65F6\u95F4","Date trigger":"\u65E5\u671F\u89E6\u53D1\u6307\u4EE4","When this is typed, it will trigger the date selector":"\u5F53\u5728\u770B\u677F\u5361\u7247\u4E2D\u8F93\u5165\u8FD9\u4E2A\u65F6\uFF0C\u4F1A\u89E6\u53D1\u4E00\u4E2A\u65E5\u671F\u9009\u62E9\u5668","Time trigger":"\u65F6\u95F4\u89E6\u53D1\u6307\u4EE4","When this is typed, it will trigger the time selector":"\u5F53\u5728\u770B\u677F\u5361\u7247\u4E2D\u8F93\u5165\u8FD9\u4E2A\u65F6\uFF0C\u4F1A\u89E6\u53D1\u4E00\u4E2A\u65F6\u95F4\u9009\u62E9\u5668","Date format":"\u65E5\u671F\u683C\u5F0F","This format will be used when saving dates in markdown.":"\u8FD9\u4E2A\u683C\u5F0F\u4F1A\u5728\u65E5\u671F\u4FDD\u5B58\u5230 Markdown \u683C\u5F0F\u65F6\u4F7F\u7528\u3002","For more syntax, refer to":"\u66F4\u591A\u683C\u5F0F\uFF0C\u8BF7\u67E5\u770B","format reference":"\u683C\u5F0F\u53C2\u8003","Your current syntax looks like this":"\u4F60\u5F53\u524D\u8BBE\u7F6E\u7684\u683C\u5F0F\u4F1A\u662F","Time format":"\u65F6\u95F4\u683C\u5F0F","Date display format":"\u65E5\u671F\u5C55\u793A\u683C\u5F0F","This format will be used when displaying dates in Kanban cards.":"\u5728\u770B\u677F\u5361\u7247\u4E2D\uFF0C\u4F1A\u57FA\u4E8E\u8BE5\u683C\u5F0F\u5C55\u793A\u65E5\u671F","Show relative date":"\u5C55\u793A\u76F8\u5BF9\u65E5\u671F","When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u5361\u7247\u4F1A\u5C55\u793A\u5176\u8BBE\u7F6E\u7684\u65E5\u671F\u4E0E\u4ECA\u5929\u7684\u65E5\u671F\u7684\u5DEE\u503C\uFF0C\u4F8B\u5982\u4E09\u5929\u5185\u3001\u4E00\u4E2A\u6708\u5185\u7B49\u3002","Hide card display dates":"\u9690\u85CF\u5361\u7247\u65E5\u671F","When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u683C\u5F0F\u5316\u7684\u65E5\u671F\u4E0D\u4F1A\u5C55\u793A\uFF0C\u4F46\u662F\u5982\u679C\u4F60\u5F00\u542F\u4E86\u76F8\u5BF9\u65E5\u671F\u7684\u529F\u80FD\uFF0C\u76F8\u5BF9\u65E5\u671F\u8FD8\u662F\u4F1A\u7EE7\u7EED\u5C55\u793A\u3002","Hide dates in card titles":"\u5728\u5361\u7247\u6807\u9898\u4E2D\u9690\u85CF\u65E5\u671F","When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u5361\u7247\u6807\u9898\u4E2D\u7684\u65E5\u671F\u4F1A\u9690\u85CF\uFF0C\u5F53\u57FA\u4E8E\u5361\u7247\u521B\u5EFA\u65B0\u7B14\u8BB0\u7684\u65F6\u5019\u53EF\u4EE5\u907F\u514D\u65E5\u671F\u6DF7\u6742\u5176\u4E2D\u3002","Link dates to daily notes":"\u94FE\u63A5\u65E5\u671F\u5230\u65E5\u8BB0","When toggled, dates will link to daily notes. Eg. [[2021-04-26]]":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u65E5\u671F\u4F1A\u81EA\u52A8\u94FE\u63A5\u5230\u65E5\u8BB0\u9875\u9762\uFF0C\u4F8B\u5982 [[2021-04-26]]","Add date and time to archived cards":"\u6DFB\u52A0\u65E5\u671F\u548C\u65F6\u95F4\u5230\u5F52\u6863\u5361\u7247","When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u5F53\u524D\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4F1A\u88AB\u6DFB\u52A0\u5230\u5F52\u6863\u7684\u5361\u7247\u7684\u524D\u7AEF\u4E0A\uFF0C\u4F8B\u5982\u201C- [ ] 2021-05-14 10:00am \u6211\u7684\u5361\u7247\u6807\u9898\u201D","Archive date/time separator":"\u65E5\u671F\u6216\u65F6\u95F4\u5206\u9694\u7B26","This will be used to separate the archived date/time from the title":"\u7528\u4E8E\u4ECE\u5206\u9694\u5F52\u6863\u5361\u7247\u7684\u65E5\u671F\u6216\u65F6\u95F4","Archive date/time format":"\u5F52\u6863\u65E5\u671F\u6216\u65F6\u95F4\u683C\u5F0F","Kanban Plugin":"\u770B\u677F\u63D2\u4EF6","Hide tags in card titles":"\u9690\u85CF\u5361\u7247\u6807\u9898\u4E2D\u7684\u6807\u7B7E","When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u5361\u7247\u6807\u9898\u4E2D\u7684\u6807\u7B7E\u5C06\u4F1A\u88AB\u9690\u85CF\uFF0C\u6765\u907F\u514D\u751F\u6210\u5361\u7247\u7B14\u8BB0\u7684\u65F6\u5019\u9644\u5E26\u4E0A\u6807\u7B7E","Hide card display tags":"\u9690\u85CF\u5361\u7247\u4E0A\u7684\u6807\u7B7E","When toggled, tags will not be displayed below the card title.":"\u5F53\u6253\u5F00\u8FD9\u4E2A\uFF0C\u5361\u7247\u6807\u9898\u4E0B\u65B9\u7684\u6807\u7B7E\u5C06\u4E0D\u4F1A\u5C55\u793A","Linked Page Metadata":"\u8FDE\u63A5\u7684\u9875\u9762\u5143\u6570\u636E","Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.":"\u5C55\u793A\u5361\u7247\u4E2D\u7B2C\u4E00\u4E2A\u8FDE\u63A5\u6240\u5BF9\u5E94\u7684\u7B14\u8BB0\u5143\u6570\u636E\uFF0C\u8BF7\u5728\u4E0B\u65B9\u6307\u5B9A\u54EA\u4E9B\u5143\u6570\u636E\u53EF\u4EE5\u5C55\u793A\u3002\u4F60\u53EF\u4EE5\u9009\u62E9\u5C55\u793A\u6807\u5FD7\uFF0C\u6807\u5FD7\u53EF\u4EE5\u90FD\u88AB\u9690\u85CF\u3002","Board Header Buttons":"\u677F\u5934\u6309\u94AE","Calendar: first day of week":"\u65E5\u5386\uFF1A\u4E00\u5468\u7684\u7B2C\u4E00\u5929","Override which day is used as the start of the week":"\u54EA\u4E00\u5929\u4F5C\u4E3A\u4E00\u5468\u7684\u5F00\u59CB",Sunday:"\u5468\u65E5",Monday:"\u5468\u4E00",Tuesday:"\u5468\u4E8C",Wednesday:"\u5468\u4E09",Thursday:"\u5468\u56DB",Friday:"\u5468\u4E94",Saturday:"\u5468\u516D","Metadata key":"\u5143\u6570\u636E\u53C2\u6570\u540D","Display label":"\u5C55\u793A\u6807\u5FD7","Hide label":"\u9690\u85CF\u6807\u5FD7","Drag to rearrange":"\u62D6\u52A8\u6765\u91CD\u6392\u987A\u5E8F",Delete:"\u5220\u9664","Add key":"\u6DFB\u52A0\u53C2\u6570\u540D","Field contains markdown":"\u5B57\u6BB5\u5305\u542B Markdown","More options":"\u66F4\u591A\u9009\u9879",Cancel:"\u53D6\u6D88",today:"\u4ECA\u5929",yesterday:"\u6628\u5929",tomorrow:"\u660E\u5929","Change date":"\u66F4\u6539\u65E5\u671F","Change time":"\u66F4\u6539\u65F6\u95F4","Card title...":"\u5361\u7247\u6807\u9898","Add card":"\u6DFB\u52A0","Add a card":"\u6DFB\u52A0\u5361\u7247","Edit card":"\u7F16\u8F91\u5361\u7247","New note from card":"\u4ECE\u5361\u7247\u65B0\u5EFA\u7B14\u8BB0","Archive card":"\u5F52\u6863\u5361\u7247","Delete card":"\u5220\u9664\u5361\u7247","Edit date":"\u7F16\u8F91\u65E5\u671F","Add date":"\u6DFB\u52A0\u65E5\u671F","Remove date":"\u79FB\u9664\u65E5\u671F","Edit time":"\u7F16\u8F91\u65F6\u95F4","Add time":"\u6DFB\u52A0\u65F6\u95F4","Remove time":"\u79FB\u9664\u65F6\u95F4","Duplicate card":"\u590D\u5236\u5361\u7247","Split card":"\u5206\u79BB\u5361\u7247","Copy link to card":"\u590D\u5236\u94FE\u63A5\u81F3\u5361\u7247","Enter list title...":"\u8F93\u5165\u65B0\u7684\u5217\u6807\u9898","Mark cards in this list as complete":"\u5C06\u8BE5\u5217\u8BBE\u7F6E\u4E3A\u5B8C\u6210\u5217","Add list":"\u6DFB\u52A0","Add a list":"\u6DFB\u52A0\u5217","Move list":"\u79FB\u52A8\u5217",Close:"\u5173\u95ED","Are you sure you want to delete this list and all its cards?":"\u4F60\u786E\u5B9A\u4F60\u8981\u5220\u9664\u6574\u5217\u4EE5\u53CA\u8BE5\u5217\u4E0B\u6240\u6709\u5361\u7247\u5417\uFF1F","Yes, delete list":"\u662F\uFF0C\u5220\u9664\u5217","Are you sure you want to archive this list and all its cards?":"\u4F60\u786E\u5B9A\u4F60\u8981\u5F52\u6863\u6574\u5217\u4EE5\u53CA\u8BE5\u5217\u4E0B\u6240\u6709\u5361\u7247\u5417\uFF1F","Yes, archive list":"\u662F, \u5F52\u6863\u5217","Are you sure you want to archive all cards in this list?":"\u4F60\u786E\u8BA4\u4F60\u8981\u5F52\u6863\u5F53\u524D\u5217\u7684\u6240\u6709\u5361\u7247\u5417\uFF1F","Yes, archive cards":"\u662F\uFF0C\u5F52\u6863\u6240\u6709\u5361\u7247","Edit list":"\u7F16\u8F91\u5217","Archive cards":"\u5F52\u6863\u5361\u7247","Archive list":"\u5F52\u6863\u5217","Delete list":"\u5220\u9664\u5217","Unable to find":"\u65E0\u6CD5\u627E\u5230","Open in default app":"\u5728\u9ED8\u8BA4\u5E94\u7528\u4E2D\u6253\u5F00"};var og={};var zx={ar:Km,cz:$m,da:Um,de:jm,en:Kc,es:zm,fr:Vm,hi:qm,id:Wm,it:Ym,ja:Jm,ko:Gm,nl:Qm,no:Xm,pl:Zm,"pt-BR":tg,pt:eg,ro:ng,ru:rg,sq:ig,tr:ds,uk:ds,"zh-TW":og,zh:ag},sg=window.localStorage.getItem("language"),$c=zx[sg||"en"];function F(t){return $c||console.error("Error: kanban locale not found",sg),$c&&$c[t]||Kc[t]}var Vx=["bmp","png","jpg","jpeg","gif","svg"],qx=["mp3","wav","m4a","3gp","flac","ogg","oga"],Wx=["mp4","webm","ogv"],Yx=/\u00A0/g,Jx=/[!"#$%&()*+,.:;<=>?@^`{|}~/[\]\\]/g;function lg(t){return t.replace(Jx," ").replace(/\s+/g," ").trim()}function Nr(t){let e=t.replace(Yx," ").normalize("NFC").split("#");if(e.length===1){let i=e[0].split("|");return{root:i[0],subpath:"",alias:i[1]||""}}let r=e[1].split("|");return{root:e[0],subpath:"#"+r[0],alias:r[1]||""}}function Gx(t,n){if(!t||!n)return null;let e=n.split("#").filter(l=>!!l);if(!e||e.length===0)return null;if(e.length===1){let l=e[0];if(l.startsWith("^")){let c=l.substr(1).toLowerCase(),d=t.blocks;if(d&&d[c]){let f=d[c];return{type:"block",block:f,start:f.position.start.offset,end:f.position.end.offset}}else return null}}let r=t.headings;if(!r||r.length===0)return null;let i=0,a=0,o=0,s=null,u=null;for(;ao&&lg(l.heading).toLowerCase()===lg(e[i]).toLowerCase()&&(i++,o=l.level,i===e.length&&(s=l))}return s?{type:"heading",current:s,next:u,start:s.position.start.offset,end:u?u.position.start.offset:null}:null}function Qx(t){t.querySelectorAll(".task-list-item-checkbox").forEach((e,r)=>{e.dataset.checkboxIndex=r.toString()})}function Xx(t,n){t.querySelectorAll(".internal-link").forEach(r=>{let i=Nr(r.getAttr("href"));n.app.metadataCache.getFirstLinkpathDest(i.root,n.file.path)||r.addClass("is-unresolved")})}function Zx(t,n,e){t.empty(),t.createEl("img",{attr:{src:e.app.vault.getResourcePath(n)}},r=>{t.hasAttribute("width")&&r.setAttribute("width",t.getAttribute("width")),t.hasAttribute("height")&&r.setAttribute("height",t.getAttribute("height")),t.hasAttribute("alt")&&r.setAttribute("alt",t.getAttribute("alt"))}),t.addClasses(["image-embed","is-loaded"])}function cg(t,n,e){t.empty(),t.createEl("audio",{attr:{controls:"",src:e.app.vault.getResourcePath(n)}}),t.addClasses(["media-embed","is-loaded"])}function ek(t,n,e){t.empty(),t.createEl("video",{attr:{controls:"",src:e.app.vault.getResourcePath(n)}},r=>{let i=()=>{r.removeEventListener("loadedmetadata",i),r.videoWidth===0&&r.videoHeight===0&&(t.empty(),cg(t,n,e))};r.addEventListener("loadedmetadata",i)}),t.addClasses(["media-embed","is-loaded"])}async function ug(t,n,e){let r=e.app.metadataCache.getFileCache(t);if(!r)return null;let i=await e.app.vault.cachedRead(t);if(!n.subpath)return i;let a=Gx(r,n.subpath);if(a)return i.substring(a.start,a.end===null?void 0:a.end);if(n.subpath)return`${F("Unable to find")} ${n.root}${n.subpath}`}function dg(t,n,e,r){setTimeout(async()=>{if(e.plugin.viewMap.has(e.id)){let i=await ug(t,n,e);if(!i)return;i.startsWith(F("Unable to find"))?r>0&&dg(t,n,e,--r):e.plugin.stateManagers.forEach(a=>{a.onFileMetadataChange()})}},2e3)}async function tk(t,n,e,r,i){let a=await ug(n,e,r);if(!a)return;t.empty();let o=t.createDiv();o.addClasses(["markdown-preview-view",$("markdown-preview-view")]),o.createDiv($("embed-link-wrapper"),s=>{s.createEl("a",{href:n.basename,cls:`internal-link ${$("embed-link")}`},u=>{(0,vr.setIcon)(u,"link"),u.setAttr("aria-label",n.basename)})}),await vr.MarkdownRenderer.renderMarkdown(a,o.createDiv(),n.path,r),t.addClass("is-loaded"),a.startsWith(F("Unable to find"))&&e.subpath&&e.subpath!=="#"&&dg(n,e,r,4),i>0&&await fg(o,r,--i)}function nk(t,n){t.addClass("is-loaded"),t.empty(),t.createEl("a",{cls:"file-link",href:t.getAttribute("src"),text:n.name},e=>{e.setAttribute("aria-label",F("Open in default app")),e.createSpan({},r=>(0,vr.setIcon)(r,"open-elsewhere-glyph"))})}function fg(t,n,e){return Promise.all(t.findAll(".internal-embed").map(async r=>{let i=r.getAttribute("src"),a=Nr(i),o=typeof i=="string"&&n.app.metadataCache.getFirstLinkpathDest(a.root,n.file.path);if(o instanceof vr.TFile)return Vx.contains(o.extension)?Zx(r,o,n):qx.contains(o.extension)?cg(r,o,n):Wx.contains(o.extension)?ek(r,o,n):o.extension==="md"?await tk(r,o,a,n,e):nk(r,o)}))}async function ba(t,n){let e=createDiv();try{await vr.MarkdownRenderer.renderMarkdown(n,e,t.file.path,t),await fg(e,t,5),Qx(e),Xx(e,t)}catch(r){console.error(r)}return e}function jc(t,n){!n||!t||(t&&!t.firstChild?t.appendChild(n):t.firstChild&&t.firstChild!==n&&t.replaceChild(n,t.firstChild))}var wa=v.memo(function({className:n,markdownString:e,searchQuery:r,...i}){let{stateManager:a}=v.useContext(qe),o=v.useRef(),s=v.useRef(),u=v.useRef();return v.useEffect(()=>{ba(a.getAView(),e).then(l=>{s.current=l,u.current=new Uc.default(l),o.current&&jc(o.current,l)}).catch(l=>{a.setError(l),console.error(l)})},[a,e]),v.useEffect(()=>{var l,c;(l=u.current)==null||l.unmark(),r&&r.trim()&&((c=u.current)==null||c.mark(r))},[r]),v.createElement("div",{ref:l=>{o.current=l,jc(l,s.current)},className:bt(["markdown-preview-view",$("markdown-preview-view"),n]),...i})}),hg=v.memo(function({dom:n,className:e,searchQuery:r,...i}){let{stateManager:a}=v.useContext(qe),o=v.useMemo(()=>n.cloneNode(!0),[n,a]),s=v.useMemo(()=>new Uc.default(o),[o]);return v.useEffect(()=>{s.unmark(),r&&r.trim()&&s.mark(r)},[s,r]),v.createElement("div",{ref:u=>{jc(u,o)},className:bt(["markdown-preview-view",$("markdown-preview-view"),e]),...i})});var Ea=ge(require("obsidian"));function rk(t,n){if(n)return n.from((0,Ea.moment)());let e=(0,Ea.moment)().startOf("day");if(e.isSame(t,"day"))return F("today");let r=t.diff(e,"day");return r===-1?F("yesterday"):r===1?F("tomorrow"):t.from(e)}function pg({item:t,stateManager:n}){if(!n.useSetting("show-relative-date")||!t.data.metadata.date)return null;let r=rk(t.data.metadata.date,t.data.metadata.time);return v.createElement("span",{className:$("item-metadata-date-relative")},r)}function mg({item:t,stateManager:n,filePath:e,onEditDate:r,onEditTime:i}){let a=n.useSetting("hide-date-display"),o=n.useSetting("date-format"),s=n.useSetting("time-format"),u=n.useSetting("date-display-format"),l=n.useSetting("link-date-to-daily-note");if(a||!t.data.metadata.date)return null;let c=t.data.metadata.date.format(o);if(!c)return null;let d=!!t.data.metadata.time,f=t.data.metadata.date.format(u),h=d?t.data.metadata.time.format(s):null,p=c?(0,Ea.getLinkpath)(c):null,g=c?n.app.metadataCache.getFirstLinkpathDest(p,e):null,w=p&&l?v.createElement("a",{href:p,"data-href":p,className:`internal-link ${g?"":"is-unresolved"}`,target:"blank",rel:"noopener"},f):f,S={};return l||(S["aria-label"]=F("Change date"),S.onClick=r),v.createElement("span",{className:$("item-metadata-date-wrapper")},v.createElement("span",{...S,className:`${$("item-metadata-date")} ${l?"":"is-button"}`},w)," ",d&&v.createElement("span",{onClick:i,className:`${$("item-metadata-time")} is-button`,"aria-label":F("Change time")},h))}function ik(t){let{stateManager:n,boardModifiers:e}=v.useContext(qe),r=qn();return v.useMemo(()=>({onEditDate:o=>{var s;Fo(n,{x:o.clientX,y:o.clientY},Ro({stateManager:n,boardModifiers:e,item:t,hasDate:!0,path:r}),(s=t.data.metadata.date)==null?void 0:s.toDate())},onEditTime:o=>{Ho(n,{x:o.clientX,y:o.clientY},Bo({stateManager:n,boardModifiers:e,item:t,hasTime:!0,path:r}),t.data.metadata.time)}}),[e,r,t,n])}function ak(t,n){let e=0;return t.replace(/^(\s*[-+*]\s+?\[)([^\]])(\]\s+)/gm,(r,i,a,o)=>{let s=r;return e===n&&(a===" "?s=`${i}x${o}`:s=`${i} ${o}`),e++,s})}var gg=v.memo(function({item:n,isEditing:e,setIsEditing:r,searchQuery:i}){var S;let[a,o]=v.useState(n.data.titleRaw),{stateManager:s,filePath:u,boardModifiers:l}=v.useContext(qe),c=s.useSetting("hide-tags-display"),d=qn(),{onEditDate:f,onEditTime:h}=ik(n);v.useEffect(()=>{e&&o(n.data.titleRaw)},[e]);let p=v.useCallback(_=>{if(!tr(_,s))return _.preventDefault(),s.updateItemContent(n,a).then(k=>{l.updateItem(d,k)}).catch(k=>{s.setError(k),console.error(k)}),r(!1),!0},[s,a,n,d]),g=v.useCallback(()=>(r(!1),o(n.data.titleRaw),!0),[n]),w=v.useCallback(_=>{let k=_.target;if(k.hasClass("task-list-item-checkbox")){let P=parseInt(k.dataset.checkboxIndex,10);s.updateItemContent(n,ak(n.data.titleRaw,P)).then(A=>{l.updateItem(d,A)}).catch(A=>{s.setError(A),console.error(A)})}},[d,l,s,n]);return e?v.createElement(gr,{className:$("item-input"),onChange:_=>o(_.target.value),onEnter:p,onEscape:g,value:a,onPaste:_=>{qo(_,s)}}):v.createElement("div",{className:$("item-title")},v.createElement(hg,{className:$("item-markdown"),dom:n.data.dom,searchQuery:i,onClick:w}),v.createElement("div",{className:$("item-metadata")},v.createElement(pg,{item:n,stateManager:s}),v.createElement(mg,{item:n,stateManager:s,filePath:u,onEditDate:f,onEditTime:h}),!c&&!!((S=n.data.metadata.tags)==null?void 0:S.length)&&v.createElement("div",{className:$("item-tags")},n.data.metadata.tags.map((_,k)=>v.createElement("a",{href:_,key:k,className:`tag ${$("item-tag")} ${_.toLocaleLowerCase().contains(i)?"is-search-match":""}`},v.createElement("span",null,_[0]),_.slice(1))))))});var fs=ge(require("obsidian"));var ok=/[\\/:"*?<>|]+/g;function vg({setIsEditing:t,item:n,path:e,boardModifiers:r,stateManager:i}){return v.useCallback((a,o)=>{if(o)i.app.workspace.onLinkContextMenu(a,(0,fs.getLinkpath)(o),i.file.path);else{let s={x:a.clientX,y:a.clientY},u=!!n.data.metadata.date,l=!!n.data.metadata.time,c=new fs.Menu(i.app).addItem(d=>{d.setIcon("pencil").setTitle(F("Edit card")).onClick(()=>t(!0))});c.addItem(d=>{d.setIcon("create-new").setTitle(F("New note from card")).onClick(async()=>{let f=n.data.title.split(` `)[0].trim(),h=f.replace(ok," ").trim(),p=/^!\[/.test(f);if(p){let A=h.replace(/!\[+([^\]]+).+$/,"$1").split(".");A.pop(),h=A.join(".").trim()}let g=i.getSetting("new-note-folder"),w=i.getSetting("new-note-template"),S=g?i.app.vault.getAbstractFileByPath(g):i.app.fileManager.getNewFileParent(i.file.path),_=await i.app.fileManager.createNewMarkdownFile(S,h),k=i.app.workspace.splitActiveLeaf();await k.openFile(_),i.app.workspace.setActiveLeaf(k,!1,!0),await Gd(i,w);let P=n.data.titleRaw.replace(f,p?`[${f}](${encodeURIComponent(_.path)})`:i.app.fileManager.generateMarkdownLink(_,i.file.path));i.updateItemContent(n,P).then(A=>{r.updateItem(e,A)}).catch(A=>{i.setError(A),console.error(A)})})}).addItem(d=>{d.setIcon("links-coming-in").setTitle(F("Copy link to card")).onClick(()=>{if(n.data.blockId)navigator.clipboard.writeText(`${this.app.fileManager.generateMarkdownLink(i.file,"","#^"+n.data.blockId)}`);else{let f=Math.random().toString(36).substr(2,6);navigator.clipboard.writeText(`${this.app.fileManager.generateMarkdownLink(i.file,"","#^"+f)}`),i.updateItemContent(n,`${n.data.titleRaw} ^${f}`).then(h=>{r.updateItem(e,h)}).catch(h=>{i.setError(h),console.error(h)})}})}).addSeparator(),/\n/.test(n.data.titleRaw)&&c.addItem(d=>{d.setIcon("split").setTitle(F("Split card")).onClick(async()=>{let f=n.data.titleRaw.split(/[\r\n]+/g).map(p=>p.trim()),h=await Promise.all(f.map(p=>i.getNewItem(p)));r.splitItem(e,h)})}),c.addItem(d=>{d.setIcon("documents").setTitle(F("Duplicate card")).onClick(()=>r.duplicateEntity(e))}).addItem(d=>{d.setIcon("plus-with-circle").setTitle(F("Insert card before")).onClick(async()=>r.insertItems(e,[await i.getNewItem("",!1,!0)]))}).addItem(d=>{d.setIcon("plus-with-circle").setTitle(F("Insert card after")).onClick(async()=>{let f=[...e];f[f.length-1]=f[f.length-1]+1,r.insertItems(f,[await i.getNewItem("",!1,!0)])})}).addItem(d=>{d.setIcon("sheets-in-box").setTitle(F("Archive card")).onClick(()=>r.archiveItem(e))}).addItem(d=>{d.setIcon("trash").setTitle(F("Delete card")).onClick(()=>r.deleteEntity(e))}).addSeparator().addItem(d=>{d.setIcon("calendar-with-checkmark").setTitle(u?F("Edit date"):F("Add date")).onClick(()=>{var f;Fo(i,s,Ro({stateManager:i,boardModifiers:r,item:n,hasDate:u,path:e}),(f=n.data.metadata.date)==null?void 0:f.toDate())})}),u&&(c.addItem(d=>{d.setIcon("cross").setTitle(F("Remove date")).onClick(()=>{let f=i.getSetting("link-date-to-daily-note"),h=i.getSetting("date-trigger"),p=f?"(?:\\[[^\\]]+\\]\\([^\\)]+\\)|\\[\\[[^\\]]+\\]\\])":"{[^}]+}",g=new RegExp(`(^|\\s)${On(h)}${p}`),w=n.data.titleRaw.replace(g,"").trim();i.updateItemContent(n,w).then(S=>{r.updateItem(e,S)}).catch(S=>{i.setError(S),console.error(S)})})}),c.addItem(d=>{d.setIcon("clock").setTitle(l?F("Edit time"):F("Add time")).onClick(()=>{Ho(i,s,Bo({stateManager:i,boardModifiers:r,item:n,hasTime:l,path:e}),n.data.metadata.time)})}),l&&c.addItem(d=>{d.setIcon("cross").setTitle(F("Remove time")).onClick(()=>{let f=i.getSetting("time-trigger"),h=new RegExp(`(^|\\s)${On(f)}{([^}]+)}`),p=n.data.titleRaw.replace(h,"").trim();i.updateItemContent(n,p).then(g=>{r.updateItem(e,g)}).catch(g=>{i.setError(g),console.error(g)})})})),c.showAtPosition(s)}},[t,n,e,r,i])}var yg=v.memo(function({isEditing:n,setIsEditing:e,showMenu:r}){let i=v.useMemo(()=>n?{"data-ignore-drag":!0}:{},[n]);return v.createElement("div",{...i,className:$("item-postfix-button-wrapper")},n?v.createElement("button",{"data-ignore-drag":!0,onPointerDown:a=>{a.preventDefault()},onClick:()=>{e(!1)},className:`${$("item-postfix-button")} is-enabled`,"aria-label":F("Cancel")},v.createElement(Qt,{name:"cross"})):v.createElement("button",{"data-ignore-drag":!0,onPointerDown:a=>a.preventDefault(),onClick:r,className:$("item-postfix-button"),"aria-label":F("More options")},v.createElement(Qt,{name:"vertical-three-dots"})))});function bg({item:t,isSettingsVisible:n,searchQuery:e}){return n||!t.data.metadata.fileMetadata?null:v.createElement("div",{className:$("item-metadata-wrapper")},v.createElement(lk,{metadata:t.data.metadata.fileMetadata,order:t.data.metadata.fileMetadataOrder,searchQuery:e}))}function wg(t){return`${t.embed?"!":""}[[${t.path}${t.display?`|${t.display}`:""}]]`}function sk({data:t,searchQuery:n}){if(Array.isArray(t.value))return v.createElement("span",{className:$("meta-value")},t.value.map((a,o,s)=>{let u=`${a}`,l=typeof a=="object"&&wg(a),c=u.toLocaleLowerCase().contains(n);return v.createElement(v.Fragment,null,l||t.containsMarkdown?v.createElement(wa,{className:"inline",markdownString:l||u,searchQuery:n}):c?v.createElement("span",{className:"is-search-match"},u):u,o{let a=n[i];return v.createElement("tr",{key:i,className:$("meta-row")},!a.shouldHideLabel&&v.createElement("td",{className:`${$("meta-key")} ${(a.label||i).toLocaleLowerCase().contains(r)?"is-search-match":""}`,"data-key":i},v.createElement("span",null,a.label||i)),v.createElement("td",{colSpan:a.shouldHideLabel?2:1,className:$("meta-value-wrapper"),"data-value":Array.isArray(a.value)?a.value.join(", "):`${a.value}`},i==="tags"?a.value.map((o,s)=>v.createElement("a",{href:o,key:s,className:`tag ${$("item-tag")} ${o.toLocaleLowerCase().contains(r)?"is-search-match":""}`},v.createElement("span",null,o[0]),o.slice(1))):v.createElement(sk,{data:a,searchQuery:r})))})))});var Eg=v.memo(function({item:n,shouldMarkItemsComplete:e,isMatch:r,searchQuery:i}){let{stateManager:a,boardModifiers:o}=v.useContext(qe),[s,u]=v.useState(!1),l=v.useContext(wt);v.useEffect(()=>{let g=()=>{s&&u(!1)};return l.dragManager.emitter.on("dragStart",g),()=>{l.dragManager.emitter.off("dragStart",g)}},[l,s]),v.useEffect(()=>{n.data.forceEditMode&&u(!0)},[n.data.forceEditMode]);let c=qn(),d=vg({boardModifiers:o,item:n,setIsEditing:u,stateManager:a,path:c}),f=v.useCallback(g=>{if(g.target instanceof HTMLTextAreaElement)return;g.preventDefault(),g.stopPropagation();let w=g.target instanceof HTMLAnchorElement&&g.target.hasClass("internal-link")?g.target.dataset.href:void 0;d(g.nativeEvent,w)},[d]),h=v.useCallback(()=>{u(!0)},[u]),p=v.useMemo(()=>s?{"data-ignore-drag":!0}:{},[s]);return v.createElement("div",{onContextMenu:f,onDoubleClick:h,className:$("item-content-wrapper"),...p},v.createElement("div",{className:$("item-title-wrapper"),...p},v.createElement(xp,{boardModifiers:o,item:n,path:c,shouldMarkItemsComplete:e,stateManager:a}),v.createElement(gg,{isEditing:s,item:n,searchQuery:r?i:void 0,setIsEditing:u}),v.createElement(yg,{isEditing:s,setIsEditing:u,showMenu:d})),v.createElement(bg,{searchQuery:r?i:void 0,isSettingsVisible:s,item:n}))}),zc=v.memo(function(n){let e=v.useRef(null),r=v.useRef(null),i=v.useContext(Ya),{itemIndex:a,...o}=n;bi(r,r);let s=i?o.item.data.titleSearch.contains(i):!1,u=vp(o.item);return i&&(s?u.push("is-search-hit"):u.push("is-search-miss")),v.createElement("div",{ref:r,className:$("item-wrapper")},v.createElement("div",{ref:e,className:bt([$("item"),...u])},n.isStatic?v.createElement(Eg,{...o,isMatch:s,searchQuery:i}):v.createElement(cr,{elementRef:e,measureRef:r,id:n.item.id,index:a,data:n.item},v.createElement(Eg,{...o,isMatch:s,searchQuery:i}))))}),Sg=v.memo(function({isStatic:n,items:e,shouldMarkItemsComplete:r}){return v.createElement(v.Fragment,null,e.map((i,a)=>v.createElement(zc,{key:i.id,item:i,itemIndex:a,shouldMarkItemsComplete:r,isStatic:n})))});var Vg=ge(Vc());var qg=ge(Ot());var mk="scroll-container",ms=8,gs=["top","right","bottom","left"],qc=class{constructor(n,e,r,i,a){this.scrollFrame=0;this.onScroll=()=>{this.activeScroll.size===0&&(this.scrollState=Ml(this.scrollEl),this.handleEntityRegistration())};this.onDragEnd=()=>{this.activeScroll.clear()};this.handleBeginDragScroll=({scrollEntitySide:n,scrollStrength:e})=>{this.isDoneScrolling(n)||(this.activeScroll.set(n,e),this.handleDragScroll())};this.handleUpdateDragScroll=({scrollEntitySide:n,scrollStrength:e})=>{this.isDoneScrolling(n)||this.activeScroll.set(n,e)};this.handleEndDragScroll=({scrollEntitySide:n})=>{this.activeScroll.delete(n)};this.dndManager=n,this.instanceId=We(),this.scopeId=e,this.triggerTypes=r,this.scrollState=tn,this.parent=i,this.activeScroll=new Map,this.pollForNodes(a)}pollForNodes(n){n()?this.initNodes(n()):requestAnimationFrame(()=>this.pollForNodes(n))}initNodes(n){this.scrollEl=n,this.scrollEl.dataset.hitboxid=this.instanceId,this.scrollEl.dataset.scrollid=this.instanceId,this.top=this.createScrollEntity("top"),this.right=this.createScrollEntity("right"),this.bottom=this.createScrollEntity("bottom"),this.left=this.createScrollEntity("left"),this.bindScrollHandlers(),this.observerHandlers=new Map,this.observer=new IntersectionObserver(e=>{e.forEach(r=>{if(r.target instanceof HTMLElement){let i=r.target.dataset.hitboxid;if(i&&this.observerHandlers.has(i)){let a=this.observerHandlers.get(i);a&&a(r)}}})},{root:n,threshold:.1}),this.scrollEl.addEventListener("scroll",this.onScroll,{passive:!0,capture:!1}),this.dndManager.emitter.on("scrollResize",this.onScroll),setTimeout(()=>{this.onScroll()}),this.dndManager.observeResize(this.scrollEl),this.parent?this.parent.registerObserverHandler(this.instanceId,this.scrollEl,e=>{e.isIntersecting?this.handleEntityRegistration():this.handleEntityUnregistration()}):this.handleEntityRegistration()}destroy(){var n;this.handleEntityUnregistration(),this.observer.disconnect(),this.unbindScrollHandlers(),this.scrollEl.removeEventListener("scroll",this.onScroll),this.dndManager.emitter.off("scrollResize",this.onScroll),(n=this.parent)==null||n.unregisterObserverHandler(this.instanceId,this.scrollEl),this.dndManager.unobserveResize(this.scrollEl)}handleEntityRegistration(){gs.forEach(n=>{let e=this.getId(n),r=this.dndManager.scrollEntities.has(e),i=this.isDoneScrolling(n);!i&&!r?this.dndManager.registerScrollEntity(e,this[n]):i&&r&&this.dndManager.unregisterScrollEntity(e)})}handleEntityUnregistration(){gs.forEach(n=>{let e=this.getId(n);this.dndManager.unregisterScrollEntity(e)})}registerObserverHandler(n,e,r){this.observerHandlers.set(n,r),this.observer.observe(e)}unregisterObserverHandler(n,e){this.observerHandlers.delete(n),this.observer.unobserve(e)}bindScrollHandlers(){gs.forEach(n=>{let e=this.getId(n);this.dndManager.dragManager.emitter.on("beginDragScroll",this.handleBeginDragScroll,e),this.dndManager.dragManager.emitter.on("updateDragScroll",this.handleUpdateDragScroll,e),this.dndManager.dragManager.emitter.on("endDragScroll",this.handleEndDragScroll,e),this.dndManager.dragManager.emitter.on("dragEnd",this.onDragEnd)})}unbindScrollHandlers(){gs.forEach(n=>{let e=this.getId(n);this.dndManager.dragManager.emitter.off("beginDragScroll",this.handleBeginDragScroll,e),this.dndManager.dragManager.emitter.off("updateDragScroll",this.handleUpdateDragScroll,e),this.dndManager.dragManager.emitter.off("endDragScroll",this.handleEndDragScroll,e),this.dndManager.dragManager.emitter.off("dragEnd",this.onDragEnd)})}isDoneScrolling(n){switch(n){case"top":return this.scrollState.y===0;case"right":return this.scrollState.x===this.scrollState.maxX;case"bottom":return this.scrollState.y===this.scrollState.maxY;case"left":return this.scrollState.x===0}}handleDragScroll(){this.activeScroll.size!==0&&requestAnimationFrame(()=>{let n={left:0,top:0};this.activeScroll.forEach((e,r)=>{if(this.isDoneScrolling(r))return this.activeScroll.delete(r);let i=["left","right"].includes(r)?"left":"top",a=["right","bottom"].includes(r);n[i]=a?Math.max(ms-ms*e/35,0):Math.min(-ms+ms*e/35,0)}),this.scrollEl.scrollBy(n),this.scrollState=Ml(this.scrollEl),this.handleEntityRegistration(),this.handleDragScroll()})}getId(n){return`${this.instanceId}-${n}`}getPath(n){var e,r,i,a;switch(n){case"right":return[...((e=this.parent)==null?void 0:e.getPath())||[],1];case"bottom":return[...((r=this.parent)==null?void 0:r.getPath())||[],2];case"left":return[...((i=this.parent)==null?void 0:i.getPath())||[],3]}return[...((a=this.parent)==null?void 0:a.getPath())||[],0]}getScrollShift(){var e,r,i;let n=(e=this.parent)==null?void 0:e.getScrollShift();return{x:Xe((r=this.parent)==null?void 0:r.scrollState.x)+Xe(n==null?void 0:n.x),y:Xe((i=this.parent)==null?void 0:i.scrollState.y)+Xe(n==null?void 0:n.y)}}createScrollEntity(n){var r,i;let e=this;return{scopeId:this.scopeId,entityId:e.getId(n),initial:_l(this.scrollEl.getBoundingClientRect(),((r=this.parent)==null?void 0:r.scrollState)||tn,((i=this.parent)==null?void 0:i.getScrollShift())||Nn,n),getParentScrollState(){var a;return((a=e.parent)==null?void 0:a.scrollState)||tn},getParentScrollShift(){var a;return((a=e.parent)==null?void 0:a.getScrollShift())||Nn},recalcInitial(){var a,o;this.initial=_l(e.scrollEl.getBoundingClientRect(),((a=e.parent)==null?void 0:a.scrollState)||tn,((o=e.parent)==null?void 0:o.getScrollShift())||Nn,n)},getHitbox(){return eo(this.initial[0],this.initial[1],this.initial[2],this.initial[3],this.getParentScrollState(),this.getParentScrollShift())},getPath(){return e.getPath(n)},getData(){return{id:e.getId(n),type:mk,side:n,accepts:e.triggerTypes||[],scrollContainer:e.scrollEl}}}}};function kg({scrollRef:t,triggerTypes:n,children:e}){let r=v.useContext(wt),i=v.useContext(lr),a=v.useContext(Wi),o=v.useRef(),s=v.useMemo(()=>{if(r){o.current&&o.current.destroy();let u=new qc(r,i,n||[],a,()=>t.current);return o.current=u,u}return null},[r,i,t,n,a]);return v.useEffect(()=>()=>{var u;return(u=o.current)==null?void 0:u.destroy()},[]),s?v.createElement(Wi.Provider,{value:s},e):null}function _g({children:t}){let n=v.useMemo(()=>new qi,[]);return v.createElement(Yi.Provider,{value:n},t)}function Tg(t,n){let e=v.useContext(lr),r=v.useRef(null),i=v.useContext(Yi),a=o=>{r.current=o,r.current&&requestAnimationFrame(()=>{let s=i.getScrollState(t);s&&(s.x!==0||s.y!==0)&&(r.current.scrollLeft=s.x,r.current.scrollTop=s.y)})};return v.useEffect(()=>{let o=r.current;if(!o)return;let s=So(u=>{let l=u.target;i.setScrollState(e,t,{x:l.scrollLeft,y:l.scrollTop})});return o.addEventListener("scroll",s),()=>{o.removeEventListener("scroll",s)}},[i,t,n]),{setRef:a,scrollRef:r}}function vs({className:t,children:n,triggerTypes:e,isStatic:r,id:i,index:a}){let{setRef:o,scrollRef:s}=Tg(i,a);return v.createElement("div",{ref:o,className:bt([t,$("scroll-container")])},r?n:v.createElement(kg,{scrollRef:s,triggerTypes:e},n))}var Mg={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"};var xi={outOfTheWay:200,minDropTime:330,maxDropTime:550},yr=`${xi.outOfTheWay}ms ${Mg.outOfTheWay}`;var sn={none:"none",fluid:`opacity ${yr}`,snap:`transform ${yr}, opacity ${yr}`,drop:t=>{let n=`${t}ms ${Mg.drop}`;return`transform ${n}, opacity ${n}`},outOfTheWay:`transform ${yr}`,placeholder:`height ${yr}, width ${yr}, margin ${yr}, border-color ${yr}`},gk=(t,n)=>t.x===n.x&&t.y===n.y,vk={x:0,y:0},Dg=t=>gk(t,vk)?void 0:`translate(${t.x}px, ${t.y}px)`,Cg={moveTo:Dg,drop:t=>Dg(t)},yk=xi.maxDropTime-xi.minDropTime,Ag=1500,bk=.6;function ki({position:t,destination:n,isCancel:e}){let r=ni(t,n);if(r<=0)return xi.minDropTime;if(r>=Ag)return xi.maxDropTime;let i=r/Ag,a=xi.minDropTime+yk*i,o=e?a*bk:a;return Math.round(o)}function _n(t,n,e){t.style.getPropertyValue(n)!==e&&t.style.setProperty(n,e)}function ys(t,n){t.style.getPropertyValue(n)&&t.style.removeProperty(n)}var Wc={width:0,height:0},wk=100,Yc=class{constructor(n,e,r){this.hitboxDimensions=Wc;this.handleDragStart=({dragEntity:n,dragEntityMargin:e,dragOriginHitbox:r})=>{let i=n==null?void 0:n.entityId,a=i?this.sortables.has(i):null;!n||!a||!r||(this.setSortState(!0),this.hitboxDimensions=Dl(r,e),this.activatePlaceholder(this.hitboxDimensions,sn.none),this.sortables.forEach(([o,s,u])=>{let l=ji(n.getPath(),o.getPath()),c=o.entityId;if(l===en.Self)return this.hidden.add(c),this.hideDraggingEntity(u);l===en.After&&(this.shifted.has(c)||this.shifted.add(c),this.shiftEl(s,sn.none,this.hitboxDimensions))}))};this.dragEndTimeout=0;this.handleDragEnd=({primaryIntersection:n,dragPosition:e,dragOriginHitbox:r,dragEntity:i})=>{if(!this.isSorting||!e||!r||!i){if(!n&&i&&this.sortables.has(i.entityId))return this.resetSelf({maintainHidden:!1});if(n&&i){let s=(n==null?void 0:n.getHitbox())||r,u=ki({position:e,destination:{x:s[0],y:s[1]}});return window.setTimeout(()=>{this.resetSelf({maintainHidden:!1})},u)}return this.resetSelf({maintainHidden:!0})}clearTimeout(this.dragEnterTimeout),clearTimeout(this.dragLeaveTimeout),clearTimeout(this.dragEndTimeout);let a=(n==null?void 0:n.getHitbox())||r,o=i.scopeId==="htmldnd"?0:ki({position:e,destination:{x:a[0],y:a[1]}});this.dragEndTimeout=window.setTimeout(()=>{let s=i.entityId.split(":::").pop(),u=n==null?void 0:n.entityId.split(":::").pop();n&&this.sortables.has(n.entityId)&&u!==s&&this.dndManager.onDrop(i,n),this.resetSelf({maintainHidden:!1,shiftTransition:sn.none,placeholderTransition:sn.none})},o),this.hitboxDimensions=Wc};this.dragEnterTimeout=0;this.handleDragEnter=({dragEntity:n,dragEntityMargin:e,dragOriginHitbox:r,primaryIntersection:i})=>{let a=i==null?void 0:i.entityId,o=a?this.sortables.has(a):null;if(!n||!i||!o||!r){!o&&this.isSorting&&this.resetSelf({maintainHidden:!0,maintainPlaceholder:!0});return}n.entityId!==i.entityId&&(clearTimeout(this.dragLeaveTimeout),clearTimeout(this.dragEnterTimeout),this.dragEnterTimeout=window.setTimeout(()=>{this.setSortState(!0),this.hitboxDimensions=Dl(r,e),this.activatePlaceholder(this.hitboxDimensions,sn.placeholder),this.sortables.forEach(([s,u])=>{let l=ji(i.getPath(),s.getPath()),c=s.entityId;!this.hidden.has(c)&&(l===en.Self||l===en.After)?this.shifted.has(c)||(this.shifted.add(c),this.shiftEl(u,sn.outOfTheWay,this.hitboxDimensions)):this.shifted.has(c)&&(this.shifted.delete(c),this.resetEl(u))})},10))};this.dragLeaveTimeout=0;this.handleDragLeave=()=>{!this.isSorting||(clearTimeout(this.dragLeaveTimeout),clearTimeout(this.dragEnterTimeout),this.dragLeaveTimeout=window.setTimeout(()=>{this.resetSelf({maintainHidden:!0,maintainPlaceholder:!0})},wk),this.hitboxDimensions=Wc)};this.instanceId=We(),this.dndManager=n,this.sortables=new Map,this.shifted=new Set,this.hidden=new Set,this.isSorting=!1,this.axis=e,this.placeholder=null,this.sortListeners=r?[r]:[],n.dragManager.emitter.on("dragStart",this.handleDragStart),n.dragManager.emitter.on("dragEnd",this.handleDragEnd),n.dragManager.emitter.on("dragEnter",this.handleDragEnter),n.dragManager.emitter.on("dragLeave",this.handleDragLeave)}destroy(){clearTimeout(this.dragLeaveTimeout),clearTimeout(this.dragEndTimeout),this.dndManager.dragManager.emitter.off("dragStart",this.handleDragStart),this.dndManager.dragManager.emitter.off("dragEnd",this.handleDragEnd),this.dndManager.dragManager.emitter.off("dragEnter",this.handleDragEnter),this.dndManager.dragManager.emitter.off("dragLeave",this.handleDragLeave)}registerSortable(n,e,r,i){let a=e.getData().type==="placeholder";this.sortables.set(n,[e,r,i]),a?(this.placeholder=[e,r,i],i.dataset.axis=this.axis,_n(i,"transition",sn.none)):_n(r,"transition",sn.none)}unregisterSortable(n){this.sortables.delete(n)}resetSelf({maintainHidden:n,maintainPlaceholder:e,shiftTransition:r,placeholderTransition:i}){this.isSorting&&this.setSortState(!1),this.isPlaceholderActive&&!e&&this.deactivatePlaceholder(i),this.shifted.size>0&&(this.shifted.forEach(a=>{if(this.sortables.has(a)){let[,o]=this.sortables.get(a);this.resetEl(o,r)}}),this.shifted.clear()),!n&&this.hidden.size>0&&(this.hidden.forEach(a=>{if(this.sortables.has(a)){let[,,o]=this.sortables.get(a);this.resetEl(o,r)}}),this.hidden.clear())}activatePlaceholder(n,e){if(this.placeholder){let r=this.axis==="horizontal",[,,i]=this.placeholder;_n(i,"transition",e),_n(i,r?"width":"height",`${r?n.width:n.height}px`),this.isPlaceholderActive=!0}}deactivatePlaceholder(n=sn.placeholder){if(this.placeholder){let[,,e]=this.placeholder;_n(e,"transition",n),ys(e,"width"),ys(e,"height"),this.isPlaceholderActive=!1}}hideDraggingEntity(n){_n(n,"display","none")}shiftEl(n,e,r){let i=this.axis==="horizontal"?`translate3d(${r.width}px, 0, 0)`:`translate3d(0, ${r.height}px, 0)`;_n(n,"transition",e),_n(n,"transform",i)}resetEl(n,e=sn.outOfTheWay){_n(n,"transition",e),_n(n,"transform","translate3d(0, 0, 0)"),ys(n,"display")}addSortNotifier(n){this.sortListeners.push(n)}removeSortNotifier(n){this.sortListeners=this.sortListeners.filter(e=>e!==n)}setSortState(n){this.isSorting!==n&&(this.isSorting=n,this.sortListeners.forEach(e=>e(n)))}};function _i({axis:t,children:n,onSortChange:e}){let r=v.useContext(wt),i=v.useRef(),a=v.useMemo(()=>{if(r){i.current&&i.current.destroy();let o=new Yc(r,t,e);return i.current=o,o}return null},[r,t,e]);return v.useEffect(()=>()=>{var o;return(o=i.current)==null?void 0:o.destroy()},[]),a?v.createElement(Qa.Provider,{value:a},n):null}function Ti({index:t,accepts:n,className:e,isStatic:r}){let i=v.useRef(null),a=v.useRef(null),o=v.useMemo(()=>({id:We(),type:"placeholder",accepts:n}),n);return v.createElement("div",{ref:a,className:bt([e,$("placeholder")])},v.createElement("div",{ref:i},!r&&v.createElement(cr,{elementRef:i,measureRef:a,id:o.id,index:t,data:o})))}var Ek=function(){if(typeof window=="undefined"||typeof window.addEventListener!="function")return!1;var t=!1,n=Object.defineProperty({},"passive",{get:function(){t=!0}}),e=function(){return null};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t},Sk="ignore-onclickoutside",Ig=function(n,e){var r;return(r=n.classList)==null?void 0:r.contains(e)},Lg=function(n,e){for(var r=n.target||n;r;){if(Array.isArray(e)){if(e.some(function(i){return Ig(r,i)}))return!0}else if(Ig(r,e))return!0;r=r.parentElement}return!1},xk=function(n){return document.documentElement.clientWidth<=n.clientX||document.documentElement.clientHeight<=n.clientY},Pg=function(n){return n.includes("touch")&&Ek()?{passive:!0}:!1},kk=function(n,e){var r=e===void 0?{}:e,i=r.refs,a=r.disabled,o=r.eventTypes,s=o===void 0?["mousedown","touchstart"]:o,u=r.excludeScrollbar,l=r.ignoreClass,c=l===void 0?Sk:l,d=r.detectIFrame,f=d===void 0?!0:d,h=Ka([]),p=h[0],g=h[1],w=Ua(n);w.current=n;var S=za(function(_){return g(function(k){return[].concat(k,[{current:_}])})},[]);return $a(function(){if(!(!(i!=null&&i.length)&&!p.length)){var _=function(){var N=[];return(i||p).forEach(function(K){var j=K.current;return j&&N.push(j)}),N},k=function(N){!Lg(N,c)&&!(u&&xk(N))&&_().every(function(K){return!K.contains(N.target)})&&w.current(N)},P=function(N){return setTimeout(function(){var K=document,j=K.activeElement;(j==null?void 0:j.tagName)==="IFRAME"&&!Lg(j,c)&&!_().includes(j)&&w.current(N)},0)},A=function(){s.forEach(function(N){return document.removeEventListener(N,k,Pg(N))}),f&&window.removeEventListener("blur",P)};if(a){A();return}return s.forEach(function(D){return document.addEventListener(D,k,Pg(D))}),f&&window.addEventListener("blur",P),function(){return A()}}},[p,c,u,a,f,JSON.stringify(s)]),S},bs=kk;function Jc({addItems:t,isInputVisible:n,setIsInputVisible:e,hideButton:r}){let[i,a]=v.useState(""),{stateManager:o}=v.useContext(qe),s=v.useRef(),u=bs(()=>{e(!1)},{ignoreClass:$("ignore-click-outside")}),l=v.useCallback(()=>{a(""),e(!1)},[]),c=async f=>{try{t(await Promise.all(f.map(h=>o.getNewItem(h))))}catch(h){o.setError(h)}},d=f=>{if(!tr(f,o)){f.preventDefault();let h=i.trim();h&&(c([h]),a(""))}};return n?v.createElement("div",{className:$("item-form"),ref:u},v.createElement("div",{className:$("item-input-wrapper")},v.createElement(gr,{ref:s,className:$("item-input"),placeholder:F("Card title..."),onEnter:d,onEscape:l,value:i,onChange:f=>{a(f.target.value)},onPaste:f=>{qo(f,o)}}))):r?null:v.createElement("div",{className:$("item-button-wrapper")},v.createElement("button",{className:$("new-item-button"),onClick:()=>e(!0),onDragOver:f=>{Vo(o,f.dataTransfer)&&e(!0)}},v.createElement("span",{className:$("item-button-plus")},"+")," ",F("Add a card")))}var jg=ge(Ot());function Og(t){return v.createElement("svg",{...t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v.createElement("path",{fill:"currentColor",d:"M5 3h2v2H5zm0 4h2v2H5zm0 4h2v2H5zm4-8h2v2H9zm0 4h2v2H9zm0 4h2v2H9z"}))}var Ng=ge(require("obsidian"));var Fg={delete:{description:F("Are you sure you want to delete this list and all its cards?"),confirm:F("Yes, delete list")},archive:{description:F("Are you sure you want to archive this list and all its cards?"),confirm:F("Yes, archive list")},"archive-items":{description:F("Are you sure you want to archive all cards in this list?"),confirm:F("Yes, archive cards")}};function Rg({action:t,cancel:n,onAction:e,lane:r}){return v.useEffect(()=>{t&&r.children.length===0&&e()},[t,r.children.length]),!t||t&&r.children.length===0?null:v.createElement("div",{className:$("action-confirm-wrapper")},v.createElement("div",{className:$("action-confirm-text")},Fg[t].description),v.createElement("div",null,v.createElement("button",{onClick:e,className:$("confirm-action-button")},Fg[t].confirm),v.createElement("button",{onClick:n,className:$("cancel-action-button")},"Cancel")))}function Hg({setIsEditing:t,path:n}){let{stateManager:e,boardModifiers:r}=v.useContext(qe),[i,a]=v.useState(null);return{settingsMenu:v.useMemo(()=>new Ng.Menu(e.app).addItem(s=>{s.setIcon("pencil").setTitle(F("Edit list")).onClick(()=>t(!0))}).addItem(s=>{s.setIcon("documents").setTitle(F("Archive cards")).onClick(()=>a("archive-items"))}).addSeparator().addItem(s=>{s.setIcon("plus-with-circle").setTitle(F("Insert list before")).onClick(()=>r.insertLane(n,{...pr,id:We(),children:[],data:{title:"",shouldMarkItemsComplete:!1,forceEditMode:!0}}))}).addItem(s=>{s.setIcon("plus-with-circle").setTitle(F("Insert list after")).onClick(()=>{let u=[...n];u[u.length-1]=u[u.length-1]+1,r.insertLane(u,{...pr,id:We(),children:[],data:{title:"",shouldMarkItemsComplete:!1,forceEditMode:!0}})})}).addSeparator().addItem(s=>{s.setIcon("sheets-in-box").setTitle(F("Archive list")).onClick(()=>a("archive"))}).addItem(s=>{s.setIcon("trash").setTitle(F("Delete list")).onClick(()=>a("delete"))}),[e,a,n]),confirmAction:i,setConfirmAction:a}}var Bg=ge(Ot());function Kg({lane:t,lanePath:n}){let{boardModifiers:e}=v.useContext(qe);return v.createElement("div",{className:$("lane-setting-wrapper")},v.createElement("div",{className:$("checkbox-wrapper")},v.createElement("div",{className:$("checkbox-label")},F("Mark cards in this list as complete")),v.createElement("div",{onClick:()=>e.updateLane(n,(0,Bg.default)(t,{data:{$toggle:["shouldMarkItemsComplete"]}})),className:`checkbox-container ${t.data.shouldMarkItemsComplete?"is-enabled":""}`})))}var $g=ge(require("obsidian"));function Ug({itemCount:t,isEditing:n,setIsEditing:e,title:r,onChange:i}){let{stateManager:a}=v.useContext(qe),o=v.useRef(),s=l=>{tr(l,a)||(l.preventDefault(),n&&e(!1))},u=()=>{n&&e(!1)};return v.useEffect(()=>{if(n&&o.current){let l=o.current;o.current.focus(),l.selectionStart=l.selectionEnd=l.value.length}},[n]),v.createElement("div",{className:$("lane-title")},n?v.createElement(gr,{ref:o,className:$("lane-input"),onChange:i,onEnter:s,onEscape:u,value:r}):v.createElement(v.Fragment,null,v.createElement("div",{className:$("lane-title-text"),onContextMenu:l=>{l.preventDefault(),l.stopPropagation();let c=l.target instanceof HTMLAnchorElement&&l.target.hasClass("internal-link")?l.target.dataset.href:void 0;c&&a.app.workspace.onLinkContextMenu(l,(0,$g.getLinkpath)(c),a.file.path)}},v.createElement(wa,{markdownString:r})),v.createElement("div",{className:$("lane-title-count")},t)))}var zg=v.memo(function({lane:n,laneIndex:e,dragHandleRef:r,setIsItemInputVisible:i}){let{boardModifiers:a,stateManager:o}=v.useContext(qe),[s,u]=v.useState(!1),l=qn(e),{settingsMenu:c,confirmAction:d,setConfirmAction:f}=Hg({setIsEditing:u,path:l});return v.useEffect(()=>{n.data.forceEditMode&&u(!0)},[n.data.forceEditMode]),v.createElement(v.Fragment,null,v.createElement("div",{onDoubleClick:()=>u(!0),className:$("lane-header-wrapper")},v.createElement("div",{className:$("lane-grip"),ref:r},v.createElement(Og,null)),v.createElement(Ug,{isEditing:s,setIsEditing:u,itemCount:n.children.length,title:n.data.title,onChange:h=>{a.updateLane(l,(0,jg.default)(n,{data:{title:{$set:h.target.value}}}))}}),v.createElement("div",{className:$("lane-settings-button-wrapper")},s?v.createElement("button",{onClick:()=>{u(!1)},"aria-label":"Close",className:`${$("lane-settings-button")} is-enabled`},v.createElement(Qt,{name:"cross"})):v.createElement(v.Fragment,null,i&&v.createElement("button",{"aria-label":F("Add a card"),className:$("lane-settings-button"),onClick:()=>{i(!0)},onDragOver:h=>{Vo(o,h.dataTransfer)&&i(!0)}},v.createElement(Qt,{name:"plus-with-circle"})),v.createElement("button",{"aria-label":F("More options"),className:$("lane-settings-button"),onClick:h=>{c.showAtPosition({x:h.clientX,y:h.clientY})}},v.createElement(Qt,{name:"vertical-three-dots"}))))),s&&v.createElement(Kg,{lane:n,lanePath:l}),d&&v.createElement(Rg,{lane:n,action:d,onAction:()=>{switch(d){case"archive":a.archiveLane(l);break;case"archive-items":a.archiveLaneItems(l);break;case"delete":a.deleteEntity(l);break}f(null)},cancel:()=>f(null)}))});var Wg=[Ze.Item],Gc=v.memo(function({isStatic:n,lane:e,laneIndex:r}){let{stateManager:i,boardModifiers:a}=v.useContext(qe),[o,s]=v.useState(!1),u=qn(r),l=i.useSetting("lane-width"),c=i.useSetting("new-card-insertion-method"),d=!!e.data.shouldMarkItemsComplete,f=l?{width:`${l}px`}:void 0,h=v.useRef(null),p=v.useRef(null),g=v.useRef(null),[w,S]=v.useState(!1),_=c==="prepend-compact",k=_||c==="prepend";bi(p,g);let P=N=>{a[k?"prependItems":"appendItems"]([...u,e.children.length-1],N.map(K=>(0,qg.default)(K,{data:{isComplete:{$set:d}}}))),setTimeout(()=>{var j;let K=(j=h.current)==null?void 0:j.getElementsByClassName($("lane-items"));K.length&&(0,Vg.default)([0,k?0:K[0].scrollHeight],{elementToScroll:K[0],speed:200,minDuration:150,easing:X=>X===1?1:1-Math.pow(2,-10*X)})})},A=v.createElement(v.Fragment,null,v.createElement(Sg,{items:e.children,isStatic:n,shouldMarkItemsComplete:d}),v.createElement(Ti,{accepts:Wg,index:e.children.length,isStatic:n})),D=v.createElement(vs,{id:e.id,index:r,className:bt([$("lane-items"),$("vertical")]),triggerTypes:Wg,isStatic:n},n?A:v.createElement(_i,{onSortChange:S,axis:"vertical"},A));return v.createElement("div",{ref:p,className:bt([$("lane-wrapper"),{"is-sorting":w}]),style:f},v.createElement("div",{"data-count":e.children.length,ref:h,className:bt([$("lane"),{"will-prepend":k}])},v.createElement(zg,{dragHandleRef:g,laneIndex:r,lane:e,setIsItemInputVisible:_?s:void 0}),k&&v.createElement(Jc,{addItems:P,hideButton:_,isInputVisible:o,setIsInputVisible:s}),n?D:v.createElement(cr,{elementRef:h,measureRef:p,id:e.id,index:r,data:e},D),!k&&v.createElement(Jc,{addItems:P,isInputVisible:o,setIsInputVisible:s})))}),Yg=v.memo(function({lanes:n}){return v.createElement(v.Fragment,null,n.map((e,r)=>v.createElement(Gc,{lane:e,laneIndex:r,key:e.id})))});var Jg=ge(require("obsidian"));function ws(){return{events:{},emit(t,n,e){let r=`${t}${e||""}`,i=this.events[t],a=this.events[r];if(!i&&!a){console.warn("Event emitted with no handler",t,e);return}e&&a&&a.forEach(o=>o(n)),i&&i.forEach(o=>o(n))},on(t,n,e){let r=`${t}${e||""}`,i=this.events[r];return i||(this.events[r]=i=[]),i.push(n),()=>this.off(t,n,e)},off(t,n,e){let r=`${t}${e||""}`,i=this.events[r];i&&(i.splice(i.indexOf(n)>>>0,1),i.length===0&&delete this.events[r])}}}var Qc=class{constructor(n){this.scrollResizeDebounce=0;this.handleResize=n=>{n.forEach(e=>{e.target.dataset.scrollid&&(clearTimeout(this.scrollResizeDebounce),this.scrollResizeDebounce=window.setTimeout(()=>{this.emitter.emit("scrollResize",null)},50))}),this.hitboxEntities.forEach(e=>{e.recalcInitial()}),this.scrollEntities.forEach(e=>{e.recalcInitial()})};this.emitter=ws(),this.hitboxEntities=new Map,this.scrollEntities=new Map,this.onDrop=n,this.resizeObserver=new ResizeObserver((0,Jg.debounce)(this.handleResize,100,!0)),this.dragManager=new lc(this.emitter,this.hitboxEntities,this.scrollEntities)}destroy(){this.resizeObserver.disconnect()}observeResize(n){n instanceof Element&&this.resizeObserver.observe(n,{box:"border-box"})}unobserveResize(n){n instanceof Element&&this.resizeObserver.unobserve(n)}registerHitboxEntity(n,e){this.hitboxEntities.set(n,e)}registerScrollEntity(n,e){this.scrollEntities.set(n,e)}unregisterHitboxEntity(n){this.hitboxEntities.delete(n)}unregisterScrollEntity(n){this.scrollEntities.delete(n)}};function Es({children:t,onDrop:n}){let e=v.useRef(n);e.current=n;let r=v.useMemo(()=>new Qc((i,a)=>e.current(i,a)),[]);return v.useEffect(()=>()=>{r.destroy()},[r]),v.createElement(wt.Provider,{value:r},v.createElement(_g,null,t))}function Xc(t,n,e,r,i,a){let o=[e[0]-r[0],e[1]-r[1],e[2]+r[2],e[3]+r[3]];return{transform:a||`translate3d(${t.x-n.x+o[0]}px, ${t.y-n.y+o[1]}px, 0px)`,width:`${o[2]-o[0]}px`,height:`${o[3]-o[1]}px`,transition:i}}function Ss({children:t}){let n=v.useContext(wt),[e,r]=v.useState(),[i,a]=v.useState();return v.useEffect(()=>{if(!n)return;let o=Zd,s=({dragEntity:c,dragOrigin:d,dragPosition:f,dragEntityMargin:h})=>{!c||!f||!d||(o=c.getHitbox(),r(c),a(Xc(f,d,o,h)))},u=({dragOrigin:c,dragPosition:d,dragEntityMargin:f})=>{!d||!c||a(Xc(d,c,o,f))},l=({dragOrigin:c,primaryIntersection:d,dragPosition:f,dragEntityMargin:h})=>{if(d&&f&&c){let p=d.getHitbox(),g={x:p[0],y:p[1]},w=ki({position:f,destination:g}),S=sn.drop(w),_=Cg.drop(g);a(Xc(f,c,o,h,S,_)),setTimeout(()=>{r(void 0),a(void 0)},w)}else r(void 0),a(void 0)};return n.dragManager.emitter.on("dragStart",s),n.dragManager.emitter.on("dragMove",u),n.dragManager.emitter.on("dragEnd",l),()=>{n.dragManager.emitter.off("dragStart",s),n.dragManager.emitter.off("dragMove",u),n.dragManager.emitter.off("dragEnd",l)}},[n]),!e||!i?null:t(e,i)}function Gg(){let t=v.useContext(wt),[n,e]=v.useState(!1);return v.useEffect(()=>{let r=()=>{e(!0)},i=({primaryIntersection:a,dragPosition:o})=>{let s=(a==null?void 0:a.getHitbox())||[0,0],u={x:s[0],y:s[1]},l=ki({position:o||u,destination:u});setTimeout(()=>{e(!1)},l)};return t.dragManager.emitter.on("dragStart",r),t.dragManager.emitter.on("dragEnd",i),()=>{t.dragManager.emitter.off("dragStart",r),t.dragManager.emitter.off("dragEnd",i)}},[t]),n}var Sa=ge(Ot()),Qg=ge(require("obsidian"));function xs(t){let n=e=>{let r=t.getSetting("prepend-archive-format"),i=t.getSetting("prepend-archive-separator"),a=[(0,Qg.moment)().format(r)];i&&a.push(i),a.push(e.data.titleRaw);let o=a.join(" ");return t.updateItemContent(e,o)};return{appendItems:(e,r)=>{r.forEach(i=>t.app.workspace.trigger("kanban:card-added",t.file,i)),t.setState(i=>wl(i,e,r))},prependItems:(e,r)=>{r.forEach(i=>t.app.workspace.trigger("kanban:card-added",t.file,i)),t.setState(i=>Wd(i,e,r))},insertItems:(e,r)=>{r.forEach(i=>t.app.workspace.trigger("kanban:card-added",t.file,i)),t.setState(i=>sr(i,e,r))},splitItem:(e,r)=>{r.forEach(i=>t.app.workspace.trigger("kanban:card-added",t.file,i)),t.setState(i=>sr(kr(i,e),e,r))},addLane:e=>{t.app.workspace.trigger("kanban:lane-added",t.file,e),t.setState(r=>wl(r,[],[e]))},insertLane:(e,r)=>{t.app.workspace.trigger("kanban:lane-added",t.file,r),t.setState(i=>sr(i,e,[r]))},updateLane:(e,r)=>{t.app.workspace.trigger("kanban:lane-updated",t.file,r),t.setState(i=>El(i,e,{children:{[e[e.length-1]]:{$set:r}}}))},archiveLane:e=>{t.setState(async r=>{let i=vt(r,e),a=i.children;t.app.workspace.trigger("kanban:lane-archived",t.file,i);try{return(0,Sa.default)(kr(r,e),{data:{archive:{$unshift:t.getSetting("prepend-archive-date")?await Promise.all(a.map(n)):a}}})}catch(o){return t.setError(o),r}})},archiveLaneItems:e=>{t.setState(async r=>{let a=vt(r,e).children;t.app.workspace.trigger("kanban:lane-cards-archived",t.file,a);try{return(0,Sa.default)(Yd(r,e,{children:{$set:[]}}),{data:{archive:{$unshift:t.getSetting("prepend-archive-date")?await Promise.all(a.map(n)):a}}})}catch(o){return t.setError(o),r}})},deleteEntity:e=>{t.setState(r=>{let i=vt(r,e);return t.app.workspace.trigger(`kanban:${i.type}-deleted`,t.file,i),kr(r,e)})},updateItem:(e,r)=>{t.setState(i=>{let a=vt(i,e);return t.app.workspace.trigger("kanban:card-updated",t.file,a,r),El(i,e,{children:{[e[e.length-1]]:{$set:r}}})})},archiveItem:e=>{t.setState(async r=>{let i=vt(r,e);t.app.workspace.trigger("kanban:card-archived",t.file,e,i);try{return(0,Sa.default)(kr(r,e),{data:{archive:{$push:[t.getSetting("prepend-archive-date")?await n(i):i]}}})}catch(a){return t.setError(a),r}})},duplicateEntity:e=>{t.setState(r=>{let i=vt(r,e);t.app.workspace.trigger(`kanban:${i.type}-duplicated`,t.file,e,i);let a=(0,Sa.default)(i,{id:{$set:We()}});return sr(r,e,[a])})}}}function Zg(t){return v.createElement(Tk,{plugin:t})}var _k=v.memo(function({view:n}){return gl(n.getPortal(),n.contentEl)});function Tk({plugin:t}){let n=t.useViewState(),e=n.map(i=>v.createElement(_k,{key:i.id,view:i})),r=v.useCallback((i,a)=>{if(!i||!a)return;if(i.scopeId==="htmldnd"){let f=i.getData(),h=t.getStateManagerFromViewID(f.viewId),p=a.getPath(),g=vt(h.state,p.slice(0,-1));(S=>Promise.all(S.map(_=>h.getNewItem(_))))(f.content).then(S=>{let _=S.map(k=>{var P;return(0,Xg.default)(k,{data:{isComplete:{$set:!!((P=g==null?void 0:g.data)==null?void 0:P.shouldMarkItemsComplete)}}})});return h.setState(k=>sr(k,p,_))}).catch(S=>{h.setError(S),console.error(S)});return}let o=i.getPath(),s=a.getPath(),[,u]=i.scopeId.split(":::"),[,l]=a.scopeId.split(":::");if(u===l){let f=t.getStateManagerFromViewID(i.scopeId);return t.app.workspace.trigger("kanban:card-moved",f.file,o,s,i.getData()),f.setState(h=>qd(h,o,s,p=>p.type===Ze.Item?xl(h,o,h,s,p):p))}let c=t.getStateManagerFromViewID(i.scopeId),d=t.getStateManagerFromViewID(a.scopeId);c.setState(f=>{let h=vt(f,o);return d.setState(p=>{let g=h.type===Ze.Item?xl(f,o,p,s,h):h;return sr(p,s,[g])}),kr(f,o)})},[n]);if(e.length)return v.createElement(Es,{onDrop:r},e,v.createElement(Ss,null,(i,a)=>{let[o,s]=v.useMemo(()=>{if(i.scopeId==="htmldnd")return[null,null];let u=t.getKanbanView(i.scopeId),l=t.stateManagers.get(u.file),c=vt(l.state,i.getPath()),d=xs(l),f=u.file.path;return[c,{view:u,stateManager:l,boardModifiers:d,filePath:f}]},[i]);return(o==null?void 0:o.type)===Ze.Lane?v.createElement(qe.Provider,{value:s},v.createElement("div",{className:$("drag-container"),style:a},v.createElement(Gc,{lane:o,laneIndex:0,isStatic:!0}))):(o==null?void 0:o.type)===Ze.Item?v.createElement(qe.Provider,{value:s},v.createElement("div",{className:$("drag-container"),style:a},v.createElement(zc,{item:o,itemIndex:0,isStatic:!0}))):v.createElement("div",null)}))}var au=ge(Ot()),wv=ge(require("obsidian"));var sv=ge(Vc());var lv=ge(Ot()),cv=ge(require("obsidian")),_s=ge(rc());function ks({id:t,children:n}){let e=v.useContext(Yi),r=v.useMemo(()=>t||We(),[t]);return v.useEffect(()=>()=>{e.unmountScope(t)},[t]),v.createElement(lr.Provider,{value:r},n)}var ln="kanban-plugin",ev;(function(n){n[n.List=0]="List"})(ev||(ev={}));var tv=`**${F("Complete")}**`,nv="***",Zc=["---","",`${ln}: basic`,"","---","",""].join(` `);function rv(t){return["","","%% kanban:settings","```",JSON.stringify(t),"```","%%"].join(` `)}function iv(t,n,e){let r=t.innerText.trim();if((n==null?void 0:n.length)&&(r+=" "+n.join(" ")),e){let i=Object.keys(e).join(" "),a=Object.values(e).map(o=>Array.isArray(o.value)?o.value.join(" "):o.value.toString()).join(" ");r+=" "+i+" "+a}return r.toLocaleLowerCase()}function Mk(t,n,e){var r,i,a;if(t.plugins.enabledPlugins.has("dataview")&&((a=(i=(r=t.plugins)==null?void 0:r.plugins)==null?void 0:i.dataview)==null?void 0:a.api))return t.plugins.plugins.dataview.api.page(n.path,e.path)}function eu(t,n){let e=t.getSetting("metadata-keys");if(!e.length)return{};if(!n)return{};let r=t.app.metadataCache.getFileCache(n),i=Mk(t.app,n,t.file);if(!r&&!i)return{};let a={},o={},s={},u=[],l=!1;return e.forEach(c=>{var d;if(!s[c.metadataKey]){if(s[c.metadataKey]=!0,c.metadataKey==="tags"){let f=(r==null?void 0:r.tags)||[];if(Array.isArray((d=r==null?void 0:r.frontmatter)==null?void 0:d.tags)&&(f=[].concat(f,r.frontmatter.tags.map(h=>({tag:`#${h}`})))),(f==null?void 0:f.length)===0)return;u.push(c.metadataKey),a.tags={...c,value:f.map(h=>h.tag).filter(h=>o[h]?!1:(o[h]=!0,!0))},l=!0;return}if((r==null?void 0:r.frontmatter)&&r.frontmatter[c.metadataKey])u.push(c.metadataKey),a[c.metadataKey]={...c,value:r.frontmatter[c.metadataKey]},l=!0;else if(i&&i[c.metadataKey]){let f=i[c.metadataKey],h=f.values||f.val||f;if(h===f&&typeof h=="object")h={...f};else if(!Array.isArray(h)&&typeof h!="string"&&typeof h!="number")return;u.push(c.metadataKey),a[c.metadataKey]={...c,value:h},l=!0}}}),{fileMetadata:l?a:void 0,fileMetadataOrder:u}}function av(t,n){return!t&&n?!0:!["metadata-keys","date-trigger","time-trigger","link-date-to-daily-note","date-format","time-format","hide-date-in-title","hide-tags-in-title"].every(r=>t[r]===n[r])}function ov({onNewLane:t,closeLaneForm:n}){let{boardModifiers:e,stateManager:r}=v.useContext(qe),[i,a]=v.useState(!1),[o,s]=v.useState(""),u=v.useRef(),l=bs(()=>{n()},{ignoreClass:$("ignore-click-outside")});v.useLayoutEffect(()=>{var d;(d=u.current)==null||d.focus()},[]);let c=()=>{e.addLane({...pr,id:We(),children:[],data:{title:o,shouldMarkItemsComplete:i}}),s(""),a(!1),t()};return v.createElement("div",{ref:l,className:$("lane-form-wrapper")},v.createElement("div",{className:$("lane-input-wrapper")},v.createElement(gr,{ref:u,className:$("lane-input"),onChange:d=>s(d.target.value),onEnter:d=>{tr(d,r)||(d.preventDefault(),c())},onEscape:n,value:o})),v.createElement("div",{className:$("checkbox-wrapper")},v.createElement("div",{className:$("checkbox-label")},F("Mark cards in this list as complete")),v.createElement("div",{onClick:()=>a(!i),className:`checkbox-container ${i?"is-enabled":""}`})),v.createElement("div",{className:$("lane-input-actions")},v.createElement("button",{className:$("lane-action-add"),onClick:c},F("Add list")),v.createElement("button",{className:$("lane-action-cancel"),onClick:n},F("Cancel"))))}var Dk=[Ze.Item,Ze.Lane],Ck=[Ze.Lane],uv=({view:t,stateManager:n})=>{let e=n.useState(),r=Gg(),i=v.useRef(null),a=v.useRef(null),[o,s]=v.useState(""),[u,l]=v.useState(!1),[c,d]=v.useState(""),[f,h]=v.useState((e==null?void 0:e.children.length)===0),p=n.file.path,g=n.useSetting("max-archive-size"),w=v.useCallback(()=>{(e==null?void 0:e.children.length)>0&&h(!1)},[e==null?void 0:e.children.length]);v.useEffect(()=>{(e==null?void 0:e.children.length)===0&&h(!0)},[e==null?void 0:e.children.length]);let S=v.useCallback(()=>{setTimeout(()=>{var K;let N=(K=i.current)==null?void 0:K.getElementsByClassName($("board"));N.length&&(0,sv.default)([N[0].scrollWidth,0],{elementToScroll:N[0],speed:300,minDuration:150,easing:j=>j===1?1:1-Math.pow(2,-10*j)})})},[]);v.useEffect(()=>{let N=j=>{j==="editor:open-search"&&l(X=>!X)},K=()=>{h(!0)};return t.emitter.on("hotkey",N),t.emitter.on("showLaneForm",K),()=>{t.emitter.off("hotkey",N),t.emitter.off("showLaneForm",K)}},[t]),v.useEffect(()=>{var N;u&&((N=a.current)==null||N.focus())},[u]),v.useEffect(()=>{let N=o.trim(),K;return N?K=window.setTimeout(()=>{d(N)},250):d(""),()=>{window.clearTimeout(K)}},[o]),v.useEffect(()=>{g===void 0||g===-1||typeof g=="number"&&(e==null?void 0:e.data.archive.length)>g&&n.setState(N=>(0,lv.default)(N,{data:{archive:{$set:N.data.archive.slice(g*-1)}}}))},[e==null?void 0:e.data.archive.length,g]);let _=v.useMemo(()=>xs(n),[n]),k=v.useCallback(N=>{let K=N.target;K.tagName==="A"&&K.hasClass("internal-link")&&t.app.workspace.trigger("hover-link",{event:N.nativeEvent,source:ln,hoverParent:t,targetEl:K,linktext:K.getAttr("href"),sourcePath:t.file.path})},[t]),P=v.useCallback(async N=>{if(N.type==="auxclick"&&N.button==2)return;let K=N.target,j=K.tagName==="A"?K:K.closest("a");if(!!j){if(j.hasClass("file-link")){N.preventDefault();let X=j.getAttribute("href"),Q=Nr(X),ie=typeof X=="string"&&t.app.metadataCache.getFirstLinkpathDest(Q.root,t.file.path);if(!ie)return;n.app.openWithDefaultApp(ie.path);return}if(j.hasClass("internal-link")){N.preventDefault();let X=j.getAttr("href"),Q=N.button===1||N.ctrlKey||N.metaKey;if(j.hasClass("is-unresolved")&&(0,_s.appHasDailyNotesPluginLoaded)()){let Y=n.getSetting("date-format"),J=(0,cv.moment)(X,Y,!0);if(J.isValid()){try{let ne=await(0,_s.createDailyNote)(J);await(Q?t.app.workspace.splitActiveLeaf():t.app.workspace.getUnpinnedLeaf()).openFile(ne,{active:!0})}catch(ne){console.error(ne),n.setError(ne)}return}}n.app.workspace.openLinkText(X,p,Q);return}if(j.hasClass("tag")){N.preventDefault(),n.app.internalPlugins.getPluginById("global-search").instance.openGlobalSearch(`tag:${j.getAttr("href")}`);return}j.hasClass("external-link")&&(N.preventDefault(),window.open(j.getAttr("href"),"_blank"))}},[n,p]),A=v.useMemo(()=>({view:t,stateManager:n,boardModifiers:_,filePath:p}),[t,n,_,p]),D=wp(n);return e==null?v.createElement("div",{className:$("loading")},v.createElement("div",{className:"sk-pulse"})):e.data.errors.length>0?v.createElement("div",null,v.createElement("div",null,"Error:"),e.data.errors.map((N,K)=>v.createElement("div",{key:K},v.createElement("div",null,N.description),v.createElement("pre",null,N.stack)))):v.createElement(ks,{id:t.id},v.createElement(qe.Provider,{value:A},v.createElement(Ya.Provider,{value:c?c.toLocaleLowerCase():null},v.createElement("div",{ref:i,className:bt([Sl,{"something-is-dragging":r}]),onMouseOver:k,onClick:P,onAuxClick:P,...D},(f||e.children.length===0)&&v.createElement(ov,{onNewLane:S,closeLaneForm:w}),u&&v.createElement("div",{className:$("search-wrapper")},v.createElement("input",{ref:a,value:o,onChange:N=>{s(N.target.value)},onKeyDown:N=>{N.key==="Escape"&&(s(""),d(""),N.target.blur(),l(!1))},type:"text",className:$("filter-input"),placeholder:F("Search...")}),v.createElement("button",{className:$("search-cancel-button"),onClick:()=>{s(""),d(""),l(!1)},"aria-label":F("Cancel")},v.createElement(Qt,{name:"cross"}))),v.createElement(vs,{id:t.id,className:bt([$("board"),$("horizontal"),{"is-adding-lane":f}]),triggerTypes:Dk},v.createElement("div",null,v.createElement(_i,{axis:"horizontal"},v.createElement(Yg,{lanes:e.children}),v.createElement(Ti,{className:$("lane-placeholder"),accepts:Ck,index:e.children.length}))))))))};var vv=ge(Ot()),je=ge(require("obsidian"));var Fr=ge(Ot());function dv({isStatic:t,itemIndex:n,item:e,toggleShouldHideLabel:r,toggleContainsMarkdown:i,deleteKey:a,updateKey:o,updateLabel:s}){let u=v.useRef(null),l=v.useRef(null),c=v.useRef(null);bi(l,c);let d=v.createElement("div",{className:$("setting-controls-wrapper")},v.createElement("div",{className:$("setting-input-wrapper")},v.createElement("div",null,v.createElement("div",{className:$("setting-item-label")},F("Metadata key")),v.createElement("input",{type:"text",value:e.data.metadataKey,onChange:f=>o(f.target.value)})),v.createElement("div",null,v.createElement("div",{className:$("setting-item-label")},F("Display label")),v.createElement("input",{type:"text",value:e.data.label,onChange:f=>s(f.target.value)}))),v.createElement("div",{className:$("setting-toggle-wrapper")},v.createElement("div",null,v.createElement("div",{className:`checkbox-container ${e.data.shouldHideLabel?"is-enabled":""}`,onClick:r,"aria-label":F("Hide label")}),v.createElement("div",{className:$("setting-item-label")},F("Hide label"))),v.createElement("div",null,v.createElement("div",{className:`checkbox-container ${e.data.containsMarkdown?"is-enabled":""}`,onClick:i,"aria-label":F("Field contains markdown")}),v.createElement("div",{className:$("setting-item-label")},F("Field contains markdown")))));return v.createElement("div",{ref:l,className:$("setting-item-wrapper")},v.createElement("div",{ref:u,className:$("setting-item")},t?d:v.createElement(cr,{elementRef:u,measureRef:l,id:e.id,index:n,data:e},d),v.createElement("div",{className:$("setting-button-wrapper")},v.createElement("div",{onClick:a,"aria-label":F("Delete")},v.createElement(Qt,{name:"cross"})),v.createElement("div",{className:"mobile-option-setting-drag-icon","aria-label":F("Drag to rearrange"),ref:c},v.createElement(Qt,{name:"three-horizontal-bars"})))))}function Ak({onChange:t,inputValue:n,keys:e,setKeys:r}){let i=a=>{t(a),r(a)};return{updateKey:a=>o=>{i((0,Fr.default)(e,{[a]:{data:{metadataKey:{$set:o}}}}))},updateLabel:a=>o=>{i((0,Fr.default)(e,{[a]:{data:{label:{$set:o}}}}))},toggleShouldHideLabel:a=>()=>{i((0,Fr.default)(e,{[a]:{data:{$toggle:["shouldHideLabel"]}}}))},toggleContainsMarkdown:a=>()=>{i((0,Fr.default)(e,{[a]:{data:{$toggle:["containsMarkdown"]}}}))},deleteKey:a=>()=>{i((0,Fr.default)(e,{$splice:[[a,1]]}))},newKey:()=>{i((0,Fr.default)(e,{$push:[{...jo,id:We(),data:{metadataKey:n,label:"",shouldHideLabel:!1,containsMarkdown:!1}}]}))},moveKey:(a,o)=>{let s=a.getPath(),u=o.getPath(),l=s[s.length-1],c=u[u.length-1];if(l===c)return;let d=e.slice(),[f]=d.splice(l,1);d.splice(c,0,f),i(d)}}}var Ik=[Ze.MetadataSetting];function Lk({keys:t}){return v.createPortal(v.createElement(Ss,null,(n,e)=>{let i=n.getPath()[0],a=t[i];return v.createElement("div",{className:$("drag-container"),style:e},v.createElement(dv,{item:a,itemIndex:i,updateKey:ei,updateLabel:ei,toggleShouldHideLabel:ei,toggleContainsMarkdown:ei,deleteKey:ei,isStatic:!0}))}),document.body)}function Pk({scrollEl:t}){let n=v.useContext(wt);return v.useEffect(()=>{let e=0,r=()=>{clearTimeout(e),e=window.setTimeout(()=>{n.hitboxEntities.forEach(i=>{i.recalcInitial()})},100)};return t.addEventListener("scroll",r,{passive:!0,capture:!1}),()=>{t.removeEventListener("scroll",r)}},[t,n]),null}function Ok(t){let[n,e]=v.useState(t.dataKeys),[r,i]=v.useState(""),{getShouldIMEBlockAction:a,...o}=Ga(),{updateKey:s,updateLabel:u,toggleShouldHideLabel:l,toggleContainsMarkdown:c,deleteKey:d,newKey:f,moveKey:h}=Ak({onChange:t.onChange,inputValue:r,keys:n,setKeys:e});return v.createElement(v.Fragment,null,v.createElement(Es,{onDrop:h},v.createElement(Pk,{scrollEl:t.scrollEl}),v.createElement(ks,null,v.createElement(_i,{axis:"vertical"},n.map((p,g)=>v.createElement(dv,{key:p.id,item:p,itemIndex:g,updateKey:s(g),updateLabel:u(g),toggleShouldHideLabel:l(g),toggleContainsMarkdown:c(g),deleteKey:d(g)})),v.createElement(Ti,{accepts:Ik,index:n.length}))),v.createElement(Lk,{keys:n})),v.createElement("div",{className:$("setting-key-input-wrapper")},v.createElement("input",{placeholder:F("Metadata key"),type:"text",value:r,onChange:p=>i(p.target.value),onKeyDown:p=>{if(!a()){if(p.key==="Enter"){f(),i("");let g=p.target;setTimeout(()=>{g.scrollIntoView()});return}p.key==="Escape"&&(i(""),p.target.blur())}},...o}),v.createElement("button",{onClick:p=>{f(),i("");let g=p.target;setTimeout(()=>{g.scrollIntoView()})}},F("Add key"))))}function fv(t,n,e,r){v.render(v.createElement(Ok,{dataKeys:e,scrollEl:n,onChange:r}),t)}function hv(t){v.unmountComponentAtNode(t)}var mv=ge(pv()),Ms=ge(Ot()),br=ge(require("obsidian"));var Ds="@",Cs="@@";function Nk(t){let n=[];return br.Vault.recurseChildren(t.vault.getRoot(),e=>{e instanceof br.TFolder&&n.push({value:e.path,label:e.path,selected:!1,disabled:!1})}),n}function Fk(t,n){let e=[],r=n?t.vault.getAbstractFileByPath(n):null;return(!r||!(r instanceof br.TFolder))&&(r=t.vault.getRoot()),br.Vault.recurseChildren(r,i=>{i instanceof br.TFile&&e.push({value:i.path,label:i.basename,selected:!1,disabled:!1})}),e}function gv(t){let{templateFolder:n,templatesEnabled:e,templaterPlugin:r}=kl(t),i=Fk(t,n),a=Nk(t),o="";return!e&&!r&&(o=F("Note: No template plugins are currently enabled.")),{templateFiles:i,vaultFolders:a,templateWarning:o}}function nu({choices:t,key:n,warningText:e,local:r,placeHolderStr:i,manager:a}){return o=>{o.controlEl.createEl("select",{},s=>{setTimeout(()=>{let u=t,[l,c]=a.getSetting(n,r);if(c){let h=t.findIndex(g=>g.value===c),p=t[h];u=(0,Ms.default)(u,{$splice:[[h,1]],$unshift:[(0,Ms.default)(p,{placeholder:{$set:!0},value:{$set:""},label:{$apply:g=>`${g} (${F("default")})`}})]})}else u=(0,Ms.default)(u,{$unshift:[{placeholder:!0,value:"",label:i,selected:!1,disabled:!1}]});let d=new mv.default(s,{placeholder:!0,position:"bottom",searchPlaceholderValue:F("Search..."),searchEnabled:u.length>10,choices:u}).setChoiceByValue("");l&&typeof l=="string"&&d.setChoiceByValue(l);let f=h=>{let p=h.detail.value;p?a.applySettingsUpdate({[n]:{$set:p}}):a.applySettingsUpdate({$unset:[n]})};s.addEventListener("change",f),a.cleanupFns.push(()=>{d.destroy(),s.removeEventListener("change",f)})}),e&&o.descEl.createDiv({},u=>{u.createEl("strong",{text:e})})})}}var yv=/^\d+(?:\.\d+)?$/,bv={[ln]:!0,"date-display-format":!0,"date-format":!0,"date-picker-week-start":!0,"date-time-display-format":!0,"date-trigger":!0,"hide-date-display":!0,"hide-date-in-title":!0,"hide-tags-display":!0,"hide-tags-in-title":!0,"lane-width":!0,"link-date-to-daily-note":!0,"max-archive-size":!0,"metadata-keys":!0,"new-card-insertion-method":!0,"new-line-trigger":!0,"new-note-folder":!0,"new-note-template":!0,"prepend-archive-date":!0,"prepend-archive-format":!0,"prepend-archive-separator":!0,"show-checkboxes":!0,"show-relative-date":!0,"time-format":!0,"time-trigger":!0,"show-add-list":!0,"show-archive-all":!0,"show-view-as-markdown":!0,"show-board-settings":!0,"show-search":!0},ru=class{constructor(n,e,r){this.cleanupFns=[];this.applyDebounceTimer=0;this.app=n.app,this.plugin=n,this.config=e,this.settings=r}applySettingsUpdate(n){clearTimeout(this.applyDebounceTimer),this.applyDebounceTimer=window.setTimeout(()=>{this.settings=(0,vv.default)(this.settings,n),this.config.onSettingsChange(this.settings)},200)}getSetting(n,e){return e?[this.settings[n],this.plugin.settings[n]]:[this.settings[n],null]}constructUI(n,e,r){let{templateFiles:i,vaultFolders:a,templateWarning:o}=gv(this.app);n.createEl("h3",{text:e}),r?n.createEl("p",{text:F("These settings will take precedence over the default Kanban board settings.")}):n.createEl("p",{text:F("Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.")}),new je.Setting(n).setName(F("New line trigger")).setDesc(F("Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lanes.")).addDropdown(s=>{s.addOption("shift-enter",F("Shift + Enter")),s.addOption("enter",F("Enter"));let[u,l]=this.getSetting("new-line-trigger",r);s.setValue(u||l||"shift-enter"),s.onChange(c=>{this.applySettingsUpdate({"new-line-trigger":{$set:c}})})}),new je.Setting(n).setName(F("Prepend / append new cards")).setDesc(F("This setting controls whether new cards are added to the beginning or end of the list.")).addDropdown(s=>{s.addOption("prepend",F("Prepend")),s.addOption("prepend-compact",F("Prepend (compact)")),s.addOption("append",F("Append"));let[u,l]=this.getSetting("new-card-insertion-method",r);s.setValue(u||l||"append"),s.onChange(c=>{this.applySettingsUpdate({"new-card-insertion-method":{$set:c}})})}),new je.Setting(n).setName(F("Note template")).setDesc(F("This template will be used when creating new notes from Kanban cards.")).then(nu({choices:i,key:"new-note-template",warningText:o,local:r,placeHolderStr:F("No template"),manager:this})),new je.Setting(n).setName(F("Note folder")).setDesc(F("Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.")).then(nu({choices:a,key:"new-note-folder",local:r,placeHolderStr:F("Default folder"),manager:this})),new je.Setting(n).setName(F("Lane width")).setDesc(F("Enter a number to set the lane width in pixels.")).addText(s=>{let[u,l]=this.getSetting("lane-width",r);s.inputEl.setAttr("type","number"),s.inputEl.placeholder=`${l||"272"} (default)`,s.inputEl.value=u?u.toString():"",s.onChange(c=>{if(c&&yv.test(c)){s.inputEl.removeClass("error"),this.applySettingsUpdate({"lane-width":{$set:parseInt(c)}});return}c&&s.inputEl.addClass("error"),this.applySettingsUpdate({$unset:["lane-width"]})})}),new je.Setting(n).setName(F("Maximum number of archived cards")).setDesc(F("Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.")).addText(s=>{let[u,l]=this.getSetting("max-archive-size",r);s.inputEl.setAttr("type","number"),s.inputEl.placeholder=`${l||"-1"} (default)`,s.inputEl.value=u?u.toString():"",s.onChange(c=>{if(c&&yv.test(c)){s.inputEl.removeClass("error"),this.applySettingsUpdate({"max-archive-size":{$set:parseInt(c)}});return}c&&s.inputEl.addClass("error"),this.applySettingsUpdate({$unset:["max-archive-size"]})})}),new je.Setting(n).setName(F("Display card checkbox")).setDesc(F("When toggled, a checkbox will be displayed with each card")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-checkboxes",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"show-checkboxes":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-checkboxes",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-checkboxes"]})})})}),new je.Setting(n).setName(F("Hide tags in card titles")).setDesc(F("When toggled, tags will be hidden card titles. This will prevent tags from being included in the title when creating new notes.")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("hide-tags-in-title",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"hide-tags-in-title":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("hide-tags-in-title",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["hide-tags-in-title"]})})})}),new je.Setting(n).setName(F("Hide card display tags")).setDesc(F("When toggled, tags will not be displayed below the card title.")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("hide-tags-display",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"hide-tags-display":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("hide-tags-display",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["hide-tags-display"]})})})}),n.createEl("h4",{text:F("Board Header Buttons")}),new je.Setting(n).setName(F("Add a list")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-add-list",r);c!=null?l.setValue(c):d!=null?l.setValue(d):l.setValue(!0),l.onChange(f=>{this.applySettingsUpdate({"show-add-list":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-add-list",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-add-list"]})})})}),new je.Setting(n).setName(F("Archive completed cards")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-archive-all",r);c!=null?l.setValue(c):d!=null?l.setValue(d):l.setValue(!0),l.onChange(f=>{this.applySettingsUpdate({"show-archive-all":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-archive-all",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-archive-all"]})})})}),new je.Setting(n).setName(F("Open as markdown")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-view-as-markdown",r);c!=null?l.setValue(c):d!=null?l.setValue(d):l.setValue(!0),l.onChange(f=>{this.applySettingsUpdate({"show-view-as-markdown":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-view-as-markdown",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-view-as-markdown"]})})})}),new je.Setting(n).setName(F("Open board settings")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-board-settings",r);c!=null?l.setValue(c):d!=null?l.setValue(d):l.setValue(!0),l.onChange(f=>{this.applySettingsUpdate({"show-board-settings":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-board-settings",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-board-settings"]})})})}),new je.Setting(n).setName(F("Search...")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-search",r);c!=null?l.setValue(c):d!=null?l.setValue(d):l.setValue(!0),l.onChange(f=>{this.applySettingsUpdate({"show-search":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-search",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-search"]})})})}),n.createEl("h4",{text:F("Date & Time")}),new je.Setting(n).setName(F("Date trigger")).setDesc(F("When this is typed, it will trigger the date selector")).addText(s=>{let[u,l]=this.getSetting("date-trigger",r);(u||l)&&s.setValue(u||l),s.setPlaceholder(l||Ds),s.onChange(c=>{c?this.applySettingsUpdate({"date-trigger":{$set:c}}):this.applySettingsUpdate({$unset:["date-trigger"]})})}),new je.Setting(n).setName(F("Time trigger")).setDesc(F("When this is typed, it will trigger the time selector")).addText(s=>{let[u,l]=this.getSetting("time-trigger",r);(u||l)&&s.setValue(u||l),s.setPlaceholder(l||Cs),s.onChange(c=>{c?this.applySettingsUpdate({"time-trigger":{$set:c}}):this.applySettingsUpdate({$unset:["time-trigger"]})})}),new je.Setting(n).setName(F("Date format")).then(s=>{s.addMomentFormat(u=>{s.descEl.appendChild(createFragment(f=>{f.appendText(F("This format will be used when saving dates in markdown.")),f.createEl("br"),f.appendText(F("For more syntax, refer to")+" "),f.createEl("a",{text:F("format reference"),href:"https://momentjs.com/docs/#/displaying/format/"},h=>{h.setAttr("target","_blank")}),f.createEl("br"),f.appendText(F("Your current syntax looks like this")+": "),u.setSampleEl(f.createEl("b",{cls:"u-pop"})),f.createEl("br")}));let[l,c]=this.getSetting("date-format",r),d=ti(this.app);u.setPlaceholder(d),u.setDefaultFormat(d),(l||c)&&u.setValue(l||c),u.onChange(f=>{f?this.applySettingsUpdate({"date-format":{$set:f}}):this.applySettingsUpdate({$unset:["date-format"]})})})}),new je.Setting(n).setName(F("Time format")).then(s=>{s.addMomentFormat(u=>{s.descEl.appendChild(createFragment(f=>{f.appendText(F("For more syntax, refer to")+" "),f.createEl("a",{text:F("format reference"),href:"https://momentjs.com/docs/#/displaying/format/"},h=>{h.setAttr("target","_blank")}),f.createEl("br"),f.appendText(F("Your current syntax looks like this")+": "),u.setSampleEl(f.createEl("b",{cls:"u-pop"})),f.createEl("br")}));let[l,c]=this.getSetting("time-format",r),d=Vi(this.app);u.setPlaceholder(d),u.setDefaultFormat(d),(l||c)&&u.setValue(l||c),u.onChange(f=>{f?this.applySettingsUpdate({"time-format":{$set:f}}):this.applySettingsUpdate({$unset:["time-format"]})})})}),new je.Setting(n).setName(F("Date display format")).then(s=>{s.addMomentFormat(u=>{s.descEl.appendChild(createFragment(f=>{f.appendText(F("This format will be used when displaying dates in Kanban cards.")),f.createEl("br"),f.appendText(F("For more syntax, refer to")+" "),f.createEl("a",{text:F("format reference"),href:"https://momentjs.com/docs/#/displaying/format/"},h=>{h.setAttr("target","_blank")}),f.createEl("br"),f.appendText(F("Your current syntax looks like this")+": "),u.setSampleEl(f.createEl("b",{cls:"u-pop"})),f.createEl("br")}));let[l,c]=this.getSetting("date-display-format",r),d=ti(this.app);u.setPlaceholder(d),u.setDefaultFormat(d),(l||c)&&u.setValue(l||c),u.onChange(f=>{f?this.applySettingsUpdate({"date-display-format":{$set:f}}):this.applySettingsUpdate({$unset:["date-display-format"]})})})}),new je.Setting(n).setName(F("Show relative date")).setDesc(F("When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("show-relative-date",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"show-relative-date":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("show-relative-date",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["show-relative-date"]})})})}),new je.Setting(n).setName(F("Hide card display dates")).setDesc(F("When toggled, formatted dates will not be displayed on the card. Relative dates will still be displayed if they are enabled.")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("hide-date-display",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"hide-date-display":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("hide-date-display",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["hide-date-display"]})})})}),new je.Setting(n).setName(F("Hide dates in card titles")).setDesc(F("When toggled, dates will be hidden card titles. This will prevent dates from being included in the title when creating new notes.")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("hide-date-in-title",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"hide-date-in-title":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("hide-date-in-title",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["hide-date-in-title"]})})})}),new je.Setting(n).setName(F("Link dates to daily notes")).setDesc(F("When toggled, dates will link to daily notes. Eg. [[2021-04-26]]")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("link-date-to-daily-note",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"link-date-to-daily-note":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("link-date-to-daily-note",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["link-date-to-daily-note"]})})})}),new je.Setting(n).setName(F("Add date and time to archived cards")).setDesc(F("When toggled, the current date and time will be added to the beginning of a card when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title")).then(s=>{let u;s.addToggle(l=>{u=l;let[c,d]=this.getSetting("prepend-archive-date",r);c!==void 0?l.setValue(c):d!==void 0&&l.setValue(d),l.onChange(f=>{this.applySettingsUpdate({"prepend-archive-date":{$set:f}})})}).addExtraButton(l=>{l.setIcon("reset").setTooltip(F("Reset to default")).onClick(()=>{let[,c]=this.getSetting("prepend-archive-date",r);u.setValue(!!c),this.applySettingsUpdate({$unset:["prepend-archive-date"]})})})}),new je.Setting(n).setName(F("Archive date/time separator")).setDesc(F("This will be used to separate the archived date/time from the title")).addText(s=>{let[u,l]=this.getSetting("prepend-archive-separator",r);s.inputEl.placeholder=l?`${l} (default)`:"",s.inputEl.value=u||"",s.onChange(c=>{if(c){this.applySettingsUpdate({"prepend-archive-separator":{$set:c}});return}this.applySettingsUpdate({$unset:["prepend-archive-separator"]})})}),new je.Setting(n).setName(F("Archive date/time format")).then(s=>{s.addMomentFormat(u=>{s.descEl.appendChild(createFragment(_=>{_.appendText(F("For more syntax, refer to")+" "),_.createEl("a",{text:F("format reference"),href:"https://momentjs.com/docs/#/displaying/format/"},k=>{k.setAttr("target","_blank")}),_.createEl("br"),_.appendText(F("Your current syntax looks like this")+": "),u.setSampleEl(_.createEl("b",{cls:"u-pop"})),_.createEl("br")}));let[l,c]=this.getSetting("prepend-archive-format",r),[d,f]=this.getSetting("date-format",r),h=d||f||ti(this.app),[p,g]=this.getSetting("time-format",r),w=p||g||Vi(this.app),S=`${h} ${w}`;u.setPlaceholder(S),u.setDefaultFormat(S),(l||c)&&u.setValue(l||c),u.onChange(_=>{_?this.applySettingsUpdate({"prepend-archive-format":{$set:_}}):this.applySettingsUpdate({$unset:["prepend-archive-format"]})})})}),new je.Setting(n).setName(F("Calendar: first day of week")).setDesc(F("Override which day is used as the start of the week")).addDropdown(s=>{s.addOption("",F("default")),s.addOption("0",F("Sunday")),s.addOption("1",F("Monday")),s.addOption("2",F("Tuesday")),s.addOption("3",F("Wednesday")),s.addOption("4",F("Thursday")),s.addOption("5",F("Friday")),s.addOption("6",F("Saturday"));let[u,l]=this.getSetting("date-picker-week-start",r);s.setValue((u==null?void 0:u.toString())||(l==null?void 0:l.toString())||""),s.onChange(c=>{c?this.applySettingsUpdate({"date-picker-week-start":{$set:Number(c)}}):this.applySettingsUpdate({$unset:["date-picker-week-start"]})})}),n.createEl("br"),n.createEl("h4",{text:F("Linked Page Metadata")}),n.createEl("p",{cls:$("metadata-setting-desc"),text:F("Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.")}),new je.Setting(n).then(s=>{s.settingEl.addClass($("draggable-setting-container"));let[u]=this.getSetting("metadata-keys",r),l=(u||[]).map(c=>({...jo,id:We(),data:c}));fv(s.settingEl,n,l,c=>this.applySettingsUpdate({"metadata-keys":{$set:c.map(d=>d.data)}})),this.cleanupFns.push(()=>{s.settingEl&&hv(s.settingEl)})})}cleanUp(){this.cleanupFns.forEach(n=>n()),this.cleanupFns=[]}},As=class extends je.Modal{constructor(n,e,r){super(n.app);this.view=n,this.settingsManager=new ru(n.plugin,e,r)}onOpen(){let{contentEl:n,modalEl:e}=this;e.addClass($("board-settings-modal")),this.settingsManager.constructUI(n,this.view.file.basename,!0)}onClose(){let{contentEl:n}=this;this.settingsManager.cleanUp(),n.empty()}},iu=class extends je.PluginSettingTab{constructor(n,e){super(n.app,n);this.plugin=n,this.settingsManager=new ru(n,e,n.settings)}display(){let{containerEl:n}=this;n.empty(),n.addClass($("board-settings-modal")),this.settingsManager.constructUI(n,F("Kanban Plugin"),!1)}};var Tn="kanban",Is="blocks",Rr=class extends wv.TextFileView{constructor(n,e){super(n);this.actionButtons={};this.plugin=e,this.emitter=ws(),this.emitter.on("hotkey",r=>{switch(r){case"daily-notes:goto-prev":{dp(this.app,this.file);break}case"daily-notes:goto-next":{up(this.app,this.file);break}}})}get isPrimary(){var n;return((n=this.plugin.getStateManager(this.file))==null?void 0:n.getAView())===this}get id(){var n;return`${this.leaf.id}:::${(n=this.file)==null?void 0:n.path}`}initHeaderButtons(){let n=this.plugin.getStateManager(this.file);if(!!n)if(n.getSetting("show-board-settings")&&!this.actionButtons["show-board-settings"]?this.actionButtons["show-board-settings"]=this.addAction("gear",F("Open board settings"),()=>{let e=this.plugin.stateManagers.get(this.file),r=e.state;new As(this,{onSettingsChange:i=>{let a=(0,au.default)(r,{data:{settings:{$set:i}}});e.setState(a)}},r.data.settings).open()}):!n.getSetting("show-board-settings")&&this.actionButtons["show-board-settings"]&&(this.actionButtons["show-board-settings"].remove(),delete this.actionButtons["show-board-settings"]),n.getSetting("show-search")&&!this.actionButtons["show-search"]?this.actionButtons["show-search"]=this.addAction("search",F("Search..."),()=>{this.emitter.emit("hotkey","editor:open-search")}):!n.getSetting("show-search")&&this.actionButtons["show-search"]&&(this.actionButtons["show-search"].remove(),delete this.actionButtons["show-search"]),n.getSetting("show-view-as-markdown")&&!this.actionButtons["show-view-as-markdown"]?this.actionButtons["show-view-as-markdown"]=this.addAction("document",F("Open as markdown"),()=>{this.plugin.kanbanFileModes[this.leaf.id||this.file.path]="markdown",this.plugin.setMarkdownView(this.leaf)}):!n.getSetting("show-view-as-markdown")&&this.actionButtons["show-view-as-markdown"]&&(this.actionButtons["show-view-as-markdown"].remove(),delete this.actionButtons["show-view-as-markdown"]),n.getSetting("show-archive-all")&&!this.actionButtons["show-archive-all"]?this.actionButtons["show-archive-all"]=this.addAction("sheets-in-box",F("Archive completed cards"),()=>{this.plugin.stateManagers.get(this.file).archiveCompletedCards()}):!n.getSetting("show-archive-all")&&this.actionButtons["show-archive-all"]&&(this.actionButtons["show-archive-all"].remove(),delete this.actionButtons["show-archive-all"]),n.getSetting("show-add-list")&&!this.actionButtons["show-add-list"]){let e=this.addAction("plus-with-circle",F("Add a list"),()=>{this.emitter.emit("showLaneForm",void 0)});e.addClass($("ignore-click-outside")),this.actionButtons["show-add-list"]=e}else!n.getSetting("show-add-list")&&this.actionButtons["show-add-list"]&&(this.actionButtons["show-add-list"].remove(),delete this.actionButtons["show-add-list"])}setBoard(n,e=!0){this.plugin.stateManagers.get(this.file).setState(n,e)}getBoard(){return this.plugin.stateManagers.get(this.file).state}getViewType(){return Tn}getIcon(){return Is}getDisplayText(){var n;return((n=this.file)==null?void 0:n.basename)||"Kanban"}async onLoadFile(n){try{return await super.onLoadFile(n)}catch(e){throw this.plugin.stateManagers.get(this.file).setError(e),e}}destroy(){this.plugin.removeView(this),Object.values(this.actionButtons).forEach(n=>n.remove()),this.actionButtons={}}async onClose(){this.destroy()}async onUnloadFile(n){return this.destroy(),await super.onUnloadFile(n)}handleRename(n,e){this.file.path===n&&this.isPrimary&&this.plugin.handleViewFileRename(this,e)}requestSaveToDisk(n){this.data!==n&&this.isPrimary?(this.data=n,this.requestSave()):this.data=n}getViewData(){return this.data}setViewData(n,e){if(!fp(n)){this.plugin.kanbanFileModes[this.leaf.id||this.file.path]="markdown",this.plugin.removeView(this),this.plugin.setMarkdownView(this.leaf,!1);return}this.plugin.addView(this,n,!e&&this.isPrimary)}getPortal(){let n=this.plugin.stateManagers.get(this.file);return v.createElement(uv,{stateManager:n,view:this})}onMoreOptionsMenu(n){n.addItem(e=>{e.setTitle(F("Open as markdown")).setIcon("document").onClick(()=>{this.plugin.kanbanFileModes[this.leaf.id||this.file.path]="markdown",this.plugin.setMarkdownView(this.leaf)})}).addItem(e=>{e.setTitle(F("Open board settings")).setIcon("gear").onClick(()=>{let r=this.plugin.stateManagers.get(this.file),i=r.state;new As(this,{onSettingsChange:a=>{let o=(0,au.default)(i,{data:{settings:{$set:a}}});r.setState(o)}},i.data.settings).open()})}).addItem(e=>{e.setTitle(F("Archive completed cards")).setIcon("sheets-in-box").onClick(()=>{this.plugin.stateManagers.get(this.file).archiveCompletedCards()})}).addSeparator(),super.onMoreOptionsMenu(n)}clear(){}};var Ni=ge(Ot()),Ry=ge(require("obsidian"));var ou={};Yr(ou,{JsonPatchError:()=>st,_areEquals:()=>_a,applyOperation:()=>Hr,applyPatch:()=>Rs,applyReducer:()=>$k,deepClone:()=>Bk,getValueByPointer:()=>Fs,validate:()=>Sv,validator:()=>Hs});var Rk=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)i.hasOwnProperty(a)&&(r[a]=i[a])},t(n,e)};return function(n,e){t(n,e);function r(){this.constructor=n}n.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Hk=Object.prototype.hasOwnProperty;function Ls(t,n){return Hk.call(t,n)}function Ps(t){if(Array.isArray(t)){for(var e=new Array(t.length),n=0;n=48&&r<=57){n++;continue}return!1}return!0}function Bn(t){return t.indexOf("/")===-1&&t.indexOf("~")===-1?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function xa(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function Ns(t){if(t===void 0)return!0;if(t){if(Array.isArray(t)){for(var n=0,e=t.length;n=d){if(e&&n.op==="add"&&h>l.length)throw new st("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,n,t);var o=Kk[n.op].call(n,l,h,t);if(o.test===!1)throw new st("Test operation failed","TEST_OPERATION_FAILED",a,n,t);return o}}else if(c>=d){var o=Mi[n.op].call(n,l,h,t);if(o.test===!1)throw new st("Test operation failed","TEST_OPERATION_FAILED",a,n,t);return o}if(l=l[h],e&&c0)throw new st('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",n,t,e);if((t.op==="move"||t.op==="copy")&&typeof t.from!="string")throw new st("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",n,t,e);if((t.op==="add"||t.op==="replace"||t.op==="test")&&t.value===void 0)throw new st("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",n,t,e);if((t.op==="add"||t.op==="replace"||t.op==="test")&&Ns(t.value))throw new st("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",n,t,e);if(e){if(t.op=="add"){var i=t.path.split("/").length,a=r.split("/").length;if(i!==a+1&&i!==a)throw new st("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",n,t,e)}else if(t.op==="replace"||t.op==="remove"||t.op==="_get"){if(t.path!==r)throw new st("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",n,t,e)}else if(t.op==="move"||t.op==="copy"){var o={op:"_get",path:t.from,value:void 0},s=Sv([o],e);if(s&&s.name==="OPERATION_PATH_UNRESOLVABLE")throw new st("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",n,t,e)}}}else throw new st("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",n,t,e)}function Sv(t,n,e){try{if(!Array.isArray(t))throw new st("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(n)Rs(Mt(n),Mt(t),e||!0);else{e=e||Hs;for(var r=0;ruu,generate:()=>lu,observe:()=>Yk,unobserve:()=>Wk});var su=new WeakMap,Uk=function(){function t(n){this.observers=new Map,this.obj=n}return t}(),jk=function(){function t(n,e){this.callback=n,this.observer=e}return t}();function zk(t){return su.get(t)}function Vk(t,n){return t.observers.get(n)}function qk(t,n){t.observers.delete(n.callback)}function Wk(t,n){n.unobserve()}function Yk(t,n){var e=[],r,i=zk(t);if(!i)i=new Uk(t),su.set(t,i);else{var a=Vk(i,n);r=a&&a.observer}if(r)return r;if(r={},i.value=Mt(t),n){r.callback=n,r.next=null;var o=function(){lu(r)},s=function(){clearTimeout(r.next),r.next=setTimeout(o)};typeof window!="undefined"&&(window.addEventListener("mouseup",s),window.addEventListener("keyup",s),window.addEventListener("mousedown",s),window.addEventListener("keydown",s),window.addEventListener("change",s))}return r.patches=e,r.object=t,r.unobserve=function(){lu(r),clearTimeout(r.next),qk(i,r),typeof window!="undefined"&&(window.removeEventListener("mouseup",s),window.removeEventListener("keyup",s),window.removeEventListener("mousedown",s),window.removeEventListener("keydown",s),window.removeEventListener("change",s))},i.observers.set(n,new jk(n,r)),r}function lu(t,n){n===void 0&&(n=!1);var e=su.get(t.object);cu(e.value,t.object,t.patches,"",n),t.patches.length&&Rs(e.value,t.patches);var r=t.patches;return r.length>0&&(t.patches=[],t.callback&&t.callback(r)),r}function cu(t,n,e,r,i){if(n!==t){typeof n.toJSON=="function"&&(n=n.toJSON());for(var a=Ps(n),o=Ps(t),s=!1,u=!1,l=o.length-1;l>=0;l--){var c=o[l],d=t[c];if(Ls(n,c)&&!(n[c]===void 0&&d!==void 0&&Array.isArray(n)===!1)){var f=n[c];typeof d=="object"&&d!=null&&typeof f=="object"&&f!=null&&Array.isArray(d)===Array.isArray(f)?cu(d,f,e,r+"/"+Bn(c),i):d!==f&&(s=!0,i&&e.push({op:"test",path:r+"/"+Bn(c),value:Mt(d)}),e.push({op:"replace",path:r+"/"+Bn(c),value:Mt(f)}))}else Array.isArray(t)===Array.isArray(n)?(i&&e.push({op:"test",path:r+"/"+Bn(c),value:Mt(d)}),e.push({op:"remove",path:r+"/"+Bn(c)}),u=!0):(i&&e.push({op:"test",path:r,value:t}),e.push({op:"replace",path:r,value:n}),s=!0)}if(!(!u&&a.length==o.length))for(var l=0;l":""))+")"})),f;function f(){let h=[],p,g,w;if((!n||i(s,u,l[l.length-1]||null))&&(h=Zk(e(s,l)),h[0]===hu))return h;if(s.children&&h[0]!==Cv)for(g=(r?s.children.length:-1)+a,w=l.concat(s);g>-1&&g!0){for(let i=n+1,a=t.length;i{try{await Ov(t,e),await Promise.all(e.children.map(r=>Ma(t,r)))}catch(r){throw t.setError(r),r}}))}catch(e){throw t.setError(e),e}return n}function e0(t){return(t.op==="add"||t.op==="replace")&&["/title","/titleRaw","/dateStr","/timeStr",/\d$/,/\/fileAccessor\/.+$/].some(n=>typeof n=="string"?t.path.endsWith(n):n.test(t.path))}async function Fv(t,n,e){let r={},i=e.reduce((a,o)=>{if(!e0(o))return a;let s=o.path.split("/").reduce((l,c)=>(/\d+/.test(c)&&l.push(Number(c)),l),[]),u=s.join(",");return r[u]||(r[u]=!0,a.push(s)),a},[]);try{await Promise.all(i.map(a=>{let o=vt(n,a);if(o.type===Ze.Lane)return Ov(t,o);if(o.type===Ze.Item)return Ma(t,o)}))}catch(a){throw t.setError(a),a}return n}function $s(t,n){let e=n.end-n.start;return t.slice(0,n.start)+"\0".repeat(e)+t.slice(n.end)}function Rv(t){return t.replace(/\s*\0+\s*/g," ").trim()}function Dt(t,n,e,r){let i=t.length,a=0,o;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,e=e>0?e:0,r.length<1e4)o=Array.from(r),o.unshift(n,e),[].splice.apply(t,o);else for(e&&[].splice.apply(t,[n,e]);a0?(Dt(t,t.length,0,n),t):n}var Hv={}.hasOwnProperty;function Bv(t){let n={},e=-1;for(;++eo))return;let N=n.events.length,K=N,j,X;for(;K--;)if(n.events[K][0]==="exit"&&n.events[K][1].type==="chunkFlow"){if(j){X=n.events[K][1].end;break}j=!0}for(S(r),D=N;Dk;){let A=e[P];n.containerState=A[1],A[0].exit.call(n,t)}e.length=k}function _(){i.write([null]),a=void 0,i=void 0,n.containerState._closeFlow=void 0}}function a0(t,n,e){return Se(t,t.attempt(this.parser.constructs.document,n,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yu(t){if(t===null||Qe(t)||jv(t))return 1;if(zv(t))return 2}function Di(t,n,e){let r=[],i=-1;for(;++i1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let d=Object.assign({},t[r][1].end),f=Object.assign({},t[e][1].start);Yv(d,-u),Yv(f,u),o={type:u>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},t[r][1].end)},s={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:f},a={type:u>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[e][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},t[r][1].end=Object.assign({},o.start),t[e][1].start=Object.assign({},s.end),l=[],t[r][1].end.offset-t[r][1].start.offset&&(l=jt(l,[["enter",t[r][1],n],["exit",t[r][1],n]])),l=jt(l,[["enter",i,n],["enter",o,n],["exit",o,n],["enter",a,n]]),l=jt(l,Di(n.parser.constructs.insideSpan.null,t.slice(r+1,e),n)),l=jt(l,[["exit",a,n],["enter",s,n],["exit",s,n],["exit",i,n]]),t[e][1].end.offset-t[e][1].start.offset?(c=2,l=jt(l,[["enter",t[e][1],n],["exit",t[e][1],n]])):c=0,Dt(t,r-1,e-r+3,l),e=r+l.length-c-2;break}}for(e=-1;++e",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xCD",Iacute:"\xCD",Icir:"\xCE",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xCC",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xCF",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntild:"\xD1",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacut:"\xD3",Oacute:"\xD3",Ocir:"\xD4",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograv:"\xD2",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslas:"\xD8",Oslash:"\xD8",Otild:"\xD5",Otilde:"\xD5",Otimes:"\u2A37",Oum:"\xD6",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUO:'"',QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",RE:"\xAE",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THOR:"\xDE",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacut:"\xDA",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucir:"\xDB",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrav:"\xD9",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uum:"\xDC",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacut:"\xDD",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacut:"\xE1",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acir:"\xE2",acirc:"\xE2",acut:"\xB4",acute:"\xB4",acy:"\u0430",aeli:"\xE6",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrav:"\xE0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",am:"&",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",arin:"\xE5",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atild:"\xE3",atilde:"\xE3",aum:"\xE4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvba:"\xA6",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedi:"\xE7",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedi:"\xB8",cedil:"\xB8",cemptyv:"\u29B2",cen:"\xA2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",cop:"\xA9",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curre:"\xA4",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",de:"\xB0",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divid:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacut:"\xE9",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\xEA",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrav:"\xE8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",et:"\xF0",eth:"\xF0",eum:"\xEB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac1:"\xBC",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac3:"\xBE",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",g:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xED",iacute:"\xED",ic:"\u2063",icir:"\xEE",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexc:"\xA1",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrav:"\xEC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iques:"\xBF",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xEF",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laqu:"\xAB",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",mac:"\xAF",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micr:"\xB5",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middo:"\xB7",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbs:"\xA0",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",no:"\xAC",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntild:"\xF1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacut:"\xF3",oacute:"\xF3",oast:"\u229B",ocir:"\xF4",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograv:"\xF2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\xBA",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslas:"\xF8",oslash:"\xF8",osol:"\u2298",otild:"\xF5",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",oum:"\xF6",ouml:"\xF6",ovbar:"\u233D",par:"\xB6",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusm:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",poun:"\xA3",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quo:'"',quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raqu:"\xBB",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",re:"\xAE",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xA7",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xAD",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szli:"\xDF",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thor:"\xFE",thorn:"\xFE",tilde:"\u02DC",time:"\xD7",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacut:"\xFA",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucir:"\xFB",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrav:"\xF9",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",um:"\xA8",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uum:"\xFC",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacut:"\xFD",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",ye:"\xA5",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yum:"\xFF",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var p0={}.hasOwnProperty;function Ci(t){return p0.call(wu,t)?wu[t]:!1}var zs={name:"characterReference",tokenize:m0};function m0(t,n,e){let r=this,i=0,a,o;return s;function s(d){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(d),t.exit("characterReferenceMarker"),u}function u(d){return d===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(d),t.exit("characterReferenceMarkerNumeric"),l):(t.enter("characterReferenceValue"),a=31,o=zt,c(d))}function l(d){return d===88||d===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(d),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,o=$v,c):(t.enter("characterReferenceValue"),a=7,o=Da,c(d))}function c(d){let f;return d===59&&i?(f=t.exit("characterReferenceValue"),o===zt&&!Ci(r.sliceSerialize(f))?e(d):(t.enter("characterReferenceMarker"),t.consume(d),t.exit("characterReferenceMarker"),t.exit("characterReference"),n)):o(d)&&i++=4?o(l):e(l)}function o(l){return l===null?u(l):se(l)?t.attempt(v0,o,u)(l):(t.enter("codeFlowValue"),s(l))}function s(l){return l===null||se(l)?(t.exit("codeFlowValue"),o(l)):(t.consume(l),s)}function u(l){return t.exit("codeIndented"),n(l)}}function b0(t,n,e){let r=this;return i;function i(o){return r.parser.lazy[r.now().line]?e(o):se(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),i):Se(t,a,"linePrefix",4+1)(o)}function a(o){let s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?n(o):se(o)?i(o):e(o)}}var Eu={name:"codeText",tokenize:S0,resolve:w0,previous:E0};function w0(t){let n=t.length-4,e=3,r,i;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[n][1].type==="lineEnding"||t[n][1].type==="space")){for(r=e;++r=4?n(o):t.interrupt(r.parser.constructs.flow,e,n)(o)}}function Ws(t,n,e,r,i,a,o,s,u){let l=u||Number.POSITIVE_INFINITY,c=0;return d;function d(S){return S===60?(t.enter(r),t.enter(i),t.enter(a),t.consume(S),t.exit(a),f):S===null||S===41||Ca(S)?e(S):(t.enter(r),t.enter(o),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(S))}function f(S){return S===62?(t.enter(a),t.consume(S),t.exit(a),t.exit(i),t.exit(r),n):(t.enter(s),t.enter("chunkString",{contentType:"string"}),h(S))}function h(S){return S===62?(t.exit("chunkString"),t.exit(s),f(S)):S===null||S===60||se(S)?e(S):(t.consume(S),S===92?p:h)}function p(S){return S===60||S===62||S===92?(t.consume(S),h):h(S)}function g(S){return S===40?++c>l?e(S):(t.consume(S),g):S===41?c--?(t.consume(S),g):(t.exit("chunkString"),t.exit(s),t.exit(o),t.exit(r),n(S)):S===null||Qe(S)?c?e(S):(t.exit("chunkString"),t.exit(s),t.exit(o),t.exit(r),n(S)):Ca(S)?e(S):(t.consume(S),S===92?w:g)}function w(S){return S===40||S===41||S===92?(t.consume(S),g):g(S)}}function Ys(t,n,e,r,i,a){let o=this,s=0,u;return l;function l(h){return t.enter(r),t.enter(i),t.consume(h),t.exit(i),t.enter(a),c}function c(h){return h===null||h===91||h===93&&!u||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs||s>999?e(h):h===93?(t.exit(a),t.enter(i),t.consume(h),t.exit(i),t.exit(r),n):se(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),c):(t.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||se(h)||s++>999?(t.exit("chunkString"),c(h)):(t.consume(h),u=u||!He(h),h===92?f:d)}function f(h){return h===91||h===92||h===93?(t.consume(h),s++,d):d(h)}}function Js(t,n,e,r,i,a){let o;return s;function s(f){return t.enter(r),t.enter(i),t.consume(f),t.exit(i),o=f===40?41:f,u}function u(f){return f===o?(t.enter(i),t.consume(f),t.exit(i),t.exit(r),n):(t.enter(a),l(f))}function l(f){return f===o?(t.exit(a),u(o)):f===null?e(f):se(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Se(t,l,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===o||f===null||se(f)?(t.exit("chunkString"),l(f)):(t.consume(f),f===92?d:c)}function d(f){return f===o||f===92?(t.consume(f),c):c(f)}}function Br(t,n){let e;return r;function r(i){return se(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e=!0,r):He(i)?Se(t,r,e?"linePrefix":"lineSuffix")(i):n(i)}}function ir(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var xu={name:"definition",tokenize:C0},D0={tokenize:A0,partial:!0};function C0(t,n,e){let r=this,i;return a;function a(u){return t.enter("definition"),Ys.call(r,t,o,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(u)}function o(u){return i=ir(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),u===58?(t.enter("definitionMarker"),t.consume(u),t.exit("definitionMarker"),Br(t,Ws(t,t.attempt(D0,Se(t,s,"whitespace"),Se(t,s,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(u)}function s(u){return u===null||se(u)?(t.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),n(u)):e(u)}}function A0(t,n,e){return r;function r(o){return Qe(o)?Br(t,i)(o):e(o)}function i(o){return o===34||o===39||o===40?Js(t,Se(t,a,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):e(o)}function a(o){return o===null||se(o)?n(o):e(o)}}var ku={name:"hardBreakEscape",tokenize:I0};function I0(t,n,e){return r;function r(a){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(a),i}function i(a){return se(a)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),n(a)):e(a)}}var _u={name:"headingAtx",tokenize:P0,resolve:L0};function L0(t,n){let e=t.length-2,r=3,i,a;return t[r][1].type==="whitespace"&&(r+=2),e-2>r&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(r===e-1||e-4>r&&t[e-2][1].type==="whitespace")&&(e-=r+1===e?2:4),e>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[e][1].end},a={type:"chunkText",start:t[r][1].start,end:t[e][1].end,contentType:"text"},Dt(t,r,e-r+1,[["enter",i,n],["enter",a,n],["exit",a,n],["exit",i,n]])),t}function P0(t,n,e){let r=this,i=0;return a;function a(c){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&i++<6?(t.consume(c),o):c===null||Qe(c)?(t.exit("atxHeadingSequence"),r.interrupt?n(c):s(c)):e(c)}function s(c){return c===35?(t.enter("atxHeadingSequence"),u(c)):c===null||se(c)?(t.exit("atxHeading"),n(c)):He(c)?Se(t,s,"whitespace")(c):(t.enter("atxHeadingText"),l(c))}function u(c){return c===35?(t.consume(c),u):(t.exit("atxHeadingSequence"),s(c))}function l(c){return c===null||c===35||Qe(c)?(t.exit("atxHeadingText"),s(c)):(t.consume(c),l)}}var Jv=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Tu=["pre","script","style","textarea"];var Mu={name:"htmlFlow",tokenize:F0,resolveTo:N0,concrete:!0},O0={tokenize:R0,partial:!0};function N0(t){let n=t.length;for(;n--&&!(t[n][0]==="enter"&&t[n][1].type==="htmlFlow"););return n>1&&t[n-2][1].type==="linePrefix"&&(t[n][1].start=t[n-2][1].start,t[n+1][1].start=t[n-2][1].start,t.splice(n-2,2)),t}function F0(t,n,e){let r=this,i,a,o,s,u;return l;function l(I){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(I),c}function c(I){return I===33?(t.consume(I),d):I===47?(t.consume(I),p):I===63?(t.consume(I),i=3,r.interrupt?n:he):cn(I)?(t.consume(I),o=String.fromCharCode(I),a=!0,g):e(I)}function d(I){return I===45?(t.consume(I),i=2,f):I===91?(t.consume(I),i=5,o="CDATA[",s=0,h):cn(I)?(t.consume(I),i=4,r.interrupt?n:he):e(I)}function f(I){return I===45?(t.consume(I),r.interrupt?n:he):e(I)}function h(I){return I===o.charCodeAt(s++)?(t.consume(I),s===o.length?r.interrupt?n:Q:h):e(I)}function p(I){return cn(I)?(t.consume(I),o=String.fromCharCode(I),g):e(I)}function g(I){return I===null||I===47||I===62||Qe(I)?I!==47&&a&&Tu.includes(o.toLowerCase())?(i=1,r.interrupt?n(I):Q(I)):Jv.includes(o.toLowerCase())?(i=6,I===47?(t.consume(I),w):r.interrupt?n(I):Q(I)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?e(I):a?_(I):S(I)):I===45||zt(I)?(t.consume(I),o+=String.fromCharCode(I),g):e(I)}function w(I){return I===62?(t.consume(I),r.interrupt?n:Q):e(I)}function S(I){return He(I)?(t.consume(I),S):j(I)}function _(I){return I===47?(t.consume(I),j):I===58||I===95||cn(I)?(t.consume(I),k):He(I)?(t.consume(I),_):j(I)}function k(I){return I===45||I===46||I===58||I===95||zt(I)?(t.consume(I),k):P(I)}function P(I){return I===61?(t.consume(I),A):He(I)?(t.consume(I),P):_(I)}function A(I){return I===null||I===60||I===61||I===62||I===96?e(I):I===34||I===39?(t.consume(I),u=I,D):He(I)?(t.consume(I),A):(u=null,N(I))}function D(I){return I===null||se(I)?e(I):I===u?(t.consume(I),K):(t.consume(I),D)}function N(I){return I===null||I===34||I===39||I===60||I===61||I===62||I===96||Qe(I)?P(I):(t.consume(I),N)}function K(I){return I===47||I===62||He(I)?_(I):e(I)}function j(I){return I===62?(t.consume(I),X):e(I)}function X(I){return He(I)?(t.consume(I),X):I===null||se(I)?Q(I):e(I)}function Q(I){return I===45&&i===2?(t.consume(I),ne):I===60&&i===1?(t.consume(I),le):I===62&&i===4?(t.consume(I),Te):I===63&&i===3?(t.consume(I),he):I===93&&i===5?(t.consume(I),fe):se(I)&&(i===6||i===7)?t.check(O0,Te,ie)(I):I===null||se(I)?ie(I):(t.consume(I),Q)}function ie(I){return t.exit("htmlFlowData"),Y(I)}function Y(I){return I===null?C(I):se(I)?t.attempt({tokenize:J,partial:!0},Y,C)(I):(t.enter("htmlFlowData"),Q(I))}function J(I,tt,$e){return B;function B(U){return I.enter("lineEnding"),I.consume(U),I.exit("lineEnding"),z}function z(U){return r.parser.lazy[r.now().line]?$e(U):tt(U)}}function ne(I){return I===45?(t.consume(I),he):Q(I)}function le(I){return I===47?(t.consume(I),o="",de):Q(I)}function de(I){return I===62&&Tu.includes(o.toLowerCase())?(t.consume(I),Te):cn(I)&&o.length<8?(t.consume(I),o+=String.fromCharCode(I),de):Q(I)}function fe(I){return I===93?(t.consume(I),he):Q(I)}function he(I){return I===62?(t.consume(I),Te):I===45&&i===2?(t.consume(I),he):Q(I)}function Te(I){return I===null||se(I)?(t.exit("htmlFlowData"),C(I)):(t.consume(I),Te)}function C(I){return t.exit("htmlFlow"),n(I)}}function R0(t,n,e){return r;function r(i){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),t.attempt(Er,n,e)}}var Du={name:"htmlText",tokenize:H0};function H0(t,n,e){let r=this,i,a,o,s;return u;function u(C){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(C),l}function l(C){return C===33?(t.consume(C),c):C===47?(t.consume(C),N):C===63?(t.consume(C),A):cn(C)?(t.consume(C),X):e(C)}function c(C){return C===45?(t.consume(C),d):C===91?(t.consume(C),a="CDATA[",o=0,w):cn(C)?(t.consume(C),P):e(C)}function d(C){return C===45?(t.consume(C),f):e(C)}function f(C){return C===null||C===62?e(C):C===45?(t.consume(C),h):p(C)}function h(C){return C===null||C===62?e(C):p(C)}function p(C){return C===null?e(C):C===45?(t.consume(C),g):se(C)?(s=p,fe(C)):(t.consume(C),p)}function g(C){return C===45?(t.consume(C),Te):p(C)}function w(C){return C===a.charCodeAt(o++)?(t.consume(C),o===a.length?S:w):e(C)}function S(C){return C===null?e(C):C===93?(t.consume(C),_):se(C)?(s=S,fe(C)):(t.consume(C),S)}function _(C){return C===93?(t.consume(C),k):S(C)}function k(C){return C===62?Te(C):C===93?(t.consume(C),k):S(C)}function P(C){return C===null||C===62?Te(C):se(C)?(s=P,fe(C)):(t.consume(C),P)}function A(C){return C===null?e(C):C===63?(t.consume(C),D):se(C)?(s=A,fe(C)):(t.consume(C),A)}function D(C){return C===62?Te(C):A(C)}function N(C){return cn(C)?(t.consume(C),K):e(C)}function K(C){return C===45||zt(C)?(t.consume(C),K):j(C)}function j(C){return se(C)?(s=j,fe(C)):He(C)?(t.consume(C),j):Te(C)}function X(C){return C===45||zt(C)?(t.consume(C),X):C===47||C===62||Qe(C)?Q(C):e(C)}function Q(C){return C===47?(t.consume(C),Te):C===58||C===95||cn(C)?(t.consume(C),ie):se(C)?(s=Q,fe(C)):He(C)?(t.consume(C),Q):Te(C)}function ie(C){return C===45||C===46||C===58||C===95||zt(C)?(t.consume(C),ie):Y(C)}function Y(C){return C===61?(t.consume(C),J):se(C)?(s=Y,fe(C)):He(C)?(t.consume(C),Y):Q(C)}function J(C){return C===null||C===60||C===61||C===62||C===96?e(C):C===34||C===39?(t.consume(C),i=C,ne):se(C)?(s=J,fe(C)):He(C)?(t.consume(C),J):(t.consume(C),i=void 0,de)}function ne(C){return C===i?(t.consume(C),le):C===null?e(C):se(C)?(s=ne,fe(C)):(t.consume(C),ne)}function le(C){return C===62||C===47||Qe(C)?Q(C):e(C)}function de(C){return C===null||C===34||C===39||C===60||C===61||C===96?e(C):C===62||Qe(C)?Q(C):(t.consume(C),de)}function fe(C){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),Se(t,he,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function he(C){return t.enter("htmlTextData"),s(C)}function Te(C){return C===62?(t.consume(C),t.exit("htmlTextData"),t.exit("htmlText"),n):e(C)}}var Kr={name:"labelEnd",tokenize:z0,resolveTo:j0,resolveAll:U0},B0={tokenize:V0},K0={tokenize:q0},$0={tokenize:W0};function U0(t){let n=-1,e;for(;++n-1&&(o[0]=o[0].slice(r)),a>0&&o.push(t[i].slice(0,a))),o}function u_(t,n){let e=-1,r=[],i;for(;++ey_,contentInitial:()=>f_,disable:()=>b_,document:()=>d_,flow:()=>p_,flowInitial:()=>h_,insideSpan:()=>v_,string:()=>m_,text:()=>g_});var d_={[42]:Bt,[43]:Bt,[45]:Bt,[48]:Bt,[49]:Bt,[50]:Bt,[51]:Bt,[52]:Bt,[53]:Bt,[54]:Bt,[55]:Bt,[56]:Bt,[57]:Bt,[62]:Us},f_={[91]:xu},h_={[-2]:Ia,[-1]:Ia,[32]:Ia},p_={[35]:_u,[42]:$r,[45]:[Gs,$r],[60]:Mu,[61]:Gs,[95]:$r,[96]:Vs,[126]:Vs},m_={[38]:zs,[92]:js},g_={[-5]:La,[-4]:La,[-3]:La,[33]:Cu,[38]:zs,[42]:Aa,[60]:[bu,Du],[91]:Au,[92]:[ku,js],[93]:Kr,[95]:Aa,[96]:Eu},v_={null:[Aa,Qv]},y_={null:[42,95]},b_={null:[]};function ry(t={}){let n=Bv([Iu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:n,content:r(Vv),document:r(qv),flow:r(Gv),string:r(Xv),text:r(Zv)};return e;function r(i){return a;function a(o){return ny(e,i,o)}}}var iy=/[\0\t\n\r]/g;function ay(){let t=1,n="",e=!0,r;return i;function i(a,o,s){let u=[],l,c,d,f,h;for(a=n+a.toString(o),d=0,n="",e&&(a.charCodeAt(0)===65279&&d++,e=void 0);d13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)==65535||(e&65535)==65534||e>1114111?"\uFFFD":String.fromCharCode(e)}var w_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function sy(t){return t.replace(w_,E_)}function E_(t,n,e){if(n)return n;if(e.charCodeAt(0)===35){let i=e.charCodeAt(1),a=i===120||i===88;return Qs(e.slice(a?2:1),a?16:10)}return Ci(e)||t}var Ai={}.hasOwnProperty;function Pa(t){return!t||typeof t!="object"?"":Ai.call(t,"position")||Ai.call(t,"type")?ly(t.position):Ai.call(t,"start")||Ai.call(t,"end")?ly(t):Ai.call(t,"line")||Ai.call(t,"column")?Lu(t):""}function Lu(t){return cy(t&&t.line)+":"+cy(t&&t.column)}function ly(t){return Lu(t&&t.start)+"-"+Lu(t&&t.end)}function cy(t){return t&&typeof t=="number"?t:1}var Pu={}.hasOwnProperty,Xs=function(t,n,e){return typeof n!="string"&&(e=n,n=void 0),S_(e)(oy(ry(e).document().write(ay()(t,n,!0))))};function S_(t={}){let n=uy({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Mn),autolinkProtocol:ie,autolinkEmail:ie,atxHeading:u(Xt),blockQuote:u(rt),characterEscape:ie,characterReference:ie,codeFenced:u(gt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(gt,l),codeText:u(dt,l),codeTextData:ie,data:ie,codeFlowValue:ie,definition:u(un),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(dn),hardBreakEscape:u(Ct),hardBreakTrailing:u(Ct),htmlFlow:u(Zt,l),htmlFlowData:ie,htmlText:u(Zt,l),htmlTextData:ie,image:u(Kn),label:l,link:u(Mn),listItem:u($n),listItemValue:g,listOrdered:u(yn,p),listUnordered:u(yn),paragraph:u(fn),reference:z,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(Xt),strong:u(yt),thematicBreak:u(it)},exit:{atxHeading:d(),atxHeadingSequence:K,autolink:d(),autolinkEmail:Pe,autolinkProtocol:Ee,blockQuote:d(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:we,codeFenced:d(k),codeFencedFence:_,codeFencedFenceInfo:w,codeFencedFenceMeta:S,codeFlowValue:Y,codeIndented:d(P),codeText:d(fe),codeTextData:Y,data:Y,definition:d(),definitionDestinationString:N,definitionLabelString:A,definitionTitleString:D,emphasis:d(),hardBreakEscape:d(ne),hardBreakTrailing:d(ne),htmlFlow:d(le),htmlFlowData:Y,htmlText:d(de),htmlTextData:Y,image:d(Te),label:I,labelText:C,lineEnding:J,link:d(he),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:U,resourceDestinationString:tt,resourceTitleString:$e,resource:B,setextHeading:d(Q),setextHeadingLineSequence:X,setextHeadingText:j,strong:d(),thematicBreak:d()}},t.mdastExtensions||[]),e={};return r;function r(V){let re={type:"root",children:[]},ye=[re],Be=[],ft=[],Ke={stack:ye,tokenStack:Be,config:n,enter:c,exit:f,buffer:l,resume:h,setData:a,getData:o},Ue=-1;for(;++Ue0){let Ge=Be[Be.length-1];(Ge[1]||dy).call(Ke,void 0,Ge[0])}for(re.position={start:s(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:s(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},Ue=-1;++Ue=0;i--){if(!n&&/[`%\n\r]/.test(t[i])){t[i]==="`"&&(e++,e===3&&(n=!0,r=i-1));continue}else if(!n)return{};if(t[i]==="`"&&t[i-1]==="`"&&t[i-2]==="`"&&/[\r\n]/.test(t[i-3]))return JSON.parse(t.slice(i+1,r).trim())}}function My(t){return[xy,Li("date",`${t.getSetting("date-trigger")}{`,"}"),Li("dateLink",`${t.getSetting("date-trigger")}[[`,"]]"),Li("time",`${t.getSetting("time-trigger")}{`,"}"),Li("embedWikilink","![[","]]"),Li("wikilink","[[","]]"),Ey(),yy()]}function Dy(t){return[ky,Pi("date",(n,e)=>{!n||(e.date=n)}),Pi("dateLink",(n,e)=>{!n||(e.date=n)}),Pi("time",(n,e)=>{!n||(e.time=n)}),Pi("embedWikilink",(n,e)=>{if(!n)return;let r=Nr(n),i=t.app.metadataCache.getFirstLinkpathDest(r.root,t.file.path);e.fileAccessor={target:r.root,isEmbed:!0,stats:i==null?void 0:i.stat}}),Pi("wikilink",(n,e)=>{if(!n)return;let r=Nr(n),i=t.app.metadataCache.getFirstLinkpathDest(r.root,t.file.path);if(e.fileAccessor={target:r.root,isEmbed:!1},i){let a=eu(t,i);e.fileMetadata=a.fileMetadata,e.fileMetadataOrder=a.fileMetadataOrder}}),wy((n,e)=>{if(!n.url||/:\/\//.test(n.url)||!/.md$/.test(n.url))return;let r=t.app.metadataCache.getFirstLinkpathDest(decodeURIComponent(n.url),t.file.path);if(e)n.type="embedLink",n.fileAccessor={target:decodeURIComponent(n.url),isEmbed:!0,stats:r.stat};else if(n.fileAccessor={target:decodeURIComponent(n.url),isEmbed:!1},r){let i=eu(t,r);n.fileMetadata=i.fileMetadata,n.fileMetadataOrder=i.fileMetadataOrder}}),Sy(),by()]}function Cy(t,n){let e=L_(n),i={...P_(n)},a={};return Object.keys(e).forEach(o=>{o===ln?(i[o]=e[o],a[o]=e[o]):bv[o]?i[o]=e[o]:a[o]=e[o]}),t.compileSettings(i),{settings:i,frontmatter:a,ast:Xs(n,{extensions:[Nu(["yaml"]),...My(t)],mdastExtensions:[my(["yaml"]),...Dy(t)]})}}function Hu(t,n){return Xs(n,{extensions:My(t),mdastExtensions:Dy(t)})}function nl(t,n){let e=pu(n.children[0]),r=mu(t,e);(r==="[ ]"||r==="[x]")&&(r="");let i=r,a={titleRaw:r.replace(/
/g,` `),blockId:void 0,title:"",titleSearch:"",metadata:{dateStr:void 0,date:void 0,time:void 0,timeStr:void 0,tags:[],fileAccessor:void 0,file:void 0,fileMetadata:void 0,fileMetadataOrder:void 0},dom:void 0,isComplete:!!n.checked};return Iv(n,o=>o.type!=="paragraph",o=>{let s=o;if(s.type==="blockid")return a.blockId=s.value,!0;if(s.type==="hashtag")return a.metadata.tags||(a.metadata.tags=[]),a.metadata.tags.push("#"+s.value),i=$s(i,{start:o.position.start.offset-e.start,end:o.position.end.offset-e.start}),!0;if(s.type==="date"||s.type==="dateLink")return a.metadata.dateStr=s.date,i=$s(i,{start:o.position.start.offset-e.start,end:o.position.end.offset-e.start}),!0;if(s.type==="time")return a.metadata.timeStr=s.time,i=$s(i,{start:o.position.start.offset-e.start,end:o.position.end.offset-e.start}),!0;if(s.type==="embedWikilink")return a.metadata.fileAccessor=s.fileAccessor,!0;if(s.type==="wikilink"||s.type==="link"&&s.fileAccessor)return a.metadata.fileAccessor=s.fileAccessor,a.metadata.fileMetadata=s.fileMetadata,a.metadata.fileMetadataOrder=s.fileMetadataOrder,!0;if(s.type==="embedLink")return a.metadata.fileAccessor=s.fileAccessor,!0}),a.title=Rv(i).replace(/
/g,` `),a}function O_(t,n,e){if(t.type!=="heading"||Ta(t,{includeImageAlt:!1})!==F("Archive"))return!1;let r=Lv(n,e);return r&&r.type==="thematicBreak"}function Iy(t,n,e,r,i){let a=[],o=[];return r.children.forEach((s,u)=>{if(s.type==="heading"){let l=O_(s,r.children,u),c=pu(s),d=mu(i,c),f=!1,h=Pv(r.children,u,"list",p=>{if(p.type==="heading")return!1;if(p.type==="paragraph"){let g=Ta(p);if(g.startsWith("%% kanban:settings"))return!1;if(g===F("Complete"))return f=!0,!0}return!0});if(l&&h){o.push(...h.children.map(p=>({...$o,id:We(),data:nl(i,p)})));return}h?a.push({...pr,children:h.children.map(p=>({...$o,id:We(),data:nl(i,p)})),id:We(),data:{title:d,shouldMarkItemsComplete:f}}):a.push({...pr,children:[],id:We(),data:{title:d,shouldMarkItemsComplete:f}})}}),{...Uo,id:t.file.path,children:a,data:{settings:n,frontmatter:e,archive:o,isSearching:!1,errors:[]}}}async function Bu(t,n,e){let r=`- [${n.data.isComplete?"x":" "}] ${e.replace(/(\r\n|\n)/g,"
").trim()}${n.data.blockId?` ^${n.data.blockId}`:""}`,i=Hu(t,r),a=nl(r,i.children[0].children[0]),o=(0,tl.default)(n,{data:{$set:a}});try{await Ma(t,o)}catch(s){console.error(s)}return o}async function Ly(t,n,e,r){let i=`- [${e?"x":" "}] ${n.trim().replace(/(\r\n|\n)/g,"
")}`,a=Hu(t,i),o=nl(i,a.children[0].children[0]);o.forceEditMode=!!r;let s={...$o,id:We(),data:o};try{await Ma(t,s)}catch(u){console.error(u)}return s}async function Py(t,n){try{return(0,tl.default)(n,{children:{$set:await Promise.all(n.children.map(async e=>{try{return(0,tl.default)(e,{children:{$set:await Promise.all(e.children.map(r=>Bu(t,r,r.data.titleRaw)))}})}catch(r){throw t.setError(r),r}}))}})}catch(e){throw t.setError(e),e}}function Oy(t){return`- [${t.data.isComplete?"x":" "}] ${t.data.titleRaw.replace(/(\r\n|\n)/g,"
").trim()}${t.data.blockId?` ^${t.data.blockId}`:""}`}function N_(t){let n=[];return n.push(`## ${t.data.title}`),n.push(""),t.data.shouldMarkItemsComplete&&n.push(tv),t.children.forEach(e=>{n.push(Oy(e))}),n.push(""),n.push(""),n.push(""),n.join(` `)}function F_(t){if(t.length){let n=[nv,"",`## ${F("Archive")}`,""];return t.forEach(e=>{n.push(Oy(e))}),n.join(` `)}return""}function Ny(t){let n=t.children.reduce((r,i)=>r+N_(i),"");return["---","",(0,Ay.stringifyYaml)(t.data.frontmatter),"---","",""].join(` `)+n+F_(t.data.archive)+rv(t.data.settings)}var Ku=class{constructor(n){this.stateManager=n}newItem(n,e,r){return Ly(this.stateManager,n,e,r)}updateItemContent(n,e){return Bu(this.stateManager,n,e)}boardToMd(n){return Ny(n)}mdToBoard(n){let{ast:e,settings:r,frontmatter:i}=Cy(this.stateManager,n),a=Iy(this.stateManager,r,i,e,n);if(this.stateManager.state){let s=uu(this.stateManager.state,a).filter(l=>["/id","/dom","/date","/time","/titleSearch","/file"].every(c=>!l.path.endsWith(c))),u=(0,Fy.immutableJSONPatch)(this.stateManager.state,s);return Fv(this.stateManager,u,s)}return Nv(this.stateManager,a)}reparseBoard(){return Py(this.stateManager,this.stateManager.state)}};var $u=class{constructor(n,e,r,i,a){this.stateReceivers=[];this.settingsNotifiers=new Map;this.views=new Map;this.ids=[];this.compiledSettings={};this.newBoardPromise=null;this.getSetting=(n,e)=>e&&e[n]!==void 0?e[n]:this.compiledSettings&&this.compiledSettings[n]!==void 0?this.compiledSettings[n]:this.getSettingRaw(n);this.getSettingRaw=(n,e)=>{var r,i;return e&&e[n]!==void 0?e[n]:((i=(r=this.state)==null?void 0:r.data)==null?void 0:i.settings)&&this.state.data.settings[n]!==void 0?this.state.data.settings[n]:this.getGlobalSetting(n)};this.getGlobalSetting=n=>{let e=this.getGlobalSettings();return e&&e[n]!==void 0?e[n]:null};this.app=n,this.file=e.file,this.onEmpty=i,this.getGlobalSettings=a,this.parser=new Ku(this),this.registerView(e,r,!0)}getAView(){let n=this.ids[0];return this.views.get(n)}registerView(n,e,r){this.views.has(n.id)||(this.ids.push(n.id),this.views.set(n.id,n),n.initHeaderButtons()),r&&(this.newBoardPromise!==null?this.newBoardPromise.then(()=>this.newBoard(e)):this.newBoardPromise=this.newBoard(e).then(()=>{this.newBoardPromise=null}).catch(i=>{console.error(i),this.setError(i)}))}unregisterView(n){this.views.has(n.id)&&(this.ids.remove(n.id),this.views.delete(n.id),this.views.size===0&&this.onEmpty())}buildSettingRetrievers(){return{getGlobalSettings:this.getGlobalSettings,getGlobalSetting:this.getGlobalSetting,getSetting:this.getSetting}}async newBoard(n){try{await this.setState(await this.getParsedBoard(n),!1)}catch(e){this.setError(e)}}saveToDisk(){if(this.state.data.errors.length>0)return;let n=this.getAView(),e=this.parser.boardToMd(this.state);n.requestSaveToDisk(e),this.views.forEach(r=>{r.data=e})}async forceRefresh(){if(this.state)try{this.compileSettings(),this.state=await this.parser.reparseBoard(),this.stateReceivers.forEach(n=>n(this.state)),this.views.forEach(n=>n.initHeaderButtons())}catch(n){console.error(n),this.setError(n)}}async setState(n,e=!0){var r;try{let i=(r=this.state)==null?void 0:r.data.settings,a=typeof n=="function"?await n(this.state):n,o=a==null?void 0:a.data.settings;i&&o&&av(i,o)?(this.state=(0,Ni.default)(this.state,{data:{settings:{$set:o}}}),this.compileSettings(),this.state=await this.parser.reparseBoard()):(this.state=a,this.compileSettings()),this.views.forEach(s=>s.initHeaderButtons()),e&&this.saveToDisk(),this.stateReceivers.forEach(s=>s(this.state)),i!==o&&o&&this.settingsNotifiers.forEach((s,u)=>{(!i&&o||i[u]!==o[u])&&s.forEach(l=>l())})}catch(i){console.error(i),this.setError(i)}}useState(){let[n,e]=v.useState(this.state);return v.useEffect(()=>(this.stateReceivers.push(r=>{e(r)}),e(this.state),()=>{this.stateReceivers.remove(e)}),[]),n}useSetting(n){let[e,r]=v.useState(this.getSetting(n));return v.useEffect(()=>{let i=()=>{r(this.getSetting(n))};return this.settingsNotifiers.has(n)?this.settingsNotifiers.get(n).push(i):this.settingsNotifiers.set(n,[i]),()=>{this.settingsNotifiers.get(n).remove(i)}},[]),e}compileSettings(n){var s,u,l,c,d;let e=this.getGlobalSetting("metadata-keys")||[],r=this.getSettingRaw("metadata-keys",n)||[],i=this.getSettingRaw("date-format",n)||ti(this.app),a=this.getSettingRaw("time-format",n)||Vi(this.app),o=this.getSettingRaw("prepend-archive-format",n)||`${i} ${a}`;this.compiledSettings={"date-format":i,"date-display-format":this.getSettingRaw("date-display-format",n)||i,"date-trigger":this.getSettingRaw("date-trigger",n)||Ds,"time-format":a,"time-trigger":this.getSettingRaw("time-trigger",n)||Cs,"link-date-to-daily-note":this.getSettingRaw("link-date-to-daily-note",n),"hide-date-in-title":this.getSettingRaw("hide-date-in-title",n),"hide-tags-in-title":this.getSettingRaw("hide-tags-in-title",n),"metadata-keys":[...e,...r],"prepend-archive-separator":this.getSettingRaw("prepend-archive-separator")||"","prepend-archive-format":o,"show-add-list":(s=this.getSettingRaw("show-add-list",n))!=null?s:!0,"show-archive-all":(u=this.getSettingRaw("show-archive-all",n))!=null?u:!0,"show-view-as-markdown":(l=this.getSettingRaw("show-view-as-markdown",n))!=null?l:!0,"show-board-settings":(c=this.getSettingRaw("show-board-settings",n))!=null?c:!0,"show-search":(d=this.getSettingRaw("show-search",n))!=null?d:!0}}async getParsedBoard(n){let e=n.trim(),r={...Uo,id:this.file.path,children:[],data:{archive:[],settings:{"kanban-plugin":"basic"},frontmatter:{},isSearching:!1,errors:[]}};try{e&&(r=await this.parser.mdToBoard(e))}catch(i){console.error(i),r=(0,Ni.default)(r,{data:{errors:{$push:[{description:i.toString(),stack:i.stack}]}}})}return r}setError(n){this.setState((0,Ni.default)(this.state,{data:{errors:{$push:[{description:n.toString(),stack:n.stack}]}}}),!1)}onFileMetadataChange(){this.reparseBoardFromMd()}async reparseBoardFromMd(){try{this.setState(await this.getParsedBoard(this.getAView().data),!1)}catch(n){console.error(n),this.setError(n)}}async archiveCompletedCards(){let n=this.state,e=[],r=!!this.getSetting("prepend-archive-date"),i=this.getSetting("prepend-archive-separator"),a=this.getSetting("prepend-archive-format"),o=u=>{let l=[(0,Ry.moment)().format(a)];i&&l.push(i),l.push(u.data.titleRaw);let c=l.join(" ");return this.parser.updateItemContent(u,c)},s=n.children.map(u=>(0,Ni.default)(u,{children:{$set:u.children.filter(l=>((u.data.shouldMarkItemsComplete||l.data.isComplete)&&e.push(l),!l.data.isComplete&&!u.data.shouldMarkItemsComplete))}}));this.app.workspace.trigger("kanban:board-cards-archived",this.file,e);try{this.setState((0,Ni.default)(n,{children:{$set:s},data:{archive:{$push:r?await Promise.all(e.map(u=>o(u))):e}}}))}catch(u){this.setError(u)}}getNewItem(n,e,r){return this.parser.newItem(n,e,r)}updateItemContent(n,e){return this.parser.updateItemContent(n,e)}};var Uu=class extends vn.Plugin{constructor(){super(...arguments);this.settings={};this.kanbanFileModes={};this.stateManagers=new Map;this.viewMap=new Map;this._loaded=!1;this.viewStateReceivers=[]}async loadSettings(){this.settings=Object.assign({},await this.loadData())}async saveSettings(){await this.saveData(this.settings)}onunload(){this.stateManagers.clear(),this.viewStateReceivers.forEach(e=>e(this.getKanbanViews())),this.app.workspace.getLeavesOfType(Tn).forEach(e=>{this.setMarkdownView(e)}),this.app.workspace.unregisterHoverLinkSource(ln),this.appEl&&(v.unmountComponentAtNode(this.appEl),this.appEl.detach())}async onload(){await this.loadSettings(),this.settingsTab=new iu(this,{onSettingsChange:async n=>{this.settings=n,await this.saveSettings(),this.stateManagers.forEach(e=>{e.forceRefresh()})}}),this.addSettingTab(this.settingsTab),this.registerView(Tn,n=>new Rr(n,this)),this.registerMonkeyPatches(),this.registerCommands(),this.registerEvents(),this.mount()}getKanbanViews(){return Array.from(this.viewMap.values())}getKanbanView(n){return this.viewMap.get(n)}getStateManager(n){return this.stateManagers.get(n)}getStateManagerFromViewID(n){return this.stateManagers.get(this.getKanbanView(n).file)}useViewState(){let[n,e]=v.useState(this.getKanbanViews());return v.useEffect(()=>(this.viewStateReceivers.push(e),()=>{this.viewStateReceivers.remove(e)}),[]),n}addView(n,e,r){this.viewMap.has(n.id)||this.viewMap.set(n.id,n);let i=n.file;this.stateManagers.has(i)?this.stateManagers.get(i).registerView(n,e,r):this.stateManagers.set(i,new $u(this.app,n,e,()=>this.stateManagers.delete(i),()=>this.settings)),this.viewStateReceivers.forEach(a=>a(this.getKanbanViews()))}removeView(n){let e=n.file;this.viewMap.has(n.id)&&this.viewMap.delete(n.id),this.stateManagers.has(e)&&(this.stateManagers.get(e).unregisterView(n),this.viewStateReceivers.forEach(r=>r(this.getKanbanViews())))}handleViewFileRename(n,e){let r=`${n.leaf.id}:::${e}`;this.viewMap.has(r)&&this.viewMap.delete(r),this.viewMap.has(n.id)||this.viewMap.set(n.id,n)}mount(){var n;v.render(Zg(this),(n=this.appEl)!=null?n:this.appEl=document.body.createDiv())}async setMarkdownView(n,e=!0){await n.setViewState({type:"markdown",state:n.view.getState(),popstate:!0},{focus:e})}async setKanbanView(n){await n.setViewState({type:Tn,state:n.view.getState(),popstate:!0})}async newKanban(n){var r;let e=n||this.app.fileManager.getNewFileParent(((r=this.app.workspace.getActiveFile())==null?void 0:r.path)||"");try{let i=await this.app.fileManager.createNewMarkdownFile(e,F("Untitled Kanban"));await this.app.vault.modify(i,Zc),await this.app.workspace.activeLeaf.setViewState({type:Tn,state:{file:i.path}})}catch(i){console.error("Error creating kanban board:",i)}}registerEvents(){this.registerEvent(this.app.workspace.on("file-menu",(e,r)=>{r instanceof vn.TFolder&&e.addItem(i=>{i.setTitle(F("New kanban board")).setIcon(Is).onClick(()=>this.newKanban(r))})})),this.registerEvent(this.app.vault.on("rename",(e,r)=>{this.app.workspace.getLeavesOfType(Tn).forEach(a=>{a.view.handleRename(e.path,r)})}));let n=(0,vn.debounce)(e=>{this.stateManagers.forEach(r=>{r.file!==e&&r.onFileMetadataChange()})},2e3,!0);this.registerEvent(this.app.vault.on("modify",e=>{e instanceof vn.TFile&&n(e)})),this.registerEvent(this.app.metadataCache.on("changed",e=>{n(e)})),this.registerEvent(this.app.metadataCache.on("dataview:metadata-change",(e,r)=>{n(r)})),this.registerEvent(this.app.metadataCache.on("dataview:api-ready",()=>{this.stateManagers.forEach(e=>{e.forceRefresh()})})),this.app.workspace.registerHoverLinkSource(ln,{display:"Kanban",defaultMod:!0})}registerCommands(){this.addCommand({id:"create-new-kanban-board",name:F("Create new board"),callback:()=>this.newKanban()}),this.addCommand({id:"archive-completed-cards",name:F("Archive completed cards in active board"),checkCallback:n=>{let e=this.app.workspace.getActiveViewOfType(Rr);if(!e)return!1;if(n)return!0;this.stateManagers.get(e.file).archiveCompletedCards()}}),this.addCommand({id:"toggle-kanban-view",name:F("Toggle between Kanban and markdown mode"),checkCallback:n=>{let e=this.app.workspace.getActiveFile();if(!e)return!1;let r=this.app.metadataCache.getFileCache(e),i=!!(r==null?void 0:r.frontmatter)&&!!r.frontmatter[ln];if(n)return i;let a=this.app.workspace.activeLeaf;(a==null?void 0:a.view)&&a.view instanceof Rr?(this.kanbanFileModes[a.id||e.path]="markdown",this.setMarkdownView(a)):i&&(this.kanbanFileModes[a.id||e.path]=Tn,this.setKanbanView(a))}}),this.addCommand({id:"convert-to-kanban",name:F("Convert empty note to Kanban"),checkCallback:n=>{let e=this.app.workspace.getActiveFile(),r=this.app.workspace.activeLeaf;if(!e||!r)return!1;let i=e.stat.size===0;if(n)return i;i&&this.app.vault.modify(e,Zc).then(()=>{this.setKanbanView(r)}).catch(a=>console.error(a))}}),this.addCommand({id:"add-kanban-lane",name:F("Add a list"),checkCallback:n=>{let e=this.app.workspace.activeLeaf;if(n)return e.view instanceof Rr;e.view.emitter.emit("showLaneForm",void 0)}})}registerMonkeyPatches(){let n=this;this.app.workspace.onLayoutReady(()=>{this.register(Fa(this.app.commands,{executeCommandById(e){return function(r){let i=n.app.workspace.getActiveViewOfType(Rr);return i&&i.emitter.emit("hotkey",r),e.call(this,r)}}}))}),this.register(Fa(vn.WorkspaceLeaf.prototype,{detach(e){return function(){var i;let r=(i=this.view)==null?void 0:i.getState();return(r==null?void 0:r.file)&&n.kanbanFileModes[this.id||r.file]&&delete n.kanbanFileModes[this.id||r.file],e.apply(this)}},setViewState(e){return function(r,...i){var a;if(n._loaded&&r.type==="markdown"&&((a=r.state)==null?void 0:a.file)&&n.kanbanFileModes[this.id||r.state.file]!=="markdown"){let o=n.app.metadataCache.getCache(r.state.file);if((o==null?void 0:o.frontmatter)&&o.frontmatter[ln]){let s={...r,type:Tn};return n.kanbanFileModes[r.state.file]=Tn,e.apply(this,[s,...i])}}return e.apply(this,[r,...i])}}})),this.register(Fa(vn.MarkdownView.prototype,{onMoreOptionsMenu(e){return function(r){let i=this.file,a=i?n.app.metadataCache.getFileCache(i):null;if(!i||!(a==null?void 0:a.frontmatter)||!a.frontmatter[ln])return e.call(this,r);r.addItem(o=>{o.setTitle(F("Open as kanban board")).setIcon(Is).onClick(()=>{n.kanbanFileModes[this.leaf.id||i.path]=Tn,n.setKanbanView(this.leaf)})}).addSeparator(),e.call(this,r)}}}))}};0&&(module.exports={}); /*! * Fuse.js v3.4.5 - Lightweight fuzzy-search (http://fusejs.io) * * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ /*! * https://github.com/Starcounter-Jack/JSON-Patch * (c) 2017 Joachim Wester * MIT license */ /*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /*! choices.js v9.0.1 | © 2019 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ /*!*************************************************** * mark.js v8.11.1 * https://markjs.io/ * Copyright (c) 2014–2018, Julian Kühnel * Released under the MIT license https://git.io/vwTVl *****************************************************/