/*! * Datepicker for Bootstrap v1.10.0 (https://github.com/uxsolutions/bootstrap-datepicker) * * Licensed under the Apache License v2.0 (https://www.apache.org/licenses/LICENSE-2.0) */ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}((function(t,e){function i(){return new Date(Date.UTC.apply(Date,arguments))}function a(){var t=new Date;return i(t.getFullYear(),t.getMonth(),t.getDate())}function s(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function n(i,a){return function(){return a!==e&&t.fn.bootstrapDatepicker.deprecated(a),this[i].apply(this,arguments)}}function o(){return document.documentElement.lang||document.lang||"en"}function r(t,e){var i=o(),a=new Date(e,t,1);try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric"}).format(a)}catch(t){return new Intl.DateTimeFormat("en",{month:"long",year:"numeric"}).format(a)}}function h(t){var e=o(),i=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate());try{return new Intl.DateTimeFormat(e,{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(i)}catch(t){return new Intl.DateTimeFormat("en",{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(i)}}var l,d=(l={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),i=0,a=this.length;i]/g)||[]).length<=0||t(i).length>0)}catch(t){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var s=this.o=t.extend({},this._o),n=s.language;v[n]||(n=n.split("-")[0],v[n]||(n=g.language)),s.language=n,s.startView=this._resolveViewName(s.startView),s.minViewMode=this._resolveViewName(s.minViewMode),s.maxViewMode=this._resolveViewName(s.maxViewMode),s.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,s.startView)),!0!==s.multidate&&(s.multidate=Number(s.multidate)||!1,!1!==s.multidate&&(s.multidate=Math.max(0,s.multidate))),s.multidateSeparator=String(s.multidateSeparator),s.weekStart%=7,s.weekEnd=(s.weekStart+6)%7;var o=y.parseFormat(s.format);s.startDate!==-1/0&&(s.startDate?s.startDate instanceof Date?s.startDate=this._local_to_utc(this._zero_time(s.startDate)):s.startDate=y.parseDate(s.startDate,o,s.language,s.assumeNearbyYear):s.startDate=-1/0),s.endDate!==1/0&&(s.endDate?s.endDate instanceof Date?s.endDate=this._local_to_utc(this._zero_time(s.endDate)):s.endDate=y.parseDate(s.endDate,o,s.language,s.assumeNearbyYear):s.endDate=1/0),s.daysOfWeekDisabled=this._resolveDaysOfWeek(s.daysOfWeekDisabled||[]),s.daysOfWeekHighlighted=this._resolveDaysOfWeek(s.daysOfWeekHighlighted||[]),s.datesDisabled=s.datesDisabled||[],Array.isArray(s.datesDisabled)||(s.datesDisabled=s.datesDisabled.split(",")),s.datesDisabled=t.map(s.datesDisabled,(function(t){return y.parseDate(t,o,s.language,s.assumeNearbyYear)}));var r=String(s.orientation).toLowerCase().split(/\s+/g),h=s.orientation.toLowerCase();if(r=t.grep(r,(function(t){return/^auto|left|right|top|bottom$/.test(t)})),s.orientation={x:"auto",y:"auto"},h&&"auto"!==h)if(1===r.length)switch(r[0]){case"top":case"bottom":s.orientation.y=r[0];break;case"left":case"right":s.orientation.x=r[0]}else h=t.grep(r,(function(t){return/^left|right$/.test(t)})),s.orientation.x=h[0]||"auto",h=t.grep(r,(function(t){return/^top|bottom$/.test(t)})),s.orientation.y=h[0]||"auto";else;if(s.defaultViewDate instanceof Date||"string"==typeof s.defaultViewDate)s.defaultViewDate=y.parseDate(s.defaultViewDate,o,s.language,s.assumeNearbyYear);else if(s.defaultViewDate){var l=s.defaultViewDate.year||(new Date).getFullYear(),d=s.defaultViewDate.month||0,u=s.defaultViewDate.day||1;s.defaultViewDate=i(l,d,u)}else s.defaultViewDate=a()},_applyEvents:function(t){for(var i,a,s,n=0;ns?(this.picker.addClass("datepicker-orient-right"),c+=u-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var f=this.o.orientation.y;if("auto"===f&&(f=-n+p-i<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+f),"top"===f?p-=i+parseInt(this.picker.css("padding-top")):p+=d,this.o.rtl){var g=s-(c+u);this.picker.css({top:p,right:g,zIndex:h})}else this.picker.css({top:p,left:c,zIndex:h});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),i=[],a=!1;return arguments.length?(t.each(arguments,t.proxy((function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),i.push(e)}),this)),a=!0):(i=(i=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?i.split(this.o.multidateSeparator):[i],delete this.element.data().date),i=t.map(i,t.proxy((function(t){return y.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)}),this)),i=t.grep(i,t.proxy((function(t){return!this.dateWithinRange(t)||!t}),this),!0),this.dates.replace(i),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),a?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&a&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,i="";for(this.o.calendarWeeks&&(i+=' ');e',i+=''+n+"",e++}i+="",this.picker.find(".datepicker-days thead").append(i)}},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e=this.viewDate.getUTCFullYear(),i='
',a=0;a<12;a++)i+='";i+="
",this.picker.find(".datepicker-months td").html(i)},setRange:function(e){e&&e.length?this.range=t.map(e,(function(t){return t.valueOf()})):delete this.range,this.fill()},getClassNames:function(e){var i=[],n=this.viewDate.getUTCFullYear(),o=this.viewDate.getUTCMonth(),r=a();return e.getUTCFullYear()n||e.getUTCFullYear()===n&&e.getUTCMonth()>o)&&i.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&s(e,r)&&i.push("today"),-1!==this.dates.contains(e)&&i.push("active"),this.dateWithinRange(e)||i.push("disabled"),this.dateIsDisabled(e)&&i.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&i.push("highlighted"),this.range&&(e>this.range[0]&&er)&&l.push("disabled"),k===w&&l.push("focused"),h!==t.noop&&((u=h(new Date(k,0,1)))===e?u={}:"boolean"==typeof u?u={enabled:u}:"string"==typeof u&&(u={classes:u}),!1===u.enabled&&l.push("disabled"),u.classes&&(l=l.concat(u.classes.split(/\s+/))),u.tooltip&&(d=u.tooltip)),p=k,c="year"===(f=a)?String(p):"decade"===f?p+" - "+(p+9):"century"===f?p+" - "+(p+99):String(p);var _=-1!==t.inArray("disabled",l),C=['type="button"','class="'+l.join(" ")+'"','aria-label="'+c+'"'];_&&C.push("disabled"),d&&C.push('title="'+d+'"'),g+=""}g+="",v.find("button.datepicker-switch").text(y+"-"+D),v.find("td").html(g)},fill:function(){var s,n,o=new Date(this.viewDate),r=o.getUTCFullYear(),l=o.getUTCMonth(),d=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,u=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,c=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,p=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,f=v[this.o.language].today||v.en.today||"",g=v[this.o.language].clear||v.en.clear||"",m=v[this.o.language].titleFormat||v.en.titleFormat,D=a(),w=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&D>=this.o.startDate&&D<=this.o.endDate&&!this.weekOfDateIsDisabled(D);if(!isNaN(r)&&!isNaN(l)){this.picker.find(".datepicker-days button.datepicker-switch").text(y.formatDate(o,m,this.o.language)),this.picker.find("tfoot button.today").text(f).closest("tr").css("display",w?"":"none"),this.picker.find("tfoot button.clear").text(g).closest("tr").css("display",!0===this.o.clearBtn?"":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var b=i(r,l,0),k=b.getUTCDate();b.setUTCDate(k-(b.getUTCDay()-this.o.weekStart+7)%7);var _=new Date(b);b.getUTCFullYear()<100&&_.setUTCFullYear(b.getUTCFullYear()),_.setUTCDate(_.getUTCDate()+42),_=_.valueOf();for(var C,T,M=[];b.valueOf()<_;){if((C=b.getUTCDay())===this.o.weekStart&&(M.push(""),this.o.calendarWeeks)){var U=new Date(+b+(this.o.weekStart-C-7)%7*864e5),x=new Date(Number(U)+(11-U.getUTCDay())%7*864e5),A=new Date(Number(A=i(x.getUTCFullYear(),0,1))+(11-A.getUTCDay())%7*864e5),S=(x-A)/864e5/7+1;M.push(''+S+"")}(T=this.getClassNames(b)).push("day");var F=b.getUTCDate();this.o.beforeShowDay!==t.noop&&((n=this.o.beforeShowDay(this._utc_to_local(b)))===e?n={}:"boolean"==typeof n?n={enabled:n}:"string"==typeof n&&(n={classes:n}),!1===n.enabled&&T.push("disabled"),n.classes&&(T=T.concat(n.classes.split(/\s+/))),n.tooltip&&(s=n.tooltip),n.content&&(F=n.content)),T="function"==typeof t.uniqueSort?t.uniqueSort(T):t.unique(T);var V=-1!==t.inArray("disabled",T),N=-1!==t.inArray("active",T),E=-1!==t.inArray("today",T),O=h(b),Y=['type="button"','class="'+T.join(" ")+'"','data-date="'+b.getTime().toString()+'"','aria-label="'+O+'"'];V&&Y.push("disabled"),N&&Y.push('aria-selected="true"'),E&&Y.push('aria-current="date"'),s&&Y.push('title="'+s+'"'),M.push(""),s=null,C===this.o.weekEnd&&M.push(""),b.setUTCDate(b.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(M.join(""));var W=v[this.o.language].monthsTitle||v.en.monthsTitle||"Months",I=this.picker.find(".datepicker-months").find("button.datepicker-switch").text(this.o.maxViewMode<2?W:r).end().find("tbody .month").removeClass("active");if(t.each(this.dates,(function(t,e){e.getUTCFullYear()===r&&I.eq(e.getUTCMonth()).addClass("active")})),(rc)&&I.addClass("disabled").prop("disabled",!0),r===d&&I.slice(0,u).addClass("disabled").prop("disabled",!0),r===c&&I.slice(p+1).addClass("disabled").prop("disabled",!0),this.o.beforeShowMonth!==t.noop){var z=this;t.each(I,(function(i,a){var s=new Date(r,i,1),n=z.o.beforeShowMonth(s);n===e?n={}:"boolean"==typeof n?n={enabled:n}:"string"==typeof n&&(n={classes:n}),!1!==n.enabled||t(a).hasClass("disabled")||t(a).addClass("disabled").prop("disabled",!0),n.classes&&t(a).addClass(n.classes),n.tooltip&&t(a).prop("title",n.tooltip)}))}if(this._fill_yearsView(".datepicker-years","year",10,r,d,c,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,r,d,c,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,r,d,c,this.o.beforeShowCentury),this.picker.is(":visible")){var P=y.formatDate(o,m,this.o.language);this._announce(P)}}},updateNavArrows:function(){if(this._allow_update){var t,e,i=new Date(this.viewDate),a=i.getUTCFullYear(),s=i.getUTCMonth(),n=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,o=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,r=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,l=1;switch(this.viewMode){case 4:l*=10;case 3:l*=10;case 2:l*=10;case 1:t=Math.floor(a/l)*l<=n,e=Math.floor(a/l)*l+l>r;break;case 0:t=a<=n&&s<=o,e=a>=r&&s>=h}this.picker.find("button.prev").toggleClass("disabled",t).prop("disabled",t),this.picker.find("button.next").toggleClass("disabled",e).prop("disabled",e)}},click:function(e){var s,n,o,r;e.preventDefault(),e.stopPropagation();var h=(s=t(e.target)).closest("button.prev, button.next");if(h.length){if(h.hasClass("disabled")||h.prop("disabled"))return;return n=h.hasClass("prev")?-1:1,0!==this.viewMode&&(n*=12*y.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,n),this._trigger(y.viewModes[this.viewMode].e,this.viewDate),this.fill(),void this._focusNavButton(h.hasClass("prev")?"prev":"next")}s.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&(this.setViewMode(this.viewMode+1),this._focusActiveElement()),s.hasClass("today")&&!s.hasClass("day")&&(this.setViewMode(0),this._setDate(a(),"linked"===this.o.todayBtn?null:"view")),s.hasClass("clear")&&this.clearDates(),s.hasClass("disabled")||s.prop("disabled")||(s.hasClass("month")||s.hasClass("year")||s.hasClass("decade")||s.hasClass("century"))&&(this.viewDate.setUTCDate(1),1===this.viewMode?(r=s.parent().find(".month").index(s),o=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(r)):(r=0,o=Number(s.text()),this.viewDate.setUTCFullYear(o)),this._trigger(y.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(i(o,r,1)):(this.setViewMode(this.viewMode-1),this.fill(),this._focusActiveElement())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){var i=t(e.currentTarget).data("date"),a=new Date(i);this.o.updateViewDate&&(a.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),a.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(a)},navArrowsClick:function(e){var i=t(e.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(i*=12*y.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,i),this._trigger(y.viewModes[this.viewMode].e,this.viewDate),this.fill(),this._focusNavButton(-1===i?"prev":"next")},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):!1===this.o.multidate?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),(!e&&this.o.updateViewDate||"view"===e)&&(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!(i=t)||isNaN(i.getTime()))return this.o.defaultViewDate;var i;if(!e)return t;var a,s,n=new Date(t.valueOf()),o=n.getUTCDate(),r=n.getUTCMonth(),h=Math.abs(e);if(e=e>0?1:-1,1===h)s=-1===e?function(){return n.getUTCMonth()===r}:function(){return n.getUTCMonth()!==a},a=r+e,n.setUTCMonth(a),a=(a+12)%12;else{for(var l=0;l0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(e){if(this.picker.is(":visible")){var i,a,s=!1,n=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):(this.hide(),this._triggerElement&&t(this._triggerElement).trigger("focus")),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;i=37===e.keyCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(a=this.moveAvailableDate(n,i,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(a=this.moveAvailableDate(n,i,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?a=this.moveAvailableDate(n,i,"moveDay"):this.weekOfDateIsDisabled(n)||(a=this.moveAvailableDate(n,i,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(i*=4),a=this.moveAvailableDate(n,i,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(i*=4),a=this.moveAvailableDate(n,i,"moveYear")),a&&(this.focusDate=this.viewDate=a,this.setValue(),this.fill(),this._focusActiveElement(),e.preventDefault());break;case 13:if(!this.o.forceParse)break;n=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(n),s=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose&&this.hide())}s&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation())},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+y.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))},pickerKeydown:function(e){var i=e.key||e.keyCode,a=t(e.target);return!a.is("button")||"Enter"!==i&&13!==i&&" "!==i&&"Space"!==i&&32!==i?"Escape"===i||27===i?(e.preventDefault(),e.stopPropagation(),void(this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):(this.hide(),this._triggerElement&&t(this._triggerElement).trigger("focus")))):void((a.hasClass("day")||a.hasClass("month")||a.hasClass("year")||a.hasClass("decade")||a.hasClass("century"))&&this._handleGridArrowKeys(e,a)):(e.preventDefault(),void a.trigger("click"))},_handleGridArrowKeys:function(e,i){var a=e.keyCode;if(-1!==t.inArray(a,[37,38,39,40])){e.preventDefault();var s,n=i.closest("td").parent().parent().find("button:not([disabled])").filter(":visible"),o=n.index(i),r=i.hasClass("day")?7:4;switch(a){case 37:s=o-1;break;case 38:s=o-r;break;case 39:s=o+1;break;case 40:s=o+r}if(s>=0&&s=0&&s0;)this.pickers[r--].setUTCDate(s);else if(s>this.dates[h])for(;hthis.dates[h]&&(this.pickers[h].element.val()||"").length>0;)this.pickers[h++].setUTCDate(s);this.updateDates(),delete this.updating}}}},destroy:function(){t.map(this.pickers,(function(t){t.destroy()})),t(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:n("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var p=t.fn.bootstrapDatepicker,f=function(i){var a,s=Array.apply(null,arguments);if(s.shift(),this.each((function(){var e=t(this),n=e.data("datepicker"),o="object"==typeof i&&i;if(!n){var r=function(e,i){var a,s=t(e).data(),n={},o=new RegExp("^"+i.toLowerCase()+"([A-Z])");function r(t,e){return e.toLowerCase()}for(var h in i=new RegExp("^"+i.toLowerCase()),s)if(i.test(h)){if("templates"===(a=h.replace(o,r)))continue;n[a]=s[h]}return n}(this,"date"),h=function(e){var i={};if(v[e]||(e=e.split("-")[0],v[e])){var a=v[e];return t.each(m,(function(t,e){e in a&&(i[e]=a[e])})),i}}(t.extend({},g,r,o).language),l=t.extend({},g,h,r,o);e.hasClass("input-daterange")||l.inputs?(t.extend(l,{inputs:l.inputs||e.find("input").toArray()}),n=new c(this,l)):n=new u(this,l),e.data("datepicker",n)}"string"==typeof i&&"function"==typeof n[i]&&(a=n[i].apply(n,s))})),a===e||a instanceof u||a instanceof c)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");return a};t.fn.bootstrapDatepicker=f;var g=t.fn.bootstrapDatepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",isInline:null,keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},m=t.fn.bootstrapDatepicker.locale_opts=["format","rtl","weekStart"];t.fn.bootstrapDatepicker.Constructor=u;var v=t.fn.bootstrapDatepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},y={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),i=t.match(this.validParts);if(!e||!e.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:e,parts:i}},parseDate:function(i,s,n,o){if(!i)return e;if(i instanceof Date)return i;if("string"==typeof s&&(s=y.parseFormat(s)),s.toValue)return s.toValue(i,s,n);var r,h,l,d,c,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},f={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(i in f&&(i=f[i]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(i)){for(r=i.match(/([\-+]\d+)([dmwy])/gi),i=new Date,d=0;d(new Date).getFullYear()+a&&(i-=100),i):e);var i,a},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};b.yy=b.yyyy,b.M=b.MM=b.mm=b.m,b.dd=b.d,i=a();var k=s.parts.slice();function _(){var t=this.slice(0,r[d].length),e=r[d].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(r.length!==k.length&&(k=t(k).filter((function(e,i){return-1!==t.inArray(i,w)})).toArray()),r.length===k.length){var C,T,M;for(d=0,C=k.length;d",contTemplate:'',footTemplate:''};y.template='
'+y.headTemplate+""+y.footTemplate+'
'+y.headTemplate+y.contTemplate+y.footTemplate+'
'+y.headTemplate+y.contTemplate+y.footTemplate+'
'+y.headTemplate+y.contTemplate+y.footTemplate+'
'+y.headTemplate+y.contTemplate+y.footTemplate+"
",t.fn.bootstrapDatepicker.DPGlobal=y,t.fn.bootstrapDatepicker.noConflict=function(){return t.fn.bootstrapDatepicker=p,this},t.fn.bootstrapDatepicker.version="1.7.0",t.fn.bootstrapDatepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',(function(e){var i=t(this);i.data("datepicker")||(e.preventDefault(),f.call(i,"show"))})),t((function(){f.call(t('[data-provide="datepicker-inline"]'))}))}));; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.viewport={},function(e,t){"use strict";const n=e(window),i=e(document);t.options={MOBILE_BREAKPOINT:tribe.events.views.breakpoints.breakpoints.medium||768},t.setViewport=function(e){let n=e.data("tribeEventsState");n||(n={}),n.isMobile=e.outerWidth()v.top&&i.scrollTop(v.top)},t.ready=function(){n.on("afterAjaxSuccess.tribeEvents",tribe.events.views.manager.selectors.container,t.scrollUp)},e(t.ready)}(jQuery,tribe.events.views.navigationScroll),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.navigationScroll={};; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.multidayEvents={},function(e,t){"use strict";const n=e(document);t.selectors={},t.selectorPrefixes={month:".tribe-events-calendar-month__"},t.selectorSuffixes={multidayEvent:"multiday-event",hiddenMultidayEvent:"multiday-event-hidden",multidayEventBarInner:"multiday-event-bar-inner",multidayEventBarInnerFocus:"multiday-event-bar-inner--focus",multidayEventBarInnerHover:"multiday-event-bar-inner--hover"},t.findVisibleMultidayEvents=function(e,n){const i=n.closest(t.selectors.multidayEvent).data("event-id");return e.find(t.selectors.multidayEvent+"[data-event-id="+i+"]")},t.toggleHoverClass=function(e){e.data.target.toggleClass(t.selectors.multidayEventBarInnerHover.className())},t.toggleFocusClass=function(e){e.data.target.toggleClass(t.selectors.multidayEventBarInnerFocus.className())},t.unbindMultidayEvents=function(n){n.find(t.selectors.hiddenMultidayEvent).each((function(t,n){e(n).off()}))},t.bindMultidayEvents=function(n){n.find(t.selectors.hiddenMultidayEvent).each((function(i,s){const o=e(s);t.findVisibleMultidayEvents(n,o).each((function(n,i){const s=e(i).find(t.selectors.multidayEventBarInner);o.on("mouseenter mouseleave",{target:s},t.toggleHoverClass).on("focus blur",{target:s},t.toggleFocusClass)}))}))},t.deinitSelectors=function(){t.selectors={}},t.initSelectors=function(e){const n=t.selectorPrefixes[e];Object.keys(t.selectorSuffixes).forEach((function(e){t.selectors[e]=n+t.selectorSuffixes[e]}))},t.unbindEvents=function(e,n,i){const s=e.data.container;t.deinitSelectors(),t.unbindMultidayEvents(s),s.off("beforeAjaxSuccess.tribeEvents",t.unbindEvents)},t.bindEvents=function(e,n){const i=n.slug;-1!==e.data("tribeEventsMultidayEventsAllowedViews").indexOf(i)&&(t.initSelectors(i),t.bindMultidayEvents(e),e.on("beforeAjaxSuccess.tribeEvents",{container:e},t.unbindEvents))},t.initAllowedViews=function(e){e.trigger("beforeMultidayEventsInitAllowedViews.tribeEvents",[e]),e.data("tribeEventsMultidayEventsAllowedViews",["month"]),e.trigger("afterMultidayEventsInitAllowedViews.tribeEvents",[e])},t.init=function(e,n,i,s){t.initAllowedViews(i),t.bindEvents(i,s)},t.ready=function(){n.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.multidayEvents),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.multidayEvents={};; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.monthMobileEvents={},function(e,t){"use strict";const n=e(document);t.selectors={calendar:'[data-js="tribe-events-month-grid"]',calendarDay:'[data-js="tribe-events-calendar-month-day-cell-mobile"]',calendarDaySelectedClass:".tribe-events-calendar-month__day-cell--selected",mobileEvents:'[data-js="tribe-events-calendar-month-mobile-events"]',mobileEventsMobileDayShowClass:".tribe-events-calendar-month-mobile-events__mobile-day--show",mobileEventsDefaultNotices:".tribe-events-header__messages--mobile:not(.tribe-events-header__messages--day)"},t.closeAllEvents=function(n){n.find(t.selectors.calendarDay).each((function(s,i){const a=e(i),o=a.attr("aria-controls");let l=e("");o&&(l=n.find("#"+o),tribe.events.views.accordion.closeAccordion(a,l)),t.closeMobileEvents(a,l)}))},t.handleMobileDayClick=function(e,n){const s=e.find(t.selectors.mobileEventsDefaultNotices),i=e.find(t.selectors.mobileEventsMobileDayShowClass).length>0;n&&!i?s.removeClass("tribe-common-a11y-hidden"):s.addClass("tribe-common-a11y-hidden")},t.openMobileEvents=function(e,n){e.attr("aria-controls")&&tribe.events.views.accordion.openAccordion(e,n),e.addClass(t.selectors.calendarDaySelectedClass.className()),n.addClass(t.selectors.mobileEventsMobileDayShowClass.className()),t.focusPanel(n),t.setupTabExit(e,n)},t.closeMobileEvents=function(e,n){e.attr("aria-controls")&&tribe.events.views.accordion.closeAccordion(e,n),e.removeClass(t.selectors.calendarDaySelectedClass.className()),n.removeClass(t.selectors.mobileEventsMobileDayShowClass.className()),n.find("*").off("keydown.tribeEvents")},t.toggleMobileEvents=function(n){const s=n.data.container,i=e(n.data.target),a=i.attr("aria-controls");let o=e("");a&&(o=s.find("#"+a)),i.hasClass(t.selectors.calendarDaySelectedClass.className())?(t.closeMobileEvents(i,o),t.handleMobileDayClick(s,!0)):(t.closeAllEvents(s),t.handleMobileDayClick(s,!1),t.openMobileEvents(i,o))},t.unbindCalendarEvents=function(n){n.find(t.selectors.calendar).find(t.selectors.calendarDay).each((function(n,s){e(s).off("click",t.toggleMobileEvents)}))},t.bindCalendarEvents=function(n){const s=n.find(t.selectors.calendar);s.find(t.selectors.calendarDay).each((function(i,a){e(a).on("click",{target:a,container:n,calendar:s},t.toggleMobileEvents)}))},t.initState=function(e){const n=e.find(t.selectors.mobileEvents),s={desktopInitialized:!e.data("tribeEventsState").isMobile};n.data("tribeEventsState",s)},t.handleResize=function(e){const n=e.data.container,s=n.find(t.selectors.mobileEvents),i=s.data("tribeEventsState");n.data("tribeEventsState").isMobile?(t.handleMobileDayClick(n,!0),i.desktopInitialized&&(i.desktopInitialized=!1)):i.desktopInitialized||(t.closeAllEvents(n),i.desktopInitialized=!0),s.data("tribeEventsState",i)},t.focusPanel=function(e){e.length&&(e.attr("tabindex")||e.attr("tabindex","-1"),requestAnimationFrame((function(){try{e[0].focus({preventScroll:!0})}catch(t){e.trigger("focus")}e[0]&&e[0].scrollIntoView&&e[0].scrollIntoView({behavior:"smooth",block:"start"})})))},t.focusNextDay=function(e){const n=e.closest(t.selectors.calendar).find(t.selectors.calendarDay),s=n.index(e),i=n.eq(s+1);i.length?i.focus():document.activeElement.blur()},t.setupTabExit=function(n,s){const i=s.find('a, button, [tabindex]:not([tabindex="-1"])');(i.length?e(i.get(i.length-1)):s).off("keydown.tribeEvents").on("keydown.tribeEvents",(function(e){"Tab"!==e.key||e.shiftKey||(e.preventDefault(),t.focusNextDay(n))}))},t.deinit=function(e,n,s){const i=e.data.container;t.unbindCalendarEvents(i),i.off("resize.tribeEvents",t.handleResize).off("beforeAjaxSuccess.tribeEvents",t.deinit)},t.init=function(e,n,s,i){s.find(t.selectors.mobileEvents).length&&(t.handleMobileDayClick(s,!0),t.initState(s),t.bindCalendarEvents(s),s.on("resize.tribeEvents",{container:s},t.handleResize).on("beforeAjaxSuccess.tribeEvents",{container:s},t.deinit))},t.ready=function(){n.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.monthMobileEvents),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.monthMobileEvents={};; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.monthGrid={},function(e,t){"use strict";const n=e(document);t.selectors={grid:'[data-js="tribe-events-month-grid"]',row:'[data-js="tribe-events-month-grid-row"]',cell:'[data-js="tribe-events-month-grid-cell"]',focusable:"[tabindex]",focused:'[tabindex="0"]'},t.keyCode={END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},t.isValidCell=function(e,t,n){return!isNaN(t)&&!isNaN(n)&&t>=0&&n>=0&&e&&e.length&&t0?e=c.__plugins[d]:a.each(c.__plugins,function(a,b){return b.name.substring(b.name.length-d.length-1)=="."+d?(e=b,!1):void 0}),e}if(b.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return c.__plugins[b.name]=b,b.core&&c.__bridge(b.core,c,b.name),this},_trigger:function(){var a=Array.prototype.slice.apply(arguments);return"string"==typeof a[0]&&(a[0]={type:a[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,a),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,a),this},instances:function(b){var c=[],d=b||".tooltipstered";return a(d).each(function(){var b=a(this),d=b.data("tooltipster-ns");d&&a.each(d,function(a,d){c.push(b.data(d))})}),c},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(b){var c=b?b+" ":"";return a(c+".tooltipstered").toArray()},setDefaults:function(b){return a.extend(f,b),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.tooltipster=new i,a.Tooltipster=function(b,c){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(b,c)},a.Tooltipster.prototype={__init:function(b,c){var d=this;if(d._$origin=a(b),d.__options=a.extend(!0,{},f,c),d.__optionsFormat(),!h.IE||h.IE>=d.__options.IEmin){var e=null;if(void 0===d._$origin.data("tooltipster-initialTitle")&&(e=d._$origin.attr("title"),void 0===e&&(e=null),d._$origin.data("tooltipster-initialTitle",e)),null!==d.__options.content)d.__contentSet(d.__options.content);else{var g,i=d._$origin.attr("data-tooltip-content");i&&(g=a(i)),g&&g[0]?d.__contentSet(g.first()):d.__contentSet(e)}d._$origin.removeAttr("title").addClass("tooltipstered"),d.__prepareOrigin(),d.__prepareGC(),a.each(d.__options.plugins,function(a,b){d._plug(b)}),h.hasTouchCapability&&a(h.window.document.body).on("touchmove."+d.__namespace+"-triggerOpen",function(a){d._touchRecordEvent(a)}),d._on("created",function(){d.__prepareTooltip()})._on("repositioned",function(a){d.__lastPosition=a.position})}else d.__options.disabled=!0},__contentInsert:function(){var a=this,b=a._$tooltip.find(".tooltipster-content"),c=a.__Content,d=function(a){c=a};return a._trigger({type:"format",content:a.__Content,format:d}),a.__options.functionFormat&&(c=a.__options.functionFormat.call(a,a,{origin:a._$origin[0]},a.__Content)),"string"!=typeof c||a.__options.contentAsHTML?b.empty().append(c):b.text(c),a},__contentSet:function(b){return b instanceof a&&this.__options.contentCloning&&(b=b.clone(!0)),this.__Content=b,this._trigger({type:"updated",content:b}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var b=this,c=b._$origin,d=b._$origin.is("area");if(d){var e=b._$origin.parent().attr("name");c=a('img[usemap="#'+e+'"]')}var f=c[0].getBoundingClientRect(),g=a(h.window.document),i=a(h.window),j=c,k={available:{document:null,window:null},document:{size:{height:g.height(),width:g.width()}},window:{scroll:{left:h.window.scrollX||h.window.document.documentElement.scrollLeft,top:h.window.scrollY||h.window.document.documentElement.scrollTop},size:{height:i.height(),width:i.width()}},origin:{fixedLineage:!1,offset:{},size:{height:f.bottom-f.top,width:f.right-f.left},usemapImage:d?c[0]:null,windowOffset:{bottom:f.bottom,left:f.left,right:f.right,top:f.top}}};if(d){var l=b._$origin.attr("shape"),m=b._$origin.attr("coords");if(m&&(m=m.split(","),a.map(m,function(a,b){m[b]=parseInt(a)})),"default"!=l)switch(l){case"circle":var n=m[0],o=m[1],p=m[2],q=o-p,r=n-p;k.origin.size.height=2*p,k.origin.size.width=k.origin.size.height,k.origin.windowOffset.left+=r,k.origin.windowOffset.top+=q;break;case"rect":var s=m[0],t=m[1],u=m[2],v=m[3];k.origin.size.height=v-t,k.origin.size.width=u-s,k.origin.windowOffset.left+=s,k.origin.windowOffset.top+=t;break;case"poly":for(var w=0,x=0,y=0,z=0,A="even",B=0;By&&(y=C,0===B&&(w=y)),w>C&&(w=C),A="odd"):(C>z&&(z=C,1==B&&(x=z)),x>C&&(x=C),A="even")}k.origin.size.height=z-x,k.origin.size.width=y-w,k.origin.windowOffset.left+=w,k.origin.windowOffset.top+=x}}var D=function(a){k.origin.size.height=a.height,k.origin.windowOffset.left=a.left,k.origin.windowOffset.top=a.top,k.origin.size.width=a.width};for(b._trigger({type:"geometry",edit:D,geometry:{height:k.origin.size.height,left:k.origin.windowOffset.left,top:k.origin.windowOffset.top,width:k.origin.size.width}}),k.origin.windowOffset.right=k.origin.windowOffset.left+k.origin.size.width,k.origin.windowOffset.bottom=k.origin.windowOffset.top+k.origin.size.height,k.origin.offset.left=k.origin.windowOffset.left+k.window.scroll.left,k.origin.offset.top=k.origin.windowOffset.top+k.window.scroll.top,k.origin.offset.bottom=k.origin.offset.top+k.origin.size.height,k.origin.offset.right=k.origin.offset.left+k.origin.size.width,k.available.document={bottom:{height:k.document.size.height-k.origin.offset.bottom,width:k.document.size.width},left:{height:k.document.size.height,width:k.origin.offset.left},right:{height:k.document.size.height,width:k.document.size.width-k.origin.offset.right},top:{height:k.origin.offset.top,width:k.document.size.width}},k.available.window={bottom:{height:Math.max(k.window.size.height-Math.max(k.origin.windowOffset.bottom,0),0),width:k.window.size.width},left:{height:k.window.size.height,width:Math.max(k.origin.windowOffset.left,0)},right:{height:k.window.size.height,width:Math.max(k.window.size.width-Math.max(k.origin.windowOffset.right,0),0)},top:{height:Math.max(k.origin.windowOffset.top,0),width:k.window.size.width}};"html"!=j[0].tagName.toLowerCase();){if("fixed"==j.css("position")){k.origin.fixedLineage=!0;break}j=j.parent()}return k},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=a(h.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=a(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var b=this;return b.__options.selfDestruction?b.__garbageCollector=setInterval(function(){var c=(new Date).getTime();b.__touchEvents=a.grep(b.__touchEvents,function(a,b){return c-a.time>6e4}),d(b._$origin)||b.close(function(){b.destroy()})},2e4):clearInterval(b.__garbageCollector),b},__prepareOrigin:function(){var a=this;if(a._$origin.off("."+a.__namespace+"-triggerOpen"),h.hasTouchCapability&&a._$origin.on("touchstart."+a.__namespace+"-triggerOpen touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen",function(b){a._touchRecordEvent(b)}),a.__options.triggerOpen.click||a.__options.triggerOpen.tap&&h.hasTouchCapability){var b="";a.__options.triggerOpen.click&&(b+="click."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.tap&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&a._open(b)})}if(a.__options.triggerOpen.mouseenter||a.__options.triggerOpen.touchstart&&h.hasTouchCapability){var b="";a.__options.triggerOpen.mouseenter&&(b+="mouseenter."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.touchstart&&h.hasTouchCapability&&(b+="touchstart."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){!a._touchIsTouchEvent(b)&&a._touchIsEmulatedEvent(b)||(a.__pointerIsOverOrigin=!0,a._openShortly(b))})}if(a.__options.triggerClose.mouseleave||a.__options.triggerClose.touchleave&&h.hasTouchCapability){var b="";a.__options.triggerClose.mouseleave&&(b+="mouseleave."+a.__namespace+"-triggerOpen "),a.__options.triggerClose.touchleave&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&(a.__pointerIsOverOrigin=!1)})}return a},__prepareTooltip:function(){var b=this,c=b.__options.interactive?"auto":"";return b._$tooltip.attr("id",b.__namespace).css({"pointer-events":c,zIndex:b.__options.zIndex}),a.each(b.__previousThemes,function(a,c){b._$tooltip.removeClass(c)}),a.each(b.__options.theme,function(a,c){b._$tooltip.addClass(c)}),b.__previousThemes=a.merge([],b.__options.theme),b},__scrollHandler:function(b){var c=this;if(c.__options.triggerClose.scroll)c._close(b);else if(d(c._$origin)&&d(c._$tooltip)){var e=null;if(b.target===h.window.document)c.__Geometry.origin.fixedLineage||c.__options.repositionOnScroll&&c.reposition(b);else{e=c.__geometry();var f=!1;if("fixed"!=c._$origin.css("position")&&c.__$originParents.each(function(b,c){var d=a(c),g=d.css("overflow-x"),h=d.css("overflow-y");if("visible"!=g||"visible"!=h){var i=c.getBoundingClientRect();if("visible"!=g&&(e.origin.windowOffset.lefti.right))return f=!0,!1;if("visible"!=h&&(e.origin.windowOffset.topi.bottom))return f=!0,!1}return"fixed"==d.css("position")?!1:void 0}),f)c._$tooltip.css("visibility","hidden");else if(c._$tooltip.css("visibility","visible"),c.__options.repositionOnScroll)c.reposition(b);else{var g=e.origin.offset.left-c.__Geometry.origin.offset.left,i=e.origin.offset.top-c.__Geometry.origin.offset.top;c._$tooltip.css({left:c.__lastPosition.coord.left+g,top:c.__lastPosition.coord.top+i})}}c._trigger({type:"scroll",event:b,geo:e})}return c},__stateSet:function(a){return this.__state=a,this._trigger({type:"state",state:a}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,a.each(this.__timeouts.close,function(a,b){clearTimeout(b)}),this.__timeouts.close=[],this},__trackerStart:function(){var a=this,b=a._$tooltip.find(".tooltipster-content");return a.__options.trackTooltip&&(a.__contentBcr=b[0].getBoundingClientRect()),a.__tracker=setInterval(function(){if(d(a._$origin)&&d(a._$tooltip)){if(a.__options.trackOrigin){var e=a.__geometry(),f=!1;c(e.origin.size,a.__Geometry.origin.size)&&(a.__Geometry.origin.fixedLineage?c(e.origin.windowOffset,a.__Geometry.origin.windowOffset)&&(f=!0):c(e.origin.offset,a.__Geometry.origin.offset)&&(f=!0)),f||(a.__options.triggerClose.mouseleave?a._close():a.reposition())}if(a.__options.trackTooltip){var g=b[0].getBoundingClientRect();g.height===a.__contentBcr.height&&g.width===a.__contentBcr.width||(a.reposition(),a.__contentBcr=g)}}else a._close()},a.__options.trackerInterval),a},_close:function(b,c,d){var e=this,f=!0;if(e._trigger({type:"close",event:b,stop:function(){f=!1}}),f||d){c&&e.__callbacks.close.push(c),e.__callbacks.open=[],e.__timeoutsClear();var g=function(){a.each(e.__callbacks.close,function(a,c){c.call(e,e,{event:b,origin:e._$origin[0]})}),e.__callbacks.close=[]};if("closed"!=e.__state){var i=!0,j=new Date,k=j.getTime(),l=k+e.__options.animationDuration[1];if("disappearing"==e.__state&&l>e.__closingTime&&e.__options.animationDuration[1]>0&&(i=!1),i){e.__closingTime=l,"disappearing"!=e.__state&&e.__stateSet("disappearing");var m=function(){clearInterval(e.__tracker),e._trigger({type:"closing",event:b}),e._$tooltip.off("."+e.__namespace+"-triggerClose").removeClass("tooltipster-dying"),a(h.window).off("."+e.__namespace+"-triggerClose"),e.__$originParents.each(function(b,c){a(c).off("scroll."+e.__namespace+"-triggerClose")}),e.__$originParents=null,a(h.window.document.body).off("."+e.__namespace+"-triggerClose"),e._$origin.off("."+e.__namespace+"-triggerClose"),e._off("dismissable"),e.__stateSet("closed"),e._trigger({type:"after",event:b}),e.__options.functionAfter&&e.__options.functionAfter.call(e,e,{event:b,origin:e._$origin[0]}),g()};h.hasTransitions?(e._$tooltip.css({"-moz-animation-duration":e.__options.animationDuration[1]+"ms","-ms-animation-duration":e.__options.animationDuration[1]+"ms","-o-animation-duration":e.__options.animationDuration[1]+"ms","-webkit-animation-duration":e.__options.animationDuration[1]+"ms","animation-duration":e.__options.animationDuration[1]+"ms","transition-duration":e.__options.animationDuration[1]+"ms"}),e._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),e.__options.animationDuration[1]>0&&e._$tooltip.delay(e.__options.animationDuration[1]),e._$tooltip.queue(m)):e._$tooltip.stop().fadeOut(e.__options.animationDuration[1],m)}}else g()}return e},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(b,c){var e=this;if(!e.__destroying&&d(e._$origin)&&e.__enabled){var f=!0;if("closed"==e.__state&&(e._trigger({type:"before",event:b,stop:function(){f=!1}}),f&&e.__options.functionBefore&&(f=e.__options.functionBefore.call(e,e,{event:b,origin:e._$origin[0]}))),f!==!1&&null!==e.__Content){c&&e.__callbacks.open.push(c),e.__callbacks.close=[],e.__timeoutsClear();var g,i=function(){"stable"!=e.__state&&e.__stateSet("stable"),a.each(e.__callbacks.open,function(a,b){b.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}),e.__callbacks.open=[]};if("closed"!==e.__state)g=0,"disappearing"===e.__state?(e.__stateSet("appearing"),h.hasTransitions?(e._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i)):e._$tooltip.stop().fadeIn(i)):"stable"==e.__state&&i();else{if(e.__stateSet("appearing"),g=e.__options.animationDuration[0],e.__contentInsert(),e.reposition(b,!0),h.hasTransitions?(e._$tooltip.addClass("tooltipster-"+e.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":e.__options.animationDuration[0]+"ms","-ms-animation-duration":e.__options.animationDuration[0]+"ms","-o-animation-duration":e.__options.animationDuration[0]+"ms","-webkit-animation-duration":e.__options.animationDuration[0]+"ms","animation-duration":e.__options.animationDuration[0]+"ms","transition-duration":e.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=e.__state&&(e._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i))},0)):e._$tooltip.css("display","none").fadeIn(e.__options.animationDuration[0],i),e.__trackerStart(),a(h.window).on("resize."+e.__namespace+"-triggerClose",function(b){var c=a(document.activeElement);(c.is("input")||c.is("textarea"))&&a.contains(e._$tooltip[0],c[0])||e.reposition(b)}).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)}),e.__$originParents=e._$origin.parents(),e.__$originParents.each(function(b,c){a(c).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)})}),e.__options.triggerClose.mouseleave||e.__options.triggerClose.touchleave&&h.hasTouchCapability){e._on("dismissable",function(a){a.dismissable?a.delay?(m=setTimeout(function(){e._close(a.event)},a.delay),e.__timeouts.close.push(m)):e._close(a):clearTimeout(m)});var j=e._$origin,k="",l="",m=null;e.__options.interactive&&(j=j.add(e._$tooltip)),e.__options.triggerClose.mouseleave&&(k+="mouseenter."+e.__namespace+"-triggerClose ",l+="mouseleave."+e.__namespace+"-triggerClose "),e.__options.triggerClose.touchleave&&h.hasTouchCapability&&(k+="touchstart."+e.__namespace+"-triggerClose",l+="touchend."+e.__namespace+"-triggerClose touchcancel."+e.__namespace+"-triggerClose"),j.on(l,function(a){if(e._touchIsTouchEvent(a)||!e._touchIsEmulatedEvent(a)){var b="mouseleave"==a.type?e.__options.delay:e.__options.delayTouch;e._trigger({delay:b[1],dismissable:!0,event:a,type:"dismissable"})}}).on(k,function(a){!e._touchIsTouchEvent(a)&&e._touchIsEmulatedEvent(a)||e._trigger({dismissable:!1,event:a,type:"dismissable"})})}e.__options.triggerClose.originClick&&e._$origin.on("click."+e.__namespace+"-triggerClose",function(a){e._touchIsTouchEvent(a)||e._touchIsEmulatedEvent(a)||e._close(a)}),(e.__options.triggerClose.click||e.__options.triggerClose.tap&&h.hasTouchCapability)&&setTimeout(function(){if("closed"!=e.__state){var b="",c=a(h.window.document.body);e.__options.triggerClose.click&&(b+="click."+e.__namespace+"-triggerClose "),e.__options.triggerClose.tap&&h.hasTouchCapability&&(b+="touchend."+e.__namespace+"-triggerClose"),c.on(b,function(b){e._touchIsMeaningfulEvent(b)&&(e._touchRecordEvent(b),e.__options.interactive&&a.contains(e._$tooltip[0],b.target)||e._close(b))}),e.__options.triggerClose.tap&&h.hasTouchCapability&&c.on("touchstart."+e.__namespace+"-triggerClose",function(a){e._touchRecordEvent(a)})}},0),e._trigger("ready"),e.__options.functionReady&&e.__options.functionReady.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}if(e.__options.timer>0){var m=setTimeout(function(){e._close()},e.__options.timer+g);e.__timeouts.close.push(m)}}}return e},_openShortly:function(a){var b=this,c=!0;if("stable"!=b.__state&&"appearing"!=b.__state&&!b.__timeouts.open&&(b._trigger({type:"start",event:a,stop:function(){c=!1}}),c)){var d=0==a.type.indexOf("touch")?b.__options.delayTouch:b.__options.delay;d[0]?b.__timeouts.open=setTimeout(function(){b.__timeouts.open=null,b.__pointerIsOverOrigin&&b._touchIsMeaningfulEvent(a)?(b._trigger("startend"),b._open(a)):b._trigger("startcancel")},d[0]):(b._trigger("startend"),b._open(a))}return b},_optionsExtract:function(b,c){var d=this,e=a.extend(!0,{},c),f=d.__options[b];return f||(f={},a.each(c,function(a,b){var c=d.__options[a];void 0!==c&&(f[a]=c)})),a.each(e,function(b,c){void 0!==f[b]&&("object"!=typeof c||c instanceof Array||null==c||"object"!=typeof f[b]||f[b]instanceof Array||null==f[b]?e[b]=f[b]:a.extend(e[b],f[b]))}),e},_plug:function(b){var c=a.tooltipster._plugin(b);if(!c)throw new Error('The "'+b+'" plugin is not defined');return c.instance&&a.tooltipster.__bridge(c.instance,this,c.name),this},_touchIsEmulatedEvent:function(a){for(var b=!1,c=(new Date).getTime(),d=this.__touchEvents.length-1;d>=0;d--){var e=this.__touchEvents[d];if(!(c-e.time<500))break;e.target===a.target&&(b=!0)}return b},_touchIsMeaningfulEvent:function(a){return this._touchIsTouchEvent(a)&&!this._touchSwiped(a.target)||!this._touchIsTouchEvent(a)&&!this._touchIsEmulatedEvent(a)},_touchIsTouchEvent:function(a){return 0==a.type.indexOf("touch")},_touchRecordEvent:function(a){return this._touchIsTouchEvent(a)&&(a.time=(new Date).getTime(),this.__touchEvents.push(a)),this},_touchSwiped:function(a){for(var b=!1,c=this.__touchEvents.length-1;c>=0;c--){var d=this.__touchEvents[c];if("touchmove"==d.type){b=!0;break}if("touchstart"==d.type&&a===d.target)break}return b},_trigger:function(){var b=Array.prototype.slice.apply(arguments);return"string"==typeof b[0]&&(b[0]={type:b[0]}),b[0].instance=this,b[0].origin=this._$origin?this._$origin[0]:null,b[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,b),a.tooltipster._trigger.apply(a.tooltipster,b),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,b),this},_unplug:function(b){var c=this;if(c[b]){var d=a.tooltipster._plugin(b);d.instance&&a.each(d.instance,function(a,d){c[a]&&c[a].bridged===c[b]&&delete c[a]}),c[b].__destroy&&c[b].__destroy(),delete c[b]}return c},close:function(a){return this.__destroyed?this.__destroyError():this._close(null,a),this},content:function(a){var b=this;if(void 0===a)return b.__Content;if(b.__destroyed)b.__destroyError();else if(b.__contentSet(a),null!==b.__Content){if("closed"!==b.__state&&(b.__contentInsert(),b.reposition(),b.__options.updateAnimation))if(h.hasTransitions){var c=b.__options.updateAnimation;b._$tooltip.addClass("tooltipster-update-"+c),setTimeout(function(){"closed"!=b.__state&&b._$tooltip.removeClass("tooltipster-update-"+c)},1e3)}else b._$tooltip.fadeTo(200,.5,function(){"closed"!=b.__state&&b._$tooltip.fadeTo(200,1)})}else b._close();return b},destroy:function(){var b=this;if(b.__destroyed)b.__destroyError();else{"closed"!=b.__state?b.option("animationDuration",0)._close(null,null,!0):b.__timeoutsClear(),b._trigger("destroy"),b.__destroyed=!0,b._$origin.removeData(b.__namespace).off("."+b.__namespace+"-triggerOpen"),a(h.window.document.body).off("."+b.__namespace+"-triggerOpen");var c=b._$origin.data("tooltipster-ns");if(c)if(1===c.length){var d=null;"previous"==b.__options.restoration?d=b._$origin.data("tooltipster-initialTitle"):"current"==b.__options.restoration&&(d="string"==typeof b.__Content?b.__Content:a("
").append(b.__Content).html()),d&&b._$origin.attr("title",d),b._$origin.removeClass("tooltipstered"),b._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else c=a.grep(c,function(a,c){return a!==b.__namespace}),b._$origin.data("tooltipster-ns",c);b._trigger("destroyed"),b._off(),b.off(),b.__Content=null,b.__$emitterPrivate=null,b.__$emitterPublic=null,b.__options.parent=null,b._$origin=null,b._$tooltip=null,a.tooltipster.__instancesLatestArr=a.grep(a.tooltipster.__instancesLatestArr,function(a,c){return b!==a}),clearInterval(b.__garbageCollector)}return b},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(a){return this.close(a)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(a){return this.__destroyed?this.__destroyError():this._open(null,a),this},option:function(b,c){return void 0===c?this.__options[b]:(this.__destroyed?this.__destroyError():(this.__options[b]=c,this.__optionsFormat(),a.inArray(b,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===b&&this.__prepareGC()),this)},reposition:function(a,b){var c=this;return c.__destroyed?c.__destroyError():"closed"!=c.__state&&d(c._$origin)&&(b||d(c._$tooltip))&&(b||c._$tooltip.detach(),c.__Geometry=c.__geometry(),c._trigger({type:"reposition",event:a,helper:{geo:c.__Geometry}})),c},show:function(a){return this.open(a)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.fn.tooltipster=function(){var b=Array.prototype.slice.apply(arguments),c="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof b[0]){var d="#*$~&";return this.each(function(){var e=a(this).data("tooltipster-ns"),f=e?a(this).data(e[0]):null;if(!f)throw new Error("You called Tooltipster's \""+b[0]+'" method on an uninitialized element');if("function"!=typeof f[b[0]])throw new Error('Unknown method "'+b[0]+'"');this.length>1&&"content"==b[0]&&(b[1]instanceof a||"object"==typeof b[1]&&null!=b[1]&&b[1].tagName)&&!f.__options.contentCloning&&f.__options.debug&&console.log(c);var g=f[b[0]](b[1],b[2]);return g!==f||"instance"===b[0]?(d=g,!1):void 0}),"#*$~&"!==d?d:this}a.tooltipster.__instancesLatestArr=[];var e=b[0]&&void 0!==b[0].multiple,g=e&&b[0].multiple||!e&&f.multiple,h=b[0]&&void 0!==b[0].content,i=h&&b[0].content||!h&&f.content,j=b[0]&&void 0!==b[0].contentCloning,k=j&&b[0].contentCloning||!j&&f.contentCloning,l=b[0]&&void 0!==b[0].debug,m=l&&b[0].debug||!l&&f.debug;return this.length>1&&(i instanceof a||"object"==typeof i&&null!=i&&i.tagName)&&!k&&m&&console.log(c),this.each(function(){var c=!1,d=a(this),e=d.data("tooltipster-ns"),f=null;e?g?c=!0:m&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):c=!0,c&&(f=new a.Tooltipster(this,b[0]),e||(e=[]),e.push(f.__namespace),d.data("tooltipster-ns",e),d.data(f.__namespace,f),f.__options.functionInit&&f.__options.functionInit.call(f,f,{origin:this}),f._trigger("init")),a.tooltipster.__instancesLatestArr.push(f)}),this},b.prototype={__init:function(b){this.__$tooltip=b,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=a('
').append(this.__$tooltip).appendTo(h.window.document.body)},__forceRedraw:function(){var a=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(a)},constrain:function(a,b){return this.constraints={width:a,height:b},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:a}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var a=this.__$tooltip[0].getBoundingClientRect(),b={size:{height:a.height||a.bottom-a.top,width:a.width||a.right-a.left}};if(this.constraints){var c=this.__$tooltip.find(".tooltipster-content"),d=this.__$tooltip.outerHeight(),e=c[0].getBoundingClientRect(),f={height:d<=this.constraints.height,width:a.width<=this.constraints.width&&e.width>=c[0].scrollWidth-1};b.fits=f.height&&f.width}return h.IE&&h.IE<=11&&b.size.width!==h.window.document.documentElement.clientWidth&&(b.size.width=Math.ceil(b.size.width)+1),b}};var j=navigator.userAgent.toLowerCase();-1!=j.indexOf("msie")?h.IE=parseInt(j.split("msie")[1]):-1!==j.toLowerCase().indexOf("trident")&&-1!==j.indexOf(" rv:11")?h.IE=11:-1!=j.toLowerCase().indexOf("edge/")&&(h.IE=parseInt(j.toLowerCase().split("edge/")[1]));var k="tooltipster.sideTip";return a.tooltipster._plugin({name:k,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(a){var b=this;b.__instance=a,b.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),b.__previousState="closed",b.__options,b.__optionsFormat(),b.__instance._on("state."+b.__namespace,function(a){"closed"==a.state?b.__close():"appearing"==a.state&&"closed"==b.__previousState&&b.__create(),b.__previousState=a.state}),b.__instance._on("options."+b.__namespace,function(){b.__optionsFormat()}),b.__instance._on("reposition."+b.__namespace,function(a){b.__reposition(a.event,a.helper)})},__close:function(){this.__instance.content()instanceof a&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var b=a('
');this.__options.arrow||b.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&b.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&b.css("max-width",this.__options.maxWidth+"px"), this.__instance._$tooltip=b,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var b=this;if(b.__options=b.__instance._optionsExtract(k,b.__defaults()),b.__options.position&&(b.__options.side=b.__options.position),"object"!=typeof b.__options.distance&&(b.__options.distance=[b.__options.distance]),b.__options.distance.length<4&&(void 0===b.__options.distance[1]&&(b.__options.distance[1]=b.__options.distance[0]),void 0===b.__options.distance[2]&&(b.__options.distance[2]=b.__options.distance[0]),void 0===b.__options.distance[3]&&(b.__options.distance[3]=b.__options.distance[1]),b.__options.distance={top:b.__options.distance[0],right:b.__options.distance[1],bottom:b.__options.distance[2],left:b.__options.distance[3]}),"string"==typeof b.__options.side){var c={top:"bottom",right:"left",bottom:"top",left:"right"};b.__options.side=[b.__options.side,c[b.__options.side]],"left"==b.__options.side[0]||"right"==b.__options.side[0]?b.__options.side.push("top","bottom"):b.__options.side.push("right","left")}6===a.tooltipster._env.IE&&b.__options.arrow!==!0&&(b.__options.arrow=!1)},__reposition:function(b,c){var d,e=this,f=e.__targetFind(c),g=[];e.__instance._$tooltip.detach();var h=e.__instance._$tooltip.clone(),i=a.tooltipster._getRuler(h),j=!1,k=e.__instance.option("animation");switch(k&&h.removeClass("tooltipster-"+k),a.each(["window","document"],function(d,k){var l=null;if(e.__instance._trigger({container:k,helper:c,satisfied:j,takeTest:function(a){l=a},results:g,type:"positionTest"}),1==l||0!=l&&0==j&&("window"!=k||e.__options.viewportAware))for(var d=0;d=h.outerSize.width&&c.geo.available[k][n].height>=h.outerSize.height?h.fits=!0:h.fits=!1:h.fits=p.fits,"window"==k&&(h.fits?"top"==n||"bottom"==n?h.whole=c.geo.origin.windowOffset.right>=e.__options.minIntersection&&c.geo.window.size.width-c.geo.origin.windowOffset.left>=e.__options.minIntersection:h.whole=c.geo.origin.windowOffset.bottom>=e.__options.minIntersection&&c.geo.window.size.height-c.geo.origin.windowOffset.top>=e.__options.minIntersection:h.whole=!1),g.push(h),h.whole)j=!0;else if("natural"==h.mode&&(h.fits||h.size.width<=c.geo.available[k][n].width))return!1}})}}),e.__instance._trigger({edit:function(a){g=a},event:b,helper:c,results:g,type:"positionTested"}),g.sort(function(a,b){if(a.whole&&!b.whole)return-1;if(!a.whole&&b.whole)return 1;if(a.whole&&b.whole){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}if(a.fits&&!b.fits)return-1;if(!a.fits&&b.fits)return 1;if(a.fits&&b.fits){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}return"document"==a.container&&"bottom"==a.side&&"natural"==a.mode?-1:1}),d=g[0],d.coord={},d.side){case"left":case"right":d.coord.top=Math.floor(d.target-d.size.height/2);break;case"bottom":case"top":d.coord.left=Math.floor(d.target-d.size.width/2)}switch(d.side){case"left":d.coord.left=c.geo.origin.windowOffset.left-d.outerSize.width;break;case"right":d.coord.left=c.geo.origin.windowOffset.right+d.distance.horizontal;break;case"top":d.coord.top=c.geo.origin.windowOffset.top-d.outerSize.height;break;case"bottom":d.coord.top=c.geo.origin.windowOffset.bottom+d.distance.vertical}"window"==d.container?"top"==d.side||"bottom"==d.side?d.coord.left<0?c.geo.origin.windowOffset.right-this.__options.minIntersection>=0?d.coord.left=0:d.coord.left=c.geo.origin.windowOffset.right-this.__options.minIntersection-1:d.coord.left>c.geo.window.size.width-d.size.width&&(c.geo.origin.windowOffset.left+this.__options.minIntersection<=c.geo.window.size.width?d.coord.left=c.geo.window.size.width-d.size.width:d.coord.left=c.geo.origin.windowOffset.left+this.__options.minIntersection+1-d.size.width):d.coord.top<0?c.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?d.coord.top=0:d.coord.top=c.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:d.coord.top>c.geo.window.size.height-d.size.height&&(c.geo.origin.windowOffset.top+this.__options.minIntersection<=c.geo.window.size.height?d.coord.top=c.geo.window.size.height-d.size.height:d.coord.top=c.geo.origin.windowOffset.top+this.__options.minIntersection+1-d.size.height):(d.coord.left>c.geo.window.size.width-d.size.width&&(d.coord.left=c.geo.window.size.width-d.size.width),d.coord.left<0&&(d.coord.left=0)),e.__sideChange(h,d.side),c.tooltipClone=h[0],c.tooltipParent=e.__instance.option("parent").parent[0],c.mode=d.mode,c.whole=d.whole,c.origin=e.__instance._$origin[0],c.tooltip=e.__instance._$tooltip[0],delete d.container,delete d.fits,delete d.mode,delete d.outerSize,delete d.whole,d.distance=d.distance.horizontal||d.distance.vertical;var l=a.extend(!0,{},d);if(e.__instance._trigger({edit:function(a){d=a},event:b,helper:c,position:l,type:"position"}),e.__options.functionPosition){var m=e.__options.functionPosition.call(e,e.__instance,c,l);m&&(d=m)}i.destroy();var n,o;"top"==d.side||"bottom"==d.side?(n={prop:"left",val:d.target-d.coord.left},o=d.size.width-this.__options.minIntersection):(n={prop:"top",val:d.target-d.coord.top},o=d.size.height-this.__options.minIntersection),n.valo&&(n.val=o);var p;p=c.geo.origin.fixedLineage?c.geo.origin.windowOffset:{left:c.geo.origin.windowOffset.left+c.geo.window.scroll.left,top:c.geo.origin.windowOffset.top+c.geo.window.scroll.top},d.coord={left:p.left+(d.coord.left-c.geo.origin.windowOffset.left),top:p.top+(d.coord.top-c.geo.origin.windowOffset.top)},e.__sideChange(e.__instance._$tooltip,d.side),c.geo.origin.fixedLineage?e.__instance._$tooltip.css("position","fixed"):e.__instance._$tooltip.css("position",""),e.__instance._$tooltip.css({left:d.coord.left,top:d.coord.top,height:d.size.height,width:d.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(n.prop,n.val),e.__instance._$tooltip.appendTo(e.__instance.option("parent")),e.__instance._trigger({type:"repositioned",event:b,position:d})},__sideChange:function(a,b){a.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+b)},__targetFind:function(a){var b={},c=this.__instance._$origin[0].getClientRects();if(c.length>1){var d=this.__instance._$origin.css("opacity");1==d&&(this.__instance._$origin.css("opacity",.99),c=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(c.length<2)b.top=Math.floor(a.geo.origin.windowOffset.left+a.geo.origin.size.width/2),b.bottom=b.top,b.left=Math.floor(a.geo.origin.windowOffset.top+a.geo.origin.size.height/2),b.right=b.left;else{var e=c[0];b.top=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil(c.length/2)-1]:c[0],b.right=Math.floor(e.top+(e.bottom-e.top)/2),e=c[c.length-1],b.bottom=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil((c.length+1)/2)-1]:c[c.length-1],b.left=Math.floor(e.top+(e.bottom-e.top)/2)}return b}}}),a});; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.tooltip={},function(e,t){"use strict";const o=e(document);t.config={delayHoverIn:300,delayHoverOut:300},t.selectors={tooltipTrigger:'[data-js~="tribe-events-tooltip"]',tribeEventsTooltipTriggerHoverClass:".tribe-events-tooltip-trigger--hover",tribeEventsTooltipThemeClass:".tribe-events-tooltip-theme",tribeEventsTooltipThemeHoverClass:".tribe-events-tooltip-theme--hover",tribeCommonClass:".tribe-common",tribeEventsClass:".tribe-events"},t.handleOriginFocus=function(e){setTimeout((function(){(e.data.target.is(":focus")||e.data.target.hasClass(t.selectors.tribeEventsTooltipTriggerHoverClass.className()))&&e.data.target.tooltipster("open")}),t.config.delayHoverIn)},t.handleOriginBlur=function(e){e.data.target.tooltipster("close")},t.handleOriginHoverIn=function(e){e.data.target.addClass(t.selectors.tribeEventsTooltipTriggerHoverClass.className())},t.handleOriginHoverOut=function(e){e.data.target.removeClass(t.selectors.tribeEventsTooltipTriggerHoverClass.className())},t.handleTooltipHoverIn=function(e){e.data.target.addClass(t.selectors.tribeEventsTooltipThemeHoverClass.className())},t.handleTooltipHoverOut=function(e){e.data.target.removeClass(t.selectors.tribeEventsTooltipThemeHoverClass.className())},t.isEscapeKey=function(e){return 27===e.keyCode||"Esc"===e.key},t.handleOriginKeydown=function(e){t.isEscapeKey(e)&&(e.data.target.blur(),e.data.target.tooltipster("close"),e.preventDefault())},t.handleInstanceClose=function(o){const n=o.data.origin,i=e(o.tooltip);(n.is(":focus")||n.hasClass(t.selectors.tribeEventsTooltipTriggerHoverClass.className())||i.hasClass(t.selectors.tribeEventsTooltipThemeHoverClass.className()))&&o.stop()},t.handleInstanceClosing=function(o){e(o.tooltip).off("mouseenter touchstart",t.handleTooltipHoverIn).off("mouseleave touchleave",t.handleTooltipHoverOut)},t.onFunctionInit=function(o,n){const i=e(n.origin);i.on("focus",{target:i},t.handleOriginFocus).on("blur",{target:i},t.handleOriginBlur).on("mouseenter touchstart",{target:i},t.handleOriginHoverIn).on("mouseleave touchleave",{target:i},t.handleOriginHoverOut).on("keydown",{target:i},t.handleOriginKeydown),o.on("close",{origin:i},t.handleInstanceClose).on("closing",{origin:i},t.handleInstanceClosing)},t.onFunctionReady=function(o,n){const i=e(n.tooltip);i.on("mouseenter touchstart",{target:i},t.handleTooltipHoverIn).on("mouseleave touchleave",{target:i},t.handleTooltipHoverOut)},t.deinitTooltips=function(o){o.find(t.selectors.tooltipTrigger).each((function(t,o){e(o).off().tooltipster("instance").off()}))},t.initTooltips=function(o){const n=o.data("tribeEventsTooltipTheme");o.find(t.selectors.tooltipTrigger).each((function(o,i){e(i).tooltipster({animationDuration:0,interactive:!0,delay:[t.config.delayHoverIn,t.config.delayHoverOut],delayTouch:[t.config.delayHoverIn,t.config.delayHoverOut],theme:n,functionInit:t.onFunctionInit,functionReady:t.onFunctionReady})}))},t.initTheme=function(e){e.trigger("beforeTooltipInitTheme.tribeEvents",[e]);const o=[t.selectors.tribeEventsTooltipThemeClass.className(),t.selectors.tribeCommonClass.className(),t.selectors.tribeEventsClass.className()];e.data("tribeEventsTooltipTheme",o),e.trigger("afterTooltipInitTheme.tribeEvents",[e])},t.deinit=function(e,o,n){const i=e.data.container;t.deinitTooltips(i),i.off("beforeAjaxSuccess.tribeEvents",t.deinit)},t.init=function(e,o,n,i){t.initTheme(n),t.initTooltips(n),n.on("beforeAjaxSuccess.tribeEvents",{container:n},t.deinit)},t.ready=function(){o.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.tooltip),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.tooltip={};; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.eventsBar={},function(e,t){"use strict";const n=e(document);t.selectors={eventsBar:'[data-js="tribe-events-events-bar"]',searchButton:'[data-js="tribe-events-search-button"]',searchButtonActiveClass:".tribe-events-c-events-bar__search-button--active",searchContainer:'[data-js="tribe-events-search-container"]'},t.keyCode={END:35,HOME:36,LEFT:37,RIGHT:39},t.deinitAccordion=function(e,t){tribe.events.views.accordion.deinitAccordion(0,e),tribe.events.views.accordion.deinitAccordionA11yAttrs(e,t),t.css("display","")},t.initAccordion=function(e,t,n){tribe.events.views.accordion.initAccordion(e)(0,t),tribe.events.views.accordion.initAccordionA11yAttrs(t,n)},t.handleSearchButtonClick=function(e){e.data.target.toggleClass(t.selectors.searchButtonActiveClass.className())},t.deinitSearchAccordion=function(e){const n=e.find(t.selectors.searchButton);n.removeClass(t.selectors.searchButtonActiveClass.className());const i=e.find(t.selectors.searchContainer);t.deinitAccordion(n,i),n.off("click",t.handleSearchButtonClick)},t.initSearchAccordion=function(e){const n=e.find(t.selectors.searchButton),i=e.find(t.selectors.searchContainer);t.initAccordion(e,n,i),n.on("click",{target:n},t.handleSearchButtonClick)},t.initState=function(e){e.find(t.selectors.eventsBar).data("tribeEventsState",{mobileInitialized:!1,desktopInitialized:!1})},t.deinitEventsBar=function(e){t.deinitSearchAccordion(e)},t.initEventsBar=function(e){const n=e.find(t.selectors.eventsBar);if(n.length){const i=n.data("tribeEventsState"),s=e.data("tribeEventsState").isMobile;s&&!i.mobileInitialized?(t.initSearchAccordion(e),i.desktopInitialized=!1,i.mobileInitialized=!0,n.data("tribeEventsState",i)):s||i.desktopInitialized||(t.deinitSearchAccordion(e),i.mobileInitialized=!1,i.desktopInitialized=!0,n.data("tribeEventsState",i))}},t.handleResize=function(e){t.initEventsBar(e.data.container)},t.handleClick=function(n){const i=e(n.target),s=Boolean(i.closest(t.selectors.searchButton).length),o=Boolean(i.closest(t.selectors.searchContainer).length);if(!s&&!o){const e=n.data.container.find(t.selectors.eventsBar),i=e.find(t.selectors.searchButton);if(i.hasClass(t.selectors.searchButtonActiveClass.className())){const n=e.find(t.selectors.searchContainer);i.removeClass(t.selectors.searchButtonActiveClass.className()),tribe.events.views.accordion.closeAccordion(i,n)}}},t.unbindEvents=function(e){e.off("resize.tribeEvents",t.handleResize),n.off("click",t.handleClick)},t.bindEvents=function(e){e.on("resize.tribeEvents",{container:e},t.handleResize),n.on("click",{container:e},t.handleClick)},t.deinit=function(e,n,i){const s=e.data.container;t.deinitEventsBar(s),t.unbindEvents(s),s.off("beforeAjaxSuccess.tribeEvents",t.deinit)},t.init=function(e,n,i,s){i.find(t.selectors.eventsBar).length&&(t.initState(i),t.initEventsBar(i),t.bindEvents(i),i.on("beforeAjaxSuccess.tribeEvents",{container:i},t.deinit))},t.ready=function(){n.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready),t.viewSelector={container:'[data-js="tribe-events-view-selector"]',button:'[data-js="tribe-events-view-selector-button"]',listContainer:'[data-js="tribe-events-view-selector-list-container"]',activeClass:"tribe-events-c-view-selector__button--active",ariaExpanded:"aria-expanded"},t.closeViewSelector=function(e){const n=e.find(t.viewSelector.button),i=e.find(t.viewSelector.listContainer);n.removeClass(t.viewSelector.activeClass),n.attr(t.viewSelector.ariaExpanded,"false"),i.hide().attr("aria-hidden","true")},t.openViewSelector=function(e){const n=e.find(t.viewSelector.button),i=e.find(t.viewSelector.listContainer);n.addClass(t.viewSelector.activeClass),n.attr(t.viewSelector.ariaExpanded,"true"),i.show().attr("aria-hidden","false")},t.initViewSelectorA11y=function(){const n=e(t.viewSelector.container);if(!n.length)return;const i=n.find(t.viewSelector.button),s=n.find(t.viewSelector.listContainer);n.on("keydown",(function(e){"Escape"!==e.key&&27!==e.keyCode||(t.closeViewSelector(n),i.focus())})),s.on("focusout",(function(e){setTimeout((function(){const e=document.activeElement;s[0].contains(e)||e===i[0]||t.closeViewSelector(n)}),10)})),s.on("keydown",(function(e){if("Tab"===e.key||9===e.keyCode){const i=s.find("a:visible"),o=i[0],c=i[i.length-1];e.shiftKey||document.activeElement!==c||t.closeViewSelector(n),e.shiftKey&&document.activeElement===o&&t.closeViewSelector(n)}}))},e(t.initViewSelectorA11y)}(jQuery,tribe.events.views.eventsBar),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.eventsBar={};; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.eventsBarInputs={},function(e,n){"use strict";const t=e(document);n.selectors={input:'[data-js="tribe-events-events-bar-input-control-input"]',inputWrapper:'[data-js="tribe-events-events-bar-input-control"]'},n.handleInputChange=function(e){const n=e.data.target;e.data.wrapper.toggleClass(e.data.inputClassFocus,""!==n.val().trim())},n.unbindInputEvents=function(t){t.find(n.selectors.inputWrapper).each((function(t,s){const i=e(s).find(n.selectors.input);i.length&&i.off()}))},n.bindInputEvents=function(t){t.find(n.selectors.inputWrapper).each((function(t,s){const i=s.className.match(/tribe-events-c-search__input-control--[a-z]+/);if(!i)return;const r=i[0]+"-focus",a=e(s),c=a.find(n.selectors.input);c.length&&(a.toggleClass(r,""!==c.val().trim()),c.on("change",{target:c,wrapper:a,inputClassFocus:r},n.handleInputChange))}))},n.unbindEvents=function(e,t,s){const i=e.data.container;n.unbindInputEvents(i),i.off("beforeAjaxSuccess.tribeEvents",n.unbindEvents)},n.bindEvents=function(e,t,s,i){s.find(n.selectors.inputWrapper).length&&(n.bindInputEvents(s),s.on("beforeAjaxSuccess.tribeEvents",{container:s},n.unbindEvents))},n.ready=function(){t.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,n.bindEvents)},e(n.ready)}(jQuery,tribe.events.views.eventsBarInputs),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.eventsBarInputs={};; tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.datepicker={},function(e,t){"use strict";const a=e(document);t.selectors={datepickerFormClass:".tribe-events-c-top-bar__datepicker-form",datepickerContainer:'[data-js="tribe-events-top-bar-datepicker-container"]',datepickerDaysBody:".datepicker-days tbody",input:'[data-js="tribe-events-top-bar-date"]',button:'[data-js="tribe-events-top-bar-datepicker-button"]',buttonOpenClass:".tribe-events-c-top-bar__datepicker-button--open",dateInput:'[name="tribe-events-views[tribe-bar-date]"]',prevIconTemplate:".tribe-events-c-top-bar__datepicker-template-prev-icon",nextIconTemplate:".tribe-events-c-top-bar__datepicker-template-next-icon"},t.state={initialized:!1},t.options={container:null,daysOfWeekDisabled:[],maxViewMode:"decade",minViewMode:"month",orientation:"bottom left",showOnFocus:!1,templates:{leftArrow:"",rightArrow:""}},t.keyCode={ENTER:13},t.today=null,t.dateFormatMap={d:"dd",j:"d",m:"mm",n:"m",Y:"yyyy"},t.observer=null,t.padNumber=function(e){const t=e+"";return(t.length>1?"":"0")+t},t.request=function(e,t){const a={view_data:e};tribe.events.views.manager.request(a,t)},t.createDateInputObj=function(t){const a=e("");return a.attr({type:"hidden",name:"tribe-events-views[tribe-bar-date]",value:t}),a},t.submitRequest=function(e,a){const n={};n["tribe-bar-date"]=a,t.request(n,e)},t.handleChangeDate=function(e){const a=e.data.container,n=e.date.getDate(),o=e.date.getMonth()+1,r=e.date.getFullYear(),i=t.padNumber(n),s=[r,t.padNumber(o),i].join("-");t.submitRequest(a,s)},t.handleChangeMonth=function(e){const a=e.data.container;let n,o;if(e.date)n=e.date.getMonth()+1,o=e.date.getFullYear();else{const e=a.find(t.selectors.input).bootstrapDatepicker("getDate");n=e.getMonth()+1,o=e.getFullYear()}const r=[o,t.padNumber(n)].join("-");t.submitRequest(a,r)},t.handleKeyDown=function(e){e.keyCode===t.keyCode.ENTER&&e.data.input.bootstrapDatepicker().trigger("changeMonth")},t.handleShow=function(e){e.data.datepickerButton.addClass(t.selectors.buttonOpenClass.className())},t.handleHide=function(e){const a=e.data.datepickerButton,n=a.data("tribeEventsState");e.data.observer.disconnect(),n.isTarget?e.data.input.bootstrapDatepicker("show"):a.removeClass(t.selectors.buttonOpenClass.className()).trigger("focus")},t.handleMousedown=function(e){const a=e.data.target,n=a.data("tribeEventsState");if("touchstart"===e.type){const e="hide"==(a.hasClass(t.selectors.buttonOpenClass.className())?"hide":"show");return n.isTarget=!1,void a.data("tribeTapHide",e).data("tribeEventsState",n).off("mousedown",t.handleMousedown)}n.isTarget=!0,a.data("tribeEventsState",n)},t.handleClick=function(e){const a=e.data.input,n=e.data.target,o=n.data("tribeEventsState"),r=n.hasClass(t.selectors.buttonOpenClass.className())?"hide":"show";n.data("tribeTapHide")||(o.isTarget=!1,n.data("tribeEventsState",o),a.bootstrapDatepicker(r),"show"===r&&a.trigger("focus"))},t.handleMutation=function(e){const a=e.container;return function(e,n){e.forEach((function(e){"childList"===e.type&&a.find(t.selectors.datepickerDaysBody).is(e.target)&&e.addedNodes.length&&a.trigger("handleMutationMonthChange.tribeEvents")}))}},t.setToday=function(e){let a=e;e.indexOf(" ")>=0&&(a=e.split(" ")[0]),t.today=new Date(a)},t.isSameAsToday=function(e,a){switch(a){case"year":return e.getFullYear()===t.today.getUTCFullYear();case"month":return t.isSameAsToday(e,"year")&&e.getMonth()===t.today.getUTCMonth();case"day":return t.isSameAsToday(e,"month")&&e.getDate()===t.today.getUTCDate();default:return!1}},t.isBeforeToday=function(e,a){switch(a){case"year":return e.getFullYear()'+f+"",t.options.templates.rightArrow=d+''+h+"",t.options.beforeShowDay=t.filterDayCells,t.options.beforeShowMonth=t.filterMonthCells,t.options.beforeShowYear=t.filterYearCells,document.dir&&"rtl"===document.dir&&(t.options.rtl=!0),document.lang&&(t.options.language=document.lang),r.bootstrapDatepicker(t.options).on(p,{container:n},u).on("show",{datepickerButton:i},t.handleShow).on("hide",{datepickerButton:i,input:r,observer:t.observer},t.handleHide),l&&r.bootstrapDatepicker().on("keydown",{input:r},t.handleKeyDown),i.on("touchstart mousedown",{target:i},t.handleMousedown).on("click",{target:i,input:r},t.handleClick).data("tribeEventsState",{isTarget:!1}),n.on("beforeAjaxSuccess.tribeEvents",{container:n,viewSlug:c},t.deinit),n.trigger("afterDatepickerInit.tribeEvents",[a,n,o])},t.initDatepickerI18n=function(){const t=(window.tribe_l10n_datatables||{}).datepicker||{};t.dayNames&&(e.fn.bootstrapDatepicker.dates.en.days=t.dayNames),t.dayNamesShort&&(e.fn.bootstrapDatepicker.dates.en.daysShort=t.dayNamesShort),t.dayNamesMin&&(e.fn.bootstrapDatepicker.dates.en.daysMin=t.dayNamesMin),t.monthNames&&(e.fn.bootstrapDatepicker.dates.en.months=t.monthNames),t.monthNamesMin&&(e.fn.bootstrapDatepicker.dates.en.monthsShort=t.monthNamesMin),t.today&&(e.fn.bootstrapDatepicker.dates.en.today=t.today),t.clear&&(e.fn.bootstrapDatepicker.dates.en.clear=t.clear)},t.initDatepicker=function(){t.initDatepickerI18n(),t.state.initialized=!0},t.ready=function(){t.initDatepicker(),t.state.initialized&&a.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.datepicker),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.datepicker={};; !function(){const o=window.navigator.userAgent;Object.entries({android:/android/i,iphone:/iPhone/i,ipad:/iPad/i}).forEach((([n,i])=>{o.match(i)&&document.body.classList.add(`tec-is-${n}`)}))}(),window.tec=window.tec||{},window.tec.common=window.tec.common||{},window.tec.common.userAgent={};; (()=>{const e=document.querySelectorAll(".coblocks-animate");if("IntersectionObserver"in window){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(e.target.classList.add(e.target.dataset.coblocksAnimation),t.unobserve(e.target))}))}),{threshold:[.15]});e.forEach((e=>{t.observe(e)}))}else e.forEach((e=>{e.classList.remove("coblocks-animate"),delete e.dataset.coblocksAnimation}))})();;