1var rr=(M,g)=>()=>(g||M((g={exports:{}}).exports,g),g.exports);import{r as ar,N as se}from"./notify-DLGVqaJF.js";var lr=rr((dr,en)=>{/*! 2 * Datepicker for Bootstrap v1.10.0 (https://github.com/uxsolutions/bootstrap-datepicker) 3 * 4 * Licensed under the Apache License v2.0 (https://www.apache.org/licenses/LICENSE-2.0) 5 */(function(M){(function(g){g(ar())})(function(g,O){function p(){return new Date(Date.UTC.apply(Date,arguments))}function U(){var d=new Date;return p(d.getFullYear(),d.getMonth(),d.getDate())}function S(d,l){return d.getUTCFullYear()===l.getUTCFullYear()&&d.getUTCMonth()===l.getUTCMonth()&&d.getUTCDate()===l.getUTCDate()}function P(d,l){return function(){return l!==O&&g.fn.datepicker.deprecated(l),this[d].apply(this,arguments)}}function E(d){return d&&!isNaN(d.getTime())}var o=function(){var d={get:function(l){return this.slice(l)[0]},contains:function(l){for(var n=l&&l.valueOf(),A=0,L=this.length;A<L;A++)if(0<=this[A].valueOf()-n&&this[A].valueOf()-n<864e5)return A;return-1},remove:function(l){this.splice(l,1)},replace:function(l){l&&(Array.isArray(l)||(l=[l]),this.clear(),this.push.apply(this,l))},clear:function(){this.length=0},copy:function(){var l=new o;return l.replace(this),l}};return function(){var l=[];return l.push.apply(l,arguments),g.extend(l,d),l}}(),f=function(d,l){g.data(d,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(l),this.dates=new o,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=g(d),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"):!1,this.component&&this.component.length===0&&(this.component=!1),this.o.isInline===null?this.isInline=!this.component&&!this.isInput:this.isInline=this.o.isInline,this.picker=g(oe.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".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(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(n,A){return Number(A)+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()};f.prototype={constructor:f,_resolveViewName:function(d){return g.each(oe.viewModes,function(l,n){if(d===l||g.inArray(d,n.names)!==-1)return d=l,!1}),d},_resolveDaysOfWeek:function(d){return Array.isArray(d)||(d=d.split(/[,\s]*/)),g.map(d,Number)},_check_template:function(d){try{if(d===O||d==="")return!1;if((d.match(/[<>]/g)||[]).length<=0)return!0;var l=g(d);return l.length>0}catch{return!1}},_process_options:function(d){this._o=g.extend({},this._o,d);var l=this.o=g.extend({},this._o),n=l.language;pe[n]||(n=n.split("-")[0],pe[n]||(n=q.language)),l.language=n,l.startView=this._resolveViewName(l.startView),l.minViewMode=this._resolveViewName(l.minViewMode),l.maxViewMode=this._resolveViewName(l.maxViewMode),l.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,l.startView)),l.multidate!==!0&&(l.multidate=Number(l.multidate)||!1,l.multidate!==!1&&(l.multidate=Math.max(0,l.multidate))),l.multidateSeparator=String(l.multidateSeparator),l.weekStart%=7,l.weekEnd=(l.weekStart+6)%7;var A=oe.parseFormat(l.format);l.startDate!==-1/0&&(l.startDate?l.startDate instanceof Date?l.startDate=this._local_to_utc(this._zero_time(l.startDate)):l.startDate=oe.parseDate(l.startDate,A,l.language,l.assumeNearbyYear):l.startDate=-1/0),l.endDate!==1/0&&(l.endDate?l.endDate instanceof Date?l.endDate=this._local_to_utc(this._zero_time(l.endDate)):l.endDate=oe.parseDate(l.endDate,A,l.language,l.assumeNearbyYear):l.endDate=1/0),l.daysOfWeekDisabled=this._resolveDaysOfWeek(l.daysOfWeekDisabled||[]),l.daysOfWeekHighlighted=this._resolveDaysOfWeek(l.daysOfWeekHighlighted||[]),l.datesDisabled=l.datesDisabled||[],Array.isArray(l.datesDisabled)||(l.datesDisabled=l.datesDisabled.split(",")),l.datesDisabled=g.map(l.datesDisabled,function(H){return oe.parseDate(H,A,l.language,l.assumeNearbyYear)});var L=String(l.orientation).toLowerCase().split(/\s+/g),G=l.orientation.toLowerCase();if(L=g.grep(L,function(H){return/^auto|left|right|top|bottom$/.test(H)}),l.orientation={x:"auto",y:"auto"},!(!G||G==="auto"))if(L.length===1)switch(L[0]){case"top":case"bottom":l.orientation.y=L[0];break;case"left":case"right":l.orientation.x=L[0];break}else G=g.grep(L,function(H){return/^left|right$/.test(H)}),l.orientation.x=G[0]||"auto",G=g.grep(L,function(H){return/^top|bottom$/.test(H)}),l.orientation.y=G[0]||"auto";if(l.defaultViewDate instanceof Date||typeof l.defaultViewDate=="string")l.defaultViewDate=oe.parseDate(l.defaultViewDate,A,l.language,l.assumeNearbyYear);else if(l.defaultViewDate){var Q=l.defaultViewDate.year||new Date().getFullYear(),Y=l.defaultViewDate.month||0,ee=l.defaultViewDate.day||1;l.defaultViewDate=p(Q,Y,ee)}else l.defaultViewDate=U()},_applyEvents:function(d){for(var l=0,n,A,L;
5l<d.length;l++)n=d[l][0],d[l].length===2?(A=O,L=d[l][1]):d[l].length===3&&(A=d[l][1],L=d[l][2]),n.on(L,A)},_unapplyEvents:function(d){for(var l=0,n,A,L;l<d.length;l++)n=d[l][0],d[l].length===2?(L=O,A=d[l][1]):d[l].length===3&&(L=d[l][1],A=d[l][2]),n.off(A,L)},_buildEvents:function(){var d={keyup:g.proxy(function(l){g.inArray(l.keyCode,[27,37,39,38,40,32,13,9])===-1&&this.update()},this),keydown:g.proxy(this.keydown,this),paste:g.proxy(this.paste,this)};this.o.showOnFocus===!0&&(d.focus=g.proxy(this.show,this)),this.isInput?this._events=[[this.element,d]]:this.component&&this.inputField.length?this._events=[[this.inputField,d],[this.component,{click:g.proxy(this.show,this)}]]:this._events=[[this.element,{click:g.proxy(this.show,this),keydown:g.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:g.proxy(function(l){this._focused_from=l.target},this)}],[this.element,{blur:g.proxy(function(l){this._focused_from=l.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":g.proxy(function(l){this.update(l.date)},this)}]),this._secondaryEvents=[[this.picker,{click:g.proxy(this.click,this)}],[this.picker,".prev, .next",{click:g.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:g.proxy(this.dayCellClick,this)}],[g(window),{resize:g.proxy(this.place,this)}],[g(document),{"mousedown touchstart":g.proxy(function(l){this.element.is(l.target)||this.element.find(l.target).length||this.picker.is(l.target)||this.picker.find(l.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(d,l){var n=l||this.dates.get(-1),A=this._utc_to_local(n);this.element.trigger({type:d,date:A,viewMode:this.viewMode,dates:g.map(this.dates,this._utc_to_local),format:g.proxy(function(L,G){arguments.length===0?(L=this.dates.length-1,G=this.o.format):typeof L=="string"&&(G=L,L=this.dates.length-1),G=G||this.o.format;var Q=this.dates.get(L);return oe.formatDate(Q,G,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&this.o.enableOnReadonly===!1))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&&g(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(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(d){var l;if(d.originalEvent.clipboardData&&d.originalEvent.clipboardData.types&&g.inArray("text/plain",d.originalEvent.clipboardData.types)!==-1)l=d.originalEvent.clipboardData.getData("text/plain");else if(window.clipboardData)l=window.clipboardData.getData("Text");else return;this.setDate(l),this.update(),d.preventDefault()},_utc_to_local:function(d){if(!d)return d;var l=new Date(d.getTime()+d.getTimezoneOffset()*6e4);return l.getTimezoneOffset()!==d.getTimezoneOffset()&&(l=new Date(d.getTime()+l.getTimezoneOffset()*6e4)),l},_local_to_utc:function(d){return d&&new Date(d.getTime()-d.getTimezoneOffset()*6e4)},_zero_time:function(d){return d&&new Date(d.getFullYear(),d.getMonth(),d.getDate())},_zero_utc_time:function(d){return d&&p(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate())},getDates:function(){return g.map(this.dates,this._utc_to_local)},getUTCDates:function(){return g.map(this.dates,function(d){return new Date(d)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var d=this.dates.get(-1);return d!==O?new Date(d):null},clearDates:function(){this.inputField.val(""),this._trigger("changeDate"),this.update(),this.o.autoclose&&this.hide()},setDates:function(){var d=Array.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,d),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var d=Array.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,g.map(d,this._utc_to_local)),this},setDate:P("setDates"),setUTCDate:P("setUTCDates"),remove:P("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var d=this.getFormattedDate();return this.inputField.val(d),this},getFormattedDate:function(d){d===O&&(d=this.o.format);var l=this.o.language;return g.map(this.dates,function(n){return oe.formatDate(n,d,l)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(d){return this._process_options({startDate:d}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(d){return this._process_options({endDate:d}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(d){return this._process_options({daysOfWeekDisabled:d}),this.update(),this},setDaysOfWeekHighlighted:function(d){return this._process_options({daysOfWeekHighlighted:d}),this.update(),this},setDatesDisabled:function(d){return this._process_options({datesDisabled:d}),this.update(),this},place:function(){if(this.isInline)return this;var d=this.picker.outerWidth(),l=this.picker.outerHeight(),n=10,A=g(this.o.container),L=A.width(),G=this.o.container==="body"?g(document).scrollTop():A.scrollTop(),Q=A.offset(),Y=[0];this.element.parents().each(function(){var ue=g(this).css("z-index");ue!=="auto"&&Number(ue)!==0&&Y.push(Number(ue))});var ee=Math.max.apply(Math,Y)+this.o.zIndexOffset,H=this.component?this.component.parent().offset():this.element.offset(),Te=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),Ee=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),ye=H.left-Q.left,he=H.top-Q.top;this.o.container!=="body"&&(he+=G),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),this.o.orientation.x!=="auto"?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),this.o.orientation.x==="right"&&(ye-=d-Ee)):H.left<0?(this.picker.addClass("datepicker-orient-left"),ye-=H.left-n):ye+d>L?(this.picker.addClass("datepicker-orient-right"),ye+=Ee-d):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var re=this.o.orientation.y,Pe;if(re==="auto"&&(Pe=-G+he-l,re=Pe<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+re),re==="top"?he-=l+parseInt(this.picker.css("padding-top")):he+=Te,this.o.rtl){var ge=L-(ye+Ee);this.picker.css({top:he,right:ge,zIndex:ee})}else this.picker.css({top:he,left:ye,zIndex:ee});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var d=this.dates.copy(),l=[],n=!1;return arguments.length?(g.each(arguments,g.proxy(function(A,L){L instanceof Date&&(L=this._local_to_utc(L)),l.push(L)},this)),n=!0):(l=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),l&&this.o.multidate?l=l.split(this.o.multidateSeparator):l=[l],delete this.element.data().date),l=g.map(l,g.proxy(function(A){return oe.parseDate(A,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),l=g.grep(l,g.proxy(function(A){return!this.dateWithinRange(A)||!A},this),!0),this.dates.replace(l),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),n?(this.setValue(),this.element.change()):this.dates.length&&String(d)!==String(this.dates)&&n&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&d.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var d=this.o.weekStart,l="<tr>";for(this.o.calendarWeeks&&(l+='<th class="cw"> </th>');d<this.o.weekStart+7;)l+='<th class="dow',g.inArray(d,this.o.daysOfWeekDisabled)!==-1&&(l+=" disabled"),l+='">'+pe[this.o.language].daysMin[d++%7]+"</th>";l+="</tr>",this.picker.find(".datepicker-days thead").append(l)}},fillMonths:function(){for(var d=this._utc_to_local(this.viewDate),l="",n,A=0;A<12;A++)n=d&&d.getMonth()===A?" focused":"",l+='<span class="month'+n+'">'+pe[this.o.language].monthsShort[A]+"</span>";this.picker.find(".datepicker-months td").html(l)},setRange:function(d){!d||!d.length?delete this.range:this.range=g.map(d,function(l){return l.valueOf()}),this.fill()},getClassNames:function(d){var l=[],n=this.viewDate.getUTCFullYear(),A=this.viewDate.getUTCMonth(),L=U();return d.getUTCFullYear()<n||d.getUTCFullYear()===n&&d.getUTCMonth()<A?l.push("old"):(d.getUTCFullYear()>n||d.getUTCFullYear()===n&&d.getUTCMonth()>A)&&l.push("new"),this.focusDate&&d.valueOf()===this.focusDate.valueOf()&&l.push("focused"),this.o.todayHighlight&&S(d,L)&&l.push("today"),this.dates.contains(d)!==-1&&l.push("active"),this.dateWithinRange(d)||l.push("disabled"),this.dateIsDisabled(d)&&l.push("disabled","disabled-date"),g.inArray(d.getUTCDay(),this.o.daysOfWeekHighlighted)!==-1&&l.push("highlighted"),this.range&&(d>this.range[0]&&d<this.range[this.range.length-1]&&l.push("range"),g.inArray(d.valueOf(),this.range)!==-1&&l.push("selected"),d.valueOf()===this.range[0]&&l.push("range-start"),d.valueOf()===this.range[this.range.length-1]&&l.push("range-end")),l},_fill_yearsView:function(d,l,n,A,L,G,Q){for(var Y="",ee=n/10,H=this.picker.find(d),Te=Math.floor(A/n)*n,Ee=Te+ee*9,ye=Math.floor(this.viewDate.getFullYear()/ee)*ee,he=g.map(this.dates,function(Ue){return Math.floor(Ue.getUTCFullYear()/ee)*ee}),re,Pe,ge,ue=Te-ee;ue<=Ee+ee;ue+=ee)re=[l],Pe=null,ue===Te-ee?re.push("old"):ue===Ee+ee&&re.push("new"),g.inArray(ue,he)!==-1&&re.push("active"),(ue<L||ue>G)&&re.push("disabled"),ue===ye&&re.push("focused"),Q!==g.noop&&(ge=Q(new Date(ue,0,1)),ge===O?ge={}:typeof ge=="boolean"?ge={enabled:ge}:typeof ge=="string"&&(ge={classes:ge}),ge.enabled===!1&&re.push("disabled"),ge.classes&&(re=re.concat(ge.classes.split(/\s+/))),ge.tooltip&&(Pe=ge.tooltip)),Y+='<span class="'+re.join(" ")+'"'+(Pe?' title="'+Pe+'"':"")+">"+ue+"</span>";H.find(".datepicker-switch").text(Te+"-"+Ee),H.find("td").html(Y)},fill:function(){var d=new Date(this.viewDate),l=d.getUTCFullYear(),n=d.getUTCMonth(),A=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,L=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,G=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,Q=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,Y=pe[this.o.language].today||pe.en.today||"",ee=pe[this.o.language].clear||pe.en.clear||"",H=pe[this.o.language].titleFormat||pe.en.titleFormat,Te=U(),Ee=(this.o.todayBtn===!0||this.o.todayBtn==="linked")&&Te>=this.o.startDate&&Te<=this.o.endDate&&!this.weekOfDateIsDisabled(Te),ye,he;if(!(isNaN(l)||isNaN(n))){this.picker.find(".datepicker-days .datepicker-switch").text(oe.formatDate(d,H,this.o.language)),this.picker.find("tfoot .today").text(Y).css("display",Ee?"table-cell":"none"),this.picker.find("tfoot .clear").text(ee).css("display",this.o.clearBtn===!0?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display",typeof this.o.title=="string"&&this.o.title!==""?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var re=p(l,n,0),Pe=re.getUTCDate();re.setUTCDate(Pe-(re.getUTCDay()-this.o.weekStart+7)%7);var ge=new Date(re);re.getUTCFullYear()<100&&ge.setUTCFullYear(re.getUTCFullYear()),ge.setUTCDate(ge.getUTCDate()+42),ge=ge.valueOf();for(var ue=[],Ue,Oe;re.valueOf()<ge;){if(Ue=re.getUTCDay(),Ue===this.o.weekStart&&(ue.push("<tr>"),this.o.calendarWeeks)){var st=new Date(+re+(this.o.weekStart-Ue-7)%7*864e5),ot=new Date(Number(st)+(11-st.getUTCDay())%7*864e5),ve=new Date(Number(ve=p(ot.getUTCFullYear(),0,1))+(11-ve.getUTCDay())%7*864e5),be=(ot-ve)/864e5/7+1;ue.push('<td class="cw">'+be+"</td>")}Oe=this.getClassNames(re),Oe.push("day");var Ge=re.getUTCDate();this.o.beforeShowDay!==g.noop&&(he=this.o.beforeShowDay(this._utc_to_local(re)),he===O?he={}:typeof he=="boolean"?he={enabled:he}:typeof he=="string"&&(he={classes:he}),he.enabled===!1&&Oe.push("disabled"),he.classes&&(Oe=Oe.concat(he.classes.split(/\s+/))),he.tooltip&&(ye=he.tooltip),he.content&&(Ge=he.content)),typeof g.uniqueSort=="function"?Oe=g.uniqueSort(Oe):Oe=g.unique(Oe),ue.push('<td class="'+Oe.join(" ")+'"'+(ye?' title="'+ye+'"':"")+' data-date="'+re.getTime().toString()+'">'+Ge+"</td>"),ye=null,Ue===this.o.weekEnd&&ue.push("</tr>"),re.setUTCDate(re.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(ue.join(""));var tn=pe[this.o.language].monthsTitle||pe.en.monthsTitle||"Months",ht=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?tn:l).end().find("tbody span").removeClass("active");if(g.each(this.dates,function(We,Ke){Ke.getUTCFullYear()===l&&ht.eq(Ke.getUTCMonth()).addClass("active")}),(l<A||l>G)&&ht.addClass("disabled"),l===A&&ht.slice(0,L).addClass("disabled"),l===G&&ht.slice(Q+1).addClass("disabled"),this.o.beforeShowMonth!==g.noop){var nn=this;g.each(ht,function(We,Ke){var gt=new Date(l,We,1),z=nn.o.beforeShowMonth(gt);z===O?z={}:typeof z=="boolean"?z={enabled:z}:typeof z=="string"&&(z={classes:z}),z.enabled===!1&&!g(Ke).hasClass("disabled")&&g(Ke).addClass("disabled"),z.classes&&g(Ke).addClass(z.classes),z.tooltip&&g(Ke).prop("title",z.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,l,A,G,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,l,A,G,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,l,A,G,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var d=new Date(this.viewDate),l=d.getUTCFullYear(),n=d.getUTCMonth(),A=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,L=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,G=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,Q=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,Y,ee,H=1;switch(this.viewMode){case 4:H*=10;case 3:H*=10;case 2:H*=10;case 1:Y=Math.floor(l/H)*H<=A,ee=Math.floor(l/H)*H+H>G;break;case 0:Y=l<=A&&n<=L,ee=l>=G&&n>=Q;break}this.picker.find(".prev").toggleClass("disabled",Y),this.picker.find(".next").toggleClass("disabled",ee)}},click:function(d){d.preventDefault(),d.stopPropagation();var l,n,A,L;l=g(d.target),l.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),l.hasClass("today")&&!l.hasClass("day")&&(this.setViewMode(0),this._setDate(U(),this.o.todayBtn==="linked"?null:"view")),l.hasClass("clear")&&this.clearDates(),l.hasClass("disabled")||(l.hasClass("month")||l.hasClass("year")||l.hasClass("decade")||l.hasClass("century"))&&(this.viewDate.setUTCDate(1),n=1,this.viewMode===1?(L=l.parent().find("span").index(l),A=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(L)):(L=0,A=Number(l.text()),this.viewDate.setUTCFullYear(A)),this._trigger(oe.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(p(A,L,n)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(d){var l=g(d.currentTarget),n=l.data("date"),A=new Date(n);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(d){var l=g(d.currentTarget),n=l.hasClass("prev")?-1:1;this.viewMode!==0&&(n*=oe.viewModes[this.viewMode].navStep*12),this.viewDate=this.moveMonth(this.viewDate,n),this._t
5rigger(oe.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(d){var l=this.dates.contains(d);if(d||this.dates.clear(),l!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(l):this.o.multidate===!1?(this.dates.clear(),this.dates.push(d)):this.dates.push(d),typeof this.o.multidate=="number")for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(d,l){(!l||l==="date")&&this._toggle_multidate(d&&new Date(d)),(!l&&this.o.updateViewDate||l==="view")&&(this.viewDate=d&&new Date(d)),this.fill(),this.setValue(),(!l||l!=="view")&&this._trigger("changeDate"),this.inputField.trigger("change"),this.o.autoclose&&(!l||l==="date")&&this.hide()},moveDay:function(d,l){var n=new Date(d);return n.setUTCDate(d.getUTCDate()+l),n},moveWeek:function(d,l){return this.moveDay(d,l*7)},moveMonth:function(d,l){if(!E(d))return this.o.defaultViewDate;if(!l)return d;var n=new Date(d.valueOf()),A=n.getUTCDate(),L=n.getUTCMonth(),G=Math.abs(l),Q,Y;if(l=l>0?1:-1,G===1)Y=l===-1?function(){return n.getUTCMonth()===L}:function(){return n.getUTCMonth()!==Q},Q=L+l,n.setUTCMonth(Q),Q=(Q+12)%12;else{for(var ee=0;ee<G;ee++)n=this.moveMonth(n,l);Q=n.getUTCMonth(),n.setUTCDate(A),Y=function(){return Q!==n.getUTCMonth()}}for(;Y();)n.setUTCDate(--A),n.setUTCMonth(Q);return n},moveYear:function(d,l){return this.moveMonth(d,l*12)},moveAvailableDate:function(d,l,n){do{if(d=this[n](d,l),!this.dateWithinRange(d))return!1;n="moveDay"}while(this.dateIsDisabled(d));return d},weekOfDateIsDisabled:function(d){return g.inArray(d.getUTCDay(),this.o.daysOfWeekDisabled)!==-1},dateIsDisabled:function(d){return this.weekOfDateIsDisabled(d)||g.grep(this.o.datesDisabled,function(l){return S(d,l)}).length>0},dateWithinRange:function(d){return d>=this.o.startDate&&d<=this.o.endDate},keydown:function(d){if(!this.picker.is(":visible")){(d.keyCode===40||d.keyCode===27)&&(this.show(),d.stopPropagation());return}var l=!1,n,A,L=this.focusDate||this.viewDate;switch(d.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),d.preventDefault(),d.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||this.o.daysOfWeekDisabled.length===7)break;n=d.keyCode===37||d.keyCode===38?-1:1,this.viewMode===0?d.ctrlKey?(A=this.moveAvailableDate(L,n,"moveYear"),A&&this._trigger("changeYear",this.viewDate)):d.shiftKey?(A=this.moveAvailableDate(L,n,"moveMonth"),A&&this._trigger("changeMonth",this.viewDate)):d.keyCode===37||d.keyCode===39?A=this.moveAvailableDate(L,n,"moveDay"):this.weekOfDateIsDisabled(L)||(A=this.moveAvailableDate(L,n,"moveWeek")):this.viewMode===1?((d.keyCode===38||d.keyCode===40)&&(n=n*4),A=this.moveAvailableDate(L,n,"moveMonth")):this.viewMode===2&&((d.keyCode===38||d.keyCode===40)&&(n=n*4),A=this.moveAvailableDate(L,n,"moveYear")),A&&(this.focusDate=this.viewDate=A,this.setValue(),this.fill(),d.preventDefault());break;case 13:if(!this.o.forceParse)break;L=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(L),l=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(d.preventDefault(),d.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide();break}l&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(d){this.viewMode=d,this.picker.children("div").hide().filter(".datepicker-"+oe.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var v=function(d,l){g.data(d,"datepicker",this),this.element=g(d),this.inputs=g.map(l.inputs,function(n){return n.jquery?n[0]:n}),delete l.inputs,this.keepEmptyValues=l.keepEmptyValues,delete l.keepEmptyValues,V.call(g(this.inputs),l).on("changeDate",g.proxy(this.dateUpdated,this)),this.pickers=g.map(this.inputs,function(n){return g.data(n,"datepicker")}),this.updateDates()};v.prototype={updateDates:function(){this.dates=g.map(this.pickers,function(d){return d.getUTCDate()}),this.updateRanges()},updateRanges:function(){var d=g.map(this.dates,function(l){return l.valueOf()});
5g.each(this.pickers,function(l,n){n.setRange(d)})},clearDates:function(){g.each(this.pickers,function(d,l){l.clearDates()})},dateUpdated:function(d){if(!this.updating){this.updating=!0;var l=g.data(d.target,"datepicker");if(l!==O){var n=l.getUTCDate(),A=this.keepEmptyValues,L=g.inArray(d.target,this.inputs),G=L-1,Q=L+1,Y=this.inputs.length;if(L!==-1){if(g.each(this.pickers,function(ee,H){!H.getUTCDate()&&(H===l||!A)&&H.setUTCDate(n)}),n<this.dates[G])for(;G>=0&&n<this.dates[G]&&(this.pickers[G].element.val()||"").length>0;)this.pickers[G--].setUTCDate(n);else if(n>this.dates[Q])for(;Q<Y&&n>this.dates[Q]&&(this.pickers[Q].element.val()||"").length>0;)this.pickers[Q++].setUTCDate(n);this.updateDates(),delete this.updating}}}},destroy:function(){g.map(this.pickers,function(d){d.destroy()}),g(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:P("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};function D(d,l){var n=g(d).data(),A={},L,G=new RegExp("^"+l.toLowerCase()+"([A-Z])");l=new RegExp("^"+l.toLowerCase());function Q(ee,H){return H.toLowerCase()}for(var Y in n)l.test(Y)&&(L=Y.replace(G,Q),A[L]=n[Y]);return A}function B(d){var l={};if(!(!pe[d]&&(d=d.split("-")[0],!pe[d]))){var n=pe[d];return g.each(ce,function(A,L){L in n&&(l[L]=n[L])}),l}}var X=g.fn.datepicker,V=function(d){var l=Array.apply(null,arguments);l.shift();var n;if(this.each(function(){var A=g(this),L=A.data("datepicker"),G=typeof d=="object"&&d;if(!L){var Q=D(this,"date"),Y=g.extend({},q,Q,G),ee=B(Y.language),H=g.extend({},q,ee,Q,G);A.hasClass("input-daterange")||H.inputs?(g.extend(H,{inputs:H.inputs||A.find("input").toArray()}),L=new v(this,H)):L=new f(this,H),A.data("datepicker",L)}typeof d=="string"&&typeof L[d]=="function"&&(n=L[d].apply(L,l))}),n===O||n instanceof f||n instanceof v)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+d+" function)");return n};g.fn.datepicker=V;var q=g.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:g.noop,beforeShowMonth:g.noop,beforeShowYear:g.noop,beforeShowDecade:g.noop,beforeShowCentury:g.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",isInline:null,keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},ce=g.fn.datepicker.locale_opts=["format","rtl","weekStart"];g.fn.datepicker.Constructor=f;var pe=g.fn.datepicker.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"}},oe={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(d){if(typeof d.toValue=="function"&&typeof d.toDisplay=="function")return d;var l=d.replace(this.validParts,"\0").split("\0"),n=d.match(this.validParts);if(!l||!l.length||!n||n.length===0)throw new Error("Invalid date format.");return{separators:l,parts:n}},parseDate:function(d,l,n,A){if(!d)return O;if(d instanceof Date)return d;if(typeof l=="string"&&(l=oe.parseFormat(l)),l.toValue)return l.toValue(d,l,n);var L={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},G={yesterday:"-1d",today:"+0d",tomorrow:"+1d"},Q,Y,ee,H,Te;
5if(d in G&&(d=G[d]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(d)){for(Q=d.match(/([\-+]\d+)([dmwy])/gi),d=new Date,H=0;H<Q.length;H++)Y=Q[H].match(/([\-+]\d+)([dmwy])/i),ee=Number(Y[1]),Te=L[Y[2].toLowerCase()],d=f.prototype[Te](d,ee);return f.prototype._zero_utc_time(d)}Q=d&&d.match(this.nonpunctuation)||[];function Ee(ve,be){return be===!0&&(be=10),ve<100&&(ve+=2e3,ve>new Date().getFullYear()+be&&(ve-=100)),ve}var ye={},he=["yyyy","yy","M","MM","m","mm","d","dd"],re={yyyy:function(ve,be){return ve.setUTCFullYear(A?Ee(be,A):be)},m:function(ve,be){if(isNaN(ve))return ve;for(be-=1;be<0;)be+=12;for(be%=12,ve.setUTCMonth(be);ve.getUTCMonth()!==be;)ve.setUTCDate(ve.getUTCDate()-1);return ve},d:function(ve,be){return ve.setUTCDate(be)}},Pe,ge;re.yy=re.yyyy,re.M=re.MM=re.mm=re.m,re.dd=re.d,d=U();var ue=l.parts.slice();Q.length!==ue.length&&(ue=g(ue).filter(function(ve,be){return g.inArray(be,he)!==-1}).toArray());function Ue(){var ve=this.slice(0,Q[H].length),be=Q[H].slice(0,ve.length);return ve.toLowerCase()===be.toLowerCase()}if(Q.length===ue.length){var Oe;for(H=0,Oe=ue.length;H<Oe;H++){if(Pe=parseInt(Q[H],10),Y=ue[H],isNaN(Pe))switch(Y){case"MM":ge=g(pe[n].months).filter(Ue),Pe=g.inArray(ge[0],pe[n].months)+1;break;case"M":ge=g(pe[n].monthsShort).filter(Ue),Pe=g.inArray(ge[0],pe[n].monthsShort)+1;break}ye[Y]=Pe}var st,ot;for(H=0;H<he.length;H++)ot=he[H],ot in ye&&!isNaN(ye[ot])&&(st=new Date(d),re[ot](st,ye[ot]),isNaN(st)||(d=st))}return d},formatDate:function(d,l,n){if(!d)return"";if(typeof l=="string"&&(l=oe.parseFormat(l)),l.toDisplay)return l.toDisplay(d,l,n);var A={d:d.getUTCDate(),D:pe[n].daysShort[d.getUTCDay()],DD:pe[n].days[d.getUTCDay()],m:d.getUTCMonth()+1,M:pe[n].monthsShort[d.getUTCMonth()],MM:pe[n].months[d.getUTCMonth()],yy:d.getUTCFullYear().toString().substring(2),yyyy:d.getUTCFullYear()};A.dd=(A.d<10?"0":"")+A.d,A.mm=(A.m<10?"0":"")+A.m,d=[];for(var L=g.extend([],l.separators),G=0,Q=l.parts.length;G<=Q;G++)L.length&&d.push(L.shift()),d.push(A[l.parts[G]]);return d.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+q.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+q.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};oe.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+oe.headTemplate+"<tbody></tbody>"+oe.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+oe.headTemplate+oe.contTemplate+oe.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+oe.headTemplate+oe.contTemplate+oe.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+oe.headTemplate+oe.contTemplate+oe.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+oe.headTemplate+oe.contTemplate+oe.footTemplate+"</table></div></div>",g.fn.datepicker.DPGlobal=oe,g.fn.datepicker.noConflict=function(){return g.fn.datepicker=X,this},g.fn.datepicker.version="1.10.0",g.fn.datepicker.deprecated=function(d){var l=window.console;l&&l.warn&&l.warn("DEPRECATED: "+d)},g(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(d){var l=g(this);l.data("datepicker")||(d.preventDefault(),V.call(l,"show"))}),g(function(){V.call(g('[data-provide="datepicker-inline"]'))})})})();var pi={exports:{}};/*! Player.js - v0.1.0 - 2017-10-24 6* http://github.com/embedly/player.js 7* Copyright (c) 2017 Embedly; Licensed BSD */(function(M){(function(g,O){var p={};p.DEBUG=!1,p.VERSION="0.0.11",p.CONTEXT="player.js",p.POST_MESSAGE=!!g.postMessage,p.origin=function(o){return o.substr(0,2)==="//"&&(o=g.location.protocol+o),o.split("/").slice(0,3).join("/")},p.addEvent=function(o,f,v){o&&(o.addEventListener?o.addEventListener(f,v,!1):o.attachEvent?o.attachEvent("on"+f,v):o["on"
7+f]=v)},p.log=function(){p.log.history=p.log.history||[],p.log.history.push(arguments),g.console&&p.DEBUG&&g.console.log(Array.prototype.slice.call(arguments))},p.isString=function(o){return Object.prototype.toString.call(o)==="[object String]"},p.isObject=function(o){return Object.prototype.toString.call(o)==="[object Object]"},p.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"},p.isNone=function(o){return o==null},p.has=function(o,f){return Object.prototype.hasOwnProperty.call(o,f)},p.indexOf=function(o,f){if(o==null)return-1;var v=0,D=o.length;if(Array.prototype.IndexOf&&o.indexOf===Array.prototype.IndexOf)return o.indexOf(f);for(;v<D;v++)if(o[v]===f)return v;return-1},p.assert=function(o,f){if(!o)throw f||"Player.js Assert Failed"},p.Keeper=function(){this.init()},p.Keeper.prototype.init=function(){this.data={}},p.Keeper.prototype.getUUID=function(){return"listener-xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(o){var f=Math.random()*16|0,v=o==="x"?f:f&3|8;return v.toString(16)})},p.Keeper.prototype.has=function(o,f){if(!this.data.hasOwnProperty(o))return!1;if(p.isNone(f))return!0;for(var v=this.data[o],D=0;D<v.length;D++)if(v[D].id===f)return!0;return!1},p.Keeper.prototype.add=function(o,f,v,D,B){var X={id:o,event:f,cb:v,ctx:D,one:B};this.has(f)?this.data[f].push(X):this.data[f]=[X]},p.Keeper.prototype.execute=function(o,f,v,D){if(!this.has(o,f))return!1;for(var B=[],X=[],V=0;V<this.data[o].length;V++){var q=this.data[o][V];p.isNone(f)||!p.isNone(f)&&q.id===f?(X.push({cb:q.cb,ctx:q.ctx?q.ctx:D,data:v}),q.one===!1&&B.push(q)):B.push(q)}B.length===0?delete this.data[o]:this.data[o]=B;for(var ce=0;ce<X.length;ce++){var pe=X[ce];pe.cb.call(pe.ctx,pe.data)}},p.Keeper.prototype.on=function(o,f,v,D){this.add(o,f,v,D,!1)},p.Keeper.prototype.one=function(o,f,v,D){this.add(o,f,v,D,!0)},p.Keeper.prototype.off=function(o,f){var v=[];if(!this.data.hasOwnProperty(o))return v;for(var D=[],B=0;B<this.data[o].length;B++){var X=this.data[o][B];!p.isNone(f)&&X.cb!==f?D.push(X):p.isNone(X.id)||v.push(X.id)}return D.length===0?delete this.data[o]:this.data[o]=D,v},p.Player=function(o,f){if(!(this instanceof p.Player))return new p.Player(o,f);this.init(o,f)},p.EVENTS={READY:"ready",PLAY:"play",PAUSE:"pause",ENDED:"ended",TIMEUPDATE:"timeupdate",PROGRESS:"progress",ERROR:"error"},p.EVENTS.all=function(){var o=[];for(var f in p.EVENTS)p.has(p.EVENTS,f)&&p.isString(p.EVENTS[f])&&o.push(p.EVENTS[f]);return o},p.METHODS={PLAY:"play",PAUSE:"pause",GETPAUSED:"getPaused",MUTE:"mute",UNMUTE:"unmute",GETMUTED:"getMuted",SETVOLUME:"setVolume",GETVOLUME:"getVolume",GETDURATION:"getDuration",SETCURRENTTIME:"setCurrentTime",GETCURRENTTIME:"getCurrentTime",SETLOOP:"setLoop",GETLOOP:"getLoop",REMOVEEVENTLISTENER:"removeEventListener",ADDEVENTLISTENER:"addEventListener"},p.METHODS.all=function(){var o=[];for(var f in p.METHODS)p.has(p.METHODS,f)&&p.isString(p.METHODS[f])&&o.push(p.METHODS[f]);return o},p.READIED=[],p.Player.prototype.init=function(o,f){var v=this;p.isString(o)&&(o=O.getElementById(o)),this.elem=o,p.assert(o.nodeName==="IFRAME",'playerjs.Player constructor requires an Iframe, got "'+o.nodeName+'"'),p.assert(o.src,"playerjs.Player constructor requires a Iframe with a 'src' attribute."),this.origin=p.origin(o.src),this.keeper=new p.Keeper,this.isReady=!1,this.queue=[],this.events=p.EVENTS.all(),this.methods=p.METHODS.all(),p.POST_MESSAGE?p.addEvent(g,"message",function(D){v.receive(D)}):p.log("Post Message is not Available."),p.indexOf(p.READIED,o.src)>-1?v.loaded=!0:this.elem.onload=function(){v.loaded=!0}},p.Player.prototype.send=function(o,f,v){if(o.context=p.CONTEXT,o.version=p.VERSION,f){var D=this.keeper.getUUID();o.listener=D,this.keeper.one(D,o.method,f,v)}return!this.isReady&&o.value!=="ready"?(p.log("Player.queue",o),this.queue.push(o),!1):(p.log("Player.send",o,this.origin),this.loaded===!0&&this.elem.contentWindow.postMessage(JSON.stringify(o),this.origin),!0)},p.Player.prototype.receive=function(o){if(p.log("Player.receive",o),o.origin!==this.origin)return!1;var f;try{f=JSON.parse(o.data)}catch{return!1}if(f.context!==p.CONTEXT)return!1;f.event==="ready"&&f.value&&f.value.src===this.elem.src&&this.ready(f),this.keeper.has(f.event,f.listener)&&this.keeper.execute(f.event,f.listener,f.value,this)}
7,p.Player.prototype.ready=function(o){if(this.isReady===!0)return!1;o.value.events&&(this.events=o.value.events),o.value.methods&&(this.methods=o.value.methods),this.isReady=!0,this.loaded=!0;for(var f=0;f<this.queue.length;f++){var v=this.queue[f];p.log("Player.dequeue",v),o.event==="ready"&&this.keeper.execute(v.event,v.listener,!0,this),this.send(v)}this.queue=[]},p.Player.prototype.on=function(o,f,v){var D=this.keeper.getUUID();return o==="ready"?this.keeper.one(D,o,f,v):this.keeper.on(D,o,f,v),this.send({method:"addEventListener",value:o,listener:D}),!0},p.Player.prototype.off=function(o,f){var v=this.keeper.off(o,f);if(p.log("Player.off",v),v.length>0)for(var D in v)return this.send({method:"removeEventListener",value:o,listener:v[D]}),!0;return!1},p.Player.prototype.supports=function(o,f){p.assert(p.indexOf(["method","event"],o)>-1,'evtOrMethod needs to be either "event" or "method" got '+o),f=p.isArray(f)?f:[f];for(var v=o==="event"?this.events:this.methods,D=0;D<f.length;D++)if(p.indexOf(v,f[D])===-1)return!1;return!0};function U(o){return function(){var f={method:o},v=Array.prototype.slice.call(arguments);/^get/.test(o)?(p.assert(v.length>0,"Get methods require a callback."),v.unshift(f)):(/^set/.test(o)&&(p.assert(v.length!==0,"Set methods require a value."),f.value=v[0]),v=[f]),this.send.apply(this,v)}}for(var S=0,P=p.METHODS.all().length;S<P;S++){var E=p.METHODS.all()[S];p.Player.prototype.hasOwnProperty(E)||(p.Player.prototype[E]=U(E))}p.addEvent(g,"message",function(o){var f;try{f=JSON.parse(o.data)}catch{return!1}if(f.context!==p.CONTEXT)return!1;f.event==="ready"&&f.value&&f.value.src&&p.READIED.push(f.value.src)}),p.Receiver=function(o,f){this.init(o,f)},p.Receiver.prototype.init=function(o,f){var v=this;this.isReady=!1,this.origin=p.origin(O.referrer),this.methods={},this.supported={events:o||p.EVENTS.all(),methods:f||p.METHODS.all()},this.eventListeners={},this.reject=!(g.self!==g.top&&p.POST_MESSAGE),this.reject||p.addEvent(g,"message",function(D){v.receive(D)})},p.Receiver.prototype.receive=function(o){if(o.origin!==this.origin)return!1;var f={};if(p.isObject(o.data))f=o.data;else try{f=g.JSON.parse(o.data)}catch(B){p.log("JSON Parse Error",B)}if(p.log("Receiver.receive",o,f),!f.method||f.context!==p.CONTEXT)return!1;if(p.indexOf(p.METHODS.all(),f.method)===-1)return this.emit("error",{code:2,msg:'Invalid Method "'+f.method+'"'}),!1;var v=p.isNone(f.listener)?null:f.listener;if(f.method==="addEventListener")this.eventListeners.hasOwnProperty(f.value)?p.indexOf(this.eventListeners[f.value],v)===-1&&this.eventListeners[f.value].push(v):this.eventListeners[f.value]=[v],f.value==="ready"&&this.isReady&&this.ready();else if(f.method==="removeEventListener"){if(this.eventListeners.hasOwnProperty(f.value)){var D=p.indexOf(this.eventListeners[f.value],v);D>-1&&this.eventListeners[f.value].splice(D,1),this.eventListeners[f.value].length===0&&delete this.eventListeners[f.value]}}else this.get(f.method,f.value,v)},p.Receiver.prototype.get=function(o,f,v){var D=this;if(!this.methods.hasOwnProperty(o))return this.emit("error",{code:3,msg:'Method Not Supported"'+o+'"'}),!1;var B=this.methods[o];if(o.substr(0,3)==="get"){var X=function(V){D.send(o,V,v)};B.call(this,X)}else B.call(this,f)},p.Receiver.prototype.on=function(o,f){this.methods[o]=f},p.Receiver.prototype.send=function(o,f,v){if(p.log("Receiver.send",o,f,v),this.reject)return p.log("Receiver.send.reject",o,f,v),!1;var D={context:p.CONTEXT,version:p.VERSION,event:o};p.isNone(f)||(D.value=f),p.isNone(v)||(D.listener=v);var B=JSON.stringify(D);g.parent.postMessage(B,this.origin===""?"*":this.origin)},p.Receiver.prototype.emit=function(o,f){if(!this.eventListeners.hasOwnProperty(o))return!1;p.log("Instance.emit",o,f,this.eventListeners[o]);for(var v=0;v<this.eventListeners[o].length;v++){var D=this.eventListeners[o][v];this.send(o,f,D)}return!0},p.Receiver.prototype.ready=function(){p.log("Receiver.ready"),this.isReady=!0;var o={src:g.location.toString(),events:this.supported.events,methods:this.supported.methods};this.emit("ready",o)||this.send("ready",o)}
7,p.HTML5Adapter=function(o){if(!(this instanceof p.HTML5Adapter))return new p.HTML5Adapter(o);this.init(o)},p.HTML5Adapter.prototype.init=function(o){p.assert(o,"playerjs.HTML5Adapter requires a video element");var f=this.receiver=new p.Receiver;o.addEventListener("playing",function(){f.emit("play")}),o.addEventListener("pause",function(){f.emit("pause")}),o.addEventListener("ended",function(){f.emit("ended")}),o.addEventListener("timeupdate",function(){f.emit("timeupdate",{seconds:o.currentTime,duration:o.duration})}),o.addEventListener("progress",function(){f.emit("buffered",{percent:o.buffered.length})}),f.on("play",function(){o.play()}),f.on("pause",function(){o.pause()}),f.on("getPaused",function(v){v(o.paused)}),f.on("getCurrentTime",function(v){v(o.currentTime)}),f.on("setCurrentTime",function(v){o.currentTime=v}),f.on("getDuration",function(v){v(o.duration)}),f.on("getVolume",function(v){v(o.volume*100)}),f.on("setVolume",function(v){o.volume=v/100}),f.on("mute",function(){o.muted=!0}),f.on("unmute",function(){o.muted=!1}),f.on("getMuted",function(v){v(o.muted)}),f.on("getLoop",function(v){v(o.loop)}),f.on("setLoop",function(v){o.loop=v})},p.HTML5Adapter.prototype.ready=function(){this.receiver.ready()},p.JWPlayerAdapter=function(o){if(!(this instanceof p.JWPlayerAdapter))return new p.JWPlayerAdapter(o);this.init(o)},p.JWPlayerAdapter.prototype.init=function(o){p.assert(o,"playerjs.JWPlayerAdapter requires a player object");var f=this.receiver=new p.Receiver;this.looped=!1,o.on("pause",function(){f.emit("pause")}),o.on("play",function(){f.emit("play")}),o.on("time",function(D){var B=D.position,X=D.duration;if(!B||!X)return!1;var V={seconds:B,duration:X};f.emit("timeupdate",V)});var v=this;o.on("complete",function(){v.looped===!0?o.seek(0):f.emit("ended")}),o.on("error",function(){f.emit("error")}),f.on("play",function(){o.play(!0)}),f.on("pause",function(){o.pause(!0)}),f.on("getPaused",function(D){D(o.getState().toLowerCase()!=="PLAYING".toLowerCase())}),f.on("getCurrentTime",function(D){D(o.getPosition())}),f.on("setCurrentTime",function(D){o.seek(D)}),f.on("getDuration",function(D){D(o.getDuration())}),f.on("getVolume",function(D){D(o.getVolume())}),f.on("setVolume",function(D){o.setVolume(D)}),f.on("mute",function(){o.setMute(!0)}),f.on("unmute",function(){o.setMute(!1)}),f.on("getMuted",function(D){D(o.getMute()===!0)}),f.on("getLoop",function(D){D(this.looped)},this),f.on("setLoop",function(D){this.looped=D},this)},p.JWPlayerAdapter.prototype.ready=function(){this.receiver.ready()},p.MockAdapter=function(){if(!(this instanceof p.MockAdapter))return new p.MockAdapter;this.init()},p.MockAdapter.prototype.init=function(){var o={duration:20,currentTime:0,interval:null,timeupdate:function(){},volume:100,mute:!1,playing:!1,loop:!1,play:function(){o.interval=setInterval(function(){o.currentTime+=.25,o.timeupdate({seconds:o.currentTime,duration:o.duration})},250),o.playing=!0},pause:function(){clearInterval(o.interval),o.playing=!1}},f=this.receiver=new p.Receiver;f.on("play",function(){var v=this;o.play(),this.emit("play"),o.timeupdate=function(D){v.emit("timeupdate",D)}}),f.on("pause",function(){o.pause(),this.emit("pause")}),f.on("getPaused",function(v){v(!o.playing)}),f.on("getCurrentTime",function(v){v(o.currentTime)}),f.on("setCurrentTime",function(v){o.currentTime=v}),f.on("getDuration",function(v){v(o.duration)}),f.on("getVolume",function(v){v(o.volume)}),f.on("setVolume",function(v){o.volume=v}),f.on("mute",function(){o.mute=!0}),f.on("unmute",function(){o.mute=!1}),f.on("getMuted",function(v){v(o.mute)}),f.on("getLoop",function(v){v(o.loop)}),f.on("setLoop",function(v){o.loop=v})},p.MockAdapter.prototype.ready=function(){this.receiver.ready()},p.VideoJSAdapter=function(o){if(!(this instanceof p.VideoJSAdapter))return new p.VideoJSAdapter(o);this.init(o)},p.VideoJSAdapter.prototype.init=function(o){p.assert(o,"playerjs.VideoJSReceiver requires a player object");var f=this.receiver=new p.Receiver;o.on("pause",function(){f.emit("pause")}),o.on("play",function(){f.emit("play")}),o.on("timeupdate",function(v){var D=o.currentTime(),B=o.duration();if(!D||!B)return!1;var X={seconds:D,duration:B};f.emit("timeupdate",X)}),o.on("ended",function(){f.emit("ended")}),o.on("error",function(){f.emit("error")}),f.on("play",function(){o.play()}),f.on("pause",function(){o.pause()}),f.on("getPaused",function(v){v(o.paused())}),f.on("getCurrentTime",function(v){v(o.currentTime())}),f.on("setCurrentTime",function(v){o.currentTime(v)}),f.on("getDuration",function(v){v(o.duration())}),f.on("getVolume",function(v){v(o.volume()*100)}),f.on("setVolume",function(v){o.volume(v/100)}),f.on("mute",function(){o.volume(0)}),f.on("unmute",function(){o.volume(1)}),f.on("getMuted",function(v){v(o.volume()===0)}),f.on("getLoop",function(v){v(o.loop())}),f.on("setLoop",function(v){o.loop(v)})},p.VideoJSAdapter.prototype.ready=function(){this.receiver.ready()},M.exports?M.exports=p:g.playerjs=p})(window,document)})(pi);var sr=pi.exports;$(document).ready(function(){$(".s-lm-wrapper").click(function(){$(".inside-links").each(function(){$(this).css("height","0px").css("padding-bottom","0px")}),$(".fa-angle-right").each(function(){$(this).css("transform","rotate(0deg)")});let g=$(this).find(".inside-lm-link").length;$(this).hasClass("active")?$(this).removeClass("active"):($(this).find(".inside-links").css("height",g*34+"px").css("padding-bottom","10px"),$(this).find(".fa-angle-right").
7css("transform","rotate(90deg)"),$(this).addClass("active")),$(".s-lm-wrapper").not($(this)).removeClass("active")});let M=!1;$(".system-m-i-t").click(function(){M?$(".s-left-menu").css("left","-320px"):$(".s-left-menu").css("left","0px"),M=!M})});(function(M,g){typeof en=="object"&&typeof en.exports=="object"?en.exports=M.document?g(M,!0):function(O){if(!O.document)throw new Error("jQuery requires a window with a document");return g(O)}:g(M)})(typeof window<"u"?window:void 0,function(M,g){var O=[],p=M.document,U=Object.getPrototypeOf,S=O.slice,P=O.concat,E=O.push,o=O.indexOf,f={},v=f.toString,D=f.hasOwnProperty,B=D.toString,X=B.call(Object),V={},q=function(e){return typeof e=="function"&&typeof e.nodeType!="number"},ce=function(e){return e!=null&&e===e.window},pe={type:!0,src:!0,nonce:!0,noModule:!0};function oe(e,t,i){var r,a,s=(i=i||p).createElement("script");if(s.text=e,t)for(r in pe)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&s.setAttribute(r,a);i.head.appendChild(s).parentNode.removeChild(s)}function d(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?f[v.call(e)]||"object":typeof e}var l="3.4.1",n=function(e,t){return new n.fn.init(e,t)},A=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function L(e){var t=!!e&&"length"in e&&e.length,i=d(e);return!q(e)&&!ce(e)&&(i==="array"||t===0||typeof t=="number"&&0<t&&t-1 in e)}n.fn=n.prototype={jquery:l,constructor:n,length:0,toArray:function(){return S.call(this)},get:function(e){return e==null?S.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=n.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return n.each(this,e)},map:function(e){return this.pushStack(n.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(S.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:E,sort:O.sort,splice:O.splice},n.extend=n.fn.extend=function(){var e,t,i,r,a,s,u=arguments[0]||{},h=1,y=arguments.length,_=!1;for(typeof u=="boolean"&&(_=u,u=arguments[h]||{},h++),typeof u=="object"||q(u)||(u={}),h===y&&(u=this,h--);h<y;h++)if((e=arguments[h])!=null)for(t in e)r=e[t],t!=="__proto__"&&u!==r&&(_&&r&&(n.isPlainObject(r)||(a=Array.isArray(r)))?(i=u[t],s=a&&!Array.isArray(i)?[]:a||n.isPlainObject(i)?i:{},a=!1,u[t]=n.extend(_,s,r)):r!==void 0&&(u[t]=r));return u},n.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||v.call(e)!=="[object Object]")&&(!(t=U(e))||typeof(i=D.call(t,"constructor")&&t.constructor)=="function"&&B.call(i)===X)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){oe(e,{nonce:t&&t.nonce})},each:function(e,t){var i,r=0;if(L(e))for(i=e.length;r<i&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return e==null?"":(e+"").replace(A,"")},makeArray:function(e,t){var i=t||[];return e!=null&&(L(Object(e))?n.merge(i,typeof e=="string"?[e]:e):E.call(i,e)),i},inArray:function(e,t,i){return t==null?-1:o.call(t,e,i)},merge:function(e,t){for(var i=+t.length,r=0,a=e.length;r<i;r++)e[a++]=t[r];return e.length=a,e},grep:function(e,t,i){for(var r=[],a=0,s=e.length,u=!i;a<s;a++)!t(e[a],a)!==u&&r.push(e[a]);return r},map:function(e,t,i){var r,a,s=0,u=[];if(L(e))for(r=e.length;s<r;s++)(a=t(e[s],s,i))!=null&&u.push(a);else for(s in e)(a=t(e[s],s,i))!=null&&u.push(a);return P.apply([],u)},guid:1,support:V}),typeof Symbol=="function"&&(n.fn[Symbol.iterator]=O[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});var G=function(e){var t,i,r,a,s,u,h,y,_,k,N,b,T,W,K,J,De,Ae,Be,we="sizzle"+1*new Date,ne=e.document,He=0,fe=0,ke=Xt(),qt=Xt(),zt=Xt(),Ze=Xt(),yt=function(c,m){return c===m&&(N=!0),0},Et={}.hasOwnProperty,Fe=[],St=Fe.pop,et=Fe.push,Ce=Fe.push,Ye=Fe.slice,ze=function(c,m){for(var w=0,C=c.length;w<C;w++)if(c[w]===m)return w;return-1},lt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",le="[\\x20\\t\\r\\n\\f]",me="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",Ne="\\["+le+"*("+me+")(?:"+le+"*([*^$|!~]?=)"+le+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+me+"))|)"+le+"*\\]",Je=":("+me+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ne+")*)|.*)\\)|)",Se=new RegExp(le+"+","g"),Xe=new RegExp("^"+le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+le+"+$","g"),Mt=new RegExp("^"+le+"*,"+le+"*"),vn=new RegExp("^"+le+"*([>+~]|"+le+")"+le+"*"),zi=new RegExp(le+"|>"),Ji=new RegExp(Je),Xi=new RegExp("^"+me+"$"),Jt={ID:new RegExp("^#("+me+")"),CLASS:new RegExp("^\\.("+me+")"),TAG:new RegExp("^("+me+"|[*])"),ATTR:new RegExp("^"+Ne),PSEUDO:new RegExp("^"+Je),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+le+"*(even|odd|(([+-]|)(\\d*)n|)"+le+"*(?:([+-]|)"+le+"*(\\d+)|))"+le+"*\\)|)","i"),bool:new RegExp("^(?:"+lt+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},Gi=/HTML$/i,Ki=/^(?:input|select|textarea|button)$/i,Qi=/^h\d$/i,Rt=/^[^{]+\{\s*\[native \w/,Zi=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yn=/[+~]/,ft=new RegExp("\\\\([\\da-f]{1,6}"+le+"?|("+le+")|.)","ig"),pt=function(c,m,w){var C="0x"+m-65536;return C!=C||w?m:C<0?String.fromCharCode(C+65536):String.fromCharCode(C>>10|55296,1023&C|56320)},ri=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ai=function(c,m){return m?c==="\0"?"�":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c},si=function(){b()},er=Kt(function(c){return c.disabled===!0&&c.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ce.apply(Fe=Ye.call(ne.childNodes),ne.childNodes),Fe[ne.childNodes.length].nodeType}catch{Ce={apply:Fe.length?function(m,w){et.apply(m,Ye.call(w))}:function(m,w){for(var C=m.length,x=0;m[C++]=w[x++];);m.length=C-1}}}function _e(c,m,w,C){var x,j,I,R,F,ie,Z,te=m&&m.ownerDocument,de=m?m.nodeType:9;if(w=w||[],typeof c!="string"||!c||de!==1&&de!==9&&de!==11)return w;if(!C&&((m?m.ownerDocument||m:ne)!==T&&b(m),m=m||T,K)){if(de!==11&&(F=Zi.exec(c)))if(x=F[1]){if
7(de===9){if(!(I=m.getElementById(x)))return w;if(I.id===x)return w.push(I),w}else if(te&&(I=te.getElementById(x))&&Be(m,I)&&I.id===x)return w.push(I),w}else{if(F[2])return Ce.apply(w,m.getElementsByTagName(c)),w;if((x=F[3])&&i.getElementsByClassName&&m.getElementsByClassName)return Ce.apply(w,m.getElementsByClassName(x)),w}if(i.qsa&&!Ze[c+" "]&&(!J||!J.test(c))&&(de!==1||m.nodeName.toLowerCase()!=="object")){if(Z=c,te=m,de===1&&zi.test(c)){for((R=m.getAttribute("id"))?R=R.replace(ri,ai):m.setAttribute("id",R=we),j=(ie=u(c)).length;j--;)ie[j]="#"+R+" "+Gt(ie[j]);Z=ie.join(","),te=yn.test(c)&&_n(m.parentNode)||m}try{return Ce.apply(w,te.querySelectorAll(Z)),w}catch{Ze(c,!0)}finally{R===we&&m.removeAttribute("id")}}}return y(c.replace(Xe,"$1"),m,w,C)}function Xt(){var c=[];return function m(w,C){return c.push(w+" ")>r.cacheLength&&delete m[c.shift()],m[w+" "]=C}}function it(c){return c[we]=!0,c}function ut(c){var m=T.createElement("fieldset");try{return!!c(m)}catch{return!1}finally{m.parentNode&&m.parentNode.removeChild(m),m=null}}function wn(c,m){for(var w=c.split("|"),C=w.length;C--;)r.attrHandle[w[C]]=m}function oi(c,m){var w=m&&c,C=w&&c.nodeType===1&&m.nodeType===1&&c.sourceIndex-m.sourceIndex;if(C)return C;if(w){for(;w=w.nextSibling;)if(w===m)return-1}return c?1:-1}function tr(c){return function(m){return m.nodeName.toLowerCase()==="input"&&m.type===c}}function nr(c){return function(m){var w=m.nodeName.toLowerCase();return(w==="input"||w==="button")&&m.type===c}}function li(c){return function(m){return"form"in m?m.parentNode&&m.disabled===!1?"label"in m?"label"in m.parentNode?m.parentNode.disabled===c:m.disabled===c:m.isDisabled===c||m.isDisabled!==!c&&er(m)===c:m.disabled===c:"label"in m&&m.disabled===c}}function wt(c){return it(function(m){return m=+m,it(function(w,C){for(var x,j=c([],w.length,m),I=j.length;I--;)w[x=j[I]]&&(w[x]=!(C[x]=w[x]))})})}function _n(c){return c&&typeof c.getElementsByTagName<"u"&&c}for(t in i=_e.support={},s=_e.isXML=function(c){var m=c.namespaceURI,w=(c.ownerDocument||c).documentElement;return!Gi.test(m||w&&w.nodeName||"HTML")},b=_e.setDocument=function(c){var m,w,C=c?c.ownerDocument||c:ne;return C!==T&&C.nodeType===9&&C.documentElement&&(W=(T=C).documentElement,K=!s(T),ne!==T&&(w=T.defaultView)&&w.top!==w&&(w.addEventListener?w.addEventListener("unload",si,!1):w.attachEvent&&w.attachEvent("onunload",si)),i.attributes=ut(function(x){return x.className="i",!x.getAttribute("className")}),i.getElementsByTagName=ut(function(x){return x.appendChild(T.createComment("")),!x.getElementsByTagName("*").length}),i.getElementsByClassName=Rt.test(T.getElementsByClassName),i.getById=ut(function(x){return W.appendChild(x).id=we,!T.getElementsByName||!T.getElementsByName(we).length}),i.getById?(r.filter.ID=function(x){var j=x.replace(ft,pt);return function(I){return I.getAttribute("id")===j}},r.find.ID=function(x,j){if(typeof j.getElementById<"u"&&K){var I=j.getElementById(x);return I?[I]:[]}}):(r.filter.ID=function(x){var j=x.replace(ft,pt);return function(I){var R=typeof I.getAttributeNode<"u"&&I.getAttributeNode("id");return R&&R.value===j}},r.find.ID=function(x,j){if(typeof j.getElementById<"u"&&K){var I,R,F,ie=j.getElementById(x);if(ie){if((I=ie.getAttributeNode("id"))&&I.value===x)return[ie];for(F=j.getElementsByName(x),R=0;ie=F[R++];)if((I=ie.getAttributeNode("id"))&&I.value===x)return[ie]}return[]}}),r.find.TAG=i.getElementsByTagName?function(x,j){return typeof j.getElementsByTagName<"u"?j.getElementsByTagName(x):i.qsa?j.querySelectorAll(x):void 0}:function(x,j){var I,R=[],F=0,ie=j.getElementsByTagName(x);if(x==="*"){for(;I=ie[F++];)I.nodeType===1&&R.push(I);return R}return ie},r.find.CLASS=i.getElementsByClassName&&function(x,j){if(typeof j.getElementsByClassName<"u"&&K)return j.getElementsByClassName(x)},De=[],J=[],(i.qsa=Rt.test(T.querySelectorAll))&&(ut(function(x){W.appendChild(x).innerHTML="<a id='"+we+"'></a><select id='"+we+"-\r\\' msallowcapture=''><option selected=''></option></select>",x.querySelectorAll("[msallowcapture^='']").length&&J.push("[*^$]="+le+`*(?:''|"")`),x.querySelectorAll("[selected]").length||J.push("\\["+le+"*(?:value|"+lt+")"),x.querySelectorAll("[id~="+we+"-]").length||J.push("~="),x.querySelectorAll(":checked").length||J.push(":checked"),x.querySelectorAll("a#"+we+"+*").length||J.push(".#.+[+~]")}),ut(function(x){x.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var j=T.createElement("input");j.setAttribute("type","hidden"),x.appendChild(j).setAttribute("name","D"),x.querySelectorAll("[name=d]").length&&J.push("name"+le+"*[*^$|!~]?="),x.querySelectorAll(":enabled").length!==2&&J.push(":enabled",":disabled"),W.appendChild(x).disabled=!0,x.querySelectorAll(":disabled").length!==2&&J.push(":enabled",":disabled"),x.querySelectorAll("*,:x"),J.push(",.*:")})),(i.matchesSelector=Rt.test(Ae=W.matches||W.webkitMatchesSelector||W.mozMatchesSelector||W.oMatchesSelector||W.msMatchesSelector))&&ut(function(x){i.disconnectedMatch=Ae.call(x,"*"),Ae.call(x,"[s!='']:x"),De.push("!=",Je)}),J=J.length&&new RegExp(J.join("|")),De=De.length&&new RegExp(De.join("|")),m=Rt.test(W.compareDocumentPosition),Be=m||Rt.test(W.contains)?function(x,j){var I=x.nodeType===9?x.documentElement:x,R=j&&j.parentNode;
7return x===R||!(!R||R.nodeType!==1||!(I.contains?I.contains(R):x.compareDocumentPosition&&16&x.compareDocumentPosition(R)))}:function(x,j){if(j){for(;j=j.parentNode;)if(j===x)return!0}return!1},yt=m?function(x,j){if(x===j)return N=!0,0;var I=!x.compareDocumentPosition-!j.compareDocumentPosition;return I||(1&(I=(x.ownerDocument||x)===(j.ownerDocument||j)?x.compareDocumentPosition(j):1)||!i.sortDetached&&j.compareDocumentPosition(x)===I?x===T||x.ownerDocument===ne&&Be(ne,x)?-1:j===T||j.ownerDocument===ne&&Be(ne,j)?1:k?ze(k,x)-ze(k,j):0:4&I?-1:1)}:function(x,j){if(x===j)return N=!0,0;var I,R=0,F=x.parentNode,ie=j.parentNode,Z=[x],te=[j];if(!F||!ie)return x===T?-1:j===T?1:F?-1:ie?1:k?ze(k,x)-ze(k,j):0;if(F===ie)return oi(x,j);for(I=x;I=I.parentNode;)Z.unshift(I);for(I=j;I=I.parentNode;)te.unshift(I);for(;Z[R]===te[R];)R++;return R?oi(Z[R],te[R]):Z[R]===ne?-1:te[R]===ne?1:0}),T},_e.matches=function(c,m){return _e(c,null,null,m)},_e.matchesSelector=function(c,m){if((c.ownerDocument||c)!==T&&b(c),i.matchesSelector&&K&&!Ze[m+" "]&&(!De||!De.test(m))&&(!J||!J.test(m)))try{var w=Ae.call(c,m);if(w||i.disconnectedMatch||c.document&&c.document.nodeType!==11)return w}catch{Ze(m,!0)}return 0<_e(m,T,null,[c]).length},_e.contains=function(c,m){return(c.ownerDocument||c)!==T&&b(c),Be(c,m)},_e.attr=function(c,m){(c.ownerDocument||c)!==T&&b(c);var w=r.attrHandle[m.toLowerCase()],C=w&&Et.call(r.attrHandle,m.toLowerCase())?w(c,m,!K):void 0;return C!==void 0?C:i.attributes||!K?c.getAttribute(m):(C=c.getAttributeNode(m))&&C.specified?C.value:null},_e.escape=function(c){return(c+"").replace(ri,ai)},_e.error=function(c){throw new Error("Syntax error, unrecognized expression: "+c)},_e.uniqueSort=function(c){var m,w=[],C=0,x=0;if(N=!i.detectDuplicates,k=!i.sortStable&&c.slice(0),c.sort(yt),N){for(;m=c[x++];)m===c[x]&&(C=w.push(x));for(;C--;)c.splice(w[C],1)}return k=null,c},a=_e.getText=function(c){var m,w="",C=0,x=c.nodeType;if(x){if(x===1||x===9||x===11){if(typeof c.textContent=="string")return c.textContent;for(c=c.firstChild;c;c=c.nextSibling)w+=a(c)}else if(x===3||x===4)return c.nodeValue}else for(;m=c[C++];)w+=a(m);return w},(r=_e.selectors={cacheLength:50,createPseudo:it,match:Jt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(c){return c[1]=c[1].replace(ft,pt),c[3]=(c[3]||c[4]||c[5]||"").replace(ft,pt),c[2]==="~="&&(c[3]=" "+c[3]+" "),c.slice(0,4)},CHILD:function(c){return c[1]=c[1].toLowerCase(),c[1].slice(0,3)==="nth"?(c[3]||_e.error(c[0]),c[4]=+(c[4]?c[5]+(c[6]||1):2*(c[3]==="even"||c[3]==="odd")),c[5]=+(c[7]+c[8]||c[3]==="odd")):c[3]&&_e.error(c[0]),c},PSEUDO:function(c){var m,w=!c[6]&&c[2];return Jt.CHILD.test(c[0])?null:(c[3]?c[2]=c[4]||c[5]||"":w&&Ji.test(w)&&(m=u(w,!0))&&(m=w.indexOf(")",w.length-m)-w.length)&&(c[0]=c[0].slice(0,m),c[2]=w.slice(0,m)),c.slice(0,3))}},filter:{TAG:function(c){var m=c.replace(ft,pt).toLowerCase();return c==="*"?function(){return!0}:function(w){return w.nodeName&&w.nodeName.toLowerCase()===m}},CLASS:function(c){var m=ke[c+" "];return m||(m=new RegExp("(^|"+le+")"+c+"("+le+"|$)"))&&ke(c,function(w){return m.test(typeof w.className=="string"&&w.className||typeof w.getAttribute<"u"&&w.getAttribute("class")||"")})},ATTR:function(c,m,w){return function(C){var x=_e.attr(C,c);return x==null?m==="!=":!m||(x+="",m==="="?x===w:m==="!="?x!==w:m==="^="?w&&x.indexOf(w)===0:m==="*="?w&&-1<x.indexOf(w):m==="$="?w&&x.slice(-w.length)===w:m==="~="?-1<(" "+x.replace(Se," ")+" ").indexOf(w):m==="|="&&(x===w||x.slice(0,w.length+1)===w+"-"))}},CHILD:function(c,m,w,C,x){var j=c.slice(0,3)!=="nth",I=c.slice(-4)!=="last",R=m==="of-type";return C===1&&x===0?function(F){return!!F.parentNode}:function(F,ie,Z){var te,de,$e,ae,je,Ie,qe=j!==I?"nextSibling":"previousSibling",xe=F.parentNode,ct=R&&F.nodeName.toLowerCase(),Le=!Z&&!R,Me=!1;if(xe){if(j){for(;qe;){for(ae=F;ae=ae[qe];)if(R?ae.nodeName.toLowerCase()===ct:ae.nodeType===1)return!1;Ie=qe=c==="only"&&!Ie&&"nextSibling"}return!0}if(Ie=[I?xe.firstChild:xe.lastChild],I&&Le){for(Me=(je=(te=(de=($e=(ae=xe)[we]||(ae[we]={}))[ae.uniqueID]||($e[ae.uniqueID]={}))[c]||[])[0]===He&&te[1])&&te[2],ae=je&&xe.childNodes[je];ae=++je&&ae&&ae[qe]||(Me=je=0)||Ie.pop();)if(ae.nodeType===1&&++Me&&ae===F){de[c]=[He,je,Me];break}}else if(Le&&(Me=je=(te=(de=($e=(ae=F)[we]||(ae[we]={}))[ae.uniqueID]||($e[ae.uniqueID]={}))[c]||[])[0]===He&&te[1]),Me===!1)for(;(ae=++je&&ae&&ae[qe]||(Me=je=0)||Ie.pop())&&!((R?ae.nodeName.toLowerCase()===ct:ae.nodeType===1)&&++Me&&(Le&&((de=($e=ae[we]||(ae[we]={}))[ae.uniqueID]||($e[ae.uniqueID]={}))[c]=[He,Me]),ae===F)););return(Me-=x)===C||Me%C==0&&0<=Me/C}}},PSEUDO:function(c,m){var w,C=r.pseudos[c]||r.setFilters[c.toLowerCase()]||_e.error("unsupported pseudo: "+c);return C[we]?C(m):1<C.length?(w=[c,c,"",m],r.setFilters.hasOwnProperty(c.toLowerCase())?it(function(x,j){for(var I,R=C(x,m),F=R.length;F--;)x[I=ze(x,R[F])]=!(j[I]=R[F])}):function(x){return C(x,0,w)}):C}},pseudos:{not:it(function(c){var m=[],w=[],C=h(c.replace(Xe,"$1"));return C[we]?it(function(x,j,I,R){for(var F,ie=C(x,null,R,[]),Z=x.length;Z--;)(F=ie[Z])&&(x[Z]=!(j[Z]=F))}):function(x,j,I){return m[0]=x,C(m,null,I,w),m[0]=null,!w.pop()}}),has:it(function(c){return function(m){return 0<_e(c,m).length}}
7),contains:it(function(c){return c=c.replace(ft,pt),function(m){return-1<(m.textContent||a(m)).indexOf(c)}}),lang:it(function(c){return Xi.test(c||"")||_e.error("unsupported lang: "+c),c=c.replace(ft,pt).toLowerCase(),function(m){var w;do if(w=K?m.lang:m.getAttribute("xml:lang")||m.getAttribute("lang"))return(w=w.toLowerCase())===c||w.indexOf(c+"-")===0;while((m=m.parentNode)&&m.nodeType===1);return!1}}),target:function(c){var m=e.location&&e.location.hash;return m&&m.slice(1)===c.id},root:function(c){return c===W},focus:function(c){return c===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(c.type||c.href||~c.tabIndex)},enabled:li(!1),disabled:li(!0),checked:function(c){var m=c.nodeName.toLowerCase();return m==="input"&&!!c.checked||m==="option"&&!!c.selected},selected:function(c){return c.parentNode&&c.parentNode.selectedIndex,c.selected===!0},empty:function(c){for(c=c.firstChild;c;c=c.nextSibling)if(c.nodeType<6)return!1;return!0},parent:function(c){return!r.pseudos.empty(c)},header:function(c){return Qi.test(c.nodeName)},input:function(c){return Ki.test(c.nodeName)},button:function(c){var m=c.nodeName.toLowerCase();return m==="input"&&c.type==="button"||m==="button"},text:function(c){var m;return c.nodeName.toLowerCase()==="input"&&c.type==="text"&&((m=c.getAttribute("type"))==null||m.toLowerCase()==="text")},first:wt(function(){return[0]}),last:wt(function(c,m){return[m-1]}),eq:wt(function(c,m,w){return[w<0?w+m:w]}),even:wt(function(c,m){for(var w=0;w<m;w+=2)c.push(w);return c}),odd:wt(function(c,m){for(var w=1;w<m;w+=2)c.push(w);return c}),lt:wt(function(c,m,w){for(var C=w<0?w+m:m<w?m:w;0<=--C;)c.push(C);return c}),gt:wt(function(c,m,w){for(var C=w<0?w+m:w;++C<m;)c.push(C);return c})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=tr(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=nr(t);function ui(){}function Gt(c){for(var m=0,w=c.length,C="";m<w;m++)C+=c[m].value;return C}function Kt(c,m,w){var C=m.dir,x=m.next,j=x||C,I=w&&j==="parentNode",R=fe++;return m.first?function(F,ie,Z){for(;F=F[C];)if(F.nodeType===1||I)return c(F,ie,Z);return!1}:function(F,ie,Z){var te,de,$e,ae=[He,R];if(Z){for(;F=F[C];)if((F.nodeType===1||I)&&c(F,ie,Z))return!0}else for(;F=F[C];)if(F.nodeType===1||I)if(de=($e=F[we]||(F[we]={}))[F.uniqueID]||($e[F.uniqueID]={}),x&&x===F.nodeName.toLowerCase())F=F[C]||F;else{if((te=de[j])&&te[0]===He&&te[1]===R)return ae[2]=te[2];if((de[j]=ae)[2]=c(F,ie,Z))return!0}return!1}}function xn(c){return 1<c.length?function(m,w,C){for(var x=c.length;x--;)if(!c[x](m,w,C))return!1;return!0}:c[0]}function Qt(c,m,w,C,x){for(var j,I=[],R=0,F=c.length,ie=m!=null;R<F;R++)(j=c[R])&&(w&&!w(j,C,x)||(I.push(j),ie&&m.push(R)));return I}function bn(c,m,w,C,x,j){return C&&!C[we]&&(C=bn(C)),x&&!x[we]&&(x=bn(x,j)),it(function(I,R,F,ie){var Z,te,de,$e=[],ae=[],je=R.length,Ie=I||function(ct,Le,Me){for(var rt=0,Zt=Le.length;rt<Zt;rt++)_e(ct,Le[rt],Me);return Me}(m||"*",F.nodeType?[F]:F,[]),qe=!c||!I&&m?Ie:Qt(Ie,$e,c,F,ie),xe=w?x||(I?c:je||C)?[]:R:qe;if(w&&w(qe,xe,F,ie),C)for(Z=Qt(xe,ae),C(Z,[],F,ie),te=Z.length;te--;)(de=Z[te])&&(xe[ae[te]]=!(qe[ae[te]]=de));if(I){if(x||c){if(x){for(Z=[],te=xe.length;te--;)(de=xe[te])&&Z.push(qe[te]=de);x(null,xe=[],Z,ie)}for(te=xe.length;te--;)(de=xe[te])&&-1<(Z=x?ze(I,de):$e[te])&&(I[Z]=!(R[Z]=de))}}else xe=Qt(xe===R?xe.splice(je,xe.length):xe),x?x(null,R,xe,ie):Ce.apply(R,xe)})}function Tn(c){for(var m,w,C,x=c.length,j=r.relative[c[0].type],I=j||r.relative[" "],R=j?1:0,F=Kt(function(te){return te===m},I,!0),ie=Kt(function(te){return-1<ze(m,te)},I,!0),Z=[function(te,de,$e){var ae=!j&&($e||de!==_)||((m=de).nodeType?F(te,de,$e):ie(te,de,$e));return m=null,ae}];R<x;R++)if(w=r.relative[c[R].type])Z=[Kt(xn(Z),w)];else{if((w=r.filter[c[R].type].apply(null,c[R].matches))[we]){for(C=++R;C<x&&!r.relative[c[C].type];C++);return bn(1<R&&xn(Z),1<R&&Gt(c.slice(0,R-1).concat({value:c[R-2].type===" "?"*":""})).replace(Xe,"$1"),w,R<C&&Tn(c.slice(R,C)),C<x&&Tn(c=c.slice(C)),C<x&&Gt(c))}Z.push(w)}return xn(Z)}return ui.prototype=r.filters=r.pseudos,r.setFilters=new ui,u=_e.tokenize=function(c,m){var w,C,x,j,I,R,F,ie=qt[c+" "];if(ie)return m?0:ie.slice(0);for(I=c,R=[],F=r.preFilter;I;){for(j in w&&!(C=Mt.exec(I))||(C&&(I=I.slice(C[0].length)||I),R.push(x=[])),w=!1,(C=vn.exec(I))&&(w=C.shift(),x.push({value:w,type:C[0].replace(Xe," ")}),I=I.slice(w.length)),r.filter)!(C=Jt[j].exec(I))||F[j]&&!(C=F[j](C))||
7(w=C.shift(),x.push({value:w,type:j,matches:C}),I=I.slice(w.length));if(!w)break}return m?I.length:I?_e.error(c):qt(c,R).slice(0)},h=_e.compile=function(c,m){var w,C,x,j,I,R,F=[],ie=[],Z=zt[c+" "];if(!Z){for(m||(m=u(c)),w=m.length;w--;)(Z=Tn(m[w]))[we]?F.push(Z):ie.push(Z);(Z=zt(c,(C=ie,j=0<(x=F).length,I=0<C.length,R=function(te,de,$e,ae,je){var Ie,qe,xe,ct=0,Le="0",Me=te&&[],rt=[],Zt=_,ci=te||I&&r.find.TAG("*",je),di=He+=Zt==null?1:Math.random()||.1,ir=ci.length;for(je&&(_=de===T||de||je);Le!==ir&&(Ie=ci[Le])!=null;Le++){if(I&&Ie){for(qe=0,de||Ie.ownerDocument===T||(b(Ie),$e=!K);xe=C[qe++];)if(xe(Ie,de||T,$e)){ae.push(Ie);break}je&&(He=di)}j&&((Ie=!xe&&Ie)&&ct--,te&&Me.push(Ie))}if(ct+=Le,j&&Le!==ct){for(qe=0;xe=x[qe++];)xe(Me,rt,de,$e);if(te){if(0<ct)for(;Le--;)Me[Le]||rt[Le]||(rt[Le]=St.call(ae));rt=Qt(rt)}Ce.apply(ae,rt),je&&!te&&0<rt.length&&1<ct+x.length&&_e.uniqueSort(ae)}return je&&(He=di,_=Zt),Me},j?it(R):R))).selector=c}return Z},y=_e.select=function(c,m,w,C){var x,j,I,R,F,ie=typeof c=="function"&&c,Z=!C&&u(c=ie.selector||c);if(w=w||[],Z.length===1){if(2<(j=Z[0]=Z[0].slice(0)).length&&(I=j[0]).type==="ID"&&m.nodeType===9&&K&&r.relative[j[1].type]){if(!(m=(r.find.ID(I.matches[0].replace(ft,pt),m)||[])[0]))return w;ie&&(m=m.parentNode),c=c.slice(j.shift().value.length)}for(x=Jt.needsContext.test(c)?0:j.length;x--&&(I=j[x],!r.relative[R=I.type]);)if((F=r.find[R])&&(C=F(I.matches[0].replace(ft,pt),yn.test(j[0].type)&&_n(m.parentNode)||m))){if(j.splice(x,1),!(c=C.length&&Gt(j)))return Ce.apply(w,C),w;break}}return(ie||h(c,Z))(C,m,!K,w,!m||yn.test(c)&&_n(m.parentNode)||m),w},i.sortStable=we.split("").sort(yt).join("")===we,i.detectDuplicates=!!N,b(),i.sortDetached=ut(function(c){return 1&c.compareDocumentPosition(T.createElement("fieldset"))}),ut(function(c){return c.innerHTML="<a href='#'></a>",c.firstChild.getAttribute("href")==="#"})||wn("type|href|height|width",function(c,m,w){if(!w)return c.getAttribute(m,m.toLowerCase()==="type"?1:2)}),i.attributes&&ut(function(c){return c.innerHTML="<input/>",c.firstChild.setAttribute("value",""),c.firstChild.getAttribute("value")===""})||wn("value",function(c,m,w){if(!w&&c.nodeName.toLowerCase()==="input")return c.defaultValue}),ut(function(c){return c.getAttribute("disabled")==null})||wn(lt,function(c,m,w){var C;if(!w)return c[m]===!0?m.toLowerCase():(C=c.getAttributeNode(m))&&C.specified?C.value:null}),_e}(M);n.find=G,n.expr=G.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=G.uniqueSort,n.text=G.getText,n.isXMLDoc=G.isXML,n.contains=G.contains,n.escapeSelector=G.escape;var Q=function(e,t,i){for(var r=[],a=i!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(a&&n(e).is(i))break;r.push(e)}return r},Y=function(e,t){for(var i=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&i.push(e);return i},ee=n.expr.match.needsContext;function H(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Te=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ee(e,t,i){return q(t)?n.grep(e,function(r,a){return!!t.call(r,a,r)!==i}):t.nodeType?n.grep(e,function(r){return r===t!==i}):typeof t!="string"?n.grep(e,function(r){return-1<o.call(t,r)!==i}):n.filter(t,e,i)}n.filter=function(e,t,i){var r=t[0];return i&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?n.find.matchesSelector(r,e)?[r]:[]:n.find.matches(e,n.grep(t,function(a){return a.nodeType===1}))},n.fn.extend({find:function(e){var t,i,r=this.length,a=this;if(typeof e!="string")return this.pushStack(n(e).filter(function(){for(t=0;t<r;t++)if(n.contains(a[t],this))return!0}));for(i=this.pushStack([]),t=0;t<r;t++)n.find(e,a[t],i);return 1<r?n.uniqueSort(i):i},filter:function(e){return this.pushStack(Ee(this,e||[],!1))},not:function(e){return this.pushStack(Ee(this,e||[],!0))},is:function(e){return!!Ee(this,typeof e=="string"&&ee.test(e)?n(e):e||[],!1).length}});var ye,he=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(n.fn.init=function(e,t,i){var r,a;if(!e)return this;if(i=i||ye,typeof e=="string"){if(!(r=e[0]==="<"&&e[e.length-1]===">"&&3<=e.length?[null,e,null]:he.exec(e))||!r[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof n?t[0]:t,n.merge(this,n.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:p,!0)),Te.test(r[1])&&n.isPlainObject(t))for(r in t)q(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=p.getElementById(r[2]))&&(this[0]=a,this.length=1),this}
7return e.nodeType?(this[0]=e,this.length=1,this):q(e)?i.ready!==void 0?i.ready(e):e(n):n.makeArray(e,this)}).prototype=n.fn,ye=n(p);var re=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};function ge(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}n.fn.extend({has:function(e){var t=n(e,this),i=t.length;return this.filter(function(){for(var r=0;r<i;r++)if(n.contains(this,t[r]))return!0})},closest:function(e,t){var i,r=0,a=this.length,s=[],u=typeof e!="string"&&n(e);if(!ee.test(e)){for(;r<a;r++)for(i=this[r];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(u?-1<u.index(i):i.nodeType===1&&n.find.matchesSelector(i,e))){s.push(i);break}}return this.pushStack(1<s.length?n.uniqueSort(s):s)},index:function(e){return e?typeof e=="string"?o.call(n(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),n.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Q(e,"parentNode")},parentsUntil:function(e,t,i){return Q(e,"parentNode",i)},next:function(e){return ge(e,"nextSibling")},prev:function(e){return ge(e,"previousSibling")},nextAll:function(e){return Q(e,"nextSibling")},prevAll:function(e){return Q(e,"previousSibling")},nextUntil:function(e,t,i){return Q(e,"nextSibling",i)},prevUntil:function(e,t,i){return Q(e,"previousSibling",i)},siblings:function(e){return Y((e.parentNode||{}).firstChild,e)},children:function(e){return Y(e.firstChild)},contents:function(e){return typeof e.contentDocument<"u"?e.contentDocument:(H(e,"template")&&(e=e.content||e),n.merge([],e.childNodes))}},function(e,t){n.fn[e]=function(i,r){var a=n.map(this,t,i);return e.slice(-5)!=="Until"&&(r=i),r&&typeof r=="string"&&(a=n.filter(r,a)),1<this.length&&(Pe[e]||n.uniqueSort(a),re.test(e)&&a.reverse()),this.pushStack(a)}});var ue=/[^\x20\t\r\n\f]+/g;function Ue(e){return e}function Oe(e){throw e}function st(e,t,i,r){var a;try{e&&q(a=e.promise)?a.call(e).done(t).fail(i):e&&q(a=e.then)?a.call(e,t,i):t.apply(void 0,[e].slice(r))}catch(s){i.apply(void 0,[s])}}n.Callbacks=function(e){var t,i;e=typeof e=="string"?(t=e,i={},n.each(t.match(ue)||[],function(b,T){i[T]=!0}),i):n.extend({},e);var r,a,s,u,h=[],y=[],_=-1,k=function(){for(u=u||e.once,s=r=!0;y.length;_=-1)for(a=y.shift();++_<h.length;)h[_].apply(a[0],a[1])===!1&&e.stopOnFalse&&(_=h.length,a=!1);e.memory||(a=!1),r=!1,u&&(h=a?[]:"")},N={add:function(){return h&&(a&&!r&&(_=h.length-1,y.push(a)),function b(T){n.each(T,function(W,K){q(K)?e.unique&&N.has(K)||h.push(K):K&&K.length&&d(K)!=="string"&&b(K)})}(arguments),a&&!r&&k()),this},remove:function(){return n.each(arguments,function(b,T){for(var W;-1<(W=n.inArray(T,h,W));)h.splice(W,1),W<=_&&_--}),this},has:function(b){return b?-1<n.inArray(b,h):0<h.length},empty:function(){return h&&(h=[]),this},disable:function(){return u=y=[],h=a="",this},disabled:function(){return!h},lock:function(){return u=y=[],a||r||(h=a=""),this},locked:function(){return!!u},fireWith:function(b,T){return u||(T=[b,(T=T||[]).slice?T.slice():T],y.push(T),r||k()),this},fire:function(){return N.fireWith(this,arguments),this},fired:function(){return!!s}};return N},n.extend({Deferred:function(e){var t=[["notify","progress",n.Callbacks("memory"),n.Callbacks("memory"),2],["resolve","done",n.Callbacks("once memory"),n.Callbacks("once memory"),0,"resolved"],["reject","fail",n.Callbacks("once memory"),n.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(s){return r.then(null,s)},pipe:function(){var s=arguments;return n.Deferred(function(u){n.each(t,function(h,y){var _=q(s[y[4]])&&s[y[4]];a[y[1]](function(){var k=_&&_.apply(this,arguments);k&&q(k.promise)?k.promise().progress(u.notify).done(u.resolve).fail(u.reject):u[y[0]+"With"](this,_?[k]:arguments)})}),s=null}).promise()},then:function(s,u,h){var y=0;function _(k,N,b,T){return function(){var W=this,K=arguments,J=function(){var Ae,Be;if(!(k<y)){if((Ae=b.apply(W,K))===N.promise())throw new TypeError("Thenable self
7-resolution");Be=Ae&&(typeof Ae=="object"||typeof Ae=="function")&&Ae.then,q(Be)?T?Be.call(Ae,_(y,N,Ue,T),_(y,N,Oe,T)):(y++,Be.call(Ae,_(y,N,Ue,T),_(y,N,Oe,T),_(y,N,Ue,N.notifyWith))):(b!==Ue&&(W=void 0,K=[Ae]),(T||N.resolveWith)(W,K))}},De=T?J:function(){try{J()}catch(Ae){n.Deferred.exceptionHook&&n.Deferred.exceptionHook(Ae,De.stackTrace),y<=k+1&&(b!==Oe&&(W=void 0,K=[Ae]),N.rejectWith(W,K))}};k?De():(n.Deferred.getStackHook&&(De.stackTrace=n.Deferred.getStackHook()),M.setTimeout(De))}}return n.Deferred(function(k){t[0][3].add(_(0,k,q(h)?h:Ue,k.notifyWith)),t[1][3].add(_(0,k,q(s)?s:Ue)),t[2][3].add(_(0,k,q(u)?u:Oe))}).promise()},promise:function(s){return s!=null?n.extend(s,r):r}},a={};return n.each(t,function(s,u){var h=u[2],y=u[5];r[u[1]]=h.add,y&&h.add(function(){i=y},t[3-s][2].disable,t[3-s][3].disable,t[0][2].lock,t[0][3].lock),h.add(u[3].fire),a[u[0]]=function(){return a[u[0]+"With"](this===a?void 0:this,arguments),this},a[u[0]+"With"]=h.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,i=t,r=Array(i),a=S.call(arguments),s=n.Deferred(),u=function(h){return function(y){r[h]=this,a[h]=1<arguments.length?S.call(arguments):y,--t||s.resolveWith(r,a)}};if(t<=1&&(st(e,s.done(u(i)).resolve,s.reject,!t),s.state()==="pending"||q(a[i]&&a[i].then)))return s.then();for(;i--;)st(a[i],u(i),s.reject);return s.promise()}});var ot=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;n.Deferred.exceptionHook=function(e,t){M.console&&M.console.warn&&e&&ot.test(e.name)&&M.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},n.readyException=function(e){M.setTimeout(function(){throw e})};var ve=n.Deferred();function be(){p.removeEventListener("DOMContentLoaded",be),M.removeEventListener("load",be),n.ready()}n.fn.ready=function(e){return ve.then(e).catch(function(t){n.readyException(t)}),this},n.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--n.readyWait:n.isReady)||(n.isReady=!0)!==e&&0<--n.readyWait||ve.resolveWith(p,[n])}}),n.ready.then=ve.then,p.readyState==="complete"||p.readyState!=="loading"&&!p.documentElement.doScroll?M.setTimeout(n.ready):(p.addEventListener("DOMContentLoaded",be),M.addEventListener("load",be));var Ge=function(e,t,i,r,a,s,u){var h=0,y=e.length,_=i==null;if(d(i)==="object")for(h in a=!0,i)Ge(e,t,h,i[h],!0,s,u);else if(r!==void 0&&(a=!0,q(r)||(u=!0),_&&(u?(t.call(e,r),t=null):(_=t,t=function(k,N,b){return _.call(n(k),b)})),t))for(;h<y;h++)t(e[h],i,u?r:r.call(e[h],h,t(e[h],i)));return a?e:_?t.call(e):y?t(e[0],i):s},tn=/^-ms-/,ht=/-([a-z])/g;function nn(e,t){return t.toUpperCase()}function We(e){return e.replace(tn,"ms-").replace(ht,nn)}
7var Ke=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function gt(){this.expando=n.expando+gt.uid++}gt.uid=1,gt.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ke(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var r,a=this.cache(e);if(typeof t=="string")a[We(t)]=i;else for(r in t)a[We(r)]=t[r];return a},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][We(t)]},access:function(e,t,i){return t===void 0||t&&typeof t=="string"&&i===void 0?this.get(e,t):(this.set(e,t,i),i!==void 0?i:t)},remove:function(e,t){var i,r=e[this.expando];if(r!==void 0){if(t!==void 0)for(i=(t=Array.isArray(t)?t.map(We):(t=We(t))in r?[t]:t.match(ue)||[]).length;i--;)delete r[t[i]];(t===void 0||n.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!n.isEmptyObject(t)}};var z=new gt,Re=new gt,hi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,gi=/[A-Z]/g;function Dn(e,t,i){var r,a;if(i===void 0&&e.nodeType===1)if(r="data-"+t.replace(gi,"-$&").toLowerCase(),typeof(i=e.getAttribute(r))=="string"){try{i=(a=i)==="true"||a!=="false"&&(a==="null"?null:a===+a+""?+a:hi.test(a)?JSON.parse(a):a)}catch{}Re.set(e,t,i)}else i=void 0;return i}n.extend({hasData:function(e){return Re.hasData(e)||z.hasData(e)},data:function(e,t,i){return Re.access(e,t,i)},removeData:function(e,t){Re.remove(e,t)},_data:function(e,t,i){return z.access(e,t,i)},_removeData:function(e,t){z.remove(e,t)}}),n.fn.extend({data:function(e,t){var i,r,a,s=this[0],u=s&&s.attributes;if(e===void 0){if(this.length&&(a=Re.get(s),s.nodeType===1&&!z.get(s,"hasDataAttrs"))){for(i=u.length;i--;)u[i]&&(r=u[i].name).indexOf("data-")===0&&(r=We(r.slice(5)),Dn(s,r,a[r]));z.set(s,"hasDataAttrs",!0)}return a}return typeof e=="object"?this.each(function(){Re.set(this,e)}):Ge(this,function(h){var y;if(s&&h===void 0)return(y=Re.get(s,e))!==void 0||(y=Dn(s,e))!==void 0?y:void 0;this.each(function(){Re.set(this,e,h)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Re.remove(this,e)})}}),n.extend({queue:function(e,t,i){var r;if(e)return t=(t||"fx")+"queue",r=z.get(e,t),i&&(!r||Array.isArray(i)?r=z.access(e,t,n.makeArray(i)):r.push(i)),r||[]},dequeue:function(e,t){t=t||"fx";var i=n.queue(e,t),r=i.length,a=i.shift(),s=n._queueHooks(e,t);a==="inprogress"&&(a=i.shift(),r--),a&&(t==="fx"&&i.unshift("inprogress"),delete s.stop,a.call(e,function(){n.dequeue(e,t)},s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return z.get(e,i)||z.access(e,i,{empty:n.Callbacks("once memory").add(function(){z.remove(e,[t+"queue",i])})})}}),n.fn.extend({queue:function(e,t){var i=2;return typeof e!="string"&&(t=e,e="fx",i--),arguments.length<i?n.queue(this[0],e):t===void 0?this:this.each(function(){var r=n.queue(this,e,t);n._queueHooks(this,e),e==="fx"&&r[0]!=="inprogress"&&n.dequeue(this,e)})},dequeue:function(e){return this.each(function(){n.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,r=1,a=n.Deferred(),s=this,u=this.length,h=function(){--r||a.resolveWith(s,[s])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";u--;)(i=z.get(s[u],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(h));return h(),a.promise(t)}});var kn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,At=new RegExp("^(?:([+-])=|)("+kn+")([a-z%]*)$","i"),dt=["Top","Right","Bottom","Left"],Nt=p.documentElement,xt=function(e){return n.contains(e.ownerDocument,e)},mi={composed:!0};Nt.getRootNode&&(xt=function(e){return n.contains(e.ownerDocument,e)||e.getRootNode(mi)===e.ownerDocument});var Vt=function(e,t){return(e=t||e).style.display==="none"||e.style.display===""&&xt(e)&&n.css(e,"display")==="none"},Cn=function(e,t,i,r){var a,s,u={};for(s in t)u[s]=e.style[s],e.style[s]=t[s];for(s in a=i.apply(e,[]),t)e.style[s]=u[s];return a};function $n(e,t,i,r){var a,s,u=20,h=r?function(){return r.cur()}:function(){return n.css(e,t,"")},y=h(),_=i&&i[3]||(n.cssNumber[t]?"":"px"),k=e.nodeType&&(n.cssNumber[t]||_!=="px"&&+y)&&At.exec(n.css(e,t));if(k&&k[3]!==_){for(y/=2,_=_||k[3],k=+y||1;u--;)n.style(e,t,k+_),(1-s)*(1-(s=h()/y||.5))<=0&&(u=0),k/=s;k*=2,n.style(e,t,k+_),i=i||[]}return i&&(k=+k||+y||0,a=i[1]?k+(i[1]+1)*i[2]:+i[2],r&&(r.unit=_,r.start=k,r.end=a)),a}var En={};function bt(e,t){for(var i,r,a,s,u,h,y,_=[],k=0,N=e.length;k<N;k++)(r=e[k]).style&&(i=r.style.display,t?(i==="none"&&(_[k]=z.get(r,"display")||null,_[k]||(r.style.display="")),r.style.display===""&&Vt(r)&&(_[k]=(y=u=s=void 0,u=(a=r).ownerDocument,h=a.nodeName,(y=En[h])||(s=u.body.appendChild(u.createElement(h)),y=n.css(s,"dis
7play"),s.parentNode.removeChild(s),y==="none"&&(y="block"),En[h]=y)))):i!=="none"&&(_[k]="none",z.set(r,"display",i)));for(k=0;k<N;k++)_[k]!=null&&(e[k].style.display=_[k]);return e}n.fn.extend({show:function(){return bt(this,!0)},hide:function(){return bt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Vt(this)?n(this).show():n(this).hide()})}});var jt=/^(?:checkbox|radio)$/i,Sn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Mn=/^$|^module$|\/(?:java|ecma)script/i,Qe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ve(e,t){var i;return i=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(t||"*"):[],t===void 0||t&&H(e,t)?n.merge([e],i):i}function rn(e,t){for(var i=0,r=e.length;i<r;i++)z.set(e[i],"globalEval",!t||z.get(t[i],"globalEval"))}Qe.optgroup=Qe.option,Qe.tbody=Qe.tfoot=Qe.colgroup=Qe.caption=Qe.thead,Qe.th=Qe.td;var Ot,Ht,vi=/<|&#?\w+;/;function An(e,t,i,r,a){for(var s,u,h,y,_,k,N=t.createDocumentFragment(),b=[],T=0,W=e.length;T<W;T++)if((s=e[T])||s===0)if(d(s)==="object")n.merge(b,s.nodeType?[s]:s);else if(vi.test(s)){for(u=u||N.appendChild(t.createElement("div")),h=(Sn.exec(s)||["",""])[1].toLowerCase(),y=Qe[h]||Qe._default,u.innerHTML=y[1]+n.htmlPrefilter(s)+y[2],k=y[0];k--;)u=u.lastChild;n.merge(b,u.childNodes),(u=N.firstChild).textContent=""}else b.push(t.createTextNode(s));for(N.textContent="",T=0;s=b[T++];)if(r&&-1<n.inArray(s,r))a&&a.push(s);else if(_=xt(s),u=Ve(N.appendChild(s),"script"),_&&rn(u),i)for(k=0;s=u[k++];)Mn.test(s.type||"")&&i.push(s);return N}Ot=p.createDocumentFragment().appendChild(p.createElement("div")),(Ht=p.createElement("input")).setAttribute("type","radio"),Ht.setAttribute("checked","checked"),Ht.setAttribute("name","t"),Ot.appendChild(Ht),V.checkClone=Ot.cloneNode(!0).cloneNode(!0).lastChild.checked,Ot.innerHTML="<textarea>x</textarea>",V.noCloneChecked=!!Ot.cloneNode(!0).lastChild.defaultValue;var yi=/^key/,wi=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Nn=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function Dt(){return!1}function _i(e,t){return e===function(){try{return p.activeElement}catch{}}()==(t==="focus")}function an(e,t,i,r,a,s){var u,h;if(typeof t=="object"){for(h in typeof i!="string"&&(r=r||i,i=void 0),t)an(e,h,i,r,t[h],s);return e}if(r==null&&a==null?(a=i,r=i=void 0):a==null&&(typeof i=="string"?(a=r,r=void 0):(a=r,r=i,i=void 0)),a===!1)a=Dt;else if(!a)return e;return s===1&&(u=a,(a=function(y){return n().off(y),u.apply(this,arguments)}).guid=u.guid||(u.guid=n.guid++)),e.each(function(){n.event.add(this,t,a,r,i)})}function Ft(e,t,i){i?(z.set(e,t,!1),n.event.add(e,t,{namespace:!1,handler:function(r){var a,s,u=z.get(this,t);if(1&r.isTrigger&&this[t]){if(u.length)(n.event.special[t]||{}).delegateType&&r.stopPropagation();else if(u=S.call(arguments),z.set(this,t,u),a=i(this,t),this[t](),u!==(s=z.get(this,t))||a?z.set(this,t,!1):s={},u!==s)return r.stopImmediatePropagation(),r.preventDefault(),s.value}else u.length&&(z.set(this,t,{value:n.event.trigger(n.extend(u[0],n.Event.prototype),u.slice(1),this)}),r.stopImmediatePropagation())}})):z.get(e,t)===void 0&&n.event.add(e,t,Tt)}n.event={global:{},add:function(e,t,i,r,a){var s,u,h,y,_,k,N,b,T,W,K,J=z.get(e);if(J)for(i.handler&&(i=(s=i).handler,a=s.selector),a&&n.find.matchesSelector(Nt,a),i.guid||(i.guid=n.guid++),(y=J.events)||(y=J.events={}),(u=J.handle)||(u=J.handle=function(De){return typeof n<"u"&&n.event.triggered!==De.type?n.event.dispatch.apply(e,arguments):void 0}),_=(t=(t||"").match(ue)||[""]).length;_--;)T=K=(h=Nn.exec(t[_])||[])[1],W=(h[2]||"").split(".").sort(),T&&(N=n.event.special[T]||{},T=(a?N.delegateType:N.bindType)||T,N=n.event.special[T]||{},k=n.extend({type:T,origType:K,data:r,handler:i,guid:i.guid,selector:a,needsContext:a&&n.expr.match.needsContext.test(a),namespace:W.join(".")},s),(b=y[T])||((b=y[T]=[]).delegateCount=0,N.setup&&N.setup.call(e,r,W,u)!==!1||e.addEventListener&&e.addEventListener(T,u)),N.add&&(N.add.call(e,k),k.handler.guid||(k.handler.guid=i.guid)),a?b.splice(b.delegateCount++,0,k):b.push(k),n.event.global[T]=!0)},remove:function(e,t,i,r,a){var s,u,h,y,_,k,N,b,T,W,K,J=z.hasData(e)&&z.get(e);if(J&&(y=J.events)){for(_=(t=(t||"").match(ue)||[""]).length;_--;)if(T=K=(h=Nn.exec(t[_])||[])[1],W=(h[2]||"").split(".").sort(),T){for(N=n.event.special[T]||{},b=y[T=(r?N.delegateType:N.bindType)||T]||[],h=h[2]&&new RegExp("(^|\\.)"+W.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=s=b.length;s--;)k=b[s],!a&&K!==k.origType||i&&i.guid!==k.guid||h&&!h.test(k.namespace)||r&&r!==k.selector&&(r!=="**"||!k.selector)||(b.splice(s,1),k.selector&&b.delegateCount--,N.remove&&N.remove.call(e,k)
7);u&&!b.length&&(N.teardown&&N.teardown.call(e,W,J.handle)!==!1||n.removeEvent(e,T,J.handle),delete y[T])}else for(T in y)n.event.remove(e,T+t[_],i,r,!0);n.isEmptyObject(y)&&z.remove(e,"handle events")}},dispatch:function(e){var t,i,r,a,s,u,h=n.event.fix(e),y=new Array(arguments.length),_=(z.get(this,"events")||{})[h.type]||[],k=n.event.special[h.type]||{};for(y[0]=h,t=1;t<arguments.length;t++)y[t]=arguments[t];if(h.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,h)!==!1){for(u=n.event.handlers.call(this,h,_),t=0;(a=u[t++])&&!h.isPropagationStopped();)for(h.currentTarget=a.elem,i=0;(s=a.handlers[i++])&&!h.isImmediatePropagationStopped();)h.rnamespace&&s.namespace!==!1&&!h.rnamespace.test(s.namespace)||(h.handleObj=s,h.data=s.data,(r=((n.event.special[s.origType]||{}).handle||s.handler).apply(a.elem,y))!==void 0&&(h.result=r)===!1&&(h.preventDefault(),h.stopPropagation()));return k.postDispatch&&k.postDispatch.call(this,h),h.result}},handlers:function(e,t){var i,r,a,s,u,h=[],y=t.delegateCount,_=e.target;if(y&&_.nodeType&&!(e.type==="click"&&1<=e.button)){for(;_!==this;_=_.parentNode||this)if(_.nodeType===1&&(e.type!=="click"||_.disabled!==!0)){for(s=[],u={},i=0;i<y;i++)u[a=(r=t[i]).selector+" "]===void 0&&(u[a]=r.needsContext?-1<n(a,this).index(_):n.find(a,this,null,[_]).length),u[a]&&s.push(r);s.length&&h.push({elem:_,handlers:s})}}return _=this,y<t.length&&h.push({elem:_,handlers:t.slice(y)}),h},addProp:function(e,t){Object.defineProperty(n.Event.prototype,e,{enumerable:!0,configurable:!0,get:q(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(i){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:i})}})},fix:function(e){return e[n.expando]?e:new n.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return jt.test(t.type)&&t.click&&H(t,"input")&&Ft(t,"click",Tt),!1},trigger:function(e){var t=this||e;return jt.test(t.type)&&t.click&&H(t,"input")&&Ft(t,"click"),!0},_default:function(e){var t=e.target;return jt.test(t.type)&&t.click&&H(t,"input")&&z.get(t,"click")||H(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},n.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},n.Event=function(e,t){if(!(this instanceof n.Event))return new n.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?Tt:Dt,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&n.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[n.expando]=!0},n.Event.prototype={constructor:n.Event,isDefaultPrevented:Dt,isPropagationStopped:Dt,isImmediatePropagationStopped:Dt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Tt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Tt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Tt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},n.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return e.which==null&&yi.test(e.type)?e.charCode!=null?e.charCode:e.keyCode:!e.which&&t!==void 0&&wi.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},n.event.addProp),n.each({focus:"focusin",blur:"focusout"},function(e,t){n.event.special[e]={setup:function(){return Ft(this,e,_i),!1},trigger:function(){return Ft(this,e),!0},delegateType:t}}
7),n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){n.event.special[e]={delegateType:t,bindType:t,handle:function(i){var r,a=i.relatedTarget,s=i.handleObj;return a&&(a===this||n.contains(this,a))||(i.type=s.origType,r=s.handler.apply(this,arguments),i.type=t),r}}}),n.fn.extend({on:function(e,t,i,r){return an(this,e,t,i,r)},one:function(e,t,i,r){return an(this,e,t,i,r,1)},off:function(e,t,i){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,n(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(a in e)this.off(a,t,e[a]);return this}return t!==!1&&typeof t!="function"||(i=t,t=void 0),i===!1&&(i=Dt),this.each(function(){n.event.remove(this,e,i,t)})}});var xi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,bi=/<script|<style|<link/i,Ti=/checked\s*(?:[^=]|=\s*.checked.)/i,Di=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function jn(e,t){return H(e,"table")&&H(t.nodeType!==11?t:t.firstChild,"tr")&&n(e).children("tbody")[0]||e}function ki(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Ci(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function On(e,t){var i,r,a,s,u,h,y,_;if(t.nodeType===1){if(z.hasData(e)&&(s=z.access(e),u=z.set(t,s),_=s.events))for(a in delete u.handle,u.events={},_)for(i=0,r=_[a].length;i<r;i++)n.event.add(t,a,_[a][i]);Re.hasData(e)&&(h=Re.access(e),y=n.extend({},h),Re.set(t,y))}}function kt(e,t,i,r){t=P.apply([],t);var a,s,u,h,y,_,k=0,N=e.length,b=N-1,T=t[0],W=q(T);if(W||1<N&&typeof T=="string"&&!V.checkClone&&Ti.test(T))return e.each(function(K){var J=e.eq(K);W&&(t[0]=T.call(this,K,J.html())),kt(J,t,i,r)});if(N&&(s=(a=An(t,e[0].ownerDocument,!1,e,r)).firstChild,a.childNodes.length===1&&(a=s),s||r)){for(h=(u=n.map(Ve(a,"script"),ki)).length;k<N;k++)y=a,k!==b&&(y=n.clone(y,!0,!0),h&&n.merge(u,Ve(y,"script"))),i.call(e[k],y,k);if(h)for(_=u[u.length-1].ownerDocument,n.map(u,Ci),k=0;k<h;k++)y=u[k],Mn.test(y.type||"")&&!z.access(y,"globalEval")&&n.contains(_,y)&&(y.src&&(y.type||"").toLowerCase()!=="module"?n._evalUrl&&!y.noModule&&n._evalUrl(y.src,{nonce:y.nonce||y.getAttribute("nonce")}):oe(y.textContent.replace(Di,""),y,_))}return e}function In(e,t,i){for(var r,a=t?n.filter(t,e):e,s=0;(r=a[s])!=null;s++)i||r.nodeType!==1||n.cleanData(Ve(r)),r.parentNode&&(i&&xt(r)&&rn(Ve(r,"script")),r.parentNode.removeChild(r));return e}n.extend({htmlPrefilter:function(e){return e.replace(xi,"<$1></$2>")},clone:function(e,t,i){var r,a,s,u,h,y,_,k=e.cloneNode(!0),N=xt(e);if(!(V.noCloneChecked||e.nodeType!==1&&e.nodeType!==11||n.isXMLDoc(e)))for(u=Ve(k),r=0,a=(s=Ve(e)).length;r<a;r++)h=s[r],y=u[r],(_=y.nodeName.toLowerCase())==="input"&&jt.test(h.type)?y.checked=h.checked:_!=="input"&&_!=="textarea"||(y.defaultValue=h.defaultValue);if(t)if(i)for(s=s||Ve(e),u=u||Ve(k),r=0,a=s.length;r<a;r++)On(s[r],u[r]);else On(e,k);return 0<(u=Ve(k,"script")).length&&rn(u,!N&&Ve(e,"script")),k},cleanData:function(e){for(var t,i,r,a=n.event.special,s=0;(i=e[s])!==void 0;s++)if(Ke(i)){if(t=i[z.expando]){if(t.events)for(r in t.events)a[r]?n.event.remove(i,r):n.removeEvent(i,r,t.handle);i[z.expando]=void 0}i[Re.expando]&&(i[Re.expando]=void 0)}}}),n.fn.extend({detach:function(e){return In(this,e,!0)},remove:function(e){return In(this,e)},text:function(e){return Ge(this,function(t){return t===void 0?n.text(this):this.empty().each(function(){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||(this.textContent=t)})},null,e,arguments.length)},append:function(){return kt(this,arguments,function(e){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||jn(this,e).appendChild(e)})},prepend:function(){return kt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=jn(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return kt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return kt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(n.cleanData(Ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e!=null&&e,t=t??e,this.map(function(){return n.clone(this,e,t)})},html:function(e){return Ge(this,function(t){var i=this[0]||{},r=0,a=this.length;if(t===void 0&&i.nodeType===1)return i.innerHTML;if(typeof t=="string"&&!bi.test(t)&&!Qe[(Sn.exec(t)||["",""])[1].toLowerCase()]){t=n.htmlPrefilter(t);try{for(;r<a;r++)(i=this[r]||{}).nodeType===1&&(n.cleanData(Ve(i,!1)),i.innerHTML=t);i=0}catch{}}i&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(){var e=[];return kt(this,arguments,function(t){var i=this.parentNode;n.inArray(this,e)<0&&(n.cleanData(Ve(this)),i&&i.replaceChild(t,this))},e)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){n.fn[e]=function(i){for(var r,a=[],s=n(i),u=s.length-1,h=0;h<=u;h++)r=h===u?this:this.clone(!0),n(s[h])[t](r),E.apply(a,r.get());return this.pushStack(a)}});var sn=new RegExp("^("+kn+")(?!px)[a-z%]+$","i"),Wt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=M),t.getComputedStyle(e)},$i=new RegExp(dt.join("|"),"i");function It(e,t,i){var r,a,s,u,h=e.style;return(i=i||Wt(e))&&((u=i.getPropertyValue(t)||i[t])!==""||xt(e)||(u=n.style(e,t)),!V.pixelBoxStyles()&&sn.test(u)&&$i.test(t)&&(r=h.width,a=h.minWidth,s=h.maxWidth,h.minWidth=h.maxWidth=h.width=u,u=i.width,h.width=r,h.minWidth=a,h.maxWidth=s)),u!==void 0?u+"":u}function Pn(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(y){h.style.cssText="position:absolute;
7left:-11111px;width:60px;margin-top:1px;padding:0;border:0",y.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Nt.appendChild(h).appendChild(y);var _=M.getComputedStyle(y);i=_.top!=="1%",u=t(_.marginLeft)===12,y.style.right="60%",s=t(_.right)===36,r=t(_.width)===36,y.style.position="absolute",a=t(y.offsetWidth/3)===12,Nt.removeChild(h),y=null}}function t(_){return Math.round(parseFloat(_))}var i,r,a,s,u,h=p.createElement("div"),y=p.createElement("div");y.style&&(y.style.backgroundClip="content-box",y.cloneNode(!0).style.backgroundClip="",V.clearCloneStyle=y.style.backgroundClip==="content-box",n.extend(V,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),a}}))})();var Un=["Webkit","Moz","ms"],Ln=p.createElement("div").style,qn={};function on(e){var t=n.cssProps[e]||qn[e];return t||(e in Ln?e:qn[e]=function(i){for(var r=i[0].toUpperCase()+i.slice(1),a=Un.length;a--;)if((i=Un[a]+r)in Ln)return i}(e)||e)}var Ei=/^(none|table(?!-c[ea]).+)/,Rn=/^--/,Si={position:"absolute",visibility:"hidden",display:"block"},Vn={letterSpacing:"0",fontWeight:"400"};function Hn(e,t,i){var r=At.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function ln(e,t,i,r,a,s){var u=t==="width"?1:0,h=0,y=0;if(i===(r?"border":"content"))return 0;for(;u<4;u+=2)i==="margin"&&(y+=n.css(e,i+dt[u],!0,a)),r?(i==="content"&&(y-=n.css(e,"padding"+dt[u],!0,a)),i!=="margin"&&(y-=n.css(e,"border"+dt[u]+"Width",!0,a))):(y+=n.css(e,"padding"+dt[u],!0,a),i!=="padding"?y+=n.css(e,"border"+dt[u]+"Width",!0,a):h+=n.css(e,"border"+dt[u]+"Width",!0,a));return!r&&0<=s&&(y+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-y-h-.5))||0),y}function Fn(e,t,i){var r=Wt(e),a=(!V.boxSizingReliable()||i)&&n.css(e,"boxSizing",!1,r)==="border-box",s=a,u=It(e,t,r),h="offset"+t[0].toUpperCase()+t.slice(1);if(sn.test(u)){if(!i)return u;u="auto"}return(!V.boxSizingReliable()&&a||u==="auto"||!parseFloat(u)&&n.css(e,"display",!1,r)==="inline")&&e.getClientRects().length&&(a=n.css(e,"boxSizing",!1,r)==="border-box",(s=h in e)&&(u=e[h])),(u=parseFloat(u)||0)+ln(e,t,i||(a?"border":"content"),s,r,u)+"px"}function tt(e,t,i,r,a){return new tt.prototype.init(e,t,i,r,a)}n.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=It(e,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,r){if(e&&e.nodeType!==3&&e.nodeType!==8&&e.style){var a,s,u,h=We(t),y=Rn.test(t),_=e.style;if(y||(t=on(h)),u=n.cssHooks[t]||n.cssHooks[h],i===void 0)return u&&"get"in u&&(a=u.get(e,!1,r))!==void 0?a:_[t];(s=typeof i)=="string"&&(a=At.exec(i))&&a[1]&&(i=$n(e,t,a),s="number"),i!=null&&i==i&&(s!=="number"||y||(i+=a&&a[3]||(n.cssNumber[h]?"":"px")),V.clearCloneStyle||i!==""||t.indexOf("background")!==0||(_[t]="inherit"),u&&"set"in u&&(i=u.set(e,i,r))===void 0||(y?_.setProperty(t,i):_[t]=i))}},css:function(e,t,i,r){var a,s,u,h=We(t);return Rn.test(t)||(t=on(h)),(u=n.cssHooks[t]||n.cssHooks[h])&&"get"in u&&(a=u.get(e,!0,i)),a===void 0&&(a=It(e,t,r)),a==="normal"&&t in Vn&&(a=Vn[t]),i===""||i?(s=parseFloat(a),i===!0||isFinite(s)?s||0:a):a}}),n.each(["height","width"],function(e,t){n.cssHooks[t]={get:function(i,r,a){if(r)return!Ei.test(n.css(i,"display"))||i.getClientRects().length&&i.getBoundingClientRect().width?Fn(i,t,a):Cn(i,Si,function(){return Fn(i,t,a)})},set:function(i,r,a){var s,u=Wt(i),h=!V.scrollboxSize()&&u.position==="absolute",y=(h||a)&&n.css(i,"boxSizing",!1,u)==="border-box",_=a?ln(i,t,a,y,u):0;return y&&h&&(_-=Math.ceil(i["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(u[t])-ln(i,t,"border",!1,u)-.5)),_&&(s=At.exec(r))&&(s[3]||"px")!=="px"&&(i.style[t]=r,r=n.css(i,t)),Hn(0,r,_)}}}),n.cssHooks.marginLeft=Pn(V.reliableMarginLeft,function(e,t){if(t)return(parseFloat(It(e,"marginLeft"))||e.getBoundingClientRect().left-Cn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),n.each({margin:"",padding:"",border:"Width"},function(e,t){n.cssHooks[e+t]={expand:function(i){for(var r=0,a={},s=typeof i=="string"?i.split(" "):[i];r<4;r++)a[e+dt[r]+t]=s[r]||s[r-2]||s[0];return a}},e!=="margin"&&(n.cssHooks[e+t].set=Hn)}),n.fn.extend({css:function(e,t){return Ge(this,function(i,r,a){var s,u,h={},y=0;if(Array.isArray(r)){for(s=Wt(i),u=r.length;y<u;y++)h[r[y]]=n.css(i,r[y],!1,s);return h}return a!==void 0?n.style(i,r,a):n.css(i,r)},e,t,1<arguments.length)}}),((n.Tween=tt).prototype={constructor:tt,init:function(e,t,i,r,a,s){this.elem=e,this.prop=i,this.easing=a||n.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(n.cssNumber[i]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,i=tt.propHooks[this.prop];return this.options.duration?this.pos=t=n.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):tt.propHooks._default.set(this),this}}).init.prototype=tt.prototype,(tt.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=n.css(e.elem,e.prop,""))&&t!=="auto"?t:0},set:function(e){n.fx.step[e.prop]?n.fx.step[e.prop](e):e.elem.nodeType!==1||!n.cssHooks[e.prop]&&e.elem.style[on(e.prop)]==null?e.elem[e.prop]=e.now:n.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},n.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},n.fx=tt.prototype.init,n.fx.step={};var Ct,Bt,$t,Wn,Mi=/^(?:toggle|show|hide)$/,Ai=/queueHooks$/;function un(){Bt&&(p.hidden===!1&&M.requestAnimationFrame?M.requestAnimationFrame(un):M.setTimeout(un,n.fx.interval),n.fx.tick())}function Bn(){return M.setTimeout(function(){Ct=void 0}),Ct=Date.now()}function Yt(e,t){var i,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(i=dt[r])]=a["padding"+i]=e;return t&&(a.opacity=a.width=e),a}function Yn(e,t,i){for(var r,a=(nt.tweeners[t]||[]).concat(nt.tweeners["*"]),s=0,u=a.length;s<u;s++)if(r=a[s].call(i,t,e))return r}function nt(e,t,i){var r,a,s=0,u=nt.prefilters.length,h=n.Deferred().always(function(){delete y.elem}),y=function(){if(a)return!1;for(var N=Ct||Bn(),b=Math.max(0,_.startTime+_.duration-N),T=1-(b/_.duration||0),W=0,K=_.tweens.length;W<K;W++)_.tweens[W].run(T);return h.notifyWith(e,[_,T,b]),T<1&&K?b:(K||h.notifyWith(e,[_,1,0]),h.resolveWith(e,[_]),!1)},_=h.promise({elem:e,props:n.extend({},t),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},i),originalProperties:t,originalOptions:i,startTime:Ct||Bn(),duration:i.duration,tweens:[],createTween:function(N,b){var T=n.Tween(e,_.opts,N,b,_.opts.specialEasing[N]||_.opts.easing);return _.tweens.push(T),T},stop:function(N){var b=0,T=N?_.tweens.length:0;if(a)return this;for(a=!0;b<T;b++)_.tweens[b].run(1);return N?(h.notifyWith(e,[_,1,0]),h.resolveWith(e,[_,N])):h.rejectWith(e,[_,N]),this}}),k=_.props;for(!function(N,b){var T,W,K,J,De;for(T in N)if(K=b[W=We(T)],J=N[T],Array.isArray(J)&&(K=J[1],J=N[T]=J[0]),T!==W&&(N[W]=J,delete N[T]),(De=n.cssHooks[W])&&"expand"in De)for(T in J=De.expand(J),delete N[W],J)T in N||(N[T]=J[T],b[T]=K);else b[W]=K}(k,_.opts.specialEasing);s<u;
7s++)if(r=nt.prefilters[s].call(_,e,k,_.opts))return q(r.stop)&&(n._queueHooks(_.elem,_.opts.queue).stop=r.stop.bind(r)),r;return n.map(k,Yn,_),q(_.opts.start)&&_.opts.start.call(e,_),_.progress(_.opts.progress).done(_.opts.done,_.opts.complete).fail(_.opts.fail).always(_.opts.always),n.fx.timer(n.extend(y,{elem:e,anim:_,queue:_.opts.queue})),_}n.Animation=n.extend(nt,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return $n(i.elem,e,At.exec(t),i),i}]},tweener:function(e,t){q(e)?(t=e,e=["*"]):e=e.match(ue);for(var i,r=0,a=e.length;r<a;r++)i=e[r],nt.tweeners[i]=nt.tweeners[i]||[],nt.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var r,a,s,u,h,y,_,k,N="width"in t||"height"in t,b=this,T={},W=e.style,K=e.nodeType&&Vt(e),J=z.get(e,"fxshow");for(r in i.queue||((u=n._queueHooks(e,"fx")).unqueued==null&&(u.unqueued=0,h=u.empty.fire,u.empty.fire=function(){u.unqueued||h()}),u.unqueued++,b.always(function(){b.always(function(){u.unqueued--,n.queue(e,"fx").length||u.empty.fire()})})),t)if(a=t[r],Mi.test(a)){if(delete t[r],s=s||a==="toggle",a===(K?"hide":"show")){if(a!=="show"||!J||J[r]===void 0)continue;K=!0}T[r]=J&&J[r]||n.style(e,r)}if((y=!n.isEmptyObject(t))||!n.isEmptyObject(T))for(r in N&&e.nodeType===1&&(i.overflow=[W.overflow,W.overflowX,W.overflowY],(_=J&&J.display)==null&&(_=z.get(e,"display")),(k=n.css(e,"display"))==="none"&&(_?k=_:(bt([e],!0),_=e.style.display||_,k=n.css(e,"display"),bt([e]))),(k==="inline"||k==="inline-block"&&_!=null)&&n.css(e,"float")==="none"&&(y||(b.done(function(){W.display=_}),_==null&&(k=W.display,_=k==="none"?"":k)),W.display="inline-block")),i.overflow&&(W.overflow="hidden",b.always(function(){W.overflow=i.overflow[0],W.overflowX=i.overflow[1],W.overflowY=i.overflow[2]})),y=!1,T)y||(J?"hidden"in J&&(K=J.hidden):J=z.access(e,"fxshow",{display:_}),s&&(J.hidden=!K),K&&bt([e],!0),b.done(function(){for(r in K||bt([e]),z.remove(e,"fxshow"),T)n.style(e,r,T[r])})),y=Yn(K?J[r]:0,r,b),r in J||(J[r]=y.start,K&&(y.end=y.start,y.start=0))}],prefilter:function(e,t){t?nt.prefilters.unshift(e):nt.prefilters.push(e)}}),n.speed=function(e,t,i){var r=e&&typeof e=="object"?n.extend({},e):{complete:i||!i&&t||q(e)&&e,duration:e,easing:i&&t||t&&!q(t)&&t};return n.fx.off?r.duration=0:typeof r.duration!="number"&&(r.duration in n.fx.speeds?r.duration=n.fx.speeds[r.duration]:r.duration=n.fx.speeds._default),r.queue!=null&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){q(r.old)&&r.old.call(this),r.queue&&n.dequeue(this,r.queue)},r},n.fn.extend({fadeTo:function(e,t,i,r){return this.filter(Vt).css("opacity",0).show().end().animate({opacity:t},e,i,r)},animate:function(e,t,i,r){var a=n.isEmptyObject(e),s=n.speed(t,i,r),u=function(){var h=nt(this,n.extend({},e),s);(a||z.get(this,"finish"))&&h.stop(!0)};return u.finish=u,a||s.queue===!1?this.each(u):this.queue(s.queue,u)},stop:function(e,t,i){var r=function(a){var s=a.stop;delete a.stop,s(i)};return typeof e!="string"&&(i=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var a=!0,s=e!=null&&e+"queueHooks",u=n.timers,h=z.get(this);if(s)h[s]&&h[s].stop&&r(h[s]);else for(s in h)h[s]&&h[s].stop&&Ai.test(s)&&r(h[s]);for(s=u.length;s--;)u[s].elem!==this||e!=null&&u[s].queue!==e||(u[s].anim.stop(i),a=!1,u.splice(s,1));!a&&i||n.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,i=z.get(this),r=i[e+"queue"],a=i[e+"queueHooks"],s=n.timers,u=r?r.length:0;for(i.finish=!0,n.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<u;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete i.finish})}}),n.each(["toggle","show","hide"],function(e,t){var i=n.fn[t];n.fn[t]=function(r,a,s){return r==null||typeof r=="boolean"?i.apply(this,arguments):this.animate(Yt(t,!0),r,a,s)}}),n.each({slideDown:Yt("show"),slideUp:Yt("hide"),slideToggle:Yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){n.fn[e]=function(i,r,a){return this.animate(t,i,r,a)}}),n.timers=[],n.fx.tick=function(){var e,t=0,i=n.timers;for(Ct=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||n.fx.stop(),Ct=void 0},n.fx.timer=function(e){n.timers.push(e),n.fx.start()},n.fx.interval=13,n.fx.start=function(){Bt||(Bt=!0,un())},n.fx.stop=function(){Bt=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(e,t){return e=n.fx&&n.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(i,r){var a=M.setTimeout(i,e);r.stop=function(){M.clearTimeout(a)}})},$t=p.createElement("input"),Wn=p.createElement("select").appendChild(p.createElement("option")),$t.type="checkbox",V.checkOn=$t.value!=="",V.optSelected=Wn.selected,($t=p.createElement("input")).value="t",$t.type="radio",V.radioValue=$t.value==="t";var zn,Pt=n.expr.attrHandle;n.fn.extend({attr:function(e,t){return Ge(this,n.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){n.removeAttr(this,e)})}}),n.extend({attr:function(e,t,i){var r,a,s=e.nodeType;if(s!==3&&s!==8&&s!==2)return typeof e.getAttribute>"u"?n.prop(e,t,i):(s===1&&n.isXMLDoc(e)||(a=n.attrHooks[t.toLowerCase()]||(n.expr.match.bool.test(t)?zn:void 0)),i!==void 0?i===null?void n.removeAttr(e,t):a&&"set"in a&&(r=a.set(e,i,t))!==void 0?r:(e.setAttribute(t,i+""),i):a&&"get"in a&&(r=a.get(e,t))!==null?r:(r=n.find.attr(e,t))==null?void 0:r)},attrHooks:{type:{set:function(e,t){if(!V.radioValue&&t==="radio"&&H(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,r=0,a=t&&t.match(ue);if(a&&e.nodeType===1)for(;i=a[r++];)e.removeAttribute(i)}}),zn={set:function(e,t,i){return t===!1?n.removeAttr(e,i):e.setAttribute(i,i),i}},n.each(n.expr.match.bool.source.match(/\w+/g),function(e,t){var i=Pt[t]||n.find.attr;Pt[t]=function(r,a,s){var u,h,y=a.toLowerCase();return s||(h=Pt[y],Pt[y]=u,u=i(r,a,s)!=null?y:null,Pt[y]=h),u}});var Ni=/^(?:input|select|textarea|button)$/i,ji=/^(?:a|area)$/i;function mt(e){return(e.match(ue)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function cn(e){return Array.isArray(e)?e:typeof e=="string"&&e.match(ue)||[]}n.fn.extend({prop:function(e,t){return Ge(this,n.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[n.propFix[e]||e]})}}),n.extend({prop:function(e,t,i){var r,a,s=e.nodeType;if(s!==3&&s!==8&&s!==2)return s===1&&n.isXMLDoc(e)||(t=n.propFix[t]||t,a=n.propHooks[t]),i!==void 0?a&&"set"in a&&(r=a.set(e,i,t))!==void 0?r:e[t]=i:a&&"get"in a&&(r=a.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=n.find.attr(e,"tabindex");return t?parseInt(t,10):Ni.test(e.nodeName)||ji.test(e.nodeName)&&e.href?
70:-1}}},propFix:{for:"htmlFor",class:"className"}}),V.optSelected||(n.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),n.fn.extend({addClass:function(e){var t,i,r,a,s,u,h,y=0;if(q(e))return this.each(function(_){n(this).addClass(e.call(this,_,vt(this)))});if((t=cn(e)).length){for(;i=this[y++];)if(a=vt(i),r=i.nodeType===1&&" "+mt(a)+" "){for(u=0;s=t[u++];)r.indexOf(" "+s+" ")<0&&(r+=s+" ");a!==(h=mt(r))&&i.setAttribute("class",h)}}return this},removeClass:function(e){var t,i,r,a,s,u,h,y=0;if(q(e))return this.each(function(_){n(this).removeClass(e.call(this,_,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=cn(e)).length){for(;i=this[y++];)if(a=vt(i),r=i.nodeType===1&&" "+mt(a)+" "){for(u=0;s=t[u++];)for(;-1<r.indexOf(" "+s+" ");)r=r.replace(" "+s+" "," ");a!==(h=mt(r))&&i.setAttribute("class",h)}}return this},toggleClass:function(e,t){var i=typeof e,r=i==="string"||Array.isArray(e);return typeof t=="boolean"&&r?t?this.addClass(e):this.removeClass(e):q(e)?this.each(function(a){n(this).toggleClass(e.call(this,a,vt(this),t),t)}):this.each(function(){var a,s,u,h;if(r)for(s=0,u=n(this),h=cn(e);a=h[s++];)u.hasClass(a)?u.removeClass(a):u.addClass(a);else e!==void 0&&i!=="boolean"||((a=vt(this))&&z.set(this,"__className__",a),this.setAttribute&&this.setAttribute("class",a||e===!1?"":z.get(this,"__className__")||""))})},hasClass:function(e){var t,i,r=0;for(t=" "+e+" ";i=this[r++];)if(i.nodeType===1&&-1<(" "+mt(vt(i))+" ").indexOf(t))return!0;return!1}});var Oi=/\r/g;n.fn.extend({val:function(e){var t,i,r,a=this[0];return arguments.length?(r=q(e),this.each(function(s){var u;this.nodeType===1&&((u=r?e.call(this,s,n(this).val()):e)==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=n.map(u,function(h){return h==null?"":h+""})),(t=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,u,"value")!==void 0||(this.value=u))})):a?(t=n.valHooks[a.type]||n.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&(i=t.get(a,"value"))!==void 0?i:typeof(i=a.value)=="string"?i.replace(Oi,""):i??"":void 0}}),n.extend({valHooks:{option:{get:function(e){var t=n.find.attr(e,"value");return t??mt(n.text(e))}},select:{get:function(e){var t,i,r,a=e.options,s=e.selectedIndex,u=e.type==="select-one",h=u?null:[],y=u?s+1:a.length;for(r=s<0?y:u?s:0;r<y;r++)if(((i=a[r]).selected||r===s)&&!i.disabled&&(!i.parentNode.disabled||!H(i.parentNode,"optgroup"))){if(t=n(i).val(),u)return t;h.push(t)}return h},set:function(e,t){for(var i,r,a=e.options,s=n.makeArray(t),u=a.length;u--;)((r=a[u]).selected=-1<n.inArray(n.valHooks.option.get(r),s))&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<n.inArray(n(e).val(),t)}},V.checkOn||(n.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})}),V.focusin="onfocusin"in M;var Jn=/^(?:focusinfocus|focusoutblur)$/,Xn=function(e){e.stopPropagation()};n.extend(n.event,{trigger:function(e,t,i,r){var a,s,u,h,y,_,k,N,b=[i||p],T=D.call(e,"type")?e.type:e,W=D.call(e,"namespace")?e.namespace.split("."):[];if(s=N=u=i=i||p,i.nodeType!==3&&i.nodeType!==8&&!Jn.test(T+n.event.triggered)&&(-1<T.indexOf(".")&&(T=(W=T.split(".")).shift(),W.sort()),y=T.indexOf(":")<0&&"on"+T,(e=e[n.expando]?e:new n.Event(T,typeof e=="object"&&e)).isTrigger=r?2:3,e.namespace=W.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+W.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=t==null?[e]:n.makeArray(t,[e]),k=n.event.special[T]||{}
7,r||!k.trigger||k.trigger.apply(i,t)!==!1)){if(!r&&!k.noBubble&&!ce(i)){for(h=k.delegateType||T,Jn.test(h+T)||(s=s.parentNode);s;s=s.parentNode)b.push(s),u=s;u===(i.ownerDocument||p)&&b.push(u.defaultView||u.parentWindow||M)}for(a=0;(s=b[a++])&&!e.isPropagationStopped();)N=s,e.type=1<a?h:k.bindType||T,(_=(z.get(s,"events")||{})[e.type]&&z.get(s,"handle"))&&_.apply(s,t),(_=y&&s[y])&&_.apply&&Ke(s)&&(e.result=_.apply(s,t),e.result===!1&&e.preventDefault());return e.type=T,r||e.isDefaultPrevented()||k._default&&k._default.apply(b.pop(),t)!==!1||!Ke(i)||y&&q(i[T])&&!ce(i)&&((u=i[y])&&(i[y]=null),n.event.triggered=T,e.isPropagationStopped()&&N.addEventListener(T,Xn),i[T](),e.isPropagationStopped()&&N.removeEventListener(T,Xn),n.event.triggered=void 0,u&&(i[y]=u)),e.result}},simulate:function(e,t,i){var r=n.extend(new n.Event,i,{type:e,isSimulated:!0});n.event.trigger(r,null,t)}}),n.fn.extend({trigger:function(e,t){return this.each(function(){n.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return n.event.trigger(e,t,i,!0)}}),V.focusin||n.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(r){n.event.simulate(t,r.target,n.event.fix(r))};n.event.special[t]={setup:function(){var r=this.ownerDocument||this,a=z.access(r,t);a||r.addEventListener(e,i,!0),z.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this,a=z.access(r,t)-1;a?z.access(r,t,a):(r.removeEventListener(e,i,!0),z.remove(r,t))}}});var Ut=M.location,Gn=Date.now(),dn=/\?/;n.parseXML=function(e){var t;if(!e||typeof e!="string")return null;try{t=new M.DOMParser().parseFromString(e,"text/xml")}catch{t=void 0}return t&&!t.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+e),t};var Ii=/\[\]$/,Kn=/\r?\n/g,Pi=/^(?:submit|button|image|reset|file)$/i,Ui=/^(?:input|select|textarea|keygen)/i;function fn(e,t,i,r){var a;if(Array.isArray(t))n.each(t,function(s,u){i||Ii.test(e)?r(e,u):fn(e+"["+(typeof u=="object"&&u!=null?s:"")+"]",u,i,r)});else if(i||d(t)!=="object")r(e,t);else for(a in t)fn(e+"["+a+"]",t[a],i,r)}n.param=function(e,t){var i,r=[],a=function(s,u){var h=q(u)?u():u;r[r.length]=encodeURIComponent(s)+"="+encodeURIComponent(h??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!n.isPlainObject(e))n.each(e,function(){a(this.name,this.value)});else for(i in e)fn(i,e[i],t,a);return r.join("&")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=n.prop(this,"elements");return e?n.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!n(this).is(":disabled")&&Ui.test(this.nodeName)&&!Pi.test(e)&&(this.checked||!jt.test(e))}).map(function(e,t){var i=n(this).val();return i==null?null:Array.isArray(i)?n.map(i,function(r){return{name:t.name,value:r.replace(Kn,`\r 8`)}}):{name:t.name,value:i.replace(Kn,`\r 9`)}}).get()}});var Li=/%20/g,qi=/#.*$/,Ri=/([?&])_=[^&]*/,Vi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Hi=/^(?:GET|HEAD)$/,Fi=/^\/\//,Qn={},pn={},Zn="*/".concat("*"),hn=p.createElement("a");function ei(e){return function(t,i){typeof t!="string"&&(i=t,t="*");var r,a=0,s=t.toLowerCase().match(ue)||[];if(q(i))for(;r=s[a++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(i)):(e[r]=e[r]||[]).push(i)}}function ti(e,t,i,r){var a={},s=e===pn;function u(h){var y;return a[h]=!0,n.each(e[h]||[],function(_,k){var N=k(t,i,r);return typeof N!="string"||s||a[N]?s?!(y=N):void 0:(t.dataTypes.unshift(N),u(N),!1)}),y}return u(t.dataTypes[0])||!a["*"]&&u("*")}function gn(e,t){var i,r,a=n.ajaxSettings.flatOptions||{};for(i in t)t[i]!==void 0&&((a[i]?e:r||(r={}))[i]=t[i]);return r&&n.extend(!0,e,r),e}hn.href=Ut.href,n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ut.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ut.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":n.parseXML}
9,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?gn(gn(e,n.ajaxSettings),t):gn(n.ajaxSettings,e)},ajaxPrefilter:ei(Qn),ajaxTransport:ei(pn),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var i,r,a,s,u,h,y,_,k,N,b=n.ajaxSetup({},t),T=b.context||b,W=b.context&&(T.nodeType||T.jquery)?n(T):n.event,K=n.Deferred(),J=n.Callbacks("once memory"),De=b.statusCode||{},Ae={},Be={},we="canceled",ne={readyState:0,getResponseHeader:function(fe){var ke;if(y){if(!s)for(s={};ke=Vi.exec(a);)s[ke[1].toLowerCase()+" "]=(s[ke[1].toLowerCase()+" "]||[]).concat(ke[2]);ke=s[fe.toLowerCase()+" "]}return ke==null?null:ke.join(", ")},getAllResponseHeaders:function(){return y?a:null},setRequestHeader:function(fe,ke){return y==null&&(fe=Be[fe.toLowerCase()]=Be[fe.toLowerCase()]||fe,Ae[fe]=ke),this},overrideMimeType:function(fe){return y==null&&(b.mimeType=fe),this},statusCode:function(fe){var ke;if(fe)if(y)ne.always(fe[ne.status]);else for(ke in fe)De[ke]=[De[ke],fe[ke]];return this},abort:function(fe){var ke=fe||we;return i&&i.abort(ke),He(0,ke),this}};if(K.promise(ne),b.url=((e||b.url||Ut.href)+"").replace(Fi,Ut.protocol+"//"),b.type=t.method||t.type||b.method||b.type,b.dataTypes=(b.dataType||"*").toLowerCase().match(ue)||[""],b.crossDomain==null){h=p.createElement("a");try{h.href=b.url,h.href=h.href,b.crossDomain=hn.protocol+"//"+hn.host!=h.protocol+"//"+h.host}catch{b.crossDomain=!0}}if(b.data&&b.processData&&typeof b.data!="string"&&(b.data=n.param(b.data,b.traditional)),ti(Qn,b,t,ne),y)return ne;for(k in(_=n.event&&b.global)&&n.active++==0&&n.event.trigger("ajaxStart"),b.type=b.type.toUpperCase(),b.hasContent=!Hi.test(b.type),r=b.url.replace(qi,""),b.hasContent?b.data&&b.processData&&(b.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(b.data=b.data.replace(Li,"+")):(N=b.url.slice(r.length),b.data&&(b.processData||typeof b.data=="string")&&(r+=(dn.test(r)?"&":"?")+b.data,delete b.data),b.cache===!1&&(r=r.replace(Ri,"$1"),N=(dn.test(r)?"&":"?")+"_="+Gn+++N),b.url=r+N),b.ifModified&&(n.lastModified[r]&&ne.setRequestHeader("If-Modified-Since",n.lastModified[r]),n.etag[r]&&ne.setRequestHeader("If-None-Match",n.etag[r])),(b.data&&b.hasContent&&b.contentType!==!1||t.contentType)&&ne.setRequestHeader("Content-Type",b.contentType),ne.setRequestHeader("Accept",b.dataTypes[0]&&b.accepts[b.dataTypes[0]]?b.accepts[b.dataTypes[0]]+(b.dataTypes[0]!=="*"?", "+Zn+"; q=0.01":""):b.accepts["*"]),b.headers)ne.setRequestHeader(k,b.headers[k]);if(b.beforeSend&&(b.beforeSend.call(T,ne,b)===!1||y))return ne.abort();if(we="abort",J.add(b.complete),ne.done(b.success),ne.fail(b.error),i=ti(pn,b,t,ne)){if(ne.readyState=1,_&&W.trigger("ajaxSend",[ne,b]),y)return ne;b.async&&0<b.timeout&&(u=M.setTimeout(function(){ne.abort("timeout")},b.timeout));try{y=!1,i.send(Ae,He)}catch(fe){if(y)throw fe;He(-1,fe)}}else He(-1,"No Transport");function He(fe,ke,qt,zt){var Ze,yt,Et,Fe,St,et=ke;y||(y=!0,u&&M.clearTimeout(u),i=void 0,a=zt||"",ne.readyState=0<fe?4:0,Ze=200<=fe&&fe<300||fe===304,qt&&(Fe=function(Ce,Ye,ze){for(var lt,le,me,Ne,Je=Ce.contents,Se=Ce.dataTypes;Se[0]==="*";)Se.shift(),lt===void 0&&(lt=Ce.mimeType||Ye.getResponseHeader("Content-Type"));if(lt){for(le in Je)if(Je[le]&&Je[le].test(lt)){Se.unshift(le);break}}if(Se[0]in ze)me=Se[0];else{for(le in ze){if(!Se[0]||Ce.converters[le+" "+Se[0]]){me=le;break}Ne||(Ne=le)}me=me||Ne}if(me)return me!==Se[0]&&Se.unshift(me),ze[me]}(b,ne,qt)),Fe=function(Ce,Ye,ze,lt){var le,me,Ne,Je,Se,Xe={},Mt=Ce.dataTypes.slice();if(Mt[1])for(Ne in Ce.converters)Xe[Ne.toLowerCase()]=Ce.converters[Ne];for(me=Mt.shift();me;)if(Ce.responseFields[me]&&(ze[Ce.responseFields[me]]=Ye),!Se&<&&Ce.dataFilter&&(Ye=Ce.dataFilter(Ye,Ce.dataType)),Se=me,me=Mt.shift()){if(me==="*")me=Se;else if(Se!=="*"&&Se!==me){if(!(Ne=Xe[Se+" "+me]||Xe["* "+me])){for(le in Xe)if((Je=le.split(" "))[1]===me&&(Ne=Xe[Se+" "+Je[0]]||Xe["* "+Je[0]])){Ne===!0?Ne=Xe[le]:Xe[le]!==!0&&(me=Je[0],Mt.unshift(Je[1]));break}}if(Ne!==!0)if(Ne&&Ce.throws)Ye=Ne(Ye);else try{Ye=Ne(Ye)}catch(vn){return{state:"parsererror",error:Ne?vn:"No conversion from "+Se+" to "+me}}}}return{state:"success",data:Ye}}(b,Fe,ne,Ze),Ze?(b.ifModified&&((St=ne.getResponseHeader("Last-Modified"))&&(n.lastModified[r]=St),(St=ne.getResponseHeader("etag"))&&(n.etag[r]=St)),fe===204||b.type==="HEAD"?et="nocontent":fe===304?et="notmodified":(et=Fe.state,yt=Fe.data,Ze=!(Et=Fe.error))):(Et=et,!fe&&et||(et="error",fe<0&&(fe=0))),ne.status=fe,ne.statusText=(ke||et)+"",Ze?K.resolveWith(T,[yt,et,ne]):K.rejectWith(T,[ne,et,Et]),ne.statusCode(De),De=void 0,_&&W.trigger(Ze?"ajaxSuccess":"ajaxError",[ne,b,Ze?yt:Et]),J.fireWith(T,[ne,et]),_&&(W.trigger("ajaxComplete",[ne,b]),--n.active||n.event.trigger("ajaxStop")))}return ne},getJSON:function(e,t,i){return n.get(e,t,i,"json")},getScript:function(e,t){return n.get(e,void 0,t,"script")}}),n.each(["get","post"],function(e,t){n[t]=function(i,r,a,s){return q(r)&&(s=s||a,a=r,r=void 0),n.ajax(n.extend({url:i,type:t,dataType:s,data:r,success:a},n.isPlainObject(i)&&i))}}),n._evalUrl=function(e,t){return n.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){n.globalEval(i,t)}})},n.fn.extend({wrapAll:function(e){var t;return this[0]&&(q(e)&&(e=e.call(this[0])),t=n(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var i=this;i.firstElementChild;)i=i.firstElementChild;return i}).append(this)),this},wrapInner:function(e){return q(e)?this.each(function(t){n(this).wrapInner(e.call(this,t))}):this.each(function(){var t=n(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=q(e);return this.each(function(i){n(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){n(this).replaceWith(this.childNodes)}),this}}),n.expr.pseudos.hidden=function(e){return!n.expr.pseudos.visible(e)},n.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},n.ajaxSettings.xhr=function(){try{return new M.XMLHttpRequest}catch{}};var Wi={0:200,1223:204}
9,Lt=n.ajaxSettings.xhr();V.cors=!!Lt&&"withCredentials"in Lt,V.ajax=Lt=!!Lt,n.ajaxTransport(function(e){var t,i;if(V.cors||Lt&&!e.crossDomain)return{send:function(r,a){var s,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)u[s]=e.xhrFields[s];for(s in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)u.setRequestHeader(s,r[s]);t=function(h){return function(){t&&(t=i=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,h==="abort"?u.abort():h==="error"?typeof u.status!="number"?a(0,"error"):a(u.status,u.statusText):a(Wi[u.status]||u.status,u.statusText,(u.responseType||"text")!=="text"||typeof u.responseText!="string"?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),i=u.onerror=u.ontimeout=t("error"),u.onabort!==void 0?u.onabort=i:u.onreadystatechange=function(){u.readyState===4&&M.setTimeout(function(){t&&i()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(h){if(t)throw h}},abort:function(){t&&t()}}}),n.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return n.globalEval(e),e}}}),n.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),n.ajaxTransport("script",function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=n("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(s){t.remove(),i=null,s&&a(s.type==="error"?404:200,s.type)}),p.head.appendChild(t[0])},abort:function(){i&&i()}}});var ni,ii=[],mn=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ii.pop()||n.expando+"_"+Gn++;return this[e]=!0,e}}),n.ajaxPrefilter("json jsonp",function(e,t,i){var r,a,s,u=e.jsonp!==!1&&(mn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&mn.test(e.data)&&"data");if(u||e.dataTypes[0]==="jsonp")return r=e.jsonpCallback=q(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(mn,"$1"+r):e.jsonp!==!1&&(e.url+=(dn.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||n.error(r+" was not called"),s[0]},e.dataTypes[0]="json",a=M[r],M[r]=function(){s=arguments},i.always(function(){a===void 0?n(M).removeProp(r):M[r]=a,e[r]&&(e.jsonpCallback=t.jsonpCallback,ii.push(r)),s&&q(a)&&a(s[0]),s=a=void 0}),"script"}),V.createHTMLDocument=((ni=p.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",ni.childNodes.length===2),n.parseHTML=function(e,t,i){return typeof e!="string"?[]:(typeof t=="boolean"&&(i=t,t=!1),t||(V.createHTMLDocument?((r=(t=p.implementation.createHTMLDocument("")).createElement("base")).href=p.location.href,t.head.appendChild(r)):t=p),s=!i&&[],(a=Te.exec(e))?[t.createElement(a[1])]:(a=An([e],t,s),s&&s.length&&n(s).remove(),n.merge([],a.childNodes)));var r,a,s},n.fn.load=function(e,t,i){var r,a,s,u=this,h=e.indexOf(" ");return-1<h&&(r=mt(e.slice(h)),e=e.slice(0,h)),q(t)?(i=t,t=void 0):t&&typeof t=="object"&&(a="POST"),0<u.length&&n.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done(function(y){s=arguments,u.html(r?n("<div>").append(n.parseHTML(y)).find(r):y)}).always(i&&function(y,_){u.each(function(){i.apply(this,s||[y.responseText,_,y])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){n.fn[t]=function(i){return this.on(t,i)}}),n.expr.pseudos.animated=function(e){return n.grep(n.timers,function(t){return e===t.elem}).length},n.offset={setOffset:function(e,t,i){var r,a,s,u,h,y,_=n.css(e,"position"),k=n(e),N={};_==="static"&&(e.style.position="relative"),h=k.offset(),s=n.css(e,"top"),y=n.css(e,"left"),(_==="absolute"||_==="fixed")&&-1<(s+y).indexOf("auto")?(u=(r=k.position()).top,a=r.left):(u=parseFloat(s)||0,a=parseFloat(y)||0),q(t)&&(t=t.call(e,i,n.extend({},h))),t.top!=null&&(N.top=t.top-h.top+u),t.left!=null&&(N.left=t.left-h.left+a),"using"in t?t.using.call(e,N):k.css(N)}},n.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(a){n.offset.setOffset(this,e,a)});var t,i,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),i=r.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,r=this[0],a={top:0,left:0};if(n.css(r,"position")==="fixed")t=r.getBoundingClientRect();else{for(t=this.offset(),i=r.ownerDocument,e=r.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&n.css(e,"position")==="static";)e=e.parentNode;e&&e!==r&&e.nodeType===1&&((a=n(e).offset()).top+=n.css(e,"borderTopWidth",!0),a.left+=n.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-n.css(r,"marginTop",!0),left:t.left-a.left-n.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&n.css(e,"position")==="static";)e=e.offsetParent;return e||Nt})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i=t==="pageYOffset";n.fn[e]=function(r){return Ge(this,function(a,s,u){var h;if(ce(a)?h=a:a.nodeType===9&&(h=a.defaultView),u===void 0)return h?h[t]:a[s];h?h.scrollTo(i?h.pageXOffset:u,i?u:h.pageYOffset):a[s]=u},e,r,arguments.length)}}),n.each(["top","left"],function(e,t){n.cssHooks[t]=Pn(V.pixelPosition,function(i,r){if(r)return r=It(i,t),sn.test(r)?n(i).position()[t]+"px":r})}),n.each({Height:"height",Width:"width"},function(e,t){n.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,r){n.fn[r]=function(a,s){var u=arguments.length&&(i||typeof a!="boolean"),h=i||(a===!0||s===!0?"margin":"border");return Ge(this,function(y,_,k){var N;return ce(y)?r.indexOf("outer")===0?y["inner"+e]:y.document.documentElement["client"+e]:y.nodeType===9?(N=y.documentElement,Math.max(y.body["scroll"+e],N["scroll"+e],y.body["offset"+e],N["offset"+e],N["client"+e])):k===void 0?n.css(y,_,h):n.style(y,_,k,h)},t,u?a:void 0,u)}})}),n.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){n.fn[t]=function(i,r){return 0<arguments.length?this.on(t,null,i,r):this.trigger(t)}}),n.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),n.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,r){return this.on(t,e,i,r)},undelegate:function(e,t,i){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",i)}}),n.proxy=function(e,t){var i,r,a;if(typeof t=="string"&&(i=e[t],t=e,e=i),q(e))return r=S.call(arguments,2),(a=function(){return e.apply(t||this,r.concat(S.call(arguments)))}).guid=e.guid=e.guid||n.guid++,a},n.holdReady=function(e){e?n.readyWait++:n.ready(!0)},n.isArray=Array.isArray,n.parseJSON=JSON.parse,n.nodeName=H,n.isFunction=q,n.isWindow=ce,n.camelCase=We,n.type=d,n.now=Date.now,n.isNumeric=function(e){var t=n.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))},typeof define=="function"&&define.amd&&define("jquery",[],function(){return n});var Bi=M.jQuery,Yi=M.$;return n.noConflict=function(e){return M.$===n&&(M.$=Yi),e&&M.jQuery===n&&(M.jQuery=Bi),n},g||(M.jQuery=M.$=n),n});$(document).ready(function(){$(".new-filter").click(function(U){$(".append-filters").append($(".filter-row").first().clone()),$(".filter-row input").last().val(""),$(".filter-row select").last().val("")}
9),$(document).on("click",".remove-filter",function(){$(".append-filters .input-group").length>1&&$(this).closest(".filter-row").remove()}),function(){window.location.href.split("?")[0]}();let g=[],O=!1;(function(){let U=window.location.href.split("?")[0];if(typeof localStorage[U]>"u"&&(O=!0),O)$("#filtering tbody tr").each(function(){$("td",this).each(function(){$(this).index()<4?$(this).show():$(this).hide()})}),$("#filtering th").each(function(){let P=$(this),E="";P.index()<4?$(this).show():$(this).hide(),P.css("display")!=="none"&&(E='checked="checked"',g.push(P.html().replace(new RegExp(" ","g"),"")));let o='<a class="dropdown-item"><input type="checkbox" '+E+' id="'+P.html().replace(new RegExp(" ","g"),"")+'" /> <label for="'+P.html().replace(new RegExp(" ","g"),"")+'">'+P.html()+"</label></a>";$(".fill-column-names").append(o)}),localStorage.setItem(U,JSON.stringify(g));else{let P=JSON.parse(localStorage.getItem(U));$("#filtering th").each(function(){let E=$(this),o="";for(let v=0;v<P.length;v++)P[v]===E.html().replace(new RegExp(" ","g"),"")&&(o='checked="checked"');let f='<a class="dropdown-item"><input type="checkbox" '+o+' id="'+E.html().replace(new RegExp(" ","g"),"")+'" /> <label for="'+E.html().replace(new RegExp(" ","g"),"")+'">'+E.html()+"</label></a>";$(".fill-column-names").append(f)});for(var S=0;S<P.length;S++){let E=$('[for="'+P[S]+'"]').html(),o=$('th:contains("'+E+'")'),f=o.index();$("#filtering tbody tr").each(function(){$("td",this).each(function(){$(this).index()==f&&$(this).show()})}),o.show()}}})(),$(".return-none").click(function(U){U.stopPropagation()}),$(".return-none a, .return-none label").click(function(U){let S=$("label",this).attr("for")==null?$(this).attr("for"):$("label",this).attr("for");$("#"+S).attr("checked")=="checked"}),$(".fill-column-names").on("change","input",function(){let U=$('[for="'+$(this).attr("id")+'"]').html(),S=$('th:contains("'+U+'")'),P=S.index(),E=window.location.href.split("?")[0];g=JSON.parse(localStorage.getItem(E));let o=-1;for(let f=0;f<g.length;f++)g[f]===$(this).attr("id")&&(o=f);o>=0?g.splice(o,1):g.push($(this).attr("id")),localStorage.setItem(E,JSON.stringify(g)),$("#filtering tbody tr").each(function(){$("td",this).each(function(){$(this).index()==P&&$(this).toggle()})}),S.toggle()}),$(".show-filter-columns").click(function(){$(".fill-column-names").toggle()}),$("#filtering").click(function(){$(".fill-column-names").fadeOut()})});class _t{static email(g){return g==="root"?!0:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(g).toLowerCase())}static date(g){return/^(((0[1-9]|[12]\d|3[01])\.(0[13578]|1[02])\.((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\.(0[13456789]|1[012])\.((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\.02\.((19|[2-9]\d)\d{2}))|(29\.02\.((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([1][26]|[2468][048]|[3579][26])00))))$/g.test(g)}}$(document).ready(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});let M=function(O){let p={code:"0000",message:""};if(O.attr("type")==="email")_t.email(O.val())||(p.code="6001",p.message="Email nije validan. Molimo unesite ponovo!");else if(O.attr("type")==="text"||O.attr("type")==="number"||O.attr("type")==="password"||O.is("select")){let U=(typeof O.attr("class")<"u"?O.attr("class"):"").split(" ");for(let S=0;S<U.length;S++)U[S]==="phone"||U[S]==="datepicker"&&(_t.date(O.val())||(p.code="6003",p.message="Datum nije validan. Molimo pokušajte ponovo!")),U[S]==="required"&&O.val()===""&&(p.code="6004",p.message='Polje "'+O.parent().find("label").text()+'" ne može biti prazno!')}return p};$("#js-form").submit(function(O){O.preventDefault();let p={},U=[],S=!1,P=!0,E=[],o=$(this).attr("method"),f=$(this).attr("action");$(this).find("input, select, textarea").each(function(){for(let v=0;v<U.length;v++)U[v]===$(this).attr("name")&&(S=!0);if(!S){let v=$("[name = '"+$(this).attr("name")+"']");if(v.length>1){for(let V=0;V<U.length;V++)U[V]===$(this).attr("name")&&(S=!0);S||U.push($(this).attr("name"));let D=[],B=$(this).attr("name").replace("[]",""),X=$(this).attr("type")==="checkbox";v.each(function(){X?$(this).is(":checked")&&D.push($(this).val()):(D.push($(this).val()),E.push(M($(this))))}),p[B]=D}else p[$(this).attr("name")]=$(this).val(),E.push(M($(this)))}S=!1});for(let v=0;v<E.length;v++)E[v].code!=="0000"&&(se.Me([E[v].message,"warn"]),P=!1);P&&(p.api_token=$("meta[name=api-token]").attr("content"),$(".loading").fadeIn(),$.ajax({url:f,method:o,dataType:"json",data:p,success:function(D){$(".loading").fadeOut(),D.code==="0000"?(typeof D.message<"u"&&se.Me([D.message,"success"]),setTimeout(function(){typeof D.url<"u"&&(window.location=D.url)},2e3)):se.Me([D.message,"warn"]),console.log(D,typeof D.link)}}))});let g=function(){let O=$(".form-data-row").find(".col-md-6, .col-md-12"),p=O.length,U=$(".form-data-row").find(".forced, .d-none").length;O.each(function(S){if(!($(this).hasClass("force")||$(this).hasClass("d-none"))){let E=$(this).attr("class").split(" "),o="";for(let f=0;f<E.length;f++)(E[f]==="col-md-6"||E[f]==="col-md-12")&&(E[f]="col-md-6"),(S===p-1&&(p-U)%2!==0||S===p-U&&(p-U)%2!==0)&&(E[f]==="col-md-6"||E[f]==="col-md-12")&&(E[f]="col-md-12"),o+=E[f]+" ";$(this).attr("class",o)}})};g(),$("body").on("change",".trigger-none",function(){let O=$(this).val();$("."+$(this).attr("tr-name")).each(function(){let p=$(this).attr("tr-value"),U=$(this);if(p.includes(",")){let S=p.split(",");for(let P=0;P<S.length;P++){if(O===S[P])return U.removeClass("d-none"),!0;U.addClass("d-none")}}else O===p?$(this).removeClass("d-none"):$(this).addClass("d-none")}),g()})});$(document).ready(function(){$("#photo_uri").change(function(){$("#update-profile-image").submit()}),$("#cover__photo").change(function(){$("#update-cover-photo").submit()}),$(".img_one").change(function(){$(".file-form").submit()})});$(document).ready(function(){$(".user-notifications").change(function(){let M=$(this).is(":checked");$.ajax({url:"/my-profile/update-notifications-status",method:"post",dataType:"json",data:{status:M},success:function(O){O.code==="0000"||se.Me([O.message,"warn"]),console.log(O,typeof O.link)}})}),$(".remove-profile-btn").click(function(){$(".remove__profile__wrapper").addClass("d-flex")}),$(".close-remove-profile").click(function(){$(".remove__profile__wrapper").removeClass("d-flex")}),$(".remove-user-profile").click(function(){window.location="/my-profile/remove-profile"})});$(document).ready(function(){let M="/auth/authenticate",g="/auth/save-account",O="/auth/generate-restart-token",p="/auth/generate-new-password";$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});let U=function(){let E=$("#email").val(),o=$("#password").val();
9if(!_t.email(E)){se.Me(["Uneseni email nije validan!","warn"]);return}$.ajax({url:M,method:"POST",dataType:"json",data:{email:E,password:o},success:function(v){v.code==="0000"?window.location=v.url:se.Me([v.message,"warn"])}})};$(".auth-btn").click(function(){U()}),$(document).on("keypress",function(E){E.which===13&&$(".auth-btn").length&&U()}),$(".create-profile-next-btn").click(function(){let E=$("#email").val(),o=$("#password").val(),f=$("#username").val();if(!_t.email(E)){se.Me(["Molimo da unesete validnu email adresu !","warn"]);return}if(o===""){se.Me(["Molimo da unesete VaÅ¡u Å¡ifru","warn"]);return}if(f===""){se.Me(["Molimo da unesete VaÅ¡e korisniÄko ime","warn"]);return}$(".loading-gif").removeClass("d-none"),$.ajax({url:g,method:"POST",dataType:"json",data:{email:E,password:o,username:f},success:function(D){$(".loading-gif").addClass("d-none"),D.code==="0000"?window.location="/episodes":se.Me([D.message,"warn"])}})}),$(document).ready(function(){$(".register-email").on("input",function(){let o=$(this).val().split("@")[0];o=o.replace(/[^a-zA-Z.]/g,""),$(".register-username").val(o)})});let S=function(){let E=$("#email"),o=$(".loading-gif");if(!_t.email(E.val())){se.Me(["Uneseni email nije validan!","warn"]);return}o.removeClass("d-none"),$.ajax({url:O,method:"POST",dataType:"json",data:{email:E.val()},success:function(v){let D=v.code;o.addClass("d-none"),D==="0000"?(se.Me([v.message,"success"]),E.val("")):se.Me([v.message,"warn"])}})};$(".generate-token-btn").click(function(){S()});let P=function(){$(".loading-gif");let E=$("#email"),o=$("#password"),f=$("#passwordRepeat");if(!_t.email(E.val())){se.Me(["Uneseni email nije validan!","warn"]);return}$.ajax({url:p,method:"POST",dataType:"json",data:{email:E.val(),password:o.val(),repeat:f.val(),token:$("#token").val()},success:function(D){D.code==="0000"?window.location=D.url:se.Me([D.message,"warn"])}})};$(".generate-password-btn").click(function(){P()})});$(document).ready(function(){if($("#toggle").click(function(){$(this).toggleClass("on"),$("#container-menu").toggleClass("on"),$("#mobile-menu").toggleClass("on")}),$("body").on("click",".go-to",function(){window.location=$(this).attr("custom-uri")}),$(".yt__iframe").length){let M=$(".yt__iframe");M.height(parseInt(M.width()/1.77)),console.log("Exists!",M.width())}$(".register-hidden-trigger").click(function(M){let g=$("#input-hero").val();g!==""?$("#register-hidden-email").val(g):(M.preventDefault(),window.location="/auth/create-account")})});$(document).ready(function(){let M=document.getElementsByClassName("course-accordion"),g;for(g=0;g<M.length;
9g++)M[g].onclick=function(){let O=this.nextElementSibling,p=document.getElementsByClassName("course-panel");document.getElementsByClassName("course-accordion");let U=document.getElementsByClassName("course-accordion active");if(O.style.maxHeight)O.style.maxHeight=null,this.classList.remove("active");else{for(let S=0;S<U.length;S++)U[S].classList.remove("active");for(let S=0;S<p.length;S++)this.classList.remove("active"),p[S].style.maxHeight=null;O.style.maxHeight=O.scrollHeight+"px",this.classList.add("active")}}});document.querySelectorAll(".single__episode video");document.querySelectorAll(".single__episode .episode-img");document.querySelectorAll(".single__episode .card__content ");$(".episodes__main_wrapper").on("mouseenter",".episode-img",function(){let g=$(this).closest(".single__episode").find("video")[0];g&&($(this).addClass("active"),g.currentTime=0,g.play())}).on("mouseleave",".episode-img",function(){let g=$(this).closest(".single__episode").find("video")[0];g&&($(this).removeClass("active"),g.pause())});let or=document.querySelectorAll(".modaloppener"),fi=document.getElementById("modal_close"),at=document.getElementById("open-modal");fi!=null&&(or.forEach(function(M,g){M.addEventListener("click",function(){at.style.visibility="visible",at.style.opacity=1,at.style.width="100%",at.style.height="100%",at.style.transition="all .75s ease"})}),fi.addEventListener("click",function(){at.style.visibility="hidden",at.style.opacity=0,at.style.width="80%",at.style.height="80%",at.scrollTop=0,at.style.transition="all 0s ease"}));$(document).ready(function(){let M=function(){$(".video__player").toggleClass("full_screen")};$(".toggle-player").click(function(){M()}),$(".toggle_short_description").click(function(){$(this).parent().parent().parent().toggleClass("short__desc")}),$(".inner__tab").click(function(){$(this).hasClass("leave-review")||($(".inner__tab").removeClass("active"),$(".inner__element").removeClass("active"),$(this).addClass("active"),$("."+$(this).attr("ref-tag")).addClass("active"))}),$(".show-more-about").click(function(){$(".inner__element").removeClass("active"),$(".inner__tab").removeClass("active"),$("#more-about").addClass("active"),$(".inner__tab[ref-tag='overview__wrapper']").addClass("active")}),$(".show-presenter-wrapper").click(function(){$(".inner__element").removeClass("active"),$(".inner__tab").removeClass("active"),$("#presenter-wrapper").addClass("active"),$(".inner__tab[ref-tag='presenter']").addClass("active")});let g=!1;function O(){const S=$(".ew__body"),P=S.find(".current");P.length&&g&&(S.scrollTop(P.position().top+S.scrollTop()),g=!1)}if($("#active-video").length||$("#chapter-video").length){const S=document.getElementById("ew__body_wrapper");new MutationObserver(function(E){E.forEach(o=>{o.type==="attributes"&&o.attributeName==="class"&&O()})}).observe(S,{attributes:!0,subtree:!0,attributeFilter:["class"]})}function p(S,P,E){return(new Array(E+1).join(P)+S).slice(-E)}let U=function(S){const P=Math.floor(S/60),E=S-P*60;return p(P,"0",2)+":"+p(E,"0",2)};if($("#active-video").length){let oe=function(Y,ee,H,Te){ce=setInterval(()=>{Te(q),ee(++q)&&clearInterval(ce)},Y)},L=function(Y){Y<50?d.object.removeClass("over50"):d.object.addClass("over50"),d.object.removeClass("p"+Y).addClass("p"+(Y+1))},G=function(Y){return Y>=100?(l(),q=0,!0):!1},S,P=$("#active-video").attr("video-id"),E=null,o=0,f=!1,v="/episodes/activity/update-activity",D="/episodes/activity/play-video",B="/episodes/activity/mark-as-watched",X="https://iframe.mediadelivery.net/embed/",V="?autoplay=false&loop=false&muted=false&preload=true&responsive=true",q=0,ce;$(".ew__body").find(".current");const d={object:$(".progress-circle"),increase(Y){}};let l=function(){let Y=$("#active-video");Y.attr("src",X+E.nextVideo.library_id+"/"+E.nextVideo.video_id+V),Y.attr("video-id",E.nextVideo.id),$(".se__wrapper").removeClass("current"),$(".se__wrapper[video-id='"+E.nextVideo.id+"']").addClass("current"),$(".menu-video-title").text(E.nextVideo.title),$(".add__new_note").attr("video-id",E.nextVideo.id),A(),Q()},n=function(){$(".se__wrapper[video-id='"+$("#active-video").attr("video-id")+"']").find(".checkbox_w").addClass("checked")},A=function(){$(".next__video").addClass("d-none"),d.object.removeClass("over50");for(let Y=1;Y<=100;Y++)d.object.removeClass("p"+Y);d.object.addClass("p0")};$(".cancel_id").click(function(){clearInterval(ce),q=0,A()}),d.object.click(function(){q=100});let Q=function(){let Y=$("#active-video");P=Y.attr("video-id"),Y.attr("finished",0),S=new playerjs.Player(document.getElementById("active-video")),S.on("ready",()=>{if(E!==null)S.play();else{O();const ee=parseFloat($("#active-video").attr("current-time"));setTimeout(()=>{S.setCurrentTime(ee),$(".note__time").text(U(ee))},200)}}),S.on("play",()=>{}),S.on("pause",()=>{console.log("pause")}),S.on("timeupdate",ee=>{o!==parseInt(ee.seconds)&&(o=parseInt(ee.seconds),Y.attr("current-time",parseInt(ee.seconds)),o===parseInt(ee.duration)?f=!0:f=!1,$(".note__time").text(U(o)),$.ajax({url:v,method:"POST",dataType:"json",data:{time:o,duration:parseInt(ee.duration),finished:f,video_id:Y.attr("video-id"),episode_id:Y.attr("episode-id")},success:function(Te){if(Te.code==="0000"){let ye=Te.data;ye.nextVideo!==null&&(E=ye,$(".se__wrapper[video-id='"+P+"']").find(".checkbox_w").addClass("checked"),Y.attr("finished",1),$("#shadow-vi
9deo-title").text(ye.nextVideo.title),$(".next__video").removeClass("d-none"),oe(50,G,d.increase,L)),ye.episodeFinished===!0&&(n(),ye.offerQuestionnaire===!0&&$(".questionnaire__wrapper").addClass("d-flex"))}else se.Me([Te.message,"warn"])}}))})};$(".play_w").click(function(){let Y=$(this).attr("video-id");$.ajax({url:D,method:"POST",dataType:"json",data:{video_id:Y},success:function(H){H.code==="0000"?(E=H.data,$(".se__wrapper[video-id='"+Y+"']").find(".checkbox_w").removeClass("checked"),l(),window.innerWidth<=1e3&&M()):se.Me([H.message,"warn"])}})}),$(".mark-video-as-watched").click(function(){let Y=$(this).attr("video-id"),ee=$(this),H=$(this).hasClass("checked");Y!==P&&$.ajax({url:B,method:"POST",dataType:"json",data:{id:Y,checked:H},success:function(Ee){Ee.code==="0000"?(Ee.data.activity,H?ee.removeClass("checked"):ee.addClass("checked")):se.Me([Ee.message,"danger"])}})}),Q()}if($("#chapter-video").length){let S;$("#chapter-video").attr("video-id");let P=0,E=0,o=0,f="/episodes/activity/update-chapter-activity",v=function(){return $(".ew__body").find(".current").attr("chapter-id")},D=function(){return $(".ew__body").find(".current").find(".checkbox_w").addClass("checked")},B=function(){return $(".ew__body").find(".current").find(".checkbox_w").removeClass("checked")},X=function(q){$(".se__wrapper").removeClass("current"),$(".se__wrapper[chapter-id='"+q+"']").addClass("current"),$(".add__new_note").attr("chapter-id",q)},V=function(){let q=$("#chapter-video");q.attr("video-id"),S=new playerjs.Player(document.getElementById("chapter-video")),S.on("ready",()=>{O();const ce=parseFloat($("#chapter-video").attr("current-time"));setTimeout(()=>{S.setCurrentTime(ce),$(".note__time").text(U(ce))},200)}),S.on("timeupdate",ce=>{P!==parseInt(ce.seconds)&&(P=parseInt(ce.seconds),q.attr("current-time",parseInt(ce.seconds)),parseInt(ce.duration),$(".note__time").text(U(P)),$.ajax({url:f,method:"POST",dataType:"json",data:{time:P,duration:parseInt(ce.duration),video_id:q.attr("video-id"),episode_id:q.attr("episode-id"),current_chapter:v()},success:function(oe){if(oe.code==="0000"){let l=oe.data;parseInt(l.progress)===100&&D(),E=l.currentChapter.id,o!==E&&(o=E,g=!0,$(".menu-chapter-title").text(l.currentChapter.title)),X(l.currentChapter.id),l.episodeFinished===!0&&l.offerQuestionnaire===!0&&$(".questionnaire__wrapper").addClass("d-flex")}}}))}),S.on("pause",()=>{$(".video__player").data("user-logged")===!1&&$(".create__account_wrapper").addClass("d-flex")})};$(".play_chapter").click(function(){X($(this).attr("chapter-id")),B(),S.setCurrentTime(parseFloat($(this).attr("time"))),S.play(),window.innerWidth<=1e3&&M()}),V()}});$(document).ready(function(){$("#gallery-img-input").change(function(){$("#gallery-img").submit()})});$(document).ready(function(){let M="/system/admin/episodes/reviews/update-status";$(".approve-review").change(function(){let g=$(this).attr("review-id"),O=$(this).val();$.ajax({url:M,method:"POST",dataType:"json",data:{id:g,status:O},success:function(U){U.code==="0000"?se.Me([U.message,"success"]):se.Me([U.message,"danger"])}})})});$(document).ready(function(){let M=5,g=1,O=0,p=5,U=0,S="/episodes/reviews/save",P="/episodes/reviews/check-for-review",E=function(D,B,X){let V=$(".stars__wrapper");V.empty();for(let q=1;q<=5;q++)V.append(function(){return $("<div>").attr("class","star review-star").attr("star-index",q).append(function(){return q<=D?$("<img>").attr("src","/files/images/default/icons/star-yellow.svg").attr("alt","Star image"):B&&B===q?$("<img>").attr("src","/files/images/default/icons/star-half-yellow.svg").attr("alt","Star image"):$("<img>").attr("src","/files/images/default/icons/star-empty-yellow.svg").attr("alt","Star image")}).append(function(){return $("<div>").attr("class","first-half review-star-child").attr("index","left")}).append(function(){return $("<div>").attr("class","second-half review-star-child").attr("index","right")})})},o=function(D,B){let X=1,V=0;D===1?(E(X,V),M=1):(B==="left"?(X=D-1,V=D,M=D-.5):(X=D,M=D),E(X,V))},f=function(D=!1){$.ajax({url:S,method:"POST",dataType:"json",data:{stars:M,note:$(".review-note").val(),episode_id:$(".review-episode-id").val()},success:function(X){X.code==="0000"?D&&(se.Me([X.message,"success"]),v(),$(".leave-review-content").text("Uredite ocjenu")):se.Me([X.message,"danger"])}})};$("body").on("mouseenter",".review-star-child",function(){let D=parseInt($(this).parent().attr("star-index")),B=$(this).attr("index");if(D!==g||B!==O)g=D,O=B;else return;console.log("starIndex: "+D+", index: "+B),o(D,B)}).on("click",".review-star-child",function(){p=g,U=O,$(".text__form").addClass("d-flex"),o(p,U),f()}).on("mouseleave",".stars__wrapper",function(){o(p,U)});let v=function(){$(".add__review__wrapper").removeClass("d-flex")};$(".add__review__wrapper").click(function(D){$(D.target).hasClass("add__review__wrapper")&&v()}),$(".ar__header").click(function(){v()}),$(".save-review-note").click(function(){f(!0)}),$(".leave-review").click(function(){$.ajax({url:P,method:"POST",dataType:"json",data:{episode_id:$(".review-episode-id").val()},success:function(B){if(B.code==="0000"){let V=B.data;V.hasReview===!0&&(o(V.starIndex,V.index),p=V.starIndex,U=V.index,console.log("NOte:"+V.review.note),$(".text__form").addClass("d-flex"),$(".review-note").val(V.review.note)),console.log(V)}else se.Me([B.message,"danger"]);$(".add__review__wrapper").addClass("d-flex")},error:function(D,B,X){console.log("Error while loading reviews"),$(".add__review__wrapper").addClass("d-flex")}})}),$(".rg__wrapper__reviews").length&&$(".rate__line").each(function(){$(this).css("width",$(this).attr("line-width")+"%")})});$(document).ready(function(){let M="/episodes/notes/save",g="/episodes/notes/load",O="/episodes/notes/update",p="/episodes/notes/delete",U=0;$(".add__new_note").click(function(){$(this).parent().toggleClass("show__textarea")}),$(".save-new-note").click(function(){let P=$(".add__new_note");$.ajax({url:M,method:"POST",dataType:"json",data:{time:$(".note__time").text(),note:$("#new_note").val(),episode_id:P.attr("episode-id"),video_id:P.attr("video-id"),chapter_id:P.attr("chapter-id")}
9,success:function(o){if(o.code==="0000"){let v=o.data.note,D=o.data.video;$("#new_note").val(""),$(".add__note___wrapper").toggleClass("show__textarea"),$(".all__notes").prepend(function(){return $("<div>").attr("class","single__note").attr("note-id",v.id).append(function(){return $("<div>").attr("class","note__header").append(function(){return $("<div>").attr("class","time__badge").append(function(){return $("<p>").text(v.time)})}).append(function(){return $("<div>").attr("class","icons__wrapper").append(function(){return $("<div>").attr("class","icon__wrapper edit__note__trigger").attr("title","Uredi zabilješku").append(function(){return $("<img>").attr("src","/files/images/icons/edit.svg").attr("alt","Edit icon")})}).append(function(){return $("<div>").attr("class","icon__wrapper delete__note__trigger").attr("title","Obriši zabilješku").append(function(){return $("<img>").attr("src","/files/images/icons/trash.svg").attr("alt","Edit icon")})})})}).append(function(){return $("<div>").attr("class","note__body").append(function(){return $("<h2>").text(D.title)}).append(function(){return $("<p>").attr("class","note__body__value").text(v.note)})}).append(function(){return $("<div>").attr("class","note__footer").append(function(){return $("<p>").text(v.createdAtDate)})})}),se.Me([o.message,"success"])}else se.Me([o.message,"danger"])}})}),$("body").on("click",".edit__note__trigger",function(){let P=$(this);$.ajax({url:g,method:"POST",dataType:"json",data:{id:P.parent().parent().parent().attr("note-id")},success:function(o){if(o.code==="0000"){let v=o.data.note,D=o.data.video;$(".edit__note_time_badge").text(v.time),$(".en__header_value").text(D.title),$(".edit-note").val(v.note),U=v.id,$(".edit__note__wrapper").addClass("d-flex")}else se.Me([o.message,"danger"])}})}).on("click",".delete__note__trigger",function(){let P=$(this);$.ajax({url:p,method:"POST",dataType:"json",data:{id:P.parent().parent().parent().attr("note-id")},success:function(o){o.code==="0000"?(P.parent().parent().parent().remove(),se.Me([o.message,"success"])):se.Me([o.message,"danger"])}})}),$(".edit-note-btn").click(function(){$.ajax({url:O,method:"POST",dataType:"json",data:{id:U,note:$(".edit-note").val()},success:function(E){E.code==="0000"?(se.Me([E.message,"success"]),$(".single__note[note-id='"+U+"']").find(".note__body__value").text($(".edit-note").val()),$(".edit__note__wrapper").removeClass("d-flex")):se.Me([E.message,"danger"])}})});let S=function(){$(".edit__note__wrapper").removeClass("d-flex")};$(".edit__note__wrapper").click(function(P){$(P.target).hasClass("edit__note__wrapper")&&S()}),$(".en__header").click(function(){S()})});$(document).ready(function(){let M="/episodes/fetch-trailer";$("body").on("click",".show__trailer",function(){let O=$(this).attr("episode-id"),p=$(".pp__chapters");$.ajax({url:M,method:"POST",dataType:"json",data:{id:O},success:function(S){if(S.code==="0000"){let E=S.data.episode,o=S.data.trailer,f=S.data.reviews;$("#pp__presenter").text(E.presenters),$("#pp__trailer_title").text(o.title),$("#pp__iframe").attr("src",o.uri);let v=0;p.empty();let D=1;if(E.type===0){if(E.video_content_rel.length>0)for(let X=0;X<E.video_content_rel.length;X++){let V=E.video_content_rel[X];if(parseInt(V.category)!==2){if(v++,v>6)continue;p.append(function(){let q=E.status===1?"/episodes/preview/"+E.slug+"/"+V.id:null;return $("<div>").attr("class",q?"single__chapter go-to":"single__chapter").attr("custom-uri",q).append(function(){return $("<div>").attr("class","no__part").append(function(){return $("<h1>").text(D++)})}).append(function(){return $("<div>").attr("class","img__part").append(function(){return $("<img>").attr("src",V.img).attr("alt","Photo")})}).append(function(){return $("<div>").attr("class","text__part").append(function(){return $("<div>").attr("class","text__part__header").append(function(){return $("<h4>").text(V.title)}).append(function(){return $("<p>").text(V.duration)})}).append(function(){return $("<div>").attr("class","text__part__body").append(function(){let ce=V.description;return ce!==null&&ce.length>240&&(ce=ce.substring(0,240)+"..."),$("<p>").html(ce)})})})})}}}else if(E.chapter_video_rel.chapters_rel.length>0)for(let X=0;X<E.chapter_video_rel.chapters_rel.length;X++){v++;let V=E.chapter_video_rel.chapters_rel[X];p.append(function(){let q=E.status===1?"/episodes/preview/"+E.slug+"/"+V.id:null;return $("<div>").attr("class",q?"single__chapter go-to":"single__chapter").attr("custom-uri",q).append(function(){return $("<div>").attr("class","no__part").append(function(){return $("<h1>").text(D++)})}).append(function(){return $("<div>").attr("class","text__part").append(function(){return $("<div>").attr("class","text__part__header").append(function(){return $("<h4>").text(V.title)}).append(function(){return $("<p>").text(V.duration)})}).append(function(){return $("<div>").attr("class","text__part__body").append(function(){let ce=V.description;return ce!==null&&ce.length>240&&(ce=ce.substring(0,240)+"..."),$("<p>").html(ce)})})})}),console.log(V)}let B="";if(v===0?B="0 cjelina":v===1?B="1 cjelina":v===2?B="2 cjeline":v===3?B="3 cjeline":v===4?B="4 cjeline":v>=5&&v<=21?B=v+" cjelina":v>=22&&v<=24?B=v+" cjeline":B=v+" cjelina",$("#pp__no_chapters").text(B),$("#pp__duration").text("Trajanje: "+E.duration),$("#pp__episode__title").text(E.title),$("#pp__episode__description").html(E.description),$(".pp__stars").empty(),parseInt(f.total))for(let X=1;X<=5;X++)$(".pp__stars").append(function(){return $("<div>").attr("class","star").append(function(){return X<=parseInt(f.fullStar)?$("<img>").attr("src","/files/images/default/icons/star-yellow.svg").attr("tag","Star"):f.halfStar&&f.halfStar===X?$("<img>").attr("src","/files/images/default/icons/star-half-yellow.svg").attr("tag","Star"):$("<img>").attr("src","/files/images/default/icons/star-empty-yellow.svg").attr("tag","Star")})});$(".trailer__wrapper").addClass("trailer__wrapper__visible")}else se.Me([S.message,"danger"])},error:function(U,S,P){console.log("Error while loading trailer")}})});let g=function(){$(".trailer__wrapper").removeClass("trailer__wrapper__visible"),$("#pp__iframe").attr("src","")};$(".trailer__wrapper").click(function(O){$(O.target).hasClass("trailer__wrapper")&&g()}),$(".ih__exit__btn").click(function(){g()})});$(document).ready(function(){let M="/episodes/questionnaire/save",g,O=5,p=function(U,S){for(let P=0;P<=5;P++)U.removeClass("stars-"+P);U.addClass("stars-"+S),U.parent().parent().attr("stars-selected",S)};$("body").on("mouseenter",".questionnaire-star-wrapper",function(){g=$(this).parent(),p($(this).parent(),$(this).attr("star-index"))}).on("click",".questionnaire-star-wrapper",function(){O=$(this).attr("star-index"),p(g,O)}).on("mouseleave",".questionnaire-star-wrapper",function(){p(g,O)}),$(".submit-questionnaire").click(function(){let U=[];$(".question__wrapper").each(function(S){U[S]={question_id:$(this).attr("question-id"),type:$(this).attr("type"),value:$(this).attr("type")==="option"?$(this).attr("stars-selected"):$(this).find(".question-text").val()}}),$.ajax({url:M,method:"POST",dataType:"json",data:{episode_id:$(".questionnaire__wrapper").attr("episode-id"),data:U},success:function(P){P.code==="0000"?($(".questionnaire__wrapper").removeClass("d-flex"),se.Me([P.message,"success"])):se.Me([P.message,"danger"])}})}),$(".questionnaire__wrapper").click(function(U){$(U.target).hasClass("questionnaire__wrapper")&&$(".questionnaire__wrapper").removeClass("d-flex")})});$(document).ready(function(){let M=function(){$(".create__account_wrapper").removeClass("d-flex")};$(".create__account_wrapper").click(function(g){$(g.target).hasClass("create__account_wrapper")&&M()}),$(".ca__header").click(function(){M()})});$(document).ready(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});let M="/episodes/load-more";
9$(".episodes__load_more").click(function(){let g=0,O=$(".episodes__main_wrapper");$(".single__episode").each(function(){g=$(this).data("id")}),$.ajax({url:M,method:"POST",dataType:"json",data:{lastID:g},success:function(U){if(U.code==="0000"){let P=U.data.episodes;if(P.length===0){$(".episodes__load_more").addClass("d-none"),O.addClass("margin_bottom_none");return}for(let E=0;E<P.length;E++){let o=P[E];O.append(function(){return $("<div>").attr("class","single__episode se__small").attr("data-id",o.id).append(function(){return $("<img>").attr("class","episode-img").attr("src",o.image_path)}).append(function(){var f;if((f=o.video_path)!=null&&f.trim())return $("<video>",{class:"episode-hover-video",src:o.video_path,loop:!0,muted:!0,preload:"none"})}).append(function(){let f=$("<div>",{class:"card__content"});f.append($("<h1>").text(o.title??"")),f.append($("<p>").text(o.presenter_name??""));let v=$("<div>",{class:"card-btns"});return v.append($("<button>",{class:"btn-primary show__trailer","episode-id":o.id,type:"button",html:'<i class="fi fi-bs-play-circle"></i> Trailer'})),o.status===1&&o.preview_url&&v.append($("<a>",{href:o.preview_url}).append($("<button>",{class:"btn-primary",type:"button",html:'<i class="fi fi-bs-play-circle"></i> Video'}))),f.append(v),f})})}U.data.leftEpisodes===0&&($(".episodes__load_more").addClass("d-none"),O.addClass("margin_bottom_none"))}else se.Me([U.message,"warn"])}})})});$(document).ready(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});let M="/presenters/load-more";function g(O){let p=Math.floor(O),U=O%1!==0,S=$("<div>",{class:"presenters__stars__wrapper"});for(let P=1;P<=5;P++){let E;P<=p?E="/files/images/default/icons/star-white.svg":U&&P===p+1?E="/files/images/default/icons/star-half-white.svg":E="/files/images/default/icons/star-empty-white.svg",S.append($("<div>",{class:"star"}).append($("<img>",{src:E})))}return S}$(".presenters__load_more").click(function(){let O=0,p=$(".presenters__main_wrapper");$(".presenter__wrapper").each(function(){O=$(this).data("id")}),$.ajax({url:M,method:"POST",dataType:"json",data:{lastID:O},success:function(S){if(S.code==="0000"){let E=S.data.presenters;if(E.length===0){$(".presenters__load_more").addClass("d-none");return}for(let o=0;o<E.length;o++){let f=E[o];p.append(function(){let v=$("<div>",{class:"presenter__wrapper go-to","data-id":f.id,"custom-uri":"/presenters/"+f.username});v.append($("<img>",{src:f.image_path,class:f.name??""})),v.append($("<div>",{class:"presenter__info"}).append($("<h1>").text(f.name??"")));let D=$("<div>",{class:"hover__wrapper"});D.append($("<div>",{class:"hover__header"}).append($("<h2>").text(f.episode_title??"")));let B=$("<div>",{class:"hover__footer"}),X=$("<div>",{class:"hover__btn"});return X.append($("<p>").text(f.creation_year??"")),X.append($("<span>").text("|")),X.append($("<div>",{class:"icon_btn"}).append('<i class="fi fi-bs-clock"></i>').append($("<p>").text(f.duration??""))),B.append(X),f.reviews_count>0&&B.append(g(parseFloat(f.average_rating))),D.append(B),v.append(D),v})}S.data.leftPresenters===0&&$(".presenters__load_more").addClass("d-none")}else se.Me([S.message,"warn"])}})})});$(document).ready(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});let M="/blog/load-more";if($(".blog__load_more").click(function(){let g=0,O=$(".posts__wrapper").attr("category");$(".single__post").each(function(){g=$(this).attr("post-id")}),$.ajax({url:M,method:"POST",dataType:"json",data:{lastID:g,category:O},success:function(U){if(U.code==="0000"){let P=U.data.posts;if(P.length===0){$(".blog__load_more").addClass("d-none"),$(".posts__wrapper").addClass("margin_bottom_none");return}for(let E=0;E<P.length;E++){let o=P[E];$(".posts__wrapper").append(function(){return $("<div>").attr("class","single_new single__post").attr("post-id",o.id).append(function(){return $("<div>").attr("class","image__wrapper").append(function(){return $("<img>").attr("src",o.img).attr("alt","Post image")})}).append(function(){return $("<div>").attr("class","text__wrapper").append(function(){return $("<div>").attr("class","text__content").append(function(){return $("<h2>").text(o.title)}).append(function(){return $("<p>").text(o.short_desc)})}).append(function(){let f=$("<div>").attr("class","hashtags");if(o.tags.length)for(let v=0;v<o.tags.length;v++)f.append(function(){return $("<div>").attr("class","hashtag").text(o.tags[v].tag)});return f})}).append(function(){return $("<a>").attr("href","/blog/preview/"+o.slug)})})}U.data.leftPosts===0&&($(".blog__load_more").addClass("d-none"),$(".posts__wrapper").addClass("margin_bottom_none"))}else se.Me([U.message,"warn"])}})}),$(".img__wrapper, .gallery__navigation-button").click(function(){let g=$(this).attr("attr-id");$.ajax({url:"/blog/fetch-images",method:"POST",dataType:"json",data:{attrID:g,blog_id:$("#post_id").val()},success:function(p){let U=p.code,S=p.data;U==="0000"?($(".image__wrapper").removeClass("d-none"),$("#gallery_main_img").attr("src",p.data.current),S.next!==""&&$(".gallery__navigation_next").removeClass("d-none").attr("attr-id",S.next),S.previous!==""&&$(".gallery__navigation_previous").removeClass("d-none").attr("attr-id",S.previous),console.log(p,p.data.current)):se.Me([p.message,"warn"])}}),console.log(g)}),$(".close_gallery").click(function(){$(".image__wrapper").addClass("d-none")}),$(".blog__video_iframe").length){let g=$(".blog__video_iframe");g.height(parseInt(g.width()/1.77)),console.log("Exists!",g.width())}});$(document).ready(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}});let M="/contact/send-an-email",g=!1;$(".send-an-email").click(function(O){if(g){se.Me(["Molimo priÄekajte da se slanje prethodne poruke zavrÅ¡i!!","danger"]);return}let p=$("#contact-us-name").val(),U=$("#contact-us-surname").val(),S=$("#contact-us-email").val(),P=$("#contact-us-subject").val(),E=$("#contact-us-message").val();if(p===""||U===""||P===""||E===""){se.Me(["Molimo popunite sva polja!!","danger"]);return}
9if(!_t.email(S)){se.Me(["Uneseni email nije validan!","danger"]);return}g=!0,$.ajax({url:M,method:"POST",dataType:"json",data:{name:p,surname:U,email:S,subject:P,message:E},success:function(f){f.code==="0000"?($("#contact-us-name").val(""),$("#contact-us-surname").val(""),$("#contact-us-email").val(""),$("#contact-us-subject").val(""),$("#contact-us-message").val(""),se.Me([f.message,"success"])):se.Me([f.message,"danger"]),g=!1}})})});window.playerjs={Player:sr.Player};$(document).ready(function(){$(".datepicker").datepicker({format:"dd.mm.yyyy",autoclose:!0})});$(document).ready(function(){$("body").on("click",".go-to-url",function(){let M=$(this).attr("link"),g=$(this).hasClass("new-window");setTimeout(function(){g?window.open(M,"_blank"):window.location=M},100)})})});export default lr();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.