{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///angular-bootstrap-calendar-tpls.min.js","webpack:///webpack/bootstrap 54552d380f21a3b60425","webpack:///external \"angular\"","webpack:///./node_modules/date-fns/parse/index.js","webpack:///./node_modules/date-fns/add_milliseconds/index.js","webpack:///./node_modules/date-fns/start_of_day/index.js","webpack:///./node_modules/calendar-utils/dist/calendar-utils.js","webpack:///./node_modules/date-fns/is_date/index.js","webpack:///./node_modules/date-fns/difference_in_milliseconds/index.js","webpack:///./src/entry.js","webpack:///./src/templates nonrecursive \\.html","webpack:///./src/templates/calendar.html","webpack:///./src/templates/calendarDayView.html","webpack:///./src/templates/calendarHourList.html","webpack:///./src/templates/calendarMonthCell.html","webpack:///./src/templates/calendarMonthCellEvents.html","webpack:///./src/templates/calendarMonthView.html","webpack:///./src/templates/calendarSlideBox.html","webpack:///./src/templates/calendarWeekView.html","webpack:///./src/templates/calendarYearView.html","webpack:///./src/directives \\.js$","webpack:///./src/directives/mwlCalendar.js","webpack:///./src/directives/mwlCalendarDay.js","webpack:///./src/directives/mwlCalendarHourList.js","webpack:///./node_modules/date-fns/add_days/index.js","webpack:///./node_modules/date-fns/add_hours/index.js","webpack:///./node_modules/date-fns/add_minutes/index.js","webpack:///./node_modules/date-fns/add_seconds/index.js","webpack:///./node_modules/date-fns/difference_in_days/index.js","webpack:///./node_modules/date-fns/difference_in_calendar_days/index.js","webpack:///./node_modules/date-fns/compare_asc/index.js","webpack:///./node_modules/date-fns/difference_in_minutes/index.js","webpack:///./node_modules/date-fns/difference_in_seconds/index.js","webpack:///./node_modules/date-fns/end_of_day/index.js","webpack:///./node_modules/date-fns/end_of_month/index.js","webpack:///./node_modules/date-fns/end_of_week/index.js","webpack:///./node_modules/date-fns/get_day/index.js","webpack:///./node_modules/date-fns/is_same_day/index.js","webpack:///./node_modules/date-fns/is_same_month/index.js","webpack:///./node_modules/date-fns/is_same_second/index.js","webpack:///./node_modules/date-fns/start_of_second/index.js","webpack:///./node_modules/date-fns/max/index.js","webpack:///./node_modules/date-fns/set_hours/index.js","webpack:///./node_modules/date-fns/set_minutes/index.js","webpack:///./node_modules/date-fns/start_of_minute/index.js","webpack:///./node_modules/date-fns/start_of_month/index.js","webpack:///./node_modules/date-fns/start_of_week/index.js","webpack:///./src/directives/mwlCalendarMonth.js","webpack:///./src/directives/mwlCalendarSlideBox.js","webpack:///./src/directives/mwlCalendarWeek.js","webpack:///./src/directives/mwlCalendarYear.js","webpack:///./src/directives/mwlCollapseFallback.js","webpack:///./src/directives/mwlDateModifier.js","webpack:///./src/directives/mwlDragSelect.js","webpack:///./src/directives/mwlDraggable.js","webpack:///./src/directives/mwlDroppable.js","webpack:///./src/directives/mwlDynamicDirectiveTemplate.js","webpack:///./src/directives/mwlElementDimensions.js","webpack:///./src/directives/mwlResizable.js","webpack:///./src/filters \\.js$","webpack:///./src/filters/calendarDate.js","webpack:///./src/filters/calendarLimitTo.js","webpack:///./src/filters/calendarTruncateEventTitle.js","webpack:///./src/filters/calendarTrustAsHtml.js","webpack:///./src/services \\.js$","webpack:///./src/services/calendarConfig.js","webpack:///./src/services/calendarEventTitle.js","webpack:///./src/services/calendarHelper.js","webpack:///./src/services/calendarTitle.js","webpack:///./src/services/interact.js","webpack:///external {\"root\":\"interact\",\"commonjs\":\"interactjs\",\"commonjs2\":\"interactjs\",\"amd\":\"interact\"}","webpack:///./src/services/moment.js","webpack:///external \"moment\""],"names":["root","factory","exports","module","require","e","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE_0__","__WEBPACK_EXTERNAL_MODULE_71__","__WEBPACK_EXTERNAL_MODULE_69__","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","parse","argument","dirtyOptions","isDate","Date","getTime","options","additionalDigits","DEFAULT_ADDITIONAL_DIGITS","Number","dateStrings","splitDateString","parseYearResult","parseYear","date","year","restDateString","parseDate","offset","timestamp","time","parseTime","timezone","parseTimezone","getTimezoneOffset","MILLISECONDS_IN_MINUTE","dateString","timeString","array","split","parseTokenDateTimeDelimeter","parseTokenPlainTime","test","token","parseTokenTimezone","exec","replace","parseTokenYYY","parseTokensYYY","parseTokenYYYYY","parseTokensYYYYY","parseTokenYYYY","yearString","parseInt","slice","length","parseTokenYY","centuryString","month","week","setUTCFullYear","parseTokenMM","parseTokenDDD","dayOfYear","parseTokenMMDD","day","parseTokenWww","dayOfISOYear","parseTokenWwwD","hours","minutes","parseTokenHH","parseFloat","MILLISECONDS_IN_HOUR","parseTokenHHMM","parseTokenHHMMSS","seconds","timezoneString","absoluteOffset","parseTokenTimezoneZ","parseTokenTimezoneHH","parseTokenTimezoneHHMM","isoYear","fourthOfJanuaryDay","getUTCDay","diff","setUTCDate","getUTCDate","addMilliseconds","dirtyDate","dirtyAmount","amount","startOfDay","setHours","__webpack_exports__","getExcludedSeconds","_a","startDate","excluded","_b","precision","endDate","__WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds___default","dayStart","__WEBPACK_IMPORTED_MODULE_10_date_fns_get_day___default","dayEnd","result","current","some","excludedDay","calculateExcludedSeconds","__WEBPACK_IMPORTED_MODULE_0_date_fns_add_days___default","__WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default","__WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default","__WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default","SECONDS_IN_DAY","getWeekViewEventSpan","event","startOfWeekDate","span","begin","__WEBPACK_IMPORTED_MODULE_15_date_fns_max___default","start","end","__WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days___default","offsetSeconds","SECONDS_IN_WEEK","getWeekViewEventOffset","startOfWeek","_c","isEventIsPeriod","periodStart","periodEnd","eventStart","eventEnd","__WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second___default","getEventsInPeriod","events","filter","getWeekDay","weekendDays","DEFAULT_WEEKEND_DAYS","today","isPast","isToday","__WEBPACK_IMPORTED_MODULE_12_date_fns_is_same_day___default","isFuture","isWeekend","indexOf","getWeekViewHeader","viewDate","weekStartsOn","__WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week___default","days","DAYS_IN_WEEK","getDay","push","getWeekView","_d","_e","absolutePositionedEvents","startOfViewWeek","endOfViewWeek","__WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week___default","maxRange","eventsMapped","map","entry","startsBeforeWeek","endsAfterWeek","sort","itemA","itemB","startSecondsDiff","eventRows","allocatedEvents","forEach","index","rowSpan_1","otherRowEvents","nextEvent","nextEventOffset","row","concat","getMonthView","viewStart","__WEBPACK_IMPORTED_MODULE_20_date_fns_start_of_month___default","viewEnd","__WEBPACK_IMPORTED_MODULE_8_date_fns_end_of_month___default","previousDate","eventsInMonth","initialViewDays","__WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours___default","HOURS_IN_DAY","eventsInPeriod","inMonth","__WEBPACK_IMPORTED_MODULE_13_date_fns_is_same_month___default","badgeTotal","totalDaysVisibleInWeek","isRowInMonth","getMonth","rows","Math","floor","rowOffsets","getDayView","hourSegments","eventWidth","segmentHeight","startOfView","__WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes___default","__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours___default","hour","minute","endOfView","__WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute___default","previousDayEvents","dayViewEvents","allDay","eventA","eventB","valueOf","startsBeforeDay","endsAfterDay","hourHeightModifier","MINUTES_IN_HOUR","top","__WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes___default","height","bottom","overlappingPreviousEvents","previousEvent","previousEventTop","previousEventBottom","left","dayEvent","width","max","apply","allDayEvents","getDayViewHourGrid","segmentDuration","startOfViewDay","segments","j","__WEBPACK_IMPORTED_MODULE_2_date_fns_add_minutes___default","isStart","validateEvents","log","isError","msg","isValid","Array","isArray","__WEBPACK_IMPORTED_MODULE_11_date_fns_is_date___default","EventValidationErrorMessage","StartPropertyNotDate","StartPropertyMissing","EndPropertyNotDate","EndsBeforeStart","NotArray","value","DAYS_OF_WEEK","__WEBPACK_IMPORTED_MODULE_0_date_fns_add_days__","__WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours__","__WEBPACK_IMPORTED_MODULE_2_date_fns_add_minutes__","__WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds__","__WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days__","__WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes__","__WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds__","__WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day__","__WEBPACK_IMPORTED_MODULE_8_date_fns_end_of_month__","__WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week__","__WEBPACK_IMPORTED_MODULE_10_date_fns_get_day__","__WEBPACK_IMPORTED_MODULE_11_date_fns_is_date__","__WEBPACK_IMPORTED_MODULE_12_date_fns_is_same_day__","__WEBPACK_IMPORTED_MODULE_13_date_fns_is_same_month__","__WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second__","__WEBPACK_IMPORTED_MODULE_15_date_fns_max__","__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours__","__WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes__","__WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day__","__WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute__","__WEBPACK_IMPORTED_MODULE_20_date_fns_start_of_month__","__WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week__","SUNDAY","SATURDAY","differenceInMilliseconds","dirtyDateLeft","dirtyDateRight","dateLeft","dateRight","requireAll","r","keys","angular","templates","templatesContext","templateName","templateNameWithoutPrefix","cacheTemplateName","configTemplateName","template","config","calendarConfig","run","$templateCache","$interpolate","templateContents","startSymbol","endSymbol","put","webpackContext","req","webpackContextResolve","id","Error","./calendar.html","./calendarDayView.html","./calendarHourList.html","./calendarMonthCell.html","./calendarMonthCellEvents.html","./calendarMonthView.html","./calendarSlideBox.html","./calendarWeekView.html","./calendarYearView.html","resolve","./mwlCalendar.js","./mwlCalendarDay.js","./mwlCalendarHourList.js","./mwlCalendarMonth.js","./mwlCalendarSlideBox.js","./mwlCalendarWeek.js","./mwlCalendarYear.js","./mwlCollapseFallback.js","./mwlDateModifier.js","./mwlDragSelect.js","./mwlDraggable.js","./mwlDroppable.js","./mwlDynamicDirectiveTemplate.js","./mwlElementDimensions.js","./mwlResizable.js","LOG_PREFIX","controller","$scope","$log","$timeout","$attrs","$locale","moment","calendarTitle","calendarHelper","vm","changeView","view","newDay","dateClicked","rawDate","toDate","nextView","onViewChangeClick","calendarDate","calendarNextView","$onInit","checkEventIsValid","startsAt","warn","endsAt","isAfter","refreshCalendar","isDefined","viewTitle","calendarEventId","currentDate","shouldUpdate","clone","startOf","isSame","previousView","$broadcast","slideBoxDisabled","excludedDays","loadTemplates","then","templatesLoaded","eventsWatched","$watchGroup","locale","$watch","catch","err","error","version","minor","directive","restrict","scope","cellIsOpen","cellAutoOpenDisabled","customTemplateUrls","draggableAutoScroll","onEventClick","onEventTimesChanged","onTimespanClick","onDateRangeSelect","cellModifier","dayViewStart","dayViewSegmentSize","dayViewEnd","dayViewSplit","dayViewEventChunkSize","dayViewEventWidth","templateScope","dayViewTimePosition","bindToController","calendarEventTitle","refreshView","timeHidden","dayViewTimePositionOffset","dayViewHeight","getDayViewHeight","nonAllDayEvents","viewWidth","$on","eventDragComplete","minuteChunksMoved","minutesDiff","newStart","add","newEnd","tempStartsAt","calendarEvent","calendarNewEventStart","calendarNewEventEnd","eventDragged","eventResizeComplete","edge","eventResized","calendarUtils","$document","updateDays","hourGrid","segment","nextSegmentDate","calendarCell","scrollBarWidth","outer","createElement","style","visibility","msOverflowStyle","body","appendChild","widthNoScroll","offsetWidth","overflow","inner","widthWithScroll","parentNode","removeChild","originalLocale","eventDropped","adjustEndDateFromStartDiff","onDragSelectStart","dayIndex","dateRangeSelect","active","onDragSelectMove","onDragSelectEnd","calendarRangeStartDate","calendarRangeEndDate","dayWidth","addDays","setDate","getDate","addHours","addMinutes","addSeconds","differenceInDays","sign","compareAsc","difference","abs","differenceInCalendarDays","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","round","MILLISECONDS_IN_DAY","timeLeft","timeRight","differenceInMinutes","ceil","differenceInSeconds","endOfDay","endOfMonth","setFullYear","getFullYear","endOfWeek","isSameDay","dateLeftStartOfDay","dateRightStartOfDay","isSameMonth","isSameSecond","dateLeftStartOfSecond","startOfSecond","dateRightStartOfSecond","setMilliseconds","dirtyDates","arguments","dates","latestTimestamp","dirtyHours","setMinutes","dirtyMinutes","startOfMinute","setSeconds","startOfMonth","toggleCell","openRowIndex","openDayIndex","weekDays","getWeekDayNames","monthView","monthOffsets","dayClicked","dayClickedFirstRun","$event","defaultPrevented","highlightEvent","shouldAddClass","highlightClass","backgroundColor","color","secondary","handleEventDrop","newDayDate","draggedFromDate","calendarDraggedFromDate","getWeekNumberLabel","weekNumber","isoWeek","i18nStrings","endOf","link","element","attrs","calendarCtrl","isCollapsed","isOpen","elm","ctrls","isMonthView","isYearView","cell","showTimes","showTimesOnWeekView","getWeekViewWithTimes","weekDragged","daysDiff","weekResized","tempTimeChanged","openMonthIndex","monthIndex","getYearView","monthClicked","monthClickedFirstRun","newMonthDate","$element","mwlCollapseFallback","shouldCollapse","addClass","removeClass","$injector","has","onClick","setToToday","increment","decrement","subtract","$apply","bind","unbind","$parse","handleMouseEvent","callbackName","button","preventDefault","enableMouseListeners","on","onMouseDown","onMouseMove","onMouseUp","disableMouseListeners","off","mwlDragSelect","isEnabled","$window","interact","translateElement","transformValue","css","snap","snapGridDimensions","snapGrid","targets","createSnapGrid","autoScroll","draggable","onstart","target","dropData","pointerEvents","onDragStart","onmove","x","attr","dx","y","dy","axis","getComputedStyle","position","onDrag","onend","onDragEnd","removeAttr","mwlDraggable","enabled","unset","DROP_ACTIVE_CLASS","dropActiveClass","INTERACT_OVERLAP_TYPE","dropOverlap","dropzone","ondragenter","ondragleave","ondropdeactivate","ondrop","relatedTarget","onDrop","overlap","$compile","overrides","isObject","html","contents","setDimensions","mwlElementDimensions","assign","offsetHeight","$applyAsync","win","getUnitsResized","unitsResized","data","originalDimensions","resizeEdge","originalDimensionsStyle","resizable","edges","resizeEdges","rect","deltaRect","onResize","transform","onResizeEnd","mwlResizable","./calendarDate.js","./calendarLimitTo.js","./calendarTruncateEventTitle.js","./calendarTrustAsHtml.js","format","getFromConfig","dateFormats","formatDate","$stateful","limitToFilter","input","limit","Infinity","isNaN","isNumber","toString","isString","string","boxHeight","substr","$sce","text","trustAsHtml","./calendarConfig.js","./calendarEventTitle.js","./calendarHelper.js","./calendarTitle.js","./interact.js","./moment.js","constant","allDateFormats","weekDay","datetime","title","dateFormatter","titleFormats","displayAllMonthEvents","colorTypes","info","primary","important","warning","inverse","special","success","calendarDateFilter","calendarTruncateEventTitleFilter","yearView","monthViewTooltip","weekView","weekViewTooltip","dayView","dayViewTooltip","$q","$templateRequest","dateFilter","oldStart","oldEnd","diffInSeconds","getRecurringEventPeriod","eventPeriod","recursOn","containerPeriodStart","set","eventIsInPeriod","isBefore","filterEventsInPeriod","startPeriod","endPeriod","period","allEvents","getBadgeTotal","incrementsBadgeTotal","wd","ex","weekday","count","periodEvents","label","updateEventForCalendarUtils","weekDayLabel","dayLabel","weekViewStart","calendarUtilsEvent","originalEvent","eventRow","rowEvent","newEvents","flattenedEvents","dayEvents","newDayEvents","dayViewStartM","dayViewEndM","hourHeight","templatePromises","key","templateUrl","all","code"],"mappings":";;;;;;CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,EAAAG,QAAA,WAAAA,QAAA,qBAAiH,IAAM,MAAAA,SAAA,cAAgC,MAAAC,SACvJ,kBAAAC,gBAAAC,IACAD,QAAA,+BAAAL,GACA,gBAAAC,SACAA,QAAA,mCAAAD,EAAAG,QAAA,WAAAA,QAAA,qBAAgJ,IAAM,M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AQD,GsEtyIxB,YAAAU,EAAA,CAA2D,GAAAP,GAAA,GAAAoV,OAAA,iCAAmF,MAA7BpV,GAAAuxB,KAAA,mBAA6BvxB,EAC9IF,EAAAD,QAAAU,GtE4yIM,SAAUT,EAAQD,EAASY,GAEjC,YuE7yIA,IAAAsT,GAAAtT,EAAA,GACA4W,EAAA5W,EAAA,GAEAsT,GACAjU,OAAA,gBACAotB,SAAA,SAAA7V,IvEqzIM,SAAUvX,EAAQD,GwE5zIxBC,EAAAD,QAAAS","file":"angular-bootstrap-calendar-tpls.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"angular\"), require(\"moment\"), (function webpackLoadOptionalExternalModule() { try { return require(\"interactjs\"); } catch(e) {} }()));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"angular\", \"moment\", \"interact\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"angularBootstrapCalendarModuleName\"] = factory(require(\"angular\"), require(\"moment\"), (function webpackLoadOptionalExternalModule() { try { return require(\"interactjs\"); } catch(e) {} }()));\n\telse\n\t\troot[\"angularBootstrapCalendarModuleName\"] = factory(root[\"angular\"], root[\"moment\"], root[\"interact\"]);\n})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_71__, __WEBPACK_EXTERNAL_MODULE_69__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","/**\n * angular-bootstrap-calendar - A pure AngularJS bootstrap themed responsive calendar that can display events and has views for year, month, week and day\n * @version v1.0.0\n * @link https://github.com/mattlewis92/angular-bootstrap-calendar\n * @license MIT\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"angular\"), require(\"moment\"), (function webpackLoadOptionalExternalModule() { try { return require(\"interactjs\"); } catch(e) {} }()));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"angular\", \"moment\", \"interact\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"angularBootstrapCalendarModuleName\"] = factory(require(\"angular\"), require(\"moment\"), (function webpackLoadOptionalExternalModule() { try { return require(\"interactjs\"); } catch(e) {} }()));\n\telse\n\t\troot[\"angularBootstrapCalendarModuleName\"] = factory(root[\"angular\"], root[\"moment\"], root[\"interact\"]);\n})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_71__, __WEBPACK_EXTERNAL_MODULE_69__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 7);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_0__;\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isDate = __webpack_require__(5)\n\nvar MILLISECONDS_IN_HOUR = 3600000\nvar MILLISECONDS_IN_MINUTE = 60000\nvar DEFAULT_ADDITIONAL_DIGITS = 2\n\nvar parseTokenDateTimeDelimeter = /[T ]/\nvar parseTokenPlainTime = /:/\n\n// year tokens\nvar parseTokenYY = /^(\\d{2})$/\nvar parseTokensYYY = [\n /^([+-]\\d{2})$/, // 0 additional digits\n /^([+-]\\d{3})$/, // 1 additional digit\n /^([+-]\\d{4})$/ // 2 additional digits\n]\n\nvar parseTokenYYYY = /^(\\d{4})/\nvar parseTokensYYYYY = [\n /^([+-]\\d{4})/, // 0 additional digits\n /^([+-]\\d{5})/, // 1 additional digit\n /^([+-]\\d{6})/ // 2 additional digits\n]\n\n// date tokens\nvar parseTokenMM = /^-(\\d{2})$/\nvar parseTokenDDD = /^-?(\\d{3})$/\nvar parseTokenMMDD = /^-?(\\d{2})-?(\\d{2})$/\nvar parseTokenWww = /^-?W(\\d{2})$/\nvar parseTokenWwwD = /^-?W(\\d{2})-?(\\d{1})$/\n\n// time tokens\nvar parseTokenHH = /^(\\d{2}([.,]\\d*)?)$/\nvar parseTokenHHMM = /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/\nvar parseTokenHHMMSS = /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/\n\n// timezone tokens\nvar parseTokenTimezone = /([Z+-].*)$/\nvar parseTokenTimezoneZ = /^(Z)$/\nvar parseTokenTimezoneHH = /^([+-])(\\d{2})$/\nvar parseTokenTimezoneHHMM = /^([+-])(\\d{2}):?(\\d{2})$/\n\n/**\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If an argument is a string, the function tries to parse it.\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n *\n * If all above fails, the function passes the given argument to Date constructor.\n *\n * @param {Date|String|Number} argument - the value to convert\n * @param {Object} [options] - the object with options\n * @param {0 | 1 | 2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @returns {Date} the parsed date in the local time zone\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * var result = parse('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Parse string '+02014101',\n * // if the additional number of digits in the extended year format is 1:\n * var result = parse('+02014101', {additionalDigits: 1})\n * //=> Fri Apr 11 2014 00:00:00\n */\nfunction parse (argument, dirtyOptions) {\n if (isDate(argument)) {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime())\n } else if (typeof argument !== 'string') {\n return new Date(argument)\n }\n\n var options = dirtyOptions || {}\n var additionalDigits = options.additionalDigits\n if (additionalDigits == null) {\n additionalDigits = DEFAULT_ADDITIONAL_DIGITS\n } else {\n additionalDigits = Number(additionalDigits)\n }\n\n var dateStrings = splitDateString(argument)\n\n var parseYearResult = parseYear(dateStrings.date, additionalDigits)\n var year = parseYearResult.year\n var restDateString = parseYearResult.restDateString\n\n var date = parseDate(restDateString, year)\n\n if (date) {\n var timestamp = date.getTime()\n var time = 0\n var offset\n\n if (dateStrings.time) {\n time = parseTime(dateStrings.time)\n }\n\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone)\n } else {\n // get offset accurate to hour in timezones that change offset\n offset = new Date(timestamp + time).getTimezoneOffset()\n offset = new Date(timestamp + time + offset * MILLISECONDS_IN_MINUTE).getTimezoneOffset()\n }\n\n return new Date(timestamp + time + offset * MILLISECONDS_IN_MINUTE)\n } else {\n return new Date(argument)\n }\n}\n\nfunction splitDateString (dateString) {\n var dateStrings = {}\n var array = dateString.split(parseTokenDateTimeDelimeter)\n var timeString\n\n if (parseTokenPlainTime.test(array[0])) {\n dateStrings.date = null\n timeString = array[0]\n } else {\n dateStrings.date = array[0]\n timeString = array[1]\n }\n\n if (timeString) {\n var token = parseTokenTimezone.exec(timeString)\n if (token) {\n dateStrings.time = timeString.replace(token[1], '')\n dateStrings.timezone = token[1]\n } else {\n dateStrings.time = timeString\n }\n }\n\n return dateStrings\n}\n\nfunction parseYear (dateString, additionalDigits) {\n var parseTokenYYY = parseTokensYYY[additionalDigits]\n var parseTokenYYYYY = parseTokensYYYYY[additionalDigits]\n\n var token\n\n // YYYY or ±YYYYY\n token = parseTokenYYYY.exec(dateString) || parseTokenYYYYY.exec(dateString)\n if (token) {\n var yearString = token[1]\n return {\n year: parseInt(yearString, 10),\n restDateString: dateString.slice(yearString.length)\n }\n }\n\n // YY or ±YYY\n token = parseTokenYY.exec(dateString) || parseTokenYYY.exec(dateString)\n if (token) {\n var centuryString = token[1]\n return {\n year: parseInt(centuryString, 10) * 100,\n restDateString: dateString.slice(centuryString.length)\n }\n }\n\n // Invalid ISO-formatted year\n return {\n year: null\n }\n}\n\nfunction parseDate (dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) {\n return null\n }\n\n var token\n var date\n var month\n var week\n\n // YYYY\n if (dateString.length === 0) {\n date = new Date(0)\n date.setUTCFullYear(year)\n return date\n }\n\n // YYYY-MM\n token = parseTokenMM.exec(dateString)\n if (token) {\n date = new Date(0)\n month = parseInt(token[1], 10) - 1\n date.setUTCFullYear(year, month)\n return date\n }\n\n // YYYY-DDD or YYYYDDD\n token = parseTokenDDD.exec(dateString)\n if (token) {\n date = new Date(0)\n var dayOfYear = parseInt(token[1], 10)\n date.setUTCFullYear(year, 0, dayOfYear)\n return date\n }\n\n // YYYY-MM-DD or YYYYMMDD\n token = parseTokenMMDD.exec(dateString)\n if (token) {\n date = new Date(0)\n month = parseInt(token[1], 10) - 1\n var day = parseInt(token[2], 10)\n date.setUTCFullYear(year, month, day)\n return date\n }\n\n // YYYY-Www or YYYYWww\n token = parseTokenWww.exec(dateString)\n if (token) {\n week = parseInt(token[1], 10) - 1\n return dayOfISOYear(year, week)\n }\n\n // YYYY-Www-D or YYYYWwwD\n token = parseTokenWwwD.exec(dateString)\n if (token) {\n week = parseInt(token[1], 10) - 1\n var dayOfWeek = parseInt(token[2], 10) - 1\n return dayOfISOYear(year, week, dayOfWeek)\n }\n\n // Invalid ISO-formatted date\n return null\n}\n\nfunction parseTime (timeString) {\n var token\n var hours\n var minutes\n\n // hh\n token = parseTokenHH.exec(timeString)\n if (token) {\n hours = parseFloat(token[1].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR\n }\n\n // hh:mm or hhmm\n token = parseTokenHHMM.exec(timeString)\n if (token) {\n hours = parseInt(token[1], 10)\n minutes = parseFloat(token[2].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR +\n minutes * MILLISECONDS_IN_MINUTE\n }\n\n // hh:mm:ss or hhmmss\n token = parseTokenHHMMSS.exec(timeString)\n if (token) {\n hours = parseInt(token[1], 10)\n minutes = parseInt(token[2], 10)\n var seconds = parseFloat(token[3].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR +\n minutes * MILLISECONDS_IN_MINUTE +\n seconds * 1000\n }\n\n // Invalid ISO-formatted time\n return null\n}\n\nfunction parseTimezone (timezoneString) {\n var token\n var absoluteOffset\n\n // Z\n token = parseTokenTimezoneZ.exec(timezoneString)\n if (token) {\n return 0\n }\n\n // ±hh\n token = parseTokenTimezoneHH.exec(timezoneString)\n if (token) {\n absoluteOffset = parseInt(token[2], 10) * 60\n return (token[1] === '+') ? -absoluteOffset : absoluteOffset\n }\n\n // ±hh:mm or ±hhmm\n token = parseTokenTimezoneHHMM.exec(timezoneString)\n if (token) {\n absoluteOffset = parseInt(token[2], 10) * 60 + parseInt(token[3], 10)\n return (token[1] === '+') ? -absoluteOffset : absoluteOffset\n }\n\n return 0\n}\n\nfunction dayOfISOYear (isoYear, week, day) {\n week = week || 0\n day = day || 0\n var date = new Date(0)\n date.setUTCFullYear(isoYear, 0, 4)\n var fourthOfJanuaryDay = date.getUTCDay() || 7\n var diff = week * 7 + day + 1 - fourthOfJanuaryDay\n date.setUTCDate(date.getUTCDate() + diff)\n return date\n}\n\nmodule.exports = parse\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar parse = __webpack_require__(1)\n\n/**\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added\n * @returns {Date} the new date with the milliseconds added\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * var result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\nfunction addMilliseconds (dirtyDate, dirtyAmount) {\n var timestamp = parse(dirtyDate).getTime()\n var amount = Number(dirtyAmount)\n return new Date(timestamp + amount)\n}\n\nmodule.exports = addMilliseconds\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar parse = __webpack_require__(1)\n\n/**\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a day\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * var result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nfunction startOfDay (dirtyDate) {\n var date = parse(dirtyDate)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = startOfDay\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DAYS_OF_WEEK\", function() { return DAYS_OF_WEEK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SECONDS_IN_DAY\", function() { return SECONDS_IN_DAY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SECONDS_IN_WEEK\", function() { return SECONDS_IN_WEEK; });\n/* harmony export (immutable) */ __webpack_exports__[\"getWeekViewEventOffset\"] = getWeekViewEventOffset;\n/* harmony export (immutable) */ __webpack_exports__[\"getEventsInPeriod\"] = getEventsInPeriod;\n/* harmony export (immutable) */ __webpack_exports__[\"getWeekViewHeader\"] = getWeekViewHeader;\n/* harmony export (immutable) */ __webpack_exports__[\"getWeekView\"] = getWeekView;\n/* harmony export (immutable) */ __webpack_exports__[\"getMonthView\"] = getMonthView;\n/* harmony export (immutable) */ __webpack_exports__[\"getDayView\"] = getDayView;\n/* harmony export (immutable) */ __webpack_exports__[\"getDayViewHourGrid\"] = getDayViewHourGrid;\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EventValidationErrorMessage\", function() { return EventValidationErrorMessage; });\n/* harmony export (immutable) */ __webpack_exports__[\"validateEvents\"] = validateEvents;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_date_fns_add_days__ = __webpack_require__(23);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_date_fns_add_days___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_date_fns_add_days__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_date_fns_add_minutes__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_date_fns_add_minutes___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_date_fns_add_minutes__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds__ = __webpack_require__(26);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days__ = __webpack_require__(27);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes__ = __webpack_require__(30);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds__ = __webpack_require__(31);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day__ = __webpack_require__(32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_date_fns_end_of_month__ = __webpack_require__(33);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_date_fns_end_of_month___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_date_fns_end_of_month__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week__ = __webpack_require__(34);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_date_fns_get_day__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_date_fns_get_day___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_date_fns_get_day__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_date_fns_is_date__ = __webpack_require__(5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_date_fns_is_date___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_date_fns_is_date__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_date_fns_is_same_day__ = __webpack_require__(36);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_date_fns_is_same_day___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_date_fns_is_same_day__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_date_fns_is_same_month__ = __webpack_require__(37);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_date_fns_is_same_month___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_13_date_fns_is_same_month__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second__ = __webpack_require__(38);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_date_fns_max__ = __webpack_require__(40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_date_fns_max___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15_date_fns_max__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours__ = __webpack_require__(41);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes__ = __webpack_require__(42);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day__ = __webpack_require__(3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute__ = __webpack_require__(43);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_date_fns_start_of_month__ = __webpack_require__(44);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_date_fns_start_of_month___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_20_date_fns_start_of_month__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week__ = __webpack_require__(45);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar DAYS_OF_WEEK;\n(function (DAYS_OF_WEEK) {\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"SUNDAY\"] = 0] = \"SUNDAY\";\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"MONDAY\"] = 1] = \"MONDAY\";\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"TUESDAY\"] = 2] = \"TUESDAY\";\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"WEDNESDAY\"] = 3] = \"WEDNESDAY\";\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"THURSDAY\"] = 4] = \"THURSDAY\";\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"FRIDAY\"] = 5] = \"FRIDAY\";\n DAYS_OF_WEEK[DAYS_OF_WEEK[\"SATURDAY\"] = 6] = \"SATURDAY\";\n})(DAYS_OF_WEEK || (DAYS_OF_WEEK = {}));\nvar DEFAULT_WEEKEND_DAYS = [\n DAYS_OF_WEEK.SUNDAY,\n DAYS_OF_WEEK.SATURDAY\n];\nvar DAYS_IN_WEEK = 7;\nvar HOURS_IN_DAY = 24;\nvar MINUTES_IN_HOUR = 60;\nvar SECONDS_IN_DAY = 60 * 60 * 24;\nvar SECONDS_IN_WEEK = SECONDS_IN_DAY * DAYS_IN_WEEK;\nfunction getExcludedSeconds(_a) {\n var startDate = _a.startDate, seconds = _a.seconds, excluded = _a.excluded, _b = _a.precision, precision = _b === void 0 ? 'days' : _b;\n if (excluded.length < 1) {\n return 0;\n }\n var endDate = __WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds___default()(startDate, seconds - 1);\n var dayStart = __WEBPACK_IMPORTED_MODULE_10_date_fns_get_day___default()(startDate);\n var dayEnd = __WEBPACK_IMPORTED_MODULE_10_date_fns_get_day___default()(__WEBPACK_IMPORTED_MODULE_3_date_fns_add_seconds___default()(endDate, 0));\n var result = 0; // Calculated in seconds\n var current = startDate;\n var _loop_1 = function () {\n var day = __WEBPACK_IMPORTED_MODULE_10_date_fns_get_day___default()(current);\n if (excluded.some(function (excludedDay) { return excludedDay === day; })) {\n result += calculateExcludedSeconds({\n dayStart: dayStart,\n dayEnd: dayEnd,\n day: day,\n precision: precision,\n startDate: startDate,\n endDate: endDate\n });\n }\n current = __WEBPACK_IMPORTED_MODULE_0_date_fns_add_days___default()(current, 1);\n };\n while (current < endDate) {\n _loop_1();\n }\n return result;\n}\nfunction calculateExcludedSeconds(_a) {\n var precision = _a.precision, day = _a.day, dayStart = _a.dayStart, dayEnd = _a.dayEnd, startDate = _a.startDate, endDate = _a.endDate;\n if (precision === 'minutes') {\n if (day === dayStart) {\n return __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default()(__WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default()(startDate), startDate) + 1;\n }\n else if (day === dayEnd) {\n return __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default()(endDate, __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(endDate)) + 1;\n }\n }\n return SECONDS_IN_DAY;\n}\nfunction getWeekViewEventSpan(_a) {\n var event = _a.event, offset = _a.offset, startOfWeekDate = _a.startOfWeekDate, excluded = _a.excluded, _b = _a.precision, precision = _b === void 0 ? 'days' : _b;\n var span = SECONDS_IN_DAY;\n var begin = __WEBPACK_IMPORTED_MODULE_15_date_fns_max___default()(event.start, startOfWeekDate);\n if (event.end) {\n switch (precision) {\n case 'minutes':\n span = __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default()(event.end, begin);\n break;\n default:\n span = __WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days___default()(__WEBPACK_IMPORTED_MODULE_0_date_fns_add_days___default()(event.end, 1), begin) * SECONDS_IN_DAY;\n break;\n }\n }\n var offsetSeconds = offset * SECONDS_IN_DAY;\n var totalLength = offsetSeconds + span;\n // the best way to detect if an event is outside the week-view\n // is to check if the total span beginning (from startOfWeekDay or event start) exceeds 7days\n if (totalLength > SECONDS_IN_WEEK) {\n span = SECONDS_IN_WEEK - offsetSeconds;\n }\n span -= getExcludedSeconds({\n startDate: begin,\n seconds: span,\n excluded: excluded,\n precision: precision\n });\n return span / SECONDS_IN_DAY;\n}\nfunction getWeekViewEventOffset(_a) {\n var event = _a.event, startOfWeekDate = _a.startOfWeek, _b = _a.excluded, excluded = _b === void 0 ? [] : _b, _c = _a.precision, precision = _c === void 0 ? 'days' : _c;\n if (event.start < startOfWeekDate) {\n return 0;\n }\n var offset = 0;\n switch (precision) {\n case 'days':\n offset =\n __WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days___default()(__WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(event.start), startOfWeekDate) *\n SECONDS_IN_DAY;\n break;\n case 'minutes':\n offset = __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default()(event.start, startOfWeekDate);\n break;\n }\n offset -= getExcludedSeconds({\n startDate: startOfWeekDate,\n seconds: offset,\n excluded: excluded,\n precision: precision\n });\n return offset / SECONDS_IN_DAY;\n}\nfunction isEventIsPeriod(_a) {\n var event = _a.event, periodStart = _a.periodStart, periodEnd = _a.periodEnd;\n var eventStart = event.start;\n var eventEnd = event.end || event.start;\n if (eventStart > periodStart && eventStart < periodEnd) {\n return true;\n }\n if (eventEnd > periodStart && eventEnd < periodEnd) {\n return true;\n }\n if (eventStart < periodStart && eventEnd > periodEnd) {\n return true;\n }\n if (__WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second___default()(eventStart, periodStart) ||\n __WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second___default()(eventStart, periodEnd)) {\n return true;\n }\n if (__WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second___default()(eventEnd, periodStart) ||\n __WEBPACK_IMPORTED_MODULE_14_date_fns_is_same_second___default()(eventEnd, periodEnd)) {\n return true;\n }\n return false;\n}\nfunction getEventsInPeriod(_a) {\n var events = _a.events, periodStart = _a.periodStart, periodEnd = _a.periodEnd;\n return events.filter(function (event) {\n return isEventIsPeriod({ event: event, periodStart: periodStart, periodEnd: periodEnd });\n });\n}\nfunction getWeekDay(_a) {\n var date = _a.date, _b = _a.weekendDays, weekendDays = _b === void 0 ? DEFAULT_WEEKEND_DAYS : _b;\n var today = __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(new Date());\n return {\n date: date,\n isPast: date < today,\n isToday: __WEBPACK_IMPORTED_MODULE_12_date_fns_is_same_day___default()(date, today),\n isFuture: date > today,\n isWeekend: weekendDays.indexOf(__WEBPACK_IMPORTED_MODULE_10_date_fns_get_day___default()(date)) > -1\n };\n}\nfunction getWeekViewHeader(_a) {\n var viewDate = _a.viewDate, weekStartsOn = _a.weekStartsOn, _b = _a.excluded, excluded = _b === void 0 ? [] : _b, weekendDays = _a.weekendDays;\n var start = __WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week___default()(viewDate, { weekStartsOn: weekStartsOn });\n var days = [];\n var _loop_2 = function (i) {\n var date = __WEBPACK_IMPORTED_MODULE_0_date_fns_add_days___default()(start, i);\n if (!excluded.some(function (e) { return date.getDay() === e; })) {\n days.push(getWeekDay({ date: date, weekendDays: weekendDays }));\n }\n };\n for (var i = 0; i < DAYS_IN_WEEK; i++) {\n _loop_2(i);\n }\n return days;\n}\nfunction getWeekView(_a) {\n var _b = _a.events, events = _b === void 0 ? [] : _b, viewDate = _a.viewDate, weekStartsOn = _a.weekStartsOn, _c = _a.excluded, excluded = _c === void 0 ? [] : _c, _d = _a.precision, precision = _d === void 0 ? 'days' : _d, _e = _a.absolutePositionedEvents, absolutePositionedEvents = _e === void 0 ? false : _e;\n if (!events) {\n events = [];\n }\n var startOfViewWeek = __WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week___default()(viewDate, { weekStartsOn: weekStartsOn });\n var endOfViewWeek = __WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week___default()(viewDate, { weekStartsOn: weekStartsOn });\n var maxRange = DAYS_IN_WEEK - excluded.length;\n var eventsMapped = getEventsInPeriod({\n events: events,\n periodStart: startOfViewWeek,\n periodEnd: endOfViewWeek\n })\n .map(function (event) {\n var offset = getWeekViewEventOffset({\n event: event,\n startOfWeek: startOfViewWeek,\n excluded: excluded,\n precision: precision\n });\n var span = getWeekViewEventSpan({\n event: event,\n offset: offset,\n startOfWeekDate: startOfViewWeek,\n excluded: excluded,\n precision: precision\n });\n return { event: event, offset: offset, span: span };\n })\n .filter(function (e) { return e.offset < maxRange; })\n .filter(function (e) { return e.span > 0; })\n .map(function (entry) { return ({\n event: entry.event,\n offset: entry.offset,\n span: entry.span,\n startsBeforeWeek: entry.event.start < startOfViewWeek,\n endsAfterWeek: (entry.event.end || entry.event.start) > endOfViewWeek\n }); })\n .sort(function (itemA, itemB) {\n var startSecondsDiff = __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default()(itemA.event.start, itemB.event.start);\n if (startSecondsDiff === 0) {\n return __WEBPACK_IMPORTED_MODULE_6_date_fns_difference_in_seconds___default()(itemB.event.end || itemB.event.start, itemA.event.end || itemA.event.start);\n }\n return startSecondsDiff;\n });\n var eventRows = [];\n var allocatedEvents = [];\n eventsMapped.forEach(function (event, index) {\n if (allocatedEvents.indexOf(event) === -1) {\n allocatedEvents.push(event);\n var rowSpan_1 = event.span + event.offset;\n var otherRowEvents = eventsMapped\n .slice(index + 1)\n .filter(function (nextEvent) {\n if (nextEvent.offset >= rowSpan_1 &&\n rowSpan_1 + nextEvent.span <= DAYS_IN_WEEK &&\n allocatedEvents.indexOf(nextEvent) === -1) {\n var nextEventOffset = nextEvent.offset - rowSpan_1;\n if (!absolutePositionedEvents) {\n nextEvent.offset = nextEventOffset;\n }\n rowSpan_1 += nextEvent.span + nextEventOffset;\n allocatedEvents.push(nextEvent);\n return true;\n }\n });\n eventRows.push({\n row: [event].concat(otherRowEvents)\n });\n }\n });\n return eventRows;\n}\nfunction getMonthView(_a) {\n var _b = _a.events, events = _b === void 0 ? [] : _b, viewDate = _a.viewDate, weekStartsOn = _a.weekStartsOn, _c = _a.excluded, excluded = _c === void 0 ? [] : _c, _d = _a.viewStart, viewStart = _d === void 0 ? __WEBPACK_IMPORTED_MODULE_20_date_fns_start_of_month___default()(viewDate) : _d, _e = _a.viewEnd, viewEnd = _e === void 0 ? __WEBPACK_IMPORTED_MODULE_8_date_fns_end_of_month___default()(viewDate) : _e, weekendDays = _a.weekendDays;\n if (!events) {\n events = [];\n }\n var start = __WEBPACK_IMPORTED_MODULE_21_date_fns_start_of_week___default()(viewStart, { weekStartsOn: weekStartsOn });\n var end = __WEBPACK_IMPORTED_MODULE_9_date_fns_end_of_week___default()(viewEnd, { weekStartsOn: weekStartsOn });\n var eventsInMonth = getEventsInPeriod({\n events: events,\n periodStart: start,\n periodEnd: end\n });\n var initialViewDays = [];\n var previousDate;\n var _loop_3 = function (i) {\n // hacky fix for https://github.com/mattlewis92/angular-calendar/issues/173\n var date;\n if (previousDate) {\n date = __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(__WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours___default()(previousDate, HOURS_IN_DAY));\n if (previousDate.getTime() === date.getTime()) {\n // DST change, so need to add 25 hours\n date = __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(__WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours___default()(previousDate, HOURS_IN_DAY + 1));\n }\n previousDate = date;\n }\n else {\n date = previousDate = start;\n }\n if (!excluded.some(function (e) { return date.getDay() === e; })) {\n var day = getWeekDay({\n date: date,\n weekendDays: weekendDays\n });\n var eventsInPeriod = getEventsInPeriod({\n events: eventsInMonth,\n periodStart: __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(date),\n periodEnd: __WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default()(date)\n });\n day.inMonth = __WEBPACK_IMPORTED_MODULE_13_date_fns_is_same_month___default()(date, viewDate);\n day.events = eventsInPeriod;\n day.badgeTotal = eventsInPeriod.length;\n initialViewDays.push(day);\n }\n };\n for (var i = 0; i < __WEBPACK_IMPORTED_MODULE_4_date_fns_difference_in_days___default()(end, start) + 1; i++) {\n _loop_3(i);\n }\n var days = [];\n var totalDaysVisibleInWeek = DAYS_IN_WEEK - excluded.length;\n if (totalDaysVisibleInWeek < DAYS_IN_WEEK) {\n for (var i = 0; i < initialViewDays.length; i += totalDaysVisibleInWeek) {\n var row = initialViewDays.slice(i, i + totalDaysVisibleInWeek);\n var isRowInMonth = row.some(function (day) { return day.date.getMonth() === viewDate.getMonth(); });\n if (isRowInMonth) {\n days = days.concat(row);\n }\n }\n }\n else {\n days = initialViewDays;\n }\n var rows = Math.floor(days.length / totalDaysVisibleInWeek);\n var rowOffsets = [];\n for (var i = 0; i < rows; i++) {\n rowOffsets.push(i * totalDaysVisibleInWeek);\n }\n return {\n rowOffsets: rowOffsets,\n totalDaysVisibleInWeek: totalDaysVisibleInWeek,\n days: days\n };\n}\nfunction getDayView(_a) {\n var _b = _a.events, events = _b === void 0 ? [] : _b, viewDate = _a.viewDate, hourSegments = _a.hourSegments, dayStart = _a.dayStart, dayEnd = _a.dayEnd, eventWidth = _a.eventWidth, segmentHeight = _a.segmentHeight;\n if (!events) {\n events = [];\n }\n var startOfView = __WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes___default()(__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours___default()(__WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(viewDate), dayStart.hour), dayStart.minute);\n var endOfView = __WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes___default()(__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours___default()(__WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute___default()(__WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default()(viewDate)), dayEnd.hour), dayEnd.minute);\n var previousDayEvents = [];\n var dayViewEvents = getEventsInPeriod({\n events: events.filter(function (event) { return !event.allDay; }),\n periodStart: startOfView,\n periodEnd: endOfView\n })\n .sort(function (eventA, eventB) {\n return eventA.start.valueOf() - eventB.start.valueOf();\n })\n .map(function (event) {\n var eventStart = event.start;\n var eventEnd = event.end || eventStart;\n var startsBeforeDay = eventStart < startOfView;\n var endsAfterDay = eventEnd > endOfView;\n var hourHeightModifier = hourSegments * segmentHeight / MINUTES_IN_HOUR;\n var top = 0;\n if (eventStart > startOfView) {\n top += __WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes___default()(eventStart, startOfView);\n }\n top *= hourHeightModifier;\n var startDate = startsBeforeDay ? startOfView : eventStart;\n var endDate = endsAfterDay ? endOfView : eventEnd;\n var height = __WEBPACK_IMPORTED_MODULE_5_date_fns_difference_in_minutes___default()(endDate, startDate);\n if (!event.end) {\n height = segmentHeight;\n }\n else {\n height *= hourHeightModifier;\n }\n var bottom = top + height;\n var overlappingPreviousEvents = previousDayEvents.filter(function (previousEvent) {\n var previousEventTop = previousEvent.top;\n var previousEventBottom = previousEvent.top + previousEvent.height;\n if (top < previousEventBottom && previousEventBottom < bottom) {\n return true;\n }\n else if (previousEventTop <= top && bottom <= previousEventBottom) {\n return true;\n }\n return false;\n });\n var left = 0;\n while (overlappingPreviousEvents.some(function (previousEvent) { return previousEvent.left === left; })) {\n left += eventWidth;\n }\n var dayEvent = {\n event: event,\n height: height,\n width: eventWidth,\n top: top,\n left: left,\n startsBeforeDay: startsBeforeDay,\n endsAfterDay: endsAfterDay\n };\n if (height > 0) {\n previousDayEvents.push(dayEvent);\n }\n return dayEvent;\n })\n .filter(function (dayEvent) { return dayEvent.height > 0; });\n var width = Math.max.apply(Math, dayViewEvents.map(function (event) { return event.left + event.width; }));\n var allDayEvents = getEventsInPeriod({\n events: events.filter(function (event) { return event.allDay; }),\n periodStart: __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(startOfView),\n periodEnd: __WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default()(endOfView)\n });\n return {\n events: dayViewEvents,\n width: width,\n allDayEvents: allDayEvents\n };\n}\nfunction getDayViewHourGrid(_a) {\n var viewDate = _a.viewDate, hourSegments = _a.hourSegments, dayStart = _a.dayStart, dayEnd = _a.dayEnd;\n var hours = [];\n var startOfView = __WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes___default()(__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours___default()(__WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(viewDate), dayStart.hour), dayStart.minute);\n var endOfView = __WEBPACK_IMPORTED_MODULE_17_date_fns_set_minutes___default()(__WEBPACK_IMPORTED_MODULE_16_date_fns_set_hours___default()(__WEBPACK_IMPORTED_MODULE_19_date_fns_start_of_minute___default()(__WEBPACK_IMPORTED_MODULE_7_date_fns_end_of_day___default()(viewDate)), dayEnd.hour), dayEnd.minute);\n var segmentDuration = MINUTES_IN_HOUR / hourSegments;\n var startOfViewDay = __WEBPACK_IMPORTED_MODULE_18_date_fns_start_of_day___default()(viewDate);\n for (var i = 0; i < HOURS_IN_DAY; i++) {\n var segments = [];\n for (var j = 0; j < hourSegments; j++) {\n var date = __WEBPACK_IMPORTED_MODULE_2_date_fns_add_minutes___default()(__WEBPACK_IMPORTED_MODULE_1_date_fns_add_hours___default()(startOfViewDay, i), j * segmentDuration);\n if (date >= startOfView && date < endOfView) {\n segments.push({\n date: date,\n isStart: j === 0\n });\n }\n }\n if (segments.length > 0) {\n hours.push({ segments: segments });\n }\n }\n return hours;\n}\nvar EventValidationErrorMessage = {\n NotArray: 'Events must be an array',\n StartPropertyMissing: 'Event is missing the `start` property',\n StartPropertyNotDate: 'Event `start` property should be a javascript date object. Do `new Date(event.start)` to fix it.',\n EndPropertyNotDate: 'Event `end` property should be a javascript date object. Do `new Date(event.end)` to fix it.',\n EndsBeforeStart: 'Event `start` property occurs after the `end`'\n};\nfunction validateEvents(events, log) {\n var isValid = true;\n function isError(msg, event) {\n log(msg, event);\n isValid = false;\n }\n if (!Array.isArray(events)) {\n log(EventValidationErrorMessage.NotArray, events);\n return false;\n }\n events.forEach(function (event) {\n if (!event.start) {\n isError(EventValidationErrorMessage.StartPropertyMissing, event);\n }\n else if (!__WEBPACK_IMPORTED_MODULE_11_date_fns_is_date___default()(event.start)) {\n isError(EventValidationErrorMessage.StartPropertyNotDate, event);\n }\n if (event.end) {\n if (!__WEBPACK_IMPORTED_MODULE_11_date_fns_is_date___default()(event.end)) {\n isError(EventValidationErrorMessage.EndPropertyNotDate, event);\n }\n if (event.start > event.end) {\n isError(EventValidationErrorMessage.EndsBeforeStart, event);\n }\n }\n });\n return isValid;\n}\n//# sourceMappingURL=calendar-utils.js.map\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\n/**\n * @category Common Helpers\n * @summary Is the given argument an instance of Date?\n *\n * @description\n * Is the given argument an instance of Date?\n *\n * @param {*} argument - the argument to check\n * @returns {Boolean} the given argument is an instance of Date\n *\n * @example\n * // Is 'mayonnaise' a Date?\n * var result = isDate('mayonnaise')\n * //=> false\n */\nfunction isDate (argument) {\n return argument instanceof Date\n}\n\nmodule.exports = isDate\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar parse = __webpack_require__(1)\n\n/**\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * var result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\nfunction differenceInMilliseconds (dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n return dateLeft.getTime() - dateRight.getTime()\n}\n\nmodule.exports = differenceInMilliseconds\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n__webpack_require__(8);\n\nvar angular = __webpack_require__(0);\n\nfunction requireAll(r) {\n r.keys().forEach(r);\n}\n\nvar templates = {};\n\nif (true) {\n\n var templatesContext = __webpack_require__(9);\n\n templatesContext.keys().forEach(function(templateName) {\n var templateNameWithoutPrefix = templateName.replace('./', '');\n var cacheTemplateName = 'mwl/' + templateNameWithoutPrefix;\n var configTemplateName = templateNameWithoutPrefix.replace('.html', '');\n templates[configTemplateName] = {\n cacheTemplateName: cacheTemplateName,\n template: templatesContext(templateName)\n };\n });\n\n}\n\nmodule.exports = angular\n .module('mwl.calendar', [])\n .config([\"calendarConfig\", function(calendarConfig) {\n angular.forEach(templates, function(template, templateName) {\n if (!calendarConfig.templates[templateName]) {\n calendarConfig.templates[templateName] = template.cacheTemplateName;\n }\n });\n }])\n .run([\"$templateCache\", \"$interpolate\", function($templateCache, $interpolate) {\n\n angular.forEach(templates, function(template) {\n if (!$templateCache.get(template.cacheTemplateName)) {\n var templateContents = template.template\n .replace('{{', $interpolate.startSymbol())\n .replace('}}', $interpolate.endSymbol());\n $templateCache.put(template.cacheTemplateName, templateContents);\n }\n });\n\n }]).name;\n\nrequireAll(__webpack_require__(19));\nrequireAll(__webpack_require__(58));\nrequireAll(__webpack_require__(63));\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar map = {\n\t\"./calendar.html\": 10,\n\t\"./calendarDayView.html\": 11,\n\t\"./calendarHourList.html\": 12,\n\t\"./calendarMonthCell.html\": 13,\n\t\"./calendarMonthCellEvents.html\": 14,\n\t\"./calendarMonthView.html\": 15,\n\t\"./calendarSlideBox.html\": 16,\n\t\"./calendarWeekView.html\": 17,\n\t\"./calendarYearView.html\": 18\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number or string\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 9;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\nmodule.exports = \"