{"version":3,"sources":["webpack:///../node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./scripts/vendor/daterangepicker.js"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","define","moment","jquery","fn","$","DateRangePicker","element","options","cb","this","parentEl","startDate","startOf","endDate","endOf","minDate","maxDate","maxSpan","autoApply","singleDatePicker","showDropdowns","minYear","subtract","format","maxYear","add","showWeekNumbers","showISOWeekNumbers","showCustomRangeLabel","timePicker","timePicker24Hour","timePickerIncrement","timePickerSeconds","linkedCalendars","autoUpdateInput","alwaysShowCalendars","ranges","opens","hasClass","drops","buttonClasses","applyButtonClasses","cancelButtonClasses","locale","direction","localeData","longDateFormat","separator","applyLabel","cancelLabel","weekLabel","customRangeLabel","daysOfWeek","weekdaysMin","monthNames","monthsShort","firstDay","firstDayOfWeek","tab","enter","esc","space","pageup","pagedown","end","home","left","up","right","down","callback","isShowing","leftCalendar","rightCalendar","extend","data","template","length","container","appendTo","slice","elem","document","createElement","innerHTML","rangeHtml","value","addClass","isBefore","clone","isAfter","applyClass","cancelClass","dateLimit","join","isInvalidDate","isCustomDate","iterator","push","shift","start","range","is","val","split","setStartDate","setEndDate","timepicker","list","find","prepend","hide","show","html","on","proxy","clickPrev","clickNext","clickDate","hoverDate","monthOrYearChanged","timeChanged","clickRange","clickApply","clickCancel","toggle","elementKeyUp","handleTabNavigationKeyDown","handleGridKeyPress","handleGridKeyDown","updateElement","prototype","constructor","minute","Math","round","floor","updateMonthsInView","previousRightTime","updateView","renderTimePicker","removeAttr","removeClass","attr","updateCalendars","updateFormInputs","month","date","year","hour","second","ampm","parseInt","renderCalendar","calculateChosenLabel","side","calendar","daysInMonth","lastDay","lastMonth","lastYear","daysInLastMonth","dayOfWeek","day","i","startDay","curDate","col","row","arrow","dateHtml","currentMonth","currentYear","inMinYear","inMaxYear","monthHtml","m","yearHtml","y","each","index","maxLimit","week","isoWeek","classes","tabindex","elId","isSame","Date","isoWeekday","isCustom","Array","apply","cname","disabled","replace","selected","timeSelector","i_in_24","time","padded","am_html","pm_html","move","containerTop","parentOffset","top","parentRightEdge","window","width","offset","scrollTop","scrollLeft","clientWidth","outerHeight","css","outerWidth","_outsideClickProxy","outsideClick","oldStartDate","oldEndDate","trigger","filter","focus","chosenLabel","off","target","type","closest","showCalendars","hideCalendars","label","getAttribute","dates","parents","title","substr","el","dt","stopPropagation","customRange","next","first","isLeft","leftOrRight","cal","keyCode","elementChanged","dateString","isValid","currentlySelectedDate","newDateToSelect","className","includes","gridParts","altKey","updateSelectedDate","tagName","prev","siblings","last","shiftKey","focusableElementsString","focusableItems","focusedItem","numberOfFocusableItems","focusedItemIndex","oldDate","dateToFocus","newValue","remove","removeData","daterangepicker","implementOptions","defaultOptions","factory"],"mappings":";8EAAA,IAAIA,EAAM,CACT,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,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 167,\n\t\"./ar-sa.js\": 167,\n\t\"./ar-tn\": 168,\n\t\"./ar-tn.js\": 168,\n\t\"./ar.js\": 162,\n\t\"./az\": 169,\n\t\"./az.js\": 169,\n\t\"./be\": 170,\n\t\"./be.js\": 170,\n\t\"./bg\": 171,\n\t\"./bg.js\": 171,\n\t\"./bm\": 172,\n\t\"./bm.js\": 172,\n\t\"./bn\": 173,\n\t\"./bn.js\": 173,\n\t\"./bo\": 174,\n\t\"./bo.js\": 174,\n\t\"./br\": 175,\n\t\"./br.js\": 175,\n\t\"./bs\": 176,\n\t\"./bs.js\": 176,\n\t\"./ca\": 177,\n\t\"./ca.js\": 177,\n\t\"./cs\": 178,\n\t\"./cs.js\": 178,\n\t\"./cv\": 179,\n\t\"./cv.js\": 179,\n\t\"./cy\": 180,\n\t\"./cy.js\": 180,\n\t\"./da\": 181,\n\t\"./da.js\": 181,\n\t\"./de\": 182,\n\t\"./de-at\": 183,\n\t\"./de-at.js\": 183,\n\t\"./de-ch\": 184,\n\t\"./de-ch.js\": 184,\n\t\"./de.js\": 182,\n\t\"./dv\": 185,\n\t\"./dv.js\": 185,\n\t\"./el\": 186,\n\t\"./el.js\": 186,\n\t\"./en-SG\": 187,\n\t\"./en-SG.js\": 187,\n\t\"./en-au\": 188,\n\t\"./en-au.js\": 188,\n\t\"./en-ca\": 189,\n\t\"./en-ca.js\": 189,\n\t\"./en-gb\": 190,\n\t\"./en-gb.js\": 190,\n\t\"./en-ie\": 191,\n\t\"./en-ie.js\": 191,\n\t\"./en-il\": 192,\n\t\"./en-il.js\": 192,\n\t\"./en-nz\": 193,\n\t\"./en-nz.js\": 193,\n\t\"./eo\": 194,\n\t\"./eo.js\": 194,\n\t\"./es\": 195,\n\t\"./es-do\": 196,\n\t\"./es-do.js\": 196,\n\t\"./es-us\": 197,\n\t\"./es-us.js\": 197,\n\t\"./es.js\": 195,\n\t\"./et\": 198,\n\t\"./et.js\": 198,\n\t\"./eu\": 199,\n\t\"./eu.js\": 199,\n\t\"./fa\": 200,\n\t\"./fa.js\": 200,\n\t\"./fi\": 201,\n\t\"./fi.js\": 201,\n\t\"./fo\": 202,\n\t\"./fo.js\": 202,\n\t\"./fr\": 203,\n\t\"./fr-ca\": 204,\n\t\"./fr-ca.js\": 204,\n\t\"./fr-ch\": 205,\n\t\"./fr-ch.js\": 205,\n\t\"./fr.js\": 203,\n\t\"./fy\": 206,\n\t\"./fy.js\": 206,\n\t\"./ga\": 207,\n\t\"./ga.js\": 207,\n\t\"./gd\": 208,\n\t\"./gd.js\": 208,\n\t\"./gl\": 209,\n\t\"./gl.js\": 209,\n\t\"./gom-latn\": 210,\n\t\"./gom-latn.js\": 210,\n\t\"./gu\": 211,\n\t\"./gu.js\": 211,\n\t\"./he\": 212,\n\t\"./he.js\": 212,\n\t\"./hi\": 213,\n\t\"./hi.js\": 213,\n\t\"./hr\": 214,\n\t\"./hr.js\": 214,\n\t\"./hu\": 215,\n\t\"./hu.js\": 215,\n\t\"./hy-am\": 216,\n\t\"./hy-am.js\": 216,\n\t\"./id\": 217,\n\t\"./id.js\": 217,\n\t\"./is\": 218,\n\t\"./is.js\": 218,\n\t\"./it\": 219,\n\t\"./it-ch\": 220,\n\t\"./it-ch.js\": 220,\n\t\"./it.js\": 219,\n\t\"./ja\": 221,\n\t\"./ja.js\": 221,\n\t\"./jv\": 222,\n\t\"./jv.js\": 222,\n\t\"./ka\": 223,\n\t\"./ka.js\": 223,\n\t\"./kk\": 224,\n\t\"./kk.js\": 224,\n\t\"./km\": 225,\n\t\"./km.js\": 225,\n\t\"./kn\": 226,\n\t\"./kn.js\": 226,\n\t\"./ko\": 227,\n\t\"./ko.js\": 227,\n\t\"./ku\": 228,\n\t\"./ku.js\": 228,\n\t\"./ky\": 229,\n\t\"./ky.js\": 229,\n\t\"./lb\": 230,\n\t\"./lb.js\": 230,\n\t\"./lo\": 231,\n\t\"./lo.js\": 231,\n\t\"./lt\": 232,\n\t\"./lt.js\": 232,\n\t\"./lv\": 233,\n\t\"./lv.js\": 233,\n\t\"./me\": 234,\n\t\"./me.js\": 234,\n\t\"./mi\": 235,\n\t\"./mi.js\": 235,\n\t\"./mk\": 236,\n\t\"./mk.js\": 236,\n\t\"./ml\": 237,\n\t\"./ml.js\": 237,\n\t\"./mn\": 238,\n\t\"./mn.js\": 238,\n\t\"./mr\": 239,\n\t\"./mr.js\": 239,\n\t\"./ms\": 240,\n\t\"./ms-my\": 241,\n\t\"./ms-my.js\": 241,\n\t\"./ms.js\": 240,\n\t\"./mt\": 242,\n\t\"./mt.js\": 242,\n\t\"./my\": 243,\n\t\"./my.js\": 243,\n\t\"./nb\": 244,\n\t\"./nb.js\": 244,\n\t\"./ne\": 245,\n\t\"./ne.js\": 245,\n\t\"./nl\": 246,\n\t\"./nl-be\": 247,\n\t\"./nl-be.js\": 247,\n\t\"./nl.js\": 246,\n\t\"./nn\": 248,\n\t\"./nn.js\": 248,\n\t\"./pa-in\": 249,\n\t\"./pa-in.js\": 249,\n\t\"./pl\": 250,\n\t\"./pl.js\": 250,\n\t\"./pt\": 251,\n\t\"./pt-br\": 252,\n\t\"./pt-br.js\": 252,\n\t\"./pt.js\": 251,\n\t\"./ro\": 253,\n\t\"./ro.js\": 253,\n\t\"./ru\": 254,\n\t\"./ru.js\": 254,\n\t\"./sd\": 255,\n\t\"./sd.js\": 255,\n\t\"./se\": 256,\n\t\"./se.js\": 256,\n\t\"./si\": 257,\n\t\"./si.js\": 257,\n\t\"./sk\": 258,\n\t\"./sk.js\": 258,\n\t\"./sl\": 259,\n\t\"./sl.js\": 259,\n\t\"./sq\": 260,\n\t\"./sq.js\": 260,\n\t\"./sr\": 261,\n\t\"./sr-cyrl\": 262,\n\t\"./sr-cyrl.js\": 262,\n\t\"./sr.js\": 261,\n\t\"./ss\": 263,\n\t\"./ss.js\": 263,\n\t\"./sv\": 264,\n\t\"./sv.js\": 264,\n\t\"./sw\": 265,\n\t\"./sw.js\": 265,\n\t\"./ta\": 266,\n\t\"./ta.js\": 266,\n\t\"./te\": 267,\n\t\"./te.js\": 267,\n\t\"./tet\": 268,\n\t\"./tet.js\": 268,\n\t\"./tg\": 269,\n\t\"./tg.js\": 269,\n\t\"./th\": 270,\n\t\"./th.js\": 270,\n\t\"./tl-ph\": 271,\n\t\"./tl-ph.js\": 271,\n\t\"./tlh\": 272,\n\t\"./tlh.js\": 272,\n\t\"./tr\": 273,\n\t\"./tr.js\": 273,\n\t\"./tzl\": 274,\n\t\"./tzl.js\": 274,\n\t\"./tzm\": 275,\n\t\"./tzm-latn\": 276,\n\t\"./tzm-latn.js\": 276,\n\t\"./tzm.js\": 275,\n\t\"./ug-cn\": 277,\n\t\"./ug-cn.js\": 277,\n\t\"./uk\": 278,\n\t\"./uk.js\": 278,\n\t\"./ur\": 279,\n\t\"./ur.js\": 279,\n\t\"./uz\": 280,\n\t\"./uz-latn\": 281,\n\t\"./uz-latn.js\": 281,\n\t\"./uz.js\": 280,\n\t\"./vi\": 282,\n\t\"./vi.js\": 282,\n\t\"./x-pseudo\": 283,\n\t\"./x-pseudo.js\": 283,\n\t\"./yo\": 284,\n\t\"./yo.js\": 284,\n\t\"./zh-cn\": 285,\n\t\"./zh-cn.js\": 285,\n\t\"./zh-hk\": 286,\n\t\"./zh-hk.js\": 286,\n\t\"./zh-tw\": 287,\n\t\"./zh-tw.js\": 287\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 366;","/**\n * @version: 3.0.4\n * @author: Dan Grossman http://www.dangrossman.info/\n * @copyright: Copyright (c) 2012-2018 Dan Grossman. All rights reserved.\n * @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php\n * @website: http://www.daterangepicker.com/\n */\n\n//Includes keyboard navigation customisations! Do not replace\n//https://github.com/porterbayne/daterangepicker\n\n// Following the UMD template https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Make globaly available as well\n define(['moment', 'jquery'], function (moment, jquery) {\n if (!jquery.fn) jquery.fn = {}; // webpack server rendering\n return factory(moment, jquery);\n });\n } else if (typeof module === 'object' && module.exports) {\n // Node / Browserify\n //isomorphic issue\n var jQuery = typeof window != 'undefined' ? window.jQuery : undefined;\n if (!jQuery) {\n jQuery = require('jquery');\n if (!jQuery.fn) jQuery.fn = {};\n }\n var moment = typeof window != 'undefined' && typeof window.moment != 'undefined' ? window.moment : require('moment');\n module.exports = factory(moment, jQuery);\n } else {\n // Browser globals\n root.daterangepicker = factory(root.moment, root.jQuery);\n }\n})(this, function (moment, $) {\n var DateRangePicker = function (element, options, cb) {\n //default settings for options\n this.parentEl = 'body';\n this.element = $(element);\n this.startDate = moment().startOf('day');\n this.endDate = moment().endOf('day');\n this.minDate = false;\n this.maxDate = false;\n this.maxSpan = false;\n this.autoApply = false;\n this.singleDatePicker = false;\n this.showDropdowns = false;\n this.minYear = moment().subtract(100, 'year').format('YYYY');\n this.maxYear = moment().add(100, 'year').format('YYYY');\n this.showWeekNumbers = false;\n this.showISOWeekNumbers = false;\n this.showCustomRangeLabel = true;\n this.timePicker = false;\n this.timePicker24Hour = false;\n this.timePickerIncrement = 1;\n this.timePickerSeconds = false;\n this.linkedCalendars = true;\n this.autoUpdateInput = true;\n this.alwaysShowCalendars = false;\n this.ranges = {};\n\n this.opens = 'right';\n if (this.element.hasClass('pull-right')) this.opens = 'left';\n\n this.drops = 'down';\n if (this.element.hasClass('dropup')) this.drops = 'up';\n\n this.buttonClasses = 'btn btn-sm';\n this.applyButtonClasses = 'btn-primary';\n this.cancelButtonClasses = 'btn-default';\n\n this.locale = {\n direction: 'ltr',\n format: moment.localeData().longDateFormat('L'),\n separator: ' - ',\n applyLabel: 'Apply',\n cancelLabel: 'Cancel',\n weekLabel: 'W',\n customRangeLabel: 'Custom Range',\n daysOfWeek: moment.weekdaysMin(),\n monthNames: moment.monthsShort(),\n firstDay: moment.localeData().firstDayOfWeek(),\n };\n\n this.keys = {\n tab: 9,\n enter: 13,\n esc: 27,\n space: 32,\n pageup: 33,\n pagedown: 34,\n end: 35,\n home: 36,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n };\n\n this.callback = function () {};\n\n //some state information\n this.isShowing = false;\n this.leftCalendar = {};\n this.rightCalendar = {};\n\n //custom options from user\n if (typeof options !== 'object' || options === null) options = {};\n\n //allow setting options with data attributes\n //data-api options will be overwritten with custom javascript options\n options = $.extend(this.element.data(), options);\n\n //html template for the picker UI\n if (typeof options.template !== 'string' && !(options.template instanceof $))\n options.template =\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '
' +\n '' +\n '' +\n ' ' +\n '
' +\n '
';\n\n this.parentEl = options.parentEl && $(options.parentEl).length ? $(options.parentEl) : $(this.parentEl);\n this.container = $(options.template).appendTo(this.parentEl);\n\n //\n // handle all the possible options overriding defaults\n //\n\n if (typeof options.locale === 'object') {\n if (typeof options.locale.direction === 'string') this.locale.direction = options.locale.direction;\n\n if (typeof options.locale.format === 'string') this.locale.format = options.locale.format;\n\n if (typeof options.locale.separator === 'string') this.locale.separator = options.locale.separator;\n\n if (typeof options.locale.daysOfWeek === 'object') this.locale.daysOfWeek = options.locale.daysOfWeek.slice();\n\n if (typeof options.locale.monthNames === 'object') this.locale.monthNames = options.locale.monthNames.slice();\n\n if (typeof options.locale.firstDay === 'number') this.locale.firstDay = options.locale.firstDay;\n\n if (typeof options.locale.applyLabel === 'string') this.locale.applyLabel = options.locale.applyLabel;\n\n if (typeof options.locale.cancelLabel === 'string') this.locale.cancelLabel = options.locale.cancelLabel;\n\n if (typeof options.locale.weekLabel === 'string') this.locale.weekLabel = options.locale.weekLabel;\n\n if (typeof options.locale.customRangeLabel === 'string') {\n //Support unicode chars in the custom range name.\n var elem = document.createElement('textarea');\n elem.innerHTML = options.locale.customRangeLabel;\n var rangeHtml = elem.value;\n this.locale.customRangeLabel = rangeHtml;\n }\n }\n this.container.addClass(this.locale.direction);\n\n if (typeof options.startDate === 'string') this.startDate = moment(options.startDate, this.locale.format);\n\n if (typeof options.endDate === 'string') this.endDate = moment(options.endDate, this.locale.format);\n\n if (typeof options.minDate === 'string') this.minDate = moment(options.minDate, this.locale.format);\n\n if (typeof options.maxDate === 'string') this.maxDate = moment(options.maxDate, this.locale.format);\n\n if (typeof options.startDate === 'object') this.startDate = moment(options.startDate);\n\n if (typeof options.endDate === 'object') this.endDate = moment(options.endDate);\n\n if (typeof options.minDate === 'object') this.minDate = moment(options.minDate);\n\n if (typeof options.maxDate === 'object') this.maxDate = moment(options.maxDate);\n\n // sanity check for bad options\n if (this.minDate && this.startDate.isBefore(this.minDate)) this.startDate = this.minDate.clone();\n\n // sanity check for bad options\n if (this.maxDate && this.endDate.isAfter(this.maxDate)) this.endDate = this.maxDate.clone();\n\n if (typeof options.applyButtonClasses === 'string') this.applyButtonClasses = options.applyButtonClasses;\n\n if (typeof options.applyClass === 'string')\n //backwards compat\n this.applyButtonClasses = options.applyClass;\n\n if (typeof options.cancelButtonClasses === 'string') this.cancelButtonClasses = options.cancelButtonClasses;\n\n if (typeof options.cancelClass === 'string')\n //backwards compat\n this.cancelButtonClasses = options.cancelClass;\n\n if (typeof options.maxSpan === 'object') this.maxSpan = options.maxSpan;\n\n if (typeof options.dateLimit === 'object')\n //backwards compat\n this.maxSpan = options.dateLimit;\n\n if (typeof options.opens === 'string') this.opens = options.opens;\n\n if (typeof options.drops === 'string') this.drops = options.drops;\n\n if (typeof options.showWeekNumbers === 'boolean') this.showWeekNumbers = options.showWeekNumbers;\n\n if (typeof options.showISOWeekNumbers === 'boolean') this.showISOWeekNumbers = options.showISOWeekNumbers;\n\n if (typeof options.buttonClasses === 'string') this.buttonClasses = options.buttonClasses;\n\n if (typeof options.buttonClasses === 'object') this.buttonClasses = options.buttonClasses.join(' ');\n\n if (typeof options.showDropdowns === 'boolean') this.showDropdowns = options.showDropdowns;\n\n if (typeof options.minYear === 'number') this.minYear = options.minYear;\n\n if (typeof options.maxYear === 'number') this.maxYear = options.maxYear;\n\n if (typeof options.showCustomRangeLabel === 'boolean') this.showCustomRangeLabel = options.showCustomRangeLabel;\n\n if (typeof options.singleDatePicker === 'boolean') {\n this.singleDatePicker = options.singleDatePicker;\n if (this.singleDatePicker) this.endDate = this.startDate.clone();\n }\n\n if (typeof options.timePicker === 'boolean') this.timePicker = options.timePicker;\n\n if (typeof options.timePickerSeconds === 'boolean') this.timePickerSeconds = options.timePickerSeconds;\n\n if (typeof options.timePickerIncrement === 'number') this.timePickerIncrement = options.timePickerIncrement;\n\n if (typeof options.timePicker24Hour === 'boolean') this.timePicker24Hour = options.timePicker24Hour;\n\n if (typeof options.autoApply === 'boolean') this.autoApply = options.autoApply;\n\n if (typeof options.autoUpdateInput === 'boolean') this.autoUpdateInput = options.autoUpdateInput;\n\n if (typeof options.linkedCalendars === 'boolean') this.linkedCalendars = options.linkedCalendars;\n\n if (typeof options.isInvalidDate === 'function') this.isInvalidDate = options.isInvalidDate;\n\n if (typeof options.isCustomDate === 'function') this.isCustomDate = options.isCustomDate;\n\n if (typeof options.alwaysShowCalendars === 'boolean') this.alwaysShowCalendars = options.alwaysShowCalendars;\n\n // update day names order to firstDay\n if (this.locale.firstDay != 0) {\n var iterator = this.locale.firstDay;\n while (iterator > 0) {\n this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift());\n iterator--;\n }\n }\n\n var start, end, range;\n\n //if no start/end dates set, check if an input element contains initial values\n if (typeof options.startDate === 'undefined' && typeof options.endDate === 'undefined') {\n if ($(this.element).is(':text')) {\n var val = $(this.element).val(),\n split = val.split(this.locale.separator);\n\n start = end = null;\n\n if (split.length == 2) {\n start = moment(split[0], this.locale.format);\n end = moment(split[1], this.locale.format);\n } else if (this.singleDatePicker && val !== '') {\n start = moment(val, this.locale.format);\n end = moment(val, this.locale.format);\n }\n if (start !== null && end !== null) {\n this.setStartDate(start);\n this.setEndDate(end);\n }\n }\n }\n\n if (typeof options.ranges === 'object') {\n for (range in options.ranges) {\n if (typeof options.ranges[range][0] === 'string') start = moment(options.ranges[range][0], this.locale.format);\n else start = moment(options.ranges[range][0]);\n\n if (typeof options.ranges[range][1] === 'string') end = moment(options.ranges[range][1], this.locale.format);\n else end = moment(options.ranges[range][1]);\n\n // If the start or end date exceed those allowed by the minDate or maxSpan\n // options, shorten the range to the allowable period.\n if (this.minDate && start.isBefore(this.minDate)) start = this.minDate.clone();\n\n var maxDate = this.maxDate;\n if (this.maxSpan && maxDate && start.clone().add(this.maxSpan).isAfter(maxDate)) maxDate = start.clone().add(this.maxSpan);\n if (maxDate && end.isAfter(maxDate)) end = maxDate.clone();\n\n // If the end of the range is before the minimum or the start of the range is\n // after the maximum, don't display this range option at all.\n if (\n (this.minDate && end.isBefore(this.minDate, this.timepicker ? 'minute' : 'day')) ||\n (maxDate && start.isAfter(maxDate, this.timepicker ? 'minute' : 'day'))\n )\n continue;\n\n //Support unicode chars in the range names.\n var elem = document.createElement('textarea');\n elem.innerHTML = range;\n var rangeHtml = elem.value;\n\n this.ranges[rangeHtml] = [start, end];\n }\n\n var list = '';\n this.container.find('.ranges').prepend(list);\n }\n\n if (typeof cb === 'function') {\n this.callback = cb;\n }\n\n if (!this.timePicker) {\n this.startDate = this.startDate.startOf('day');\n this.endDate = this.endDate.endOf('day');\n this.container.find('.calendar-time').hide();\n }\n\n //can't be used together for now\n if (this.timePicker && this.autoApply) this.autoApply = false;\n\n if (this.autoApply) {\n this.container.addClass('auto-apply');\n }\n\n if (typeof options.ranges === 'object') this.container.addClass('show-ranges');\n\n if (this.singleDatePicker) {\n this.container.addClass('single');\n this.container.find('.drp-calendar.left').addClass('single');\n this.container.find('.drp-calendar.left').show();\n this.container.find('.drp-calendar.right').hide();\n if (!this.timePicker) {\n this.container.addClass('auto-apply');\n }\n }\n\n if ((typeof options.ranges === 'undefined' && !this.singleDatePicker) || this.alwaysShowCalendars) {\n this.container.addClass('show-calendar');\n }\n\n this.container.addClass('opens' + this.opens);\n\n //apply CSS classes and labels to buttons\n this.container.find('.applyBtn, .cancelBtn').addClass(this.buttonClasses);\n if (this.applyButtonClasses.length) this.container.find('.applyBtn').addClass(this.applyButtonClasses);\n if (this.cancelButtonClasses.length) this.container.find('.cancelBtn').addClass(this.cancelButtonClasses);\n this.container.find('.applyBtn').html(this.locale.applyLabel);\n this.container.find('.cancelBtn').html(this.locale.cancelLabel);\n\n //\n // event listeners\n //\n\n this.container\n .find('.drp-calendar')\n .on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this))\n .on('click.daterangepicker', '.next', $.proxy(this.clickNext, this))\n .on('mousedown.daterangepicker', 'td.available', $.proxy(this.clickDate, this))\n .on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this))\n .on('change.daterangepicker', 'select.yearselect', $.proxy(this.monthOrYearChanged, this))\n .on('change.daterangepicker', 'select.monthselect', $.proxy(this.monthOrYearChanged, this))\n .on(\n 'change.daterangepicker',\n 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect',\n $.proxy(this.timeChanged, this)\n );\n\n this.container.find('.ranges').on('click.daterangepicker', 'li', $.proxy(this.clickRange, this));\n\n this.container\n .find('.drp-buttons')\n .on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this))\n .on('click.daterangepicker', 'button.cancelBtn', $.proxy(this.clickCancel, this));\n\n if (this.element.is('input') || this.element.is('button')) {\n this.element.on({\n 'click.daterangepicker': $.proxy(this.toggle, this),\n //'focus.daterangepicker': $.proxy(this.elementFocused, this),\n 'keyup.daterangepicker': $.proxy(this.elementKeyUp, this),\n });\n } else {\n this.element.on('click.daterangepicker', $.proxy(this.toggle, this));\n }\n\n this.container\n // tab should apply to the entire container\n .on('keydown.daterangepicker', $.proxy(this.handleTabNavigationKeyDown, this))\n .on('keypress.daterangepicker', $.proxy(this.handleGridKeyPress, this))\n // specific elements have specific keyboard shortcuts\n .on('keydown.daterangepicker', 'td', $.proxy(this.handleGridKeyDown, this))\n .on('keypress.daterangepicker', 'td', $.proxy(this.handleGridKeyPress, this))\n .on('keydown.daterangepicker', '.prev', $.proxy(this.handleGridKeyDown, this))\n .on('keypress.daterangepicker', '.prev', $.proxy(this.handleGridKeyPress, this))\n .on('keydown.daterangepicker', '.next', $.proxy(this.handleGridKeyDown, this))\n .on('keypress.daterangepicker', '.next', $.proxy(this.handleGridKeyPress, this))\n .on('keydown.daterangepicker', 'li', $.proxy(this.handleGridKeyDown, this))\n .on('keypress.daterangepicker', 'li', $.proxy(this.handleGridKeyPress, this));\n\n //\n // if attached to a text input, set the initial value\n //\n\n this.updateElement();\n };\n\n DateRangePicker.prototype = {\n constructor: DateRangePicker,\n\n setStartDate: function (startDate) {\n if (typeof startDate === 'string') this.startDate = moment(startDate, this.locale.format);\n\n if (typeof startDate === 'object') this.startDate = moment(startDate);\n\n if (!this.timePicker) this.startDate = this.startDate.startOf('day');\n\n if (this.timePicker && this.timePickerIncrement)\n this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);\n\n if (this.minDate && this.startDate.isBefore(this.minDate)) {\n this.startDate = this.minDate.clone();\n if (this.timePicker && this.timePickerIncrement)\n this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);\n }\n\n if (this.maxDate && this.startDate.isAfter(this.maxDate)) {\n this.startDate = this.maxDate.clone();\n if (this.timePicker && this.timePickerIncrement)\n this.startDate.minute(Math.floor(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);\n }\n\n if (!this.isShowing) this.updateElement();\n\n this.updateMonthsInView();\n },\n\n setEndDate: function (endDate) {\n if (typeof endDate === 'string') this.endDate = moment(endDate, this.locale.format);\n\n if (typeof endDate === 'object') this.endDate = moment(endDate);\n\n if (!this.timePicker) this.endDate = this.endDate.add(1, 'd').startOf('day').subtract(1, 'second');\n\n if (this.timePicker && this.timePickerIncrement)\n this.endDate.minute(Math.round(this.endDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);\n\n if (this.endDate.isBefore(this.startDate)) this.endDate = this.startDate.clone();\n\n if (this.maxDate && this.endDate.isAfter(this.maxDate)) this.endDate = this.maxDate.clone();\n\n if (this.maxSpan && this.startDate.clone().add(this.maxSpan).isBefore(this.endDate))\n this.endDate = this.startDate.clone().add(this.maxSpan);\n\n this.previousRightTime = this.endDate.clone();\n\n this.container\n .find('.drp-selected')\n .html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format));\n\n if (!this.isShowing) this.updateElement();\n\n this.updateMonthsInView();\n },\n\n isInvalidDate: function () {\n return false;\n },\n\n isCustomDate: function () {\n return false;\n },\n\n updateView: function () {\n if (this.timePicker) {\n this.renderTimePicker('left');\n this.renderTimePicker('right');\n if (!this.endDate) {\n this.container.find('.right .calendar-time select').attr('disabled', 'disabled').addClass('disabled');\n } else {\n this.container.find('.right .calendar-time select').removeAttr('disabled').removeClass('disabled');\n }\n }\n if (this.endDate)\n this.container\n .find('.drp-selected')\n .html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format));\n this.updateMonthsInView();\n this.updateCalendars();\n this.updateFormInputs();\n },\n\n updateMonthsInView: function () {\n if (this.endDate) {\n //if both dates are visible already, do nothing\n if (\n !this.singleDatePicker &&\n this.leftCalendar.month &&\n this.rightCalendar.month &&\n (this.startDate.format('YYYY-MM') == this.leftCalendar.month.format('YYYY-MM') ||\n this.startDate.format('YYYY-MM') == this.rightCalendar.month.format('YYYY-MM')) &&\n (this.endDate.format('YYYY-MM') == this.leftCalendar.month.format('YYYY-MM') ||\n this.endDate.format('YYYY-MM') == this.rightCalendar.month.format('YYYY-MM'))\n ) {\n return;\n }\n\n this.leftCalendar.month = this.startDate.clone().date(2);\n if (\n !this.linkedCalendars &&\n (this.endDate.month() != this.startDate.month() || this.endDate.year() != this.startDate.year())\n ) {\n this.rightCalendar.month = this.endDate.clone().date(2);\n } else {\n this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month');\n }\n } else {\n if (\n this.leftCalendar.month.format('YYYY-MM') != this.startDate.format('YYYY-MM') &&\n this.rightCalendar.month.format('YYYY-MM') != this.startDate.format('YYYY-MM')\n ) {\n this.leftCalendar.month = this.startDate.clone().date(2);\n this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month');\n }\n }\n if (this.maxDate && this.linkedCalendars && !this.singleDatePicker && this.rightCalendar.month > this.maxDate) {\n this.rightCalendar.month = this.maxDate.clone().date(2);\n this.leftCalendar.month = this.maxDate.clone().date(2).subtract(1, 'month');\n }\n },\n\n updateCalendars: function () {\n if (this.timePicker) {\n var hour, minute, second;\n if (this.endDate) {\n hour = parseInt(this.container.find('.left .hourselect').val(), 10);\n minute = parseInt(this.container.find('.left .minuteselect').val(), 10);\n second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0;\n if (!this.timePicker24Hour) {\n var ampm = this.container.find('.left .ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n } else {\n hour = parseInt(this.container.find('.right .hourselect').val(), 10);\n minute = parseInt(this.container.find('.right .minuteselect').val(), 10);\n second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0;\n if (!this.timePicker24Hour) {\n var ampm = this.container.find('.right .ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n }\n this.leftCalendar.month.hour(hour).minute(minute).second(second);\n this.rightCalendar.month.hour(hour).minute(minute).second(second);\n }\n\n this.renderCalendar('left');\n this.renderCalendar('right');\n\n //highlight any predefined range matching the current start and end dates\n this.container.find('.ranges li').removeClass('active');\n if (this.endDate == null) return;\n\n this.calculateChosenLabel();\n },\n\n renderCalendar: function (side) {\n //\n // Build the matrix of dates that will populate the calendar\n //\n\n var calendar = side == 'left' ? this.leftCalendar : this.rightCalendar;\n var month = calendar.month.month();\n var year = calendar.month.year();\n var hour = calendar.month.hour();\n var minute = calendar.month.minute();\n var second = calendar.month.second();\n var daysInMonth = moment([year, month]).daysInMonth();\n var firstDay = moment([year, month, 1]);\n var lastDay = moment([year, month, daysInMonth]);\n var lastMonth = moment(firstDay).subtract(1, 'month').month();\n var lastYear = moment(firstDay).subtract(1, 'month').year();\n var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth();\n var dayOfWeek = firstDay.day();\n\n //initialize a 6 rows x 7 columns array for the calendar\n var calendar = [];\n calendar.firstDay = firstDay;\n calendar.lastDay = lastDay;\n\n for (var i = 0; i < 6; i++) {\n calendar[i] = [];\n }\n\n //populate the calendar with date objects\n var startDay = daysInLastMonth - dayOfWeek + this.locale.firstDay + 1;\n if (startDay > daysInLastMonth) startDay -= 7;\n\n if (dayOfWeek == this.locale.firstDay) startDay = daysInLastMonth - 6;\n\n var curDate = moment([lastYear, lastMonth, startDay, 12, minute, second]);\n\n var col, row;\n for (var i = 0, col = 0, row = 0; i < 42; i++, col++, curDate = moment(curDate).add(24, 'hour')) {\n if (i > 0 && col % 7 === 0) {\n col = 0;\n row++;\n }\n calendar[row][col] = curDate.clone().hour(hour).minute(minute).second(second);\n curDate.hour(12);\n\n if (\n this.minDate &&\n calendar[row][col].format('YYYY-MM-DD') == this.minDate.format('YYYY-MM-DD') &&\n calendar[row][col].isBefore(this.minDate) &&\n side == 'left'\n ) {\n calendar[row][col] = this.minDate.clone();\n }\n\n if (\n this.maxDate &&\n calendar[row][col].format('YYYY-MM-DD') == this.maxDate.format('YYYY-MM-DD') &&\n calendar[row][col].isAfter(this.maxDate) &&\n side == 'right'\n ) {\n calendar[row][col] = this.maxDate.clone();\n }\n }\n\n //make the calendar object available to hoverDate/clickDate\n if (side == 'left') {\n this.leftCalendar.calendar = calendar;\n } else {\n this.rightCalendar.calendar = calendar;\n }\n\n //\n // Display the calendar\n //\n\n var minDate = side == 'left' ? this.minDate : this.startDate;\n var maxDate = this.maxDate;\n var selected = side == 'left' ? this.startDate : this.endDate;\n var arrow =\n this.locale.direction == 'ltr'\n ? { left: 'chevron-left', right: 'chevron-right' }\n : { left: 'chevron-right', right: 'chevron-left' };\n\n var html = '';\n html += '';\n html += '';\n\n // add empty cell for week number\n if (this.showWeekNumbers || this.showISOWeekNumbers) html += '';\n\n if ((!minDate || minDate.isBefore(calendar.firstDay)) && (!this.linkedCalendars || side == 'left')) {\n // html += '';\n html +=\n '';\n } else {\n html += '';\n }\n\n var dateHtml = this.locale.monthNames[calendar[1][1].month()] + calendar[1][1].format(' YYYY');\n\n if (this.showDropdowns) {\n var currentMonth = calendar[1][1].month();\n var currentYear = calendar[1][1].year();\n var maxYear = (maxDate && maxDate.year()) || this.maxYear;\n var minYear = (minDate && minDate.year()) || this.minYear;\n var inMinYear = currentYear == minYear;\n var inMaxYear = currentYear == maxYear;\n\n var monthHtml =\n '';\n\n var yearHtml =\n '';\n\n dateHtml = monthHtml + yearHtml;\n }\n\n html += '';\n if ((!maxDate || maxDate.isAfter(calendar.lastDay)) && (!this.linkedCalendars || side == 'right' || this.singleDatePicker)) {\n html +=\n '';\n } else {\n html += '';\n }\n\n html += '';\n html += '';\n\n // add week number label\n if (this.showWeekNumbers || this.showISOWeekNumbers) html += '';\n\n $.each(this.locale.daysOfWeek, function (index, dayOfWeek) {\n html += '';\n });\n\n html += '';\n html += '';\n html += '';\n\n //adjust maxDate to reflect the maxSpan setting in order to\n //grey out end dates beyond the maxSpan\n if (this.endDate == null && this.maxSpan) {\n var maxLimit = this.startDate.clone().add(this.maxSpan).endOf('day');\n if (!maxDate || maxLimit.isBefore(maxDate)) {\n maxDate = maxLimit;\n }\n }\n\n for (var row = 0; row < 6; row++) {\n html += '';\n\n // add week number\n if (this.showWeekNumbers) html += '';\n else if (this.showISOWeekNumbers) html += '';\n\n for (var col = 0; col < 7; col++) {\n var classes = ['day'];\n var tabindex = '-1';\n var elId = 'calendar_' + side + '-row_' + row + '-day_' + col;\n\n //highlight today's date\n if (calendar[row][col].isSame(new Date(), 'day')) classes.push('today');\n\n //highlight weekends\n if (calendar[row][col].isoWeekday() > 5) classes.push('weekend');\n\n //grey out the dates in other months displayed at beginning and end of this calendar\n if (calendar[row][col].month() != calendar[1][1].month()) classes.push('off');\n\n //don't allow selection of dates before the minimum date\n if (this.minDate && calendar[row][col].isBefore(this.minDate, 'day')) classes.push('off', 'disabled');\n\n //don't allow selection of dates after the maximum date\n if (maxDate && calendar[row][col].isAfter(maxDate, 'day')) classes.push('off', 'disabled');\n\n //don't allow selection of date if a custom function decides it's invalid\n if (this.isInvalidDate(calendar[row][col])) classes.push('off', 'disabled');\n\n //highlight the currently selected start date\n if (calendar[row][col].format('YYYY-MM-DD') == this.startDate.format('YYYY-MM-DD')) {\n classes.push('active', 'start-date');\n\n if (side === 'left') {\n tabindex = 0;\n }\n }\n\n //highlight the currently selected end date\n if (this.endDate != null && calendar[row][col].format('YYYY-MM-DD') == this.endDate.format('YYYY-MM-DD')) {\n classes.push('active', 'end-date');\n\n if (side === 'right') {\n tabindex = 0;\n }\n }\n\n //highlight dates in-between the selected dates\n if (this.endDate != null && calendar[row][col] > this.startDate && calendar[row][col] < this.endDate)\n classes.push('in-range');\n\n //apply custom classes for this date\n var isCustom = this.isCustomDate(calendar[row][col]);\n if (isCustom !== false) {\n if (typeof isCustom === 'string') classes.push(isCustom);\n else Array.prototype.push.apply(classes, isCustom);\n }\n\n var cname = '',\n disabled = false;\n for (var i = 0; i < classes.length; i++) {\n cname += classes[i] + ' ';\n if (classes[i] == 'disabled') disabled = true;\n }\n if (!disabled) cname += 'available';\n\n html +=\n '';\n }\n html += '';\n }\n\n html += '';\n html += '
Previous MonthPrevious - minimum month reached' + dateHtml + 'Next MonthNext - maximum month reached
' + this.locale.weekLabel + '' + dayOfWeek + '
' + calendar[row][0].week() + '' + calendar[row][0].isoWeek() + '' +\n calendar[row][col].date() +\n '
';\n\n this.container.find('.drp-calendar.' + side + ' .calendar-table').html(html);\n },\n\n renderTimePicker: function (side) {\n // Don't bother updating the time picker if it's currently disabled\n // because an end date hasn't been clicked yet\n if (side == 'right' && !this.endDate) return;\n\n var html,\n selected,\n minDate,\n maxDate = this.maxDate;\n\n if (this.maxSpan && (!this.maxDate || this.startDate.clone().add(this.maxSpan).isAfter(this.maxDate)))\n maxDate = this.startDate.clone().add(this.maxSpan);\n\n if (side == 'left') {\n selected = this.startDate.clone();\n minDate = this.minDate;\n } else if (side == 'right') {\n selected = this.endDate.clone();\n minDate = this.startDate;\n\n //Preserve the time already selected\n var timeSelector = this.container.find('.drp-calendar.right .calendar-time');\n if (timeSelector.html() != '') {\n selected.hour(selected.hour() || timeSelector.find('.hourselect option:selected').val());\n selected.minute(selected.minute() || timeSelector.find('.minuteselect option:selected').val());\n selected.second(selected.second() || timeSelector.find('.secondselect option:selected').val());\n\n if (!this.timePicker24Hour) {\n var ampm = timeSelector.find('.ampmselect option:selected').val();\n if (ampm === 'PM' && selected.hour() < 12) selected.hour(selected.hour() + 12);\n if (ampm === 'AM' && selected.hour() === 12) selected.hour(0);\n }\n }\n\n if (selected.isBefore(this.startDate)) selected = this.startDate.clone();\n\n if (maxDate && selected.isAfter(maxDate)) selected = maxDate.clone();\n }\n\n //\n // hours\n //\n\n html = ' ';\n\n //\n // minutes\n //\n\n html += ': ';\n\n //\n // seconds\n //\n\n if (this.timePickerSeconds) {\n html += ': ';\n }\n\n //\n // AM/PM\n //\n\n if (!this.timePicker24Hour) {\n html += '';\n }\n\n this.container.find('.drp-calendar.' + side + ' .calendar-time').html(html);\n },\n\n updateFormInputs: function () {\n if (this.singleDatePicker || (this.endDate && (this.startDate.isBefore(this.endDate) || this.startDate.isSame(this.endDate)))) {\n this.container.find('button.applyBtn').removeAttr('disabled');\n } else {\n this.container.find('button.applyBtn').attr('disabled', 'disabled');\n }\n },\n\n move: function () {\n var parentOffset = { top: 0, left: 0 },\n containerTop;\n var parentRightEdge = $(window).width();\n if (!this.parentEl.is('body')) {\n parentOffset = {\n top: this.parentEl.offset().top - this.parentEl.scrollTop(),\n left: this.parentEl.offset().left - this.parentEl.scrollLeft(),\n };\n parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left;\n }\n\n if (this.drops == 'up') containerTop = this.element.offset().top - this.container.outerHeight() - parentOffset.top;\n else containerTop = this.element.offset().top + this.element.outerHeight() - parentOffset.top;\n this.container[this.drops == 'up' ? 'addClass' : 'removeClass']('drop-up');\n\n if (this.opens == 'left') {\n this.container.css({\n top: containerTop,\n right: parentRightEdge - this.element.offset().left - this.element.outerWidth(),\n left: 'auto',\n });\n if (this.container.offset().left < 0) {\n this.container.css({\n right: 'auto',\n left: 9,\n });\n }\n } else if (this.opens == 'center') {\n this.container.css({\n top: containerTop,\n left: this.element.offset().left - parentOffset.left + this.element.outerWidth() / 2 - this.container.outerWidth() / 2,\n right: 'auto',\n });\n if (this.container.offset().left < 0) {\n this.container.css({\n right: 'auto',\n left: 9,\n });\n }\n } else {\n this.container.css({\n top: containerTop,\n left: this.element.offset().left - parentOffset.left,\n right: 'auto',\n });\n if (this.container.offset().left + this.container.outerWidth() > $(window).width()) {\n this.container.css({\n left: 'auto',\n right: 0,\n });\n }\n }\n },\n\n show: function (e) {\n console.log('show call');\n if (this.isShowing) return;\n // Create a click proxy that is private to this instance of datepicker, for unbinding\n this._outsideClickProxy = $.proxy(function (e) {\n this.outsideClick(e);\n }, this);\n\n // Bind global datepicker mousedown for hiding and\n $(document)\n .on('mousedown.daterangepicker', this._outsideClickProxy)\n // also support mobile devices\n .on('touchend.daterangepicker', this._outsideClickProxy)\n // also explicitly play nice with Bootstrap dropdowns, which stopPropagation when clicking them\n .on('click.daterangepicker', '[data-toggle=dropdown]', this._outsideClickProxy)\n // and also close when focus changes to outside the picker (eg. tabbing between controls)\n .on('focusin.daterangepicker', this._outsideClickProxy);\n\n // Reposition the picker if the window is resized while it's open\n $(window).on(\n 'resize.daterangepicker',\n $.proxy(function (e) {\n this.move(e);\n }, this)\n );\n\n this.oldStartDate = this.startDate.clone();\n this.oldEndDate = this.endDate.clone();\n this.previousRightTime = this.endDate.clone();\n\n this.updateView();\n this.container.show();\n this.move();\n this.element.trigger('show.daterangepicker', this);\n this.isShowing = true;\n\n // pass focus to calendar\n if (this.container.find('.active.start-date').filter(':visible').length) {\n this.container.find('.active.start-date').focus();\n } else if (this.container.find('li.active').filter(':visible').length) {\n this.container.find('li.active').focus();\n }\n },\n\n hide: function (e) {\n if (!this.isShowing) return;\n\n //incomplete date selection, revert to last values\n if (!this.endDate) {\n this.startDate = this.oldStartDate.clone();\n this.endDate = this.oldEndDate.clone();\n }\n\n //if a new date range was selected, invoke the user callback function\n if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate))\n this.callback(this.startDate.clone(), this.endDate.clone(), this.chosenLabel);\n\n //if picker is attached to a text input, update it\n this.updateElement();\n\n $(document).off('.daterangepicker');\n $(window).off('.daterangepicker');\n this.container.hide();\n this.element.trigger('hide.daterangepicker', this);\n this.isShowing = false;\n },\n\n toggle: function (e) {\n if (this.isShowing) {\n this.hide();\n } else {\n this.show();\n }\n },\n\n outsideClick: function (e) {\n var target = $(e.target);\n // if the page is clicked anywhere except within the daterangerpicker/button\n // itself then call this.hide()\n if (\n // ie modal dialog fix\n e.type == 'focusin' ||\n target.closest(this.element).length ||\n target.closest(this.container).length ||\n target.closest('.calendar-table').length\n )\n return;\n this.hide();\n this.element.trigger('outsideClick.daterangepicker', this);\n },\n\n showCalendars: function () {\n this.container.addClass('show-calendar');\n this.move();\n this.element.trigger('showCalendar.daterangepicker', this);\n },\n\n hideCalendars: function () {\n this.container.removeClass('show-calendar');\n this.element.trigger('hideCalendar.daterangepicker', this);\n },\n\n clickRange: function (e) {\n var label = e.target.getAttribute('data-range-key');\n this.chosenLabel = label;\n if (label == this.locale.customRangeLabel) {\n this.showCalendars();\n } else {\n var dates = this.ranges[label];\n this.startDate = dates[0];\n this.endDate = dates[1];\n\n if (!this.timePicker) {\n this.startDate.startOf('day');\n this.endDate.endOf('day');\n }\n\n if (!this.alwaysShowCalendars) this.hideCalendars();\n this.clickApply();\n }\n },\n\n clickPrev: function (e) {\n var cal = $(e.target).parents('.drp-calendar');\n if (cal.hasClass('left')) {\n this.leftCalendar.month.subtract(1, 'month');\n if (this.linkedCalendars) this.rightCalendar.month.subtract(1, 'month');\n } else {\n this.rightCalendar.month.subtract(1, 'month');\n }\n this.updateCalendars();\n },\n\n clickNext: function (e) {\n var cal = $(e.target).parents('.drp-calendar');\n if (cal.hasClass('left')) {\n this.leftCalendar.month.add(1, 'month');\n } else {\n this.rightCalendar.month.add(1, 'month');\n if (this.linkedCalendars) this.leftCalendar.month.add(1, 'month');\n }\n this.updateCalendars();\n },\n\n hoverDate: function (e) {\n //ignore dates that can't be selected\n if (!$(e.target).hasClass('available')) return;\n\n var title = $(e.target).attr('data-title');\n var row = title.substr(1, 1);\n var col = title.substr(3, 1);\n var cal = $(e.target).parents('.drp-calendar');\n var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col];\n\n //highlight the dates between the start date and the date being hovered as a potential end date\n var leftCalendar = this.leftCalendar;\n var rightCalendar = this.rightCalendar;\n var startDate = this.startDate;\n if (!this.endDate) {\n this.container.find('.drp-calendar tbody td').each(function (index, el) {\n //skip week numbers, only look at dates\n if ($(el).hasClass('week')) return;\n\n var title = $(el).attr('data-title');\n var row = title.substr(1, 1);\n var col = title.substr(3, 1);\n var cal = $(el).parents('.drp-calendar');\n var dt = cal.hasClass('left') ? leftCalendar.calendar[row][col] : rightCalendar.calendar[row][col];\n\n if ((dt.isAfter(startDate) && dt.isBefore(date)) || dt.isSame(date, 'day')) {\n $(el).addClass('in-range');\n } else {\n $(el).removeClass('in-range');\n }\n });\n }\n },\n\n clickDate: function (e) {\n if (!$(e.target).hasClass('available')) return;\n\n var title = $(e.target).attr('data-title');\n var row = title.substr(1, 1);\n var col = title.substr(3, 1);\n var cal = $(e.target).parents('.drp-calendar');\n var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col];\n\n //\n // this function needs to do a few things:\n // * alternate between selecting a start and end date for the range,\n // * if the time picker is enabled, apply the hour/minute/second from the select boxes to the clicked date\n // * if autoapply is enabled, and an end date was chosen, apply the selection\n // * if single date picker mode, and time picker isn't enabled, apply the selection immediately\n // * if one of the inputs above the calendars was focused, cancel that manual input\n //\n\n if (this.endDate || date.isBefore(this.startDate, 'day')) {\n //picking start\n if (this.timePicker) {\n var hour = parseInt(this.container.find('.left .hourselect').val(), 10);\n if (!this.timePicker24Hour) {\n var ampm = this.container.find('.left .ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n var minute = parseInt(this.container.find('.left .minuteselect').val(), 10);\n var second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0;\n date = date.clone().hour(hour).minute(minute).second(second);\n }\n this.endDate = null;\n this.setStartDate(date.clone());\n } else if (!this.endDate && date.isBefore(this.startDate)) {\n //special case: clicking the same date for start/end,\n //but the time of the end date is before the start date\n this.setEndDate(this.startDate.clone());\n } else {\n // picking end\n if (this.timePicker) {\n var hour = parseInt(this.container.find('.right .hourselect').val(), 10);\n if (!this.timePicker24Hour) {\n var ampm = this.container.find('.right .ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n var minute = parseInt(this.container.find('.right .minuteselect').val(), 10);\n var second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0;\n date = date.clone().hour(hour).minute(minute).second(second);\n }\n this.setEndDate(date.clone());\n if (this.autoApply) {\n this.calculateChosenLabel();\n this.clickApply();\n }\n }\n\n if (this.singleDatePicker) {\n this.setEndDate(this.startDate);\n if (!this.timePicker) this.clickApply();\n }\n\n this.updateView();\n\n //This is to cancel the blur event handler if the mouse was in one of the inputs\n e.stopPropagation();\n },\n\n calculateChosenLabel: function () {\n var customRange = true;\n var i = 0;\n this.container.find('.ranges li').attr('tabindex', '-1');\n for (var range in this.ranges) {\n if (this.timePicker) {\n var format = this.timePickerSeconds ? 'YYYY-MM-DD hh:mm:ss' : 'YYYY-MM-DD hh:mm';\n //ignore times when comparing dates if time picker seconds is not enabled\n if (\n this.startDate.format(format) == this.ranges[range][0].format(format) &&\n this.endDate.format(format) == this.ranges[range][1].format(format)\n ) {\n customRange = false;\n //this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').attr('data-range-key').attr('tabindex', '0');\n this.chosenLabel = this.container\n .find('.ranges li:eq(' + i + ')')\n .addClass('active')\n .attr('data-range-key');\n this.container.find('.ranges li:eq(' + i + ')').attr('tabindex', '0');\n break;\n }\n } else {\n //ignore times when comparing dates if time picker is not enabled\n if (\n this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') &&\n this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')\n ) {\n customRange = false;\n //this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').attr('data-range-key')\n this.chosenLabel = this.container\n .find('.ranges li:eq(' + i + ')')\n .addClass('active')\n .attr('data-range-key');\n this.container.find('.ranges li:eq(' + i + ')').attr('tabindex', '0');\n break;\n }\n }\n i++;\n }\n if (customRange) {\n if (this.showCustomRangeLabel) {\n this.chosenLabel = this.container.find('.ranges li:last').addClass('active').attr('tabindex', '0');\n } else {\n this.chosenLabel = null;\n }\n this.showCalendars();\n }\n },\n\n clickApply: function (e) {\n this.hide();\n var focusableElementsString =\n 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex=0], *[contenteditable]';\n this.element.closest('.select-wrapper').next().find(focusableElementsString).filter(':visible').first().focus();\n this.element.trigger('apply.daterangepicker', this);\n },\n\n clickCancel: function (e) {\n this.startDate = this.oldStartDate;\n this.endDate = this.oldEndDate;\n this.hide();\n this.element.trigger('cancel.daterangepicker', this);\n },\n\n monthOrYearChanged: function (e) {\n var isLeft = $(e.target).closest('.drp-calendar').hasClass('left'),\n leftOrRight = isLeft ? 'left' : 'right',\n cal = this.container.find('.drp-calendar.' + leftOrRight);\n\n // Month must be Number for new moment versions\n var month = parseInt(cal.find('.monthselect').val(), 10);\n var year = cal.find('.yearselect').val();\n\n if (!isLeft) {\n if (year < this.startDate.year() || (year == this.startDate.year() && month < this.startDate.month())) {\n month = this.startDate.month();\n year = this.startDate.year();\n }\n }\n\n if (this.minDate) {\n if (year < this.minDate.year() || (year == this.minDate.year() && month < this.minDate.month())) {\n month = this.minDate.month();\n year = this.minDate.year();\n }\n }\n\n if (this.maxDate) {\n if (year > this.maxDate.year() || (year == this.maxDate.year() && month > this.maxDate.month())) {\n month = this.maxDate.month();\n year = this.maxDate.year();\n }\n }\n\n if (isLeft) {\n this.leftCalendar.month.month(month).year(year);\n if (this.linkedCalendars) this.rightCalendar.month = this.leftCalendar.month.clone().add(1, 'month');\n } else {\n this.rightCalendar.month.month(month).year(year);\n if (this.linkedCalendars) this.leftCalendar.month = this.rightCalendar.month.clone().subtract(1, 'month');\n }\n this.updateCalendars();\n },\n\n timeChanged: function (e) {\n var cal = $(e.target).closest('.drp-calendar'),\n isLeft = cal.hasClass('left');\n\n var hour = parseInt(cal.find('.hourselect').val(), 10);\n var minute = parseInt(cal.find('.minuteselect').val(), 10);\n var second = this.timePickerSeconds ? parseInt(cal.find('.secondselect').val(), 10) : 0;\n\n if (!this.timePicker24Hour) {\n var ampm = cal.find('.ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n\n if (isLeft) {\n var start = this.startDate.clone();\n start.hour(hour);\n start.minute(minute);\n start.second(second);\n this.setStartDate(start);\n if (this.singleDatePicker) {\n this.endDate = this.startDate.clone();\n } else if (\n this.endDate &&\n this.endDate.format('YYYY-MM-DD') == start.format('YYYY-MM-DD') &&\n this.endDate.isBefore(start)\n ) {\n this.setEndDate(start.clone());\n }\n } else if (this.endDate) {\n var end = this.endDate.clone();\n end.hour(hour);\n end.minute(minute);\n end.second(second);\n this.setEndDate(end);\n }\n\n //update the calendars so all clickable dates reflect the new time component\n this.updateCalendars();\n\n //update the form inputs above the calendars with the new time\n this.updateFormInputs();\n\n //re-render the time pickers because changing one selection can affect what's enabled in another\n this.renderTimePicker('left');\n this.renderTimePicker('right');\n },\n\n elementKeyUp: function (e) {\n //Allow show and hide with space/enter\n if (e.keyCode === 13 || e.keyCode === 32) {\n this.show();\n } else {\n this.elementChanged(e);\n }\n },\n\n elementChanged: function () {\n if (!this.element.is('input')) return;\n if (!this.element.val().length) return;\n\n var dateString = this.element.val().split(this.locale.separator),\n start = null,\n end = null;\n\n if (dateString.length === 2) {\n start = moment(dateString[0], this.locale.format);\n end = moment(dateString[1], this.locale.format);\n }\n\n if (this.singleDatePicker || start === null || end === null) {\n start = moment(this.element.val(), this.locale.format);\n end = start;\n }\n\n if (!start.isValid() || !end.isValid()) return;\n\n this.setStartDate(start);\n this.setEndDate(end);\n this.updateView();\n },\n\n handleGridKeyDown: function (e) {\n // return false if handling event on our own, true if propagating elsewhere\n var currentlySelectedDate;\n var newDateToSelect;\n\n if (e.target.className.includes('day')) {\n var gridParts = e.target.id.split('-');\n var cal = gridParts[0].split('_')[1];\n var row = gridParts[1].split('_')[1];\n var col = gridParts[2].split('_')[1];\n currentlySelectedDate = cal === 'left' ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col];\n } else if (e.target.className.includes('prev') || e.target.className.includes('fa-chevron-left')) {\n currentlySelectedDate = this.endDate ? this.endDate : this.startDate;\n } else if (e.target.className.includes('next') || e.target.className.includes('fa-chevron-right')) {\n currentlySelectedDate = this.endDate ? this.endDate : this.startDate;\n }\n\n newDateToSelect = currentlySelectedDate;\n\n // ignore keys pressed while the alt key is also depressed\n if (e.altKey) {\n return true;\n }\n\n // react based upon key pressed\n switch (e.keyCode) {\n // one day before the current selection\n case this.keys.left: {\n // handle day by day navigation\n if (e.target.className.includes('day')) {\n newDateToSelect = currentlySelectedDate.subtract(1, 'days');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // one day after the current selection\n case this.keys.right: {\n // handle day by day navigation\n if (e.target.className.includes('day')) {\n newDateToSelect = currentlySelectedDate.add(1, 'days');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // one week before the current selection\n case this.keys.up: {\n if (e.target.className.includes('day')) {\n // handle day by day navigation\n newDateToSelect = currentlySelectedDate.subtract(7, 'days');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else if (e.target.tagName === 'LI') {\n // move up through the ranges\n var selected = this.container.find('li.active');\n $('li').removeClass('active');\n\n // if there is no element before the selected one, we select the last one\n selected.attr('tabindex', '-1');\n if (selected.prev().length == 0) {\n selected.siblings().last().addClass('active').attr('tabindex', '0').focus();\n } else {\n // otherwise we just select the previous one\n selected.prev().addClass('active').attr('tabindex', '0').focus();\n }\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // one week after the current selection\n case this.keys.down: {\n if (e.target.className.includes('day')) {\n // handle day by day navigation\n newDateToSelect = currentlySelectedDate.add(7, 'days');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else if (e.target.tagName === 'LI') {\n // move up through the ranges\n var selected = this.container.find('li.active');\n $('li').removeClass('active');\n\n // if there is no element after the selected one, we select the first one\n selected.attr('tabindex', '-1');\n if (selected.next().length == 0) {\n selected.siblings().first().addClass('active').attr('tabindex', '0').focus();\n } else {\n // otherwise we just select the next one\n selected.next().addClass('active').attr('tabindex', '0').focus();\n }\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // the first day of the month (based upon the current selection)\n case this.keys.home: {\n // handle day by day navigation\n if (e.target.className.includes('day')) {\n newDateToSelect = currentlySelectedDate.startOf('month');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // the last day of the month (based upon the current selection)\n case this.keys.end: {\n // handle day by day navigation\n if (e.target.className.includes('day')) {\n newDateToSelect = currentlySelectedDate.endOf('month');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // navigate backwards a month or a year at a time (dependent on addition of control key)\n case this.keys.pageup: {\n // handle day by day navigation\n if (e.target.className.includes('day')) {\n if (e.shiftKey) {\n // ctrl+pageup: the same day of the previous year (based upon the current selection)\n newDateToSelect = currentlySelectedDate.subtract(1, 'years');\n } else {\n // pageup: the same day of the previous month (based upon the current selection)\n newDateToSelect = currentlySelectedDate.subtract(1, 'months');\n }\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // navigate forward a month or a year at a time (dependent on addition of control key)\n case this.keys.pagedown: {\n // handle day by day navigation\n if (e.target.className.includes('day')) {\n if (e.shiftKey) {\n // ctrl+pageup: the same day of the next year (based upon the current selection)\n newDateToSelect = currentlySelectedDate.add(1, 'years');\n } else {\n // pageup: the same day of the next month (based upon the current selection)\n newDateToSelect = currentlySelectedDate.add(1, 'months');\n }\n newDateToSelect = currentlySelectedDate.add(1, 'months');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n // select this date\n case this.keys.space:\n case this.keys.enter: {\n if (e.target.className.includes('day')) {\n // handle day by day navigation\n this.clickDate(e);\n e.stopPropagation();\n return false;\n } else if (e.target.className.includes('prev') || e.target.className.includes('fa-chevron-left')) {\n // move back a month\n newDateToSelect = currentlySelectedDate.subtract(1, 'months');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else if (e.target.className.includes('next') || e.target.className.includes('fa-chevron-right')) {\n // move forward a month\n newDateToSelect = currentlySelectedDate.add(1, 'months');\n this.updateSelectedDate(currentlySelectedDate, newDateToSelect);\n e.stopPropagation();\n return false;\n } else if (e.target.tagName === 'LI') {\n // select new range\n this.clickRange(e);\n e.stopPropagation();\n return false;\n } else {\n return true;\n }\n }\n }\n return true;\n },\n\n handleGridKeyPress: function (e) {\n // consume keypress events for browsers that use keypress to scroll the screen and manipulate tabs\n // return false if handling event on our own, true if propagating elsewhere\n if (e.altKey) {\n return true;\n }\n switch (e.keyCode) {\n case this.keys.tab:\n case this.keys.enter:\n case this.keys.space:\n case this.keys.esc:\n case this.keys.left:\n case this.keys.right:\n case this.keys.up:\n case this.keys.down:\n case this.keys.pageup:\n case this.keys.pagedown:\n case this.keys.home:\n case this.keys.end: {\n e.stopPropagation();\n return false;\n }\n }\n return true;\n },\n\n handleTabNavigationKeyDown: function (e) {\n // return false if handling event on our own, true if propagating elsewhere\n // ignore keys pressed while the alt key is also depressed\n if (e.altKey) {\n return true;\n }\n\n // react based upon key pressed\n switch (e.keyCode) {\n // close the date picker\n case this.keys.esc: {\n // dismiss the dialog box\n this.hide();\n e.stopPropagation();\n return false;\n }\n // navigate within the calendar\n case this.keys.tab: {\n // which sort of elements should count?\n var focusableElementsString =\n 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex=0], *[contenteditable]';\n // Get list of focusable items\n var calendarItems = this.container.find('*');\n var focusableItems = calendarItems.filter(focusableElementsString).filter(':visible');\n // Get currently focused item\n var focusedItem = $(':focus');\n // Get the number of focusable items\n var numberOfFocusableItems = focusableItems.length;\n // Get the index of the currently focused item\n var focusedItemIndex = focusableItems.index(focusedItem);\n // If calendar doesn't contain focusable elements, ignore this\n if (numberOfFocusableItems === 0) {\n return true;\n } else {\n // tab backwards\n if (e.shiftKey) {\n // If focused on first item and user presses back-tab (or not yet focused within calendar), go to the prev element on the page\n if (focusedItemIndex === -1 || focusedItemIndex === 0) {\n // focusableItems.get(numberOfFocusableItems - 1).focus();\n this.element\n .closest('.select-wrapper')\n .prev()\n .find(focusableElementsString)\n .filter(':visible')\n .first()\n .focus();\n this.hide();\n e.stopPropagation();\n return false;\n }\n } else {\n // If focused on the last item and user presses tab (or not yet focused within calendar), go to the first focusable item\n if (focusedItemIndex === -1 || focusedItemIndex == numberOfFocusableItems - 1) {\n this.element\n .closest('.select-wrapper')\n .next()\n .find(focusableElementsString)\n .filter(':visible')\n .first()\n .focus();\n this.hide();\n e.stopPropagation();\n return false;\n }\n }\n }\n }\n }\n return true;\n },\n\n updateSelectedDate: function (oldDate, date) {\n // TODO: Refactor this logic out, then reuse both here and clickDate()?\n var dateToFocus = 'start-date';\n\n if (this.endDate || date.isBefore(this.startDate, 'day')) {\n //picking start\n if (this.timePicker) {\n var hour = parseInt(this.container.find('.left .hourselect').val(), 10);\n if (!this.timePicker24Hour) {\n var ampm = this.container.find('.left .ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n var minute = parseInt(this.container.find('.left .minuteselect').val(), 10);\n var second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0;\n date = date.clone().hour(hour).minute(minute).second(second);\n }\n this.endDate = null;\n this.setStartDate(date.clone());\n } else if (!this.endDate && date.isBefore(this.startDate)) {\n //special case: clicking the same date for start/end,\n //but the time of the end date is before the start date\n this.setEndDate(this.startDate.clone());\n } else {\n // picking end\n dateToFocus = 'end-date';\n if (this.timePicker) {\n var hour = parseInt(this.container.find('.right .hourselect').val(), 10);\n if (!this.timePicker24Hour) {\n var ampm = this.container.find('.right .ampmselect').val();\n if (ampm === 'PM' && hour < 12) hour += 12;\n if (ampm === 'AM' && hour === 12) hour = 0;\n }\n var minute = parseInt(this.container.find('.right .minuteselect').val(), 10);\n var second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0;\n date = date.clone().hour(hour).minute(minute).second(second);\n }\n this.setEndDate(date.clone());\n }\n\n if (this.singleDatePicker) {\n this.setEndDate(this.startDate);\n }\n\n // re-render the calendar as appropriate\n this.updateView();\n if (this.startDate && this.endDate) {\n this.updateElement();\n }\n // set focus on the date that they were manipulating\n this.container.find('.' + dateToFocus).focus();\n },\n\n updateElement: function () {\n if (this.element.is('input') && this.autoUpdateInput) {\n var newValue = this.startDate.format(this.locale.format);\n if (!this.singleDatePicker) {\n newValue += this.locale.separator + this.endDate.format(this.locale.format);\n }\n if (newValue !== this.element.val()) {\n this.element.val(newValue).trigger('change');\n }\n }\n },\n\n remove: function () {\n this.container.remove();\n this.element.off('.daterangepicker');\n this.element.removeData();\n },\n };\n\n $.fn.daterangepicker = function (options, callback) {\n var implementOptions = $.extend(true, {}, $.fn.daterangepicker.defaultOptions, options);\n this.each(function () {\n var el = $(this);\n if (el.data('daterangepicker')) el.data('daterangepicker').remove();\n el.data('daterangepicker', new DateRangePicker(el, implementOptions, callback));\n });\n return this;\n };\n\n return DateRangePicker;\n});\n"],"sourceRoot":""}