PageSourceSearch

https://www.goleader.com/build/4882.cf3f51ed.js

js goleader.com collected 2026-09-24 22:19:45 UTC 61,845 bytes, 5 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[4882],{34331:(function(R,W,j){"use strict";j.r(W)}),16624:(function(R,W,j){var F=j(74692);/*!@preserve
2 * Tempus Dominus Bootstrap4 v5.39.0 (https://tempusdominus.github.io/bootstrap-4/)
3 * Copyright 2016-2020 Jonathan Peterson and contributors
4 * Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
5 */if(typeof F>"u")throw new Error("Tempus Dominus Bootstrap4's requires jQuery. jQuery must be included before Tempus Dominus Bootstrap4's JavaScript.");if(+(function(B){var O=B.fn.jquery.split(" ")[0].split(".");if(O[0]<2&&O[1]<9||O[0]===1&&O[1]===9&&O[2]<1||O[0]>=4)throw new Error("Tempus Dominus Bootstrap4's requires at least jQuery v3.0.0 but less than v4.0.0")})(F),typeof moment>"u")throw new Error("Tempus Dominus Bootstrap4's requires moment.js. Moment.js must be included before Tempus Dominus Bootstrap4's JavaScript.");var U=moment.version.split(".");if(U[0]<=2&&U[1]<17||U[0]>=3)throw new Error("Tempus Dominus Bootstrap4's requires at least moment.js v2.17.0 but less than v3.0.0");+(function(){function B(e,b){e.prototype=Object.create(b.prototype),e.prototype.constructor=e,e.__proto__=b}function O(e,b){for(var I=0;I<b.length;I++){var E=b[I];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(e,E.key,E)}}function z(e,b,I){return b&&O(e.prototype,b),I&&O(e,I),e}var g=(function(e,b){function I(p){return p.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function E(p){return Object.prototype.toString.call(p)==="[object Date]"&&!isNaN(p.getTime())}function L(p){return E(new Date(p))}var S=function(o){return o.replace(/(^\s+)|(\s+$)/g,"")},M="datetimepicker",v=""+M,u="."+v,f=".data-api",c={DATA_TOGGLE:'[data-toggle="'+v+'"]'},s={INPUT:M+"-input"},i={CHANGE:"change"+u,BLUR:"blur"+u,KEYUP:"keyup"+u,KEYDOWN:"keydown"+u,FOCUS:"focus"+u,CLICK_DATA_API:"click"+u+f,UPDATE:"update"+u,ERROR:"error"+u,HIDE:"hide"+u,SHOW:"show"+u},r=[{CLASS_NAME:"days",NAV_FUNCTION:"M",NAV_STEP:1},{CLASS_NAME:"months",NAV_FUNCTION:"y",NAV_STEP:1},{CLASS_NAME:"years",NAV_FUNCTION:"y",NAV_STEP:10},{CLASS_NAME:"decades",NAV_FUNCTION:"y",NAV_STEP:100}],n={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},l=["times","days","months","years","decades"],_={},T={},D={timeZone:-39,format:-38,dayViewHeaderFormat:-37,extraFormats:-36,stepping:-35,minDate:-34,maxDate:-33,useCurrent:-32,collapse:-31,locale:-30,defaultDate:-29,disabledDates:-28,enabledDates:-27,icons:-26,tooltips:-25,useStrict:-24,sideBySide:-23,daysOfWeekDisabled:-22,calendarWeeks:-21,viewMode:-20,toolbarPlacement:-19,buttons:-18,widgetPositioning:-17,widgetParent:-16,ignoreReadonly:-15,keepOpen:-14,focusOnShow:-13,inline:-12,keepInvalid:-11,keyBinds:-10,debug:-9,allowInputToggle:-8,disabledTimeIntervals:-7,disabledHours:-6,enabledHours:-5,viewDate:-4,allowMultidate:-3,multidateSeparator:-2,updateOnlyThroughDateOption:-1,date:1},V={time:"clock",date:"calendar",up:"arrow-up",down:"arrow-down",previous:"arrow-left",next:"arrow-right",today:"arrow-down-circle",clear:"trash-2",close:"x"};function P(p,o){return D[p]&&D[o]?D[p]<0&&D[o]<0?Math.abs(D[o])-Math.abs(D[p]):D[p]<0?-1:D[o]<0?1:D[p]-D[o]:D[p]?D[p]:D[o]?D[o]:0}var Y={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:b.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{type:"class",time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-arrow-up",down:"fa fa-arrow-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-calendar-check-o",clear:"fa fa-tras
5h",close:"fa fa-times"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time",selectDate:"Select Date"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",buttons:{showToday:!1,showClear:!1,showClose:!1},widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,readonly:!1,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,keyBinds:{up:function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(o.clone().subtract(7,"d")):this.date(o.clone().add(this.stepping(),"m")),!0},down:function(){if(!this.widget)return this.show(),!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(o.clone().add(7,"d")):this.date(o.clone().subtract(this.stepping(),"m")),!0},"control up":function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(o.clone().subtract(1,"y")):this.date(o.clone().add(1,"h")),!0},"control down":function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(o.clone().add(1,"y")):this.date(o.clone().subtract(1,"h")),!0},left:function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(o.clone().subtract(1,"d")),!0},right:function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(o.clone().add(1,"d")),!0},pageUp:function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(o.clone().subtract(1,"M")),!0},pageDown:function(){if(!this.widget)return!1;var o=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(o.clone().add(1,"M")),!0},enter:function(){return this.widget?(this.hide(),!0):!1},escape:function(){return this.widget?(this.hide(),!0):!1},"control space":function(){return this.widget?(this.widget.find(".timepicker").is(":visible")&&this.widget.find('.btn[data-action="togglePeriod"]').click(),!0):!1},t:function(){return this.widget?(this.date(this.getMoment()),!0):!1},delete:function(){return this.widget?(this.clear(),!0):!1}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1,allowMultidate:!1,multidateSeparator:", ",updateOnlyThroughDateOption:!1,promptTimeOnDateChange:!1,promptTimeOnDateChangeTransitionDelay:200},A=(function(){function p(d,t){this._options=this._getOptions(t),this._element=d,this._dates=[],this._datesFormatted=[],this._viewDate=null,this.unset=!0,this.component=!1,this.widget=!1,this.use24Hours=null,this.actualFormat=null,this.parseFormats=null,this.currentViewMode=null,this.MinViewModeNumber=0,this.isInitFormatting=!1,this.isInit=!1,this.isDateUpdateThroughDateOptionFromClientCode=!1,this.hasInitDate=!1,this.initDate=void 0,this._notifyChangeEventContext=void 0,this._currentPromptTimeTimeout=null,this._int()}var o=p.prototype;return o._int=function(){this.isInit=!0;var t=this._element.data("target-input");this._element.is("input")?this.input=this._element:t!==void 0&&(t==="nearest"?this.input=this._element.find("input"):this.input=e(t)),this._dates=[],this._dates[0]=this.getMoment(),this._viewDate=this.getMoment().clone(),e.extend(!0,this._options,this._dataToOptions()),this.hasInitDate=!1,this.initDate=void 0,this.options(this._options),this.isInitFormatting=!0,this._initFormatting(),this.isInitFormatting=!1,this.input!==void 0&&this.input.is("input")&&this.input.val().trim().length!==0?this._setValue(this._parseInputDate(this.input.val().trim()),0):this._options.defaultDate&&this.input!==void 0&&this.input.attr("placeholder")===void 0&&this._setValue(this._options.defaultDate,0),this.hasInitDate&&this.date(this.initDate),this._options.inline&&this.show(),this.isInit=!1},o._update=function(){this.widget&&(this._fillDate(),this._fillTime())},o._setValue=function(t,a){var h=typeof a>"u",m=!t&&h,w=this.isDateUpdateThroughDateOptionFromClientCode,C=!this.isInit&&this._options.updateOnlyThroughDateOption&&!w,y="",x=!1,k=this.unset?null:this._dates[a];if(!k&&!this.unset&&h&&m&&(k=this._dates[this._dates.length-1]),!t){if(C){this._notifyEvent({type:p.Event.CHANGE,date:t,oldDate:k,isClear:m,isInvalid:x,isDateUpdateThroughDateOptionFromClientCode:w,isInit:this.isInit});return}!this._options.allowMultidate||this._dates.length===1||m?(this.unset=!0,this._dates=[],this._datesFormatted=[]):(y=""+this._element.data("date")+this._options.multidateSeparator,y=k&&y.replace(""+k.format(this.actualFormat)+this._options.multidateSeparator,"").replace(""+this._options.multidateSeparator+this._options.multidateSeparator,"").replace(new RegExp(I(this._options.multidateSeparator)+"\\s*$"),"")||"",this._dates.splice(a,1),this._datesFormatted.splice(a,1)),y=S(y),this.input!==void 0&&(this.input.val(y),this.input.trigger("input")),this._element.data("date",y),this._notifyEvent({type:p.Event.CHANGE,date:!1,oldDate:k,isClear:m,isInvalid:x,isDateUpdateThroughDateOptionFromClientCode:w,isInit:this.isInit}),this._update();return}if(t=t.clone().locale(this._options.locale),this._hasTimeZone()&&t.tz(this._options.timeZone),this._options.stepping!==1&&t.minutes(Math.round(t.minutes()/this._options.stepping)*this._options.stepping).seconds(0),this._isValid(t)){if(C){this._notifyEvent({type:p.Event.CHANGE,date:t.clone(),oldDate:k,isClear:m,isInvalid:x,isDateUpdateThroughDateOptionFromClientCode:w,isInit:this.isInit});return}if(this._dates[a]=t,this._datesFormatted[a]=t.format("YYYY-MM-DD"),this._viewDate=t.clone(),this._options.allowMultidate&&this._dates.length>1){for(var H=0;H<this._dates.length;H++)y+=""+this._dates[H].format(this.actualFormat)+this._options.multidateSeparator;y=y.replace(new RegExp(this._options.multidateSeparator+"\\s*$"),"")}else y=this._dates[a].format(this.actualFormat);y=S(y),this.input!==void 0&&(this.input.val(y),this.input.trigger("input")),this._element.data("date",y),this.unset=!1,this._update(),this._notifyEvent({type:p.Event.CHANGE,date:this._dates[a].clone(),oldDate:k,isClear:m,isInvalid:x,isDateUpdateThroughDateOptionFromClientCode:w,isInit:this.isInit})}else x=!0,this._options.keepInvalid?this._notifyEvent({type:p.Event.CHANGE,date:t,oldDate:k,isClear:m,isInvalid:x,isDateUpdateThroughDateOptionFromClientCode:w,isInit:this.isInit}):this.input!==void 0&&(this.input.val(""+(this.unset?"":this._dates[a].format(this.actualFormat))),this.input.trigger("input")),this._notifyEvent({type:p.Event.ERROR,date:t,oldDate:k})},o._change=function(t){var a=e(t.target).val().trim(),h=a?this._parseInputDate(a):null;return this._setValue(h,0),t.stopImmediatePropagation(),!1},o._getOptions=function(t){return t=e.extend(!0,{},Y,t&&t.icons&&t.icons.type==="feather"?{icons:V}:{},t),t},o._hasTimeZone=function(){return b.tz!==void 0&&this._options.timeZone!==void 0&&this._options.timeZone!==null&&this._options.timeZone!==""},o._isEnabled=function(t){if(typeof t!="string"||t.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return this.actualFormat.indexOf("Y")!==-1;case"M":return this.actualFormat.indexOf("M")!==-1;case"d":return this.actualFormat.toLowerCase().indexOf("d")!==-1;case"h":case"H":return this.actualFormat.toLowerCase().indexOf("h")!==-1;case"m":return this.actualFormat.indexOf("m")!==-1;case"s":return this.actualFormat.indexOf("s")!==-1;case"a":case"A":return this.actualFormat.toLowerCase().indexOf("a")!==-1;default:return!1}},o._hasTime=function(){return this._isEnabled("h")||this._isEnabled("m")||this._isEnabled("s")},o._hasDate=function(){return this._isEnabled("y")||this._isEnabled("M")||this._isEnabled("d")},o._dataToOptions=function(){var t=this._element.data(),a={};return t.dateOptions&&t.dateOptions instanceof Object&&(a=e.extend(!0,a,t.dateOptions)),e.each(this._options,function(h){var m="date"+h.charAt(0).toUpperCase()+h.slice(1);t[m]!==void 0?a[h]=t[m]:delete a[h]}),a},o._format=function(){return this._options.format||"YYYY-MM-DD HH:mm"},o._areSameDates=function(t,a){var h=this._format();return t&&a&&(t.isSame(a)||b(t.format(h),h).isSame(b(a.format(h),h)))},o._notifyEvent=function(t){if(t.type===p.Event.CHANGE){if(this._notifyChangeEventContext=this._notifyChangeEventContext||0,this._notifyChangeEventContext++,t.date&&this._areSameDates(t.date,t.oldDate)||!t.isClear&&!t.date&&!t.oldDate||this._notifyChangeEventContext>1){this._notifyChangeEventContext=void 0;return}this._handlePromptTimeIfNeeded(t)}this._element.trigger(t),this._notifyChangeEventContext=void 0},o._handlePromptTimeIfNeeded=function(t){if(this._options.promptTimeOnDateChange){if(!t.oldDate&&this._options.useCurrent)return;if(t.oldDate&&t.date&&(t.oldDate.format("YYYY-MM-DD")===t.date.format("YYYY-MM-DD")||t.oldDate.format("YYYY-MM-DD")!==t.date.format("YYYY-MM-DD")&&t.oldDate.format("HH:mm:ss")!==t.date.format("HH:mm:ss")))return;var a=this;clearTimeout(this._currentPromptTimeTimeout),this._currentPromptTimeTimeout=setTimeout(function(){a.widget&&a.widget.find('[data-action="togglePicker"]').click()},this._options.promptTimeOnDateChangeTransitionDelay)}},o._viewUpdate=function(t){t==="y"&&(t="YYYY"),this._notifyEvent({type:p.Event.UPDATE,change:t,viewDate:this._viewDate.clone()})},o._showMode=function(t){this.widget&&(t&&(this.currentViewMode=Math.max(this.MinViewModeNumber,Math.min(3,this.currentViewMode+t))),this.widget.find(".datepicker > div").hide().filter(".datepicker-"+r[this.currentViewMode].CLASS_NAME).show())},o._isInDisabledDates=function(t){return this._options.disabledDates[t.format("YYYY-MM-DD")]===!0},o._isInEnabledDates=function(t){return this._options.enabledDates[t.format("YYYY-MM-DD")]===!0},o._isInDisabledHours=function(t){return this._options.disabledHours[t.format("H")]===!0},o._isInEnabledHours=function(t){return this._options.enabledHours[t.format("H")]===!0},o._isValid=function(t,a){if(!t||!t.isValid()||this._options.disabledDates&&a==="d"&&this._isInDisabledDates(t)||this._options.enabledDates&&a==="d"&&!this._isInEnabledDates(t)||this._options.minDate&&t.isBefore(this._options.minDate,a)||this._options.maxDate&&t.isAfter(this._options.maxDate,a)||this._options.daysOfWeekDisabled&&a==="d"&&this._options.daysOfWeekDisabled.indexOf(t.day())!==-1||this._options.disabledHours&&(a==="h"||a==="m"||a==="s")&&this._isInDisabledHours(t)||this._options.enabledHours&&(a==="h"||a==="m"||a==="s")&&!this._isInEnabledHours(t))return!1;if(this._options.disabledTimeIntervals&&(a==="h"||a==="m"||a==="s")){var h=!1;if(e.each(this._options.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return h=!0,!1}),h)return!1}return!0},o._parseInputDate=function(t,a){var h=a===void 0?{}:a,m=h.isPickerShow,w=m===void 0?!1:m;return this._options.parseInputDate===void 0||w?b.isMoment(t)||(t=this.getMoment(t)):t=this._options.parseInputDate(t),t},o._keydown=function(t){var a=null,h,m,w,C,y=[],x={},k=t.which,H="p";_[k]=H;for(h in _)_.hasOwnProperty(h)&&_[h]===H&&(y.push(h),parseInt(h,10)!==k&&(x[h]=!0));for(h in this._options.keyBinds)if(this._options.keyBinds.hasOwnProperty(h)&&typeof this._options.keyBinds[h]=="function"&&(w=h.split(" "),w.length===y.length&&n[k]===w[w.length-1])){for(C=!0,m=w.length-2;m>=0;m--)if(!(n[w[m]]in x)){C=!1;break}if(C){a=this._options.keyBinds[h];break}}a&&a.call(this)&&(t.stopPropagation(),t.preventDefault())},o._keyup=function(t){_[t.which]="r",T[t.which]&&(T[t.which]=!1,t.stopPropagation(),t.preventDefault())},o._indexGivenDates=function(t){var a={},h=this;return e.each(t,function(){var m=h._parseInputDate(this);m.isValid()&&(a[m.format("YYYY-MM-DD")]=!0)}),Object.keys(a).length?a:!1}
5,o._indexGivenHours=function(t){var a={};return e.each(t,function(){a[this]=!0}),Object.keys(a).length?a:!1},o._initFormatting=function(){var t=this._options.format||"L LT",a=this;this.actualFormat=t.replace(/(\[[^\[]*])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(h){return(a.isInitFormatting&&a._options.date===null?a.getMoment():a._dates[0]).localeData().longDateFormat(h)||h}),this.parseFormats=this._options.extraFormats?this._options.extraFormats.slice():[],this.parseFormats.indexOf(t)<0&&this.parseFormats.indexOf(this.actualFormat)<0&&this.parseFormats.push(this.actualFormat),this.use24Hours=this.actualFormat.toLowerCase().indexOf("a")<1&&this.actualFormat.replace(/\[.*?]/g,"").indexOf("h")<1,this._isEnabled("y")&&(this.MinViewModeNumber=2),this._isEnabled("M")&&(this.MinViewModeNumber=1),this._isEnabled("d")&&(this.MinViewModeNumber=0),this.currentViewMode=Math.max(this.MinViewModeNumber,this.currentViewMode),this.unset||this._setValue(this._dates[0],0)},o._getLastPickedDate=function(){var t=this._dates[this._getLastPickedDateIndex()];return!t&&this._options.allowMultidate&&(t=b(new Date)),t},o._getLastPickedDateIndex=function(){return this._dates.length-1},o.getMoment=function(t){var a;return t==null?a=b().clone().locale(this._options.locale):this._hasTimeZone()?a=b.tz(t,this.parseFormats,this._options.locale,this._options.useStrict,this._options.timeZone):a=b(t,this.parseFormats,this._options.locale,this._options.useStrict),this._hasTimeZone()&&a.tz(this._options.timeZone),a},o.toggle=function(){return this.widget?this.hide():this.show()},o.readonly=function(t){if(arguments.length===0)return this._options.readonly;if(typeof t!="boolean")throw new TypeError("readonly() expects a boolean parameter");this._options.readonly=t,this.input!==void 0&&this.input.prop("readonly",this._options.readonly),this.widget&&(this.hide(),this.show())},o.ignoreReadonly=function(t){if(arguments.length===0)return this._options.ignoreReadonly;if(typeof t!="boolean")throw new TypeError("ignoreReadonly() expects a boolean parameter");this._options.ignoreReadonly=t},o.options=function(t){if(arguments.length===0)return e.extend(!0,{},this._options);if(!(t instanceof Object))throw new TypeError("options() this.options parameter should be an object");e.extend(!0,this._options,t);var a=this,h=Object.keys(this._options).sort(P);e.each(h,function(m,w){var C=a._options[w];if(a[w]!==void 0){if(a.isInit&&w==="date"){a.hasInitDate=!0,a.initDate=C;return}a[w](C)}})},o.date=function(t,a){if(a=a||0,arguments.length===0)return this.unset?null:this._options.allowMultidate?this._dates.join(this._options.multidateSeparator):this._dates[a].clone();if(t!==null&&typeof t!="string"&&!b.isMoment(t)&&!(t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");typeof t=="string"&&L(t)&&(t=new Date(t)),this._setValue(t===null?null:this._parseInputDate(t),a)},o.updateOnlyThroughDateOption=function(t){if(typeof t!="boolean")throw new TypeError("updateOnlyThroughDateOption() expects a boolean parameter");this._options.updateOnlyThroughDateOption=t},o.format=function(t){if(arguments.length===0)return this._options.format;if(typeof t!="string"&&(typeof t!="boolean"||t!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+t);this._options.format=t,this.actualFormat&&this._initFormatting()},o.timeZone=function(t){if(arguments.length===0)return this._options.timeZone;if(typeof t!="string")throw new TypeError("newZone() expects a string parameter");this._options.timeZone=t},o.dayViewHeaderFormat=function(t){if(arguments.length===0)return this._options.dayViewHeaderFormat;if(typeof t!="string")throw new TypeError("dayViewHeaderFormat() expects a string parameter");this._options.dayViewHeaderFormat=t},o.extraFormats=function(t){if(arguments.length===0)return this._options.extraFormats;if(t!==!1&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");this._options.extraFormats=t,this.parseFormats&&this._initFormatting()},o.disabledDates=function(t){if(arguments.length===0)return this._options.disabledDates?e.extend({},this._options.disabledDates):this._options.disabledDates;if(!t)return this._options.disabledDates=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");this._options.disabledDates=this._indexGivenDates(t),this._options.enabledDates=!1,this._update()},o.enabledDates=function(t){if(arguments.length===0)return this._options.enabledDates?e.extend({},this._options.enabledDates):this._options.enabledDates;if(!t)return this._options.enabledDates=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");this._options.enabledDates=this._indexGivenDates(t),this._options.disabledDates=!1,this._update()},o.daysOfWeekDisabled=function(t){if(arguments.length===0)return this._options.daysOfWeekDisabled.splice(0);if(typeof t=="boolean"&&!t)return this._options.daysOfWeekDisabled=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(this._options.daysOfWeekDisabled=t.reduce(function(m,w){return w=parseInt(w,10),w>6||w<0||isNaN(w)||m.indexOf(w)===-1&&m.push(w),m},[]).sort(),this._options.useCurrent&&!this._options.keepInvalid)for(var a=0;a<this._dates.length;a++){for(var h=0;!this._isValid(this._dates[a],"d");){if(this._dates[a].add(1,"d"),h===31)throw"Tried 31 times to find a valid date";h++}this._setValue(this._dates[a],a)}this._update()},o.maxDate=function(t){if(arguments.length===0)return this._options.maxDate?this._options.maxDate.clone():this._options.maxDate;if(typeof t=="boolean"&&t===!1)return this._options.maxDate=!1,this._update(),!0;typeof t=="string"&&(t==="now"||t==="moment")&&(t=this.getMoment());var a=this._parseInputDate(t);if(!a.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(this._options.minDate&&a.isBefore(this._options.minDate))throw new TypeError("maxDate() date parameter is before this.options.minDate: "+a.format(this.actualFormat));this._options.maxDate=a;for(var h=0;h<this._dates.length;h++)this._options.useCurrent&&!this._options.keepInvalid&&this._dates[h].isAfter(t)&&this._setValue(this._options.maxDate,h);this._viewDate.isAfter(a)&&(this._viewDate=a.clone().subtract(this._options.stepping,"m")),this._update()},o.minDate=function(t){if(arguments.length===0)return this._options.minDate?this._options.minDate.clone():this._options.minDate;if(typeof t=="boolean"&&t===!1)return this._options.minDate=!1,this._update(),!0;typeof t=="string"&&(t==="now"||t==="moment")&&(t=this.getMoment());var a=this._parseInputDate(t);
5if(!a.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(this._options.maxDate&&a.isAfter(this._options.maxDate))throw new TypeError("minDate() date parameter is after this.options.maxDate: "+a.format(this.actualFormat));this._options.minDate=a;for(var h=0;h<this._dates.length;h++)this._options.useCurrent&&!this._options.keepInvalid&&this._dates[h].isBefore(t)&&this._setValue(this._options.minDate,h);this._viewDate.isBefore(a)&&(this._viewDate=a.clone().add(this._options.stepping,"m")),this._update()},o.defaultDate=function(t){if(arguments.length===0)return this._options.defaultDate?this._options.defaultDate.clone():this._options.defaultDate;if(!t)return this._options.defaultDate=!1,!0;typeof t=="string"&&(t==="now"||t==="moment"?t=this.getMoment():t=this.getMoment(t));var a=this._parseInputDate(t);if(!a.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!this._isValid(a))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");this._options.defaultDate=a,(this._options.defaultDate&&this._options.inline||this.input!==void 0&&this.input.val().trim()==="")&&this._setValue(this._options.defaultDate,0)},o.locale=function(t){if(arguments.length===0)return this._options.locale;if(!b.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");this._options.locale=t;for(var a=0;a<this._dates.length;a++)this._dates[a].locale(this._options.locale);this._viewDate.locale(this._options.locale),this.actualFormat&&this._initFormatting(),this.widget&&(this.hide(),this.show())},o.stepping=function(t){if(arguments.length===0)return this._options.stepping;t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),this._options.stepping=t},o.useCurrent=function(t){var a=["year","month","day","hour","minute"];if(arguments.length===0)return this._options.useCurrent;if(typeof t!="boolean"&&typeof t!="string")throw new TypeError("useCurrent() expects a boolean or string parameter");if(typeof t=="string"&&a.indexOf(t.toLowerCase())===-1)throw new TypeError("useCurrent() expects a string parameter of "+a.join(", "));this._options.useCurrent=t},o.collapse=function(t){if(arguments.length===0)return this._options.collapse;if(typeof t!="boolean")throw new TypeError("collapse() expects a boolean parameter");if(this._options.collapse===t)return!0;this._options.collapse=t,this.widget&&(this.hide(),this.show())},o.icons=function(t){if(arguments.length===0)return e.extend({},this._options.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");e.extend(this._options.icons,t),this.widget&&(this.hide(),this.show())},o.tooltips=function(t){if(arguments.length===0)return e.extend({},this._options.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");e.extend(this._options.tooltips,t),this.widget&&(this.hide(),this.show())},o.useStrict=function(t){if(arguments.length===0)return this._options.useStrict;if(typeof t!="boolean")throw new TypeError("useStrict() expects a boolean parameter");this._options.useStrict=t},o.sideBySide=function(t){if(arguments.length===0)return this._options.sideBySide;if(typeof t!="boolean")throw new TypeError("sideBySide() expects a boolean parameter");this._options.sideBySide=t,this.widget&&(this.hide(),this.show())},o.viewMode=function(t){if(arguments.length===0)return this._options.viewMode;if(typeof t!="string")throw new TypeError("viewMode() expects a string parameter");if(p.ViewModes.indexOf(t)===-1)throw new TypeError("viewMode() parameter must be one of ("+p.ViewModes.join(", ")+") value");this._options.viewMode=t,this.currentViewMode=Math.max(p.ViewModes.indexOf(t)-1,this.MinViewModeNumber),this._showMode()},o.calendarWeeks=function(t){if(arguments.length===0)return this._options.calendarWeeks;if(typeof t!="boolean")throw new TypeError("calendarWeeks() expects parameter to be a boolean value");this._options.calendarWeeks=t,this._update()},o.buttons=function(t){if(arguments.length===0)return e.extend({},this._options.buttons);if(!(t instanceof Object))throw new TypeError("buttons() expects parameter to be an Object");
5if(e.extend(this._options.buttons,t),typeof this._options.buttons.showToday!="boolean")throw new TypeError("buttons.showToday expects a boolean parameter");if(typeof this._options.buttons.showClear!="boolean")throw new TypeError("buttons.showClear expects a boolean parameter");if(typeof this._options.buttons.showClose!="boolean")throw new TypeError("buttons.showClose expects a boolean parameter");this.widget&&(this.hide(),this.show())},o.keepOpen=function(t){if(arguments.length===0)return this._options.keepOpen;if(typeof t!="boolean")throw new TypeError("keepOpen() expects a boolean parameter");this._options.keepOpen=t},o.focusOnShow=function(t){if(arguments.length===0)return this._options.focusOnShow;if(typeof t!="boolean")throw new TypeError("focusOnShow() expects a boolean parameter");this._options.focusOnShow=t},o.inline=function(t){if(arguments.length===0)return this._options.inline;if(typeof t!="boolean")throw new TypeError("inline() expects a boolean parameter");this._options.inline=t},o.clear=function(){this._setValue(null)},o.keyBinds=function(t){if(arguments.length===0)return this._options.keyBinds;this._options.keyBinds=t},o.debug=function(t){if(typeof t!="boolean")throw new TypeError("debug() expects a boolean parameter");this._options.debug=t},o.allowInputToggle=function(t){if(arguments.length===0)return this._options.allowInputToggle;if(typeof t!="boolean")throw new TypeError("allowInputToggle() expects a boolean parameter");this._options.allowInputToggle=t},o.keepInvalid=function(t){if(arguments.length===0)return this._options.keepInvalid;if(typeof t!="boolean")throw new TypeError("keepInvalid() expects a boolean parameter");this._options.keepInvalid=t},o.datepickerInput=function(t){if(arguments.length===0)return this._options.datepickerInput;if(typeof t!="string")throw new TypeError("datepickerInput() expects a string parameter");this._options.datepickerInput=t},o.parseInputDate=function(t){if(arguments.length===0)return this._options.parseInputDate;if(typeof t!="function")throw new TypeError("parseInputDate() should be as function");this._options.parseInputDate=t},o.disabledTimeIntervals=function(t){if(arguments.length===0)return this._options.disabledTimeIntervals?e.extend({},this._options.disabledTimeIntervals):this._options.disabledTimeIntervals;if(!t)return this._options.disabledTimeIntervals=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");this._options.disabledTimeIntervals=t,this._update()},o.disabledHours=function(t){if(arguments.length===0)return this._options.disabledHours?e.extend({},this._options.disabledHours):this._options.disabledHours;if(!t)return this._options.disabledHours=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(this._options.disabledHours=this._indexGivenHours(t),this._options.enabledHours=!1,this._options.useCurrent&&!this._options.keepInvalid)for(var a=0;a<this._dates.length;a++){for(var h=0;!this._isValid(this._dates[a],"h");){if(this._dates[a].add(1,"h"),h===24)throw"Tried 24 times to find a valid date";h++}this._setValue(this._dates[a],a)}this._update()},o.enabledHours=function(t){if(arguments.length===0)return this._options.enabledHours?e.extend({},this._options.enabledHours):this._options.enabledHours;if(!t)return this._options.enabledHours=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(this._options.enabledHours=this._indexGivenHours(t),this._options.disabledHours=!1,this._options.useCurrent&&!this._options.keepInvalid)for(var a=0;a<this._dates.length;a++){for(var h=0;!this._isValid(this._dates[a],"h");){if(this._dates[a].add(1,"h"),h===24)throw"Tried 24 times to find a valid date";h++}this._setValue(this._dates[a],a)}this._update()},o.viewDate=function(t){if(arguments.length===0)return this._viewDate.clone();if(!t)return this._viewDate=(this._dates[0]||this.getMoment()).clone(),!0;if(typeof t!="string"&&!b.isMoment(t)&&!(t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");this._viewDate=this._parseInputDate(t),this._update(),this._viewUpdate(r[this.currentViewMode]&&r[this.currentViewMode].NAV_FUNCTION)},o._fillDate=function(){},o._useFeatherIcons=function(){return this._options.icons.type==="feather"},o.allowMultidate=function(t){if(typeof t!="boolean")throw new TypeError("allowMultidate() expects a boolean parameter");this._options.allowMultidate=t},o.multidateSeparator=function(t){if(arguments.length===0)return this._options.multidateSeparator;if(typeof t!="string")throw new TypeError("multidateSeparator expects a string parameter");this._options.multidateSeparator=t},z(p,null,[{key:"NAME",get:function(){return M}},{key:"DATA_KEY",get:function(){return v}},{key:"EVENT_KEY",get:function(){return u}},{key:"DATA_API_KEY",get:function(){return f}},{key:"DatePickerModes",get:function(){return r}},{key:"ViewModes",get:function(){return l}},{key:"Event",get:function(){return i}},{key:"Selector",get:function(){return c}},{key:"Default",get:function(){return Y},set:function(t){Y=t}},{key:"ClassName",get:function(){return s}}]),p})();return A})(F,moment),Q=(function(e){var b=e.fn[g.NAME],I=["top","bottom","auto"],E=["left","right","auto"],L=["default","to
5p","bottom"],S=function(u){var f=u.data("target"),c;return f||(f=u.attr("href")||"",f=/^#[a-z]/i.test(f)?f:null),c=e(f),c.length===0?u:(c.data(g.DATA_KEY)||e.extend({},c.data(),e(this).data()),c)},M=(function(v){B(u,v);function u(c,s){var i;return i=v.call(this,c,s)||this,i._init(),i}var f=u.prototype;return f._init=function(){if(this._element.hasClass("input-group")){var s=this._element.find(".datepickerbutton");s.length===0?this.component=this._element.find('[data-toggle="datetimepicker"]'):this.component=s}},f._iconTag=function(s){return typeof feather<"u"&&this._useFeatherIcons()&&feather.icons[s]?e("<span>").html(feather.icons[s].toSvg()):e("<span>").addClass(s)},f._getDatePickerTemplate=function(){var s=e("<thead>").append(e("<tr>").append(e("<th>").addClass("prev").attr("data-action","previous").append(this._iconTag(this._options.icons.previous))).append(e("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",this._options.calendarWeeks?"6":"5")).append(e("<th>").addClass("next").attr("data-action","next").append(this._iconTag(this._options.icons.next)))),i=e("<tbody>").append(e("<tr>").append(e("<td>").attr("colspan",this._options.calendarWeeks?"8":"7")));return[e("<div>").addClass("datepicker-days").append(e("<table>").addClass("table table-sm").append(s).append(e("<tbody>"))),e("<div>").addClass("datepicker-months").append(e("<table>").addClass("table-condensed").append(s.clone()).append(i.clone())),e("<div>").addClass("datepicker-years").append(e("<table>").addClass("table-condensed").append(s.clone()).append(i.clone())),e("<div>").addClass("datepicker-decades").append(e("<table>").addClass("table-condensed").append(s.clone()).append(i.clone()))]},f._getTimePickerMainTemplate=function(){var s=e("<tr>"),i=e("<tr>"),r=e("<tr>");return this._isEnabled("h")&&(s.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(this._iconTag(this._options.icons.up)))),i.append(e("<td>").append(e("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:this._options.tooltips.pickHour}).attr("data-action","showHours"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(this._iconTag(this._options.icons.down))))),this._isEnabled("m")&&(this._isEnabled("h")&&(s.append(e("<td>").addClass("separator")),i.append(e("<td>").addClass("separator").html(":")),r.append(e("<td>").addClass("separator"))),s.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(this._iconTag(this._options.icons.up)))),i.append(e("<td>").append(e("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:this._options.tooltips.pickMinute}).attr("data-action","showMinutes"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(this._iconTag(this._options.icons.down))))),this._isEnabled("s")&&(this._isEnabled("m")&&(s.append(e("<td>").addClass("separator")),i.append(e("<td>").addClass("separator").html(":")),r.append(e("<td>").addClass("separator"))),s.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(this._iconTag(this._options.icons.up)))),i.append(e("<td>").append(e("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:this._options.tooltips.pickSecond}).attr("data-action","showSeconds"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(this._iconTag(this._options.icons.down))))),this.use24Hours||(s.append(e("<td>").addClass("separator")),i.append(e("<td>").append(e("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:this._options.tooltips.togglePeriod}))),r.append(e("<td>").addClass("separator"))),e("<div>").addClass("timepicker-picker").append(e("<table>").addClass("table-condensed").append([s,i,r]))},f._getTimePickerTemplate=function(){var s=e("<div>").addClass("timepicker-hours").append(e("<table>").addClass("table-condensed")),i=e("<div>").addClass("timepicker-minutes").append(e("<table>").addClass("table-condensed")),r=e("<div>").addClass("timepicker-seconds").append(e("<table>").addClass("table-condensed")),n=[this._getTimePickerMainTemplate()];return this._isEnabled("h")&&n.push(s),this._isEnabled("m")&&n.push(i),this._isEnabled("s")&&n.push(r),n},f._getToolbar=function(){var s=[];if(this._options.buttons.showToday&&s.push(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1","data-action":"today",title:this._options.tooltips.today}).append(this._iconTag(this._options.icons.today)))),!this._options.sideBySide&&this._options.collapse&&this._hasDate(
5)&&this._hasTime()){var i,r;this._options.viewMode==="times"?(i=this._options.tooltips.selectDate,r=this._options.icons.date):(i=this._options.tooltips.selectTime,r=this._options.icons.time),s.push(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1","data-action":"togglePicker",title:i}).append(this._iconTag(r))))}return this._options.buttons.showClear&&s.push(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1","data-action":"clear",title:this._options.tooltips.clear}).append(this._iconTag(this._options.icons.clear)))),this._options.buttons.showClose&&s.push(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1","data-action":"close",title:this._options.tooltips.close}).append(this._iconTag(this._options.icons.close)))),s.length===0?"":e("<table>").addClass("table-condensed").append(e("<tbody>").append(e("<tr>").append(s)))},f._getTemplate=function(){var s=e("<div>").addClass(("bootstrap-datetimepicker-widget dropdown-menu "+(this._options.calendarWeeks?"tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks":"")+" "+((this._useFeatherIcons()?"tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons":"")+" ")).trim()),i=e("<div>").addClass("datepicker").append(this._getDatePickerTemplate()),r=e("<div>").addClass("timepicker").append(this._getTimePickerTemplate()),n=e("<ul>").addClass("list-unstyled"),l=e("<li>").addClass(("picker-switch"+(this._options.collapse?" accordion-toggle":"")+" "+(this._useFeatherIcons()?"picker-switch-with-feathers-icons":"")).trim()).append(this._getToolbar());return this._options.inline&&s.removeClass("dropdown-menu"),this.use24Hours&&s.addClass("usetwentyfour"),(this.input!==void 0&&this.input.prop("readonly")||this._options.readonly)&&s.addClass("bootstrap-datetimepicker-widget-readonly"),this._isEnabled("s")&&!this.use24Hours&&s.addClass("wider"),this._options.sideBySide&&this._hasDate()&&this._hasTime()?(s.addClass("timepicker-sbs"),this._options.toolbarPlacement==="top"&&s.append(l),s.append(e("<div>").addClass("row").append(i.addClass("col-md-6")).append(r.addClass("col-md-6"))),(this._options.toolbarPlacement==="bottom"||this._options.toolbarPlacement==="default")&&s.append(l),s):(this._options.toolbarPlacement==="top"&&n.append(l),this._hasDate()&&n.append(e("<li>").addClass(this._options.collapse&&this._hasTime()?"collapse":"").addClass(this._options.collapse&&this._hasTime()&&this._options.viewMode==="times"?"":"show").append(i)),this._options.toolbarPlacement==="default"&&n.append(l),this._hasTime()&&n.append(e("<li>").addClass(this._options.collapse&&this._hasDate()?"collapse":"").addClass(this._options.collapse&&this._hasDate()&&this._options.viewMode==="times"?"show":"").append(r)),this._options.toolbarPlacement==="bottom"&&n.append(l),s.append(n))},f._place=function(s){var i=s&&s.data&&s.data.picker||this,r=i._options.widgetPositioning.vertical,n=i._options.widgetPositioning.horizontal,l,_=(i.component&&i.component.length?i.component:i._element).position(),T=(i.component&&i.component.length?i.component:i._element).offset();if(i._options.widgetParent)l=i._options.widgetParent.append(i.widget);else if(i._element.is("input"))l=i._element.after(i.widget).parent();else if(i._options.inline){l=i._element.append(i.widget);return}else l=i._element,i._element.children().first().after(i.widget);if(r==="auto"&&(T.top+i.widget.height()*1.5>=e(window).height()+e(window).scrollTop()&&i.widget.height()+i._element.outerHeight()<T.top?r="top":r="bottom"),n==="auto"&&(l.width()<T.left+i.widget.outerWidth()/2&&T.left+i.widget.outerWidth()>e(window).width()?n="right":n="left"),r==="top"?i.widget.addClass("top").removeClass("bottom"):i.widget.addClass("bottom").removeClass("top"),n==="right"?i.widget.addClass("float-right"):i.widget.removeClass("float-right"),l.css("position")!=="relative"&&(l=l.parents().filter(function(){return e(this).css("position")==="relative"}).first()),l.length===0)throw new Error("datetimepicker component should be placed within a relative positioned container");i.widget.css({top:r==="top"?"auto":_.top+i._element.outerHeight()+"px",bottom:r==="top"?l.outerHeight()-(l===i._element?0:_.top)+"px":"auto",left:n==="left"?
vendor: 2,348 bytes, line 5
5(l===i._element?0:_.left)+"px":"auto",right:n==="left"?"auto":l.outerWidth()-i._element.outerWidth()-(l===i._element?0:_.left)+"px"})},f._fillDow=function(){var s=e("<tr>"),i=this._viewDate.clone().startOf("w").startOf("d");for(this._options.calendarWeeks===!0&&s.append(e("<th>").addClass("cw").text("#"));i.isBefore(this._viewDate.clone().endOf("w"));)s.append(e("<th>").addClass("dow").text(i.format("dd"))),i.add(1,"d");this.widget.find(".datepicker-days thead").append(s)},f._fillMonths=function(){for(var s=[],i=this._viewDate.clone().startOf("y").startOf("d");i.isSame(this._viewDate,"y");)s.push(e("<span>").attr("data-action","selectMonth").addClass("month").text(i.format("MMM"))),i.add(1,"M");this.widget.find(".datepicker-months td").empty().append(s)},f._updateMonths=function(){var s=this.widget.find(".datepicker-months"),i=s.find("th"),r=s.find("tbody").find("span"),n=this,l=this._getLastPickedDate();i.eq(0).find("span").attr("title",this._options.tooltips.prevYear),i.eq(1).attr("title",this._options.tooltips.selectYear),i.eq(2).find("span").attr("title",this._options.tooltips.nextYear),s.find(".disabled").removeClass("disabled"),this._isValid(this._viewDate.clone().subtract(1,"y"),"y")||i.eq(0).addClass("disabled"),i.eq(1).text(this._viewDate.year()),this._isValid(this._viewDate.clone().add(1,"y"),"y")||i.eq(2).addClass("disabled"),r.removeClass("active"),l&&l.isSame(this._viewDate,"y")&&!this.unset&&r.eq(l.month()).addClass("active"),r.each(function(_){n._isValid(n._viewDate.clone().month(_),"M")||e(this).addClass("disabled")})},f._getStartEndYear=function(s,i){var r=s/10,n=Math.floor(i/s)*s,l=n+r*9,_=Math.floor(i/r)*r;return[n,l,_]},f._updateYears=function(){var s=this.widget.find(".datepicker-years"),i=s.find("th"),r=this._getStartEndYear(10,this._viewDate.year()),n=this._viewDate.clone().year(r[0]),l=this._viewDate.clone().year(r[1]),_="";for(i.eq(0).find("span").attr("title",this._options.tooltips.prevDecade),i.eq(1).attr("title",this._options.tooltips.selectDecade),i.eq(2).find("span").attr("title",this._options.tooltips.nextDecade),s.find(".disabled").removeClass("disabled"),this._options.minDate&&this._options.minDate.isAfter(n,"y")&&i.eq(0).addClass("disabled"),i.eq(1).text(n.year()+"-"+l.year()),this._options.maxDate&&this._options.maxDate.isBefore(l,"y")&&i.eq(2).addClass("disabled"),_+='<sp
5an data-action="selectYear" class="year old'+(this._isValid(n,"y")?"":" disabled")+'">'+(n.year()-1)+"</span>";!n.isAfter(l,"y");)_+='<span data-action="selectYear" class="year'+(n.isSame(this._getLastPickedDate(),"y")&&!this.unset?" active":"")+(this._isValid(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");_+='<span data-action="selectYear" class="year old'+(this._isValid(n,"y")?"":" disabled")+'">'+n.year()+"</span>",s.find("td").html(_)},f._updateDecades=function(){var s=this.widget.find(".datepicker-decades"),i=s.find("th"),r=this._getStartEndYear(100,this._viewDate.year()),n=this._viewDate.clone().year(r[0]),l=this._viewDate.clone().year(r[1]),_=this._getLastPickedDate(),T=!1,D=!1,V,P="";for(i.eq(0).find("span").attr("title",this._options.tooltips.prevCentury),i.eq(2).find("span").attr("title",this._options.tooltips.nextCentury),s.find(".disabled").removeClass("disabled"),(n.year()===0||this._options.minDate&&this._options.minDate.isAfter(n,"y"))&&i.eq(0).addClass("disabled"),i.eq(1).text(n.year()+"-"+l.year()),this._options.maxDate&&this._options.maxDate.isBefore(l,"y")&&i.eq(2).addClass("disabled"),n.year()-10<0?P+="<span>&nbsp;</span>":P+='<span data-action="selectDecade" class="decade old" data-selection="'+(n.year()+6)+'">'+(n.year()-10)+"</span>";!n.isAfter(l,"y");)V=n.year()+11,T=this._options.minDate&&this._options.minDate.isAfter(n,"y")&&this._options.minDate.year()<=V,D=this._options.maxDate&&this._options.maxDate.isAfter(n,"y")&&this._options.maxDate.year()<=V,P+='<span data-action="selectDecade" class="decade'+(_&&_.isAfter(n)&&_.year()<=V?" active":"")+(!this._isValid(n,"y")&&!T&&!D?" disabled":"")+'" data-selection="'+(n.year()+6)+'">'+n.year()+"</span>",n.add(10,"y");P+='<span data-action="selectDecade" class="decade old" data-selection="'+(n.year()+6)+'">'+n.year()+"</span>",s.find("td").html(P)},f._fillDate=function(){v.prototype._fillDate.call(this);var s=this.widget.find(".datepicker-days"),i=s.find("th"),r=[],n,l,_,T;if(this._hasDate()){for(i.eq(0).find("span").attr("title",this._options.tooltips.prevMonth),i.eq(1).attr("title",this._options.tooltips.selectMonth),i.eq(2).find("span").attr("title",this._options.tooltips.nextMonth),s.find(".disabled").removeClass("disabled"),i.eq(1).text(this._viewDate.format(this._options.dayViewHeaderFormat)),this._isValid(this._viewDate.clone().subtract(1,"M"),"M")||i.eq(0).addClass("disabled"),this._isValid(this._viewDate.clone().add(1,"M"),"M")||i.eq(2).addClass("disabled"),n=this._viewDate.clone().startOf("M").startOf("w").startOf("d"),T=0;T<42;T++){if(n.weekday()===0&&(l=e("<tr>"),this._options.calendarWeeks&&l.append('<td class="cw">'+n.week()+"</td>"),r.push(l)),_="",n.isBefore(this._viewDate,"M")&&(_+=" old"),n.isAfter(this._viewDate,"M")&&(_+=" new"),this._options.allowMultidate){var D=this._datesFormatted.indexOf(n.format("YYYY-MM-DD"));D!==-1&&n.isSame(this._datesFormatted[D],"d")&&!this.unset&&(_+=" active")}else n.isSame(this._getLastPickedDate(),"d")&&!this.unset&&(_+=" active");this._isValid(n,"d")||(_+=" disabled"),n.isSame(this.getMoment(),"d")&&(_+=" today"),(n.day()===0||n.day()===6)&&(_+=" weekend"),l.append('<td data-action="selectDay" data-day="'+n.format("L")+'" class="day'+_+'">'+n.date()+"</td>"),n.add(1,"d")}e("body").addClass("tempusdominus-bootstrap-datetimepicker-widget-day-click"),e("body").append('<div class="tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel"></div>'),s.find("tbody").empty().append(r),e("body").find(".tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel").remove(),e("body").removeClass("tempusdominus-bootstrap-datetimepicker-widget-day-click"),this._updateMonths(),this._updateYears(),this._updateDecades()}},f._fillHours=function(){var s=this.widget.find(".timepicker-hours table"),i=this._viewDate.clone().startOf("d"),r=[],n=e("<tr>");for(this._viewDate.hour()>11&&!this.use24Hours&&i.hour(12);i.isSame(this._viewDate,"d")&&(this.use24Hours||this._viewDate.hour()<12&&i.hour()<12||this._viewDate.hour()>11);)i.hour()%4===0&&(n=e("<tr>"),r.push(n)),n.append('<td data-action="selectHour" class="hour'+(this._isValid(i,"h")?"":" disabled")+'">'+i.format(this.use24Hours?"HH":"hh")+"</td>"),i.add(1,"h");s.empty().append(r)},f._fillMinutes=function(){for(var s=this.widget.find(".timepicker-minutes table"),i=this._viewDate.clone().startOf("h"),r=[],n=this._options.stepping===1?5:this._options.stepping,l=e("<tr>");this._viewDate.isSame(i,"h");)i.minute()%(n*4)===0&&(l=e("<tr>"),r.push(l)),l.append('<td data-action="selectMinute" class="minute'+(this._isValid(i,"m")?"":" disabled")+'">'+i.format("mm")+"</td>"),i.add(n,"m");s.empty().append(r)},f._fillSeconds=function(){for(var s=this.widget.find(".timepicker-seconds table"),i=this._viewDate.clone().startOf("m"),r=[],n=e("<tr>");this._viewDate.isSame(i,"m");)i.second()%20===0&&(n=e("<tr>"),r.push(n)),n.append('<td data-action="selectSecond" class="second'+(this._isValid(i,"s")?"":" disabled")+'">'+i.format("ss")+"</td>"),i.add(5,"s");s.empty().append(r)},f._fillTime=function(){var s,i,r=this.widget.find(".timepicker span[data-time-component]"),n=this._getLastPickedDate();this.use24Hours||(s=this.widget.find(".timepicker [data-action=togglePeriod]"),i=n?n.clone().add(n.hours()>=12?-12:12,"h"):void 0,n&&s.text(n.format("A")),this._isValid(i,"h")?s.removeClass("disabled"):s.addClass("disabled")),n&&r.filter("[data-time-component=hours]").text(n.format(this.use24Hours?"HH":"hh")),n&&r.filter("[data-time-component=minutes]").text(n.format("mm")),n&&r.filter("[data-time-component=seconds]").text(n.format("ss")),this._fillHours(),this._fillMinutes(),this._fillSeconds()},f._doAction=function(s,i){var r=this._getLastPickedDate();if(e(s.currentTarget).is(".disabled"))return!1;switch(i=i||e(s.currentTarget).data("action"),i){case"next":{var n=g.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.add(g.DatePickerModes[this.currentViewMode].NAV_STEP,n),this._fillDate(),this._viewUpdate(n);break}case"previous":{var l=g.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.subtract(g.DatePickerModes[this.currentViewMode].NAV_STEP,l),this._fillDate(),this._viewUpdate(l);break}case"pickerSwitch":this._showMode(1);break;case"selectMonth":{var _=e(s.target).closest("tbody").find("span").index(e(s.target));this._viewDate.month(_),this.currentViewMode===this.MinViewModeNumber?(this._setValue(r.clone().year
5(this._viewDate.year()).month(this._viewDate.month()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("M");break}case"selectYear":{var T=parseInt(e(s.target).text(),10)||0;this._viewDate.year(T),this.currentViewMode===this.MinViewModeNumber?(this._setValue(r.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break}case"selectDecade":{var D=parseInt(e(s.target).data("selection"),10)||0;this._viewDate.year(D),this.currentViewMode===this.MinViewModeNumber?(this._setValue(r.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break}case"selectDay":{var V=this._viewDate.clone();e(s.target).is(".old")&&V.subtract(1,"M"),e(s.target).is(".new")&&V.add(1,"M");var P=V.date(parseInt(e(s.target).text(),10)),Y=0;this._options.allowMultidate?(Y=this._datesFormatted.indexOf(P.format("YYYY-MM-DD")),Y!==-1?this._setValue(null,Y):this._setValue(P,this._getLastPickedDateIndex()+1)):this._setValue(P,this._getLastPickedDateIndex()),!this._hasTime()&&!this._options.keepOpen&&!this._options.inline&&!this._options.allowMultidate&&this.hide();break}case"incrementHours":{if(!r)break;var A=r.clone().add(1,"h");this._isValid(A,"h")&&(this._getLastPickedDateIndex()<0&&this.date(A),this._setValue(A,this._getLastPickedDateIndex()));break}case"incrementMinutes":{if(!r)break;var p=r.clone().add(this._options.stepping,"m");this._isValid(p,"m")&&(this._getLastPickedDateIndex()<0&&this.date(p),this._setValue(p,this._getLastPickedDateIndex()));break}case"incrementSeconds":{if(!r)break;var o=r.clone().add(1,"s");this._isValid(o,"s")&&(this._getLastPickedDateIndex()<0&&this.date(o),this._setValue(o,this._getLastPickedDateIndex()));break}case"decrementHours":{if(!r)break;var d=r.clone().subtract(1,"h");this._isValid(d,"h")&&(this._getLastPickedDateIndex()<0&&this.date(d),this._setValue(d,this._getLastPickedDateIndex()));break}case"decrementMinutes":{if(!r)break;var t=r.clone().subtract(this._options.stepping,"m");this._isValid(t,"m")&&(this._getLastPickedDateIndex()<0&&this.date(t),this._setValue(t,this._getLastPickedDateIndex()));break}case"decrementSeconds":{if(!r)break;var a=r.clone().subtract(1,"s");this._isValid(a,"s")&&(this._getLastPickedDateIndex()<0&&this.date(a),this._setValue(a,this._getLastPickedDateIndex()));break}case"togglePeriod":{this._setValue(r.clone().add(r.hours()>=12?-12:12,"h"),this._getLastPickedDateIndex());break}case"togglePicker":{var h=e(s.target),m=h.closest("a"),w=h.closest("ul"),C=w.find(".show"),y=w.find(".collapse:not(.show)"),x=h.is("span")?h:h.find("span"),k,H,q;if(C&&C.length){if(k=C.data("collapse"),k&&k.transitioning)return!0;C.collapse?(C.collapse("hide"),y.collapse("show")):(C.removeClass("show"),y.addClass("show")),this._useFeatherIcons()?(m.toggleClass(this._options.icons.time+" "+this._options.icons.date),H=m.hasClass(this._options.icons.time)?this._options.icons.date:this._options.icons.time,m.html(this._iconTag(H))):x.toggleClass(this._options.icons.time+" "+this._options.icons.date),this._useFeatherIcons()?q=m.hasClass(this._options.icons.date):q=x.hasClass(this._options.icons.date),q?m.attr("title",this._options.tooltips.selectDate):m.attr("title",this._options.tooltips.selectTime)}}break;case"showPicker":this.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),this.widget.find(".timepicker .timepicker-picker").show();break;case"showHours":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-hours").show();break;case"showMinutes":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-minutes").show();break;case"showSeconds":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-seconds").show();break;case"selectHour":{var N=parseInt(e(s.target).text(),10);this.use24Hours||(r.hours()>=12?N!==12&&(N+=12):N===12&&(N=0)),this._setValue(r.clone().hours(N),this._getLastPickedDateIndex()),!this._isEnabled("a")&&!this._isEnabled("m")&&!this._options.keepOpen&&!this._options.inline?this.hide():this._doAction(s,"showPicker");break}case"selectMinute":this._setValue(r.clone().minutes(parseInt(e(s.target).text(),10)),this._getLastPickedDateIndex()),!this._isEnabled("a")&&!this._isEnabled("s")&&!this._options.keepOpen&&!this._options.inline?this.hide():this._doAction(s,"showPicker");break;case"selectSecond":this._setValue(r.clone().seconds(parseInt(e(s.target).text(),10)),this._getLastPickedDateIndex()),!this._isEnabled("a")&&!this._options.keepOpen&&!this._options.inline?this.hide():this._doAction(s,"showPicker");break;case"clear":this.clear();break;
5case"close":this.hide();break;case"today":{var G=this.getMoment();this._isValid(G,"d")&&this._setValue(G,this._getLastPickedDateIndex());break}}return!1},f.hide=function(){var s=!1;if(this.widget&&(this.widget.find(".collapse").each(function(){var r=e(this).data("collapse");return r&&r.transitioning?(s=!0,!1):!0}),!s)){this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this.widget.hide(),e(window).off("resize",this._place),this.widget.off("click","[data-action]"),this.widget.off("mousedown",!1),this.widget.remove(),this.widget=!1,this.input!==void 0&&this.input.val()!==void 0&&this.input.val().trim().length!==0&&this._setValue(this._parseInputDate(this.input.val().trim(),{isPickerShow:!1}),0);var i=this._getLastPickedDate();this._notifyEvent({type:g.Event.HIDE,date:this.unset?null:i?i.clone():void 0}),this.input!==void 0&&this.input.blur(),this._viewDate=i?i.clone():this.getMoment()}},f.show=function(){var s,i=!1,r={year:function(l){return l.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(l){return l.date(1).hours(0).seconds(0).minutes(0)},day:function(l){return l.hours(0).seconds(0).minutes(0)},hour:function(l){return l.seconds(0).minutes(0)},minute:function(l){return l.seconds(0)}};if(this.input!==void 0){if(this.input.prop("disabled")||!this._options.ignoreReadonly&&this.input.prop("readonly")||this.widget)return;this.input.val()!==void 0&&this.input.val().trim().length!==0?this._setValue(this._parseInputDate(this.input.val().trim(),{isPickerShow:!0}),0):i=!0}else i=!0;i&&this.unset&&this._options.useCurrent&&(s=this.getMoment(),typeof this._options.useCurrent=="string"&&(s=r[this._options.useCurrent](s)),this._setValue(s,0)),this.widget=this._getTemplate(),this._fillDow(),this._fillMonths(),this.widget.find(".timepicker-hours").hide(),this.widget.find(".timepicker-minutes").hide(),this.widget.find(".timepicker-seconds").hide(),this._update(),this._showMode(),e(window).on("resize",{picker:this},this._place),this.widget.on("click","[data-action]",e.proxy(this._doAction,this)),this.widget.on("mousedown",!1),this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this._place(),this.widget.show(),this.input!==void 0&&this._options.focusOnShow&&!this.input.is(":focus")&&this.input.focus(),this._notifyEvent({type:g.Event.SHOW})},f.destroy=function(){this.hide(),this._element.removeData(g.DATA_KEY),this._element.removeData("date")},f.disable=function(){this.hide(),this.component&&this.component.hasClass("btn")&&this.component.addClass("disabled"),this.input!==void 0&&this.input.prop("disabled",!0)},f.enable=function(){this.component&&this.component.hasClass("btn")&&this.component.removeClass("disabled"),this.input!==void 0&&this.input.prop("disabled",!1)},f.toolbarPlacement=function(s){if(arguments.length===0)return this._options.toolbarPlacement;if(typeof s!="string")throw new TypeError("toolbarPlacement() expects a string parameter");if(L.indexOf(s)===-1)throw new TypeError("toolbarPlacement() parameter must be one of ("+L.join(", ")+") value");this._options.toolbarPlacement=s,this.widget&&(this.hide(),this.show())},f.widgetPositioning=function(s){if(arguments.length===0)return e.extend({},this._options.widgetPositioning);if({}.toString.call(s)!=="[object Object]")throw new TypeError("widgetPositioning() expects an object variable");if(s.horizontal){if(typeof s.horizontal!="string")throw new TypeError("widgetPositioning() horizontal variable must be a string");if(s.horizontal=s.horizontal.toLowerCase(),E.indexOf(s.horizontal)===-1)throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+E.join(", ")+")");this._options.widgetPositioning.horizontal=s.horizontal}if(s.vertical){if(typeof s.vertical!="string")throw new TypeError("widgetPositioning() vertical variable must be a string");if(s.vertical=s.vertical.toLowerCase(),I.indexOf(s.vertical)===-1)throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+I.join(", ")+")");this._options.widgetPositioning.vertical=s.vertical}this._update()},f.widgetParent=function(s){if(arguments.length===0)return this._options.widgetParent;
5if(typeof s=="string"&&(s=e(s)),s!==null&&typeof s!="string"&&!(s instanceof e))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");this._options.widgetParent=s,this.widget&&(this.hide(),this.show())},f.setMultiDate=function(s){var i=this._options.format;this.clear();for(var r=0;r<s.length;r++){var n=moment(s[r],i);this._setValue(n,r)}},u._jQueryHandleThis=function(s,i,r){var n=e(s).data(g.DATA_KEY);if(typeof i=="object"&&e.extend({},g.Default,i),n||(n=new u(e(s),i),e(s).data(g.DATA_KEY,n)),typeof i=="string"){if(n[i]===void 0)throw new Error('No method named "'+i+'"');if(r===void 0)return n[i]();i==="date"&&(n.isDateUpdateThroughDateOptionFromClientCode=!0);var l=n[i](r);return n.isDateUpdateThroughDateOptionFromClientCode=!1,l}},u._jQueryInterface=function(s,i){return this.length===1?u._jQueryHandleThis(this[0],s,i):this.each(function(){u._jQueryHandleThis(this,s,i)})},u})(g);return e(document).on(g.Event.CLICK_DATA_API,g.Selector.DATA_TOGGLE,function(){var v=e(this),u=S(v),f=u.data(g.DATA_KEY);u.length!==0&&(f._options.allowInputToggle&&v.is('input[data-toggle="datetimepicker"]')||M._jQueryInterface.call(u,"toggle"))}).on(g.Event.CHANGE,"."+g.ClassName.INPUT,function(v){var u=S(e(this));u.length===0||v.isInit||M._jQueryInterface.call(u,"_change",v)}).on(g.Event.BLUR,"."+g.ClassName.INPUT,function(v){var u=S(e(this)),f=u.data(g.DATA_KEY);u.length!==0&&(f._options.debug||window.debug||M._jQueryInterface.call(u,"hide",v))}).on(g.Event.KEYDOWN,"."+g.ClassName.INPUT,function(v){var u=S(e(this));u.length!==0&&M._jQueryInterface.call(u,"_keydown",v)}).on(g.Event.KEYUP,"."+g.ClassName.INPUT,function(v){var u=S(e(this));u.length!==0&&M._jQueryInterface.call(u,"_keyup",v)}).on(g.Event.FOCUS,"."+g.ClassName.INPUT,function(v){var u=S(e(this)),f=u.data(g.DATA_KEY);u.length!==0&&f._options.allowInputToggle&&M._jQueryInterface.call(u,"show",v)}),e.fn[g.NAME]=M._jQueryInterface,e.fn[g.NAME].Constructor=M,e.fn[g.NAME].noConflict=function(){return e.fn[g.NAME]=b,M._jQueryInterface},M})(F)})()})}]);

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.