+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/app"],{
-
-/***/ "./resources/assets/scripts/app.js":
-/*!*****************************************!*\
- !*** ./resources/assets/scripts/app.js ***!
- \*****************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object._loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:224:18)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 3:
-/*!***********************************************!*\
- !*** multi ./resources/assets/scripts/app.js ***!
- \***********************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\app.js */"./resources/assets/scripts/app.js");
-
-
-/***/ })
-
-},[[3,"/scripts/manifest"]]]);
-//# sourceMappingURL=app.js.map
\ No newline at end of file
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/consultation"],{
-
-/***/ "./resources/assets/scripts/consultation.js":
-/*!**************************************************!*\
- !*** ./resources/assets/scripts/consultation.js ***!
- \**************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 4:
-/*!********************************************************!*\
- !*** multi ./resources/assets/scripts/consultation.js ***!
- \********************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\consultation.js */"./resources/assets/scripts/consultation.js");
-
-
-/***/ })
-
-},[[4,"/scripts/manifest"]]]);
-//# sourceMappingURL=consultation.js.map
\ No newline at end of file
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/customizer"],{
-
-/***/ "./resources/assets/scripts/customizer.js":
-/*!************************************************!*\
- !*** ./resources/assets/scripts/customizer.js ***!
- \************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 9:
-/*!******************************************************!*\
- !*** multi ./resources/assets/scripts/customizer.js ***!
- \******************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\customizer.js */"./resources/assets/scripts/customizer.js");
-
-
-/***/ })
-
-},[[9,"/scripts/manifest"]]]);
-//# sourceMappingURL=customizer.js.map
\ No newline at end of file
+++ /dev/null
-/* 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});
\ No newline at end of file
+++ /dev/null
-(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
- (global = global || self, factory(global.ar = {}));
-}(this, function (exports) { 'use strict';
-
- var fp = typeof window !== "undefined" && window.flatpickr !== undefined
- ? window.flatpickr
- : {
- l10ns: {}
- };
- var Arabic = {
- weekdays: {
- shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
- longhand: [
- "الأحد",
- "الاثنين",
- "الثلاثاء",
- "الأربعاء",
- "الخميس",
- "الجمعة",
- "السبت",
- ]
- },
- months: {
- shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
- longhand: [
- "يناير",
- "فبراير",
- "مارس",
- "أبريل",
- "مايو",
- "يونيو",
- "يوليو",
- "أغسطس",
- "سبتمبر",
- "أكتوبر",
- "نوفمبر",
- "ديسمبر",
- ]
- },
- rangeSeparator: " - "
- };
- fp.l10ns.ar = Arabic;
- var ar = fp.l10ns;
-
- exports.Arabic = Arabic;
- exports.default = ar;
-
- Object.defineProperty(exports, '__esModule', { value: true });
-
-}));
+++ /dev/null
-(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
- (global = global || self, factory(global.fr = {}));
-}(this, function (exports) { 'use strict';
-
- var fp = typeof window !== "undefined" && window.flatpickr !== undefined
- ? window.flatpickr
- : {
- l10ns: {}
- };
- var French = {
- firstDayOfWeek: 1,
- weekdays: {
- shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
- longhand: [
- "dimanche",
- "lundi",
- "mardi",
- "mercredi",
- "jeudi",
- "vendredi",
- "samedi",
- ]
- },
- months: {
- shorthand: [
- "janv",
- "févr",
- "mars",
- "avr",
- "mai",
- "juin",
- "juil",
- "août",
- "sept",
- "oct",
- "nov",
- "déc",
- ],
- longhand: [
- "janvier",
- "février",
- "mars",
- "avril",
- "mai",
- "juin",
- "juillet",
- "août",
- "septembre",
- "octobre",
- "novembre",
- "décembre",
- ]
- },
- ordinal: function (nth) {
- if (nth > 1)
- return "";
- return "er";
- },
- rangeSeparator: " au ",
- weekAbbreviation: "Sem",
- scrollTitle: "Défiler pour augmenter la valeur",
- toggleTitle: "Cliquer pour basculer",
- time_24hr: true
- };
- fp.l10ns.fr = French;
- var fr = fp.l10ns;
-
- exports.French = French;
- exports.default = fr;
-
- Object.defineProperty(exports, '__esModule', { value: true });
-
-}));
+++ /dev/null
-(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
- (global = global || self, factory(global.pl = {}));
-}(this, function (exports) { 'use strict';
-
- var fp = typeof window !== "undefined" && window.flatpickr !== undefined
- ? window.flatpickr
- : {
- l10ns: {}
- };
- var Polish = {
- weekdays: {
- shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
- longhand: [
- "Niedziela",
- "Poniedziałek",
- "Wtorek",
- "Środa",
- "Czwartek",
- "Piątek",
- "Sobota",
- ]
- },
- months: {
- shorthand: [
- "Sty",
- "Lut",
- "Mar",
- "Kwi",
- "Maj",
- "Cze",
- "Lip",
- "Sie",
- "Wrz",
- "Paź",
- "Lis",
- "Gru",
- ],
- longhand: [
- "Styczeń",
- "Luty",
- "Marzec",
- "Kwiecień",
- "Maj",
- "Czerwiec",
- "Lipiec",
- "Sierpień",
- "Wrzesień",
- "Październik",
- "Listopad",
- "Grudzień",
- ]
- },
- rangeSeparator: " do ",
- weekAbbreviation: "tydz.",
- scrollTitle: "Przewiń, aby zwiększyć",
- toggleTitle: "Kliknij, aby przełączyć",
- firstDayOfWeek: 1,
- time_24hr: true,
- ordinal: function () {
- return ".";
- }
- };
- fp.l10ns.pl = Polish;
- var pl = fp.l10ns;
-
- exports.Polish = Polish;
- exports.default = pl;
-
- Object.defineProperty(exports, '__esModule', { value: true });
-
-}));
+++ /dev/null
-(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
- (global = global || self, factory(global.ru = {}));
-}(this, function (exports) { 'use strict';
-
- var fp = typeof window !== "undefined" && window.flatpickr !== undefined
- ? window.flatpickr
- : {
- l10ns: {}
- };
- var Russian = {
- weekdays: {
- shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
- longhand: [
- "Воскресенье",
- "Понедельник",
- "Вторник",
- "Среда",
- "Четверг",
- "Пятница",
- "Суббота",
- ]
- },
- months: {
- shorthand: [
- "Янв",
- "Фев",
- "Март",
- "Апр",
- "Май",
- "Июнь",
- "Июль",
- "Авг",
- "Сен",
- "Окт",
- "Ноя",
- "Дек",
- ],
- longhand: [
- "Январь",
- "Февраль",
- "Март",
- "Апрель",
- "Май",
- "Июнь",
- "Июль",
- "Август",
- "Сентябрь",
- "Октябрь",
- "Ноябрь",
- "Декабрь",
- ]
- },
- firstDayOfWeek: 1,
- ordinal: function () {
- return "";
- },
- rangeSeparator: " — ",
- weekAbbreviation: "Нед.",
- scrollTitle: "Прокрутите для увеличения",
- toggleTitle: "Нажмите для переключения",
- amPM: ["ДП", "ПП"],
- yearAriaLabel: "Год",
- time_24hr: true
- };
- fp.l10ns.ru = Russian;
- var ru = fp.l10ns;
-
- exports.Russian = Russian;
- exports.default = ru;
-
- Object.defineProperty(exports, '__esModule', { value: true });
-
-}));
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/flatpickr/trigger"],{
-
-/***/ "./resources/assets/scripts/flatpickr.js":
-/*!***********************************************!*\
- !*** ./resources/assets/scripts/flatpickr.js ***!
- \***********************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object._loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:224:18)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ "./resources/assets/styles/admin.styl":
-/*!********************************************!*\
- !*** ./resources/assets/styles/admin.styl ***!
- \********************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-
-/***/ "./resources/assets/styles/app.styl":
-/*!******************************************!*\
- !*** ./resources/assets/styles/app.styl ***!
- \******************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-
-/***/ "./resources/assets/styles/components/lity-lightbox.styl":
-/*!***************************************************************!*\
- !*** ./resources/assets/styles/components/lity-lightbox.styl ***!
- \***************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-
-/***/ "./resources/assets/styles/flatpickr.styl":
-/*!************************************************!*\
- !*** ./resources/assets/styles/flatpickr.styl ***!
- \************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-
-/***/ 0:
-/*!******************************************************************************************************************************************************************************************************************************!*\
- !*** multi ./resources/assets/scripts/flatpickr.js ./resources/assets/styles/flatpickr.styl ./resources/assets/styles/components/lity-lightbox.styl ./resources/assets/styles/app.styl ./resources/assets/styles/admin.styl ***!
- \******************************************************************************************************************************************************************************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\flatpickr.js */"./resources/assets/scripts/flatpickr.js");
-__webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\styles\flatpickr.styl */"./resources/assets/styles/flatpickr.styl");
-__webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\styles\components\lity-lightbox.styl */"./resources/assets/styles/components/lity-lightbox.styl");
-__webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\styles\app.styl */"./resources/assets/styles/app.styl");
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\styles\admin.styl */"./resources/assets/styles/admin.styl");
-
-
-/***/ })
-
-},[[0,"/scripts/manifest","/scripts/vendor"]]]);
-//# sourceMappingURL=trigger.js.map
\ No newline at end of file
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/forms/forms"],{
-
-/***/ "./resources/assets/scripts/forms/forms.js":
-/*!*************************************************!*\
- !*** ./resources/assets/scripts/forms/forms.js ***!
- \*************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 1:
-/*!*******************************************************!*\
- !*** multi ./resources/assets/scripts/forms/forms.js ***!
- \*******************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\forms\forms.js */"./resources/assets/scripts/forms/forms.js");
-
-
-/***/ })
-
-},[[1,"/scripts/manifest"]]]);
-//# sourceMappingURL=forms.js.map
\ No newline at end of file
+++ /dev/null
-// Validation errors messages for Parsley
-// Load this after Parsley
-
-Parsley.addMessages('ar', {
- defaultMessage: "تأكد من صحة القيمة المدخل",
- type: {
- email: "تأكد من إدخال بريد الكتروني صحيح",
- url: "تأكد من إدخال رابط صحيح",
- number: "تأكد من إدخال رقم",
- integer: "تأكد من إدخال عدد صحيح بدون كسور",
- digits: "تأكد من إدخال رقم",
- alphanum: "تأكد من إدخال حروف وأرقام فقط"
- },
- notblank: "تأكد من تعبئة الحقل",
- required: "هذا الحقل مطلوب",
- pattern: "القيمة المدخلة غير صحيحة",
- min: "القيمة المدخلة يجب أن تكون أكبر من %s.",
- max: "القيمة المدخلة يجب أن تكون أصغر من %s.",
- range: "القيمة المدخلة يجب أن تكون بين %s و %s.",
- minlength: "القيمة المدخلة قصيرة جداً . تأكد من إدخال %s حرف أو أكثر",
- maxlength: "القيمة المدخلة طويلة . تأكد من إدخال %s حرف أو أقل",
- length: "القيمة المدخلة غير صحيحة. تأكد من إدخال بين %s و %s خانة",
- mincheck: "يجب اختيار %s خيار على الأقل.",
- maxcheck: "يجب اختيار%s خيار أو أقل",
- check: "يجب اختيار بين %s و %s خيار.",
- equalto: "تأكد من تطابق القيمتين المدخلة."
-});
-
-Parsley.setLocale('ar');
+++ /dev/null
-// Validation errors messages for Parsley
-// Load this after Parsley
-
-Parsley.addMessages('fr', {
- defaultMessage: "Cette valeur semble non valide.",
- type: {
- email: "Cette valeur n'est pas une adresse email valide.",
- url: "Cette valeur n'est pas une URL valide.",
- number: "Cette valeur doit être un nombre.",
- integer: "Cette valeur doit être un entier.",
- digits: "Cette valeur doit être numérique.",
- alphanum: "Cette valeur doit être alphanumérique."
- },
- notblank: "Cette valeur ne peut pas être vide.",
- required: "Ce champ est requis.",
- pattern: "Cette valeur semble non valide.",
- min: "Cette valeur ne doit pas être inférieure à %s.",
- max: "Cette valeur ne doit pas excéder %s.",
- range: "Cette valeur doit être comprise entre %s et %s.",
- minlength: "Cette chaîne est trop courte. Elle doit avoir au minimum %s caractères.",
- maxlength: "Cette chaîne est trop longue. Elle doit avoir au maximum %s caractères.",
- length: "Cette valeur doit contenir entre %s et %s caractères.",
- mincheck: "Vous devez sélectionner au moins %s choix.",
- maxcheck: "Vous devez sélectionner %s choix maximum.",
- check: "Vous devez sélectionner entre %s et %s choix.",
- equalto: "Cette valeur devrait être identique."
-});
-
-Parsley.setLocale('fr');
+++ /dev/null
-// Validation errors messages for Parsley
-// Load this after Parsley
-
-Parsley.addMessages('pl', {
- defaultMessage: "Wartość wygląda na nieprawidłową",
- type: {
- email: "Wpisz poprawny adres e-mail.",
- url: "Wpisz poprawny adres URL.",
- number: "Wpisz poprawną liczbę.",
- integer: "Dozwolone są jedynie liczby całkowite.",
- digits: "Dozwolone są jedynie cyfry.",
- alphanum: "Dozwolone są jedynie znaki alfanumeryczne."
- },
- notblank: "Pole nie może być puste.",
- required: "Pole jest wymagane.",
- pattern: "Pole zawiera nieprawidłową wartość.",
- min: "Wartość nie może być mniejsza od %s.",
- max: "Wartość nie może być większa od %s.",
- range: "Wartość powinna zawierać się pomiędzy %s a %s.",
- minlength: "Minimalna ilość znaków wynosi %s.",
- maxlength: "Maksymalna ilość znaków wynosi %s.",
- length: "Ilość znaków wynosi od %s do %s.",
- mincheck: "Wybierz minimalnie %s opcji.",
- maxcheck: "Wybierz maksymalnie %s opcji.",
- check: "Wybierz od %s do %s opcji.",
- equalto: "Wartości nie są identyczne."
-});
-
-Parsley.setLocale('pl');
+++ /dev/null
-// Validation errors messages for Parsley
-// Load this after Parsley
-
-Parsley.addMessages('ru', {
- defaultMessage: "Некорректное значение.",
- type: {
- email: "Введите адрес электронной почты.",
- url: "Введите URL адрес.",
- number: "Введите число.",
- integer: "Введите целое число.",
- digits: "Введите только цифры.",
- alphanum: "Введите буквенно-цифровое значение."
- },
- notblank: "Это поле должно быть заполнено.",
- required: "Обязательное поле.",
- pattern: "Это значение некорректно.",
- min: "Это значение должно быть не менее чем %s.",
- max: "Это значение должно быть не более чем %s.",
- range: "Это значение должно быть от %s до %s.",
- minlength: "Это значение должно содержать не менее %s символов.",
- maxlength: "Это значение должно содержать не более %s символов.",
- length: "Это значение должно содержать от %s до %s символов.",
- mincheck: "Выберите не менее %s значений.",
- maxcheck: "Выберите не более %s значений.",
- check: "Выберите от %s до %s значений.",
- equalto: "Это значение должно совпадать."
-});
-
-Parsley.setLocale('ru');
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/forms/parsley/parsley-setup"],{
-
-/***/ "./resources/assets/scripts/forms/parsley-setup.js":
-/*!*********************************************************!*\
- !*** ./resources/assets/scripts/forms/parsley-setup.js ***!
- \*********************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 2:
-/*!***************************************************************!*\
- !*** multi ./resources/assets/scripts/forms/parsley-setup.js ***!
- \***************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\forms\parsley-setup.js */"./resources/assets/scripts/forms/parsley-setup.js");
-
-
-/***/ })
-
-},[[2,"/scripts/manifest"]]]);
-//# sourceMappingURL=parsley-setup.js.map
\ No newline at end of file
+++ /dev/null
-!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t=t||self).parsley=e(t.jQuery)}(this,function(h){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var i=[],r=!0,n=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(r=(a=o.next()).done)&&(i.push(a.value),!e||i.length!==e);r=!0);}catch(t){n=!0,s=t}finally{try{r||null==o.return||o.return()}finally{if(n)throw s}}return i}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var t=1,e={},d={attr:function(t,e,i){var r,n,s,a=new RegExp("^"+e,"i");if(void 0===i)i={};else for(r in i)i.hasOwnProperty(r)&&delete i[r];if(!t)return i;for(r=(s=t.attributes).length;r--;)(n=s[r])&&n.specified&&a.test(n.name)&&(i[this.camelize(n.name.slice(e.length))]=this.deserializeValue(n.value));return i},checkAttr:function(t,e,i){return t.hasAttribute(e+i)},setAttr:function(t,e,i,r){t.setAttribute(this.dasherize(e+i),String(r))},getType:function(t){return t.getAttribute("type")||"text"},generateID:function(){return""+t++},deserializeValue:function(e){var t;try{return e?"true"==e||"false"!=e&&("null"==e?null:isNaN(t=Number(e))?/^[\[\{]/.test(e)?JSON.parse(e):e:t):e}catch(t){return e}},camelize:function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},dasherize:function(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var t;window.console&&"function"==typeof window.console.warn&&(t=window.console).warn.apply(t,arguments)},warnOnce:function(t){e[t]||(e[t]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){e={}},trimString:function(t){return t.replace(/^\s+|\s+$/g,"")},parse:{date:function(t){var e=t.match(/^(\d{4,})-(\d\d)-(\d\d)$/);if(!e)return null;var i=o(e.map(function(t){return parseInt(t,10)}),4),r=(i[0],i[1]),n=i[2],s=i[3],a=new Date(r,n-1,s);return a.getFullYear()!==r||a.getMonth()+1!==n||a.getDate()!==s?null:a},string:function(t){return t},integer:function(t){return isNaN(t)?null:parseInt(t,10)},number:function(t){if(isNaN(t))throw null;return parseFloat(t)},boolean:function(t){return!/^\s*false\s*$/i.test(t)},object:function(t){return d.deserializeValue(t)},regexp:function(t){var e="";return t=/^\/.*\/(?:[gimy]*)$/.test(t)?(e=t.replace(/.*\/([gimy]*)$/,"$1"),t.replace(new RegExp("^/(.*?)/"+e+"$"),"$1")):"^"+t+"$",new RegExp(t,e)}},parseRequirement:function(t,e){var i=this.parse[t||"string"];if(!i)throw'Unknown requirement specification: "'+t+'"';var r=i(e);if(null===r)throw"Requirement is not a ".concat(t,': "').concat(e,'"');return r},namespaceEvents:function(t,e){return(t=this.trimString(t||"").split(/\s+/))[0]?h.map(t,function(t){return"".concat(t,".").concat(e)}).join(" "):""},difference:function(t,i){var r=[];return h.each(t,function(t,e){-1==i.indexOf(e)&&r.push(e)}),r},all:function(t){return h.when.apply(h,u(t).concat([42,42]))},objectCreate:Object.create||function(t){if(1<arguments.length)throw Error("Second argument not supported");if("object"!=n(t))throw TypeError("Argument must be an object");i.prototype=t;var e=new i;return i.prototype=null,e},_SubmitSelector:'input[type="submit"], button:submit'};function i(){}function r(){this.__id__=d.generateID()}var s={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(){},errorsContainer:function(){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"};r.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){function t(){var t=h.Deferred();return!0!==e.validationResult&&t.reject(),t.resolve().promise()}var e=this;return[t,t]},actualizeOptions:function(){return d.attr(this.element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(t){for(var e in this.domOptions=d.objectCreate(this.parent.options),this.options=d.objectCreate(this.domOptions),t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.actualizeOptions()},_listeners:null,on:function(t,e){return this._listeners=this._listeners||{},(this._listeners[t]=this._listeners[t]||[]).push(e),this},subscribe:function(t,e){h.listenTo(this,t.toLowerCase(),e)},off:function(t,e){var i=this._listeners&&this._listeners[t];if(i)if(e)for(var r=i.length;r--;)i[r]===e&&i.splice(r,1);else delete this._listeners[t];return this},unsubscribe:function(t){h.unsubscribeTo(this,t.toLowerCase())},trigger:function(t,e,i){e=e||this;var r,n=this._listeners&&this._listeners[t];if(n)for(var s=n.length;s--;)if(!1===(r=n[s].call(e,e,i)))return r;return!this.parent||this.parent.trigger(t,e,i)},asyncIsValid:function(t,e){return d.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:t,force:e})},_findRelated:function(){return this.options.multiple?h(this.parent.element.querySelectorAll("[".concat(this.options.namespace,'multiple="').concat(this.options.multiple,'"]'))):this.$element}};function c(t){h.extend(!0,this,t)}c.prototype={validate:function(t,e){if(this.fn)return 3<arguments.length&&(e=[].slice.call(arguments,1,-1)),this.fn(t,e);if(Array.isArray(t)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}var i=arguments[arguments.length-1];if(this.validateDate&&i._isDateInput())return arguments[0]=d.parse.date(arguments[0]),null!==arguments[0]&&this.validateDate.apply(this,arguments);if(this.validateNumber)return!t||!isNaN(t)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(t,e){if("string"!=typeof t)return Array.isArray(t)?t:[t];var i=this.requirementType;if(Array.isArray(i)){for(var r=function(t,e){var i=t.match(/^\s*\[(.*)\]\s*$/);if(!i)throw'Requirement is not an array: "'+t+'"';var r=i[1].split(",").map(d.trimString);if(r.length!==e)throw"Requirement has "+r.length+" values when "+e+" are needed";return r}(t,i.length),n=0;n<r.length;n++)r[n]=d.parseRequirement(i[n],r[n]);return r}return h.isPlainObject(i)?function(t,e,i){var r=null,n={};for(var s in t)if(s){var a=i(s);"string"==typeof a&&(a=d.parseRequirement(t[s],a)),n[s]=a}else r=d.parseRequirement(t[s],e);return[r,n]}(i,t,e):[d.parseRequirement(i,t)]},requirementType:"string",priority:2};function a(t,e){this.__class__="ValidatorRegistry",this.locale="en",this.init(t||{},e||{})}var p={email:/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,date:{test:function(t){return null!==d.parse.date(t)}},url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-zA-Z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$")};p.range=p.number;function f(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function m(s,a){return function(t){for(var e=arguments.length,i=new Array(1<e?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return i.pop(),a.apply(void 0,[t].concat(u((n=s,i.map(d.parse[n])))));var n}}function g(t){return{validateDate:m("date",t),validateNumber:m("number",t),requirementType:t.length<=2?"string":["string","string"],priority:30}}a.prototype={init:function(t,e){for(var i in this.catalog=e,this.validators=l({},this.validators),t)this.addValidator(i,t[i].fn,t[i].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(t){if(void 0===this.catalog[t])throw new Error(t+" is not available in the catalog");return this.locale=t,this},addCatalog:function(t,e,i){return"object"===n(e)&&(this.catalog[t]=e),!0===i?this.setLocale(t):this},addMessage:function(t,e,i){return void 0===this.catalog[t]&&(this.catalog[t]={}),this.catalog[t][e]=i,this},addMessages:function(t,e){for(var i in e)this.addMessage(t,i,e[i]);return this},addValidator:function(t,e,i){if(this.validators[t])d.warn('Validator "'+t+'" is already defined.');else if(s.hasOwnProperty(t))return void d.warn('"'+t+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},hasValidator:function(t){return!!this.validators[t]},updateValidator:function(t,e,i){return this.validators[t]?this._setValidator.apply(this,arguments):(d.warn('Validator "'+t+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(t){return this.validators[t]||d.warn('Validator "'+t+'" is not defined.'),delete this.validators[t],this},_setValidator:function(t,e,i){for(var r in"object"!==n(e)&&(e={fn:e,priority:i}),e.validate||(e=new c(e)),(this.validators[t]=e).messages||{})this.addMessage(r,t,e.messages[r]);return this},getErrorMessage:function(t){var e;"type"===t.name?e=(this.catalog[this.locale][t.name]||{})[t.requirements]:e=this.formatMessage(this.catalog[this.locale][t.name],t.requirements);return e||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(t,e){if("object"!==n(e))return"string"==typeof t?t.replace(/%s/i,e):"";for(var i in e)t=this.formatMessage(t,e[i]);return t},validators:{notblank:{validateString:function(t){return/\S/.test(t)},priority:2},required:{validateMultiple:function(t){return 0<t.length},validateString:function(t){return/\S/.test(t)},priority:512},type:{validateString:function(t,e,i){var r=2<arguments.length&&void 0!==i?i:{},n=r.step,s=void 0===n?"any":n,a=r.base,o=void 0===a?0:a,l=p[e];if(!l)throw new Error("validator type `"+e+"` is not supported");if(!t)return!0;if(!l.test(t))return!1;if("number"===e&&!/^any$/i.test(s||"")){var u=Number(t),d=Math.max(f(s),f(o));if(f(u)>d)return!1;var h=function(t){return Math.round(t*Math.pow(10,d))};if((h(u)-h(o))%h(s)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(t,e){return!t||e.test(t)},requirementType:"regexp",priority:64},minlength:{validateString:function(t,e){return!t||t.length>=e},requirementType:"integer",priority:30},maxlength:{validateString:function(t,e){return t.length<=e},requirementType:"integer",priority:30},length:{validateString:function(t,e,i){return!t||t.length>=e&&t.length<=i},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(t,e){return t.length>=e},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(t,e){return t.length<=e},requirementType:"integer",priority:30},check:{validateMultiple:function(t,e,i){return t.length>=e&&t.length<=i},requirementType:["integer","integer"],priority:30},min:g(function(t,e){return e<=t}),max:g(function(t,e){return t<=e}),range:g(function(t,e,i){return e<=t&&t<=i}),equalto:{validateString:function(t,e){if(!t)return!0;var i=h(e);return i.length?t===i.val():t===e},priority:256},euvatin:{validateString:function(t){if(!t)return!0;return/^[A-Z][A-Z][A-Za-z0-9 -]{2,}$/.test(t)},priority:30}}};var v={};v.Form={_actualizeTriggers:function(){var e=this;this.$element.on("submit.Parsley",function(t){e.onSubmitValidate(t)}),this.$element.on("click.Parsley",d._SubmitSelector,function(t){e.onSubmitButton(t)}),!1!==this.options.uiEnabled&&this.element.setAttribute("novalidate","")},focus:function(){if(!(this._focusedField=null)===this.validationResult||"none"===this.options.focus)return null;for(var t=0;t<this.fields.length;t++){var e=this.fields[t];if(!0!==e.validationResult&&0<e.validationResult.length&&void 0===e.options.noFocus&&(this._focusedField=e.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},v.Field={_reflowUI:function(){if(this._buildUI(),this._ui){var t=function t(e,i,r){for(var n=[],s=[],a=0;a<e.length;a++){for(var o=!1,l=0;l<i.length;l++)if(e[a].assert.name===i[l].assert.name){o=!0;break}o?s.push(e[a]):n.push(e[a])}return{kept:s,added:n,removed:r?[]:t(i,e,!0).added}}(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(t),this._actualizeTriggers(),!t.kept.length&&!t.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var t=[],e=0;e<this.validationResult.length;e++)t.push(this.validationResult[e].errorMessage||this._getErrorMessage(this.validationResult[e].assert));return t},addError:function(t,e){var i=1<arguments.length&&void 0!==e?e:{},r=i.message,n=i.assert,s=i.updateClass,a=void 0===s||s;this._buildUI(),this._addError(t,{message:r,assert:n}),a&&this._errorClass()},updateError:function(t,e){var i=1<arguments.length&&void 0!==e?e:{},r=i.message,n=i.assert,s=i.updateClass,a=void 0===s||s;this._buildUI(),this._updateError(t,{message:r,assert:n}),a&&this._errorClass()},removeError:function(t,e){var i=(1<arguments.length&&void 0!==e?e:{}).updateClass,r=void 0===i||i;this._buildUI(),this._removeError(t),r&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&!0===this.validationResult?this._successClass():0<this.validationResult.length?this._errorClass():this._resetClass()},_manageErrorsMessages:function(t){if(void 0===this.options.errorsMessagesDisabled){if(void 0!==this.options.errorMessage)return t.added.length||t.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(h(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").find(".parsley-custom-error-message").html(this.options.errorMessage)):(this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-custom-error-message").remove());for(var e=0;e<t.removed.length;e++)this._removeError(t.removed[e].assert.name);for(e=0;e<t.added.length;e++)this._addError(t.added[e].assert.name,{message:t.added[e].errorMessage,assert:t.added[e].assert});for(e=0;e<t.kept.length;e++)this._updateError(t.kept[e].assert.name,{message:t.kept[e].errorMessage,assert:t.kept[e].assert})}},_addError:function(t,e){var i=e.message,r=e.assert;this._insertErrorWrapper(),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").append(h(this.options.errorTemplate).addClass("parsley-"+t).html(i||this._getErrorMessage(r)))},_updateError:function(t,e){var i=e.message,r=e.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+t).html(i||this._getErrorMessage(r))},_removeError:function(t){this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-"+t).remove()},_getErrorMessage:function(t){var e=t.name+"Message";return void 0!==this.options[e]?window.Parsley.formatMessage(this.options[e],t.requirements):window.Parsley.getErrorMessage(t)},_buildUI:function(){if(!this._ui&&!1!==this.options.uiEnabled){var t={};this.element.setAttribute(this.options.namespace+"id",this.__id__),t.$errorClassHandler=this._manageClassHandler(),t.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),t.$errorsWrapper=h(this.options.errorsWrapper).attr("id",t.errorsWrapperId),t.lastValidationResult=[],t.validationInformationVisible=!1,this._ui=t}},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&h(this.options.classHandler).length)return h(this.options.classHandler);var t=this.options.classHandler;if("string"==typeof this.options.classHandler&&"function"==typeof window[this.options.classHandler]&&(t=window[this.options.classHandler]),"function"==typeof t){var e=t.call(this,this);if(void 0!==e&&e.length)return e}else{if("object"===n(t)&&t instanceof jQuery&&t.length)return t;t&&d.warn("The class handler `"+t+"` does not exist in DOM nor as a global JS function")}return this._inputHolder()},_inputHolder:function(){return this.options.multiple&&"SELECT"!==this.element.nodeName?this.$element.parent():this.$element},_insertErrorWrapper:function(){var t=this.options.errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof t){if(h(t).length)return h(t).append(this._ui.$errorsWrapper);"function"==typeof window[t]?t=window[t]:d.warn("The errors container `"+t+"` does not exist in DOM nor as a global JS function")}return"function"==typeof t&&(t=t.call(this,this)),"object"===n(t)&&t.length?t.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var t,e=this,i=this._findRelated();i.off(".Parsley"),this._failedOnce?i.on(d.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){e._validateIfNeeded()}):(t=d.namespaceEvents(this.options.trigger,"Parsley"))&&i.on(t,function(t){e._validateIfNeeded(t)})},_validateIfNeeded:function(t){var e=this;t&&/key|input/.test(t.type)&&(!this._ui||!this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout(function(){return e.validate()},this.options.debounce)):this.validate())},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),void 0!==this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),void 0!==this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};function y(t,e,i){this.__class__="Form",this.element=t,this.$element=h(t),this.domOptions=e,this.options=i,this.parent=window.Parsley,this.fields=[],this.validationResult=null}var _={pending:null,resolved:!0,rejected:!1};y.prototype={onSubmitValidate:function(t){var e=this;if(!0!==t.parsley){var i=this._submitSource||this.$element.find(d._SubmitSelector)[0];if(this._submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!i||null===i.getAttribute("formnovalidate")){window.Parsley._remoteCache={};var r=this.whenValidate({event:t});"resolved"===r.state()&&!1!==this._trigger("submit")||(t.stopImmediatePropagation(),t.preventDefault(),"pending"===r.state()&&r.done(function(){e._submit(i)}))}}},onSubmitButton:function(t){this._submitSource=t.currentTarget},_submit:function(t){if(!1!==this._trigger("submit")){if(t){var e=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===e.length&&(e=h('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element)),e.attr({name:t.getAttribute("name"),value:t.getAttribute("value")})}this.$element.trigger(l(h.Event("submit"),{parsley:!0}))}},validate:function(t){if(1<=arguments.length&&!h.isPlainObject(t)){d.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var e=Array.prototype.slice.call(arguments);t={group:e[0],force:e[1],event:e[2]}}return _[this.whenValidate(t).state()]},whenValidate:function(t){var e,i=this,r=0<arguments.length&&void 0!==t?t:{},n=r.group,s=r.force,a=r.event;(this.submitEvent=a)&&(this.submitEvent=l({},a,{preventDefault:function(){d.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),i.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var o=this._withoutReactualizingFormOptions(function(){return h.map(i.fields,function(t){return t.whenValidate({force:s,group:n})})});return(e=d.all(o).done(function(){i._trigger("success")}).fail(function(){i.validationResult=!1,i.focus(),i._trigger("error")}).always(function(){i._trigger("validated")})).pipe.apply(e,u(this._pipeAccordingToValidationResult()))},isValid:function(t){if(1<=arguments.length&&!h.isPlainObject(t)){d.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var e=Array.prototype.slice.call(arguments);t={group:e[0],force:e[1]}}return _[this.whenValid(t).state()]},whenValid:function(t){var e=this,i=0<arguments.length&&void 0!==t?t:{},r=i.group,n=i.force;this._refreshFields();var s=this._withoutReactualizingFormOptions(function(){return h.map(e.fields,function(t){return t.whenValid({group:r,force:n})})});return d.all(s)},refresh:function(){return this._refreshFields(),this},reset:function(){for(var t=0;t<this.fields.length;t++)this.fields[t].reset();this._trigger("reset")},destroy:function(){this._destroyUI();for(var t=0;t<this.fields.length;t++)this.fields[t].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var n=this,t=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){n.$element.find(n.options.inputs).not(n.options.excluded).not("[".concat(n.options.namespace,"excluded=true]")).each(function(t,e){var i=new window.Parsley.Factory(e,{},n);if("Field"===i.__class__||"FieldMultiple"===i.__class__){var r=i.__class__+"-"+i.__id__;void 0===n.fieldsMappedById[r]&&(n.fieldsMappedById[r]=i,n.fields.push(i))}}),h.each(d.difference(t,n.fields),function(t,e){e.reset()})}),this},_withoutReactualizingFormOptions:function(t){var e=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=t();return this.actualizeOptions=e,i},_trigger:function(t){return this.trigger("form:"+t)}};function b(t,e,i,r,n){var s=window.Parsley._validatorRegistry.validators[e],a=new c(s);l(this,{validator:a,name:e,requirements:i,priority:r=r||t.options[e+"Priority"]||a.priority,isDomConstraint:n=!0===n}),this._parseRequirements(t.options)}function w(t,e,i,r){this.__class__="Field",this.element=t,this.$element=h(t),void 0!==r&&(this.parent=r),this.options=i,this.domOptions=e,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()}var F={pending:null,resolved:!0,rejected:!(b.prototype={validate:function(t,e){var i;return(i=this.validator).validate.apply(i,[t].concat(u(this.requirementList),[e]))},_parseRequirements:function(i){var r=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(t){return i[r.name+((e=t)[0].toUpperCase()+e.slice(1))];var e})}})};w.prototype={validate:function(t){1<=arguments.length&&!h.isPlainObject(t)&&(d.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),t={options:t});var e=this.whenValidate(t);if(!e)return!0;switch(e.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(t){var e,i=this,r=0<arguments.length&&void 0!==t?t:{},n=r.force,s=r.group;if(this.refresh(),!s||this._isInGroup(s))return this.value=this.getValue(),this._trigger("validate"),(e=this.whenValid({force:n,value:this.value,_refreshed:!0}).always(function(){i._reflowUI()}).done(function(){i._trigger("success")}).fail(function(){i._trigger("error")}).always(function(){i._trigger("validated")})).pipe.apply(e,u(this._pipeAccordingToValidationResult()))},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(t){return void 0===t&&(t=this.getValue()),!(!t.length&&!this._isRequired()&&void 0===this.options.validateIfEmpty)},_isInGroup:function(t){return Array.isArray(this.options.group)?-1!==h.inArray(t,this.options.group):this.options.group===t},isValid:function(t){if(1<=arguments.length&&!h.isPlainObject(t)){d.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var e=Array.prototype.slice.call(arguments);t={force:e[0],value:e[1]}}var i=this.whenValid(t);return!i||F[i.state()]},whenValid:function(t){var r=this,e=0<arguments.length&&void 0!==t?t:{},i=e.force,n=void 0!==i&&i,s=e.value,a=e.group;if(e._refreshed||this.refresh(),!a||this._isInGroup(a)){if(this.validationResult=!0,!this.hasConstraints())return h.when();if(null==s&&(s=this.getValue()),!this.needsValidation(s)&&!0!==n)return h.when();var o=this._getGroupedConstraints(),l=[];return h.each(o,function(t,e){var i=d.all(h.map(e,function(t){return r._validateConstraint(s,t)}));if(l.push(i),"rejected"===i.state())return!1}),d.all(l)}},_validateConstraint:function(t,e){var i=this,r=e.validate(t,this);return!1===r&&(r=h.Deferred().reject()),d.all([r]).fail(function(t){i.validationResult instanceof Array||(i.validationResult=[]),i.validationResult.push({assert:e,errorMessage:"string"==typeof t&&t})})},getValue:function(){var t;return null==(t="function"==typeof this.options.value?this.options.value(this):void 0!==this.options.value?this.options.value:this.$element.val())?"":this._handleWhitespace(t)},reset:function(){return this._resetUI(),this._trigger("reset")},destroy:function(){this._destroyUI(),this.$element.removeData("Parsley"),this.$element.removeData("FieldMultiple"),this._trigger("destroy")},refresh:function(){return this._refreshConstraints(),this},_refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},refreshConstraints:function(){return d.warnOnce("Parsley's refreshConstraints is deprecated. Please use refresh"),this.refresh()},addConstraint:function(t,e,i,r){if(window.Parsley._validatorRegistry.validators[t]){var n=new b(this,t,e,i,r);"undefined"!==this.constraintsByName[n.name]&&this.removeConstraint(n.name),this.constraints.push(n),this.constraintsByName[n.name]=n}return this},removeConstraint:function(t){for(var e=0;e<this.constraints.length;e++)if(t===this.constraints[e].name){this.constraints.splice(e,1);break}return delete this.constraintsByName[t],this},updateConstraint:function(t,e,i){return this.removeConstraint(t).addConstraint(t,e,i)},_bindConstraints:function(){for(var t=[],e={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(t.push(this.constraints[i]),e[this.constraints[i].name]=this.constraints[i]);for(var r in this.constraints=t,this.constraintsByName=e,this.options)this.addConstraint(r,this.options[r],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){null!==this.element.getAttribute("required")&&this.addConstraint("required",!0,void 0,!0),null!==this.element.getAttribute("pattern")&&this.addConstraint("pattern",this.element.getAttribute("pattern"),void 0,!0);var t=this.element.getAttribute("min"),e=this.element.getAttribute("max");null!==t&&null!==e?this.addConstraint("range",[t,e],void 0,!0):null!==t?this.addConstraint("min",t,void 0,!0):null!==e&&this.addConstraint("max",e,void 0,!0),null!==this.element.getAttribute("minlength")&&null!==this.element.getAttribute("maxlength")?this.addConstraint("length",[this.element.getAttribute("minlength"),this.element.getAttribute("maxlength")],void 0,!0):null!==this.element.getAttribute("minlength")?this.addConstraint("minlength",this.element.getAttribute("minlength"),void 0,!0):null!==this.element.getAttribute("maxlength")&&this.addConstraint("maxlength",this.element.getAttribute("maxlength"),void 0,!0);var i=d.getType(this.element);return"number"===i?this.addConstraint("type",["number",{step:this.element.getAttribute("step")||"1",base:t||this.element.getAttribute("value")}],void 0,!0):/^(email|url|range|date)$/i.test(i)?this.addConstraint("type",i,void 0,!0):this},_isRequired:function(){return void 0!==this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(t){return this.trigger("field:"+t)},_handleWhitespace:function(t){return!0===this.options.trimValue&&d.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(t=t.replace(/\s{2,}/g," ")),"trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue||(t=d.trimString(t)),t},_isDateInput:function(){var t=this.constraintsByName.type;return t&&"date"===t.requirements},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var t=[],e={},i=0;i<this.constraints.length;i++){var r=this.constraints[i].priority;e[r]||t.push(e[r]=[]),e[r].push(this.constraints[i])}return t.sort(function(t,e){return e[0].priority-t[0].priority}),t}};function C(){this.__class__="FieldMultiple"}C.prototype={addElement:function(t){return this.$elements.push(t),this},_refreshConstraints:function(){var t;if(this.constraints=[],"SELECT"===this.element.nodeName)return this.actualizeOptions()._bindConstraints(),this;for(var e=0;e<this.$elements.length;e++)if(h("html").has(this.$elements[e]).length){t=this.$elements[e].data("FieldMultiple")._refreshConstraints().constraints;for(var i=0;i<t.length;i++)this.addConstraint(t[i].name,t[i].requirements,t[i].priority,t[i].isDomConstraint)}else this.$elements.splice(e,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if(void 0!==this.options.value)return this.options.value;if("INPUT"===this.element.nodeName){var t=d.getType(this.element);if("radio"===t)return this._findRelated().filter(":checked").val()||"";if("checkbox"===t){var e=[];return this._findRelated().filter(":checked").each(function(){e.push(h(this).val())}),e}}return"SELECT"===this.element.nodeName&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};function A(t,e,i){this.element=t,this.$element=h(t);var r=this.$element.data("Parsley");if(r)return void 0!==i&&r.parent===window.Parsley&&(r.parent=i,r._resetOptions(r.options)),"object"===n(e)&&l(r.options,e),r;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==i&&"Form"!==i.__class__)throw new Error("Parent instance must be a Form instance");return this.parent=i||window.Parsley,this.init(e)}A.prototype={init:function(t){return this.__class__="Parsley",this.__version__="2.9.2",this.__id__=d.generateID(),this._resetOptions(t),"FORM"===this.element.nodeName||d.checkAttr(this.element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){var t=d.getType(this.element);return"radio"===t||"checkbox"===t||"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple")},handleMultiple:function(){var t,e,r=this;if(this.options.multiple=this.options.multiple||(t=this.element.getAttribute("name"))||this.element.getAttribute("id"),"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return d.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),t&&h('input[name="'+t+'"]').each(function(t,e){var i=d.getType(e);"radio"!==i&&"checkbox"!==i||e.setAttribute(r.options.namespace+"multiple",r.options.multiple)});for(var i=this._findRelated(),n=0;n<i.length;n++)if(void 0!==(e=h(i.get(n)).data("Parsley"))){this.$element.data("FieldMultiple")||e.addElement(this.$element);break}return this.bind("parsleyField",!0),e||this.bind("parsleyFieldMultiple")},bind:function(t,e){var i;switch(t){case"parsleyForm":i=h.extend(new y(this.element,this.domOptions,this.options),new r,window.ParsleyExtend)._bindFields();break;case"parsleyField":i=h.extend(new w(this.element,this.domOptions,this.options,this.parent),new r,window.ParsleyExtend);break;case"parsleyFieldMultiple":i=h.extend(new w(this.element,this.domOptions,this.options,this.parent),new C,new r,window.ParsleyExtend)._init();break;default:throw new Error(t+"is not a supported Parsley type")}return this.options.multiple&&d.setAttr(this.element,this.options.namespace,"multiple",this.options.multiple),void 0!==e?this.$element.data("FieldMultiple",i):(this.$element.data("Parsley",i),i._actualizeTriggers(),i._trigger("init")),i}};var E=h.fn.jquery.split(".");if(parseInt(E[0])<=1&&parseInt(E[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";E.forEach||d.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var x=l(new r,{element:document,$element:h(document),actualizeOptions:null,_resetOptions:null,Factory:A,version:"2.9.2"});l(w.prototype,v.Field,r.prototype),l(y.prototype,v.Form,r.prototype),l(A.prototype,r.prototype),h.fn.parsley=h.fn.psly=function(t){if(1<this.length){var e=[];return this.each(function(){e.push(h(this).parsley(t))}),e}if(0!=this.length)return new A(this[0],t)},void 0===window.ParsleyExtend&&(window.ParsleyExtend={}),x.options=l(d.objectCreate(s),window.ParsleyConfig),window.ParsleyConfig=x.options,window.Parsley=window.psly=x,x.Utils=d,window.ParsleyUtils={},h.each(d,function(t,e){"function"==typeof e&&(window.ParsleyUtils[t]=function(){return d.warnOnce("Accessing `window.ParsleyUtils` is deprecated. Use `window.Parsley.Utils` instead."),d[t].apply(d,arguments)})});var $=window.Parsley._validatorRegistry=new a(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},h.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator hasValidator".split(" "),function(t,e){window.Parsley[e]=function(){return $[e].apply($,arguments)},window.ParsleyValidator[e]=function(){var t;return d.warnOnce("Accessing the method '".concat(e,"' through Validator is deprecated. Simply call 'window.Parsley.").concat(e,"(...)'")),(t=window.Parsley)[e].apply(t,arguments)}}),window.Parsley.UI=v,window.ParsleyUI={removeError:function(t,e,i){var r=!0!==i;return d.warnOnce("Accessing UI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),t.removeError(e,{updateClass:r})},getErrorsMessages:function(t){return d.warnOnce("Accessing UI is deprecated. Call 'getErrorsMessages' on the instance directly."),t.getErrorsMessages()}},h.each("addError updateError".split(" "),function(t,a){window.ParsleyUI[a]=function(t,e,i,r,n){var s=!0!==n;return d.warnOnce("Accessing UI is deprecated. Call '".concat(a,"' on the instance directly. Please comment in issue 1073 as to your need to call this method.")),t[a](e,{message:i,assert:r,updateClass:s})}}),!1!==window.ParsleyConfig.autoBind&&h(function(){h("[data-parsley-validate]").length&&h("[data-parsley-validate]").parsley()});function V(){d.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")}var P=h({});function O(e,i){return e.parsleyAdaptedCallback||(e.parsleyAdaptedCallback=function(){var t=Array.prototype.slice.call(arguments,0);t.unshift(this),e.apply(i||P,t)}),e.parsleyAdaptedCallback}var T="parsley:";function M(t){return 0===t.lastIndexOf(T,0)?t.substr(T.length):t}return h.listen=function(t,e){var i;if(V(),"object"===n(arguments[1])&&"function"==typeof arguments[2]&&(i=arguments[1],e=arguments[2]),"function"!=typeof e)throw new Error("Wrong parameters");window.Parsley.on(M(t),O(e,i))},h.listenTo=function(t,e,i){if(V(),!(t instanceof w||t instanceof y))throw new Error("Must give Parsley instance");if("string"!=typeof e||"function"!=typeof i)throw new Error("Wrong parameters");t.on(M(e),O(i))},h.unsubscribe=function(t,e){if(V(),"string"!=typeof t||"function"!=typeof e)throw new Error("Wrong arguments");window.Parsley.off(M(t),e.parsleyAdaptedCallback)},h.unsubscribeTo=function(t,e){if(V(),!(t instanceof w||t instanceof y))throw new Error("Must give Parsley instance");t.off(M(e))},h.unsubscribeAll=function(e){V(),window.Parsley.off(M(e)),h("form,input,textarea,select").each(function(){var t=h(this).data("Parsley");t&&t.off(M(e))})},h.emit=function(t,e){V();var i=e instanceof w||e instanceof y,r=Array.prototype.slice.call(arguments,i?2:1);r.unshift(M(t)),i||(e=window.Parsley),e.trigger.apply(e,u(r))},h.extend(!0,x,{asyncValidators:{default:{fn:function(t){return 200<=t.status&&t.status<300},url:!1},reverse:{fn:function(t){return t.status<200||300<=t.status},url:!1}},addAsyncValidator:function(t,e,i,r){return x.asyncValidators[t]={fn:e,url:i||!1,options:r||{}},this}}),x.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(t,e,i,r){var n,s,a={},o=i.validator||(!0===i.reverse?"reverse":"default");if(void 0===x.asyncValidators[o])throw new Error("Calling an undefined async validator: `"+o+"`");-1<(e=x.asyncValidators[o].url||e).indexOf("{value}")?e=e.replace("{value}",encodeURIComponent(t)):a[r.element.getAttribute("name")||r.element.getAttribute("id")]=t;var l=h.extend(!0,i.options||{},x.asyncValidators[o].options);n=h.extend(!0,{},{url:e,data:a,type:"GET"},l),r.trigger("field:ajaxoptions",r,n),s=h.param(n),void 0===x._remoteCache&&(x._remoteCache={});function u(){var t=x.asyncValidators[o].fn.call(r,d,e,i);return t=t||h.Deferred().reject(),h.when(t)}var d=x._remoteCache[s]=x._remoteCache[s]||h.ajax(n);return d.then(u,u)},priority:-1}),x.on("form:submit",function(){x._remoteCache={}}),r.prototype.addAsyncValidator=function(){return d.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),x.addAsyncValidator.apply(x,arguments)},x.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same.",euvatin:"It's not a valid VAT Identification Number."}),x.setLocale("en"),(new function(){var r=this,n=window||global;l(this,{isNativeEvent:function(t){return t.originalEvent&&!1!==t.originalEvent.isTrusted},fakeInputEvent:function(t){r.isNativeEvent(t)&&h(t.target).trigger("input")},misbehaves:function(t){r.isNativeEvent(t)&&(r.behavesOk(t),h(document).on("change.inputevent",t.data.selector,r.fakeInputEvent),r.fakeInputEvent(t))},behavesOk:function(t){r.isNativeEvent(t)&&h(document).off("input.inputevent",t.data.selector,r.behavesOk).off("change.inputevent",t.data.selector,r.misbehaves)},install:function(){if(!n.inputEventPatched){n.inputEventPatched="0.0.3";for(var t=0,e=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'];t<e.length;t++){var i=e[t];h(document).on("input.inputevent",i,{selector:i},r.behavesOk).on("change.inputevent",i,{selector:i},r.misbehaves)}}},uninstall:function(){delete n.inputEventPatched,h(document).off(".inputevent")}})}).install(),x});
-//# sourceMappingURL=parsley.min.js.map
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/header-slideshow"],{
-
-/***/ "./resources/assets/scripts/header-slideshow.js":
-/*!******************************************************!*\
- !*** ./resources/assets/scripts/header-slideshow.js ***!
- \******************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 5:
-/*!************************************************************!*\
- !*** multi ./resources/assets/scripts/header-slideshow.js ***!
- \************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\header-slideshow.js */"./resources/assets/scripts/header-slideshow.js");
-
-
-/***/ })
-
-},[[5,"/scripts/manifest"]]]);
-//# sourceMappingURL=header-slideshow.js.map
\ No newline at end of file
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/link-carousel"],{
-
-/***/ "./resources/assets/scripts/link-carousel.js":
-/*!***************************************************!*\
- !*** ./resources/assets/scripts/link-carousel.js ***!
- \***************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 7:
-/*!*********************************************************!*\
- !*** multi ./resources/assets/scripts/link-carousel.js ***!
- \*********************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\link-carousel.js */"./resources/assets/scripts/link-carousel.js");
-
-
-/***/ })
-
-},[[7,"/scripts/manifest"]]]);
-//# sourceMappingURL=link-carousel.js.map
\ No newline at end of file
+++ /dev/null
-/*! Lity - v2.4.0 - 2019-08-10
-* http://sorgalla.com/lity/
-* Copyright (c) 2015-2019 Jan Sorgalla; Licensed MIT */
-(function(window, factory) {
- if (typeof define === 'function' && define.amd) {
- define(['jquery'], function($) {
- return factory(window, $);
- });
- } else if (typeof module === 'object' && typeof module.exports === 'object') {
- module.exports = factory(window, require('jquery'));
- } else {
- window.lity = factory(window, window.jQuery || window.Zepto);
- }
-}(typeof window !== "undefined" ? window : this, function(window, $) {
- 'use strict';
-
- var document = window.document;
-
- var _win = $(window);
- var _deferred = $.Deferred;
- var _html = $('html');
- var _instances = [];
-
- var _attrAriaHidden = 'aria-hidden';
- var _dataAriaHidden = 'lity-' + _attrAriaHidden;
-
- var _focusableElementsSelector = 'a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])';
-
- var _defaultOptions = {
- esc: true,
- handler: null,
- handlers: {
- image: imageHandler,
- inline: inlineHandler,
- youtube: youtubeHandler,
- vimeo: vimeoHandler,
- googlemaps: googlemapsHandler,
- facebookvideo: facebookvideoHandler,
- iframe: iframeHandler
- },
- template: '<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>×</button></div></div></div>'
- };
-
- var _imageRegexp = /(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i;
- var _youtubeRegex = /(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i;
- var _vimeoRegex = /(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/;
- var _googlemapsRegex = /((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i;
- var _facebookvideoRegex = /(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i;
-
- var _transitionEndEvent = (function() {
- var el = document.createElement('div');
-
- var transEndEventNames = {
- WebkitTransition: 'webkitTransitionEnd',
- MozTransition: 'transitionend',
- OTransition: 'oTransitionEnd otransitionend',
- transition: 'transitionend'
- };
-
- for (var name in transEndEventNames) {
- if (el.style[name] !== undefined) {
- return transEndEventNames[name];
- }
- }
-
- return false;
- })();
-
- function transitionEnd(element) {
- var deferred = _deferred();
-
- if (!_transitionEndEvent || !element.length) {
- deferred.resolve();
- } else {
- element.one(_transitionEndEvent, deferred.resolve);
- setTimeout(deferred.resolve, 500);
- }
-
- return deferred.promise();
- }
-
- function settings(currSettings, key, value) {
- if (arguments.length === 1) {
- return $.extend({}, currSettings);
- }
-
- if (typeof key === 'string') {
- if (typeof value === 'undefined') {
- return typeof currSettings[key] === 'undefined'
- ? null
- : currSettings[key];
- }
-
- currSettings[key] = value;
- } else {
- $.extend(currSettings, key);
- }
-
- return this;
- }
-
- function parseQueryParams(params) {
- var pairs = decodeURI(params.split('#')[0]).split('&');
- var obj = {}, p;
-
- for (var i = 0, n = pairs.length; i < n; i++) {
- if (!pairs[i]) {
- continue;
- }
-
- p = pairs[i].split('=');
- obj[p[0]] = p[1];
- }
-
- return obj;
- }
-
- function appendQueryParams(url, params) {
- return url + (url.indexOf('?') > -1 ? '&' : '?') + $.param(params);
- }
-
- function transferHash(originalUrl, newUrl) {
- var pos = originalUrl.indexOf('#');
-
- if (-1 === pos) {
- return newUrl;
- }
-
- if (pos > 0) {
- originalUrl = originalUrl.substr(pos);
- }
-
- return newUrl + originalUrl;
- }
-
- function error(msg) {
- return $('<span class="lity-error"/>').append(msg);
- }
-
- function imageHandler(target, instance) {
- var desc = (instance.opener() && instance.opener().data('lity-desc')) || 'Image with no description';
- var img = $('<img src="' + target + '" alt="' + desc + '"/>');
- var deferred = _deferred();
- var failed = function() {
- deferred.reject(error('Failed loading image'));
- };
-
- img
- .on('load', function() {
- if (this.naturalWidth === 0) {
- return failed();
- }
-
- deferred.resolve(img);
- })
- .on('error', failed)
- ;
-
- return deferred.promise();
- }
-
- imageHandler.test = function(target) {
- return _imageRegexp.test(target);
- };
-
- function inlineHandler(target, instance) {
- var el, placeholder, hasHideClass;
-
- try {
- el = $(target);
- } catch (e) {
- return false;
- }
-
- if (!el.length) {
- return false;
- }
-
- placeholder = $('<i style="display:none !important"/>');
- hasHideClass = el.hasClass('lity-hide');
-
- instance
- .element()
- .one('lity:remove', function() {
- placeholder
- .before(el)
- .remove()
- ;
-
- if (hasHideClass && !el.closest('.lity-content').length) {
- el.addClass('lity-hide');
- }
- })
- ;
-
- return el
- .removeClass('lity-hide')
- .after(placeholder)
- ;
- }
-
- function youtubeHandler(target) {
- var matches = _youtubeRegex.exec(target);
-
- if (!matches) {
- return false;
- }
-
- return iframeHandler(
- transferHash(
- target,
- appendQueryParams(
- 'https://www.youtube' + (matches[2] || '') + '.com/embed/' + matches[4],
- $.extend(
- {
- autoplay: 1
- },
- parseQueryParams(matches[5] || '')
- )
- )
- )
- );
- }
-
- function vimeoHandler(target) {
- var matches = _vimeoRegex.exec(target);
-
- if (!matches) {
- return false;
- }
-
- return iframeHandler(
- transferHash(
- target,
- appendQueryParams(
- 'https://player.vimeo.com/video/' + matches[3],
- $.extend(
- {
- autoplay: 1
- },
- parseQueryParams(matches[4] || '')
- )
- )
- )
- );
- }
-
- function facebookvideoHandler(target) {
- var matches = _facebookvideoRegex.exec(target);
-
- if (!matches) {
- return false;
- }
-
- if (0 !== target.indexOf('http')) {
- target = 'https:' + target;
- }
-
- return iframeHandler(
- transferHash(
- target,
- appendQueryParams(
- 'https://www.facebook.com/plugins/video.php?href=' + target,
- $.extend(
- {
- autoplay: 1
- },
- parseQueryParams(matches[4] || '')
- )
- )
- )
- );
- }
-
- function googlemapsHandler(target) {
- var matches = _googlemapsRegex.exec(target);
-
- if (!matches) {
- return false;
- }
-
- return iframeHandler(
- transferHash(
- target,
- appendQueryParams(
- 'https://www.google.' + matches[3] + '/maps?' + matches[6],
- {
- output: matches[6].indexOf('layer=c') > 0 ? 'svembed' : 'embed'
- }
- )
- )
- );
- }
-
- function iframeHandler(target) {
- return '<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen allow="autoplay; fullscreen" src="' + target + '"/></div>';
- }
-
- function winHeight() {
- return document.documentElement.clientHeight
- ? document.documentElement.clientHeight
- : Math.round(_win.height());
- }
-
- function keydown(e) {
- var current = currentInstance();
-
- if (!current) {
- return;
- }
-
- // ESC key
- if (e.keyCode === 27 && !!current.options('esc')) {
- current.close();
- }
-
- // TAB key
- if (e.keyCode === 9) {
- handleTabKey(e, current);
- }
- }
-
- function handleTabKey(e, instance) {
- var focusableElements = instance.element().find(_focusableElementsSelector);
- var focusedIndex = focusableElements.index(document.activeElement);
-
- if (e.shiftKey && focusedIndex <= 0) {
- focusableElements.get(focusableElements.length - 1).focus();
- e.preventDefault();
- } else if (!e.shiftKey && focusedIndex === focusableElements.length - 1) {
- focusableElements.get(0).focus();
- e.preventDefault();
- }
- }
-
- function resize() {
- $.each(_instances, function(i, instance) {
- instance.resize();
- });
- }
-
- function registerInstance(instanceToRegister) {
- if (1 === _instances.unshift(instanceToRegister)) {
- _html.addClass('lity-active');
-
- _win
- .on({
- resize: resize,
- keydown: keydown
- })
- ;
- }
-
- $('body > *').not(instanceToRegister.element())
- .addClass('lity-hidden')
- .each(function() {
- var el = $(this);
-
- if (undefined !== el.data(_dataAriaHidden)) {
- return;
- }
-
- el.data(_dataAriaHidden, el.attr(_attrAriaHidden) || null);
- })
- .attr(_attrAriaHidden, 'true')
- ;
- }
-
- function removeInstance(instanceToRemove) {
- var show;
-
- instanceToRemove
- .element()
- .attr(_attrAriaHidden, 'true')
- ;
-
- if (1 === _instances.length) {
- _html.removeClass('lity-active');
-
- _win
- .off({
- resize: resize,
- keydown: keydown
- })
- ;
- }
-
- _instances = $.grep(_instances, function(instance) {
- return instanceToRemove !== instance;
- });
-
- if (!!_instances.length) {
- show = _instances[0].element();
- } else {
- show = $('.lity-hidden');
- }
-
- show
- .removeClass('lity-hidden')
- .each(function() {
- var el = $(this), oldAttr = el.data(_dataAriaHidden);
-
- if (!oldAttr) {
- el.removeAttr(_attrAriaHidden);
- } else {
- el.attr(_attrAriaHidden, oldAttr);
- }
-
- el.removeData(_dataAriaHidden);
- })
- ;
- }
-
- function currentInstance() {
- if (0 === _instances.length) {
- return null;
- }
-
- return _instances[0];
- }
-
- function factory(target, instance, handlers, preferredHandler) {
- var handler = 'inline', content;
-
- var currentHandlers = $.extend({}, handlers);
-
- if (preferredHandler && currentHandlers[preferredHandler]) {
- content = currentHandlers[preferredHandler](target, instance);
- handler = preferredHandler;
- } else {
- // Run inline and iframe handlers after all other handlers
- $.each(['inline', 'iframe'], function(i, name) {
- delete currentHandlers[name];
-
- currentHandlers[name] = handlers[name];
- });
-
- $.each(currentHandlers, function(name, currentHandler) {
- // Handler might be "removed" by setting callback to null
- if (!currentHandler) {
- return true;
- }
-
- if (
- currentHandler.test &&
- !currentHandler.test(target, instance)
- ) {
- return true;
- }
-
- content = currentHandler(target, instance);
-
- if (false !== content) {
- handler = name;
- return false;
- }
- });
- }
-
- return {handler: handler, content: content || ''};
- }
-
- function Lity(target, options, opener, activeElement) {
- var self = this;
- var result;
- var isReady = false;
- var isClosed = false;
- var element;
- var content;
-
- options = $.extend(
- {},
- _defaultOptions,
- options
- );
-
- element = $(options.template);
-
- // -- API --
-
- self.element = function() {
- return element;
- };
-
- self.opener = function() {
- return opener;
- };
-
- self.options = $.proxy(settings, self, options);
- self.handlers = $.proxy(settings, self, options.handlers);
-
- self.resize = function() {
- if (!isReady || isClosed) {
- return;
- }
-
- content
- .css('max-height', winHeight() + 'px')
- .trigger('lity:resize', [self])
- ;
- };
-
- self.close = function() {
- if (!isReady || isClosed) {
- return;
- }
-
- isClosed = true;
-
- removeInstance(self);
-
- var deferred = _deferred();
-
- // We return focus only if the current focus is inside this instance
- if (
- activeElement &&
- (
- document.activeElement === element[0] ||
- $.contains(element[0], document.activeElement)
- )
- ) {
- try {
- activeElement.focus();
- } catch (e) {
- // Ignore exceptions, eg. for SVG elements which can't be
- // focused in IE11
- }
- }
-
- content.trigger('lity:close', [self]);
-
- element
- .removeClass('lity-opened')
- .addClass('lity-closed')
- ;
-
- transitionEnd(content.add(element))
- .always(function() {
- content.trigger('lity:remove', [self]);
- element.remove();
- element = undefined;
- deferred.resolve();
- })
- ;
-
- return deferred.promise();
- };
-
- // -- Initialization --
-
- result = factory(target, self, options.handlers, options.handler);
-
- element
- .attr(_attrAriaHidden, 'false')
- .addClass('lity-loading lity-opened lity-' + result.handler)
- .appendTo('body')
- .focus()
- .on('click', '[data-lity-close]', function(e) {
- if ($(e.target).is('[data-lity-close]')) {
- self.close();
- }
- })
- .trigger('lity:open', [self])
- ;
-
- registerInstance(self);
-
- $.when(result.content)
- .always(ready)
- ;
-
- function ready(result) {
- content = $(result)
- .css('max-height', winHeight() + 'px')
- ;
-
- element
- .find('.lity-loader')
- .each(function() {
- var loader = $(this);
-
- transitionEnd(loader)
- .always(function() {
- loader.remove();
- })
- ;
- })
- ;
-
- element
- .removeClass('lity-loading')
- .find('.lity-content')
- .empty()
- .append(content)
- ;
-
- isReady = true;
-
- content
- .trigger('lity:ready', [self])
- ;
- }
- }
-
- function lity(target, options, opener) {
- if (!target.preventDefault) {
- opener = $(opener);
- } else {
- target.preventDefault();
- opener = $(this);
- target = opener.data('lity-target') || opener.attr('href') || opener.attr('src');
- }
-
- var instance = new Lity(
- target,
- $.extend(
- {},
- opener.data('lity-options') || opener.data('lity'),
- options
- ),
- opener,
- document.activeElement
- );
-
- if (!target.preventDefault) {
- return instance;
- }
- }
-
- lity.version = '2.4.0';
- lity.options = $.proxy(settings, lity, _defaultOptions);
- lity.handlers = $.proxy(settings, lity, _defaultOptions.handlers);
- lity.current = currentInstance;
-
- $(document).on('click.lity', '[data-lity]', lity);
-
- return lity;
-}));
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/testimonial-carousel"],{
-
-/***/ "./resources/assets/scripts/testimonial-carousel.js":
-/*!**********************************************************!*\
- !*** ./resources/assets/scripts/testimonial-carousel.js ***!
- \**********************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 8:
-/*!****************************************************************!*\
- !*** multi ./resources/assets/scripts/testimonial-carousel.js ***!
- \****************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\testimonial-carousel.js */"./resources/assets/scripts/testimonial-carousel.js");
-
-
-/***/ })
-
-},[[8,"/scripts/manifest"]]]);
-//# sourceMappingURL=testimonial-carousel.js.map
\ No newline at end of file
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/timeline-horizontal"],{
-
-/***/ "./resources/assets/scripts/timeline-horizontal.js":
-/*!*********************************************************!*\
- !*** ./resources/assets/scripts/timeline-horizontal.js ***!
- \*********************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nError: error:0308010C:digital envelope routines::unsupported\n at new Hash (node:internal/crypto/hash:71:19)\n at Object.createHash (node:crypto:133:10)\n at filename (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:94:23)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:122:39\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at handleCache (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:161:18)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:216:18\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:364\n at new Promise (<anonymous>)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:5:97\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\cache.js:220:18\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:180:24)\n at Generator.next (<anonymous>)\n at asyncGeneratorStep (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:3:103)\n at _next (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:194)\n at D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:364\n at new Promise (<anonymous>)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:5:97)\n at Object.loader (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:60:18)\n at Object.<anonymous> (D:\\projets\\spinepro\\wp-content\\themes\\CCV\\node_modules\\babel-loader\\lib\\index.js:55:12)");
-
-/***/ }),
-
-/***/ 6:
-/*!***************************************************************!*\
- !*** multi ./resources/assets/scripts/timeline-horizontal.js ***!
- \***************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! D:\projets\spinepro\wp-content\themes\CCV\resources\assets\scripts\timeline-horizontal.js */"./resources/assets/scripts/timeline-horizontal.js");
-
-
-/***/ })
-
-},[[6,"/scripts/manifest"]]]);
-//# sourceMappingURL=timeline-horizontal.js.map
\ No newline at end of file
+++ /dev/null
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/scripts/vendor"],{
-
-/***/ "./node_modules/mmenu-light/bin/_version.js":
-/*!**************************************************!*\
- !*** ./node_modules/mmenu-light/bin/_version.js ***!
- \**************************************************/
-/*! exports provided: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony default export */ __webpack_exports__["default"] = ('2.3.1');
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/bin/js/_options.js":
-/*!*****************************************************!*\
- !*** ./node_modules/mmenu-light/bin/js/_options.js ***!
- \*****************************************************/
-/*! exports provided: core, offcanvas */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "core", function() { return core; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "offcanvas", function() { return offcanvas; });
-var core = {
- title: 'Menu',
- theme: 'light',
- slidingSubmenus: true,
- selected: 'Selected'
-};
-var offcanvas = {
- blockPage: true,
- move: true,
- position: 'left'
-};
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/bin/js/_support.js":
-/*!*****************************************************!*\
- !*** ./node_modules/mmenu-light/bin/js/_support.js ***!
- \*****************************************************/
-/*! exports provided: touch, IE11 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "touch", function() { return touch; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IE11", function() { return IE11; });
-/** Whether or not touch gestures are supported by the browser. */
-var touch = 'ontouchstart' in window ||
- (navigator.msMaxTouchPoints ? true : false) ||
- false;
-/** Whether or not its IE11 :/ */
-var IE11 = navigator.userAgent.indexOf('MSIE') > -1 ||
- navigator.appVersion.indexOf('Trident/') > -1;
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/bin/js/helpers.js":
-/*!****************************************************!*\
- !*** ./node_modules/mmenu-light/bin/js/helpers.js ***!
- \****************************************************/
-/*! exports provided: r, $ */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return r; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "$", function() { return $; });
-/**
- * Convert a list to an array.
- * @param {NodeList|HTMLCollection} list The list or collection to convert into an array.
- * @return {array} The array.
- */
-var r = function (list) {
- return Array.prototype.slice.call(list);
-};
-/**
- * Find elements in the given context.
- * @param {string} selector The query selector to search for.
- * @param {HTMLElement} [context=document] The context to search in.
- * @return {HTMLElement[]} The found list of elements.
- */
-var $ = function (selector, context) {
- return r((context || document).querySelectorAll(selector));
-};
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/bin/js/matchmedia.js":
-/*!*******************************************************!*\
- !*** ./node_modules/mmenu-light/bin/js/matchmedia.js ***!
- \*******************************************************/
-/*! exports provided: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/**
- * Class for a match media toggler.
- */
-var MMToggler = /** @class */ (function () {
- /**
- * Create the match media.
- *
- * @param {string} mediaquery Media query to use.
- */
- function MMToggler(mediaquery) {
- var _this = this;
- this.listener = function (evnt) {
- (evnt.matches ? _this.matchFns : _this.unmatchFns).forEach(function (listener) {
- listener();
- });
- };
- this.toggler = window.matchMedia(mediaquery);
- this.toggler.addListener(this.listener);
- this.matchFns = [];
- this.unmatchFns = [];
- }
- /**
- * Destroy the match media,
- * also fires the added functions for when the media query does not match
- * and removes the functions from the lists.
- *
- * @param {Function} listener
- */
- MMToggler.prototype.destroy = function () {
- this.toggler.removeListener(this.listener);
- this.unmatchFns.forEach(function (listener) {
- listener();
- });
- this.matchFns = [];
- this.unmatchFns = [];
- };
- /**
- * Add a function to the list,
- * also fires the added function.
- *
- * @param {Function} match Function to fire when the media query matches.
- * @param {Function} unmatch Function to fire when the media query does not match.
- */
- MMToggler.prototype.add = function (match, unmatch) {
- this.matchFns.push(match);
- this.unmatchFns.push(unmatch);
- (this.toggler.matches ? match : unmatch)();
- };
- return MMToggler;
-}());
-/* harmony default export */ __webpack_exports__["default"] = (MMToggler);
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/bin/js/mmlight.js":
-/*!****************************************************!*\
- !*** ./node_modules/mmenu-light/bin/js/mmlight.js ***!
- \****************************************************/
-/*! exports provided: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony import */ var _version__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_version */ "./node_modules/mmenu-light/bin/_version.js");
-/* harmony import */ var _matchmedia__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./matchmedia */ "./node_modules/mmenu-light/bin/js/matchmedia.js");
-/* harmony import */ var _options__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_options */ "./node_modules/mmenu-light/bin/js/_options.js");
-/* harmony import */ var _support__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_support */ "./node_modules/mmenu-light/bin/js/_support.js");
-/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./helpers */ "./node_modules/mmenu-light/bin/js/helpers.js");
-
-
-
-
-
-/**
- * Class for a lightweight mobile menu.
- */
-var MmenuLight = /** @class */ (function () {
- /**
- * Create a lightweight mobile menu.
- *
- * @param {HTMLElement} menu HTML element for the menu.
- * @param {object} [options] Options for the menu.
- */
- function MmenuLight(menu, options) {
- var _this = this;
- if (options === void 0) { options = {}; }
- // Extend options with defaults.
- this.options = {};
- Object.keys(MmenuLight.options).forEach(function (key) {
- _this.options[key] =
- typeof options[key] != 'undefined'
- ? options[key]
- : MmenuLight.options[key];
- });
- if (_support__WEBPACK_IMPORTED_MODULE_3__["IE11"]) {
- this.options.slidingSubmenus = false;
- }
- // Store the menu node.
- this.menu = menu;
- if (this.options.theme == 'dark') {
- this.menu.classList.add('mm--dark');
- }
- if (!this.options.slidingSubmenus) {
- this.menu.classList.add('mm--vertical');
- }
- this._openPanel();
- this._initAnchors();
- }
- /**
- * Enable the menu.
- *
- * @param {string} [mediaQuery='all'] Media queury to match for the menu.
- */
- MmenuLight.prototype.enable = function (mediaQuery) {
- var _this = this;
- if (mediaQuery === void 0) { mediaQuery = 'all'; }
- this.toggler = new _matchmedia__WEBPACK_IMPORTED_MODULE_1__["default"](mediaQuery);
- this.toggler.add(function () { return _this.menu.classList.add('mm'); }, function () { return _this.menu.classList.remove('mm'); });
- return this.toggler;
- };
- /**
- * Disable the menu.
- */
- MmenuLight.prototype.disable = function () {
- this.toggler.destroy();
- };
- /**
- * Initiate the selected listitem / open the current panel.
- */
- MmenuLight.prototype._openPanel = function () {
- var listitems = Object(_helpers__WEBPACK_IMPORTED_MODULE_4__["$"])('.' + this.options.selected, this.menu);
- var listitem = listitems[listitems.length - 1];
- var panel = null;
- if (listitem) {
- panel = listitem.closest('ul');
- }
- if (!panel) {
- panel = this.menu.querySelector('ul');
- }
- this.openPanel(panel);
- };
- /**
- * Open the given panel.
- *
- * @param {HTMLElement} panel Panel to open.
- */
- MmenuLight.prototype.openPanel = function (panel) {
- /** Title above the panel to open. */
- var title = panel.dataset.mmTitle;
- /** Parent LI for the panel. */
- var listitem = panel.parentElement;
- if (listitem === this.menu) {
- // Opening the main level UL.
- this.menu.classList.add('mm--main');
- }
- else {
- // Opening a sub level UL.
- this.menu.classList.remove('mm--main');
- // Find title from parent LI.
- if (!title) {
- Object(_helpers__WEBPACK_IMPORTED_MODULE_4__["r"])(listitem.children).forEach(function (child) {
- if (child.matches('a, span')) {
- title = child.textContent;
- }
- });
- }
- }
- // Use the default title.
- if (!title) {
- title = this.options.title;
- }
- // Set the title.
- this.menu.dataset.mmTitle = title;
- // Unset all panels from being opened and parent.
- Object(_helpers__WEBPACK_IMPORTED_MODULE_4__["$"])('.mm--open', this.menu).forEach(function (open) {
- open.classList.remove('mm--open', 'mm--parent');
- });
- // Set the current panel as being opened.
- panel.classList.add('mm--open');
- panel.classList.remove('mm--parent');
- // Set all parent panels as being parent.
- var parent = panel.parentElement.closest('ul');
- while (parent) {
- parent.classList.add('mm--open', 'mm--parent');
- parent = parent.parentElement.closest('ul');
- }
- };
- /**
- * Open or close the given panel.
- *
- * @param {HTMLElement} panel Panel to open or close.
- */
- MmenuLight.prototype.togglePanel = function (panel) {
- if (this.options.slidingSubmenus) {
- this.openPanel(panel);
- }
- else {
- var fn = 'add';
- if (panel.matches('.mm--open')) {
- fn = 'remove';
- }
- panel.classList[fn]('mm--open');
- panel.parentElement.classList[fn]('mm--open');
- }
- };
- /**
- * Initialize the click event handlers.
- */
- MmenuLight.prototype._initAnchors = function () {
- var _this = this;
- /**
- * Clicking an A in the menu: prevent bubbling up to the LI, UL or menu.
- *
- * @param {MouseEvent} evnt The event.
- * @return {boolean} handled Whether or not the event was handled.
- */
- var clickAnchor = function (evnt) {
- /** The clicked element */
- var target = evnt.target;
- if (target.matches('a')) {
- evnt.stopImmediatePropagation();
- return true;
- }
- return false;
- };
- /**
- * Click a LI or SPAN in the menu: open its submenu (if present).
- *
- * @param {MouseEvent} evnt The event.
- * @return {boolean} Whether or not the event was handled.
- */
- var openSubmenu = function (evnt) {
- /** The clicked element */
- var target = evnt.target;
- /** Parent listitem for the submenu. */
- var listitem;
- // Find the parent listitem.
- if (target.closest('span')) {
- listitem = target.parentElement;
- }
- else if (target.closest('li')) {
- listitem = target;
- }
- else {
- listitem = false;
- }
- if (listitem) {
- Object(_helpers__WEBPACK_IMPORTED_MODULE_4__["r"])(listitem.children).forEach(function (panel) {
- if (panel.matches('ul')) {
- _this.togglePanel(panel);
- }
- });
- evnt.stopImmediatePropagation();
- return true;
- }
- return false;
- };
- /**
- * Click the menu: close the last opened submenu.
- *
- * @param {MouseEvent} evnt The event.
- * @return {boolean} Whether or not the event was handled.
- */
- var closeSubmenu = function (evnt) {
- /** The clicked element */
- var target = evnt.target;
- if (target.matches('.mm')) {
- var panels = Object(_helpers__WEBPACK_IMPORTED_MODULE_4__["$"])('.mm--open', target);
- var panel = panels[panels.length - 1];
- if (panel) {
- var parent_1 = panel.parentElement.closest('ul');
- if (parent_1) {
- _this.openPanel(parent_1);
- }
- }
- evnt.stopImmediatePropagation();
- return true;
- }
- return false;
- };
- this.menu.addEventListener('click', function (evnt) {
- // Don't proceed if the menu isn't enabled at the moment.
- if (!_this.menu.matches('.mm')) {
- return;
- }
- var handled = false;
- handled = handled || clickAnchor(evnt);
- handled = handled || openSubmenu(evnt);
- handled = handled || closeSubmenu(evnt);
- });
- };
- /** Plugin version. */
- MmenuLight.version = _version__WEBPACK_IMPORTED_MODULE_0__["default"];
- /** Default options for menus. */
- MmenuLight.options = _options__WEBPACK_IMPORTED_MODULE_2__["core"];
- /** Default off-canvas options for menus. */
- MmenuLight.optionsOffcanvas = _options__WEBPACK_IMPORTED_MODULE_2__["offcanvas"];
- return MmenuLight;
-}());
-/* harmony default export */ __webpack_exports__["default"] = (MmenuLight);
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/bin/js/mmlight.offcanvas.js":
-/*!**************************************************************!*\
- !*** ./node_modules/mmenu-light/bin/js/mmlight.offcanvas.js ***!
- \**************************************************************/
-/*! exports provided: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony import */ var _mmlight__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mmlight */ "./node_modules/mmenu-light/bin/js/mmlight.js");
-/* harmony import */ var _support__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_support */ "./node_modules/mmenu-light/bin/js/_support.js");
-
-
-var _initAnchors = function () {
- var _this = this;
- /**
- * Click outside the menu: close the menu.
- *
- * @param {MouseEvent} evnt The event.
- * @return {boolean} Whether or not the event was handled.
- */
- var closeMenu = function (evnt) {
- // Don't proceed if the menu isn't enabled at the moment.
- if (!_this.menu.matches('.mm')) {
- return false;
- }
- // Don't proceed if the menu isn't opened at the moment.
- if (!_this.menu.matches('.mm--open')) {
- return false;
- }
- _this.close();
- evnt.preventDefault();
- evnt.stopImmediatePropagation();
- return true;
- };
- this.blocker.addEventListener(_support__WEBPACK_IMPORTED_MODULE_1__["touch"] ? 'touchstart' : 'mousedown', closeMenu);
-};
-/**
- * Open the menu.
- */
-_mmlight__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.open = function () {
- if (this.menu.matches('.mm')) {
- this.menu.classList.add('mm--open');
- document.body.classList.add('mm-body--open');
- if (this.blocker) {
- this.blocker.classList.add('mm--open');
- }
- // Dispatch the event.
- this.menu.dispatchEvent(new Event('mm:open'));
- }
-};
-/**
- * Close the menu.
- */
-_mmlight__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.close = function () {
- this.menu.classList.remove('mm--open');
- document.body.classList.remove('mm-body--open');
- if (this.blocker) {
- this.blocker.classList.remove('mm--open');
- }
- // Dispatch the event.
- this.menu.dispatchEvent(new Event('mm:close'));
-};
-/**
- * Make the menu off-canvas.
- *
- * @param {object} [opts] Off-canvas options for the menu.
- */
-/* harmony default export */ __webpack_exports__["default"] = (function (opts) {
- var _this = this;
- if (opts === void 0) { opts = {}; }
- var options = {};
- // Extend options with defaults.
- Object.keys(_mmlight__WEBPACK_IMPORTED_MODULE_0__["default"].optionsOffcanvas).forEach(function (key) {
- options[key] =
- typeof opts[key] != 'undefined'
- ? opts[key]
- : _mmlight__WEBPACK_IMPORTED_MODULE_0__["default"].optionsOffcanvas[key];
- });
- // Add off-canvas styles and behavior.
- this.menu.classList.add('mm--offcanvas');
- // Close menu when disabled.
- this.toggler.add(function () { }, function () {
- _this.close();
- });
- // Position: right
- if (options.position == 'right') {
- this.menu.classList.add('mm--right');
- }
- // Move the menu to the <body>.
- if (options.move) {
- /** Original position in the DOM for the menu. */
- var orgPosition_1;
- this.toggler.add(function () {
- // Store original menu position.
- orgPosition_1 = document.createComment('original menu location');
- _this.menu.after(orgPosition_1);
- // Move the menu to the <body>.
- document.body.append(_this.menu);
- }, function () {
- if (orgPosition_1) {
- // Move the menu back to where it came from.
- orgPosition_1.replaceWith(_this.menu);
- }
- });
- }
- // Block the page while the menu is open.
- if (options.blockPage) {
- this.blocker = document.createElement('div');
- this.blocker.classList.add('mm-blocker');
- // Position: right
- if (options.position == 'right') {
- this.blocker.classList.add('mm--right');
- }
- // Append to the <body>.
- document.body.append(this.blocker);
- // Close the menu when clicking outside it (non-modal).
- if (options.blockPage != 'modal') {
- _initAnchors.call(this);
- }
- this.toggler.add(function () {
- _this.blocker.classList.remove('mm-hidden');
- }, function () {
- _this.blocker.classList.add('mm-hidden');
- });
- }
-});
-
-
-/***/ }),
-
-/***/ "./node_modules/mmenu-light/src/mmenu-light.js":
-/*!*****************************************************!*\
- !*** ./node_modules/mmenu-light/src/mmenu-light.js ***!
- \*****************************************************/
-/*! exports provided: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony import */ var _bin_js_mmlight__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bin/js/mmlight */ "./node_modules/mmenu-light/bin/js/mmlight.js");
-/* harmony import */ var _bin_js_mmlight_offcanvas__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../bin/js/mmlight.offcanvas */ "./node_modules/mmenu-light/bin/js/mmlight.offcanvas.js");
-/*!
- * mmenujs.com/mmenu-light
- *
- * Copyright (c) Fred Heusschen
- * www.frebsite.nl
- *
- * License: CC-BY-4.0
- * http://creativecommons.org/licenses/by/4.0/
- */
-
-// Core
-
-
-// Add-ons
-
-
-_bin_js_mmlight__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.offcanvas = _bin_js_mmlight_offcanvas__WEBPACK_IMPORTED_MODULE_1__["default"];
-
-// Export module
-/* harmony default export */ __webpack_exports__["default"] = (_bin_js_mmlight__WEBPACK_IMPORTED_MODULE_0__["default"]);
-
-// Global namespace
-window.MmenuLight = _bin_js_mmlight__WEBPACK_IMPORTED_MODULE_0__["default"];
-
-
-/***/ }),
-
-/***/ 10:
-/*!*************************!*\
- !*** multi mmenu-light ***!
- \*************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(/*! mmenu-light */"./node_modules/mmenu-light/src/mmenu-light.js");
-
-
-/***/ })
-
-}]);
-//# sourceMappingURL=vendor.js.map
\ No newline at end of file
+++ /dev/null
-/*!
- * mmenujs.com/mmenu-light
- *
- * Copyright (c) Fred Heusschen
- * www.frebsite.nl
- *
- * License: CC-BY-4.0
- * http://creativecommons.org/licenses/by/4.0/
- */
// Burger menu icon + animation
.mobile-menu-trigger
- @apply text-blue
+ color: #1A0707
position: fixed
width: 30px
height: @width