Socket
Socket
Sign inDemoInstall

flatpickr

Package Overview
Dependencies
Maintainers
2
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flatpickr - npm Package Compare versions

Comparing version 4.6.3 to 4.6.5

dist/l10n/uz_latn.d.ts

4

dist/flatpickr.min.js

@@ -1,2 +0,2 @@

/* flatpickr v4.6.3,, @license MIT */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).flatpickr=t()}(this,function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],n={_disable:[],_enable:[],allowInput:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enable:[],enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},a={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(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},i=function(e){return("0"+e).slice(-2)},o=function(e){return!0===e?1:0};function r(e,t,n){var a;return void 0===n&&(n=!1),function(){var i=this,o=arguments;null!==a&&clearTimeout(a),a=window.setTimeout(function(){a=null,n||e.apply(i,o)},t),n&&!a&&e.apply(i,o)}}var l=function(e){return e instanceof Array?e:[e]};function c(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function d(e,t,n){var a=window.document.createElement(e);return t=t||"",n=n||"",a.className=t,void 0!==n&&(a.textContent=n),a}function s(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function u(e,t){var n=d("div","numInputWrapper"),a=d("input","numInput "+e),i=d("span","arrowUp"),o=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==t)for(var r in t)a.setAttribute(r,t[r]);return n.appendChild(a),n.appendChild(i),n.appendChild(o),n}var f=function(){},m=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},g={D:f,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*o(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var a=parseInt(t),i=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+n.firstDayOfWeek),i},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:f,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:f,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},p={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})"},h={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[h.w(e,t,n)]},F:function(e,t,n){return m(h.n(e,t,n)-1,!1,t)},G:function(e,t,n){return i(h.h(e,t,n))},H:function(e){return i(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[o(e.getHours()>11)]},M:function(e,t){return m(e.getMonth(),!0,t)},S:function(e){return i(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return e.getFullYear()},d:function(e){return i(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return i(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return i(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},v=function(e){var t=e.config,i=void 0===t?n:t,o=e.l10n,r=void 0===o?a:o;return function(e,t,n){var a=n||r;return void 0!==i.formatDate?i.formatDate(e,t,a):t.split("").map(function(t,n,o){return h[t]&&"\\"!==o[n-1]?h[t](e,a,i):"\\"!==t?t:""}).join("")}},D=function(e){var t=e.config,i=void 0===t?n:t,o=e.l10n,r=void 0===o?a:o;return function(e,t,a,o){if(0===e||e){var l,c=o||r,d=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var s=t||(i||n).dateFormat,u=String(e).trim();if("today"===u)l=new Date,a=!0;else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else if(i&&i.parseDate)l=i.parseDate(e,s);else{l=i&&i.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var f=void 0,m=[],h=0,v=0,D="";h<s.length;h++){var w=s[h],b="\\"===w,C="\\"===s[h-1]||b;if(p[w]&&!C){D+=p[w];var M=new RegExp(D).exec(e);M&&(f=!0)&&m["Y"!==w?"push":"unshift"]({fn:g[w],val:M[++v]})}else b||(D+=".");m.forEach(function(e){var t=e.fn,n=e.val;return l=t(l,n,c)||l})}l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===a&&l.setHours(0,0,0,0),l;i.errorHandler(new Error("Invalid date provided: "+d))}}};function w(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var b=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},C={DAY:864e5};"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(t){t&&Object.keys(t).forEach(function(n){return e[n]=t[n]})},i=0,o=t;i<o.length;i++){a(o[i])}return e});var M=300;function y(f,g){var h={config:e({},n,E.defaultConfig),l10n:a};function y(e){return e.bind(h)}function x(){var e=h.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==h.calendarContainer&&(h.calendarContainer.style.visibility="hidden",h.calendarContainer.style.display="block"),void 0!==h.daysContainer){var t=(h.days.offsetWidth+1)*e.showMonths;h.daysContainer.style.width=t+"px",h.calendarContainer.style.width=t+(void 0!==h.weekWrapper?h.weekWrapper.offsetWidth:0)+"px",h.calendarContainer.style.removeProperty("visibility"),h.calendarContainer.style.removeProperty("display")}})}function T(e){0===h.selectedDates.length&&ie(),void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,n=e.target;void 0!==h.amPM&&e.target===h.amPM&&(h.amPM.textContent=h.l10n.amPM[o(h.amPM.textContent===h.l10n.amPM[0])]);var a=parseFloat(n.getAttribute("min")),r=parseFloat(n.getAttribute("max")),l=parseFloat(n.getAttribute("step")),c=parseInt(n.value,10),d=e.delta||(t?38===e.which?1:-1:0),s=c+l*d;if(void 0!==n.value&&2===n.value.length){var u=n===h.hourElement,f=n===h.minuteElement;s<a?(s=r+s+o(!u)+(o(u)&&o(!h.amPM)),f&&j(void 0,-1,h.hourElement)):s>r&&(s=n===h.hourElement?s-r-o(!h.amPM):a,f&&j(void 0,1,h.hourElement)),h.amPM&&u&&(1===l?s+c===23:Math.abs(s-c)>l)&&(h.amPM.textContent=h.l10n.amPM[o(h.amPM.textContent===h.l10n.amPM[0])]),n.value=i(s)}}(e);var t=h._input.value;k(),we(),h._input.value!==t&&h._debouncedChange()}function k(){if(void 0!==h.hourElement&&void 0!==h.minuteElement){var e,t,n=(parseInt(h.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(h.minuteElement.value,10)||0)%60,i=void 0!==h.secondElement?(parseInt(h.secondElement.value,10)||0)%60:0;void 0!==h.amPM&&(e=n,t=h.amPM.textContent,n=e%12+12*o(t===h.l10n.amPM[1]));var r=void 0!==h.config.minTime||h.config.minDate&&h.minDateHasTime&&h.latestSelectedDateObj&&0===w(h.latestSelectedDateObj,h.config.minDate,!0);if(void 0!==h.config.maxTime||h.config.maxDate&&h.maxDateHasTime&&h.latestSelectedDateObj&&0===w(h.latestSelectedDateObj,h.config.maxDate,!0)){var l=void 0!==h.config.maxTime?h.config.maxTime:h.config.maxDate;(n=Math.min(n,l.getHours()))===l.getHours()&&(a=Math.min(a,l.getMinutes())),a===l.getMinutes()&&(i=Math.min(i,l.getSeconds()))}if(r){var c=void 0!==h.config.minTime?h.config.minTime:h.config.minDate;(n=Math.max(n,c.getHours()))===c.getHours()&&(a=Math.max(a,c.getMinutes())),a===c.getMinutes()&&(i=Math.max(i,c.getSeconds()))}O(n,a,i)}}function I(e){var t=e||h.latestSelectedDateObj;t&&O(t.getHours(),t.getMinutes(),t.getSeconds())}function S(){var e=h.config.defaultHour,t=h.config.defaultMinute,n=h.config.defaultSeconds;if(void 0!==h.config.minDate){var a=h.config.minDate.getHours(),i=h.config.minDate.getMinutes();(e=Math.max(e,a))===a&&(t=Math.max(i,t)),e===a&&t===i&&(n=h.config.minDate.getSeconds())}if(void 0!==h.config.maxDate){var o=h.config.maxDate.getHours(),r=h.config.maxDate.getMinutes();(e=Math.min(e,o))===o&&(t=Math.min(r,t)),e===o&&t===r&&(n=h.config.maxDate.getSeconds())}O(e,t,n)}function O(e,t,n){void 0!==h.latestSelectedDateObj&&h.latestSelectedDateObj.setHours(e%24,t,n||0,0),h.hourElement&&h.minuteElement&&!h.isMobile&&(h.hourElement.value=i(h.config.time_24hr?e:(12+e)%12+12*o(e%12==0)),h.minuteElement.value=i(t),void 0!==h.amPM&&(h.amPM.textContent=h.l10n.amPM[o(e>=12)]),void 0!==h.secondElement&&(h.secondElement.value=i(n)))}function _(e){var t=parseInt(e.target.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&Q(t)}function F(e,t,n,a){return t instanceof Array?t.forEach(function(t){return F(e,t,n,a)}):e instanceof Array?e.forEach(function(e){return F(e,t,n,a)}):(e.addEventListener(t,n,a),void h._handlers.push({element:e,event:t,handler:n,options:a}))}function N(e){return function(t){1===t.which&&e(t)}}function Y(){ge("onChange")}function A(e,t){var n=void 0!==e?h.parseDate(e):h.latestSelectedDateObj||(h.config.minDate&&h.config.minDate>h.now?h.config.minDate:h.config.maxDate&&h.config.maxDate<h.now?h.config.maxDate:h.now),a=h.currentYear,i=h.currentMonth;try{void 0!==n&&(h.currentYear=n.getFullYear(),h.currentMonth=n.getMonth())}catch(e){e.message="Invalid date supplied: "+n,h.config.errorHandler(e)}t&&h.currentYear!==a&&(ge("onYearChange"),K()),!t||h.currentYear===a&&h.currentMonth===i||ge("onMonthChange"),h.redraw()}function P(e){~e.target.className.indexOf("arrow")&&j(e,e.target.classList.contains("arrowUp")?1:-1)}function j(e,t,n){var a=e&&e.target,i=n||a&&a.parentNode&&a.parentNode.firstChild,o=pe("increment");o.delta=t,i&&i.dispatchEvent(o)}function H(e,t,n,a){var i=X(t,!0),o=d("span","flatpickr-day "+e,t.getDate().toString());return o.dateObj=t,o.$i=a,o.setAttribute("aria-label",h.formatDate(t,h.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===w(t,h.now)&&(h.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,he(t)&&(o.classList.add("selected"),h.selectedDateElem=o,"range"===h.config.mode&&(c(o,"startRange",h.selectedDates[0]&&0===w(t,h.selectedDates[0],!0)),c(o,"endRange",h.selectedDates[1]&&0===w(t,h.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===h.config.mode&&function(e){return!("range"!==h.config.mode||h.selectedDates.length<2)&&w(e,h.selectedDates[0])>=0&&w(e,h.selectedDates[1])<=0}(t)&&!he(t)&&o.classList.add("inRange"),h.weekNumbers&&1===h.config.showMonths&&"prevMonthDay"!==e&&n%7==1&&h.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+h.config.getWeek(t)+"</span>"),ge("onDayCreate",o),o}function L(e){e.focus(),"range"===h.config.mode&&ne(e)}function W(e){for(var t=e>0?0:h.config.showMonths-1,n=e>0?h.config.showMonths:-1,a=t;a!=n;a+=e)for(var i=h.daysContainer.children[a],o=e>0?0:i.children.length-1,r=e>0?i.children.length:-1,l=o;l!=r;l+=e){var c=i.children[l];if(-1===c.className.indexOf("hidden")&&X(c.dateObj))return c}}function R(e,t){var n=ee(document.activeElement||document.body),a=void 0!==e?e:n?document.activeElement:void 0!==h.selectedDateElem&&ee(h.selectedDateElem)?h.selectedDateElem:void 0!==h.todayDateElem&&ee(h.todayDateElem)?h.todayDateElem:W(t>0?1:-1);return void 0===a?h._input.focus():n?void function(e,t){for(var n=-1===e.className.indexOf("Month")?e.dateObj.getMonth():h.currentMonth,a=t>0?h.config.showMonths:-1,i=t>0?1:-1,o=n-h.currentMonth;o!=a;o+=i)for(var r=h.daysContainer.children[o],l=n-h.currentMonth===o?e.$i+t:t<0?r.children.length-1:0,c=r.children.length,d=l;d>=0&&d<c&&d!=(t>0?c:-1);d+=i){var s=r.children[d];if(-1===s.className.indexOf("hidden")&&X(s.dateObj)&&Math.abs(e.$i-d)>=Math.abs(t))return L(s)}h.changeMonth(i),R(W(i),0)}(a,t):L(a)}function B(e,t){for(var n=(new Date(e,t,1).getDay()-h.l10n.firstDayOfWeek+7)%7,a=h.utils.getDaysInMonth((t-1+12)%12),i=h.utils.getDaysInMonth(t),o=window.document.createDocumentFragment(),r=h.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",s=a+1-n,u=0;s<=a;s++,u++)o.appendChild(H(l,new Date(e,t-1,s),s,u));for(s=1;s<=i;s++,u++)o.appendChild(H("",new Date(e,t,s),s,u));for(var f=i+1;f<=42-n&&(1===h.config.showMonths||u%7!=0);f++,u++)o.appendChild(H(c,new Date(e,t+1,f%i),f,u));var m=d("div","dayContainer");return m.appendChild(o),m}function J(){if(void 0!==h.daysContainer){s(h.daysContainer),h.weekNumbers&&s(h.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<h.config.showMonths;t++){var n=new Date(h.currentYear,h.currentMonth,1);n.setMonth(h.currentMonth+t),e.appendChild(B(n.getFullYear(),n.getMonth()))}h.daysContainer.appendChild(e),h.days=h.daysContainer.firstChild,"range"===h.config.mode&&1===h.selectedDates.length&&ne()}}function K(){if(!(h.config.showMonths>1||"dropdown"!==h.config.monthSelectorType)){var e=function(e){return!(void 0!==h.config.minDate&&h.currentYear===h.config.minDate.getFullYear()&&e<h.config.minDate.getMonth())&&!(void 0!==h.config.maxDate&&h.currentYear===h.config.maxDate.getFullYear()&&e>h.config.maxDate.getMonth())};h.monthsDropdownContainer.tabIndex=-1,h.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var n=d("option","flatpickr-monthDropdown-month");n.value=new Date(h.currentYear,t).getMonth().toString(),n.textContent=m(t,h.config.shorthandCurrentMonth,h.l10n),n.tabIndex=-1,h.currentMonth===t&&(n.selected=!0),h.monthsDropdownContainer.appendChild(n)}}}function U(){var e,t=d("div","flatpickr-month"),n=window.document.createDocumentFragment();h.config.showMonths>1||"static"===h.config.monthSelectorType?e=d("span","cur-month"):(h.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),F(h.monthsDropdownContainer,"change",function(e){var t=e.target,n=parseInt(t.value,10);h.changeMonth(n-h.currentMonth),ge("onMonthChange")}),K(),e=h.monthsDropdownContainer);var a=u("cur-year",{tabindex:"-1"}),i=a.getElementsByTagName("input")[0];i.setAttribute("aria-label",h.l10n.yearAriaLabel),h.config.minDate&&i.setAttribute("min",h.config.minDate.getFullYear().toString()),h.config.maxDate&&(i.setAttribute("max",h.config.maxDate.getFullYear().toString()),i.disabled=!!h.config.minDate&&h.config.minDate.getFullYear()===h.config.maxDate.getFullYear());var o=d("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(a),n.appendChild(o),t.appendChild(n),{container:t,yearElement:i,monthElement:e}}function q(){s(h.monthNav),h.monthNav.appendChild(h.prevMonthNav),h.config.showMonths&&(h.yearElements=[],h.monthElements=[]);for(var e=h.config.showMonths;e--;){var t=U();h.yearElements.push(t.yearElement),h.monthElements.push(t.monthElement),h.monthNav.appendChild(t.container)}h.monthNav.appendChild(h.nextMonthNav)}function $(){h.weekdayContainer?s(h.weekdayContainer):h.weekdayContainer=d("div","flatpickr-weekdays");for(var e=h.config.showMonths;e--;){var t=d("div","flatpickr-weekdaycontainer");h.weekdayContainer.appendChild(t)}return z(),h.weekdayContainer}function z(){if(h.weekdayContainer){var e=h.l10n.firstDayOfWeek,t=h.l10n.weekdays.shorthand.slice();e>0&&e<t.length&&(t=t.splice(e,t.length).concat(t.splice(0,e)));for(var n=h.config.showMonths;n--;)h.weekdayContainer.children[n].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function G(e,t){void 0===t&&(t=!0);var n=t?e:e-h.currentMonth;n<0&&!0===h._hidePrevMonthArrow||n>0&&!0===h._hideNextMonthArrow||(h.currentMonth+=n,(h.currentMonth<0||h.currentMonth>11)&&(h.currentYear+=h.currentMonth>11?1:-1,h.currentMonth=(h.currentMonth+12)%12,ge("onYearChange"),K()),J(),ge("onMonthChange"),ve())}function V(e){return!(!h.config.appendTo||!h.config.appendTo.contains(e))||h.calendarContainer.contains(e)}function Z(e){if(h.isOpen&&!h.config.inline){var t="function"==typeof(r=e).composedPath?r.composedPath()[0]:r.target,n=V(t),a=t===h.input||t===h.altInput||h.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(h.input)||~e.path.indexOf(h.altInput)),i="blur"===e.type?a&&e.relatedTarget&&!V(e.relatedTarget):!a&&!n&&!V(e.relatedTarget),o=!h.config.ignoredFocusElements.some(function(e){return e.contains(t)});i&&o&&(void 0!==h.timeContainer&&void 0!==h.minuteElement&&void 0!==h.hourElement&&T(),h.close(),"range"===h.config.mode&&1===h.selectedDates.length&&(h.clear(!1),h.redraw()))}var r}function Q(e){if(!(!e||h.config.minDate&&e<h.config.minDate.getFullYear()||h.config.maxDate&&e>h.config.maxDate.getFullYear())){var t=e,n=h.currentYear!==t;h.currentYear=t||h.currentYear,h.config.maxDate&&h.currentYear===h.config.maxDate.getFullYear()?h.currentMonth=Math.min(h.config.maxDate.getMonth(),h.currentMonth):h.config.minDate&&h.currentYear===h.config.minDate.getFullYear()&&(h.currentMonth=Math.max(h.config.minDate.getMonth(),h.currentMonth)),n&&(h.redraw(),ge("onYearChange"),K())}}function X(e,t){void 0===t&&(t=!0);var n=h.parseDate(e,void 0,t);if(h.config.minDate&&n&&w(n,h.config.minDate,void 0!==t?t:!h.minDateHasTime)<0||h.config.maxDate&&n&&w(n,h.config.maxDate,void 0!==t?t:!h.maxDateHasTime)>0)return!1;if(0===h.config.enable.length&&0===h.config.disable.length)return!0;if(void 0===n)return!1;for(var a=h.config.enable.length>0,i=a?h.config.enable:h.config.disable,o=0,r=void 0;o<i.length;o++){if("function"==typeof(r=i[o])&&r(n))return a;if(r instanceof Date&&void 0!==n&&r.getTime()===n.getTime())return a;if("string"==typeof r&&void 0!==n){var l=h.parseDate(r,void 0,!0);return l&&l.getTime()===n.getTime()?a:!a}if("object"==typeof r&&void 0!==n&&r.from&&r.to&&n.getTime()>=r.from.getTime()&&n.getTime()<=r.to.getTime())return a}return!a}function ee(e){return void 0!==h.daysContainer&&(-1===e.className.indexOf("hidden")&&h.daysContainer.contains(e))}function te(e){var t=e.target===h._input,n=h.config.allowInput,a=h.isOpen&&(!n||!t),i=h.config.inline&&t&&!n;if(13===e.keyCode&&t){if(n)return h.setDate(h._input.value,!0,e.target===h.altInput?h.config.altFormat:h.config.dateFormat),e.target.blur();h.open()}else if(V(e.target)||a||i){var o=!!h.timeContainer&&h.timeContainer.contains(e.target);switch(e.keyCode){case 13:o?(e.preventDefault(),T(),de()):se(e);break;case 27:e.preventDefault(),de();break;case 8:case 46:t&&!h.config.allowInput&&(e.preventDefault(),h.clear());break;case 37:case 39:if(o||t)h.hourElement&&h.hourElement.focus();else if(e.preventDefault(),void 0!==h.daysContainer&&(!1===n||document.activeElement&&ee(document.activeElement))){var r=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),G(r),R(W(1),0)):R(void 0,r)}break;case 38:case 40:e.preventDefault();var l=40===e.keyCode?1:-1;h.daysContainer&&void 0!==e.target.$i||e.target===h.input||e.target===h.altInput?e.ctrlKey?(e.stopPropagation(),Q(h.currentYear-l),R(W(1),0)):o||R(void 0,7*l):e.target===h.currentYearElement?Q(h.currentYear-l):h.config.enableTime&&(!o&&h.hourElement&&h.hourElement.focus(),T(e),h._debouncedChange());break;case 9:if(o){var c=[h.hourElement,h.minuteElement,h.secondElement,h.amPM].concat(h.pluginElements).filter(function(e){return e}),d=c.indexOf(e.target);if(-1!==d){var s=c[d+(e.shiftKey?-1:1)];e.preventDefault(),(s||h._input).focus()}}else!h.config.noCalendar&&h.daysContainer&&h.daysContainer.contains(e.target)&&e.shiftKey&&(e.preventDefault(),h._input.focus())}}if(void 0!==h.amPM&&e.target===h.amPM)switch(e.key){case h.l10n.amPM[0].charAt(0):case h.l10n.amPM[0].charAt(0).toLowerCase():h.amPM.textContent=h.l10n.amPM[0],k(),we();break;case h.l10n.amPM[1].charAt(0):case h.l10n.amPM[1].charAt(0).toLowerCase():h.amPM.textContent=h.l10n.amPM[1],k(),we()}(t||V(e.target))&&ge("onKeyDown",e)}function ne(e){if(1===h.selectedDates.length&&(!e||e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled"))){for(var t=e?e.dateObj.getTime():h.days.firstElementChild.dateObj.getTime(),n=h.parseDate(h.selectedDates[0],void 0,!0).getTime(),a=Math.min(t,h.selectedDates[0].getTime()),i=Math.max(t,h.selectedDates[0].getTime()),o=!1,r=0,l=0,c=a;c<i;c+=C.DAY)X(new Date(c),!0)||(o=o||c>a&&c<i,c<n&&(!r||c>r)?r=c:c>n&&(!l||c<l)&&(l=c));for(var d=0;d<h.config.showMonths;d++)for(var s=h.daysContainer.children[d],u=function(a,i){var c=s.children[a],d=c.dateObj.getTime(),u=r>0&&d<r||l>0&&d>l;return u?(c.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){c.classList.remove(e)}),"continue"):o&&!u?"continue":(["startRange","inRange","endRange","notAllowed"].forEach(function(e){c.classList.remove(e)}),void(void 0!==e&&(e.classList.add(t<=h.selectedDates[0].getTime()?"startRange":"endRange"),n<t&&d===n?c.classList.add("startRange"):n>t&&d===n&&c.classList.add("endRange"),d>=r&&(0===l||d<=l)&&b(d,n,t)&&c.classList.add("inRange"))))},f=0,m=s.children.length;f<m;f++)u(f)}}function ae(){!h.isOpen||h.config.static||h.config.inline||le()}function ie(){h.setDate(void 0!==h.config.minDate?new Date(h.config.minDate.getTime()):new Date,!0),S(),we()}function oe(e){return function(t){var n=h.config["_"+e+"Date"]=h.parseDate(t,h.config.dateFormat),a=h.config["_"+("min"===e?"max":"min")+"Date"];void 0!==n&&(h["min"===e?"minDateHasTime":"maxDateHasTime"]=n.getHours()>0||n.getMinutes()>0||n.getSeconds()>0),h.selectedDates&&(h.selectedDates=h.selectedDates.filter(function(e){return X(e)}),h.selectedDates.length||"min"!==e||I(n),we()),h.daysContainer&&(ce(),void 0!==n?h.currentYearElement[e]=n.getFullYear().toString():h.currentYearElement.removeAttribute(e),h.currentYearElement.disabled=!!a&&void 0!==n&&a.getFullYear()===n.getFullYear())}}function re(){"object"!=typeof h.config.locale&&void 0===E.l10ns[h.config.locale]&&h.config.errorHandler(new Error("flatpickr: invalid locale "+h.config.locale)),h.l10n=e({},E.l10ns.default,"object"==typeof h.config.locale?h.config.locale:"default"!==h.config.locale?E.l10ns[h.config.locale]:void 0),p.K="("+h.l10n.amPM[0]+"|"+h.l10n.amPM[1]+"|"+h.l10n.amPM[0].toLowerCase()+"|"+h.l10n.amPM[1].toLowerCase()+")",void 0===e({},g,JSON.parse(JSON.stringify(f.dataset||{}))).time_24hr&&void 0===E.defaultConfig.time_24hr&&(h.config.time_24hr=h.l10n.time_24hr),h.formatDate=v(h),h.parseDate=D({config:h.config,l10n:h.l10n})}function le(e){if(void 0!==h.calendarContainer){ge("onPreCalendarPosition");var t=e||h._positionElement,n=Array.prototype.reduce.call(h.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),a=h.calendarContainer.offsetWidth,i=h.config.position.split(" "),o=i[0],r=i.length>1?i[1]:null,l=t.getBoundingClientRect(),d=window.innerHeight-l.bottom,s="above"===o||"below"!==o&&d<n&&l.top>n,u=window.pageYOffset+l.top+(s?-n-2:t.offsetHeight+2);if(c(h.calendarContainer,"arrowTop",!s),c(h.calendarContainer,"arrowBottom",s),!h.config.inline){var f=window.pageXOffset+l.left-(null!=r&&"center"===r?(a-l.width)/2:0),m=window.document.body.offsetWidth-(window.pageXOffset+l.right),g=f+a>window.document.body.offsetWidth,p=m+a>window.document.body.offsetWidth;if(c(h.calendarContainer,"rightMost",g),!h.config.static)if(h.calendarContainer.style.top=u+"px",g)if(p){var v=document.styleSheets[0];if(void 0===v)return;var D=window.document.body.offsetWidth,w=Math.max(0,D/2-a/2),b=v.cssRules.length,C="{left:"+l.left+"px;right:auto;}";c(h.calendarContainer,"rightMost",!1),c(h.calendarContainer,"centerMost",!0),v.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+C,b),h.calendarContainer.style.left=w+"px",h.calendarContainer.style.right="auto"}else h.calendarContainer.style.left="auto",h.calendarContainer.style.right=m+"px";else h.calendarContainer.style.left=f+"px",h.calendarContainer.style.right="auto"}}}function ce(){h.config.noCalendar||h.isMobile||(ve(),J())}function de(){h._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(h.close,0):h.close()}function se(e){e.preventDefault(),e.stopPropagation();var t=function e(t,n){return n(t)?t:t.parentNode?e(t.parentNode,n):void 0}(e.target,function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var n=t,a=h.latestSelectedDateObj=new Date(n.dateObj.getTime()),i=(a.getMonth()<h.currentMonth||a.getMonth()>h.currentMonth+h.config.showMonths-1)&&"range"!==h.config.mode;if(h.selectedDateElem=n,"single"===h.config.mode)h.selectedDates=[a];else if("multiple"===h.config.mode){var o=he(a);o?h.selectedDates.splice(parseInt(o),1):h.selectedDates.push(a)}else"range"===h.config.mode&&(2===h.selectedDates.length&&h.clear(!1,!1),h.latestSelectedDateObj=a,h.selectedDates.push(a),0!==w(a,h.selectedDates[0],!0)&&h.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(k(),i){var r=h.currentYear!==a.getFullYear();h.currentYear=a.getFullYear(),h.currentMonth=a.getMonth(),r&&(ge("onYearChange"),K()),ge("onMonthChange")}if(ve(),J(),we(),h.config.enableTime&&setTimeout(function(){return h.showTimeInput=!0},50),i||"range"===h.config.mode||1!==h.config.showMonths?void 0!==h.selectedDateElem&&void 0===h.hourElement&&h.selectedDateElem&&h.selectedDateElem.focus():L(n),void 0!==h.hourElement&&void 0!==h.hourElement&&h.hourElement.focus(),h.config.closeOnSelect){var l="single"===h.config.mode&&!h.config.enableTime,c="range"===h.config.mode&&2===h.selectedDates.length&&!h.config.enableTime;(l||c)&&de()}Y()}}h.parseDate=D({config:h.config,l10n:h.l10n}),h._handlers=[],h.pluginElements=[],h.loadedPlugins=[],h._bind=F,h._setHoursFromDate=I,h._positionCalendar=le,h.changeMonth=G,h.changeYear=Q,h.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);h.input.value="",void 0!==h.altInput&&(h.altInput.value="");void 0!==h.mobileInput&&(h.mobileInput.value="");h.selectedDates=[],h.latestSelectedDateObj=void 0,!0===t&&(h.currentYear=h._initialDate.getFullYear(),h.currentMonth=h._initialDate.getMonth());h.showTimeInput=!1,!0===h.config.enableTime&&S();h.redraw(),e&&ge("onChange")},h.close=function(){h.isOpen=!1,h.isMobile||(void 0!==h.calendarContainer&&h.calendarContainer.classList.remove("open"),void 0!==h._input&&h._input.classList.remove("active"));ge("onClose")},h._createElement=d,h.destroy=function(){void 0!==h.config&&ge("onDestroy");for(var e=h._handlers.length;e--;){var t=h._handlers[e];t.element.removeEventListener(t.event,t.handler,t.options)}if(h._handlers=[],h.mobileInput)h.mobileInput.parentNode&&h.mobileInput.parentNode.removeChild(h.mobileInput),h.mobileInput=void 0;else if(h.calendarContainer&&h.calendarContainer.parentNode)if(h.config.static&&h.calendarContainer.parentNode){var n=h.calendarContainer.parentNode;if(n.lastChild&&n.removeChild(n.lastChild),n.parentNode){for(;n.firstChild;)n.parentNode.insertBefore(n.firstChild,n);n.parentNode.removeChild(n)}}else h.calendarContainer.parentNode.removeChild(h.calendarContainer);h.altInput&&(h.input.type="text",h.altInput.parentNode&&h.altInput.parentNode.removeChild(h.altInput),delete h.altInput);h.input&&(h.input.type=h.input._type,h.input.classList.remove("flatpickr-input"),h.input.removeAttribute("readonly"),h.input.value="");["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete h[e]}catch(e){}})},h.isEnabled=X,h.jumpToDate=A,h.open=function(e,t){void 0===t&&(t=h._positionElement);if(!0===h.isMobile)return e&&(e.preventDefault(),e.target&&e.target.blur()),void 0!==h.mobileInput&&(h.mobileInput.focus(),h.mobileInput.click()),void ge("onOpen");if(h._input.disabled||h.config.inline)return;var n=h.isOpen;h.isOpen=!0,n||(h.calendarContainer.classList.add("open"),h._input.classList.add("active"),ge("onOpen"),le(t));!0===h.config.enableTime&&!0===h.config.noCalendar&&(0===h.selectedDates.length&&ie(),!1!==h.config.allowInput||void 0!==e&&h.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return h.hourElement.select()},50))},h.redraw=ce,h.set=function(e,n){if(null!==e&&"object"==typeof e)for(var a in Object.assign(h.config,e),e)void 0!==ue[a]&&ue[a].forEach(function(e){return e()});else h.config[e]=n,void 0!==ue[e]?ue[e].forEach(function(e){return e()}):t.indexOf(e)>-1&&(h.config[e]=l(n));h.redraw(),we(!1)},h.setDate=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=h.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return h.clear(t);fe(e,n),h.showTimeInput=h.selectedDates.length>0,h.latestSelectedDateObj=h.selectedDates[h.selectedDates.length-1],h.redraw(),A(),I(),0===h.selectedDates.length&&h.clear(!1);we(t),t&&ge("onChange")},h.toggle=function(e){if(!0===h.isOpen)return h.close();h.open(e)};var ue={locale:[re,z],showMonths:[q,x,$],minDate:[A],maxDate:[A]};function fe(e,t){var n=[];if(e instanceof Array)n=e.map(function(e){return h.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)n=[h.parseDate(e,t)];else if("string"==typeof e)switch(h.config.mode){case"single":case"time":n=[h.parseDate(e,t)];break;case"multiple":n=e.split(h.config.conjunction).map(function(e){return h.parseDate(e,t)});break;case"range":n=e.split(h.l10n.rangeSeparator).map(function(e){return h.parseDate(e,t)})}else h.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));h.selectedDates=n.filter(function(e){return e instanceof Date&&X(e,!1)}),"range"===h.config.mode&&h.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function me(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?h.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:h.parseDate(e.from,void 0),to:h.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function ge(e,t){if(void 0!==h.config){var n=h.config[e];if(void 0!==n&&n.length>0)for(var a=0;n[a]&&a<n.length;a++)n[a](h.selectedDates,h.input.value,h,t);"onChange"===e&&(h.input.dispatchEvent(pe("change")),h.input.dispatchEvent(pe("input")))}}function pe(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function he(e){for(var t=0;t<h.selectedDates.length;t++)if(0===w(h.selectedDates[t],e))return""+t;return!1}function ve(){h.config.noCalendar||h.isMobile||!h.monthNav||(h.yearElements.forEach(function(e,t){var n=new Date(h.currentYear,h.currentMonth,1);n.setMonth(h.currentMonth+t),h.config.showMonths>1||"static"===h.config.monthSelectorType?h.monthElements[t].textContent=m(n.getMonth(),h.config.shorthandCurrentMonth,h.l10n)+" ":h.monthsDropdownContainer.value=n.getMonth().toString(),e.value=n.getFullYear().toString()}),h._hidePrevMonthArrow=void 0!==h.config.minDate&&(h.currentYear===h.config.minDate.getFullYear()?h.currentMonth<=h.config.minDate.getMonth():h.currentYear<h.config.minDate.getFullYear()),h._hideNextMonthArrow=void 0!==h.config.maxDate&&(h.currentYear===h.config.maxDate.getFullYear()?h.currentMonth+1>h.config.maxDate.getMonth():h.currentYear>h.config.maxDate.getFullYear()))}function De(e){return h.selectedDates.map(function(t){return h.formatDate(t,e)}).filter(function(e,t,n){return"range"!==h.config.mode||h.config.enableTime||n.indexOf(e)===t}).join("range"!==h.config.mode?h.config.conjunction:h.l10n.rangeSeparator)}function we(e){void 0===e&&(e=!0),void 0!==h.mobileInput&&h.mobileFormatStr&&(h.mobileInput.value=void 0!==h.latestSelectedDateObj?h.formatDate(h.latestSelectedDateObj,h.mobileFormatStr):""),h.input.value=De(h.config.dateFormat),void 0!==h.altInput&&(h.altInput.value=De(h.config.altFormat)),!1!==e&&ge("onValueUpdate")}function be(e){var t=h.prevMonthNav.contains(e.target),n=h.nextMonthNav.contains(e.target);t||n?G(t?-1:1):h.yearElements.indexOf(e.target)>=0?e.target.select():e.target.classList.contains("arrowUp")?h.changeYear(h.currentYear+1):e.target.classList.contains("arrowDown")&&h.changeYear(h.currentYear-1)}return function(){h.element=h.input=f,h.isOpen=!1,function(){var a=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e({},g,JSON.parse(JSON.stringify(f.dataset||{}))),o={};h.config.parseDate=i.parseDate,h.config.formatDate=i.formatDate,Object.defineProperty(h.config,"enable",{get:function(){return h.config._enable},set:function(e){h.config._enable=me(e)}}),Object.defineProperty(h.config,"disable",{get:function(){return h.config._disable},set:function(e){h.config._disable=me(e)}});var r="time"===i.mode;if(!i.dateFormat&&(i.enableTime||r)){var c=E.defaultConfig.dateFormat||n.dateFormat;o.dateFormat=i.noCalendar||r?"H:i"+(i.enableSeconds?":S":""):c+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||r)&&!i.altFormat){var d=E.defaultConfig.altFormat||n.altFormat;o.altFormat=i.noCalendar||r?"h:i"+(i.enableSeconds?":S K":" K"):d+" h:i"+(i.enableSeconds?":S":"")+" K"}i.altInputClass||(h.config.altInputClass=h.input.className+" "+h.config.altInputClass),Object.defineProperty(h.config,"minDate",{get:function(){return h.config._minDate},set:oe("min")}),Object.defineProperty(h.config,"maxDate",{get:function(){return h.config._maxDate},set:oe("max")});var s=function(e){return function(t){h.config["min"===e?"_minTime":"_maxTime"]=h.parseDate(t,"H:i:S")}};Object.defineProperty(h.config,"minTime",{get:function(){return h.config._minTime},set:s("min")}),Object.defineProperty(h.config,"maxTime",{get:function(){return h.config._maxTime},set:s("max")}),"time"===i.mode&&(h.config.noCalendar=!0,h.config.enableTime=!0),Object.assign(h.config,o,i);for(var u=0;u<a.length;u++)h.config[a[u]]=!0===h.config[a[u]]||"true"===h.config[a[u]];t.filter(function(e){return void 0!==h.config[e]}).forEach(function(e){h.config[e]=l(h.config[e]||[]).map(y)}),h.isMobile=!h.config.disableMobile&&!h.config.inline&&"single"===h.config.mode&&!h.config.disable.length&&!h.config.enable.length&&!h.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var u=0;u<h.config.plugins.length;u++){var m=h.config.plugins[u](h)||{};for(var p in m)t.indexOf(p)>-1?h.config[p]=l(m[p]).map(y).concat(h.config[p]):void 0===i[p]&&(h.config[p]=m[p])}ge("onParseConfig")}(),re(),h.input=h.config.wrap?f.querySelector("[data-input]"):f,h.input?(h.input._type=h.input.type,h.input.type="text",h.input.classList.add("flatpickr-input"),h._input=h.input,h.config.altInput&&(h.altInput=d(h.input.nodeName,h.config.altInputClass),h._input=h.altInput,h.altInput.placeholder=h.input.placeholder,h.altInput.disabled=h.input.disabled,h.altInput.required=h.input.required,h.altInput.tabIndex=h.input.tabIndex,h.altInput.type="text",h.input.setAttribute("type","hidden"),!h.config.static&&h.input.parentNode&&h.input.parentNode.insertBefore(h.altInput,h.input.nextSibling)),h.config.allowInput||h._input.setAttribute("readonly","readonly"),h._positionElement=h.config.positionElement||h._input):h.config.errorHandler(new Error("Invalid input element specified")),function(){h.selectedDates=[],h.now=h.parseDate(h.config.now)||new Date;var e=h.config.defaultDate||("INPUT"!==h.input.nodeName&&"TEXTAREA"!==h.input.nodeName||!h.input.placeholder||h.input.value!==h.input.placeholder?h.input.value:null);e&&fe(e,h.config.dateFormat),h._initialDate=h.selectedDates.length>0?h.selectedDates[0]:h.config.minDate&&h.config.minDate.getTime()>h.now.getTime()?h.config.minDate:h.config.maxDate&&h.config.maxDate.getTime()<h.now.getTime()?h.config.maxDate:h.now,h.currentYear=h._initialDate.getFullYear(),h.currentMonth=h._initialDate.getMonth(),h.selectedDates.length>0&&(h.latestSelectedDateObj=h.selectedDates[0]),void 0!==h.config.minTime&&(h.config.minTime=h.parseDate(h.config.minTime,"H:i")),void 0!==h.config.maxTime&&(h.config.maxTime=h.parseDate(h.config.maxTime,"H:i")),h.minDateHasTime=!!h.config.minDate&&(h.config.minDate.getHours()>0||h.config.minDate.getMinutes()>0||h.config.minDate.getSeconds()>0),h.maxDateHasTime=!!h.config.maxDate&&(h.config.maxDate.getHours()>0||h.config.maxDate.getMinutes()>0||h.config.maxDate.getSeconds()>0),Object.defineProperty(h,"showTimeInput",{get:function(){return h._showTimeInput},set:function(e){h._showTimeInput=e,h.calendarContainer&&c(h.calendarContainer,"showTimeInput",e),h.isOpen&&le()}})}(),h.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=h.currentMonth),void 0===t&&(t=h.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:h.l10n.daysInMonth[e]}},h.isMobile||function(){var e=window.document.createDocumentFragment();if(h.calendarContainer=d("div","flatpickr-calendar"),h.calendarContainer.tabIndex=-1,!h.config.noCalendar){if(e.appendChild((h.monthNav=d("div","flatpickr-months"),h.yearElements=[],h.monthElements=[],h.prevMonthNav=d("span","flatpickr-prev-month"),h.prevMonthNav.innerHTML=h.config.prevArrow,h.nextMonthNav=d("span","flatpickr-next-month"),h.nextMonthNav.innerHTML=h.config.nextArrow,q(),Object.defineProperty(h,"_hidePrevMonthArrow",{get:function(){return h.__hidePrevMonthArrow},set:function(e){h.__hidePrevMonthArrow!==e&&(c(h.prevMonthNav,"flatpickr-disabled",e),h.__hidePrevMonthArrow=e)}}),Object.defineProperty(h,"_hideNextMonthArrow",{get:function(){return h.__hideNextMonthArrow},set:function(e){h.__hideNextMonthArrow!==e&&(c(h.nextMonthNav,"flatpickr-disabled",e),h.__hideNextMonthArrow=e)}}),h.currentYearElement=h.yearElements[0],ve(),h.monthNav)),h.innerContainer=d("div","flatpickr-innerContainer"),h.config.weekNumbers){var t=function(){h.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",h.l10n.weekAbbreviation));var t=d("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),n=t.weekWrapper,a=t.weekNumbers;h.innerContainer.appendChild(n),h.weekNumbers=a,h.weekWrapper=n}h.rContainer=d("div","flatpickr-rContainer"),h.rContainer.appendChild($()),h.daysContainer||(h.daysContainer=d("div","flatpickr-days"),h.daysContainer.tabIndex=-1),J(),h.rContainer.appendChild(h.daysContainer),h.innerContainer.appendChild(h.rContainer),e.appendChild(h.innerContainer)}h.config.enableTime&&e.appendChild(function(){h.calendarContainer.classList.add("hasTime"),h.config.noCalendar&&h.calendarContainer.classList.add("noCalendar"),h.timeContainer=d("div","flatpickr-time"),h.timeContainer.tabIndex=-1;var e=d("span","flatpickr-time-separator",":"),t=u("flatpickr-hour",{"aria-label":h.l10n.hourAriaLabel});h.hourElement=t.getElementsByTagName("input")[0];var n=u("flatpickr-minute",{"aria-label":h.l10n.minuteAriaLabel});if(h.minuteElement=n.getElementsByTagName("input")[0],h.hourElement.tabIndex=h.minuteElement.tabIndex=-1,h.hourElement.value=i(h.latestSelectedDateObj?h.latestSelectedDateObj.getHours():h.config.time_24hr?h.config.defaultHour:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(h.config.defaultHour)),h.minuteElement.value=i(h.latestSelectedDateObj?h.latestSelectedDateObj.getMinutes():h.config.defaultMinute),h.hourElement.setAttribute("step",h.config.hourIncrement.toString()),h.minuteElement.setAttribute("step",h.config.minuteIncrement.toString()),h.hourElement.setAttribute("min",h.config.time_24hr?"0":"1"),h.hourElement.setAttribute("max",h.config.time_24hr?"23":"12"),h.minuteElement.setAttribute("min","0"),h.minuteElement.setAttribute("max","59"),h.timeContainer.appendChild(t),h.timeContainer.appendChild(e),h.timeContainer.appendChild(n),h.config.time_24hr&&h.timeContainer.classList.add("time24hr"),h.config.enableSeconds){h.timeContainer.classList.add("hasSeconds");var a=u("flatpickr-second");h.secondElement=a.getElementsByTagName("input")[0],h.secondElement.value=i(h.latestSelectedDateObj?h.latestSelectedDateObj.getSeconds():h.config.defaultSeconds),h.secondElement.setAttribute("step",h.minuteElement.getAttribute("step")),h.secondElement.setAttribute("min","0"),h.secondElement.setAttribute("max","59"),h.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),h.timeContainer.appendChild(a)}return h.config.time_24hr||(h.amPM=d("span","flatpickr-am-pm",h.l10n.amPM[o((h.latestSelectedDateObj?h.hourElement.value:h.config.defaultHour)>11)]),h.amPM.title=h.l10n.toggleTitle,h.amPM.tabIndex=-1,h.timeContainer.appendChild(h.amPM)),h.timeContainer}()),c(h.calendarContainer,"rangeMode","range"===h.config.mode),c(h.calendarContainer,"animate",!0===h.config.animate),c(h.calendarContainer,"multiMonth",h.config.showMonths>1),h.calendarContainer.appendChild(e);var r=void 0!==h.config.appendTo&&void 0!==h.config.appendTo.nodeType;if((h.config.inline||h.config.static)&&(h.calendarContainer.classList.add(h.config.inline?"inline":"static"),h.config.inline&&(!r&&h.element.parentNode?h.element.parentNode.insertBefore(h.calendarContainer,h._input.nextSibling):void 0!==h.config.appendTo&&h.config.appendTo.appendChild(h.calendarContainer)),h.config.static)){var l=d("div","flatpickr-wrapper");h.element.parentNode&&h.element.parentNode.insertBefore(l,h.element),l.appendChild(h.element),h.altInput&&l.appendChild(h.altInput),l.appendChild(h.calendarContainer)}h.config.static||h.config.inline||(void 0!==h.config.appendTo?h.config.appendTo:window.document.body).appendChild(h.calendarContainer)}(),function(){if(h.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(h.element.querySelectorAll("[data-"+e+"]"),function(t){return F(t,"click",h[e])})}),h.isMobile)!function(){var e=h.config.enableTime?h.config.noCalendar?"time":"datetime-local":"date";h.mobileInput=d("input",h.input.className+" flatpickr-mobile"),h.mobileInput.step=h.input.getAttribute("step")||"any",h.mobileInput.tabIndex=1,h.mobileInput.type=e,h.mobileInput.disabled=h.input.disabled,h.mobileInput.required=h.input.required,h.mobileInput.placeholder=h.input.placeholder,h.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",h.selectedDates.length>0&&(h.mobileInput.defaultValue=h.mobileInput.value=h.formatDate(h.selectedDates[0],h.mobileFormatStr)),h.config.minDate&&(h.mobileInput.min=h.formatDate(h.config.minDate,"Y-m-d")),h.config.maxDate&&(h.mobileInput.max=h.formatDate(h.config.maxDate,"Y-m-d")),h.input.type="hidden",void 0!==h.altInput&&(h.altInput.type="hidden");try{h.input.parentNode&&h.input.parentNode.insertBefore(h.mobileInput,h.input.nextSibling)}catch(e){}F(h.mobileInput,"change",function(e){h.setDate(e.target.value,!1,h.mobileFormatStr),ge("onChange"),ge("onClose")})}();else{var e=r(ae,50);h._debouncedChange=r(Y,M),h.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&F(h.daysContainer,"mouseover",function(e){"range"===h.config.mode&&ne(e.target)}),F(window.document.body,"keydown",te),h.config.inline||h.config.static||F(window,"resize",e),void 0!==window.ontouchstart?F(window.document,"touchstart",Z):F(window.document,"mousedown",N(Z)),F(window.document,"focus",Z,{capture:!0}),!0===h.config.clickOpens&&(F(h._input,"focus",h.open),F(h._input,"mousedown",N(h.open))),void 0!==h.daysContainer&&(F(h.monthNav,"mousedown",N(be)),F(h.monthNav,["keyup","increment"],_),F(h.daysContainer,"mousedown",N(se))),void 0!==h.timeContainer&&void 0!==h.minuteElement&&void 0!==h.hourElement&&(F(h.timeContainer,["increment"],T),F(h.timeContainer,"blur",T,{capture:!0}),F(h.timeContainer,"mousedown",N(P)),F([h.hourElement,h.minuteElement],["focus","click"],function(e){return e.target.select()}),void 0!==h.secondElement&&F(h.secondElement,"focus",function(){return h.secondElement&&h.secondElement.select()}),void 0!==h.amPM&&F(h.amPM,"mousedown",N(function(e){T(e),Y()})))}}(),(h.selectedDates.length||h.config.noCalendar)&&(h.config.enableTime&&I(h.config.noCalendar?h.latestSelectedDateObj||h.config.minDate:void 0),we(!1)),x(),h.showTimeInput=h.selectedDates.length>0||h.config.noCalendar;var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!h.isMobile&&a&&le(),ge("onReady")}(),h}function x(e,t){for(var n=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),a=[],i=0;i<n.length;i++){var o=n[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=y(o,t||{}),a.push(o._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return x(this,e)},HTMLElement.prototype.flatpickr=function(e){return x([this],e)});var E=function(e,t){return"string"==typeof e?x(window.document.querySelectorAll(e),t):e instanceof Node?x([e],t):x(e,t)};return E.defaultConfig={},E.l10ns={en:e({},a),default:e({},a)},E.localize=function(t){E.l10ns.default=e({},E.l10ns.default,t)},E.setDefaults=function(t){E.defaultConfig=e({},E.defaultConfig,t)},E.parseDate=D({}),E.formatDate=v({}),E.compareDates=w,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return x(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=E),E});
/* flatpickr v4.6.5,, @license MIT */
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).flatpickr=n()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function n(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var a=Array(e),i=0;for(n=0;n<t;n++)for(var o=arguments[n],r=0,l=o.length;r<l;r++,i++)a[i]=o[r];return a}var t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],_enable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enable:[],enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var n=new Date(e.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var t=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},i={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(e){var n=e%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},o=function(e,n){return void 0===n&&(n=2),("000"+e).slice(-1*n)},r=function(e){return!0===e?1:0};function l(e,n,t){var a;return void 0===t&&(t=!1),function(){var i=this,o=arguments;null!==a&&clearTimeout(a),a=window.setTimeout((function(){a=null,t||e.apply(i,o)}),n),t&&!a&&e.apply(i,o)}}var c=function(e){return e instanceof Array?e:[e]};function d(e,n,t){if(!0===t)return e.classList.add(n);e.classList.remove(n)}function s(e,n,t){var a=window.document.createElement(e);return n=n||"",t=t||"",a.className=n,void 0!==t&&(a.textContent=t),a}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e,n){var t=s("div","numInputWrapper"),a=s("input","numInput "+e),i=s("span","arrowUp"),o=s("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==n)for(var r in n)a.setAttribute(r,n[r]);return t.appendChild(a),t.appendChild(i),t.appendChild(o),t}function m(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(n){return e.target}}var g=function(){},p=function(e,n,t){return t.months[n?"shorthand":"longhand"][e]},h={D:g,F:function(e,n,t){e.setMonth(t.months.longhand.indexOf(n))},G:function(e,n){e.setHours(parseFloat(n))},H:function(e,n){e.setHours(parseFloat(n))},J:function(e,n){e.setDate(parseFloat(n))},K:function(e,n,t){e.setHours(e.getHours()%12+12*r(new RegExp(t.amPM[1],"i").test(n)))},M:function(e,n,t){e.setMonth(t.months.shorthand.indexOf(n))},S:function(e,n){e.setSeconds(parseFloat(n))},U:function(e,n){return new Date(1e3*parseFloat(n))},W:function(e,n,t){var a=parseInt(n),i=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+t.firstDayOfWeek),i},Y:function(e,n){e.setFullYear(parseFloat(n))},Z:function(e,n){return new Date(n)},d:function(e,n){e.setDate(parseFloat(n))},h:function(e,n){e.setHours(parseFloat(n))},i:function(e,n){e.setMinutes(parseFloat(n))},j:function(e,n){e.setDate(parseFloat(n))},l:g,m:function(e,n){e.setMonth(parseFloat(n)-1)},n:function(e,n){e.setMonth(parseFloat(n)-1)},s:function(e,n){e.setSeconds(parseFloat(n))},u:function(e,n){return new Date(parseFloat(n))},w:g,y:function(e,n){e.setFullYear(2e3+parseFloat(n))}},v={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})"},D={Z:function(e){return e.toISOString()},D:function(e,n,t){return n.weekdays.shorthand[D.w(e,n,t)]},F:function(e,n,t){return p(D.n(e,n,t)-1,!1,n)},G:function(e,n,t){return o(D.h(e,n,t))},H:function(e){return o(e.getHours())},J:function(e,n){return void 0!==n.ordinal?e.getDate()+n.ordinal(e.getDate()):e.getDate()},K:function(e,n){return n.amPM[r(e.getHours()>11)]},M:function(e,n){return p(e.getMonth(),!0,n)},S:function(e){return o(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,n,t){return t.getWeek(e)},Y:function(e){return o(e.getFullYear(),4)},d:function(e){return o(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return o(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,n){return n.weekdays.longhand[e.getDay()]},m:function(e){return o(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},w=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o,l=e.isMobile,c=void 0!==l&&l;return function(e,n,a){var i=a||r;return void 0===t.formatDate||c?n.split("").map((function(n,a,o){return D[n]&&"\\"!==o[a-1]?D[n](e,i,t):"\\"!==n?n:""})).join(""):t.formatDate(e,n,i)}},b=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o;return function(e,n,i,o){if(0===e||e){var l,c=o||r,d=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var s=n||(t||a).dateFormat,u=String(e).trim();if("today"===u)l=new Date,i=!0;else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else if(t&&t.parseDate)l=t.parseDate(e,s);else{l=t&&t.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var f=void 0,m=[],g=0,p=0,D="";g<s.length;g++){var w=s[g],b="\\"===w,C="\\"===s[g-1]||b;if(v[w]&&!C){D+=v[w];var M=new RegExp(D).exec(e);M&&(f=!0)&&m["Y"!==w?"push":"unshift"]({fn:h[w],val:M[++p]})}else b||(D+=".");m.forEach((function(e){var n=e.fn,t=e.val;return l=n(l,t,c)||l}))}l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===i&&l.setHours(0,0,0,0),l;t.errorHandler(new Error("Invalid date provided: "+d))}}};function C(e,n,t){return void 0===t&&(t=!0),!1!==t?new Date(e.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):e.getTime()-n.getTime()}var M=864e5;"function"!=typeof Object.assign&&(Object.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(n){n&&Object.keys(n).forEach((function(t){return e[t]=n[t]}))},i=0,o=n;i<o.length;i++){var r=o[i];a(r)}return e});function y(g,h){var D={config:e(e({},a),E.defaultConfig),l10n:i};function y(e){return e.bind(D)}function x(){var e=D.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==D.calendarContainer&&(D.calendarContainer.style.visibility="hidden",D.calendarContainer.style.display="block"),void 0!==D.daysContainer){var n=(D.days.offsetWidth+1)*e.showMonths;D.daysContainer.style.width=n+"px",D.calendarContainer.style.width=n+(void 0!==D.weekWrapper?D.weekWrapper.offsetWidth:0)+"px",D.calendarContainer.style.removeProperty("visibility"),D.calendarContainer.style.removeProperty("display")}}))}function k(e){if(0===D.selectedDates.length){var n=void 0!==D.config.minDate?new Date(D.config.minDate.getTime()):new Date,t=S(),a=t.hours,i=t.minutes,l=t.seconds;n.setHours(a,i,l,0),D.setDate(n,!1)}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var n="keydown"===e.type,t=m(e),a=t;void 0!==D.amPM&&t===D.amPM&&(D.amPM.textContent=D.l10n.amPM[r(D.amPM.textContent===D.l10n.amPM[0])]);var i=parseFloat(a.getAttribute("min")),l=parseFloat(a.getAttribute("max")),c=parseFloat(a.getAttribute("step")),d=parseInt(a.value,10),s=e.delta||(n?38===e.which?1:-1:0),u=d+c*s;if(void 0!==a.value&&2===a.value.length){var f=a===D.hourElement,g=a===D.minuteElement;u<i?(u=l+u+r(!f)+(r(f)&&r(!D.amPM)),g&&Y(void 0,-1,D.hourElement)):u>l&&(u=a===D.hourElement?u-l-r(!D.amPM):i,g&&Y(void 0,1,D.hourElement)),D.amPM&&f&&(1===c?u+d===23:Math.abs(u-d)>c)&&(D.amPM.textContent=D.l10n.amPM[r(D.amPM.textContent===D.l10n.amPM[0])]),a.value=o(u)}}(e);var c=D._input.value;T(),we(),D._input.value!==c&&D._debouncedChange()}function T(){if(void 0!==D.hourElement&&void 0!==D.minuteElement){var e,n,t=(parseInt(D.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(D.minuteElement.value,10)||0)%60,i=void 0!==D.secondElement?(parseInt(D.secondElement.value,10)||0)%60:0;void 0!==D.amPM&&(e=t,n=D.amPM.textContent,t=e%12+12*r(n===D.l10n.amPM[1]));var o=void 0!==D.config.minTime||D.config.minDate&&D.minDateHasTime&&D.latestSelectedDateObj&&0===C(D.latestSelectedDateObj,D.config.minDate,!0);if(void 0!==D.config.maxTime||D.config.maxDate&&D.maxDateHasTime&&D.latestSelectedDateObj&&0===C(D.latestSelectedDateObj,D.config.maxDate,!0)){var l=void 0!==D.config.maxTime?D.config.maxTime:D.config.maxDate;(t=Math.min(t,l.getHours()))===l.getHours()&&(a=Math.min(a,l.getMinutes())),a===l.getMinutes()&&(i=Math.min(i,l.getSeconds()))}if(o){var c=void 0!==D.config.minTime?D.config.minTime:D.config.minDate;(t=Math.max(t,c.getHours()))===c.getHours()&&(a=Math.max(a,c.getMinutes())),a===c.getMinutes()&&(i=Math.max(i,c.getSeconds()))}_(t,a,i)}}function I(e){var n=e||D.latestSelectedDateObj;n&&_(n.getHours(),n.getMinutes(),n.getSeconds())}function S(){var e=D.config.defaultHour,n=D.config.defaultMinute,t=D.config.defaultSeconds;if(void 0!==D.config.minDate){var a=D.config.minDate.getHours(),i=D.config.minDate.getMinutes();(e=Math.max(e,a))===a&&(n=Math.max(i,n)),e===a&&n===i&&(t=D.config.minDate.getSeconds())}if(void 0!==D.config.maxDate){var o=D.config.maxDate.getHours(),r=D.config.maxDate.getMinutes();(e=Math.min(e,o))===o&&(n=Math.min(r,n)),e===o&&n===r&&(t=D.config.maxDate.getSeconds())}return{hours:e,minutes:n,seconds:t}}function _(e,n,t){void 0!==D.latestSelectedDateObj&&D.latestSelectedDateObj.setHours(e%24,n,t||0,0),D.hourElement&&D.minuteElement&&!D.isMobile&&(D.hourElement.value=o(D.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),D.minuteElement.value=o(n),void 0!==D.amPM&&(D.amPM.textContent=D.l10n.amPM[r(e>=12)]),void 0!==D.secondElement&&(D.secondElement.value=o(t)))}function O(e){var n=m(e),t=parseInt(n.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&Z(t)}function F(e,n,t,a){return n instanceof Array?n.forEach((function(n){return F(e,n,t,a)})):e instanceof Array?e.forEach((function(e){return F(e,n,t,a)})):(e.addEventListener(n,t,a),void D._handlers.push({element:e,event:n,handler:t,options:a}))}function N(){ge("onChange")}function A(e,n){var t=void 0!==e?D.parseDate(e):D.latestSelectedDateObj||(D.config.minDate&&D.config.minDate>D.now?D.config.minDate:D.config.maxDate&&D.config.maxDate<D.now?D.config.maxDate:D.now),a=D.currentYear,i=D.currentMonth;try{void 0!==t&&(D.currentYear=t.getFullYear(),D.currentMonth=t.getMonth())}catch(e){e.message="Invalid date supplied: "+t,D.config.errorHandler(e)}n&&D.currentYear!==a&&(ge("onYearChange"),J()),!n||D.currentYear===a&&D.currentMonth===i||ge("onMonthChange"),D.redraw()}function P(e){var n=m(e);~n.className.indexOf("arrow")&&Y(e,n.classList.contains("arrowUp")?1:-1)}function Y(e,n,t){var a=e&&m(e),i=t||a&&a.parentNode&&a.parentNode.firstChild,o=pe("increment");o.delta=n,i&&i.dispatchEvent(o)}function H(e,n,t,a){var i=Q(n,!0),o=s("span","flatpickr-day "+e,n.getDate().toString());return o.dateObj=n,o.$i=a,o.setAttribute("aria-label",D.formatDate(n,D.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===C(n,D.now)&&(D.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,he(n)&&(o.classList.add("selected"),D.selectedDateElem=o,"range"===D.config.mode&&(d(o,"startRange",D.selectedDates[0]&&0===C(n,D.selectedDates[0],!0)),d(o,"endRange",D.selectedDates[1]&&0===C(n,D.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===D.config.mode&&function(e){return!("range"!==D.config.mode||D.selectedDates.length<2)&&(C(e,D.selectedDates[0])>=0&&C(e,D.selectedDates[1])<=0)}(n)&&!he(n)&&o.classList.add("inRange"),D.weekNumbers&&1===D.config.showMonths&&"prevMonthDay"!==e&&t%7==1&&D.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+D.config.getWeek(n)+"</span>"),ge("onDayCreate",o),o}function j(e){e.focus(),"range"===D.config.mode&&te(e)}function L(e){for(var n=e>0?0:D.config.showMonths-1,t=e>0?D.config.showMonths:-1,a=n;a!=t;a+=e)for(var i=D.daysContainer.children[a],o=e>0?0:i.children.length-1,r=e>0?i.children.length:-1,l=o;l!=r;l+=e){var c=i.children[l];if(-1===c.className.indexOf("hidden")&&Q(c.dateObj))return c}}function W(e,n){var t=X(document.activeElement||document.body),a=void 0!==e?e:t?document.activeElement:void 0!==D.selectedDateElem&&X(D.selectedDateElem)?D.selectedDateElem:void 0!==D.todayDateElem&&X(D.todayDateElem)?D.todayDateElem:L(n>0?1:-1);void 0===a?D._input.focus():t?function(e,n){for(var t=-1===e.className.indexOf("Month")?e.dateObj.getMonth():D.currentMonth,a=n>0?D.config.showMonths:-1,i=n>0?1:-1,o=t-D.currentMonth;o!=a;o+=i)for(var r=D.daysContainer.children[o],l=t-D.currentMonth===o?e.$i+n:n<0?r.children.length-1:0,c=r.children.length,d=l;d>=0&&d<c&&d!=(n>0?c:-1);d+=i){var s=r.children[d];if(-1===s.className.indexOf("hidden")&&Q(s.dateObj)&&Math.abs(e.$i-d)>=Math.abs(n))return j(s)}D.changeMonth(i),W(L(i),0)}(a,n):j(a)}function R(e,n){for(var t=(new Date(e,n,1).getDay()-D.l10n.firstDayOfWeek+7)%7,a=D.utils.getDaysInMonth((n-1+12)%12,e),i=D.utils.getDaysInMonth(n,e),o=window.document.createDocumentFragment(),r=D.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",d=a+1-t,u=0;d<=a;d++,u++)o.appendChild(H(l,new Date(e,n-1,d),d,u));for(d=1;d<=i;d++,u++)o.appendChild(H("",new Date(e,n,d),d,u));for(var f=i+1;f<=42-t&&(1===D.config.showMonths||u%7!=0);f++,u++)o.appendChild(H(c,new Date(e,n+1,f%i),f,u));var m=s("div","dayContainer");return m.appendChild(o),m}function B(){if(void 0!==D.daysContainer){u(D.daysContainer),D.weekNumbers&&u(D.weekNumbers);for(var e=document.createDocumentFragment(),n=0;n<D.config.showMonths;n++){var t=new Date(D.currentYear,D.currentMonth,1);t.setMonth(D.currentMonth+n),e.appendChild(R(t.getFullYear(),t.getMonth()))}D.daysContainer.appendChild(e),D.days=D.daysContainer.firstChild,"range"===D.config.mode&&1===D.selectedDates.length&&te()}}function J(){if(!(D.config.showMonths>1||"dropdown"!==D.config.monthSelectorType)){var e=function(e){return!(void 0!==D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&e<D.config.minDate.getMonth())&&!(void 0!==D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()&&e>D.config.maxDate.getMonth())};D.monthsDropdownContainer.tabIndex=-1,D.monthsDropdownContainer.innerHTML="";for(var n=0;n<12;n++)if(e(n)){var t=s("option","flatpickr-monthDropdown-month");t.value=new Date(D.currentYear,n).getMonth().toString(),t.textContent=p(n,D.config.shorthandCurrentMonth,D.l10n),t.tabIndex=-1,D.currentMonth===n&&(t.selected=!0),D.monthsDropdownContainer.appendChild(t)}}}function K(){var e,n=s("div","flatpickr-month"),t=window.document.createDocumentFragment();D.config.showMonths>1||"static"===D.config.monthSelectorType?e=s("span","cur-month"):(D.monthsDropdownContainer=s("select","flatpickr-monthDropdown-months"),D.monthsDropdownContainer.setAttribute("aria-label",D.l10n.monthAriaLabel),F(D.monthsDropdownContainer,"change",(function(e){var n=m(e),t=parseInt(n.value,10);D.changeMonth(t-D.currentMonth),ge("onMonthChange")})),J(),e=D.monthsDropdownContainer);var a=f("cur-year",{tabindex:"-1"}),i=a.getElementsByTagName("input")[0];i.setAttribute("aria-label",D.l10n.yearAriaLabel),D.config.minDate&&i.setAttribute("min",D.config.minDate.getFullYear().toString()),D.config.maxDate&&(i.setAttribute("max",D.config.maxDate.getFullYear().toString()),i.disabled=!!D.config.minDate&&D.config.minDate.getFullYear()===D.config.maxDate.getFullYear());var o=s("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(a),t.appendChild(o),n.appendChild(t),{container:n,yearElement:i,monthElement:e}}function U(){u(D.monthNav),D.monthNav.appendChild(D.prevMonthNav),D.config.showMonths&&(D.yearElements=[],D.monthElements=[]);for(var e=D.config.showMonths;e--;){var n=K();D.yearElements.push(n.yearElement),D.monthElements.push(n.monthElement),D.monthNav.appendChild(n.container)}D.monthNav.appendChild(D.nextMonthNav)}function q(){D.weekdayContainer?u(D.weekdayContainer):D.weekdayContainer=s("div","flatpickr-weekdays");for(var e=D.config.showMonths;e--;){var n=s("div","flatpickr-weekdaycontainer");D.weekdayContainer.appendChild(n)}return $(),D.weekdayContainer}function $(){if(D.weekdayContainer){var e=D.l10n.firstDayOfWeek,t=n(D.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=n(t.splice(e,t.length),t.splice(0,e)));for(var a=D.config.showMonths;a--;)D.weekdayContainer.children[a].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function z(e,n){void 0===n&&(n=!0);var t=n?e:e-D.currentMonth;t<0&&!0===D._hidePrevMonthArrow||t>0&&!0===D._hideNextMonthArrow||(D.currentMonth+=t,(D.currentMonth<0||D.currentMonth>11)&&(D.currentYear+=D.currentMonth>11?1:-1,D.currentMonth=(D.currentMonth+12)%12,ge("onYearChange"),J()),B(),ge("onMonthChange"),ve())}function G(e){return!(!D.config.appendTo||!D.config.appendTo.contains(e))||D.calendarContainer.contains(e)}function V(e){if(D.isOpen&&!D.config.inline){var n=m(e),t=G(n),a=n===D.input||n===D.altInput||D.element.contains(n)||e.path&&e.path.indexOf&&(~e.path.indexOf(D.input)||~e.path.indexOf(D.altInput)),i="blur"===e.type?a&&e.relatedTarget&&!G(e.relatedTarget):!a&&!t&&!G(e.relatedTarget),o=!D.config.ignoredFocusElements.some((function(e){return e.contains(n)}));i&&o&&(void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&""!==D.input.value&&void 0!==D.input.value&&k(),D.close(),D.config&&"range"===D.config.mode&&1===D.selectedDates.length&&(D.clear(!1),D.redraw()))}}function Z(e){if(!(!e||D.config.minDate&&e<D.config.minDate.getFullYear()||D.config.maxDate&&e>D.config.maxDate.getFullYear())){var n=e,t=D.currentYear!==n;D.currentYear=n||D.currentYear,D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth=Math.min(D.config.maxDate.getMonth(),D.currentMonth):D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&(D.currentMonth=Math.max(D.config.minDate.getMonth(),D.currentMonth)),t&&(D.redraw(),ge("onYearChange"),J())}}function Q(e,n){void 0===n&&(n=!0);var t=D.parseDate(e,void 0,n);if(D.config.minDate&&t&&C(t,D.config.minDate,void 0!==n?n:!D.minDateHasTime)<0||D.config.maxDate&&t&&C(t,D.config.maxDate,void 0!==n?n:!D.maxDateHasTime)>0)return!1;if(0===D.config.enable.length&&0===D.config.disable.length)return!0;if(void 0===t)return!1;for(var a=D.config.enable.length>0,i=a?D.config.enable:D.config.disable,o=0,r=void 0;o<i.length;o++){if("function"==typeof(r=i[o])&&r(t))return a;if(r instanceof Date&&void 0!==t&&r.getTime()===t.getTime())return a;if("string"==typeof r&&void 0!==t){var l=D.parseDate(r,void 0,!0);return l&&l.getTime()===t.getTime()?a:!a}if("object"==typeof r&&void 0!==t&&r.from&&r.to&&t.getTime()>=r.from.getTime()&&t.getTime()<=r.to.getTime())return a}return!a}function X(e){return void 0!==D.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&D.daysContainer.contains(e))}function ee(e){e.target===D._input&&D.setDate(D._input.value,!0,e.target===D.altInput?D.config.altFormat:D.config.dateFormat)}function ne(e){var n=m(e),t=D.config.wrap?g.contains(n):n===D._input,a=D.config.allowInput,i=D.isOpen&&(!a||!t),o=D.config.inline&&t&&!a;if(13===e.keyCode&&t){if(a)return D.setDate(D._input.value,!0,n===D.altInput?D.config.altFormat:D.config.dateFormat),n.blur();D.open()}else if(G(n)||i||o){var r=!!D.timeContainer&&D.timeContainer.contains(n);switch(e.keyCode){case 13:r?(e.preventDefault(),k(),de()):se(e);break;case 27:e.preventDefault(),de();break;case 8:case 46:t&&!D.config.allowInput&&(e.preventDefault(),D.clear());break;case 37:case 39:if(r||t)D.hourElement&&D.hourElement.focus();else if(e.preventDefault(),void 0!==D.daysContainer&&(!1===a||document.activeElement&&X(document.activeElement))){var l=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),z(l),W(L(1),0)):W(void 0,l)}break;case 38:case 40:e.preventDefault();var c=40===e.keyCode?1:-1;D.daysContainer&&void 0!==n.$i||n===D.input||n===D.altInput?e.ctrlKey?(e.stopPropagation(),Z(D.currentYear-c),W(L(1),0)):r||W(void 0,7*c):n===D.currentYearElement?Z(D.currentYear-c):D.config.enableTime&&(!r&&D.hourElement&&D.hourElement.focus(),k(e),D._debouncedChange());break;case 9:if(r){var d=[D.hourElement,D.minuteElement,D.secondElement,D.amPM].concat(D.pluginElements).filter((function(e){return e})),s=d.indexOf(n);if(-1!==s){var u=d[s+(e.shiftKey?-1:1)];e.preventDefault(),(u||D._input).focus()}}else!D.config.noCalendar&&D.daysContainer&&D.daysContainer.contains(n)&&e.shiftKey&&(e.preventDefault(),D._input.focus())}}if(void 0!==D.amPM&&n===D.amPM)switch(e.key){case D.l10n.amPM[0].charAt(0):case D.l10n.amPM[0].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[0],T(),we();break;case D.l10n.amPM[1].charAt(0):case D.l10n.amPM[1].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[1],T(),we()}(t||G(n))&&ge("onKeyDown",e)}function te(e){if(1===D.selectedDates.length&&(!e||e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled"))){for(var n=e?e.dateObj.getTime():D.days.firstElementChild.dateObj.getTime(),t=D.parseDate(D.selectedDates[0],void 0,!0).getTime(),a=Math.min(n,D.selectedDates[0].getTime()),i=Math.max(n,D.selectedDates[0].getTime()),o=!1,r=0,l=0,c=a;c<i;c+=M)Q(new Date(c),!0)||(o=o||c>a&&c<i,c<t&&(!r||c>r)?r=c:c>t&&(!l||c<l)&&(l=c));for(var d=0;d<D.config.showMonths;d++)for(var s=D.daysContainer.children[d],u=function(a,i){var c,d,u,f=s.children[a],m=f.dateObj.getTime(),g=r>0&&m<r||l>0&&m>l;return g?(f.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach((function(e){f.classList.remove(e)})),"continue"):o&&!g?"continue":(["startRange","inRange","endRange","notAllowed"].forEach((function(e){f.classList.remove(e)})),void(void 0!==e&&(e.classList.add(n<=D.selectedDates[0].getTime()?"startRange":"endRange"),t<n&&m===t?f.classList.add("startRange"):t>n&&m===t&&f.classList.add("endRange"),m>=r&&(0===l||m<=l)&&(d=t,u=n,(c=m)>Math.min(d,u)&&c<Math.max(d,u))&&f.classList.add("inRange"))))},f=0,m=s.children.length;f<m;f++)u(f)}}function ae(){!D.isOpen||D.config.static||D.config.inline||le()}function ie(e){return function(n){var t=D.config["_"+e+"Date"]=D.parseDate(n,D.config.dateFormat),a=D.config["_"+("min"===e?"max":"min")+"Date"];void 0!==t&&(D["min"===e?"minDateHasTime":"maxDateHasTime"]=t.getHours()>0||t.getMinutes()>0||t.getSeconds()>0),D.selectedDates&&(D.selectedDates=D.selectedDates.filter((function(e){return Q(e)})),D.selectedDates.length||"min"!==e||I(t),we()),D.daysContainer&&(ce(),void 0!==t?D.currentYearElement[e]=t.getFullYear().toString():D.currentYearElement.removeAttribute(e),D.currentYearElement.disabled=!!a&&void 0!==t&&a.getFullYear()===t.getFullYear())}}function oe(){return D.config.wrap?g.querySelector("[data-input]"):g}function re(){"object"!=typeof D.config.locale&&void 0===E.l10ns[D.config.locale]&&D.config.errorHandler(new Error("flatpickr: invalid locale "+D.config.locale)),D.l10n=e(e({},E.l10ns.default),"object"==typeof D.config.locale?D.config.locale:"default"!==D.config.locale?E.l10ns[D.config.locale]:void 0),v.K="("+D.l10n.amPM[0]+"|"+D.l10n.amPM[1]+"|"+D.l10n.amPM[0].toLowerCase()+"|"+D.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},h),JSON.parse(JSON.stringify(g.dataset||{}))).time_24hr&&void 0===E.defaultConfig.time_24hr&&(D.config.time_24hr=D.l10n.time_24hr),D.formatDate=w(D),D.parseDate=b({config:D.config,l10n:D.l10n})}function le(e){if(void 0!==D.calendarContainer){ge("onPreCalendarPosition");var n=e||D._positionElement,t=Array.prototype.reduce.call(D.calendarContainer.children,(function(e,n){return e+n.offsetHeight}),0),a=D.calendarContainer.offsetWidth,i=D.config.position.split(" "),o=i[0],r=i.length>1?i[1]:null,l=n.getBoundingClientRect(),c=window.innerHeight-l.bottom,s="above"===o||"below"!==o&&c<t&&l.top>t,u=window.pageYOffset+l.top+(s?-t-2:n.offsetHeight+2);if(d(D.calendarContainer,"arrowTop",!s),d(D.calendarContainer,"arrowBottom",s),!D.config.inline){var f=window.pageXOffset+l.left,m=!1,g=!1;"center"===r?(f-=(a-l.width)/2,m=!0):"right"===r&&(f-=a-l.width,g=!0),d(D.calendarContainer,"arrowLeft",!m&&!g),d(D.calendarContainer,"arrowCenter",m),d(D.calendarContainer,"arrowRight",g);var p=window.document.body.offsetWidth-(window.pageXOffset+l.right),h=f+a>window.document.body.offsetWidth,v=p+a>window.document.body.offsetWidth;if(d(D.calendarContainer,"rightMost",h),!D.config.static)if(D.calendarContainer.style.top=u+"px",h)if(v){var w=function(){for(var e=null,n=0;n<document.styleSheets.length;n++){var t=document.styleSheets[n];try{t.cssRules}catch(e){continue}e=t;break}return null!=e?e:(a=document.createElement("style"),document.head.appendChild(a),a.sheet);var a}();if(void 0===w)return;var b=window.document.body.offsetWidth,C=Math.max(0,b/2-a/2),M=w.cssRules.length,y="{left:"+l.left+"px;right:auto;}";d(D.calendarContainer,"rightMost",!1),d(D.calendarContainer,"centerMost",!0),w.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+y,M),D.calendarContainer.style.left=C+"px",D.calendarContainer.style.right="auto"}else D.calendarContainer.style.left="auto",D.calendarContainer.style.right=p+"px";else D.calendarContainer.style.left=f+"px",D.calendarContainer.style.right="auto"}}}function ce(){D.config.noCalendar||D.isMobile||(J(),ve(),B())}function de(){D._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(D.close,0):D.close()}function se(e){e.preventDefault(),e.stopPropagation();var n=function e(n,t){return t(n)?n:n.parentNode?e(n.parentNode,t):void 0}(m(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==n){var t=n,a=D.latestSelectedDateObj=new Date(t.dateObj.getTime()),i=(a.getMonth()<D.currentMonth||a.getMonth()>D.currentMonth+D.config.showMonths-1)&&"range"!==D.config.mode;if(D.selectedDateElem=t,"single"===D.config.mode)D.selectedDates=[a];else if("multiple"===D.config.mode){var o=he(a);o?D.selectedDates.splice(parseInt(o),1):D.selectedDates.push(a)}else"range"===D.config.mode&&(2===D.selectedDates.length&&D.clear(!1,!1),D.latestSelectedDateObj=a,D.selectedDates.push(a),0!==C(a,D.selectedDates[0],!0)&&D.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()})));if(T(),i){var r=D.currentYear!==a.getFullYear();D.currentYear=a.getFullYear(),D.currentMonth=a.getMonth(),r&&(ge("onYearChange"),J()),ge("onMonthChange")}if(ve(),B(),we(),i||"range"===D.config.mode||1!==D.config.showMonths?void 0!==D.selectedDateElem&&void 0===D.hourElement&&D.selectedDateElem&&D.selectedDateElem.focus():j(t),void 0!==D.hourElement&&void 0!==D.hourElement&&D.hourElement.focus(),D.config.closeOnSelect){var l="single"===D.config.mode&&!D.config.enableTime,c="range"===D.config.mode&&2===D.selectedDates.length&&!D.config.enableTime;(l||c)&&de()}N()}}D.parseDate=b({config:D.config,l10n:D.l10n}),D._handlers=[],D.pluginElements=[],D.loadedPlugins=[],D._bind=F,D._setHoursFromDate=I,D._positionCalendar=le,D.changeMonth=z,D.changeYear=Z,D.clear=function(e,n){void 0===e&&(e=!0);void 0===n&&(n=!0);D.input.value="",void 0!==D.altInput&&(D.altInput.value="");void 0!==D.mobileInput&&(D.mobileInput.value="");D.selectedDates=[],D.latestSelectedDateObj=void 0,!0===n&&(D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth());if(!0===D.config.enableTime){var t=S(),a=t.hours,i=t.minutes,o=t.seconds;_(a,i,o)}D.redraw(),e&&ge("onChange")},D.close=function(){D.isOpen=!1,D.isMobile||(void 0!==D.calendarContainer&&D.calendarContainer.classList.remove("open"),void 0!==D._input&&D._input.classList.remove("active"));ge("onClose")},D._createElement=s,D.destroy=function(){void 0!==D.config&&ge("onDestroy");for(var e=D._handlers.length;e--;){var n=D._handlers[e];n.element.removeEventListener(n.event,n.handler,n.options)}if(D._handlers=[],D.mobileInput)D.mobileInput.parentNode&&D.mobileInput.parentNode.removeChild(D.mobileInput),D.mobileInput=void 0;else if(D.calendarContainer&&D.calendarContainer.parentNode)if(D.config.static&&D.calendarContainer.parentNode){var t=D.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else D.calendarContainer.parentNode.removeChild(D.calendarContainer);D.altInput&&(D.input.type="text",D.altInput.parentNode&&D.altInput.parentNode.removeChild(D.altInput),delete D.altInput);D.input&&(D.input.type=D.input._type,D.input.classList.remove("flatpickr-input"),D.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete D[e]}catch(e){}}))},D.isEnabled=Q,D.jumpToDate=A,D.open=function(e,n){void 0===n&&(n=D._positionElement);if(!0===D.isMobile){if(e){e.preventDefault();var t=m(e);t&&t.blur()}return void 0!==D.mobileInput&&(D.mobileInput.focus(),D.mobileInput.click()),void ge("onOpen")}if(D._input.disabled||D.config.inline)return;var a=D.isOpen;D.isOpen=!0,a||(D.calendarContainer.classList.add("open"),D._input.classList.add("active"),ge("onOpen"),le(n));!0===D.config.enableTime&&!0===D.config.noCalendar&&(!1!==D.config.allowInput||void 0!==e&&D.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return D.hourElement.select()}),50))},D.redraw=ce,D.set=function(e,n){if(null!==e&&"object"==typeof e)for(var a in Object.assign(D.config,e),e)void 0!==ue[a]&&ue[a].forEach((function(e){return e()}));else D.config[e]=n,void 0!==ue[e]?ue[e].forEach((function(e){return e()})):t.indexOf(e)>-1&&(D.config[e]=c(n));D.redraw(),we(!0)},D.setDate=function(e,n,t){void 0===n&&(n=!1);void 0===t&&(t=D.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return D.clear(n);fe(e,t),D.latestSelectedDateObj=D.selectedDates[D.selectedDates.length-1],D.redraw(),A(void 0,n),I(),0===D.selectedDates.length&&D.clear(!1);we(n),n&&ge("onChange")},D.toggle=function(e){if(!0===D.isOpen)return D.close();D.open(e)};var ue={locale:[re,$],showMonths:[U,x,q],minDate:[A],maxDate:[A]};function fe(e,n){var t=[];if(e instanceof Array)t=e.map((function(e){return D.parseDate(e,n)}));else if(e instanceof Date||"number"==typeof e)t=[D.parseDate(e,n)];else if("string"==typeof e)switch(D.config.mode){case"single":case"time":t=[D.parseDate(e,n)];break;case"multiple":t=e.split(D.config.conjunction).map((function(e){return D.parseDate(e,n)}));break;case"range":t=e.split(D.l10n.rangeSeparator).map((function(e){return D.parseDate(e,n)}))}else D.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));D.selectedDates=D.config.allowInvalidPreload?t:t.filter((function(e){return e instanceof Date&&Q(e,!1)})),"range"===D.config.mode&&D.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()}))}function me(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?D.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:D.parseDate(e.from,void 0),to:D.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function ge(e,n){if(void 0!==D.config){var t=D.config[e];if(void 0!==t&&t.length>0)for(var a=0;t[a]&&a<t.length;a++)t[a](D.selectedDates,D.input.value,D,n);"onChange"===e&&(D.input.dispatchEvent(pe("change")),D.input.dispatchEvent(pe("input")))}}function pe(e){var n=document.createEvent("Event");return n.initEvent(e,!0,!0),n}function he(e){for(var n=0;n<D.selectedDates.length;n++)if(0===C(D.selectedDates[n],e))return""+n;return!1}function ve(){D.config.noCalendar||D.isMobile||!D.monthNav||(D.yearElements.forEach((function(e,n){var t=new Date(D.currentYear,D.currentMonth,1);t.setMonth(D.currentMonth+n),D.config.showMonths>1||"static"===D.config.monthSelectorType?D.monthElements[n].textContent=p(t.getMonth(),D.config.shorthandCurrentMonth,D.l10n)+" ":D.monthsDropdownContainer.value=t.getMonth().toString(),e.value=t.getFullYear().toString()})),D._hidePrevMonthArrow=void 0!==D.config.minDate&&(D.currentYear===D.config.minDate.getFullYear()?D.currentMonth<=D.config.minDate.getMonth():D.currentYear<D.config.minDate.getFullYear()),D._hideNextMonthArrow=void 0!==D.config.maxDate&&(D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth+1>D.config.maxDate.getMonth():D.currentYear>D.config.maxDate.getFullYear()))}function De(e){return D.selectedDates.map((function(n){return D.formatDate(n,e)})).filter((function(e,n,t){return"range"!==D.config.mode||D.config.enableTime||t.indexOf(e)===n})).join("range"!==D.config.mode?D.config.conjunction:D.l10n.rangeSeparator)}function we(e){void 0===e&&(e=!0),void 0!==D.mobileInput&&D.mobileFormatStr&&(D.mobileInput.value=void 0!==D.latestSelectedDateObj?D.formatDate(D.latestSelectedDateObj,D.mobileFormatStr):""),D.input.value=De(D.config.dateFormat),void 0!==D.altInput&&(D.altInput.value=De(D.config.altFormat)),!1!==e&&ge("onValueUpdate")}function be(e){var n=m(e),t=D.prevMonthNav.contains(n),a=D.nextMonthNav.contains(n);t||a?z(t?-1:1):D.yearElements.indexOf(n)>=0?n.select():n.classList.contains("arrowUp")?D.changeYear(D.currentYear+1):n.classList.contains("arrowDown")&&D.changeYear(D.currentYear-1)}return function(){D.element=D.input=g,D.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e(e({},JSON.parse(JSON.stringify(g.dataset||{}))),h),o={};D.config.parseDate=i.parseDate,D.config.formatDate=i.formatDate,Object.defineProperty(D.config,"enable",{get:function(){return D.config._enable},set:function(e){D.config._enable=me(e)}}),Object.defineProperty(D.config,"disable",{get:function(){return D.config._disable},set:function(e){D.config._disable=me(e)}});var r="time"===i.mode;if(!i.dateFormat&&(i.enableTime||r)){var l=E.defaultConfig.dateFormat||a.dateFormat;o.dateFormat=i.noCalendar||r?"H:i"+(i.enableSeconds?":S":""):l+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||r)&&!i.altFormat){var d=E.defaultConfig.altFormat||a.altFormat;o.altFormat=i.noCalendar||r?"h:i"+(i.enableSeconds?":S K":" K"):d+" h:i"+(i.enableSeconds?":S":"")+" K"}Object.defineProperty(D.config,"minDate",{get:function(){return D.config._minDate},set:ie("min")}),Object.defineProperty(D.config,"maxDate",{get:function(){return D.config._maxDate},set:ie("max")});var s=function(e){return function(n){D.config["min"===e?"_minTime":"_maxTime"]=D.parseDate(n,"H:i:S")}};Object.defineProperty(D.config,"minTime",{get:function(){return D.config._minTime},set:s("min")}),Object.defineProperty(D.config,"maxTime",{get:function(){return D.config._maxTime},set:s("max")}),"time"===i.mode&&(D.config.noCalendar=!0,D.config.enableTime=!0);Object.assign(D.config,o,i);for(var u=0;u<n.length;u++)D.config[n[u]]=!0===D.config[n[u]]||"true"===D.config[n[u]];t.filter((function(e){return void 0!==D.config[e]})).forEach((function(e){D.config[e]=c(D.config[e]||[]).map(y)})),D.isMobile=!D.config.disableMobile&&!D.config.inline&&"single"===D.config.mode&&!D.config.disable.length&&!D.config.enable.length&&!D.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<D.config.plugins.length;u++){var f=D.config.plugins[u](D)||{};for(var m in f)t.indexOf(m)>-1?D.config[m]=c(f[m]).map(y).concat(D.config[m]):void 0===i[m]&&(D.config[m]=f[m])}i.altInputClass||(D.config.altInputClass=oe().className+" "+D.config.altInputClass);ge("onParseConfig")}(),re(),function(){if(D.input=oe(),!D.input)return void D.config.errorHandler(new Error("Invalid input element specified"));D.input._type=D.input.type,D.input.type="text",D.input.classList.add("flatpickr-input"),D._input=D.input,D.config.altInput&&(D.altInput=s(D.input.nodeName,D.config.altInputClass),D._input=D.altInput,D.altInput.placeholder=D.input.placeholder,D.altInput.disabled=D.input.disabled,D.altInput.required=D.input.required,D.altInput.tabIndex=D.input.tabIndex,D.altInput.type="text",D.input.setAttribute("type","hidden"),!D.config.static&&D.input.parentNode&&D.input.parentNode.insertBefore(D.altInput,D.input.nextSibling));D.config.allowInput||D._input.setAttribute("readonly","readonly");D._positionElement=D.config.positionElement||D._input}(),function(){D.selectedDates=[],D.now=D.parseDate(D.config.now)||new Date;var e=D.config.defaultDate||("INPUT"!==D.input.nodeName&&"TEXTAREA"!==D.input.nodeName||!D.input.placeholder||D.input.value!==D.input.placeholder?D.input.value:null);e&&fe(e,D.config.dateFormat);D._initialDate=D.selectedDates.length>0?D.selectedDates[0]:D.config.minDate&&D.config.minDate.getTime()>D.now.getTime()?D.config.minDate:D.config.maxDate&&D.config.maxDate.getTime()<D.now.getTime()?D.config.maxDate:D.now,D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth(),D.selectedDates.length>0&&(D.latestSelectedDateObj=D.selectedDates[0]);void 0!==D.config.minTime&&(D.config.minTime=D.parseDate(D.config.minTime,"H:i"));void 0!==D.config.maxTime&&(D.config.maxTime=D.parseDate(D.config.maxTime,"H:i"));D.minDateHasTime=!!D.config.minDate&&(D.config.minDate.getHours()>0||D.config.minDate.getMinutes()>0||D.config.minDate.getSeconds()>0),D.maxDateHasTime=!!D.config.maxDate&&(D.config.maxDate.getHours()>0||D.config.maxDate.getMinutes()>0||D.config.maxDate.getSeconds()>0)}(),D.utils={getDaysInMonth:function(e,n){return void 0===e&&(e=D.currentMonth),void 0===n&&(n=D.currentYear),1===e&&(n%4==0&&n%100!=0||n%400==0)?29:D.l10n.daysInMonth[e]}},D.isMobile||function(){var e=window.document.createDocumentFragment();if(D.calendarContainer=s("div","flatpickr-calendar"),D.calendarContainer.tabIndex=-1,!D.config.noCalendar){if(e.appendChild((D.monthNav=s("div","flatpickr-months"),D.yearElements=[],D.monthElements=[],D.prevMonthNav=s("span","flatpickr-prev-month"),D.prevMonthNav.innerHTML=D.config.prevArrow,D.nextMonthNav=s("span","flatpickr-next-month"),D.nextMonthNav.innerHTML=D.config.nextArrow,U(),Object.defineProperty(D,"_hidePrevMonthArrow",{get:function(){return D.__hidePrevMonthArrow},set:function(e){D.__hidePrevMonthArrow!==e&&(d(D.prevMonthNav,"flatpickr-disabled",e),D.__hidePrevMonthArrow=e)}}),Object.defineProperty(D,"_hideNextMonthArrow",{get:function(){return D.__hideNextMonthArrow},set:function(e){D.__hideNextMonthArrow!==e&&(d(D.nextMonthNav,"flatpickr-disabled",e),D.__hideNextMonthArrow=e)}}),D.currentYearElement=D.yearElements[0],ve(),D.monthNav)),D.innerContainer=s("div","flatpickr-innerContainer"),D.config.weekNumbers){var n=function(){D.calendarContainer.classList.add("hasWeeks");var e=s("div","flatpickr-weekwrapper");e.appendChild(s("span","flatpickr-weekday",D.l10n.weekAbbreviation));var n=s("div","flatpickr-weeks");return e.appendChild(n),{weekWrapper:e,weekNumbers:n}}(),t=n.weekWrapper,a=n.weekNumbers;D.innerContainer.appendChild(t),D.weekNumbers=a,D.weekWrapper=t}D.rContainer=s("div","flatpickr-rContainer"),D.rContainer.appendChild(q()),D.daysContainer||(D.daysContainer=s("div","flatpickr-days"),D.daysContainer.tabIndex=-1),B(),D.rContainer.appendChild(D.daysContainer),D.innerContainer.appendChild(D.rContainer),e.appendChild(D.innerContainer)}D.config.enableTime&&e.appendChild(function(){D.calendarContainer.classList.add("hasTime"),D.config.noCalendar&&D.calendarContainer.classList.add("noCalendar");D.timeContainer=s("div","flatpickr-time"),D.timeContainer.tabIndex=-1;var e=s("span","flatpickr-time-separator",":"),n=f("flatpickr-hour",{"aria-label":D.l10n.hourAriaLabel});D.hourElement=n.getElementsByTagName("input")[0];var t=f("flatpickr-minute",{"aria-label":D.l10n.minuteAriaLabel});D.minuteElement=t.getElementsByTagName("input")[0],D.hourElement.tabIndex=D.minuteElement.tabIndex=-1,D.hourElement.value=o(D.latestSelectedDateObj?D.latestSelectedDateObj.getHours():D.config.time_24hr?D.config.defaultHour:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(D.config.defaultHour)),D.minuteElement.value=o(D.latestSelectedDateObj?D.latestSelectedDateObj.getMinutes():D.config.defaultMinute),D.hourElement.setAttribute("step",D.config.hourIncrement.toString()),D.minuteElement.setAttribute("step",D.config.minuteIncrement.toString()),D.hourElement.setAttribute("min",D.config.time_24hr?"0":"1"),D.hourElement.setAttribute("max",D.config.time_24hr?"23":"12"),D.minuteElement.setAttribute("min","0"),D.minuteElement.setAttribute("max","59"),D.timeContainer.appendChild(n),D.timeContainer.appendChild(e),D.timeContainer.appendChild(t),D.config.time_24hr&&D.timeContainer.classList.add("time24hr");if(D.config.enableSeconds){D.timeContainer.classList.add("hasSeconds");var a=f("flatpickr-second");D.secondElement=a.getElementsByTagName("input")[0],D.secondElement.value=o(D.latestSelectedDateObj?D.latestSelectedDateObj.getSeconds():D.config.defaultSeconds),D.secondElement.setAttribute("step",D.minuteElement.getAttribute("step")),D.secondElement.setAttribute("min","0"),D.secondElement.setAttribute("max","59"),D.timeContainer.appendChild(s("span","flatpickr-time-separator",":")),D.timeContainer.appendChild(a)}D.config.time_24hr||(D.amPM=s("span","flatpickr-am-pm",D.l10n.amPM[r((D.latestSelectedDateObj?D.hourElement.value:D.config.defaultHour)>11)]),D.amPM.title=D.l10n.toggleTitle,D.amPM.tabIndex=-1,D.timeContainer.appendChild(D.amPM));return D.timeContainer}());d(D.calendarContainer,"rangeMode","range"===D.config.mode),d(D.calendarContainer,"animate",!0===D.config.animate),d(D.calendarContainer,"multiMonth",D.config.showMonths>1),D.calendarContainer.appendChild(e);var i=void 0!==D.config.appendTo&&void 0!==D.config.appendTo.nodeType;if((D.config.inline||D.config.static)&&(D.calendarContainer.classList.add(D.config.inline?"inline":"static"),D.config.inline&&(!i&&D.element.parentNode?D.element.parentNode.insertBefore(D.calendarContainer,D._input.nextSibling):void 0!==D.config.appendTo&&D.config.appendTo.appendChild(D.calendarContainer)),D.config.static)){var l=s("div","flatpickr-wrapper");D.element.parentNode&&D.element.parentNode.insertBefore(l,D.element),l.appendChild(D.element),D.altInput&&l.appendChild(D.altInput),l.appendChild(D.calendarContainer)}D.config.static||D.config.inline||(void 0!==D.config.appendTo?D.config.appendTo:window.document.body).appendChild(D.calendarContainer)}(),function(){D.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(D.element.querySelectorAll("[data-"+e+"]"),(function(n){return F(n,"click",D[e])}))}));if(D.isMobile)return void function(){var e=D.config.enableTime?D.config.noCalendar?"time":"datetime-local":"date";D.mobileInput=s("input",D.input.className+" flatpickr-mobile"),D.mobileInput.tabIndex=1,D.mobileInput.type=e,D.mobileInput.disabled=D.input.disabled,D.mobileInput.required=D.input.required,D.mobileInput.placeholder=D.input.placeholder,D.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",D.selectedDates.length>0&&(D.mobileInput.defaultValue=D.mobileInput.value=D.formatDate(D.selectedDates[0],D.mobileFormatStr));D.config.minDate&&(D.mobileInput.min=D.formatDate(D.config.minDate,"Y-m-d"));D.config.maxDate&&(D.mobileInput.max=D.formatDate(D.config.maxDate,"Y-m-d"));D.input.getAttribute("step")&&(D.mobileInput.step=String(D.input.getAttribute("step")));D.input.type="hidden",void 0!==D.altInput&&(D.altInput.type="hidden");try{D.input.parentNode&&D.input.parentNode.insertBefore(D.mobileInput,D.input.nextSibling)}catch(e){}F(D.mobileInput,"change",(function(e){D.setDate(m(e).value,!1,D.mobileFormatStr),ge("onChange"),ge("onClose")}))}();var e=l(ae,50);D._debouncedChange=l(N,300),D.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&F(D.daysContainer,"mouseover",(function(e){"range"===D.config.mode&&te(m(e))}));F(window.document.body,"keydown",ne),D.config.inline||D.config.static||F(window,"resize",e);void 0!==window.ontouchstart?F(window.document,"touchstart",V):F(window.document,"click",V);F(window.document,"focus",V,{capture:!0}),!0===D.config.clickOpens&&(F(D._input,"focus",D.open),F(D._input,"click",D.open));void 0!==D.daysContainer&&(F(D.monthNav,"click",be),F(D.monthNav,["keyup","increment"],O),F(D.daysContainer,"click",se));if(void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement){F(D.timeContainer,["increment"],k),F(D.timeContainer,"blur",k,{capture:!0}),F(D.timeContainer,"click",P),F([D.hourElement,D.minuteElement],["focus","click"],(function(e){return m(e).select()})),void 0!==D.secondElement&&F(D.secondElement,"focus",(function(){return D.secondElement&&D.secondElement.select()})),void 0!==D.amPM&&F(D.amPM,"click",(function(e){k(e),N()}))}D.config.allowInput&&F(D._input,"blur",ee)}(),(D.selectedDates.length||D.config.noCalendar)&&(D.config.enableTime&&I(D.config.noCalendar?D.latestSelectedDateObj||D.config.minDate:void 0),we(!1)),x();var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!D.isMobile&&n&&le(),ge("onReady")}(),D}function x(e,n){for(var t=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),a=[],i=0;i<t.length;i++){var o=t[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=y(o,n||{}),a.push(o._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return x(this,e)},HTMLElement.prototype.flatpickr=function(e){return x([this],e)});var E=function(e,n){return"string"==typeof e?x(window.document.querySelectorAll(e),n):e instanceof Node?x([e],n):x(e,n)};return E.defaultConfig={},E.l10ns={en:e({},i),default:e({},i)},E.localize=function(n){E.l10ns.default=e(e({},E.l10ns.default),n)},E.setDefaults=function(n){E.defaultConfig=e(e({},E.defaultConfig),n)},E.parseDate=b({}),E.formatDate=w({}),E.compareDates=C,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return x(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=E),E}));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ar = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Arabic = {

"السبت",
]
],
},

@@ -43,5 +43,5 @@ months: {

"ديسمبر",
]
],
},
rangeSeparator: " - "
rangeSeparator: " - ",
};

@@ -56,2 +56,2 @@ fp.l10ns.ar = Arabic;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.at = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Austria = {

"Samstag",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Dezember",
]
],
},

@@ -63,3 +63,3 @@ firstDayOfWeek: 1,

scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken"
toggleTitle: "Zum Umschalten klicken",
};

@@ -74,2 +74,2 @@ fp.l10ns.at = Austria;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.az = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,7 +11,7 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};
var Azerbaijan = {
weekdays: {
shorthand: ["Baz", "BzE", "ÇAx", "Çər", "CAx", "Cüm", "Şən"],
shorthand: ["B.", "B.e.", "Ç.a.", "Ç.", "C.a.", "C.", "Ş."],
longhand: [

@@ -25,3 +25,3 @@ "Bazar",

"Şənbə",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Dekabr",
]
],
},

@@ -68,3 +68,3 @@ firstDayOfWeek: 1,

amPM: ["GƏ", "GS"],
time_24hr: true
time_24hr: true,
};

@@ -79,2 +79,2 @@ fp.l10ns.az = Azerbaijan;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.be = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Belarusian = {

"Субота",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Снежань",
]
],
},

@@ -69,3 +69,3 @@ firstDayOfWeek: 1,

yearAriaLabel: "Год",
time_24hr: true
time_24hr: true,
};

@@ -80,2 +80,2 @@ fp.l10ns.be = Belarusian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.bg = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Bulgarian = {

"Събота",
]
],
},

@@ -56,6 +56,6 @@ months: {

"Декември",
]
],
},
time_24hr: true,
firstDayOfWeek: 1
firstDayOfWeek: 1,
};

@@ -70,2 +70,2 @@ fp.l10ns.bg = Bulgarian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.bn = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Bangla = {

"শনিবার",
]
],
},

@@ -56,4 +56,4 @@ months: {

"ডিসেম্বর",
]
}
],
},
};

@@ -68,2 +68,2 @@ fp.l10ns.bn = Bangla;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.bs = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Bosnian = {

"Subota",
]
],
},

@@ -57,5 +57,5 @@ months: {

"Decembar",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -70,2 +70,2 @@ fp.l10ns.bs = Bosnian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.cat = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Catalan = {

"Dissabte",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Desembre",
]
],
},

@@ -77,5 +77,5 @@ ordinal: function (nth) {

firstDayOfWeek: 1,
time_24hr: true
time_24hr: true,
};
fp.l10ns.cat = Catalan;
fp.l10ns.cat = fp.l10ns.ca = Catalan;
var cat = fp.l10ns;

@@ -88,2 +88,2 @@

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.cs = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Czech = {

"Sobota",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Prosinec",
]
],
},

@@ -69,3 +69,3 @@ firstDayOfWeek: 1,

yearAriaLabel: "Rok",
time_24hr: true
time_24hr: true,
};

@@ -80,2 +80,2 @@ fp.l10ns.cs = Czech;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.cy = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Welsh = {

"Dydd Sadwrn",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Rhagfyr",
]
],
},

@@ -87,3 +87,3 @@ firstDayOfWeek: 1,

},
time_24hr: true
time_24hr: true,
};

@@ -98,2 +98,2 @@ fp.l10ns.cy = Welsh;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.da = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Danish = {

"lørdag",
]
],
},

@@ -56,3 +56,3 @@ months: {

"december",
]
],
},

@@ -65,3 +65,3 @@ ordinal: function () {

weekAbbreviation: "uge",
time_24hr: true
time_24hr: true,
};

@@ -76,2 +76,2 @@ fp.l10ns.da = Danish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.de = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var German = {

"Samstag",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Dezember",
]
],
},

@@ -64,3 +64,3 @@ firstDayOfWeek: 1,

toggleTitle: "Zum Umschalten klicken",
time_24hr: true
time_24hr: true,
};

@@ -75,2 +75,2 @@ fp.l10ns.de = German;

}));
})));

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.default = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -19,3 +19,3 @@ var english = {

"Saturday",
]
],
},

@@ -50,3 +50,3 @@ months: {

"December",
]
],
},

@@ -76,5 +76,6 @@ daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],

yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false
time_24hr: false,
};

@@ -87,2 +88,2 @@

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.eo = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -30,3 +30,3 @@ var Esperanto = {

"sabato",
]
],
},

@@ -61,3 +61,3 @@ months: {

"decembro",
]
],
},

@@ -67,3 +67,3 @@ ordinal: function () {

},
time_24hr: true
time_24hr: true,
};

@@ -78,2 +78,2 @@ fp.l10ns.eo = Esperanto;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.es = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Spanish = {

"Sábado",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Diciembre",
]
],
},

@@ -64,3 +64,3 @@ ordinal: function () {

rangeSeparator: " a ",
time_24hr: true
time_24hr: true,
};

@@ -75,2 +75,2 @@ fp.l10ns.es = Spanish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.et = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Estonian = {

"Laupäev",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Detsember",
]
],
},

@@ -67,3 +67,3 @@ firstDayOfWeek: 1,

toggleTitle: "Klõpsa, et vahetada",
time_24hr: true
time_24hr: true,
};

@@ -78,2 +78,2 @@ fp.l10ns.et = Estonian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.fa = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Persian = {

"شنبه",
]
],
},

@@ -56,3 +56,3 @@ months: {

"دسامبر",
]
],
},

@@ -62,3 +62,3 @@ firstDayOfWeek: 6,

return "";
}
},
};

@@ -73,2 +73,2 @@ fp.l10ns.fa = Persian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.fi = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Finnish = {

"Lauantai",
]
],
},

@@ -57,3 +57,3 @@ months: {

"Joulukuu",
]
],
},

@@ -63,3 +63,3 @@ ordinal: function () {

},
time_24hr: true
time_24hr: true,
};

@@ -74,2 +74,2 @@ fp.l10ns.fi = Finnish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.fo = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Faroese = {

"Leygardagur",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Desembur",
]
],
},

@@ -68,3 +68,3 @@ ordinal: function () {

yearAriaLabel: "Ár",
time_24hr: true
time_24hr: true,
};

@@ -79,2 +79,2 @@ fp.l10ns.fo = Faroese;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.fr = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var French = {

"samedi",
]
],
},

@@ -57,3 +57,3 @@ months: {

"décembre",
]
],
},

@@ -69,3 +69,3 @@ ordinal: function (nth) {

toggleTitle: "Cliquer pour basculer",
time_24hr: true
time_24hr: true,
};

@@ -80,2 +80,2 @@ fp.l10ns.fr = French;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ga = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Irish = {

"Dé Sathairn",
]
],
},

@@ -57,5 +57,5 @@ months: {

"Nollaig",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -70,2 +70,2 @@ fp.l10ns.hr = Irish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.gr = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Greek = {

"Σάββατο",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Δεκέμβριος",
]
],
},

@@ -67,3 +67,3 @@ firstDayOfWeek: 1,

toggleTitle: "Κάντε κλικ για αλλαγή",
amPM: ["ΠΜ", "ΜΜ"]
amPM: ["ΠΜ", "ΜΜ"],
};

@@ -78,2 +78,2 @@ fp.l10ns.gr = Greek;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.he = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -17,3 +17,3 @@ var Hebrew = {

shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ש"],
longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"]
longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"],
},

@@ -48,6 +48,6 @@ months: {

"דצמבר",
]
],
},
rangeSeparator: " אל ",
time_24hr: true
time_24hr: true,
};

@@ -62,2 +62,2 @@ fp.l10ns.he = Hebrew;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.hi = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Hindi = {

"शनिवार",
]
],
},

@@ -56,4 +56,4 @@ months: {

"दिसम्बर",
]
}
],
},
};

@@ -68,2 +68,2 @@ fp.l10ns.hi = Hindi;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.hr = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Croatian = {

"Subota",
]
],
},

@@ -57,5 +57,5 @@ months: {

"Prosinac",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -70,2 +70,2 @@ fp.l10ns.hr = Croatian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.hu = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Hungarian = {

"Szombat",
]
],
},

@@ -57,3 +57,3 @@ months: {

"December",
]
],
},

@@ -67,3 +67,3 @@ ordinal: function () {

rangeSeparator: " - ",
time_24hr: true
time_24hr: true,
};

@@ -78,2 +78,2 @@ fp.l10ns.hu = Hungarian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.id = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -17,3 +17,3 @@ var Indonesian = {

shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"]
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
},

@@ -48,3 +48,3 @@ months: {

"Desember",
]
],
},

@@ -56,3 +56,3 @@ firstDayOfWeek: 1,

time_24hr: true,
rangeSeparator: " - "
rangeSeparator: " - ",
};

@@ -67,2 +67,2 @@ fp.l10ns.id = Indonesian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.is = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Icelandic = {

"Laugardagur",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Desember",
]
],
},

@@ -66,3 +66,3 @@ ordinal: function () {

yearAriaLabel: "Ár",
time_24hr: true
time_24hr: true,
};

@@ -77,2 +77,2 @@ fp.l10ns.is = Icelandic;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.it = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Italian = {

"Sabato",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Dicembre",
]
],
},

@@ -65,3 +65,3 @@ firstDayOfWeek: 1,

toggleTitle: "Clicca per cambiare",
time_24hr: true
time_24hr: true,
};

@@ -76,2 +76,2 @@ fp.l10ns.it = Italian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ja = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Japanese = {

"土曜日",
]
],
},

@@ -56,7 +56,7 @@ months: {

"12月",
]
],
},
time_24hr: true,
rangeSeparator: " から ",
firstDayOfWeek: 1
firstDayOfWeek: 1,
};

@@ -71,2 +71,2 @@ fp.l10ns.ja = Japanese;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ka = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Georgian = {

"შაბათი",
]
],
},

@@ -56,3 +56,3 @@ months: {

"დეკემბერი",
]
],
},

@@ -69,3 +69,3 @@ firstDayOfWeek: 1,

yearAriaLabel: "წელი",
time_24hr: true
time_24hr: true,
};

@@ -80,2 +80,2 @@ fp.l10ns.ka = Georgian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.km = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Khmer = {

"សៅរ៍",
]
],
},

@@ -56,3 +56,3 @@ months: {

"ធ្នូ",
]
],
},

@@ -68,3 +68,3 @@ ordinal: function () {

yearAriaLabel: "ឆ្នាំ",
time_24hr: true
time_24hr: true,
};

@@ -79,2 +79,2 @@ fp.l10ns.km = Khmer;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ko = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Korean = {

"토요일",
]
],
},

@@ -56,3 +56,3 @@ months: {

"12월",
]
],
},

@@ -62,3 +62,3 @@ ordinal: function () {

},
rangeSeparator: " ~ "
rangeSeparator: " ~ ",
};

@@ -73,2 +73,2 @@ fp.l10ns.ko = Korean;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.kz = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Kazakh = {

"Сенбi",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Желтоқсан",
]
],
},

@@ -68,3 +68,3 @@ firstDayOfWeek: 1,

amPM: ["ТД", "ТК"],
yearAriaLabel: "Жыл"
yearAriaLabel: "Жыл",
};

@@ -79,2 +79,2 @@ fp.l10ns.kz = Kazakh;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.lt = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Lithuanian = {

"Šeštadienis",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Gruodis",
]
],
},

@@ -63,6 +63,7 @@ firstDayOfWeek: 1,

},
rangeSeparator: " iki ",
weekAbbreviation: "Sav",
scrollTitle: "Keisti laiką pelės rateliu",
toggleTitle: "Perjungti laiko formatą",
time_24hr: true
time_24hr: true,
};

@@ -77,2 +78,2 @@ fp.l10ns.lt = Lithuanian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.lv = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Latvian = {

"Sestdiena",
]
],
},

@@ -57,6 +57,6 @@ months: {

"Decembris",
]
],
},
rangeSeparator: " līdz ",
time_24hr: true
time_24hr: true,
};

@@ -71,2 +71,2 @@ fp.l10ns.lv = Latvian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.mk = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Macedonian = {

"Сабота",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Декември",
]
],
},

@@ -62,3 +62,3 @@ firstDayOfWeek: 1,

rangeSeparator: " до ",
time_24hr: true
time_24hr: true,
};

@@ -73,2 +73,2 @@ fp.l10ns.mk = Macedonian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.mn = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -18,3 +18,3 @@ var Mongolian = {

shorthand: ["Да", "Мя", "Лх", "Пү", "Ба", "Бя", "Ня"],
longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"]
longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"],
},

@@ -49,6 +49,6 @@ months: {

"Арванхоёрдугаар сар",
]
],
},
rangeSeparator: "-с ",
time_24hr: true
time_24hr: true,
};

@@ -63,2 +63,2 @@ fp.l10ns.mn = Mongolian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ms = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Malaysian = {

"Sabtu",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Disember",
]
],
},

@@ -62,3 +62,3 @@ firstDayOfWeek: 1,

return "";
}
},
};

@@ -72,2 +72,2 @@ var ms = fp.l10ns;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.my = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Burmese = {

"စနေ",
]
],
},

@@ -56,3 +56,3 @@ months: {

"ဒီဇင်ဘာ",
]
],
},

@@ -63,3 +63,3 @@ firstDayOfWeek: 1,

},
time_24hr: true
time_24hr: true,
};

@@ -74,2 +74,2 @@ fp.l10ns.my = Burmese;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.nl = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Dutch = {

"zaterdag",
]
],
},

@@ -56,7 +56,7 @@ months: {

"december",
]
],
},
firstDayOfWeek: 1,
weekAbbreviation: "wk",
rangeSeparator: " tot ",
rangeSeparator: " t/m ",
scrollTitle: "Scroll voor volgende / vorige",

@@ -69,3 +69,3 @@ toggleTitle: "Klik om te wisselen",

return "de";
}
},
};

@@ -80,2 +80,2 @@ fp.l10ns.nl = Dutch;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.no = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Norwegian = {

"Lørdag",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Desember",
]
],
},

@@ -67,3 +67,3 @@ firstDayOfWeek: 1,

return ".";
}
},
};

@@ -78,2 +78,2 @@ fp.l10ns.no = Norwegian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.pa = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Punjabi = {

"ਸ਼ਨਿੱਚਰਵਾਰ",
]
],
},

@@ -56,5 +56,5 @@ months: {

"ਦਸੰਬਰ",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -69,2 +69,2 @@ fp.l10ns.pa = Punjabi;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.pl = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Polish = {

"Sobota",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Grudzień",
]
],
},

@@ -67,3 +67,3 @@ rangeSeparator: " do ",

return ".";
}
},
};

@@ -78,2 +78,2 @@ fp.l10ns.pl = Polish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.pt = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Portuguese = {

"Sábado",
]
],
},

@@ -56,6 +56,6 @@ months: {

"Dezembro",
]
],
},
rangeSeparator: " até ",
time_24hr: true
time_24hr: true,
};

@@ -70,2 +70,2 @@ fp.l10ns.pt = Portuguese;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ro = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Romanian = {

"Sâmbătă",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Decembrie",
]
],
},

@@ -63,3 +63,3 @@ firstDayOfWeek: 1,

return "";
}
},
};

@@ -74,2 +74,2 @@ fp.l10ns.ro = Romanian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.ru = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Russian = {

"Суббота",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Декабрь",
]
],
},

@@ -69,3 +69,3 @@ firstDayOfWeek: 1,

yearAriaLabel: "Год",
time_24hr: true
time_24hr: true,
};

@@ -80,2 +80,2 @@ fp.l10ns.ru = Russian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.si = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Sinhala = {

"සෙනසුරාදා",
]
],
},

@@ -56,5 +56,5 @@ months: {

"දෙසැම්බර්",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -69,2 +69,2 @@ fp.l10ns.si = Sinhala;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.sk = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Slovak = {

"Sobota",
]
],
},

@@ -56,3 +56,3 @@ months: {

"December",
]
],
},

@@ -64,3 +64,3 @@ firstDayOfWeek: 1,

return ".";
}
},
};

@@ -75,2 +75,2 @@ fp.l10ns.sk = Slovak;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.sl = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Slovenian = {

"Sobota",
]
],
},

@@ -56,3 +56,3 @@ months: {

"December",
]
],
},

@@ -64,3 +64,3 @@ firstDayOfWeek: 1,

return ".";
}
},
};

@@ -75,2 +75,2 @@ fp.l10ns.sl = Slovenian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.sq = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Albanian = {

"E Shtunë",
]
],
},

@@ -56,5 +56,5 @@ months: {

"Dhjetor",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -69,2 +69,2 @@ fp.l10ns.sq = Albanian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global['sr-cyr'] = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var SerbianCyrillic = {

"Субота",
]
],
},

@@ -56,7 +56,7 @@ months: {

"Децембар",
]
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Нед.",
rangeSeparator: " до "
rangeSeparator: " до ",
};

@@ -71,2 +71,2 @@ fp.l10ns.sr = SerbianCyrillic;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.sr = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Serbian = {

"Subota",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Decembar",
]
],
},

@@ -62,3 +62,3 @@ firstDayOfWeek: 1,

rangeSeparator: " do ",
time_24hr: true
time_24hr: true,
};

@@ -73,2 +73,2 @@ fp.l10ns.sr = Serbian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.sv = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -27,3 +27,3 @@ var Swedish = {

"Lördag",
]
],
},

@@ -58,3 +58,3 @@ months: {

"December",
]
],
},

@@ -64,3 +64,3 @@ time_24hr: true,

return ".";
}
},
};

@@ -75,2 +75,2 @@ fp.l10ns.sv = Swedish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.th = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Thai = {

"เสาร์",
]
],
},

@@ -56,3 +56,3 @@ months: {

"ธันวาคม",
]
],
},

@@ -66,3 +66,3 @@ firstDayOfWeek: 1,

return "";
}
},
};

@@ -77,2 +77,2 @@ fp.l10ns.th = Thai;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.tr = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Turkish = {

"Cumartesi",
]
],
},

@@ -56,3 +56,3 @@ months: {

"Aralık",
]
],
},

@@ -68,3 +68,3 @@ firstDayOfWeek: 1,

amPM: ["ÖÖ", "ÖS"],
time_24hr: true
time_24hr: true,
};

@@ -79,2 +79,2 @@ fp.l10ns.tr = Turkish;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.uk = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -26,3 +26,3 @@ var Ukrainian = {

"Субота",
]
],
},

@@ -57,5 +57,5 @@ months: {

"Грудень",
]
],
},
time_24hr: true
time_24hr: true,
};

@@ -70,2 +70,2 @@ fp.l10ns.uk = Ukrainian;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.vn = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Vietnamese = {

"Thứ bảy",
]
],
},

@@ -56,6 +56,6 @@ months: {

"Tháng 12",
]
],
},
firstDayOfWeek: 1,
rangeSeparator: " đến "
rangeSeparator: " đến ",
};

@@ -70,2 +70,2 @@ fp.l10ns.vn = Vietnamese;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global['zh-tw'] = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var MandarinTraditional = {

"星期六",
]
],
},

@@ -56,3 +56,3 @@ months: {

"十二月",
]
],
},

@@ -62,3 +62,3 @@ rangeSeparator: " 至 ",

scrollTitle: "滾動切換",
toggleTitle: "點擊切換 12/24 小時時制"
toggleTitle: "點擊切換 12/24 小時時制",
};

@@ -73,2 +73,2 @@ fp.l10ns.zh_tw = MandarinTraditional;

}));
})));

@@ -15,2 +15,3 @@ import { CustomLocale } from "../types/locale";

bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;

@@ -63,2 +64,4 @@ cs?: CustomLocale | undefined;

zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;

@@ -65,0 +68,0 @@ } & {

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.zh = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

@@ -11,3 +11,3 @@ var fp = typeof window !== "undefined" && window.flatpickr !== undefined

: {
l10ns: {}
l10ns: {},
};

@@ -25,3 +25,3 @@ var Mandarin = {

"星期六",
]
],
},

@@ -56,3 +56,3 @@ months: {

"十二月",
]
],
},

@@ -62,3 +62,3 @@ rangeSeparator: " 至 ",

scrollTitle: "滚动切换",
toggleTitle: "点击切换 12/24 小时时制"
toggleTitle: "点击切换 12/24 小时时制",
};

@@ -73,2 +73,2 @@ fp.l10ns.zh = Mandarin;

}));
})));

@@ -5,17 +5,17 @@ (function (global, factory) {

(global = global || self, global.confirmDatePlugin = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) Microsoft Corporation.
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
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.
***************************************************************************** */

@@ -34,2 +34,15 @@

function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
var defaultConfig = {

@@ -39,6 +52,6 @@ confirmIcon: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='17' height='17' viewBox='0 0 17 17'> <g> </g> <path d='M15.418 1.774l-8.833 13.485-4.918-4.386 0.666-0.746 4.051 3.614 8.198-12.515 0.836 0.548z' fill='#000000' /> </svg>",

showAlways: false,
theme: "light"
theme: "light",
};
function confirmDatePlugin(pluginConfig) {
var config = __assign({}, defaultConfig, pluginConfig);
var config = __assign(__assign({}, defaultConfig), pluginConfig);
var confirmContainer;

@@ -50,7 +63,10 @@ var confirmButtonCSSClass = "flatpickr-confirm";

return __assign({ onKeyDown: function (_, __, ___, e) {
if (fp.config.enableTime && e.key === "Tab" && e.target === fp.amPM) {
var eventTarget = getEventTarget(e);
if (fp.config.enableTime &&
e.key === "Tab" &&
eventTarget === fp.amPM) {
e.preventDefault();
confirmContainer.focus();
}
else if (e.key === "Enter" && e.target === confirmContainer)
else if (e.key === "Enter" && eventTarget === confirmContainer)
fp.close();

@@ -80,3 +96,3 @@ },

localConfirmContainer.classList.remove("visible");
}
},
}

@@ -89,2 +105,2 @@ : {}));

}));
})));

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, global.labelPlugin = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';

@@ -25,3 +25,3 @@ function labelPlugin() {

fp.loadedPlugins.push("labelPlugin");
}
},
};

@@ -33,2 +33,2 @@ };

}));
})));

@@ -5,5 +5,8 @@ (function (global, factory) {

(global = global || self, global.minMaxTimePlugin = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';
var pad = function (number) { return ("0" + number).slice(-2); };
var pad = function (number, length) {
if (length === void 0) { length = 2; }
return ("000" + number).slice(length * -1);
};
var int = function (bool) { return (bool === true ? 1 : 0); };

@@ -48,4 +51,4 @@

},
// full year e.g. 2016
Y: function (date) { return date.getFullYear(); },
// full year e.g. 2016, padded (0001-9999)
Y: function (date) { return pad(date.getFullYear(), 4); },
// day in month, padded (01-30)

@@ -74,3 +77,3 @@ d: function (date) { return pad(date.getDate()); },

// last two digits of year e.g. 16 for 2016
y: function (date) { return String(date.getFullYear()).substring(2); }
y: function (date) { return String(date.getFullYear()).substring(2); },
};

@@ -82,2 +85,3 @@

allowInput: false,
allowInvalidPreload: false,
altFormat: "F j, Y",

@@ -89,2 +93,3 @@ altInput: false,

ariaDateFormat: "F j, Y",
autoFillDefaultTime: true,
clickOpens: true,

@@ -150,3 +155,3 @@ closeOnSelect: true,

weekNumbers: false,
wrap: false
wrap: false,
};

@@ -165,3 +170,3 @@

"Saturday",
]
],
},

@@ -196,3 +201,3 @@ months: {

"December",
]
],
},

@@ -222,12 +227,13 @@ daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],

yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false
time_24hr: false,
};
var createDateFormatter = function (_a) {
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d;
return function (dateObj, frmt, overrideLocale) {
var locale = overrideLocale || l10n;
if (config.formatDate !== undefined) {
if (config.formatDate !== undefined && !isMobile) {
return config.formatDate(dateObj, frmt, locale);

@@ -275,4 +281,4 @@ }

minTime: undefined,
maxTime: undefined
}
maxTime: undefined,
},
};

@@ -291,3 +297,3 @@ function findDateTimeLimit(date) {

minTime: this.config.minTime && state.formatDate(this.config.minTime, "H:i"),
maxTime: this.config.maxTime && state.formatDate(this.config.maxTime, "H:i")
maxTime: this.config.maxTime && state.formatDate(this.config.maxTime, "H:i"),
};

@@ -316,3 +322,3 @@ fp.loadedPlugins.push("minMaxTime");

minTime: undefined,
maxTime: undefined
maxTime: undefined,
};

@@ -331,3 +337,3 @@ this.set(newMinMax);

}
}
},
};

@@ -339,2 +345,2 @@ };

}));
})));

@@ -5,17 +5,17 @@ (function (global, factory) {

(global = global || self, global.monthSelectPlugin = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) Microsoft Corporation.
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
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.
***************************************************************************** */

@@ -36,2 +36,15 @@

function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
var defaultConfig = {

@@ -41,6 +54,6 @@ shorthand: false,

altFormat: "F Y",
theme: "light"
theme: "light",
};
function monthSelectPlugin(pluginConfig) {
var config = __assign({}, defaultConfig, pluginConfig);
var config = __assign(__assign({}, defaultConfig), pluginConfig);
return function (fp) {

@@ -63,8 +76,20 @@ fp.config.dateFormat = config.dateFormat;

function addListeners() {
fp._bind(fp.prevMonthNav, "click", function () {
fp.currentYear -= 1;
fp._bind(fp.prevMonthNav, "click", function (e) {
var _a;
e.preventDefault();
e.stopPropagation();
var selectedMonth = (_a = fp.rContainer) === null || _a === void 0 ? void 0 : _a.querySelector(".flatpickr-monthSelect-month.selected").dateObj.getMonth();
if (selectedMonth === 0) {
fp.currentYear--;
}
selectYear();
});
fp._bind(fp.nextMonthNav, "mousedown", function () {
fp.currentYear += 1;
fp._bind(fp.nextMonthNav, "click", function (e) {
var _a;
e.preventDefault();
e.stopPropagation();
var selectedMonth = (_a = fp.rContainer) === null || _a === void 0 ? void 0 : _a.querySelector(".flatpickr-monthSelect-month.selected").dateObj.getMonth();
if (selectedMonth === 11) {
fp.currentYear++;
}
selectYear();

@@ -87,3 +112,4 @@ });

self.monthsContainer.appendChild(month);
if ((fp.config.minDate && month.dateObj < fp.config.minDate) || (fp.config.maxDate && month.dateObj > fp.config.maxDate)) {
if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||
(fp.config.maxDate && month.dateObj > fp.config.maxDate)) {
month.classList.add("disabled");

@@ -119,3 +145,3 @@ }

fp.currentYearElement.value = String(fp.currentYear);
setCurrentlySelected();
fp.currentMonth = selectedDate.getMonth();
}

@@ -126,3 +152,4 @@ if (fp.rContainer) {

month.dateObj.setFullYear(fp.currentYear);
if ((fp.config.minDate && month.dateObj < fp.config.minDate) || (fp.config.maxDate && month.dateObj > fp.config.maxDate)) {
if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||
(fp.config.maxDate && month.dateObj > fp.config.maxDate)) {
month.classList.add("disabled");

@@ -135,2 +162,3 @@ }

}
setCurrentlySelected();
}

@@ -140,4 +168,6 @@ function selectMonth(e) {

e.stopPropagation();
if (e.target instanceof Element && !e.target.classList.contains("disabled")) {
setMonth(e.target.dateObj);
var eventTarget = getEventTarget(e);
if (eventTarget instanceof Element &&
!eventTarget.classList.contains("disabled")) {
setMonth(eventTarget.dateObj);
fp.close();

@@ -157,3 +187,3 @@ }

40: 3,
38: -3
38: -3,
};

@@ -206,3 +236,3 @@ function onKeyDown(_, __, ___, e) {

],
onDestroy: destroyPluginInstance
onDestroy: destroyPluginInstance,
};

@@ -214,2 +244,2 @@ };

}));
})));
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.rangePlugin = factory());
}(this, function () { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.rangePlugin = factory());
}(this, (function () { 'use strict';
function rangePlugin(config) {
if (config === void 0) { config = {}; }
return function (fp) {
var dateFormat = "", secondInput, _secondInputFocused, _prevDates;
var createSecondInput = function () {
if (config.input) {
secondInput =
config.input instanceof Element
? config.input
: window.document.querySelector(config.input);
if (!secondInput) {
fp.config.errorHandler(new Error("Invalid input element specified"));
return;
}
if (fp.config.wrap) {
secondInput = secondInput.querySelector("[data-input]");
}
}
else {
secondInput = fp._input.cloneNode();
secondInput.removeAttribute("id");
secondInput._flatpickr = undefined;
}
if (secondInput.value) {
var parsedDate = fp.parseDate(secondInput.value);
if (parsedDate)
fp.selectedDates.push(parsedDate);
}
secondInput.setAttribute("data-fp-omit", "");
fp._bind(secondInput, ["focus", "click"], function () {
if (fp.selectedDates[1]) {
fp.latestSelectedDateObj = fp.selectedDates[1];
fp._setHoursFromDate(fp.selectedDates[1]);
fp.jumpToDate(fp.selectedDates[1]);
}
_secondInputFocused = true;
fp.isOpen = false;
fp.open(undefined, config.position === "left" ? fp._input : secondInput);
});
fp._bind(fp._input, ["focus", "click"], function (e) {
e.preventDefault();
fp.isOpen = false;
fp.open();
});
if (fp.config.allowInput)
fp._bind(secondInput, "keydown", function (e) {
if (e.key === "Enter") {
fp.setDate([fp.selectedDates[0], secondInput.value], true, dateFormat);
secondInput.click();
}
});
if (!config.input)
fp._input.parentNode &&
fp._input.parentNode.insertBefore(secondInput, fp._input.nextSibling);
};
var plugin = {
onParseConfig: function () {
fp.config.mode = "range";
dateFormat = fp.config.altInput
? fp.config.altFormat
: fp.config.dateFormat;
},
onReady: function () {
createSecondInput();
fp.config.ignoredFocusElements.push(secondInput);
if (fp.config.allowInput) {
fp._input.removeAttribute("readonly");
secondInput.removeAttribute("readonly");
}
else {
secondInput.setAttribute("readonly", "readonly");
}
fp._bind(fp._input, "focus", function () {
fp.latestSelectedDateObj = fp.selectedDates[0];
fp._setHoursFromDate(fp.selectedDates[0]);
_secondInputFocused = false;
fp.jumpToDate(fp.selectedDates[0]);
});
if (fp.config.allowInput)
fp._bind(fp._input, "keydown", function (e) {
if (e.key === "Enter")
fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat);
});
fp.setDate(fp.selectedDates, false);
plugin.onValueUpdate(fp.selectedDates);
fp.loadedPlugins.push("range");
},
onPreCalendarPosition: function () {
if (_secondInputFocused) {
fp._positionElement = secondInput;
setTimeout(function () {
fp._positionElement = fp._input;
}, 0);
}
},
onChange: function () {
if (!fp.selectedDates.length) {
setTimeout(function () {
if (fp.selectedDates.length)
return;
secondInput.value = "";
_prevDates = [];
}, 10);
}
if (_secondInputFocused) {
setTimeout(function () {
secondInput.focus();
}, 0);
}
},
onDestroy: function () {
if (!config.input)
secondInput.parentNode &&
secondInput.parentNode.removeChild(secondInput);
},
onValueUpdate: function (selDates) {
var _a, _b, _c;
if (!secondInput)
return;
_prevDates =
!_prevDates || selDates.length >= _prevDates.length
? selDates.slice() : _prevDates;
if (_prevDates.length > selDates.length) {
var newSelectedDate = selDates[0];
var newDates = _secondInputFocused
? [_prevDates[0], newSelectedDate]
: [newSelectedDate, _prevDates[1]];
fp.setDate(newDates, false);
_prevDates = newDates.slice();
}
_a = fp.selectedDates.map(function (d) { return fp.formatDate(d, dateFormat); }), _b = _a[0], fp._input.value = _b === void 0 ? "" : _b, _c = _a[1], secondInput.value = _c === void 0 ? "" : _c;
}
};
return plugin;
};
}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
return rangePlugin;
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.
***************************************************************************** */
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
function rangePlugin(config) {
if (config === void 0) { config = {}; }
return function (fp) {
var dateFormat = "", secondInput, _secondInputFocused, _prevDates;
var createSecondInput = function () {
if (config.input) {
secondInput =
config.input instanceof Element
? config.input
: window.document.querySelector(config.input);
if (!secondInput) {
fp.config.errorHandler(new Error("Invalid input element specified"));
return;
}
if (fp.config.wrap) {
secondInput = secondInput.querySelector("[data-input]");
}
}
else {
secondInput = fp._input.cloneNode();
secondInput.removeAttribute("id");
secondInput._flatpickr = undefined;
}
if (secondInput.value) {
var parsedDate = fp.parseDate(secondInput.value);
if (parsedDate)
fp.selectedDates.push(parsedDate);
}
secondInput.setAttribute("data-fp-omit", "");
fp._bind(secondInput, ["focus", "click"], function () {
if (fp.selectedDates[1]) {
fp.latestSelectedDateObj = fp.selectedDates[1];
fp._setHoursFromDate(fp.selectedDates[1]);
fp.jumpToDate(fp.selectedDates[1]);
}
_secondInputFocused = true;
fp.isOpen = false;
fp.open(undefined, config.position === "left" ? fp._input : secondInput);
});
fp._bind(fp._input, ["focus", "click"], function (e) {
e.preventDefault();
fp.isOpen = false;
fp.open();
});
if (fp.config.allowInput)
fp._bind(secondInput, "keydown", function (e) {
if (e.key === "Enter") {
fp.setDate([fp.selectedDates[0], secondInput.value], true, dateFormat);
secondInput.click();
}
});
if (!config.input)
fp._input.parentNode &&
fp._input.parentNode.insertBefore(secondInput, fp._input.nextSibling);
};
var plugin = {
onParseConfig: function () {
fp.config.mode = "range";
dateFormat = fp.config.altInput
? fp.config.altFormat
: fp.config.dateFormat;
},
onReady: function () {
createSecondInput();
fp.config.ignoredFocusElements.push(secondInput);
if (fp.config.allowInput) {
fp._input.removeAttribute("readonly");
secondInput.removeAttribute("readonly");
}
else {
secondInput.setAttribute("readonly", "readonly");
}
fp._bind(fp._input, "focus", function () {
fp.latestSelectedDateObj = fp.selectedDates[0];
fp._setHoursFromDate(fp.selectedDates[0]);
_secondInputFocused = false;
fp.jumpToDate(fp.selectedDates[0]);
});
if (fp.config.allowInput)
fp._bind(fp._input, "keydown", function (e) {
if (e.key === "Enter")
fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat);
});
fp.setDate(fp.selectedDates, false);
plugin.onValueUpdate(fp.selectedDates);
fp.loadedPlugins.push("range");
},
onPreCalendarPosition: function () {
if (_secondInputFocused) {
fp._positionElement = secondInput;
setTimeout(function () {
fp._positionElement = fp._input;
}, 0);
}
},
onChange: function () {
if (!fp.selectedDates.length) {
setTimeout(function () {
if (fp.selectedDates.length)
return;
secondInput.value = "";
_prevDates = [];
}, 10);
}
if (_secondInputFocused) {
setTimeout(function () {
secondInput.focus();
}, 0);
}
},
onDestroy: function () {
if (!config.input)
secondInput.parentNode &&
secondInput.parentNode.removeChild(secondInput);
},
onValueUpdate: function (selDates) {
var _a, _b, _c;
if (!secondInput)
return;
_prevDates =
!_prevDates || selDates.length >= _prevDates.length
? __spreadArrays(selDates) : _prevDates;
if (_prevDates.length > selDates.length) {
var newSelectedDate = selDates[0];
var newDates = _secondInputFocused
? [_prevDates[0], newSelectedDate]
: [newSelectedDate, _prevDates[1]];
fp.setDate(newDates, false);
_prevDates = __spreadArrays(newDates);
}
_a = fp.selectedDates.map(function (d) { return fp.formatDate(d, dateFormat); }), _b = _a[0], fp._input.value = _b === void 0 ? "" : _b, _c = _a[1], secondInput.value = _c === void 0 ? "" : _c;
},
};
return plugin;
};
}
return rangePlugin;
})));

@@ -5,4 +5,27 @@ (function (global, factory) {

(global = global || self, global.scrollPlugin = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
if (typeof window.CustomEvent !== "function") {
function CustomEvent(typeArg, eventInitDict) {
eventInitDict = eventInitDict || { bubbles: false, cancelable: false, detail: undefined };
var evt = document.createEvent("CustomEvent");
evt.initCustomEvent(typeArg, eventInitDict.bubbles, eventInitDict.cancelable, eventInitDict.detail);
return evt;
}
CustomEvent.prototype = window.Event.prototype;
window.CustomEvent = CustomEvent;
}
function delta(e) {

@@ -14,6 +37,6 @@ return Math.max(-1, Math.min(1, e.wheelDelta || -e.deltaY));

var ev = new CustomEvent("increment", {
bubbles: true
bubbles: true,
});
ev.delta = delta(e);
e.target.dispatchEvent(ev);
getEventTarget(e).dispatchEvent(ev);
};

@@ -53,3 +76,3 @@ function scrollMonth(fp) {

});
}
},
};

@@ -61,2 +84,2 @@ };

}));
})));

@@ -5,8 +5,21 @@ (function (global, factory) {

(global = global || self, global.weekSelect = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
function weekSelectPlugin() {
return function (fp) {
function onDayHover(event) {
var day = event.target;
var day = getEventTarget(event);
if (!day.classList.contains("flatpickr-day"))

@@ -80,3 +93,3 @@ return;

],
onDestroy: onDestroy
onDestroy: onDestroy,
};

@@ -88,2 +101,2 @@ };

}));
})));

@@ -61,4 +61,2 @@ import { DateOption, Options, ParsedOptions } from "./options";

maxDateHasTime: boolean;
showTimeInput: boolean;
_showTimeInput: boolean;
changeMonth: (value: number, isOffset?: boolean, fromKeyboard?: boolean) => void;

@@ -65,0 +63,0 @@ changeYear: (year: number) => void;

@@ -19,2 +19,3 @@ export declare type Locale = {

yearAriaLabel: string;
monthAriaLabel: string;
hourAriaLabel: string;

@@ -46,2 +47,2 @@ minuteAriaLabel: string;

};
export declare type key = "ar" | "at" | "az" | "be" | "bg" | "bn" | "bs" | "cat" | "cs" | "cy" | "da" | "de" | "default" | "en" | "eo" | "es" | "et" | "fa" | "fi" | "fo" | "fr" | "gr" | "he" | "hi" | "hr" | "hu" | "id" | "is" | "it" | "ja" | "ka" | "ko" | "km" | "kz" | "lt" | "lv" | "mk" | "mn" | "ms" | "my" | "nl" | "no" | "pa" | "pl" | "pt" | "ro" | "ru" | "si" | "sk" | "sl" | "sq" | "sr" | "sv" | "th" | "tr" | "uk" | "vn" | "zh" | "zh_tw";
export declare type key = "ar" | "at" | "az" | "be" | "bg" | "bn" | "bs" | "ca" | "cat" | "cs" | "cy" | "da" | "de" | "default" | "en" | "eo" | "es" | "et" | "fa" | "fi" | "fo" | "fr" | "gr" | "he" | "hi" | "hr" | "hu" | "id" | "is" | "it" | "ja" | "ka" | "ko" | "km" | "kz" | "lt" | "lv" | "mk" | "mn" | "ms" | "my" | "nl" | "no" | "pa" | "pl" | "pt" | "ro" | "ru" | "si" | "sk" | "sl" | "sq" | "sr" | "sv" | "th" | "tr" | "uk" | "vn" | "zh" | "uz" | "uz_latn" | "zh_tw";

@@ -15,2 +15,3 @@ import { Instance } from "./instance";

allowInput: boolean;
allowInvalidPreload: boolean;
altFormat: string;

@@ -22,2 +23,3 @@ altInput: boolean;

ariaDateFormat: string;
autoFillDefaultTime: boolean;
clickOpens: boolean;

@@ -86,2 +88,3 @@ closeOnSelect: boolean;

allowInput: boolean;
allowInvalidPreload: boolean;
altFormat: string;

@@ -93,2 +96,3 @@ altInput: boolean;

ariaDateFormat: string;
autoFillDefaultTime: boolean;
clickOpens: boolean;

@@ -95,0 +99,0 @@ closeOnSelect: boolean;

@@ -17,3 +17,3 @@ import { FlatpickrFn } from "./types/instance";

CustomLocale as _CustomLocale,
key as _LocaleKey
key as _LocaleKey,
} from "./types/locale";

@@ -20,0 +20,0 @@

@@ -6,8 +6,9 @@ import { Locale } from "../types/locale";

l10n?: Locale;
isMobile?: boolean;
}
export declare const createDateFormatter: ({ config, l10n, }: FormatterArgs) => (dateObj: Date, frmt: string, overrideLocale?: Locale | undefined) => string;
export declare const createDateFormatter: ({ config, l10n, isMobile, }: FormatterArgs) => (dateObj: Date, frmt: string, overrideLocale?: Locale | undefined) => string;
export declare const createDateParser: ({ config, l10n }: {
config?: ParsedOptions | undefined;
l10n?: Locale | undefined;
}) => (date: string | number | Date, givenFormat?: string | undefined, timeless?: boolean | undefined, customLocale?: Locale | undefined) => Date | undefined;
}) => (date: Date | string | number, givenFormat?: string | undefined, timeless?: boolean | undefined, customLocale?: Locale | undefined) => Date | undefined;
export declare function compareDates(date1: Date, date2: Date, timeless?: boolean): number;

@@ -14,0 +15,0 @@ export declare function compareTimes(date1: Date, date2: Date): number;

@@ -1,2 +0,2 @@

export declare const pad: (number: string | number) => string;
export declare const pad: (number: string | number, length?: number) => string;
export declare const int: (bool: boolean) => 1 | 0;

@@ -3,0 +3,0 @@ export declare function debounce<F extends Function>(func: F, wait: number, immediate?: boolean): (this: Function) => void;

{
"name": "flatpickr",
"version": "4.6.3",
"version": "4.6.5",
"description": "A lightweight, powerful javascript datetime picker",

@@ -20,39 +20,39 @@ "scripts": {

"devDependencies": {
"@babel/core": "7.4.5",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-proposal-optional-catch-binding": "^7.2.0",
"@babel/preset-env": "7.4.5",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
"@babel/plugin-proposal-optional-catch-binding": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@types/acorn": "^4.0.5",
"@types/fs-extra": "7.0.0",
"@types/glob": "7.1.1",
"@types/jest": "24.0.13",
"@types/jquery": "^3.3.29",
"@types/node": "12.0.4",
"@types/stylus": "^0.48.31",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"@types/fs-extra": "^9.0.1",
"@types/glob": "7.1.2",
"@types/jest": "^26.0.0",
"@types/jquery": "^3.3.38",
"@types/node": "^14.0.13",
"@types/stylus": "^0.48.33",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"autoprefixer-stylus": "latest",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"chokidar": "3.0.0",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-prettier": "^3.1.0",
"fs-extra": "8.0.1",
"glob": "7.1.4",
"jest": "^24.8.0",
"chokidar": "^3.4.0",
"coveralls": "^3.1.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"jest": "^26.0.1",
"npm-run-all": ">=4.1.5",
"prettier": "1.17.1",
"rimraf": "^2.6.3",
"rollup": "1.13.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-livereload": "^1.0.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.15.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-livereload": "^1.3.0",
"rollup-plugin-serve": "1.0.1",
"rollup-plugin-typescript": "^1.0.1",
"stylus": "latest",
"terser": "^4.0.0",
"ts-jest": "24.0.2",
"ts-node": "8.2.0",
"tslib": "^1.9.3",
"typescript": "^3.4.5"
"terser": "^4.7.0",
"ts-jest": "^26.1.0",
"ts-node": "^8.10.2",
"tslib": "^2.0.0",
"typescript": "^3.9.5"
},

@@ -71,3 +71,3 @@ "main": "dist/flatpickr.js",

},
"homepage": "https://chmln.github.io/flatpickr",
"homepage": "https://flatpickr.js.org",
"keywords": [

@@ -74,0 +74,0 @@ "javascript",

@@ -57,2 +57,3 @@ ## flatpickr - javascript datetime picker

* [vue-flatpickr component](https://github.com/ankurk91/vue-flatpickr-component)
* [lit-flatpickr component](https://github.com/Matsuuu/lit-flatpickr)

@@ -59,0 +60,0 @@ ## Supporting flatpickr

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc