!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<a;i++)if(0<=this[i].valueOf()-e&&this[i].valueOf()-e<864e5)return i;return-1},remove:function(t){this.splice(t,1)},replace:function(t){t&&(Array.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var t=new d;return t.replace(this),t}},function(){var e=[];return e.push.apply(e,arguments),t.extend(e,l),e}),u=function(e,i){t.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(i),this.dates=new d,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=t(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),null===this.o.isInline?this.isInline=!this.component&&!this.isInput:this.isInline=this.o.isInline,this.picker=t(y.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find("button.prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find("button.next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&(this.picker.find("thead .datepicker-title").attr("colspan",(function(t,e){return Number(e)+1})),this.picker.find(".datepicker-days button.datepicker-switch").parent().attr("colspan",(function(t,e){return Number(e)+1})),this.picker.find("tfoot button.today, tfoot button.clear").parent().attr("colspan",(function(t,e){return Number(e)+1}))),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};u.prototype={constructor:u,_resolveViewName:function(e){return t.each(y.viewModes,(function(i,a){if(e===i||-1!==t.inArray(e,a.names))return e=i,!1})),e},_resolveDaysOfWeek:function(e){return Array.isArray(e)||(e=e.split(/[,\s]*/)),t.map(e,Number)},_check_template:function(i){try{return i!==e&&""!==i&&((i.match(/[<>]/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;n<t.length;n++)i=t[n][0],2===t[n].length?(a=e,s=t[n][1]):3===t[n].length&&(a=t[n][1],s=t[n][2]),i.on(s,a)},_unapplyEvents:function(t){for(var i,a,s,n=0;n<t.length;n++)i=t[n][0],2===t[n].length?(s=e,a=t[n][1]):3===t[n].length&&(s=t[n][1],a=t[n][2]),i.off(a,s)},_buildEvents:function(){var e={keyup:t.proxy((function(e){-1===t.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()}),this),keydown:t.proxy(this.keydown,this),paste:t.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=t.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:t.proxy(this.show,this)}]]:this._events=[[this.element,{click:t.proxy(this.show,this),keydown:t.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:t.proxy((function(t){this._focused_from=t.target}),this)}],[this.element,{blur:t.proxy((function(t){this._focused_from=t.target}),this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":t.proxy((function(t){this.update(t.date)}),this)}]),this._secondaryEvents=[[this.picker,{click:t.proxy(this.click,this),keydown:t.proxy(this.pickerKeydown,this)}],[this.picker,"button.day:not([disabled])",{click:t.proxy(this.dayCellClick,this)}],[t(window),{resize:t.proxy(this.place,this)}],[t(document),{"mousedown touchstart":t.proxy((function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||this.hide()}),this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,i){var a=i||this.dates.get(-1),s=this._utc_to_local(a);this.element.trigger({type:e,date:s,viewMode:this.viewMode,dates:t.map(this.dates,this._utc_to_local),format:t.proxy((function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var i=this.dates.get(t);return y.formatDate(i,e,this.o.language)}),this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&t(this.element).blur(),this._triggerElement=this.element[0],this._focusActiveElement(),this},hide:function(){return this.isInline||!this.picker.is(":visible")||(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide")),this},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var i;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==t.inArray("text/plain",e.originalEvent.clipboardData.types))i=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;i=window.clipboardData.getData("Text")}this.setDate(i),this.update(),e.preventDefault()},_utc_to_local:function(t){if(!t)return t;var e=new Date(t.getTime()+6e4*t.getTimezoneOffset());return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(e=new Date(t.getTime()+6e4*e.getTimezoneOffset())),e},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&i(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},getDates:function(){return t.map(this.dates,this._utc_to_local)},getUTCDates:function(){return t.map(this.dates,(function(t){return new Date(t)}))},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return t!==e?new Date(t):null},clearDates:function(){this.inputField.val(""),this._trigger("changeDate"),this.update(),this.o.autoclose&&this.hide()},setDates:function(){var t=Array.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,t),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=Array.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,t.map(e,this._utc_to_local)),this},setDate:n("setDates"),setUTCDate:n("setUTCDates"),remove:n("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(i){i===e&&(i=this.o.format);var a=this.o.language;return t.map(this.dates,(function(t){return y.formatDate(t,i,a)})).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){return this._process_options({datesDisabled:t}),this.update(),this},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),i=this.picker.outerHeight(),a=t(this.o.container),s=a.width(),n="body"===this.o.container?t(document).scrollTop():a.scrollTop(),o=a.offset(),r=[0];this.element.parents().each((function(){var e=t(this).css("z-index");"auto"!==e&&0!==Number(e)&&r.push(Number(e))}));var h=Math.max.apply(Math,r)+this.o.zIndexOffset,l=this.component?this.component.parent().offset():this.element.offset(),d=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),u=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),c=l.left-o.left,p=l.top-o.top;"body"!==this.o.container&&(p+=n),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(c-=e-u)):l.left<0?(this.picker.addClass("datepicker-orient-left"),c-=l.left-10):c+e>s?(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.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.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="<tr>";for(this.o.calendarWeeks&&(i+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;){var a=e%7,s=v[this.o.language].days[a],n=v[this.o.language].daysMin[a];i+='<th class="dow',-1!==t.inArray(e,this.o.daysOfWeekDisabled)&&(i+=" disabled"),i+='" scope="col" aria-label="'+s+'" title="'+s+'">',i+='<abbr title="'+s+'">'+n+"</abbr></th>",e++}i+="</tr>",this.picker.find(".datepicker-days thead").append(i)}},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e=this.viewDate.getUTCFullYear(),i='<div class="datepicker-grid">',a=0;a<12;a++)i+='<button type="button" class="month'+(t&&t.getMonth()===a?" focused":"")+'" aria-label="'+r(a,e)+'">'+v[this.o.language].monthsShort[a]+"</button>";i+="</div>",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("old"):(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]&&e<this.range[this.range.length-1]&&i.push("range"),-1!==t.inArray(e.valueOf(),this.range)&&i.push("selected"),e.valueOf()===this.range[0]&&i.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&i.push("range-end")),i},_fill_yearsView:function(i,a,s,n,o,r,h){for(var l,d,u,c,p,f,g='<div class="datepicker-grid">',m=s/10,v=this.picker.find(i),y=Math.floor(n/s)*s,D=y+9*m,w=Math.floor(this.viewDate.getFullYear()/m)*m,b=t.map(this.dates,(function(t){return Math.floor(t.getUTCFullYear()/m)*m})),k=y-m;k<=D+m;k+=m){l=[a],d=null,k===y-m?l.push("old"):k===D+m&&l.push("new"),-1!==t.inArray(k,b)&&l.push("active"),(k<o||k>r)&&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+="<button "+C.join(" ")+">"+k+"</button>"}g+="</div>",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("<tr>"),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('<td class="cw">'+S+"</td>")}(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("<td><button "+Y.join(" ")+">"+F+"</button></td>"),s=null,C===this.o.weekEnd&&M.push("</tr>"),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")})),(r<d||r>c)&&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;l<h;l++)n=this.moveMonth(n,e);a=n.getUTCMonth(),n.setUTCDate(o),s=function(){return a!==n.getUTCMonth()}}for(;s();)n.setUTCDate(--o),n.setUTCMonth(a);return n},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,i){do{if(t=this[i](t,e),!this.dateWithinRange(t))return!1;i="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(e){return-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(e){return this.weekOfDateIsDisabled(e)||t.grep(this.o.datesDisabled,(function(t){return s(e,t)})).length>0},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<n.length&&(n.eq(s).trigger("focus"),i.hasClass("day"))){var h=n.eq(s).data("date");h&&(this.focusDate=new Date(h))}}},_focusActiveElement:function(){var t=this;setTimeout((function(){if(t.picker.is(":visible")){var e,i=t.picker.find(".datepicker-"+y.viewModes[t.viewMode].clsName);(e=i.find("button.focused:not([disabled])").first()).length||(e=i.find("button.active:not([disabled])").first()),e.length||(e=i.find("button.day:not([disabled]), button.month:not([disabled]), button.year:not([disabled])").first()),e.length&&e.trigger("focus")}}),0)},_focusNavButton:function(t){var e=this;setTimeout((function(){var i=e.picker.find(".datepicker-"+y.viewModes[e.viewMode].clsName).find("button."+t);!i.length||i.hasClass("disabled")||i.prop("disabled")||i.trigger("focus")}),0)},_announce:function(t){var e=this.picker.find(".datepicker-live-region");e.length&&e.text(t)}};var c=function(e,i){t.data(e,"datepicker",this),this.element=t(e),this.inputs=t.map(i.inputs,(function(t){return t.jquery?t[0]:t})),delete i.inputs,this.keepEmptyValues=i.keepEmptyValues,delete i.keepEmptyValues,f.call(t(this.inputs),i).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,(function(e){return t.data(e,"datepicker")})),this.updateDates()};c.prototype={updateDates:function(){this.dates=t.map(this.pickers,(function(t){return t.getUTCDate()})),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,(function(t){return t.valueOf()}));t.each(this.pickers,(function(t,i){i.setRange(e)}))},clearDates:function(){t.each(this.pickers,(function(t,e){e.clearDates()}))},dateUpdated:function(i){if(!this.updating){this.updating=!0;var a=t.data(i.target,"datepicker");if(a!==e){var s=a.getUTCDate(),n=this.keepEmptyValues,o=t.inArray(i.target,this.inputs),r=o-1,h=o+1,l=this.inputs.length;if(-1!==o){if(t.each(this.pickers,(function(t,e){e.getUTCDate()||e!==a&&n||e.setUTCDate(s)})),s<this.dates[r])for(;r>=0&&s<this.dates[r]&&(this.pickers[r].element.val()||"").length>0;)this.pickers[r--].setUTCDate(s);else if(s>this.dates[h])for(;h<l&&s>this.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:"&#x00AB;",rightArrow:"&#x00BB;"},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<r.length;d++)h=r[d].match(/([\-+]\d+)([dmwy])/i),l=Number(h[1]),c=p[h[2].toLowerCase()],i=u.prototype[c](i,l);return u.prototype._zero_utc_time(i)}r=i&&i.match(this.nonpunctuation)||[];var g,m,D={},w=["yyyy","yy","M","MM","m","mm","d","dd"],b={yyyy:function(t,e){return t.setUTCFullYear(o?(!0===(a=o)&&(a=10),(i=e)<100&&(i+=2e3)>(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<C;d++){if(g=parseInt(r[d],10),h=k[d],isNaN(g))switch(h){case"MM":m=t(v[n].months).filter(_),g=t.inArray(m[0],v[n].months)+1;break;case"M":m=t(v[n].monthsShort).filter(_),g=t.inArray(m[0],v[n].monthsShort)+1}D[h]=g}for(d=0;d<w.length;d++)(M=w[d])in D&&!isNaN(D[M])&&(T=new Date(i),b[M](T,D[M]),isNaN(T)||(i=T))}return i},formatDate:function(e,i,a){if(!e)return"";if("string"==typeof i&&(i=y.parseFormat(i)),i.toDisplay)return i.toDisplay(e,i,a);var s={d:e.getUTCDate(),D:v[a].daysShort[e.getUTCDay()],DD:v[a].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:v[a].monthsShort[e.getUTCMonth()],MM:v[a].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};s.dd=(s.d<10?"0":"")+s.d,s.mm=(s.m<10?"0":"")+s.m,e=[];for(var n=t.extend([],i.separators),o=0,r=i.parts.length;o<=r;o++)n.length&&e.push(n.shift()),e.push(s[i.parts[o]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th><button type="button" class="prev" aria-label="Previous">'+g.templates.leftArrow+'</button></th><th colspan="5"><button type="button" class="datepicker-switch"></button></th><th><button type="button" class="next" aria-label="Next">'+g.templates.rightArrow+"</button></th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7"><button type="button" class="today"></button></th></tr><tr><th colspan="7"><button type="button" class="clear"></button></th></tr></tfoot>'};y.template='<div class="datepicker" role="application" aria-label="Calendar"><div class="sr-only datepicker-live-region" aria-live="polite" aria-atomic="true"></div><div class="datepicker-days"><table class="table-condensed" role="grid">'+y.headTemplate+"<tbody></tbody>"+y.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed" role="grid">'+y.headTemplate+y.contTemplate+y.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed" role="grid">'+y.headTemplate+y.contTemplate+y.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed" role="grid">'+y.headTemplate+y.contTemplate+y.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed" role="grid">'+y.headTemplate+y.contTemplate+y.footTemplate+"</table></div></div>",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()<t.options.MOBILE_BREAKPOINT,e.data("tribeEventsState",n)},t.handleResize=function(e){const n=e.data.container;t.setViewport(n),n.trigger("resize.tribeEvents")},t.unbindEvents=function(e){n.off("resize",t.handleResize)},t.bindEvents=function(e){n.on("resize",{container:e},t.handleResize)},t.deinit=function(e,n,i){const s=e.data.container;t.unbindEvents(s),s.off("beforeAjaxSuccess.tribeEvents",t.deinit)},t.init=function(e,n,i,s){t.bindEvents(i),t.setViewport(i),i.on("beforeAjaxSuccess.tribeEvents",{container:i},t.deinit)},t.ready=function(){i.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.viewport),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.viewport={};
tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.accordion={},function(n,e){"use strict";const t=n(document);e.selectors={accordionTrigger:'[data-js~="tribe-events-accordion-trigger"]'},e.setOpenAccordionA11yAttrs=function(n,e){n.attr("aria-expanded","true"),e.attr("aria-hidden","false")},e.setCloseAccordionA11yAttrs=function(n,e){n.attr("aria-expanded","false"),e.attr("aria-hidden","true")},e.closeAllAccordions=function(i){i.find(e.selectors.accordionTrigger).each((function(i,o){const r=n(o),c=r.attr("aria-controls"),a=t.find("#"+c);e.closeAccordion(r,a)}))},e.openAccordion=function(n,t){e.setOpenAccordionA11yAttrs(n,t),t.css("display","block")},e.closeAccordion=function(n,t){e.setCloseAccordionA11yAttrs(n,t),t.css("display","")},e.toggleAccordion=function(t){t.preventDefault(),t.stopPropagation();var i=t.data.container,o=n(t.data.target),r=o.attr("aria-controls"),c=i.find("#"+r);"true"===o.attr("aria-expanded")?e.closeAccordion(o,c):e.openAccordion(o,c)},e.deinitAccordionA11yAttrs=function(n,e){n.removeAttr("aria-expanded").removeAttr("aria-controls"),e.removeAttr("aria-hidden")},e.initAccordionA11yAttrs=function(n,e){n.attr("aria-expanded","false").attr("aria-controls",e.attr("id")),e.attr("aria-hidden","true")},e.deinitAccordion=function(t,i){n(i).off("click",e.toggleAccordion)},e.initAccordion=function(t){return function(i,o){n(o).on("click",{target:o,container:t},e.toggleAccordion),n(o).on("keydown",(function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),e.stopPropagation(),n(o).trigger("click"))})),n(o).attr("tabindex")||n(o).attr("tabindex","0")}},e.unbindAccordionEvents=function(n){n.find(e.selectors.accordionTrigger).each(e.deinitAccordion)},e.bindAccordionEvents=function(n){n.find(e.selectors.accordionTrigger).each(e.initAccordion(n))},e.unbindEvents=function(n,t,i){const o=n.data.container;e.unbindAccordionEvents(o),o.off("beforeAjaxSuccess.tribeEvents",e.unbindEvents)},e.bindEvents=function(n,t,i,o){e.bindAccordionEvents(i),i.on("beforeAjaxSuccess.tribeEvents",{container:i},e.unbindEvents)},e.ready=function(){tribe.events.views.manager&&t.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,e.bindEvents)},n(e.ready)}(jQuery,tribe.events.views.accordion),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.accordion={};
tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.viewSelector={},function(e,t){"use strict";const i=e(document);t.selectors={viewSelector:'[data-js="tribe-events-view-selector"]',viewSelectorTabsClass:".tribe-events-c-view-selector--tabs",viewSelectorButton:'[data-js="tribe-events-view-selector-button"]',viewSelectorButtonActiveClass:".tribe-events-c-view-selector__button--active",viewSelectorListContainer:'[data-js="tribe-events-view-selector-list-container"]'},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,i){tribe.events.views.accordion.initAccordion(e)(0,t),tribe.events.views.accordion.initAccordionA11yAttrs(t,i)},t.deinitViewSelectorAccordion=function(e){const i=e.find(t.selectors.viewSelectorButton),n=e.find(t.selectors.viewSelectorListContainer);t.deinitAccordion(i,n),i.removeClass(t.selectors.viewSelectorButtonActiveClass.className())},t.initViewSelectorAccordion=function(e){const i=e.find(t.selectors.viewSelectorButton),n=e.find(t.selectors.viewSelectorListContainer);t.initAccordion(e,i,n)},t.initState=function(e){e.find(t.selectors.viewSelector).data("tribeEventsState",{mobileInitialized:!1,desktopInitialized:!1})},t.deinitViewSelector=function(e){t.deinitViewSelectorAccordion(e)},t.initViewSelector=function(e){const i=e.find(t.selectors.viewSelector);if(i.length){const n=i.data("tribeEventsState");if(i.hasClass(t.selectors.viewSelectorTabsClass.className())){const o=e.data("tribeEventsState").isMobile;o&&!n.mobileInitialized?(t.initViewSelectorAccordion(e),n.desktopInitialized=!1,n.mobileInitialized=!0,i.data("tribeEventsState",n)):o||n.desktopInitialized||(t.deinitViewSelectorAccordion(e),n.mobileInitialized=!1,n.desktopInitialized=!0,i.data("tribeEventsState",n))}else n.mobileInitialized||n.desktopInitialized||(t.initViewSelectorAccordion(e),n.desktopInitialized=!0,n.mobileInitialized=!0,i.data("tribeEventsState",n))}},t.handleViewSelectorButtonClick=function(e){e.data.target.toggleClass(t.selectors.viewSelectorButtonActiveClass.className())},t.handleClick=function(i){if(!Boolean(e(i.target).closest(t.selectors.viewSelector).length)){const e=i.data.container.find(t.selectors.viewSelector),n=e.find(t.selectors.viewSelectorButton);if(n.hasClass(t.selectors.viewSelectorButtonActiveClass.className())){const i=e.find(t.selectors.viewSelectorListContainer);n.removeClass(t.selectors.viewSelectorButtonActiveClass.className()),tribe.events.views.accordion.closeAccordion(n,i)}}},t.handleResize=function(e){t.initViewSelector(e.data.container)},t.unbindEvents=function(e){i.off("click",t.handleClick),e.off("resize.tribeEvents",t.handleResize).find(t.selectors.viewSelectorButton).off("click",t.handleViewSelectorButtonClick)},t.bindEvents=function(e){const n=e.find(t.selectors.viewSelectorButton);i.on("click",{container:e},t.handleClick),e.on("resize.tribeEvents",{container:e},t.handleResize),n.on("click",{target:n},t.handleViewSelectorButtonClick)},t.deinit=function(e,i,n){const o=e.data.container;t.deinitViewSelector(o),t.unbindEvents(o),o.off("beforeAjaxSuccess.tribeEvents",t.deinit)},t.init=function(e,i,n,o){n.find(t.selectors.viewSelector).length&&(t.initState(n),t.initViewSelector(n),t.bindEvents(n),n.on("beforeAjaxSuccess.tribeEvents",{container:n},t.deinit))},t.ready=function(){i.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.viewSelector),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.viewSelector={};
tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.icalLinks={},function(e,n){"use strict";n.selectors={icalLinks:".tribe-events-c-subscribe-dropdown",icalLinksButton:".tribe-events-c-subscribe-dropdown__button",icalLinksButtonText:".tribe-events-c-subscribe-dropdown__button-text",icalLinksButtonActiveClass:"tribe-events-c-subscribe-dropdown__button--active",icalLinksListContainer:".tribe-events-c-subscribe-dropdown__content",icalLinksListContainerShow:"tribe-events-c-subscribe-dropdown__content--show",icalLinksIcon:".tribe-events-c-subscribe-dropdown__button-icon",icalLinksIconRotate:"tribe-events-c-subscribe-dropdown__button-icon--rotate"},n.handleIcalLinksButtonClick=function(t){t.stopPropagation();const i=e(t.target).closest(n.selectors.icalLinksButton),s=i.siblings(n.selectors.icalLinksListContainer),c=i.find(n.selectors.icalLinksIcon);n.handleAccordionToggle(t),e(n.selectors.icalLinksListContainer).not(s).hide(),e(n.selectors.icalLinksIcon).not(c).removeClass(n.selectors.icalLinksIconRotate),c.toggleClass(n.selectors.icalLinksIconRotate),s.toggle()},n.handleAccordionToggle=function(t){const i=e(t.target).closest(n.selectors.icalLinksButton),s=i.find(n.selectors.icalLinksButtonText);i&&s&&n.handleToggleAccordionExpanded(s)},n.handleToggleAccordionExpanded=function(t){"true"===t.attr("aria-expanded")?(t.attr("aria-expanded",!1),e(n.selectors.icalLinksIcon).removeClass(n.selectors.icalLinksIconRotate)):(t.attr("aria-expanded",!0),e(n.selectors.icalLinksIcon).addClass(n.selectors.icalLinksIconRotate))},n.resetAccordions=function(){e(n.selectors.icalLinksListContainer).hide(),e(n.selectors.icalLinksButtonText).attr("aria-expanded",!1),e(n.selectors.icalLinksIcon).removeClass(n.selectors.icalLinksIconRotate)},n.handleClickOutside=function(t){e(t.target).closest(n.selectors.icalLinks).length||n.resetAccordions()},n.bindEvents=function(t){e(document).on("click",n.selectors.icalLinksButton,n.handleIcalLinksButtonClick),e(document).on("click, focusin",n.handleClickOutside)},n.unbindEvents=function(t){t.find(n.selectors.icalLinksButton).off("click",n.handleIcalLinksButtonClick),e(document).off("click",n.handleClickOutside)},n.deinit=function(e,t,i){const s=e.data.container;n.unbindEvents(s),s.off("beforeAjaxSuccess.tribeEvents",n.deinit)},n.init=function(e,t,i,s){i.find(n.selectors.icalLinks).length&&(n.bindEvents(i),i.on("beforeAjaxSuccess.tribeEvents",{container:i},n.deinit))},e(document).ready((function(){n.init(null,0,e("body"),{})})),e(n.ready)}(jQuery,tribe.events.views.icalLinks),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.icalLinks={};
tribe.events=tribe.events||{},tribe.events.views=tribe.events.views||{},tribe.events.views.navigationScroll={},function(e,t){"use strict";const n=e(document),i=e(window);t.scrollUp=function(t,n,s,o){const c=e(t.target),r=i.scrollTop(),v=c.offset();.75*r>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&&t<e.length&&n<e[t].length},t.getNextCell=function(e,n,r,i,o){const s=n+o,c=r+i;return t.isValidCell(e,s,c)?{row:s,col:c}:{row:n,col:r}},t.setFocusPointer=function(e,n,r){const i=e.data("tribeEventsState");return!!t.isValidCell(i.grid,n,r)&&(i.grid[i.currentRow][i.currentCol].attr("tabindex","-1"),i.grid[n][r].attr("tabindex","0"),i.currentRow=n,i.currentCol=r,e.data("tribeEventsState",i),!0)},t.focusCell=function(e,n,r){t.setFocusPointer(e,n,r)&&e.data("tribeEventsState").grid[n][r].focus()},t.handleKeydown=function(e){const n=e.data.grid,r=n.data("tribeEventsState"),i=e.which||e.keyCode;let o,s=r.currentRow,c=r.currentCol;switch(i){case t.keyCode.UP:o=t.getNextCell(r.grid,s,c,0,-1),s=o.row,c=o.col;break;case t.keyCode.DOWN:o=t.getNextCell(r.grid,s,c,0,1),s=o.row,c=o.col;break;case t.keyCode.LEFT:o=t.getNextCell(r.grid,s,c,-1,0),s=o.row,c=o.col;break;case t.keyCode.RIGHT:o=t.getNextCell(r.grid,s,c,1,0),s=o.row,c=o.col;break;case t.keyCode.HOME:e.ctrlKey&&(s=0),c=0;break;case t.keyCode.END:e.ctrlKey&&(s=r.grid.length-1),c=r.grid[r.currentRow].length-1;break;default:return}t.focusCell(n,s,c),e.preventDefault()},t.handleClick=function(n){const r=n.data.grid,i=r.data("tribeEventsState"),o=e(n.target).closest(t.selectors.focusable);for(let e=0;e<i.grid.length;e++)for(let n=0;n<i.grid[e].length;n++)if(i.grid[e][n].is(o))return void t.focusCell(r,e,n)},t.initState=function(e){e.data("tribeEventsState",{grid:[],currentRow:0,currentCol:0})},t.setupGrid=function(n){const r=n.data("tribeEventsState");n.find(t.selectors.row).each((function(n,i){const o=[];e(i).find(t.selectors.cell).each((function(n,i){const s=e(i);if(s.is(t.selectors.focusable))s.is(t.selectors.focused)&&(r.currentRow=r.grid.length,r.currentCol=o.length),o.push(s);else{const e=s.find(t.selectors.focusable);e.is(t.selectors.focusable)&&(s.is(t.selectors.focused)&&(r.currentRow=r.grid.length,r.currentCol=o.length),o.push(e))}})),o.length&&r.grid.push(o)})),n.data("tribeEventsState",r)},t.unbindEvents=function(e){e.off()},t.bindEvents=function(e){e.on("keydown",{grid:e},t.handleKeydown).on("click",{grid:e},t.handleClick)},t.deinit=function(e,n,r){const i=e.data.container,o=i.find(t.selectors.grid);t.unbindEvents(o),i.off("beforeAjaxSuccess.tribeEvents",t.deinit)},t.init=function(e,n,r,i){const o=r.find(t.selectors.grid);if(!o.length)return;t.initState(o),t.setupGrid(o);const s=o.data("tribeEventsState");t.setFocusPointer(o,s.currentRow,s.currentCol),t.bindEvents(o),r.on("beforeAjaxSuccess.tribeEvents",{container:r},t.deinit)},t.ready=function(){n.on("afterSetup.tribeEvents",tribe.events.views.manager.selectors.container,t.init)},e(t.ready)}(jQuery,tribe.events.views.monthGrid),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.views=window.tec.events.views||{},window.tec.events.views.monthGrid={};
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){function b(a){this.$container,this.constraints=null,this.__$tooltip,this.__init(a)}function c(b,c){var d=!0;return a.each(b,function(a,e){return void 0===c[a]||b[a]!==c[a]?(d=!1,!1):void 0}),d}function d(b){var c=b.attr("id"),d=c?h.window.document.getElementById(c):null;return d?d===b[0]:a.contains(h.window.document.body,b[0])}function e(){if(!g)return!1;var a=g.document.body||g.document.documentElement,b=a.style,c="transition",d=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof b[c])return!0;c=c.charAt(0).toUpperCase()+c.substr(1);for(var e=0;e<d.length;e++)if("string"==typeof b[d[e]+c])return!0;return!1}var f={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},g="undefined"!=typeof window?window:null,h={hasTouchCapability:!(!g||!("ontouchstart"in g||g.DocumentTouch&&g.document instanceof g.DocumentTouch||g.navigator.maxTouchPoints)),hasTransitions:e(),IE:!1,semVer:"4.2.6",window:g},i=function(){this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__instancesLatestArr=[],this.__plugins={},this._env=h};i.prototype={__bridge:function(b,c,d){if(!c[d]){var e=function(){};e.prototype=b;var g=new e;g.__init&&g.__init(c),a.each(b,function(a,b){0!=a.indexOf("__")&&(c[a]?f.debug&&console.log("The "+a+" method of the "+d+" plugin conflicts with another plugin or native methods"):(c[a]=function(){return g[a].apply(g,Array.prototype.slice.apply(arguments))},c[a].bridged=g))}),c[d]=g}return this},__setWindow:function(a){return h.window=a,this},_getRuler:function(a){return new b(a)},_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},_plugin:function(b){var c=this;if("string"==typeof b){var d=b,e=null;return d.indexOf(".")>0?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;B<m.length;B++){var C=m[B];"even"==A?(C>y&&(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.left<i.left||e.origin.windowOffset.right>i.right))return f=!0,!1;if("visible"!=h&&(e.origin.windowOffset.top<i.top||e.origin.windowOffset.bottom>i.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("<div></div>").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('<div class="tooltipster-ruler"></div>').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('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');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<e.__options.side.length;d++){var m={horizontal:0,vertical:0},n=e.__options.side[d];"top"==n||"bottom"==n?m.vertical=e.__options.distance[n]:m.horizontal=e.__options.distance[n],e.__sideChange(h,n),a.each(["natural","constrained"],function(a,d){if(l=null,e.__instance._trigger({container:k,event:b,helper:c,mode:d,results:g,satisfied:j,side:n,takeTest:function(a){l=a},type:"positionTest"}),1==l||0!=l&&0==j){var h={container:k,distance:m,fits:null,mode:d,outerSize:null,side:n,size:null,target:f[n],whole:null},o="natural"==d?i.free():i.constrain(c.geo.available[k][n].width-m.horizontal,c.geo.available[k][n].height-m.vertical),p=o.measure();if(h.size=p.size,h.outerSize={height:p.size.height+m.vertical,width:p.size.width+m.horizontal},"natural"==d?c.geo.available[k][n].width>=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.val<this.__options.minIntersection?n.val=this.__options.minIntersection:n.val>o&&(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("<input>");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()<t.today.getUTCFullYear();case"month":return t.isBeforeToday(e,"year")||t.isSameAsToday(e,"year")&&e.getMonth()<t.today.getUTCMonth();case"day":return t.isBeforeToday(e,"month")||t.isSameAsToday(e,"month")&&e.getDate()<t.today.getUTCDate();default:return!1}},t.filterDayCells=function(e){return t.isBeforeToday(e,"day")?"past":t.isSameAsToday(e,"day")?"current":void 0},t.filterMonthCells=function(e){return t.isBeforeToday(e,"month")?"past":t.isSameAsToday(e,"month")?"current":void 0},t.filterYearCells=function(e){return t.isBeforeToday(e,"year")?"past":t.isSameAsToday(e,"year")?"current":void 0},t.convertDateFormat=function(e){let a=e;return Object.keys(t.dateFormatMap).forEach((function(e){a=a.replace(e,t.dateFormatMap[e])})),a},t.initDateFormat=function(e){const a=(e.date_formats||{}).compact,n=t.convertDateFormat(a);t.options.format=n},t.deinit=function(e,a,n){const o=e.data.container;o.trigger("beforeDatepickerDeinit.tribeEvents",[a,n]);const r=o.find(t.selectors.input),i=o.find(t.selectors.button);r.bootstrapDatepicker("destroy").off(),i.off(),o.off("beforeAjaxSuccess.tribeEvents",t.deinit),o.trigger("afterDatepickerDeinit.tribeEvents",[a,n])},t.init=function(e,a,n,o){n.trigger("beforeDatepickerInit.tribeEvents",[a,n,o]);const r=n.find(t.selectors.input),i=n.find(t.selectors.button),s=n.find(t.selectors.prevIconTemplate).html(),d=n.find(t.selectors.nextIconTemplate).html(),c=o.slug,l="month"===c,p=l?"changeMonth":"changeDate",u=l?t.handleChangeMonth:t.handleChangeDate;t.observer=new MutationObserver(t.handleMutation({container:n})),t.setToday(o.today),t.initDateFormat(o),t.options.weekStart=o.start_of_week,t.options.container=n.find(t.selectors.datepickerContainer),t.options.minViewMode=l?"year":"month";const b=(window.tribe_l10n_datatables||{}).datepicker||{},h=b.nextText||"Next",f=b.prevText||"Prev";t.options.templates.leftArrow=s+'<span class="tribe-common-a11y-visual-hide">'+f+"</span>",t.options.templates.rightArrow=d+'<span class="tribe-common-a11y-visual-hide">'+h+"</span>",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={};
(()=>{var t={507:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var i=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var o=function(t,e){return function(r,o,s,c=10){const l=t[e];if(!i(r))return;if(!n(o))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof c)return void console.error("If specified, the hook priority must be a number.");const a={callback:s,priority:c,namespace:o};if(l[r]){const t=l[r].handlers;let e;for(e=t.length;e>0&&!(c>=t[e-1].priority);e--);e===t.length?t[e]=a:t.splice(e,0,a),l.__current.forEach((t=>{t.name===r&&t.currentIndex>=e&&t.currentIndex++}))}else l[r]={handlers:[a],runs:0};"hookAdded"!==r&&t.doAction("hookAdded",r,o,s,c)}};var s=function(t,e,r=!1){return function(o,s){const c=t[e];if(!i(o))return;if(!r&&!n(s))return;if(!c[o])return 0;let l=0;if(r)l=c[o].handlers.length,c[o]={runs:c[o].runs,handlers:[]};else{const t=c[o].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===s&&(t.splice(e,1),l++,c.__current.forEach((t=>{t.name===o&&t.currentIndex>=e&&t.currentIndex--})))}return"hookRemoved"!==o&&t.doAction("hookRemoved",o,s),l}};var c=function(t,e){return function(r,n){const i=t[e];return void 0!==n?r in i&&i[r].handlers.some((t=>t.namespace===n)):r in i}};var l=function(t,e,r,n){return function(i,...o){const s=t[e];s[i]||(s[i]={handlers:[],runs:0}),s[i].runs++;const c=s[i].handlers;if(!c||!c.length)return r?o[0]:void 0;const l={name:i,currentIndex:0};return(n?async function(){try{s.__current.add(l);let t=r?o[0]:void 0;for(;l.currentIndex<c.length;){const e=c[l.currentIndex];t=await e.callback.apply(null,o),r&&(o[0]=t),l.currentIndex++}return r?t:void 0}finally{s.__current.delete(l)}}:function(){try{s.__current.add(l);let t=r?o[0]:void 0;for(;l.currentIndex<c.length;){t=c[l.currentIndex].callback.apply(null,o),r&&(o[0]=t),l.currentIndex++}return r?t:void 0}finally{s.__current.delete(l)}})()}};var a=function(t,e){return function(){const r=t[e],n=Array.from(r.__current);return n.at(-1)?.name??null}};var d=function(t,e){return function(r){const n=t[e];return void 0===r?n.__current.size>0:Array.from(n.__current).some((t=>t.name===r))}};var u=function(t,e){return function(r){const n=t[e];if(i(r))return n[r]&&n[r].runs?n[r].runs:0}};class h{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=o(this,"actions"),this.addFilter=o(this,"filters"),this.removeAction=s(this,"actions"),this.removeFilter=s(this,"filters"),this.hasAction=c(this,"actions"),this.hasFilter=c(this,"filters"),this.removeAllActions=s(this,"actions",!0),this.removeAllFilters=s(this,"filters",!0),this.doAction=l(this,"actions",!1,!1),this.doActionAsync=l(this,"actions",!1,!0),this.applyFilters=l(this,"filters",!0,!1),this.applyFiltersAsync=l(this,"filters",!0,!0),this.currentAction=a(this,"actions"),this.currentFilter=a(this,"filters"),this.doingAction=d(this,"actions"),this.doingFilter=d(this,"filters"),this.didAction=u(this,"actions"),this.didFilter=u(this,"filters")}}var A=function(){return new h}},8770:()=>{}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{actions:()=>x,addAction:()=>s,addFilter:()=>c,applyFilters:()=>m,applyFiltersAsync:()=>v,createHooks:()=>t.A,currentAction:()=>y,currentFilter:()=>F,defaultHooks:()=>o,didAction:()=>b,didFilter:()=>k,doAction:()=>f,doActionAsync:()=>p,doingAction:()=>_,doingFilter:()=>g,filters:()=>w,hasAction:()=>d,hasFilter:()=>u,removeAction:()=>l,removeAllActions:()=>h,removeAllFilters:()=>A,removeFilter:()=>a});var t=r(507),e=r(8770),i={};for(const t in e)["default","actions","addAction","addFilter","applyFilters","applyFiltersAsync","createHooks","currentAction","currentFilter","defaultHooks","didAction","didFilter","doAction","doActionAsync","doingAction","doingFilter","filters","hasAction","hasFilter","removeAction","removeAllActions","removeAllFilters","removeFilter"].indexOf(t)<0&&(i[t]=()=>e[t]);r.d(n,i);const o=(0,t.A)(),{addAction:s,addFilter:c,removeAction:l,removeFilter:a,hasAction:d,hasFilter:u,removeAllActions:h,removeAllFilters:A,doAction:f,doActionAsync:p,applyFilters:m,applyFiltersAsync:v,currentAction:y,currentFilter:F,doingAction:_,doingFilter:g,didAction:b,didFilter:k,actions:x,filters:w}=o})(),(window.wp=window.wp||{}).hooks=n})();
(()=>{"use strict";var t={d:(n,e)=>{for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{__:()=>F,_n:()=>L,_nx:()=>D,_x:()=>w,createI18n:()=>h,defaultI18n:()=>b,getLocaleData:()=>g,hasTranslation:()=>O,isRTL:()=>P,resetLocaleData:()=>x,setLocaleData:()=>v,sprintf:()=>l,subscribe:()=>m});var e,r,a,i,o=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function l(t,...n){return function(t,...n){var e=0;return Array.isArray(n[0])&&(n=n[0]),t.replace(o,(function(){var t,r,a,i,o;return t=arguments[3],r=arguments[5],"%"===(i=arguments[9])?"%":("*"===(a=arguments[7])&&(a=n[e],e++),void 0===r?(void 0===t&&(t=e+1),e++,o=n[t-1]):n[0]&&"object"==typeof n[0]&&n[0].hasOwnProperty(r)&&(o=n[0][r]),"f"===i?o=parseFloat(o)||0:"d"===i&&(o=parseInt(o)||0),void 0!==a&&("f"===i?o=o.toFixed(a):"s"===i&&(o=o.substr(0,a))),null!=o?o:"")}))}(t,...n)}e={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},r=["(","?"],a={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(t){return!t},"*":function(t,n){return t*n},"/":function(t,n){return t/n},"%":function(t,n){return t%n},"+":function(t,n){return t+n},"-":function(t,n){return t-n},"<":function(t,n){return t<n},"<=":function(t,n){return t<=n},">":function(t,n){return t>n},">=":function(t,n){return t>=n},"==":function(t,n){return t===n},"!=":function(t,n){return t!==n},"&&":function(t,n){return t&&n},"||":function(t,n){return t||n},"?:":function(t,n,e){if(t)throw n;return e}};function u(t){var n=function(t){for(var n,o,l,s,u=[],d=[];n=t.match(i);){for(o=n[0],(l=t.substr(0,n.index).trim())&&u.push(l);s=d.pop();){if(a[o]){if(a[o][0]===s){o=a[o][1]||o;break}}else if(r.indexOf(s)>=0||e[s]<e[o]){d.push(s);break}u.push(s)}a[o]||d.push(o),t=t.substr(n.index+o.length)}return(t=t.trim())&&u.push(t),u.concat(d.reverse())}(t);return function(t){return function(t,n){var e,r,a,i,o,l,u=[];for(e=0;e<t.length;e++){if(o=t[e],i=s[o]){for(r=i.length,a=Array(r);r--;)a[r]=u.pop();try{l=i.apply(null,a)}catch(t){return t}}else l=n.hasOwnProperty(o)?n[o]:+o;u.push(l)}return u[0]}(n,t)}}var d={contextDelimiter:"",onMissingKey:null};function c(t,n){var e;for(e in this.data=t,this.pluralForms={},this.options={},d)this.options[e]=void 0!==n&&e in n?n[e]:d[e]}c.prototype.getPluralForm=function(t,n){var e,r,a,i=this.pluralForms[t];return i||("function"!=typeof(a=(e=this.data[t][""])["Plural-Forms"]||e["plural-forms"]||e.plural_forms)&&(r=function(t){var n,e,r;for(n=t.split(";"),e=0;e<n.length;e++)if(0===(r=n[e].trim()).indexOf("plural="))return r.substr(7)}(e["Plural-Forms"]||e["plural-forms"]||e.plural_forms),a=function(t){var n=u(t);return function(t){return+n({n:t})}}(r)),i=this.pluralForms[t]=a),i(n)},c.prototype.dcnpgettext=function(t,n,e,r,a){var i,o,l;return i=void 0===a?0:this.getPluralForm(t,a),o=e,n&&(o=n+this.options.contextDelimiter+e),(l=this.data[t][o])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),0===i?e:r)};const p={plural_forms:t=>1===t?0:1},f=/^i18n\.(n?gettext|has_translation)(_|$)/,h=(t,n,e)=>{const r=new c({}),a=new Set,i=()=>{a.forEach((t=>t()))},o=(t,n="default")=>{r.data[n]={...r.data[n],...t},r.data[n][""]={...p,...r.data[n]?.[""]},delete r.pluralForms[n]},l=(t,n)=>{o(t,n),i()},s=(t="default",n,e,a,i)=>(r.data[t]||o(void 0,t),r.dcnpgettext(t,n,e,a,i)),u=t=>t||"default",d=(t,n,r)=>{let a=s(r,n,t);return e?(a=e.applyFilters("i18n.gettext_with_context",a,t,n,r),e.applyFilters("i18n.gettext_with_context_"+u(r),a,t,n,r)):a};if(t&&l(t,n),e){const t=t=>{f.test(t)&&i()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>r.data[t],setLocaleData:l,addLocaleData:(t,n="default")=>{r.data[n]={...r.data[n],...t,"":{...p,...r.data[n]?.[""],...t?.[""]}},delete r.pluralForms[n],i()},resetLocaleData:(t,n)=>{r.data={},r.pluralForms={},l(t,n)},subscribe:t=>(a.add(t),()=>a.delete(t)),__:(t,n)=>{let r=s(n,void 0,t);return e?(r=e.applyFilters("i18n.gettext",r,t,n),e.applyFilters("i18n.gettext_"+u(n),r,t,n)):r},_x:d,_n:(t,n,r,a)=>{let i=s(a,void 0,t,n,r);return e?(i=e.applyFilters("i18n.ngettext",i,t,n,r,a),e.applyFilters("i18n.ngettext_"+u(a),i,t,n,r,a)):i},_nx:(t,n,r,a,i)=>{let o=s(i,a,t,n,r);return e?(o=e.applyFilters("i18n.ngettext_with_context",o,t,n,r,a,i),e.applyFilters("i18n.ngettext_with_context_"+u(i),o,t,n,r,a,i)):o},isRTL:()=>"rtl"===d("ltr","text direction"),hasTranslation:(t,n,a)=>{const i=n?n+""+t:t;let o=!!r.data?.[a??"default"]?.[i];return e&&(o=e.applyFilters("i18n.has_translation",o,t,n,a),o=e.applyFilters("i18n.has_translation_"+u(a),o,t,n,a)),o}}},_=window.wp.hooks,y=h(void 0,void 0,_.defaultHooks);var b=y;const g=y.getLocaleData.bind(y),v=y.setLocaleData.bind(y),x=y.resetLocaleData.bind(y),m=y.subscribe.bind(y),F=y.__.bind(y),w=y._x.bind(y),L=y._n.bind(y),D=y._nx.bind(y),P=y.isRTL.bind(y),O=y.hasTranslation.bind(y);(window.wp=window.wp||{}).i18n=n})();