{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///tui-calendar.min.js","webpack:///webpack/bootstrap 5528c9c89d4ef7b64104","webpack:///./src/index.js","webpack:///external {\"commonjs\":\"tui-code-snippet\",\"commonjs2\":\"tui-code-snippet\",\"amd\":\"tui-code-snippet\",\"root\":[\"tui\",\"util\"]}","webpack:///./src/js/common/domutil.js","webpack:///./src/js/config.js","webpack:///./src/js/common/datetime.js","webpack:///./src/js/common/timezone.js","webpack:///./src/js/common/common.js","webpack:///./~/handlebars/runtime.js","webpack:///./src/js/view/view.js","webpack:///./src/js/common/domevent.js","webpack:///./~/handlebars/dist/cjs/handlebars/utils.js","webpack:///./src/js/common/collection.js","webpack:///./src/js/common/reqAnimFrame.js","webpack:///./~/handlebars/dist/cjs/handlebars/exception.js","webpack:///./src/js/common/array.js","webpack:///./src/js/common/dw.js","webpack:///./src/js/common/floatingLayer.js","webpack:///./src/js/handler/allday/core.js","webpack:///./src/js/handler/month/core.js","webpack:///./src/js/handler/time/core.js","webpack:///./src/js/model/schedule.js","webpack:///./~/handlebars-template-loader/runtime/index.js","webpack:///./~/handlebars/dist/cjs/handlebars/base.js","webpack:///./src/js/common/point.js","webpack:///./src/js/common/vlayout.js","webpack:///./src/js/handler/allday/move.js","webpack:///./src/js/handler/drag.js","webpack:///./src/js/handler/month/guide.js","webpack:///./src/js/model/viewModel/scheduleViewModel.js","webpack:///./src/js/view/weekday.js","webpack:///./src/js/handler/month/guide.hbs","webpack:///./src/js/handler/month/moveGuide.hbs","webpack:///./src/js/view/month/month.hbs","webpack:///./src/js/view/month/more.hbs","webpack:///./src/js/view/month/weekdayInMonth.hbs","webpack:///./src/js/view/month/weekdayInMonthSchedule.hbs","webpack:///./src/js/view/template/week/allday.hbs","webpack:///./src/js/view/template/week/daynames.hbs","webpack:///./src/js/view/template/week/milestone.hbs","webpack:///./src/js/view/template/week/taskview.hbs","webpack:///./src/js/view/template/week/time.hbs","webpack:///./src/js/view/template/week/timeGrid.hbs","webpack:///./src/js/view/template/week/timeMoveGuide.hbs","webpack:///./src/js/view/week/weekdayInWeek.hbs","webpack:///./~/handlebars/dist/cjs/handlebars.runtime.js","webpack:///./~/handlebars/dist/cjs/handlebars/decorators.js","webpack:///./~/handlebars/dist/cjs/handlebars/decorators/inline.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/each.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/helper-missing.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/if.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/log.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/lookup.js","webpack:///./~/handlebars/dist/cjs/handlebars/helpers/with.js","webpack:///./~/handlebars/dist/cjs/handlebars/logger.js","webpack:///./~/handlebars/dist/cjs/handlebars/no-conflict.js","webpack:///./~/handlebars/dist/cjs/handlebars/runtime.js","webpack:///./~/handlebars/dist/cjs/handlebars/safe-string.js","webpack:///./src/js/common/autoScroll.js","webpack:///./src/js/common/dirty.js","webpack:///./src/js/common/model.js","webpack:///./src/js/common/vpanel.js","webpack:///./src/js/controller/base.js","webpack:///./src/js/controller/viewMixin/core.js","webpack:///./src/js/controller/viewMixin/month.js","webpack:///./src/js/controller/viewMixin/week.js","webpack:///./src/js/factory/calendar.js","webpack:///./src/js/factory/controller.js","webpack:///./src/js/factory/monthView.js","webpack:///./src/js/factory/weekView.js","webpack:///./src/js/handler/allday/click.js","webpack:///./src/js/handler/allday/creation.js","webpack:///./src/js/handler/allday/creationGuide.js","webpack:///./src/js/handler/allday/moveGuide.js","webpack:///./src/js/handler/allday/resize.js","webpack:///./src/js/handler/allday/resizeGuide.js","webpack:///./src/js/handler/milestone/click.js","webpack:///./src/js/handler/month/click.js","webpack:///./src/js/handler/month/creation.js","webpack:///./src/js/handler/month/creationGuide.js","webpack:///./src/js/handler/month/move.js","webpack:///./src/js/handler/month/moveGuide.js","webpack:///./src/js/handler/month/resize.js","webpack:///./src/js/handler/month/resizeGuide.js","webpack:///./src/js/handler/task/click.js","webpack:///./src/js/handler/time/click.js","webpack:///./src/js/handler/time/clickDayname.js","webpack:///./src/js/handler/time/creation.js","webpack:///./src/js/handler/time/creationGuide.js","webpack:///./src/js/handler/time/move.js","webpack:///./src/js/handler/time/moveGuide.js","webpack:///./src/js/handler/time/resize.js","webpack:///./src/js/handler/time/resizeGuide.js","webpack:///./src/js/view/layout.js","webpack:///./src/js/view/month/month.js","webpack:///./src/js/view/month/more.js","webpack:///./src/js/view/month/weekdayInMonth.js","webpack:///./src/js/view/template/helper.js","webpack:///./src/js/view/week/allday.js","webpack:///./src/js/view/week/dayname.js","webpack:///./src/js/view/week/milestone.js","webpack:///./src/js/view/week/taskview.js","webpack:///./src/js/view/week/time.js","webpack:///./src/js/view/week/timeGrid.js","webpack:///./src/js/view/week/week.js","webpack:///./src/js/view/week/weekdayInWeek.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_1__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","trim","str","replace","domutil","domevent","Collection","util","posKey","CSS_AUTO_REGEX","appendHTMLElement","tagName","container","className","el","document","createElement","appendChild","body","remove","parentNode","removeChild","get","getElementById","_matcher","selector","cssClassSelector","idSelector","test","hasClass","nodeName","toLowerCase","find","multiple","recurse","cursor","childNodes","i","len","length","isFilter","result","push","isFirst","found","isUndefined","isFunction","isString","window","closest","parent","text","ret","nodeType","textContent","firstChild","nextSibling","nodeValue","setData","key","data","dataset","setAttribute","getData","getAttribute","name","classList","getClass","RegExp","contains","addClass","setClass","forEachArray","split","value","add","baseVal","removeClass","removed","getStyle","style","css","currentStyle","defaultView","getComputedStyle","getPropertyValue","prop","re","arguments","toUpperCase","setPosition","x","y","left","isNumber","top","setLTRB","ltrb","props","forEach","getPosition","clear","bound","getBoundingClientRect","parseFloat","getSize","width","height","isNull","offsetWidth","offsetHeight","getBCRect","rect","extend","testProp","documentElement","getFormData","formElement","groupedByName","noDisabledFilter","disabled","output","apply","concat","groupBy","elements","each","type","checked","toArray","pop","opt","selected","map","userSelectProperty","supportSelectStart","prevSelectStyle","disableTextSelection","dom","on","preventDefault","enableTextSelection","off","disableImageDrag","enableImageDrag","cssPrefix","alldayGetViewID","alldayCheckPermission","timeGetViewID","config","throwError","msg","alert","classname","charAt","slice","allday","getViewIDRegExp","checkCondRegExp","time","global","datetime","tokenFunc","TZDate","Date","dw","dateFormatRx","memo","millisecondsTo","millisecondsFrom","YYYYMMDD","date","getFullYear","leadingZero","getMonth","getDate","join","YYYY","String","MM","DD","HH:mm","hour","getHours","minutes","getMinutes","MILLISECONDS_PER_DAY","MILLISECONDS_PER_HOUR","MILLISECONDS_PER_MINUTES","_convMilliseconds","iteratee","conv","index","day","seconds","isNaN","reduce","cache","v","range","start","end","step","getTime","endTime","clone","compare","d1","d2","_d1","_d2","isSameMonth","isSameDate","sameMonth","isValid","d","toUTC","l","offset","getTimezoneOffset","number","zero","parse","fixMonth","separator","ymd","hms","matches","match","indexOf","splice","substr","Number","raw","M","h","s","getSeconds","ms","getMilliseconds","setHours","format","forEachOwnProperties","converter","token","startDateOfMonth","startDate","setDate","endDateOfMonth","endDate","setMonth","arr2dCalendar","month","options","weekArr","startIndex","endIndex","totalDate","afterDates","week","calendar","startDayOfWeek","isAlways6Week","visibleWeeksCount","workweek","addDate","inArray","getDay","isWeekend","getGridLeftAndWidth","days","narrowWeekend","limitDaysToApplyNarrowWeekend","uniformWidth","wideWidth","accumulatedWidth","dates","filter","model","createDateWithMultipleArgs","args","UTC","SYSTEM_OFFSET_MS","createDateWithSingleArg","arg","Error","customOffsetMs","now","_date","MIN_TO_MS","getterMethods","setterMethods","prototype","setTime","valueOf","methodName","setOffset","restoreOffset","scheduleIDGetter","schedule","cid","aps","Array","createScheduleCollection","initItems","collection","ratio","a","b","nearest","diff","Math","abs","nearestIndex","min","pick2","obj","paths","pick","val","then","fn","mixin","from","to","limit","minArr","maxArr","max","stripTags","firstIn2dArray","arr2d","lastIn2dArray","lastRow","lastCol","setAutoEllipsis","scrollWidth","View","stamp","cssprefix","children","view","addChild","items","render","childView","recursive","skipThis","resize","_onResize","_beforeDestroy","_destroy","innerHTML","destroy","isChildView","getViewBound","position","size","CustomEvents","browser","eventKey","DRAG","START","END","mousedown","touchstart","pointerdown","MSPointerDown","MOVE","types","context","_on","handler","originHandler","e","event","_checkMouse","addEventListener","attachEvent","_off","removeEventListener","detachEvent","keys","msie","version","once","onceHandler","self","isObject","stopPropagation","cancelBubble","returnValue","stop","disableScrollPropagation","disableClickPropagation","getMousePosition","mouseEvent","relativeElement","clientX","clientLeft","clientY","clientTop","getWheelDelta","delta","wheelDelta","detail","related","relatedTarget","err","trigger","eventData","rMouseEvent","exec","dispatchEvent","fireEvent","eventObj","evt","bubbles","cancelable","screenX","screenY","ctrlKey","altKey","shiftKey","metaKey","button","undefined","createEvent","initMouseEvent","createEventObject","propName","0","1","2","getMouseButton","primary","secondary","wheel","implementation","hasFeature","escapeChar","chr","escape","Object","hasOwnProperty","array","escapeExpression","string","toHTML","possible","badChars","isEmpty","isArray","createFrame","object","frame","_parent","blockParams","params","ids","path","appendContextPath","contextPath","__esModule","&","<",">","\"","'","`","=","toString","getItemIDFn","isFunc","getItemID","forEachProp","forEachArr","isObj","and","filters","cnt","item","or","merge","collections","cols","newItems","merged","col","_id","ownItems","o","itemToRemove","has","isExisty","doWhenHas","groupFunc","baseValue","keyIsFunc","k","single","useFilter","sort","compareFunction","arr","getPrefixed","requestFn","cancelFn","requestAnimationFrame","cancelAnimationFrame","requestAnimFrame","bind","cancelAnimFrame","Exception","message","node","loc","line","column","tmp","constructor","idx","errorProps","captureStackTrace","lineNumber","defineProperty","enumerable","nop","bsearch","search","currentIndex","comp","minIndex","maxIndex","stringASC","booleanASC","booleanDESC","numberASC","_a","_b","numberDESC","stringDESC","stringASCIgnoreCase","stringDESCIgnoreCase","scheduleASC","durationA","durationB","allDayCompare","startsCompare","modelA","modelB","isAllDay","hasMultiDates","getStarts","duration","asc","bool","desc","num","ascIgnoreCase","descIgnoreCase","DW","safe","addMonth","prevMonth","prevYear","isBetween","FloatingLayer","layerContainer","sibling","PROP_KEY","zIndex","getLargestZIndex","INIT_ZINDEX","display","inherit","isVisible","setSize","w","setContent","html","zIndexes","layer","focus","zIndexForShow","show","hide","getX","grids","grid","common","mmax","mmin","alldayCore","_retriveScheduleData","alldayView","datesInRange","containerWidth","mousePos","dragStartXIndex","weekdayView","getRenderDateRange","getRenderDateGrids","pos","mouseX","xIndex","relatedView","triggerEvent","getMousePosDate","monthView","relativeContainer","mfloor","weekCount","weeks","sizeX","dayCount","sizeY","weekColl","vLayout","panels","floor","Point","timeCore","_calcGridYIndex","baseMil","floored","timeView","viewHeight","viewTime","hourLength","hourEnd","hourStart","mouseY","n","gridY","timeY","nearestGridY","nearestGridTimeY","target","srcElement","originEvent","proto","method","Schedule","title","color","bgColor","borderColor","calendarId","category","dueDateClass","customStyle","isPending","isFocused","isReadOnly","dirty","SCHEDULE_CATEGORY","MILESTONE","TASK","ALLDAY","TIME","schema","required","dateRange","create","inst","init","setAllDayPeriod","setTimePeriod","substring","setMinutes","getEnds","equals","collidesWith","ownStarts","ownEnds","_interopRequireDefault","default","HandlebarsEnvironment","helpers","partials","decorators","_helpers","registerDefaultHelpers","_decorators","registerDefaultDecorators","_utils","_exception","_exception2","_logger","_logger2","VERSION","COMPILER_REVISION","REVISION_CHANGES","3","4","5","6","7","objectType","logger","log","registerHelper","unregisterHelper","registerPartial","partial","unregisterPartial","registerDecorator","unregisterDecorator","useRound","round","getRatio","point","factor","toFactor","multiplyBy","_divideBy","_add","subtract","_subtract","divideBy","_multiplyBy","_round","reverse","_reverse","_floor","ceil","_ceil","rotate","deg","center","cos","sin","_rotate","rad","PI","toFixed","distanceTo","sqrt","VLayout","tempHeights","panelHeights","_drag","Drag","distance","exclude","dragStart","_onDragStart","drag","_onDrag","dragEnd","_onDragEnd","_dragData","panelOpt","isSplitter","autoHeight","shift","addPanels","refresh","VPanel","mAbs","getLayoutData","heightList","panel","getHeight","setLayoutData","setHeight","nextPanel","prevPanel","_initializeGuideElement","element","cloned","cloneNode","_refreshGuideElement","_clearGuideElement","_resize","splPanel","startY","resizeInfo","diffY","resizedHeight","resizeMap","toDown","backwardMethod","forwardMethod","getResizeInfoByGrowth","pair","_getMouseYAdditionalLimit","upper","below","func","minHeight","oEvent","splIndex","splHeight","splOffsetY","guideElement","minY","maxY","dragData","asideMinMax","fire","layoutData","remainHeight","panelToFillHeight","layoutHeight","usedHeight","addPanel","frag","createDocumentFragment","option","AlldayMove","dragHandler","baseController","_dragStart","guide","AlldayMoveGuide","AlldayCore","checkExpectedCondition","parentView","cssClass","dragStartEventData","scheduleBlockElement","modelID","targetModel","getScheduleDataFunc","scheduleData","controller","schedules","click","_onClick","dragEventData","_updateSchedule","dateOffset","newStarts","newEnds","dragEndEventData","overrideEventName","skipUpdate","clickEventData","_onMouseDown","_cancelled","_isMoved","_distance","_dragStartFired","_dragStartEventData","_clearData","_toggleDragEvent","toBind","domMethod","mousemove","_onMouseMove","mouseup","_onMouseUp","_getEventData","mouseDownEvent","mouseMoveEvent","invoke","mouseUpEvent","MonthGuide","label","isResizeMode","isCreationMode","startCoord","guideElements","tmpl","mabs","clearGuideElement","_getRatioValueInWeek","_createGuideElement","_getGuideElement","_getCoordByDate","getIdxFromDiff","monthStart","renderStartDate","isBefore","dateDW","startDW","endDW","_getLimitedCoord","coord","toIndex","dragStartEvent","temp","parseInt","update","_updateGuides","inds","ind","exceedLClass","exceedRClass","exceedL","exceedR","_getOriginIndicate","mouseCoord","right","_getMouseIndicate","_getContainIndicate","_removeGuideElements","yCoords","guides","_getExcludesInRange","numbers","excludes","limitedCoord","renderedYIndex","yCoordsToUpdate","yCoordsToRemove","renderIndication","guideYCoord","indicate","ScheduleViewModel","hasCollide","extraSpace","hidden","renderStarts","exceedLeft","renderEnds","exceedRight","viewModel","Weekday","containerHeight","containerBottomGutter","scheduleHeight","scheduleGutter","_cacheParentViewModel","getBaseViewModel","today","gridWidth","exceedDate","scheduleBlockHeight","scheduleBlockGutter","isToday","hiddenSchedules","Handlebars","template","depth0","helper","CSS_PREFIX","helperMissing","nullContext","hash","stack1","alias1","alias2","alias3","alias4","unless","program","inverse","noop","compiler","main","useData","lambda","holiday","daynames","fi","alias5","8","10","12","14","isOtherMonth","renderLimitIdx","gridHeaderHeight","11","13","15","17","19","20","22","24","26","matrices","renderDate","morning","lunch","evening","cropped","9","hours","hourmarkerTop","hourmarkerText","todaymarkerLeft","hoursLabels","showHourMarker","multiply","16","18","scheduleContainerTop","contentHeight","_interopRequireWildcard","newObj","hb","base","Utils","SafeString","_handlebarsSafeString2","_handlebarsException2","VM","runtime","spec","_handlebarsBase","_handlebarsSafeString","_handlebarsException","_handlebarsUtils","_handlebarsRuntime","_handlebarsNoConflict","_handlebarsNoConflict2","instance","_decoratorsInline2","_decoratorsInline","original","_helpersBlockHelperMissing2","_helpersEach2","_helpersHelperMissing2","_helpersIf2","_helpersLog2","_helpersLookup2","_helpersWith2","_helpersBlockHelperMissing","_helpersEach","_helpersHelperMissing","_helpersIf","_helpersLog","_helpersLookup","_helpersWith","execIteration","field","last","first","j","priorKey","conditional","includeZero","level","methodMap","lookupLevel","levelMap","console","_len","_key","$Handlebars","noConflict","checkRevision","compilerInfo","compilerRevision","currentRevision","_base","runtimeVersions","compilerVersions","templateSpec","env","invokePartialWrapper","resolvePartial","invokePartial","compile","compilerOptions","indent","lines","depths","_setup","initData","useBlockParams","useDepths","executeDecorators","decorator","main_d","strict","lookup","current","programs","declaredBlockParams","programWrapper","wrapProgram","depth","param","seal","isTop","usePartial","useDecorators","_child","prog","currentDepths","currentPartialBlock","partialBlock","Function","AutoScroll","_direction","DIRECTION","INSIDE","_offset","_intervalID","SCROLL_INTERVAL","SCROLL_MAX","SCROLL_CLICK_INCREASED","TOP","RIGHT","BOTTOM","LEFT","clearInterval","_getEdgePositions","clientRect","bottom","getRealSize","border","padding","computed","clientWidth","clientHeight","hasScrollbar","realSize","isOnScrollbar","mouseInScrollbar","setInterval","_onTick","edge","direction","scrollTop","scrollLeft","existy","set","originValue","_changed","_dirty","isDirty","toDirty","deleteProp","isPropChanged","methodFilterR","wrap","flag","_flag","_name","_wrapper","_fn","flagToSet","_wrapped","spaceRx","validators","fields","valid","fieldName","validator","values","validatorName","parameterize","maxHeight","isHeightForcedSet","_initPanel","newHeight","force","growth","resizeTo","Base","dateMatrix","_getContainDatesInSchedule","createSchedule","silent","addSchedule","createSchedules","dataList","updateSchedule","origin","_removeFromMatrix","_addToMatrix","deleteSchedule","ownMatrix","containDates","matrix","splitScheduleByDateRange","scheduleCollection","findByDateRange","viewModels","ownSchedules","dformat","clearSchedules","Core","getCollisionGroup","previousScheduleList","collisionGroups","foundPrevCollisionSchedule","previous","group","getLastRowInColumn","row","getMatrices","scheduleID","nextRow","lastRowInColumn","getScheduleInDateRangeFilter","positionViewModels","ymdListToRender","dateLength","limitRenderRange","viewModelColl","convertToViewModel","modelColl","Month","_onlyTimeFilter","_onlyAlldayFilter","_weightTopValue","_adjustRenderRange","vColl","ctrlCore","_getAlldayMaxTopIndexAtYMD","vAlldayColl","topIndexesInDate","_adjustTimeTopIndex","ctrlMonth","getAlldayMaxTopIndexAtYMD","sortedTimeSchedules","maxIndexInYMD","timeViewModel","scheduleYMD","alldayMaxTopInYMD","_addMultiDatesInfo","andFilters","coll","vList","collisionGroup","Week","generateTimeArrayInRow","maxColLen","startStart","startEnd","endStart","endEnd","getFunc","block","getCollides","binaryMap","maxRowLength","startTime","getViewModelForTimeView","ymdSplitted","getViewModelForAlldayView","ctrlWeek","Calendar","querySelector","calendarColor","taskView","defaultDate","scheduleFilter","Boolean","renderRange","createController","layout","Layout","viewName","prevViewName","refreshMethod","scrollToNowMethod","initialize","controllerFactory","weekViewFactory","monthViewFactory","timezone","createWeekView","createMonthView","toggleView","calColor","getSchedule","ctrl","setOptionRecurseively","getWeekDayRange","msFrom","isDate","weekday","_toggleSchedulesByCalendarID","toHide","scrollToNow","refreshChildView","_setViewName","move","tempDate","datetimeOptions","getCurrentView","recursiveSet","renderMonth","renderEndDate","next","prev","setCalendarColor","ownColor","showSchedulesByCalendarID","hideSchedulesByCalendarID","clickScheduleData","_onClickDayname","_onBeforeCreate","createScheduleData","_onBeforeUpdate","updateScheduleData","_onResizePanel","resizeScheduleData","_toggleViewSchedule","isAttach","isMonthView","clickHandler","dayname","creation","creationHandler","moveHandler","resizeHandler","newViewName","created","toggleTaskView","enabled","getElement","scheduleId","setTimezoneOffset","propertyName","ymdRange","originQuery","groupedByYMD","tasks","_obj","getViewModelForMoreLayer","layoutContainer","monthViewContainer","moreView","clearSchedulesHandler","onUpdateSchedule","More","MonthClick","MonthCreation","MonthResize","MonthMove","clickMoreSchedule","DayName","TimeGrid","Allday","Milestone","TaskView","AlldayClick","AlldayCreation","AlldayResize","DayNameClick","TimeClick","TimeCreation","TimeMove","TimeResize","MilestoneClick","TaskClick","weekView","dayNameContainer","dayNameView","vLayoutContainer","milestoneView","timeGridView","milestoneClickHandler","taskClickHandler","alldayClickHandler","alldayCreationHandler","alldayMoveHandler","alldayResizeHandler","timeClickHandler","timeCreationHandler","timeMoveHandler","timeResizeHandler","daynameClickHandler","milestone","task","weekViewHeight","daynameViewHeight","checkExpectCondition","clickEvent","blockElement","AlldayCreationGuide","_requestOnClick","_onDblClick","CLICK_DELAY","_createSchedule","startXIndex","triggerEventName","setTimeout","alldayCreation","scheduleContainer","initializeGuideElement","alldayCreationDragstart","alldayCreationDrag","alldayCreationClick","reqAnimFrame","_getGuideWidth","dragStartIndex","dragEndIndex","defer","setStyle","leftPercent","widthPercent","dragEndXIndex","alldayContainerElement","alldayMove","_dragStartXIndex","alldayMoveDragstart","alldayMoveDrag","alldayMoveDragend","alldayMoveClick","_hideOriginScheduleBlocks","scheduleBlocks","_showOriginScheduleBlocks","_highlightScheduleBlocks","margin","backgroundColor","borderLeftColor","refreshGuideElement","isExceededLeft","isExceededRight","_getScheduleBlockDataFunc","baseWidthPercent","originScheduleStarts","originScheduleEnds","fromLeft","fromRight","indexOffset","alldayViewContainer","originLength","newLeft","newWidth","AlldayResizeGuide","alldayResize","alldayResizeDragstart","alldayResizeDrag","alldayResizeDragend","alldayResizeClick","getGuideElementWidthFunc","viewOptions","newLength","moreElement","getScheduleData","_cache","Guide","isElementWeekdayGrid","dragEvent","dragEndEvent","times","adjustStartAndEndTime","_adjustStartAndEndTime","MonthCreationGuide","monthCreation","monthCreationDragstart","monthCreationDrag","monthCreationDragend","monthCreationClick","MonthMoveGuide","getMousePosData","scheduleCache","startDateRaw","dragEndTime","newStartDate","getMonthScheduleBlock","blockSelector","getMoreLayerScheduleBlock","hasPermissionToHandle","monthMove","monthMoveDragstart","monthMoveDrag","monthMoveDragend","_clearGridBgColor","_getHighlightColorModel","beforeGridElement","_updateGridBgColor","gridElements","targetIndex","firstWeekdayView","weekdayOptions","MonthResizeGuide","newEnd","monthResize","monthResizeDragstart","monthResizeDrag","monthResizeDragend","_hideScheduleBlocks","_showScheduleBlocks","schedulesCollection","daynameView","TimeCreationGuide","_getScheduleDataFunc","revise","baseDate","dateStart","dateEnd","createRange","reviseFunc","condResult","timeCreation","guideTimeElement","_styleUnit","_styleStart","_styleFunc","timeCreationDragstart","timeCreationDrag","timeCreationClick","MIN30","timeElement","bottomLabel","_getUnitData","viewOpt","todayStart","todayEnd","_limitStyleData","unitData","_getStyleDataFunc","getStyleData","gridTimeY","styleFunc","styleData","heightOfHalfHour","endStyle","startStyle","_guide","TimeMoveGuide","_getTimeView","targetModelID","currentView","scheduleDuration","nearestRange","timeDiff","dateDiff","timeMove","_guideLayer","_model","_lastDrag","_container","_getTopFunc","_startGridY","_startTopPixel","timeMoveDragstart","timeMoveDrag","timeMoveDragend","timeMoveClick","_resetGuideLayer","bottomLimit","guideHeight","gridYOffset","gridYOffsetPixel","TimeResizeGuide","startScheduleData","timeResize","_originScheduleElement","_startHeightPixel","timeResizeDragstart","timeResizeDrag","timeResizeDragend","timeResizeClick","originElement","guideTop","toggleChildView","prefix","header","footer","WeekdayInMonth","_getMonthCalendar","renderMonthStr","_renderChildren","heightPercent","visibleScheduleCount","gridOption","weekdayViewContainer","daynameViewModel","baseViewModel","daynameModel","eventsInDateRange","_viewModel","moreLayerSize","OUT_PADDING","moreLayer","_getRenderPosition","weekItem","containerSize","optMoreLayerSize","parentElement","lastElementChild","debounce","setIsOtherMonthFlag","dateObj","baseTmpl","scheduleTmpl","_getRenderLimitIndex","count","gridFooterHeight","getExceedDate","contentStr","maxCount","period","getElSize","postfix","getElLeft","getElWidth","equal","oper","hhmm","common-width","grid-left","grid-width","time-scheduleBlock","month-scheduleBlock","blockHeight","paddingTop","divide","milestone-tmpl","milestoneTitle-tmpl","task-tmpl","taskTitle-tmpl","alldayTitle-tmpl","allday-tmpl","time-tmpl","monthMoreTitleDate-tmpl","monthMoreClose-tmpl","monthGridHeader-tmpl","monthGridHeaderExceed-tmpl","monthGridFooter-tmpl","monthGridFooterExceed-tmpl","weekDayname-tmpl","dayName","monthDayname-tmpl","getViewModelFunc","schedulesInDateRange","WeekdayInWeek","weekdayViewModel","daynameTmpl","_getBaseViewModel","ITEM_HEIGHT","LIST_PADDING_TOP","viewModelSchedules","g","subcount","Time","pending","defaultMarginBottom","timeTmpl","_parseDateGroup","getScheduleViewBound","offsetStart","baseMS","baseHeight","baseWidth","baseLeft","columnIndex","leftPercents","viewBound","getHoursLabels","hasHourMarker","nowMinutes","nowHours","hoursRange","nowAroundHours","safari","_autoScroll","intervalID","timerID","_scrolled","mainTmpl","HOURMARKER_REFRESH_INTERVAL","SIXTY_SECONDS","clearTimeout","hourmarker","_getTopPercentByTime","topPercent","maxMilliseconds","hmsMilliseconds","_getHourmarkerViewModel","currentHours","childOption","child","scheduleLen","_hourLabels","refreshHourmarker","todaymarker","onTick","offsetTop","scrollAmount","scrollBy","scrollFn","parseRangeDateString","dateString","_getRenderDateRange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AjU,GAAAwjB,QAAAqhC,EAAA5rB,GAMA4rB,EAAAhzC,UAAAoD,OAAA,SAAA+jB,GACA,GAAApxB,GAAA9I,KAAAwQ,QACAjP,EAAAvB,KAAAuB,UACA8gD,EAAAriD,KAAAy6B,iBAAAP,GACAwvB,EAAA,CAEArH,GAAA3kB,SAAA50B,EAAA+8C,iBAAA3rB,GAEAwvB,EAAAhkC,EAAArd,MACA,KACAnH,EAAA8H,IAAAq5C,EAAA3kB,SAAA,SAAAoM,GACA,MAAA51B,MAAAiB,IAAA9M,MAAA,KAAAnH,EAAA8H,IAAA8gC,EAAA,SAAAgB,GACA,MAAAA,GAAA5nC,aAKAm/C,EAAAnwB,UAAAlyB,KAAA2pD,cAAAD,GACArH,EAAA3jB,qBAAA1+B,KAAAwQ,QAAAkuB,qBAEAn9B,EAAAoV,UAAAigB,EAAAyrB,GAEAriD,KAAA4yB,KAAA,cAAAyvB,IAQA0D,EAAAhzC,UAAA42C,cAAA,SAAAD,GACA,GAAA5gD,GAAA9I,KAAAwQ,OAEA,OACAk5C,GAAA5gD,EAAAwxB,gBACAovB,EAAA,GAAA5gD,EAAAyxB,eACAzxB,EAAAuxB,uBAIAz6B,EAAAD,QAAAomD","file":"tui-calendar.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"tui-code-snippet\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"tui-code-snippet\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Calendar\"] = factory(require(\"tui-code-snippet\"));\n\telse\n\t\troot[\"tui\"] = root[\"tui\"] || {}, root[\"tui\"][\"Calendar\"] = factory(root[\"tui\"][\"util\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","/*!\n * tui-calendar.min\n * @version 0.6.5 | Thu Mar 08 2018\n * @author NHNEnt FE Development Lab \n * @license undefined\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"tui-code-snippet\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"tui-code-snippet\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Calendar\"] = factory(require(\"tui-code-snippet\"));\n\telse\n\t\troot[\"tui\"] = root[\"tui\"] || {}, root[\"tui\"][\"Calendar\"] = factory((root[\"tui\"] && root[\"tui\"][\"util\"]));\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) {\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/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview The entry file of fullcalendar\n\t * @author NHN Ent. FE Development Team\n\t */\n\t\n\t'use strict';\n\t\n\t__webpack_require__(30);\n\t__webpack_require__(99);\n\t\n\tmodule.exports = __webpack_require__(68);\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* eslint complexity: 0, no-shadow: 0, max-nested-callbacks: 0 */\n\t/**\n\t * @fileoverview Utility modules for manipulate DOM elements.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar domevent = __webpack_require__(9);\n\tvar Collection = __webpack_require__(11);\n\tvar util = __webpack_require__(1);\n\t\n\tvar posKey = '_pos',\n\t domutil;\n\t\n\tvar CSS_AUTO_REGEX = /^auto$|^$|%/;\n\t\n\t/**\n\t * Trim leading, trailing whitespace\n\t * @param {string} str - string to trim\n\t * @returns {string} trimmed string\n\t */\n\tfunction trim(str) {\n\t return str.replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n\t}\n\t\n\tdomutil = {\n\t /**\n\t * Create DOM element and return it.\n\t * @param {string} tagName Tag name to append.\n\t * @param {HTMLElement} [container] HTML element will be parent to created element.\n\t * if not supplied, will use **document.body**\n\t * @param {string} [className] Design class names to appling created element.\n\t * @returns {HTMLElement} HTML element created.\n\t */\n\t appendHTMLElement: function(tagName, container, className) {\n\t var el;\n\t\n\t className = className || '';\n\t\n\t el = document.createElement(tagName);\n\t el.className = className;\n\t\n\t if (container) {\n\t container.appendChild(el);\n\t } else {\n\t document.body.appendChild(el);\n\t }\n\t\n\t return el;\n\t },\n\t\n\t /**\n\t * Remove element from parent node.\n\t * @param {HTMLElement} el - element to remove.\n\t */\n\t remove: function(el) {\n\t if (el && el.parentNode) {\n\t el.parentNode.removeChild(el);\n\t }\n\t },\n\t\n\t /**\n\t * Get element by id\n\t * @param {string} id element id attribute\n\t * @returns {HTMLElement} element\n\t */\n\t get: function(id) {\n\t return document.getElementById(id);\n\t },\n\t\n\t /**\n\t * Check supplied element is matched selector.\n\t * @param {HTMLElement} el - element to check\n\t * @param {string} selector - selector string to check\n\t * @returns {boolean} match?\n\t */\n\t _matcher: function(el, selector) {\n\t var cssClassSelector = /^\\./,\n\t idSelector = /^#/;\n\t\n\t if (cssClassSelector.test(selector)) {\n\t return domutil.hasClass(el, selector.replace('.', ''));\n\t }\n\t if (idSelector.test(selector)) {\n\t return el.id === selector.replace('#', '');\n\t }\n\t\n\t return el.nodeName.toLowerCase() === selector.toLowerCase();\n\t },\n\t\n\t /**\n\t * Find DOM element by specific selectors.\n\t * below three selector only supported.\n\t *\n\t * 1. css selector\n\t * 2. id selector\n\t * 3. nodeName selector\n\t * @param {string} selector selector\n\t * @param {(HTMLElement|string)} [root] You can assign root element to find\n\t * if not supplied, document.body will use.\n\t * @param {boolean|function} [multiple=false] - set true then return all\n\t * elements that meet condition, if set function then use it filter function.\n\t * @returns {HTMLElement} HTML element finded.\n\t */\n\t find: function(selector, root, multiple) {\n\t var result = [],\n\t found = false,\n\t isFirst = util.isUndefined(multiple) || multiple === false,\n\t isFilter = util.isFunction(multiple);\n\t\n\t if (util.isString(root)) {\n\t root = domutil.get(root);\n\t }\n\t\n\t root = root || window.document.body;\n\t\n\t /**\n\t * Function for recursive find specific node\n\t * @param {HTMLElement} el - element to search\n\t * @param {string} selector - selector\n\t */\n\t function recurse(el, selector) {\n\t var childNodes = el.childNodes,\n\t i = 0,\n\t len = childNodes.length,\n\t cursor;\n\t\n\t for (; i < len; i += 1) {\n\t cursor = childNodes[i];\n\t\n\t if (cursor.nodeName === '#text') {\n\t continue;\n\t }\n\t\n\t if (domutil._matcher(cursor, selector)) {\n\t if ((isFilter && multiple(cursor)) || !isFilter) {\n\t result.push(cursor);\n\t }\n\t\n\t if (isFirst) {\n\t found = true;\n\t break;\n\t }\n\t } else if (cursor.childNodes.length > 0) {\n\t recurse(cursor, selector);\n\t if (found) {\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t recurse(root, selector);\n\t\n\t return isFirst ? (result[0] || null) : result;\n\t },\n\t\n\t /**\n\t * Find parent element recursively.\n\t * @param {HTMLElement} el - base element to start find.\n\t * @param {string} selector - selector string for find\n\t * @returns {HTMLElement} - element finded or null.\n\t */\n\t closest: function(el, selector) {\n\t var parent = el.parentNode;\n\t\n\t if (domutil._matcher(el, selector)) {\n\t return el;\n\t }\n\t\n\t while (parent && parent !== window.document.body) {\n\t if (domutil._matcher(parent, selector)) {\n\t return parent;\n\t }\n\t\n\t parent = parent.parentNode;\n\t }\n\t\n\t return null;\n\t },\n\t\n\t /**\n\t * Return texts inside element.\n\t * @param {HTMLElement} el target element\n\t * @returns {string} text inside node\n\t */\n\t text: function(el) {\n\t var ret = '',\n\t i = 0,\n\t nodeType = el.nodeType;\n\t\n\t if (nodeType) {\n\t if (nodeType === 1 || nodeType === 9 || nodeType === 11) {\n\t // nodes that available contain other nodes\n\t if (typeof el.textContent === 'string') {\n\t return el.textContent;\n\t }\n\t\n\t for (el = el.firstChild; el; el = el.nextSibling) {\n\t ret += domutil.text(el);\n\t }\n\t } else if (nodeType === 3 || nodeType === 4) {\n\t // TEXT, CDATA SECTION\n\t return el.nodeValue;\n\t }\n\t } else {\n\t for (; el[i]; i += 1) {\n\t ret += domutil.text(el[i]);\n\t }\n\t }\n\t\n\t return ret;\n\t },\n\t\n\t /**\n\t * Set data attribute to target element\n\t * @param {HTMLElement} el - element to set data attribute\n\t * @param {string} key - key\n\t * @param {string|number} data - data value\n\t */\n\t setData: function(el, key, data) {\n\t if ('dataset' in el) {\n\t el.dataset[key] = data;\n\t\n\t return;\n\t }\n\t\n\t el.setAttribute('data-' + key, data);\n\t },\n\t\n\t /**\n\t * Get data value from data-attribute\n\t * @param {HTMLElement} el - target element\n\t * @param {string} key - key\n\t * @returns {string} value\n\t */\n\t getData: function(el, key) {\n\t if ('dataset' in el) {\n\t return el.dataset[key];\n\t }\n\t\n\t return el.getAttribute('data-' + key);\n\t },\n\t\n\t /**\n\t * Check element has specific design class name.\n\t * @param {HTMLElement} el target element\n\t * @param {string} name css class\n\t * @returns {boolean} return true when element has that css class name\n\t */\n\t hasClass: function(el, name) {\n\t var className;\n\t\n\t if (!util.isUndefined(el.classList)) {\n\t return el.classList.contains(name);\n\t }\n\t\n\t className = domutil.getClass(el);\n\t\n\t return className.length > 0 && new RegExp('(^|\\\\s)' + name + '(\\\\s|$)').test(className);\n\t },\n\t\n\t /**\n\t * Add design class to HTML element.\n\t * @param {HTMLElement} el target element\n\t * @param {string} name css class name\n\t */\n\t addClass: function(el, name) {\n\t var className;\n\t\n\t if (!util.isUndefined(el.classList)) {\n\t util.forEachArray(name.split(' '), function(value) {\n\t el.classList.add(value);\n\t });\n\t } else if (!domutil.hasClass(el, name)) {\n\t className = domutil.getClass(el);\n\t domutil.setClass(el, (className ? className + ' ' : '') + name);\n\t }\n\t },\n\t\n\t /**\n\t *\n\t * Overwrite design class to HTML element.\n\t * @param {HTMLElement} el target element\n\t * @param {string} name css class name\n\t */\n\t setClass: function(el, name) {\n\t if (util.isUndefined(el.className.baseVal)) {\n\t el.className = name;\n\t } else {\n\t el.className.baseVal = name;\n\t }\n\t },\n\t\n\t /**\n\t * Element에 cssClass속성을 제거하는 메서드\n\t * Remove specific design class from HTML element.\n\t * @param {HTMLElement} el target element\n\t * @param {string} name class name to remove\n\t */\n\t removeClass: function(el, name) {\n\t var removed = '';\n\t\n\t if (!util.isUndefined(el.classList)) {\n\t el.classList.remove(name);\n\t } else {\n\t removed = (' ' + domutil.getClass(el) + ' ').replace(' ' + name + ' ', ' ');\n\t domutil.setClass(el, trim(removed));\n\t }\n\t },\n\t\n\t /**\n\t * Get HTML element's design classes.\n\t * @param {HTMLElement} el target element\n\t * @returns {string} element css class name\n\t */\n\t getClass: function(el) {\n\t if (!el || !el.className) {\n\t return '';\n\t }\n\t\n\t return util.isUndefined(el.className.baseVal) ? el.className : el.className.baseVal;\n\t },\n\t\n\t /**\n\t * Get specific CSS style value from HTML element.\n\t * @param {HTMLElement} el target element\n\t * @param {string} style css attribute name\n\t * @returns {(string|null)} css style value\n\t */\n\t getStyle: function(el, style) {\n\t var value = el.style[style] || (el.currentStyle && el.currentStyle[style]),\n\t css;\n\t\n\t if ((!value || value === 'auto') && document.defaultView) {\n\t css = document.defaultView.getComputedStyle(el, null);\n\t value = css ? css[style] : null;\n\t }\n\t\n\t return value === 'auto' ? null : value;\n\t },\n\t\n\t /**\n\t * get element's computed style values.\n\t *\n\t * in lower IE8. use polyfill function that return object. it has only one function 'getPropertyValue'\n\t * @param {HTMLElement} el - element want to get style.\n\t * @returns {object} virtual CSSStyleDeclaration object.\n\t */\n\t getComputedStyle: function(el) {\n\t var defaultView = document.defaultView;\n\t\n\t if (!defaultView || !defaultView.getComputedStyle) {\n\t return {\n\t getPropertyValue: function(prop) {\n\t /* eslint-disable no-useless-escape */\n\t var re = /(\\-([a-z]){1})/g;\n\t if (prop === 'float') {\n\t prop = 'styleFloat';\n\t }\n\t\n\t if (re.test(prop)) {\n\t prop = prop.replace(re, function() {\n\t return arguments[2].toUpperCase();\n\t });\n\t }\n\t\n\t return el.currentStyle[prop] ? el.currentStyle[prop] : null;\n\t }\n\t };\n\t }\n\t\n\t return document.defaultView.getComputedStyle(el);\n\t },\n\t\n\t /**\n\t * Set position CSS style.\n\t * @param {HTMLElement} el target element\n\t * @param {number} [x=0] left pixel value.\n\t * @param {number} [y=0] top pixel value.\n\t */\n\t setPosition: function(el, x, y) {\n\t x = util.isUndefined(x) ? 0 : x;\n\t y = util.isUndefined(y) ? 0 : y;\n\t\n\t el[posKey] = [x, y];\n\t\n\t el.style.left = util.isNumber(x) ? (x + 'px') : x;\n\t el.style.top = util.isNumber(y) ? (y + 'px') : y;\n\t },\n\t\n\t /**\n\t * Set position CSS style with left, top, right, bottom\n\t * @param {HTMLElement} el target element\n\t * @param {object} ltrb object of left, top, right, bottom\n\t * @param {number} [ltrb.left] left pixel value.\n\t * @param {number} [ltrb.top] top pixel value.\n\t * @param {number} [ltrb.right] right pixel value.\n\t * @param {number} [ltrb.bottom] bottom pixel value.\n\t */\n\t setLTRB: function(el, ltrb) {\n\t var props = ['left', 'top', 'right', 'bottom'];\n\t var value;\n\t props.forEach(function(prop) {\n\t value = util.isUndefined(ltrb[prop]) ? '' : ltrb[prop];\n\t el.style[prop] = util.isNumber(value) ? (value + 'px') : value;\n\t });\n\t },\n\t\n\t /**\n\t * Get position from HTML element.\n\t * @param {HTMLElement} el target element\n\t * @param {boolean} [clear=false] clear cache before calculating position.\n\t * @returns {number[]} point\n\t */\n\t getPosition: function(el, clear) {\n\t var left,\n\t top,\n\t bound;\n\t\n\t if (clear) {\n\t el[posKey] = null;\n\t }\n\t\n\t if (el[posKey]) {\n\t return el[posKey];\n\t }\n\t\n\t left = 0;\n\t top = 0;\n\t\n\t if ((CSS_AUTO_REGEX.test(el.style.left) || CSS_AUTO_REGEX.test(el.style.top)) &&\n\t 'getBoundingClientRect' in el) {\n\t // 엘리먼트의 left또는 top이 'auto'일 때 수단\n\t bound = el.getBoundingClientRect();\n\t\n\t left = bound.left;\n\t top = bound.top;\n\t } else {\n\t left = parseFloat(el.style.left || 0);\n\t top = parseFloat(el.style.top || 0);\n\t }\n\t\n\t return [left, top];\n\t },\n\t\n\t /**\n\t * Return element's size\n\t * @param {HTMLElement} el target element\n\t * @returns {number[]} width, height\n\t */\n\t getSize: function(el) {\n\t var bound,\n\t width = domutil.getStyle(el, 'width'),\n\t height = domutil.getStyle(el, 'height');\n\t\n\t if ((CSS_AUTO_REGEX.test(width) || CSS_AUTO_REGEX.test(height) ||\n\t util.isNull(width) || util.isNull(height)) &&\n\t 'getBoundingClientRect' in el) {\n\t bound = el.getBoundingClientRect();\n\t width = bound.width || el.offsetWidth;\n\t height = bound.height || el.offsetHeight;\n\t } else {\n\t width = parseFloat(width || 0);\n\t height = parseFloat(height || 0);\n\t }\n\t\n\t return [width, height];\n\t },\n\t\n\t /**\n\t * Fallback of getBoundingClientRect\n\t * @param {HTMLElement} el - element\n\t * @returns {object} rect\n\t */\n\t getBCRect: function(el) {\n\t var rect = el.getBoundingClientRect();\n\t\n\t rect = util.extend({\n\t width: el.offsetWidth,\n\t height: el.offsetHeight\n\t }, rect);\n\t\n\t return rect;\n\t },\n\t\n\t /**\n\t * Check specific CSS style is available.\n\t * @param {array} props property name to testing\n\t * @returns {(string|boolean)} return true when property is available\n\t * @example\n\t * var props = ['transform', '-webkit-transform'];\n\t * domutil.testProp(props); // 'transform'\n\t */\n\t testProp: function(props) {\n\t var style = document.documentElement.style,\n\t i = 0,\n\t len = props.length;\n\t\n\t for (; i < len; i += 1) {\n\t if (props[i] in style) {\n\t return props[i];\n\t }\n\t }\n\t\n\t return false;\n\t },\n\t\n\t /**\n\t * Get form data\n\t * @param {HTMLFormElement} formElement - form element to extract data\n\t * @returns {object} form data\n\t */\n\t getFormData: function(formElement) {\n\t var groupedByName = new Collection(function() {\n\t return this.length;\n\t }),\n\t noDisabledFilter = function(el) {\n\t return !el.disabled;\n\t },\n\t output = {};\n\t\n\t groupedByName.add.apply(\n\t groupedByName,\n\t domutil.find('input', formElement, noDisabledFilter)\n\t .concat(domutil.find('select', formElement, noDisabledFilter))\n\t .concat(domutil.find('textarea', formElement, noDisabledFilter))\n\t );\n\t\n\t groupedByName = groupedByName.groupBy(function(el) {\n\t return (el && el.getAttribute('name')) || '_other';\n\t });\n\t\n\t util.forEach(groupedByName, function(elements, name) {\n\t if (name === '_other') {\n\t return;\n\t }\n\t\n\t elements.each(function(el) {\n\t var nodeName = el.nodeName.toLowerCase(),\n\t type = el.type,\n\t result = [];\n\t\n\t if (type === 'radio') {\n\t result = [elements.find(function(el) {\n\t return el.checked;\n\t }).toArray().pop()];\n\t } else if (type === 'checkbox') {\n\t result = elements.find(function(el) {\n\t return el.checked;\n\t }).toArray();\n\t } else if (nodeName === 'select') {\n\t elements.find(function(el) {\n\t return !!el.childNodes.length;\n\t }).each(function(el) {\n\t result = result.concat(\n\t domutil.find('option', el, function(opt) {\n\t return opt.selected;\n\t })\n\t );\n\t });\n\t } else {\n\t result = elements.find(function(el) {\n\t return el.value !== '';\n\t }).toArray();\n\t }\n\t\n\t result = util.map(result, function(el) {\n\t return el.value;\n\t });\n\t\n\t if (!result.length) {\n\t result = '';\n\t } else if (result.length === 1) {\n\t result = result[0];\n\t }\n\t\n\t output[name] = result;\n\t });\n\t });\n\t\n\t return output;\n\t }\n\t};\n\t\n\t/*eslint-disable*/\n\tvar userSelectProperty = domutil.testProp([\n\t 'userSelect',\n\t 'WebkitUserSelect',\n\t 'OUserSelect',\n\t 'MozUserSelect',\n\t 'msUserSelect'\n\t]);\n\tvar supportSelectStart = 'onselectstart' in document;\n\tvar prevSelectStyle = '';\n\t/* eslint-enable*/\n\t\n\t/**\n\t * Disable browser's text selection behaviors.\n\t * @method\n\t */\n\tdomutil.disableTextSelection = (function() {\n\t if (supportSelectStart) {\n\t return function(dom) {\n\t domevent.on(dom, 'selectstart', domevent.preventDefault);\n\t };\n\t }\n\t\n\t return function(dom) {\n\t var style = dom.style;\n\t prevSelectStyle = style[userSelectProperty];\n\t style[userSelectProperty] = 'none';\n\t };\n\t})();\n\t\n\t/**\n\t * Enable browser's text selection behaviors.\n\t * @method\n\t */\n\tdomutil.enableTextSelection = (function() {\n\t if (supportSelectStart) {\n\t return function() {\n\t domevent.off(window, 'selectstart', domevent.preventDefault);\n\t };\n\t }\n\t\n\t return function() {\n\t document.documentElement.style[userSelectProperty] = prevSelectStyle;\n\t };\n\t})();\n\t\n\t/**\n\t * Disable browser's image drag behaviors.\n\t */\n\tdomutil.disableImageDrag = function() {\n\t domevent.on(window, 'dragstart', domevent.preventDefault);\n\t};\n\t\n\t/**\n\t * Enable browser's image drag behaviors.\n\t */\n\tdomutil.enableImageDrag = function() {\n\t domevent.off(window, 'dragstart', domevent.preventDefault);\n\t};\n\t\n\tmodule.exports = domutil;\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t/**\n\t * @fileoverview Global configuration object module. This @echo syntax will change preprocess context. See gulpfile.js\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar cssPrefix = 'tui-full-calendar-',\n\t alldayGetViewID = new RegExp('^' + cssPrefix + 'weekday[\\\\s]tui-view-(\\\\d+)'),\n\t alldayCheckPermission = new RegExp('^' + cssPrefix + 'schedule(-title)?$'),\n\t timeGetViewID = new RegExp('^' + cssPrefix + 'time-date[\\\\s]tui-view-(\\\\d+)');\n\t\n\tvar config = {\n\t throwError: function(msg) {\n\t alert(msg);\n\t },\n\t\n\t cssPrefix: cssPrefix,\n\t\n\t classname: function(str) {\n\t str = str || '';\n\t\n\t if (str.charAt(0) === '.') {\n\t return '.' + config.cssPrefix + str.slice(1);\n\t }\n\t\n\t return config.cssPrefix + str;\n\t },\n\t\n\t allday: {\n\t getViewIDRegExp: alldayGetViewID,\n\t checkCondRegExp: alldayCheckPermission\n\t },\n\t\n\t time: {\n\t getViewIDRegExp: timeGetViewID\n\t }\n\t};\n\t\n\tmodule.exports = config;\n\t\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview datetime utility module\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar TZDate = __webpack_require__(5).Date,\n\t dw = __webpack_require__(15);\n\tvar util = __webpack_require__(1);\n\t/* eslint-disable no-useless-escape */\n\tvar dateFormatRx = /^(\\d{4}[-|\\/]*\\d{2}[-|\\/]*\\d{2})\\s?(\\d{2}:\\d{2}:\\d{2})?$/;\n\tvar datetime, tokenFunc;\n\t\n\tvar memo = {\n\t millisecondsTo: {},\n\t millisecondsFrom: {}\n\t};\n\t\n\ttokenFunc = {\n\t /**\n\t * @param {TZDate} date date object.\n\t * @returns {string} YYYYMMDD\n\t */\n\t 'YYYYMMDD': function(date) {\n\t return [\n\t date.getFullYear(),\n\t datetime.leadingZero(date.getMonth() + 1, 2),\n\t datetime.leadingZero(date.getDate(), 2)\n\t ].join('');\n\t },\n\t /**\n\t * @param {TZDate} date date object\n\t * @returns {string} four digit year number\n\t */\n\t 'YYYY': function(date) {\n\t return String(date.getFullYear());\n\t },\n\t\n\t /**\n\t * @param {TZDate} date date object\n\t * @returns {string} two digit month number\n\t */\n\t 'MM': function(date) {\n\t return datetime.leadingZero(date.getMonth() + 1, 2);\n\t },\n\t\n\t /**\n\t * @param {TZDate} date date object\n\t * @returns {string} two digit date number\n\t */\n\t 'DD': function(date) {\n\t return datetime.leadingZero(date.getDate(), 2);\n\t },\n\t\n\t /**\n\t * @param {TZDate} date date object\n\t * @returns {string} HH:mm\n\t */\n\t 'HH:mm': function(date) {\n\t var hour = date.getHours(),\n\t minutes = date.getMinutes();\n\t\n\t return datetime.leadingZero(hour, 2) + ':' +\n\t datetime.leadingZero(minutes, 2);\n\t }\n\t};\n\t\n\tdatetime = {\n\t /**\n\t * The number of milliseconds one day.\n\t * @type {number}\n\t */\n\t MILLISECONDS_PER_DAY: 86400000,\n\t\n\t /**\n\t * The number of milliseconds one hour.\n\t * @type {number}\n\t */\n\t MILLISECONDS_PER_HOUR: 3600000,\n\t\n\t /**\n\t * The number of milliseconds one minutes.\n\t * @type {number}\n\t */\n\t MILLISECONDS_PER_MINUTES: 60000,\n\t\n\t /**\n\t * convert milliseconds\n\t * @param {string} type - type of value.\n\t * @param {number} value - value to convert.\n\t * @param {function} iteratee - iteratee function to use reduce.\n\t * @returns {number} converted value.\n\t */\n\t _convMilliseconds: function(type, value, iteratee) {\n\t var conv = [24, 60, 60, 1000],\n\t index = {\n\t day: 0,\n\t hour: 1,\n\t minutes: 2,\n\t seconds: 3\n\t };\n\t\n\t if (!(type in index) || global.isNaN(value)) {\n\t return false;\n\t }\n\t\n\t return util.reduce([value].concat(conv.slice(index[type])), iteratee);\n\t },\n\t\n\t /**\n\t * Convert milliseconds value to other type\n\t * @param {type} type convert to type want to. support \"day\", \"hour\",\n\t * \"minutes\", \"seconds\" only.\n\t * @param {value} value - value to convert.\n\t * @returns {number} converted value.\n\t */\n\t millisecondsTo: function(type, value) {\n\t var cache = memo.millisecondsTo,\n\t key = type + value;\n\t\n\t if (cache[key]) {\n\t return cache[key];\n\t }\n\t\n\t cache[key] = datetime._convMilliseconds(type, value, function(m, v) {\n\t return m / v;\n\t });\n\t\n\t return cache[key];\n\t },\n\t\n\t /**\n\t * Convert value to milliseconds\n\t * @param {type} type - type of supplied value. support \"hour\", \"minutes\", \"seconds\" only.\n\t * @param {value} value - value to convert.\n\t * @returns {number} converted value.\n\t */\n\t millisecondsFrom: function(type, value) {\n\t var cache = memo.millisecondsFrom,\n\t key = type + value;\n\t\n\t if (cache[key]) {\n\t return cache[key];\n\t }\n\t\n\t cache[key] = datetime._convMilliseconds(type, value, function(m, v) {\n\t return m * v;\n\t });\n\t\n\t return cache[key];\n\t },\n\t\n\t /**\n\t * Make date array from supplied paramters.\n\t * @param {TZDate} start Start date.\n\t * @param {TZDate} end End date.\n\t * @param {number} step The number of milliseconds to use increment.\n\t * @returns {array} Date array.\n\t */\n\t range: function(start, end, step) {\n\t var cursor = start.getTime();\n\t var endTime = end.getTime();\n\t var result = [];\n\t\n\t while (cursor <= endTime) {\n\t result.push(new TZDate(cursor));\n\t cursor = cursor + step;\n\t }\n\t\n\t return result;\n\t },\n\t\n\t /**\n\t * Clone supplied date.\n\t * @param {TZDate} date date object to clone.\n\t * @returns {TZDate} Cloned date object\n\t */\n\t clone: function(date) {\n\t return new TZDate(date.getTime());\n\t },\n\t\n\t /**\n\t * Compare two dates.\n\t *\n\t * when first date is latest then seconds then return -1.\n\t *\n\t * return +1 reverse, and return 0 is same.\n\t * @param {TZDate} d1 Date object to compare.\n\t * @param {TZDate} d2 Date object to compare.\n\t * @returns {number} result of compare\n\t */\n\t compare: function(d1, d2) {\n\t var _d1 = d1.getTime(),\n\t _d2 = d2.getTime();\n\t\n\t if (_d1 < _d2) {\n\t return -1;\n\t }\n\t if (_d1 > _d2) {\n\t return 1;\n\t }\n\t\n\t return 0;\n\t },\n\t\n\t /**\n\t * @param {TZDate} d1 - date one\n\t * @param {TZDate} d2 - date two\n\t * @returns {boolean} is two date are same year, month?\n\t */\n\t isSameMonth: function(d1, d2) {\n\t return (d1.getFullYear() === d2.getFullYear() &&\n\t d1.getMonth() === d2.getMonth());\n\t },\n\t\n\t /**\n\t * @param {TZDate} d1 - date one\n\t * @param {TZDate} d2 - date two\n\t * @returns {boolean} is two date are same year, month, date?\n\t */\n\t isSameDate: function(d1, d2) {\n\t var sameMonth = datetime.isSameMonth(d1, d2);\n\t\n\t return sameMonth && (d1.getDate() === d2.getDate());\n\t },\n\t\n\t /**\n\t * Check supplied parameter is valid date object.\n\t * @param {*} d Object to validate.\n\t * @returns {boolean} return true when parameter is valid date object.\n\t */\n\t isValid: function(d) {\n\t if (d instanceof TZDate) {\n\t return !window.isNaN(d.getTime());\n\t }\n\t\n\t return false;\n\t },\n\t\n\t /**\n\t * convert non local date to UTC date.\n\t * @param {TZDate} d Date to convert UTC.\n\t * @returns {TZDate} The UTC Date.\n\t */\n\t toUTC: function(d) {\n\t var l = d.getTime(),\n\t offset = datetime.millisecondsFrom('minutes', new Date().getTimezoneOffset());\n\t\n\t return new TZDate(l + offset);\n\t },\n\t\n\t /**\n\t * pad left zero characters.\n\t * @param {number} number number value to pad zero.\n\t * @param {number} length pad length to want.\n\t * @returns {string} padded string.\n\t */\n\t leadingZero: function(number, length) {\n\t var zero = '',\n\t i = 0;\n\t\n\t if (String(number).length > length) {\n\t return String(number);\n\t }\n\t\n\t for (; i < (length - 1); i += 1) {\n\t zero += '0';\n\t }\n\t\n\t return (zero + number).slice(length * -1);\n\t },\n\t\n\t /**\n\t * Convert date string to date object.\n\t *\n\t * Only listed below formats avaliable.\n\t *\n\t * - YYYYMMDD\n\t * - YYYY/MM/DD\n\t * - YYYY-MM-DD\n\t * - YYYY/MM/DD HH:mm:SS\n\t * - YYYY-MM-DD HH:mm:SS\n\t *\n\t * @param {string} str Formatted string.\n\t * @param {number} [fixMonth=-1] - number for fix month calculating.\n\t * @returns {(Date|boolean)} Converted Date object. when supplied str is not available then return false.\n\t */\n\t parse: function(str, fixMonth) {\n\t var separator,\n\t matches = str.match(dateFormatRx),\n\t ymd,\n\t hms;\n\t\n\t if (util.isUndefined(fixMonth)) {\n\t fixMonth = -1;\n\t }\n\t\n\t if (!matches) {\n\t return false;\n\t }\n\t\n\t if (str.length > 8) {\n\t // YYYY/MM/DD\n\t // YYYY-MM-DD\n\t // YYYY/MM/DD HH:mm:SS\n\t // YYYY-MM-DD HH:mm:SS\n\t separator = ~str.indexOf('/') ? '/' : '-';\n\t matches = matches.splice(1);\n\t\n\t ymd = matches[0].split(separator);\n\t hms = matches[1] ? matches[1].split(':') : [0, 0, 0];\n\t } else {\n\t // YYYYMMDD\n\t matches = matches[0];\n\t ymd = [matches.substr(0, 4), matches.substr(4, 2), matches.substr(6, 2)];\n\t hms = [0, 0, 0];\n\t }\n\t\n\t return new TZDate(\n\t Number(ymd[0]),\n\t Number(ymd[1]) + fixMonth,\n\t Number(ymd[2]),\n\t Number(hms[0]),\n\t Number(hms[1]),\n\t Number(hms[2])\n\t );\n\t },\n\t\n\t /**\n\t * Return date object from Date.\n\t * @param {TZDate} date date\n\t * @returns {object} Date object.\n\t */\n\t raw: function(date) {\n\t return {\n\t y: date.getFullYear(),\n\t M: date.getMonth(),\n\t d: date.getDate(),\n\t h: date.getHours(),\n\t m: date.getMinutes(),\n\t s: date.getSeconds(),\n\t ms: date.getMilliseconds()\n\t };\n\t },\n\t\n\t /**\n\t * Return 00:00:00 supplied date.\n\t * @param {TZDate} date date.\n\t * @returns {TZDate} start date.\n\t */\n\t start: function(date) {\n\t var d = new TZDate(date.getTime());\n\t d.setHours(0, 0, 0, 0);\n\t\n\t return d;\n\t },\n\t\n\t /**\n\t * Return 23:59:59 supplied date.\n\t * @param {TZDate} date date.\n\t * @returns {TZDate} end date.\n\t */\n\t end: function(date) {\n\t var d = new TZDate(date.getTime());\n\t d.setHours(23, 59, 59, 0);\n\t\n\t return d;\n\t },\n\t\n\t /**\n\t * Return formatted string as basis of supplied string.\n\t *\n\t * Supported Token Lists.\n\t *\n\t * - YYYY => 1988\n\t * - MM => 01 ~ 12\n\t * - DD => 01 ~ 31\n\t * - YYYYMMDD => 19880925\n\t * @param {TZDate} date String want to formatted.\n\t * @param {string} format format str.\n\t * @returns {string} Formatted date string.\n\t */\n\t format: function(date, format) {\n\t var result = format;\n\t util.forEachOwnProperties(tokenFunc, function(converter, token) {\n\t result = result.replace(token, converter(date));\n\t });\n\t\n\t return result;\n\t },\n\t\n\t /**\n\t * Get start date of specific month\n\t * @param {TZDate} date - date to get start date\n\t * @returns {TZDate} start date of supplied month\n\t */\n\t startDateOfMonth: function(date) {\n\t var startDate = new TZDate(Number(date));\n\t\n\t startDate.setDate(1);\n\t startDate.setHours(0, 0, 0, 0);\n\t\n\t return startDate;\n\t },\n\t\n\t /**\n\t * Get end date of specific month\n\t * @param {TZDate} date - date to get end date\n\t * @returns {TZDate} end date of supplied month\n\t */\n\t endDateOfMonth: function(date) {\n\t var endDate = datetime.startDateOfMonth(date);\n\t\n\t endDate.setMonth(endDate.getMonth() + 1);\n\t endDate.setDate(endDate.getDate() - 1);\n\t endDate.setHours(23, 59, 59);\n\t\n\t return endDate;\n\t },\n\t\n\t /**\n\t * Return 2-dimensional array month calendar\n\t *\n\t * dates that different month with given date are negative values\n\t * @param {TZDate} month - date want to calculate month calendar\n\t * @param {object} options - options\n\t * @param {number} [options.startDayOfWeek=0] - start day of week\n\t * @param {boolean} options.isAlways6Week - whether the number of weeks are always 6\n\t * @param {number} options.visibleWeeksCount visible weeks count\n\t * @param {boolean} options.workweek - only show work week\n\t * @param {function} [iteratee] - iteratee for customizing calendar object\n\t * @returns {Array.} calendar 2d array\n\t */\n\t arr2dCalendar: function(month, options, iteratee) {\n\t var weekArr,\n\t start, end,\n\t startIndex, endIndex,\n\t totalDate, afterDates,\n\t cursor, week,\n\t calendar = [],\n\t startDayOfWeek = options.startDayOfWeek,\n\t isAlways6Week = options.isAlways6Week,\n\t visibleWeeksCount = options.visibleWeeksCount,\n\t workweek = options.workweek;\n\t\n\t if (visibleWeeksCount) {\n\t start = new TZDate(month);\n\t end = dw(new TZDate(month));\n\t end.addDate(7 * (visibleWeeksCount - 1));\n\t end = end.d;\n\t } else {\n\t start = datetime.startDateOfMonth(month);\n\t end = datetime.endDateOfMonth(month);\n\t }\n\t\n\t // create day number array by startDayOfWeek number\n\t // 4 -> [4, 5, 6, 0, 1, 2, 3]\n\t // 2 -> [2, 3, 4, 5, 6, 0, 1]\n\t weekArr = util.range(startDayOfWeek, 7).concat(util.range(7)).slice(0, 7);\n\t startIndex = util.inArray(start.getDay(), weekArr);\n\t endIndex = util.inArray(end.getDay(), weekArr);\n\t // free dates after last date of this month\n\t afterDates = 7 - (endIndex + 1);\n\t\n\t if (visibleWeeksCount) {\n\t totalDate = 7 * visibleWeeksCount;\n\t } else {\n\t totalDate = isAlways6Week ? (7 * 6) : (startIndex + end.getDate() + afterDates);\n\t }\n\t cursor = new TZDate(new TZDate(start).setDate(start.getDate() - startIndex));\n\t // iteratee all dates to render\n\t util.forEachArray(util.range(totalDate), function(i) {\n\t var date;\n\t\n\t if (!(i % 7)) {\n\t // group each date by week\n\t week = calendar[i / 7] = [];\n\t }\n\t\n\t date = new TZDate(cursor);\n\t date = iteratee ? iteratee(date) : date;\n\t if (!workweek || !datetime.isWeekend(date.getDay())) {\n\t week.push(date);\n\t }\n\t\n\t // add date\n\t cursor.setDate(cursor.getDate() + 1);\n\t });\n\t\n\t return calendar;\n\t },\n\t\n\t /**\n\t * Calculate grid left(%), width(%) by narrowWeekend, startDayOfWeek, workweek\n\t *\n\t * @param {number} days - day length of week\n\t * @param {boolean} narrowWeekend - narrow weekend\n\t * @param {number} startDayOfWeek - start day of week\n\t * @param {boolean} workweek - only show work week\n\t * @returns {Array} day, left, width\n\t */\n\t getGridLeftAndWidth: function(days, narrowWeekend, startDayOfWeek, workweek) {\n\t var limitDaysToApplyNarrowWeekend = 5;\n\t var uniformWidth = 100 / days;\n\t var wideWidth = days > limitDaysToApplyNarrowWeekend ? 100 / (days - 1) : uniformWidth;\n\t var accumulatedWidth = 0;\n\t var dates = util.range(startDayOfWeek, 7).concat(util.range(days)).slice(0, 7);\n\t\n\t if (workweek) {\n\t dates = util.filter(dates, function(day) {\n\t return !datetime.isWeekend(day);\n\t });\n\t }\n\t\n\t narrowWeekend = workweek ? false : narrowWeekend;\n\t\n\t return util.map(dates, function(day) {\n\t var model;\n\t var width = narrowWeekend ? wideWidth : uniformWidth;\n\t if (days > limitDaysToApplyNarrowWeekend && narrowWeekend && datetime.isWeekend(day)) {\n\t width = wideWidth / 2;\n\t }\n\t\n\t model = {\n\t day: day,\n\t width: width,\n\t left: accumulatedWidth\n\t };\n\t\n\t accumulatedWidth += width;\n\t\n\t return model;\n\t });\n\t },\n\t\n\t /**\n\t * Get that day is weekend\n\t * @param {number} day number\n\t * @returns {boolean} true if weekend or false\n\t */\n\t isWeekend: function(day) {\n\t return day === 0 || day === 6;\n\t }\n\t};\n\t\n\tmodule.exports = datetime;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t/**\n\t * @fileoverview timezone\n\t * @author NHN Ent. FE Development Lab \n\t */\n\t'use strict';\n\t\n\tvar MIN_TO_MS = 60 * 1000;\n\tvar SYSTEM_OFFSET_MS = new Date().getTimezoneOffset() * MIN_TO_MS;\n\tvar customOffsetMs = SYSTEM_OFFSET_MS;\n\t\n\tvar getterMethods = [\n\t 'getDate',\n\t 'getDay',\n\t 'getFullYear',\n\t 'getHours',\n\t 'getMilliseconds',\n\t 'getMinutes',\n\t 'getMonth',\n\t 'getSeconds'\n\t];\n\t\n\tvar setterMethods = [\n\t 'setDate',\n\t 'setFullYear',\n\t 'setHours',\n\t 'setMilliseconds',\n\t 'setMinutes',\n\t 'setMonth',\n\t 'setSeconds'\n\t];\n\t\n\t/**\n\t * Create a Date instance with multiple arguments\n\t * @param {Array} args - arguments\n\t * @returns {Date}\n\t */\n\tfunction createDateWithMultipleArgs(args) {\n\t return new Date(Date.UTC.apply(null, args) + SYSTEM_OFFSET_MS);\n\t}\n\t\n\t/**\n\t * Create a Date instance with argument\n\t * @param {Date|TZDate|string|number} arg - arguments\n\t * @returns {Date}\n\t */\n\tfunction createDateWithSingleArg(arg) {\n\t var time;\n\t\n\t if (arg instanceof Date || arg instanceof TZDate) {\n\t time = arg.getTime();\n\t } else if ((typeof arg) === 'string') {\n\t time = Date.parse(arg);\n\t } else if ((typeof arg) === 'number') {\n\t time = arg;\n\t } else if (arg === null) {\n\t time = 0;\n\t } else {\n\t throw new Error('Invalid Type');\n\t }\n\t\n\t return new Date(time - customOffsetMs + SYSTEM_OFFSET_MS);\n\t}\n\t\n\t/**\n\t * Date Class\n\t */\n\tfunction TZDate() {\n\t var date;\n\t\n\t switch (arguments.length) {\n\t case 0:\n\t date = createDateWithSingleArg(Date.now());\n\t break;\n\t case 1:\n\t date = createDateWithSingleArg(arguments[0]);\n\t break;\n\t default:\n\t date = createDateWithMultipleArgs(arguments);\n\t }\n\t\n\t this._date = date;\n\t}\n\t\n\tTZDate.prototype.setTime = function(time) {\n\t return this._date.setTime(time - customOffsetMs + SYSTEM_OFFSET_MS);\n\t};\n\t\n\tTZDate.prototype.getTime = function() {\n\t return this._date.getTime() + customOffsetMs - SYSTEM_OFFSET_MS;\n\t};\n\t\n\tTZDate.prototype.valueOf = function() {\n\t return this.getTime();\n\t};\n\t\n\tgetterMethods.forEach(function(methodName) {\n\t TZDate.prototype[methodName] = function() {\n\t return this._date[methodName].apply(this._date, arguments);\n\t };\n\t});\n\t\n\tsetterMethods.forEach(function(methodName) {\n\t TZDate.prototype[methodName] = function() {\n\t this._date[methodName].apply(this._date, arguments);\n\t\n\t return this.getTime();\n\t };\n\t});\n\t\n\tmodule.exports = {\n\t Date: TZDate,\n\t\n\t /**\n\t * Set offset\n\t * @param {number} offset - timezone offset based on minutes\n\t */\n\t setOffset: function(offset) {\n\t customOffsetMs = offset * MIN_TO_MS;\n\t },\n\t\n\t /**\n\t * (Use this method only for testing)\n\t * Reset system timezone and custom timezone\n\t */\n\t restoreOffset: function() {\n\t customOffsetMs = SYSTEM_OFFSET_MS;\n\t }\n\t};\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview common/general utilities.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar aps = Array.prototype.slice;\n\t\n\tvar domutil = __webpack_require__(2),\n\t Collection = __webpack_require__(11);\n\t\n\t/**\n\t * Default schedule id getter for collection\n\t * @param {Schedule} schedule - schedule instance\n\t * @returns {string} schedule id\n\t */\n\tfunction scheduleIDGetter(schedule) {\n\t return schedule.cid();\n\t}\n\t\n\tmodule.exports = {\n\t /**\n\t * @param {...*} initItems - items to add newly created collection.\n\t * @returns {Collection} new collection for schedule models.\n\t */\n\t createScheduleCollection: function(initItems) { // eslint-disable-line\n\t var collection = new Collection(scheduleIDGetter);\n\t\n\t if (arguments.length) {\n\t collection.add.apply(collection, arguments);\n\t }\n\t\n\t return collection;\n\t },\n\t\n\t /**\n\t * Get ratio value.\n\t *\n\t * a : b = y : X;\n\t *\n\t * =\n\t *\n\t * X = (b * y) / a;\n\t * @param {number} a - a\n\t * @param {number} b - b\n\t * @param {number} y - y\n\t * @returns {number} ratio value\n\t */\n\t ratio: function(a, b, y) {\n\t // a : b = y : x;\n\t return (b * y) / a;\n\t },\n\t\n\t /**\n\t * Find nearest value from supplied params.\n\t * @param {number} value - value to find.\n\t * @param {array} nearest - nearest array.\n\t * @returns {number} nearest value\n\t */\n\t nearest: function(value, nearest) {\n\t var diff = util.map(nearest, function(v) {\n\t return Math.abs(value - v);\n\t }),\n\t nearestIndex = util.inArray(Math.min.apply(null, diff), diff);\n\t\n\t return nearest[nearestIndex];\n\t },\n\t\n\t /**\n\t * pick value from object then return utility object to treat it.\n\t * @param {object} obj - object to search supplied path property.\n\t * @param {...string} paths - rest parameter that string value to search property in object.\n\t * @returns {object} pick object.\n\t */\n\t pick2: function(obj, paths) { // eslint-disable-line\n\t var result = util.pick.apply(null, arguments),\n\t pick;\n\t\n\t pick = {\n\t /**\n\t * @returns {*} picked value.\n\t */\n\t val: function() {\n\t return result;\n\t },\n\t\n\t /**\n\t * invoke supplied function in picked object.\n\t *\n\t * the callback context is set picked object.\n\t * @param {string|function} fn - function to invoke in picked object.\n\t * @returns {*} result of invoke.\n\t */\n\t then: function(fn) {\n\t var args;\n\t\n\t if (!result) {\n\t return undefined; //eslint-disable-line\n\t }\n\t\n\t args = aps.call(arguments, 1);\n\t\n\t if (util.isString(fn)) {\n\t return (util.pick(result, fn) || function() {}).apply(result, args);\n\t }\n\t\n\t return fn.call(result, result);\n\t }\n\t };\n\t\n\t return pick;\n\t },\n\t\n\t /**\n\t * Mixin method.\n\t *\n\t * (extend methods except property name 'mixin')\n\t * @param {object} from - mixin object.\n\t * @param {object} to - object to mixin.\n\t */\n\t mixin: function(from, to) {\n\t util.extend(to.prototype, from);\n\t },\n\t\n\t /**\n\t * Limit supplied value base on `minArr`, `maxArr`\n\t * @param {number} value - value\n\t * @param {array} minArr - min\n\t * @param {array} maxArr - max\n\t * @returns {number} limited value\n\t */\n\t limit: function(value, minArr, maxArr) {\n\t var v = Math.max.apply(null, [value].concat(minArr));\n\t v = Math.min.apply(null, [v].concat(maxArr));\n\t\n\t return v;\n\t },\n\t\n\t stripTags: function(str) {\n\t return str.replace(/<([^>]+)>/ig, '');\n\t },\n\t\n\t /**\n\t * Get first value in 2-dimentional array.\n\t * @param {Array.} arr2d - 2-dimentional array\n\t * @returns {*} first value in 2d array\n\t */\n\t firstIn2dArray: function(arr2d) {\n\t return util.pick(arr2d, '0', '0');\n\t },\n\t\n\t /**\n\t * Get last value in 2-dimentional array.\n\t * @param {Array.} arr2d - 2-dimentional array\n\t * @returns {*} last value in 2d array\n\t */\n\t lastIn2dArray: function(arr2d) {\n\t var lastRow = arr2d.length - 1,\n\t lastCol = arr2d[lastRow].length - 1;\n\t\n\t return util.pick(arr2d, lastRow, lastCol);\n\t },\n\t\n\t /**\n\t * Set 'title' attribute for all element that has exceeded content in\n\t * container\n\t * @param {string} selector - CSS selector {@see domutil#find}\n\t * @param {HTMLElement} container - container element\n\t */\n\t setAutoEllipsis: function(selector, container) {\n\t util.forEach(domutil.find(selector, container, true), function(el) {\n\t if (el.offsetWidth < el.scrollWidth) {\n\t el.setAttribute('title', domutil.getData(el, 'title'));\n\t }\n\t });\n\t }\n\t};\n\t\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// Create a simple path alias to allow browserify to resolve\n\t// the runtime on a supported path.\n\tmodule.exports = __webpack_require__(45)['default'];\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview The base class of views.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar domutil = __webpack_require__(2);\n\tvar Collection = __webpack_require__(11);\n\t\n\t/**\n\t * Base class of views.\n\t *\n\t * All views create own container element inside supplied container element.\n\t * @constructor\n\t * @param {HTMLElement} container Default container element for view.\n\t * you can use this element for this.container syntax.\n\t */\n\tfunction View(container) {\n\t var id = util.stamp(this);\n\t\n\t if (util.isUndefined(container)) {\n\t container = domutil.appendHTMLElement('div');\n\t }\n\t\n\t domutil.addClass(container, this.cssprefix(id));\n\t\n\t /**\n\t * unique id\n\t * @type {number}\n\t */\n\t this.id = id;\n\t\n\t /**\n\t * base element of view.\n\t * @type {HTMLDIVElement}\n\t */\n\t this.container = container;\n\t\n\t /*eslint-disable*/\n\t /**\n\t * child views.\n\t * @type {Collection}\n\t */\n\t this.children = new Collection(function(view) {\n\t return util.stamp(view);\n\t });\n\t /* eslint-enable*/\n\t\n\t /**\n\t * parent view instance.\n\t * @type {View}\n\t */\n\t this.parent = null;\n\t}\n\t\n\t/**\n\t * CSS classname prefix\n\t * @type {string}\n\t */\n\tView.prototype.cssPrefix = 'tui-view-';\n\t\n\t/**\n\t * Add child views.\n\t * @param {View} view The view instance to add.\n\t * @param {function} [fn] Function for invoke before add. parent view class is supplied first arguments.\n\t */\n\tView.prototype.addChild = function(view, fn) {\n\t if (fn) {\n\t fn.call(view, this);\n\t }\n\t // add parent view\n\t view.parent = this;\n\t\n\t this.children.add(view);\n\t};\n\t\n\t/**\n\t * Remove added child view.\n\t * @param {(number|View)} id View id or instance itself to remove.\n\t * @param {function} [fn] Function for invoke before remove. parent view class is supplied first arguments.\n\t */\n\tView.prototype.removeChild = function(id, fn) {\n\t var view = util.isNumber(id) ? this.children.items[id] : id;\n\t\n\t id = util.stamp(view);\n\t\n\t if (fn) {\n\t fn.call(view, this);\n\t }\n\t\n\t this.children.remove(id);\n\t};\n\t\n\t/**\n\t * Render view recursively.\n\t */\n\tView.prototype.render = function() {\n\t this.children.each(function(childView) {\n\t childView.render();\n\t });\n\t};\n\t\n\t/**\n\t * Invoke function recursively.\n\t * @param {function} fn - function to invoke child view recursively\n\t * @param {boolean} [skipThis=false] - set true then skip invoke with this(root) view.\n\t */\n\tView.prototype.recursive = function(fn, skipThis) {\n\t if (!util.isFunction(fn)) {\n\t return;\n\t }\n\t\n\t if (!skipThis) {\n\t fn(this);\n\t }\n\t\n\t this.children.each(function(childView) {\n\t childView.recursive(fn);\n\t });\n\t};\n\t\n\t/**\n\t * Resize view recursively to parent.\n\t */\n\tView.prototype.resize = function() {\n\t var args = Array.prototype.slice.call(arguments),\n\t parent = this.parent;\n\t\n\t while (parent) {\n\t if (util.isFunction(parent._onResize)) {\n\t parent._onResize.apply(parent, args);\n\t }\n\t\n\t parent = parent.parent;\n\t }\n\t};\n\t\n\t/**\n\t * Invoking method before destroying.\n\t */\n\tView.prototype._beforeDestroy = function() {};\n\t\n\t/**\n\t * Clear properties\n\t */\n\tView.prototype._destroy = function() {\n\t this._beforeDestroy();\n\t this.children.clear();\n\t this.container.innerHTML = '';\n\t\n\t this.id = this.parent = this.children = this.container = null;\n\t};\n\t\n\t/*eslint-disable*/\n\t/**\n\t * Destroy child view recursively.\n\t */\n\tView.prototype.destroy = function(isChildView) {\n\t this.children.each(function(childView) {\n\t childView.destroy(true);\n\t childView._destroy();\n\t });\n\t\n\t if (isChildView) {\n\t return;\n\t }\n\t\n\t this._destroy();\n\t};\n\t/* eslint-enable*/\n\t\n\t/**\n\t * Calculate view's container element bound.\n\t * @returns {object} The bound of container element.\n\t */\n\tView.prototype.getViewBound = function() {\n\t var container = this.container,\n\t position = domutil.getPosition(container),\n\t size = domutil.getSize(container);\n\t\n\t return {\n\t x: position[0],\n\t y: position[1],\n\t width: size[0],\n\t height: size[1]\n\t };\n\t};\n\t\n\t/**\n\t * Return view default CSS prefix\n\t * @param {string} [className] - if supplied then return prefix added class name\n\t * @returns {string} CSS prefix value\n\t */\n\tView.prototype.cssprefix = function(className) {\n\t return this.cssPrefix + (className || '');\n\t};\n\t\n\tutil.CustomEvents.mixin(View);\n\t\n\tmodule.exports = View;\n\t\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* eslint complexity: 0 */\n\t/**\n\t * @fileoverview Utility module for handling DOM events.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar browser = util.browser,\n\t eventKey = '_evt',\n\t DRAG = {\n\t START: ['touchstart', 'mousedown'],\n\t END: {\n\t mousedown: 'mouseup',\n\t touchstart: 'touchend',\n\t pointerdown: 'touchend',\n\t MSPointerDown: 'touchend'\n\t },\n\t MOVE: {\n\t mousedown: 'mousemove',\n\t touchstart: 'touchmove',\n\t pointerdown: 'touchmove',\n\t MSPointerDown: 'touchmove'\n\t }\n\t };\n\t\n\tvar domevent = {\n\t /**\n\t * Bind dom events.\n\t * @param {HTMLElement} obj HTMLElement to bind events.\n\t * @param {(string|object)} types Space splitted events names or eventName:handler object.\n\t * @param {*} fn handler function or context for handler method.\n\t * @param {*} [context] context object for handler method.\n\t */\n\t on: function(obj, types, fn, context) {\n\t if (util.isString(types)) {\n\t util.forEach(types.split(' '), function(type) {\n\t domevent._on(obj, type, fn, context);\n\t });\n\t\n\t return;\n\t }\n\t\n\t util.forEachOwnProperties(types, function(handler, type) {\n\t domevent._on(obj, type, handler, fn);\n\t });\n\t },\n\t\n\t /**\n\t * DOM event binding.\n\t * @param {HTMLElement} obj HTMLElement to bind events.\n\t * @param {String} type The name of events.\n\t * @param {*} fn handler function\n\t * @param {*} [context] context object for handler method.\n\t * @private\n\t */\n\t _on: function(obj, type, fn, context) {\n\t var id,\n\t handler,\n\t originHandler;\n\t\n\t id = type + util.stamp(fn) + (context ? '_' + util.stamp(context) : '');\n\t\n\t if (obj[eventKey] && obj[eventKey][id]) {\n\t return;\n\t }\n\t\n\t handler = function(e) {\n\t fn.call(context || obj, e || window.event);\n\t };\n\t\n\t originHandler = handler;\n\t\n\t if ('addEventListener' in obj) {\n\t if (type === 'mouseenter' || type === 'mouseleave') {\n\t handler = function(e) {\n\t e = e || window.event;\n\t if (!domevent._checkMouse(obj, e)) {\n\t return;\n\t }\n\t originHandler(e);\n\t };\n\t obj.addEventListener((type === 'mouseenter') ?\n\t 'mouseover' : 'mouseout', handler, false);\n\t } else {\n\t if (type === 'mousewheel') {\n\t obj.addEventListener('DOMMouseScroll', handler, false);\n\t }\n\t\n\t obj.addEventListener(type, handler, false);\n\t }\n\t } else if ('attachEvent' in obj) {\n\t obj.attachEvent('on' + type, handler);\n\t }\n\t\n\t obj[eventKey] = obj[eventKey] || {};\n\t obj[eventKey][id] = handler;\n\t },\n\t\n\t /**\n\t * Unbind DOM Event handler.\n\t * @param {HTMLElement} obj HTMLElement to unbind.\n\t * @param {(string|object)} types Space splitted events names or eventName:handler object.\n\t * @param {*} fn handler function or context for handler method.\n\t * @param {*} [context] context object for handler method.\n\t */\n\t off: function(obj, types, fn, context) {\n\t if (util.isString(types)) {\n\t util.forEach(types.split(' '), function(type) {\n\t domevent._off(obj, type, fn, context);\n\t });\n\t\n\t return;\n\t }\n\t\n\t util.forEachOwnProperties(types, function(handler, type) {\n\t domevent._off(obj, type, handler, fn);\n\t });\n\t },\n\t\n\t /**\n\t * Unbind DOM event handler.\n\t * @param {HTMLElement} obj HTMLElement to unbind.\n\t * @param {String} type The name of event to unbind.\n\t * @param {function()} fn Event handler that supplied when binding.\n\t * @param {*} context context object that supplied when binding.\n\t * @private\n\t */\n\t _off: function(obj, type, fn, context) {\n\t var id = type + util.stamp(fn) + (context ? '_' + util.stamp(context) : ''),\n\t handler = obj[eventKey] && obj[eventKey][id];\n\t\n\t if (!handler) {\n\t return;\n\t }\n\t\n\t if ('removeEventListener' in obj) {\n\t if (type === 'mouseenter' || type === 'mouseleave') {\n\t obj.removeEventListener((type === 'mouseenter') ?\n\t 'mouseover' : 'mouseout', handler, false);\n\t } else {\n\t if (type === 'mousewheel') {\n\t obj.removeEventListener('DOMMouseScroll', handler, false);\n\t }\n\t\n\t obj.removeEventListener(type, handler, false);\n\t }\n\t } else if ('detachEvent' in obj) {\n\t try {\n\t obj.detachEvent('on' + type, handler);\n\t } catch (e) {} //eslint-disable-line\n\t }\n\t\n\t delete obj[eventKey][id];\n\t\n\t if (util.keys(obj[eventKey]).length) {\n\t return;\n\t }\n\t\n\t // throw exception when deleting host object's property in below IE8\n\t if (util.browser.msie && util.browser.version < 9) {\n\t obj[eventKey] = null;\n\t\n\t return;\n\t }\n\t\n\t delete obj[eventKey];\n\t },\n\t\n\t /**\n\t * Bind DOM event. this event will unbind after invokes.\n\t * @param {HTMLElement} obj HTMLElement to bind events.\n\t * @param {(string|object)} types Space splitted events names or eventName:handler object.\n\t * @param {*} fn handler function or context for handler method.\n\t * @param {*} [context] context object for handler method.\n\t */\n\t once: function(obj, types, fn, context) {\n\t var self = this;\n\t\n\t if (util.isObject(types)) {\n\t util.forEachOwnProperties(types, function(handler, type) {\n\t domevent.once(obj, type, handler, fn);\n\t });\n\t\n\t return;\n\t }\n\t\n\t /**\n\t * Handler for temporary usage for once implementation\n\t */\n\t function onceHandler() {\n\t fn.apply(context || obj, arguments);\n\t self._off(obj, types, onceHandler, context);\n\t }\n\t\n\t domevent.on(obj, types, onceHandler, context);\n\t },\n\t\n\t /**\n\t * Cancel event bubbling.\n\t * @param {Event} e Event object.\n\t */\n\t stopPropagation: function(e) {\n\t if (e.stopPropagation) {\n\t e.stopPropagation();\n\t } else {\n\t e.cancelBubble = true;\n\t }\n\t },\n\t\n\t /**\n\t * Cancel browser default actions.\n\t * @param {Event} e Event object.\n\t */\n\t preventDefault: function(e) {\n\t if (e.preventDefault) {\n\t e.preventDefault();\n\t } else {\n\t e.returnValue = false;\n\t }\n\t },\n\t\n\t /**\n\t * Syntatic sugar of stopPropagation and preventDefault\n\t * @param {Event} e Event object.\n\t */\n\t stop: function(e) {\n\t domevent.preventDefault(e);\n\t domevent.stopPropagation(e);\n\t },\n\t\n\t /**\n\t * Stop scroll events.\n\t * @param {HTMLElement} el HTML element to prevent scroll.\n\t */\n\t disableScrollPropagation: function(el) {\n\t domevent.on(el, 'mousewheel MozMousePixelScroll', domevent.stopPropagation);\n\t },\n\t\n\t /**\n\t * Stop all events related with click.\n\t * @param {HTMLElement} el HTML element to prevent all event related with click.\n\t */\n\t disableClickPropagation: function(el) {\n\t domevent.on(el, DRAG.START.join(' ') + ' click dblclick', domevent.stopPropagation);\n\t },\n\t\n\t /**\n\t * Get mouse position from mouse event.\n\t *\n\t * If supplied relatveElement parameter then return relative position based on element.\n\t * @param {Event} mouseEvent Mouse event object\n\t * @param {HTMLElement} relativeElement HTML element that calculate relative position.\n\t * @returns {number[]} mouse position.\n\t */\n\t getMousePosition: function(mouseEvent, relativeElement) {\n\t var rect;\n\t\n\t if (!relativeElement) {\n\t return [mouseEvent.clientX, mouseEvent.clientY];\n\t }\n\t\n\t rect = relativeElement.getBoundingClientRect();\n\t\n\t return [\n\t mouseEvent.clientX - rect.left - relativeElement.clientLeft,\n\t mouseEvent.clientY - rect.top - relativeElement.clientTop\n\t ];\n\t },\n\t\n\t /**\n\t * Normalize mouse wheel event that different each browsers.\n\t * @param {MouseEvent} e Mouse wheel event.\n\t * @returns {Number} delta\n\t */\n\t getWheelDelta: function(e) {\n\t var delta = 0;\n\t\n\t if (e.wheelDelta) {\n\t delta = e.wheelDelta / 120;\n\t }\n\t\n\t if (e.detail) {\n\t delta = -e.detail / 3;\n\t }\n\t\n\t return delta;\n\t },\n\t\n\t /**\n\t * prevent firing mouseleave event when mouse entered child elements.\n\t * @param {HTMLElement} el HTML element\n\t * @param {MouseEvent} e Mouse event\n\t * @returns {Boolean} leave?\n\t * @private\n\t */\n\t _checkMouse: function(el, e) {\n\t var related = e.relatedTarget;\n\t\n\t if (!related) {\n\t return true;\n\t }\n\t\n\t try {\n\t while (related && (related !== el)) {\n\t related = related.parentNode;\n\t }\n\t } catch (err) {\n\t return false;\n\t }\n\t\n\t return (related !== el);\n\t },\n\t\n\t /**\n\t * Trigger specific events to html element.\n\t * @param {HTMLElement} obj HTMLElement\n\t * @param {string} type Event type name\n\t * @param {object} [eventData] Event data\n\t */\n\t trigger: function(obj, type, eventData) {\n\t var rMouseEvent = /(mouse|click)/;\n\t if (util.isUndefined(eventData) && rMouseEvent.exec(type)) {\n\t eventData = domevent.mouseEvent(type);\n\t }\n\t\n\t if (obj.dispatchEvent) {\n\t obj.dispatchEvent(eventData);\n\t } else if (obj.fireEvent) {\n\t obj.fireEvent('on' + type, eventData);\n\t }\n\t },\n\t\n\t /**\n\t * Create virtual mouse event.\n\t *\n\t * Tested at\n\t *\n\t * - IE7 ~ IE11\n\t * - Chrome\n\t * - Firefox\n\t * - Safari\n\t * @param {string} type Event type\n\t * @param {object} [eventObj] Event data\n\t * @returns {MouseEvent} Virtual mouse event.\n\t */\n\t mouseEvent: function(type, eventObj) {\n\t var evt,\n\t e;\n\t\n\t e = util.extend({\n\t bubbles: true,\n\t cancelable: (type !== 'mousemove'),\n\t view: window,\n\t wheelDelta: 0,\n\t detail: 0,\n\t screenX: 0,\n\t screenY: 0,\n\t clientX: 0,\n\t clientY: 0,\n\t ctrlKey: false,\n\t altKey: false,\n\t shiftKey: false,\n\t metaKey: false,\n\t button: 0,\n\t relatedTarget: undefined // eslint-disable-line\n\t }, eventObj);\n\t\n\t // prevent throw error when inserting wheelDelta property to mouse event on below IE8\n\t if (browser.msie && browser.version < 9) {\n\t delete e.wheelDelta;\n\t }\n\t\n\t if (typeof document.createEvent === 'function') {\n\t evt = document.createEvent('MouseEvents');\n\t evt.initMouseEvent(type,\n\t e.bubbles, e.cancelable, e.view, e.detail,\n\t e.screenX, e.screenY, e.clientX, e.clientY,\n\t e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,\n\t e.button, document.body.parentNode\n\t );\n\t } else if (document.createEventObject) {\n\t evt = document.createEventObject();\n\t\n\t util.forEach(e, function(value, propName) {\n\t evt[propName] = value;\n\t }, this);\n\t evt.button = {0: 1,\n\t 1: 4,\n\t 2: 2}[evt.button] || evt.button;\n\t }\n\t\n\t return evt;\n\t },\n\t\n\t /**\n\t * Normalize mouse event's button attributes.\n\t *\n\t * Can detect which button is clicked by this method.\n\t *\n\t * Meaning of return numbers\n\t *\n\t * - 0: primary mouse button\n\t * - 1: wheel button or center button\n\t * - 2: secondary mouse button\n\t * @param {MouseEvent} mouseEvent - The mouse event object want to know.\n\t * @returns {number} - The value of meaning which button is clicked?\n\t */\n\t getMouseButton: function(mouseEvent) {\n\t var button,\n\t primary = '0,1,3,5,7',\n\t secondary = '2,6',\n\t wheel = '4';\n\t\n\t /* istanbul ignore else */\n\t if (document.implementation.hasFeature('MouseEvents', '2.0')) {\n\t return mouseEvent.button;\n\t }\n\t\n\t button = String(mouseEvent.button);\n\t if (primary.indexOf(button) > -1) {\n\t return 0;\n\t }\n\t if (secondary.indexOf(button) > -1) {\n\t return 2;\n\t }\n\t if (~wheel.indexOf(button)) {\n\t return 1;\n\t }\n\t\n\t return -1;\n\t }\n\t};\n\t\n\tmodule.exports = domevent;\n\t\n\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.extend = extend;\n\texports.indexOf = indexOf;\n\texports.escapeExpression = escapeExpression;\n\texports.isEmpty = isEmpty;\n\texports.createFrame = createFrame;\n\texports.blockParams = blockParams;\n\texports.appendContextPath = appendContextPath;\n\tvar escape = {\n\t '&': '&',\n\t '<': '<',\n\t '>': '>',\n\t '\"': '"',\n\t \"'\": ''',\n\t '`': '`',\n\t '=': '='\n\t};\n\t\n\tvar badChars = /[&<>\"'`=]/g,\n\t possible = /[&<>\"'`=]/;\n\t\n\tfunction escapeChar(chr) {\n\t return escape[chr];\n\t}\n\t\n\tfunction extend(obj /* , ...source */) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t for (var key in arguments[i]) {\n\t if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n\t obj[key] = arguments[i][key];\n\t }\n\t }\n\t }\n\t\n\t return obj;\n\t}\n\t\n\tvar toString = Object.prototype.toString;\n\t\n\texports.toString = toString;\n\t// Sourced from lodash\n\t// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt\n\t/* eslint-disable func-style */\n\tvar isFunction = function isFunction(value) {\n\t return typeof value === 'function';\n\t};\n\t// fallback for older versions of Chrome and Safari\n\t/* istanbul ignore next */\n\tif (isFunction(/x/)) {\n\t exports.isFunction = isFunction = function (value) {\n\t return typeof value === 'function' && toString.call(value) === '[object Function]';\n\t };\n\t}\n\texports.isFunction = isFunction;\n\t\n\t/* eslint-enable func-style */\n\t\n\t/* istanbul ignore next */\n\tvar isArray = Array.isArray || function (value) {\n\t return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;\n\t};\n\t\n\texports.isArray = isArray;\n\t// Older IE versions do not directly support indexOf so we must implement our own, sadly.\n\t\n\tfunction indexOf(array, value) {\n\t for (var i = 0, len = array.length; i < len; i++) {\n\t if (array[i] === value) {\n\t return i;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\tfunction escapeExpression(string) {\n\t if (typeof string !== 'string') {\n\t // don't escape SafeStrings, since they're already safe\n\t if (string && string.toHTML) {\n\t return string.toHTML();\n\t } else if (string == null) {\n\t return '';\n\t } else if (!string) {\n\t return string + '';\n\t }\n\t\n\t // Force a string conversion as this will be done by the append regardless and\n\t // the regex test will do this transparently behind the scenes, causing issues if\n\t // an object's to string has escaped characters in it.\n\t string = '' + string;\n\t }\n\t\n\t if (!possible.test(string)) {\n\t return string;\n\t }\n\t return string.replace(badChars, escapeChar);\n\t}\n\t\n\tfunction isEmpty(value) {\n\t if (!value && value !== 0) {\n\t return true;\n\t } else if (isArray(value) && value.length === 0) {\n\t return true;\n\t } else {\n\t return false;\n\t }\n\t}\n\t\n\tfunction createFrame(object) {\n\t var frame = extend({}, object);\n\t frame._parent = object;\n\t return frame;\n\t}\n\t\n\tfunction blockParams(params, ids) {\n\t params.path = ids;\n\t return params;\n\t}\n\t\n\tfunction appendContextPath(contextPath, id) {\n\t return (contextPath ? contextPath + '.' : '') + id;\n\t}\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3V0aWxzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNLE1BQU0sR0FBRztBQUNiLEtBQUcsRUFBRSxPQUFPO0FBQ1osS0FBRyxFQUFFLE1BQU07QUFDWCxLQUFHLEVBQUUsTUFBTTtBQUNYLEtBQUcsRUFBRSxRQUFRO0FBQ2IsS0FBRyxFQUFFLFFBQVE7QUFDYixLQUFHLEVBQUUsUUFBUTtBQUNiLEtBQUcsRUFBRSxRQUFRO0NBQ2QsQ0FBQzs7QUFFRixJQUFNLFFB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ZTtcbiAgfSBlbHNlIHtcbiAgICByZXR1cm4gZmFsc2U7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGNyZWF0ZUZyYW1lKG9iamVjdCkge1xuICBsZXQgZnJhbWUgPSBleHRlbmQoe30sIG9iamVjdCk7XG4gIGZyYW1lLl9wYXJlbnQgPSBvYmplY3Q7XG4gIHJldHVybiBmcmFtZTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGJsb2NrUGFyYW1zKHBhcmFtcywgaWRzKSB7XG4gIHBhcmFtcy5wYXRoID0gaWRzO1xuICByZXR1cm4gcGFyYW1zO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gYXBwZW5kQ29udGV4dFBhdGgoY29udGV4dFBhdGgsIGlkKSB7XG4gIHJldHVybiAoY29udGV4dFBhdGggPyBjb250ZXh0UGF0aCArICcuJyA6ICcnKSArIGlkO1xufVxuIl19\n\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Common collections.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar forEachProp = util.forEachOwnProperties,\n\t forEachArr = util.forEachArray,\n\t isFunc = util.isFunction,\n\t isObj = util.isObject;\n\t\n\tvar aps = Array.prototype.slice;\n\t\n\t/**\n\t * Common collection.\n\t *\n\t * It need function for get model's unique id.\n\t *\n\t * if the function is not supplied then it use default function {@link Collection#getItemID}\n\t * @constructor\n\t * @param {function} [getItemIDFn] function for get model's id.\n\t */\n\tfunction Collection(getItemIDFn) {\n\t /**\n\t * @type {object.}\n\t */\n\t this.items = {};\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.length = 0;\n\t\n\t if (isFunc(getItemIDFn)) {\n\t /**\n\t * @type {function}\n\t */\n\t this.getItemID = getItemIDFn;\n\t }\n\t}\n\t\n\t/**********\n\t * static props\n\t **********/\n\t\n\t/**\n\t * Combind supplied function filters and condition.\n\t * @param {...function} filters - function filters\n\t * @returns {function} combined filter\n\t */\n\tCollection.and = function(filters) {\n\t var cnt;\n\t\n\t filters = aps.call(arguments);\n\t cnt = filters.length;\n\t\n\t return function(item) {\n\t var i = 0;\n\t\n\t for (; i < cnt; i += 1) {\n\t if (!filters[i].call(null, item)) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t };\n\t};\n\t\n\t/**\n\t * Combine multiple function filters with OR clause.\n\t * @param {...function} filters - function filters\n\t * @returns {function} combined filter\n\t */\n\tCollection.or = function(filters) {\n\t var cnt;\n\t\n\t filters = aps.call(arguments);\n\t cnt = filters.length;\n\t\n\t return function(item) {\n\t var i = 1,\n\t result = filters[0].call(null, item);\n\t\n\t for (; i < cnt; i += 1) {\n\t result = (result || filters[i].call(null, item));\n\t }\n\t\n\t return result;\n\t };\n\t};\n\t\n\t/**\n\t * Merge several collections.\n\t *\n\t * You can\\'t merge collections different _getScheduleID functions. Take case of use.\n\t * @param {...Collection} collections collection arguments to merge\n\t * @returns {Collection} merged collection.\n\t */\n\tCollection.merge = function(collections) { // eslint-disable-line\n\t var cols = aps.call(arguments),\n\t newItems = {},\n\t merged = new Collection(cols[0].getItemID),\n\t extend = util.extend;\n\t\n\t forEachArr(cols, function(col) {\n\t extend(newItems, col.items);\n\t });\n\t\n\t merged.items = newItems;\n\t merged.length = util.keys(merged.items).length;\n\t\n\t return merged;\n\t};\n\t\n\t/**********\n\t * prototype props\n\t **********/\n\t\n\t/**\n\t * get model's unique id.\n\t * @param {object} item model instance.\n\t * @returns {number} model unique id.\n\t */\n\tCollection.prototype.getItemID = function(item) {\n\t return String(item._id);\n\t};\n\t\n\t/**\n\t * add models.\n\t * @param {...*} item models to add this collection.\n\t */\n\tCollection.prototype.add = function(item) {\n\t var self = this,\n\t id,\n\t ownItems;\n\t\n\t if (arguments.length > 1) {\n\t forEachArr(aps.call(arguments), function(o) {\n\t self.add(o);\n\t });\n\t\n\t return;\n\t }\n\t\n\t id = this.getItemID(item);\n\t ownItems = this.items;\n\t\n\t if (!ownItems[id]) {\n\t this.length += 1;\n\t }\n\t ownItems[id] = item;\n\t};\n\t\n\t/**\n\t * remove models.\n\t * @param {...(object|string|number)} id model instance or unique id to delete.\n\t * @returns {array} deleted model list.\n\t */\n\tCollection.prototype.remove = function(id) {\n\t var self = this,\n\t removed = [],\n\t ownItems,\n\t itemToRemove;\n\t\n\t if (!this.length) {\n\t return removed;\n\t }\n\t\n\t if (arguments.length > 1) {\n\t removed = util.map(aps.call(arguments), function(_id) {\n\t return self.remove(_id);\n\t });\n\t\n\t return removed;\n\t }\n\t\n\t ownItems = this.items;\n\t\n\t if (isObj(id)) {\n\t id = this.getItemID(id);\n\t }\n\t\n\t if (!ownItems[id]) {\n\t return removed;\n\t }\n\t\n\t this.length -= 1;\n\t itemToRemove = ownItems[id];\n\t delete ownItems[id];\n\t\n\t return itemToRemove;\n\t};\n\t\n\t/**\n\t * remove all models in collection.\n\t */\n\tCollection.prototype.clear = function() {\n\t this.items = {};\n\t this.length = 0;\n\t};\n\t\n\t/**\n\t * check collection has specific model.\n\t * @param {(object|string|number|function)} id model instance or id or filter function to check\n\t * @returns {boolean} is has model?\n\t */\n\tCollection.prototype.has = function(id) {\n\t var isFilter,\n\t has;\n\t\n\t if (!this.length) {\n\t return false;\n\t }\n\t\n\t isFilter = isFunc(id);\n\t has = false;\n\t\n\t if (isFilter) {\n\t this.each(function(item) {\n\t if (id(item) === true) {\n\t has = true;\n\t\n\t return false; // returning false can stop this loop\n\t }\n\t\n\t return true;\n\t });\n\t } else {\n\t id = isObj(id) ? this.getItemID(id) : id;\n\t has = util.isExisty(this.items[id]);\n\t }\n\t\n\t return has;\n\t};\n\t\n\t/**\n\t * invoke callback when model exist in collection.\n\t * @param {(string|number)} id model unique id.\n\t * @param {function} fn the callback.\n\t * @param {*} [context] callback context.\n\t */\n\tCollection.prototype.doWhenHas = function(id, fn, context) {\n\t var item = this.items[id];\n\t\n\t if (!util.isExisty(item)) {\n\t return;\n\t }\n\t\n\t fn.call(context || this, item);\n\t};\n\t\n\t/**\n\t * Search model. and return new collection.\n\t * @param {function} filter filter function.\n\t * @returns {Collection} new collection with filtered models.\n\t * @example\n\t * collection.find(function(item) {\n\t * return item.edited === true;\n\t * });\n\t *\n\t * function filter1(item) {\n\t * return item.edited === false;\n\t * }\n\t *\n\t * function filter2(item) {\n\t * return item.disabled === false;\n\t * }\n\t *\n\t * collection.find(Collection.and(filter1, filter2));\n\t *\n\t * collection.find(Collection.or(filter1, filter2));\n\t */\n\tCollection.prototype.find = function(filter) {\n\t var result = new Collection();\n\t\n\t if (this.hasOwnProperty('getItemID')) {\n\t result.getItemID = this.getItemID;\n\t }\n\t\n\t this.each(function(item) {\n\t if (filter(item) === true) {\n\t result.add(item);\n\t }\n\t });\n\t\n\t return result;\n\t};\n\t\n\t/**\n\t * Group element by specific key values.\n\t *\n\t * if key parameter is function then invoke it and use returned value.\n\t * @param {(string|number|function|array)} key key property or getter function.\n\t * if string[] supplied, create each collection before grouping.\n\t * @param {function} [groupFunc] - function that return each group's key\n\t * @returns {object.} grouped object\n\t * @example\n\t *\n\t * // pass `string`, `number`, `boolean` type value then group by property value.\n\t * collection.groupBy('gender'); // group by 'gender' property value.\n\t * collection.groupBy(50); // group by '50' property value.\n\t *\n\t * // pass `function` then group by return value. each invocation `function` is called with `(item)`.\n\t * collection.groupBy(function(item) {\n\t * if (item.score > 60) {\n\t * return 'pass';\n\t * }\n\t * return 'fail';\n\t * });\n\t *\n\t * // pass `array` with first arguments then create each collection before grouping.\n\t * collection.groupBy(['go', 'ruby', 'javascript']);\n\t * // result: { 'go': empty Collection, 'ruby': empty Collection, 'javascript': empty Collection }\n\t *\n\t * // can pass `function` with `array` then group each elements.\n\t * collection.groupBy(['go', 'ruby', 'javascript'], function(item) {\n\t * if (item.isFast) {\n\t * return 'go';\n\t * }\n\t *\n\t * return item.name;\n\t * });\n\t */\n\tCollection.prototype.groupBy = function(key, groupFunc) {\n\t var result = {},\n\t collection,\n\t baseValue,\n\t keyIsFunc = isFunc(key),\n\t getItemIDFn = this.getItemID;\n\t\n\t if (util.isArray(key)) {\n\t util.forEachArray(key, function(k) {\n\t result[String(k)] = new Collection(getItemIDFn);\n\t });\n\t\n\t if (!groupFunc) {\n\t return result;\n\t }\n\t\n\t key = groupFunc;\n\t keyIsFunc = true;\n\t }\n\t\n\t this.each(function(item) {\n\t if (keyIsFunc) {\n\t baseValue = key(item);\n\t } else {\n\t baseValue = item[key];\n\t\n\t if (isFunc(baseValue)) {\n\t baseValue = baseValue.apply(item);\n\t }\n\t }\n\t\n\t collection = result[baseValue];\n\t\n\t if (!collection) {\n\t collection = result[baseValue] = new Collection(getItemIDFn);\n\t }\n\t\n\t collection.add(item);\n\t });\n\t\n\t return result;\n\t};\n\t\n\t/**\n\t * Return single item in collection.\n\t *\n\t * Returned item is inserted in this collection firstly.\n\t * @param {function} [filter] - function filter\n\t * @returns {object} item.\n\t */\n\tCollection.prototype.single = function(filter) {\n\t var result,\n\t useFilter = util.isFunction(filter);\n\t\n\t this.each(function(item) {\n\t if (!useFilter) {\n\t result = item;\n\t\n\t return false; // returning false can stop this loop\n\t }\n\t if (filter(item)) {\n\t result = item;\n\t\n\t return false; // returning false can stop this loop\n\t }\n\t\n\t return true;\n\t }, this);\n\t\n\t return result;\n\t};\n\t\n\t/**\n\t * sort a basis of supplied compare function.\n\t * @param {function} compareFunction compareFunction\n\t * @returns {array} sorted array.\n\t */\n\tCollection.prototype.sort = function(compareFunction) {\n\t var arr = [];\n\t\n\t this.each(function(item) {\n\t arr.push(item);\n\t });\n\t\n\t if (isFunc(compareFunction)) {\n\t arr = arr.sort(compareFunction);\n\t }\n\t\n\t return arr;\n\t};\n\t\n\t/**\n\t * iterate each model element.\n\t *\n\t * when iteratee return false then break the loop.\n\t * @param {function} iteratee iteratee(item, index, items)\n\t * @param {*} [context] context\n\t */\n\tCollection.prototype.each = function(iteratee, context) {\n\t forEachProp(this.items, iteratee, context || this);\n\t};\n\t\n\t/**\n\t * return new array with collection items.\n\t * @returns {array} new array.\n\t */\n\tCollection.prototype.toArray = function() {\n\t if (!this.length) {\n\t return [];\n\t }\n\t\n\t return util.map(this.items, function(item) {\n\t return item;\n\t });\n\t};\n\t\n\tmodule.exports = Collection;\n\t\n\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview RequestAnimFrame\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar requestFn,\n\t cancelFn;\n\t\n\t/**\n\t * Get name with vendor prefix\n\t * @param {string} name - name to prepend prefix\n\t * @returns {string} vendor prefixed name\n\t */\n\tfunction getPrefixed(name) {\n\t return global['webkit' + name] || global['moz' + name] || global['ms' + name];\n\t}\n\t\n\trequestFn = global.requestAnimationFrame ||\n\t getPrefixed('RequestAnimationFrame') ||\n\t function(fn, context) {\n\t fn.call(context);\n\t };\n\t\n\tcancelFn = global.cancelAnimationFrame ||\n\t getPrefixed('CancelAnimationFrame') ||\n\t getPrefixed('CancelRequestAnimationFrame') ||\n\t function() {};\n\t\n\t/**\n\t * @module module:reqAnimFrame\n\t */\n\t\n\tmodule.exports = {\n\t /**\n\t * Shim of requestAnimationFrame\n\t * @param {function} fn callback function\n\t * @param {*} context context for callback\n\t * @returns {number} Unique id\n\t */\n\t requestAnimFrame: function(fn, context) {\n\t return requestFn.call(global, util.bind(fn, context));\n\t },\n\t\n\t /**\n\t * Shim of cancelAnimationFrame\n\t * @param {number} id requestAnimationFrame id\n\t */\n\t cancelAnimFrame: function(id) {\n\t if (!id) {\n\t return;\n\t }\n\t\n\t cancelFn.call(global, id);\n\t }\n\t};\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];\n\t\n\tfunction Exception(message, node) {\n\t var loc = node && node.loc,\n\t line = undefined,\n\t column = undefined;\n\t if (loc) {\n\t line = loc.start.line;\n\t column = loc.start.column;\n\t\n\t message += ' - ' + line + ':' + column;\n\t }\n\t\n\t var tmp = Error.prototype.constructor.call(this, message);\n\t\n\t // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.\n\t for (var idx = 0; idx < errorProps.length; idx++) {\n\t this[errorProps[idx]] = tmp[errorProps[idx]];\n\t }\n\t\n\t /* istanbul ignore else */\n\t if (Error.captureStackTrace) {\n\t Error.captureStackTrace(this, Exception);\n\t }\n\t\n\t try {\n\t if (loc) {\n\t this.lineNumber = line;\n\t\n\t // Work around issue under safari where we can't directly set the column value\n\t /* istanbul ignore next */\n\t if (Object.defineProperty) {\n\t Object.defineProperty(this, 'column', {\n\t value: column,\n\t enumerable: true\n\t });\n\t } else {\n\t this.column = column;\n\t }\n\t }\n\t } catch (nop) {\n\t /* Ignore if the browser is very particular */\n\t }\n\t}\n\t\n\tException.prototype = new Error();\n\t\n\texports['default'] = Exception;\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2V4Y2VwdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQ0EsSUFBTSxVQUFVLEdBQUcsQ0FBQyxhQUFhLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxPQUFPLENBQUMsQ0FBQzs7QUFFbkcsU0FBUyxTQUFTLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRTtBQUNoQyxNQUFJLEdBQUcsR0FBRyxJQUFJLElBQUksSUFBSSxDQUFDLEdBQUc7TUFDdEIsSUFBSSxZQUFBO01BQ0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mVTdGFja1RyYWNlKSB7XG4gICAgRXJyb3IuY2FwdHVyZVN0YWNrVHJhY2UodGhpcywgRXhjZXB0aW9uKTtcbiAgfVxuXG4gIHRyeSB7XG4gICAgaWYgKGxvYykge1xuICAgICAgdGhpcy5saW5lTnVtYmVyID0gbGluZTtcblxuICAgICAgLy8gV29yayBhcm91bmQgaXNzdWUgdW5kZXIgc2FmYXJpIHdoZXJlIHdlIGNhbid0IGRpcmVjdGx5IHNldCB0aGUgY29sdW1uIHZhbHVlXG4gICAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICAgICAgaWYgKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkge1xuICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkodGhpcywgJ2NvbHVtbicsIHtcbiAgICAgICAgICB2YWx1ZTogY29sdW1uLFxuICAgICAgICAgIGVudW1lcmFibGU6IHRydWVcbiAgICAgICAgfSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aGlzLmNvbHVtbiA9IGNvbHVtbjtcbiAgICAgIH1cbiAgICB9XG4gIH0gY2F0Y2ggKG5vcCkge1xuICAgIC8qIElnbm9yZSBpZiB0aGUgYnJvd3NlciBpcyB2ZXJ5IHBhcnRpY3VsYXIgKi9cbiAgfVxufVxuXG5FeGNlcHRpb24ucHJvdG90eXBlID0gbmV3IEVycm9yKCk7XG5cbmV4cG9ydCBkZWZhdWx0IEV4Y2VwdGlvbjtcbiJdfQ==\n\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Utility module for array sort, binary search.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar datetime = __webpack_require__(4);\n\t\n\t/**\n\t * A module for sorting array.\n\t * @module array\n\t */\n\t\n\t/**********\n\t * Search\n\t **********/\n\t\n\t/**\n\t * search item index using binary search algorithm.\n\t *\n\t * the array must be sorted.\n\t * @param {array} arr array to search.\n\t * @param {(string|number|boolean)} search value to search.\n\t * @param {function} [fn] iteratee for retrieve each element's value to search.\n\t * @param {function} [compare] compare function for specific sort status. default is string ascending.\n\t * @returns {number} The number of item index searched. return negative number when no exist that item.\n\t * It can use insert index after Math.abs()\n\t * @example\n\t *\n\t * var arr = [1, 3, 7, 11, 15, 23];\n\t *\n\t * function sortNumber(a, b) {\n\t * return a - b;\n\t * }\n\t *\n\t * bsearch(arr, 15, null, sortNumber); // 4\n\t * bsearch(arr, 21, null, sortNumber); // -5\n\t *\n\t * arr.splice(Math.abs(bsearch(arr, 21, null, sortNumber)), 0, 21);\n\t * // [1, 2, 7, 11, 15, 21, 23]\n\t */\n\tfunction bsearch(arr, search, fn, compare) {\n\t var minIndex = 0,\n\t maxIndex = arr.length - 1,\n\t currentIndex,\n\t value,\n\t comp;\n\t\n\t compare = compare || stringASC;\n\t\n\t while (minIndex <= maxIndex) {\n\t currentIndex = (minIndex + maxIndex) / 2 | 0; // Math.floor\n\t value = fn ? fn(arr[currentIndex]) : arr[currentIndex];\n\t comp = compare(value, search);\n\t\n\t if (comp < 0) {\n\t minIndex = currentIndex + 1;\n\t } else if (comp > 0) {\n\t maxIndex = currentIndex - 1;\n\t } else {\n\t return currentIndex;\n\t }\n\t }\n\t\n\t return ~maxIndex;\n\t}\n\t\n\t/**********\n\t * Compare Functions\n\t **********/\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by ascending.\n\t * @param {boolean} a The boolean to compare\n\t * @param {boolean} b The boolean to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction booleanASC(a, b) {\n\t if (a !== b) {\n\t return a ? -1 : 1;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by descending.\n\t * @param {boolean} a The boolean to compare\n\t * @param {boolean} b The boolean to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction booleanDESC(a, b) {\n\t if (a !== b) {\n\t return a ? 1 : -1;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by number ascending.\n\t * @param {number} _a The number to compare.\n\t * @param {number} _b The number to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction numberASC(_a, _b) {\n\t var a = Number(_a),\n\t b = Number(_b);\n\t\n\t return a - b;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by number descending.\n\t * @param {number} _a The number to compare.\n\t * @param {number} _b The number to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction numberDESC(_a, _b) {\n\t var a = Number(_a),\n\t b = Number(_b);\n\t\n\t return b - a;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by string ascending\n\t * @param {string} _a The string to compare.\n\t * @param {string} _b The string to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction stringASC(_a, _b) {\n\t var a = String(_a),\n\t b = String(_b);\n\t\n\t if (a > b) {\n\t return 1;\n\t }\n\t if (a < b) {\n\t return -1;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by string descending\n\t * @param {string} _a The string to compare.\n\t * @param {string} _b The string to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction stringDESC(_a, _b) {\n\t var a = String(_a),\n\t b = String(_b);\n\t\n\t if (a > b) {\n\t return -1;\n\t }\n\t if (a < b) {\n\t return 1;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by string ascending with ignore case.\n\t * @param {string} _a The string to compare.\n\t * @param {string} _b The string to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction stringASCIgnoreCase(_a, _b) {\n\t var a = String(_a).toLowerCase(),\n\t b = String(_b).toLowerCase();\n\t\n\t if (a > b) {\n\t return 1;\n\t }\n\t if (a < b) {\n\t return -1;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\t/**\n\t * compare function for array sort.\n\t *\n\t * sort array by string descending with ignore case.\n\t * @param {string} _a The string to compare.\n\t * @param {string} _b The string to compare.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction stringDESCIgnoreCase(_a, _b) {\n\t var a = String(_a).toLowerCase(),\n\t b = String(_b).toLowerCase();\n\t\n\t if (a > b) {\n\t return -1;\n\t }\n\t if (a < b) {\n\t return 1;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\t/**\n\t * Compare schedule models for sort.\n\t *\n\t * 1. all day schedule first.\n\t * 2. early start.\n\t * 3. longest duration.\n\t * 4. early created.\n\t * @param {Schedule|ScheduleViewModel} a The object schedule instance.\n\t * @param {Schedule|ScheduleViewModel} b The object schedule instance.\n\t * @returns {number} Result of comparison.\n\t */\n\tfunction scheduleASC(a, b) {\n\t var durationA, durationB;\n\t var allDayCompare, startsCompare;\n\t var modelA = a.valueOf();\n\t var modelB = b.valueOf();\n\t\n\t allDayCompare = booleanASC(modelA.isAllDay || a.hasMultiDates, modelB.isAllDay || b.hasMultiDates);\n\t\n\t if (allDayCompare) {\n\t return allDayCompare;\n\t }\n\t\n\t startsCompare = datetime.compare(a.getStarts(), b.getStarts());\n\t\n\t if (startsCompare) {\n\t return startsCompare;\n\t }\n\t\n\t durationA = a.duration().getTime();\n\t durationB = b.duration().getTime();\n\t\n\t if (durationA < durationB) {\n\t return 1;\n\t }\n\t if (durationA > durationB) {\n\t return -1;\n\t }\n\t\n\t return util.stamp(modelA) - util.stamp(modelB);\n\t}\n\t\n\tmodule.exports = {\n\t bsearch: bsearch,\n\t compare: {\n\t schedule: {\n\t asc: scheduleASC\n\t },\n\t bool: {\n\t asc: booleanASC,\n\t desc: booleanDESC\n\t },\n\t num: {\n\t asc: numberASC,\n\t desc: numberDESC\n\t },\n\t str: {\n\t asc: stringASC,\n\t desc: stringDESC,\n\t ascIgnoreCase: stringASCIgnoreCase,\n\t descIgnoreCase: stringDESCIgnoreCase\n\t }\n\t }\n\t};\n\t\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Wrapper module for easy calc date object\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * @constructor\n\t * @param {Date} date to wrapping DW class\n\t */\n\tfunction DW(date) {\n\t if (!(this instanceof DW)) {\n\t return new DW(date);\n\t }\n\t\n\t if (!(date instanceof TZDate)) {\n\t date = new TZDate(date);\n\t }\n\t\n\t /**\n\t * @type {Date}\n\t */\n\t this.d = date;\n\t}\n\t\n\t/**\n\t * Return d property when supplied object is DW. else return itself\n\t * @param {*} obj - object\n\t * @returns {Date} date\n\t */\n\tDW.prototype.safe = function(obj) {\n\t if (obj.constructor === DW) {\n\t return obj.d;\n\t }\n\t\n\t return obj;\n\t};\n\t\n\t/**\n\t * Clone DW object\n\t * @returns {DW} cloned dwrap object\n\t */\n\tDW.prototype.clone = function() {\n\t return new DW(new TZDate(Number(this.d)));\n\t};\n\t\n\t/**\n\t * Add days\n\t * @param {number} day - day to add\n\t * @returns {DW} wrapper object\n\t */\n\tDW.prototype.addDate = function(day) {\n\t this.d.setDate(this.d.getDate() + day);\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Add month. If month value is changed, date set to 1.\n\t * @param {number} m - month to add\n\t * @returns {DW} wrapper object\n\t */\n\tDW.prototype.addMonth = function(m) {\n\t var prevMonth = this.d.getMonth();\n\t var prevYear = this.d.getFullYear();\n\t this.d.setMonth(prevMonth + m);\n\t\n\t // move to first day on the month because plus 1 month on '2017-01-31' means '2017-03-01'\n\t // Don't do it on different year(Because december + 1month is ok)\n\t if (this.d.getFullYear() === prevYear && this.d.getMonth() !== prevMonth) {\n\t this.d.setMonth(prevMonth + m, 1);\n\t }\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Set hour, minutes, seconds, milliseconds\n\t * @param {number} h - hours\n\t * @param {number} m - minutes\n\t * @param {number} s - seconds\n\t * @param {number} ms - milliseconds\n\t * @returns {DW} wrapper object\n\t */\n\tDW.prototype.setHours = function(h, m, s, ms) {\n\t this.d.setHours(h, m, s, ms);\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Whether date is between supplied dates?\n\t * @param {Date|DW} d1 - from date\n\t * @param {Date|DW} d2 - to date\n\t * @returns {boolean} is between?\n\t */\n\tDW.prototype.isBetween = function(d1, d2) {\n\t var safe = this.safe;\n\t\n\t return safe(d1) <= this.d && this.d <= safe(d2);\n\t};\n\t\n\tmodule.exports = DW;\n\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Floating layer module\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t domutil = __webpack_require__(2),\n\t View = __webpack_require__(8);\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options for floating layer module\n\t * @param {HTMLElement} container - parent continer for floating layer\n\t */\n\tfunction FloatingLayer(options, container) {\n\t var sibling = container[FloatingLayer.PROP_KEY],\n\t layerContainer;\n\t\n\t if (!sibling) {\n\t sibling = container[FloatingLayer.PROP_KEY] = [];\n\t }\n\t\n\t sibling.push(this);\n\t\n\t /**\n\t * @type {Collection}\n\t */\n\t this.sibling = sibling;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.zIndex = this.getLargestZIndex() || FloatingLayer.INIT_ZINDEX;\n\t\n\t layerContainer = document.createElement('div');\n\t layerContainer.style.display = 'none';\n\t layerContainer.style.position = 'absolute';\n\t domutil.addClass(layerContainer, config.classname('floating-layer'));\n\t container.appendChild(layerContainer);\n\t\n\t View.call(this, layerContainer);\n\t\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this.parent = container;\n\t}\n\t\n\tutil.inherit(FloatingLayer, View);\n\t\n\t/**\n\t * @const\n\t */\n\tFloatingLayer.PROP_KEY = '__fe_floating_layer';\n\t\n\t/**\n\t * @const\n\t */\n\tFloatingLayer.INIT_ZINDEX = 999;\n\t\n\t/**\n\t * Destroy floating layer instance. if there no instnace in parent container\n\t *\n\t * remove instance cache property in container element\n\t */\n\tFloatingLayer.prototype.destroy = function() {\n\t var parent = this.parent,\n\t sibling = this.sibling,\n\t i = 0, cnt = sibling.length;\n\t\n\t for (; i < cnt; i += 1) {\n\t if (sibling[i] === this) {\n\t sibling.splice(i, 1);\n\t break;\n\t }\n\t }\n\t\n\t if (!sibling.length) {\n\t try {\n\t delete parent[FloatingLayer.PROP_KEY];\n\t } catch (e) {\n\t parent[FloatingLayer.PROP_KEY] = null;\n\t }\n\t\n\t parent.style.position = '';\n\t }\n\t\n\t domutil.remove(this.container);\n\t\n\t this.sibling = null;\n\t\n\t View.prototype.destroy.call(this);\n\t};\n\t\n\t/**\n\t * @returns {boolean} whether layer is visible?\n\t */\n\tFloatingLayer.prototype.isVisible = function() {\n\t return this.container.style.display !== 'none';\n\t};\n\t\n\t/**\n\t * Set layer position\n\t * @param {number} x - x coordinate of layer\n\t * @param {number} y - y coordinate of layer\n\t */\n\tFloatingLayer.prototype.setPosition = function(x, y) {\n\t domutil.setPosition(this.container, x, y);\n\t};\n\t\n\t/**\n\t * Set layer left, top, right, bottom position\n\t * @param {object} ltrb object of left, top, right, bottom\n\t * @param {number} [ltrb.left] left pixel value.\n\t * @param {number} [ltrb.top] top pixel value.\n\t * @param {number} [ltrb.right] right pixel value.\n\t * @param {number} [ltrb.bottom] bottom pixel value.\n\t */\n\tFloatingLayer.prototype.setLTRB = function(ltrb) {\n\t domutil.setLTRB(this.container, ltrb);\n\t};\n\t\n\t/**\n\t * Set layer size\n\t * @param {number|string} w - layer width\n\t * @param {number|string} h - layer height\n\t */\n\tFloatingLayer.prototype.setSize = function(w, h) {\n\t var container = this.container;\n\t\n\t w = util.isNumber(w) ? w + 'px' : w;\n\t h = util.isNumber(h) ? h + 'px' : h;\n\t\n\t container.style.width = w;\n\t container.style.height = h;\n\t};\n\t\n\t/**\n\t * Set layer content\n\t * @param {string} html - html string\n\t */\n\tFloatingLayer.prototype.setContent = function(html) {\n\t this.container.innerHTML = html;\n\t};\n\t\n\t/**\n\t * Get largest z-index from sibling layers\n\t * @returns {number} largest z-index value\n\t */\n\tFloatingLayer.prototype.getLargestZIndex = function() {\n\t var zIndexes = util.map(this.sibling, function(layer) {\n\t return layer.zIndex;\n\t });\n\t\n\t return Math.max.apply(null, zIndexes);\n\t};\n\t\n\t/**\n\t * Set focus to layer\n\t */\n\tFloatingLayer.prototype.focus = function() {\n\t var zIndexForShow = this.getLargestZIndex() + 1;\n\t this.container.style.zIndex = this.zIndex = zIndexForShow;\n\t};\n\t\n\t/**\n\t * Show layer\n\t */\n\tFloatingLayer.prototype.show = function() {\n\t this.focus();\n\t this.container.style.display = 'block';\n\t};\n\t\n\t/**\n\t * Hide layer\n\t */\n\tFloatingLayer.prototype.hide = function() {\n\t this.container.style.display = 'none';\n\t};\n\t\n\tmodule.exports = FloatingLayer;\n\t\n\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* eslint no-shadow: 0 */\n\t/**\n\t * @fileoverview Base mixin object for handler/allday\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar domutil = __webpack_require__(2);\n\tvar domevent = __webpack_require__(9);\n\tvar common = __webpack_require__(6);\n\t\n\tvar mmax = Math.max,\n\t mmin = Math.min;\n\t\n\t/**\n\t * @mixin Allday.Core\n\t */\n\tvar alldayCore = {\n\t /**\n\t * @param {Allday} alldayView - view instance of allday.\n\t * @param {MouseEvent} mouseEvent - mouse schedule object.\n\t * @returns {function|boolean} function that return schedule data by mouse events.\n\t */\n\t _retriveScheduleData: function(alldayView, mouseEvent) {\n\t var weekdayView = alldayView.children.single(),\n\t container,\n\t datesInRange,\n\t containerWidth,\n\t mousePos,\n\t dragStartXIndex,\n\t grids,\n\t range;\n\t\n\t if (!weekdayView) {\n\t return false;\n\t }\n\t\n\t container = weekdayView.container;\n\t range = weekdayView.getRenderDateRange();\n\t datesInRange = range.length;\n\t grids = weekdayView.getRenderDateGrids();\n\t\n\t containerWidth = domutil.getSize(container)[0];\n\t mousePos = domevent.getMousePosition(mouseEvent, container);\n\t dragStartXIndex = getX(grids, common.ratio(containerWidth, 100, mousePos[0]));\n\t\n\t /**\n\t * @param {MouseEvent} mouseEvent - mouse schedule in drag actions.\n\t * @returns {object} schedule data.\n\t */\n\t return function(mouseEvent) {\n\t var pos = domevent.getMousePosition(mouseEvent, container),\n\t mouseX = pos[0],\n\t xIndex = getX(grids, common.ratio(containerWidth, 100, mouseX));\n\t\n\t // apply limitation of creation schedule X index.\n\t xIndex = mmax(xIndex, 0);\n\t xIndex = mmin(xIndex, datesInRange - 1);\n\t\n\t return {\n\t relatedView: alldayView,\n\t dragStartXIndex: dragStartXIndex,\n\t datesInRange: datesInRange,\n\t xIndex: xIndex,\n\t triggerEvent: mouseEvent.type,\n\t grids: grids,\n\t range: range\n\t };\n\t };\n\t }\n\t};\n\t\n\t/**\n\t * Get the left index\n\t * @param {Array} grids - grid size information\n\t * @param {number} left - left position(percent)\n\t * @returns {number} grid left index\n\t */\n\tfunction getX(grids, left) {\n\t var i = 0;\n\t var length = grids.length;\n\t var grid;\n\t for (; i < length; i += 1) {\n\t grid = grids[i];\n\t if (grid.left <= left && left <= (grid.left + grid.width)) {\n\t return i;\n\t }\n\t }\n\t\n\t return i;\n\t}\n\t\n\tmodule.exports = alldayCore;\n\t\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Module for calculate date by month view and mouse event object\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar common = __webpack_require__(6),\n\t domutil = __webpack_require__(2),\n\t domevent = __webpack_require__(9);\n\tvar mfloor = Math.floor;\n\t\n\t/**\n\t * Get high order function that can calc date in mouse point\n\t * @param {Month} monthView - month view\n\t * @returns {function} function return event data by mouse event object\n\t */\n\tfunction getMousePosDate(monthView) {\n\t var weekColl = monthView.children,\n\t weeks = weekColl.sort(function(a, b) {\n\t return util.stamp(a) - util.stamp(b);\n\t }),\n\t weekCount = weekColl.length,\n\t days = weekColl.single().getRenderDateRange(),\n\t dayCount = days.length,\n\t relativeContainer = util.pick(monthView.vLayout.panels[1], 'container'),\n\t size = domutil.getSize(relativeContainer),\n\t grids = monthView.grids;\n\t\n\t /**\n\t * Get the left index\n\t * @param {number} left - left position(percent)\n\t * @returns {number} grid left index\n\t */\n\t function getX(left) {\n\t var i = 0;\n\t var length = grids.length;\n\t var grid;\n\t for (; i < length; i += 1) {\n\t grid = grids[i];\n\t if (grid.left <= left && left <= (grid.left + grid.width)) {\n\t return i;\n\t }\n\t }\n\t\n\t return i;\n\t }\n\t\n\t /**\n\t * Get date related with mouse event object\n\t * @param {object} mouseEvent - click event data\n\t * @returns {object} data related with mouse event\n\t */\n\t function getDate(mouseEvent) {\n\t var pos = domevent.getMousePosition(mouseEvent, relativeContainer),\n\t x = getX(common.ratio(size[0], 100, pos[0])),\n\t y = mfloor(common.ratio(size[1], weekCount, pos[1])),\n\t weekdayView, date;\n\t\n\t weekdayView = util.pick(weeks, y);\n\t\n\t if (!weekdayView) {\n\t return null;\n\t }\n\t\n\t date = util.pick(weekdayView.getRenderDateRange(), x);\n\t\n\t if (!date) {\n\t return null;\n\t }\n\t\n\t return {\n\t x: x,\n\t y: y,\n\t sizeX: dayCount,\n\t sizeY: weekCount,\n\t date: date,\n\t weekdayView: weekdayView,\n\t triggerEvent: mouseEvent.type\n\t };\n\t }\n\t\n\t return getDate;\n\t}\n\t\n\tmodule.exports = getMousePosDate;\n\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Core methods for dragging actions\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar common = __webpack_require__(6);\n\tvar datetime = __webpack_require__(4);\n\tvar domevent = __webpack_require__(9);\n\tvar Point = __webpack_require__(23);\n\t\n\t/**\n\t * @mixin Time.Core\n\t */\n\tvar timeCore = {\n\t /**\n\t * Get Y index ratio(hour) in time grids by supplied parameters.\n\t * @param {number} baseMil - base milliseconds number for supplied height.\n\t * @param {number} height - container element height.\n\t * @param {number} y - Y coordinate to calculate hour ratio.\n\t * @returns {number} hour index ratio value.\n\t */\n\t _calcGridYIndex: function(baseMil, height, y) {\n\t // get ratio from right expression > point.y : x = session.height : baseMil\n\t // and convert milliseconds value to hours.\n\t var result = datetime.millisecondsTo('hour', (y * baseMil) / height),\n\t floored = result | 0,\n\t nearest = common.nearest(result - floored, [0, 1]);\n\t\n\t return floored + (nearest ? 0.5 : 0);\n\t },\n\t\n\t /**\n\t * Get function to makes event data from Time and mouseEvent\n\t * @param {Time} timeView - Instance of time view.\n\t * @returns {function} - Function that return event data from mouse event.\n\t */\n\t _retriveScheduleData: function(timeView) {\n\t var self = this,\n\t container = timeView.container,\n\t options = timeView.options,\n\t viewHeight = timeView.getViewBound().height,\n\t viewTime = Number(timeView.getDate()),\n\t hourLength = options.hourEnd - options.hourStart,\n\t baseMil = datetime.millisecondsFrom('hour', hourLength);\n\t\n\t /**\n\t * @param {MouseEvent} mouseEvent - mouse event object to get common event data.\n\t * @param {object} [extend] - object to extend event data before return.\n\t * @returns {object} - common event data for time.*\n\t */\n\t return util.bind(function(mouseEvent, extend) {\n\t var mouseY = Point.n(domevent.getMousePosition(mouseEvent, container)).y,\n\t gridY = common.ratio(viewHeight, hourLength, mouseY),\n\t timeY = viewTime + datetime.millisecondsFrom('hour', gridY),\n\t nearestGridY = self._calcGridYIndex(baseMil, viewHeight, mouseY),\n\t nearestGridTimeY = viewTime + datetime.millisecondsFrom('hour', nearestGridY + options.hourStart);\n\t\n\t return util.extend({\n\t target: mouseEvent.target || mouseEvent.srcElement,\n\t relatedView: timeView,\n\t originEvent: mouseEvent,\n\t mouseY: mouseY,\n\t gridY: gridY,\n\t timeY: timeY,\n\t nearestGridY: nearestGridY,\n\t nearestGridTimeY: nearestGridTimeY,\n\t triggerEvent: mouseEvent.type\n\t }, extend);\n\t }, this);\n\t },\n\t\n\t /**\n\t * Mixin method.\n\t * @param {(TimeCreation|TimeMove)} obj - Constructor functions\n\t */\n\t mixin: function(obj) {\n\t var proto = obj.prototype;\n\t util.forEach(timeCore, function(method, methodName) {\n\t if (methodName === 'mixin') {\n\t return;\n\t }\n\t\n\t proto[methodName] = method;\n\t });\n\t }\n\t};\n\t\n\tmodule.exports = timeCore;\n\t\n\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* eslint complexity: 0 */\n\t/**\n\t * @fileoverview Model of schedule.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar datetime = __webpack_require__(4);\n\tvar dirty = __webpack_require__(61);\n\tvar model = __webpack_require__(62);\n\t\n\t/**\n\t * 일정 카테고리\n\t * @readonly\n\t * @enum {string}\n\t */\n\tvar SCHEDULE_CATEGORY = {\n\t /** 마일스톤 */\n\t MILESTONE: 'milestone',\n\t\n\t /** 업무 */\n\t TASK: 'task',\n\t\n\t /** 종일일정 */\n\t ALLDAY: 'allday',\n\t\n\t /** 시간별 일정 */\n\t TIME: 'time'\n\t};\n\t\n\t/**\n\t * The model of calendar schedules.\n\t * @constructor\n\t * @mixes dirty\n\t * @mixes model\n\t */\n\tfunction Schedule() {\n\t /**\n\t * `Optional` unique id for various use.\n\t * @type {string}\n\t */\n\t this.id = '';\n\t\n\t /**\n\t * title for schedule.\n\t * @type {string}\n\t */\n\t this.title = '';\n\t\n\t /**\n\t * is schedule is all day schedule?\n\t * @type {boolean}\n\t */\n\t this.isAllDay = false;\n\t\n\t /**\n\t * schedule start\n\t * @type {TZDate}\n\t */\n\t this.start = null;\n\t\n\t /**\n\t * schedule end\n\t * @type {TZDate}\n\t */\n\t this.end = null;\n\t\n\t /**\n\t * schedule text color\n\t * @type {string}\n\t */\n\t this.color = '#000';\n\t\n\t /**\n\t * schedule block visibility\n\t * @type {boolean}\n\t */\n\t this.isVisible = true;\n\t\n\t /**\n\t * schedule background color\n\t * @type {string}\n\t */\n\t this.bgColor = '#a1b56c';\n\t\n\t /**\n\t * schedule left border color\n\t * @type {string}\n\t */\n\t this.borderColor = '#000';\n\t\n\t /**\n\t * 캘린더 ID\n\t * @type {string}\n\t */\n\t this.calendarId = '';\n\t\n\t /**\n\t * 일정 카테고리 (마일스톤, 업무, 종일일정, 시간별일정)\n\t * @type {string}\n\t */\n\t this.category = '';\n\t\n\t /**\n\t * 업무 일정의 경우 구분 (출근전, 점심전, 퇴근전)\n\t * @type {string}\n\t */\n\t this.dueDateClass = '';\n\t\n\t /**\n\t * 커스텀 스타일\n\t * @type {string}\n\t */\n\t this.customStyle = '';\n\t\n\t /**\n\t * in progress flag to do something\n\t * @type {boolean}\n\t */\n\t this.isPending = false;\n\t\n\t /**\n\t * focused schedule flag\n\t * @type {boolean}\n\t */\n\t this.isFocused = false;\n\t\n\t /**\n\t * read-only schedule flag\n\t * @type {boolean}\n\t */\n\t this.isReadOnly = false;\n\t\n\t /**\n\t * 렌더링과 관계 없는 별도 데이터 저장 공간.\n\t * @type {object}\n\t */\n\t this.raw = null;\n\t\n\t // initialize model id\n\t util.stamp(this);\n\t}\n\t\n\t/**********\n\t * static props\n\t **********/\n\t\n\tSchedule.schema = {\n\t required: ['title'],\n\t dateRange: ['start', 'end']\n\t};\n\t\n\t/**\n\t * create schedule model from json(object) data.\n\t * @param {object} data object for model.\n\t * @returns {Schedule} Schedule model instance.\n\t */\n\tSchedule.create = function(data) {\n\t var inst = new Schedule();\n\t inst.init(data);\n\t\n\t return inst;\n\t};\n\t\n\t/**********\n\t * prototype props\n\t **********/\n\t\n\t/**\n\t * Initialize schedule instance.\n\t * @param {object} options options.\n\t */\n\tSchedule.prototype.init = function(options) {\n\t options = util.extend({}, options);\n\t if (options.category === SCHEDULE_CATEGORY.ALLDAY) {\n\t options.isAllDay = true;\n\t }\n\t\n\t this.id = options.id || '';\n\t this.title = options.title || '';\n\t this.isAllDay = util.isExisty(options.isAllDay) ? options.isAllDay : false;\n\t this.isVisible = util.isExisty(options.isVisible) ? options.isVisible : true;\n\t\n\t this.color = options.color || this.color;\n\t this.bgColor = options.bgColor || this.bgColor;\n\t this.borderColor = options.borderColor || this.borderColor;\n\t this.calendarId = options.calendarId || '';\n\t this.category = options.category || '';\n\t this.dueDateClass = options.dueDateClass || '';\n\t this.customStyle = options.customStyle || '';\n\t this.isPending = options.isPending || false;\n\t this.isFocused = options.isFocused || false;\n\t this.isReadOnly = options.isReadOnly || false;\n\t\n\t if (this.isAllDay) {\n\t this.setAllDayPeriod(options.start, options.end);\n\t } else {\n\t this.setTimePeriod(options.start, options.end);\n\t }\n\t\n\t if (options.category === SCHEDULE_CATEGORY.MILESTONE ||\n\t options.category === SCHEDULE_CATEGORY.TASK) {\n\t this.start = new TZDate(this.end);\n\t }\n\t\n\t this.raw = options.raw || null;\n\t};\n\t\n\tSchedule.prototype.setAllDayPeriod = function(start, end) {\n\t // 종일일정인 경우 문자열의 날짜정보만 사용한다.\n\t if (util.isString(start)) {\n\t start = datetime.parse(start.substring(0, 10));\n\t }\n\t if (util.isString(end)) {\n\t end = datetime.parse(end.substring(0, 10));\n\t }\n\t\n\t this.start = start;\n\t this.start.setHours(0, 0, 0);\n\t this.end = end || new TZDate(this.start);\n\t this.end.setHours(23, 59, 59);\n\t};\n\t\n\tSchedule.prototype.setTimePeriod = function(start, end) {\n\t this.start = new TZDate(start || Date.now());\n\t this.end = new TZDate(end || this.start);\n\t\n\t if (!end) {\n\t this.end.setMinutes(this.end.getMinutes() + 30);\n\t }\n\t};\n\t\n\t/**\n\t * @returns {Date} render start date.\n\t */\n\tSchedule.prototype.getStarts = function() {\n\t return this.start;\n\t};\n\t\n\t/**\n\t * @returns {Date} render end date.\n\t */\n\tSchedule.prototype.getEnds = function() {\n\t return this.end;\n\t};\n\t\n\t/**\n\t * @returns {number} instance unique id.\n\t */\n\tSchedule.prototype.cid = function() {\n\t return util.stamp(this);\n\t};\n\t\n\t/**\n\t * Check two schedule are equals (means title, isAllDay, start, end are same)\n\t * @param {Schedule} schedule Schedule model instance to compare.\n\t * @returns {boolean} Return false when not same.\n\t */\n\tSchedule.prototype.equals = function(schedule) {\n\t if (this.id !== schedule.id) {\n\t return false;\n\t }\n\t\n\t if (this.title !== schedule.title) {\n\t return false;\n\t }\n\t\n\t if (this.isAllDay !== schedule.isAllDay) {\n\t return false;\n\t }\n\t\n\t if (datetime.compare(this.getStarts(), schedule.getStarts()) !== 0) {\n\t return false;\n\t }\n\t\n\t if (datetime.compare(this.getEnds(), schedule.getEnds()) !== 0) {\n\t return false;\n\t }\n\t\n\t if (this.color !== schedule.color) {\n\t return false;\n\t }\n\t\n\t if (this.bgColor !== schedule.bgColor) {\n\t return false;\n\t }\n\t\n\t if (this.borderColor !== schedule.borderColor) {\n\t return false;\n\t }\n\t\n\t return true;\n\t};\n\t\n\t/**\n\t * return duration between start and end.\n\t * @returns {Date} duration (UTC)\n\t */\n\tSchedule.prototype.duration = function() {\n\t var start = this.getStarts(),\n\t end = this.getEnds(),\n\t duration;\n\t\n\t if (this.isAllDay) {\n\t duration = new TZDate(datetime.end(end) - datetime.start(start));\n\t } else {\n\t duration = new TZDate(end - start);\n\t }\n\t\n\t return duration;\n\t};\n\t\n\t/**\n\t * Returns true if the given Schedule coincides with the same time as the\n\t * calling Schedule.\n\t * @param {Schedule} schedule The other schedule to compare with this Schedule.\n\t * @returns {boolean} If the other schedule occurs within the same time as the first object.\n\t */\n\tSchedule.prototype.collidesWith = function(schedule) {\n\t var ownStarts = this.getStarts(),\n\t ownEnds = this.getEnds(),\n\t start = schedule.getStarts(),\n\t end = schedule.getEnds();\n\t\n\t if ((start > ownStarts && start < ownEnds) ||\n\t (end > ownStarts && end < ownEnds) ||\n\t (start <= ownStarts && end >= ownEnds)) {\n\t return true;\n\t }\n\t\n\t return false;\n\t};\n\t\n\tmodel.mixin(Schedule.prototype);\n\tdirty.mixin(Schedule.prototype);\n\t\n\tmodule.exports = Schedule;\n\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(7);\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.HandlebarsEnvironment = HandlebarsEnvironment;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\tvar _exception = __webpack_require__(13);\n\t\n\tvar _exception2 = _interopRequireDefault(_exception);\n\t\n\tvar _helpers = __webpack_require__(48);\n\t\n\tvar _decorators = __webpack_require__(46);\n\t\n\tvar _logger = __webpack_require__(56);\n\t\n\tvar _logger2 = _interopRequireDefault(_logger);\n\t\n\tvar VERSION = '4.0.11';\n\texports.VERSION = VERSION;\n\tvar COMPILER_REVISION = 7;\n\t\n\texports.COMPILER_REVISION = COMPILER_REVISION;\n\tvar REVISION_CHANGES = {\n\t 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it\n\t 2: '== 1.0.0-rc.3',\n\t 3: '== 1.0.0-rc.4',\n\t 4: '== 1.x.x',\n\t 5: '== 2.0.0-alpha.x',\n\t 6: '>= 2.0.0-beta.1',\n\t 7: '>= 4.0.0'\n\t};\n\t\n\texports.REVISION_CHANGES = REVISION_CHANGES;\n\tvar objectType = '[object Object]';\n\t\n\tfunction HandlebarsEnvironment(helpers, partials, decorators) {\n\t this.helpers = helpers || {};\n\t this.partials = partials || {};\n\t this.decorators = decorators || {};\n\t\n\t _helpers.registerDefaultHelpers(this);\n\t _decorators.registerDefaultDecorators(this);\n\t}\n\t\n\tHandlebarsEnvironment.prototype = {\n\t constructor: HandlebarsEnvironment,\n\t\n\t logger: _logger2['default'],\n\t log: _logger2['default'].log,\n\t\n\t registerHelper: function registerHelper(name, fn) {\n\t if (_utils.toString.call(name) === objectType) {\n\t if (fn) {\n\t throw new _exception2['default']('Arg not supported with multiple helpers');\n\t }\n\t _utils.extend(this.helpers, name);\n\t } else {\n\t this.helpers[name] = fn;\n\t }\n\t },\n\t unregisterHelper: function unregisterHelper(name) {\n\t delete this.helpers[name];\n\t },\n\t\n\t registerPartial: function registerPartial(name, partial) {\n\t if (_utils.toString.call(name) === objectType) {\n\t _utils.extend(this.partials, name);\n\t } else {\n\t if (typeof partial === 'undefined') {\n\t throw new _exception2['default']('Attempting to register a partial called \"' + name + '\" as undefined');\n\t }\n\t this.partials[name] = partial;\n\t }\n\t },\n\t unregisterPartial: function unregisterPartial(name) {\n\t delete this.partials[name];\n\t },\n\t\n\t registerDecorator: function registerDecorator(name, fn) {\n\t if (_utils.toString.call(name) === objectType) {\n\t if (fn) {\n\t throw new _exception2['default']('Arg not supported with multiple decorators');\n\t }\n\t _utils.extend(this.decorators, name);\n\t } else {\n\t this.decorators[name] = fn;\n\t }\n\t },\n\t unregisterDecorator: function unregisterDecorator(name) {\n\t delete this.decorators[name];\n\t }\n\t};\n\t\n\tvar log = _logger2['default'].log;\n\t\n\texports.log = log;\n\texports.createFrame = _utils.createFrame;\n\texports.logger = _logger2['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2Jhc2UuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7cUJBQTRDLFNBQVM7O3lCQUMvQixhQUFhOzs7O3VCQUNFLFdBQVc7OzBCQUNSLGNBQWM7O3NCQUNuQyxVQUFVOzs7O0FBRXRCLElBQU0sT0FBTyxHQUFHLFFBQVEsQ0FBQzs7QUFDekIsSUFBTSxpQkFBaUIsR0FBRyxDQUFDLENBQUM7O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@fileoverview\n\t * Class for represent two dimensional x, y coordinates.\n\t *\n\t * It suppliy a group of functions for manipulate coordinates.\n\t * @author NHN Ent. FE Development Team \n\t * @example\n\t * var p = point(10, 10);\n\t * var r1 = p.add(Point(5, 5));\n\t * console.log(p.toString()) // \"Point(10, 10)\"\n\t * console.log(r1.toString()) // \"Point(15, 15)\"\n\t *\n\t * var p2 = new Point(10, 10);\n\t * p2._add(point(5, 5));\n\t * console.log(p2.toString()) // \"Point(15, 15)\"\n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\t/**\n\t * Class for represent two dimentional x, y coordinates.\n\t * @constructor\n\t * @param {number} x The number of X coordinates.\n\t * @param {number} y The number of Y coordinates.\n\t * @param {boolean} [useRound=false] set true when each coordinates are rounded before initialize.\n\t * @example\n\t * var t = new Point(13, 5);\n\t */\n\tfunction Point(x, y, useRound) {\n\t /**\n\t * @type {number}\n\t */\n\t this.x = (useRound ? Math.round(x) : x);\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.y = (useRound ? Math.round(y) : y);\n\t}\n\t\n\t/**********\n\t * static props\n\t **********/\n\t\n\t/**\n\t * Calculate point ratio.\n\t * @param {Point} point The instance of point.\n\t * @param {number} factor From factor\n\t * @param {number} toFactor To factor\n\t * @returns {Point} Point instance calculated.\n\t */\n\tPoint.getRatio = function(point, factor, toFactor) {\n\t if (factor === toFactor) {\n\t return point.clone();\n\t }\n\t\n\t return point.multiplyBy(toFactor)._divideBy(factor);\n\t};\n\t\n\t/**\n\t * Syntatic sugar of new Point()\n\t * @param {(Point|number|number[])} x X coordinate value.\n\t * @param {(number|boolean)} [y] Y coordinate value or boolean value for coordinates round.\n\t * @param {boolean} [useRound] Set true then round initial coordinate values.\n\t * @returns {Point} The instance of point.\n\t * @example\n\t * var p1 = point(10, 15);\n\t * var p2 = point([10, 15]);\n\t */\n\tPoint.n = function(x, y, useRound) {\n\t if (x instanceof Point) {\n\t return x;\n\t }\n\t\n\t if (util.isArray(x)) {\n\t return new Point(x[0], x[1], y);\n\t }\n\t\n\t return new Point(x, y, useRound);\n\t};\n\t\n\t/**********\n\t * prototype props\n\t **********/\n\t\n\t/**\n\t * Clone points\n\t * @returns {Point} The point instance cloned.\n\t */\n\tPoint.prototype.clone = function() {\n\t return new Point(this.x, this.y);\n\t};\n\t\n\t/**\n\t * Add points.\n\t * @param {Point} point The point instance to add.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.add = function(point) {\n\t return this.clone()._add(Point.n(point));\n\t};\n\t\n\t/**\n\t * Add self points.\n\t * @param {Point} point The point instance to add.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._add = function(point) {\n\t this.x += point.x;\n\t this.y += point.y;\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Subtract points.\n\t * @param {Point} point The point instance to subtract.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.subtract = function(point) {\n\t return this.clone()._subtract(Point.n(point));\n\t};\n\t\n\t/**\n\t * Subtract points. (manipulate self)\n\t * @param {Point} point The point instance to subtract.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._subtract = function(point) {\n\t this.x -= point.x;\n\t this.y -= point.y;\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Divide points.\n\t * @param {number} num The number to divide.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.divideBy = function(num) {\n\t return this.clone()._divideBy(num);\n\t};\n\t\n\t/**\n\t * Divide points. (manipulate self)\n\t * @param {number} num The number to divide.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._divideBy = function(num) {\n\t this.x /= num;\n\t this.y /= num;\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Multiply coordinates.\n\t * @param {number} num Thyen number to multiply\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.multiplyBy = function(num) {\n\t return this.clone()._multiplyBy(num);\n\t};\n\t\n\t/**\n\t * Multiply self coordinates.\n\t * @param {number} num The number to multiply.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._multiplyBy = function(num) {\n\t this.x *= num;\n\t this.y *= num;\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Round coordinates.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.round = function() {\n\t return this.clone()._round();\n\t};\n\t\n\t/**\n\t * Round self coordinates.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._round = function() {\n\t this.x = Math.round(this.x);\n\t this.y = Math.round(this.y);\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Reverse values between positive and negative.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.reverse = function() {\n\t return this.clone()._reverse();\n\t};\n\t\n\t/**\n\t * Reverse self values between positive and negative.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._reverse = function() {\n\t this.x *= -1;\n\t this.y *= -1;\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Floor coordinates.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.floor = function() {\n\t return this.clone()._floor();\n\t};\n\t\n\t/**\n\t * Floor self coordinates.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._floor = function() {\n\t this.x = Math.floor(this.x);\n\t this.y = Math.floor(this.y);\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Ceil coordinates.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype.ceil = function() {\n\t return this.clone()._ceil();\n\t};\n\t\n\t/**\n\t * Ceil self coodinates.\n\t * @returns {Point} Point calculated.\n\t */\n\tPoint.prototype._ceil = function() {\n\t this.x = Math.ceil(this.x);\n\t this.y = Math.ceil(this.y);\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Rotate point.\n\t * @param {number} deg The number of rotate degree.\n\t * @param {Point} [center=this] Center point instance to use rotate center. use own when not supplied.\n\t * @param {number} [cos] Cosine values for rotate. it useful when multi point rotate.\n\t * @param {number} [sin] Sine values for rotate. it useful when multi point rotate.\n\t * @returns {Point} The point instance rotated.\n\t */\n\tPoint.prototype.rotate = function(deg, center, cos, sin) {\n\t return this.clone()._rotate(deg, center, cos, sin);\n\t};\n\t\n\t/**\n\t * Rotate self.\n\t * @param {number} deg The number of rotate degree.\n\t * @param {Point} [center=this] Center point instance to use rotate center. use own when not supplied.\n\t * @param {number} [cos] Cosine values for rotate. it useful when multi point rotate.\n\t * @param {number} [sin] Sine values for rotate. it useful when multi point rotate.\n\t * @returns {Point} The point instance rotated.\n\t */\n\tPoint.prototype._rotate = function(deg, center, cos, sin) {\n\t var rad = deg * (Math.PI / 180),\n\t x,\n\t y;\n\t\n\t cos = cos || parseFloat(Math.cos(rad).toFixed(8));\n\t sin = sin || parseFloat(Math.sin(rad).toFixed(8));\n\t\n\t this._subtract(center);\n\t\n\t x = this.x;\n\t y = this.y;\n\t\n\t this.x = (x * cos) - (y * sin);\n\t this.y = (x * sin) + (y * cos);\n\t\n\t this._add(center);\n\t\n\t return this;\n\t};\n\t\n\t/**\n\t * Calculate distance between two points.\n\t * @param {Point} point Point instance.\n\t * @returns {number} The number of distance between two points.\n\t */\n\tPoint.prototype.distanceTo = function(point) {\n\t var x,\n\t y;\n\t\n\t point = Point.n(point);\n\t\n\t x = point.x - this.x;\n\t y = point.y - this.y;\n\t\n\t return Math.sqrt((x * x) + (y * y));\n\t};\n\t\n\t/**\n\t * Check point equals.\n\t * @param {Point} point Point instance to compare\n\t * @returns {boolean} equality\n\t */\n\tPoint.prototype.equals = function(point) {\n\t point = Point.n(point);\n\t\n\t return point.x === this.x && point.y === this.y;\n\t};\n\t\n\t/**\n\t * Return formatted string. 'Point(x, y)'\n\t * @returns {string} string\n\t */\n\tPoint.prototype.toString = function() {\n\t return 'Point(' + this.x + ', ' + this.y + ')';\n\t};\n\t\n\t/**\n\t * Return coodinates to array. [x, y]\n\t * @returns {number[]} coordinate array.\n\t */\n\tPoint.prototype.toArray = function() {\n\t return [this.x, this.y];\n\t};\n\t\n\tmodule.exports = Point;\n\t\n\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Layout module that supplied split height, resize height features.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t common = __webpack_require__(6),\n\t domutil = __webpack_require__(2),\n\t domevent = __webpack_require__(9),\n\t View = __webpack_require__(8),\n\t VPanel = __webpack_require__(63),\n\t Drag = __webpack_require__(26);\n\t\n\tvar mAbs = Math.abs;\n\t\n\t/**\n\t * @typedef PanelOptions\n\t * @type {object}\n\t * @property {number} [minHeight=0] - minimum height of panel\n\t * @property {number} [height=0] - current panel height\n\t * @property {boolean} [splitter=false] - is this panel uses splitter?\n\t * @property {boolean} [autoHeight=false] - is this panel uses remain height of container?\n\t * @property {string} [className=''] - className string for add created element\n\t */\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options for VLayout module\n\t * @param {PanelOptions[]} [options.panels] - panels to add layout when initialize\n\t * @param {number[]} [options.panelHeights] - panel height list\n\t * @param {HTMLElement} container - container element\n\t */\n\tfunction VLayout(options, container) {\n\t var opt, tempHeights;\n\t\n\t if (!(this instanceof VLayout)) {\n\t return new VLayout(options, container);\n\t }\n\t\n\t View.call(this, container);\n\t\n\t domutil.addClass(container, config.classname('vlayout-container'));\n\t\n\t /**\n\t * @type {object}\n\t */\n\t opt = this.options = util.extend({\n\t panels: [],\n\t panelHeights: []\n\t }, options);\n\t\n\t /**\n\t * @type {VPanel[]}\n\t */\n\t this.panels = [];\n\t\n\t /**\n\t * @type {Drag}\n\t */\n\t this._drag = new Drag({\n\t distance: 10,\n\t exclude: function(target) {\n\t return !domutil.hasClass(target, config.classname('splitter'));\n\t }\n\t }, container);\n\t\n\t this._drag.on({\n\t dragStart: this._onDragStart,\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._dragData = null;\n\t\n\t if (opt.panels.length) {\n\t if (opt.panelHeights.length) {\n\t tempHeights = opt.panelHeights.slice();\n\t util.forEach(opt.panels, function(panelOpt) {\n\t if (!panelOpt.isSplitter && !panelOpt.autoHeight) {\n\t panelOpt.height = tempHeights.shift();\n\t }\n\t });\n\t }\n\t\n\t this.addPanels(opt.panels, this.container);\n\t }\n\t\n\t this.refresh();\n\t}\n\t\n\tutil.inherit(VLayout, View);\n\t\n\t/**\n\t * Get current panels height in layout\n\t * @returns {number[]} height of panels with `autoHeight` false\n\t */\n\tVLayout.prototype.getLayoutData = function() {\n\t var heightList = [];\n\t\n\t util.forEach(this.panels, function(panel) {\n\t if (panel.isSplitter() || panel.options.autoHeight) {\n\t return;\n\t }\n\t\n\t heightList.push(panel.getHeight());\n\t });\n\t\n\t return heightList;\n\t};\n\t\n\t/**\n\t * Set panels height in layout\n\t * @param {number[]} heightList of panels with `autoHeight` false\n\t */\n\tVLayout.prototype.setLayoutData = function(heightList) {\n\t if (!heightList.length) {\n\t return;\n\t }\n\t\n\t util.forEach(this.panels, function(panel) {\n\t if (panel.isSplitter() || panel.options.autoHeight) {\n\t return;\n\t }\n\t\n\t panel.setHeight(null, heightList.shift());\n\t });\n\t\n\t this.refresh();\n\t};\n\t\n\t/**\n\t * Get next panel instance by specific panel\n\t * @param {VPanel} panel - panel instance\n\t * @returns {VPanel} next panel\n\t */\n\tVLayout.prototype.nextPanel = function(panel) {\n\t return this.panels[panel.index + 1];\n\t};\n\t\n\t/**\n\t * Get previous panel instance by specific panel\n\t * @param {VPanel} panel - panel instance\n\t * @returns {VPanel} previous panel\n\t */\n\tVLayout.prototype.prevPanel = function(panel) {\n\t return this.panels[panel.index - 1];\n\t};\n\t\n\t/**\n\t * Initialize resizing guide element\n\t * @param {HTMLElement} element - element to use guide element after cloned\n\t * @param {number} top - top pixel value for guide element\n\t * @returns {HTMLElement} cloned element == guide element\n\t */\n\tVLayout.prototype._initializeGuideElement = function(element, top) {\n\t var cloned = element.cloneNode(true);\n\t\n\t domutil.addClass(cloned, config.classname('splitter-guide'));\n\t this._refreshGuideElement(cloned, top);\n\t this.container.appendChild(cloned);\n\t\n\t return cloned;\n\t};\n\t\n\t/**\n\t * Refresh guide element position\n\t * @param {HTMLElement} element - guide element\n\t * @param {number} top - top pixel value for guide element\n\t */\n\tVLayout.prototype._refreshGuideElement = function(element, top) {\n\t element.style.top = top + 'px';\n\t};\n\t\n\t/**\n\t * Clear guide element position\n\t * @param {HTMLElement} element - guide element\n\t */\n\tVLayout.prototype._clearGuideElement = function(element) {\n\t domutil.remove(element);\n\t};\n\t\n\t/**\n\t * Resize overall panels size\n\t * @param {VPanel} splPanel - splitter panel instance\n\t * @param {number} startY - dragstart Y position\n\t * @param {number} mouseY - dragend Y position\n\t */\n\tVLayout.prototype._resize = function(splPanel, startY, mouseY) {\n\t var diffY = startY - mouseY,\n\t resizedHeight = mAbs(diffY),\n\t resizeMap = [],\n\t toDown = mouseY > startY,\n\t backwardMethod = toDown ? 'prevPanel' : 'nextPanel',\n\t forwardMethod = toDown ? 'nextPanel' : 'prevPanel',\n\t cursor, resizeInfo;\n\t\n\t cursor = this[backwardMethod](splPanel);\n\t resizeInfo = cursor.getResizeInfoByGrowth(resizedHeight);\n\t resizeMap.push([cursor, resizeInfo[0]]);\n\t\n\t for (cursor = this[forwardMethod](cursor);\n\t util.isExisty(cursor);\n\t cursor = this[forwardMethod](cursor)) {\n\t if (cursor.isSplitter()) {\n\t continue;\n\t }\n\t\n\t resizeInfo = cursor.getResizeInfoByGrowth(-resizedHeight);\n\t resizeMap.push([cursor, resizeInfo[0]]);\n\t resizedHeight -= resizeInfo[1];\n\t }\n\t\n\t util.forEach(resizeMap, function(pair) {\n\t pair[0].setHeight(null, pair[1], true);\n\t });\n\t};\n\t\n\t/**\n\t * Get summation of splitter and panel's minimum height upper and below of supplied splitter\n\t * @param {VPanel} splPanel - splitter panel instance\n\t * @returns {number[]} upper and below splitter's height and panel minimum height summation.\n\t */\n\tVLayout.prototype._getMouseYAdditionalLimit = function(splPanel) {\n\t var upper = 0,\n\t below = 0,\n\t cursor,\n\t func = function(panel) {\n\t if (panel.isSplitter()) {\n\t return panel.getHeight();\n\t }\n\t\n\t return panel.options.minHeight;\n\t };\n\t\n\t for (cursor = this.prevPanel(splPanel);\n\t util.isExisty(cursor);\n\t cursor = this.prevPanel(cursor)) {\n\t upper += func(cursor);\n\t }\n\t\n\t for (cursor = this.nextPanel(splPanel);\n\t util.isExisty(cursor);\n\t cursor = this.nextPanel(cursor)) {\n\t below += func(cursor);\n\t }\n\t\n\t return [upper, below];\n\t};\n\t\n\t/**********\n\t * Drag Handlers\n\t **********/\n\t\n\t/**\n\t * Drag start schedule handler\n\t * @param {object} e - drag start schedule data\n\t */\n\tVLayout.prototype._onDragStart = function(e) {\n\t var oEvent = e.originEvent,\n\t target = e.target,\n\t splIndex = domutil.getData(target, 'panelIndex'),\n\t splPanel = this.panels[splIndex],\n\t splHeight = splPanel.getHeight(),\n\t splOffsetY = domevent.getMousePosition(oEvent, target)[1],\n\t mouseY = domevent.getMousePosition(oEvent, this.container)[1],\n\t guideElement = this._initializeGuideElement(target, mouseY);\n\t\n\t splPanel.addClass(config.classname('splitter-focused'));\n\t\n\t this._dragData = {\n\t splPanel: splPanel,\n\t splOffsetY: splOffsetY,\n\t guideElement: guideElement,\n\t startY: mouseY - splOffsetY,\n\t minY: 0,\n\t maxY: this.getViewBound().height - splHeight\n\t };\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(document.body, config.classname('resizing'));\n\t }\n\t};\n\t\n\t/**\n\t * Drag schedule handler\n\t * @param {object} e - drag schedule data\n\t */\n\tVLayout.prototype._onDrag = function(e) {\n\t var dragData = this._dragData,\n\t mouseY = domevent.getMousePosition(e.originEvent, this.container)[1];\n\t\n\t mouseY = common.limit(mouseY - dragData.splOffsetY, [dragData.minY], [dragData.maxY]);\n\t\n\t this._refreshGuideElement(dragData.guideElement, mouseY);\n\t};\n\t\n\t/**\n\t * Drag end schedule handler\n\t * @fires VLayout#resize\n\t * @param {object} e - dragend schedule data\n\t */\n\tVLayout.prototype._onDragEnd = function(e) {\n\t var dragData = this._dragData,\n\t asideMinMax = this._getMouseYAdditionalLimit(dragData.splPanel),\n\t mouseY = domevent.getMousePosition(e.originEvent, this.container)[1];\n\t\n\t // mouseY value can't exceed summation of splitter height and panel's minimum height based on target splitter.\n\t mouseY = common.limit(\n\t mouseY - dragData.splOffsetY,\n\t [dragData.minY + asideMinMax[0]],\n\t [dragData.maxY - asideMinMax[1]]\n\t );\n\t\n\t this._resize(dragData.splPanel, dragData.startY, mouseY);\n\t\n\t /**\n\t * @event VLayout#resize\n\t * @type {object}\n\t * @property {number[]} layoutData - layout data after resized\n\t */\n\t this.fire('resize', {\n\t layoutData: this.getLayoutData()\n\t });\n\t\n\t this._dragData = null;\n\t this._clearGuideElement(dragData.guideElement);\n\t dragData.splPanel.removeClass(config.classname('splitter-focused'));\n\t domutil.removeClass(document.body, config.classname('resizing'));\n\t};\n\t\n\t/**********\n\t * Methods\n\t **********/\n\t\n\t/**\n\t * refresh each panels\n\t */\n\tVLayout.prototype.refresh = function() {\n\t var panelToFillHeight = [];\n\t var layoutHeight = this.getViewBound().height;\n\t var usedHeight = 0;\n\t var remainHeight;\n\t\n\t if (!layoutHeight) {\n\t return;\n\t }\n\t\n\t util.forEach(this.panels, function(panel) {\n\t if (panel.options.autoHeight) {\n\t panelToFillHeight.push(panel);\n\t } else {\n\t usedHeight += panel.getHeight();\n\t }\n\t });\n\t\n\t remainHeight = (layoutHeight - usedHeight) / panelToFillHeight.length;\n\t\n\t util.forEach(panelToFillHeight, function(panel) {\n\t panel.setHeight(null, remainHeight);\n\t });\n\t};\n\t\n\t/**\n\t * add panel\n\t * @param {PanelOptions} options - options for panel\n\t * @param {container} [container] - container element\n\t */\n\tVLayout.prototype.addPanel = function(options, container) {\n\t var element = document.createElement('div'),\n\t panels = this.panels,\n\t index = panels.length;\n\t\n\t options = util.extend({\n\t index: index\n\t }, options);\n\t\n\t panels.push(new VPanel(options, element));\n\t\n\t container.appendChild(element);\n\t};\n\t\n\t/**\n\t * Add multiple panel\n\t * @param {PanelOptions[]} options - panel options list\n\t * @param {HTMLElement} container - container element\n\t */\n\tVLayout.prototype.addPanels = function(options, container) {\n\t var self = this,\n\t frag = document.createDocumentFragment();\n\t\n\t util.forEach(options, function(option) {\n\t self.addPanel(option, frag);\n\t });\n\t\n\t container.appendChild(frag);\n\t};\n\t\n\tmodule.exports = VLayout;\n\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Move handler for Allday view.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar common = __webpack_require__(6);\n\tvar domutil = __webpack_require__(2);\n\tvar AlldayCore = __webpack_require__(17);\n\tvar AlldayMoveGuide = __webpack_require__(75);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes AlldayCore\n\t * @mixes CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {Allday} [alldayView] - Allday view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction AlldayMove(dragHandler, alldayView, baseController) {\n\t /**\n\t * Drag handler instance.\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * allday view instance.\n\t * @type {Allday}\n\t */\n\t this.alldayView = alldayView;\n\t\n\t /**\n\t * Base controller instance.\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * Temporary variable for dragstart event data.\n\t * @type {object}\n\t */\n\t this._dragStart = null;\n\t\n\t dragHandler.on({\n\t dragStart: this._onDragStart\n\t }, this);\n\t\n\t /**\n\t * @type {AlldayMoveGuide}\n\t */\n\t this.guide = new AlldayMoveGuide(this);\n\t}\n\t\n\tAlldayMove.prototype.destroy = function() {\n\t this.guide.destroy();\n\t this.dragHandler.off(this);\n\t this.dragHandler = this.alldayView = this.baseController =\n\t this.guide = this._dragStart = null;\n\t};\n\t\n\t/**\n\t * Check dragstart target is expected conditions for this handler.\n\t * @param {HTMLElement} target - dragstart event handler's target element.\n\t * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n\t */\n\tAlldayMove.prototype.checkExpectedCondition = function(target) {\n\t var cssClass = domutil.getClass(target),\n\t parentView,\n\t matches;\n\t\n\t if (~cssClass.indexOf(config.classname('weekday-resize-handle'))) {\n\t return false;\n\t }\n\t\n\t parentView = domutil.closest(target, config.classname('.weekday'));\n\t\n\t if (!parentView) {\n\t return false;\n\t }\n\t\n\t cssClass = domutil.getClass(parentView);\n\t matches = cssClass.match(config.allday.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.alldayView.children.items, matches[1]);\n\t};\n\t\n\t/**\n\t * DragStart event handler method.\n\t * @emits AlldayMove#alldayMoveDragstart\n\t * @param {object} dragStartEventData - Drag#dragStart event handler event data.\n\t */\n\tAlldayMove.prototype._onDragStart = function(dragStartEventData) {\n\t var target = dragStartEventData.target,\n\t result = this.checkExpectedCondition(target),\n\t controller = this.baseController,\n\t scheduleBlockElement,\n\t modelID,\n\t targetModel,\n\t getScheduleDataFunc,\n\t scheduleData;\n\t\n\t if (!result) {\n\t return;\n\t }\n\t\n\t scheduleBlockElement = domutil.closest(target, config.classname('.weekday-schedule-block'));\n\t if (!scheduleBlockElement) {\n\t return;\n\t }\n\t\n\t modelID = domutil.getData(scheduleBlockElement, 'id');\n\t targetModel = controller.schedules.items[modelID];\n\t\n\t if (!targetModel) {\n\t return;\n\t }\n\t\n\t if (targetModel.isReadOnly) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(this.alldayView, dragStartEventData.originEvent);\n\t this.getScheduleDataFunc = getScheduleDataFunc;\n\t scheduleData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\t\n\t util.extend(scheduleData, {\n\t scheduleBlockElement: scheduleBlockElement,\n\t model: targetModel\n\t });\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t /**\n\t * @event AlldayMove#alldayMoveDragstart\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t * @property {Schedule} model - data object of model isntance.\n\t * @property {HTMLDivElement} scheduleBlockElement - target schedule block element.\n\t */\n\t this.fire('alldayMoveDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * Drag event handler method.\n\t * @emits AlldayMove#alldayMoveDrag\n\t * @param {object} dragEventData - Drag#drag event handler eventdata.\n\t */\n\tAlldayMove.prototype._onDrag = function(dragEventData) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc;\n\t\n\t if (!getScheduleDataFunc) {\n\t return;\n\t }\n\t\n\t /**\n\t * @schedule AlldayMove#alldayMoveDrag\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire('alldayMoveDrag', getScheduleDataFunc(dragEventData.originEvent));\n\t};\n\t\n\t/**\n\t * Request update schedule model to base controller.\n\t * @fires AlldayMove#beforeUpdateSchedule\n\t * @param {object} scheduleData - schedule data from AlldayMove handler module.\n\t */\n\tAlldayMove.prototype._updateSchedule = function(scheduleData) {\n\t var schedule = scheduleData.targetModel,\n\t dateOffset = scheduleData.xIndex - scheduleData.dragStartXIndex,\n\t newStarts = new TZDate(schedule.start.getTime()),\n\t newEnds = new TZDate(schedule.end.getTime());\n\t\n\t newStarts = new TZDate(newStarts.setDate(newStarts.getDate() + dateOffset));\n\t newEnds = new TZDate(newEnds.setDate(newEnds.getDate() + dateOffset));\n\t\n\t /**\n\t * @event AlldayMove#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {Date} start - start time to update\n\t * @property {Date} end - end time to update\n\t */\n\t this.fire('beforeUpdateSchedule', {\n\t schedule: schedule,\n\t start: newStarts,\n\t end: newEnds\n\t });\n\t};\n\t\n\t/**\n\t * DragEnd event hander method.\n\t * @emits AlldayMove#alldayMoveDragend\n\t * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n\t * @param {string} [overrideEventName] - override emitted event name when supplied.\n\t * @param {?boolean} skipUpdate - true then skip update schedule model.\n\t */\n\tAlldayMove.prototype._onDragEnd = function(dragEndEventData, overrideEventName, skipUpdate) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc,\n\t dragStart = this._dragStart,\n\t scheduleData;\n\t\n\t if (!getScheduleDataFunc || !dragStart) {\n\t return;\n\t }\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n\t util.extend(scheduleData, {\n\t targetModel: dragStart.model\n\t });\n\t\n\t if (!skipUpdate) {\n\t this._updateSchedule(scheduleData);\n\t }\n\t\n\t /**\n\t * @event AlldayMove#alldayMoveDragend\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire(overrideEventName || 'alldayMoveDragend', scheduleData);\n\t\n\t this.getScheduleDataFunc = this._dragStart = null;\n\t};\n\t\n\t/**\n\t * Click event handler method.\n\t * @emits AlldayMove#alldayMoveClick\n\t * @param {object} clickEventData - Drag#Click event handler data.\n\t */\n\tAlldayMove.prototype._onClick = function(clickEventData) {\n\t /**\n\t * @event AlldayMove#alldayMoveClick\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this._onDragEnd(clickEventData, 'alldayMoveClick', true);\n\t};\n\t\n\tcommon.mixin(AlldayCore, AlldayMove);\n\tutil.CustomEvents.mixin(AlldayMove);\n\t\n\tmodule.exports = AlldayMove;\n\t\n\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Drag handler for calendar.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar domutil = __webpack_require__(2);\n\tvar domevent = __webpack_require__(9);\n\t\n\t/**\n\t * @constructor\n\t * @mixes CustomEvents\n\t * @param {object} options - options for drag handler\n\t * @param {number} [options.distance=10] - distance in pixels after mouse must move before dragging should start\n\t * @param {function} [options.exclude] - filter function for don't fire drag events that specific conditions.\n\t * @param {HTMLElement} container element to watching drag interaction.\n\t */\n\tfunction Drag(options, container) {\n\t domevent.on(container, 'mousedown', this._onMouseDown, this);\n\t\n\t this.options = util.extend({\n\t distance: 10,\n\t exclude: null\n\t }, options);\n\t\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this.container = container;\n\t\n\t /**\n\t * Flag for represent current dragging session has been cancelled for exclude option.\n\t * @type {boolean}\n\t */\n\t this._cancelled = false;\n\t\n\t /**\n\t * @type {boolean}\n\t */\n\t this._isMoved = false;\n\t\n\t /**\n\t * dragging distance in pixel between mousedown and firing dragStart events\n\t * @type {number}\n\t */\n\t this._distance = 0;\n\t\n\t /**\n\t * @type {boolean}\n\t */\n\t this._dragStartFired = false;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._dragStartEventData = null;\n\t}\n\t\n\t/**\n\t * Destroy method.\n\t */\n\tDrag.prototype.destroy = function() {\n\t domevent.off(this.container, 'mousedown', this._onMouseDown, this);\n\t this._isMoved = null;\n\t this.container = null;\n\t};\n\t\n\t/**\n\t * Clear cache data for single dragging session.\n\t */\n\tDrag.prototype._clearData = function() {\n\t this._cancelled = false;\n\t this._distance = 0;\n\t this._isMoved = false;\n\t this._dragStartFired = false;\n\t this._dragStartEventData = null;\n\t};\n\t\n\t/**\n\t * Toggle events for mouse dragging.\n\t * @param {boolean} toBind - bind events related with dragging when supplied \"true\"\n\t */\n\tDrag.prototype._toggleDragEvent = function(toBind) {\n\t var container = this.container,\n\t domMethod,\n\t method;\n\t\n\t if (toBind) {\n\t domMethod = 'on';\n\t method = 'disable';\n\t } else {\n\t domMethod = 'off';\n\t method = 'enable';\n\t }\n\t\n\t domutil[method + 'TextSelection'](container);\n\t domutil[method + 'ImageDrag'](container);\n\t domevent[domMethod](global.document, {\n\t mousemove: this._onMouseMove,\n\t mouseup: this._onMouseUp\n\t }, this);\n\t};\n\t\n\t/**\n\t * Normalize mouse event object.\n\t * @param {MouseEvent} mouseEvent - mouse event object.\n\t * @returns {object} normalized mouse event data.\n\t */\n\tDrag.prototype._getEventData = function(mouseEvent) {\n\t return {\n\t target: mouseEvent.target || mouseEvent.srcElement,\n\t originEvent: mouseEvent\n\t };\n\t};\n\t\n\t/**\n\t * MouseDown DOM event handler.\n\t * @param {MouseEvent} mouseDownEvent MouseDown event object.\n\t */\n\tDrag.prototype._onMouseDown = function(mouseDownEvent) {\n\t var opt = this.options,\n\t target = (mouseDownEvent.srcElement || mouseDownEvent.target);\n\t\n\t // only primary button can start drag.\n\t if (domevent.getMouseButton(mouseDownEvent) !== 0) {\n\t return;\n\t }\n\t\n\t if (opt.exclude && opt.exclude(target)) {\n\t this._cancelled = true;\n\t\n\t return;\n\t }\n\t\n\t this._clearData();\n\t this._dragStartEventData = this._getEventData(mouseDownEvent);\n\t\n\t this._toggleDragEvent(true);\n\t};\n\t\n\t/**\n\t * MouseMove DOM event handler.\n\t * @emits Drag#drag\n\t * @emits Drag#dragStart\n\t * @param {MouseEvent} mouseMoveEvent MouseMove event object.\n\t */\n\tDrag.prototype._onMouseMove = function(mouseMoveEvent) {\n\t var distance;\n\t\n\t if (this._cancelled) {\n\t this._clearData();\n\t\n\t return;\n\t }\n\t\n\t distance = this.options.distance;\n\t // prevent automatic scrolling.\n\t domevent.preventDefault(mouseMoveEvent);\n\t\n\t if (this._distance < distance) {\n\t this._distance += 1;\n\t\n\t return;\n\t }\n\t this._isMoved = true;\n\t\n\t if (!this._dragStartFired) {\n\t this._dragStartFired = true;\n\t\n\t /**\n\t * Drag start events. cancelable.\n\t * @event Drag#dragStart\n\t * @type {object}\n\t * @property {HTMLElement} target - target element in this event.\n\t * @property {MouseEvent} originEvent - original mouse event object.\n\t */\n\t if (!this.invoke('dragStart', this._dragStartEventData)) {\n\t this._toggleDragEvent(false);\n\t this._clearData();\n\t\n\t return;\n\t }\n\t }\n\t\n\t /**\n\t * CalEvents while dragging.\n\t * @event Drag#drag\n\t * @type {object}\n\t * @property {HTMLElement} target - target element in this event.\n\t * @property {MouseEvent} originEvent - original mouse event object.\n\t */\n\t this.fire('drag', this._getEventData(mouseMoveEvent));\n\t};\n\t\n\t/**\n\t * MouseUp DOM event handler.\n\t * @param {MouseEvent} mouseUpEvent MouseUp event object.\n\t * @emits Drag#dragEnd\n\t * @emits Drag#click\n\t */\n\tDrag.prototype._onMouseUp = function(mouseUpEvent) {\n\t if (this._cancelled) {\n\t return;\n\t }\n\t\n\t this._toggleDragEvent(false);\n\t\n\t // emit \"click\" event when not emitted drag event between mousedown and mouseup.\n\t if (this._isMoved) {\n\t this._isMoved = false;\n\t /**\n\t * Drag end events.\n\t * @event Drag#dragEnd\n\t * @type {MouseEvent}\n\t * @property {HTMLElement} target - target element in this event.\n\t * @property {MouseEvent} originEvent - original mouse event object.\n\t */\n\t this.fire('dragEnd', this._getEventData(mouseUpEvent));\n\t } else {\n\t /**\n\t * Click events.\n\t * @event Drag#click\n\t * @type {MouseEvent}\n\t * @property {HTMLElement} target - target element in this event.\n\t * @property {MouseEvent} originEvent - original mouse event object.\n\t */\n\t this.fire('click', this._getEventData(mouseUpEvent));\n\t }\n\t\n\t this._clearData();\n\t};\n\t\n\tutil.CustomEvents.mixin(Drag);\n\t\n\tmodule.exports = Drag;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Guide element controller for creation, resize in month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t common = __webpack_require__(6),\n\t domutil = __webpack_require__(2),\n\t datetime = __webpack_require__(4),\n\t dw = __webpack_require__(15),\n\t tmpl = __webpack_require__(31);\n\tvar mmax = Math.max,\n\t mmin = Math.min,\n\t mabs = Math.abs,\n\t mfloor = Math.floor;\n\t\n\t/**\n\t * @constructor\n\t * @param {object} [options] - options\n\t * @param {boolean} [options.useHandle=false] - whether displaying resize handle on\n\t * guide element?\n\t * @param {boolean} [options.isResizeMode=false] - whether resize mode?\n\t * @param {Month} monthView - Month view instance\n\t */\n\tfunction MonthGuide(options, monthView) {\n\t var self = this;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t top: 0,\n\t height: '20px',\n\t bgColor: '#f7ca88',\n\t label: '새 일정',\n\t isResizeMode: false,\n\t isCreationMode: false\n\t }, options);\n\t\n\t /**\n\t * @type {Month}\n\t */\n\t this.view = monthView;\n\t\n\t /**\n\t * @type {WeekdayInMonth[]}\n\t */\n\t this.weeks = monthView.children.sort(function(a, b) {\n\t return util.stamp(a) - util.stamp(b);\n\t });\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.days = monthView.children.single().getRenderDateRange().length;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this.ratio = util.bind(function(value) {\n\t return common.ratio(self.days, 100, value);\n\t });\n\t\n\t /**\n\t * start coordinate of guide effect. (x, y) (days, weeks) effect can't\n\t * start lower than this coordinate.\n\t * @type {number[]}\n\t */\n\t this.startCoord = [0, 0];\n\t\n\t /**\n\t * @type {Object.}\n\t */\n\t this.guideElements = {};\n\t\n\t /**\n\t * horizontal grid information\n\t * @type {Object}\n\t */\n\t this.grids = monthView.grids;\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthGuide.prototype.destroy = function() {\n\t this.clear();\n\t\n\t this.options = this.view = this.weeks = this.days =\n\t this.ratio = this.startCoord = this.guideElements = null;\n\t};\n\t\n\tMonthGuide.prototype.clearGuideElement = function() {\n\t this.destroy();\n\t};\n\t\n\t/**\n\t * Get ratio value in week.\n\t * @param {number} value - value for calc ratio in week\n\t * @returns {number} percent value\n\t */\n\tMonthGuide.prototype._getRatioValueInWeek = function(value) {\n\t var grid = this.grids[value] || {left: 100};\n\t\n\t return grid.left;\n\t};\n\t\n\t/**\n\t * Create guide element\n\t * @returns {HTMLElement} guide element\n\t */\n\tMonthGuide.prototype._createGuideElement = function() {\n\t var guide = document.createElement('div');\n\t\n\t guide.innerHTML = tmpl(this.options);\n\t\n\t return guide.firstChild;\n\t};\n\t\n\t/**\n\t * Get guide element. if not exist then create one\n\t * @param {number} y - y coordinate\n\t * @returns {?HTMLElement} guide element\n\t */\n\tMonthGuide.prototype._getGuideElement = function(y) {\n\t var guideElements = this.guideElements,\n\t guide = guideElements[y],\n\t weekdayView = this.weeks[y],\n\t container;\n\t\n\t if (!weekdayView) {\n\t return null;\n\t }\n\t\n\t if (!guide) {\n\t guide = this._createGuideElement();\n\t container = weekdayView.container;\n\t container.appendChild(guide);\n\t guideElements[y] = guide;\n\t }\n\t\n\t return guide;\n\t};\n\t\n\t/**\n\t * Get coordinate by supplied date in month\n\t * @param {Date} date - date to find coordinate\n\t * @returns {number[]} coordinate (x, y)\n\t */\n\tMonthGuide.prototype._getCoordByDate = function(date) {\n\t var weeks = this.weeks,\n\t days = this.days,\n\t getIdxFromDiff = function(d1, d2) {\n\t return mfloor(datetime.millisecondsTo('day', mabs(d2 - d1)));\n\t },\n\t monthStart = datetime.parse(weeks[0].options.renderStartDate),\n\t isBefore = date < monthStart,\n\t dateDW = dw(date),\n\t startDW = dw(monthStart),\n\t endDW = startDW.clone().addDate(isBefore ? -days : days),\n\t x = getIdxFromDiff(dateDW.d, startDW.d),\n\t y = 0;\n\t\n\t while (!dateDW.isBetween(startDW, endDW)) {\n\t startDW.addDate(isBefore ? -days : days);\n\t endDW = startDW.clone().addDate(days);\n\t x = getIdxFromDiff(dateDW.d, startDW.d);\n\t y += (isBefore ? -1 : 1);\n\t }\n\t\n\t return [x, y];\n\t};\n\t\n\t/**\n\t * Get limited coordinate by supplied coodinates\n\t * @param {number[]} coord - coordinate need to limit\n\t * @param {number[]} [min] - minimum limitaion of coordinate\n\t * @param {number[]} [max] - maximum limitation of coordinate\n\t * @returns {number[]} limited coordiate\n\t */\n\tMonthGuide.prototype._getLimitedCoord = function(coord, min, max) {\n\t var toIndex = 1,\n\t x = coord[0],\n\t y = coord[1],\n\t result;\n\t\n\t min = min || [0, 0];\n\t max = max || [this.days - toIndex, this.weeks.length - toIndex];\n\t\n\t if (y < min[1]) {\n\t result = min.slice(0);\n\t } else if (y > max[1]) {\n\t result = max.slice(0);\n\t } else {\n\t x = mmax(min[0], x);\n\t x = mmin(max[0], x);\n\t result = [x, y];\n\t }\n\t\n\t return result;\n\t};\n\t\n\t/**\n\t * Prepare guide element modification\n\t * @param {object} dragStartEvent - dragStart schedule data from *guide\n\t */\n\tMonthGuide.prototype.start = function(dragStartEvent) {\n\t var opt = this.options,\n\t target = dragStartEvent.target,\n\t model = dragStartEvent.model,\n\t x = dragStartEvent.x,\n\t y = dragStartEvent.y,\n\t temp;\n\t\n\t if (opt.isResizeMode) {\n\t temp = this._getCoordByDate(model.getStarts());\n\t x = temp[0];\n\t y = temp[1];\n\t\n\t util.extend(this.options, {\n\t top: parseInt(target.style.top, 10) + 'px',\n\t height: parseInt(target.style.height, 10) + 'px',\n\t bgColor: model.bgColor,\n\t borderColor: model.borderColor,\n\t label: model.title\n\t });\n\t }\n\t\n\t this.startCoord = [x, y];\n\t this.update(x, y);\n\t};\n\t\n\t/**\n\t * Data for update several guide elements\n\t * @typedef UpdateIndication\n\t * @type {object}\n\t * @property {HTMLElement} guide - guide element\n\t * @property {number} left - left style value\n\t * @property {number} width - width style value\n\t * @property {boolean} [exceedL=false] - whether schedule is exceeded past weeks?\n\t * @property {boolean} [exceedR=false] - whether schedule is exceeded future weeks?\n\t */\n\t\n\t/**\n\t * Modify HTML element that uses for guide element\n\t * @param {UpdateIndication[]} inds - indication of update severel guide element\n\t */\n\tMonthGuide.prototype._updateGuides = function(inds) {\n\t util.forEach(inds, function(ind) {\n\t var guide = ind.guide,\n\t exceedLClass = config.classname('month-exceed-left'),\n\t exceedRClass = config.classname('month-exceed-right');\n\t\n\t guide.style.display = 'block';\n\t guide.style.left = ind.left + '%';\n\t guide.style.width = ind.width + '%';\n\t\n\t if (ind.exceedL) {\n\t domutil.addClass(guide, exceedLClass);\n\t } else {\n\t domutil.removeClass(guide, exceedLClass);\n\t }\n\t\n\t if (ind.exceedR) {\n\t domutil.addClass(guide, exceedRClass);\n\t } else {\n\t domutil.removeClass(guide, exceedRClass);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Get guide element indicate for origin week\n\t * @param {number[]} startCoord - drag start coordinate\n\t * @param {number[]} mouseCoord - mouse coordinate\n\t * @returns {object} indicate\n\t */\n\tMonthGuide.prototype._getOriginIndicate = function(startCoord, mouseCoord) {\n\t var left = mmin(startCoord[0], mouseCoord[0]),\n\t right = mmax(startCoord[0], mouseCoord[0]) + 1,\n\t exceedL, exceedR;\n\t\n\t if (mouseCoord[1] > startCoord[1]) {\n\t left = startCoord[0];\n\t right = this.days;\n\t exceedR = true;\n\t } else if (mouseCoord[1] < startCoord[1]) {\n\t left = 0;\n\t right = startCoord[0] + 1;\n\t exceedL = true;\n\t }\n\t\n\t return {\n\t left: this._getRatioValueInWeek(left),\n\t width: this._getRatioValueInWeek(right) -\n\t this._getRatioValueInWeek(left),\n\t exceedL: exceedL,\n\t exceedR: exceedR\n\t };\n\t};\n\t\n\t/**\n\t * Get guide element indicate for week related with mouse position\n\t * @param {number[]} startCoord - drag start coordinate\n\t * @param {number[]} mouseCoord - mouse coordinate\n\t * @returns {object} indicate\n\t */\n\tMonthGuide.prototype._getMouseIndicate = function(startCoord, mouseCoord) {\n\t var left = mouseCoord[0],\n\t right = mouseCoord[0] + 1,\n\t exceedL, exceedR;\n\t\n\t if (mouseCoord[1] > startCoord[1]) {\n\t left = 0;\n\t exceedL = true;\n\t } else if (mouseCoord[1] < startCoord[1]) {\n\t right = this.days;\n\t exceedR = true;\n\t }\n\t\n\t return {\n\t left: this._getRatioValueInWeek(left),\n\t width: this._getRatioValueInWeek(right) -\n\t this._getRatioValueInWeek(left),\n\t exceedL: exceedL,\n\t exceedR: exceedR\n\t };\n\t};\n\t\n\t/**\n\t * Get guide element indicate for contained weeks\n\t * @returns {object} indicate\n\t */\n\tMonthGuide.prototype._getContainIndicate = function() {\n\t return {\n\t left: 0,\n\t width: 100,\n\t exceedL: true,\n\t exceedR: true\n\t };\n\t};\n\t\n\t/**\n\t * Remove several guide element that supplied by parameter\n\t * @param {number[]} yCoords - array of y coordinate to remove guide element\n\t */\n\tMonthGuide.prototype._removeGuideElements = function(yCoords) {\n\t var guides = this.guideElements;\n\t\n\t util.forEach(yCoords, function(y) {\n\t domutil.remove(guides[y]);\n\t delete guides[y];\n\t });\n\t};\n\t\n\t/**\n\t * Get excluded numbers in range\n\t * @param {number[]} range - the range. value must be sequencial.\n\t * @param {number[]} numbers - numbers to check\n\t * @returns {number[]} excluded numbers\n\t */\n\tMonthGuide.prototype._getExcludesInRange = function(range, numbers) {\n\t var min = mmin.apply(null, range),\n\t max = mmax.apply(null, range),\n\t excludes = [];\n\t\n\t util.forEach(numbers, function(num) {\n\t num = parseInt(num, 10);\n\t if (num < min || num > max) {\n\t excludes.push(num);\n\t }\n\t });\n\t\n\t return excludes;\n\t};\n\t\n\t/**\n\t * Update guide elements by coordinate in month grid from mousemove event\n\t * @param {number} x - x coordinate\n\t * @param {number} y - y coordinate\n\t */\n\tMonthGuide.prototype.update = function(x, y) {\n\t var self = this,\n\t startCoord = this.startCoord,\n\t mouseCoord = [x, y],\n\t limitedCoord = this.options.isResizeMode ?\n\t this._getLimitedCoord(mouseCoord, startCoord) : mouseCoord,\n\t renderedYIndex = util.keys(this.guideElements),\n\t yCoordsToUpdate = util.range(\n\t mmin(startCoord[1], limitedCoord[1]),\n\t mmax(startCoord[1], limitedCoord[1]) + 1\n\t ),\n\t yCoordsToRemove = this._getExcludesInRange(\n\t yCoordsToUpdate,\n\t renderedYIndex\n\t ),\n\t renderIndication = {};\n\t\n\t this._removeGuideElements(yCoordsToRemove);\n\t\n\t util.forEach(yCoordsToUpdate, function(guideYCoord) {\n\t var guide = self._getGuideElement(guideYCoord),\n\t indicate;\n\t\n\t if (!guide) {\n\t return;\n\t }\n\t\n\t if (guideYCoord === startCoord[1]) {\n\t indicate = self._getOriginIndicate(startCoord, limitedCoord);\n\t } else if (guideYCoord === mouseCoord[1]) {\n\t indicate = self._getMouseIndicate(startCoord, mouseCoord);\n\t } else {\n\t indicate = self._getContainIndicate();\n\t }\n\t\n\t renderIndication[guideYCoord] = util.extend({\n\t guide: guide\n\t }, indicate);\n\t });\n\t\n\t this._updateGuides(renderIndication);\n\t};\n\t\n\t/**\n\t * Clear all guide elements\n\t */\n\tMonthGuide.prototype.clear = function() {\n\t util.forEach(this.guideElements, function(element) {\n\t domutil.remove(element);\n\t });\n\t\n\t this.guideElements = {};\n\t};\n\t\n\tmodule.exports = MonthGuide;\n\t\n\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Model for views\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\t/**\n\t * Schedule ViewModel\n\t * @constructor\n\t * @param {Schedule} schedule Schedule instance.\n\t */\n\tfunction ScheduleViewModel(schedule) {\n\t /**\n\t * The model of schedule.\n\t * @type {Schedule}\n\t */\n\t this.model = schedule;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.top = 0;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.left = 0;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.width = 0;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.height = 0;\n\t\n\t /**\n\t * Represent schedule has collide with other schedules when rendering.\n\t * @type {boolean}\n\t */\n\t this.hasCollide = false;\n\t\n\t /**\n\t * Extra space at rigth side of this schedule.\n\t * @type {number}\n\t */\n\t this.extraSpace = 0;\n\t\n\t /**\n\t * represent this schedule block is not visible after rendered.\n\t *\n\t * in month view, some viewmodel in date need to hide when already rendered before dates.\n\t *\n\t * set true then it just shows empty space.\n\t * @type {boolean}\n\t */\n\t this.hidden = false;\n\t\n\t /**\n\t * whether the schedule includes multiple dates\n\t */\n\t this.hasMultiDates = false;\n\t\n\t /**\n\t * represent render start date used at rendering.\n\t *\n\t * if set null then use model's 'start' property.\n\t * @type {TZDate}\n\t */\n\t this.renderStarts = null;\n\t\n\t /**\n\t * whether the actual start-date is before the render-start-date\n\t * @type {boolean}\n\t */\n\t this.exceedLeft = false;\n\t\n\t /**\n\t * represent render end date used at rendering.\n\t *\n\t * if set null then use model's 'end' property.\n\t * @type {TZDate}\n\t */\n\t this.renderEnds = null;\n\t\n\t /**\n\t * whether the actual end-date is after the render-end-date\n\t * @type {boolean}\n\t */\n\t this.exceedRight = false;\n\t}\n\t\n\t/**********\n\t * static props\n\t **********/\n\t\n\t/**\n\t * ScheduleViewModel factory method.\n\t * @param {Schedule} schedule Schedule instance.\n\t * @returns {ScheduleViewModel} ScheduleViewModel instance.\n\t */\n\tScheduleViewModel.create = function(schedule) {\n\t return new ScheduleViewModel(schedule);\n\t};\n\t\n\t/**********\n\t * prototype props\n\t **********/\n\t\n\t/**\n\t * return renderStarts property to render properly when specific schedule that exceed rendering date range.\n\t *\n\t * if renderStarts is not set. return model's start property.\n\t * @override\n\t * @returns {Date} render start date.\n\t */\n\tScheduleViewModel.prototype.getStarts = function() {\n\t if (this.renderStarts) {\n\t return this.renderStarts;\n\t }\n\t\n\t return this.model.start;\n\t};\n\t\n\t/**\n\t * return renderStarts property to render properly when specific schedule that exceed rendering date range.\n\t *\n\t * if renderEnds is not set. return model's end property.\n\t * @override\n\t * @returns {Date} render end date.\n\t */\n\tScheduleViewModel.prototype.getEnds = function() {\n\t if (this.renderEnds) {\n\t return this.renderEnds;\n\t }\n\t\n\t return this.model.end;\n\t};\n\t\n\t/**\n\t * @returns {number} unique number for model.\n\t */\n\tScheduleViewModel.prototype.cid = function() {\n\t return util.stamp(this.model);\n\t};\n\t\n\t/**\n\t * Shadowing valueOf method for schedule sorting.\n\t * @returns {Schedule} The model of schedule.\n\t */\n\tScheduleViewModel.prototype.valueOf = function() {\n\t return this.model;\n\t};\n\t\n\t/**\n\t * Link duration method\n\t * @returns {number} Schedule#duration result.\n\t */\n\tScheduleViewModel.prototype.duration = function() {\n\t return this.model.duration();\n\t};\n\t\n\t/**\n\t * Link collidesWith method\n\t * @param {Schedule|ScheduleViewModel} viewModel - Model or viewmodel instance of Schedule.\n\t * @returns {boolean} Schedule#collidesWith result.\n\t */\n\tScheduleViewModel.prototype.collidesWith = function(viewModel) {\n\t var ownStarts = this.getStarts(),\n\t ownEnds = this.getEnds(),\n\t start = viewModel.getStarts(),\n\t end = viewModel.getEnds();\n\t\n\t if ((start > ownStarts && start < ownEnds) ||\n\t (end > ownStarts && end < ownEnds) ||\n\t (start <= ownStarts && end >= ownEnds)) {\n\t return true;\n\t }\n\t\n\t return false;\n\t};\n\t\n\tmodule.exports = ScheduleViewModel;\n\t\n\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Weekday view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t domutil = __webpack_require__(2),\n\t datetime = __webpack_require__(4),\n\t TZDate = __webpack_require__(5).Date,\n\t View = __webpack_require__(8);\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - view options.\n\t * @param {number} [options.containerHeight=40] - minimum height of schedule\n\t * container element.\n\t * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n\t * make create easy.\n\t * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n\t * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n\t * @param {HTMLDIVElement} container - DOM element to use container for this\n\t * view.\n\t */\n\tfunction Weekday(options, container) {\n\t container = domutil.appendHTMLElement(\n\t 'div',\n\t container,\n\t config.classname('weekday')\n\t );\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t containerHeight: 40,\n\t containerBottomGutter: 8,\n\t scheduleHeight: 18,\n\t scheduleGutter: 2,\n\t narrowWeekend: false,\n\t startDayOfWeek: 0,\n\t workweek: false\n\t }, options);\n\t\n\t /*\n\t * cache parent's view model\n\t * @type {object}\n\t */\n\t this._cacheParentViewModel = null;\n\t\n\t View.call(this, container);\n\t}\n\t\n\tutil.inherit(Weekday, View);\n\t\n\t/**\n\t * Get render date range\n\t * @returns {Date[]} rendered date range\n\t */\n\tWeekday.prototype.getRenderDateRange = function() {\n\t return this._cacheParentViewModel.range;\n\t};\n\t\n\t/**\n\t * Get render date grids information\n\t * @returns {Date[]} rendered date grids information\n\t */\n\tWeekday.prototype.getRenderDateGrids = function() {\n\t return this._cacheParentViewModel.grids;\n\t};\n\t\n\t/**\n\t * Get default view model.\n\t * @param {object} viewModel parent's view model\n\t * @returns {object} viewModel to rendering.\n\t */\n\tWeekday.prototype.getBaseViewModel = function(viewModel) {\n\t var opt = this.options;\n\t var range = viewModel.range;\n\t var today = datetime.format(new TZDate(), 'YYYYMMDD');\n\t var gridWidth = (100 / range.length);\n\t var grids = viewModel.grids;\n\t var exceedDate = viewModel.exceedDate || {};\n\t\n\t this._cacheParentViewModel = viewModel;\n\t\n\t return {\n\t width: gridWidth,\n\t scheduleHeight: opt.scheduleHeight,\n\t scheduleBlockHeight: (opt.scheduleHeight + opt.scheduleGutter),\n\t scheduleBlockGutter: opt.scheduleGutter,\n\t dates: util.map(range, function(date, index) {\n\t var day = date.getDay();\n\t var ymd = datetime.format(date, 'YYYYMMDD');\n\t\n\t return {\n\t date: datetime.format(date, 'YYYY-MM-DD'),\n\t month: date.getMonth() + 1,\n\t day: day,\n\t isToday: ymd === today,\n\t ymd: ymd,\n\t hiddenSchedules: exceedDate[ymd] || 0,\n\t width: grids[index].width,\n\t left: grids[index].left\n\t };\n\t })\n\t };\n\t};\n\t\n\tmodule.exports = Weekday;\n\n\n/***/ },\n/* 30 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \"
\\n\";\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n
\"\n\t + alias4(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"label\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"
\\n
 
\\n
\\n\";\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t return \"display:none\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n\"\n\t + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isCreationMode : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \" border-left:3px solid \"\n\t + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n\t + \";\\n \";\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \" \\n\";\n\t},\"5\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \" \"\n\t + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n\";\n\t},\"7\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \" \"\n\t + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n\"\n\t + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n\"\n\t + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n \\n \"\n\t + ((stack1 = (helpers[\"monthDayname-tmpl\"] || (depth0 && depth0[\"monthDayname-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthDayname-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n \\n
\\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.daynames : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),\"||\",(depth0 != null ? depth0.hasMultiDates : depth0),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\");\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\t\n\t return \"
\\n \"\n\t + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
\\n\";\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color: #ffffff; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; border-left:3px solid \"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n\t + \";\\n\";\n\t},\"5\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n\t + \"; border-left:3px solid \"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n\t + \"\\n\";\n\t},\"7\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\t\n\t return \"
\\n \\n \"\n\t + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
\\n\";\n\t},\"8\":function(container,depth0,helpers,partials,data) {\n\t return \"\\n background: #ffffff\\n\";\n\t},\"10\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \" background:\"\n\t + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"\\n \";\n\t},\"12\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \"\\n color: #ffffff;\\n background-color: \"\n\t + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"\\n\";\n\t},\"14\":function(container,depth0,helpers,partials,data) {\n\t return \" color:#333;\\n \";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n
\\n \"\n\t + ((stack1 = (helpers[\"monthMoreTitleDate-tmpl\"] || (depth0 && depth0[\"monthMoreTitleDate-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.date : depth0),{\"name\":\"monthMoreTitleDate-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n \\n
\\n
\\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n
\\n \"\n\t + ((stack1 = (helpers[\"monthGridHeader-tmpl\"] || (depth0 && depth0[\"monthGridHeader-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthGridHeader-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n\"\n\t + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n \"\n\t + ((stack1 = (helpers[\"monthGridFooter-tmpl\"] || (depth0 && depth0[\"monthGridFooter-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthGridFooter-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n\"\n\t + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n\";\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"near-month-day\";\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"today\";\n\t},\"6\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"extra-date\";\n\t},\"8\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \" \"\n\t + ((stack1 = (helpers[\"monthGridHeaderExceed-tmpl\"] || (depth0 && depth0[\"monthGridHeaderExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"monthGridHeaderExceed-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n\";\n\t},\"10\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \" \"\n\t + ((stack1 = (helpers[\"monthGridFooterExceed-tmpl\"] || (depth0 && depth0[\"monthGridFooterExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"monthGridFooterExceed-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n
\\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.dates : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \"\\n\"\n\t + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \"\\n\"\n\t + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \"\\n\"\n\t + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.top : depth0),\"<\",((stack1 = (data && data.root)) && stack1.renderLimitIdx),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"5\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=\"function\";\n\t\n\t return \"
\\n\"\n\t + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),\"||\",(depth0 != null ? depth0.hasMultiDates : depth0),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.program(19, data, 0),\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n\";\n\t},\"6\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"weekday-exceed-left\";\n\t},\"8\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"weekday-exceed-right\";\n\t},\"10\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\t\n\t return \"
\\n \"\n\t + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n \"\n\t + ((stack1 = helpers.unless.call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(17, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
\\n\";\n\t},\"11\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"weekday-schedule-focused \";\n\t},\"13\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color: #ffffff; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; border-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \";\\n\";\n\t},\"15\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n\t + \"; border-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n\t + \";\\n\";\n\t},\"17\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \";\n\t},\"19\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\t\n\t return \"
\\n \\n \"\n\t + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
\\n\";\n\t},\"20\":function(container,depth0,helpers,partials,data) {\n\t return \" background: #ffffff\\n\";\n\t},\"22\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \" background:\"\n\t + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"\\n\";\n\t},\"24\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \" color: #ffffff;\\n background-color: \"\n\t + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"\\n\";\n\t},\"26\":function(container,depth0,helpers,partials,data) {\n\t return \" color:#333;\\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"useData\":true});\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n \"\n\t + ((stack1 = ((helper = (helper = helpers[\"alldayTitle-tmpl\"] || (depth0 != null ? depth0[\"alldayTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"alldayTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n\t + \"\\n
\\n
\\n
\\n
\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n \\n \"\n\t + ((stack1 = (helpers[\"weekDayname-tmpl\"] || (depth0 && depth0[\"weekDayname-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"weekDayname-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n \\n
\\n\";\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"today\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\t\n\t return \"
\\n\"\n\t + ((stack1 = helpers.each.call(alias1,depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n\";\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
\\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.items : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
\\n
\\n\";\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"today\";\n\t},\"6\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;\n\t\n\t return \"
  • \\n \"\n\t + ((stack1 = (helpers[\"milestone-tmpl\"] || (depth0 && depth0[\"milestone-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"milestone-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
  • \\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n \"\n\t + ((stack1 = ((helper = (helper = helpers[\"milestoneTitle-tmpl\"] || (depth0 != null ? depth0[\"milestoneTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"milestoneTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n\t + \"\\n
    \\n
    \\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n\";\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n
    \\n
      \\n\"\n\t + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.morning : depth0)) != null ? stack1.items : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.lunch : depth0)) != null ? stack1.items : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.evening : depth0)) != null ? stack1.items : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n
    \\n\";\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"today\";\n\t},\"6\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;\n\t\n\t return \"
  • \"\n\t + ((stack1 = (helpers[\"task-tmpl\"] || (depth0 && depth0[\"task-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"task-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"
  • \\n\";\n\t},\"8\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;\n\t\n\t return \"
  • \"\n\t + ((stack1 = (helpers[\"task-tmpl\"] || (depth0 && depth0[\"task-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"task-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"
  • \\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n \"\n\t + ((stack1 = ((helper = (helper = helpers[\"taskTitle-tmpl\"] || (depth0 != null ? depth0[\"taskTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"taskTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n\t + \"\\n
    \\n\\n
    \\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n\\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"3\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\t\n\t return \"
    \\n
    \"\n\t + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n \"\n\t + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.cropped : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
    \\n\";\n\t},\"5\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"time-date-schedule-block-pending\";\n\t},\"7\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"time-schedule-focused \";\n\t},\"9\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color: #ffffff; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; border-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \";\\n\";\n\t},\"11\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n\t + \"; border-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n\t + \";\\n\";\n\t},\"13\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \"
     
    \";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\t\n\t return \"
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n \"\n\t + alias4(((helper = (helper = helpers.hours || (depth0 != null ? depth0.hours : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"hours\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"\\n
    \\n\";\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t return \"display:none\";\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \"
    \\n\";\n\t},\"6\":function(container,depth0,helpers,partials,data) {\n\t var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n
    \\n
    \"\n\t + alias4(((helper = (helper = helpers.hourmarkerText || (depth0 != null ? depth0.hourmarkerText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"hourmarkerText\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"
    \\n
    \\n
    today
    \\n
    \\n
    \\n
    \\n\";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.hoursLabels : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.hoursLabels : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n
    \\n
    \\n\\n\"\n\t + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.showHourMarker : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \"
     
    \";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\t\n\t return \"
    \\n
    \"\n\t + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n \"\n\t + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.cropped : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
    \\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Handlebars = __webpack_require__(7);\n\tmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n\";\n\t},\"2\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"today\";\n\t},\"4\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"5\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \"\\n \"\n\t + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"6\":function(container,depth0,helpers,partials,data) {\n\t var stack1;\n\t\n\t return \"\\n \"\n\t + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n\t},\"7\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=\"function\", alias5=container.lambda;\n\t\n\t return \"\\n
    \\n
    \\n \"\n\t + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n \"\n\t + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(18, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"\\n
    \\n
    \\n\";\n\t},\"8\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"weekday-exceed-left\";\n\t},\"10\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \"\n\t + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"weekday-exceed-right\";\n\t},\"12\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n\t + \"weekday-schedule-focused \";\n\t},\"14\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color: #ffffff; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; border-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \";\\n\";\n\t},\"16\":function(container,depth0,helpers,partials,data) {\n\t var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\t\n\t return \" color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n\t + \"; background-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n\t + \"; border-color:\"\n\t + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n\t + \";\\n\";\n\t},\"18\":function(container,depth0,helpers,partials,data) {\n\t var helper;\n\t\n\t return \" \";\n\t},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n\t var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\t\n\t return \"
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.dates : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n
    \\n
    \\n \\n
    \\n\"\n\t + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n\t + \"
    \\n\";\n\t},\"useData\":true});\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\t\n\tvar _handlebarsBase = __webpack_require__(22);\n\t\n\tvar base = _interopRequireWildcard(_handlebarsBase);\n\t\n\t// Each of these augment the Handlebars object. No need to setup here.\n\t// (This is done to easily share code between commonjs and browse envs)\n\t\n\tvar _handlebarsSafeString = __webpack_require__(59);\n\t\n\tvar _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);\n\t\n\tvar _handlebarsException = __webpack_require__(13);\n\t\n\tvar _handlebarsException2 = _interopRequireDefault(_handlebarsException);\n\t\n\tvar _handlebarsUtils = __webpack_require__(10);\n\t\n\tvar Utils = _interopRequireWildcard(_handlebarsUtils);\n\t\n\tvar _handlebarsRuntime = __webpack_require__(58);\n\t\n\tvar runtime = _interopRequireWildcard(_handlebarsRuntime);\n\t\n\tvar _handlebarsNoConflict = __webpack_require__(57);\n\t\n\tvar _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);\n\t\n\t// For compatibility and usage outside of module systems, make the Handlebars object a namespace\n\tfunction create() {\n\t var hb = new base.HandlebarsEnvironment();\n\t\n\t Utils.extend(hb, base);\n\t hb.SafeString = _handlebarsSafeString2['default'];\n\t hb.Exception = _handlebarsException2['default'];\n\t hb.Utils = Utils;\n\t hb.escapeExpression = Utils.escapeExpression;\n\t\n\t hb.VM = runtime;\n\t hb.template = function (spec) {\n\t return runtime.template(spec, hb);\n\t };\n\t\n\t return hb;\n\t}\n\t\n\tvar inst = create();\n\tinst.create = create;\n\t\n\t_handlebarsNoConflict2['default'](inst);\n\t\n\tinst['default'] = inst;\n\t\n\texports['default'] = inst;\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9oYW5kbGViYXJzLnJ1bnRpbWUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OEJBQXNCLG1CQUFtQjs7SUFBN0IsSUFBSTs7Ozs7b0NBSU8sMEJBQTBCOzs7O21DQUMzQix3QkFBd0I7Ozs7K0JBQ3ZCLG9CQUFvQjs7SUFBL0IsS0FBSzs7aUNBQ1Esc0JBQXNCOztJQUFuQyxPQUFPOztvQ0FFSSwwQkFBMEI7Ozs7O0FBR2pELFNBQVMsTUFBTSxHQUFHO0FBQ2hCLE1BQUksRUFBRSxHQUFHLElBQUksSUFBSSxDQUFDLHFCQUFxQixFQUFFLENBQUM7O0FBRTFDLE9BQUssQ0FBQyxNQUFNLENBQUMsRUFBRSxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ3ZCLElBQUUsQ0FBQyxVQUFVLG9DQUFhLENBQUM7QUFDM0IsSUFBRSxDQUFDLFNBQVMsbUNBQVksQ0FBQztBQUN6QixJQUFFLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztBQUNqQixJQUFFLENBQUMsZ0JBQWdCLEdBQUcsS0FBSyxDQUFDLGdCQUFnQixDQUFDOztBQUU3QyxJQUFFLENBQUMsRUFBRSxHQUFHLE9BQU8sQ0FBQztBQUNoQixJQUFFLENBQUMsUUFBUSxHQUFHLFVBQVMsSUFBSSxFQUFFO0FBQzNCLFdBQU8sT0FBTyxDQUFDLFFBQVEsQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLENBQUM7R0FDbkMsQ0FBQzs7QUFFRixTQUFPLEVBQUUsQ0FBQztDQUNYOztBQUVELElBQUksSUFBSSxHQUFHLE1BQU0sRUFBRSxDQUFDO0FBQ3BCLElBQUks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biAgaGIuU2FmZVN0cmluZyA9IFNhZmVTdHJpbmc7XG4gIGhiLkV4Y2VwdGlvbiA9IEV4Y2VwdGlvbjtcbiAgaGIuVXRpbHMgPSBVdGlscztcbiAgaGIuZXNjYXBlRXhwcmVzc2lvbiA9IFV0aWxzLmVzY2FwZUV4cHJlc3Npb247XG5cbiAgaGIuVk0gPSBydW50aW1lO1xuICBoYi50ZW1wbGF0ZSA9IGZ1bmN0aW9uKHNwZWMpIHtcbiAgICByZXR1cm4gcnVudGltZS50ZW1wbGF0ZShzcGVjLCBoYik7XG4gIH07XG5cbiAgcmV0dXJuIGhiO1xufVxuXG5sZXQgaW5zdCA9IGNyZWF0ZSgpO1xuaW5zdC5jcmVhdGUgPSBjcmVhdGU7XG5cbm5vQ29uZmxpY3QoaW5zdCk7XG5cbmluc3RbJ2RlZmF1bHQnXSA9IGluc3Q7XG5cbmV4cG9ydCBkZWZhdWx0IGluc3Q7XG4iXX0=\n\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.registerDefaultDecorators = registerDefaultDecorators;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _decoratorsInline = __webpack_require__(47);\n\t\n\tvar _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);\n\t\n\tfunction registerDefaultDecorators(instance) {\n\t _decoratorsInline2['default'](instance);\n\t}\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Z0NBQTJCLHFCQUFxQjs7OztBQUV6QyxTQUFTLHlCQUF5QixDQUFDLFFBQVEsRUFBRTtBQUNsRCxnQ0FBZSxRQUFRLENBQUMsQ0FBQztDQUMxQiIsImZpbGUiOiJkZWNvcmF0b3JzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZ2lzdGVySW5saW5lIGZyb20gJy4vZGVjb3JhdG9ycy9pbmxpbmUnO1xuXG5leHBvcnQgZnVuY3Rpb24gcmVnaXN0ZXJEZWZhdWx0RGVjb3JhdG9ycyhpbnN0YW5jZSkge1xuICByZWdpc3RlcklubGluZShpbnN0YW5jZSk7XG59XG5cbiJdfQ==\n\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\texports['default'] = function (instance) {\n\t instance.registerDecorator('inline', function (fn, props, container, options) {\n\t var ret = fn;\n\t if (!props.partials) {\n\t props.partials = {};\n\t ret = function (context, options) {\n\t // Create a new partials stack frame prior to exec.\n\t var original = container.partials;\n\t container.partials = _utils.extend({}, original, props.partials);\n\t var ret = fn(context, options);\n\t container.partials = original;\n\t return ret;\n\t };\n\t }\n\t\n\t props.partials[options.args[0]] = options.fn;\n\t\n\t return ret;\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMvaW5saW5lLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQXFCLFVBQVU7O3FCQUVoQixVQUFTLFFBQVEsRUFBRTtBQUNoQyxVQUFRLENBQUMsaUJBQWlCLENBQUMsUUFBUSxFQUFFLFVBQVMsRUFBRSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFO0FBQzNFLFFBQUksR0FBRyxHQUFHLEVBQUUsQ0FBQztBQUNiLFFBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxFQUFFO0F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gc3RhY2sgZnJhbWUgcHJpb3IgdG8gZXhlYy5cbiAgICAgICAgbGV0IG9yaWdpbmFsID0gY29udGFpbmVyLnBhcnRpYWxzO1xuICAgICAgICBjb250YWluZXIucGFydGlhbHMgPSBleHRlbmQoe30sIG9yaWdpbmFsLCBwcm9wcy5wYXJ0aWFscyk7XG4gICAgICAgIGxldCByZXQgPSBmbihjb250ZXh0LCBvcHRpb25zKTtcbiAgICAgICAgY29udGFpbmVyLnBhcnRpYWxzID0gb3JpZ2luYWw7XG4gICAgICAgIHJldHVybiByZXQ7XG4gICAgICB9O1xuICAgIH1cblxuICAgIHByb3BzLnBhcnRpYWxzW29wdGlvbnMuYXJnc1swXV0gPSBvcHRpb25zLmZuO1xuXG4gICAgcmV0dXJuIHJldDtcbiAgfSk7XG59XG4iXX0=\n\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.registerDefaultHelpers = registerDefaultHelpers;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _helpersBlockHelperMissing = __webpack_require__(49);\n\t\n\tvar _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);\n\t\n\tvar _helpersEach = __webpack_require__(50);\n\t\n\tvar _helpersEach2 = _interopRequireDefault(_helpersEach);\n\t\n\tvar _helpersHelperMissing = __webpack_require__(51);\n\t\n\tvar _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);\n\t\n\tvar _helpersIf = __webpack_require__(52);\n\t\n\tvar _helpersIf2 = _interopRequireDefault(_helpersIf);\n\t\n\tvar _helpersLog = __webpack_require__(53);\n\t\n\tvar _helpersLog2 = _interopRequireDefault(_helpersLog);\n\t\n\tvar _helpersLookup = __webpack_require__(54);\n\t\n\tvar _helpersLookup2 = _interopRequireDefault(_helpersLookup);\n\t\n\tvar _helpersWith = __webpack_require__(55);\n\t\n\tvar _helpersWith2 = _interopRequireDefault(_helpersWith);\n\t\n\tfunction registerDefaultHelpers(instance) {\n\t _helpersBlockHelperMissing2['default'](instance);\n\t _helpersEach2['default'](instance);\n\t _helpersHelperMissing2['default'](instance);\n\t _helpersIf2['default'](instance);\n\t _helpersLog2['default'](instance);\n\t _helpersLookup2['default'](instance);\n\t _helpersWith2['default'](instance);\n\t}\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7eUNBQXVDLGdDQUFnQzs7OzsyQkFDOUMsZ0JBQWdCOzs7O29DQUNQLDBCQUEwQjs7Ozt5QkFDckMsY0FBYzs7OzswQkFDYixlQUFlOzs7OzZCQUNaLGtCQUFrQjs7OzsyQkFDcEIsZ0JBQWdCOzs7O0FBRWxDLFNBQVMsc0JBQXNCLENBQUMsUUFBUSxFQUFFO0FBQy9DLHlDQUEyQixRQUFRLENBQUMsQ0FBQztBQUNyQywyQkFBYSxRQUFRLENBQUMsQ0FBQztBQUN2QixvQ0FBc0IsUUFBUSxDQUFDLENBQUM7QUFDaEMseUJBQVcsUUFBUSxDQUFDLENBQUM7QUFDckIsMEJBQVksUUFBUSxDQUFDLENBQUM7QUFDdEIsNkJBQWUsUUFBUSxDQUFDLENBQUM7QUFDekIsMkJBQWEsUUFBUSxDQUFDLENBQUM7Q0FDeEIiLCJmaWxlIjoiaGVscGVycy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCByZWdpc3RlckJsb2NrSGVscGVyTWlzc2luZyBmcm9tICcuL2hlbHBlcnMvYmxvY2staGVscGVyLW1pc3NpbmcnO1xuaW1wb3J0IHJlZ2lzdGVyRWFjaCBmcm9tICcuL2hlbHBlcnMvZWFjaCc7XG5pbXBvcnQgcmVnaXN0ZXJIZWxwZXJNaXNzaW5nIGZyb20gJy4vaGVscGVycy9oZWxwZXItbWlzc2luZyc7XG5pbXBvcnQgcmVnaXN0ZXJJZiBmcm9tICcuL2hlbHBlcnMvaWYnO1xuaW1wb3J0IHJlZ2lzdGVyTG9nIGZyb20gJy4vaGVscGVycy9sb2cnO1xuaW1wb3J0IHJlZ2lzdGVyTG9va3VwIGZyb20gJy4vaGVscGVycy9sb29rdXAnO1xuaW1wb3J0IHJlZ2lzdGVyV2l0aCBmcm9tICcuL2hlbHBlcnMvd2l0aCc7XG5cbmV4cG9ydCBmdW5jdGlvbiByZWdpc3RlckRlZmF1bHRIZWxwZXJzKGluc3RhbmNlKSB7XG4gIHJlZ2lzdGVyQmxvY2tIZWxwZXJNaXNzaW5nKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJFYWNoKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJIZWxwZXJNaXNzaW5nKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJJZihpbnN0YW5jZSk7XG4gIHJlZ2lzdGVyTG9nKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJMb29rdXAoaW5zdGFuY2UpO1xuICByZWdpc3RlcldpdGgoaW5zdGFuY2UpO1xufVxuIl19\n\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('blockHelperMissing', function (context, options) {\n\t var inverse = options.inverse,\n\t fn = options.fn;\n\t\n\t if (context === true) {\n\t return fn(this);\n\t } else if (context === false || context == null) {\n\t return inverse(this);\n\t } else if (_utils.isArray(context)) {\n\t if (context.length > 0) {\n\t if (options.ids) {\n\t options.ids = [options.name];\n\t }\n\t\n\t return instance.helpers.each(context, options);\n\t } else {\n\t return inverse(this);\n\t }\n\t } else {\n\t if (options.data && options.ids) {\n\t var data = _utils.createFrame(options.data);\n\t data.contextPath = _utils.appendContextPath(options.data.contextPath, options.name);\n\t options = { data: data };\n\t }\n\t\n\t return fn(context, options);\n\t }\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvYmxvY2staGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBc0QsVUFBVTs7cUJBRWpELFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsb0JBQW9CLEVBQUUsVUFBUyxPQUFPLEVBQUUsT0FBTyxFQUFFO0FBQ3ZFLFFBQUksT0FBTyxHQUFHLE9BQU8sQ0FBQyxPQUFPO1FBQ3pCLEVBQUUsR0FBRyxPQUFPLENBQUMsRUFBRSxDQUFDOztBQUVwQixRQUFJLE9BQU8sS0FBSyxJQUFJLEVBQUU7QUFDcEIsYUFBTyxFQUFFLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDakIsTUFBTSxJQUFJLE9BQU8sS0FBSyxLQUFLLElBQUksT0FBTyxJQUFJLElBQUksRUFBRTtBQUMvQyxhQUFPLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztLQUN0QixNQUFNLElBQUksZUFBUSxPQUFPLENBQUMsRUFBRTtBQUMzQixVQUFJLE9BQU8sQ0FBQyxNQUFNLEdBQUcsQ0FBQyxFQUFFO0FBQ3RCLFlBQUksT0FBTyxDQUFDLEdBQUcsRUFBRTtBQUNmLGlCQUFPLENBQUMsR0FBRyxHQUFHLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDO1NBQzlCOztBQUVELGVBQU8sUUFBUSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO09BQ2hELE1BQU07QUFDTCxlQU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cnJheShjb250ZXh0KSkge1xuICAgICAgaWYgKGNvbnRleHQubGVuZ3RoID4gMCkge1xuICAgICAgICBpZiAob3B0aW9ucy5pZHMpIHtcbiAgICAgICAgICBvcHRpb25zLmlkcyA9IFtvcHRpb25zLm5hbWVdO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGluc3RhbmNlLmhlbHBlcnMuZWFjaChjb250ZXh0LCBvcHRpb25zKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHJldHVybiBpbnZlcnNlKHRoaXMpO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAob3B0aW9ucy5kYXRhICYmIG9wdGlvbnMuaWRzKSB7XG4gICAgICAgIGxldCBkYXRhID0gY3JlYXRlRnJhbWUob3B0aW9ucy5kYXRhKTtcbiAgICAgICAgZGF0YS5jb250ZXh0UGF0aCA9IGFwcGVuZENvbnRleHRQYXRoKG9wdGlvbnMuZGF0YS5jb250ZXh0UGF0aCwgb3B0aW9ucy5uYW1lKTtcbiAgICAgICAgb3B0aW9ucyA9IHtkYXRhOiBkYXRhfTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIGZuKGNvbnRleHQsIG9wdGlvbnMpO1xuICAgIH1cbiAgfSk7XG59XG4iXX0=\n\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\tvar _exception = __webpack_require__(13);\n\t\n\tvar _exception2 = _interopRequireDefault(_exception);\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('each', function (context, options) {\n\t if (!options) {\n\t throw new _exception2['default']('Must pass iterator to #each');\n\t }\n\t\n\t var fn = options.fn,\n\t inverse = options.inverse,\n\t i = 0,\n\t ret = '',\n\t data = undefined,\n\t contextPath = undefined;\n\t\n\t if (options.data && options.ids) {\n\t contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.';\n\t }\n\t\n\t if (_utils.isFunction(context)) {\n\t context = context.call(this);\n\t }\n\t\n\t if (options.data) {\n\t data = _utils.createFrame(options.data);\n\t }\n\t\n\t function execIteration(field, index, last) {\n\t if (data) {\n\t data.key = field;\n\t data.index = index;\n\t data.first = index === 0;\n\t data.last = !!last;\n\t\n\t if (contextPath) {\n\t data.contextPath = contextPath + field;\n\t }\n\t }\n\t\n\t ret = ret + fn(context[field], {\n\t data: data,\n\t blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])\n\t });\n\t }\n\t\n\t if (context && typeof context === 'object') {\n\t if (_utils.isArray(context)) {\n\t for (var j = context.length; i < j; i++) {\n\t if (i in context) {\n\t execIteration(i, i, i === context.length - 1);\n\t }\n\t }\n\t } else {\n\t var priorKey = undefined;\n\t\n\t for (var key in context) {\n\t if (context.hasOwnProperty(key)) {\n\t // We're running the iterations one step out of sync so we can detect\n\t // the last iteration without have to scan the object twice and create\n\t // an itermediate keys array.\n\t if (priorKey !== undefined) {\n\t execIteration(priorKey, i - 1);\n\t }\n\t priorKey = key;\n\t i++;\n\t }\n\t }\n\t if (priorKey !== undefined) {\n\t execIteration(priorKey, i - 1, true);\n\t }\n\t }\n\t }\n\t\n\t if (i === 0) {\n\t ret = inverse(this);\n\t }\n\t\n\t return ret;\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvZWFjaC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O3FCQUErRSxVQUFVOzt5QkFDbkUsY0FBYzs7OztxQkFFckIsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxNQU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qID0gY29udGV4dC5sZW5ndGg7IGkgPCBqOyBpKyspIHtcbiAgICAgICAgICBpZiAoaSBpbiBjb250ZXh0KSB7XG4gICAgICAgICAgICBleGVjSXRlcmF0aW9uKGksIGksIGkgPT09IGNvbnRleHQubGVuZ3RoIC0gMSk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsZXQgcHJpb3JLZXk7XG5cbiAgICAgICAgZm9yIChsZXQga2V5IGluIGNvbnRleHQpIHtcbiAgICAgICAgICBpZiAoY29udGV4dC5oYXNPd25Qcm9wZXJ0eShrZXkpKSB7XG4gICAgICAgICAgICAvLyBXZSdyZSBydW5uaW5nIHRoZSBpdGVyYXRpb25zIG9uZSBzdGVwIG91dCBvZiBzeW5jIHNvIHdlIGNhbiBkZXRlY3RcbiAgICAgICAgICAgIC8vIHRoZSBsYXN0IGl0ZXJhdGlvbiB3aXRob3V0IGhhdmUgdG8gc2NhbiB0aGUgb2JqZWN0IHR3aWNlIGFuZCBjcmVhdGVcbiAgICAgICAgICAgIC8vIGFuIGl0ZXJtZWRpYXRlIGtleXMgYXJyYXkuXG4gICAgICAgICAgICBpZiAocHJpb3JLZXkgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBwcmlvcktleSA9IGtleTtcbiAgICAgICAgICAgIGkrKztcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHByaW9yS2V5ICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSwgdHJ1ZSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAoaSA9PT0gMCkge1xuICAgICAgcmV0ID0gaW52ZXJzZSh0aGlzKTtcbiAgICB9XG5cbiAgICByZXR1cm4gcmV0O1xuICB9KTtcbn1cbiJdfQ==\n\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _exception = __webpack_require__(13);\n\t\n\tvar _exception2 = _interopRequireDefault(_exception);\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('helperMissing', function () /* [args, ]options */{\n\t if (arguments.length === 1) {\n\t // A missing field in a {{foo}} construct.\n\t return undefined;\n\t } else {\n\t // Someone is actually trying to call something, blow up.\n\t throw new _exception2['default']('Missing helper: \"' + arguments[arguments.length - 1].name + '\"');\n\t }\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozt5QkFBc0IsY0FBYzs7OztxQkFFckIsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxlQUFlLEVBQUUsaUNBQWdDO0FBQ3ZFLFFBQUksU0FBUyxDQUFDLE1BQU0sS0FBSyxDQUFDLEVBQUU7O0FBRTFCLGFBQU8sU0FBUyxDQUFDO0tBQ2xCLE1BQU07O0FBRUwsWUFBTSwyQkFBYyxtQkFBbUIsR0FBRyxTQUFTLENBQUMsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQyxJQUFJLEdBQUcsR0FBRyxDQUFDLENBQUM7S0FDdkY7R0FDRixDQUFDLENBQUM7Q0FDSiIsImZpbGUiOiJoZWxwZXItbWlzc2luZy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBFeGNlcHRpb24gZnJvbSAnLi4vZXhjZXB0aW9uJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ2hlbHBlck1pc3NpbmcnLCBmdW5jdGlvbigvKiBbYXJncywgXW9wdGlvbnMgKi8pIHtcbiAgICBpZiAoYXJndW1lbnRzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgLy8gQSBtaXNzaW5nIGZpZWxkIGluIGEge3tmb299fSBjb25zdHJ1Y3QuXG4gICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgIH0gZWxzZSB7XG4gICAgICAvLyBTb21lb25lIGlzIGFjdHVhbGx5IHRyeWluZyB0byBjYWxsIHNvbWV0aGluZywgYmxvdyB1cC5cbiAgICAgIHRocm93IG5ldyBFeGNlcHRpb24oJ01pc3NpbmcgaGVscGVyOiBcIicgKyBhcmd1bWVudHNbYXJndW1lbnRzLmxlbmd0aCAtIDFdLm5hbWUgKyAnXCInKTtcbiAgICB9XG4gIH0pO1xufVxuIl19\n\n\n/***/ },\n/* 52 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('if', function (conditional, options) {\n\t if (_utils.isFunction(conditional)) {\n\t conditional = conditional.call(this);\n\t }\n\t\n\t // Default behavior is to render the positive path if the value is truthy and not empty.\n\t // The `includeZero` option may be set to treat the condtional as purely not empty based on the\n\t // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.\n\t if (!options.hash.includeZero && !conditional || _utils.isEmpty(conditional)) {\n\t return options.inverse(this);\n\t } else {\n\t return options.fn(this);\n\t }\n\t });\n\t\n\t instance.registerHelper('unless', function (conditional, options) {\n\t return instance.helpers['if'].call(this, conditional, { fn: options.inverse, inverse: options.fn, hash: options.hash });\n\t });\n\t};\n\t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pdGlvbmFsLCBvcHRpb25zKSB7XG4gICAgcmV0dXJuIGluc3RhbmNlLmhlbHBlcnNbJ2lmJ10uY2FsbCh0aGlzLCBjb25kaXRpb25hbCwge2ZuOiBvcHRpb25zLmludmVyc2UsIGludmVyc2U6IG9wdGlvbnMuZm4sIGhhc2g6IG9wdGlvbnMuaGFzaH0pO1xuICB9KTtcbn1cbiJdfQ==\n\n\n/***/ },\n/* 53 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('log', function () /* message, options */{\n\t var args = [undefined],\n\t options = arguments[arguments.length - 1];\n\t for (var i = 0; i < arguments.length - 1; i++) {\n\t args.push(arguments[i]);\n\t }\n\t\n\t var level = 1;\n\t if (options.hash.level != null) {\n\t level = options.hash.level;\n\t } else if (options.data && options.data.level != null) {\n\t level = options.data.level;\n\t }\n\t args[0] = level;\n\t\n\t instance.log.apply(instance, args);\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9nLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQWUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxLQUFLLEVBQUUsa0NBQWlDO0FBQzlELFFBQUksSUFBSSxHQUFHLENBQUMsU0FBUyxDQUFDO1FBQ2xCLE9BQU8sR0FBRyxTQUFTLENBQUMsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztBQUM5QyxTQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUUsQ0FBQyxFQUFFLEVBQUU7QU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hPSBudWxsKSB7XG4gICAgICBsZXZlbCA9IG9wdGlvbnMuaGFzaC5sZXZlbDtcbiAgICB9IGVsc2UgaWYgKG9wdGlvbnMuZGF0YSAmJiBvcHRpb25zLmRhdGEubGV2ZWwgIT0gbnVsbCkge1xuICAgICAgbGV2ZWwgPSBvcHRpb25zLmRhdGEubGV2ZWw7XG4gICAgfVxuICAgIGFyZ3NbMF0gPSBsZXZlbDtcblxuICAgIGluc3RhbmNlLmxvZyguLi4gYXJncyk7XG4gIH0pO1xufVxuIl19\n\n\n/***/ },\n/* 54 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('lookup', function (obj, field) {\n\t return obj && obj[field];\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9va3VwLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQWUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxRQUFRLEVBQUUsVUFBUyxHQUFHLEVBQUUsS0FBSyxFQUFFO0FBQ3JELFdBQU8sR0FBRyxJQUFJLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQztHQUMxQixDQUFDLENBQUM7Q0FDSiIsImZpbGUiOiJsb29rdXAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBmdW5jdGlvbihpbnN0YW5jZSkge1xuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcignbG9va3VwJywgZnVuY3Rpb24ob2JqLCBmaWVsZCkge1xuICAgIHJldHVybiBvYmogJiYgb2JqW2ZpZWxkXTtcbiAgfSk7XG59XG4iXX0=\n\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\texports['default'] = function (instance) {\n\t instance.registerHelper('with', function (context, options) {\n\t if (_utils.isFunction(context)) {\n\t context = context.call(this);\n\t }\n\t\n\t var fn = options.fn;\n\t\n\t if (!_utils.isEmpty(context)) {\n\t var data = options.data;\n\t if (options.data && options.ids) {\n\t data = _utils.createFrame(options.data);\n\t data.contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]);\n\t }\n\t\n\t return fn(context, {\n\t data: data,\n\t blockParams: _utils.blockParams([context], [data && data.contextPath])\n\t });\n\t } else {\n\t return options.inverse(this);\n\t }\n\t });\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvd2l0aC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O3FCQUErRSxVQUFVOztxQkFFMUUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxNQUFNLEVBQUUsVUFBUyxPQUFPLEVBQUUsT0FBTyxFQUFFO0FBQ3pELFFBQUksa0JBQVcsT0FBTyxDQUFDLEVBQUU7QUFBRSxhQUFPLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztLQUFFOztBQUUxRCxRQUFJLEVBQUUsR0FBRyxPQUFPLENBQUMsRUFBRSxDQUFDOztBQUVwQixRQUFJLENBQUMsZUFBUSxPQUFPLENBQUMsRUFBRTtBQUNyQixVQUFJLElBQUksR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDO0FBQ3hCLFVBQUksT0FBTyxDQUFDLElBQUksSUFBSSxPQUFPLENBQUMsR0FBRyxFQUFFO0FBQy9CLF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SB7XG4gICAgICAgIGRhdGEgPSBjcmVhdGVGcmFtZShvcHRpb25zLmRhdGEpO1xuICAgICAgICBkYXRhLmNvbnRleHRQYXRoID0gYXBwZW5kQ29udGV4dFBhdGgob3B0aW9ucy5kYXRhLmNvbnRleHRQYXRoLCBvcHRpb25zLmlkc1swXSk7XG4gICAgICB9XG5cbiAgICAgIHJldHVybiBmbihjb250ZXh0LCB7XG4gICAgICAgIGRhdGE6IGRhdGEsXG4gICAgICAgIGJsb2NrUGFyYW1zOiBibG9ja1BhcmFtcyhbY29udGV4dF0sIFtkYXRhICYmIGRhdGEuY29udGV4dFBhdGhdKVxuICAgICAgfSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmludmVyc2UodGhpcyk7XG4gICAgfVxuICB9KTtcbn1cbiJdfQ==\n\n\n/***/ },\n/* 56 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\tvar logger = {\n\t methodMap: ['debug', 'info', 'warn', 'error'],\n\t level: 'info',\n\t\n\t // Maps a given level value to the `methodMap` indexes above.\n\t lookupLevel: function lookupLevel(level) {\n\t if (typeof level === 'string') {\n\t var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());\n\t if (levelMap >= 0) {\n\t level = levelMap;\n\t } else {\n\t level = parseInt(level, 10);\n\t }\n\t }\n\t\n\t return level;\n\t },\n\t\n\t // Can be overridden in the host environment\n\t log: function log(level) {\n\t level = logger.lookupLevel(level);\n\t\n\t if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {\n\t var method = logger.methodMap[level];\n\t if (!console[method]) {\n\t // eslint-disable-line no-console\n\t method = 'log';\n\t }\n\t\n\t for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t message[_key - 1] = arguments[_key];\n\t }\n\t\n\t console[method].apply(console, message); // eslint-disable-line no-console\n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WVzc2FnZSkge1xuICAgIGxldmVsID0gbG9nZ2VyLmxvb2t1cExldmVsKGxldmVsKTtcblxuICAgIGlmICh0eXBlb2YgY29uc29sZSAhPT0gJ3VuZGVmaW5lZCcgJiYgbG9nZ2VyLmxvb2t1cExldmVsKGxvZ2dlci5sZXZlbCkgPD0gbGV2ZWwpIHtcbiAgICAgIGxldCBtZXRob2QgPSBsb2dnZXIubWV0aG9kTWFwW2xldmVsXTtcbiAgICAgIGlmICghY29uc29sZVttZXRob2RdKSB7ICAgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby1jb25zb2xlXG4gICAgICAgIG1ldGhvZCA9ICdsb2cnO1xuICAgICAgfVxuICAgICAgY29uc29sZVttZXRob2RdKC4uLm1lc3NhZ2UpOyAgICAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLWNvbnNvbGVcbiAgICB9XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IGxvZ2dlcjtcbiJdfQ==\n\n\n/***/ },\n/* 57 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/* global window */\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\texports['default'] = function (Handlebars) {\n\t /* istanbul ignore next */\n\t var root = typeof global !== 'undefined' ? global : window,\n\t $Handlebars = root.Handlebars;\n\t /* istanbul ignore next */\n\t Handlebars.noConflict = function () {\n\t if (root.Handlebars === Handlebars) {\n\t root.Handlebars = $Handlebars;\n\t }\n\t return Handlebars;\n\t };\n\t};\n\t\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL25vLWNvbmZsaWN0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O3FCQUNlLFVBQVMsVUFBVSxFQUFFOztBQUVsQyxNQUFJLElBQUksR0FBRyxPQUFPLE1BQU0sS0FBSyxXQUFXLEdBQUcsTUFBTSxHQUFHLE1BQU07TUFDdEQsV0FBVyxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUM7O0FBRWxDLFlBQVUsQ0FBQyxVQUFVLEdBQUcsWUFBVztBQUNqQyxRQUFJLElBQUksQ0FBQyxVQUFVLEtBQUssVUFBVSxFQUFFO0FBQ2xDLFVBQUksQ0FBQyxVQUFVLEdBQUcsV0FBVyxDQUFDO0tBQy9CO0FBQ0QsV0FBTyxVQUFVLENBQUM7R0FDbkIsQ0FBQztDQUNIIiwiZmlsZSI6Im5vLWNvbmZsaWN0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogZ2xvYmFsIHdpbmRvdyAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oSGFuZGxlYmFycykge1xuICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICBsZXQgcm9vdCA9IHR5cGVvZiBnbG9iYWwgIT09ICd1bmRlZmluZWQnID8gZ2xvYmFsIDogd2luZG93LFxuICAgICAgJEhhbmRsZWJhcnMgPSByb290LkhhbmRsZWJhcnM7XG4gIC8qIGlzdGFuYnVsIGlnbm9yZSBuZXh0ICovXG4gIEhhbmRsZWJhcnMubm9Db25mbGljdCA9IGZ1bmN0aW9uKCkge1xuICAgIGlmIChyb290LkhhbmRsZWJhcnMgPT09IEhhbmRsZWJhcnMpIHtcbiAgICAgIHJvb3QuSGFuZGxlYmFycyA9ICRIYW5kbGViYXJzO1xuICAgIH1cbiAgICByZXR1cm4gSGFuZGxlYmFycztcbiAgfTtcbn1cbiJdfQ==\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 58 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.checkRevision = checkRevision;\n\texports.template = template;\n\texports.wrapProgram = wrapProgram;\n\texports.resolvePartial = resolvePartial;\n\texports.invokePartial = invokePartial;\n\texports.noop = noop;\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\t// istanbul ignore next\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\t\n\tvar _utils = __webpack_require__(10);\n\t\n\tvar Utils = _interopRequireWildcard(_utils);\n\t\n\tvar _exception = __webpack_require__(13);\n\t\n\tvar _exception2 = _interopRequireDefault(_exception);\n\t\n\tvar _base = __webpack_require__(22);\n\t\n\tfunction checkRevision(compilerInfo) {\n\t var compilerRevision = compilerInfo && compilerInfo[0] || 1,\n\t currentRevision = _base.COMPILER_REVISION;\n\t\n\t if (compilerRevision !== currentRevision) {\n\t if (compilerRevision < currentRevision) {\n\t var runtimeVersions = _base.REVISION_CHANGES[currentRevision],\n\t compilerVersions = _base.REVISION_CHANGES[compilerRevision];\n\t throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');\n\t } else {\n\t // Use the embedded version info since the runtime doesn't know about this revision yet\n\t throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');\n\t }\n\t }\n\t}\n\t\n\tfunction template(templateSpec, env) {\n\t /* istanbul ignore next */\n\t if (!env) {\n\t throw new _exception2['default']('No environment passed to template');\n\t }\n\t if (!templateSpec || !templateSpec.main) {\n\t throw new _exception2['default']('Unknown template object: ' + typeof templateSpec);\n\t }\n\t\n\t templateSpec.main.decorator = templateSpec.main_d;\n\t\n\t // Note: Using env.VM references rather than local var references throughout this section to allow\n\t // for external users to override these as psuedo-supported APIs.\n\t env.VM.checkRevision(templateSpec.compiler);\n\t\n\t function invokePartialWrapper(partial, context, options) {\n\t if (options.hash) {\n\t context = Utils.extend({}, context, options.hash);\n\t if (options.ids) {\n\t options.ids[0] = true;\n\t }\n\t }\n\t\n\t partial = env.VM.resolvePartial.call(this, partial, context, options);\n\t var result = env.VM.invokePartial.call(this, partial, context, options);\n\t\n\t if (result == null && env.compile) {\n\t options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);\n\t result = options.partials[options.name](context, options);\n\t }\n\t if (result != null) {\n\t if (options.indent) {\n\t var lines = result.split('\\n');\n\t for (var i = 0, l = lines.length; i < l; i++) {\n\t if (!lines[i] && i + 1 === l) {\n\t break;\n\t }\n\t\n\t lines[i] = options.indent + lines[i];\n\t }\n\t result = lines.join('\\n');\n\t }\n\t return result;\n\t } else {\n\t throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');\n\t }\n\t }\n\t\n\t // Just add water\n\t var container = {\n\t strict: function strict(obj, name) {\n\t if (!(name in obj)) {\n\t throw new _exception2['default']('\"' + name + '\" not defined in ' + obj);\n\t }\n\t return obj[name];\n\t },\n\t lookup: function lookup(depths, name) {\n\t var len = depths.length;\n\t for (var i = 0; i < len; i++) {\n\t if (depths[i] && depths[i][name] != null) {\n\t return depths[i][name];\n\t }\n\t }\n\t },\n\t lambda: function lambda(current, context) {\n\t return typeof current === 'function' ? current.call(context) : current;\n\t },\n\t\n\t escapeExpression: Utils.escapeExpression,\n\t invokePartial: invokePartialWrapper,\n\t\n\t fn: function fn(i) {\n\t var ret = templateSpec[i];\n\t ret.decorator = templateSpec[i + '_d'];\n\t return ret;\n\t },\n\t\n\t programs: [],\n\t program: function program(i, data, declaredBlockParams, blockParams, depths) {\n\t var programWrapper = this.programs[i],\n\t fn = this.fn(i);\n\t if (data || depths || blockParams || declaredBlockParams) {\n\t programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);\n\t } else if (!programWrapper) {\n\t programWrapper = this.programs[i] = wrapProgram(this, i, fn);\n\t }\n\t return programWrapper;\n\t },\n\t\n\t data: function data(value, depth) {\n\t while (value && depth--) {\n\t value = value._parent;\n\t }\n\t return value;\n\t },\n\t merge: function merge(param, common) {\n\t var obj = param || common;\n\t\n\t if (param && common && param !== common) {\n\t obj = Utils.extend({}, common, param);\n\t }\n\t\n\t return obj;\n\t },\n\t // An empty object to use as replacement for null-contexts\n\t nullContext: Object.seal({}),\n\t\n\t noop: env.VM.noop,\n\t compilerInfo: templateSpec.compiler\n\t };\n\t\n\t function ret(context) {\n\t var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t var data = options.data;\n\t\n\t ret._setup(options);\n\t if (!options.partial && templateSpec.useData) {\n\t data = initData(context, data);\n\t }\n\t var depths = undefined,\n\t blockParams = templateSpec.useBlockParams ? [] : undefined;\n\t if (templateSpec.useDepths) {\n\t if (options.depths) {\n\t depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;\n\t } else {\n\t depths = [context];\n\t }\n\t }\n\t\n\t function main(context /*, options*/) {\n\t return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);\n\t }\n\t main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);\n\t return main(context, options);\n\t }\n\t ret.isTop = true;\n\t\n\t ret._setup = function (options) {\n\t if (!options.partial) {\n\t container.helpers = container.merge(options.helpers, env.helpers);\n\t\n\t if (templateSpec.usePartial) {\n\t container.partials = container.merge(options.partials, env.partials);\n\t }\n\t if (templateSpec.usePartial || templateSpec.useDecorators) {\n\t container.decorators = container.merge(options.decorators, env.decorators);\n\t }\n\t } else {\n\t container.helpers = options.helpers;\n\t container.partials = options.partials;\n\t container.decorators = options.decorators;\n\t }\n\t };\n\t\n\t ret._child = function (i, data, blockParams, depths) {\n\t if (templateSpec.useBlockParams && !blockParams) {\n\t throw new _exception2['default']('must pass block params');\n\t }\n\t if (templateSpec.useDepths && !depths) {\n\t throw new _exception2['default']('must pass parent depths');\n\t }\n\t\n\t return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);\n\t };\n\t return ret;\n\t}\n\t\n\tfunction wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {\n\t function prog(context) {\n\t var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t var currentDepths = depths;\n\t if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {\n\t currentDepths = [context].concat(depths);\n\t }\n\t\n\t return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);\n\t }\n\t\n\t prog = executeDecorators(fn, prog, container, depths, data, blockParams);\n\t\n\t prog.program = i;\n\t prog.depth = depths ? depths.length : 0;\n\t prog.blockParams = declaredBlockParams || 0;\n\t return prog;\n\t}\n\t\n\tfunction resolvePartial(partial, context, options) {\n\t if (!partial) {\n\t if (options.name === '@partial-block') {\n\t partial = options.data['partial-block'];\n\t } else {\n\t partial = options.partials[options.name];\n\t }\n\t } else if (!partial.call && !options.name) {\n\t // This is a dynamic partial that returned a string\n\t options.name = partial;\n\t partial = options.partials[partial];\n\t }\n\t return partial;\n\t}\n\t\n\tfunction invokePartial(partial, context, options) {\n\t // Use the current closure context to save the partial-block if this partial\n\t var currentPartialBlock = options.data && options.data['partial-block'];\n\t options.partial = true;\n\t if (options.ids) {\n\t options.data.contextPath = options.ids[0] || options.data.contextPath;\n\t }\n\t\n\t var partialBlock = undefined;\n\t if (options.fn && options.fn !== noop) {\n\t (function () {\n\t options.data = _base.createFrame(options.data);\n\t // Wrapper function to get access to currentPartialBlock from the closure\n\t var fn = options.fn;\n\t partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {\n\t var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t // Restore the partial-block from the closure for the execution of the block\n\t // i.e. the part inside the block of the partial call.\n\t options.data = _base.createFrame(options.data);\n\t options.data['partial-block'] = currentPartialBlock;\n\t return fn(context, options);\n\t };\n\t if (fn.partials) {\n\t options.partials = Utils.extend({}, options.partials, fn.partials);\n\t }\n\t })();\n\t }\n\t\n\t if (partial === undefined && partialBlock) {\n\t partial = partialBlock;\n\t }\n\t\n\t if (partial === undefined) {\n\t throw new _exception2['default']('The partial ' + options.name + ' could not be found');\n\t } else if (partial instanceof Function) {\n\t return partial(context, options);\n\t }\n\t}\n\t\n\tfunction noop() {\n\t return '';\n\t}\n\t\n\tfunction initData(context, data) {\n\t if (!data || !('root' in data)) {\n\t data = data ? _base.createFrame(data) : {};\n\t data.root = context;\n\t }\n\t return data;\n\t}\n\t\n\tfunction executeDecorators(fn, prog, container, depths, data, blockParams) {\n\t if (fn.decorator) {\n\t var props = {};\n\t prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);\n\t Utils.extend(prog, props);\n\t }\n\t return prog;\n\t}\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3J1bnRpbWUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7cUJBQXVCLFNBQVM7O0lBQXBCLEtBQUs7O3lCQUNLLGFBQWE7Ozs7b0JBQzhCLFFBQVE7O0FBRWxFLFNBQVMsYUFBYSxDQUFDLFlBQVksRUFBRTtBQUMxQyxNQUFNLGdCQUFnQixHQUFHLFlBQVksSUFBSSxZQUFZLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQztNQUN2RCxlQUFlLDBCQUFvQixDQUFDOztBQUUxQyxNQUFJLGdCQUFnQixLQUFLLGVBQWUsRUFBRTtBQUN4QyxRQUFJLGdCQUFnQixHQUFHLGVBQWUsRUFBRTtBQUN0QyxVQUFNLGVBQWUsR0FBRyx1QkFBaUIsZUFBZSxDQUFDO1VBQ25ELGdCQUFnQixHQUFHLHVCQUFpQixnQkFBZ0IsQ0FBQyxDQUFDO0FBQzVELFlBQU0sMkJBQWMseUZBQXlGLEdBQ3ZH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nRpYWxCbG9jaykge1xuICAgIHBhcnRpYWwgPSBwYXJ0aWFsQmxvY2s7XG4gIH1cblxuICBpZiAocGFydGlhbCA9PT0gdW5kZWZpbmVkKSB7XG4gICAgdGhyb3cgbmV3IEV4Y2VwdGlvbignVGhlIHBhcnRpYWwgJyArIG9wdGlvbnMubmFtZSArICcgY291bGQgbm90IGJlIGZvdW5kJyk7XG4gIH0gZWxzZSBpZiAocGFydGlhbCBpbnN0YW5jZW9mIEZ1bmN0aW9uKSB7XG4gICAgcmV0dXJuIHBhcnRpYWwoY29udGV4dCwgb3B0aW9ucyk7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG5vb3AoKSB7IHJldHVybiAnJzsgfVxuXG5mdW5jdGlvbiBpbml0RGF0YShjb250ZXh0LCBkYXRhKSB7XG4gIGlmICghZGF0YSB8fCAhKCdyb290JyBpbiBkYXRhKSkge1xuICAgIGRhdGEgPSBkYXRhID8gY3JlYXRlRnJhbWUoZGF0YSkgOiB7fTtcbiAgICBkYXRhLnJvb3QgPSBjb250ZXh0O1xuICB9XG4gIHJldHVybiBkYXRhO1xufVxuXG5mdW5jdGlvbiBleGVjdXRlRGVjb3JhdG9ycyhmbiwgcHJvZywgY29udGFpbmVyLCBkZXB0aHMsIGRhdGEsIGJsb2NrUGFyYW1zKSB7XG4gIGlmIChmbi5kZWNvcmF0b3IpIHtcbiAgICBsZXQgcHJvcHMgPSB7fTtcbiAgICBwcm9nID0gZm4uZGVjb3JhdG9yKHByb2csIHByb3BzLCBjb250YWluZXIsIGRlcHRocyAmJiBkZXB0aHNbMF0sIGRhdGEsIGJsb2NrUGFyYW1zLCBkZXB0aHMpO1xuICAgIFV0aWxzLmV4dGVuZChwcm9nLCBwcm9wcyk7XG4gIH1cbiAgcmV0dXJuIHByb2c7XG59XG4iXX0=\n\n\n/***/ },\n/* 59 */\n/***/ function(module, exports) {\n\n\t// Build out our basic SafeString type\n\t'use strict';\n\t\n\texports.__esModule = true;\n\tfunction SafeString(string) {\n\t this.string = string;\n\t}\n\t\n\tSafeString.prototype.toString = SafeString.prototype.toHTML = function () {\n\t return '' + this.string;\n\t};\n\t\n\texports['default'] = SafeString;\n\tmodule.exports = exports['default'];\n\t//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3NhZmUtc3RyaW5nLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFDQSxTQUFTLFVBQVUsQ0FBQyxNQUFNLEVBQUU7QUFDMUIsTUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7Q0FDdEI7O0FBRUQsVUFBVSxDQUFDLFNBQVMsQ0FBQyxRQUFRLEdBQUcsVUFBVSxDQUFDLFNBQVMsQ0FBQyxNQUFNLEdBQUcsWUFBVztBQUN2RSxTQUFPLEVBQUUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDO0NBQ3pCLENBQUM7O3FCQUVhLFVBQVUiLCJmaWxlIjoic2FmZS1zdHJpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBCdWlsZCBvdXQgb3VyIGJhc2ljIFNhZmVTdHJpbmcgdHlwZVxuZnVuY3Rpb24gU2FmZVN0cmluZyhzdHJpbmcpIHtcbiAgdGhpcy5zdHJpbmcgPSBzdHJpbmc7XG59XG5cblNhZmVTdHJpbmcucHJvdG90eXBlLnRvU3RyaW5nID0gU2FmZVN0cmluZy5wcm90b3R5cGUudG9IVE1MID0gZnVuY3Rpb24oKSB7XG4gIHJldHVybiAnJyArIHRoaXMuc3RyaW5nO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgU2FmZVN0cmluZztcbiJdfQ==\n\n\n/***/ },\n/* 60 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Add autoscroll feature to elements that prevented text selection.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar domevent = __webpack_require__(9);\n\tvar domutil = __webpack_require__(2);\n\tvar Point = __webpack_require__(23);\n\t\n\tvar SCROLL_INTERVAL = 30;\n\tvar SCROLL_MAX = 15;\n\tvar SCROLL_CLICK_INCREASED = 2; // IE에서 스크롤 바 클릭 시 실제 UI pixel 보다 넓게 잡히는 현상 offset.\n\t\n\t/**\n\t * Add autoscroll feature to elements that prevented text selection.\n\t * @constructor\n\t * @param {HTMLElement} container - HTMLElement to add autoscroll features.\n\t */\n\tfunction AutoScroll(container) {\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this.container = container;\n\t\n\t /**\n\t * @type {AutoScroll.DIRECTION}\n\t */\n\t this._direction = AutoScroll.DIRECTION.INSIDE;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._offset = 0;\n\t\n\t /**\n\t * interval to scrolling\n\t * @type {number}\n\t */\n\t this._intervalID = 0;\n\t\n\t domevent.on(container, {\n\t 'mousedown': this._onMouseDown\n\t }, this);\n\t}\n\t\n\t/**\n\t * @enum\n\t */\n\tAutoScroll.DIRECTION = {\n\t INSIDE: 0,\n\t TOP: 1,\n\t RIGHT: 2,\n\t BOTTOM: 3,\n\t LEFT: 4\n\t};\n\t\n\t/**\n\t * Instance destroy method.\n\t */\n\tAutoScroll.prototype.destroy = function() {\n\t domevent.off(this.container, {\n\t 'mousedown': this._onMouseDown,\n\t 'mousemove': this._onMouseMove,\n\t 'mouseup': this._onMouseUp\n\t }, this);\n\t\n\t window.clearInterval(this._intervalID);\n\t this._intervalID = this._direction = this.container = null;\n\t};\n\t\n\t/**\n\t * Normalize ClientRect and calculate each position of edges.\n\t * @param {ClientRect} clientRect - ClientRect object of element.\n\t * @returns {object} edges.\n\t */\n\tAutoScroll.prototype._getEdgePositions = function(clientRect) {\n\t return {\n\t top: clientRect.top,\n\t right: clientRect.left + clientRect.width,\n\t bottom: clientRect.bottom,\n\t left: clientRect.left\n\t };\n\t};\n\t\n\t/**\n\t * Get element real size (\"real size\" -> size without scrollbar)\n\t * @param {HTMLElement} el - element want to know real size (\"real size\" -> size without scrollbar)\n\t * @returns {number[]} real size [width, height]\n\t */\n\tAutoScroll.prototype.getRealSize = function(el) {\n\t var computed = domutil.getComputedStyle(el),\n\t border,\n\t padding;\n\t\n\t border = parseFloat(computed.getPropertyValue('border-top-width')) +\n\t parseFloat(computed.getPropertyValue('border-bottom-width'));\n\t padding = parseFloat(computed.getPropertyValue('padding-top')) +\n\t parseFloat(computed.getPropertyValue('padding-bottom'));\n\t\n\t return [el.clientWidth + border + padding, el.clientHeight + border + padding];\n\t};\n\t\n\t/**\n\t * Check supplied element has scrollbar.\n\t * @param {HTMLElement} el - element want to know has scrollbar.\n\t * @returns {boolean[]} has scrollbar? [horizontal, vertical]\n\t */\n\tAutoScroll.prototype.hasScrollbar = function(el) {\n\t var realSize = this.getRealSize(el);\n\t\n\t return [\n\t el.offsetWidth > Math.ceil(realSize[0]),\n\t el.offsetHeight > Math.ceil(realSize[1])\n\t ];\n\t};\n\t\n\t/**\n\t * @param {HTMLElement} el - element want to know.\n\t * @param {MouseEvent} mouseEvent - mouse event object.\n\t * @returns {boolean} mouse pointer is on the scrollbar?\n\t */\n\tAutoScroll.prototype.isOnScrollbar = function(el, mouseEvent) {\n\t var realSize = this.getRealSize(el),\n\t pos = domevent.getMousePosition(mouseEvent, el),\n\t mouseInScrollbar = false;\n\t\n\t mouseInScrollbar = (realSize[0] - SCROLL_CLICK_INCREASED < pos[0] ||\n\t realSize[1] - SCROLL_CLICK_INCREASED < pos[1]);\n\t\n\t return mouseInScrollbar;\n\t};\n\t\n\t/**\n\t * MouseDown event handler\n\t * @param {MouseEvent} mouseDownEvent - mouse down event\n\t */\n\tAutoScroll.prototype._onMouseDown = function(mouseDownEvent) {\n\t // only primary button can start drag.\n\t if (domevent.getMouseButton(mouseDownEvent) !== 0) {\n\t return;\n\t }\n\t\n\t // deactivate autoscroll feature when mouse is on the scrollbar. (IE)\n\t if (util.browser.msie && this.isOnScrollbar(this.container, mouseDownEvent)) {\n\t return;\n\t }\n\t\n\t window.clearInterval(this._intervalID);\n\t this._intervalID = window.setInterval(util.bind(this._onTick, this), SCROLL_INTERVAL);\n\t\n\t domevent.on(global, {\n\t 'mousemove': this._onMouseMove,\n\t 'mouseup': this._onMouseUp\n\t }, this);\n\t};\n\t\n\t/**\n\t * MouseMove event handler\n\t * @param {MouseEvent} mouseEvent - mouse move event object.\n\t */\n\tAutoScroll.prototype._onMouseMove = function(mouseEvent) {\n\t var edge = this._getEdgePositions(this.container.getBoundingClientRect()),\n\t pos = Point.n(domevent.getMousePosition(mouseEvent));\n\t\n\t if (pos.y >= edge.top && pos.y <= edge.bottom &&\n\t pos.x >= edge.left && pos.x <= edge.right) {\n\t this._direction = AutoScroll.DIRECTION.INSIDE;\n\t\n\t return;\n\t }\n\t\n\t if (pos.y < edge.top) {\n\t this._direction = AutoScroll.DIRECTION.TOP;\n\t this._offset = edge.top - pos.y;\n\t\n\t return;\n\t }\n\t\n\t if (pos.y > edge.bottom) {\n\t this._direction = AutoScroll.DIRECTION.BOTTOM;\n\t this._offset = pos.y - edge.bottom;\n\t\n\t return;\n\t }\n\t\n\t if (pos.x < edge.left) {\n\t this._direction = AutoScroll.DIRECTION.LEFT;\n\t this._offset = edge.left - pos.x;\n\t\n\t return;\n\t }\n\t\n\t this._direction = AutoScroll.DIRECTION.RIGHT;\n\t this._offset = pos.x - edge.right;\n\t};\n\t\n\t/**\n\t * MouseUp event handler.\n\t */\n\tAutoScroll.prototype._onMouseUp = function() {\n\t window.clearInterval(this._intervalID);\n\t this._intervalID = 0;\n\t this._direction = AutoScroll.DIRECTION.INSIDE;\n\t this._offset = 0;\n\t\n\t domevent.off(global, {\n\t 'mousemove': this._onMouseMove,\n\t 'mouseup': this._onMouseUp\n\t }, this);\n\t};\n\t\n\t/**\n\t * Interval tick event handler\n\t */\n\tAutoScroll.prototype._onTick = function() {\n\t var direction = this._direction,\n\t container,\n\t factor;\n\t\n\t if (!direction) {\n\t return;\n\t }\n\t\n\t container = this.container;\n\t factor = Math.min(this._offset, SCROLL_MAX);\n\t\n\t switch (direction) {\n\t case AutoScroll.DIRECTION.TOP:\n\t container.scrollTop -= factor;\n\t break;\n\t case AutoScroll.DIRECTION.RIGHT:\n\t container.scrollLeft += factor;\n\t break;\n\t case AutoScroll.DIRECTION.BOTTOM:\n\t container.scrollTop += factor;\n\t break;\n\t default:\n\t container.scrollLeft -= factor;\n\t break;\n\t }\n\t};\n\t\n\tmodule.exports = AutoScroll;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Dirty flagging module for objects.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar common = __webpack_require__(1);\n\tvar existy = common.isExisty,\n\t pick = common.pick,\n\t isFunc = common.isFunction;\n\t\n\t/**\n\t * Mixin module for dirty flagging on specific objects.\n\t * @mixin\n\t * @example\n\t * var obj = { hello: 'good', test: '123' };\n\t * dirty.mixin(obj);\n\t *\n\t * obj.set('hello', 'world');\n\t * obj.isDirty(); // true\n\t * obj.isPropChanged('hello'); // true\n\t * obj.isPropChanged('test'); // false\n\t * obj.dirty(false);\n\t *\n\t * obj.isDirty(); // false\n\t * obj.isPropChanged('hello'); // false\n\t */\n\tvar dirty = {\n\t /**\n\t * Set property value with dirty flagging.\n\t * @param {string} propName Property name.\n\t * @param {*} value Proprty value.\n\t */\n\t set: function(propName, value) {\n\t var originValue = this[propName];\n\t\n\t if (originValue === value) {\n\t return;\n\t }\n\t\n\t this[propName] = value;\n\t\n\t if (!this._changed) {\n\t /**\n\t * Save changed properties.\n\t * @memberof dirty\n\t * @name _changed\n\t * @type {Object}\n\t */\n\t this._changed = {};\n\t }\n\t\n\t this._changed[propName] = true;\n\t\n\t /**\n\t * Dirty flag\n\t * @type {Boolean}\n\t * @name _dirty\n\t * @memberof dirty\n\t */\n\t this._dirty = true;\n\t },\n\t\n\t /**\n\t * Check dirty flag.\n\t * @returns {boolean} Property is changed.\n\t */\n\t isDirty: function() {\n\t return !!this._dirty;\n\t },\n\t\n\t /**\n\t * Set dirty flag manually.\n\t * @param {Boolean} [toDirty=true] This will set dirty flag directly.\n\t */\n\t dirty: function(toDirty) {\n\t toDirty = existy(toDirty) ? toDirty : true;\n\t\n\t /* istanbul ignore else */\n\t if (!toDirty) {\n\t this._changed = {};\n\t }\n\t\n\t this._dirty = toDirty;\n\t },\n\t\n\t /**\n\t * Delete property safety.\n\t * @param {String} propName The name of property.\n\t */\n\t deleteProp: function(propName) {\n\t delete this[propName];\n\t\n\t if (this._changed) {\n\t delete this._changed[propName];\n\t }\n\t },\n\t\n\t /**\n\t * Check the changes with specific property.\n\t * @param {String} propName The name of property you want.\n\t * @returns {boolean} Is property changed?\n\t */\n\t isPropChanged: function(propName) {\n\t if (!this._changed) {\n\t return false;\n\t }\n\t\n\t return this._changed[propName] === true;\n\t },\n\t\n\t /**\n\t * Mixin to specific objects.\n\t * @param {Object} target The object to mix this module.\n\t * @memberof module:util/dirty\n\t * @example\n\t * function Animal() {}\n\t * dirty.mixin(Animal.prototype);\n\t */\n\t mixin: function(target) {\n\t var methodFilterR = /(^_|mixin|wrap)/;\n\t\n\t common.forEachOwnProperties(dirty, function(o, k) {\n\t if (!methodFilterR.test(k)) {\n\t target[k] = dirty[k];\n\t }\n\t });\n\t },\n\t\n\t /**\n\t * Wrapper method for dirty flagging.\n\t *\n\t * This method invoke after invoked specific method that added by you.\n\t *\n\t * The method want to add are must exist before add.\n\t * @param {object} target Target object to method wrap.\n\t * @param {(string|object)} methodName\n\t * Method name to wrap or methodName: flag objects.\n\t * @param {boolean} [flag=true]\n\t * this will used to flagging by dirty flagger after invoke the methods added by you.\n\t * @memberof module:util/dirty\n\t * @example\n\t * function Animal(name) {\n\t * this.name = name;\n\t * }\n\t * Animal.prototype.growl = jasmine.createSpy('growl');\n\t * Animal.prototype.test = function() {\n\t * return this.name;\n\t * };\n\t *\n\t * dirty.mixin(Animal.prototype);\n\t * // single\n\t * dirty.wrap(Animal.prototype, 'growl', true);\n\t * // multiple\n\t * dirty.wrap(Animap.prototype, {\n\t * growl: true,\n\t * test: false\n\t * });\n\t *\n\t */\n\t wrap: function(target, methodName, flag) {\n\t var wrap = dirty.wrap,\n\t fn;\n\t\n\t if (common.isObject(methodName)) {\n\t common.forEachOwnProperties(methodName, function(_flag, _name) {\n\t wrap(target, _name, _flag);\n\t });\n\t\n\t return;\n\t }\n\t\n\t flag = existy(flag) ? flag : true;\n\t\n\t if (!target._wrapper) {\n\t /**\n\t * @param {function} _fn Original method to wrap.\n\t * @param {boolean} flagToSet The boolean value to using dirty flagging.\n\t * @returns {*} The result value of original method.\n\t * @name _wrapper\n\t * @memberof dirty\n\t */\n\t target._wrapper = function(_fn, flagToSet) {\n\t return function() {\n\t var args = Array.prototype.slice.call(arguments);\n\t var result = _fn.apply(this, args); // eslint-disable-line\n\t this._dirty = flagToSet; // eslint-disable-line\n\t\n\t return result;\n\t };\n\t };\n\t }\n\t\n\t if (existy(pick(target, methodName)) &&\n\t isFunc(target[methodName]) &&\n\t !existy(pick(target, methodName, '_wrapped'))) {\n\t fn = target[methodName];\n\t target[methodName] = target._wrapper(fn, flag);\n\t target[methodName]._wrapped = true;\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = dirty;\n\t\n\n\n/***/ },\n/* 62 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Mixin module for models.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar util = __webpack_require__(1);\n\tvar spaceRx = /^\\s*|\\s*$/g,\n\t model;\n\t\n\tvar datetime = __webpack_require__(4);\n\t\n\t/**\n\t * Mixin module for models.\n\t * @mixin\n\t */\n\tmodel = {\n\t /**\n\t * string trim\n\t * @param {string} str string to trim\n\t * @returns {string} trimed string\n\t */\n\t trim: function(str) {\n\t return str.replace(spaceRx, '');\n\t },\n\t /**\n\t * The collections of validator functions.\n\t */\n\t validators: {\n\t /**\n\t * check all of supplied fields(property) is not undefined or empty string.\n\t * @param {object} instance model instance.\n\t * @param {string[]} fields property names to check.\n\t * @returns {boolean} return true when supplied fields are not undefined or empty string.\n\t */\n\t required: function(instance, fields) {\n\t var valid = true,\n\t isValid = function(obj) {\n\t return !util.isUndefined(obj) && model.trim(obj) !== '';\n\t };\n\t\n\t util.forEach(fields, function(fieldName) {\n\t valid = isValid(instance[fieldName]);\n\t\n\t return valid;\n\t });\n\t\n\t return valid;\n\t },\n\t\n\t /**\n\t * check supplied fields are valid dates and valid date ranges.\n\t * @param {object} instance model instance.\n\t * @param {Date[]} fields array of date range (start, end)\n\t * @returns {boolean} is valid date range?\n\t */\n\t dateRange: function(instance, fields) {\n\t var start, end;\n\t\n\t if (!util.isExisty(instance) || fields.length !== 2) {\n\t return true;\n\t }\n\t\n\t start = new TZDate(instance[fields[0]]);\n\t end = new TZDate(instance[fields[1]]);\n\t\n\t if (!datetime.isValid(start) || !datetime.isValid(end)) {\n\t return false;\n\t }\n\t\n\t if (datetime.compare(start, end) === 1) {\n\t return false;\n\t }\n\t\n\t return true;\n\t }\n\t },\n\t\n\t /**\n\t * Check validate for model instance.\n\t *\n\t * The validate are works on a basis of constructor's \"schema\" property.\n\t *\n\t * You can customize validators add some method to model#validators.\n\t * @returns {Boolean} model is valid?\n\t */\n\t isValid: function() {\n\t var self = this,\n\t schema = this.constructor.schema,\n\t validators = model.validators,\n\t validator,\n\t valid = true;\n\t\n\t if (!schema) {\n\t return true;\n\t }\n\t\n\t util.forEach(schema, function(values, validatorName) {\n\t validator = validators[validatorName];\n\t\n\t if (validator) {\n\t valid = validator(self, values);\n\t\n\t return valid; // returning false can stop this loop\n\t }\n\t\n\t return true;\n\t });\n\t\n\t return valid;\n\t },\n\t\n\t /**\n\t * Make data object form instance.\n\t *\n\t * It return object fill with all owned properties but exclude functions.\n\t * @returns {object} Data object\n\t */\n\t parameterize: function() {\n\t var param = {},\n\t isFunc = util.isFunction;\n\t\n\t util.forEach(this, function(value, propName) {\n\t if (!isFunc(value)) {\n\t param[propName] = value;\n\t }\n\t });\n\t\n\t return param;\n\t },\n\t\n\t /**\n\t * Mixin model module to supplied target.\n\t * @param {Object} target The object of want to mixed.\n\t * @example\n\t * function Man() {\n\t * this.name = 'john';\n\t * }\n\t * model.mixin(Man.prototype);\n\t */\n\t mixin: function(target) {\n\t util.forEach(model, function(method, name) {\n\t if (name !== 'mixin') {\n\t target[name] = method;\n\t }\n\t });\n\t }\n\t};\n\t\n\tmodule.exports = model;\n\t\n\n\n/***/ },\n/* 63 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Panel class for VLayout module\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t common = __webpack_require__(6),\n\t domutil = __webpack_require__(2),\n\t View = __webpack_require__(8);\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options for VPanel\n\t * @param {number} options.index - index of panel in vlayout\n\t * @param {number} [options.minHeight=0] - minimum height of panel\n\t * @param {number} [options.height] - initial height of panel\n\t * @param {boolean} [options.isSplitter=false] - set true then this panel works splitter\n\t * @param {boolean} [options.autoHeight=false] - set true then this panel use remain height after other panel resized.\n\t * @param {string} [options.className] - additional class name to add element\n\t * @param {HTMLElement} container - container element\n\t */\n\tfunction VPanel(options, container) {\n\t View.call(this, container);\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t index: 0,\n\t minHeight: 0,\n\t maxHeight: null,\n\t height: null,\n\t isSplitter: false,\n\t autoHeight: false,\n\t className: ''\n\t }, options);\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this.index = this.options.index;\n\t\n\t this.isHeightForcedSet = false;\n\t\n\t this._initPanel(this.options, container);\n\t}\n\t\n\tutil.inherit(VPanel, View);\n\t\n\t/**\n\t * whether this panel is splitter?\n\t * @returns {boolean} panel is splitter?\n\t */\n\tVPanel.prototype.isSplitter = function() {\n\t return this.options.isSplitter;\n\t};\n\t\n\t/**\n\t * set height of html element\n\t * @param {HTMLElement} [container] - container element\n\t * @param {number} newHeight - height\n\t * @param {boolean} force - whether ignore max-length\n\t */\n\tVPanel.prototype.setHeight = function(container, newHeight, force) {\n\t var maxHeight = this.options.maxHeight;\n\t var minHeight = this.options.minHeight;\n\t var autoHeight = this.options.autoHeight;\n\t container = container || this.container;\n\t\n\t // 한번 force 호출이 일어난 이후에는 force 호출만 허용한다\n\t if (!force && this.isHeightForcedSet && !autoHeight) {\n\t return;\n\t }\n\t\n\t if (force) {\n\t this.isHeightForcedSet = true;\n\t } else if (maxHeight) {\n\t newHeight = Math.min(newHeight, maxHeight);\n\t }\n\t newHeight = Math.max(minHeight, newHeight);\n\t\n\t container.style.height = newHeight + 'px';\n\t};\n\t\n\t/**\n\t * Calculate new height of panel and remains by supplied height growth\n\t * @param {number} growth - growth value\n\t * @returns {number[]} newHeight, remainHeight\n\t */\n\tVPanel.prototype.getResizeInfoByGrowth = function(growth) {\n\t var height = this.getHeight(),\n\t newHeight = height + growth,\n\t resizeTo = Math.max(0, newHeight, this.options.minHeight);\n\t\n\t return [resizeTo, height - resizeTo];\n\t};\n\t\n\t/**\n\t * get outer height of panel element\n\t * @returns {number} outer height of panel element\n\t */\n\tVPanel.prototype.getHeight = function() {\n\t return domutil.getSize(this.container)[1];\n\t};\n\t\n\t/**\n\t * add design class to panel element\n\t * @param {string} className - classname string\n\t */\n\tVPanel.prototype.addClass = function(className) {\n\t domutil.addClass(this.container, className);\n\t};\n\t\n\t/**\n\t * remove design class to panel element\n\t * @param {string} className - classname string\n\t */\n\tVPanel.prototype.removeClass = function(className) {\n\t domutil.removeClass(this.container, className);\n\t};\n\t\n\t/**\n\t * initialize panel element\n\t * @param {PanelOptions} options - options for panel\n\t * @param {HTMLDivElement} container - panel element\n\t */\n\tVPanel.prototype._initPanel = function(options, container) {\n\t var height;\n\t\n\t domutil.setData(container, 'panelIndex', options.index);\n\t\n\t if (options.isSplitter) {\n\t domutil.addClass(container, config.classname('splitter'));\n\t\n\t return;\n\t }\n\t\n\t if (options.className) {\n\t domutil.addClass(container, options.className);\n\t }\n\t\n\t if (options.autoHeight) {\n\t domutil.setData(container, 'autoHeight', true);\n\t } else {\n\t height = common.limit(options.height || 0,\n\t [options.minHeight],\n\t [options.maxHeight || options.height]\n\t );\n\t\n\t this.setHeight(container, height);\n\t }\n\t};\n\t\n\tmodule.exports = VPanel;\n\t\n\n\n/***/ },\n/* 64 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Base calendar controller\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar Schedule = __webpack_require__(20);\n\tvar ScheduleViewModel = __webpack_require__(28);\n\tvar datetime = __webpack_require__(4);\n\tvar common = __webpack_require__(6);\n\t\n\t/**\n\t * @constructor\n\t * @param {object} options - options for base controller\n\t * @param {function} [options.groupFunc] - function for group each models {@see Collection#groupBy}\n\t * @mixes util.CustomEvents\n\t */\n\tfunction Base(options) {\n\t options = options || {};\n\t\n\t /**\n\t * function for group each schedule models.\n\t * @type {function}\n\t * @param {ScheduleViewModel} viewModel - view model instance\n\t * @returns {string} group key\n\t */\n\t this.groupFunc = options.groupFunc || function(viewModel) {\n\t if (viewModel.model.isAllDay) {\n\t return 'allday';\n\t }\n\t\n\t return 'time';\n\t };\n\t\n\t /**\n\t * schedules collection.\n\t * @type {Collection}\n\t */\n\t this.schedules = common.createScheduleCollection();\n\t\n\t /**\n\t * Matrix for multidate schedules.\n\t * @type {object.}\n\t */\n\t this.dateMatrix = {};\n\t}\n\t\n\t/**\n\t * Calculate contain dates in schedule.\n\t * @private\n\t * @param {Schedule} schedule The instance of schedule.\n\t * @returns {array} contain dates.\n\t */\n\tBase.prototype._getContainDatesInSchedule = function(schedule) {\n\t var range = datetime.range(\n\t datetime.start(schedule.getStarts()),\n\t datetime.start(schedule.getEnds()),\n\t datetime.MILLISECONDS_PER_DAY\n\t );\n\t\n\t return range;\n\t};\n\t\n\t/**********\n\t * CRUD\n\t **********/\n\t\n\t/**\n\t * Create an schedule instance from raw data.\n\t * @emits Base#beforeCreateSchedule\n\t * @emits Base#createdSchedule\n\t * @param {object} options Data object to create schedule.\n\t * @param {boolean} silent - set true then don't fire events.\n\t * @returns {Schedule} The instance of Schedule that created.\n\t */\n\tBase.prototype.createSchedule = function(options, silent) {\n\t var schedule,\n\t scheduleData = {\n\t data: options\n\t };\n\t\n\t /**\n\t * @event Base#beforeCreateSchedule\n\t * @type {Calendar~Schedule[]}\n\t */\n\t if (!this.invoke('beforeCreateSchedule', scheduleData)) {\n\t return null;\n\t }\n\t\n\t schedule = this.addSchedule(Schedule.create(options));\n\t\n\t if (!silent) {\n\t /**\n\t * @event Base#createdSchedule\n\t * @type {Schedule}\n\t */\n\t this.fire('createdSchedule', schedule);\n\t }\n\t\n\t return schedule;\n\t};\n\t\n\t/**\n\t * @emits Base#beforeCreateSchedule\n\t * @emits Base#createdSchedule\n\t * @param {Calendar~Schedule[]} dataList - dataObject list to create schedule.\n\t * @param {boolean} [silent=false] - set true then don't fire events.\n\t * @returns {Schedule[]} The instance list of Schedule that created.\n\t */\n\tBase.prototype.createSchedules = function(dataList, silent) {\n\t var self = this;\n\t\n\t return util.map(dataList, function(data) {\n\t return self.createSchedule(data, silent);\n\t });\n\t};\n\t\n\t/**\n\t * Update an schedule.\n\t * @emits Base#updateSchedule\n\t * @param {Schedule} schedule - schedule instance to update\n\t * @param {object} options updated object data.\n\t * @returns {Schedule} updated schedule instance\n\t */\n\tBase.prototype.updateSchedule = function(schedule, options) {\n\t var start = options.start || schedule.start;\n\t var end = options.end || schedule.end;\n\t\n\t options = options || {};\n\t\n\t if (options.title) {\n\t schedule.set('title', options.title);\n\t }\n\t\n\t if (options.isAllDay) {\n\t schedule.set('isAllDay', options.isAllDay);\n\t }\n\t\n\t if (options.start || options.end) {\n\t if (schedule.isAllDay) {\n\t schedule.setAllDayPeriod(start, end);\n\t } else {\n\t schedule.setTimePeriod(start, end);\n\t }\n\t }\n\t\n\t if (options.color) {\n\t schedule.set('color', options.color);\n\t }\n\t\n\t if (options.bgColor) {\n\t schedule.set('bgColor', options.bgColor);\n\t }\n\t\n\t if (options.borderColor) {\n\t schedule.set('borderColor', options.borderColor);\n\t }\n\t\n\t if (options.origin) {\n\t schedule.set('origin', options.origin);\n\t }\n\t\n\t if (!util.isUndefined(options.isPending)) {\n\t schedule.set('isPending', options.isPending);\n\t }\n\t\n\t if (!util.isUndefined(options.isFocused)) {\n\t schedule.set('isFocused', options.isFocused);\n\t }\n\t\n\t this._removeFromMatrix(schedule);\n\t this._addToMatrix(schedule);\n\t\n\t /**\n\t * @event Base#updateSchedule\n\t */\n\t this.fire('updateSchedule');\n\t\n\t return schedule;\n\t};\n\t\n\t/**\n\t * Delete schedule instance from controller.\n\t * @param {Schedule} schedule - schedule instance to delete\n\t * @returns {Schedule} deleted model instance.\n\t */\n\tBase.prototype.deleteSchedule = function(schedule) {\n\t this._removeFromMatrix(schedule);\n\t this.schedules.remove(schedule);\n\t\n\t return schedule;\n\t};\n\t\n\t/**\n\t * Set date matrix to supplied schedule instance.\n\t * @param {Schedule} schedule - instance of schedule.\n\t */\n\tBase.prototype._addToMatrix = function(schedule) {\n\t var ownMatrix = this.dateMatrix;\n\t var containDates = this._getContainDatesInSchedule(schedule);\n\t\n\t util.forEach(containDates, function(date) {\n\t var ymd = datetime.format(date, 'YYYYMMDD'),\n\t matrix = ownMatrix[ymd] = ownMatrix[ymd] || [];\n\t\n\t matrix.push(util.stamp(schedule));\n\t });\n\t};\n\t\n\t/**\n\t * Remove schedule's id from matrix.\n\t * @param {Schedule} schedule - instance of schedule\n\t */\n\tBase.prototype._removeFromMatrix = function(schedule) {\n\t var modelID = util.stamp(schedule);\n\t\n\t util.forEach(this.dateMatrix, function(matrix) {\n\t var index = util.inArray(modelID, matrix);\n\t\n\t if (~index) {\n\t matrix.splice(index, 1);\n\t }\n\t }, this);\n\t};\n\t\n\t/**\n\t * Add an schedule instance.\n\t * @emits Base#addedSchedule\n\t * @param {Schedule} schedule The instance of Schedule.\n\t * @param {boolean} silent - set true then don't fire events.\n\t * @returns {Schedule} The instance of Schedule that added.\n\t */\n\tBase.prototype.addSchedule = function(schedule, silent) {\n\t this.schedules.add(schedule);\n\t this._addToMatrix(schedule);\n\t\n\t if (!silent) {\n\t /**\n\t * @event Base#addedSchedule\n\t * @type {object}\n\t */\n\t this.fire('addedSchedule', schedule);\n\t }\n\t\n\t return schedule;\n\t};\n\t\n\t/**\n\t * split schedule model by ymd.\n\t * @param {Date} start - start date\n\t * @param {Date} end - end date\n\t * @param {Collection} scheduleCollection - collection of schedule model.\n\t * @returns {object.} splitted schedule model collections.\n\t */\n\tBase.prototype.splitScheduleByDateRange = function(start, end, scheduleCollection) {\n\t var range = datetime.range(\n\t datetime.start(start),\n\t datetime.start(end),\n\t datetime.MILLISECONDS_PER_DAY\n\t ),\n\t ownMatrix = this.dateMatrix,\n\t result = {};\n\t\n\t util.forEachArray(range, function(date) {\n\t var ymd = datetime.format(date, 'YYYYMMDD'),\n\t matrix = ownMatrix[ymd],\n\t collection;\n\t\n\t collection = result[ymd] = common.createScheduleCollection();\n\t\n\t if (matrix && matrix.length) {\n\t util.forEachArray(matrix, function(id) {\n\t scheduleCollection.doWhenHas(id, function(schedule) {\n\t collection.add(schedule);\n\t });\n\t });\n\t }\n\t });\n\t\n\t return result;\n\t};\n\t\n\t/**\n\t * Return schedules in supplied date range.\n\t *\n\t * available only YMD.\n\t * @param {Date} start start date.\n\t * @param {Date} end end date.\n\t * @returns {object.} schedule collection grouped by dates.\n\t */\n\tBase.prototype.findByDateRange = function(start, end) {\n\t var range = datetime.range(\n\t datetime.start(start),\n\t datetime.start(end),\n\t datetime.MILLISECONDS_PER_DAY\n\t ),\n\t ownSchedules = this.schedules.items,\n\t ownMatrix = this.dateMatrix,\n\t dformat = datetime.format,\n\t result = {},\n\t matrix,\n\t ymd,\n\t viewModels;\n\t\n\t util.forEachArray(range, function(date) {\n\t ymd = dformat(date, 'YYYYMMDD');\n\t matrix = ownMatrix[ymd];\n\t viewModels = result[ymd] = common.createScheduleCollection();\n\t\n\t if (matrix && matrix.length) {\n\t viewModels.add.apply(viewModels, util.map(matrix, function(id) {\n\t return ScheduleViewModel.create(ownSchedules[id]);\n\t }));\n\t }\n\t });\n\t\n\t return result;\n\t};\n\t\n\tBase.prototype.clearSchedules = function() {\n\t this.dateMatrix = {};\n\t this.schedules.clear();\n\t /**\n\t * for inner view when clear schedules\n\t * @event Base#clearSchedules\n\t * @type {Schedule}\n\t */\n\t this.fire('clearSchedules');\n\t};\n\t\n\t// mixin\n\tutil.CustomEvents.mixin(Base);\n\t\n\tmodule.exports = Base;\n\t\n\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Core methods for schedule block placing\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar forEachArr = util.forEachArray,\n\t aps = Array.prototype.slice;\n\t\n\tvar datetime = __webpack_require__(4);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar Collection = __webpack_require__(11);\n\tvar ScheduleViewModel = __webpack_require__(28);\n\t\n\tvar Core = {\n\t /**\n\t * Calculate collision group.\n\t * @param {array} viewModels List of viewmodels.\n\t * @returns {array} Collision Group.\n\t */\n\t getCollisionGroup: function(viewModels) {\n\t var collisionGroups = [],\n\t foundPrevCollisionSchedule = false,\n\t previousScheduleList;\n\t\n\t if (!viewModels.length) {\n\t return collisionGroups;\n\t }\n\t\n\t collisionGroups[0] = [util.stamp(viewModels[0].valueOf())];\n\t forEachArr(viewModels.slice(1), function(schedule, index) {\n\t foundPrevCollisionSchedule = false;\n\t previousScheduleList = aps.apply(viewModels, [0, index + 1]).reverse();\n\t\n\t forEachArr(previousScheduleList, function(previous) {\n\t if (schedule.collidesWith(previous)) {\n\t // 이전 일정들과 겹치는 경우 겹치는 일정의 Collision Group을\n\t // 찾아 이 일정을 추가한다\n\t foundPrevCollisionSchedule = true;\n\t\n\t forEachArr(collisionGroups.slice(0).reverse(), function(group) {\n\t if (~util.inArray(util.stamp(previous.valueOf()), group)) {\n\t // 겹치는 이전 일정을 찾은 경우 그 일정이 속한\n\t // Collision Group에 이 일정을 포함시킨다.\n\t group.push(util.stamp(schedule.valueOf()));\n\t\n\t return false; // returning false can stop this loop\n\t }\n\t\n\t return true;\n\t });\n\t\n\t return false; // returning false can stop this loop\n\t }\n\t\n\t return true;\n\t });\n\t\n\t if (!foundPrevCollisionSchedule) {\n\t // 이 일정은 이전일정과 겹치지 않는 일정이므로\n\t // 새 Collision Group을 구성한다.\n\t collisionGroups.push([util.stamp(schedule.valueOf())]);\n\t }\n\t });\n\t\n\t return collisionGroups;\n\t },\n\t\n\t /**\n\t * Get row length by column index in 2d matrix.\n\t * @param {array[]} arr2d Matrix\n\t * @param {number} col Column index.\n\t * @returns {number} Last row number in column.\n\t */\n\t getLastRowInColumn: function(arr2d, col) {\n\t var row = arr2d.length;\n\t\n\t while (row > 0) {\n\t row -= 1;\n\t if (!util.isUndefined(arr2d[row][col])) {\n\t return row;\n\t }\n\t }\n\t\n\t return false;\n\t },\n\t\n\t /**\n\t * Calculate matrix for appointment block element placing.\n\t * @param {Collection} collection model collection.\n\t * @param {array[]} collisionGroups Collision groups for schedule set.\n\t * @returns {array} matrices\n\t */\n\t getMatrices: function(collection, collisionGroups) {\n\t var result = [],\n\t getLastRowInColumn = Core.getLastRowInColumn;\n\t\n\t forEachArr(collisionGroups, function(group) {\n\t var matrix = [[]];\n\t\n\t forEachArr(group, function(scheduleID) {\n\t var schedule = collection.items[scheduleID],\n\t col = 0,\n\t found = false,\n\t nextRow,\n\t lastRowInColumn;\n\t\n\t while (!found) {\n\t lastRowInColumn = getLastRowInColumn(matrix, col);\n\t\n\t if (lastRowInColumn === false) {\n\t matrix[0].push(schedule);\n\t found = true;\n\t } else if (!schedule.collidesWith(matrix[lastRowInColumn][col])) {\n\t nextRow = lastRowInColumn + 1;\n\t if (util.isUndefined(matrix[nextRow])) {\n\t matrix[nextRow] = [];\n\t }\n\t matrix[nextRow][col] = schedule;\n\t found = true;\n\t }\n\t\n\t col += 1;\n\t }\n\t });\n\t\n\t result.push(matrix);\n\t });\n\t\n\t return result;\n\t },\n\t\n\t /**\n\t * Filter that get schedule model in supplied date ranges.\n\t * @param {Date} start - start date\n\t * @param {Date} end - end date\n\t * @returns {function} schedule filter function\n\t */\n\t getScheduleInDateRangeFilter: function(start, end) {\n\t return function(model) {\n\t var ownStarts = model.getStarts(),\n\t ownEnds = model.getEnds();\n\t\n\t // shorthand condition of\n\t //\n\t // (ownStarts >= start && ownEnds <= end) ||\n\t // (ownStarts < start && ownEnds >= start) ||\n\t // (ownEnds > end && ownStarts <= end)\n\t return !(ownEnds < start || ownStarts > end);\n\t };\n\t },\n\t\n\t /**\n\t * Position each view model for placing into container\n\t * @param {Date} start - start date to render\n\t * @param {Date} end - end date to render\n\t * @param {array} matrices - matrices from controller\n\t * @param {function} [iteratee] - iteratee function invoke each view models\n\t */\n\t positionViewModels: function(start, end, matrices, iteratee) {\n\t var ymdListToRender;\n\t\n\t ymdListToRender = util.map(\n\t datetime.range(start, end, datetime.MILLISECONDS_PER_DAY),\n\t function(date) {\n\t return datetime.format(date, 'YYYYMMDD');\n\t }\n\t );\n\t\n\t forEachArr(matrices, function(matrix) {\n\t forEachArr(matrix, function(column) {\n\t forEachArr(column, function(viewModel, index) {\n\t var ymd, dateLength;\n\t\n\t if (!viewModel) {\n\t return;\n\t }\n\t\n\t ymd = datetime.format(viewModel.getStarts(), 'YYYYMMDD');\n\t dateLength = datetime.range(\n\t datetime.start(viewModel.getStarts()),\n\t datetime.end(viewModel.getEnds()),\n\t datetime.MILLISECONDS_PER_DAY\n\t ).length;\n\t\n\t viewModel.top = index;\n\t viewModel.left = util.inArray(ymd, ymdListToRender);\n\t viewModel.width = dateLength;\n\t\n\t if (iteratee) {\n\t iteratee(viewModel);\n\t }\n\t });\n\t });\n\t });\n\t },\n\t\n\t /**\n\t * Limit start, end date each view model for render properly\n\t * @param {Date} start - start date to render\n\t * @param {Date} end - end date to render\n\t * @param {Collection|ScheduleViewModel} viewModelColl - schedule view\n\t * model collection or ScheduleViewModel\n\t * @returns {ScheduleViewModel} return view model when third parameter is\n\t * view model\n\t */\n\t limitRenderRange: function(start, end, viewModelColl) {\n\t /**\n\t * Limit render range for view models\n\t * @param {ScheduleViewModel} viewModel - view model instance\n\t * @returns {ScheduleViewModel} view model that limited render range\n\t */\n\t function limit(viewModel) {\n\t if (viewModel.getStarts() < start) {\n\t viewModel.exceedLeft = true;\n\t viewModel.renderStarts = new TZDate(start.getTime());\n\t }\n\t\n\t if (viewModel.getEnds() > end) {\n\t viewModel.exceedRight = true;\n\t viewModel.renderEnds = new TZDate(end.getTime());\n\t }\n\t\n\t return viewModel;\n\t }\n\t\n\t if (viewModelColl.constructor === Collection) {\n\t viewModelColl.each(limit);\n\t\n\t return null;\n\t }\n\t\n\t return limit(viewModelColl);\n\t },\n\t\n\t /**\n\t * Convert schedule model collection to view model collection.\n\t * @param {Collection} modelColl - collection of schedule model\n\t * @returns {Collection} collection of schedule view model\n\t */\n\t convertToViewModel: function(modelColl) {\n\t var viewModelColl;\n\t\n\t viewModelColl = new Collection(function(viewModel) {\n\t return viewModel.cid();\n\t });\n\t\n\t modelColl.each(function(model) {\n\t viewModelColl.add(ScheduleViewModel.create(model));\n\t });\n\t\n\t return viewModelColl;\n\t }\n\t};\n\t\n\tmodule.exports = Core;\n\t\n\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Controller mixin for Month View\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar array = __webpack_require__(14),\n\t datetime = __webpack_require__(4),\n\t Collection = __webpack_require__(11);\n\tvar mmax = Math.max;\n\t\n\tvar Month = {\n\t /**\n\t * Filter function for find time schedule\n\t * @param {ScheduleViewModel} viewModel - schedule view model\n\t * @returns {boolean} whether model is time schedule?\n\t */\n\t _onlyTimeFilter: function(viewModel) {\n\t return !viewModel.model.isAllDay && !viewModel.hasMultiDates;\n\t },\n\t\n\t /**\n\t * Filter function for find allday schedule\n\t * @param {ScheduleViewModel} viewModel - schedule view model\n\t * @returns {boolean} whether model is allday schedule?\n\t */\n\t _onlyAlldayFilter: function(viewModel) {\n\t return viewModel.model.isAllDay || viewModel.hasMultiDates;\n\t },\n\t\n\t /**\n\t * Weight top value +1 for month view render\n\t * @param {ScheduleViewModel} viewModel - schedule view model\n\t */\n\t _weightTopValue: function(viewModel) {\n\t viewModel.top = viewModel.top || 0;\n\t viewModel.top += 1;\n\t },\n\t\n\t /**\n\t * Adjust render range to render properly.\n\t *\n\t * Limit start, end for each allday schedules and expand start, end for\n\t * each time schedules\n\t * @this Base\n\t * @param {Date} start - render start date\n\t * @param {Date} end - render end date\n\t * @param {Collection} vColl - view model collection\n\t * property.\n\t */\n\t _adjustRenderRange: function(start, end, vColl) {\n\t var ctrlCore = this.Core;\n\t\n\t vColl.each(function(viewModel) {\n\t if (viewModel.model.isAllDay || viewModel.hasMultiDates) {\n\t ctrlCore.limitRenderRange(start, end, viewModel);\n\t }\n\t });\n\t },\n\t\n\t /**\n\t * Get max top index value for allday schedules in specific date (YMD)\n\t * @this Base\n\t * @param {string} ymd - yyyymmdd formatted value\n\t * @param {Collection} vAlldayColl - collection of allday schedules\n\t * @returns {number} max top index value in date\n\t */\n\t _getAlldayMaxTopIndexAtYMD: function(ymd, vAlldayColl) {\n\t var dateMatrix = this.dateMatrix,\n\t topIndexesInDate = [];\n\t util.forEach(dateMatrix[ymd], function(cid) {\n\t vAlldayColl.doWhenHas(cid, function(viewModel) {\n\t topIndexesInDate.push(viewModel.top);\n\t });\n\t });\n\t\n\t if (topIndexesInDate.length > 0) {\n\t return mmax.apply(null, topIndexesInDate);\n\t }\n\t\n\t return 0;\n\t },\n\t\n\t /**\n\t * Adjust time view model's top index value\n\t * @this Base\n\t * @param {Collection} vColl - collection of schedules\n\t */\n\t _adjustTimeTopIndex: function(vColl) {\n\t var ctrlMonth = this.Month;\n\t var getAlldayMaxTopIndexAtYMD = ctrlMonth._getAlldayMaxTopIndexAtYMD;\n\t var vAlldayColl = vColl.find(ctrlMonth._onlyAlldayFilter);\n\t var sortedTimeSchedules = vColl.find(ctrlMonth._onlyTimeFilter).sort(array.compare.schedule.asc);\n\t var maxIndexInYMD = {};\n\t\n\t sortedTimeSchedules.forEach(function(timeViewModel) {\n\t var scheduleYMD = datetime.format(timeViewModel.getStarts(), 'YYYYMMDD');\n\t var alldayMaxTopInYMD = maxIndexInYMD[scheduleYMD];\n\t\n\t if (util.isUndefined(alldayMaxTopInYMD)) {\n\t alldayMaxTopInYMD = maxIndexInYMD[scheduleYMD] =\n\t getAlldayMaxTopIndexAtYMD(scheduleYMD, vAlldayColl);\n\t }\n\t maxIndexInYMD[scheduleYMD] = timeViewModel.top =\n\t (alldayMaxTopInYMD + 1);\n\t });\n\t },\n\t\n\t /**\n\t * Convert multi-date time schedule to all-day schedule\n\t * @this Base\n\t * @param {Collection} vColl - view model collection\n\t * property.\n\t */\n\t _addMultiDatesInfo: function(vColl) {\n\t vColl.each(function(viewModel) {\n\t var model = viewModel.model;\n\t var start = model.getStarts();\n\t var end = model.getEnds();\n\t\n\t viewModel.hasMultiDates = !datetime.isSameDate(start, end);\n\t\n\t if (!model.isAllDay && viewModel.hasMultiDates) {\n\t viewModel.renderStarts = datetime.start(start);\n\t viewModel.renderEnds = datetime.end(end);\n\t }\n\t });\n\t },\n\t\n\t /**\n\t * Find schedule and get view model for specific month\n\t * @this Base\n\t * @param {Date} start - start date to find schedules\n\t * @param {Date} end - end date to find schedules\n\t * @param {function[]} [andFilters] - optional filters to applying search query\n\t * @returns {object} view model data\n\t */\n\t findByDateRange: function(start, end, andFilters) {\n\t var ctrlCore = this.Core,\n\t ctrlMonth = this.Month,\n\t filter = ctrlCore.getScheduleInDateRangeFilter(start, end),\n\t coll, vColl, vList,\n\t collisionGroup,\n\t matrices;\n\t\n\t andFilters = andFilters || [];\n\t filter = Collection.and.apply(null, [filter].concat(andFilters));\n\t\n\t coll = this.schedules.find(filter);\n\t vColl = ctrlCore.convertToViewModel(coll);\n\t ctrlMonth._addMultiDatesInfo(vColl);\n\t ctrlMonth._adjustRenderRange(start, end, vColl);\n\t vList = vColl.sort(array.compare.schedule.asc);\n\t\n\t collisionGroup = ctrlCore.getCollisionGroup(vList);\n\t matrices = ctrlCore.getMatrices(vColl, collisionGroup);\n\t ctrlCore.positionViewModels(start, end, matrices, ctrlMonth._weightTopValue);\n\t ctrlMonth._adjustTimeTopIndex(vColl);\n\t\n\t return matrices;\n\t }\n\t};\n\t\n\tmodule.exports = Month;\n\t\n\n\n/***/ },\n/* 67 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* eslint no-shadow: 0 */\n\t/**\n\t * @fileoverview Controller mixin modules for day views.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\tvar Collection = __webpack_require__(11);\n\tvar array = __webpack_require__(14);\n\tvar datetime = __webpack_require__(4);\n\t\n\t/**\n\t * @mixin Base.Week\n\t */\n\tvar Week = {\n\t /**********\n\t * TIME GRID VIEW\n\t **********/\n\t\n\t /**\n\t * Make array with start and end times on schedules.\n\t * @this Base.Week\n\t * @param {array[]} matrix - matrix from controller.\n\t * @returns {array[]} starttime, endtime array (exclude first row's schedules)\n\t */\n\t generateTimeArrayInRow: function(matrix) {\n\t var row,\n\t col,\n\t schedule,\n\t map = [],\n\t cursor = [],\n\t maxColLen = Math.max.apply(null, util.map(matrix, function(col) {\n\t return col.length;\n\t }));\n\t\n\t for (col = 1; col < maxColLen; col += 1) {\n\t row = 0;\n\t schedule = util.pick(matrix, row, col);\n\t\n\t while (schedule) {\n\t cursor.push([schedule.getStarts().getTime(), schedule.getEnds().getTime()]);\n\t\n\t row += 1;\n\t schedule = util.pick(matrix, row, col);\n\t }\n\t\n\t map.push(cursor);\n\t cursor = [];\n\t }\n\t\n\t return map;\n\t },\n\t\n\t /**\n\t * Get collision information from list\n\t * @this Base\n\t * @param {array.} arr - list to detecting collision. [[start, end], [start, end]]\n\t * @param {number} start - schedule start time that want to detect collisions.\n\t * @param {number} end - schedule end time that want to detect collisions.\n\t * @returns {boolean} target has collide in supplied array?\n\t */\n\t hasCollide: function(arr, start, end) {\n\t var startStart,\n\t startEnd,\n\t endStart,\n\t endEnd,\n\t getFunc = function(index) {\n\t return function(block) {\n\t return block[index];\n\t };\n\t },\n\t abs = Math.abs,\n\t compare = array.compare.num.asc,\n\t hasCollide;\n\t\n\t if (!arr.length) {\n\t return false;\n\t }\n\t\n\t startStart = abs(array.bsearch(arr, start, getFunc(0), compare));\n\t startEnd = abs(array.bsearch(arr, start, getFunc(1), compare));\n\t endStart = abs(array.bsearch(arr, end, getFunc(0), compare));\n\t endEnd = abs(array.bsearch(arr, end, getFunc(1), compare));\n\t hasCollide = !(startStart === startEnd && startEnd === endStart && endStart === endEnd);\n\t\n\t return hasCollide;\n\t },\n\t\n\t /**\n\t * Initialize values to viewmodels for detect real collision at rendering phase.\n\t * @this Base\n\t * @param {array[]} matrices - Matrix data.\n\t */\n\t getCollides: function(matrices) {\n\t util.forEachArray(matrices, function(matrix) {\n\t var binaryMap,\n\t maxRowLength;\n\t\n\t binaryMap = Week.generateTimeArrayInRow(matrix);\n\t maxRowLength = Math.max.apply(null, util.map(matrix, function(row) {\n\t return row.length;\n\t }));\n\t\n\t util.forEachArray(matrix, function(row) {\n\t util.forEachArray(row, function(viewModel, col) {\n\t var startTime,\n\t endTime,\n\t hasCollide,\n\t i;\n\t\n\t if (!viewModel) {\n\t return;\n\t }\n\t\n\t startTime = viewModel.getStarts().getTime() + 1;\n\t endTime = viewModel.getEnds().getTime() - 1;\n\t\n\t for (i = (col + 1); i < maxRowLength; i += 1) {\n\t hasCollide = Week.hasCollide(binaryMap[i - 1], startTime, endTime);\n\t\n\t if (hasCollide) {\n\t viewModel.hasCollide = true;\n\t break;\n\t }\n\t\n\t viewModel.extraSpace += 1;\n\t }\n\t });\n\t });\n\t });\n\t },\n\t\n\t /**\n\t * create view model for time view part\n\t * @this Base\n\t * @param {Date} start - start date.\n\t * @param {Date} end - end date.\n\t * @param {Collection} time - view model collection.\n\t * @returns {object} view model for time part.\n\t */\n\t getViewModelForTimeView: function(start, end, time) {\n\t var self = this,\n\t ymdSplitted = this.splitScheduleByDateRange(start, end, time),\n\t result = {};\n\t\n\t util.forEach(ymdSplitted, function(collection, ymd) {\n\t var viewModels = collection.sort(array.compare.schedule.asc),\n\t collisionGroups,\n\t matrices;\n\t\n\t collisionGroups = self.Core.getCollisionGroup(viewModels);\n\t matrices = self.Core.getMatrices(collection, collisionGroups);\n\t self.Week.getCollides(matrices);\n\t\n\t result[ymd] = matrices;\n\t });\n\t\n\t return result;\n\t },\n\t\n\t /**********\n\t * ALLDAY VIEW\n\t **********/\n\t\n\t /**\n\t * Set hasMultiDates flag to true and set date ranges for rendering\n\t * @this Base\n\t * @param {Collection} vColl - view model collection\n\t */\n\t _addMultiDatesInfo: function(vColl) {\n\t vColl.each(function(viewModel) {\n\t var model = viewModel.model;\n\t viewModel.hasMultiDates = true;\n\t viewModel.renderStarts = datetime.start(model.getStarts());\n\t viewModel.renderEnds = datetime.end(model.getEnds());\n\t });\n\t },\n\t\n\t /**\n\t * create view model for allday view part\n\t * @this Base\n\t * @param {Date} start start date.\n\t * @param {Date} end end date.\n\t * @param {Collection} viewModelColl - allday schedule viewModel viewModels.\n\t * @returns {object} allday viewModel.\n\t */\n\t getViewModelForAlldayView: function(start, end, viewModelColl) {\n\t var ctrlCore = this.Core,\n\t ctrlWeek = this.Week,\n\t viewModels,\n\t collisionGroups,\n\t matrices;\n\t\n\t if (!viewModelColl || !viewModelColl.length) {\n\t return [];\n\t }\n\t\n\t ctrlWeek._addMultiDatesInfo(viewModelColl);\n\t ctrlCore.limitRenderRange(start, end, viewModelColl);\n\t\n\t viewModels = viewModelColl.sort(array.compare.schedule.asc);\n\t collisionGroups = ctrlCore.getCollisionGroup(viewModels);\n\t\n\t matrices = ctrlCore.getMatrices(viewModelColl, collisionGroups);\n\t ctrlCore.positionViewModels(start, end, matrices);\n\t\n\t return matrices;\n\t },\n\t\n\t /**********\n\t * READ\n\t **********/\n\t\n\t /**\n\t * Populate schedules in date range.\n\t * @this Base\n\t * @param {Date} start start date.\n\t * @param {Date} end end date.\n\t * @param {function[]} [andFilters] - optional filters to applying search query\n\t * @returns {object} schedules grouped by dates.\n\t */\n\t findByDateRange: function(start, end, andFilters) {\n\t var ctrlCore = this.Core,\n\t ctrlWeek = this.Week,\n\t filter = ctrlCore.getScheduleInDateRangeFilter(start, end),\n\t modelColl,\n\t group;\n\t\n\t andFilters = andFilters || [];\n\t filter = Collection.and.apply(null, [filter].concat(andFilters));\n\t\n\t modelColl = this.schedules.find(filter);\n\t modelColl = ctrlCore.convertToViewModel(modelColl);\n\t\n\t group = modelColl.groupBy(['allday', 'time'], this.groupFunc);\n\t group.allday = ctrlWeek.getViewModelForAlldayView(start, end, group.allday);\n\t group.time = ctrlWeek.getViewModelForTimeView(start, end, group.time);\n\t\n\t return group;\n\t }\n\t};\n\t\n\tmodule.exports = Week;\n\t\n\n\n/***/ },\n/* 68 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Factory module for control all other factory.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1),\n\t Handlebars = __webpack_require__(21);\n\tvar dw = __webpack_require__(15),\n\t datetime = __webpack_require__(4),\n\t Layout = __webpack_require__(95),\n\t Drag = __webpack_require__(26),\n\t controllerFactory = __webpack_require__(69),\n\t weekViewFactory = __webpack_require__(71),\n\t monthViewFactory = __webpack_require__(70),\n\t TZDate = __webpack_require__(5).Date,\n\t config = __webpack_require__(3),\n\t timezone = __webpack_require__(5);\n\t\n\tvar mmin = Math.min;\n\t\n\t/**\n\t * @typedef {object} Schedule\n\t * @property {string} id - unique schedule id depends on calendar id\n\t * @property {string} calendarId - unique calendar id\n\t * @property {string} title - schedule title\n\t * @property {string} start - start time\n\t * @property {string} end - end time\n\t * @property {boolean} isAllDay - all day schedule\n\t * @property {string} category - schedule type('milestone', 'task', allday', 'time')\n\t * @property {string} dueDateClass - task schedule type string\n\t * (any string value is ok and mandatory if category is 'task')\n\t * @property {boolean} isPending - in progress flag to do something like network job(The schedule will be transparent.)\n\t * @property {boolean} isFocused - focused schedule flag\n\t * @property {boolean} isVisible - schedule visibility flag\n\t * @property {boolean} isReadOnly - schedule read-only flag\n\t * @property {string} [color] - schedule text color\n\t * @property {string} [bgColor] - schedule background color\n\t * @property {string} [borderColor] - schedule left border color\n\t * @property {string} customStyle - schedule's custom css class\n\t * @property {any} raw - user data\n\t */\n\t\n\t/**\n\t * @typedef {object} RenderRange - rendered range\n\t * @property {Date} start - start date\n\t * @property {Date} end - end date\n\t */\n\t\n\t/**\n\t * @typedef {object} Options - calendar option object\n\t * @property {string} [cssPrefix] - CSS classname prefix\n\t * @property {string} [defaultView='week'] - default view of calendar\n\t * @property {string} [defaultDate=null] - default date to render calendar. if not supplied, use today.\n\t * @property {object} [calendarColor] - preset calendar colors\n\t * @property {string} [calendarColor.color] - calendar color\n\t * @property {string} [calendarColor.bgColor] - calendar background color\n\t * @property {string} [calendarColor.borderColor] - calendar left border color\n\t * @property {boolean} [calendarColor.render] - immediately apply colors when setCalendarColor called.\n\t * @property {boolean} [taskView=true] - show the milestone and task in weekly, daily view\n\t * @property {object} [template] - template option\n\t * @property {function} [template.milestoneTitle] - milestone title(at left column) template function\n\t * @property {function} [template.milestone] - milestone template function\n\t * @property {function} [template.taskTitle] - task title(at left column) template function\n\t * @property {function} [template.task] - task template function\n\t * @property {function} [template.alldayTitle] - allday title(at left column) template function\n\t * @property {function} [template.allday] - allday template function\n\t * @property {function} [template.time] - time template function\n\t * @property {function} [template.monthMoreTitleDate] - month more layer title template function\n\t * @property {function} [template.monthMoreClose] - month more layer close button template function\n\t * @property {function} [template.monthGridHeader] - month grid header(date, decorator, title) template function\n\t * @property {function} [template.monthGridFooter] - month grid footer(date, decorator, title) template function\n\t * @property {function} [template.monthGridHeaderExceed] - month grid header(exceed schedule count) template function\n\t * @property {function} [template.monthGridFooterExceed] - month grid footer(exceed schedule count) template function\n\t * @property {function} [template.weekDayname] - weekly dayname template function\n\t * @property {function} [template.monthDayname] - monthly dayname template function\n\t * @property {object} [week] - options for week view\n\t * @property {number} [week.startDayOfWeek=0] - start day of week\n\t * @property {Array.} [week.panelHeights] - each panel height px(Milestone, Task, Allday View Panel)\n\t * @property {Array.} [week.daynames] - day names in weekly and daily.\n\t * Default values are ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n\t * @property {boolean} [week.narrowWeekend=false] - make weekend column narrow(1/2 width)\n\t * @property {boolean} [week.workweek=false] - show only 5 days except for weekend\n\t * @property {object} [month] - options for month view\n\t * @property {Array.} [month.daynames] - day names in monthly.\n\t * Default values are ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n\t * @property {number} [month.startDayOfWeek=0] - start day of week\n\t * @property {boolean} [month.narrowWeekend=false] - make weekend column narrow(1/2 width)\n\t * @property {boolean} [month.visibleWeeksCount=6] - visible week count in monthly(0 or null are same with 6)\n\t * @property {number} [month.visibleScheduleCount] - visible schedule count in monthly grid\n\t * @property {object} [month.moreLayerSize] - more layer size\n\t * @property {object} [month.moreLayerSize.width=null] - css width value(px, 'auto').\n\t * The default value 'null' is to fit a grid cell.\n\t * @property {object} [month.moreLayerSize.height=null] - css height value(px, 'auto').\n\t * The default value 'null' is to fit a grid cell.\n\t * @property {object} [month.grid] - grid's header and footer information\n\t * @property {object} [month.grid.header] - grid's header informatioin\n\t * @property {number} [month.grid.header.height=34] - grid's header height\n\t * @property {object} [month.grid.footer] - grid's footer informatioin\n\t * @property {number} [month.grid.footer.height=34] - grid's footer height\n\t * @property {Array.} [schedules] - array of Schedule data for add calendar after initialize.\n\t */\n\t\n\t/**\n\t * @typedef {class} CustomEvents\n\t * https://nhnent.github.io/tui.code-snippet/latest/tui.util.CustomEvents.html\n\t */\n\t\n\t/**\n\t * @typedef {object} TimeCreationGuide - time creation guide instance to present selected time period\n\t * @property {HTMLElement} guideElement - guide element\n\t * @property {Object.} guideElements - map by key. It can be used in monthly view\n\t * @property {function} clearGuideElement - hide the creation guide\n\t * @example\n\t * calendar.on('beforeCreateSchedule', function(event) {\n\t * var guide = event.guide;\n\t * // use guideEl$'s left, top to locate your schedule creation popup\n\t * var guideEl$ = guide.guideElement ?\n\t * guide.guideElement : guide.guideElements[Object.keys(guide.guideElements)[0]];\n\t *\n\t * // after that call this to hide the creation guide\n\t * guide.clearGuideElement();\n\t * });\n\t */\n\t\n\t/**\n\t * Calendar class\n\t * @constructor\n\t * @mixes CustomEvents\n\t * @param {HTMLElement|string} container - container element or selector id\n\t * @param {Options} options - calendar options\n\t * @example\n\t * var calendar = new tui.Calendar(document.getElementById('calendar'), {\n\t * defaultView: 'week',\n\t * taskView: true,\n\t * template: {\n\t * milestone: function(schedule) {\n\t * return ' ' + schedule.title + '';\n\t * },\n\t * milestoneTitle: function() {\n\t * return 'Milestone';\n\t * },\n\t * task: function(schedule) {\n\t * return '  #' + schedule.title;\n\t * },\n\t * taskTitle: function() {\n\t * return '';\n\t * },\n\t * allday: function(schedule) {\n\t * return schedule.title + ' ';\n\t * },\n\t * alldayTitle: function() {\n\t * return 'All Day';\n\t * },\n\t * time: function(schedule) {\n\t * return schedule.title + ' ' + schedule.start;\n\t * }\n\t * },\n\t * month: {\n\t * daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n\t * startDayOfWeek: 0,\n\t * narrowWeekend: true\n\t * },\n\t * week: {\n\t * daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n\t * panelHeights: [80, 80, 120],\n\t * startDayOfWeek: 0,\n\t * narrowWeekend: true\n\t * }\n\t * });\n\t */\n\tfunction Calendar(container, options) {\n\t var opt;\n\t\n\t if (util.isString(container)) {\n\t container = document.querySelector(container);\n\t }\n\t\n\t /**\n\t * calendar options\n\t * @type {Options}\n\t */\n\t this.options = opt = util.extend({\n\t calendarColor: {},\n\t groupFunc: function(viewModel) {\n\t var model = viewModel.model;\n\t\n\t if (model.category === 'time' && (model.end - model.start > datetime.MILLISECONDS_PER_DAY)) {\n\t return 'allday';\n\t }\n\t\n\t return model.category;\n\t },\n\t controller: null,\n\t defaultView: 'week',\n\t taskView: true,\n\t defaultDate: new TZDate(),\n\t template: util.extend({\n\t allday: null,\n\t time: null\n\t }, util.pick(options, 'template') || {}),\n\t week: util.extend({}, util.pick(options, 'week') || {}),\n\t month: util.extend({}, util.pick(options, 'month') || {}),\n\t schedules: []\n\t }, options);\n\t\n\t this.options.week = util.extend({\n\t startDayOfWeek: 0,\n\t workweek: false\n\t }, util.pick(this.options, 'week') || {});\n\t\n\t this.options.month = util.extend({\n\t scheduleFilter: function(schedule) {\n\t return Boolean(schedule.isVisible) &&\n\t (schedule.category === 'allday' || schedule.category === 'time');\n\t }\n\t }, util.pick(options, 'month') || {});\n\t\n\t /**\n\t * Calendar color map\n\t * @type {object}\n\t * @private\n\t */\n\t this.calendarColor = opt.calendarColor;\n\t\n\t /**\n\t * @type {HTMLElement}\n\t * @private\n\t */\n\t this.container = container;\n\t\n\t /**\n\t * Current rendered date\n\t * @type {Date}\n\t * @readonly\n\t */\n\t this.renderDate = opt.defaultDate;\n\t\n\t /**\n\t * start and end date of weekly, monthly\n\t * @type {RenderRange}\n\t * @readonly\n\t */\n\t this.renderRange = {\n\t start: null,\n\t end: null\n\t };\n\t\n\t /**\n\t * base controller\n\t * @type {Base}\n\t * @private\n\t */\n\t this.controller = opt.controller || this.createController();\n\t\n\t /**\n\t * layout view (layout manager)\n\t * @type {Layout}\n\t * @private\n\t */\n\t this.layout = new Layout(container);\n\t\n\t /**\n\t * global drag handler\n\t * @type {Drag}\n\t * @private\n\t */\n\t this.dragHandler = new Drag({distance: 10}, this.layout.container);\n\t\n\t /**\n\t * current rendered view name. ('day', 'week', 'month')\n\t * @type {string}\n\t * @default 'week'\n\t * @readonly\n\t */\n\t this.viewName = opt.defaultView;\n\t\n\t /**\n\t * previous rendered view name\n\t * @type {string}\n\t * @private\n\t */\n\t this.prevViewName = this.viewName;\n\t\n\t /**\n\t * Refresh method. it can be ref different functions for each view modes.\n\t * @type {function}\n\t * @private\n\t */\n\t this.refreshMethod = null;\n\t\n\t /**\n\t * Scroll to now. It can be called for 'week', 'day' view modes.\n\t * @type {function}\n\t * @private\n\t */\n\t this.scrollToNowMethod = null;\n\t\n\t this.initialize();\n\t}\n\t\n\t/**\n\t * Create controller instance\n\t * @returns {Base} controller instance\n\t * @private\n\t */\n\tCalendar.prototype.createController = function() {\n\t return controllerFactory(this.options);\n\t};\n\t\n\t/**\n\t * Create week view instance by dependent module instances\n\t * @param {Base} controller - controller\n\t * @param {HTMLElement} container - container element\n\t * @param {Drag} dragHandler - global drag handler\n\t * @param {object} options - options for week view\n\t * @returns {Week} week view instance\n\t * @private\n\t */\n\tCalendar.prototype.createWeekView = function(controller, container, dragHandler, options) {\n\t return weekViewFactory(\n\t controller,\n\t container,\n\t dragHandler,\n\t options\n\t );\n\t};\n\t\n\t/**\n\t * Create week view instance by dependent module instances\n\t * @param {Base} controller - controller\n\t * @param {HTMLElement} container - container element\n\t * @param {Drag} dragHandler - global drag handler\n\t * @param {object} options - options for week view\n\t * @returns {Month} month view instance\n\t * @private\n\t */\n\tCalendar.prototype.createMonthView = function(controller, container, dragHandler, options) {\n\t return monthViewFactory(\n\t controller,\n\t container,\n\t dragHandler,\n\t options\n\t );\n\t};\n\t\n\t/**\n\t * destroy calendar instance.\n\t */\n\tCalendar.prototype.destroy = function() {\n\t this.dragHandler.destroy();\n\t this.controller.off();\n\t this.layout.clear();\n\t this.layout.destroy();\n\t\n\t util.forEach(this.options.template, function(func, name) {\n\t if (func) {\n\t Handlebars.unregisterHelper(name + '-tmpl');\n\t }\n\t });\n\t\n\t this.options = this.renderDate = this.controller =\n\t this.layout = this.dragHandler = this.viewName = this.prevViewName =\n\t this.refreshMethod = this.scrollToNowMethod = null;\n\t};\n\t\n\t/**\n\t * Initialize calendar\n\t * @private\n\t */\n\tCalendar.prototype.initialize = function() {\n\t var controller = this.controller,\n\t viewName = this.viewName,\n\t opt = this.options;\n\t\n\t this.layout.controller = controller;\n\t\n\t if (opt.schedules && opt.schedules.length) {\n\t this.createSchedules(opt.schedules, true);\n\t }\n\t\n\t util.forEach(opt.template, function(func, name) {\n\t if (func) {\n\t Handlebars.registerHelper(name + '-tmpl', func);\n\t }\n\t });\n\t\n\t this.toggleView(viewName, true);\n\t};\n\t\n\t/**********\n\t * CRUD Methods\n\t **********/\n\t\n\t/**\n\t * Create schedules and render calendar.\n\t * @param {Array.} schedules - schedule data list\n\t * @param {boolean} [silent=false] - no auto render after creation when set true\n\t * @example\n\t * calendar.createSchedules([\n\t * {\n\t * id: '1',\n\t * calendarId: '1',\n\t * title: 'my schedule',\n\t * category: 'time',\n\t * dueDateClass: '',\n\t * start: '2018-01-18T22:30:00+09:00',\n\t * end: '2018-01-19T02:30:00+09:00'\n\t * },\n\t * {\n\t * id: '2',\n\t * calendarId: '1',\n\t * title: 'second schedule',\n\t * category: 'time',\n\t * dueDateClass: '',\n\t * start: '2018-01-18T17:30:00+09:00',\n\t * end: '2018-01-19T17:31:00+09:00'\n\t * }\n\t * ]);\n\t */\n\tCalendar.prototype.createSchedules = function(schedules, silent) {\n\t var calColor = this.calendarColor;\n\t\n\t util.forEach(schedules, function(obj) {\n\t var color = calColor[obj.calendarId];\n\t\n\t if (color) {\n\t obj.color = color.color;\n\t obj.bgColor = color.bgColor;\n\t obj.borderColor = color.borderColor;\n\t }\n\t });\n\t\n\t this.controller.createSchedules(schedules, silent);\n\t\n\t if (!silent) {\n\t this.render();\n\t }\n\t};\n\t\n\t/**\n\t * Get schedule by schedule id and calendar id.\n\t * @param {string} id - ID of schedule\n\t * @param {string} calendarId - calendarId of schedule\n\t * @returns {Schedule} schedule object\n\t * @example\n\t * var schedule = calendar.getSchedule(scheduleId, calendarId);\n\t * console.log(schedule.title);\n\t */\n\tCalendar.prototype.getSchedule = function(id, calendarId) {\n\t return this.controller.schedules.single(function(model) {\n\t return model.id === id && model.calendarId === calendarId;\n\t });\n\t};\n\t\n\t/**\n\t * Update the schedule\n\t * @param {string} id - ID of schedule to update\n\t * @param {string} calendarId - calendarId of schedule to update\n\t * @param {Schedule} scheduleData - schedule data to update\n\t * @example\n\t * calendar.on('beforeUpdateSchedule', function(event) {\n\t * var schedule = event.schedule;\n\t * var startTime = event.start;\n\t * var endTime = event.end;\n\t * calendar.updateSchedule(schedule.id, schedule.calendarId, {\n\t * start: startTime,\n\t * end: endTime\n\t * });\n\t * });\n\t */\n\tCalendar.prototype.updateSchedule = function(id, calendarId, scheduleData) {\n\t var ctrl = this.controller,\n\t ownSchedules = ctrl.schedules,\n\t schedule = ownSchedules.single(function(model) {\n\t return model.id === id && model.calendarId === calendarId;\n\t });\n\t\n\t if (schedule) {\n\t ctrl.updateSchedule(schedule, scheduleData);\n\t this.render();\n\t }\n\t};\n\t\n\t/**\n\t * Delete schedule.\n\t * @fires Calendar#beforeDeleteSchedule\n\t * @param {string} id - ID of schedule to delete\n\t * @param {string} calendarId - calendarId of schedule to delete\n\t */\n\tCalendar.prototype.deleteSchedule = function(id, calendarId) {\n\t var ctrl = this.controller,\n\t ownSchedules = ctrl.schedules,\n\t schedule = ownSchedules.single(function(model) {\n\t return model.id === id && model.calendarId === calendarId;\n\t });\n\t\n\t if (!schedule) {\n\t return;\n\t }\n\t\n\t /**\n\t * Fire this event when delete a schedule.\n\t * @event Calendar#beforeDeleteSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to delete\n\t * @example\n\t * calendar.on('beforeDeleteSchedule', function() {\n\t * alert('The schedule is removed.');\n\t * });\n\t */\n\t this.fire('beforeDeleteSchedule', {\n\t schedule: schedule\n\t });\n\t\n\t ctrl.deleteSchedule(schedule);\n\t this.render();\n\t};\n\t\n\t/**********\n\t * Private Methods\n\t **********/\n\t\n\t/**\n\t * Set child view's options recursively\n\t * @param {View} view - parent view\n\t * @param {function} func - option manipulate function\n\t * @private\n\t */\n\tCalendar.prototype.setOptionRecurseively = function(view, func) {\n\t view.recursive(function(childView) {\n\t var opt = childView.options;\n\t\n\t if (!opt) {\n\t return;\n\t }\n\t\n\t func(opt);\n\t });\n\t};\n\t\n\t/**\n\t * @param {string|Date} date - date to show in calendar\n\t * @param {number} [startDayOfWeek=0] - start day of week\n\t * @param {boolean} [workweek=false] - only show work week\n\t * @returns {array} render range\n\t * @private\n\t */\n\tCalendar.prototype.getWeekDayRange = function(date, startDayOfWeek, workweek) {\n\t var day, start, end, range,\n\t msFrom = datetime.millisecondsFrom;\n\t\n\t startDayOfWeek = (startDayOfWeek || 0); // eslint-disable-line\n\t date = util.isDate(date) ? date : new TZDate(date);\n\t day = date.getDay();\n\t\n\t // calculate default render range first.\n\t start = new TZDate(\n\t Number(date) -\n\t msFrom('day', day) +\n\t msFrom('day', startDayOfWeek)\n\t );\n\t\n\t end = new TZDate(Number(start) + msFrom('day', 6));\n\t\n\t if (day < startDayOfWeek) {\n\t start = new TZDate(Number(start) - msFrom('day', 7));\n\t end = new TZDate(Number(end) - msFrom('day', 7));\n\t }\n\t\n\t if (workweek) {\n\t range = datetime.range(\n\t datetime.start(start),\n\t datetime.end(end),\n\t datetime.MILLISECONDS_PER_DAY\n\t );\n\t\n\t range = util.filter(range, function(weekday) {\n\t return !datetime.isWeekend(weekday.getDay());\n\t });\n\t\n\t start = range[0];\n\t end = range[range.length - 1];\n\t }\n\t\n\t return [start, end];\n\t};\n\t\n\t/**\n\t * Toggle schedules visibility by calendar ID\n\t * @param {string} calendarId - calendar id value\n\t * @param {boolean} toHide - set true to hide schedules\n\t * @param {boolean} render - set true then render after change visible property each models\n\t * @private\n\t */\n\tCalendar.prototype._toggleSchedulesByCalendarID = function(calendarId, toHide, render) {\n\t var ownSchedules = this.controller.schedules;\n\t\n\t calendarId = util.isArray(calendarId) ? calendarId : [calendarId];\n\t\n\t ownSchedules.each(function(schedule) {\n\t if (~util.inArray(schedule.calendarId, calendarId)) {\n\t schedule.set('isVisible', !toHide);\n\t }\n\t });\n\t\n\t if (render) {\n\t this.render();\n\t }\n\t};\n\t\n\t/**********\n\t * General Methods\n\t **********/\n\t\n\t/**\n\t * Render the calendar.\n\t * @example\n\t * var silent = true;\n\t * calendar.clear();\n\t * calendar.createSchedules(schedules, silent);\n\t * calendar.render();\n\t */\n\tCalendar.prototype.render = function() {\n\t this.layout.render();\n\t};\n\t\n\t/**\n\t * Delete all schedules and clear view.\n\t * @example\n\t * calendar.clear();\n\t * calendar.createSchedules(schedules, true);\n\t * calendar.render();\n\t */\n\tCalendar.prototype.clear = function() {\n\t this.controller.clearSchedules();\n\t this.render();\n\t};\n\t\n\t/**\n\t * Scroll to now in daily, weekly view\n\t * @example\n\t * function onNewSchedules(schedules) {\n\t * calendar.createSchedules(schedules);\n\t * if (calendar.viewName !== 'month') {\n\t * calendar.scrollToNow();\n\t * }\n\t * }\n\t */\n\tCalendar.prototype.scrollToNow = function() {\n\t if (this.scrollToNowMethod) {\n\t this.scrollToNowMethod();\n\t }\n\t};\n\t\n\t/**\n\t * Refresh the calendar layout.\n\t * @example\n\t * window.addEventListener('resize', function() {\n\t * calendar.refresh();\n\t * });\n\t */\n\tCalendar.prototype.refresh = function() {\n\t if (this.refreshMethod) {\n\t this.refreshMethod();\n\t }\n\t\n\t this.render();\n\t};\n\t\n\t/**\n\t * Refresh child views\n\t * @param {string} [viewName] - the name of view to render. if not supplied then refresh all.\n\t * @private\n\t */\n\tCalendar.prototype.refreshChildView = function(viewName) {\n\t if (!viewName) {\n\t this.render();\n\t\n\t return;\n\t }\n\t\n\t if (viewName === 'day') {\n\t viewName = 'week';\n\t }\n\t\n\t this.layout.children.items[viewName].render();\n\t};\n\t\n\t/**\n\t * Move to today.\n\t * @example\n\t * function onClickTodayBtn() {\n\t * calendar.today();\n\t * }\n\t */\n\tCalendar.prototype.today = function() {\n\t this.renderDate = new TZDate();\n\t\n\t this._setViewName(this.viewName); // see Calendar.move if (viewName === 'day') case using prevViewName 'week'se\n\t this.move();\n\t this.render();\n\t};\n\t\n\t/**\n\t * Move the calendar amount of offset value\n\t * @param {number} offset - offset value.\n\t * @private\n\t * @example\n\t * // move previous week when \"week\" view.\n\t * // move previous month when \"month\" view.\n\t * calendar.move(-1);\n\t */\n\tCalendar.prototype.move = function(offset) {\n\t var renderDate = dw(this.renderDate),\n\t viewName = this.viewName,\n\t view = this.getCurrentView(),\n\t recursiveSet = this.setOptionRecurseively,\n\t startDate, endDate, tempDate,\n\t startDayOfWeek, visibleWeeksCount, workweek, datetimeOptions;\n\t\n\t offset = util.isExisty(offset) ? offset : 0;\n\t\n\t if (viewName === 'month') {\n\t startDayOfWeek = util.pick(this.options, 'month', 'startDayOfWeek') || 0;\n\t visibleWeeksCount = mmin(util.pick(this.options, 'month', 'visibleWeeksCount') || 0, 6);\n\t workweek = util.pick(this.options, 'month', 'workweek') || false;\n\t\n\t if (visibleWeeksCount) {\n\t datetimeOptions = {\n\t startDayOfWeek: startDayOfWeek,\n\t isAlways6Week: false,\n\t visibleWeeksCount: visibleWeeksCount,\n\t workweek: workweek\n\t };\n\t\n\t renderDate.addDate(offset * 7 * datetimeOptions.visibleWeeksCount);\n\t tempDate = datetime.arr2dCalendar(this.renderDate, datetimeOptions);\n\t\n\t recursiveSet(view, function(opt) {\n\t opt.renderMonth = datetime.format(renderDate.d, 'YYYY-MM-DD');\n\t });\n\t } else {\n\t datetimeOptions = {\n\t startDayOfWeek: startDayOfWeek,\n\t isAlways6Week: true,\n\t workweek: workweek\n\t };\n\t\n\t renderDate.addMonth(offset);\n\t tempDate = datetime.arr2dCalendar(this.renderDate, datetimeOptions);\n\t\n\t recursiveSet(view, function(opt) {\n\t opt.renderMonth = datetime.format(renderDate.d, 'YYYY-MM');\n\t });\n\t }\n\t\n\t startDate = tempDate[0][0];\n\t endDate = tempDate[tempDate.length - 1][tempDate[tempDate.length - 1].length - 1];\n\t } else if (viewName === 'week') {\n\t renderDate.addDate(offset * 7);\n\t startDayOfWeek = util.pick(this.options, 'week', 'startDayOfWeek') || 0;\n\t workweek = util.pick(this.options, 'week', 'workweek') || false;\n\t tempDate = this.getWeekDayRange(renderDate.d, startDayOfWeek, workweek);\n\t\n\t startDate = tempDate[0];\n\t endDate = tempDate[1];\n\t\n\t recursiveSet(view, function(opt) {\n\t opt.renderStartDate = datetime.format(startDate, 'YYYY-MM-DD');\n\t opt.renderEndDate = datetime.format(endDate, 'YYYY-MM-DD');\n\t });\n\t } else if (viewName === 'day') {\n\t renderDate.addDate(offset);\n\t startDate = endDate = renderDate.d;\n\t\n\t recursiveSet(view, function(opt) {\n\t opt.renderStartDate = datetime.format(startDate, 'YYYY-MM-DD');\n\t opt.renderEndDate = datetime.format(endDate, 'YYYY-MM-DD');\n\t });\n\t }\n\t\n\t this.renderDate = renderDate.d;\n\t this.renderRange = {\n\t start: startDate,\n\t end: endDate\n\t };\n\t};\n\t\n\t/**\n\t * Move to specific date\n\t * @param {(Date|string)} date - date to move\n\t * @example\n\t * calendar.on('clickDayname', function(event) {\n\t * if (calendar.viewName === 'week') {\n\t * calendar.setDate(new Date(event.date));\n\t * calendar.toggleView('day', true);\n\t * }\n\t * });\n\t */\n\tCalendar.prototype.setDate = function(date) {\n\t if (util.isString(date)) {\n\t date = datetime.parse(date);\n\t }\n\t\n\t this.renderDate = new TZDate(Number(date));\n\t this._setViewName(this.viewName); // see Calendar.move if (viewName === 'day') case using prevViewName 'week'se\n\t this.move(0);\n\t this.render();\n\t};\n\t\n\t/**\n\t * Move the calendar forward a day, a week, a month\n\t * @example\n\t * function moveToNextOrPrevRange(val) {\n\t calendar.clear();\n\t if (val === -1) {\n\t calendar.prev();\n\t } else if (val === 1) {\n\t calendar.next();\n\t }\n\t}\n\t */\n\tCalendar.prototype.next = function() {\n\t this.move(1);\n\t this.render();\n\t};\n\t\n\t/**\n\t * Move the calendar backward a day, a week, a month\n\t * @example\n\t * function moveToNextOrPrevRange(val) {\n\t calendar.clear();\n\t if (val === -1) {\n\t calendar.prev();\n\t } else if (val === 1) {\n\t calendar.next();\n\t }\n\t}\n\t */\n\tCalendar.prototype.prev = function() {\n\t this.move(-1);\n\t this.render();\n\t};\n\t\n\t/**\n\t * Return current rendered view.\n\t * @returns {View} current view instance\n\t * @private\n\t */\n\tCalendar.prototype.getCurrentView = function() {\n\t var viewName = this.viewName;\n\t\n\t if (viewName === 'day') {\n\t viewName = 'week';\n\t }\n\t\n\t return util.pick(this.layout.children.items, viewName);\n\t};\n\t\n\t/**\n\t * Change calendar's schedule color with option\n\t * @param {string} calendarId - calendar ID\n\t * @param {object} option - color data object\n\t * @param {string} option.color - text color of schedule element\n\t * @param {string} option.bgColor - bg color of schedule element\n\t * @param {string} option.borderColor - border color of schedule element\n\t * @param {boolean} [option.render=true] - set false then does not auto render.\n\t * @example\n\t * calendar.setCalendarColor('1', {\n\t * color: '#e8e8e8',\n\t * bgColor: '#585858',\n\t * render: false\n\t * });\n\t * calendar.setCalendarColor('2', {\n\t * color: '#282828',\n\t * bgColor: '#dc9656',\n\t * render: false\n\t * });\n\t * calendar.setCalendarColor('3', {\n\t * color: '#a16946',\n\t * bgColor: '#ab4642',\n\t * render: true\n\t * });\n\t */\n\tCalendar.prototype.setCalendarColor = function(calendarId, option) {\n\t var calColor = this.calendarColor,\n\t ownSchedules = this.controller.schedules,\n\t ownColor = calColor[calendarId];\n\t\n\t if (!util.isObject(option)) {\n\t config.throwError('Calendar#changeCalendarColor(): color 는 {color: \\'\\', bgColor: \\'\\'} 형태여야 합니다.');\n\t }\n\t\n\t ownColor = calColor[calendarId] = util.extend({\n\t color: '#000',\n\t bgColor: '#a1b56c',\n\t borderColor: '#a1b56c',\n\t render: true\n\t }, option);\n\t\n\t ownSchedules.each(function(model) {\n\t if (model.calendarId !== calendarId) {\n\t return;\n\t }\n\t\n\t model.color = ownColor.color;\n\t model.bgColor = ownColor.bgColor;\n\t model.borderColor = ownColor.borderColor;\n\t });\n\t\n\t if (ownColor.render) {\n\t this.render();\n\t }\n\t};\n\t\n\t/**\n\t * Show schedules visibility by calendar ID\n\t * @param {string|string[]} calendarId - calendar id value\n\t * @param {boolean} [render=true] - set false then doesn't render after change model's property.\n\t * @private\n\t */\n\tCalendar.prototype.showSchedulesByCalendarID = function(calendarId, render) {\n\t render = util.isExisty(render) ? render : true;\n\t this._toggleSchedulesByCalendarID(calendarId, false, render);\n\t};\n\t\n\t/**\n\t * Hide schedules visibility by calendar ID\n\t * @param {string|string[]} calendarId - calendar id value\n\t * @param {boolean} [render=true] - set false then doesn't render after change model's property.\n\t * @private\n\t */\n\tCalendar.prototype.hideSchedulesByCalendarID = function(calendarId, render) {\n\t render = util.isExisty(render) ? render : true;\n\t this._toggleSchedulesByCalendarID(calendarId, true, render);\n\t};\n\t\n\t/**********\n\t * Custom Events\n\t **********/\n\t\n\t/**\n\t * 각 뷰의 클릭 핸들러와 사용자 클릭 이벤트 핸들러를 잇기 위한 브릿지 개념의 이벤트 핸들러\n\t * @fires Calendar#clickSchedule\n\t * @param {object} clickScheduleData - 'clickSchedule' 핸들러의 이벤트 데이터\n\t * @private\n\t */\n\tCalendar.prototype._onClick = function(clickScheduleData) {\n\t /**\n\t * Fire this event when click a schedule.\n\t * @event Calendar#clickSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance\n\t * @property {MouseEvent} event - MouseEvent\n\t * @example\n\t * calendar.on('clickSchedule', function(event) {\n\t * var schedule = event.schedule;\n\t *\n\t * if (lastClickSchedule) {\n\t * calendar.updateSchedule(lastClickSchedule.id, lastClickSchedule.calendarId, {\n\t * isFocused: false\n\t * });\n\t * }\n\t * calendar.updateSchedule(schedule.id, schedule.calendarId, {\n\t * isFocused: true\n\t * });\n\t *\n\t * lastClickSchedule = schedule;\n\t * // open detail view\n\t * });\n\t */\n\t this.fire('clickSchedule', clickScheduleData);\n\t};\n\t\n\t/**\n\t * dayname 클릭 이벤트 핸들러\n\t * @fires Calendar#clickDayname\n\t * @param {object} clickScheduleData - 'clickDayname' 핸들러의 이벤트 데이터\n\t * @private\n\t */\n\tCalendar.prototype._onClickDayname = function(clickScheduleData) {\n\t /**\n\t * Fire this event when click a day name in weekly.\n\t * @event Calendar#clickDayname\n\t * @type {object}\n\t * @property {string} date - date string by format 'YYYY-MM-DD'\n\t * @example\n\t * calendar.on('clickDayname', function(event) {\n\t * if (calendar.viewName === 'week') {\n\t * calendar.setDate(new Date(event.date));\n\t * calendar.toggleView('day', true);\n\t * }\n\t * });\n\t */\n\t this.fire('clickDayname', clickScheduleData);\n\t};\n\t\n\t/**\n\t * @fires {Calendar#beforeCreateSchedule}\n\t * @param {object} createScheduleData - select schedule data from allday, time\n\t * @private\n\t */\n\tCalendar.prototype._onBeforeCreate = function(createScheduleData) {\n\t /**\n\t * Fire this event when select time period in daily, weekly, monthly.\n\t * @event Calendar#beforeCreateSchedule\n\t * @type {object}\n\t * @property {boolean} isAllDay - allday schedule\n\t * @property {Date} start - selected start time\n\t * @property {Date} end - selected end time\n\t * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n\t * @property {string} triggerEventName - event name like 'click', 'dblclick'\n\t * @example\n\t * calendar.on('beforeCreateSchedule', function(event) {\n\t * var startTime = event.start;\n\t * var endTime = event.end;\n\t * var isAllDay = event.isAllDay;\n\t * var guide = event.guide;\n\t * var triggerEventName = event.triggerEventName;\n\t * var schedule;\n\t *\n\t * if (triggerEventName === 'click') {\n\t * // open writing simple schedule popup\n\t * schedule = {...};\n\t * } else if (triggerEventName === 'dblclick') {\n\t * // open writing detail schedule popup\n\t * schedule = {...};\n\t * }\n\t *\n\t * calendar.createSchedules([schedule]);\n\t * });\n\t */\n\t this.fire('beforeCreateSchedule', createScheduleData);\n\t};\n\t\n\t/**\n\t * @fires Calendar#beforeUpdateSchedule\n\t * @param {object} updateScheduleData - update schedule data\n\t * @private\n\t */\n\tCalendar.prototype._onBeforeUpdate = function(updateScheduleData) {\n\t /**\n\t * Fire this event when drag a schedule to change time in daily, weekly, monthly.\n\t * @event Calendar#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {Date} start - start time to update\n\t * @property {Date} end - end time to update\n\t * @example\n\t * calendar.on('beforeUpdateSchedule', function(event) {\n\t * var schedule = event.schedule;\n\t * var startTime = event.start;\n\t * var endTime = event.end;\n\t *\n\t * calendar.updateSchedule(schedule.id, schedule.calendarId, {\n\t * start: startTime,\n\t * end: endTime\n\t * });\n\t * });\n\t */\n\t this.fire('beforeUpdateSchedule', updateScheduleData);\n\t};\n\t\n\t/**\n\t * @fires Calendar#resizePanel\n\t * @param {object} resizeScheduleData - resize schedule data object\n\t * @private\n\t */\n\tCalendar.prototype._onResizePanel = function(resizeScheduleData) {\n\t /**\n\t * Fire this event when resize view panels(milestone, task, allday).\n\t * @event Calendar#resizePanel\n\t * @type {object}\n\t * @property {number[]} layoutData - layout data after resized\n\t * @example\n\t * calendar.on('resizePanel', function(layoutData) {\n\t * console.log(layoutData);\n\t * // do something to resize your UI if necessary.\n\t * });\n\t */\n\t this.fire('resizePanel', resizeScheduleData);\n\t};\n\t\n\t/**\n\t * 캘린더 팩토리 클래스와 주뷰, 월뷰의 이벤트 연결을 토글한다\n\t * @param {boolean} isAttach - true면 이벤트 연결함.\n\t * @param {Week|Month} view - 주뷰 또는 월뷰\n\t * @private\n\t */\n\tCalendar.prototype._toggleViewSchedule = function(isAttach, view) {\n\t var self = this,\n\t handler = view.handler,\n\t isMonthView = view.viewName === 'month',\n\t method = isAttach ? 'on' : 'off';\n\t\n\t util.forEach(handler.click, function(clickHandler) {\n\t clickHandler[method]('clickSchedule', self._onClick, self);\n\t });\n\t\n\t util.forEach(handler.dayname, function(clickHandler) {\n\t clickHandler[method]('clickDayname', self._onClickDayname, self);\n\t });\n\t\n\t util.forEach(handler.creation, function(creationHandler) {\n\t creationHandler[method]('beforeCreateSchedule', self._onBeforeCreate, self);\n\t });\n\t\n\t util.forEach(handler.move, function(moveHandler) {\n\t moveHandler[method]('beforeUpdateSchedule', self._onBeforeUpdate, self);\n\t });\n\t\n\t util.forEach(handler.resize, function(resizeHandler) {\n\t resizeHandler[method]('beforeUpdateSchedule', self._onBeforeUpdate, self);\n\t });\n\t\n\t if (!isMonthView) {\n\t view.vLayout[method]('resize', self._onResizePanel, self);\n\t }\n\t};\n\t\n\t/**\n\t * Toggle current view\n\t * @param {string} newViewName - new view name to render\n\t * @param {boolean} force - force render despite of current view and new view are equal\n\t * @example\n\t * // daily view\n\t * calendar.toggleView('day', true);\n\t *\n\t * // weekly view\n\t * calendar.toggleView('week', true);\n\t *\n\t * // monthly view(default 6 weeks view)\n\t * calendar.options.month.visibleWeeksCount = 6; // or null\n\t * calendar.toggleView('month', true);\n\t *\n\t * // 2 weeks monthly view\n\t * calendar.options.month.visibleWeeksCount = 2;\n\t * calendar.toggleView('month', true);\n\t *\n\t * // 3 weeks monthly view\n\t * calendar.options.month.visibleWeeksCount = 3;\n\t * calendar.toggleView('month', true);\n\t *\n\t * // narrow weekend\n\t * calendar.options.month.narrowWeekend = true;\n\t * calendar.options.week.narrowWeekend = true;\n\t * calendar.toggleView(calendar.viewName, true);\n\t *\n\t * // change start day of week(from monday)\n\t * calendar.options.month.startDayOfWeek = 1;\n\t * calendar.options.week.startDayOfWeek = 1;\n\t * calendar.toggleView(calendar.viewName, true);\n\t */\n\tCalendar.prototype.toggleView = function(newViewName, force) {\n\t var self = this,\n\t layout = this.layout,\n\t controller = this.controller,\n\t dragHandler = this.dragHandler,\n\t options = this.options,\n\t viewName = this.viewName,\n\t created;\n\t\n\t if (!force && viewName === newViewName) {\n\t return;\n\t }\n\t\n\t this._setViewName(newViewName);\n\t\n\t // convert day to week\n\t if (viewName === 'day') {\n\t viewName = 'week';\n\t }\n\t\n\t if (newViewName === 'day') {\n\t newViewName = 'week';\n\t }\n\t layout.children.doWhenHas(viewName, function(view) {\n\t self._toggleViewSchedule(false, view);\n\t });\n\t\n\t layout.clear();\n\t\n\t if (newViewName === 'month') {\n\t created = this.createMonthView(\n\t controller,\n\t layout.container,\n\t dragHandler,\n\t options\n\t );\n\t } else if (newViewName === 'week' || newViewName === 'day') {\n\t created = this.createWeekView(\n\t controller,\n\t layout.container,\n\t dragHandler,\n\t options\n\t );\n\t }\n\t\n\t layout.addChild(created.view);\n\t\n\t layout.children.doWhenHas(newViewName, function(view) {\n\t self._toggleViewSchedule(true, view);\n\t });\n\t\n\t this.refreshMethod = created.refresh;\n\t this.scrollToNowMethod = created.scrollToNow;\n\t\n\t this.move();\n\t this.render();\n\t};\n\t\n\t/**\n\t * Toggle task view panel\n\t * @param {boolean} enabled - use task view\n\t * @example\n\t * // There is no milestone, task, so hide those view panel\n\t * calendar.toggleTaskView(false);\n\t *\n\t * // There are some milestone, task, so show those view panel.\n\t * calendar.toggleTaskView(true);\n\t */\n\tCalendar.prototype.toggleTaskView = function(enabled) {\n\t var viewName = this.viewName,\n\t options = this.options;\n\t\n\t options.taskView = enabled;\n\t this.toggleView(viewName, true);\n\t};\n\t\n\t/**\n\t * Set current view name\n\t * @param {string} viewName - new view name to render\n\t * @private\n\t */\n\tCalendar.prototype._setViewName = function(viewName) {\n\t this.prevViewName = this.viewName;\n\t this.viewName = viewName;\n\t};\n\t\n\t/**\n\t * Get schedule by schedule id and calendar id.\n\t * @param {string} scheduleId - ID of schedule\n\t * @param {string} calendarId - calendarId of schedule\n\t * @returns {HTMLElement} schedule element if found or null\n\t * @example\n\t * var element = calendar.getElement(scheduleId, calendarId);\n\t * console.log(element);\n\t */\n\tCalendar.prototype.getElement = function(scheduleId, calendarId) {\n\t var schedule = this.getSchedule(scheduleId, calendarId);\n\t if (schedule) {\n\t return document.querySelector('[data-schedule-id=\"' + scheduleId + '\"][data-calendar-id=\"' + calendarId + '\"]');\n\t }\n\t\n\t return null;\n\t};\n\t\n\t/**\n\t * Set timezone offset\n\t * @param {number} offset - offset (min)\n\t * @static\n\t * @example\n\t * var timezoneName = moment.tz.guess();\n\t * tui.Calendar.setTimezoneOffset(moment.tz.zone(timezoneName).offset(moment()));\n\t */\n\tCalendar.setTimezoneOffset = function(offset) {\n\t timezone.setOffset(offset);\n\t};\n\t\n\tutil.CustomEvents.mixin(Calendar);\n\t\n\tmodule.exports = Calendar;\n\n\n/***/ },\n/* 69 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Controller factory module.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar Base = __webpack_require__(64),\n\t Core = __webpack_require__(65),\n\t Week = __webpack_require__(67),\n\t Month = __webpack_require__(66),\n\t datetime = __webpack_require__(4);\n\t\n\t/**\n\t * Mixin object. create object property to target and mix to that\n\t * @param {object} from - source object\n\t * @param {object} to - target object\n\t * @param {string} propertyName - property name\n\t */\n\tfunction mixin(from, to, propertyName) {\n\t var obj = to[propertyName] = {};\n\t\n\t util.forEach(from, function(method, methodName) {\n\t obj[methodName] = util.bind(method, to);\n\t });\n\t}\n\t\n\t/**\n\t * @param {object} options - options for base controller\n\t * @param {function} [options.groupFunc] - function for group each models {@see Collection#groupBy}\n\t * @returns {Base} The controller instance.\n\t */\n\tmodule.exports = function(options) {\n\t var controller = new Base(options),\n\t originQuery;\n\t\n\t mixin(Core, controller, 'Core');\n\t mixin(Week, controller, 'Week');\n\t mixin(Month, controller, 'Month');\n\t\n\t /**********\n\t * Override Week#findByDateRange for support schedules that category is 'miles\n\t * tone', 'task'.\n\t **********/\n\t\n\t originQuery = controller.Week.findByDateRange;\n\t\n\t /**\n\t * Find schedule and get view model for specific month\n\t * @this Base\n\t * @override\n\t * @param {Date} start - start date to find schedules\n\t * @param {Date} end - end date to find schedules\n\t * @param {function[]} [andFilters] - optional filters to applying search query\n\t * @returns {object} view model data\n\t */\n\t function findByDateRange(start, end, andFilters) {\n\t var dateRange = datetime.range(\n\t datetime.start(start),\n\t datetime.end(end),\n\t datetime.MILLISECONDS_PER_DAY\n\t ),\n\t ymdRange = util.map(dateRange, function(d) {\n\t return datetime.format(d, 'YYYY-MM-DD');\n\t }),\n\t viewModels;\n\t\n\t andFilters = andFilters || [];\n\t viewModels = originQuery(start, end, andFilters);\n\t\n\t util.forEach(viewModels, function(coll, key, obj) {\n\t var groupedByYMD;\n\t\n\t // 마일스톤, 업무 뷰 뷰모델 가공\n\t if (key === 'task' || key === 'milestone') {\n\t groupedByYMD = coll.groupBy(ymdRange, function(viewModel) {\n\t return datetime.format(viewModel.model.end, 'YYYY-MM-DD');\n\t });\n\t\n\t if (key === 'task') {\n\t util.forEach(groupedByYMD, function(tasks, ymd, _obj) {\n\t _obj[ymd] = tasks.groupBy(function(viewModel) {\n\t return viewModel.model.dueDateClass;\n\t });\n\t });\n\t }\n\t\n\t obj[key] = groupedByYMD;\n\t }\n\t });\n\t\n\t return viewModels;\n\t }\n\t\n\t controller.Week.findByDateRange = findByDateRange;\n\t\n\t return controller;\n\t};\n\t\n\n\n/***/ },\n/* 70 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Month view factory module\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t array = __webpack_require__(14),\n\t datetime = __webpack_require__(4),\n\t domutil = __webpack_require__(2),\n\t Month = __webpack_require__(96),\n\t MonthClick = __webpack_require__(79),\n\t MonthCreation = __webpack_require__(80),\n\t MonthResize = __webpack_require__(84),\n\t MonthMove = __webpack_require__(82),\n\t More = __webpack_require__(97);\n\t\n\t/**\n\t * Get the view model for more layer\n\t * @param {TZDate} date - date has more schedules\n\t * @param {HTMLElement} target - target element\n\t * @param {Collection} schedules - schedule collection\n\t * @returns {object} view model\n\t */\n\tfunction getViewModelForMoreLayer(date, target, schedules) {\n\t schedules.each(function(schedule) {\n\t var model = schedule.model;\n\t schedule.hasMultiDates = !datetime.isSameDate(model.start, model.end);\n\t });\n\t\n\t return {\n\t target: target,\n\t date: datetime.format(date, 'YYYY.MM.DD'),\n\t schedules: schedules.sort(array.compare.schedule.asc)\n\t };\n\t}\n\t\n\t/**\n\t * @param {Base} baseController - controller instance\n\t * @param {HTMLElement} layoutContainer - container element for month view\n\t * @param {Drag} dragHandler - drag handler instance\n\t * @param {object} options - options\n\t * @returns {object} view instance and refresh method\n\t */\n\tfunction createMonthView(baseController, layoutContainer, dragHandler, options) {\n\t var monthViewContainer, monthView, moreView;\n\t var clickHandler, creationHandler, resizeHandler, moveHandler, clearSchedulesHandler, onUpdateSchedule;\n\t\n\t monthViewContainer = domutil.appendHTMLElement(\n\t 'div', layoutContainer, config.classname('month'));\n\t\n\t monthView = new Month(options.month, monthViewContainer, baseController.Month);\n\t moreView = new More(options.month, layoutContainer);\n\t\n\t // handlers\n\t clickHandler = new MonthClick(dragHandler, monthView, baseController);\n\t creationHandler = new MonthCreation(dragHandler, monthView, baseController);\n\t resizeHandler = new MonthResize(dragHandler, monthView, baseController);\n\t moveHandler = new MonthMove(dragHandler, monthView, baseController);\n\t\n\t clearSchedulesHandler = function() {\n\t if (moreView) {\n\t moreView.hide();\n\t }\n\t };\n\t\n\t onUpdateSchedule = function() {\n\t if (moreView) {\n\t moreView.refresh();\n\t }\n\t };\n\t\n\t // binding +n click schedule\n\t clickHandler.on('clickMore', function(clickMoreSchedule) {\n\t var date = clickMoreSchedule.date,\n\t target = clickMoreSchedule.target,\n\t schedules = util.pick(baseController.findByDateRange(\n\t datetime.start(date),\n\t datetime.end(date)\n\t ), clickMoreSchedule.ymd);\n\t\n\t schedules.items = util.filter(schedules.items, function(item) {\n\t return options.month.scheduleFilter(item.model);\n\t });\n\t\n\t if (schedules && schedules.length) {\n\t moreView.render(getViewModelForMoreLayer(date, target, schedules));\n\t }\n\t });\n\t\n\t // binding clear schedules\n\t baseController.on('clearSchedules', clearSchedulesHandler);\n\t\n\t // bind update schedule event\n\t baseController.on('updateSchedule', onUpdateSchedule);\n\t\n\t moveHandler.on('monthMoveStart_from_morelayer', function() {\n\t moreView.hide();\n\t });\n\t\n\t monthView.handler = {\n\t click: {\n\t 'default': clickHandler\n\t },\n\t creation: {\n\t 'default': creationHandler\n\t },\n\t resize: {\n\t 'default': resizeHandler\n\t },\n\t move: {\n\t 'default': moveHandler\n\t }\n\t };\n\t\n\t monthView._beforeDestroy = function() {\n\t moreView.destroy();\n\t baseController.off('clearSchedules', clearSchedulesHandler);\n\t baseController.off('updateSchedule', onUpdateSchedule);\n\t\n\t util.forEach(monthView.handler, function(type) {\n\t util.forEach(type, function(handler) {\n\t handler.off();\n\t handler.destroy();\n\t });\n\t });\n\t };\n\t\n\t // add controller\n\t monthView.controller = baseController.Month;\n\t\n\t return {\n\t view: monthView,\n\t refresh: function() {\n\t monthView.vLayout.refresh();\n\t }\n\t };\n\t}\n\t\n\tmodule.exports = createMonthView;\n\t\n\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Factory module for WeekView\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar VLayout = __webpack_require__(24);\n\t// Parent views\n\tvar Week = __webpack_require__(106);\n\t\n\t// Sub views\n\tvar DayName = __webpack_require__(101);\n\tvar TimeGrid = __webpack_require__(105);\n\tvar Allday = __webpack_require__(100);\n\tvar Milestone = __webpack_require__(102);\n\tvar TaskView = __webpack_require__(103);\n\t\n\t// Handlers\n\tvar AlldayClick = __webpack_require__(72);\n\tvar AlldayCreation = __webpack_require__(73);\n\tvar AlldayMove = __webpack_require__(25);\n\tvar AlldayResize = __webpack_require__(76);\n\tvar DayNameClick = __webpack_require__(88);\n\tvar TimeClick = __webpack_require__(87);\n\tvar TimeCreation = __webpack_require__(89);\n\tvar TimeMove = __webpack_require__(91);\n\tvar TimeResize = __webpack_require__(93);\n\tvar MilestoneClick = __webpack_require__(78);\n\tvar TaskClick = __webpack_require__(86);\n\t\n\tmodule.exports = function(baseController, layoutContainer, dragHandler, options) {\n\t var weekView, dayNameContainer, dayNameView, vLayoutContainer, vLayout,\n\t milestoneView, taskView, alldayView, timeGridView,\n\t milestoneClickHandler, taskClickHandler, alldayClickHandler, alldayCreationHandler,\n\t alldayMoveHandler, alldayResizeHandler, timeClickHandler, timeCreationHandler,\n\t timeMoveHandler, timeResizeHandler, daynameClickHandler,\n\t panels;\n\t\n\t weekView = new Week(null, options.week, layoutContainer);\n\t dayNameContainer = domutil.appendHTMLElement('div', weekView.container, config.classname('dayname-layout'));\n\t\n\t /**********\n\t * 일자표기 (상단 일월화수...)\n\t **********/\n\t dayNameView = new DayName(options.week, dayNameContainer);\n\t daynameClickHandler = new DayNameClick(dragHandler, dayNameView, baseController);\n\t weekView.addChild(dayNameView);\n\t\n\t /**********\n\t * 수직 레이아웃 모듈 초기화\n\t **********/\n\t vLayoutContainer = domutil.appendHTMLElement('div', weekView.container, config.classname('vlayout-area'));\n\t vLayoutContainer.style.height = (domutil.getSize(weekView.container)[1] -\n\t dayNameView.container.offsetHeight) + 'px';\n\t\n\t panels = [\n\t {height: 100,\n\t minHeight: 100},\n\t {isSplitter: true},\n\t {autoHeight: true}\n\t ];\n\t\n\t if (options.taskView) {\n\t panels = [\n\t {minHeight: 20,\n\t maxHeight: 80},\n\t {isSplitter: true},\n\t {minHeight: 40,\n\t maxHeight: 120},\n\t {isSplitter: true},\n\t {minHeight: 20,\n\t maxHeight: 80},\n\t {isSplitter: true},\n\t {autoHeight: true}\n\t ];\n\t }\n\t\n\t vLayout = new VLayout({\n\t panels: panels,\n\t panelHeights: options.week.panelHeights || []\n\t }, vLayoutContainer);\n\t\n\t weekView.vLayout = vLayout;\n\t\n\t if (options.taskView) {\n\t /**********\n\t * 마일스톤\n\t **********/\n\t milestoneView = new Milestone(options.week, vLayout.panels[0].container);\n\t milestoneView.on('afterRender', function(viewModel) {\n\t vLayout.panels[0].setHeight(null, viewModel.height);\n\t });\n\t weekView.addChild(milestoneView);\n\t milestoneClickHandler = new MilestoneClick(dragHandler, milestoneView, baseController);\n\t\n\t /**********\n\t * 업무\n\t **********/\n\t taskView = new TaskView(options.week, vLayout.panels[2].container);\n\t taskView.on('afterRender', function(viewModel) {\n\t vLayout.panels[2].setHeight(null, viewModel.height);\n\t });\n\t weekView.addChild(taskView);\n\t taskClickHandler = new TaskClick(dragHandler, taskView, baseController);\n\t }\n\t\n\t /**********\n\t * 종일일정\n\t **********/\n\t alldayView = new Allday(options.week, vLayout.panels[panels.length - 3].container);\n\t alldayView.on('afterRender', function() {\n\t vLayout.panels[panels.length - 3].setHeight(null, alldayView.contentHeight);\n\t });\n\t weekView.addChild(alldayView);\n\t alldayClickHandler = new AlldayClick(dragHandler, alldayView, baseController);\n\t alldayCreationHandler = new AlldayCreation(dragHandler, alldayView, baseController);\n\t alldayMoveHandler = new AlldayMove(dragHandler, alldayView, baseController);\n\t alldayResizeHandler = new AlldayResize(dragHandler, alldayView, baseController);\n\t\n\t /**********\n\t * 시간별 일정\n\t **********/\n\t timeGridView = new TimeGrid(options.week, vLayout.panels[panels.length - 1].container);\n\t weekView.addChild(timeGridView);\n\t timeClickHandler = new TimeClick(dragHandler, timeGridView, baseController);\n\t timeCreationHandler = new TimeCreation(dragHandler, timeGridView, baseController);\n\t timeMoveHandler = new TimeMove(dragHandler, timeGridView, baseController);\n\t timeResizeHandler = new TimeResize(dragHandler, timeGridView, baseController);\n\t\n\t weekView.on('afterRender', function() {\n\t vLayout.refresh();\n\t });\n\t\n\t weekView.handler = {\n\t click: {\n\t allday: alldayClickHandler,\n\t time: timeClickHandler\n\t },\n\t dayname: {\n\t date: daynameClickHandler\n\t },\n\t creation: {\n\t allday: alldayCreationHandler,\n\t time: timeCreationHandler\n\t },\n\t move: {\n\t allday: alldayMoveHandler,\n\t time: timeMoveHandler\n\t },\n\t resize: {\n\t allday: alldayResizeHandler,\n\t time: timeResizeHandler\n\t }\n\t };\n\t\n\t if (options.taskView) {\n\t weekView.handler.click.milestone = milestoneClickHandler;\n\t weekView.handler.click.task = taskClickHandler;\n\t }\n\t\n\t // add controller\n\t weekView.controller = baseController.Week;\n\t\n\t // add destroy\n\t weekView._beforeDestroy = function() {\n\t util.forEach(weekView.handler, function(type) {\n\t util.forEach(type, function(handler) {\n\t handler.off();\n\t handler.destroy();\n\t });\n\t });\n\t\n\t weekView.off();\n\t };\n\t\n\t return {\n\t view: weekView,\n\t refresh: function() {\n\t var weekViewHeight = weekView.getViewBound().height,\n\t daynameViewHeight = domutil.getBCRect(\n\t dayNameView.container\n\t ).height;\n\t\n\t vLayout.container.style.height =\n\t weekViewHeight - daynameViewHeight + 'px';\n\t vLayout.refresh();\n\t },\n\t scrollToNow: timeGridView.scrollToNow.bind(timeGridView)\n\t };\n\t};\n\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Click handle module for allday schedules\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar AlldayMove = __webpack_require__(25);\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {Allday} [alldayView] - allday view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction AlldayClick(dragHandler, alldayView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Allday}\n\t */\n\t this.alldayView = alldayView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t dragHandler.on({\n\t 'click': this._onClick\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy handler module\n\t */\n\tAlldayClick.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.alldayView = this.baseController = this.dragHandler = null;\n\t};\n\t\n\t/**\n\t * Check target element is expected condition for activate this plugins.\n\t * @param {HTMLElement} target - The element to check\n\t * @returns {string} - model id\n\t */\n\tAlldayClick.prototype.checkExpectCondition = AlldayMove.prototype.checkExpectedCondition;\n\t\n\t/**\n\t * Click event handler\n\t * @param {object} clickEvent - click event data\n\t * @emits AlldayClick#clickSchedule\n\t */\n\tAlldayClick.prototype._onClick = function(clickEvent) {\n\t var self = this,\n\t target = clickEvent.target,\n\t timeView = this.checkExpectCondition(target),\n\t blockElement = domutil.closest(target, config.classname('.weekday-schedule-block')),\n\t scheduleCollection = this.baseController.schedules;\n\t\n\t if (!timeView || !blockElement) {\n\t return;\n\t }\n\t\n\t scheduleCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n\t /**\n\t * @events AlldayClick#clickSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance\n\t * @property {MouseEvent} event - MouseEvent object\n\t */\n\t self.fire('clickSchedule', {\n\t schedule: schedule,\n\t event: clickEvent.originEvent\n\t });\n\t });\n\t};\n\t\n\tutil.CustomEvents.mixin(AlldayClick);\n\t\n\tmodule.exports = AlldayClick;\n\t\n\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Handler module for WeekdayInWeek view's creation actions.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar common = __webpack_require__(6);\n\tvar domutil = __webpack_require__(2);\n\tvar domevent = __webpack_require__(9);\n\tvar alldayCore = __webpack_require__(17);\n\tvar AlldayCreationGuide = __webpack_require__(74);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\tvar CLICK_DELAY = 300;\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes AlldayCore\n\t * @mixes CutomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {Allday} [alldayView] - Allday view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction AlldayCreation(dragHandler, alldayView, baseController) {\n\t /**\n\t * Drag handler instance.\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * allday view instance.\n\t * @type {Allday}\n\t */\n\t this.alldayView = alldayView;\n\t\n\t /**\n\t * Base controller instance.\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this.getScheduleDataFunc = null;\n\t\n\t /**\n\t * @type {AlldayCreationGuide}\n\t */\n\t this.guide = new AlldayCreationGuide(this);\n\t\n\t /**\n\t * @type {boolean}\n\t */\n\t this._requestOnClick = false;\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t dragHandler.on('click', this._onClick, this);\n\t domevent.on(alldayView.container, 'dblclick', this._onDblClick, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tAlldayCreation.prototype.destroy = function() {\n\t this.guide.destroy();\n\t this.dragHandler.off(this);\n\t\n\t if (this.alldayView && this.alldayView.container) {\n\t domevent.off(this.alldayView.container, 'dblclick', this._onDblClick, this);\n\t }\n\t\n\t this.dragHandler = this.alldayView = this.baseController = this.getScheduleDataFunc = null;\n\t};\n\t\n\t/**\n\t * Check dragstart target is expected conditions for this handler.\n\t * @param {HTMLElement} target - dragstart event handler's target element.\n\t * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n\t */\n\tAlldayCreation.prototype.checkExpectedCondition = function(target) {\n\t var cssClass = domutil.getClass(target),\n\t matches;\n\t\n\t if (cssClass !== config.classname('weekday-schedules')) {\n\t return false;\n\t }\n\t\n\t target = target.parentNode;\n\t cssClass = domutil.getClass(target);\n\t matches = cssClass.match(config.allday.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.alldayView.children.items, matches[1]);\n\t};\n\t\n\t/**\n\t * Request schedule model creation to controller by custom schedules.\n\t * @fires {AlldayCreation#beforeCreateSchedule}\n\t * @param {object} scheduleData - schedule data from AlldayCreation module.\n\t */\n\tAlldayCreation.prototype._createSchedule = function(scheduleData) {\n\t var dateRange = scheduleData.range,\n\t startXIndex = scheduleData.dragStartXIndex,\n\t xIndex = scheduleData.xIndex,\n\t start, end;\n\t\n\t // when inverse start, end then change it.\n\t if (xIndex < startXIndex) {\n\t startXIndex = xIndex + startXIndex;\n\t xIndex = startXIndex - xIndex;\n\t startXIndex = startXIndex - xIndex;\n\t }\n\t\n\t start = new TZDate(dateRange[startXIndex].getTime());\n\t end = datetime.end(dateRange[xIndex]);\n\t\n\t /**\n\t * @event {AlldayCreation#beforeCreateSchedule}\n\t * @type {object}\n\t * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n\t * @property {Date} start - select start time\n\t * @property {Date} end - select end time\n\t * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n\t * @property {string} triggerEventName - event name\n\t */\n\t this.fire('beforeCreateSchedule', {\n\t isAllDay: true,\n\t start: start,\n\t end: end,\n\t guide: this.guide,\n\t triggerEventName: scheduleData.triggerEvent\n\t });\n\t};\n\t\n\t/**\n\t * DragStart event handler method.\n\t * @emits AlldayCreation#alldayCreationDragstart\n\t * @param {object} dragStartEventData - Drag#dragStart event handler schedule data.\n\t */\n\tAlldayCreation.prototype._onDragStart = function(dragStartEventData) {\n\t var target = dragStartEventData.target,\n\t result = this.checkExpectedCondition(target),\n\t getScheduleDataFunc,\n\t scheduleData;\n\t\n\t if (!result) {\n\t return;\n\t }\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(this.alldayView, dragStartEventData.originEvent);\n\t this.getScheduleDataFunc = getScheduleDataFunc;\n\t\n\t scheduleData = getScheduleDataFunc(dragStartEventData.originEvent);\n\t\n\t /**\n\t * @event AlldayCreation#alldayCreationDragstart\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire('alldayCreationDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * Drag event handler method.\n\t * @emits AlldayCreation#alldayCreationDrag\n\t * @param {object} dragEventData - Drag#drag event handler scheduledata.\n\t */\n\tAlldayCreation.prototype._onDrag = function(dragEventData) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc,\n\t scheduleData;\n\t\n\t if (!getScheduleDataFunc) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(dragEventData.originEvent);\n\t\n\t /**\n\t * @event AlldayCreation#alldayCreationDrag\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire('alldayCreationDrag', scheduleData);\n\t};\n\t\n\t/**\n\t * DragEnd event hander method.\n\t * @emits AlldayCreation#alldayCreationDragend\n\t * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n\t * @param {string} [overrideEventName] - override emitted event name when supplied.\n\t */\n\tAlldayCreation.prototype._onDragEnd = function(dragEndEventData, overrideEventName) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc;\n\t var scheduleData;\n\t\n\t if (!getScheduleDataFunc) {\n\t return;\n\t }\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n\t\n\t this._createSchedule(scheduleData);\n\t\n\t /**\n\t * @event AlldayCreation#alldayCreationDragend\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire(overrideEventName || 'alldayCreationDragend', scheduleData);\n\t\n\t this.getScheduleDataFunc = null;\n\t};\n\t\n\t/**\n\t * Click event handler method.\n\t * @emits AlldayCreation#alldayCreationClick\n\t * @param {object} clickEventData - Drag#Click event handler data.\n\t */\n\tAlldayCreation.prototype._onClick = function(clickEventData) {\n\t var self = this;\n\t var getScheduleDataFunc, scheduleData;\n\t\n\t if (!this.checkExpectedCondition(clickEventData.target)) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(this.alldayView, clickEventData.originEvent);\n\t scheduleData = getScheduleDataFunc(clickEventData.originEvent);\n\t\n\t this._requestOnClick = true;\n\t setTimeout(function() {\n\t if (self._requestOnClick) {\n\t self.fire('alldayCreationClick', scheduleData);\n\t self._createSchedule(scheduleData);\n\t }\n\t self._requestOnClick = false;\n\t }, CLICK_DELAY);\n\t};\n\t\n\t/**\n\t * Dblclick event handler method.\n\t * @emits AlldayCreation#alldayCreationClick\n\t * @param {object} clickEventData - Drag#Click event handler data.\n\t */\n\tAlldayCreation.prototype._onDblClick = function(clickEventData) {\n\t var getScheduleDataFunc, scheduleData;\n\t\n\t if (!this.checkExpectedCondition(clickEventData.target)) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(this.alldayView, clickEventData);\n\t scheduleData = getScheduleDataFunc(clickEventData);\n\t\n\t this.fire('alldayCreationClick', scheduleData);\n\t\n\t this._createSchedule(scheduleData);\n\t\n\t this._requestOnClick = false;\n\t};\n\t\n\tcommon.mixin(alldayCore, AlldayCreation);\n\tutil.CustomEvents.mixin(AlldayCreation);\n\t\n\tmodule.exports = AlldayCreation;\n\n\n/***/ },\n/* 74 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Guide element for Allday.Creation\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar reqAnimFrame = __webpack_require__(12);\n\t\n\t/**\n\t * Class for Allday.Creation dragging effect.\n\t * @constructor\n\t * @param {AlldayCreation} alldayCreation - instance of AlldayCreation.\n\t */\n\tfunction AlldayCreationGuide(alldayCreation) {\n\t /**\n\t * @type {AlldayCreation}\n\t */\n\t this.alldayCreation = alldayCreation;\n\t\n\t /**\n\t * @type {HTMLDIVElement}\n\t */\n\t this.scheduleContainer = null;\n\t\n\t /**\n\t * @type {HTMLDIVElement}\n\t */\n\t this.guideElement = document.createElement('div');\n\t\n\t this.initializeGuideElement();\n\t\n\t alldayCreation.on({\n\t alldayCreationDragstart: this._createGuideElement,\n\t alldayCreationDrag: this._onDrag,\n\t alldayCreationClick: this._createGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tAlldayCreationGuide.prototype.destroy = function() {\n\t this.clearGuideElement();\n\t this.alldayCreation.off(this);\n\t this.alldayCreation = this.scheduleContainer = this.guideElement = null;\n\t};\n\t\n\t/**\n\t * initialize guide element's default style.\n\t */\n\tAlldayCreationGuide.prototype.initializeGuideElement = function() {\n\t domutil.addClass(this.guideElement, config.classname('allday-guide-creation-block'));\n\t};\n\t\n\t/**\n\t * Drag event handler\n\t * @param {object} scheduleData - schedule data from Allday.Creation handler.\n\t */\n\tAlldayCreationGuide.prototype._onDrag = function(scheduleData) {\n\t this._refreshGuideElement(scheduleData, true);\n\t};\n\t\n\t/**\n\t * Get element width based on narrowWeekend\n\t * @param {number} dragStartIndex - grid start index\n\t * @param {number} dragEndIndex - grid end index\n\t * @param {Array} grids - dates information\n\t * @returns {number} element width\n\t */\n\tAlldayCreationGuide.prototype._getGuideWidth = function(dragStartIndex, dragEndIndex, grids) {\n\t var width = 0;\n\t var i = dragStartIndex;\n\t for (; i <= dragEndIndex; i += 1) {\n\t width += grids[i].width;\n\t }\n\t\n\t return width;\n\t};\n\t\n\t/**\n\t * Refresh guide element.\n\t * @param {object} scheduleData - schedule data from Allday.Creation handler.\n\t * @param {boolean} defer - If set to true, set style in the next frame\n\t */\n\tAlldayCreationGuide.prototype._refreshGuideElement = function(scheduleData, defer) {\n\t var guideElement = this.guideElement,\n\t data = scheduleData,\n\t dragStartXIndex = data.dragStartXIndex < data.xIndex ? data.dragStartXIndex : data.xIndex,\n\t dragEndXIndex = data.dragStartXIndex < data.xIndex ? data.xIndex : data.dragStartXIndex,\n\t leftPercent,\n\t widthPercent;\n\t\n\t leftPercent = data.grids[dragStartXIndex].left;\n\t widthPercent = this._getGuideWidth(dragStartXIndex, dragEndXIndex, data.grids);\n\t\n\t /** eslint-disable require-jsdoc */\n\t function setStyle() {\n\t guideElement.style.display = 'block';\n\t guideElement.style.left = leftPercent + '%';\n\t guideElement.style.width = widthPercent + '%';\n\t }\n\t\n\t if (defer) {\n\t reqAnimFrame.requestAnimFrame(setStyle);\n\t } else {\n\t setStyle();\n\t }\n\t};\n\t\n\t/**\n\t * Clear guide element.\n\t */\n\tAlldayCreationGuide.prototype.clearGuideElement = function() {\n\t var guideElement = this.guideElement;\n\t\n\t domutil.remove(guideElement);\n\t\n\t guideElement.style.display = 'none';\n\t guideElement.style.left = '';\n\t guideElement.style.width = '';\n\t};\n\t\n\t/**\n\t * Create guide element\n\t * @param {object} dragStartEventData - schedule data object of Allday.Creation.\n\t */\n\tAlldayCreationGuide.prototype._createGuideElement = function(dragStartEventData) {\n\t var alldayCreation = this.alldayCreation,\n\t alldayView = alldayCreation.alldayView,\n\t alldayContainerElement = alldayView.container,\n\t scheduleContainer = domutil.find(config.classname('.weekday-creation'), alldayContainerElement);\n\t\n\t scheduleContainer.appendChild(this.guideElement);\n\t this._refreshGuideElement(dragStartEventData);\n\t};\n\t\n\t/**\n\t * Drag event handler.\n\t * @param {object} dragEventData - event data object of Allday.Creation.\n\t */\n\tAlldayCreationGuide.prototype._onDrag = function(dragEventData) {\n\t this._refreshGuideElement(dragEventData);\n\t};\n\t\n\tmodule.exports = AlldayCreationGuide;\n\n\n/***/ },\n/* 75 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Effect module for Allday.Move\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar reqAnimFrame = __webpack_require__(12);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * Class for Allday.Move dragging effect.\n\t * @constructor\n\t * @param {AlldayMove} alldayMove - instance of AlldayMove.\n\t */\n\tfunction AlldayMoveGuide(alldayMove) {\n\t /**\n\t * @type {AlldayMove}\n\t */\n\t this.alldayMove = alldayMove;\n\t\n\t /**\n\t * 실제로 이벤트 엘리먼트를 담는 엘리먼트\n\t * @type {HTMLDIVElement}\n\t */\n\t this.scheduleContainer = null;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._dragStartXIndex = null;\n\t\n\t /**\n\t * @type {HTMLDIVElement}\n\t */\n\t this.guideElement = null;\n\t\n\t /**\n\t * @type {HTMLElement[]}\n\t */\n\t this.elements = null;\n\t\n\t alldayMove.on({\n\t 'alldayMoveDragstart': this._onDragStart,\n\t 'alldayMoveDrag': this._onDrag,\n\t 'alldayMoveDragend': this._clearGuideElement,\n\t 'alldayMoveClick': this._clearGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tAlldayMoveGuide.prototype.destroy = function() {\n\t this._clearGuideElement();\n\t this.alldayMove.off(this);\n\t this.alldayMove = this.scheduleContainer = this._dragStartXIndex =\n\t this.elements = this.guideElement = null;\n\t};\n\t\n\t/**\n\t * Clear guide element.\n\t */\n\tAlldayMoveGuide.prototype._clearGuideElement = function() {\n\t domutil.remove(this.guideElement);\n\t\n\t if (!util.browser.msie) {\n\t domutil.removeClass(global.document.body, config.classname('dragging'));\n\t }\n\t\n\t this._dragStartXIndex = this.getScheduleDataFunc = this.guideElement = null;\n\t};\n\t\n\t/**\n\t * Dim element blocks\n\t * @param {number} modelID - Schedule model instance ID\n\t */\n\tAlldayMoveGuide.prototype._hideOriginScheduleBlocks = function(modelID) {\n\t var className = config.classname('weekday-schedule-block-dragging-dim');\n\t var scheduleBlocks = domutil.find(\n\t config.classname('.weekday-schedule-block'),\n\t this.alldayMove.alldayView.container,\n\t true\n\t );\n\t\n\t this.elements = util.filter(scheduleBlocks, function(schedule) {\n\t return domutil.getData(schedule, 'id') === modelID;\n\t });\n\t\n\t util.forEach(this.elements, function(el) {\n\t domutil.addClass(el, className);\n\t });\n\t};\n\t\n\t/**\n\t * Show element blocks\n\t */\n\tAlldayMoveGuide.prototype._showOriginScheduleBlocks = function() {\n\t var className = config.classname('weekday-schedule-block-dragging-dim');\n\t\n\t util.forEach(this.elements, function(el) {\n\t domutil.removeClass(el, className);\n\t });\n\t};\n\t\n\t/**\n\t * @param {Schedule} model - model\n\t * @param {HTMLElement} parent - parent element\n\t * Highlight element blocks\n\t */\n\tAlldayMoveGuide.prototype._highlightScheduleBlocks = function(model, parent) {\n\t var elements = domutil.find(config.classname('.weekday-schedule'), parent, true);\n\t\n\t util.forEach(elements, function(el) {\n\t el.style.margin = '0';\n\t\n\t if (!model.isFocused) {\n\t el.style.backgroundColor = el.style.color;\n\t el.style.borderLeftColor = el.style.color;\n\t el.style.color = '#ffffff';\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Refresh guide element.\n\t * @param {number} leftPercent - left percent of guide element.\n\t * @param {number} widthPercent - width percent of guide element.\n\t * @param {boolean} isExceededLeft - schedule start is faster then render start date?\n\t * @param {boolean} isExceededRight - schedule end is later then render end date?\n\t */\n\tAlldayMoveGuide.prototype.refreshGuideElement = function(leftPercent, widthPercent, isExceededLeft, isExceededRight) {\n\t var guideElement = this.guideElement;\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t guideElement.style.left = leftPercent + '%';\n\t guideElement.style.width = widthPercent + '%';\n\t\n\t if (isExceededLeft) {\n\t domutil.addClass(guideElement, config.classname('weekday-exceed-left'));\n\t } else {\n\t domutil.removeClass(guideElement, config.classname('weekday-exceed-left'));\n\t }\n\t\n\t if (isExceededRight) {\n\t domutil.addClass(guideElement, config.classname('weekday-exceed-right'));\n\t } else {\n\t domutil.removeClass(guideElement, config.classname('weekday-exceed-right'));\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Get schedule block information from schedule data.\n\t *\n\t * For example, there is single schedule has 10 length. but render range in view is 5 then\n\t * rendered block must be cut out to render properly. in this case, this method return\n\t * how many block are cut before rendering.\n\t *\n\t * 이벤트 데이터에서 이벤트 블록 엘리먼트 렌더링에 대한 필요 정보를 추출한다.\n\t *\n\t * ex) 렌더링 된 블록의 길이는 5지만 실제 이 이벤트는 10의 길이를 가지고 있을 때\n\t * 좌 우로 몇 만큼 잘려있는지에 관한 정보를 반환함.\n\t * @param {object} dragStartEventData - schedule data from Allday.Move handler.\n\t * @returns {function} function that return schedule block information.\n\t */\n\tAlldayMoveGuide.prototype._getScheduleBlockDataFunc = function(dragStartEventData) {\n\t var model = dragStartEventData.model,\n\t datesInRange = dragStartEventData.datesInRange,\n\t range = dragStartEventData.range,\n\t baseWidthPercent = (100 / datesInRange),\n\t originScheduleStarts = datetime.start(model.start),\n\t originScheduleEnds = datetime.end(model.end),\n\t renderStartDate = datetime.start(range[0]),\n\t renderEndDate = datetime.end(range[range.length - 1]),\n\t fromLeft = (new TZDate(originScheduleStarts.getTime() -\n\t renderStartDate.getTime())) / datetime.MILLISECONDS_PER_DAY | 0,\n\t fromRight = (new TZDate(originScheduleEnds.getTime() -\n\t renderEndDate.getTime())) / datetime.MILLISECONDS_PER_DAY | 0;\n\t\n\t return function(indexOffset) {\n\t return {\n\t baseWidthPercent: baseWidthPercent,\n\t fromLeft: fromLeft + indexOffset,\n\t fromRight: fromRight + indexOffset\n\t };\n\t };\n\t};\n\t\n\t/**\n\t * DragStart event handler.\n\t * @param {object} dragStartEventData - schedule data.\n\t */\n\tAlldayMoveGuide.prototype._onDragStart = function(dragStartEventData) {\n\t var alldayViewContainer = this.alldayMove.alldayView.container,\n\t guideElement = this.guideElement = dragStartEventData.scheduleBlockElement.cloneNode(true),\n\t scheduleContainer;\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(global.document.body, config.classname('dragging'));\n\t }\n\t\n\t this._hideOriginScheduleBlocks(String(dragStartEventData.model.cid()));\n\t\n\t scheduleContainer = domutil.find(config.classname('.weekday-schedules'), alldayViewContainer);\n\t domutil.addClass(guideElement, config.classname('allday-guide-move'));\n\t scheduleContainer.appendChild(guideElement);\n\t\n\t this._dragStartXIndex = dragStartEventData.xIndex;\n\t this.getScheduleDataFunc = this._getScheduleBlockDataFunc(dragStartEventData);\n\t\n\t this._highlightScheduleBlocks(dragStartEventData.model, guideElement);\n\t};\n\t\n\t/**\n\t * Drag event handler.\n\t * @param {object} dragEventData - schedule data.\n\t */\n\tAlldayMoveGuide.prototype._onDrag = function(dragEventData) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc,\n\t dragStartXIndex = this._dragStartXIndex,\n\t datesInRange = dragEventData.datesInRange,\n\t scheduleData,\n\t isExceededLeft,\n\t isExceededRight,\n\t originLength,\n\t newLeft,\n\t newWidth;\n\t\n\t if (!getScheduleDataFunc) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(dragEventData.xIndex - dragStartXIndex);\n\t isExceededLeft = scheduleData.fromLeft < 0;\n\t isExceededRight = scheduleData.fromRight > 0;\n\t\n\t newLeft = Math.max(0, scheduleData.fromLeft);\n\t originLength = (scheduleData.fromLeft * -1) + (datesInRange + scheduleData.fromRight);\n\t newWidth = isExceededLeft ? (originLength + scheduleData.fromLeft) : originLength;\n\t newWidth = isExceededRight ? (newWidth - scheduleData.fromRight) : newWidth;\n\t\n\t newLeft *= scheduleData.baseWidthPercent;\n\t newWidth *= scheduleData.baseWidthPercent;\n\t\n\t this.refreshGuideElement(newLeft, newWidth, isExceededLeft, isExceededRight);\n\t};\n\t\n\tmodule.exports = AlldayMoveGuide;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 76 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Resize handler module for Allday view.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar common = __webpack_require__(6);\n\tvar AlldayCore = __webpack_require__(17);\n\tvar AlldayResizeGuide = __webpack_require__(77);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes AlldayCore\n\t * @mixes CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {Allday} [alldayView] - Allday view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction AlldayResize(dragHandler, alldayView, baseController) {\n\t /**\n\t * Drag handler instance.\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * allday view instance.\n\t * @type {Allday}\n\t */\n\t this.alldayView = alldayView;\n\t\n\t /**\n\t * Base controller instance.\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * Temporary variable for dragStart event data.\n\t * @type {object}\n\t */\n\t this._dragStart = null;\n\t\n\t dragHandler.on({\n\t dragStart: this._onDragStart\n\t }, this);\n\t\n\t /**\n\t * @type {AlldayResizeGuide}\n\t */\n\t this.guide = new AlldayResizeGuide(this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tAlldayResize.prototype.destroy = function() {\n\t this.guide.destroy();\n\t this.dragHandler.off(this);\n\t this.dragHandler = this.alldayView = this.baseController =\n\t this.guide = this._dragStart = null;\n\t};\n\t\n\t/**\n\t * Check dragstart target is expected conditions for this handler.\n\t * @param {HTMLElement} target - dragstart event handler's target element.\n\t * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n\t */\n\tAlldayResize.prototype.checkExpectedCondition = function(target) {\n\t var cssClass = domutil.getClass(target),\n\t matches;\n\t\n\t if (!~cssClass.indexOf(config.classname('weekday-resize-handle'))) {\n\t return false;\n\t }\n\t\n\t target = domutil.closest(target, config.classname('.weekday'));\n\t\n\t if (!target) {\n\t return false;\n\t }\n\t\n\t cssClass = domutil.getClass(target);\n\t matches = cssClass.match(config.allday.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.alldayView.children.items, matches[1]);\n\t};\n\t\n\t/**\n\t * DragStart event handler.\n\t * @emits AlldayResize#alldayResizeDragstart\n\t * @param {object} dragStartEventData - schedule data.\n\t */\n\tAlldayResize.prototype._onDragStart = function(dragStartEventData) {\n\t var target = dragStartEventData.target,\n\t result = this.checkExpectedCondition(target),\n\t controller = this.baseController,\n\t scheduleBlockElement,\n\t modelID,\n\t targetModel,\n\t getScheduleDataFunc,\n\t scheduleData;\n\t\n\t if (!result) {\n\t return;\n\t }\n\t\n\t scheduleBlockElement = domutil.closest(target, config.classname('.weekday-schedule-block'));\n\t modelID = domutil.getData(scheduleBlockElement, 'id');\n\t targetModel = controller.schedules.items[modelID];\n\t\n\t if (!targetModel) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(this.alldayView, dragStartEventData.originEvent);\n\t this.getScheduleDataFunc = getScheduleDataFunc;\n\t scheduleData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\t\n\t util.extend(scheduleData, {\n\t scheduleBlockElement: scheduleBlockElement,\n\t model: targetModel\n\t });\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t /**\n\t * @event AlldayResize#alldayResizeDragstart\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t * @property {Schedule} model - data object of model isntance.\n\t * @property {HTMLDivElement} scheduleBlockElement - target schedule block element.\n\t */\n\t this.fire('alldayResizeDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * Drag event handler method.\n\t * @emits AlldayResize#alldayResizeDrag\n\t * @param {object} dragEventData - Drag#drag event handler scheduledata.\n\t */\n\tAlldayResize.prototype._onDrag = function(dragEventData) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc;\n\t\n\t if (!getScheduleDataFunc) {\n\t return;\n\t }\n\t\n\t /**\n\t * @event AlldayResize#alldayResizeDrag\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire('alldayResizeDrag', getScheduleDataFunc(dragEventData.originEvent));\n\t};\n\t\n\t/**\n\t * Request update schedule instance to base controller.\n\t * @fires AlldayResize#beforeUpdateSchedule\n\t * @param {object} scheduleData - schedule data from AlldayResize handler.\n\t */\n\tAlldayResize.prototype._updateSchedule = function(scheduleData) {\n\t var schedule = scheduleData.targetModel,\n\t dateOffset = scheduleData.xIndex - scheduleData.dragStartXIndex,\n\t newEnds = new TZDate(schedule.end.getTime());\n\t\n\t newEnds = new TZDate(newEnds.setDate(newEnds.getDate() + dateOffset));\n\t newEnds = new TZDate(Math.max(datetime.end(schedule.start).getTime(), newEnds.getTime()));\n\t\n\t /**\n\t * @event AlldayResize#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {date} start - start time to update\n\t * @property {date} end - end time to update\n\t */\n\t this.fire('beforeUpdateSchedule', {\n\t schedule: schedule,\n\t start: schedule.getStarts(),\n\t end: newEnds\n\t });\n\t};\n\t\n\t/**\n\t * DragEnd event hander method.\n\t * @emits AlldayResize#alldayResizeDragend\n\t * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n\t * @param {string} [overrideEventName] - override emitted event name when supplied.\n\t * @param {?boolean} skipUpdate - true then skip update schedule model.\n\t */\n\tAlldayResize.prototype._onDragEnd = function(dragEndEventData, overrideEventName, skipUpdate) {\n\t var getScheduleDataFunc = this.getScheduleDataFunc,\n\t dragStart = this._dragStart,\n\t scheduleData;\n\t\n\t if (!getScheduleDataFunc || !dragStart) {\n\t return;\n\t }\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n\t util.extend(scheduleData, {\n\t targetModel: dragStart.model\n\t });\n\t\n\t if (!skipUpdate) {\n\t this._updateSchedule(scheduleData);\n\t }\n\t\n\t /**\n\t * @event AlldayResize#alldayResizeDragend\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this.fire(overrideEventName || 'alldayResizeDragend', scheduleData);\n\t\n\t this.getScheduleDataFunc = this._dragStart = null;\n\t};\n\t\n\t/**\n\t * Click event handler method.\n\t * @emits AlldayResize#alldayResizeClick\n\t * @param {object} clickEventData - Drag#Click event handler data.\n\t */\n\tAlldayResize.prototype._onClick = function(clickEventData) {\n\t /**\n\t * @event AlldayResize#alldayResizeClick\n\t * @type {object}\n\t * @property {AlldayView} relatedView - allday view instance.\n\t * @property {number} datesInRange - date count of this view.\n\t * @property {number} dragStartXIndex - index number of dragstart grid index.\n\t * @property {number} xIndex - index number of mouse positions.\n\t */\n\t this._onDragEnd(clickEventData, 'alldayResizeClick', true);\n\t};\n\t\n\tcommon.mixin(AlldayCore, AlldayResize);\n\tutil.CustomEvents.mixin(AlldayResize);\n\t\n\tmodule.exports = AlldayResize;\n\t\n\n\n/***/ },\n/* 77 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Resize Guide module.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar datetime = __webpack_require__(4);\n\tvar reqAnimFrame = __webpack_require__(12);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * @constructor\n\t * @param {AlldayResize} alldayResize - instance of AlldayResize\n\t */\n\tfunction AlldayResizeGuide(alldayResize) {\n\t /**\n\t * @type {AlldayResize}\n\t */\n\t this.alldayResize = alldayResize;\n\t\n\t /**\n\t * 실제로 이벤트 엘리먼트를 담는 엘리먼트\n\t * @type {HTMLDIVElement}\n\t */\n\t this.scheduleContainer = null;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this.getScheduleDataFunc = null;\n\t\n\t /**\n\t * @type {HTMLDIVElement}\n\t */\n\t this.guideElement = null;\n\t\n\t alldayResize.on({\n\t 'alldayResizeDragstart': this._onDragStart,\n\t 'alldayResizeDrag': this._onDrag,\n\t 'alldayResizeDragend': this._clearGuideElement,\n\t 'alldayResizeClick': this._clearGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tAlldayResizeGuide.prototype.destroy = function() {\n\t this._clearGuideElement();\n\t this.alldayResize.off(this);\n\t this.alldayResize = this.scheduleContainer = this.getScheduleDataFunc =\n\t this.guideElement = null;\n\t};\n\t\n\t/**\n\t * Clear guide element.\n\t */\n\tAlldayResizeGuide.prototype._clearGuideElement = function() {\n\t domutil.remove(this.guideElement);\n\t\n\t if (!util.browser.msie) {\n\t domutil.removeClass(global.document.body, config.classname('resizing-x'));\n\t }\n\t\n\t this.getScheduleDataFunc = null;\n\t};\n\t\n\t/**\n\t * Refresh guide element\n\t * @param {number} newWidth - new width percentage value to resize guide element.\n\t */\n\tAlldayResizeGuide.prototype.refreshGuideElement = function(newWidth) {\n\t var guideElement = this.guideElement;\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t guideElement.style.width = newWidth + '%';\n\t });\n\t};\n\t\n\t/**\n\t * Return function that calculate guide element's new width percentage value.\n\t * @param {object} dragStartEventData - dragstart schedule data.\n\t * @returns {function} return function that calculate guide element new width percentage.\n\t */\n\tAlldayResizeGuide.prototype.getGuideElementWidthFunc = function(dragStartEventData) {\n\t var model = dragStartEventData.model,\n\t viewOptions = this.alldayResize.alldayView.options,\n\t startDate = datetime.start(\n\t new TZDate(Math.max(\n\t model.start.getTime(),\n\t datetime.parse(viewOptions.renderStartDate).getTime()\n\t ))\n\t ),\n\t endDate = datetime.end(\n\t new TZDate(Math.min(\n\t model.end.getTime(),\n\t datetime.parse(viewOptions.renderEndDate).getTime()\n\t ))\n\t ),\n\t originLength = datetime.range(startDate, endDate, datetime.MILLISECONDS_PER_DAY).length,\n\t baseWidthPercent = 100 / dragStartEventData.datesInRange,\n\t dragStartIndex = dragStartEventData.xIndex;\n\t\n\t return function(xIndex) {\n\t var offset = xIndex - dragStartIndex,\n\t newLength = originLength + offset;\n\t\n\t newLength = Math.max(1, newLength);\n\t\n\t return newLength * baseWidthPercent;\n\t };\n\t};\n\t\n\t/**\n\t * DragStart event handler.\n\t * @param {object} dragStartEventData - schedule data.\n\t */\n\tAlldayResizeGuide.prototype._onDragStart = function(dragStartEventData) {\n\t var alldayViewContainer = this.alldayResize.alldayView.container,\n\t guideElement = this.guideElement = dragStartEventData.scheduleBlockElement.cloneNode(true),\n\t scheduleContainer;\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(global.document.body, config.classname('resizing-x'));\n\t }\n\t\n\t scheduleContainer = domutil.find(config.classname('.weekday-schedules'), alldayViewContainer);\n\t domutil.addClass(guideElement, config.classname('allday-guide-move'));\n\t scheduleContainer.appendChild(guideElement);\n\t\n\t this.getScheduleDataFunc = this.getGuideElementWidthFunc(dragStartEventData);\n\t};\n\t\n\t/**\n\t * Drag event handler.\n\t * @param {object} dragEventData - schedule data.\n\t */\n\tAlldayResizeGuide.prototype._onDrag = function(dragEventData) {\n\t var func = this.getScheduleDataFunc;\n\t\n\t if (!func) {\n\t return;\n\t }\n\t\n\t this.refreshGuideElement(func(dragEventData.xIndex));\n\t};\n\t\n\tmodule.exports = AlldayResizeGuide;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview 마일스톤 항목 클릭 이벤트 핸들러 모듈\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\t\n\t/**\n\t * 마일스톤 클릭 이벤트 핸들러 모듈\n\t * @constructor\n\t * @implelements {Handler}\n\t * @mixes util.CustomEvents\n\t * @param {Drag} dragHandler - dragHandler instance\n\t * @param {Milestone} milestoneView - milstone view instance\n\t * @param {Base} baseController - baseController instance\n\t */\n\tfunction MilestoneClick(dragHandler, milestoneView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Milestone}\n\t */\n\t this.milestoneView = milestoneView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t dragHandler.on({\n\t 'click': this._onClick\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy\n\t */\n\tMilestoneClick.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.dragHandler = this.milestoneView = this.baseController = null;\n\t};\n\t\n\t/**\n\t * @param {HTMLElement} target - check reponsibility to this handler module supplied element\n\t * @returns {boolean|string} return false when handler has no responsibility for supplied element.\n\t * otherwise, return schedule model id that related with target element.\n\t */\n\tMilestoneClick.prototype.checkExpectedCondition = function(target) {\n\t target = domutil.closest(target, config.classname('.milestone-item'));\n\t\n\t if (!target) {\n\t return false;\n\t }\n\t\n\t return domutil.getData(target, 'id');\n\t};\n\t\n\t/**\n\t * @emits MilestoneClick#clickSchedule\n\t * @param {object} clickEvent - click event object\n\t */\n\tMilestoneClick.prototype._onClick = function(clickEvent) {\n\t var self = this,\n\t modelID = this.checkExpectedCondition(clickEvent.target);\n\t\n\t if (!modelID) {\n\t return;\n\t }\n\t\n\t this.baseController.schedules.doWhenHas(modelID, function(schedule) {\n\t /**\n\t * @events MilestoneClick#clickEvent\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance\n\t * @property {MouseEvent} event - MouseEvent object\n\t */\n\t self.fire('clickSchedule', {\n\t schedule: schedule,\n\t event: clickEvent.originEvent\n\t });\n\t });\n\t};\n\t\n\tutil.CustomEvents.mixin(MilestoneClick);\n\t\n\tmodule.exports = MilestoneClick;\n\t\n\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Click handler for month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t datetime = __webpack_require__(4),\n\t domutil = __webpack_require__(2);\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes util.CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {Month} [monthView] - Month view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction MonthClick(dragHandler, monthView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Month}\n\t */\n\t this.monthView = monthView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t dragHandler.on({\n\t 'click': this._onClick\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthClick.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.monthView = this.baseController = this.dragHandler = null;\n\t};\n\t\n\t/**\n\t * @fires MonthClick#clickMore\n\t * @param {object} clickEvent - click event object\n\t */\n\tMonthClick.prototype._onClick = function(clickEvent) {\n\t var self = this,\n\t moreElement,\n\t scheduleCollection = this.baseController.schedules,\n\t blockElement = domutil.closest(clickEvent.target, config.classname('.weekday-schedule-block'))\n\t || domutil.closest(clickEvent.target, config.classname('.month-more-schedule'));\n\t\n\t moreElement = domutil.closest(\n\t clickEvent.target,\n\t config.classname('.weekday-exceed')\n\t );\n\t\n\t if (moreElement) {\n\t self.fire('clickMore', {\n\t date: datetime.parse(domutil.getData(moreElement, 'ymd')),\n\t target: moreElement,\n\t ymd: domutil.getData(moreElement, 'ymd')\n\t });\n\t }\n\t\n\t if (blockElement) {\n\t scheduleCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n\t /**\n\t * @events AlldayClick#clickSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance\n\t * @property {MouseEvent} event - MouseEvent object\n\t */\n\t self.fire('clickSchedule', {\n\t schedule: schedule,\n\t event: clickEvent.originEvent\n\t });\n\t });\n\t }\n\t};\n\t\n\tutil.CustomEvents.mixin(MonthClick);\n\t\n\tmodule.exports = MonthClick;\n\t\n\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Creation handler for month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar array = __webpack_require__(14);\n\tvar domutil = __webpack_require__(2);\n\tvar domevent = __webpack_require__(9);\n\tvar getMousePosDate = __webpack_require__(18);\n\tvar Guide = __webpack_require__(81);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\tvar CLICK_DELAY = 300;\n\t\n\t/**\n\t * @constructor\n\t * @param {Drag} dragHandler - Drag handler instance.\n\t * @param {Month} monthView - Month view instance.\n\t * @param {Base} baseController - Base controller instance.\n\t */\n\tfunction MonthCreation(dragHandler, monthView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Month}\n\t */\n\t this.monthView = monthView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this.getScheduleData = null;\n\t\n\t /**\n\t * Cache for dragging session\n\t * @type {object}\n\t */\n\t this._cache = null;\n\t\n\t /**\n\t * @type {MonthCreationGuide}\n\t */\n\t this.guide = new Guide(this);\n\t\n\t /**\n\t * @type {boolean}\n\t */\n\t this._requestOnClick = false;\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t dragHandler.on('click', this._onClick, this);\n\t domevent.on(monthView.container, 'dblclick', this._onDblClick, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthCreation.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.guide.destroy();\n\t\n\t if (this.monthView && this.monthView.container) {\n\t domevent.off(this.monthView.container, 'dblclick', this._onDblClick, this);\n\t }\n\t\n\t this.dragHandler = this.monthView = this.baseController =\n\t this.getScheduleData = this._cache = this.guide = null;\n\t};\n\t\n\t/**\n\t * Fire before create schedule\n\t * @fires {MonthCreation#beforeCreateSchedule}\n\t * @param {object} eventData - cache data from single dragging session\n\t */\n\tMonthCreation.prototype._createSchedule = function(eventData) {\n\t /**\n\t * @event {MonthCreation#beforeCreateSchedule}\n\t * @type {object}\n\t * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n\t * @property {Date} start - select start time\n\t * @property {Date} end - select end time\n\t * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n\t * @property {string} triggerEventName - event name\n\t */\n\t this.fire('beforeCreateSchedule', {\n\t isAllDay: eventData.isAllDay,\n\t start: eventData.start,\n\t end: eventData.end,\n\t guide: this.guide.guide,\n\t triggerEventName: eventData.triggerEvent\n\t });\n\t};\n\t\n\t/**\n\t * DragStart event handler\n\t * @fires {MonthCreation#monthCreationDragstart}\n\t * @param {object} dragStartEvent - dragStart event data\n\t */\n\tMonthCreation.prototype._onDragStart = function(dragStartEvent) {\n\t var eventData;\n\t\n\t if (!isElementWeekdayGrid(dragStartEvent.target)) {\n\t return;\n\t }\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t this.getScheduleData = getMousePosDate(this.monthView);\n\t\n\t eventData = this.getScheduleData(dragStartEvent.originEvent);\n\t\n\t this._cache = {\n\t start: new TZDate(Number(eventData.date))\n\t };\n\t\n\t /**\n\t * @event {MonthCreation#monthCreationDragstart}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthCreationDragstart', eventData);\n\t};\n\t\n\t/**\n\t * Drag event handler\n\t * @fires {MonthCreation#monthCreationDrag}\n\t * @param {object} dragEvent - drag event data\n\t */\n\tMonthCreation.prototype._onDrag = function(dragEvent) {\n\t var eventData;\n\t\n\t if (!this.getScheduleData) {\n\t return;\n\t }\n\t\n\t eventData = this.getScheduleData(dragEvent.originEvent);\n\t\n\t if (!eventData) {\n\t return;\n\t }\n\t\n\t /**\n\t * @event {MonthCreation#monthCreationDrag}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthCreationDrag', eventData);\n\t};\n\t\n\t/**\n\t * DragEnd event handler\n\t * @fires {MonthCreation#monthCreationDragend}\n\t * @param {object} dragEndEvent - drag end event data\n\t */\n\tMonthCreation.prototype._onDragEnd = function(dragEndEvent) {\n\t var cache = this._cache;\n\t var eventData;\n\t var times;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t if (!this.getScheduleData) {\n\t return;\n\t }\n\t\n\t eventData = this.getScheduleData(dragEndEvent.originEvent);\n\t\n\t if (eventData) {\n\t cache.end = new TZDate(Number(eventData.date));\n\t cache.isAllDay = true;\n\t\n\t times = [\n\t Number(cache.start),\n\t Number(cache.end)\n\t ].sort(array.compare.num.asc);\n\t\n\t cache.start = new TZDate(times[0]);\n\t cache.end = datetime.end(new TZDate(times[1]));\n\t\n\t this._createSchedule(cache);\n\t }\n\t\n\t /**\n\t * @event {MonthCreation#monthCreationDragend}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthCreationDragend', eventData);\n\t\n\t this.getScheduleData = this._cache = null;\n\t};\n\t\n\t/**\n\t * Dblclick event handler\n\t * @fires {MonthCreation#monthCreationDragstart}\n\t * @param {MouseEvent} e - Native MouseEvent\n\t */\n\tMonthCreation.prototype._onDblClick = function(e) {\n\t var eventData, range;\n\t\n\t if (!isElementWeekdayGrid(e.target)) {\n\t return;\n\t }\n\t\n\t eventData = getMousePosDate(this.monthView)(e);\n\t\n\t this.fire('monthCreationClick', eventData);\n\t\n\t range = adjustStartAndEndTime(new TZDate(Number(eventData.date)), new TZDate(Number(eventData.date)));\n\t\n\t this._createSchedule({\n\t start: range.start,\n\t end: range.end,\n\t isAllDay: false,\n\t triggerEvent: eventData.triggerEvent\n\t });\n\t\n\t this._requestOnClick = false;\n\t};\n\t\n\t/**\n\t * Click event handler\n\t * @fires {MonthCreation#monthCreationDragstart}\n\t * @param {MouseEvent} e - Native MouseEvent\n\t */\n\tMonthCreation.prototype._onClick = function(e) {\n\t var self = this;\n\t var eventData, range;\n\t\n\t if (!isElementWeekdayGrid(e.target)) {\n\t return;\n\t }\n\t\n\t eventData = getMousePosDate(this.monthView)(e.originEvent);\n\t\n\t this._requestOnClick = true;\n\t setTimeout(function() {\n\t if (self._requestOnClick) {\n\t self.fire('monthCreationClick', eventData);\n\t\n\t range = self._adjustStartAndEndTime(new TZDate(Number(eventData.date)), new TZDate(Number(eventData.date)));\n\t\n\t self._createSchedule({\n\t start: range.start,\n\t end: range.end,\n\t isAllDay: false,\n\t triggerEvent: eventData.triggerEvent\n\t });\n\t }\n\t self._requestOnClick = false;\n\t }, CLICK_DELAY);\n\t};\n\t\n\t/**\n\t * Adjust time to our o'clock\n\t * @param {TZDate} start - start time\n\t * @param {TZDate} end - end time\n\t * @returns {Object} start and end\n\t */\n\tMonthCreation.prototype._adjustStartAndEndTime = function(start, end) {\n\t var now = new TZDate();\n\t var hours = now.getHours();\n\t var minutes = now.getMinutes();\n\t\n\t // adjust start to less time. Adjusting had been greater time in monthly view when clicking grid\n\t if (minutes <= 30) {\n\t minutes = 0;\n\t } else {\n\t minutes = 30;\n\t }\n\t start.setHours(hours, minutes, 0, 0);\n\t end.setHours(hours + 1, minutes, 0, 0);\n\t\n\t return {\n\t start: start,\n\t end: end\n\t };\n\t};\n\t\n\t/**\n\t * Returns whether the given element is Weekday-Schedule.\n\t * @param {HTMLElement} el - target element\n\t * @returns {boolean}\n\t */\n\tfunction isElementWeekdayGrid(el) {\n\t return domutil.closest(el, config.classname('.weekday-grid'))\n\t && !domutil.closest(el, config.classname('.weekday-exceed'));\n\t}\n\t\n\tutil.CustomEvents.mixin(MonthCreation);\n\t\n\tmodule.exports = MonthCreation;\n\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Creation guide module for month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar MonthGuide = __webpack_require__(27);\n\t\n\t/**\n\t * @constructor\n\t * @param {MonthCreation} monthCreation - instance of MonthCreation\n\t */\n\tfunction MonthCreationGuide(monthCreation) {\n\t /**\n\t * @type {MonthCreation}\n\t */\n\t this.monthCreation = monthCreation;\n\t\n\t /**\n\t * @type {MonthGuide}\n\t */\n\t this.guide = null;\n\t\n\t monthCreation.on({\n\t monthCreationDragstart: this._createGuideElement,\n\t monthCreationDrag: this._onDrag,\n\t monthCreationDragend: this._onDragEnd,\n\t monthCreationClick: this._createGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthCreationGuide.prototype.destroy = function() {\n\t this.monthCreation.off(this);\n\t\n\t if (this.guide) {\n\t this.guide.destroy();\n\t }\n\t\n\t this.guide = this.monthCreation = null;\n\t};\n\t\n\t/**\n\t * Drag start event handler\n\t * @param {object} dragStartEvent - schedule data from MonthCreation\n\t */\n\tMonthCreationGuide.prototype._createGuideElement = function(dragStartEvent) {\n\t var options = {\n\t isCreationMode: true,\n\t height: '100%',\n\t top: 0\n\t };\n\t\n\t this.guide = new MonthGuide(options, this.monthCreation.monthView);\n\t this.guide.start(dragStartEvent);\n\t};\n\t\n\t/**\n\t * Drag event handler\n\t * @param {object} dragEvent - schedule data from MonthCreation\n\t */\n\tMonthCreationGuide.prototype._onDrag = function(dragEvent) {\n\t this.guide.update(dragEvent.x, dragEvent.y);\n\t};\n\t\n\t/**\n\t * Drag end event handler\n\t */\n\tMonthCreationGuide.prototype._onDragEnd = function() {\n\t // Do nothing. 사용자가 직접 destroy 호출\n\t this.guide = null;\n\t};\n\t\n\tmodule.exports = MonthCreationGuide;\n\n\n/***/ },\n/* 82 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Move handler for month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\tvar config = __webpack_require__(3),\n\t domutil = __webpack_require__(2),\n\t datetime = __webpack_require__(4),\n\t getMousePosData = __webpack_require__(18),\n\t MonthMoveGuide = __webpack_require__(83),\n\t TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * @constructor\n\t * @mixes CustomEvents\n\t * @param {Drag} dragHandler - Drag handler instance.\n\t * @param {Month} monthView - Month view instance.\n\t * @param {Base} baseController - Base controller instance.\n\t */\n\tfunction MonthMove(dragHandler, monthView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Month}\n\t */\n\t this.monthView = monthView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this.getScheduleData = null;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._cache = null;\n\t\n\t /**\n\t * @type {MonthMoveGuide}\n\t */\n\t this.guide = new MonthMoveGuide(this);\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthMove.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t\n\t this.dragHandler = this.monthView = this.baseController = null;\n\t};\n\t\n\t/**\n\t * Update target schedule\n\t * @fires {MonthMove#beforeUpdateSchedule}\n\t * @param {object} scheduleCache - cache object that result of single dragging\n\t * session.\n\t */\n\tMonthMove.prototype.updateSchedule = function(scheduleCache) {\n\t var schedule = scheduleCache.model;\n\t var duration = schedule.duration().getTime();\n\t var startDateRaw = datetime.raw(schedule.start);\n\t var dragEndTime = Number(scheduleCache.end);\n\t var newStartDate = new TZDate(dragEndTime);\n\t\n\t newStartDate.setHours(startDateRaw.h, startDateRaw.m, startDateRaw.s, startDateRaw.ms);\n\t\n\t /**\n\t * @event MonthMove#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {Date} start - start time to update\n\t * @property {Date} end - end time to update\n\t */\n\t this.fire('beforeUpdateSchedule', {\n\t schedule: schedule,\n\t start: newStartDate,\n\t end: new TZDate(newStartDate.getTime() + duration)\n\t });\n\t};\n\t\n\t/**\n\t * Get schedule block to clone for month guide effect\n\t * @param {HTMLElement} target - target element that related with drag schedule\n\t * @returns {HTMLElement} element to create guide effect\n\t */\n\tMonthMove.prototype.getMonthScheduleBlock = function(target) {\n\t var blockSelector = config.classname('.weekday-schedule-block');\n\t\n\t return domutil.closest(target, blockSelector);\n\t};\n\t\n\t/**\n\t * Get schedule block from more layer\n\t * @param {HTMLElement} target - element to check\n\t * @returns {HTMLElement} schedule element\n\t */\n\tMonthMove.prototype.getMoreLayerScheduleBlock = function(target) {\n\t var className = config.classname('.month-more-schedule');\n\t\n\t return domutil.closest(target, className);\n\t};\n\t\n\t/**\n\t * Check handler has permission to handle fired schedule\n\t * @fires {MonthMove#monthMoveStart_from_morelayer}\n\t * @param {HTMLElement} target - target element of fired schedule\n\t * @returns {(string|null)} model instance ID related with schedule. if handle\n\t * has not permission to handle the schedule then return null.\n\t */\n\tMonthMove.prototype.hasPermissionToHandle = function(target) {\n\t var modelID = null;\n\t var blockElement;\n\t\n\t if (domutil.hasClass(target, config.classname('weekday-resize-handle'))) {\n\t return null;\n\t }\n\t\n\t blockElement = this.getMonthScheduleBlock(target);\n\t\n\t if (blockElement) {\n\t modelID = domutil.getData(blockElement, 'id');\n\t } else {\n\t blockElement = this.getMoreLayerScheduleBlock(target);\n\t\n\t if (blockElement) {\n\t modelID = domutil.getData(blockElement, 'id');\n\t /**\n\t * Fire for notificate that the drag schedule start at more layer view.\n\t * @event {MonthMove#monthMoveStart_from_morelayer}\n\t */\n\t this.fire('monthMoveStart_from_morelayer');\n\t }\n\t }\n\t\n\t return modelID;\n\t};\n\t\n\t/**\n\t * Event handler for Drag#dragStart\n\t * @fires {MonthMove#monthMoveDragstart}\n\t * @param {object} dragStartEvent - drag start schedule data\n\t */\n\tMonthMove.prototype._onDragStart = function(dragStartEvent) {\n\t var target = dragStartEvent.target,\n\t modelID = this.hasPermissionToHandle(target),\n\t model,\n\t scheduleData;\n\t\n\t if (!modelID) {\n\t return;\n\t }\n\t\n\t model = this.baseController.schedules.items[modelID];\n\t\n\t if (model.isReadOnly) {\n\t return;\n\t }\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t this.getScheduleData = getMousePosData(this.monthView);\n\t\n\t scheduleData = this.getScheduleData(dragStartEvent.originEvent);\n\t scheduleData.originEvent = dragStartEvent.originEvent;\n\t scheduleData.target = this.getMonthScheduleBlock(target);\n\t scheduleData.model = model;\n\t\n\t this._cache = {\n\t model: model,\n\t target: target,\n\t start: new TZDate(Number(scheduleData.date))\n\t };\n\t\n\t /**\n\t * @event {MonthMove#monthMoveDragstart}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t * @property {HTMLElement} target - schedule block element\n\t * @property {Schedule} model - model instance\n\t */\n\t this.fire('monthMoveDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * @fires {MonthMove#monthMoveDrag}\n\t * @param {object} dragEvent - drag event data\n\t */\n\tMonthMove.prototype._onDrag = function(dragEvent) {\n\t var scheduleData;\n\t\n\t if (!this.getScheduleData) {\n\t return;\n\t }\n\t\n\t scheduleData = util.extend({\n\t originEvent: dragEvent.originEvent\n\t }, this.getScheduleData(dragEvent.originEvent));\n\t\n\t if (!scheduleData) {\n\t return;\n\t }\n\t\n\t /**\n\t * @event {MonthMove#monthMoveDrag}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthMoveDrag', scheduleData);\n\t};\n\t\n\t/**\n\t * Event handler for Drag#dragEnd\n\t * @fires {MonthMove#monthMoveDragend}\n\t * @param {object} dragEndEvent - dragend event data\n\t */\n\tMonthMove.prototype._onDragEnd = function(dragEndEvent) {\n\t var cache = this._cache;\n\t var scheduleData;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t if (!this.getScheduleData) {\n\t return;\n\t }\n\t\n\t scheduleData = this.getScheduleData(dragEndEvent.originEvent);\n\t\n\t if (scheduleData) {\n\t cache.end = new TZDate(Number(scheduleData.date));\n\t this.updateSchedule(cache);\n\t }\n\t\n\t /**\n\t * @event {MonthResize#monthMoveDragend}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthMoveDragend', scheduleData);\n\t\n\t this.getScheduleData = this._cache = null;\n\t};\n\t\n\tutil.CustomEvents.mixin(MonthMove);\n\t\n\tmodule.exports = MonthMove;\n\t\n\n\n/***/ },\n/* 83 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Module for modification of guide element for move in month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\tvar config = __webpack_require__(3),\n\t domutil = __webpack_require__(2),\n\t domevent = __webpack_require__(9),\n\t FloatingLayer = __webpack_require__(16),\n\t tmpl = __webpack_require__(32),\n\t Schedule = __webpack_require__(20);\n\t\n\t/**\n\t * @constructor\n\t * @param {MonthMove} monthMove - month/move module instance\n\t */\n\tfunction MonthMoveGuide(monthMove) {\n\t /**\n\t * @type {MonthMove}\n\t */\n\t this.monthMove = monthMove;\n\t\n\t /**\n\t * @type {HTMLElement[]}\n\t */\n\t this.elements = null;\n\t\n\t /**\n\t * @type {FloatingLayer}\n\t */\n\t this.layer = null;\n\t\n\t monthMove.on({\n\t monthMoveDragstart: this._onDragStart,\n\t monthMoveDrag: this._onDrag,\n\t monthMoveDragend: this._onDragEnd\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthMoveGuide.prototype.destroy = function() {\n\t this.monthMove.off(this);\n\t this._clearGridBgColor();\n\t\n\t if (this.layer) {\n\t this.layer.destroy();\n\t }\n\t\n\t if (this.element) {\n\t domutil.remove(this.element);\n\t }\n\t\n\t this.monthMove = this.elements = this.layer = null;\n\t};\n\t\n\t/**\n\t * Hide element blocks for resize effect\n\t * @param {number} modelID - Schedule model instance ID\n\t */\n\tMonthMoveGuide.prototype._hideOriginScheduleBlocks = function(modelID) {\n\t var className = config.classname('weekday-schedule-block-dragging-dim');\n\t\n\t this.elements = domutil.find(\n\t config.classname('.weekday-schedule-block-' + modelID),\n\t this.monthMove.monthView.container,\n\t true\n\t );\n\t\n\t util.forEach(this.elements, function(el) {\n\t domutil.addClass(el, className);\n\t });\n\t};\n\t\n\t/**\n\t * Show element blocks\n\t */\n\tMonthMoveGuide.prototype._showOriginScheduleBlocks = function() {\n\t var className = config.classname('weekday-schedule-block-dragging-dim');\n\t\n\t util.forEach(this.elements, function(el) {\n\t domutil.removeClass(el, className);\n\t });\n\t};\n\t\n\tMonthMoveGuide.prototype._getHighlightColorModel = function(model) {\n\t return {\n\t bgColor: model.color\n\t };\n\t};\n\t\n\t/**\n\t * Clear background color for filled grid element.\n\t */\n\tMonthMoveGuide.prototype._clearGridBgColor = function() {\n\t var selector = config.classname('.weekday-filled'),\n\t className = config.classname('weekday-filled'),\n\t beforeGridElement = domutil.find(selector,\n\t this.monthMove.monthView.container);\n\t\n\t if (beforeGridElement) {\n\t domutil.removeClass(beforeGridElement, className);\n\t }\n\t};\n\t\n\t/**\n\t * Fill background color of date grids relatied with model updates.\n\t * @param {object} dragEvent - drag event data from MonthMoveGuide#_onDrag\n\t */\n\tMonthMoveGuide.prototype._updateGridBgColor = function(dragEvent) {\n\t var gridElements = domutil.find(config.classname('.weekday-grid-line'), this.monthMove.monthView.container, true),\n\t className = config.classname('weekday-filled'),\n\t targetIndex = (dragEvent.x + (dragEvent.sizeX * dragEvent.y));\n\t\n\t this._clearGridBgColor();\n\t\n\t if (!gridElements || !gridElements[targetIndex]) {\n\t return;\n\t }\n\t\n\t domutil.addClass(gridElements[targetIndex], className);\n\t};\n\t\n\t/**\n\t * Handler for MonthMove#dragStart\n\t * @param {object} dragStartEvent - dragStart schedule data object\n\t */\n\tMonthMoveGuide.prototype._onDragStart = function(dragStartEvent) {\n\t var monthView = this.monthMove.monthView,\n\t firstWeekdayView = monthView.children.single(),\n\t weekdayOptions = firstWeekdayView.options,\n\t widthPercent = 100 / firstWeekdayView.getRenderDateRange().length,\n\t height = weekdayOptions.scheduleGutter + weekdayOptions.scheduleHeight,\n\t container = monthView.container,\n\t mousePos = domevent.getMousePosition(dragStartEvent.originEvent, container),\n\t model = dragStartEvent.model,\n\t layer = new FloatingLayer(null, container);\n\t\n\t this._hideOriginScheduleBlocks(model.cid());\n\t\n\t this.layer = layer;\n\t layer.setSize(widthPercent + '%', height);\n\t layer.setPosition(mousePos[0], mousePos[1]);\n\t layer.setContent(tmpl({\n\t model: util.extend(\n\t Schedule.create(model),\n\t model,\n\t this._getHighlightColorModel(model)\n\t )\n\t }));\n\t layer.show();\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(global.document.body, config.classname('dragging'));\n\t }\n\t};\n\t\n\t/**\n\t * Handler for MonthMove#drag\n\t * @param {object} dragEvent - drag event data object\n\t */\n\tMonthMoveGuide.prototype._onDrag = function(dragEvent) {\n\t var container = this.monthMove.monthView.container,\n\t mousePos = domevent.getMousePosition(\n\t dragEvent.originEvent,\n\t container\n\t );\n\t\n\t this._updateGridBgColor(dragEvent);\n\t\n\t if (!this.layer) {\n\t return;\n\t }\n\t\n\t this.layer.setPosition(mousePos[0], mousePos[1]);\n\t};\n\t\n\t/**\n\t * Handler for MonthMove#dragEnd\n\t */\n\tMonthMoveGuide.prototype._onDragEnd = function() {\n\t this._showOriginScheduleBlocks();\n\t\n\t if (!util.browser.msie) {\n\t domutil.removeClass(global.document.body, config.classname('dragging'));\n\t }\n\t\n\t this._clearGridBgColor();\n\t this.layer.destroy();\n\t this.layer = null;\n\t};\n\t\n\tmodule.exports = MonthMoveGuide;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Module for resize schedule in month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\tvar config = __webpack_require__(3),\n\t datetime = __webpack_require__(4),\n\t domutil = __webpack_require__(2),\n\t getMousePosData = __webpack_require__(18),\n\t MonthResizeGuide = __webpack_require__(85),\n\t TZDate = __webpack_require__(5).Date;\n\t\n\t/**\n\t * @constructor\n\t * @param {Drag} dragHandler - Drag handler instance.\n\t * @param {Month} monthView - Month view instance.\n\t * @param {Base} baseController - Base controller instance.\n\t */\n\tfunction MonthResize(dragHandler, monthView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Month}\n\t */\n\t this.monthView = monthView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this.getScheduleData = null;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._cache = null;\n\t\n\t /**\n\t * @type {MonthResizeGuide}\n\t */\n\t this.guide = new MonthResizeGuide(this);\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthResize.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t\n\t this.dragHandler = this.monthView = this.baseController = null;\n\t};\n\t\n\t/**\n\t * Fire event for update model\n\t * @fires {MonthResize#beforeUpdateSchedule}\n\t * @param {object} scheduleCache - cache object that result of single dragging\n\t * session.\n\t */\n\tMonthResize.prototype._updateSchedule = function(scheduleCache) {\n\t // 일정의 시작 일자를 변경할 순 없음.\n\t // 종료시간만 변경 가능.\n\t var newEnd = datetime.end(new TZDate(Number(scheduleCache.end))),\n\t schedule = scheduleCache.schedule;\n\t\n\t /**\n\t * @event MonthResize#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {Date} start - start time to update\n\t * @property {Date} end - end time to update\n\t */\n\t this.fire('beforeUpdateSchedule', {\n\t schedule: schedule,\n\t start: new TZDate(Number(schedule.getStarts())),\n\t end: newEnd\n\t });\n\t};\n\t\n\t/**\n\t * Event handler for Drag#dragStart\n\t * @fires {MonthResize#monthResizeDragstart}\n\t * @param {object} dragStartEvent - drag start event data\n\t */\n\tMonthResize.prototype._onDragStart = function(dragStartEvent) {\n\t var target = dragStartEvent.target,\n\t modelID, schedule,\n\t scheduleData;\n\t\n\t if (!domutil.hasClass(target, config.classname('weekday-resize-handle'))) {\n\t return;\n\t }\n\t\n\t target = domutil.closest(target, config.classname('.weekday-schedule-block'));\n\t\n\t if (!target) {\n\t return;\n\t }\n\t\n\t modelID = domutil.getData(target, 'id');\n\t schedule = this.baseController.schedules.items[modelID];\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t this.getScheduleData = getMousePosData(this.monthView);\n\t scheduleData = this.getScheduleData(dragStartEvent.originEvent);\n\t scheduleData.target = target;\n\t scheduleData.model = schedule;\n\t\n\t this._cache = {\n\t schedule: schedule,\n\t target: target,\n\t start: new TZDate(Number(scheduleData.date))\n\t };\n\t\n\t /**\n\t * @event {MonthCreation#monthResizeDragstart}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t * @property {HTMLElement} target - schedule block element\n\t * @property {Schedule} model - model instance\n\t */\n\t this.fire('monthResizeDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * @fires {MonthResize#monthResizeDrag}\n\t * @param {object} dragEvent - drag event data\n\t */\n\tMonthResize.prototype._onDrag = function(dragEvent) {\n\t var scheduleData;\n\t\n\t if (!this.getScheduleData) {\n\t return;\n\t }\n\t\n\t scheduleData = this.getScheduleData(dragEvent.originEvent);\n\t\n\t if (!scheduleData) {\n\t return;\n\t }\n\t\n\t /**\n\t * @event {MonthResize#monthResizeDrag}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthResizeDrag', scheduleData);\n\t};\n\t\n\t/**\n\t * @fires {MonthResize#monthResizeDragend}\n\t * @param {object} dragEndEvent - drag end event data\n\t */\n\tMonthResize.prototype._onDragEnd = function(dragEndEvent) {\n\t var cache = this._cache,\n\t scheduleData;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t if (!this.getScheduleData) {\n\t return;\n\t }\n\t\n\t scheduleData = this.getScheduleData(dragEndEvent.originEvent);\n\t\n\t if (scheduleData) {\n\t cache.end = new TZDate(Number(scheduleData.date));\n\t this._updateSchedule(cache);\n\t }\n\t\n\t /**\n\t * @event {MonthResize#monthResizeDragend}\n\t * @type {object}\n\t * @property {number} x - x index\n\t * @property {number} y - y index\n\t * @property {Date} date - drag date\n\t */\n\t this.fire('monthResizeDragend', scheduleData);\n\t\n\t this.getScheduleData = this._cache = null;\n\t};\n\t\n\tutil.CustomEvents.mixin(MonthResize);\n\t\n\tmodule.exports = MonthResize;\n\t\n\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Module for modification of guide element in schedule resize\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\t\n\tvar config = __webpack_require__(3),\n\t domutil = __webpack_require__(2),\n\t MonthGuide = __webpack_require__(27);\n\t\n\t/**\n\t * @constructor\n\t * @param {MonthResize} monthResize - month/resize module instance\n\t */\n\tfunction MonthResizeGuide(monthResize) {\n\t /**\n\t * @type {MonthResize}\n\t */\n\t this.monthResize = monthResize;\n\t\n\t /**\n\t * @type {HTMLElement[]}\n\t */\n\t this.elements = null;\n\t\n\t /**\n\t * @type {MonthGuide}\n\t */\n\t this.guide = null;\n\t\n\t monthResize.on({\n\t monthResizeDragstart: this._onDragStart,\n\t monthResizeDrag: this._onDrag,\n\t monthResizeDragend: this._onDragEnd\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destructor\n\t */\n\tMonthResizeGuide.prototype.destroy = function() {\n\t this.monthResize.off(this);\n\t this.guide.destroy();\n\t\n\t this.guide = this.monthResize = null;\n\t};\n\t\n\t/**\n\t * Hide element blocks for resize effect\n\t * @param {number} modelID - Schedule model instance ID\n\t */\n\tMonthResizeGuide.prototype._hideScheduleBlocks = function(modelID) {\n\t this.elements = domutil.find(\n\t config.classname('.weekday-schedule-block-' + modelID),\n\t this.monthResize.monthView.container,\n\t true\n\t );\n\t\n\t util.forEach(this.elements, function(el) {\n\t el.style.display = 'none';\n\t });\n\t};\n\t\n\t/**\n\t * Show element blocks\n\t */\n\tMonthResizeGuide.prototype._showScheduleBlocks = function() {\n\t util.forEach(this.elements, function(el) {\n\t el.style.display = 'block';\n\t });\n\t};\n\t\n\t/**\n\t * Drag start event handler\n\t * @param {object} dragStartEvent - schedule data from MonthResize\n\t */\n\tMonthResizeGuide.prototype._onDragStart = function(dragStartEvent) {\n\t this.guide = new MonthGuide({\n\t isResizeMode: true\n\t }, this.monthResize.monthView);\n\t\n\t this._hideScheduleBlocks(dragStartEvent.model.cid());\n\t\n\t this.guide.start(dragStartEvent);\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(global.document.body, config.classname('resizing-x'));\n\t }\n\t};\n\t\n\t/**\n\t * Drag event handler\n\t * @param {object} dragEvent - event data from MonthCreation\n\t */\n\tMonthResizeGuide.prototype._onDrag = function(dragEvent) {\n\t this.guide.update(dragEvent.x, dragEvent.y);\n\t};\n\t\n\t/**\n\t * Drag end event handler\n\t */\n\tMonthResizeGuide.prototype._onDragEnd = function() {\n\t this._showScheduleBlocks();\n\t\n\t this.guide.destroy();\n\t this.elements = this.guide = null;\n\t\n\t if (!util.browser.msie) {\n\t domutil.removeClass(global.document.body, config.classname('resizing-x'));\n\t }\n\t};\n\t\n\tmodule.exports = MonthResizeGuide;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview 마일스톤 항목 클릭 이벤트 핸들러 모듈\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\t\n\t/**\n\t * 마일스톤 클릭 이벤트 핸들러 모듈\n\t * @constructor\n\t * @implelements {Handler}\n\t * @mixes util.CustomEvents\n\t * @param {Drag} dragHandler - dragHandler instance\n\t * @param {Task} taskView - milstone view instance\n\t * @param {Base} baseController - baseController instance\n\t */\n\tfunction TaskClick(dragHandler, taskView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {Task}\n\t */\n\t this.taskView = taskView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t dragHandler.on({\n\t 'click': this._onClick\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy\n\t */\n\tTaskClick.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.dragHandler = this.taskView = this.baseController = null;\n\t};\n\t\n\t/**\n\t * @param {HTMLElement} target - check reponsibility to this handler module supplied element\n\t * @returns {boolean|string} return false when handler has no responsibility for supplied element.\n\t * otherwise, return event model id that related with target element.\n\t */\n\tTaskClick.prototype.checkExpectedCondition = function(target) {\n\t target = domutil.closest(target, config.classname('.task-item'));\n\t\n\t if (!target) {\n\t return false;\n\t }\n\t\n\t return domutil.getData(target, 'id');\n\t};\n\t\n\t/**\n\t * @emits TaskClick#clickSchedule\n\t * @param {object} clickEvent - click event object\n\t */\n\tTaskClick.prototype._onClick = function(clickEvent) {\n\t var self = this,\n\t scheduleID = this.checkExpectedCondition(clickEvent.target);\n\t\n\t if (!scheduleID) {\n\t return;\n\t }\n\t\n\t this.baseController.schedules.doWhenHas(scheduleID, function(schedule) {\n\t /**\n\t * @events TaskClick#clickSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance\n\t * @property {MouseEvent} event - MouseEvent object\n\t */\n\t self.fire('clickSchedule', {\n\t schedule: schedule,\n\t event: clickEvent.originEvent\n\t });\n\t });\n\t};\n\t\n\tutil.CustomEvents.mixin(TaskClick);\n\t\n\tmodule.exports = TaskClick;\n\t\n\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Allday event click event hander module\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes util.CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction TimeClick(dragHandler, timeGridView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {TimeGrid}\n\t */\n\t this.timeGridView = timeGridView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t dragHandler.on({\n\t 'click': this._onClick\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tTimeClick.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.timeGridView = this.baseController = this.dragHandler = null;\n\t};\n\t\n\t/**\n\t * Check target element is expected condition for activate this plugins.\n\t * @param {HTMLElement} target - The element to check\n\t * @returns {string} - model id\n\t */\n\tTimeClick.prototype.checkExpectCondition = function(target) {\n\t var container,\n\t matches;\n\t\n\t container = domutil.closest(target, config.classname('.time-date'));\n\t\n\t if (!container) {\n\t return false;\n\t }\n\t\n\t matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.timeGridView.children.items, Number(matches[1]));\n\t};\n\t\n\t/**\n\t * Click event hander\n\t * @param {object} clickEvent - click event from {@link Drag}\n\t * @emits TimeClick#clickEvent\n\t */\n\tTimeClick.prototype._onClick = function(clickEvent) {\n\t var self = this,\n\t target = clickEvent.target,\n\t timeView = this.checkExpectCondition(target),\n\t blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n\t schedulesCollection = this.baseController.schedules;\n\t\n\t if (!timeView || !blockElement) {\n\t return;\n\t }\n\t\n\t schedulesCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n\t /**\n\t * @events TimeClick#clickSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance\n\t * @property {MouseEvent} event - MouseEvent object\n\t */\n\t self.fire('clickSchedule', {\n\t schedule: schedule,\n\t event: clickEvent.originEvent\n\t });\n\t });\n\t};\n\t\n\tutil.CustomEvents.mixin(TimeClick);\n\t\n\tmodule.exports = TimeClick;\n\t\n\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Dayname click event hander module\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes util.CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {DayName} [dayNameView] - DayName view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction DayNameClick(dragHandler, dayNameView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {DayName}\n\t */\n\t this.dayNameView = dayNameView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t dragHandler.on({\n\t 'click': this._onClick\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tDayNameClick.prototype.destroy = function() {\n\t this.dragHandler.off(this);\n\t this.dayNameView = this.baseController = this.dragHandler = null;\n\t};\n\t\n\t/**\n\t * Check target element is expected condition for activate this plugins.\n\t * @param {HTMLElement} target - The element to check\n\t * @returns {string} - model id\n\t */\n\tDayNameClick.prototype.checkExpectCondition = function(target) {\n\t var container = domutil.closest(target, config.classname('.dayname-date-area'));\n\t\n\t if (!container) {\n\t return false;\n\t }\n\t\n\t return true;\n\t};\n\t\n\t/**\n\t * Click event hander\n\t * @param {object} clickEvent - click event from {@link Drag}\n\t * @emits DayNameClick#clickDayname\n\t */\n\tDayNameClick.prototype._onClick = function(clickEvent) {\n\t var self = this,\n\t target = clickEvent.target,\n\t daynameView = this.checkExpectCondition(target),\n\t blockElement = domutil.closest(target, config.classname('.dayname'));\n\t\n\t if (!daynameView || !blockElement) {\n\t return;\n\t }\n\t\n\t /**\n\t * @events DayNameClick#clickDayname\n\t * @type {object}\n\t * @property {string} date - click date\n\t */\n\t self.fire('clickDayname', {\n\t date: domutil.getData(blockElement, 'date')\n\t });\n\t};\n\t\n\tutil.CustomEvents.mixin(DayNameClick);\n\t\n\tmodule.exports = DayNameClick;\n\t\n\n\n/***/ },\n/* 89 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Handling creation events from drag handler and time grid view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar array = __webpack_require__(14);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar domevent = __webpack_require__(9);\n\tvar TimeCreationGuide = __webpack_require__(90);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar timeCore = __webpack_require__(19);\n\t\n\tvar CLICK_DELAY = 300;\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes timeCore\n\t * @mixes CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction TimeCreation(dragHandler, timeGridView, baseController) {\n\t /**\n\t * Drag handler instance.\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * TimeGrid view instance.\n\t * @type {TimeGrid}\n\t */\n\t this.timeGridView = timeGridView;\n\t\n\t /**\n\t * Base controller instance.\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {TimeCreationGuide}\n\t */\n\t this.guide = new TimeCreationGuide(this);\n\t\n\t /**\n\t * Temporary function for single drag session's calc.\n\t * @type {function}\n\t */\n\t this._getScheduleDataFunc = null;\n\t\n\t /**\n\t * Temporary function for drag start data cache.\n\t * @type {object}\n\t */\n\t this._dragStart = null;\n\t\n\t /**\n\t * @type {boolean}\n\t */\n\t this._requestOnClick = false;\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t dragHandler.on('click', this._onClick, this);\n\t domevent.on(timeGridView.container, 'dblclick', this._onDblClick, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tTimeCreation.prototype.destroy = function() {\n\t var timeGridView = this.timeGridView;\n\t\n\t this.guide.destroy();\n\t this.dragHandler.off(this);\n\t\n\t if (timeGridView && timeGridView.container) {\n\t domevent.off(timeGridView.container, 'dblclick', this._onDblClick, this);\n\t }\n\t\n\t this.dragHandler = this.timeGridView = this.baseController =\n\t this._getScheduleDataFunc = this._dragStart = this.guide = null;\n\t};\n\t\n\t/**\n\t * Check target element is expected condition for activate this plugins.\n\t * @param {HTMLElement} target - The element to check\n\t * @returns {(boolean|Time)} - return Time view instance when satiate condition.\n\t */\n\tTimeCreation.prototype.checkExpectedCondition = function(target) {\n\t var cssClass = domutil.getClass(target),\n\t matches;\n\t\n\t if (cssClass === config.classname('time-date-schedule-block-wrap')) {\n\t target = target.parentNode;\n\t cssClass = domutil.getClass(target);\n\t }\n\t\n\t matches = cssClass.match(config.time.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.timeGridView.children.items, matches[1]);\n\t};\n\t\n\t/**\n\t * Drag#dragStart event handler.\n\t * @emits TimeCreation#timeCreationDragstart\n\t * @param {object} dragStartEventData - Drag#dragStart event data.\n\t * @param {string} [overrideEventName] - override emitted event name when supplied.\n\t * @param {function} [revise] - supply function for revise event data before emit.\n\t */\n\tTimeCreation.prototype._onDragStart = function(dragStartEventData, overrideEventName, revise) {\n\t var target = dragStartEventData.target,\n\t result = this.checkExpectedCondition(target),\n\t getScheduleDataFunc,\n\t eventData;\n\t\n\t if (!result) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(result);\n\t eventData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\t\n\t if (revise) {\n\t revise(eventData);\n\t }\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t /**\n\t * @event TimeCreation#timeCreationDragstart\n\t * @type {object}\n\t * @property {Time} relatedView - time view instance related with mouse position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t */\n\t this.fire(overrideEventName || 'timeCreationDragstart', eventData);\n\t};\n\t\n\t/**\n\t * Drag#drag event handler\n\t * @emits TimeCreation#timeCreationDrag\n\t * @param {object} dragEventData - event data from Drag#drag.\n\t * @param {string} [overrideEventName] - override emitted event name when supplied.\n\t * @param {function} [revise] - supply function for revise event data before emit.\n\t */\n\tTimeCreation.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n\t var getScheduleDataFunc = this._getScheduleDataFunc,\n\t eventData;\n\t\n\t if (!getScheduleDataFunc) {\n\t return;\n\t }\n\t\n\t eventData = getScheduleDataFunc(dragEventData.originEvent);\n\t\n\t if (revise) {\n\t revise(eventData);\n\t }\n\t\n\t /**\n\t * @event TimeCreation#timeCreationDrag\n\t * @type {object}\n\t * @property {Time} relatedView - time view instance related with mouse position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t */\n\t this.fire(overrideEventName || 'timeCreationDrag', eventData);\n\t};\n\t\n\t/**\n\t * @fires TimeCreation#beforeCreateSchedule\n\t * @param {object} eventData - event data object from TimeCreation#timeCreationDragend\n\t * or TimeCreation#timeCreationClick\n\t */\n\tTimeCreation.prototype._createSchedule = function(eventData) {\n\t var relatedView = eventData.relatedView,\n\t createRange = eventData.createRange,\n\t nearestGridTimeY = eventData.nearestGridTimeY,\n\t baseDate,\n\t dateStart,\n\t dateEnd,\n\t start,\n\t end;\n\t\n\t if (!createRange) {\n\t createRange = [\n\t nearestGridTimeY,\n\t nearestGridTimeY + datetime.millisecondsFrom('minutes', 30)\n\t ];\n\t }\n\t\n\t baseDate = new TZDate(relatedView.getDate());\n\t dateStart = datetime.start(baseDate);\n\t dateEnd = datetime.end(baseDate);\n\t start = Math.max(dateStart.getTime(), createRange[0]);\n\t end = Math.min(dateEnd.getTime(), createRange[1]);\n\t\n\t /**\n\t * @event TimeCreation#beforeCreateSchedule\n\t * @type {object}\n\t * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n\t * @property {Date} start - select start time\n\t * @property {Date} end - select end time\n\t * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n\t * @property {string} triggerEventName - event name\n\t */\n\t this.fire('beforeCreateSchedule', {\n\t isAllDay: false,\n\t start: new TZDate(start),\n\t end: new TZDate(end),\n\t guide: this.guide,\n\t triggerEventName: eventData.triggerEvent\n\t });\n\t};\n\t\n\t/**\n\t * Drag#dragEnd event handler\n\t * @emits TimeCreation#timeCreationDragend\n\t * @param {object} dragEndEventData - event data from Drag#dragend\n\t */\n\tTimeCreation.prototype._onDragEnd = function(dragEndEventData) {\n\t var self = this,\n\t dragStart = this._dragStart;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t /**\n\t * Function for manipulate event data before firing event\n\t * @param {object} eventData - event data\n\t */\n\t function reviseFunc(eventData) {\n\t var range = [\n\t dragStart.nearestGridTimeY,\n\t eventData.nearestGridTimeY\n\t ].sort(array.compare.num.asc);\n\t range[1] += datetime.millisecondsFrom('hour', 0.5);\n\t\n\t eventData.createRange = range;\n\t\n\t self._createSchedule(eventData);\n\t }\n\t\n\t /**\n\t * @event TimeCreation#timeCreationDragend\n\t * @type {object}\n\t * @property {Time} relatedView - time view instance related with mouse position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {number[]} createRange - milliseconds range between drag start and end to create.\n\t */\n\t this._onDrag(dragEndEventData, 'timeCreationDragend', reviseFunc);\n\t\n\t this._dragStart = this._getScheduleDataFunc = null;\n\t};\n\t\n\t/**\n\t * Drag#click event handler\n\t * @emits TimeCreation#timeCreationClick\n\t * @param {object} clickEventData - event data from Drag#click.\n\t */\n\tTimeCreation.prototype._onClick = function(clickEventData) {\n\t var self = this;\n\t var condResult, getScheduleDataFunc, eventData;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd\n\t }, this);\n\t\n\t condResult = this.checkExpectedCondition(clickEventData.target);\n\t if (!condResult) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(condResult);\n\t eventData = getScheduleDataFunc(clickEventData.originEvent);\n\t\n\t this._requestOnClick = true;\n\t setTimeout(function() {\n\t if (self._requestOnClick) {\n\t self.fire('timeCreationClick', eventData);\n\t self._createSchedule(eventData);\n\t }\n\t self._requestOnClick = false;\n\t }, CLICK_DELAY);\n\t this._dragStart = this._getScheduleDataFunc = null;\n\t};\n\t\n\t/**\n\t * Dblclick event handler\n\t * @param {MouseEvent} e - Native MouseEvent\n\t */\n\tTimeCreation.prototype._onDblClick = function(e) {\n\t var condResult, getScheduleDataFunc, eventData;\n\t\n\t condResult = this.checkExpectedCondition(e.target);\n\t if (!condResult) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._retriveScheduleData(condResult);\n\t eventData = getScheduleDataFunc(e);\n\t\n\t this.fire('timeCreationClick', eventData);\n\t\n\t this._createSchedule(eventData);\n\t\n\t this._requestOnClick = false;\n\t};\n\t\n\ttimeCore.mixin(TimeCreation);\n\tutil.CustomEvents.mixin(TimeCreation);\n\t\n\tmodule.exports = TimeCreation;\n\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Module for Time.Creation effect while dragging.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar common = __webpack_require__(6);\n\tvar datetime = __webpack_require__(4);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar reqAnimFrame = __webpack_require__(12);\n\tvar ratio = __webpack_require__(6).ratio;\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar MIN30 = (datetime.MILLISECONDS_PER_MINUTES * 30);\n\t\n\t/**\n\t * Class for Time.Creation dragging effect.\n\t * @constructor\n\t * @param {TimeCreation} timeCreation - instance of TimeCreation.\n\t */\n\tfunction TimeCreationGuide(timeCreation) {\n\t /**\n\t * Guide element for creation effect.\n\t * @type {HTMLElement}\n\t */\n\t this.guideElement = global.document.createElement('div');\n\t\n\t /**\n\t * @type {HTMLDivElement}\n\t */\n\t this.guideTimeElement = domutil.appendHTMLElement(\n\t 'span',\n\t this.guideElement,\n\t config.classname('time-guide-creation-label')\n\t );\n\t\n\t domutil.addClass(this.guideElement, config.classname('time-guide-creation'));\n\t\n\t /**\n\t * @type {TimeCreation}\n\t */\n\t this.timeCreation = timeCreation;\n\t\n\t /**\n\t * @type {array}\n\t */\n\t this._styleUnit = null;\n\t\n\t /**\n\t * @type {array}\n\t */\n\t this._styleStart = null;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this._styleFunc = null;\n\t\n\t timeCreation.on({\n\t timeCreationDragstart: this._createGuideElement,\n\t timeCreationDrag: this._onDrag,\n\t timeCreationClick: this._createGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method.\n\t */\n\tTimeCreationGuide.prototype.destroy = function() {\n\t this.clearGuideElement();\n\t this.timeCreation.off(this);\n\t this.timeCreation = this._styleUnit = this._styleStart =\n\t this._styleFunc = this.guideElement = this.guideTimeElement = null;\n\t};\n\t\n\t/**\n\t * Clear guide element.\n\t */\n\tTimeCreationGuide.prototype.clearGuideElement = function() {\n\t var guideElement = this.guideElement,\n\t timeElement = this.guideTimeElement;\n\t\n\t domutil.remove(guideElement);\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t guideElement.style.display = 'none';\n\t guideElement.style.top = '';\n\t guideElement.style.height = '';\n\t timeElement.innerHTML = '';\n\t });\n\t};\n\t\n\t/**\n\t * Refresh guide element\n\t * @param {number} top - The number of guide element's style top\n\t * @param {number} height - The number of guide element's style height\n\t * @param {Date} start - start time of schedule to create\n\t * @param {Date} end - end time of schedule to create\n\t * @param {boolean} bottomLabel - is label need to render bottom of guide element?\n\t */\n\tTimeCreationGuide.prototype._refreshGuideElement = function(top, height, start, end, bottomLabel) {\n\t var guideElement = this.guideElement;\n\t var timeElement = this.guideTimeElement;\n\t\n\t guideElement.style.top = top + 'px';\n\t guideElement.style.height = height + 'px';\n\t guideElement.style.display = 'block';\n\t\n\t timeElement.innerHTML = datetime.format(new TZDate(start), 'HH:mm') +\n\t ' - ' + datetime.format(new TZDate(end), 'HH:mm');\n\t\n\t if (bottomLabel) {\n\t domutil.removeClass(timeElement, config.classname('time-guide-bottom'));\n\t } else {\n\t domutil.addClass(timeElement, config.classname('time-guide-bottom'));\n\t }\n\t};\n\t\n\t/**\n\t * Get unit data of calculating new style of guide element by user interaction\n\t * @param {Time} relatedView - time view instance related with schedule\n\t * @returns {array} unit data.\n\t */\n\tTimeCreationGuide.prototype._getUnitData = function(relatedView) {\n\t var viewOpt = relatedView.options,\n\t viewHeight = relatedView.getViewBound().height,\n\t hourLength = viewOpt.hourEnd - viewOpt.hourStart,\n\t todayStart = datetime.parse(viewOpt.ymd),\n\t todayEnd = datetime.end(todayStart);\n\t\n\t todayStart.setHours(0, 0, 0, 0);\n\t todayStart.setHours(viewOpt.hourStart);\n\t\n\t // [0] height of view\n\t // [1] hour length of view\n\t // [2] start time of view\n\t // [3] end time of view\n\t // [4] height of view for one hour\n\t return [\n\t viewHeight,\n\t hourLength,\n\t Number(todayStart),\n\t Number(todayEnd),\n\t viewHeight / hourLength\n\t ];\n\t};\n\t\n\t/**\n\t * Applying limitation to supplied data and return it.\n\t * @param {number} top - top pixel of guide element\n\t * @param {number} height - height pixel of guide element\n\t * @param {number} start - relative time value of dragstart point\n\t * @param {number} end - relative time value of dragend point\n\t * @returns {array} limited style data\n\t */\n\tTimeCreationGuide.prototype._limitStyleData = function(top, height, start, end) {\n\t var unitData = this._styleUnit;\n\t\n\t top = common.limit(top, [0], [unitData[0]]);\n\t height = common.limit(top + height, [0], [unitData[0]]) - top;\n\t start = common.limit(start, [unitData[2]], [unitData[3]]);\n\t end = common.limit(end, [unitData[2]], [unitData[3]]);\n\t\n\t return [top, height, start, end];\n\t};\n\t\n\t/**\n\t * Get function to calculate guide element UI data from supplied units\n\t * @param {number} viewHeight - total height of view's container element\n\t * @param {number} hourLength - hour length that rendered in time view\n\t * @param {number} todayStart - time for view's start date\n\t * @returns {function} UI data calculator function\n\t */\n\tTimeCreationGuide.prototype._getStyleDataFunc = function(viewHeight, hourLength, todayStart) {\n\t var todayEnd = Number(datetime.end(new TZDate(Number(todayStart))));\n\t\n\t /**\n\t * Get top, time value from schedule dat\n\t * @param {object} scheduleData - schedule data object\n\t * @returns {number[]} top, time\n\t */\n\t function getStyleData(scheduleData) {\n\t var gridY = scheduleData.nearestGridY,\n\t gridTimeY = scheduleData.nearestGridTimeY,\n\t top, time;\n\t\n\t top = common.limit(ratio(hourLength, viewHeight, gridY), [0], [viewHeight]);\n\t time = common.limit(gridTimeY, [todayStart], [todayEnd]);\n\t\n\t return [top, time];\n\t }\n\t\n\t return getStyleData;\n\t};\n\t\n\t/**\n\t * DragStart event handler\n\t * @param {object} dragStartEventData - dragStart schedule data.\n\t */\n\tTimeCreationGuide.prototype._createGuideElement = function(dragStartEventData) {\n\t var relatedView = dragStartEventData.relatedView,\n\t unitData, styleFunc, styleData, result;\n\t\n\t unitData = this._styleUnit = this._getUnitData(relatedView);\n\t styleFunc = this._styleFunc = this._getStyleDataFunc.apply(this, unitData);\n\t styleData = this._styleStart = styleFunc(dragStartEventData);\n\t\n\t result = this._limitStyleData(\n\t styleData[0],\n\t (unitData[4] / 2),\n\t styleData[1],\n\t (styleData[1] + MIN30)\n\t );\n\t\n\t this._refreshGuideElement.apply(this, result);\n\t\n\t relatedView.container.appendChild(this.guideElement);\n\t};\n\t\n\t/**\n\t * Drag event handler\n\t * @param {object} dragEventData - drag schedule data.\n\t */\n\tTimeCreationGuide.prototype._onDrag = function(dragEventData) {\n\t var styleFunc = this._styleFunc,\n\t unitData = this._styleUnit,\n\t startStyle = this._styleStart,\n\t refreshGuideElement = this._refreshGuideElement.bind(this),\n\t heightOfHalfHour,\n\t endStyle,\n\t result;\n\t\n\t if (!styleFunc || !unitData || !startStyle) {\n\t return;\n\t }\n\t\n\t heightOfHalfHour = (unitData[4] / 2);\n\t endStyle = styleFunc(dragEventData);\n\t\n\t if (endStyle[0] > startStyle[0]) {\n\t result = this._limitStyleData(\n\t startStyle[0],\n\t (endStyle[0] - startStyle[0]) + heightOfHalfHour,\n\t startStyle[1],\n\t (endStyle[1] + MIN30)\n\t );\n\t } else {\n\t result = this._limitStyleData(\n\t endStyle[0],\n\t (startStyle[0] - endStyle[0]) + heightOfHalfHour,\n\t endStyle[1],\n\t (startStyle[1] + MIN30)\n\t );\n\t result.push(true);\n\t }\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t refreshGuideElement.apply(null, result);\n\t });\n\t};\n\t\n\tmodule.exports = TimeCreationGuide;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Handling move schedules from drag handler and time grid view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar timeCore = __webpack_require__(19);\n\tvar TimeMoveGuide = __webpack_require__(92);\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes timeCore\n\t * @mixes util.CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction TimeMove(dragHandler, timeGridView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {TimeGrid}\n\t */\n\t this.timeGridView = timeGridView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this._getScheduleDataFunc = null;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._dragStart = null;\n\t\n\t /**\n\t * @type {TimeMoveGuide}\n\t */\n\t this._guide = new TimeMoveGuide(this);\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t}\n\t\n\t/**\n\t * Destroy method.\n\t */\n\tTimeMove.prototype.destroy = function() {\n\t this._guide.destroy();\n\t this.dragHandler.off(this);\n\t this.dragHandler = this.timeGridView = this.baseController =\n\t this._getScheduleDataFunc = this._dragStart = this._guide = null;\n\t};\n\t\n\t/**\n\t * Check target element is expected condition for activate this plugins.\n\t * @param {HTMLElement} target - The element to check\n\t * @returns {boolean|object} - return object when satiate condition.\n\t */\n\tTimeMove.prototype.checkExpectCondition = function(target) {\n\t if (!domutil.closest(target, config.classname('.time-schedule'))) {\n\t return false;\n\t }\n\t\n\t return this._getTimeView(target);\n\t};\n\t\n\t/**\n\t * Get Time view container from supplied element.\n\t * @param {HTMLElement} target - element to find time view container.\n\t * @returns {object|boolean} - return time view instance when finded.\n\t */\n\tTimeMove.prototype._getTimeView = function(target) {\n\t var container = domutil.closest(target, config.classname('.time-date')),\n\t matches;\n\t\n\t if (!container) {\n\t return false;\n\t }\n\t\n\t matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.timeGridView.children.items, Number(matches[1]));\n\t};\n\t\n\t/**\n\t * @emits TimeMove#timeMoveDragstart\n\t * @param {object} dragStartEventData - Drag#dragStart schedule data.\n\t */\n\tTimeMove.prototype._onDragStart = function(dragStartEventData) {\n\t var target = dragStartEventData.target,\n\t timeView = this.checkExpectCondition(target),\n\t blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n\t getScheduleDataFunc,\n\t scheduleData,\n\t ctrl = this.baseController,\n\t targetModelID,\n\t targetModel;\n\t\n\t if (!timeView || !blockElement) {\n\t return;\n\t }\n\t\n\t targetModelID = domutil.getData(blockElement, 'id');\n\t targetModel = ctrl.schedules.items[targetModelID];\n\t\n\t if (targetModel.isReadOnly) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(timeView);\n\t scheduleData = this._dragStart = getScheduleDataFunc(\n\t dragStartEventData.originEvent, {\n\t targetModelID: targetModelID,\n\t model: targetModel\n\t }\n\t );\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t /**\n\t * @event TimeMove#timeMoveDragstart\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with mouse position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t * @property {Schedule} model - model instance\n\t */\n\t this.fire('timeMoveDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * @emits TimeMove#timeMoveDrag\n\t * @param {MouseEvent} dragEventData - mousemove event object\n\t * @param {string} [overrideEventName] - name of emitting event to override.\n\t * @param {function} [revise] - supply function for revise schedule data before emit.\n\t */\n\tTimeMove.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n\t var getScheduleDataFunc = this._getScheduleDataFunc,\n\t timeView = this._getTimeView(dragEventData.target),\n\t dragStart = this._dragStart,\n\t scheduleData;\n\t\n\t if (!timeView || !getScheduleDataFunc || !dragStart) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(dragEventData.originEvent, {\n\t currentView: timeView,\n\t targetModelID: dragStart.targetModelID\n\t });\n\t\n\t if (revise) {\n\t revise(scheduleData);\n\t }\n\t\n\t /**\n\t * @event TimeMove#timeMoveDrag\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with drag start position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {Time} currentView - time view instance related with current mouse position.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t */\n\t this.fire(overrideEventName || 'timeMoveDrag', scheduleData);\n\t};\n\t\n\t/**\n\t * Update model instance by dragend event results.\n\t * @fires TimeMove#beforeUpdateSchedule\n\t * @param {object} scheduleData - schedule data from TimeMove#timeMoveDragend\n\t */\n\tTimeMove.prototype._updateSchedule = function(scheduleData) {\n\t var ctrl = this.baseController,\n\t modelID = scheduleData.targetModelID,\n\t range = scheduleData.nearestRange,\n\t timeDiff = range[1] - range[0],\n\t dateDiff = 0,\n\t schedule = ctrl.schedules.items[modelID],\n\t relatedView = scheduleData.relatedView,\n\t currentView = scheduleData.currentView,\n\t scheduleDuration,\n\t dateStart,\n\t dateEnd,\n\t newStarts,\n\t newEnds,\n\t baseDate;\n\t\n\t if (!schedule || !currentView) {\n\t return;\n\t }\n\t\n\t timeDiff -= datetime.millisecondsFrom('minutes', 30);\n\t baseDate = new TZDate(relatedView.getDate());\n\t dateStart = datetime.start(baseDate);\n\t dateEnd = datetime.end(baseDate);\n\t newStarts = new TZDate(schedule.getStarts().getTime() + timeDiff);\n\t newEnds = new TZDate(schedule.getEnds().getTime() + timeDiff);\n\t scheduleDuration = schedule.duration();\n\t\n\t if (currentView) {\n\t dateDiff = currentView.getDate() - relatedView.getDate();\n\t }\n\t\n\t if (newStarts < dateStart) {\n\t newStarts = new TZDate(dateStart.getTime());\n\t newEnds = new TZDate(newStarts.getTime() + scheduleDuration.getTime());\n\t } else if (newEnds > dateEnd) {\n\t newEnds = new TZDate(dateEnd.getTime());\n\t newStarts = new TZDate(newEnds.getTime() - scheduleDuration.getTime());\n\t }\n\t\n\t newStarts = new TZDate(newStarts.getTime() + dateDiff);\n\t newEnds = new TZDate(newEnds.getTime() + dateDiff);\n\t\n\t /**\n\t * @event TimeMove#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {Date} start - start time to update\n\t * @property {Date} end - end time to update\n\t */\n\t this.fire('beforeUpdateSchedule', {\n\t schedule: schedule,\n\t start: newStarts,\n\t end: newEnds\n\t });\n\t};\n\t\n\t/**\n\t * @emits TimeMove#timeMoveDragend\n\t * @param {MouseEvent} dragEndEventData - mouseup mouse event object.\n\t */\n\tTimeMove.prototype._onDragEnd = function(dragEndEventData) {\n\t var getScheduleDataFunc = this._getScheduleDataFunc,\n\t currentView = this._getTimeView(dragEndEventData.target),\n\t dragStart = this._dragStart,\n\t scheduleData;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t if (!getScheduleDataFunc || !dragStart) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(dragEndEventData.originEvent, {\n\t currentView: currentView,\n\t targetModelID: dragStart.targetModelID\n\t });\n\t\n\t scheduleData.range = [\n\t dragStart.timeY,\n\t scheduleData.timeY + datetime.millisecondsFrom('hour', 0.5)\n\t ];\n\t\n\t scheduleData.nearestRange = [\n\t dragStart.nearestGridTimeY,\n\t scheduleData.nearestGridTimeY + datetime.millisecondsFrom('hour', 0.5)\n\t ];\n\t\n\t this._updateSchedule(scheduleData);\n\t\n\t /**\n\t * @event TimeMove#timeMoveDragend\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with drag start position.\n\t * @property {Time} currentView - time view instance related with current mouse position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t * @property {number[]} range - milliseconds range between drag start and end.\n\t * @property {number[]} nearestRange - milliseconds range related with nearestGridY between start and end.\n\t */\n\t this.fire('timeMoveDragend', scheduleData);\n\t};\n\t\n\t/**\n\t * @emits TimeMove#timeMoveClick\n\t * @param {MouseEvent} clickEventData - click mouse event object.\n\t */\n\tTimeMove.prototype._onClick = function(clickEventData) {\n\t var getScheduleDataFunc = this._getScheduleDataFunc,\n\t dragStart = this._dragStart,\n\t scheduleData;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t if (!getScheduleDataFunc || !dragStart) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(clickEventData.originEvent, {\n\t targetModelID: dragStart.targetModelID\n\t });\n\t\n\t /**\n\t * @event TimeMove#timeMoveClick\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with drag start position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t */\n\t this.fire('timeMoveClick', scheduleData);\n\t};\n\t\n\ttimeCore.mixin(TimeMove);\n\tutil.CustomEvents.mixin(TimeMove);\n\t\n\tmodule.exports = TimeMove;\n\t\n\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Module for Time.Move effect while dragging.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar reqAnimFrame = __webpack_require__(12);\n\tvar ratio = __webpack_require__(6).ratio;\n\tvar FloatingLayer = __webpack_require__(16);\n\tvar tmpl = __webpack_require__(43);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar Schedule = __webpack_require__(20);\n\t\n\t/**\n\t * Class for Time.Move effect.\n\t * @constructor\n\t * @param {TimeMove} timeMove - The instance of TimeMove.\n\t */\n\tfunction TimeMoveGuide(timeMove) {\n\t /**\n\t * @type {FloatingLayer}\n\t */\n\t this._guideLayer = null;\n\t\n\t /**\n\t * @Type {Schedule}\n\t */\n\t this._model = null;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._lastDrag = null;\n\t\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this.guideElement = null;\n\t\n\t /**\n\t * @type {TimeMove}\n\t */\n\t this.timeMove = timeMove;\n\t\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this._container = null;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this._getTopFunc = null;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._startGridY = 0;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._startTopPixel = 0;\n\t\n\t timeMove.on({\n\t 'timeMoveDragstart': this._onDragStart,\n\t 'timeMoveDrag': this._onDrag,\n\t 'timeMoveDragend': this._clearGuideElement,\n\t 'timeMoveClick': this._clearGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tTimeMoveGuide.prototype.destroy = function() {\n\t this._clearGuideElement();\n\t this.timeMove.off(this);\n\t if (this._guideLayer) {\n\t this._guideLayer.destroy();\n\t }\n\t this.guideElement = this.timeMove = this._container = this._guideLayer = this._lastDrag =\n\t this._getTopFunc = this._startGridY = this._startTopPixel = null;\n\t};\n\t\n\t/**\n\t * Clear guide element.\n\t */\n\tTimeMoveGuide.prototype._clearGuideElement = function() {\n\t if (!util.browser.msie) {\n\t domutil.removeClass(global.document.body, config.classname('dragging'));\n\t }\n\t if (this._guideLayer) {\n\t this._guideLayer.destroy();\n\t }\n\t\n\t this._showOriginScheduleBlocks();\n\t\n\t this.guideElement = this._getTopFunc = this._guideLayer = this._model = this._lastDrag =\n\t this._startGridY = this._startTopPixel = null;\n\t};\n\t\n\t/**\n\t * Dim element blocks\n\t * @param {number} modelID - Schedule model instance ID\n\t */\n\tTimeMoveGuide.prototype._hideOriginScheduleBlocks = function() {\n\t var className = config.classname('time-date-schedule-block-dragging-dim');\n\t if (this.guideElement) {\n\t domutil.addClass(this.guideElement, className);\n\t }\n\t};\n\t\n\t/**\n\t * Show element blocks\n\t */\n\tTimeMoveGuide.prototype._showOriginScheduleBlocks = function() {\n\t var className = config.classname('time-date-schedule-block-dragging-dim');\n\t if (this.guideElement) {\n\t domutil.removeClass(this.guideElement, className);\n\t }\n\t};\n\t\n\tTimeMoveGuide.prototype._getHighlightColorModel = function(model) {\n\t return {\n\t bgColor: model.color\n\t };\n\t};\n\t\n\t/**\n\t * Refresh guide element\n\t * @param {string} top - guide element's style top.\n\t * @param {Schedule} model - updated model\n\t */\n\tTimeMoveGuide.prototype._refreshGuideElement = function(top, model) {\n\t var self = this;\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t if (!self._guideLayer) {\n\t return;\n\t }\n\t self._guideLayer.setPosition(0, top);\n\t self._guideLayer.setContent(tmpl({model: model}));\n\t });\n\t};\n\t\n\t/**\n\t * TimeMove#timeMoveDragstart event handler\n\t * @param {object} dragStartEventData - dragstart event data\n\t */\n\tTimeMoveGuide.prototype._onDragStart = function(dragStartEventData) {\n\t var guideElement = domutil.closest(\n\t dragStartEventData.target,\n\t config.classname('.time-date-schedule-block')\n\t );\n\t\n\t if (!guideElement) {\n\t return;\n\t }\n\t\n\t this._startTopPixel = parseFloat(guideElement.style.top);\n\t this._startGridY = dragStartEventData.nearestGridY;\n\t this.guideElement = guideElement;\n\t this._container = dragStartEventData.relatedView.container;\n\t\n\t this._model = util.extend(\n\t Schedule.create(dragStartEventData.model),\n\t dragStartEventData.model,\n\t this._getHighlightColorModel(dragStartEventData.model)\n\t );\n\t this._lastDrag = dragStartEventData;\n\t\n\t this._resetGuideLayer();\n\t this._hideOriginScheduleBlocks();\n\t};\n\t\n\t/**\n\t * TimeMove#timeMoveDrag event handler\n\t * @param {object} dragEventData - drag event data\n\t */\n\tTimeMoveGuide.prototype._onDrag = function(dragEventData) {\n\t var timeView = dragEventData.currentView,\n\t viewOptions = timeView.options,\n\t viewHeight = timeView.getViewBound().height,\n\t guideHeight = parseFloat(this.guideElement.style.height),\n\t hourLength = viewOptions.hourEnd - viewOptions.hourStart,\n\t gridYOffset = dragEventData.nearestGridY - this._startGridY,\n\t gridYOffsetPixel = ratio(hourLength, viewHeight, gridYOffset),\n\t timeDiff = dragEventData.nearestGridTimeY - this._lastDrag.nearestGridTimeY,\n\t bottomLimit,\n\t top;\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(global.document.body, config.classname('dragging'));\n\t }\n\t\n\t if (this._container !== timeView.container) {\n\t this._container = timeView.container;\n\t this._resetGuideLayer();\n\t }\n\t\n\t top = this._startTopPixel + gridYOffsetPixel;\n\t bottomLimit = viewHeight - guideHeight;\n\t\n\t top = Math.max(top, 0);\n\t top = Math.min(top, bottomLimit);\n\t\n\t // update time\n\t this._model.start = new TZDate(this._model.getStarts().getTime() + timeDiff);\n\t this._model.end = new TZDate(this._model.getEnds().getTime() + timeDiff);\n\t this._lastDrag = dragEventData;\n\t\n\t this._refreshGuideElement(top, this._model);\n\t};\n\t\n\tTimeMoveGuide.prototype._resetGuideLayer = function() {\n\t if (this._guideLayer) {\n\t this._guideLayer.destroy();\n\t this._guideLayer = null;\n\t }\n\t this._guideLayer = new FloatingLayer(null, this._container);\n\t this._guideLayer.setSize(this._container.getBoundingClientRect().width, this.guideElement.style.height);\n\t this._guideLayer.setPosition(0, this.guideElement.style.top);\n\t this._guideLayer.setContent(tmpl({model: this._model}));\n\t this._guideLayer.show();\n\t};\n\t\n\tmodule.exports = TimeMoveGuide;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 93 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Handling resize schedules from drag handler and time grid view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar timeCore = __webpack_require__(19);\n\tvar TimeResizeGuide = __webpack_require__(94);\n\t\n\t/**\n\t * @constructor\n\t * @implements {Handler}\n\t * @mixes timeCore\n\t * @mixes util.CustomEvents\n\t * @param {Drag} [dragHandler] - Drag handler instance.\n\t * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n\t * @param {Base} [baseController] - Base controller instance.\n\t */\n\tfunction TimeResize(dragHandler, timeGridView, baseController) {\n\t /**\n\t * @type {Drag}\n\t */\n\t this.dragHandler = dragHandler;\n\t\n\t /**\n\t * @type {TimeGrid}\n\t */\n\t this.timeGridView = timeGridView;\n\t\n\t /**\n\t * @type {Base}\n\t */\n\t this.baseController = baseController;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this._getScheduleDataFunc = null;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this._dragStart = null;\n\t\n\t /**\n\t * @type {TimeResizeGuide}\n\t */\n\t this._guide = new TimeResizeGuide(this);\n\t\n\t dragHandler.on('dragStart', this._onDragStart, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tTimeResize.prototype.destroy = function() {\n\t this._guide.destroy();\n\t this.dragHandler.off(this);\n\t this.dragHandler = this.timeGridView = this.baseController =\n\t this._getScheduleDataFunc = this._dragStart = this._guide = null;\n\t};\n\t\n\t/**\n\t * @param {HTMLElement} target - element to check condition.\n\t * @returns {object|boolean} - return time view instance or false\n\t */\n\tTimeResize.prototype.checkExpectCondition = function(target) {\n\t var container,\n\t matches;\n\t\n\t if (!domutil.hasClass(target, config.classname('time-resize-handle'))) {\n\t return false;\n\t }\n\t\n\t container = domutil.closest(target, config.classname('.time-date'));\n\t\n\t if (!container) {\n\t return false;\n\t }\n\t\n\t matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\t\n\t if (!matches || matches.length < 2) {\n\t return false;\n\t }\n\t\n\t return util.pick(this.timeGridView.children.items, Number(matches[1]));\n\t};\n\t\n\t/**\n\t * @emits TimeResize#timeResizeDragstart\n\t * @param {object} dragStartEventData - event data of Drag#dragstart\n\t */\n\tTimeResize.prototype._onDragStart = function(dragStartEventData) {\n\t var target = dragStartEventData.target,\n\t timeView = this.checkExpectCondition(target),\n\t blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n\t getScheduleDataFunc,\n\t scheduleData;\n\t\n\t if (!timeView || !blockElement) {\n\t return;\n\t }\n\t\n\t getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(timeView);\n\t scheduleData = this._dragStart = getScheduleDataFunc(\n\t dragStartEventData.originEvent, {\n\t targetModelID: domutil.getData(blockElement, 'id')\n\t }\n\t );\n\t\n\t this.dragHandler.on({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t /**\n\t * @event TimeResize#timeResizeDragstart\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with mouse position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t */\n\t this.fire('timeResizeDragstart', scheduleData);\n\t};\n\t\n\t/**\n\t * Drag#drag event handler\n\t * @emits TimeResize#timeResizeDrag\n\t * @param {object} dragEventData - event data of Drag#drag custom event.\n\t * @param {string} [overrideEventName] - override emitted event name when supplied.\n\t * @param {function} [revise] - supply function for revise schedule data before emit.\n\t */\n\tTimeResize.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n\t var getScheduleDataFunc = this._getScheduleDataFunc,\n\t startScheduleData = this._dragStart,\n\t scheduleData;\n\t\n\t if (!getScheduleDataFunc || !startScheduleData) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(dragEventData.originEvent, {\n\t targetModelID: startScheduleData.targetModelID\n\t });\n\t\n\t if (revise) {\n\t revise(scheduleData);\n\t }\n\t\n\t /**\n\t * @event TimeResize#timeResizeDrag\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with drag start position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t */\n\t this.fire(overrideEventName || 'timeResizeDrag', scheduleData);\n\t};\n\t\n\t/**\n\t * Update model instance by dragend event results.\n\t * @fires TimeResize#beforeUpdateSchedule\n\t * @param {object} scheduleData - schedule data from TimeResize#timeResizeDragend\n\t */\n\tTimeResize.prototype._updateSchedule = function(scheduleData) {\n\t var ctrl = this.baseController,\n\t modelID = scheduleData.targetModelID,\n\t range = scheduleData.nearestRange,\n\t timeDiff = range[1] - range[0],\n\t schedule = ctrl.schedules.items[modelID],\n\t relatedView = scheduleData.relatedView,\n\t dateEnd,\n\t newEnds,\n\t baseDate;\n\t\n\t if (!schedule) {\n\t return;\n\t }\n\t\n\t timeDiff -= datetime.millisecondsFrom('minutes', 30);\n\t\n\t baseDate = new TZDate(relatedView.getDate());\n\t dateEnd = datetime.end(baseDate);\n\t newEnds = new TZDate(schedule.getEnds().getTime() + timeDiff);\n\t\n\t if (newEnds > dateEnd) {\n\t newEnds = new TZDate(dateEnd.getTime());\n\t }\n\t\n\t if (newEnds.getTime() - schedule.getStarts().getTime() < datetime.millisecondsFrom('minutes', 30)) {\n\t newEnds = new TZDate(schedule.getStarts().getTime() + datetime.millisecondsFrom('minutes', 30));\n\t }\n\t\n\t /**\n\t * @event TimeResize#beforeUpdateSchedule\n\t * @type {object}\n\t * @property {Schedule} schedule - schedule instance to update\n\t * @property {Date} start - start time to update\n\t * @property {Date} end - end time to update\n\t */\n\t this.fire('beforeUpdateSchedule', {\n\t schedule: schedule,\n\t start: schedule.getStarts(),\n\t end: newEnds\n\t });\n\t};\n\t\n\t/**\n\t * Drag#dragEnd event handler\n\t * @emits TimeResize#timeResizeDragend\n\t * @param {MouseEvent} dragEndEventData - Mouse event of Drag#dragEnd custom event.\n\t */\n\tTimeResize.prototype._onDragEnd = function(dragEndEventData) {\n\t var getScheduleDataFunc = this._getScheduleDataFunc,\n\t dragStart = this._dragStart,\n\t scheduleData;\n\t\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t if (!getScheduleDataFunc || !dragStart) {\n\t return;\n\t }\n\t\n\t scheduleData = getScheduleDataFunc(dragEndEventData.originEvent, {\n\t targetModelID: dragStart.targetModelID\n\t });\n\t\n\t scheduleData.range = [\n\t dragStart.timeY,\n\t scheduleData.timeY + datetime.millisecondsFrom('hour', 0.5)\n\t ];\n\t\n\t scheduleData.nearestRange = [\n\t dragStart.nearestGridTimeY,\n\t scheduleData.nearestGridTimeY + datetime.millisecondsFrom('hour', 0.5)\n\t ];\n\t\n\t this._updateSchedule(scheduleData);\n\t\n\t /**\n\t * @event TimeResize#timeResizeDragend\n\t * @type {object}\n\t * @property {HTMLElement} target - current target in mouse event object.\n\t * @property {Time} relatedView - time view instance related with drag start position.\n\t * @property {MouseEvent} originEvent - mouse event object.\n\t * @property {number} mouseY - mouse Y px mouse event.\n\t * @property {number} gridY - grid Y index value related with mouseY value.\n\t * @property {number} timeY - milliseconds value of mouseY points.\n\t * @property {number} nearestGridY - nearest grid index related with mouseY value.\n\t * @property {number} nearestGridTimeY - time value for nearestGridY.\n\t * @property {string} targetModelID - The model unique id emitted move schedule.\n\t * @property {number[]} range - milliseconds range between drag start and end.\n\t * @property {number[]} nearestRange - milliseconds range related with nearestGridY between start and end.\n\t */\n\t this.fire('timeResizeDragend', scheduleData);\n\t\n\t this._getScheduleDataFunc = this._dragStart = null;\n\t};\n\t\n\t/**\n\t * @emits TimeResize#timeResizeClick\n\t */\n\tTimeResize.prototype._onClick = function() {\n\t this.dragHandler.off({\n\t drag: this._onDrag,\n\t dragEnd: this._onDragEnd,\n\t click: this._onClick\n\t }, this);\n\t\n\t /**\n\t * @event TimeResize#timeResizeClick\n\t */\n\t this.fire('timeResizeClick');\n\t};\n\t\n\ttimeCore.mixin(TimeResize);\n\tutil.CustomEvents.mixin(TimeResize);\n\t\n\tmodule.exports = TimeResize;\n\t\n\n\n/***/ },\n/* 94 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @fileoverview Module for Time.Resize effect while dragging.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar reqAnimFrame = __webpack_require__(12);\n\tvar ratio = __webpack_require__(6).ratio;\n\t\n\t/**\n\t * Class for Time.Resize effect.\n\t * @constructor\n\t * @param {TimeResize} timeResize - the instance of TimeResize handler.\n\t */\n\tfunction TimeResizeGuide(timeResize) {\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this.guideElement = null;\n\t\n\t /**\n\t * @type {TimeResize}\n\t */\n\t this.timeResize = timeResize;\n\t\n\t /**\n\t * @type {function}\n\t */\n\t this._getTopFunc = null;\n\t\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this._originScheduleElement = null;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._startTopPixel = 0;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._startHeightPixel = 0;\n\t\n\t /**\n\t * @type {number}\n\t */\n\t this._startGridY = 0;\n\t\n\t timeResize.on({\n\t 'timeResizeDragstart': this._onDragStart,\n\t 'timeResizeDrag': this._onDrag,\n\t 'timeResizeDragend': this._clearGuideElement,\n\t 'timeResizeClick': this._clearGuideElement\n\t }, this);\n\t}\n\t\n\t/**\n\t * Destroy method\n\t */\n\tTimeResizeGuide.prototype.destroy = function() {\n\t this._clearGuideElement();\n\t this.timeResize.off(this);\n\t this.guideElement = this.timeResize = this._getTopFunc =\n\t this._originScheduleElement = this._startHeightPixel =\n\t this._startGridY = this._startTopPixel = null;\n\t};\n\t\n\t/**\n\t * Clear guide element.\n\t */\n\tTimeResizeGuide.prototype._clearGuideElement = function() {\n\t var guideElement = this.guideElement,\n\t originElement = this._originScheduleElement;\n\t\n\t if (!util.browser.msie) {\n\t domutil.removeClass(global.document.body, config.classname('resizing'));\n\t }\n\t\n\t if (originElement) {\n\t originElement.style.display = 'block';\n\t }\n\t\n\t domutil.remove(guideElement);\n\t\n\t this.guideElement = this._getTopFunc = this._originScheduleElement =\n\t this._startHeightPixel = this._startGridY = this._startTopPixel = null;\n\t};\n\t\n\t/**\n\t * Refresh guide element\n\t * @param {string} height - guide element's style height.\n\t */\n\tTimeResizeGuide.prototype._refreshGuideElement = function(height) {\n\t var guideElement = this.guideElement;\n\t\n\t if (!guideElement) {\n\t return;\n\t }\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t guideElement.style.height = height + 'px';\n\t guideElement.style.display = 'block';\n\t });\n\t};\n\t\n\t/**\n\t * TimeMove#timeMoveDragstart event handler\n\t * @param {object} dragStartEventData - dragstart event data\n\t */\n\tTimeResizeGuide.prototype._onDragStart = function(dragStartEventData) {\n\t var originElement = domutil.closest(\n\t dragStartEventData.target,\n\t config.classname('.time-date-schedule-block')\n\t ),\n\t guideElement;\n\t\n\t if (!util.browser.msie) {\n\t domutil.addClass(global.document.body, config.classname('resizing'));\n\t }\n\t\n\t if (!originElement) {\n\t return;\n\t }\n\t\n\t this._startGridY = dragStartEventData.nearestGridY;\n\t this._startHeightPixel = parseFloat(originElement.style.height);\n\t this._startTopPixel = parseFloat(originElement.style.top);\n\t\n\t this._originScheduleElement = originElement;\n\t guideElement = this.guideElement = originElement.cloneNode(true);\n\t domutil.addClass(guideElement, config.classname('time-guide-resize'));\n\t\n\t originElement.style.display = 'none';\n\t dragStartEventData.relatedView.container.appendChild(guideElement);\n\t};\n\t\n\t/**\n\t * @param {object} dragEventData - event data from Drag#drag.\n\t */\n\tTimeResizeGuide.prototype._onDrag = function(dragEventData) {\n\t var timeView = dragEventData.relatedView,\n\t viewOptions = timeView.options,\n\t viewHeight = timeView.getViewBound().height,\n\t hourLength = viewOptions.hourEnd - viewOptions.hourStart,\n\t guideElement = this.guideElement,\n\t guideTop = parseFloat(guideElement.style.top),\n\t gridYOffset = dragEventData.nearestGridY - this._startGridY,\n\t // hourLength : viewHeight = gridYOffset : X;\n\t gridYOffsetPixel = ratio(hourLength, viewHeight, gridYOffset),\n\t minHeight,\n\t maxHeight,\n\t height;\n\t\n\t height = (this._startHeightPixel + gridYOffsetPixel);\n\t // at least large than 30min from schedule start time.\n\t minHeight = guideTop + ratio(hourLength, viewHeight, 0.5);\n\t minHeight -= this._startTopPixel;\n\t // smaller than 24h\n\t maxHeight = viewHeight - guideTop;\n\t\n\t height = Math.max(height, minHeight);\n\t height = Math.min(height, maxHeight);\n\t\n\t this._refreshGuideElement(height);\n\t};\n\t\n\tmodule.exports = TimeResizeGuide;\n\t\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 95 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Layout view. wrap all view containers at outside.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar Collection = __webpack_require__(11);\n\tvar View = __webpack_require__(8);\n\t\n\t/**\n\t * Layout view for toggle each child view. It will controlled via navigation UI.\n\t * @constructor\n\t * @extends {View}\n\t * @param {HTMLElement} container Container element to use layout view.\n\t */\n\tfunction Layout(container) {\n\t container = domutil.appendHTMLElement('div', container, config.classname('layout'));\n\t\n\t /**\n\t * @type {HTMLElement}\n\t */\n\t this.container = container;\n\t\n\t /*eslint-disable*/\n\t /**\n\t * @type {Collection} Child view collection.\n\t */\n\t this.children = new Collection(function(childView) {\n\t return childView.viewName;\n\t });\n\t /* eslint-enable*/\n\t}\n\t\n\tutil.inherit(Layout, View);\n\t\n\t/**\n\t * Clear child views.\n\t */\n\tLayout.prototype.clear = function() {\n\t this.children.each(function(childView) {\n\t childView.destroy();\n\t });\n\t\n\t this.children.clear();\n\t this.container.innerHTML = '';\n\t};\n\t\n\t/**\n\t * Remove child view.\n\t * @override\n\t * @param {(string|View)} viewName - name of view or instance.\n\t */\n\tLayout.prototype.removeChild = function(viewName) {\n\t this.children.remove(viewName);\n\t};\n\t\n\t/**\n\t * Toggle child views.\n\t * @param {string} viewName - Name of view.\n\t */\n\tLayout.prototype.toggleChildView = function(viewName) {\n\t var container,\n\t prefix = ['add', 'remove'],\n\t flag;\n\t\n\t this.children.each(function(childView) {\n\t container = childView.container;\n\t flag = Number(childView.viewName === viewName);\n\t domutil[prefix[flag] + 'Class'](container, config.classname('hidden'));\n\t });\n\t};\n\t\n\tmodule.exports = Layout;\n\t\n\n\n/***/ },\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t datetime = __webpack_require__(4),\n\t domutil = __webpack_require__(2),\n\t TZDate = __webpack_require__(5).Date,\n\t tmpl = __webpack_require__(33),\n\t View = __webpack_require__(8),\n\t VLayout = __webpack_require__(24),\n\t WeekdayInMonth = __webpack_require__(98);\n\tvar mmin = Math.min;\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options\n\t * @param {function} [options.scheduleFilter] - schedule filter\n\t * @param {number} [options.startDayOfWeek=0] - start day of week\n\t * @param {string} [options.renderMonth='2015-12'] - render month\n\t * @param {string[]} [options.daynames] - daynames to use upside of month view\n\t * @param {HTMLElement} container - container element\n\t * @param {Base.Month} controller - controller instance\n\t */\n\tfunction Month(options, container, controller) {\n\t View.call(this, container);\n\t\n\t /**\n\t * @type {Base.Month}\n\t */\n\t this.controller = controller;\n\t\n\t /**\n\t * @type {VLayout}\n\t */\n\t this.vLayout = new VLayout({\n\t panels: [\n\t {height: 42},\n\t {autoHeight: true}\n\t ]\n\t }, container);\n\t\n\t /**\n\t * @type {string}\n\t */\n\t this.options = util.extend({\n\t scheduleFilter: function(schedule) {\n\t return Boolean(schedule.isVisible);\n\t },\n\t startDayOfWeek: 0,\n\t renderMonth: '2018-01',\n\t daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n\t narrowWeekend: false,\n\t visibleWeeksCount: null,\n\t grid: {\n\t header: {\n\t height: 34\n\t },\n\t footer: {\n\t height: 34\n\t }\n\t }\n\t }, options);\n\t\n\t this.options.grid.header = util.extend({\n\t height: 34\n\t }, util.pick(options, 'grid', 'header'));\n\t this.options.grid.footer = util.extend({\n\t height: 34\n\t }, util.pick(options, 'grid', 'footer'));\n\t\n\t /**\n\t * horizontal grid information\n\t * @type {Object}\n\t */\n\t this.grids = datetime.getGridLeftAndWidth(\n\t this.options.daynames.length,\n\t this.options.narrowWeekend,\n\t this.options.startDayOfWeek);\n\t}\n\t\n\tutil.inherit(Month, View);\n\t\n\t/**\n\t * Name of view. for managing subview at layout view\n\t * @type {string}\n\t */\n\tMonth.prototype.viewName = 'month';\n\t\n\t/**\n\t * Get calendar array by supplied date\n\t * @param {string} renderMonthStr - month to render YYYY-MM, weeks2/3 to render YYYY-MM-DD\n\t * @returns {array.} calendar array\n\t */\n\tMonth.prototype._getMonthCalendar = function(renderMonthStr) {\n\t var date = datetime.parse(renderMonthStr) || datetime.parse(renderMonthStr + '-01');\n\t var startDayOfWeek = this.options.startDayOfWeek || 0;\n\t var visibleWeeksCount = mmin(this.options.visibleWeeksCount || 0, 6);\n\t var workweek = this.options.workweek || false;\n\t var datetimeOptions, calendar;\n\t\n\t if (this.options.visibleWeeksCount) {\n\t datetimeOptions = {\n\t startDayOfWeek: startDayOfWeek,\n\t isAlways6Week: false,\n\t visibleWeeksCount: visibleWeeksCount,\n\t workweek: workweek\n\t };\n\t } else {\n\t datetimeOptions = {\n\t startDayOfWeek: startDayOfWeek,\n\t isAlways6Week: true,\n\t workweek: workweek\n\t };\n\t }\n\t\n\t calendar = datetime.arr2dCalendar(date, datetimeOptions);\n\t\n\t return calendar;\n\t};\n\t\n\t/**\n\t * Create children view (week) and add children\n\t * @param {HTMLElement} container - container element to render weeks\n\t * @param {array.} calendar - calendar array from datetime#arr2dCalendar\n\t */\n\tMonth.prototype._renderChildren = function(container, calendar) {\n\t var self = this;\n\t var weekCount = calendar.length;\n\t var heightPercent = 100 / weekCount;\n\t var opt = this.options;\n\t var renderMonth = opt.renderMonth;\n\t var narrowWeekend = opt.narrowWeekend;\n\t var startDayOfWeek = opt.startDayOfWeek;\n\t var visibleWeeksCount = opt.visibleWeeksCount;\n\t var visibleScheduleCount = opt.visibleScheduleCount;\n\t var gridOption = opt.grid;\n\t\n\t container.innerHTML = '';\n\t this.children.clear();\n\t\n\t util.forEach(calendar, function(weekArr) {\n\t var start = new TZDate(Number(weekArr[0])),\n\t end = new TZDate(Number(weekArr[weekArr.length - 1])),\n\t weekdayViewContainer,\n\t weekdayView;\n\t\n\t weekdayViewContainer = domutil.appendHTMLElement(\n\t 'div', container, config.classname('month-week-item'));\n\t\n\t weekdayView = new WeekdayInMonth({\n\t renderMonth: renderMonth,\n\t heightPercent: heightPercent,\n\t renderStartDate: datetime.format(start, 'YYYY-MM-DD'),\n\t renderEndDate: datetime.format(end, 'YYYY-MM-DD'),\n\t narrowWeekend: narrowWeekend,\n\t startDayOfWeek: startDayOfWeek,\n\t visibleWeeksCount: visibleWeeksCount,\n\t visibleScheduleCount: visibleScheduleCount,\n\t grid: gridOption\n\t }, weekdayViewContainer);\n\t\n\t self.addChild(weekdayView);\n\t });\n\t};\n\t\n\t/**\n\t * Render month view\n\t * @override\n\t */\n\tMonth.prototype.render = function() {\n\t var opt = this.options,\n\t vLayout = this.vLayout,\n\t controller = this.controller,\n\t daynames = opt.daynames,\n\t workweek = opt.workweek,\n\t calendar = this._getMonthCalendar(opt.renderMonth),\n\t scheduleFilter = opt.scheduleFilter,\n\t grids,\n\t daynameViewModel,\n\t baseViewModel;\n\t\n\t grids = this.grids = datetime.getGridLeftAndWidth(\n\t opt.daynames.length,\n\t opt.narrowWeekend,\n\t opt.startDayOfWeek\n\t );\n\t\n\t daynameViewModel = util.map(\n\t util.range(opt.startDayOfWeek, 7).concat(util.range(7)).slice(0, 7),\n\t function(day, index) {\n\t return {\n\t day: day,\n\t label: daynames[day],\n\t width: grids[index].width,\n\t left: grids[index].left\n\t };\n\t }\n\t );\n\t\n\t if (workweek) {\n\t grids = this.grids = datetime.getGridLeftAndWidth(5, opt.narrowWeekend, opt.startDayOfWeek, workweek);\n\t\n\t daynameViewModel = util.filter(daynameViewModel, function(daynameModel) {\n\t return !datetime.isWeekend(daynameModel.day);\n\t });\n\t\n\t util.forEach(daynameViewModel, function(daynameModel, index) {\n\t daynameModel.width = grids[index].width;\n\t daynameModel.left = grids[index].left;\n\t });\n\t }\n\t\n\t baseViewModel = {\n\t daynames: daynameViewModel\n\t };\n\t\n\t vLayout.panels[0].container.innerHTML = tmpl(baseViewModel);\n\t\n\t this._renderChildren(vLayout.panels[1].container, calendar);\n\t\n\t this.children.each(function(childView) {\n\t var start = datetime.parse(childView.options.renderStartDate);\n\t var end = datetime.parse(childView.options.renderEndDate);\n\t var eventsInDateRange = controller.findByDateRange(\n\t datetime.start(start),\n\t datetime.end(end),\n\t scheduleFilter\n\t );\n\t var dateRange = datetime.range(start, end, datetime.MILLISECONDS_PER_DAY);\n\t var viewModel = {\n\t eventsInDateRange: eventsInDateRange,\n\t range: dateRange,\n\t grids: grids\n\t };\n\t\n\t childView.render(viewModel);\n\t });\n\t};\n\t\n\tmodule.exports = Month;\n\t\n\n\n/***/ },\n/* 97 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Floating layer for displaying schedule in specific date\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar OUT_PADDING = 5;\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t domevent = __webpack_require__(9),\n\t domutil = __webpack_require__(2),\n\t View = __webpack_require__(8),\n\t FloatingLayer = __webpack_require__(16),\n\t common = __webpack_require__(6),\n\t tmpl = __webpack_require__(34);\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options\n\t * @param {object} [options.moreLayerSize] - more layer size\n\t * @param {object} [options.moreLayerSize.width=null] - css width value(px, auto).\n\t * The default value 'null' is to fit a grid cell.\n\t * @param {object} [options.moreLayerSize.height=null] - css height value(px, auto).\n\t * The default value 'null' is to fit a grid cell.\n\t * @param {HTMLElement} container = container element\n\t */\n\tfunction More(options, container) {\n\t View.call(this, container);\n\t\n\t /**\n\t * @type {FloatingLayer}\n\t */\n\t this.layer = new FloatingLayer(null, container);\n\t\n\t /**\n\t * cached view model\n\t * @type {object}\n\t */\n\t this._viewModel = null;\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t moreLayerSize: {\n\t width: null,\n\t height: null\n\t }\n\t }, options);\n\t\n\t domevent.on(container, 'click', this._onClick, this);\n\t}\n\t\n\tutil.inherit(More, View);\n\t\n\t/**\n\t * Click event handler for close button\n\t * @param {MouseEvent} clickEvent - mouse event object\n\t */\n\tMore.prototype._onClick = function(clickEvent) {\n\t var target = (clickEvent.target || clickEvent.srcElement);\n\t var className = config.classname('month-more-close');\n\t\n\t if (!domutil.hasClass(target, className) && !domutil.closest(target, '.' + className)) {\n\t return;\n\t }\n\t\n\t this.hide();\n\t};\n\t\n\t/**\n\t * Mousedown event handler for hiding more layer when user mousedown outside of\n\t * layer\n\t * @param {MouseEvent} mouseDownEvent - mouse event object\n\t */\n\tMore.prototype._onMouseDown = function(mouseDownEvent) {\n\t var target = (mouseDownEvent.target || mouseDownEvent.srcElement),\n\t moreLayer = domutil.closest(target, config.classname('.month-more'));\n\t\n\t if (moreLayer) {\n\t return;\n\t }\n\t\n\t this.hide();\n\t};\n\t\n\t/**\n\t * Get new position for more layer by +n element itself\n\t * @param {HTMLElement} target - parent grid-line element of +n element\n\t * @param {HTMLElement} weekItem - weekItem container element\n\t * @returns {number[]} new position of more layer\n\t */\n\tMore.prototype._getRenderPosition = function(target, weekItem) {\n\t var pos = domevent.getMousePosition({\n\t clientX: domutil.getPosition(target)[0],\n\t clientY: domutil.getPosition(weekItem)[1]\n\t }, this.container);\n\t var containerSize = domutil.getSize(this.container);\n\t var left = pos[0] - OUT_PADDING;\n\t var top = pos[1] - OUT_PADDING;\n\t\n\t left = common.ratio(containerSize[0], 100, left) + '%';\n\t top = common.ratio(containerSize[1], 100, top) + '%';\n\t\n\t return [left, top];\n\t};\n\t\n\t/**\n\t * @override\n\t */\n\tMore.prototype.destroy = function() {\n\t this.layer.destroy();\n\t this.layer = null;\n\t domevent.off(this.container, 'click', this._onClick, this);\n\t domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n\t View.prototype.destroy.call(this);\n\t};\n\t\n\t/**\n\t * @override\n\t * @param {object} viewModel - view model from factory/monthView\n\t */\n\tMore.prototype.render = function(viewModel) {\n\t var target = domutil.closest(viewModel.target, config.classname('.weekday-grid-line'));\n\t var weekItem = domutil.closest(target, config.classname('.month-week-item'));\n\t var layer = this.layer;\n\t var self = this;\n\t var pos = this._getRenderPosition(target, weekItem);\n\t var height = domutil.getSize(weekItem)[1] + (OUT_PADDING * 2);\n\t var width = target.offsetWidth + (OUT_PADDING * 2);\n\t var optMoreLayerSize = this.options.moreLayerSize;\n\t this._viewModel = viewModel;\n\t\n\t if (optMoreLayerSize.width) {\n\t width = optMoreLayerSize.width;\n\t }\n\t\n\t if (optMoreLayerSize.height) {\n\t height = optMoreLayerSize.height;\n\t }\n\t\n\t layer.setContent(tmpl(viewModel));\n\t if (weekItem.parentElement.lastElementChild === weekItem) {\n\t layer.setLTRB({\n\t left: pos[0],\n\t bottom: 0\n\t });\n\t layer.setSize(width, '');\n\t } else {\n\t layer.setPosition(pos[0], pos[1]);\n\t layer.setSize(width, height);\n\t }\n\t\n\t layer.show();\n\t\n\t util.debounce(function() {\n\t domevent.on(document.body, 'mousedown', self._onMouseDown, self);\n\t })();\n\t};\n\t\n\t/**\n\t * Hide layer\n\t */\n\tMore.prototype.hide = function() {\n\t this.layer.hide();\n\t domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n\t};\n\t\n\t/**\n\t * refresh layer\n\t */\n\tMore.prototype.refresh = function() {\n\t if (this._viewModel) {\n\t this.layer.setContent(tmpl(this._viewModel));\n\t }\n\t};\n\t\n\tmodule.exports = More;\n\n\n/***/ },\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Monthday in month view\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t common = __webpack_require__(6),\n\t datetime = __webpack_require__(4),\n\t domutil = __webpack_require__(2),\n\t View = __webpack_require__(8),\n\t Weekday = __webpack_require__(29),\n\t baseTmpl = __webpack_require__(35),\n\t scheduleTmpl = __webpack_require__(36);\n\tvar existy = util.isExisty,\n\t mfloor = Math.floor,\n\t mmin = Math.min;\n\t\n\t/**\n\t * @constructor\n\t * @extends {Weekday}\n\t * @param {object} options - options for WeekdayInWeek view\n\t * @param {number} [options.heightPercent] - height percent of view\n\t * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n\t * make create easy.\n\t * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n\t * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n\t * @param {HTMLDIVElement} container - DOM element to use container for this\n\t * view.\n\t */\n\tfunction WeekdayInMonth(options, container) {\n\t Weekday.call(this, options, container);\n\t container.style.height = options.heightPercent + '%';\n\t}\n\t\n\tutil.inherit(WeekdayInMonth, Weekday);\n\t\n\t/**\n\t * Get schedule container element's bound properly by override\n\t *\n\t * View#getViewBound.\n\t * @override\n\t */\n\tWeekdayInMonth.prototype.getViewBound = function() {\n\t var bound = View.prototype.getViewBound.call(this);\n\t\n\t return bound;\n\t};\n\t\n\t/**\n\t * Get limit index of schedule block in current view\n\t * @returns {number} limit index\n\t */\n\tWeekdayInMonth.prototype._getRenderLimitIndex = function() {\n\t var opt = this.options;\n\t var containerHeight = this.getViewBound().height;\n\t var gridHeaderHeight = util.pick(opt, 'grid', 'header', 'height') || 0;\n\t var gridFooterHeight = util.pick(opt, 'grid', 'footer', 'height') || 0;\n\t var visibleScheduleCount = opt.visibleScheduleCount || 0;\n\t var count;\n\t\n\t containerHeight -= (gridHeaderHeight + gridFooterHeight);\n\t\n\t count = mfloor(containerHeight / (opt.scheduleHeight + opt.scheduleGutter));\n\t\n\t if (!visibleScheduleCount) {\n\t visibleScheduleCount = count;\n\t }\n\t\n\t return mmin(count, visibleScheduleCount); // subtraction for '+n' label block\n\t};\n\t\n\t/**\n\t * @override\n\t * @param {object} viewModel - schedules view models\n\t */\n\tWeekdayInMonth.prototype.getBaseViewModel = function(viewModel) {\n\t var opt = this.options,\n\t gridHeaderHeight = util.pick(opt, 'grid', 'header', 'height') || 0,\n\t gridFooterHeight = util.pick(opt, 'grid', 'footer', 'height') || 0,\n\t renderLimitIdx = this._getRenderLimitIndex(),\n\t exceedDate = this.getExceedDate(renderLimitIdx, viewModel.eventsInDateRange);\n\t var baseViewModel;\n\t\n\t viewModel = util.extend({\n\t exceedDate: exceedDate\n\t }, viewModel);\n\t\n\t baseViewModel = Weekday.prototype.getBaseViewModel.call(this, viewModel);\n\t\n\t baseViewModel = util.extend({\n\t matrices: viewModel.eventsInDateRange,\n\t gridHeaderHeight: gridHeaderHeight,\n\t gridFooterHeight: gridFooterHeight,\n\t renderLimitIdx: renderLimitIdx + 1\n\t }, baseViewModel);\n\t\n\t return baseViewModel;\n\t};\n\t\n\t/**\n\t * @override\n\t * @param {object} viewModel - schedules view models\n\t */\n\tWeekdayInMonth.prototype.render = function(viewModel) {\n\t var container = this.container,\n\t baseViewModel = this.getBaseViewModel(viewModel),\n\t scheduleContainer,\n\t contentStr = '';\n\t\n\t if (!this.options.visibleWeeksCount) {\n\t setIsOtherMonthFlag(baseViewModel.dates, this.options.renderMonth);\n\t }\n\t\n\t container.innerHTML = baseTmpl(baseViewModel);\n\t\n\t scheduleContainer = domutil.find(\n\t config.classname('.weekday-schedules'),\n\t container\n\t );\n\t\n\t if (!scheduleContainer) {\n\t return;\n\t }\n\t\n\t contentStr += scheduleTmpl(baseViewModel);\n\t\n\t scheduleContainer.innerHTML = contentStr;\n\t\n\t common.setAutoEllipsis(\n\t config.classname('.weekday-schedule-title'),\n\t container\n\t );\n\t};\n\t\n\tWeekdayInMonth.prototype._beforeDestroy = function() {\n\t};\n\t\n\t/* eslint max-nested-callbacks: 0 */\n\t/**\n\t * Make exceed date information\n\t * @param {number} maxCount - exceed schedule count\n\t * @param {Array} eventsInDateRange - matrix of ScheduleViewModel\n\t * @returns {object} exceedDate\n\t */\n\tWeekdayInMonth.prototype.getExceedDate = function(maxCount, eventsInDateRange) {\n\t var exceedDate = {};\n\t util.forEach(eventsInDateRange, function(matrix) {\n\t util.forEach(matrix, function(column) {\n\t util.forEach(column, function(viewModel) {\n\t var period;\n\t if (!viewModel) {\n\t return;\n\t }\n\t\n\t period = datetime.range(\n\t viewModel.getStarts(),\n\t viewModel.getEnds(),\n\t datetime.MILLISECONDS_PER_DAY\n\t );\n\t\n\t util.forEach(period, function(date) {\n\t var ymd = datetime.format(date, 'YYYYMMDD');\n\t if (!existy(exceedDate[ymd])) {\n\t exceedDate[ymd] = 0;\n\t }\n\t\n\t exceedDate[ymd] += 1;\n\t });\n\t });\n\t });\n\t });\n\t\n\t util.forEach(exceedDate, function(value, ymd) {\n\t if (value > maxCount) {\n\t exceedDate[ymd] = value - maxCount;\n\t } else {\n\t exceedDate[ymd] = 0;\n\t }\n\t });\n\t\n\t return exceedDate;\n\t};\n\t\n\t/**\n\t * 현재 달이 아닌 날짜에 대해 isOtherMonth = true 플래그를 추가한다.\n\t * @param {Array} dates - 날짜정보 배열\n\t * @param {string} renderMonthStr - 현재 렌더링중인 월 (YYYYMM)\n\t */\n\tfunction setIsOtherMonthFlag(dates, renderMonthStr) {\n\t var renderMonth = Number(renderMonthStr.substring(5));\n\t\n\t util.forEach(dates, function(dateObj) {\n\t dateObj.isOtherMonth = dateObj.month !== renderMonth;\n\t });\n\t}\n\t\n\tmodule.exports = WeekdayInMonth;\n\n\n/***/ },\n/* 99 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* eslint complexity: 0 */\n\t/**\n\t * @fileoverview Helpers for handlebar templates.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar Handlebars = __webpack_require__(21);\n\tvar datetime = __webpack_require__(4);\n\tvar common = __webpack_require__(6);\n\tvar config = __webpack_require__(3);\n\t\n\t/**\n\t * Get CSS syntax for element size\n\t * @param {number} value - size value to apply element\n\t * @param {string} postfix - postfix string ex) px, em, %\n\t * @param {string} prefix - property name ex) width, height\n\t * @returns {string} CSS syntax\n\t */\n\tfunction getElSize(value, postfix, prefix) {\n\t prefix = prefix || '';\n\t if (util.isNumber(value)) {\n\t return prefix + ':' + value + postfix;\n\t }\n\t\n\t return prefix + ':auto';\n\t}\n\t\n\t/**\n\t * Get element left based on narrowWeekend\n\t * @param {object} viewModel - view model\n\t * @param {Array} grids - dates information\n\t * @returns {number} element left\n\t */\n\tfunction getElLeft(viewModel, grids) {\n\t return grids[viewModel.left].left;\n\t}\n\t\n\t/**\n\t * Get element width based on narrowWeekend\n\t * @param {object} viewModel - view model\n\t * @param {Array} grids - dates information\n\t * @returns {number} element width\n\t */\n\tfunction getElWidth(viewModel, grids) {\n\t var width = 0;\n\t var i = 0;\n\t var left;\n\t for (; i < viewModel.width; i += 1) {\n\t left = viewModel.left + i;\n\t width += grids[left].width;\n\t }\n\t\n\t return width;\n\t}\n\t\n\tHandlebars.registerHelper({\n\t /**\n\t * Stamp supplied object\n\t *\n\t * Commonly use for rendering object's unique ID to rendered view\n\t * @param {object} obj - object to stamp\n\t * @returns {number} stamp value\n\t */\n\t 'stamp': function(obj) {\n\t return util.stamp(obj);\n\t },\n\t\n\t /**\n\t * Whether supplied object are equal?\n\t * @param {*} a - a\n\t * @param {*} b - b\n\t * @returns {boolean} result of operation\n\t */\n\t 'equal': function(a, b) {\n\t return a === b;\n\t },\n\t\n\t /**\n\t * OR\n\t * @param {*} a - a\n\t * @param {*} b - b\n\t * @returns {boolean} or\n\t */\n\t 'or': function(a, b) {\n\t return a || b;\n\t },\n\t\n\t /**\n\t * Compare object or apply logical operation by customizable oper parameter\n\t * @param {*} a - a\n\t * @param {string} oper - operator ex) '==', '<'\n\t * @param {*} b - b\n\t * @param {Handlebars} options - handlebar options\n\t * @returns {boolean} result of operation\n\t */\n\t 'fi': function(a, oper, b, options) {\n\t switch (oper) {\n\t case '==':\n\t return (a == b) ? options.fn(this) : options.inverse(this); // eslint-disable-line\n\t case '===':\n\t return (a === b) ? options.fn(this) : options.inverse(this);\n\t case '!==':\n\t return (a !== b) ? options.fn(this) : options.inverse(this);\n\t case '<':\n\t return (a < b) ? options.fn(this) : options.inverse(this);\n\t case '||':\n\t return (a || b) ? options.fn(this) : options.inverse(this);\n\t default:\n\t throw new Error('Not match operation');\n\t }\n\t },\n\t\n\t /**\n\t * Get hhmm formatted time str\n\t * @param {Date} date - date object\n\t * @returns {string} formatted value\n\t */\n\t 'hhmm': function(date) {\n\t return datetime.format(date, 'HH:mm');\n\t },\n\t\n\t /**\n\t * Get `width` stylesheet string\n\t * @param {number} width - width percentage\n\t * @returns {string} css style part\n\t */\n\t 'common-width': function(width) {\n\t return getElSize(width, '%', 'width');\n\t },\n\t\n\t /**\n\t * Get element left based on narrowWeekend\n\t * @param {object} viewModel - view model\n\t * @param {Array} grids - dates information\n\t * @returns {number} element left\n\t */\n\t 'grid-left': function(viewModel, grids) {\n\t return getElLeft(viewModel, grids);\n\t },\n\t\n\t /**\n\t * Get element width based on narrowWeekend\n\t * @param {object} viewModel - view model\n\t * @param {Array} grids - dates information\n\t * @returns {number} element width\n\t */\n\t 'grid-width': function(viewModel, grids) {\n\t return getElWidth(viewModel, grids);\n\t },\n\t\n\t /**\n\t * Use in time.hbs\n\t * @param {ScheduleViewModel} viewModel viewModel\n\t * @returns {string} element size css class\n\t */\n\t 'time-scheduleBlock': function(viewModel) {\n\t var top = getElSize(viewModel.top, 'px', 'top'),\n\t left = getElSize(viewModel.left, '%', 'left'),\n\t width = getElSize(viewModel.width, '%', 'width'),\n\t height = getElSize(viewModel.height, 'px', 'height');\n\t\n\t return [top, left, width, height].join(';');\n\t },\n\t\n\t 'month-scheduleBlock': function(viewModel, grids, blockHeight, paddingTop) {\n\t var top = getElSize(((viewModel.top - 1) * blockHeight) + paddingTop, 'px', 'top');\n\t var left = getElSize(grids[viewModel.left].left, '%', 'left');\n\t var width = getElSize(getElWidth(viewModel, grids), '%', 'width');\n\t var height = getElSize(viewModel.height, 'px', 'height');\n\t\n\t return [top, left, width, height].join(';');\n\t },\n\t\n\t 'holiday': function(day) {\n\t var cssClass = '';\n\t\n\t if (day === 0) {\n\t cssClass = config.classname('holiday-sun');\n\t }\n\t\n\t if (day === 6) {\n\t cssClass = config.classname('holiday-sat');\n\t }\n\t\n\t return cssClass;\n\t },\n\t\n\t /**\n\t * Add supplied two parameter\n\t * @param {*} a - a\n\t * @param {*} b - b\n\t * @returns {number} result of operation\n\t */\n\t 'add': function(a, b) {\n\t return a + b;\n\t },\n\t\n\t /**\n\t * Multiply supplied two parameter\n\t * @param {*} a - a\n\t * @param {*} b - b\n\t * @returns {number} result of operation\n\t */\n\t 'multiply': function(a, b) {\n\t return a * b;\n\t },\n\t\n\t /**\n\t * Divide supplied two parameter\n\t * @param {*} a - a\n\t * @param {*} b - b\n\t * @returns {number} result of operation\n\t */\n\t 'divide': function(a, b) {\n\t return a / b;\n\t },\n\t\n\t /**\n\t * Subtract supplied two parameter\n\t * @param {*} a - a\n\t * @param {*} b - b\n\t * @returns {number} result of operation\n\t */\n\t 'subtract': function(a, b) {\n\t return a - b;\n\t },\n\t\n\t /**\n\t * Get css prefix in global configuration\n\t * @returns {string} css prefix\n\t */\n\t 'CSS_PREFIX': function() {\n\t return config.cssPrefix;\n\t },\n\t\n\t /**********\n\t * Default schedule template\n\t **********/\n\t\n\t 'milestone-tmpl': function(model) {\n\t return ' ' +\n\t common.stripTags(model.title);\n\t },\n\t\n\t 'milestoneTitle-tmpl': function() {\n\t return '마일스톤';\n\t },\n\t\n\t 'task-tmpl': function(model) {\n\t return ' ' +\n\t common.stripTags(model.title);\n\t },\n\t\n\t 'taskTitle-tmpl': function() {\n\t return '업무';\n\t },\n\t\n\t 'alldayTitle-tmpl': function() {\n\t return '종일';\n\t },\n\t\n\t 'allday-tmpl': function(model) {\n\t return common.stripTags(model.title);\n\t },\n\t\n\t 'time-tmpl': function(model) {\n\t return common.stripTags(model.title);\n\t },\n\t\n\t 'monthMoreTitleDate-tmpl': function(date) {\n\t return date;\n\t },\n\t\n\t 'monthMoreClose-tmpl': function() {\n\t return 'close';\n\t },\n\t\n\t 'monthGridHeader-tmpl': function(model) {\n\t return '' + model.date + '';\n\t },\n\t\n\t /* eslint no-unused-vars: 0 */\n\t 'monthGridHeaderExceed-tmpl': function(hiddenSchedules) {\n\t return '';\n\t },\n\t\n\t 'monthGridFooter-tmpl': function() {\n\t return '';\n\t },\n\t\n\t /* eslint no-unused-vars: 0 */\n\t 'monthGridFooterExceed-tmpl': function(hiddenSchedules) {\n\t return '';\n\t },\n\t\n\t 'weekDayname-tmpl': function(model) {\n\t return '' + model.date + ' ' + model.dayName;\n\t },\n\t\n\t 'monthDayname-tmpl': function(model) {\n\t return model.label;\n\t }\n\t});\n\n\n/***/ },\n/* 100 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview View of allday schedule container inside of Week view.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3),\n\t domutil = __webpack_require__(2),\n\t View = __webpack_require__(8),\n\t WeekdayInWeek = __webpack_require__(107),\n\t tmpl = __webpack_require__(37);\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options The object for view customization.\n\t * @param {string} options.renderStartDate - start date of allday view's render date. YYYY-MM-DD\n\t * @param {string} options.renderEndDate - end date of allday view's render date. YYYY-MM-DD\n\t * @param {number} [options.height=60] - minimum height of schedule container element.\n\t * @param {number} [options.scheduleBlockHeight=18] - height of each schedule block.\n\t * @param {number} [options.scheduleBlockGutter=2] - gutter height of each schedule block.\n\t * @param {function} [options.getViewModelFunc] - function for extract partial view model data from whole view models.\n\t * @param {HTMLElement} container Container element.\n\t */\n\tfunction Allday(options, container) {\n\t container = domutil.appendHTMLElement(\n\t 'div',\n\t container,\n\t config.classname('allday-container')\n\t );\n\t\n\t /**\n\t * rendering options.\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t title: 'All-day',\n\t renderStartDate: '',\n\t renderEndDate: '',\n\t containerBottomGutter: 18,\n\t scheduleHeight: 18,\n\t scheduleGutter: 2,\n\t scheduleContainerTop: 1,\n\t getViewModelFunc: function(viewModel) {\n\t return viewModel.schedulesInDateRange.allday;\n\t }\n\t }, options);\n\t\n\t /**\n\t * height of content\n\t */\n\t this.contentHeight = 0;\n\t\n\t View.call(this, container);\n\t}\n\t\n\tutil.inherit(Allday, View);\n\t\n\t/**\n\t * create month week view model for render allday schedules in top of week views.\n\t * @override\n\t * @param {object} viewModel - viewModel from parent views.\n\t */\n\tAllday.prototype.render = function(viewModel) {\n\t var container = this.container;\n\t var scheduleContainerTop = this.options.scheduleContainerTop;\n\t var weekdayView;\n\t var self = this;\n\t\n\t container.innerHTML = tmpl(this.options);\n\t\n\t this.children.clear();\n\t\n\t weekdayView = new WeekdayInWeek(\n\t this.options,\n\t domutil.find(config.classname('.weekday-container'), container)\n\t );\n\t weekdayView.on('afterRender', function(weekdayViewModel) {\n\t self.contentHeight = weekdayViewModel.minHeight + scheduleContainerTop;\n\t });\n\t\n\t this.addChild(weekdayView);\n\t\n\t this.children.each(function(childView) {\n\t childView.render(viewModel);\n\t });\n\t\n\t this.fire('afterRender', viewModel);\n\t};\n\t\n\tmodule.exports = Allday;\n\t\n\n\n/***/ },\n/* 101 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview View for rendering daynames\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar domutil = __webpack_require__(2);\n\tvar View = __webpack_require__(8);\n\tvar daynameTmpl = __webpack_require__(38);\n\t\n\t/**\n\t * @constructor\n\t * @param {object} options - options for dayname view\n\t * @param {HTMLElement} container Container element to use.\n\t * @extends {View}\n\t */\n\tfunction DayName(options, container) {\n\t container = domutil.appendHTMLElement(\n\t 'div',\n\t container,\n\t config.classname('dayname-container')\n\t );\n\t\n\t this.options = util.extend({\n\t daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n\t }, options);\n\t\n\t View.call(this, container);\n\t}\n\t\n\tutil.inherit(DayName, View);\n\t\n\t/**\n\t * Get default viewmodels.\n\t * @param {Date} start The date of start render\n\t * @param {Date} end The end of end render\n\t * @param {object} grids grid data(width, left, day)\n\t * @returns {array} viewmodel.\n\t */\n\tDayName.prototype._getBaseViewModel = function(start, end, grids) {\n\t var daynames = this.options.daynames,\n\t viewModel;\n\t\n\t viewModel = util.map(datetime.range(\n\t datetime.start(start),\n\t datetime.start(end),\n\t datetime.MILLISECONDS_PER_DAY\n\t ), function(d, i) {\n\t var day = d.getDay();\n\t\n\t return {\n\t day: day,\n\t dayName: daynames[day],\n\t isToday: datetime.isSameDate(d, new TZDate()),\n\t date: d.getDate(),\n\t left: grids[i].left,\n\t width: grids[i].width,\n\t renderDate: datetime.format(d, 'YYYY-MM-DD')\n\t };\n\t });\n\t\n\t return viewModel;\n\t};\n\t\n\t/**\n\t * @override\n\t * @param {object} viewModel View model from parent (WeekView)\n\t */\n\tDayName.prototype.render = function(viewModel) {\n\t var _viewModel = this._getBaseViewModel(\n\t viewModel.renderStartDate,\n\t viewModel.renderEndDate,\n\t viewModel.grids\n\t );\n\t\n\t this.container.innerHTML = daynameTmpl(_viewModel);\n\t};\n\t\n\tmodule.exports = DayName;\n\n\n/***/ },\n/* 102 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview 마일스톤 뷰\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar View = __webpack_require__(8);\n\tvar tmpl = __webpack_require__(39);\n\t\n\t// item height + gutter (defined in css)\n\tvar ITEM_HEIGHT = 17;\n\t\n\t// list padding-top (defined in css)\n\tvar LIST_PADDING_TOP = 1;\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options\n\t * @param {string} options.renderStartDate - start date of allday view's render date. YYYY-MM-DD\n\t * @param {string} options.renderEndDate - end date of allday view's render date. YYYY-MM-DD\n\t * @param {number} [options.minHeight=52] - min-height of milestone view\n\t * @param {number} [options.lineHeight=12] - line height of milestone view\n\t * @param {HTMLElement} container - container element\n\t */\n\tfunction Milestone(options, container) {\n\t container = domutil.appendHTMLElement(\n\t 'div',\n\t container,\n\t config.classname('milestone-container')\n\t );\n\t\n\t View.call(this, container);\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t renderStartDate: '',\n\t renderEndDate: ''\n\t }, options);\n\t}\n\t\n\tutil.inherit(Milestone, View);\n\t\n\t/**\n\t * Get base viewmodel for task view\n\t * @param {object} [viewModel] - view model from parent view\n\t * @returns {object} view model for task view\n\t */\n\tMilestone.prototype._getBaseViewModel = function(viewModel) {\n\t var schedules = {},\n\t range = viewModel.range,\n\t height,\n\t today = datetime.format(new TZDate(), 'YYYY-MM-DD'),\n\t viewModelSchedules = util.pick(viewModel.schedulesInDateRange, 'milestone'),\n\t grids = viewModel.grids,\n\t i = 0;\n\t\n\t // 일정이 없는 경우라도 빈 객체를 생성\n\t util.forEach(range, function(d) {\n\t schedules[datetime.format(d, 'YYYY-MM-DD')] = {length: 0};\n\t });\n\t\n\t util.extend(schedules, viewModelSchedules);\n\t\n\t util.forEach(schedules, function(schedule, key) {\n\t schedule.isToday = (key === today);\n\t schedule.left = grids[i].left;\n\t schedule.width = grids[i].width;\n\t i += 1;\n\t });\n\t\n\t height = LIST_PADDING_TOP;\n\t height += Math.max.apply(null, util.map(schedules, function(coll) {\n\t return coll.length;\n\t })) * ITEM_HEIGHT;\n\t\n\t return {\n\t schedules: schedules,\n\t height: height\n\t };\n\t};\n\t\n\t/**\n\t * 마일스톤 뷰 렌더링\n\t * @override\n\t */\n\tMilestone.prototype.render = function(viewModel) {\n\t var container = this.container,\n\t baseViewModel = this._getBaseViewModel(viewModel);\n\t\n\t container.style.minHeight = this.options.minHeight + 'px';\n\t container.innerHTML = tmpl(baseViewModel);\n\t\n\t util.forEach(domutil.find('li', container, true), function(el) {\n\t if (el.offsetWidth < el.scrollWidth) {\n\t el.setAttribute('title', domutil.getData(el, 'title'));\n\t }\n\t });\n\t\n\t this.fire('afterRender', baseViewModel);\n\t};\n\t\n\tmodule.exports = Milestone;\n\t\n\n\n/***/ },\n/* 103 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Task view for upper area of Week view.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar View = __webpack_require__(8);\n\tvar tmpl = __webpack_require__(40);\n\tvar TZDate = __webpack_require__(5).Date;\n\t\n\t// height + gutter (defined in CSS)\n\tvar ITEM_HEIGHT = 20;\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options - options for TaskView\n\t * @param {string} options.renderStartDate - start date of allday view's render date. YYYY-MM-DD\n\t * @param {string} options.renderEndDate - end date of allday view's render date. YYYY-MM-DD\n\t * @param {number} [options.minHeight=52] - min-height of taskview\n\t * @param {number} [options.lineHeight=12] - line height of milestone view\n\t * @param {HTMLElement} container - container element\n\t */\n\tfunction TaskView(options, container) {\n\t container = domutil.appendHTMLElement(\n\t 'div',\n\t container,\n\t config.classname('task-container')\n\t );\n\t\n\t View.call(this, container);\n\t\n\t /**\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t renderStartDate: '',\n\t renderEndDate: ''\n\t }, options);\n\t}\n\t\n\tutil.inherit(TaskView, View);\n\t\n\t/**\n\t * Get base viewmodel for task view\n\t * @param {object} [viewModel] - view model from parent view\n\t * @returns {object} view model for task view\n\t */\n\tTaskView.prototype._getBaseViewModel = function(viewModel) {\n\t var schedules = {},\n\t range = viewModel.range,\n\t height = 0,\n\t mmax = Math.max,\n\t today = datetime.format(new TZDate(), 'YYYY-MM-DD'),\n\t viewModelSchedules = util.pick(viewModel.schedulesInDateRange, 'task'),\n\t grids = viewModel.grids,\n\t i = 0;\n\t\n\t util.forEach(range, function(d) {\n\t var date = datetime.format(d, 'YYYY-MM-DD');\n\t schedules[date] = {\n\t morning: {length: 0},\n\t lunch: {length: 0},\n\t evening: {length: 0}\n\t };\n\t });\n\t util.extend(schedules, viewModelSchedules);\n\t\n\t height = mmax.apply(null, util.map(schedules, function(g) {\n\t var subcount = 0;\n\t\n\t util.forEach(g, function(coll) {\n\t subcount += (coll.length || 0);\n\t });\n\t\n\t return subcount;\n\t })) * ITEM_HEIGHT;\n\t\n\t util.forEach(schedules, function(schedule, key) {\n\t schedule.isToday = (key === today);\n\t schedule.left = grids[i].left;\n\t schedule.width = grids[i].width;\n\t i += 1;\n\t });\n\t\n\t return {\n\t schedules: schedules,\n\t height: height\n\t };\n\t};\n\t\n\t/**\n\t * 업무 뷰 렌더링\n\t * @override\n\t */\n\tTaskView.prototype.render = function(viewModel) {\n\t var container = this.container,\n\t baseViewModel = this._getBaseViewModel(viewModel);\n\t\n\t container.innerHTML = tmpl(baseViewModel);\n\t\n\t util.forEach(domutil.find('li', container, true), function(el) {\n\t if (el.offsetWidth < el.scrollWidth) {\n\t el.setAttribute('title', domutil.getData(el, 'title'));\n\t }\n\t });\n\t\n\t this.fire('afterRender', baseViewModel);\n\t};\n\t\n\tmodule.exports = TaskView;\n\t\n\n\n/***/ },\n/* 104 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview View of time.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar datetime = __webpack_require__(4);\n\tvar domutil = __webpack_require__(2);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar View = __webpack_require__(8);\n\tvar timeTmpl = __webpack_require__(41);\n\t\n\tvar forEachArr = util.forEachArray;\n\t\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options Options\n\t * @param {number} options.index Date index in week view.\n\t * @param {number} options.width Date element width (percent)\n\t * @param {string} options.ymd YYYMMDD string for this view\n\t * @param {boolean} options.isToday when set true then assign today design class to container.\n\t * @param {number} options.hourStart Can limit of render hour start.\n\t * @param {number} options.hourEnd Can limit of render hour end.\n\t * @param {HTMLElement} container Element to use container for this view.\n\t */\n\tfunction Time(options, container) {\n\t View.call(this, container);\n\t\n\t this.options = util.extend({\n\t index: 0,\n\t width: 0,\n\t ymd: '',\n\t isToday: false,\n\t pending: false,\n\t hourStart: 0,\n\t hourEnd: 24,\n\t defaultMarginBottom: 2,\n\t minHeight: 18.5\n\t }, options);\n\t\n\t this.timeTmpl = timeTmpl;\n\t container.style.width = options.width + '%';\n\t container.style.left = options.left + '%';\n\t\n\t if (this.options.isToday) {\n\t domutil.addClass(this.container, config.classname('today'));\n\t }\n\t}\n\t\n\tutil.inherit(Time, View);\n\t\n\t/**\n\t * Convert YYYYMMDD formatted string date to Date.\n\t * @param {string} str formatted string.\n\t * @returns {Date} start of date.\n\t */\n\tTime.prototype._parseDateGroup = function(str) {\n\t var y = parseInt(str.substr(0, 4), 10),\n\t m = parseInt(str.substr(4, 2), 10),\n\t d = parseInt(str.substr(6, 2), 10);\n\t\n\t return new TZDate(y, m - 1, d);\n\t};\n\t\n\t/**\n\t * @param {ScheduleViewModel} viewModel - view model instance to calculate bound.\n\t * @param {object} options - options for calculating schedule element's bound.\n\t * @param {Date} options.todayStart - date object represent schedule date's start (00:00:00)\n\t * @param {number} options.baseMS - the number of milliseconds to render schedule blocks.\n\t * @param {number} options.baseHeight - pixel value related with baseMS options.\n\t * @param {number[]} options.baseLeft - left position percents for each columns.\n\t * @param {number} options.baseWidth - the unit of schedule blocks width percent.\n\t * @param {number} options.columnIndex - the number index of schedule blocks.\n\t * it represent rendering index from left sides in view.\n\t * @returns {object} bound object for supplied view model.\n\t */\n\tTime.prototype.getScheduleViewBound = function(viewModel, options) {\n\t var baseMS = options.baseMS;\n\t var baseHeight = options.baseHeight;\n\t var cropped = false;\n\t var offsetStart, width, height, top;\n\t var isReadOnly = util.pick(viewModel, 'model', 'isReadOnly') || false;\n\t\n\t offsetStart = viewModel.valueOf().start - options.todayStart;\n\t\n\t // containerHeight : milliseconds in day = x : schedule's milliseconds\n\t top = (baseHeight * offsetStart) / baseMS;\n\t height = (baseHeight * viewModel.duration()) / baseMS;\n\t width = options.baseWidth * (viewModel.extraSpace + 1);\n\t\n\t // set width auto when has no collisions.\n\t if (!viewModel.hasCollide) {\n\t width = null;\n\t }\n\t\n\t if (height + top > baseHeight) {\n\t height = baseHeight - top;\n\t cropped = true;\n\t }\n\t\n\t if (isReadOnly) {\n\t cropped = true;\n\t }\n\t\n\t return {\n\t top: top,\n\t left: options.baseLeft[options.columnIndex],\n\t width: width,\n\t height: Math.max(height, this.options.minHeight) - this.options.defaultMarginBottom,\n\t cropped: cropped\n\t };\n\t};\n\t\n\t/**\n\t * Set viewmodels for rendering.\n\t * @param {string} ymd The date of schedules. YYYYMMDD format.\n\t * @param {array} matrices The matrices for schedule placing.\n\t */\n\tTime.prototype._getBaseViewModel = function(ymd, matrices) {\n\t var self = this,\n\t options = this.options,\n\t hourStart = options.hourStart,\n\t hourEnd = options.hourEnd,\n\t containerHeight,\n\t todayStart,\n\t baseMS;\n\t\n\t /**\n\t * Calculate each schedule element bounds relative with rendered hour milliseconds and\n\t * wrap each schedule model to viewmodels.\n\t */\n\t containerHeight = this.getViewBound().height;\n\t todayStart = this._parseDateGroup(ymd);\n\t todayStart.setHours(hourStart);\n\t baseMS = datetime.millisecondsFrom('hour', (hourEnd - hourStart));\n\t\n\t forEachArr(matrices, function(matrix) {\n\t var maxRowLength,\n\t widthPercent,\n\t leftPercents,\n\t i;\n\t\n\t maxRowLength = Math.max.apply(null, util.map(matrix, function(row) {\n\t return row.length;\n\t }));\n\t\n\t widthPercent = 100 / maxRowLength;\n\t\n\t leftPercents = [];\n\t for (i = 0; i < maxRowLength; i += 1) {\n\t leftPercents[i] = widthPercent * i;\n\t }\n\t\n\t forEachArr(matrix, function(row) {\n\t forEachArr(row, function(viewModel, col) {\n\t var viewBound;\n\t\n\t if (!viewModel) {\n\t return;\n\t }\n\t\n\t viewBound = self.getScheduleViewBound(viewModel, {\n\t todayStart: todayStart,\n\t baseMS: baseMS,\n\t baseLeft: leftPercents,\n\t baseWidth: widthPercent,\n\t baseHeight: containerHeight,\n\t columnIndex: col\n\t });\n\t\n\t util.extend(viewModel, viewBound);\n\t });\n\t });\n\t });\n\t};\n\t\n\t/**\n\t * @returns {Date} - Date of this view.\n\t */\n\tTime.prototype.getDate = function() {\n\t return this._parseDateGroup(this.options.ymd);\n\t};\n\t\n\t/**\n\t * @override\n\t * @param {string} ymd The date of schedules. YYYYMMDD format\n\t * @param {array} matrices Matrices for placing schedules\n\t */\n\tTime.prototype.render = function(ymd, matrices) {\n\t this._getBaseViewModel(ymd, matrices);\n\t this.container.innerHTML = this.timeTmpl({\n\t matrices: matrices\n\t });\n\t};\n\t\n\tmodule.exports = Time;\n\n\n/***/ },\n/* 105 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview View for rendered schedules by times.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar common = __webpack_require__(6);\n\tvar domutil = __webpack_require__(2);\n\tvar datetime = __webpack_require__(4);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar reqAnimFrame = __webpack_require__(12);\n\tvar View = __webpack_require__(8);\n\tvar Time = __webpack_require__(104);\n\tvar AutoScroll = __webpack_require__(60);\n\tvar mainTmpl = __webpack_require__(42);\n\t\n\tvar HOURMARKER_REFRESH_INTERVAL = 1000 * 60;\n\tvar SIXTY_SECONDS = 60;\n\t\n\t/**\n\t * start~end 까지의 시간 레이블 목록을 반환한다.\n\t * 현재 시간과 가까운 레이블의 경우 hidden:true로 설정한다.\n\t * @param {number} start - 시작시간\n\t * @param {number} end - 끝시간\n\t * @param {boolean} hasHourMarker - 현재 시간이 표시되는지 여부\n\t * @returns {Array.}\n\t */\n\tfunction getHoursLabels(start, end, hasHourMarker) {\n\t var now = new TZDate();\n\t var nowMinutes = now.getMinutes();\n\t var nowHours = now.getHours();\n\t var hoursRange = util.range(start, end);\n\t var nowAroundHours = null;\n\t\n\t if (hasHourMarker) {\n\t if (nowMinutes < 20) {\n\t nowAroundHours = nowHours;\n\t } else if (nowMinutes > 40) {\n\t nowAroundHours = nowHours + 1;\n\t }\n\t }\n\t\n\t return hoursRange.map(function(hours) {\n\t return {\n\t hours: hours,\n\t hidden: nowAroundHours === hours\n\t };\n\t });\n\t}\n\t/**\n\t * @constructor\n\t * @extends {View}\n\t * @param {object} options The object for view customization.\n\t * @param {string} options.renderStartDate - render start date. YYYY-MM-DD\n\t * @param {string} options.renderEndDate - render end date. YYYY-MM-DD\n\t * @param {number} [options.hourStart=0] You can change view's start hours.\n\t * @param {number} [options.hourEnd=0] You can change view's end hours.\n\t * @param {HTMLElement} container Container element.\n\t */\n\tfunction TimeGrid(options, container) {\n\t container = domutil.appendHTMLElement(\n\t 'div',\n\t container,\n\t config.classname('timegrid-container')\n\t );\n\t\n\t View.call(this, container);\n\t\n\t if (!util.browser.safari) {\n\t /**\n\t * @type {AutoScroll}\n\t */\n\t this._autoScroll = new AutoScroll(container);\n\t }\n\t\n\t /**\n\t * Time view options.\n\t * @type {object}\n\t */\n\t this.options = util.extend({\n\t renderStartDate: '',\n\t renderEndDate: '',\n\t hourStart: 0,\n\t hourEnd: 24\n\t }, options);\n\t\n\t /**\n\t * Interval id for hourmarker animation.\n\t * @type {number}\n\t */\n\t this.intervalID = 0;\n\t\n\t /**\n\t * timer id for hourmarker initial state\n\t * @type {number}\n\t */\n\t this.timerID = 0;\n\t\n\t /**\n\t * @type {boolean}\n\t */\n\t this._scrolled = false;\n\t\n\t /*\n\t * cache parent's view model\n\t * @type {object}\n\t */\n\t this._cacheParentViewModel = null;\n\t\n\t this.attachEvent();\n\t}\n\t\n\tutil.inherit(TimeGrid, View);\n\t\n\t/**********\n\t * Prototype props\n\t **********/\n\t\n\t/**\n\t * @type {string}\n\t */\n\tTimeGrid.prototype.viewName = 'timegrid';\n\t\n\t/**\n\t * Destroy view.\n\t * @override\n\t */\n\tTimeGrid.prototype._beforeDestroy = function() {\n\t clearInterval(this.intervalID);\n\t clearTimeout(this.timerID);\n\t\n\t if (this._autoScroll) {\n\t this._autoScroll.destroy();\n\t }\n\t\n\t this._autoScroll = this.hourmarker = this.intervalID = this.timerID = this._cacheParentViewModel = null;\n\t};\n\t\n\t/**\n\t * @param {Date} [time] - date object to convert pixel in grids.\n\t * use **Date.now()** when not supplied.\n\t * @returns {number} The pixel value represent current time in grids.\n\t */\n\tTimeGrid.prototype._getTopPercentByTime = function(time) {\n\t var opt = this.options,\n\t raw = datetime.raw(time || new TZDate()),\n\t hourLength = util.range(opt.hourStart, opt.hourEnd).length,\n\t maxMilliseconds = hourLength * datetime.MILLISECONDS_PER_HOUR,\n\t hmsMilliseconds = datetime.millisecondsFrom('hour', raw.h) +\n\t datetime.millisecondsFrom('minutes', raw.m) +\n\t datetime.millisecondsFrom('seconds', raw.s) +\n\t raw.ms,\n\t topPercent;\n\t\n\t topPercent = common.ratio(maxMilliseconds, 100, hmsMilliseconds);\n\t topPercent -= common.ratio(maxMilliseconds, 100, datetime.millisecondsFrom('hour', opt.hourStart));\n\t\n\t return common.limit(topPercent, [0], [100]);\n\t};\n\t\n\t/**\n\t * Get Hourmarker viewmodel.\n\t * @param {Date} now - now\n\t * @param {object} grids grid information(width, left, day)\n\t * @param {Array.} range render range\n\t * @returns {object} ViewModel of hourmarker.\n\t */\n\tTimeGrid.prototype._getHourmarkerViewModel = function(now, grids, range) {\n\t var todaymarkerLeft = -1,\n\t viewModel;\n\t\n\t now = now || new TZDate();\n\t\n\t util.forEach(range, function(date, index) {\n\t if (datetime.isSameDate(now, date)) {\n\t todaymarkerLeft = grids[index].left;\n\t }\n\t });\n\t\n\t viewModel = {\n\t currentHours: now.getHours(),\n\t hourmarkerTop: this._getTopPercentByTime(now),\n\t hourmarkerText: datetime.format(now, 'HH:mm'),\n\t todaymarkerLeft: todaymarkerLeft\n\t };\n\t\n\t return viewModel;\n\t};\n\t\n\t/**\n\t * Get base viewModel.\n\t * @param {object} grids grid information(width, left, day)\n\t * @param {Array.} range render range\n\t * @returns {object} ViewModel\n\t */\n\tTimeGrid.prototype._getBaseViewModel = function(grids, range) {\n\t var opt = this.options;\n\t var viewModel = this._getHourmarkerViewModel(new TZDate(), grids, range);\n\t viewModel.hoursLabels = getHoursLabels(opt.hourStart, opt.hourEnd, viewModel.todaymarkerLeft >= 0);\n\t\n\t return viewModel;\n\t};\n\t\n\t/**\n\t * Reconcilation child views and render.\n\t * @param {object} viewModels Viewmodel\n\t * @param {object} grids grid information(width, left, day)\n\t * @param {HTMLElement} container Container element for each time view.\n\t */\n\tTimeGrid.prototype._renderChildren = function(viewModels, grids, container) {\n\t var self = this,\n\t options = this.options,\n\t childOption,\n\t child,\n\t isToday,\n\t today = datetime.format(new TZDate(), 'YYYYMMDD'),\n\t i = 0;\n\t\n\t // clear contents\n\t container.innerHTML = '';\n\t this.children.clear();\n\t\n\t // reconcilation of child views\n\t util.forEach(viewModels, function(schedules, ymd) {\n\t isToday = ymd === today;\n\t\n\t childOption = {\n\t index: i,\n\t left: grids[i].left,\n\t width: grids[i].width,\n\t ymd: ymd,\n\t isToday: isToday,\n\t isPending: options.isPending,\n\t isFocused: options.isFocused,\n\t hourStart: options.hourStart,\n\t hourEnd: options.hourEnd\n\t };\n\t\n\t child = new Time(\n\t childOption,\n\t domutil.appendHTMLElement('div', container, config.classname('time-date'))\n\t );\n\t child.render(ymd, schedules);\n\t\n\t self.addChild(child);\n\t\n\t i += 1;\n\t });\n\t};\n\t\n\t/**\n\t * @override\n\t * @param {object} viewModel ViewModel list from Week view.\n\t */\n\tTimeGrid.prototype.render = function(viewModel) {\n\t var timeViewModel = viewModel.schedulesInDateRange.time,\n\t container = this.container,\n\t grids = viewModel.grids,\n\t range = viewModel.range,\n\t baseViewModel = this._getBaseViewModel(grids, range),\n\t scheduleLen = util.keys(timeViewModel).length;\n\t\n\t this._cacheParentViewModel = viewModel;\n\t\n\t if (!scheduleLen) {\n\t return;\n\t }\n\t\n\t baseViewModel.showHourMarker = baseViewModel.todaymarkerLeft >= 0;\n\t\n\t container.innerHTML = mainTmpl(baseViewModel);\n\t\n\t /**********\n\t * Render children\n\t **********/\n\t this._renderChildren(\n\t timeViewModel,\n\t grids,\n\t domutil.find(config.classname('.timegrid-schedules-container'), container)\n\t );\n\t\n\t this._hourLabels = domutil.find('ul', container);\n\t\n\t /**********\n\t * Render hourmarker\n\t **********/\n\t this.hourmarker = domutil.find(config.classname('.timegrid-hourmarker'), container);\n\t\n\t if (!this._scrolled) {\n\t this._scrolled = true;\n\t this.scrollToNow();\n\t }\n\t};\n\t\n\t/**\n\t * Refresh hourmarker element.\n\t */\n\tTimeGrid.prototype.refreshHourmarker = function() {\n\t var hourmarker = this.hourmarker,\n\t grids = this._cacheParentViewModel ? this._cacheParentViewModel.grids : null,\n\t range = this._cacheParentViewModel ? this._cacheParentViewModel.range : null,\n\t viewModel = this._getHourmarkerViewModel(new TZDate(), grids, range),\n\t todaymarker,\n\t hourmarkerText;\n\t\n\t if (!hourmarker || !viewModel) {\n\t return;\n\t }\n\t\n\t todaymarker = domutil.find(config.classname('.timegrid-todaymarker'), hourmarker);\n\t hourmarkerText = domutil.find(config.classname('.timegrid-hourmarker-time'), hourmarker);\n\t\n\t reqAnimFrame.requestAnimFrame(function() {\n\t hourmarker.style.display = 'block';\n\t hourmarker.style.top = viewModel.hourmarkerTop + '%';\n\t todaymarker.style.display = (viewModel.todaymarkerLeft >= 0) ? 'block' : 'none';\n\t hourmarkerText.innerHTML = viewModel.hourmarkerText;\n\t });\n\t};\n\t\n\t/**\n\t * Attach events\n\t */\n\tTimeGrid.prototype.attachEvent = function() {\n\t clearInterval(this.intervalID);\n\t clearTimeout(this.timerID);\n\t this.intervalID = this.timerID = null;\n\t\n\t this.timerID = setTimeout(util.bind(this.onTick, this), (SIXTY_SECONDS - new TZDate().getSeconds()) * 1000);\n\t};\n\t\n\t/**\n\t * Scroll time grid to current hourmarker.\n\t */\n\tTimeGrid.prototype.scrollToNow = function() {\n\t var self = this,\n\t container = this.container;\n\t var offsetTop,\n\t viewBound,\n\t scrollTop,\n\t scrollAmount,\n\t scrollBy,\n\t scrollFn;\n\t\n\t if (!self.hourmarker) {\n\t return;\n\t }\n\t\n\t offsetTop = this.hourmarker.offsetTop;\n\t viewBound = this.getViewBound();\n\t scrollTop = offsetTop;\n\t scrollAmount = viewBound.height / 4;\n\t scrollBy = 10;\n\t\n\t scrollFn = function() {\n\t if (scrollTop > offsetTop - scrollAmount) {\n\t scrollTop -= scrollBy;\n\t container.scrollTop = scrollTop;\n\t\n\t reqAnimFrame.requestAnimFrame(scrollFn);\n\t } else {\n\t container.scrollTop = offsetTop - scrollAmount;\n\t }\n\t };\n\t\n\t reqAnimFrame.requestAnimFrame(scrollFn);\n\t};\n\t\n\t/**********\n\t * Schedule handlers\n\t **********/\n\t\n\t/**\n\t * Interval tick handler\n\t */\n\tTimeGrid.prototype.onTick = function() {\n\t if (this.timerID) {\n\t clearTimeout(this.timerID);\n\t this.timerID = null;\n\t }\n\t\n\t if (!this.intervalID) {\n\t this.intervalID = setInterval(util.bind(this.onTick, this), HOURMARKER_REFRESH_INTERVAL);\n\t }\n\t this.refreshHourmarker();\n\t};\n\t\n\tmodule.exports = TimeGrid;\n\n\n/***/ },\n/* 106 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview View of days UI.\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar config = __webpack_require__(3);\n\tvar domutil = __webpack_require__(2);\n\tvar datetime = __webpack_require__(4);\n\tvar TZDate = __webpack_require__(5).Date;\n\tvar View = __webpack_require__(8);\n\t\n\t/**\n\t * FullCalendar 에서는 날짜 정보만 사용(YYYY-MM-DD) 하고,\n\t * SplitTimeCalendar 에서는 타임존 정보까지 포함된 문자열을 사용하기 때문에 분기처리함.\n\t * @param {String} dateString - date string\n\t * @returns {TZDate}\n\t */\n\tfunction parseRangeDateString(dateString) {\n\t if (dateString.length === 10) {\n\t return datetime.parse(dateString);\n\t }\n\t\n\t return new TZDate(dateString);\n\t}\n\t\n\t/**\n\t * @constructor\n\t * @param {Base.Week} controller The controller mixin part.\n\t * @param {object} options View options\n\t * @param {string} [options.renderStartDate] Start date of render.\n\t * if not supplied then use -3d from today. YYYY-MM-DD format.\n\t * @param {string} [options.renderEndDate] End date of render.\n\t * if not supplied then use +3d from today. YYYY-MM-DD format.\n\t * @param {string} [options.cssPrefix] - CSS classname prefix\n\t * @param {HTMLElement} container The element to use container for this view.\n\t * @extends {View}\n\t */\n\tfunction Week(controller, options, container) {\n\t var range;\n\t\n\t container = domutil.appendHTMLElement('div', container);\n\t\n\t View.call(this, container);\n\t\n\t domutil.addClass(container, config.classname('week-container'));\n\t\n\t range = this._getRenderDateRange(new TZDate());\n\t\n\t /**\n\t * @type {object} Options for view.\n\t */\n\t this.options = util.extend({\n\t scheduleFilter: function(schedule) {\n\t return Boolean(schedule.isVisible);\n\t },\n\t renderStartDate: datetime.format(range.start, 'YYYY-MM-DD'),\n\t renderEndDate: datetime.format(range.end, 'YYYY-MM-DD'),\n\t narrowWeekend: false,\n\t startDayOfWeek: 0,\n\t workweek: false\n\t }, options);\n\t\n\t /**\n\t * Week controller mixin.\n\t * @type {Base.Week}\n\t */\n\t this.controller = controller;\n\t}\n\t\n\tutil.inherit(Week, View);\n\t\n\t/**********\n\t * Override props\n\t **********/\n\t\n\t/**\n\t * Render each child view with schedules in ranges.\n\t * @fires Week#afterRender\n\t * @override\n\t */\n\tWeek.prototype.render = function() {\n\t var options = this.options,\n\t scheduleFilter = options.scheduleFilter,\n\t narrowWeekend = options.narrowWeekend,\n\t startDayOfWeek = options.startDayOfWeek,\n\t workweek = options.workweek;\n\t var renderStartDate, renderEndDate, schedulesInDateRange, viewModel, grids, range;\n\t\n\t renderStartDate = parseRangeDateString(options.renderStartDate);\n\t renderEndDate = parseRangeDateString(options.renderEndDate);\n\t\n\t range = datetime.range(\n\t datetime.start(renderStartDate),\n\t datetime.end(renderEndDate),\n\t datetime.MILLISECONDS_PER_DAY\n\t );\n\t\n\t if (options.workweek && datetime.compare(renderStartDate, renderEndDate)) {\n\t range = util.filter(range, function(date) {\n\t return !datetime.isWeekend(date.getDay());\n\t });\n\t\n\t renderStartDate = range[0];\n\t renderEndDate = range[range.length - 1];\n\t }\n\t\n\t schedulesInDateRange = this.controller.findByDateRange(\n\t datetime.start(renderStartDate),\n\t datetime.end(renderEndDate),\n\t scheduleFilter\n\t );\n\t grids = datetime.getGridLeftAndWidth(\n\t range.length,\n\t narrowWeekend,\n\t startDayOfWeek,\n\t workweek\n\t );\n\t\n\t viewModel = {\n\t schedulesInDateRange: schedulesInDateRange,\n\t renderStartDate: renderStartDate,\n\t renderEndDate: renderEndDate,\n\t grids: grids,\n\t range: range\n\t };\n\t\n\t this.children.each(function(childView) {\n\t childView.render(viewModel);\n\t });\n\t\n\t /**\n\t * @event Week#afterRender\n\t */\n\t this.fire('afterRender');\n\t};\n\t\n\t/**********\n\t * Prototype props\n\t **********/\n\t\n\tWeek.prototype.viewName = 'week';\n\t\n\t/**\n\t * Calculate default render date range from supplied date.\n\t * @param {Date} baseDate base date.\n\t * @returns {object} date range.\n\t */\n\tWeek.prototype._getRenderDateRange = function(baseDate) {\n\t var base = datetime.start(baseDate),\n\t start = new TZDate(Number(base)),\n\t end = new TZDate(Number(base));\n\t\n\t start.setDate(start.getDate() - 3);\n\t end.setDate(end.getDate() + 3);\n\t\n\t return {\n\t start: start,\n\t end: end\n\t };\n\t};\n\t\n\tutil.CustomEvents.mixin(Week);\n\t\n\tmodule.exports = Week;\n\t\n\n\n/***/ },\n/* 107 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @fileoverview Weekday view for week\n\t * @author NHN Ent. FE Development Team \n\t */\n\t'use strict';\n\t\n\tvar util = __webpack_require__(1);\n\tvar Weekday = __webpack_require__(29),\n\t tmpl = __webpack_require__(44);\n\tvar mmax = Math.max;\n\t\n\t/**\n\t * @constructor\n\t * @extends {Weekday}\n\t * @param {object} options - options for WeekdayInWeek view\n\t * @param {number} [options.containerHeight=40] - minimum height of schedule\n\t * container element.\n\t * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n\t * make create easy.\n\t * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n\t * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n\t * @param {HTMLDIVElement} container - DOM element to use container for this\n\t * view.\n\t */\n\tfunction WeekdayInWeek(options, container) {\n\t Weekday.call(this, options, container);\n\t}\n\t\n\tutil.inherit(WeekdayInWeek, Weekday);\n\t\n\t/**\n\t * Render Weekday view\n\t * @override\n\t */\n\tWeekdayInWeek.prototype.render = function(viewModel) {\n\t var opt = this.options,\n\t container = this.container,\n\t baseViewModel = this.getBaseViewModel(viewModel),\n\t maxScheduleInDay = 0;\n\t\n\t baseViewModel.matrices = opt.getViewModelFunc(viewModel);\n\t\n\t maxScheduleInDay = mmax.apply(\n\t null,\n\t util.map(baseViewModel.matrices, function(matrix) {\n\t return Math.max.apply(null, util.map(matrix, function(row) {\n\t return row.length;\n\t }));\n\t })\n\t );\n\t\n\t baseViewModel.minHeight = this._getMinHeight(maxScheduleInDay);\n\t baseViewModel.scheduleContainerTop = this.options.scheduleContainerTop;\n\t\n\t container.innerHTML = tmpl(baseViewModel);\n\t\n\t this.fire('afterRender', baseViewModel);\n\t};\n\t\n\t/**\n\t * returns minimum height for container.\n\t * @param {number} maxScheduleInDay - max schedule blocks in one day\n\t * @returns {number}\n\t */\n\tWeekdayInWeek.prototype._getMinHeight = function(maxScheduleInDay) {\n\t var opt = this.options;\n\t\n\t return (\n\t (maxScheduleInDay * opt.scheduleHeight) +\n\t ((maxScheduleInDay - 1) * opt.scheduleGutter) +\n\t opt.containerBottomGutter\n\t );\n\t};\n\t\n\tmodule.exports = WeekdayInWeek;\n\n\n/***/ }\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// tui-calendar.min.js"," \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\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"/dist\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5528c9c89d4ef7b64104","/**\n * @fileoverview The entry file of fullcalendar\n * @author NHN Ent. FE Development Team\n */\n\n'use strict';\n\nrequire('./css/main.styl');\nrequire('./js/view/template/helper');\n\nmodule.exports = require('./js/factory/calendar');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/index.js\n// module id = 0\n// module chunks = 0","module.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"commonjs\":\"tui-code-snippet\",\"commonjs2\":\"tui-code-snippet\",\"amd\":\"tui-code-snippet\",\"root\":[\"tui\",\"util\"]}\n// module id = 1\n// module chunks = 0","/* eslint complexity: 0, no-shadow: 0, max-nested-callbacks: 0 */\n/**\n * @fileoverview Utility modules for manipulate DOM elements.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar domevent = require('./domevent');\nvar Collection = require('./collection');\nvar util = require('tui-code-snippet');\n\nvar posKey = '_pos',\n domutil;\n\nvar CSS_AUTO_REGEX = /^auto$|^$|%/;\n\n/**\n * Trim leading, trailing whitespace\n * @param {string} str - string to trim\n * @returns {string} trimmed string\n */\nfunction trim(str) {\n return str.replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n}\n\ndomutil = {\n /**\n * Create DOM element and return it.\n * @param {string} tagName Tag name to append.\n * @param {HTMLElement} [container] HTML element will be parent to created element.\n * if not supplied, will use **document.body**\n * @param {string} [className] Design class names to appling created element.\n * @returns {HTMLElement} HTML element created.\n */\n appendHTMLElement: function(tagName, container, className) {\n var el;\n\n className = className || '';\n\n el = document.createElement(tagName);\n el.className = className;\n\n if (container) {\n container.appendChild(el);\n } else {\n document.body.appendChild(el);\n }\n\n return el;\n },\n\n /**\n * Remove element from parent node.\n * @param {HTMLElement} el - element to remove.\n */\n remove: function(el) {\n if (el && el.parentNode) {\n el.parentNode.removeChild(el);\n }\n },\n\n /**\n * Get element by id\n * @param {string} id element id attribute\n * @returns {HTMLElement} element\n */\n get: function(id) {\n return document.getElementById(id);\n },\n\n /**\n * Check supplied element is matched selector.\n * @param {HTMLElement} el - element to check\n * @param {string} selector - selector string to check\n * @returns {boolean} match?\n */\n _matcher: function(el, selector) {\n var cssClassSelector = /^\\./,\n idSelector = /^#/;\n\n if (cssClassSelector.test(selector)) {\n return domutil.hasClass(el, selector.replace('.', ''));\n }\n if (idSelector.test(selector)) {\n return el.id === selector.replace('#', '');\n }\n\n return el.nodeName.toLowerCase() === selector.toLowerCase();\n },\n\n /**\n * Find DOM element by specific selectors.\n * below three selector only supported.\n *\n * 1. css selector\n * 2. id selector\n * 3. nodeName selector\n * @param {string} selector selector\n * @param {(HTMLElement|string)} [root] You can assign root element to find\n * if not supplied, document.body will use.\n * @param {boolean|function} [multiple=false] - set true then return all\n * elements that meet condition, if set function then use it filter function.\n * @returns {HTMLElement} HTML element finded.\n */\n find: function(selector, root, multiple) {\n var result = [],\n found = false,\n isFirst = util.isUndefined(multiple) || multiple === false,\n isFilter = util.isFunction(multiple);\n\n if (util.isString(root)) {\n root = domutil.get(root);\n }\n\n root = root || window.document.body;\n\n /**\n * Function for recursive find specific node\n * @param {HTMLElement} el - element to search\n * @param {string} selector - selector\n */\n function recurse(el, selector) {\n var childNodes = el.childNodes,\n i = 0,\n len = childNodes.length,\n cursor;\n\n for (; i < len; i += 1) {\n cursor = childNodes[i];\n\n if (cursor.nodeName === '#text') {\n continue;\n }\n\n if (domutil._matcher(cursor, selector)) {\n if ((isFilter && multiple(cursor)) || !isFilter) {\n result.push(cursor);\n }\n\n if (isFirst) {\n found = true;\n break;\n }\n } else if (cursor.childNodes.length > 0) {\n recurse(cursor, selector);\n if (found) {\n break;\n }\n }\n }\n }\n\n recurse(root, selector);\n\n return isFirst ? (result[0] || null) : result;\n },\n\n /**\n * Find parent element recursively.\n * @param {HTMLElement} el - base element to start find.\n * @param {string} selector - selector string for find\n * @returns {HTMLElement} - element finded or null.\n */\n closest: function(el, selector) {\n var parent = el.parentNode;\n\n if (domutil._matcher(el, selector)) {\n return el;\n }\n\n while (parent && parent !== window.document.body) {\n if (domutil._matcher(parent, selector)) {\n return parent;\n }\n\n parent = parent.parentNode;\n }\n\n return null;\n },\n\n /**\n * Return texts inside element.\n * @param {HTMLElement} el target element\n * @returns {string} text inside node\n */\n text: function(el) {\n var ret = '',\n i = 0,\n nodeType = el.nodeType;\n\n if (nodeType) {\n if (nodeType === 1 || nodeType === 9 || nodeType === 11) {\n // nodes that available contain other nodes\n if (typeof el.textContent === 'string') {\n return el.textContent;\n }\n\n for (el = el.firstChild; el; el = el.nextSibling) {\n ret += domutil.text(el);\n }\n } else if (nodeType === 3 || nodeType === 4) {\n // TEXT, CDATA SECTION\n return el.nodeValue;\n }\n } else {\n for (; el[i]; i += 1) {\n ret += domutil.text(el[i]);\n }\n }\n\n return ret;\n },\n\n /**\n * Set data attribute to target element\n * @param {HTMLElement} el - element to set data attribute\n * @param {string} key - key\n * @param {string|number} data - data value\n */\n setData: function(el, key, data) {\n if ('dataset' in el) {\n el.dataset[key] = data;\n\n return;\n }\n\n el.setAttribute('data-' + key, data);\n },\n\n /**\n * Get data value from data-attribute\n * @param {HTMLElement} el - target element\n * @param {string} key - key\n * @returns {string} value\n */\n getData: function(el, key) {\n if ('dataset' in el) {\n return el.dataset[key];\n }\n\n return el.getAttribute('data-' + key);\n },\n\n /**\n * Check element has specific design class name.\n * @param {HTMLElement} el target element\n * @param {string} name css class\n * @returns {boolean} return true when element has that css class name\n */\n hasClass: function(el, name) {\n var className;\n\n if (!util.isUndefined(el.classList)) {\n return el.classList.contains(name);\n }\n\n className = domutil.getClass(el);\n\n return className.length > 0 && new RegExp('(^|\\\\s)' + name + '(\\\\s|$)').test(className);\n },\n\n /**\n * Add design class to HTML element.\n * @param {HTMLElement} el target element\n * @param {string} name css class name\n */\n addClass: function(el, name) {\n var className;\n\n if (!util.isUndefined(el.classList)) {\n util.forEachArray(name.split(' '), function(value) {\n el.classList.add(value);\n });\n } else if (!domutil.hasClass(el, name)) {\n className = domutil.getClass(el);\n domutil.setClass(el, (className ? className + ' ' : '') + name);\n }\n },\n\n /**\n *\n * Overwrite design class to HTML element.\n * @param {HTMLElement} el target element\n * @param {string} name css class name\n */\n setClass: function(el, name) {\n if (util.isUndefined(el.className.baseVal)) {\n el.className = name;\n } else {\n el.className.baseVal = name;\n }\n },\n\n /**\n * Element에 cssClass속성을 제거하는 메서드\n * Remove specific design class from HTML element.\n * @param {HTMLElement} el target element\n * @param {string} name class name to remove\n */\n removeClass: function(el, name) {\n var removed = '';\n\n if (!util.isUndefined(el.classList)) {\n el.classList.remove(name);\n } else {\n removed = (' ' + domutil.getClass(el) + ' ').replace(' ' + name + ' ', ' ');\n domutil.setClass(el, trim(removed));\n }\n },\n\n /**\n * Get HTML element's design classes.\n * @param {HTMLElement} el target element\n * @returns {string} element css class name\n */\n getClass: function(el) {\n if (!el || !el.className) {\n return '';\n }\n\n return util.isUndefined(el.className.baseVal) ? el.className : el.className.baseVal;\n },\n\n /**\n * Get specific CSS style value from HTML element.\n * @param {HTMLElement} el target element\n * @param {string} style css attribute name\n * @returns {(string|null)} css style value\n */\n getStyle: function(el, style) {\n var value = el.style[style] || (el.currentStyle && el.currentStyle[style]),\n css;\n\n if ((!value || value === 'auto') && document.defaultView) {\n css = document.defaultView.getComputedStyle(el, null);\n value = css ? css[style] : null;\n }\n\n return value === 'auto' ? null : value;\n },\n\n /**\n * get element's computed style values.\n *\n * in lower IE8. use polyfill function that return object. it has only one function 'getPropertyValue'\n * @param {HTMLElement} el - element want to get style.\n * @returns {object} virtual CSSStyleDeclaration object.\n */\n getComputedStyle: function(el) {\n var defaultView = document.defaultView;\n\n if (!defaultView || !defaultView.getComputedStyle) {\n return {\n getPropertyValue: function(prop) {\n /* eslint-disable no-useless-escape */\n var re = /(\\-([a-z]){1})/g;\n if (prop === 'float') {\n prop = 'styleFloat';\n }\n\n if (re.test(prop)) {\n prop = prop.replace(re, function() {\n return arguments[2].toUpperCase();\n });\n }\n\n return el.currentStyle[prop] ? el.currentStyle[prop] : null;\n }\n };\n }\n\n return document.defaultView.getComputedStyle(el);\n },\n\n /**\n * Set position CSS style.\n * @param {HTMLElement} el target element\n * @param {number} [x=0] left pixel value.\n * @param {number} [y=0] top pixel value.\n */\n setPosition: function(el, x, y) {\n x = util.isUndefined(x) ? 0 : x;\n y = util.isUndefined(y) ? 0 : y;\n\n el[posKey] = [x, y];\n\n el.style.left = util.isNumber(x) ? (x + 'px') : x;\n el.style.top = util.isNumber(y) ? (y + 'px') : y;\n },\n\n /**\n * Set position CSS style with left, top, right, bottom\n * @param {HTMLElement} el target element\n * @param {object} ltrb object of left, top, right, bottom\n * @param {number} [ltrb.left] left pixel value.\n * @param {number} [ltrb.top] top pixel value.\n * @param {number} [ltrb.right] right pixel value.\n * @param {number} [ltrb.bottom] bottom pixel value.\n */\n setLTRB: function(el, ltrb) {\n var props = ['left', 'top', 'right', 'bottom'];\n var value;\n props.forEach(function(prop) {\n value = util.isUndefined(ltrb[prop]) ? '' : ltrb[prop];\n el.style[prop] = util.isNumber(value) ? (value + 'px') : value;\n });\n },\n\n /**\n * Get position from HTML element.\n * @param {HTMLElement} el target element\n * @param {boolean} [clear=false] clear cache before calculating position.\n * @returns {number[]} point\n */\n getPosition: function(el, clear) {\n var left,\n top,\n bound;\n\n if (clear) {\n el[posKey] = null;\n }\n\n if (el[posKey]) {\n return el[posKey];\n }\n\n left = 0;\n top = 0;\n\n if ((CSS_AUTO_REGEX.test(el.style.left) || CSS_AUTO_REGEX.test(el.style.top)) &&\n 'getBoundingClientRect' in el) {\n // 엘리먼트의 left또는 top이 'auto'일 때 수단\n bound = el.getBoundingClientRect();\n\n left = bound.left;\n top = bound.top;\n } else {\n left = parseFloat(el.style.left || 0);\n top = parseFloat(el.style.top || 0);\n }\n\n return [left, top];\n },\n\n /**\n * Return element's size\n * @param {HTMLElement} el target element\n * @returns {number[]} width, height\n */\n getSize: function(el) {\n var bound,\n width = domutil.getStyle(el, 'width'),\n height = domutil.getStyle(el, 'height');\n\n if ((CSS_AUTO_REGEX.test(width) || CSS_AUTO_REGEX.test(height) ||\n util.isNull(width) || util.isNull(height)) &&\n 'getBoundingClientRect' in el) {\n bound = el.getBoundingClientRect();\n width = bound.width || el.offsetWidth;\n height = bound.height || el.offsetHeight;\n } else {\n width = parseFloat(width || 0);\n height = parseFloat(height || 0);\n }\n\n return [width, height];\n },\n\n /**\n * Fallback of getBoundingClientRect\n * @param {HTMLElement} el - element\n * @returns {object} rect\n */\n getBCRect: function(el) {\n var rect = el.getBoundingClientRect();\n\n rect = util.extend({\n width: el.offsetWidth,\n height: el.offsetHeight\n }, rect);\n\n return rect;\n },\n\n /**\n * Check specific CSS style is available.\n * @param {array} props property name to testing\n * @returns {(string|boolean)} return true when property is available\n * @example\n * var props = ['transform', '-webkit-transform'];\n * domutil.testProp(props); // 'transform'\n */\n testProp: function(props) {\n var style = document.documentElement.style,\n i = 0,\n len = props.length;\n\n for (; i < len; i += 1) {\n if (props[i] in style) {\n return props[i];\n }\n }\n\n return false;\n },\n\n /**\n * Get form data\n * @param {HTMLFormElement} formElement - form element to extract data\n * @returns {object} form data\n */\n getFormData: function(formElement) {\n var groupedByName = new Collection(function() {\n return this.length;\n }),\n noDisabledFilter = function(el) {\n return !el.disabled;\n },\n output = {};\n\n groupedByName.add.apply(\n groupedByName,\n domutil.find('input', formElement, noDisabledFilter)\n .concat(domutil.find('select', formElement, noDisabledFilter))\n .concat(domutil.find('textarea', formElement, noDisabledFilter))\n );\n\n groupedByName = groupedByName.groupBy(function(el) {\n return (el && el.getAttribute('name')) || '_other';\n });\n\n util.forEach(groupedByName, function(elements, name) {\n if (name === '_other') {\n return;\n }\n\n elements.each(function(el) {\n var nodeName = el.nodeName.toLowerCase(),\n type = el.type,\n result = [];\n\n if (type === 'radio') {\n result = [elements.find(function(el) {\n return el.checked;\n }).toArray().pop()];\n } else if (type === 'checkbox') {\n result = elements.find(function(el) {\n return el.checked;\n }).toArray();\n } else if (nodeName === 'select') {\n elements.find(function(el) {\n return !!el.childNodes.length;\n }).each(function(el) {\n result = result.concat(\n domutil.find('option', el, function(opt) {\n return opt.selected;\n })\n );\n });\n } else {\n result = elements.find(function(el) {\n return el.value !== '';\n }).toArray();\n }\n\n result = util.map(result, function(el) {\n return el.value;\n });\n\n if (!result.length) {\n result = '';\n } else if (result.length === 1) {\n result = result[0];\n }\n\n output[name] = result;\n });\n });\n\n return output;\n }\n};\n\n/*eslint-disable*/\nvar userSelectProperty = domutil.testProp([\n 'userSelect',\n 'WebkitUserSelect',\n 'OUserSelect',\n 'MozUserSelect',\n 'msUserSelect'\n]);\nvar supportSelectStart = 'onselectstart' in document;\nvar prevSelectStyle = '';\n/* eslint-enable*/\n\n/**\n * Disable browser's text selection behaviors.\n * @method\n */\ndomutil.disableTextSelection = (function() {\n if (supportSelectStart) {\n return function(dom) {\n domevent.on(dom, 'selectstart', domevent.preventDefault);\n };\n }\n\n return function(dom) {\n var style = dom.style;\n prevSelectStyle = style[userSelectProperty];\n style[userSelectProperty] = 'none';\n };\n})();\n\n/**\n * Enable browser's text selection behaviors.\n * @method\n */\ndomutil.enableTextSelection = (function() {\n if (supportSelectStart) {\n return function() {\n domevent.off(window, 'selectstart', domevent.preventDefault);\n };\n }\n\n return function() {\n document.documentElement.style[userSelectProperty] = prevSelectStyle;\n };\n})();\n\n/**\n * Disable browser's image drag behaviors.\n */\ndomutil.disableImageDrag = function() {\n domevent.on(window, 'dragstart', domevent.preventDefault);\n};\n\n/**\n * Enable browser's image drag behaviors.\n */\ndomutil.enableImageDrag = function() {\n domevent.off(window, 'dragstart', domevent.preventDefault);\n};\n\nmodule.exports = domutil;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/domutil.js\n// module id = 2\n// module chunks = 0","/**\n * @fileoverview Global configuration object module. This @echo syntax will change preprocess context. See gulpfile.js\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar cssPrefix = 'tui-full-calendar-',\n alldayGetViewID = new RegExp('^' + cssPrefix + 'weekday[\\\\s]tui-view-(\\\\d+)'),\n alldayCheckPermission = new RegExp('^' + cssPrefix + 'schedule(-title)?$'),\n timeGetViewID = new RegExp('^' + cssPrefix + 'time-date[\\\\s]tui-view-(\\\\d+)');\n\nvar config = {\n throwError: function(msg) {\n alert(msg);\n },\n\n cssPrefix: cssPrefix,\n\n classname: function(str) {\n str = str || '';\n\n if (str.charAt(0) === '.') {\n return '.' + config.cssPrefix + str.slice(1);\n }\n\n return config.cssPrefix + str;\n },\n\n allday: {\n getViewIDRegExp: alldayGetViewID,\n checkCondRegExp: alldayCheckPermission\n },\n\n time: {\n getViewIDRegExp: timeGetViewID\n }\n};\n\nmodule.exports = config;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/config.js\n// module id = 3\n// module chunks = 0","/**\n * @fileoverview datetime utility module\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar TZDate = require('./timezone').Date,\n dw = require('../common/dw');\nvar util = require('tui-code-snippet');\n/* eslint-disable no-useless-escape */\nvar dateFormatRx = /^(\\d{4}[-|\\/]*\\d{2}[-|\\/]*\\d{2})\\s?(\\d{2}:\\d{2}:\\d{2})?$/;\nvar datetime, tokenFunc;\n\nvar memo = {\n millisecondsTo: {},\n millisecondsFrom: {}\n};\n\ntokenFunc = {\n /**\n * @param {TZDate} date date object.\n * @returns {string} YYYYMMDD\n */\n 'YYYYMMDD': function(date) {\n return [\n date.getFullYear(),\n datetime.leadingZero(date.getMonth() + 1, 2),\n datetime.leadingZero(date.getDate(), 2)\n ].join('');\n },\n /**\n * @param {TZDate} date date object\n * @returns {string} four digit year number\n */\n 'YYYY': function(date) {\n return String(date.getFullYear());\n },\n\n /**\n * @param {TZDate} date date object\n * @returns {string} two digit month number\n */\n 'MM': function(date) {\n return datetime.leadingZero(date.getMonth() + 1, 2);\n },\n\n /**\n * @param {TZDate} date date object\n * @returns {string} two digit date number\n */\n 'DD': function(date) {\n return datetime.leadingZero(date.getDate(), 2);\n },\n\n /**\n * @param {TZDate} date date object\n * @returns {string} HH:mm\n */\n 'HH:mm': function(date) {\n var hour = date.getHours(),\n minutes = date.getMinutes();\n\n return datetime.leadingZero(hour, 2) + ':' +\n datetime.leadingZero(minutes, 2);\n }\n};\n\ndatetime = {\n /**\n * The number of milliseconds one day.\n * @type {number}\n */\n MILLISECONDS_PER_DAY: 86400000,\n\n /**\n * The number of milliseconds one hour.\n * @type {number}\n */\n MILLISECONDS_PER_HOUR: 3600000,\n\n /**\n * The number of milliseconds one minutes.\n * @type {number}\n */\n MILLISECONDS_PER_MINUTES: 60000,\n\n /**\n * convert milliseconds\n * @param {string} type - type of value.\n * @param {number} value - value to convert.\n * @param {function} iteratee - iteratee function to use reduce.\n * @returns {number} converted value.\n */\n _convMilliseconds: function(type, value, iteratee) {\n var conv = [24, 60, 60, 1000],\n index = {\n day: 0,\n hour: 1,\n minutes: 2,\n seconds: 3\n };\n\n if (!(type in index) || global.isNaN(value)) {\n return false;\n }\n\n return util.reduce([value].concat(conv.slice(index[type])), iteratee);\n },\n\n /**\n * Convert milliseconds value to other type\n * @param {type} type convert to type want to. support \"day\", \"hour\",\n * \"minutes\", \"seconds\" only.\n * @param {value} value - value to convert.\n * @returns {number} converted value.\n */\n millisecondsTo: function(type, value) {\n var cache = memo.millisecondsTo,\n key = type + value;\n\n if (cache[key]) {\n return cache[key];\n }\n\n cache[key] = datetime._convMilliseconds(type, value, function(m, v) {\n return m / v;\n });\n\n return cache[key];\n },\n\n /**\n * Convert value to milliseconds\n * @param {type} type - type of supplied value. support \"hour\", \"minutes\", \"seconds\" only.\n * @param {value} value - value to convert.\n * @returns {number} converted value.\n */\n millisecondsFrom: function(type, value) {\n var cache = memo.millisecondsFrom,\n key = type + value;\n\n if (cache[key]) {\n return cache[key];\n }\n\n cache[key] = datetime._convMilliseconds(type, value, function(m, v) {\n return m * v;\n });\n\n return cache[key];\n },\n\n /**\n * Make date array from supplied paramters.\n * @param {TZDate} start Start date.\n * @param {TZDate} end End date.\n * @param {number} step The number of milliseconds to use increment.\n * @returns {array} Date array.\n */\n range: function(start, end, step) {\n var cursor = start.getTime();\n var endTime = end.getTime();\n var result = [];\n\n while (cursor <= endTime) {\n result.push(new TZDate(cursor));\n cursor = cursor + step;\n }\n\n return result;\n },\n\n /**\n * Clone supplied date.\n * @param {TZDate} date date object to clone.\n * @returns {TZDate} Cloned date object\n */\n clone: function(date) {\n return new TZDate(date.getTime());\n },\n\n /**\n * Compare two dates.\n *\n * when first date is latest then seconds then return -1.\n *\n * return +1 reverse, and return 0 is same.\n * @param {TZDate} d1 Date object to compare.\n * @param {TZDate} d2 Date object to compare.\n * @returns {number} result of compare\n */\n compare: function(d1, d2) {\n var _d1 = d1.getTime(),\n _d2 = d2.getTime();\n\n if (_d1 < _d2) {\n return -1;\n }\n if (_d1 > _d2) {\n return 1;\n }\n\n return 0;\n },\n\n /**\n * @param {TZDate} d1 - date one\n * @param {TZDate} d2 - date two\n * @returns {boolean} is two date are same year, month?\n */\n isSameMonth: function(d1, d2) {\n return (d1.getFullYear() === d2.getFullYear() &&\n d1.getMonth() === d2.getMonth());\n },\n\n /**\n * @param {TZDate} d1 - date one\n * @param {TZDate} d2 - date two\n * @returns {boolean} is two date are same year, month, date?\n */\n isSameDate: function(d1, d2) {\n var sameMonth = datetime.isSameMonth(d1, d2);\n\n return sameMonth && (d1.getDate() === d2.getDate());\n },\n\n /**\n * Check supplied parameter is valid date object.\n * @param {*} d Object to validate.\n * @returns {boolean} return true when parameter is valid date object.\n */\n isValid: function(d) {\n if (d instanceof TZDate) {\n return !window.isNaN(d.getTime());\n }\n\n return false;\n },\n\n /**\n * convert non local date to UTC date.\n * @param {TZDate} d Date to convert UTC.\n * @returns {TZDate} The UTC Date.\n */\n toUTC: function(d) {\n var l = d.getTime(),\n offset = datetime.millisecondsFrom('minutes', new Date().getTimezoneOffset());\n\n return new TZDate(l + offset);\n },\n\n /**\n * pad left zero characters.\n * @param {number} number number value to pad zero.\n * @param {number} length pad length to want.\n * @returns {string} padded string.\n */\n leadingZero: function(number, length) {\n var zero = '',\n i = 0;\n\n if (String(number).length > length) {\n return String(number);\n }\n\n for (; i < (length - 1); i += 1) {\n zero += '0';\n }\n\n return (zero + number).slice(length * -1);\n },\n\n /**\n * Convert date string to date object.\n *\n * Only listed below formats avaliable.\n *\n * - YYYYMMDD\n * - YYYY/MM/DD\n * - YYYY-MM-DD\n * - YYYY/MM/DD HH:mm:SS\n * - YYYY-MM-DD HH:mm:SS\n *\n * @param {string} str Formatted string.\n * @param {number} [fixMonth=-1] - number for fix month calculating.\n * @returns {(Date|boolean)} Converted Date object. when supplied str is not available then return false.\n */\n parse: function(str, fixMonth) {\n var separator,\n matches = str.match(dateFormatRx),\n ymd,\n hms;\n\n if (util.isUndefined(fixMonth)) {\n fixMonth = -1;\n }\n\n if (!matches) {\n return false;\n }\n\n if (str.length > 8) {\n // YYYY/MM/DD\n // YYYY-MM-DD\n // YYYY/MM/DD HH:mm:SS\n // YYYY-MM-DD HH:mm:SS\n separator = ~str.indexOf('/') ? '/' : '-';\n matches = matches.splice(1);\n\n ymd = matches[0].split(separator);\n hms = matches[1] ? matches[1].split(':') : [0, 0, 0];\n } else {\n // YYYYMMDD\n matches = matches[0];\n ymd = [matches.substr(0, 4), matches.substr(4, 2), matches.substr(6, 2)];\n hms = [0, 0, 0];\n }\n\n return new TZDate(\n Number(ymd[0]),\n Number(ymd[1]) + fixMonth,\n Number(ymd[2]),\n Number(hms[0]),\n Number(hms[1]),\n Number(hms[2])\n );\n },\n\n /**\n * Return date object from Date.\n * @param {TZDate} date date\n * @returns {object} Date object.\n */\n raw: function(date) {\n return {\n y: date.getFullYear(),\n M: date.getMonth(),\n d: date.getDate(),\n h: date.getHours(),\n m: date.getMinutes(),\n s: date.getSeconds(),\n ms: date.getMilliseconds()\n };\n },\n\n /**\n * Return 00:00:00 supplied date.\n * @param {TZDate} date date.\n * @returns {TZDate} start date.\n */\n start: function(date) {\n var d = new TZDate(date.getTime());\n d.setHours(0, 0, 0, 0);\n\n return d;\n },\n\n /**\n * Return 23:59:59 supplied date.\n * @param {TZDate} date date.\n * @returns {TZDate} end date.\n */\n end: function(date) {\n var d = new TZDate(date.getTime());\n d.setHours(23, 59, 59, 0);\n\n return d;\n },\n\n /**\n * Return formatted string as basis of supplied string.\n *\n * Supported Token Lists.\n *\n * - YYYY => 1988\n * - MM => 01 ~ 12\n * - DD => 01 ~ 31\n * - YYYYMMDD => 19880925\n * @param {TZDate} date String want to formatted.\n * @param {string} format format str.\n * @returns {string} Formatted date string.\n */\n format: function(date, format) {\n var result = format;\n util.forEachOwnProperties(tokenFunc, function(converter, token) {\n result = result.replace(token, converter(date));\n });\n\n return result;\n },\n\n /**\n * Get start date of specific month\n * @param {TZDate} date - date to get start date\n * @returns {TZDate} start date of supplied month\n */\n startDateOfMonth: function(date) {\n var startDate = new TZDate(Number(date));\n\n startDate.setDate(1);\n startDate.setHours(0, 0, 0, 0);\n\n return startDate;\n },\n\n /**\n * Get end date of specific month\n * @param {TZDate} date - date to get end date\n * @returns {TZDate} end date of supplied month\n */\n endDateOfMonth: function(date) {\n var endDate = datetime.startDateOfMonth(date);\n\n endDate.setMonth(endDate.getMonth() + 1);\n endDate.setDate(endDate.getDate() - 1);\n endDate.setHours(23, 59, 59);\n\n return endDate;\n },\n\n /**\n * Return 2-dimensional array month calendar\n *\n * dates that different month with given date are negative values\n * @param {TZDate} month - date want to calculate month calendar\n * @param {object} options - options\n * @param {number} [options.startDayOfWeek=0] - start day of week\n * @param {boolean} options.isAlways6Week - whether the number of weeks are always 6\n * @param {number} options.visibleWeeksCount visible weeks count\n * @param {boolean} options.workweek - only show work week\n * @param {function} [iteratee] - iteratee for customizing calendar object\n * @returns {Array.} calendar 2d array\n */\n arr2dCalendar: function(month, options, iteratee) {\n var weekArr,\n start, end,\n startIndex, endIndex,\n totalDate, afterDates,\n cursor, week,\n calendar = [],\n startDayOfWeek = options.startDayOfWeek,\n isAlways6Week = options.isAlways6Week,\n visibleWeeksCount = options.visibleWeeksCount,\n workweek = options.workweek;\n\n if (visibleWeeksCount) {\n start = new TZDate(month);\n end = dw(new TZDate(month));\n end.addDate(7 * (visibleWeeksCount - 1));\n end = end.d;\n } else {\n start = datetime.startDateOfMonth(month);\n end = datetime.endDateOfMonth(month);\n }\n\n // create day number array by startDayOfWeek number\n // 4 -> [4, 5, 6, 0, 1, 2, 3]\n // 2 -> [2, 3, 4, 5, 6, 0, 1]\n weekArr = util.range(startDayOfWeek, 7).concat(util.range(7)).slice(0, 7);\n startIndex = util.inArray(start.getDay(), weekArr);\n endIndex = util.inArray(end.getDay(), weekArr);\n // free dates after last date of this month\n afterDates = 7 - (endIndex + 1);\n\n if (visibleWeeksCount) {\n totalDate = 7 * visibleWeeksCount;\n } else {\n totalDate = isAlways6Week ? (7 * 6) : (startIndex + end.getDate() + afterDates);\n }\n cursor = new TZDate(new TZDate(start).setDate(start.getDate() - startIndex));\n // iteratee all dates to render\n util.forEachArray(util.range(totalDate), function(i) {\n var date;\n\n if (!(i % 7)) {\n // group each date by week\n week = calendar[i / 7] = [];\n }\n\n date = new TZDate(cursor);\n date = iteratee ? iteratee(date) : date;\n if (!workweek || !datetime.isWeekend(date.getDay())) {\n week.push(date);\n }\n\n // add date\n cursor.setDate(cursor.getDate() + 1);\n });\n\n return calendar;\n },\n\n /**\n * Calculate grid left(%), width(%) by narrowWeekend, startDayOfWeek, workweek\n *\n * @param {number} days - day length of week\n * @param {boolean} narrowWeekend - narrow weekend\n * @param {number} startDayOfWeek - start day of week\n * @param {boolean} workweek - only show work week\n * @returns {Array} day, left, width\n */\n getGridLeftAndWidth: function(days, narrowWeekend, startDayOfWeek, workweek) {\n var limitDaysToApplyNarrowWeekend = 5;\n var uniformWidth = 100 / days;\n var wideWidth = days > limitDaysToApplyNarrowWeekend ? 100 / (days - 1) : uniformWidth;\n var accumulatedWidth = 0;\n var dates = util.range(startDayOfWeek, 7).concat(util.range(days)).slice(0, 7);\n\n if (workweek) {\n dates = util.filter(dates, function(day) {\n return !datetime.isWeekend(day);\n });\n }\n\n narrowWeekend = workweek ? false : narrowWeekend;\n\n return util.map(dates, function(day) {\n var model;\n var width = narrowWeekend ? wideWidth : uniformWidth;\n if (days > limitDaysToApplyNarrowWeekend && narrowWeekend && datetime.isWeekend(day)) {\n width = wideWidth / 2;\n }\n\n model = {\n day: day,\n width: width,\n left: accumulatedWidth\n };\n\n accumulatedWidth += width;\n\n return model;\n });\n },\n\n /**\n * Get that day is weekend\n * @param {number} day number\n * @returns {boolean} true if weekend or false\n */\n isWeekend: function(day) {\n return day === 0 || day === 6;\n }\n};\n\nmodule.exports = datetime;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/datetime.js\n// module id = 4\n// module chunks = 0","/**\n * @fileoverview timezone\n * @author NHN Ent. FE Development Lab \n */\n'use strict';\n\nvar MIN_TO_MS = 60 * 1000;\nvar SYSTEM_OFFSET_MS = new Date().getTimezoneOffset() * MIN_TO_MS;\nvar customOffsetMs = SYSTEM_OFFSET_MS;\n\nvar getterMethods = [\n 'getDate',\n 'getDay',\n 'getFullYear',\n 'getHours',\n 'getMilliseconds',\n 'getMinutes',\n 'getMonth',\n 'getSeconds'\n];\n\nvar setterMethods = [\n 'setDate',\n 'setFullYear',\n 'setHours',\n 'setMilliseconds',\n 'setMinutes',\n 'setMonth',\n 'setSeconds'\n];\n\n/**\n * Create a Date instance with multiple arguments\n * @param {Array} args - arguments\n * @returns {Date}\n */\nfunction createDateWithMultipleArgs(args) {\n return new Date(Date.UTC.apply(null, args) + SYSTEM_OFFSET_MS);\n}\n\n/**\n * Create a Date instance with argument\n * @param {Date|TZDate|string|number} arg - arguments\n * @returns {Date}\n */\nfunction createDateWithSingleArg(arg) {\n var time;\n\n if (arg instanceof Date || arg instanceof TZDate) {\n time = arg.getTime();\n } else if ((typeof arg) === 'string') {\n time = Date.parse(arg);\n } else if ((typeof arg) === 'number') {\n time = arg;\n } else if (arg === null) {\n time = 0;\n } else {\n throw new Error('Invalid Type');\n }\n\n return new Date(time - customOffsetMs + SYSTEM_OFFSET_MS);\n}\n\n/**\n * Date Class\n */\nfunction TZDate() {\n var date;\n\n switch (arguments.length) {\n case 0:\n date = createDateWithSingleArg(Date.now());\n break;\n case 1:\n date = createDateWithSingleArg(arguments[0]);\n break;\n default:\n date = createDateWithMultipleArgs(arguments);\n }\n\n this._date = date;\n}\n\nTZDate.prototype.setTime = function(time) {\n return this._date.setTime(time - customOffsetMs + SYSTEM_OFFSET_MS);\n};\n\nTZDate.prototype.getTime = function() {\n return this._date.getTime() + customOffsetMs - SYSTEM_OFFSET_MS;\n};\n\nTZDate.prototype.valueOf = function() {\n return this.getTime();\n};\n\ngetterMethods.forEach(function(methodName) {\n TZDate.prototype[methodName] = function() {\n return this._date[methodName].apply(this._date, arguments);\n };\n});\n\nsetterMethods.forEach(function(methodName) {\n TZDate.prototype[methodName] = function() {\n this._date[methodName].apply(this._date, arguments);\n\n return this.getTime();\n };\n});\n\nmodule.exports = {\n Date: TZDate,\n\n /**\n * Set offset\n * @param {number} offset - timezone offset based on minutes\n */\n setOffset: function(offset) {\n customOffsetMs = offset * MIN_TO_MS;\n },\n\n /**\n * (Use this method only for testing)\n * Reset system timezone and custom timezone\n */\n restoreOffset: function() {\n customOffsetMs = SYSTEM_OFFSET_MS;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/timezone.js\n// module id = 5\n// module chunks = 0","/**\n * @fileoverview common/general utilities.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar aps = Array.prototype.slice;\n\nvar domutil = require('../common/domutil'),\n Collection = require('../common/collection');\n\n/**\n * Default schedule id getter for collection\n * @param {Schedule} schedule - schedule instance\n * @returns {string} schedule id\n */\nfunction scheduleIDGetter(schedule) {\n return schedule.cid();\n}\n\nmodule.exports = {\n /**\n * @param {...*} initItems - items to add newly created collection.\n * @returns {Collection} new collection for schedule models.\n */\n createScheduleCollection: function(initItems) { // eslint-disable-line\n var collection = new Collection(scheduleIDGetter);\n\n if (arguments.length) {\n collection.add.apply(collection, arguments);\n }\n\n return collection;\n },\n\n /**\n * Get ratio value.\n *\n * a : b = y : X;\n *\n * =\n *\n * X = (b * y) / a;\n * @param {number} a - a\n * @param {number} b - b\n * @param {number} y - y\n * @returns {number} ratio value\n */\n ratio: function(a, b, y) {\n // a : b = y : x;\n return (b * y) / a;\n },\n\n /**\n * Find nearest value from supplied params.\n * @param {number} value - value to find.\n * @param {array} nearest - nearest array.\n * @returns {number} nearest value\n */\n nearest: function(value, nearest) {\n var diff = util.map(nearest, function(v) {\n return Math.abs(value - v);\n }),\n nearestIndex = util.inArray(Math.min.apply(null, diff), diff);\n\n return nearest[nearestIndex];\n },\n\n /**\n * pick value from object then return utility object to treat it.\n * @param {object} obj - object to search supplied path property.\n * @param {...string} paths - rest parameter that string value to search property in object.\n * @returns {object} pick object.\n */\n pick2: function(obj, paths) { // eslint-disable-line\n var result = util.pick.apply(null, arguments),\n pick;\n\n pick = {\n /**\n * @returns {*} picked value.\n */\n val: function() {\n return result;\n },\n\n /**\n * invoke supplied function in picked object.\n *\n * the callback context is set picked object.\n * @param {string|function} fn - function to invoke in picked object.\n * @returns {*} result of invoke.\n */\n then: function(fn) {\n var args;\n\n if (!result) {\n return undefined; //eslint-disable-line\n }\n\n args = aps.call(arguments, 1);\n\n if (util.isString(fn)) {\n return (util.pick(result, fn) || function() {}).apply(result, args);\n }\n\n return fn.call(result, result);\n }\n };\n\n return pick;\n },\n\n /**\n * Mixin method.\n *\n * (extend methods except property name 'mixin')\n * @param {object} from - mixin object.\n * @param {object} to - object to mixin.\n */\n mixin: function(from, to) {\n util.extend(to.prototype, from);\n },\n\n /**\n * Limit supplied value base on `minArr`, `maxArr`\n * @param {number} value - value\n * @param {array} minArr - min\n * @param {array} maxArr - max\n * @returns {number} limited value\n */\n limit: function(value, minArr, maxArr) {\n var v = Math.max.apply(null, [value].concat(minArr));\n v = Math.min.apply(null, [v].concat(maxArr));\n\n return v;\n },\n\n stripTags: function(str) {\n return str.replace(/<([^>]+)>/ig, '');\n },\n\n /**\n * Get first value in 2-dimentional array.\n * @param {Array.} arr2d - 2-dimentional array\n * @returns {*} first value in 2d array\n */\n firstIn2dArray: function(arr2d) {\n return util.pick(arr2d, '0', '0');\n },\n\n /**\n * Get last value in 2-dimentional array.\n * @param {Array.} arr2d - 2-dimentional array\n * @returns {*} last value in 2d array\n */\n lastIn2dArray: function(arr2d) {\n var lastRow = arr2d.length - 1,\n lastCol = arr2d[lastRow].length - 1;\n\n return util.pick(arr2d, lastRow, lastCol);\n },\n\n /**\n * Set 'title' attribute for all element that has exceeded content in\n * container\n * @param {string} selector - CSS selector {@see domutil#find}\n * @param {HTMLElement} container - container element\n */\n setAutoEllipsis: function(selector, container) {\n util.forEach(domutil.find(selector, container, true), function(el) {\n if (el.offsetWidth < el.scrollWidth) {\n el.setAttribute('title', domutil.getData(el, 'title'));\n }\n });\n }\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/common.js\n// module id = 6\n// module chunks = 0","// Create a simple path alias to allow browserify to resolve\n// the runtime on a supported path.\nmodule.exports = require('./dist/cjs/handlebars.runtime')['default'];\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/runtime.js\n// module id = 7\n// module chunks = 0","/**\n * @fileoverview The base class of views.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domutil = require('../common/domutil');\nvar Collection = require('../common/collection');\n\n/**\n * Base class of views.\n *\n * All views create own container element inside supplied container element.\n * @constructor\n * @param {HTMLElement} container Default container element for view.\n * you can use this element for this.container syntax.\n */\nfunction View(container) {\n var id = util.stamp(this);\n\n if (util.isUndefined(container)) {\n container = domutil.appendHTMLElement('div');\n }\n\n domutil.addClass(container, this.cssprefix(id));\n\n /**\n * unique id\n * @type {number}\n */\n this.id = id;\n\n /**\n * base element of view.\n * @type {HTMLDIVElement}\n */\n this.container = container;\n\n /*eslint-disable*/\n /**\n * child views.\n * @type {Collection}\n */\n this.children = new Collection(function(view) {\n return util.stamp(view);\n });\n /* eslint-enable*/\n\n /**\n * parent view instance.\n * @type {View}\n */\n this.parent = null;\n}\n\n/**\n * CSS classname prefix\n * @type {string}\n */\nView.prototype.cssPrefix = 'tui-view-';\n\n/**\n * Add child views.\n * @param {View} view The view instance to add.\n * @param {function} [fn] Function for invoke before add. parent view class is supplied first arguments.\n */\nView.prototype.addChild = function(view, fn) {\n if (fn) {\n fn.call(view, this);\n }\n // add parent view\n view.parent = this;\n\n this.children.add(view);\n};\n\n/**\n * Remove added child view.\n * @param {(number|View)} id View id or instance itself to remove.\n * @param {function} [fn] Function for invoke before remove. parent view class is supplied first arguments.\n */\nView.prototype.removeChild = function(id, fn) {\n var view = util.isNumber(id) ? this.children.items[id] : id;\n\n id = util.stamp(view);\n\n if (fn) {\n fn.call(view, this);\n }\n\n this.children.remove(id);\n};\n\n/**\n * Render view recursively.\n */\nView.prototype.render = function() {\n this.children.each(function(childView) {\n childView.render();\n });\n};\n\n/**\n * Invoke function recursively.\n * @param {function} fn - function to invoke child view recursively\n * @param {boolean} [skipThis=false] - set true then skip invoke with this(root) view.\n */\nView.prototype.recursive = function(fn, skipThis) {\n if (!util.isFunction(fn)) {\n return;\n }\n\n if (!skipThis) {\n fn(this);\n }\n\n this.children.each(function(childView) {\n childView.recursive(fn);\n });\n};\n\n/**\n * Resize view recursively to parent.\n */\nView.prototype.resize = function() {\n var args = Array.prototype.slice.call(arguments),\n parent = this.parent;\n\n while (parent) {\n if (util.isFunction(parent._onResize)) {\n parent._onResize.apply(parent, args);\n }\n\n parent = parent.parent;\n }\n};\n\n/**\n * Invoking method before destroying.\n */\nView.prototype._beforeDestroy = function() {};\n\n/**\n * Clear properties\n */\nView.prototype._destroy = function() {\n this._beforeDestroy();\n this.children.clear();\n this.container.innerHTML = '';\n\n this.id = this.parent = this.children = this.container = null;\n};\n\n/*eslint-disable*/\n/**\n * Destroy child view recursively.\n */\nView.prototype.destroy = function(isChildView) {\n this.children.each(function(childView) {\n childView.destroy(true);\n childView._destroy();\n });\n\n if (isChildView) {\n return;\n }\n\n this._destroy();\n};\n/* eslint-enable*/\n\n/**\n * Calculate view's container element bound.\n * @returns {object} The bound of container element.\n */\nView.prototype.getViewBound = function() {\n var container = this.container,\n position = domutil.getPosition(container),\n size = domutil.getSize(container);\n\n return {\n x: position[0],\n y: position[1],\n width: size[0],\n height: size[1]\n };\n};\n\n/**\n * Return view default CSS prefix\n * @param {string} [className] - if supplied then return prefix added class name\n * @returns {string} CSS prefix value\n */\nView.prototype.cssprefix = function(className) {\n return this.cssPrefix + (className || '');\n};\n\nutil.CustomEvents.mixin(View);\n\nmodule.exports = View;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/view.js\n// module id = 8\n// module chunks = 0","/* eslint complexity: 0 */\n/**\n * @fileoverview Utility module for handling DOM events.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar browser = util.browser,\n eventKey = '_evt',\n DRAG = {\n START: ['touchstart', 'mousedown'],\n END: {\n mousedown: 'mouseup',\n touchstart: 'touchend',\n pointerdown: 'touchend',\n MSPointerDown: 'touchend'\n },\n MOVE: {\n mousedown: 'mousemove',\n touchstart: 'touchmove',\n pointerdown: 'touchmove',\n MSPointerDown: 'touchmove'\n }\n };\n\nvar domevent = {\n /**\n * Bind dom events.\n * @param {HTMLElement} obj HTMLElement to bind events.\n * @param {(string|object)} types Space splitted events names or eventName:handler object.\n * @param {*} fn handler function or context for handler method.\n * @param {*} [context] context object for handler method.\n */\n on: function(obj, types, fn, context) {\n if (util.isString(types)) {\n util.forEach(types.split(' '), function(type) {\n domevent._on(obj, type, fn, context);\n });\n\n return;\n }\n\n util.forEachOwnProperties(types, function(handler, type) {\n domevent._on(obj, type, handler, fn);\n });\n },\n\n /**\n * DOM event binding.\n * @param {HTMLElement} obj HTMLElement to bind events.\n * @param {String} type The name of events.\n * @param {*} fn handler function\n * @param {*} [context] context object for handler method.\n * @private\n */\n _on: function(obj, type, fn, context) {\n var id,\n handler,\n originHandler;\n\n id = type + util.stamp(fn) + (context ? '_' + util.stamp(context) : '');\n\n if (obj[eventKey] && obj[eventKey][id]) {\n return;\n }\n\n handler = function(e) {\n fn.call(context || obj, e || window.event);\n };\n\n originHandler = handler;\n\n if ('addEventListener' in obj) {\n if (type === 'mouseenter' || type === 'mouseleave') {\n handler = function(e) {\n e = e || window.event;\n if (!domevent._checkMouse(obj, e)) {\n return;\n }\n originHandler(e);\n };\n obj.addEventListener((type === 'mouseenter') ?\n 'mouseover' : 'mouseout', handler, false);\n } else {\n if (type === 'mousewheel') {\n obj.addEventListener('DOMMouseScroll', handler, false);\n }\n\n obj.addEventListener(type, handler, false);\n }\n } else if ('attachEvent' in obj) {\n obj.attachEvent('on' + type, handler);\n }\n\n obj[eventKey] = obj[eventKey] || {};\n obj[eventKey][id] = handler;\n },\n\n /**\n * Unbind DOM Event handler.\n * @param {HTMLElement} obj HTMLElement to unbind.\n * @param {(string|object)} types Space splitted events names or eventName:handler object.\n * @param {*} fn handler function or context for handler method.\n * @param {*} [context] context object for handler method.\n */\n off: function(obj, types, fn, context) {\n if (util.isString(types)) {\n util.forEach(types.split(' '), function(type) {\n domevent._off(obj, type, fn, context);\n });\n\n return;\n }\n\n util.forEachOwnProperties(types, function(handler, type) {\n domevent._off(obj, type, handler, fn);\n });\n },\n\n /**\n * Unbind DOM event handler.\n * @param {HTMLElement} obj HTMLElement to unbind.\n * @param {String} type The name of event to unbind.\n * @param {function()} fn Event handler that supplied when binding.\n * @param {*} context context object that supplied when binding.\n * @private\n */\n _off: function(obj, type, fn, context) {\n var id = type + util.stamp(fn) + (context ? '_' + util.stamp(context) : ''),\n handler = obj[eventKey] && obj[eventKey][id];\n\n if (!handler) {\n return;\n }\n\n if ('removeEventListener' in obj) {\n if (type === 'mouseenter' || type === 'mouseleave') {\n obj.removeEventListener((type === 'mouseenter') ?\n 'mouseover' : 'mouseout', handler, false);\n } else {\n if (type === 'mousewheel') {\n obj.removeEventListener('DOMMouseScroll', handler, false);\n }\n\n obj.removeEventListener(type, handler, false);\n }\n } else if ('detachEvent' in obj) {\n try {\n obj.detachEvent('on' + type, handler);\n } catch (e) {} //eslint-disable-line\n }\n\n delete obj[eventKey][id];\n\n if (util.keys(obj[eventKey]).length) {\n return;\n }\n\n // throw exception when deleting host object's property in below IE8\n if (util.browser.msie && util.browser.version < 9) {\n obj[eventKey] = null;\n\n return;\n }\n\n delete obj[eventKey];\n },\n\n /**\n * Bind DOM event. this event will unbind after invokes.\n * @param {HTMLElement} obj HTMLElement to bind events.\n * @param {(string|object)} types Space splitted events names or eventName:handler object.\n * @param {*} fn handler function or context for handler method.\n * @param {*} [context] context object for handler method.\n */\n once: function(obj, types, fn, context) {\n var self = this;\n\n if (util.isObject(types)) {\n util.forEachOwnProperties(types, function(handler, type) {\n domevent.once(obj, type, handler, fn);\n });\n\n return;\n }\n\n /**\n * Handler for temporary usage for once implementation\n */\n function onceHandler() {\n fn.apply(context || obj, arguments);\n self._off(obj, types, onceHandler, context);\n }\n\n domevent.on(obj, types, onceHandler, context);\n },\n\n /**\n * Cancel event bubbling.\n * @param {Event} e Event object.\n */\n stopPropagation: function(e) {\n if (e.stopPropagation) {\n e.stopPropagation();\n } else {\n e.cancelBubble = true;\n }\n },\n\n /**\n * Cancel browser default actions.\n * @param {Event} e Event object.\n */\n preventDefault: function(e) {\n if (e.preventDefault) {\n e.preventDefault();\n } else {\n e.returnValue = false;\n }\n },\n\n /**\n * Syntatic sugar of stopPropagation and preventDefault\n * @param {Event} e Event object.\n */\n stop: function(e) {\n domevent.preventDefault(e);\n domevent.stopPropagation(e);\n },\n\n /**\n * Stop scroll events.\n * @param {HTMLElement} el HTML element to prevent scroll.\n */\n disableScrollPropagation: function(el) {\n domevent.on(el, 'mousewheel MozMousePixelScroll', domevent.stopPropagation);\n },\n\n /**\n * Stop all events related with click.\n * @param {HTMLElement} el HTML element to prevent all event related with click.\n */\n disableClickPropagation: function(el) {\n domevent.on(el, DRAG.START.join(' ') + ' click dblclick', domevent.stopPropagation);\n },\n\n /**\n * Get mouse position from mouse event.\n *\n * If supplied relatveElement parameter then return relative position based on element.\n * @param {Event} mouseEvent Mouse event object\n * @param {HTMLElement} relativeElement HTML element that calculate relative position.\n * @returns {number[]} mouse position.\n */\n getMousePosition: function(mouseEvent, relativeElement) {\n var rect;\n\n if (!relativeElement) {\n return [mouseEvent.clientX, mouseEvent.clientY];\n }\n\n rect = relativeElement.getBoundingClientRect();\n\n return [\n mouseEvent.clientX - rect.left - relativeElement.clientLeft,\n mouseEvent.clientY - rect.top - relativeElement.clientTop\n ];\n },\n\n /**\n * Normalize mouse wheel event that different each browsers.\n * @param {MouseEvent} e Mouse wheel event.\n * @returns {Number} delta\n */\n getWheelDelta: function(e) {\n var delta = 0;\n\n if (e.wheelDelta) {\n delta = e.wheelDelta / 120;\n }\n\n if (e.detail) {\n delta = -e.detail / 3;\n }\n\n return delta;\n },\n\n /**\n * prevent firing mouseleave event when mouse entered child elements.\n * @param {HTMLElement} el HTML element\n * @param {MouseEvent} e Mouse event\n * @returns {Boolean} leave?\n * @private\n */\n _checkMouse: function(el, e) {\n var related = e.relatedTarget;\n\n if (!related) {\n return true;\n }\n\n try {\n while (related && (related !== el)) {\n related = related.parentNode;\n }\n } catch (err) {\n return false;\n }\n\n return (related !== el);\n },\n\n /**\n * Trigger specific events to html element.\n * @param {HTMLElement} obj HTMLElement\n * @param {string} type Event type name\n * @param {object} [eventData] Event data\n */\n trigger: function(obj, type, eventData) {\n var rMouseEvent = /(mouse|click)/;\n if (util.isUndefined(eventData) && rMouseEvent.exec(type)) {\n eventData = domevent.mouseEvent(type);\n }\n\n if (obj.dispatchEvent) {\n obj.dispatchEvent(eventData);\n } else if (obj.fireEvent) {\n obj.fireEvent('on' + type, eventData);\n }\n },\n\n /**\n * Create virtual mouse event.\n *\n * Tested at\n *\n * - IE7 ~ IE11\n * - Chrome\n * - Firefox\n * - Safari\n * @param {string} type Event type\n * @param {object} [eventObj] Event data\n * @returns {MouseEvent} Virtual mouse event.\n */\n mouseEvent: function(type, eventObj) {\n var evt,\n e;\n\n e = util.extend({\n bubbles: true,\n cancelable: (type !== 'mousemove'),\n view: window,\n wheelDelta: 0,\n detail: 0,\n screenX: 0,\n screenY: 0,\n clientX: 0,\n clientY: 0,\n ctrlKey: false,\n altKey: false,\n shiftKey: false,\n metaKey: false,\n button: 0,\n relatedTarget: undefined // eslint-disable-line\n }, eventObj);\n\n // prevent throw error when inserting wheelDelta property to mouse event on below IE8\n if (browser.msie && browser.version < 9) {\n delete e.wheelDelta;\n }\n\n if (typeof document.createEvent === 'function') {\n evt = document.createEvent('MouseEvents');\n evt.initMouseEvent(type,\n e.bubbles, e.cancelable, e.view, e.detail,\n e.screenX, e.screenY, e.clientX, e.clientY,\n e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,\n e.button, document.body.parentNode\n );\n } else if (document.createEventObject) {\n evt = document.createEventObject();\n\n util.forEach(e, function(value, propName) {\n evt[propName] = value;\n }, this);\n evt.button = {0: 1,\n 1: 4,\n 2: 2}[evt.button] || evt.button;\n }\n\n return evt;\n },\n\n /**\n * Normalize mouse event's button attributes.\n *\n * Can detect which button is clicked by this method.\n *\n * Meaning of return numbers\n *\n * - 0: primary mouse button\n * - 1: wheel button or center button\n * - 2: secondary mouse button\n * @param {MouseEvent} mouseEvent - The mouse event object want to know.\n * @returns {number} - The value of meaning which button is clicked?\n */\n getMouseButton: function(mouseEvent) {\n var button,\n primary = '0,1,3,5,7',\n secondary = '2,6',\n wheel = '4';\n\n /* istanbul ignore else */\n if (document.implementation.hasFeature('MouseEvents', '2.0')) {\n return mouseEvent.button;\n }\n\n button = String(mouseEvent.button);\n if (primary.indexOf(button) > -1) {\n return 0;\n }\n if (secondary.indexOf(button) > -1) {\n return 2;\n }\n if (~wheel.indexOf(button)) {\n return 1;\n }\n\n return -1;\n }\n};\n\nmodule.exports = domevent;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/domevent.js\n// module id = 9\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.extend = extend;\nexports.indexOf = indexOf;\nexports.escapeExpression = escapeExpression;\nexports.isEmpty = isEmpty;\nexports.createFrame = createFrame;\nexports.blockParams = blockParams;\nexports.appendContextPath = appendContextPath;\nvar escape = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`',\n '=': '='\n};\n\nvar badChars = /[&<>\"'`=]/g,\n possible = /[&<>\"'`=]/;\n\nfunction escapeChar(chr) {\n return escape[chr];\n}\n\nfunction extend(obj /* , ...source */) {\n for (var i = 1; i < arguments.length; i++) {\n for (var key in arguments[i]) {\n if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n obj[key] = arguments[i][key];\n }\n }\n }\n\n return obj;\n}\n\nvar toString = Object.prototype.toString;\n\nexports.toString = toString;\n// Sourced from lodash\n// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt\n/* eslint-disable func-style */\nvar isFunction = function isFunction(value) {\n return typeof value === 'function';\n};\n// fallback for older versions of Chrome and Safari\n/* istanbul ignore next */\nif (isFunction(/x/)) {\n exports.isFunction = isFunction = function (value) {\n return typeof value === 'function' && toString.call(value) === '[object Function]';\n };\n}\nexports.isFunction = isFunction;\n\n/* eslint-enable func-style */\n\n/* istanbul ignore next */\nvar isArray = Array.isArray || function (value) {\n return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;\n};\n\nexports.isArray = isArray;\n// Older IE versions do not directly support indexOf so we must implement our own, sadly.\n\nfunction indexOf(array, value) {\n for (var i = 0, len = array.length; i < len; i++) {\n if (array[i] === value) {\n return i;\n }\n }\n return -1;\n}\n\nfunction escapeExpression(string) {\n if (typeof string !== 'string') {\n // don't escape SafeStrings, since they're already safe\n if (string && string.toHTML) {\n return string.toHTML();\n } else if (string == null) {\n return '';\n } else if (!string) {\n return string + '';\n }\n\n // Force a string conversion as this will be done by the append regardless and\n // the regex test will do this transparently behind the scenes, causing issues if\n // an object's to string has escaped characters in it.\n string = '' + string;\n }\n\n if (!possible.test(string)) {\n return string;\n }\n return string.replace(badChars, escapeChar);\n}\n\nfunction isEmpty(value) {\n if (!value && value !== 0) {\n return true;\n } else if (isArray(value) && value.length === 0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction createFrame(object) {\n var frame = extend({}, object);\n frame._parent = object;\n return frame;\n}\n\nfunction blockParams(params, ids) {\n params.path = ids;\n return params;\n}\n\nfunction appendContextPath(contextPath, id) {\n return (contextPath ? contextPath + '.' : '') + id;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3V0aWxzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNLE1BQU0sR0FBRztBQUNiLEtBQUcsRUFBRSxPQUFPO0FBQ1osS0FBRyxFQUFFLE1BQU07QUFDWCxLQUFHLEVBQUUsTUFBTTtBQUNYLEtBQUcsRUFBRSxRQUFRO0FBQ2IsS0FBRyxFQUFFLFFBQVE7QUFDYixLQUFHLEVBQUUsUUFBUTtBQUNiLEtBQUcsRUFBRSxRQUFRO0NBQ2QsQ0FBQzs7QUFFRixJQUFNLFFBQVEsR0FBRyxZQUFZO0lBQ3ZCLFFBQVEsR0FBRyxXQUFXLENBQUM7O0FBRTdCLFNBQVMsVUFBVSxDQUFDLEdBQUcsRUFBRTtBQUN2QixTQUFPLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztDQUNwQjs7QUFFTSxTQUFTLE1BQU0sQ0FBQyxHQUFHLG9CQUFtQjtBQUMzQyxPQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtBQUN6QyxTQUFLLElBQUksR0FBRyxJQUFJLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFBRTtBQUM1QixVQUFJLE1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dGgsIGlkKSB7XG4gIHJldHVybiAoY29udGV4dFBhdGggPyBjb250ZXh0UGF0aCArICcuJyA6ICcnKSArIGlkO1xufVxuIl19\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/utils.js\n// module id = 10\n// module chunks = 0","/**\n * @fileoverview Common collections.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar forEachProp = util.forEachOwnProperties,\n forEachArr = util.forEachArray,\n isFunc = util.isFunction,\n isObj = util.isObject;\n\nvar aps = Array.prototype.slice;\n\n/**\n * Common collection.\n *\n * It need function for get model's unique id.\n *\n * if the function is not supplied then it use default function {@link Collection#getItemID}\n * @constructor\n * @param {function} [getItemIDFn] function for get model's id.\n */\nfunction Collection(getItemIDFn) {\n /**\n * @type {object.}\n */\n this.items = {};\n\n /**\n * @type {number}\n */\n this.length = 0;\n\n if (isFunc(getItemIDFn)) {\n /**\n * @type {function}\n */\n this.getItemID = getItemIDFn;\n }\n}\n\n/**********\n * static props\n **********/\n\n/**\n * Combind supplied function filters and condition.\n * @param {...function} filters - function filters\n * @returns {function} combined filter\n */\nCollection.and = function(filters) {\n var cnt;\n\n filters = aps.call(arguments);\n cnt = filters.length;\n\n return function(item) {\n var i = 0;\n\n for (; i < cnt; i += 1) {\n if (!filters[i].call(null, item)) {\n return false;\n }\n }\n\n return true;\n };\n};\n\n/**\n * Combine multiple function filters with OR clause.\n * @param {...function} filters - function filters\n * @returns {function} combined filter\n */\nCollection.or = function(filters) {\n var cnt;\n\n filters = aps.call(arguments);\n cnt = filters.length;\n\n return function(item) {\n var i = 1,\n result = filters[0].call(null, item);\n\n for (; i < cnt; i += 1) {\n result = (result || filters[i].call(null, item));\n }\n\n return result;\n };\n};\n\n/**\n * Merge several collections.\n *\n * You can\\'t merge collections different _getScheduleID functions. Take case of use.\n * @param {...Collection} collections collection arguments to merge\n * @returns {Collection} merged collection.\n */\nCollection.merge = function(collections) { // eslint-disable-line\n var cols = aps.call(arguments),\n newItems = {},\n merged = new Collection(cols[0].getItemID),\n extend = util.extend;\n\n forEachArr(cols, function(col) {\n extend(newItems, col.items);\n });\n\n merged.items = newItems;\n merged.length = util.keys(merged.items).length;\n\n return merged;\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * get model's unique id.\n * @param {object} item model instance.\n * @returns {number} model unique id.\n */\nCollection.prototype.getItemID = function(item) {\n return String(item._id);\n};\n\n/**\n * add models.\n * @param {...*} item models to add this collection.\n */\nCollection.prototype.add = function(item) {\n var self = this,\n id,\n ownItems;\n\n if (arguments.length > 1) {\n forEachArr(aps.call(arguments), function(o) {\n self.add(o);\n });\n\n return;\n }\n\n id = this.getItemID(item);\n ownItems = this.items;\n\n if (!ownItems[id]) {\n this.length += 1;\n }\n ownItems[id] = item;\n};\n\n/**\n * remove models.\n * @param {...(object|string|number)} id model instance or unique id to delete.\n * @returns {array} deleted model list.\n */\nCollection.prototype.remove = function(id) {\n var self = this,\n removed = [],\n ownItems,\n itemToRemove;\n\n if (!this.length) {\n return removed;\n }\n\n if (arguments.length > 1) {\n removed = util.map(aps.call(arguments), function(_id) {\n return self.remove(_id);\n });\n\n return removed;\n }\n\n ownItems = this.items;\n\n if (isObj(id)) {\n id = this.getItemID(id);\n }\n\n if (!ownItems[id]) {\n return removed;\n }\n\n this.length -= 1;\n itemToRemove = ownItems[id];\n delete ownItems[id];\n\n return itemToRemove;\n};\n\n/**\n * remove all models in collection.\n */\nCollection.prototype.clear = function() {\n this.items = {};\n this.length = 0;\n};\n\n/**\n * check collection has specific model.\n * @param {(object|string|number|function)} id model instance or id or filter function to check\n * @returns {boolean} is has model?\n */\nCollection.prototype.has = function(id) {\n var isFilter,\n has;\n\n if (!this.length) {\n return false;\n }\n\n isFilter = isFunc(id);\n has = false;\n\n if (isFilter) {\n this.each(function(item) {\n if (id(item) === true) {\n has = true;\n\n return false; // returning false can stop this loop\n }\n\n return true;\n });\n } else {\n id = isObj(id) ? this.getItemID(id) : id;\n has = util.isExisty(this.items[id]);\n }\n\n return has;\n};\n\n/**\n * invoke callback when model exist in collection.\n * @param {(string|number)} id model unique id.\n * @param {function} fn the callback.\n * @param {*} [context] callback context.\n */\nCollection.prototype.doWhenHas = function(id, fn, context) {\n var item = this.items[id];\n\n if (!util.isExisty(item)) {\n return;\n }\n\n fn.call(context || this, item);\n};\n\n/**\n * Search model. and return new collection.\n * @param {function} filter filter function.\n * @returns {Collection} new collection with filtered models.\n * @example\n * collection.find(function(item) {\n * return item.edited === true;\n * });\n *\n * function filter1(item) {\n * return item.edited === false;\n * }\n *\n * function filter2(item) {\n * return item.disabled === false;\n * }\n *\n * collection.find(Collection.and(filter1, filter2));\n *\n * collection.find(Collection.or(filter1, filter2));\n */\nCollection.prototype.find = function(filter) {\n var result = new Collection();\n\n if (this.hasOwnProperty('getItemID')) {\n result.getItemID = this.getItemID;\n }\n\n this.each(function(item) {\n if (filter(item) === true) {\n result.add(item);\n }\n });\n\n return result;\n};\n\n/**\n * Group element by specific key values.\n *\n * if key parameter is function then invoke it and use returned value.\n * @param {(string|number|function|array)} key key property or getter function.\n * if string[] supplied, create each collection before grouping.\n * @param {function} [groupFunc] - function that return each group's key\n * @returns {object.} grouped object\n * @example\n *\n * // pass `string`, `number`, `boolean` type value then group by property value.\n * collection.groupBy('gender'); // group by 'gender' property value.\n * collection.groupBy(50); // group by '50' property value.\n *\n * // pass `function` then group by return value. each invocation `function` is called with `(item)`.\n * collection.groupBy(function(item) {\n * if (item.score > 60) {\n * return 'pass';\n * }\n * return 'fail';\n * });\n *\n * // pass `array` with first arguments then create each collection before grouping.\n * collection.groupBy(['go', 'ruby', 'javascript']);\n * // result: { 'go': empty Collection, 'ruby': empty Collection, 'javascript': empty Collection }\n *\n * // can pass `function` with `array` then group each elements.\n * collection.groupBy(['go', 'ruby', 'javascript'], function(item) {\n * if (item.isFast) {\n * return 'go';\n * }\n *\n * return item.name;\n * });\n */\nCollection.prototype.groupBy = function(key, groupFunc) {\n var result = {},\n collection,\n baseValue,\n keyIsFunc = isFunc(key),\n getItemIDFn = this.getItemID;\n\n if (util.isArray(key)) {\n util.forEachArray(key, function(k) {\n result[String(k)] = new Collection(getItemIDFn);\n });\n\n if (!groupFunc) {\n return result;\n }\n\n key = groupFunc;\n keyIsFunc = true;\n }\n\n this.each(function(item) {\n if (keyIsFunc) {\n baseValue = key(item);\n } else {\n baseValue = item[key];\n\n if (isFunc(baseValue)) {\n baseValue = baseValue.apply(item);\n }\n }\n\n collection = result[baseValue];\n\n if (!collection) {\n collection = result[baseValue] = new Collection(getItemIDFn);\n }\n\n collection.add(item);\n });\n\n return result;\n};\n\n/**\n * Return single item in collection.\n *\n * Returned item is inserted in this collection firstly.\n * @param {function} [filter] - function filter\n * @returns {object} item.\n */\nCollection.prototype.single = function(filter) {\n var result,\n useFilter = util.isFunction(filter);\n\n this.each(function(item) {\n if (!useFilter) {\n result = item;\n\n return false; // returning false can stop this loop\n }\n if (filter(item)) {\n result = item;\n\n return false; // returning false can stop this loop\n }\n\n return true;\n }, this);\n\n return result;\n};\n\n/**\n * sort a basis of supplied compare function.\n * @param {function} compareFunction compareFunction\n * @returns {array} sorted array.\n */\nCollection.prototype.sort = function(compareFunction) {\n var arr = [];\n\n this.each(function(item) {\n arr.push(item);\n });\n\n if (isFunc(compareFunction)) {\n arr = arr.sort(compareFunction);\n }\n\n return arr;\n};\n\n/**\n * iterate each model element.\n *\n * when iteratee return false then break the loop.\n * @param {function} iteratee iteratee(item, index, items)\n * @param {*} [context] context\n */\nCollection.prototype.each = function(iteratee, context) {\n forEachProp(this.items, iteratee, context || this);\n};\n\n/**\n * return new array with collection items.\n * @returns {array} new array.\n */\nCollection.prototype.toArray = function() {\n if (!this.length) {\n return [];\n }\n\n return util.map(this.items, function(item) {\n return item;\n });\n};\n\nmodule.exports = Collection;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/collection.js\n// module id = 11\n// module chunks = 0","/**\n * @fileoverview RequestAnimFrame\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar requestFn,\n cancelFn;\n\n/**\n * Get name with vendor prefix\n * @param {string} name - name to prepend prefix\n * @returns {string} vendor prefixed name\n */\nfunction getPrefixed(name) {\n return global['webkit' + name] || global['moz' + name] || global['ms' + name];\n}\n\nrequestFn = global.requestAnimationFrame ||\n getPrefixed('RequestAnimationFrame') ||\n function(fn, context) {\n fn.call(context);\n };\n\ncancelFn = global.cancelAnimationFrame ||\n getPrefixed('CancelAnimationFrame') ||\n getPrefixed('CancelRequestAnimationFrame') ||\n function() {};\n\n/**\n * @module module:reqAnimFrame\n */\n\nmodule.exports = {\n /**\n * Shim of requestAnimationFrame\n * @param {function} fn callback function\n * @param {*} context context for callback\n * @returns {number} Unique id\n */\n requestAnimFrame: function(fn, context) {\n return requestFn.call(global, util.bind(fn, context));\n },\n\n /**\n * Shim of cancelAnimationFrame\n * @param {number} id requestAnimationFrame id\n */\n cancelAnimFrame: function(id) {\n if (!id) {\n return;\n }\n\n cancelFn.call(global, id);\n }\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/reqAnimFrame.js\n// module id = 12\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];\n\nfunction Exception(message, node) {\n var loc = node && node.loc,\n line = undefined,\n column = undefined;\n if (loc) {\n line = loc.start.line;\n column = loc.start.column;\n\n message += ' - ' + line + ':' + column;\n }\n\n var tmp = Error.prototype.constructor.call(this, message);\n\n // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.\n for (var idx = 0; idx < errorProps.length; idx++) {\n this[errorProps[idx]] = tmp[errorProps[idx]];\n }\n\n /* istanbul ignore else */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, Exception);\n }\n\n try {\n if (loc) {\n this.lineNumber = line;\n\n // Work around issue under safari where we can't directly set the column value\n /* istanbul ignore next */\n if (Object.defineProperty) {\n Object.defineProperty(this, 'column', {\n value: column,\n enumerable: true\n });\n } else {\n this.column = column;\n }\n }\n } catch (nop) {\n /* Ignore if the browser is very particular */\n }\n}\n\nException.prototype = new Error();\n\nexports['default'] = Exception;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2V4Y2VwdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQ0EsSUFBTSxVQUFVLEdBQUcsQ0FBQyxhQUFhLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxPQUFPLENBQUMsQ0FBQzs7QUFFbkcsU0FBUyxTQUFTLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRTtBQUNoQyxNQUFJLEdBQUcsR0FBRyxJQUFJLElBQUksSUFBSSxDQUFDLEdBQUc7TUFDdEIsSUFBSSxZQUFBO01BQ0osTUFBTSxZQUFBLENBQUM7QUFDWCxNQUFJLEdBQUcsRUFBRTtBQUNQLFFBQUksR0FBRyxHQUFHLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQztBQUN0QixVQUFNLEdBQUcsR0FBRyxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUM7O0FBRTFCLFdBQU8sSUFBSSxLQUFLLEdBQUcsSUFBSSxHQUFHLEdBQUcsR0FBRyxNQUFNLENBQUM7R0FDeEM7O0FBRUQsTUFBSSxHQUFHLEdBQUcsS0FBSyxDQUFDLFNBQVMsQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQzs7O0FBRzFELE9BQUssSUFBSSxHQUFHLEdBQUcsQ0FBQyxFQUFFLEdBQUcsR0FBRyxVQUFVLENBQUMsTUFBTSxFQUFFLEdBQUc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IGVudW1lcmFibGU6IHRydWVcbiAgICAgICAgfSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aGlzLmNvbHVtbiA9IGNvbHVtbjtcbiAgICAgIH1cbiAgICB9XG4gIH0gY2F0Y2ggKG5vcCkge1xuICAgIC8qIElnbm9yZSBpZiB0aGUgYnJvd3NlciBpcyB2ZXJ5IHBhcnRpY3VsYXIgKi9cbiAgfVxufVxuXG5FeGNlcHRpb24ucHJvdG90eXBlID0gbmV3IEVycm9yKCk7XG5cbmV4cG9ydCBkZWZhdWx0IEV4Y2VwdGlvbjtcbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/exception.js\n// module id = 13\n// module chunks = 0","/**\n * @fileoverview Utility module for array sort, binary search.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar datetime = require('../common/datetime');\n\n/**\n * A module for sorting array.\n * @module array\n */\n\n/**********\n * Search\n **********/\n\n/**\n * search item index using binary search algorithm.\n *\n * the array must be sorted.\n * @param {array} arr array to search.\n * @param {(string|number|boolean)} search value to search.\n * @param {function} [fn] iteratee for retrieve each element's value to search.\n * @param {function} [compare] compare function for specific sort status. default is string ascending.\n * @returns {number} The number of item index searched. return negative number when no exist that item.\n * It can use insert index after Math.abs()\n * @example\n *\n * var arr = [1, 3, 7, 11, 15, 23];\n *\n * function sortNumber(a, b) {\n * return a - b;\n * }\n *\n * bsearch(arr, 15, null, sortNumber); // 4\n * bsearch(arr, 21, null, sortNumber); // -5\n *\n * arr.splice(Math.abs(bsearch(arr, 21, null, sortNumber)), 0, 21);\n * // [1, 2, 7, 11, 15, 21, 23]\n */\nfunction bsearch(arr, search, fn, compare) {\n var minIndex = 0,\n maxIndex = arr.length - 1,\n currentIndex,\n value,\n comp;\n\n compare = compare || stringASC;\n\n while (minIndex <= maxIndex) {\n currentIndex = (minIndex + maxIndex) / 2 | 0; // Math.floor\n value = fn ? fn(arr[currentIndex]) : arr[currentIndex];\n comp = compare(value, search);\n\n if (comp < 0) {\n minIndex = currentIndex + 1;\n } else if (comp > 0) {\n maxIndex = currentIndex - 1;\n } else {\n return currentIndex;\n }\n }\n\n return ~maxIndex;\n}\n\n/**********\n * Compare Functions\n **********/\n\n/**\n * compare function for array sort.\n *\n * sort array by ascending.\n * @param {boolean} a The boolean to compare\n * @param {boolean} b The boolean to compare.\n * @returns {number} Result of comparison.\n */\nfunction booleanASC(a, b) {\n if (a !== b) {\n return a ? -1 : 1;\n }\n\n return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by descending.\n * @param {boolean} a The boolean to compare\n * @param {boolean} b The boolean to compare.\n * @returns {number} Result of comparison.\n */\nfunction booleanDESC(a, b) {\n if (a !== b) {\n return a ? 1 : -1;\n }\n\n return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by number ascending.\n * @param {number} _a The number to compare.\n * @param {number} _b The number to compare.\n * @returns {number} Result of comparison.\n */\nfunction numberASC(_a, _b) {\n var a = Number(_a),\n b = Number(_b);\n\n return a - b;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by number descending.\n * @param {number} _a The number to compare.\n * @param {number} _b The number to compare.\n * @returns {number} Result of comparison.\n */\nfunction numberDESC(_a, _b) {\n var a = Number(_a),\n b = Number(_b);\n\n return b - a;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string ascending\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringASC(_a, _b) {\n var a = String(_a),\n b = String(_b);\n\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n\n return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string descending\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringDESC(_a, _b) {\n var a = String(_a),\n b = String(_b);\n\n if (a > b) {\n return -1;\n }\n if (a < b) {\n return 1;\n }\n\n return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string ascending with ignore case.\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringASCIgnoreCase(_a, _b) {\n var a = String(_a).toLowerCase(),\n b = String(_b).toLowerCase();\n\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n\n return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string descending with ignore case.\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringDESCIgnoreCase(_a, _b) {\n var a = String(_a).toLowerCase(),\n b = String(_b).toLowerCase();\n\n if (a > b) {\n return -1;\n }\n if (a < b) {\n return 1;\n }\n\n return 0;\n}\n\n/**\n * Compare schedule models for sort.\n *\n * 1. all day schedule first.\n * 2. early start.\n * 3. longest duration.\n * 4. early created.\n * @param {Schedule|ScheduleViewModel} a The object schedule instance.\n * @param {Schedule|ScheduleViewModel} b The object schedule instance.\n * @returns {number} Result of comparison.\n */\nfunction scheduleASC(a, b) {\n var durationA, durationB;\n var allDayCompare, startsCompare;\n var modelA = a.valueOf();\n var modelB = b.valueOf();\n\n allDayCompare = booleanASC(modelA.isAllDay || a.hasMultiDates, modelB.isAllDay || b.hasMultiDates);\n\n if (allDayCompare) {\n return allDayCompare;\n }\n\n startsCompare = datetime.compare(a.getStarts(), b.getStarts());\n\n if (startsCompare) {\n return startsCompare;\n }\n\n durationA = a.duration().getTime();\n durationB = b.duration().getTime();\n\n if (durationA < durationB) {\n return 1;\n }\n if (durationA > durationB) {\n return -1;\n }\n\n return util.stamp(modelA) - util.stamp(modelB);\n}\n\nmodule.exports = {\n bsearch: bsearch,\n compare: {\n schedule: {\n asc: scheduleASC\n },\n bool: {\n asc: booleanASC,\n desc: booleanDESC\n },\n num: {\n asc: numberASC,\n desc: numberDESC\n },\n str: {\n asc: stringASC,\n desc: stringDESC,\n ascIgnoreCase: stringASCIgnoreCase,\n descIgnoreCase: stringDESCIgnoreCase\n }\n }\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/array.js\n// module id = 14\n// module chunks = 0","/**\n * @fileoverview Wrapper module for easy calc date object\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar TZDate = require('../common/timezone').Date;\n\n/**\n * @constructor\n * @param {Date} date to wrapping DW class\n */\nfunction DW(date) {\n if (!(this instanceof DW)) {\n return new DW(date);\n }\n\n if (!(date instanceof TZDate)) {\n date = new TZDate(date);\n }\n\n /**\n * @type {Date}\n */\n this.d = date;\n}\n\n/**\n * Return d property when supplied object is DW. else return itself\n * @param {*} obj - object\n * @returns {Date} date\n */\nDW.prototype.safe = function(obj) {\n if (obj.constructor === DW) {\n return obj.d;\n }\n\n return obj;\n};\n\n/**\n * Clone DW object\n * @returns {DW} cloned dwrap object\n */\nDW.prototype.clone = function() {\n return new DW(new TZDate(Number(this.d)));\n};\n\n/**\n * Add days\n * @param {number} day - day to add\n * @returns {DW} wrapper object\n */\nDW.prototype.addDate = function(day) {\n this.d.setDate(this.d.getDate() + day);\n\n return this;\n};\n\n/**\n * Add month. If month value is changed, date set to 1.\n * @param {number} m - month to add\n * @returns {DW} wrapper object\n */\nDW.prototype.addMonth = function(m) {\n var prevMonth = this.d.getMonth();\n var prevYear = this.d.getFullYear();\n this.d.setMonth(prevMonth + m);\n\n // move to first day on the month because plus 1 month on '2017-01-31' means '2017-03-01'\n // Don't do it on different year(Because december + 1month is ok)\n if (this.d.getFullYear() === prevYear && this.d.getMonth() !== prevMonth) {\n this.d.setMonth(prevMonth + m, 1);\n }\n\n return this;\n};\n\n/**\n * Set hour, minutes, seconds, milliseconds\n * @param {number} h - hours\n * @param {number} m - minutes\n * @param {number} s - seconds\n * @param {number} ms - milliseconds\n * @returns {DW} wrapper object\n */\nDW.prototype.setHours = function(h, m, s, ms) {\n this.d.setHours(h, m, s, ms);\n\n return this;\n};\n\n/**\n * Whether date is between supplied dates?\n * @param {Date|DW} d1 - from date\n * @param {Date|DW} d2 - to date\n * @returns {boolean} is between?\n */\nDW.prototype.isBetween = function(d1, d2) {\n var safe = this.safe;\n\n return safe(d1) <= this.d && this.d <= safe(d2);\n};\n\nmodule.exports = DW;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/dw.js\n// module id = 15\n// module chunks = 0","/**\n * @fileoverview Floating layer module\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n domutil = require('../common/domutil'),\n View = require('../view/view');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for floating layer module\n * @param {HTMLElement} container - parent continer for floating layer\n */\nfunction FloatingLayer(options, container) {\n var sibling = container[FloatingLayer.PROP_KEY],\n layerContainer;\n\n if (!sibling) {\n sibling = container[FloatingLayer.PROP_KEY] = [];\n }\n\n sibling.push(this);\n\n /**\n * @type {Collection}\n */\n this.sibling = sibling;\n\n /**\n * @type {number}\n */\n this.zIndex = this.getLargestZIndex() || FloatingLayer.INIT_ZINDEX;\n\n layerContainer = document.createElement('div');\n layerContainer.style.display = 'none';\n layerContainer.style.position = 'absolute';\n domutil.addClass(layerContainer, config.classname('floating-layer'));\n container.appendChild(layerContainer);\n\n View.call(this, layerContainer);\n\n /**\n * @type {HTMLElement}\n */\n this.parent = container;\n}\n\nutil.inherit(FloatingLayer, View);\n\n/**\n * @const\n */\nFloatingLayer.PROP_KEY = '__fe_floating_layer';\n\n/**\n * @const\n */\nFloatingLayer.INIT_ZINDEX = 999;\n\n/**\n * Destroy floating layer instance. if there no instnace in parent container\n *\n * remove instance cache property in container element\n */\nFloatingLayer.prototype.destroy = function() {\n var parent = this.parent,\n sibling = this.sibling,\n i = 0, cnt = sibling.length;\n\n for (; i < cnt; i += 1) {\n if (sibling[i] === this) {\n sibling.splice(i, 1);\n break;\n }\n }\n\n if (!sibling.length) {\n try {\n delete parent[FloatingLayer.PROP_KEY];\n } catch (e) {\n parent[FloatingLayer.PROP_KEY] = null;\n }\n\n parent.style.position = '';\n }\n\n domutil.remove(this.container);\n\n this.sibling = null;\n\n View.prototype.destroy.call(this);\n};\n\n/**\n * @returns {boolean} whether layer is visible?\n */\nFloatingLayer.prototype.isVisible = function() {\n return this.container.style.display !== 'none';\n};\n\n/**\n * Set layer position\n * @param {number} x - x coordinate of layer\n * @param {number} y - y coordinate of layer\n */\nFloatingLayer.prototype.setPosition = function(x, y) {\n domutil.setPosition(this.container, x, y);\n};\n\n/**\n * Set layer left, top, right, bottom position\n * @param {object} ltrb object of left, top, right, bottom\n * @param {number} [ltrb.left] left pixel value.\n * @param {number} [ltrb.top] top pixel value.\n * @param {number} [ltrb.right] right pixel value.\n * @param {number} [ltrb.bottom] bottom pixel value.\n */\nFloatingLayer.prototype.setLTRB = function(ltrb) {\n domutil.setLTRB(this.container, ltrb);\n};\n\n/**\n * Set layer size\n * @param {number|string} w - layer width\n * @param {number|string} h - layer height\n */\nFloatingLayer.prototype.setSize = function(w, h) {\n var container = this.container;\n\n w = util.isNumber(w) ? w + 'px' : w;\n h = util.isNumber(h) ? h + 'px' : h;\n\n container.style.width = w;\n container.style.height = h;\n};\n\n/**\n * Set layer content\n * @param {string} html - html string\n */\nFloatingLayer.prototype.setContent = function(html) {\n this.container.innerHTML = html;\n};\n\n/**\n * Get largest z-index from sibling layers\n * @returns {number} largest z-index value\n */\nFloatingLayer.prototype.getLargestZIndex = function() {\n var zIndexes = util.map(this.sibling, function(layer) {\n return layer.zIndex;\n });\n\n return Math.max.apply(null, zIndexes);\n};\n\n/**\n * Set focus to layer\n */\nFloatingLayer.prototype.focus = function() {\n var zIndexForShow = this.getLargestZIndex() + 1;\n this.container.style.zIndex = this.zIndex = zIndexForShow;\n};\n\n/**\n * Show layer\n */\nFloatingLayer.prototype.show = function() {\n this.focus();\n this.container.style.display = 'block';\n};\n\n/**\n * Hide layer\n */\nFloatingLayer.prototype.hide = function() {\n this.container.style.display = 'none';\n};\n\nmodule.exports = FloatingLayer;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/floatingLayer.js\n// module id = 16\n// module chunks = 0","/* eslint no-shadow: 0 */\n/**\n * @fileoverview Base mixin object for handler/allday\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar common = require('../../common/common');\n\nvar mmax = Math.max,\n mmin = Math.min;\n\n/**\n * @mixin Allday.Core\n */\nvar alldayCore = {\n /**\n * @param {Allday} alldayView - view instance of allday.\n * @param {MouseEvent} mouseEvent - mouse schedule object.\n * @returns {function|boolean} function that return schedule data by mouse events.\n */\n _retriveScheduleData: function(alldayView, mouseEvent) {\n var weekdayView = alldayView.children.single(),\n container,\n datesInRange,\n containerWidth,\n mousePos,\n dragStartXIndex,\n grids,\n range;\n\n if (!weekdayView) {\n return false;\n }\n\n container = weekdayView.container;\n range = weekdayView.getRenderDateRange();\n datesInRange = range.length;\n grids = weekdayView.getRenderDateGrids();\n\n containerWidth = domutil.getSize(container)[0];\n mousePos = domevent.getMousePosition(mouseEvent, container);\n dragStartXIndex = getX(grids, common.ratio(containerWidth, 100, mousePos[0]));\n\n /**\n * @param {MouseEvent} mouseEvent - mouse schedule in drag actions.\n * @returns {object} schedule data.\n */\n return function(mouseEvent) {\n var pos = domevent.getMousePosition(mouseEvent, container),\n mouseX = pos[0],\n xIndex = getX(grids, common.ratio(containerWidth, 100, mouseX));\n\n // apply limitation of creation schedule X index.\n xIndex = mmax(xIndex, 0);\n xIndex = mmin(xIndex, datesInRange - 1);\n\n return {\n relatedView: alldayView,\n dragStartXIndex: dragStartXIndex,\n datesInRange: datesInRange,\n xIndex: xIndex,\n triggerEvent: mouseEvent.type,\n grids: grids,\n range: range\n };\n };\n }\n};\n\n/**\n * Get the left index\n * @param {Array} grids - grid size information\n * @param {number} left - left position(percent)\n * @returns {number} grid left index\n */\nfunction getX(grids, left) {\n var i = 0;\n var length = grids.length;\n var grid;\n for (; i < length; i += 1) {\n grid = grids[i];\n if (grid.left <= left && left <= (grid.left + grid.width)) {\n return i;\n }\n }\n\n return i;\n}\n\nmodule.exports = alldayCore;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/core.js\n// module id = 17\n// module chunks = 0","/**\n * @fileoverview Module for calculate date by month view and mouse event object\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar common = require('../../common/common'),\n domutil = require('../../common/domutil'),\n domevent = require('../../common/domevent');\nvar mfloor = Math.floor;\n\n/**\n * Get high order function that can calc date in mouse point\n * @param {Month} monthView - month view\n * @returns {function} function return event data by mouse event object\n */\nfunction getMousePosDate(monthView) {\n var weekColl = monthView.children,\n weeks = weekColl.sort(function(a, b) {\n return util.stamp(a) - util.stamp(b);\n }),\n weekCount = weekColl.length,\n days = weekColl.single().getRenderDateRange(),\n dayCount = days.length,\n relativeContainer = util.pick(monthView.vLayout.panels[1], 'container'),\n size = domutil.getSize(relativeContainer),\n grids = monthView.grids;\n\n /**\n * Get the left index\n * @param {number} left - left position(percent)\n * @returns {number} grid left index\n */\n function getX(left) {\n var i = 0;\n var length = grids.length;\n var grid;\n for (; i < length; i += 1) {\n grid = grids[i];\n if (grid.left <= left && left <= (grid.left + grid.width)) {\n return i;\n }\n }\n\n return i;\n }\n\n /**\n * Get date related with mouse event object\n * @param {object} mouseEvent - click event data\n * @returns {object} data related with mouse event\n */\n function getDate(mouseEvent) {\n var pos = domevent.getMousePosition(mouseEvent, relativeContainer),\n x = getX(common.ratio(size[0], 100, pos[0])),\n y = mfloor(common.ratio(size[1], weekCount, pos[1])),\n weekdayView, date;\n\n weekdayView = util.pick(weeks, y);\n\n if (!weekdayView) {\n return null;\n }\n\n date = util.pick(weekdayView.getRenderDateRange(), x);\n\n if (!date) {\n return null;\n }\n\n return {\n x: x,\n y: y,\n sizeX: dayCount,\n sizeY: weekCount,\n date: date,\n weekdayView: weekdayView,\n triggerEvent: mouseEvent.type\n };\n }\n\n return getDate;\n}\n\nmodule.exports = getMousePosDate;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/core.js\n// module id = 18\n// module chunks = 0","/**\n * @fileoverview Core methods for dragging actions\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar common = require('../../common/common');\nvar datetime = require('../../common/datetime');\nvar domevent = require('../../common/domevent');\nvar Point = require('../../common/point');\n\n/**\n * @mixin Time.Core\n */\nvar timeCore = {\n /**\n * Get Y index ratio(hour) in time grids by supplied parameters.\n * @param {number} baseMil - base milliseconds number for supplied height.\n * @param {number} height - container element height.\n * @param {number} y - Y coordinate to calculate hour ratio.\n * @returns {number} hour index ratio value.\n */\n _calcGridYIndex: function(baseMil, height, y) {\n // get ratio from right expression > point.y : x = session.height : baseMil\n // and convert milliseconds value to hours.\n var result = datetime.millisecondsTo('hour', (y * baseMil) / height),\n floored = result | 0,\n nearest = common.nearest(result - floored, [0, 1]);\n\n return floored + (nearest ? 0.5 : 0);\n },\n\n /**\n * Get function to makes event data from Time and mouseEvent\n * @param {Time} timeView - Instance of time view.\n * @returns {function} - Function that return event data from mouse event.\n */\n _retriveScheduleData: function(timeView) {\n var self = this,\n container = timeView.container,\n options = timeView.options,\n viewHeight = timeView.getViewBound().height,\n viewTime = Number(timeView.getDate()),\n hourLength = options.hourEnd - options.hourStart,\n baseMil = datetime.millisecondsFrom('hour', hourLength);\n\n /**\n * @param {MouseEvent} mouseEvent - mouse event object to get common event data.\n * @param {object} [extend] - object to extend event data before return.\n * @returns {object} - common event data for time.*\n */\n return util.bind(function(mouseEvent, extend) {\n var mouseY = Point.n(domevent.getMousePosition(mouseEvent, container)).y,\n gridY = common.ratio(viewHeight, hourLength, mouseY),\n timeY = viewTime + datetime.millisecondsFrom('hour', gridY),\n nearestGridY = self._calcGridYIndex(baseMil, viewHeight, mouseY),\n nearestGridTimeY = viewTime + datetime.millisecondsFrom('hour', nearestGridY + options.hourStart);\n\n return util.extend({\n target: mouseEvent.target || mouseEvent.srcElement,\n relatedView: timeView,\n originEvent: mouseEvent,\n mouseY: mouseY,\n gridY: gridY,\n timeY: timeY,\n nearestGridY: nearestGridY,\n nearestGridTimeY: nearestGridTimeY,\n triggerEvent: mouseEvent.type\n }, extend);\n }, this);\n },\n\n /**\n * Mixin method.\n * @param {(TimeCreation|TimeMove)} obj - Constructor functions\n */\n mixin: function(obj) {\n var proto = obj.prototype;\n util.forEach(timeCore, function(method, methodName) {\n if (methodName === 'mixin') {\n return;\n }\n\n proto[methodName] = method;\n });\n }\n};\n\nmodule.exports = timeCore;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/core.js\n// module id = 19\n// module chunks = 0","/* eslint complexity: 0 */\n/**\n * @fileoverview Model of schedule.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar TZDate = require('../common/timezone').Date;\nvar datetime = require('../common/datetime');\nvar dirty = require('../common/dirty');\nvar model = require('../common/model');\n\n/**\n * 일정 카테고리\n * @readonly\n * @enum {string}\n */\nvar SCHEDULE_CATEGORY = {\n /** 마일스톤 */\n MILESTONE: 'milestone',\n\n /** 업무 */\n TASK: 'task',\n\n /** 종일일정 */\n ALLDAY: 'allday',\n\n /** 시간별 일정 */\n TIME: 'time'\n};\n\n/**\n * The model of calendar schedules.\n * @constructor\n * @mixes dirty\n * @mixes model\n */\nfunction Schedule() {\n /**\n * `Optional` unique id for various use.\n * @type {string}\n */\n this.id = '';\n\n /**\n * title for schedule.\n * @type {string}\n */\n this.title = '';\n\n /**\n * is schedule is all day schedule?\n * @type {boolean}\n */\n this.isAllDay = false;\n\n /**\n * schedule start\n * @type {TZDate}\n */\n this.start = null;\n\n /**\n * schedule end\n * @type {TZDate}\n */\n this.end = null;\n\n /**\n * schedule text color\n * @type {string}\n */\n this.color = '#000';\n\n /**\n * schedule block visibility\n * @type {boolean}\n */\n this.isVisible = true;\n\n /**\n * schedule background color\n * @type {string}\n */\n this.bgColor = '#a1b56c';\n\n /**\n * schedule left border color\n * @type {string}\n */\n this.borderColor = '#000';\n\n /**\n * 캘린더 ID\n * @type {string}\n */\n this.calendarId = '';\n\n /**\n * 일정 카테고리 (마일스톤, 업무, 종일일정, 시간별일정)\n * @type {string}\n */\n this.category = '';\n\n /**\n * 업무 일정의 경우 구분 (출근전, 점심전, 퇴근전)\n * @type {string}\n */\n this.dueDateClass = '';\n\n /**\n * 커스텀 스타일\n * @type {string}\n */\n this.customStyle = '';\n\n /**\n * in progress flag to do something\n * @type {boolean}\n */\n this.isPending = false;\n\n /**\n * focused schedule flag\n * @type {boolean}\n */\n this.isFocused = false;\n\n /**\n * read-only schedule flag\n * @type {boolean}\n */\n this.isReadOnly = false;\n\n /**\n * 렌더링과 관계 없는 별도 데이터 저장 공간.\n * @type {object}\n */\n this.raw = null;\n\n // initialize model id\n util.stamp(this);\n}\n\n/**********\n * static props\n **********/\n\nSchedule.schema = {\n required: ['title'],\n dateRange: ['start', 'end']\n};\n\n/**\n * create schedule model from json(object) data.\n * @param {object} data object for model.\n * @returns {Schedule} Schedule model instance.\n */\nSchedule.create = function(data) {\n var inst = new Schedule();\n inst.init(data);\n\n return inst;\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * Initialize schedule instance.\n * @param {object} options options.\n */\nSchedule.prototype.init = function(options) {\n options = util.extend({}, options);\n if (options.category === SCHEDULE_CATEGORY.ALLDAY) {\n options.isAllDay = true;\n }\n\n this.id = options.id || '';\n this.title = options.title || '';\n this.isAllDay = util.isExisty(options.isAllDay) ? options.isAllDay : false;\n this.isVisible = util.isExisty(options.isVisible) ? options.isVisible : true;\n\n this.color = options.color || this.color;\n this.bgColor = options.bgColor || this.bgColor;\n this.borderColor = options.borderColor || this.borderColor;\n this.calendarId = options.calendarId || '';\n this.category = options.category || '';\n this.dueDateClass = options.dueDateClass || '';\n this.customStyle = options.customStyle || '';\n this.isPending = options.isPending || false;\n this.isFocused = options.isFocused || false;\n this.isReadOnly = options.isReadOnly || false;\n\n if (this.isAllDay) {\n this.setAllDayPeriod(options.start, options.end);\n } else {\n this.setTimePeriod(options.start, options.end);\n }\n\n if (options.category === SCHEDULE_CATEGORY.MILESTONE ||\n options.category === SCHEDULE_CATEGORY.TASK) {\n this.start = new TZDate(this.end);\n }\n\n this.raw = options.raw || null;\n};\n\nSchedule.prototype.setAllDayPeriod = function(start, end) {\n // 종일일정인 경우 문자열의 날짜정보만 사용한다.\n if (util.isString(start)) {\n start = datetime.parse(start.substring(0, 10));\n }\n if (util.isString(end)) {\n end = datetime.parse(end.substring(0, 10));\n }\n\n this.start = start;\n this.start.setHours(0, 0, 0);\n this.end = end || new TZDate(this.start);\n this.end.setHours(23, 59, 59);\n};\n\nSchedule.prototype.setTimePeriod = function(start, end) {\n this.start = new TZDate(start || Date.now());\n this.end = new TZDate(end || this.start);\n\n if (!end) {\n this.end.setMinutes(this.end.getMinutes() + 30);\n }\n};\n\n/**\n * @returns {Date} render start date.\n */\nSchedule.prototype.getStarts = function() {\n return this.start;\n};\n\n/**\n * @returns {Date} render end date.\n */\nSchedule.prototype.getEnds = function() {\n return this.end;\n};\n\n/**\n * @returns {number} instance unique id.\n */\nSchedule.prototype.cid = function() {\n return util.stamp(this);\n};\n\n/**\n * Check two schedule are equals (means title, isAllDay, start, end are same)\n * @param {Schedule} schedule Schedule model instance to compare.\n * @returns {boolean} Return false when not same.\n */\nSchedule.prototype.equals = function(schedule) {\n if (this.id !== schedule.id) {\n return false;\n }\n\n if (this.title !== schedule.title) {\n return false;\n }\n\n if (this.isAllDay !== schedule.isAllDay) {\n return false;\n }\n\n if (datetime.compare(this.getStarts(), schedule.getStarts()) !== 0) {\n return false;\n }\n\n if (datetime.compare(this.getEnds(), schedule.getEnds()) !== 0) {\n return false;\n }\n\n if (this.color !== schedule.color) {\n return false;\n }\n\n if (this.bgColor !== schedule.bgColor) {\n return false;\n }\n\n if (this.borderColor !== schedule.borderColor) {\n return false;\n }\n\n return true;\n};\n\n/**\n * return duration between start and end.\n * @returns {Date} duration (UTC)\n */\nSchedule.prototype.duration = function() {\n var start = this.getStarts(),\n end = this.getEnds(),\n duration;\n\n if (this.isAllDay) {\n duration = new TZDate(datetime.end(end) - datetime.start(start));\n } else {\n duration = new TZDate(end - start);\n }\n\n return duration;\n};\n\n/**\n * Returns true if the given Schedule coincides with the same time as the\n * calling Schedule.\n * @param {Schedule} schedule The other schedule to compare with this Schedule.\n * @returns {boolean} If the other schedule occurs within the same time as the first object.\n */\nSchedule.prototype.collidesWith = function(schedule) {\n var ownStarts = this.getStarts(),\n ownEnds = this.getEnds(),\n start = schedule.getStarts(),\n end = schedule.getEnds();\n\n if ((start > ownStarts && start < ownEnds) ||\n (end > ownStarts && end < ownEnds) ||\n (start <= ownStarts && end >= ownEnds)) {\n return true;\n }\n\n return false;\n};\n\nmodel.mixin(Schedule.prototype);\ndirty.mixin(Schedule.prototype);\n\nmodule.exports = Schedule;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/model/schedule.js\n// module id = 20\n// module chunks = 0","module.exports = require('handlebars/runtime');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars-template-loader/runtime/index.js\n// module id = 21\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.HandlebarsEnvironment = HandlebarsEnvironment;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('./utils');\n\nvar _exception = require('./exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nvar _helpers = require('./helpers');\n\nvar _decorators = require('./decorators');\n\nvar _logger = require('./logger');\n\nvar _logger2 = _interopRequireDefault(_logger);\n\nvar VERSION = '4.0.11';\nexports.VERSION = VERSION;\nvar COMPILER_REVISION = 7;\n\nexports.COMPILER_REVISION = COMPILER_REVISION;\nvar REVISION_CHANGES = {\n 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it\n 2: '== 1.0.0-rc.3',\n 3: '== 1.0.0-rc.4',\n 4: '== 1.x.x',\n 5: '== 2.0.0-alpha.x',\n 6: '>= 2.0.0-beta.1',\n 7: '>= 4.0.0'\n};\n\nexports.REVISION_CHANGES = REVISION_CHANGES;\nvar objectType = '[object Object]';\n\nfunction HandlebarsEnvironment(helpers, partials, decorators) {\n this.helpers = helpers || {};\n this.partials = partials || {};\n this.decorators = decorators || {};\n\n _helpers.registerDefaultHelpers(this);\n _decorators.registerDefaultDecorators(this);\n}\n\nHandlebarsEnvironment.prototype = {\n constructor: HandlebarsEnvironment,\n\n logger: _logger2['default'],\n log: _logger2['default'].log,\n\n registerHelper: function registerHelper(name, fn) {\n if (_utils.toString.call(name) === objectType) {\n if (fn) {\n throw new _exception2['default']('Arg not supported with multiple helpers');\n }\n _utils.extend(this.helpers, name);\n } else {\n this.helpers[name] = fn;\n }\n },\n unregisterHelper: function unregisterHelper(name) {\n delete this.helpers[name];\n },\n\n registerPartial: function registerPartial(name, partial) {\n if (_utils.toString.call(name) === objectType) {\n _utils.extend(this.partials, name);\n } else {\n if (typeof partial === 'undefined') {\n throw new _exception2['default']('Attempting to register a partial called \"' + name + '\" as undefined');\n }\n this.partials[name] = partial;\n }\n },\n unregisterPartial: function unregisterPartial(name) {\n delete this.partials[name];\n },\n\n registerDecorator: function registerDecorator(name, fn) {\n if (_utils.toString.call(name) === objectType) {\n if (fn) {\n throw new _exception2['default']('Arg not supported with multiple decorators');\n }\n _utils.extend(this.decorators, name);\n } else {\n this.decorators[name] = fn;\n }\n },\n unregisterDecorator: function unregisterDecorator(name) {\n delete this.decorators[name];\n }\n};\n\nvar log = _logger2['default'].log;\n\nexports.log = log;\nexports.createFrame = _utils.createFrame;\nexports.logger = _logger2['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2Jhc2UuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ij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aGlzLmRlY29yYXRvcnNbbmFtZV07XG4gIH1cbn07XG5cbmV4cG9ydCBsZXQgbG9nID0gbG9nZ2VyLmxvZztcblxuZXhwb3J0IHtjcmVhdGVGcmFtZSwgbG9nZ2VyfTtcbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/base.js\n// module id = 22\n// module chunks = 0","/**\n * @fileoverview\n * Class for represent two dimensional x, y coordinates.\n *\n * It suppliy a group of functions for manipulate coordinates.\n * @author NHN Ent. FE Development Team \n * @example\n * var p = point(10, 10);\n * var r1 = p.add(Point(5, 5));\n * console.log(p.toString()) // \"Point(10, 10)\"\n * console.log(r1.toString()) // \"Point(15, 15)\"\n *\n * var p2 = new Point(10, 10);\n * p2._add(point(5, 5));\n * console.log(p2.toString()) // \"Point(15, 15)\"\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\n/**\n * Class for represent two dimentional x, y coordinates.\n * @constructor\n * @param {number} x The number of X coordinates.\n * @param {number} y The number of Y coordinates.\n * @param {boolean} [useRound=false] set true when each coordinates are rounded before initialize.\n * @example\n * var t = new Point(13, 5);\n */\nfunction Point(x, y, useRound) {\n /**\n * @type {number}\n */\n this.x = (useRound ? Math.round(x) : x);\n\n /**\n * @type {number}\n */\n this.y = (useRound ? Math.round(y) : y);\n}\n\n/**********\n * static props\n **********/\n\n/**\n * Calculate point ratio.\n * @param {Point} point The instance of point.\n * @param {number} factor From factor\n * @param {number} toFactor To factor\n * @returns {Point} Point instance calculated.\n */\nPoint.getRatio = function(point, factor, toFactor) {\n if (factor === toFactor) {\n return point.clone();\n }\n\n return point.multiplyBy(toFactor)._divideBy(factor);\n};\n\n/**\n * Syntatic sugar of new Point()\n * @param {(Point|number|number[])} x X coordinate value.\n * @param {(number|boolean)} [y] Y coordinate value or boolean value for coordinates round.\n * @param {boolean} [useRound] Set true then round initial coordinate values.\n * @returns {Point} The instance of point.\n * @example\n * var p1 = point(10, 15);\n * var p2 = point([10, 15]);\n */\nPoint.n = function(x, y, useRound) {\n if (x instanceof Point) {\n return x;\n }\n\n if (util.isArray(x)) {\n return new Point(x[0], x[1], y);\n }\n\n return new Point(x, y, useRound);\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * Clone points\n * @returns {Point} The point instance cloned.\n */\nPoint.prototype.clone = function() {\n return new Point(this.x, this.y);\n};\n\n/**\n * Add points.\n * @param {Point} point The point instance to add.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.add = function(point) {\n return this.clone()._add(Point.n(point));\n};\n\n/**\n * Add self points.\n * @param {Point} point The point instance to add.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._add = function(point) {\n this.x += point.x;\n this.y += point.y;\n\n return this;\n};\n\n/**\n * Subtract points.\n * @param {Point} point The point instance to subtract.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.subtract = function(point) {\n return this.clone()._subtract(Point.n(point));\n};\n\n/**\n * Subtract points. (manipulate self)\n * @param {Point} point The point instance to subtract.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._subtract = function(point) {\n this.x -= point.x;\n this.y -= point.y;\n\n return this;\n};\n\n/**\n * Divide points.\n * @param {number} num The number to divide.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.divideBy = function(num) {\n return this.clone()._divideBy(num);\n};\n\n/**\n * Divide points. (manipulate self)\n * @param {number} num The number to divide.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._divideBy = function(num) {\n this.x /= num;\n this.y /= num;\n\n return this;\n};\n\n/**\n * Multiply coordinates.\n * @param {number} num Thyen number to multiply\n * @returns {Point} Point calculated.\n */\nPoint.prototype.multiplyBy = function(num) {\n return this.clone()._multiplyBy(num);\n};\n\n/**\n * Multiply self coordinates.\n * @param {number} num The number to multiply.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._multiplyBy = function(num) {\n this.x *= num;\n this.y *= num;\n\n return this;\n};\n\n/**\n * Round coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.round = function() {\n return this.clone()._round();\n};\n\n/**\n * Round self coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._round = function() {\n this.x = Math.round(this.x);\n this.y = Math.round(this.y);\n\n return this;\n};\n\n/**\n * Reverse values between positive and negative.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.reverse = function() {\n return this.clone()._reverse();\n};\n\n/**\n * Reverse self values between positive and negative.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._reverse = function() {\n this.x *= -1;\n this.y *= -1;\n\n return this;\n};\n\n/**\n * Floor coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.floor = function() {\n return this.clone()._floor();\n};\n\n/**\n * Floor self coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._floor = function() {\n this.x = Math.floor(this.x);\n this.y = Math.floor(this.y);\n\n return this;\n};\n\n/**\n * Ceil coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.ceil = function() {\n return this.clone()._ceil();\n};\n\n/**\n * Ceil self coodinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._ceil = function() {\n this.x = Math.ceil(this.x);\n this.y = Math.ceil(this.y);\n\n return this;\n};\n\n/**\n * Rotate point.\n * @param {number} deg The number of rotate degree.\n * @param {Point} [center=this] Center point instance to use rotate center. use own when not supplied.\n * @param {number} [cos] Cosine values for rotate. it useful when multi point rotate.\n * @param {number} [sin] Sine values for rotate. it useful when multi point rotate.\n * @returns {Point} The point instance rotated.\n */\nPoint.prototype.rotate = function(deg, center, cos, sin) {\n return this.clone()._rotate(deg, center, cos, sin);\n};\n\n/**\n * Rotate self.\n * @param {number} deg The number of rotate degree.\n * @param {Point} [center=this] Center point instance to use rotate center. use own when not supplied.\n * @param {number} [cos] Cosine values for rotate. it useful when multi point rotate.\n * @param {number} [sin] Sine values for rotate. it useful when multi point rotate.\n * @returns {Point} The point instance rotated.\n */\nPoint.prototype._rotate = function(deg, center, cos, sin) {\n var rad = deg * (Math.PI / 180),\n x,\n y;\n\n cos = cos || parseFloat(Math.cos(rad).toFixed(8));\n sin = sin || parseFloat(Math.sin(rad).toFixed(8));\n\n this._subtract(center);\n\n x = this.x;\n y = this.y;\n\n this.x = (x * cos) - (y * sin);\n this.y = (x * sin) + (y * cos);\n\n this._add(center);\n\n return this;\n};\n\n/**\n * Calculate distance between two points.\n * @param {Point} point Point instance.\n * @returns {number} The number of distance between two points.\n */\nPoint.prototype.distanceTo = function(point) {\n var x,\n y;\n\n point = Point.n(point);\n\n x = point.x - this.x;\n y = point.y - this.y;\n\n return Math.sqrt((x * x) + (y * y));\n};\n\n/**\n * Check point equals.\n * @param {Point} point Point instance to compare\n * @returns {boolean} equality\n */\nPoint.prototype.equals = function(point) {\n point = Point.n(point);\n\n return point.x === this.x && point.y === this.y;\n};\n\n/**\n * Return formatted string. 'Point(x, y)'\n * @returns {string} string\n */\nPoint.prototype.toString = function() {\n return 'Point(' + this.x + ', ' + this.y + ')';\n};\n\n/**\n * Return coodinates to array. [x, y]\n * @returns {number[]} coordinate array.\n */\nPoint.prototype.toArray = function() {\n return [this.x, this.y];\n};\n\nmodule.exports = Point;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/point.js\n// module id = 23\n// module chunks = 0","/**\n * @fileoverview Layout module that supplied split height, resize height features.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n common = require('./common'),\n domutil = require('./domutil'),\n domevent = require('./domevent'),\n View = require('../view/view'),\n VPanel = require('./vpanel'),\n Drag = require('../handler/drag');\n\nvar mAbs = Math.abs;\n\n/**\n * @typedef PanelOptions\n * @type {object}\n * @property {number} [minHeight=0] - minimum height of panel\n * @property {number} [height=0] - current panel height\n * @property {boolean} [splitter=false] - is this panel uses splitter?\n * @property {boolean} [autoHeight=false] - is this panel uses remain height of container?\n * @property {string} [className=''] - className string for add created element\n */\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for VLayout module\n * @param {PanelOptions[]} [options.panels] - panels to add layout when initialize\n * @param {number[]} [options.panelHeights] - panel height list\n * @param {HTMLElement} container - container element\n */\nfunction VLayout(options, container) {\n var opt, tempHeights;\n\n if (!(this instanceof VLayout)) {\n return new VLayout(options, container);\n }\n\n View.call(this, container);\n\n domutil.addClass(container, config.classname('vlayout-container'));\n\n /**\n * @type {object}\n */\n opt = this.options = util.extend({\n panels: [],\n panelHeights: []\n }, options);\n\n /**\n * @type {VPanel[]}\n */\n this.panels = [];\n\n /**\n * @type {Drag}\n */\n this._drag = new Drag({\n distance: 10,\n exclude: function(target) {\n return !domutil.hasClass(target, config.classname('splitter'));\n }\n }, container);\n\n this._drag.on({\n dragStart: this._onDragStart,\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n /**\n * @type {object}\n */\n this._dragData = null;\n\n if (opt.panels.length) {\n if (opt.panelHeights.length) {\n tempHeights = opt.panelHeights.slice();\n util.forEach(opt.panels, function(panelOpt) {\n if (!panelOpt.isSplitter && !panelOpt.autoHeight) {\n panelOpt.height = tempHeights.shift();\n }\n });\n }\n\n this.addPanels(opt.panels, this.container);\n }\n\n this.refresh();\n}\n\nutil.inherit(VLayout, View);\n\n/**\n * Get current panels height in layout\n * @returns {number[]} height of panels with `autoHeight` false\n */\nVLayout.prototype.getLayoutData = function() {\n var heightList = [];\n\n util.forEach(this.panels, function(panel) {\n if (panel.isSplitter() || panel.options.autoHeight) {\n return;\n }\n\n heightList.push(panel.getHeight());\n });\n\n return heightList;\n};\n\n/**\n * Set panels height in layout\n * @param {number[]} heightList of panels with `autoHeight` false\n */\nVLayout.prototype.setLayoutData = function(heightList) {\n if (!heightList.length) {\n return;\n }\n\n util.forEach(this.panels, function(panel) {\n if (panel.isSplitter() || panel.options.autoHeight) {\n return;\n }\n\n panel.setHeight(null, heightList.shift());\n });\n\n this.refresh();\n};\n\n/**\n * Get next panel instance by specific panel\n * @param {VPanel} panel - panel instance\n * @returns {VPanel} next panel\n */\nVLayout.prototype.nextPanel = function(panel) {\n return this.panels[panel.index + 1];\n};\n\n/**\n * Get previous panel instance by specific panel\n * @param {VPanel} panel - panel instance\n * @returns {VPanel} previous panel\n */\nVLayout.prototype.prevPanel = function(panel) {\n return this.panels[panel.index - 1];\n};\n\n/**\n * Initialize resizing guide element\n * @param {HTMLElement} element - element to use guide element after cloned\n * @param {number} top - top pixel value for guide element\n * @returns {HTMLElement} cloned element == guide element\n */\nVLayout.prototype._initializeGuideElement = function(element, top) {\n var cloned = element.cloneNode(true);\n\n domutil.addClass(cloned, config.classname('splitter-guide'));\n this._refreshGuideElement(cloned, top);\n this.container.appendChild(cloned);\n\n return cloned;\n};\n\n/**\n * Refresh guide element position\n * @param {HTMLElement} element - guide element\n * @param {number} top - top pixel value for guide element\n */\nVLayout.prototype._refreshGuideElement = function(element, top) {\n element.style.top = top + 'px';\n};\n\n/**\n * Clear guide element position\n * @param {HTMLElement} element - guide element\n */\nVLayout.prototype._clearGuideElement = function(element) {\n domutil.remove(element);\n};\n\n/**\n * Resize overall panels size\n * @param {VPanel} splPanel - splitter panel instance\n * @param {number} startY - dragstart Y position\n * @param {number} mouseY - dragend Y position\n */\nVLayout.prototype._resize = function(splPanel, startY, mouseY) {\n var diffY = startY - mouseY,\n resizedHeight = mAbs(diffY),\n resizeMap = [],\n toDown = mouseY > startY,\n backwardMethod = toDown ? 'prevPanel' : 'nextPanel',\n forwardMethod = toDown ? 'nextPanel' : 'prevPanel',\n cursor, resizeInfo;\n\n cursor = this[backwardMethod](splPanel);\n resizeInfo = cursor.getResizeInfoByGrowth(resizedHeight);\n resizeMap.push([cursor, resizeInfo[0]]);\n\n for (cursor = this[forwardMethod](cursor);\n util.isExisty(cursor);\n cursor = this[forwardMethod](cursor)) {\n if (cursor.isSplitter()) {\n continue;\n }\n\n resizeInfo = cursor.getResizeInfoByGrowth(-resizedHeight);\n resizeMap.push([cursor, resizeInfo[0]]);\n resizedHeight -= resizeInfo[1];\n }\n\n util.forEach(resizeMap, function(pair) {\n pair[0].setHeight(null, pair[1], true);\n });\n};\n\n/**\n * Get summation of splitter and panel's minimum height upper and below of supplied splitter\n * @param {VPanel} splPanel - splitter panel instance\n * @returns {number[]} upper and below splitter's height and panel minimum height summation.\n */\nVLayout.prototype._getMouseYAdditionalLimit = function(splPanel) {\n var upper = 0,\n below = 0,\n cursor,\n func = function(panel) {\n if (panel.isSplitter()) {\n return panel.getHeight();\n }\n\n return panel.options.minHeight;\n };\n\n for (cursor = this.prevPanel(splPanel);\n util.isExisty(cursor);\n cursor = this.prevPanel(cursor)) {\n upper += func(cursor);\n }\n\n for (cursor = this.nextPanel(splPanel);\n util.isExisty(cursor);\n cursor = this.nextPanel(cursor)) {\n below += func(cursor);\n }\n\n return [upper, below];\n};\n\n/**********\n * Drag Handlers\n **********/\n\n/**\n * Drag start schedule handler\n * @param {object} e - drag start schedule data\n */\nVLayout.prototype._onDragStart = function(e) {\n var oEvent = e.originEvent,\n target = e.target,\n splIndex = domutil.getData(target, 'panelIndex'),\n splPanel = this.panels[splIndex],\n splHeight = splPanel.getHeight(),\n splOffsetY = domevent.getMousePosition(oEvent, target)[1],\n mouseY = domevent.getMousePosition(oEvent, this.container)[1],\n guideElement = this._initializeGuideElement(target, mouseY);\n\n splPanel.addClass(config.classname('splitter-focused'));\n\n this._dragData = {\n splPanel: splPanel,\n splOffsetY: splOffsetY,\n guideElement: guideElement,\n startY: mouseY - splOffsetY,\n minY: 0,\n maxY: this.getViewBound().height - splHeight\n };\n\n if (!util.browser.msie) {\n domutil.addClass(document.body, config.classname('resizing'));\n }\n};\n\n/**\n * Drag schedule handler\n * @param {object} e - drag schedule data\n */\nVLayout.prototype._onDrag = function(e) {\n var dragData = this._dragData,\n mouseY = domevent.getMousePosition(e.originEvent, this.container)[1];\n\n mouseY = common.limit(mouseY - dragData.splOffsetY, [dragData.minY], [dragData.maxY]);\n\n this._refreshGuideElement(dragData.guideElement, mouseY);\n};\n\n/**\n * Drag end schedule handler\n * @fires VLayout#resize\n * @param {object} e - dragend schedule data\n */\nVLayout.prototype._onDragEnd = function(e) {\n var dragData = this._dragData,\n asideMinMax = this._getMouseYAdditionalLimit(dragData.splPanel),\n mouseY = domevent.getMousePosition(e.originEvent, this.container)[1];\n\n // mouseY value can't exceed summation of splitter height and panel's minimum height based on target splitter.\n mouseY = common.limit(\n mouseY - dragData.splOffsetY,\n [dragData.minY + asideMinMax[0]],\n [dragData.maxY - asideMinMax[1]]\n );\n\n this._resize(dragData.splPanel, dragData.startY, mouseY);\n\n /**\n * @event VLayout#resize\n * @type {object}\n * @property {number[]} layoutData - layout data after resized\n */\n this.fire('resize', {\n layoutData: this.getLayoutData()\n });\n\n this._dragData = null;\n this._clearGuideElement(dragData.guideElement);\n dragData.splPanel.removeClass(config.classname('splitter-focused'));\n domutil.removeClass(document.body, config.classname('resizing'));\n};\n\n/**********\n * Methods\n **********/\n\n/**\n * refresh each panels\n */\nVLayout.prototype.refresh = function() {\n var panelToFillHeight = [];\n var layoutHeight = this.getViewBound().height;\n var usedHeight = 0;\n var remainHeight;\n\n if (!layoutHeight) {\n return;\n }\n\n util.forEach(this.panels, function(panel) {\n if (panel.options.autoHeight) {\n panelToFillHeight.push(panel);\n } else {\n usedHeight += panel.getHeight();\n }\n });\n\n remainHeight = (layoutHeight - usedHeight) / panelToFillHeight.length;\n\n util.forEach(panelToFillHeight, function(panel) {\n panel.setHeight(null, remainHeight);\n });\n};\n\n/**\n * add panel\n * @param {PanelOptions} options - options for panel\n * @param {container} [container] - container element\n */\nVLayout.prototype.addPanel = function(options, container) {\n var element = document.createElement('div'),\n panels = this.panels,\n index = panels.length;\n\n options = util.extend({\n index: index\n }, options);\n\n panels.push(new VPanel(options, element));\n\n container.appendChild(element);\n};\n\n/**\n * Add multiple panel\n * @param {PanelOptions[]} options - panel options list\n * @param {HTMLElement} container - container element\n */\nVLayout.prototype.addPanels = function(options, container) {\n var self = this,\n frag = document.createDocumentFragment();\n\n util.forEach(options, function(option) {\n self.addPanel(option, frag);\n });\n\n container.appendChild(frag);\n};\n\nmodule.exports = VLayout;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/vlayout.js\n// module id = 24\n// module chunks = 0","/**\n * @fileoverview Move handler for Allday view.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar common = require('../../common/common');\nvar domutil = require('../../common/domutil');\nvar AlldayCore = require('./core');\nvar AlldayMoveGuide = require('./moveGuide');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes AlldayCore\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {Allday} [alldayView] - Allday view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction AlldayMove(dragHandler, alldayView, baseController) {\n /**\n * Drag handler instance.\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * allday view instance.\n * @type {Allday}\n */\n this.alldayView = alldayView;\n\n /**\n * Base controller instance.\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * Temporary variable for dragstart event data.\n * @type {object}\n */\n this._dragStart = null;\n\n dragHandler.on({\n dragStart: this._onDragStart\n }, this);\n\n /**\n * @type {AlldayMoveGuide}\n */\n this.guide = new AlldayMoveGuide(this);\n}\n\nAlldayMove.prototype.destroy = function() {\n this.guide.destroy();\n this.dragHandler.off(this);\n this.dragHandler = this.alldayView = this.baseController =\n this.guide = this._dragStart = null;\n};\n\n/**\n * Check dragstart target is expected conditions for this handler.\n * @param {HTMLElement} target - dragstart event handler's target element.\n * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n */\nAlldayMove.prototype.checkExpectedCondition = function(target) {\n var cssClass = domutil.getClass(target),\n parentView,\n matches;\n\n if (~cssClass.indexOf(config.classname('weekday-resize-handle'))) {\n return false;\n }\n\n parentView = domutil.closest(target, config.classname('.weekday'));\n\n if (!parentView) {\n return false;\n }\n\n cssClass = domutil.getClass(parentView);\n matches = cssClass.match(config.allday.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.alldayView.children.items, matches[1]);\n};\n\n/**\n * DragStart event handler method.\n * @emits AlldayMove#alldayMoveDragstart\n * @param {object} dragStartEventData - Drag#dragStart event handler event data.\n */\nAlldayMove.prototype._onDragStart = function(dragStartEventData) {\n var target = dragStartEventData.target,\n result = this.checkExpectedCondition(target),\n controller = this.baseController,\n scheduleBlockElement,\n modelID,\n targetModel,\n getScheduleDataFunc,\n scheduleData;\n\n if (!result) {\n return;\n }\n\n scheduleBlockElement = domutil.closest(target, config.classname('.weekday-schedule-block'));\n if (!scheduleBlockElement) {\n return;\n }\n\n modelID = domutil.getData(scheduleBlockElement, 'id');\n targetModel = controller.schedules.items[modelID];\n\n if (!targetModel) {\n return;\n }\n\n if (targetModel.isReadOnly) {\n return;\n }\n\n getScheduleDataFunc = this._retriveScheduleData(this.alldayView, dragStartEventData.originEvent);\n this.getScheduleDataFunc = getScheduleDataFunc;\n scheduleData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\n util.extend(scheduleData, {\n scheduleBlockElement: scheduleBlockElement,\n model: targetModel\n });\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n /**\n * @event AlldayMove#alldayMoveDragstart\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n * @property {Schedule} model - data object of model isntance.\n * @property {HTMLDivElement} scheduleBlockElement - target schedule block element.\n */\n this.fire('alldayMoveDragstart', scheduleData);\n};\n\n/**\n * Drag event handler method.\n * @emits AlldayMove#alldayMoveDrag\n * @param {object} dragEventData - Drag#drag event handler eventdata.\n */\nAlldayMove.prototype._onDrag = function(dragEventData) {\n var getScheduleDataFunc = this.getScheduleDataFunc;\n\n if (!getScheduleDataFunc) {\n return;\n }\n\n /**\n * @schedule AlldayMove#alldayMoveDrag\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire('alldayMoveDrag', getScheduleDataFunc(dragEventData.originEvent));\n};\n\n/**\n * Request update schedule model to base controller.\n * @fires AlldayMove#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from AlldayMove handler module.\n */\nAlldayMove.prototype._updateSchedule = function(scheduleData) {\n var schedule = scheduleData.targetModel,\n dateOffset = scheduleData.xIndex - scheduleData.dragStartXIndex,\n newStarts = new TZDate(schedule.start.getTime()),\n newEnds = new TZDate(schedule.end.getTime());\n\n newStarts = new TZDate(newStarts.setDate(newStarts.getDate() + dateOffset));\n newEnds = new TZDate(newEnds.setDate(newEnds.getDate() + dateOffset));\n\n /**\n * @event AlldayMove#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {Date} start - start time to update\n * @property {Date} end - end time to update\n */\n this.fire('beforeUpdateSchedule', {\n schedule: schedule,\n start: newStarts,\n end: newEnds\n });\n};\n\n/**\n * DragEnd event hander method.\n * @emits AlldayMove#alldayMoveDragend\n * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {?boolean} skipUpdate - true then skip update schedule model.\n */\nAlldayMove.prototype._onDragEnd = function(dragEndEventData, overrideEventName, skipUpdate) {\n var getScheduleDataFunc = this.getScheduleDataFunc,\n dragStart = this._dragStart,\n scheduleData;\n\n if (!getScheduleDataFunc || !dragStart) {\n return;\n }\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n util.extend(scheduleData, {\n targetModel: dragStart.model\n });\n\n if (!skipUpdate) {\n this._updateSchedule(scheduleData);\n }\n\n /**\n * @event AlldayMove#alldayMoveDragend\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire(overrideEventName || 'alldayMoveDragend', scheduleData);\n\n this.getScheduleDataFunc = this._dragStart = null;\n};\n\n/**\n * Click event handler method.\n * @emits AlldayMove#alldayMoveClick\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nAlldayMove.prototype._onClick = function(clickEventData) {\n /**\n * @event AlldayMove#alldayMoveClick\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this._onDragEnd(clickEventData, 'alldayMoveClick', true);\n};\n\ncommon.mixin(AlldayCore, AlldayMove);\nutil.CustomEvents.mixin(AlldayMove);\n\nmodule.exports = AlldayMove;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/move.js\n// module id = 25\n// module chunks = 0","/**\n * @fileoverview Drag handler for calendar.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domutil = require('../common/domutil');\nvar domevent = require('../common/domevent');\n\n/**\n * @constructor\n * @mixes CustomEvents\n * @param {object} options - options for drag handler\n * @param {number} [options.distance=10] - distance in pixels after mouse must move before dragging should start\n * @param {function} [options.exclude] - filter function for don't fire drag events that specific conditions.\n * @param {HTMLElement} container element to watching drag interaction.\n */\nfunction Drag(options, container) {\n domevent.on(container, 'mousedown', this._onMouseDown, this);\n\n this.options = util.extend({\n distance: 10,\n exclude: null\n }, options);\n\n /**\n * @type {HTMLElement}\n */\n this.container = container;\n\n /**\n * Flag for represent current dragging session has been cancelled for exclude option.\n * @type {boolean}\n */\n this._cancelled = false;\n\n /**\n * @type {boolean}\n */\n this._isMoved = false;\n\n /**\n * dragging distance in pixel between mousedown and firing dragStart events\n * @type {number}\n */\n this._distance = 0;\n\n /**\n * @type {boolean}\n */\n this._dragStartFired = false;\n\n /**\n * @type {object}\n */\n this._dragStartEventData = null;\n}\n\n/**\n * Destroy method.\n */\nDrag.prototype.destroy = function() {\n domevent.off(this.container, 'mousedown', this._onMouseDown, this);\n this._isMoved = null;\n this.container = null;\n};\n\n/**\n * Clear cache data for single dragging session.\n */\nDrag.prototype._clearData = function() {\n this._cancelled = false;\n this._distance = 0;\n this._isMoved = false;\n this._dragStartFired = false;\n this._dragStartEventData = null;\n};\n\n/**\n * Toggle events for mouse dragging.\n * @param {boolean} toBind - bind events related with dragging when supplied \"true\"\n */\nDrag.prototype._toggleDragEvent = function(toBind) {\n var container = this.container,\n domMethod,\n method;\n\n if (toBind) {\n domMethod = 'on';\n method = 'disable';\n } else {\n domMethod = 'off';\n method = 'enable';\n }\n\n domutil[method + 'TextSelection'](container);\n domutil[method + 'ImageDrag'](container);\n domevent[domMethod](global.document, {\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp\n }, this);\n};\n\n/**\n * Normalize mouse event object.\n * @param {MouseEvent} mouseEvent - mouse event object.\n * @returns {object} normalized mouse event data.\n */\nDrag.prototype._getEventData = function(mouseEvent) {\n return {\n target: mouseEvent.target || mouseEvent.srcElement,\n originEvent: mouseEvent\n };\n};\n\n/**\n * MouseDown DOM event handler.\n * @param {MouseEvent} mouseDownEvent MouseDown event object.\n */\nDrag.prototype._onMouseDown = function(mouseDownEvent) {\n var opt = this.options,\n target = (mouseDownEvent.srcElement || mouseDownEvent.target);\n\n // only primary button can start drag.\n if (domevent.getMouseButton(mouseDownEvent) !== 0) {\n return;\n }\n\n if (opt.exclude && opt.exclude(target)) {\n this._cancelled = true;\n\n return;\n }\n\n this._clearData();\n this._dragStartEventData = this._getEventData(mouseDownEvent);\n\n this._toggleDragEvent(true);\n};\n\n/**\n * MouseMove DOM event handler.\n * @emits Drag#drag\n * @emits Drag#dragStart\n * @param {MouseEvent} mouseMoveEvent MouseMove event object.\n */\nDrag.prototype._onMouseMove = function(mouseMoveEvent) {\n var distance;\n\n if (this._cancelled) {\n this._clearData();\n\n return;\n }\n\n distance = this.options.distance;\n // prevent automatic scrolling.\n domevent.preventDefault(mouseMoveEvent);\n\n if (this._distance < distance) {\n this._distance += 1;\n\n return;\n }\n this._isMoved = true;\n\n if (!this._dragStartFired) {\n this._dragStartFired = true;\n\n /**\n * Drag start events. cancelable.\n * @event Drag#dragStart\n * @type {object}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n if (!this.invoke('dragStart', this._dragStartEventData)) {\n this._toggleDragEvent(false);\n this._clearData();\n\n return;\n }\n }\n\n /**\n * CalEvents while dragging.\n * @event Drag#drag\n * @type {object}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n this.fire('drag', this._getEventData(mouseMoveEvent));\n};\n\n/**\n * MouseUp DOM event handler.\n * @param {MouseEvent} mouseUpEvent MouseUp event object.\n * @emits Drag#dragEnd\n * @emits Drag#click\n */\nDrag.prototype._onMouseUp = function(mouseUpEvent) {\n if (this._cancelled) {\n return;\n }\n\n this._toggleDragEvent(false);\n\n // emit \"click\" event when not emitted drag event between mousedown and mouseup.\n if (this._isMoved) {\n this._isMoved = false;\n /**\n * Drag end events.\n * @event Drag#dragEnd\n * @type {MouseEvent}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n this.fire('dragEnd', this._getEventData(mouseUpEvent));\n } else {\n /**\n * Click events.\n * @event Drag#click\n * @type {MouseEvent}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n this.fire('click', this._getEventData(mouseUpEvent));\n }\n\n this._clearData();\n};\n\nutil.CustomEvents.mixin(Drag);\n\nmodule.exports = Drag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/drag.js\n// module id = 26\n// module chunks = 0","/**\n * @fileoverview Guide element controller for creation, resize in month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n common = require('../../common/common'),\n domutil = require('../../common/domutil'),\n datetime = require('../../common/datetime'),\n dw = require('../../common/dw'),\n tmpl = require('./guide.hbs');\nvar mmax = Math.max,\n mmin = Math.min,\n mabs = Math.abs,\n mfloor = Math.floor;\n\n/**\n * @constructor\n * @param {object} [options] - options\n * @param {boolean} [options.useHandle=false] - whether displaying resize handle on\n * guide element?\n * @param {boolean} [options.isResizeMode=false] - whether resize mode?\n * @param {Month} monthView - Month view instance\n */\nfunction MonthGuide(options, monthView) {\n var self = this;\n\n /**\n * @type {object}\n */\n this.options = util.extend({\n top: 0,\n height: '20px',\n bgColor: '#f7ca88',\n label: '새 일정',\n isResizeMode: false,\n isCreationMode: false\n }, options);\n\n /**\n * @type {Month}\n */\n this.view = monthView;\n\n /**\n * @type {WeekdayInMonth[]}\n */\n this.weeks = monthView.children.sort(function(a, b) {\n return util.stamp(a) - util.stamp(b);\n });\n\n /**\n * @type {number}\n */\n this.days = monthView.children.single().getRenderDateRange().length;\n\n /**\n * @type {function}\n */\n this.ratio = util.bind(function(value) {\n return common.ratio(self.days, 100, value);\n });\n\n /**\n * start coordinate of guide effect. (x, y) (days, weeks) effect can't\n * start lower than this coordinate.\n * @type {number[]}\n */\n this.startCoord = [0, 0];\n\n /**\n * @type {Object.}\n */\n this.guideElements = {};\n\n /**\n * horizontal grid information\n * @type {Object}\n */\n this.grids = monthView.grids;\n}\n\n/**\n * Destructor\n */\nMonthGuide.prototype.destroy = function() {\n this.clear();\n\n this.options = this.view = this.weeks = this.days =\n this.ratio = this.startCoord = this.guideElements = null;\n};\n\nMonthGuide.prototype.clearGuideElement = function() {\n this.destroy();\n};\n\n/**\n * Get ratio value in week.\n * @param {number} value - value for calc ratio in week\n * @returns {number} percent value\n */\nMonthGuide.prototype._getRatioValueInWeek = function(value) {\n var grid = this.grids[value] || {left: 100};\n\n return grid.left;\n};\n\n/**\n * Create guide element\n * @returns {HTMLElement} guide element\n */\nMonthGuide.prototype._createGuideElement = function() {\n var guide = document.createElement('div');\n\n guide.innerHTML = tmpl(this.options);\n\n return guide.firstChild;\n};\n\n/**\n * Get guide element. if not exist then create one\n * @param {number} y - y coordinate\n * @returns {?HTMLElement} guide element\n */\nMonthGuide.prototype._getGuideElement = function(y) {\n var guideElements = this.guideElements,\n guide = guideElements[y],\n weekdayView = this.weeks[y],\n container;\n\n if (!weekdayView) {\n return null;\n }\n\n if (!guide) {\n guide = this._createGuideElement();\n container = weekdayView.container;\n container.appendChild(guide);\n guideElements[y] = guide;\n }\n\n return guide;\n};\n\n/**\n * Get coordinate by supplied date in month\n * @param {Date} date - date to find coordinate\n * @returns {number[]} coordinate (x, y)\n */\nMonthGuide.prototype._getCoordByDate = function(date) {\n var weeks = this.weeks,\n days = this.days,\n getIdxFromDiff = function(d1, d2) {\n return mfloor(datetime.millisecondsTo('day', mabs(d2 - d1)));\n },\n monthStart = datetime.parse(weeks[0].options.renderStartDate),\n isBefore = date < monthStart,\n dateDW = dw(date),\n startDW = dw(monthStart),\n endDW = startDW.clone().addDate(isBefore ? -days : days),\n x = getIdxFromDiff(dateDW.d, startDW.d),\n y = 0;\n\n while (!dateDW.isBetween(startDW, endDW)) {\n startDW.addDate(isBefore ? -days : days);\n endDW = startDW.clone().addDate(days);\n x = getIdxFromDiff(dateDW.d, startDW.d);\n y += (isBefore ? -1 : 1);\n }\n\n return [x, y];\n};\n\n/**\n * Get limited coordinate by supplied coodinates\n * @param {number[]} coord - coordinate need to limit\n * @param {number[]} [min] - minimum limitaion of coordinate\n * @param {number[]} [max] - maximum limitation of coordinate\n * @returns {number[]} limited coordiate\n */\nMonthGuide.prototype._getLimitedCoord = function(coord, min, max) {\n var toIndex = 1,\n x = coord[0],\n y = coord[1],\n result;\n\n min = min || [0, 0];\n max = max || [this.days - toIndex, this.weeks.length - toIndex];\n\n if (y < min[1]) {\n result = min.slice(0);\n } else if (y > max[1]) {\n result = max.slice(0);\n } else {\n x = mmax(min[0], x);\n x = mmin(max[0], x);\n result = [x, y];\n }\n\n return result;\n};\n\n/**\n * Prepare guide element modification\n * @param {object} dragStartEvent - dragStart schedule data from *guide\n */\nMonthGuide.prototype.start = function(dragStartEvent) {\n var opt = this.options,\n target = dragStartEvent.target,\n model = dragStartEvent.model,\n x = dragStartEvent.x,\n y = dragStartEvent.y,\n temp;\n\n if (opt.isResizeMode) {\n temp = this._getCoordByDate(model.getStarts());\n x = temp[0];\n y = temp[1];\n\n util.extend(this.options, {\n top: parseInt(target.style.top, 10) + 'px',\n height: parseInt(target.style.height, 10) + 'px',\n bgColor: model.bgColor,\n borderColor: model.borderColor,\n label: model.title\n });\n }\n\n this.startCoord = [x, y];\n this.update(x, y);\n};\n\n/**\n * Data for update several guide elements\n * @typedef UpdateIndication\n * @type {object}\n * @property {HTMLElement} guide - guide element\n * @property {number} left - left style value\n * @property {number} width - width style value\n * @property {boolean} [exceedL=false] - whether schedule is exceeded past weeks?\n * @property {boolean} [exceedR=false] - whether schedule is exceeded future weeks?\n */\n\n/**\n * Modify HTML element that uses for guide element\n * @param {UpdateIndication[]} inds - indication of update severel guide element\n */\nMonthGuide.prototype._updateGuides = function(inds) {\n util.forEach(inds, function(ind) {\n var guide = ind.guide,\n exceedLClass = config.classname('month-exceed-left'),\n exceedRClass = config.classname('month-exceed-right');\n\n guide.style.display = 'block';\n guide.style.left = ind.left + '%';\n guide.style.width = ind.width + '%';\n\n if (ind.exceedL) {\n domutil.addClass(guide, exceedLClass);\n } else {\n domutil.removeClass(guide, exceedLClass);\n }\n\n if (ind.exceedR) {\n domutil.addClass(guide, exceedRClass);\n } else {\n domutil.removeClass(guide, exceedRClass);\n }\n });\n};\n\n/**\n * Get guide element indicate for origin week\n * @param {number[]} startCoord - drag start coordinate\n * @param {number[]} mouseCoord - mouse coordinate\n * @returns {object} indicate\n */\nMonthGuide.prototype._getOriginIndicate = function(startCoord, mouseCoord) {\n var left = mmin(startCoord[0], mouseCoord[0]),\n right = mmax(startCoord[0], mouseCoord[0]) + 1,\n exceedL, exceedR;\n\n if (mouseCoord[1] > startCoord[1]) {\n left = startCoord[0];\n right = this.days;\n exceedR = true;\n } else if (mouseCoord[1] < startCoord[1]) {\n left = 0;\n right = startCoord[0] + 1;\n exceedL = true;\n }\n\n return {\n left: this._getRatioValueInWeek(left),\n width: this._getRatioValueInWeek(right) -\n this._getRatioValueInWeek(left),\n exceedL: exceedL,\n exceedR: exceedR\n };\n};\n\n/**\n * Get guide element indicate for week related with mouse position\n * @param {number[]} startCoord - drag start coordinate\n * @param {number[]} mouseCoord - mouse coordinate\n * @returns {object} indicate\n */\nMonthGuide.prototype._getMouseIndicate = function(startCoord, mouseCoord) {\n var left = mouseCoord[0],\n right = mouseCoord[0] + 1,\n exceedL, exceedR;\n\n if (mouseCoord[1] > startCoord[1]) {\n left = 0;\n exceedL = true;\n } else if (mouseCoord[1] < startCoord[1]) {\n right = this.days;\n exceedR = true;\n }\n\n return {\n left: this._getRatioValueInWeek(left),\n width: this._getRatioValueInWeek(right) -\n this._getRatioValueInWeek(left),\n exceedL: exceedL,\n exceedR: exceedR\n };\n};\n\n/**\n * Get guide element indicate for contained weeks\n * @returns {object} indicate\n */\nMonthGuide.prototype._getContainIndicate = function() {\n return {\n left: 0,\n width: 100,\n exceedL: true,\n exceedR: true\n };\n};\n\n/**\n * Remove several guide element that supplied by parameter\n * @param {number[]} yCoords - array of y coordinate to remove guide element\n */\nMonthGuide.prototype._removeGuideElements = function(yCoords) {\n var guides = this.guideElements;\n\n util.forEach(yCoords, function(y) {\n domutil.remove(guides[y]);\n delete guides[y];\n });\n};\n\n/**\n * Get excluded numbers in range\n * @param {number[]} range - the range. value must be sequencial.\n * @param {number[]} numbers - numbers to check\n * @returns {number[]} excluded numbers\n */\nMonthGuide.prototype._getExcludesInRange = function(range, numbers) {\n var min = mmin.apply(null, range),\n max = mmax.apply(null, range),\n excludes = [];\n\n util.forEach(numbers, function(num) {\n num = parseInt(num, 10);\n if (num < min || num > max) {\n excludes.push(num);\n }\n });\n\n return excludes;\n};\n\n/**\n * Update guide elements by coordinate in month grid from mousemove event\n * @param {number} x - x coordinate\n * @param {number} y - y coordinate\n */\nMonthGuide.prototype.update = function(x, y) {\n var self = this,\n startCoord = this.startCoord,\n mouseCoord = [x, y],\n limitedCoord = this.options.isResizeMode ?\n this._getLimitedCoord(mouseCoord, startCoord) : mouseCoord,\n renderedYIndex = util.keys(this.guideElements),\n yCoordsToUpdate = util.range(\n mmin(startCoord[1], limitedCoord[1]),\n mmax(startCoord[1], limitedCoord[1]) + 1\n ),\n yCoordsToRemove = this._getExcludesInRange(\n yCoordsToUpdate,\n renderedYIndex\n ),\n renderIndication = {};\n\n this._removeGuideElements(yCoordsToRemove);\n\n util.forEach(yCoordsToUpdate, function(guideYCoord) {\n var guide = self._getGuideElement(guideYCoord),\n indicate;\n\n if (!guide) {\n return;\n }\n\n if (guideYCoord === startCoord[1]) {\n indicate = self._getOriginIndicate(startCoord, limitedCoord);\n } else if (guideYCoord === mouseCoord[1]) {\n indicate = self._getMouseIndicate(startCoord, mouseCoord);\n } else {\n indicate = self._getContainIndicate();\n }\n\n renderIndication[guideYCoord] = util.extend({\n guide: guide\n }, indicate);\n });\n\n this._updateGuides(renderIndication);\n};\n\n/**\n * Clear all guide elements\n */\nMonthGuide.prototype.clear = function() {\n util.forEach(this.guideElements, function(element) {\n domutil.remove(element);\n });\n\n this.guideElements = {};\n};\n\nmodule.exports = MonthGuide;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/guide.js\n// module id = 27\n// module chunks = 0","/**\n * @fileoverview Model for views\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\n/**\n * Schedule ViewModel\n * @constructor\n * @param {Schedule} schedule Schedule instance.\n */\nfunction ScheduleViewModel(schedule) {\n /**\n * The model of schedule.\n * @type {Schedule}\n */\n this.model = schedule;\n\n /**\n * @type {number}\n */\n this.top = 0;\n\n /**\n * @type {number}\n */\n this.left = 0;\n\n /**\n * @type {number}\n */\n this.width = 0;\n\n /**\n * @type {number}\n */\n this.height = 0;\n\n /**\n * Represent schedule has collide with other schedules when rendering.\n * @type {boolean}\n */\n this.hasCollide = false;\n\n /**\n * Extra space at rigth side of this schedule.\n * @type {number}\n */\n this.extraSpace = 0;\n\n /**\n * represent this schedule block is not visible after rendered.\n *\n * in month view, some viewmodel in date need to hide when already rendered before dates.\n *\n * set true then it just shows empty space.\n * @type {boolean}\n */\n this.hidden = false;\n\n /**\n * whether the schedule includes multiple dates\n */\n this.hasMultiDates = false;\n\n /**\n * represent render start date used at rendering.\n *\n * if set null then use model's 'start' property.\n * @type {TZDate}\n */\n this.renderStarts = null;\n\n /**\n * whether the actual start-date is before the render-start-date\n * @type {boolean}\n */\n this.exceedLeft = false;\n\n /**\n * represent render end date used at rendering.\n *\n * if set null then use model's 'end' property.\n * @type {TZDate}\n */\n this.renderEnds = null;\n\n /**\n * whether the actual end-date is after the render-end-date\n * @type {boolean}\n */\n this.exceedRight = false;\n}\n\n/**********\n * static props\n **********/\n\n/**\n * ScheduleViewModel factory method.\n * @param {Schedule} schedule Schedule instance.\n * @returns {ScheduleViewModel} ScheduleViewModel instance.\n */\nScheduleViewModel.create = function(schedule) {\n return new ScheduleViewModel(schedule);\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * return renderStarts property to render properly when specific schedule that exceed rendering date range.\n *\n * if renderStarts is not set. return model's start property.\n * @override\n * @returns {Date} render start date.\n */\nScheduleViewModel.prototype.getStarts = function() {\n if (this.renderStarts) {\n return this.renderStarts;\n }\n\n return this.model.start;\n};\n\n/**\n * return renderStarts property to render properly when specific schedule that exceed rendering date range.\n *\n * if renderEnds is not set. return model's end property.\n * @override\n * @returns {Date} render end date.\n */\nScheduleViewModel.prototype.getEnds = function() {\n if (this.renderEnds) {\n return this.renderEnds;\n }\n\n return this.model.end;\n};\n\n/**\n * @returns {number} unique number for model.\n */\nScheduleViewModel.prototype.cid = function() {\n return util.stamp(this.model);\n};\n\n/**\n * Shadowing valueOf method for schedule sorting.\n * @returns {Schedule} The model of schedule.\n */\nScheduleViewModel.prototype.valueOf = function() {\n return this.model;\n};\n\n/**\n * Link duration method\n * @returns {number} Schedule#duration result.\n */\nScheduleViewModel.prototype.duration = function() {\n return this.model.duration();\n};\n\n/**\n * Link collidesWith method\n * @param {Schedule|ScheduleViewModel} viewModel - Model or viewmodel instance of Schedule.\n * @returns {boolean} Schedule#collidesWith result.\n */\nScheduleViewModel.prototype.collidesWith = function(viewModel) {\n var ownStarts = this.getStarts(),\n ownEnds = this.getEnds(),\n start = viewModel.getStarts(),\n end = viewModel.getEnds();\n\n if ((start > ownStarts && start < ownEnds) ||\n (end > ownStarts && end < ownEnds) ||\n (start <= ownStarts && end >= ownEnds)) {\n return true;\n }\n\n return false;\n};\n\nmodule.exports = ScheduleViewModel;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/model/viewModel/scheduleViewModel.js\n// module id = 28\n// module chunks = 0","/**\n * @fileoverview Weekday view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n domutil = require('../common/domutil'),\n datetime = require('../common/datetime'),\n TZDate = require('../common/timezone').Date,\n View = require('./view');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - view options.\n * @param {number} [options.containerHeight=40] - minimum height of schedule\n * container element.\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n * make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n * view.\n */\nfunction Weekday(options, container) {\n container = domutil.appendHTMLElement(\n 'div',\n container,\n config.classname('weekday')\n );\n\n /**\n * @type {object}\n */\n this.options = util.extend({\n containerHeight: 40,\n containerBottomGutter: 8,\n scheduleHeight: 18,\n scheduleGutter: 2,\n narrowWeekend: false,\n startDayOfWeek: 0,\n workweek: false\n }, options);\n\n /*\n * cache parent's view model\n * @type {object}\n */\n this._cacheParentViewModel = null;\n\n View.call(this, container);\n}\n\nutil.inherit(Weekday, View);\n\n/**\n * Get render date range\n * @returns {Date[]} rendered date range\n */\nWeekday.prototype.getRenderDateRange = function() {\n return this._cacheParentViewModel.range;\n};\n\n/**\n * Get render date grids information\n * @returns {Date[]} rendered date grids information\n */\nWeekday.prototype.getRenderDateGrids = function() {\n return this._cacheParentViewModel.grids;\n};\n\n/**\n * Get default view model.\n * @param {object} viewModel parent's view model\n * @returns {object} viewModel to rendering.\n */\nWeekday.prototype.getBaseViewModel = function(viewModel) {\n var opt = this.options;\n var range = viewModel.range;\n var today = datetime.format(new TZDate(), 'YYYYMMDD');\n var gridWidth = (100 / range.length);\n var grids = viewModel.grids;\n var exceedDate = viewModel.exceedDate || {};\n\n this._cacheParentViewModel = viewModel;\n\n return {\n width: gridWidth,\n scheduleHeight: opt.scheduleHeight,\n scheduleBlockHeight: (opt.scheduleHeight + opt.scheduleGutter),\n scheduleBlockGutter: opt.scheduleGutter,\n dates: util.map(range, function(date, index) {\n var day = date.getDay();\n var ymd = datetime.format(date, 'YYYYMMDD');\n\n return {\n date: datetime.format(date, 'YYYY-MM-DD'),\n month: date.getMonth() + 1,\n day: day,\n isToday: ymd === today,\n ymd: ymd,\n hiddenSchedules: exceedDate[ymd] || 0,\n width: grids[index].width,\n left: grids[index].left\n };\n })\n };\n};\n\nmodule.exports = Weekday;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/weekday.js\n// module id = 29\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \"
    \\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
    \"\n + alias4(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"label\",\"hash\":{},\"data\":data}) : helper)))\n + \"
    \\n
     
    \\n
    \\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n return \"display:none\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\"\n + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isCreationMode : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/guide.hbs\n// module id = 31\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \" border-left:3px solid \"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n + \";\\n \";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \" \\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \" \"\n + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \" \"\n + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\"\n + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\"\n + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/moveGuide.hbs\n// module id = 32\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n \\n \"\n + ((stack1 = (helpers[\"monthDayname-tmpl\"] || (depth0 && depth0[\"monthDayname-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthDayname-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n \\n
    \\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.daynames : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/month.hbs\n// module id = 33\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),\"||\",(depth0 != null ? depth0.hasMultiDates : depth0),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\n return \"
    \\n \"\n + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color: #ffffff; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; border-left:3px solid \"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n + \";\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n + \"; border-left:3px solid \"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n + \"\\n\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\n return \"
    \\n \\n \"\n + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n return \"\\n background: #ffffff\\n\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \" background:\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"\\n \";\n},\"12\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \"\\n color: #ffffff;\\n background-color: \"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"\\n\";\n},\"14\":function(container,depth0,helpers,partials,data) {\n return \" color:#333;\\n \";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
    \\n \"\n + ((stack1 = (helpers[\"monthMoreTitleDate-tmpl\"] || (depth0 && depth0[\"monthMoreTitleDate-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.date : depth0),{\"name\":\"monthMoreTitleDate-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n \\n
    \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/more.hbs\n// module id = 34\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
    \\n \"\n + ((stack1 = (helpers[\"monthGridHeader-tmpl\"] || (depth0 && depth0[\"monthGridHeader-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthGridHeader-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n\"\n + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n \"\n + ((stack1 = (helpers[\"monthGridFooter-tmpl\"] || (depth0 && depth0[\"monthGridFooter-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthGridFooter-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n\"\n + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"near-month-day\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"today\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"extra-date\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \" \"\n + ((stack1 = (helpers[\"monthGridHeaderExceed-tmpl\"] || (depth0 && depth0[\"monthGridHeaderExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"monthGridHeaderExceed-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \" \"\n + ((stack1 = (helpers[\"monthGridFooterExceed-tmpl\"] || (depth0 && depth0[\"monthGridFooterExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"monthGridFooterExceed-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.dates : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/weekdayInMonth.hbs\n// module id = 35\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \"\\n\"\n + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \"\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \"\\n\"\n + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.top : depth0),\"<\",((stack1 = (data && data.root)) && stack1.renderLimitIdx),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=\"function\";\n\n return \"
    \\n\"\n + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),\"||\",(depth0 != null ? depth0.hasMultiDates : depth0),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.program(19, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"weekday-exceed-left\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"weekday-exceed-right\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\n return \"
    \\n \"\n + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n \"\n + ((stack1 = helpers.unless.call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(17, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n\";\n},\"11\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"weekday-schedule-focused \";\n},\"13\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color: #ffffff; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; border-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \";\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n + \"; border-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n + \";\\n\";\n},\"17\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \";\n},\"19\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\n return \"
    \\n \\n \"\n + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n\";\n},\"20\":function(container,depth0,helpers,partials,data) {\n return \" background: #ffffff\\n\";\n},\"22\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \" background:\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"\\n\";\n},\"24\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \" color: #ffffff;\\n background-color: \"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"\\n\";\n},\"26\":function(container,depth0,helpers,partials,data) {\n return \" color:#333;\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/weekdayInMonthSchedule.hbs\n// module id = 36\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n \"\n + ((stack1 = ((helper = (helper = helpers[\"alldayTitle-tmpl\"] || (depth0 != null ? depth0[\"alldayTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"alldayTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"\\n
    \\n
    \\n
    \\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/allday.hbs\n// module id = 37\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n \\n \"\n + ((stack1 = (helpers[\"weekDayname-tmpl\"] || (depth0 && depth0[\"weekDayname-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"weekDayname-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n \\n
    \\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"today\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"
    \\n\"\n + ((stack1 = helpers.each.call(alias1,depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/daynames.hbs\n// module id = 38\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
      \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.items : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"today\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;\n\n return \"
  • \\n \"\n + ((stack1 = (helpers[\"milestone-tmpl\"] || (depth0 && depth0[\"milestone-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"milestone-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
  • \\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n \"\n + ((stack1 = ((helper = (helper = helpers[\"milestoneTitle-tmpl\"] || (depth0 != null ? depth0[\"milestoneTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"milestoneTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"\\n
    \\n
    \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/milestone.hbs\n// module id = 39\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
    \\n
      \\n\"\n + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.morning : depth0)) != null ? stack1.items : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.lunch : depth0)) != null ? stack1.items : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.evening : depth0)) != null ? stack1.items : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n
    \\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"today\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;\n\n return \"
  • \"\n + ((stack1 = (helpers[\"task-tmpl\"] || (depth0 && depth0[\"task-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"task-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"
  • \\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;\n\n return \"
  • \"\n + ((stack1 = (helpers[\"task-tmpl\"] || (depth0 && depth0[\"task-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"task-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"
  • \\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n \"\n + ((stack1 = ((helper = (helper = helpers[\"taskTitle-tmpl\"] || (depth0 != null ? depth0[\"taskTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"taskTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"\\n
    \\n\\n
    \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/taskview.hbs\n// module id = 40\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n return \"
    \\n
    \"\n + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n \"\n + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.cropped : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"time-date-schedule-block-pending\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"time-schedule-focused \";\n},\"9\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color: #ffffff; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; border-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \";\\n\";\n},\"11\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n + \"; border-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n + \";\\n\";\n},\"13\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \"
     
    \";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/time.hbs\n// module id = 41\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n \"\n + alias4(((helper = (helper = helpers.hours || (depth0 != null ? depth0.hours : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"hours\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\n
    \\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n return \"display:none\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \"
    \\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n
    \\n
    \"\n + alias4(((helper = (helper = helpers.hourmarkerText || (depth0 != null ? depth0.hourmarkerText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"hourmarkerText\",\"hash\":{},\"data\":data}) : helper)))\n + \"
    \\n
    \\n
    today
    \\n
    \\n
    \\n
    \\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.hoursLabels : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.hoursLabels : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n
    \\n
    \\n\\n\"\n + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.showHourMarker : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/timeGrid.hbs\n// module id = 42\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \"
     
    \";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n return \"
    \\n
    \"\n + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n \"\n + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.cropped : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/week/timeMoveGuide.hbs\n// module id = 43\n// module chunks = 0","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"today\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \"\\n \"\n + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return \"\\n \"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"7\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=\"function\", alias5=container.lambda;\n\n return \"\\n
    \\n
    \\n \"\n + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\n \"\n + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(18, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\n
    \\n
    \\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"weekday-exceed-left\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \"\n + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"weekday-exceed-right\";\n},\"12\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n + \"weekday-schedule-focused \";\n},\"14\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color: #ffffff; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; border-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \";\\n\";\n},\"16\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n return \" color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n + \"; background-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n + \"; border-color:\"\n + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n + \";\\n\";\n},\"18\":function(container,depth0,helpers,partials,data) {\n var helper;\n\n return \" \";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n return \"
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.dates : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n
    \\n
    \\n \\n
    \\n\"\n + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"
    \\n\";\n},\"useData\":true});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/weekdayInWeek.hbs\n// module id = 44\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// istanbul ignore next\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\nvar _handlebarsBase = require('./handlebars/base');\n\nvar base = _interopRequireWildcard(_handlebarsBase);\n\n// Each of these augment the Handlebars object. No need to setup here.\n// (This is done to easily share code between commonjs and browse envs)\n\nvar _handlebarsSafeString = require('./handlebars/safe-string');\n\nvar _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);\n\nvar _handlebarsException = require('./handlebars/exception');\n\nvar _handlebarsException2 = _interopRequireDefault(_handlebarsException);\n\nvar _handlebarsUtils = require('./handlebars/utils');\n\nvar Utils = _interopRequireWildcard(_handlebarsUtils);\n\nvar _handlebarsRuntime = require('./handlebars/runtime');\n\nvar runtime = _interopRequireWildcard(_handlebarsRuntime);\n\nvar _handlebarsNoConflict = require('./handlebars/no-conflict');\n\nvar _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);\n\n// For compatibility and usage outside of module systems, make the Handlebars object a namespace\nfunction create() {\n var hb = new base.HandlebarsEnvironment();\n\n Utils.extend(hb, base);\n hb.SafeString = _handlebarsSafeString2['default'];\n hb.Exception = _handlebarsException2['default'];\n hb.Utils = Utils;\n hb.escapeExpression = Utils.escapeExpression;\n\n hb.VM = runtime;\n hb.template = function (spec) {\n return runtime.template(spec, hb);\n };\n\n return hb;\n}\n\nvar inst = create();\ninst.create = create;\n\n_handlebarsNoConflict2['default'](inst);\n\ninst['default'] = inst;\n\nexports['default'] = inst;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9oYW5kbGViYXJzLnJ1bnRpbWUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Oz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lO1xuICBoYi50ZW1wbGF0ZSA9IGZ1bmN0aW9uKHNwZWMpIHtcbiAgICByZXR1cm4gcnVudGltZS50ZW1wbGF0ZShzcGVjLCBoYik7XG4gIH07XG5cbiAgcmV0dXJuIGhiO1xufVxuXG5sZXQgaW5zdCA9IGNyZWF0ZSgpO1xuaW5zdC5jcmVhdGUgPSBjcmVhdGU7XG5cbm5vQ29uZmxpY3QoaW5zdCk7XG5cbmluc3RbJ2RlZmF1bHQnXSA9IGluc3Q7XG5cbmV4cG9ydCBkZWZhdWx0IGluc3Q7XG4iXX0=\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars.runtime.js\n// module id = 45\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.registerDefaultDecorators = registerDefaultDecorators;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _decoratorsInline = require('./decorators/inline');\n\nvar _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);\n\nfunction registerDefaultDecorators(instance) {\n _decoratorsInline2['default'](instance);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Z0NBQTJCLHFCQUFxQjs7OztBQUV6QyxTQUFTLHlCQUF5QixDQUFDLFFBQVEsRUFBRTtBQUNsRCxnQ0FBZSxRQUFRLENBQUMsQ0FBQztDQUMxQiIsImZpbGUiOiJkZWNvcmF0b3JzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZ2lzdGVySW5saW5lIGZyb20gJy4vZGVjb3JhdG9ycy9pbmxpbmUnO1xuXG5leHBvcnQgZnVuY3Rpb24gcmVnaXN0ZXJEZWZhdWx0RGVjb3JhdG9ycyhpbnN0YW5jZSkge1xuICByZWdpc3RlcklubGluZShpbnN0YW5jZSk7XG59XG5cbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/decorators.js\n// module id = 46\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n instance.registerDecorator('inline', function (fn, props, container, options) {\n var ret = fn;\n if (!props.partials) {\n props.partials = {};\n ret = function (context, options) {\n // Create a new partials stack frame prior to exec.\n var original = container.partials;\n container.partials = _utils.extend({}, original, props.partials);\n var ret = fn(context, options);\n container.partials = original;\n return ret;\n };\n }\n\n props.partials[options.args[0]] = options.fn;\n\n return ret;\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMvaW5saW5lLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQXFCLFVBQVU7O3FCQUVoQixVQUFTLFFBQVEsRUFBRTtBQUNoQyxVQUFRLENBQUMsaUJBQWlCLENBQUMsUUFBUSxFQUFFLFVBQVMsRUFBRSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFO0FBQzNFLFFBQUksR0FBRyxHQUFHLEVBQUUsQ0FBQztBQUNiLFFBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxFQUFFO0FBQ25CLFdBQUssQ0FBQyxRQUFRLEdBQUcsRUFBRSxDQUFDO0FBQ3BCLFNBQUcsR0FBRyxVQUFTLE9BQU8sRUFBRSxPQUFPLEVBQUU7O0FBRS9CLFlBQUksUUFBUSxHQUFHLFNBQVMsQ0FBQyxRQUFRLENBQUM7QUFDbEMsaUJBQVMsQ0FBQyxRQUFRLEdBQUcsY0FBTyxFQUFFLEVBQUUsUUFBUSxFQU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AgICAgY29udGFpbmVyLnBhcnRpYWxzID0gb3JpZ2luYWw7XG4gICAgICAgIHJldHVybiByZXQ7XG4gICAgICB9O1xuICAgIH1cblxuICAgIHByb3BzLnBhcnRpYWxzW29wdGlvbnMuYXJnc1swXV0gPSBvcHRpb25zLmZuO1xuXG4gICAgcmV0dXJuIHJldDtcbiAgfSk7XG59XG4iXX0=\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/decorators/inline.js\n// module id = 47\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.registerDefaultHelpers = registerDefaultHelpers;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _helpersBlockHelperMissing = require('./helpers/block-helper-missing');\n\nvar _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);\n\nvar _helpersEach = require('./helpers/each');\n\nvar _helpersEach2 = _interopRequireDefault(_helpersEach);\n\nvar _helpersHelperMissing = require('./helpers/helper-missing');\n\nvar _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);\n\nvar _helpersIf = require('./helpers/if');\n\nvar _helpersIf2 = _interopRequireDefault(_helpersIf);\n\nvar _helpersLog = require('./helpers/log');\n\nvar _helpersLog2 = _interopRequireDefault(_helpersLog);\n\nvar _helpersLookup = require('./helpers/lookup');\n\nvar _helpersLookup2 = _interopRequireDefault(_helpersLookup);\n\nvar _helpersWith = require('./helpers/with');\n\nvar _helpersWith2 = _interopRequireDefault(_helpersWith);\n\nfunction registerDefaultHelpers(instance) {\n _helpersBlockHelperMissing2['default'](instance);\n _helpersEach2['default'](instance);\n _helpersHelperMissing2['default'](instance);\n _helpersIf2['default'](instance);\n _helpersLog2['default'](instance);\n _helpersLookup2['default'](instance);\n _helpersWith2['default'](instance);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy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5cbmV4cG9ydCBmdW5jdGlvbiByZWdpc3RlckRlZmF1bHRIZWxwZXJzKGluc3RhbmNlKSB7XG4gIHJlZ2lzdGVyQmxvY2tIZWxwZXJNaXNzaW5nKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJFYWNoKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJIZWxwZXJNaXNzaW5nKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJJZihpbnN0YW5jZSk7XG4gIHJlZ2lzdGVyTG9nKGluc3RhbmNlKTtcbiAgcmVnaXN0ZXJMb29rdXAoaW5zdGFuY2UpO1xuICByZWdpc3RlcldpdGgoaW5zdGFuY2UpO1xufVxuIl19\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers.js\n// module id = 48\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n instance.registerHelper('blockHelperMissing', function (context, options) {\n var inverse = options.inverse,\n fn = options.fn;\n\n if (context === true) {\n return fn(this);\n } else if (context === false || context == null) {\n return inverse(this);\n } else if (_utils.isArray(context)) {\n if (context.length > 0) {\n if (options.ids) {\n options.ids = [options.name];\n }\n\n return instance.helpers.each(context, options);\n } else {\n return inverse(this);\n }\n } else {\n if (options.data && options.ids) {\n var data = _utils.createFrame(options.data);\n data.contextPath = _utils.appendContextPath(options.data.contextPath, options.name);\n options = { data: data };\n }\n\n return fn(context, options);\n }\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvYmxvY2staGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBc0QsVUFBVTs7cUJBRWpELFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0F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aW9ucy5kYXRhICYmIG9wdGlvbnMuaWRzKSB7XG4gICAgICAgIGxldCBkYXRhID0gY3JlYXRlRnJhbWUob3B0aW9ucy5kYXRhKTtcbiAgICAgICAgZGF0YS5jb250ZXh0UGF0aCA9IGFwcGVuZENvbnRleHRQYXRoKG9wdGlvbnMuZGF0YS5jb250ZXh0UGF0aCwgb3B0aW9ucy5uYW1lKTtcbiAgICAgICAgb3B0aW9ucyA9IHtkYXRhOiBkYXRhfTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIGZuKGNvbnRleHQsIG9wdGlvbnMpO1xuICAgIH1cbiAgfSk7XG59XG4iXX0=\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js\n// module id = 49\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('../utils');\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n instance.registerHelper('each', function (context, options) {\n if (!options) {\n throw new _exception2['default']('Must pass iterator to #each');\n }\n\n var fn = options.fn,\n inverse = options.inverse,\n i = 0,\n ret = '',\n data = undefined,\n contextPath = undefined;\n\n if (options.data && options.ids) {\n contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.';\n }\n\n if (_utils.isFunction(context)) {\n context = context.call(this);\n }\n\n if (options.data) {\n data = _utils.createFrame(options.data);\n }\n\n function execIteration(field, index, last) {\n if (data) {\n data.key = field;\n data.index = index;\n data.first = index === 0;\n data.last = !!last;\n\n if (contextPath) {\n data.contextPath = contextPath + field;\n }\n }\n\n ret = ret + fn(context[field], {\n data: data,\n blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])\n });\n }\n\n if (context && typeof context === 'object') {\n if (_utils.isArray(context)) {\n for (var j = context.length; i < j; i++) {\n if (i in context) {\n execIteration(i, i, i === context.length - 1);\n }\n }\n } else {\n var priorKey = undefined;\n\n for (var key in context) {\n if (context.hasOwnProperty(key)) {\n // We're running the iterations one step out of sync so we can detect\n // the last iteration without have to scan the object twice and create\n // an itermediate keys array.\n if (priorKey !== undefined) {\n execIteration(priorKey, i - 1);\n }\n priorKey = key;\n i++;\n }\n }\n if (priorKey !== undefined) {\n execIteration(priorKey, i - 1, true);\n }\n }\n }\n\n if (i === 0) {\n ret = inverse(this);\n }\n\n return ret;\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvZWFjaC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O3FCQUErRSxVQUFVOzt5QkFDbkUsY0FBYzs7OztxQkFFckIsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxNQUFNLEVBQUUsVUFBUyxPQUFPLEVBQUUsT0FBTyxFQUFFO0FBQ3pELFFBQUksQ0FBQyxPQUFPLEVBQUU7QUFDWixZQUFNLDJCQUFjLDZCQUE2QixDQUFDLENBQUM7S0FDcEQ7O0FBRUQsUUFBSSxFQUFFLEdBQUcsT0FBTyxDQUFDLEVBQUU7UUFDZixPQUFPLEdBQUcsT0FBTyxDQUFDLE9BQU87UUFDekIsQ0FBQyxHQUFHLENBQUM7UUFDTCxHQUFHLEdBQUcsRUFBRTtRQUNSLElBQUksWUFBQTtRQUNKLFdBQVcsWUFBQSxDQUFDOztBQUVoQixRQUFJLE9BQU8sQ0FBQyxJQUFJLElBQUksT0FBTyxDQUFDLEdBQUcsRUFBRTtBQUMvQixpQkFBVyxHQUFHLHlCQUFrQixPQUFPLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0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mluZGV4ID0gaW5kZXg7XG4gICAgICAgIGRhdGEuZmlyc3QgPSBpbmRleCA9PT0gMDtcbiAgICAgICAgZGF0YS5sYXN0ID0gISFsYXN0O1xuXG4gICAgICAgIGlmIChjb250ZXh0UGF0aCkge1xuICAgICAgICAgIGRhdGEuY29udGV4dFBhdGggPSBjb250ZXh0UGF0aCArIGZpZWxkO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIHJldCA9IHJldCArIGZuKGNvbnRleHRbZmllbGRdLCB7XG4gICAgICAgIGRhdGE6IGRhdGEsXG4gICAgICAgIGJsb2NrUGFyYW1zOiBibG9ja1BhcmFtcyhbY29udGV4dFtmaWVsZF0sIGZpZWxkXSwgW2NvbnRleHRQYXRoICsgZmllbGQsIG51bGxdKVxuICAgICAgfSk7XG4gICAgfVxuXG4gICAgaWYgKGNvbnRleHQgJiYgdHlwZW9mIGNvbnRleHQgPT09ICdvYmplY3QnKSB7XG4gICAgICBpZiAoaXNBcnJheShjb250ZXh0KSkge1xuICAgICAgICBmb3IgKGxldCBqID0gY29udGV4dC5sZW5ndGg7IGkgPCBqOyBpKyspIHtcbiAgICAgICAgICBpZiAoaSBpbiBjb250ZXh0KSB7XG4gICAgICAgICAgICBleGVjSXRlcmF0aW9uKGksIGksIGkgPT09IGNvbnRleHQubGVuZ3RoIC0gMSk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsZXQgcHJpb3JLZXk7XG5cbiAgICAgICAgZm9yIChsZXQga2V5IGluIGNvbnRleHQpIHtcbiAgICAgICAgICBpZiAoY29udGV4dC5oYXNPd25Qcm9wZXJ0eShrZXkpKSB7XG4gICAgICAgICAgICAvLyBXZSdyZSBydW5uaW5nIHRoZSBpdGVyYXRpb25zIG9uZSBzdGVwIG91dCBvZiBzeW5jIHNvIHdlIGNhbiBkZXRlY3RcbiAgICAgICAgICAgIC8vIHRoZSBsYXN0IGl0ZXJhdGlvbiB3aXRob3V0IGhhdmUgdG8gc2NhbiB0aGUgb2JqZWN0IHR3aWNlIGFuZCBjcmVhdGVcbiAgICAgICAgICAgIC8vIGFuIGl0ZXJtZWRpYXRlIGtleXMgYXJyYXkuXG4gICAgICAgICAgICBpZiAocHJpb3JLZXkgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBwcmlvcktleSA9IGtleTtcbiAgICAgICAgICAgIGkrKztcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHByaW9yS2V5ICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSwgdHJ1ZSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAoaSA9PT0gMCkge1xuICAgICAgcmV0ID0gaW52ZXJzZSh0aGlzKTtcbiAgICB9XG5cbiAgICByZXR1cm4gcmV0O1xuICB9KTtcbn1cbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/each.js\n// module id = 50\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n instance.registerHelper('helperMissing', function () /* [args, ]options */{\n if (arguments.length === 1) {\n // A missing field in a {{foo}} construct.\n return undefined;\n } else {\n // Someone is actually trying to call something, blow up.\n throw new _exception2['default']('Missing helper: \"' + arguments[arguments.length - 1].name + '\"');\n }\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi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W1lbnRzLmxlbmd0aCAtIDFdLm5hbWUgKyAnXCInKTtcbiAgICB9XG4gIH0pO1xufVxuIl19\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/helper-missing.js\n// module id = 51\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n instance.registerHelper('if', function (conditional, options) {\n if (_utils.isFunction(conditional)) {\n conditional = conditional.call(this);\n }\n\n // Default behavior is to render the positive path if the value is truthy and not empty.\n // The `includeZero` option may be set to treat the condtional as purely not empty based on the\n // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.\n if (!options.hash.includeZero && !conditional || _utils.isEmpty(conditional)) {\n return options.inverse(this);\n } else {\n return options.fn(this);\n }\n });\n\n instance.registerHelper('unless', function (conditional, options) {\n return instance.helpers['if'].call(this, conditional, { fn: options.inverse, inverse: options.fn, hash: options.hash });\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaWYuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBa0MsVUFBVTs7cUJBRTdCLFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsSUFBSSxFQUFFLFVBQVMsV0FBVyxFQUFFLE9BQU8sRUFBRTtBQUMzRCxRQUFJLGtCQUFXLFdBQVcsQ0FBQyxFQUFFO0FBQUUsaUJBQVcsR0FBRyxXQUFXLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0tBQUU7Ozs7O0FBS3RFLFFBQUksQUFBQyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLENBQUMsV0FBVyxJQUFLLGVBQVEsV0FBVyxDQ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0byB0cmVhdCB0aGUgY29uZHRpb25hbCBhcyBwdXJlbHkgbm90IGVtcHR5IGJhc2VkIG9uIHRoZVxuICAgIC8vIGJlaGF2aW9yIG9mIGlzRW1wdHkuIEVmZmVjdGl2ZWx5IHRoaXMgZGV0ZXJtaW5lcyBpZiAwIGlzIGhhbmRsZWQgYnkgdGhlIHBvc2l0aXZlIHBhdGggb3IgbmVnYXRpdmUuXG4gICAgaWYgKCghb3B0aW9ucy5oYXNoLmluY2x1ZGVaZXJvICYmICFjb25kaXRpb25hbCkgfHwgaXNFbXB0eShjb25kaXRpb25hbCkpIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmludmVyc2UodGhpcyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmZuKHRoaXMpO1xuICAgIH1cbiAgfSk7XG5cbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ3VubGVzcycsIGZ1bmN0aW9uKGNvbmRpdGlvbmFsLCBvcHRpb25zKSB7XG4gICAgcmV0dXJuIGluc3RhbmNlLmhlbHBlcnNbJ2lmJ10uY2FsbCh0aGlzLCBjb25kaXRpb25hbCwge2ZuOiBvcHRpb25zLmludmVyc2UsIGludmVyc2U6IG9wdGlvbnMuZm4sIGhhc2g6IG9wdGlvbnMuaGFzaH0pO1xuICB9KTtcbn1cbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/if.js\n// module id = 52\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (instance) {\n instance.registerHelper('log', function () /* message, options */{\n var args = [undefined],\n options = arguments[arguments.length - 1];\n for (var i = 0; i < arguments.length - 1; i++) {\n args.push(arguments[i]);\n }\n\n var level = 1;\n if (options.hash.level != null) {\n level = options.hash.level;\n } else if (options.data && options.data.level != null) {\n level = options.data.level;\n }\n args[0] = level;\n\n instance.log.apply(instance, args);\n });\n};\n\nmodule.exports = exports['default'];\n//#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eEIsQ0FBQyxDQUFDO0NBQ0oiLCJmaWxlIjoibG9nLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ2xvZycsIGZ1bmN0aW9uKC8qIG1lc3NhZ2UsIG9wdGlvbnMgKi8pIHtcbiAgICBsZXQgYXJncyA9IFt1bmRlZmluZWRdLFxuICAgICAgICBvcHRpb25zID0gYXJndW1lbnRzW2FyZ3VtZW50cy5sZW5ndGggLSAxXTtcbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IGFyZ3VtZW50cy5sZW5ndGggLSAxOyBpKyspIHtcbiAgICAgIGFyZ3MucHVzaChhcmd1bWVudHNbaV0pO1xuICAgIH1cblxuICAgIGxldCBsZXZlbCA9IDE7XG4gICAgaWYgKG9wdGlvbnMuaGFzaC5sZXZlbCAhPSBudWxsKSB7XG4gICAgICBsZXZlbCA9IG9wdGlvbnMuaGFzaC5sZXZlbDtcbiAgICB9IGVsc2UgaWYgKG9wdGlvbnMuZGF0YSAmJiBvcHRpb25zLmRhdGEubGV2ZWwgIT0gbnVsbCkge1xuICAgICAgbGV2ZWwgPSBvcHRpb25zLmRhdGEubGV2ZWw7XG4gICAgfVxuICAgIGFyZ3NbMF0gPSBsZXZlbDtcblxuICAgIGluc3RhbmNlLmxvZyguLi4gYXJncyk7XG4gIH0pO1xufVxuIl19\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/log.js\n// module id = 53\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (instance) {\n instance.registerHelper('lookup', function (obj, field) {\n return obj && obj[field];\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9va3VwLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQWUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxRQUFRLEVBQUUsVUFBUyxHQUFHLEVBQUUsS0FBSyxFQUFFO0FBQ3JELFdBQU8sR0FBRyxJQUFJLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQztHQUMxQixDQUFDLENBQUM7Q0FDSiIsImZpbGUiOiJsb29rdXAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBmdW5jdGlvbihpbnN0YW5jZSkge1xuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcignbG9va3VwJywgZnVuY3Rpb24ob2JqLCBmaWVsZCkge1xuICAgIHJldHVybiBvYmogJiYgb2JqW2ZpZWxkXTtcbiAgfSk7XG59XG4iXX0=\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/lookup.js\n// module id = 54\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n instance.registerHelper('with', function (context, options) {\n if (_utils.isFunction(context)) {\n context = context.call(this);\n }\n\n var fn = options.fn;\n\n if (!_utils.isEmpty(context)) {\n var data = options.data;\n if (options.data && options.ids) {\n data = _utils.createFrame(options.data);\n data.contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]);\n }\n\n return fn(context, {\n data: data,\n blockParams: _utils.blockParams([context], [data && data.contextPath])\n });\n } else {\n return options.inverse(this);\n }\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvd2l0aC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzI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cGVuZENvbnRleHRQYXRoLCBibG9ja1BhcmFtcywgY3JlYXRlRnJhbWUsIGlzRW1wdHksIGlzRnVuY3Rpb259IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ3dpdGgnLCBmdW5jdGlvbihjb250ZXh0LCBvcHRpb25zKSB7XG4gICAgaWYgKGlzRnVuY3Rpb24oY29udGV4dCkpIHsgY29udGV4dCA9IGNvbnRleHQuY2FsbCh0aGlzKTsgfVxuXG4gICAgbGV0IGZuID0gb3B0aW9ucy5mbjtcblxuICAgIGlmICghaXNFbXB0eShjb250ZXh0KSkge1xuICAgICAgbGV0IGRhdGEgPSBvcHRpb25zLmRhdGE7XG4gICAgICBpZiAob3B0aW9ucy5kYXRhICYmIG9wdGlvbnMuaWRzKSB7XG4gICAgICAgIGRhdGEgPSBjcmVhdGVGcmFtZShvcHRpb25zLmRhdGEpO1xuICAgICAgICBkYXRhLmNvbnRleHRQYXRoID0gYXBwZW5kQ29udGV4dFBhdGgob3B0aW9ucy5kYXRhLmNvbnRleHRQYXRoLCBvcHRpb25zLmlkc1swXSk7XG4gICAgICB9XG5cbiAgICAgIHJldHVybiBmbihjb250ZXh0LCB7XG4gICAgICAgIGRhdGE6IGRhdGEsXG4gICAgICAgIGJsb2NrUGFyYW1zOiBibG9ja1BhcmFtcyhbY29udGV4dF0sIFtkYXRhICYmIGRhdGEuY29udGV4dFBhdGhdKVxuICAgICAgfSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmludmVyc2UodGhpcyk7XG4gICAgfVxuICB9KTtcbn1cbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/helpers/with.js\n// module id = 55\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('./utils');\n\nvar logger = {\n methodMap: ['debug', 'info', 'warn', 'error'],\n level: 'info',\n\n // Maps a given level value to the `methodMap` indexes above.\n lookupLevel: function lookupLevel(level) {\n if (typeof level === 'string') {\n var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());\n if (levelMap >= 0) {\n level = levelMap;\n } else {\n level = parseInt(level, 10);\n }\n }\n\n return level;\n },\n\n // Can be overridden in the host environment\n log: function log(level) {\n level = logger.lookupLevel(level);\n\n if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {\n var method = logger.methodMap[level];\n if (!console[method]) {\n // eslint-disable-line no-console\n method = 'log';\n }\n\n for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n message[_key - 1] = arguments[_key];\n }\n\n console[method].apply(console, message); // eslint-disable-line no-console\n }\n }\n};\n\nexports['default'] = logger;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2xvZ2dlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O3FCQUFzQixTQUFTOztBQUUvQixJQUFJLE1BQU0sR0FBRztBQUNYLFdBQVMsRUFBRSxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQztBQUM3QyxPQUFLLEVBQUUsTUFBTTs7O0FBR2IsYUFBVyxFQUFFLHFCQUFTLEtBQUssRUFBRTtBQUMzQixRQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtBQUM3QixVQUFJLFFBQVEsR0FBRyxlQUFRLE1BQU0sQ0FBQyxTQUFTLEVBQUUsS0FBSyxDQUFDLFdBQVcsRUFBRSxDQUFDLENBQUM7QUFDOUQsVUFBSSxRQUFRLElBQUksQ0FBQyxFQUFFO0FBQ2pCLGFBQUssR0FBRyxRQUFRLENBQUM7T0FDbEI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GV2ZWwgPT09ICdzdHJpbmcnKSB7XG4gICAgICBsZXQgbGV2ZWxNYXAgPSBpbmRleE9mKGxvZ2dlci5tZXRob2RNYXAsIGxldmVsLnRvTG93ZXJDYXNlKCkpO1xuICAgICAgaWYgKGxldmVsTWFwID49IDApIHtcbiAgICAgICAgbGV2ZWwgPSBsZXZlbE1hcDtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGxldmVsID0gcGFyc2VJbnQobGV2ZWwsIDEwKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gbGV2ZWw7XG4gIH0sXG5cbiAgLy8gQ2FuIGJlIG92ZXJyaWRkZW4gaW4gdGhlIGhvc3QgZW52aXJvbm1lbnRcbiAgbG9nOiBmdW5jdGlvbihsZXZlbCwgLi4ubWVzc2FnZSkge1xuICAgIGxldmVsID0gbG9nZ2VyLmxvb2t1cExldmVsKGxldmVsKTtcblxuICAgIGlmICh0eXBlb2YgY29uc29sZSAhPT0gJ3VuZGVmaW5lZCcgJiYgbG9nZ2VyLmxvb2t1cExldmVsKGxvZ2dlci5sZXZlbCkgPD0gbGV2ZWwpIHtcbiAgICAgIGxldCBtZXRob2QgPSBsb2dnZXIubWV0aG9kTWFwW2xldmVsXTtcbiAgICAgIGlmICghY29uc29sZVttZXRob2RdKSB7ICAgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby1jb25zb2xlXG4gICAgICAgIG1ldGhvZCA9ICdsb2cnO1xuICAgICAgfVxuICAgICAgY29uc29sZVttZXRob2RdKC4uLm1lc3NhZ2UpOyAgICAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLWNvbnNvbGVcbiAgICB9XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IGxvZ2dlcjtcbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/logger.js\n// module id = 56\n// module chunks = 0","/* global window */\n'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (Handlebars) {\n /* istanbul ignore next */\n var root = typeof global !== 'undefined' ? global : window,\n $Handlebars = root.Handlebars;\n /* istanbul ignore next */\n Handlebars.noConflict = function () {\n if (root.Handlebars === Handlebars) {\n root.Handlebars = $Handlebars;\n }\n return Handlebars;\n };\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL25vLWNvbmZsaWN0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O3FCQUNlLFVBQVMsVUFBVSxFQUFFOztBQUVsQyxNQUFJLElBQUksR0FBRyxPQUFPLE1BQU0sS0FBSyxXQUFXLEdBQUcsTUFBTSxHQUFHLE1BQU07TUFDdEQsV0FBVyxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUM7O0FBRWxDLFlBQVUsQ0FBQyxVQUFVLEdBQUcsWUFBVztBQUNqQyxRQUFJLElBQUksQ0FBQyxVQUFVLEtBQUssVUFBVSxFQUFFO0FBQ2xDLFVBQUksQ0FBQyxVQUFVLEdBQUcsV0FBVyxDQUFDO0tBQy9CO0FBQ0QsV0FBTyxVQUFVLENBQUM7R0FDbkIsQ0FBQztDQUNIIiwiZmlsZSI6Im5vLWNvbmZsaWN0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogZ2xvYmFsIHdpbmRvdyAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oSGFuZGxlYmFycykge1xuICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICBsZXQgcm9vdCA9IHR5cGVvZiBnbG9iYWwgIT09ICd1bmRlZmluZWQnID8gZ2xvYmFsIDogd2luZG93LFxuICAgICAgJEhhbmRsZWJhcnMgPSByb290LkhhbmRsZWJhcnM7XG4gIC8qIGlzdGFuYnVsIGlnbm9yZSBuZXh0ICovXG4gIEhhbmRsZWJhcnMubm9Db25mbGljdCA9IGZ1bmN0aW9uKCkge1xuICAgIGlmIChyb290LkhhbmRsZWJhcnMgPT09IEhhbmRsZWJhcnMpIHtcbiAgICAgIHJvb3QuSGFuZGxlYmFycyA9ICRIYW5kbGViYXJzO1xuICAgIH1cbiAgICByZXR1cm4gSGFuZGxlYmFycztcbiAgfTtcbn1cbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/no-conflict.js\n// module id = 57\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.checkRevision = checkRevision;\nexports.template = template;\nexports.wrapProgram = wrapProgram;\nexports.resolvePartial = resolvePartial;\nexports.invokePartial = invokePartial;\nexports.noop = noop;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// istanbul ignore next\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\nvar _utils = require('./utils');\n\nvar Utils = _interopRequireWildcard(_utils);\n\nvar _exception = require('./exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nvar _base = require('./base');\n\nfunction checkRevision(compilerInfo) {\n var compilerRevision = compilerInfo && compilerInfo[0] || 1,\n currentRevision = _base.COMPILER_REVISION;\n\n if (compilerRevision !== currentRevision) {\n if (compilerRevision < currentRevision) {\n var runtimeVersions = _base.REVISION_CHANGES[currentRevision],\n compilerVersions = _base.REVISION_CHANGES[compilerRevision];\n throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');\n } else {\n // Use the embedded version info since the runtime doesn't know about this revision yet\n throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');\n }\n }\n}\n\nfunction template(templateSpec, env) {\n /* istanbul ignore next */\n if (!env) {\n throw new _exception2['default']('No environment passed to template');\n }\n if (!templateSpec || !templateSpec.main) {\n throw new _exception2['default']('Unknown template object: ' + typeof templateSpec);\n }\n\n templateSpec.main.decorator = templateSpec.main_d;\n\n // Note: Using env.VM references rather than local var references throughout this section to allow\n // for external users to override these as psuedo-supported APIs.\n env.VM.checkRevision(templateSpec.compiler);\n\n function invokePartialWrapper(partial, context, options) {\n if (options.hash) {\n context = Utils.extend({}, context, options.hash);\n if (options.ids) {\n options.ids[0] = true;\n }\n }\n\n partial = env.VM.resolvePartial.call(this, partial, context, options);\n var result = env.VM.invokePartial.call(this, partial, context, options);\n\n if (result == null && env.compile) {\n options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);\n result = options.partials[options.name](context, options);\n }\n if (result != null) {\n if (options.indent) {\n var lines = result.split('\\n');\n for (var i = 0, l = lines.length; i < l; i++) {\n if (!lines[i] && i + 1 === l) {\n break;\n }\n\n lines[i] = options.indent + lines[i];\n }\n result = lines.join('\\n');\n }\n return result;\n } else {\n throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');\n }\n }\n\n // Just add water\n var container = {\n strict: function strict(obj, name) {\n if (!(name in obj)) {\n throw new _exception2['default']('\"' + name + '\" not defined in ' + obj);\n }\n return obj[name];\n },\n lookup: function lookup(depths, name) {\n var len = depths.length;\n for (var i = 0; i < len; i++) {\n if (depths[i] && depths[i][name] != null) {\n return depths[i][name];\n }\n }\n },\n lambda: function lambda(current, context) {\n return typeof current === 'function' ? current.call(context) : current;\n },\n\n escapeExpression: Utils.escapeExpression,\n invokePartial: invokePartialWrapper,\n\n fn: function fn(i) {\n var ret = templateSpec[i];\n ret.decorator = templateSpec[i + '_d'];\n return ret;\n },\n\n programs: [],\n program: function program(i, data, declaredBlockParams, blockParams, depths) {\n var programWrapper = this.programs[i],\n fn = this.fn(i);\n if (data || depths || blockParams || declaredBlockParams) {\n programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);\n } else if (!programWrapper) {\n programWrapper = this.programs[i] = wrapProgram(this, i, fn);\n }\n return programWrapper;\n },\n\n data: function data(value, depth) {\n while (value && depth--) {\n value = value._parent;\n }\n return value;\n },\n merge: function merge(param, common) {\n var obj = param || common;\n\n if (param && common && param !== common) {\n obj = Utils.extend({}, common, param);\n }\n\n return obj;\n },\n // An empty object to use as replacement for null-contexts\n nullContext: Object.seal({}),\n\n noop: env.VM.noop,\n compilerInfo: templateSpec.compiler\n };\n\n function ret(context) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n var data = options.data;\n\n ret._setup(options);\n if (!options.partial && templateSpec.useData) {\n data = initData(context, data);\n }\n var depths = undefined,\n blockParams = templateSpec.useBlockParams ? [] : undefined;\n if (templateSpec.useDepths) {\n if (options.depths) {\n depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;\n } else {\n depths = [context];\n }\n }\n\n function main(context /*, options*/) {\n return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);\n }\n main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);\n return main(context, options);\n }\n ret.isTop = true;\n\n ret._setup = function (options) {\n if (!options.partial) {\n container.helpers = container.merge(options.helpers, env.helpers);\n\n if (templateSpec.usePartial) {\n container.partials = container.merge(options.partials, env.partials);\n }\n if (templateSpec.usePartial || templateSpec.useDecorators) {\n container.decorators = container.merge(options.decorators, env.decorators);\n }\n } else {\n container.helpers = options.helpers;\n container.partials = options.partials;\n container.decorators = options.decorators;\n }\n };\n\n ret._child = function (i, data, blockParams, depths) {\n if (templateSpec.useBlockParams && !blockParams) {\n throw new _exception2['default']('must pass block params');\n }\n if (templateSpec.useDepths && !depths) {\n throw new _exception2['default']('must pass parent depths');\n }\n\n return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);\n };\n return ret;\n}\n\nfunction wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {\n function prog(context) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n var currentDepths = depths;\n if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {\n currentDepths = [context].concat(depths);\n }\n\n return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);\n }\n\n prog = executeDecorators(fn, prog, container, depths, data, blockParams);\n\n prog.program = i;\n prog.depth = depths ? depths.length : 0;\n prog.blockParams = declaredBlockParams || 0;\n return prog;\n}\n\nfunction resolvePartial(partial, context, options) {\n if (!partial) {\n if (options.name === '@partial-block') {\n partial = options.data['partial-block'];\n } else {\n partial = options.partials[options.name];\n }\n } else if (!partial.call && !options.name) {\n // This is a dynamic partial that returned a string\n options.name = partial;\n partial = options.partials[partial];\n }\n return partial;\n}\n\nfunction invokePartial(partial, context, options) {\n // Use the current closure context to save the partial-block if this partial\n var currentPartialBlock = options.data && options.data['partial-block'];\n options.partial = true;\n if (options.ids) {\n options.data.contextPath = options.ids[0] || options.data.contextPath;\n }\n\n var partialBlock = undefined;\n if (options.fn && options.fn !== noop) {\n (function () {\n options.data = _base.createFrame(options.data);\n // Wrapper function to get access to currentPartialBlock from the closure\n var fn = options.fn;\n partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n // Restore the partial-block from the closure for the execution of the block\n // i.e. the part inside the block of the partial call.\n options.data = _base.createFrame(options.data);\n options.data['partial-block'] = currentPartialBlock;\n return fn(context, options);\n };\n if (fn.partials) {\n options.partials = Utils.extend({}, options.partials, fn.partials);\n }\n })();\n }\n\n if (partial === undefined && partialBlock) {\n partial = partialBlock;\n }\n\n if (partial === undefined) {\n throw new _exception2['default']('The partial ' + options.name + ' could not be found');\n } else if (partial instanceof Function) {\n return partial(context, options);\n }\n}\n\nfunction noop() {\n return '';\n}\n\nfunction initData(context, data) {\n if (!data || !('root' in data)) {\n data = data ? _base.createFrame(data) : {};\n data.root = context;\n }\n return data;\n}\n\nfunction executeDecorators(fn, prog, container, depths, data, blockParams) {\n if (fn.decorator) {\n var props = {};\n prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);\n Utils.extend(prog, props);\n }\n return prog;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3J1bnRpbWUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7cUJBQXVCLFNBQVM7O0lBQXBCLEtBQUs7O3lCQUNLLGFBQWE7Ozs7b0JBQzhCLFFBQVE7O0FBRWxFLFNBQVMsYUFBYSxDQUFDLFlBQVksRUFBRTtBQUMxQyxNQUFNLGdCQUFnQixHQUFHLFlBQVksSUFBSSxZQUFZLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQztNQUN2RCxlQUFlLDBCQUFvQixDQUFDOztBQUUxQyxNQUFJLGdCQUFnQixLQUFLLGVBQWUsRUFBRTtBQUN4QyxRQUFJLGdCQUFnQixHQUFHLGVBQWUsRUFBRTtBQUN0QyxVQUFNLGVBQWUsR0FBRyx1QkFBaUIsZUFBZSxDQUFDO1VBQ25ELGdCQUFnQixHQUFHLHVCQUFpQixnQkFBZ0IsQ0FBQyxDQUFDO0FBQzVELFlBQU0sMkJBQWMseUZBQXlGLEdBQ3ZHLHFEQUFxRCxHQUFHLGVBQWUsR0FBRyxtREFBbUQsR0FBRyxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsQ0FBQztLQUNoSyxNQUFNOztBQUVMLFlBQU0sMkJBQWMsd0ZBQXdGLEdBQ3RHLGlEQUFpRCxHQUFHLFlBQVksQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQztLQUNuRjtHQUNGO0NBQ0Y7O0FBRU0sU0FBUyxR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Z1bmN0aW9uKSB7XG4gICAgcmV0dXJuIHBhcnRpYWwoY29udGV4dCwgb3B0aW9ucyk7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG5vb3AoKSB7IHJldHVybiAnJzsgfVxuXG5mdW5jdGlvbiBpbml0RGF0YShjb250ZXh0LCBkYXRhKSB7XG4gIGlmICghZGF0YSB8fCAhKCdyb290JyBpbiBkYXRhKSkge1xuICAgIGRhdGEgPSBkYXRhID8gY3JlYXRlRnJhbWUoZGF0YSkgOiB7fTtcbiAgICBkYXRhLnJvb3QgPSBjb250ZXh0O1xuICB9XG4gIHJldHVybiBkYXRhO1xufVxuXG5mdW5jdGlvbiBleGVjdXRlRGVjb3JhdG9ycyhmbiwgcHJvZywgY29udGFpbmVyLCBkZXB0aHMsIGRhdGEsIGJsb2NrUGFyYW1zKSB7XG4gIGlmIChmbi5kZWNvcmF0b3IpIHtcbiAgICBsZXQgcHJvcHMgPSB7fTtcbiAgICBwcm9nID0gZm4uZGVjb3JhdG9yKHByb2csIHByb3BzLCBjb250YWluZXIsIGRlcHRocyAmJiBkZXB0aHNbMF0sIGRhdGEsIGJsb2NrUGFyYW1zLCBkZXB0aHMpO1xuICAgIFV0aWxzLmV4dGVuZChwcm9nLCBwcm9wcyk7XG4gIH1cbiAgcmV0dXJuIHByb2c7XG59XG4iXX0=\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/runtime.js\n// module id = 58\n// module chunks = 0","// Build out our basic SafeString type\n'use strict';\n\nexports.__esModule = true;\nfunction SafeString(string) {\n this.string = string;\n}\n\nSafeString.prototype.toString = SafeString.prototype.toHTML = function () {\n return '' + this.string;\n};\n\nexports['default'] = SafeString;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3NhZmUtc3RyaW5nLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFDQSxTQUFTLFVBQVUsQ0FBQyxNQUFNLEVBQUU7QUFDMUIsTUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7Q0FDdEI7O0FBRUQsVUFBVSxDQUFDLFNBQVMsQ0FBQyxRQUFRLEdBQUcsVUFBVSxDQUFDLFNBQVMsQ0FBQyxNQUFNLEdBQUcsWUFBVztBQUN2RSxTQUFPLEVBQUUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDO0NBQ3pCLENBQUM7O3FCQUVhLFVBQVUiLCJmaWxlIjoic2FmZS1zdHJpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBCdWlsZCBvdXQgb3VyIGJhc2ljIFNhZmVTdHJpbmcgdHlwZVxuZnVuY3Rpb24gU2FmZVN0cmluZyhzdHJpbmcpIHtcbiAgdGhpcy5zdHJpbmcgPSBzdHJpbmc7XG59XG5cblNhZmVTdHJpbmcucHJvdG90eXBlLnRvU3RyaW5nID0gU2FmZVN0cmluZy5wcm90b3R5cGUudG9IVE1MID0gZnVuY3Rpb24oKSB7XG4gIHJldHVybiAnJyArIHRoaXMuc3RyaW5nO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgU2FmZVN0cmluZztcbiJdfQ==\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/handlebars/dist/cjs/handlebars/safe-string.js\n// module id = 59\n// module chunks = 0","/**\n * @fileoverview Add autoscroll feature to elements that prevented text selection.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domevent = require('../common/domevent');\nvar domutil = require('../common/domutil');\nvar Point = require('../common/point');\n\nvar SCROLL_INTERVAL = 30;\nvar SCROLL_MAX = 15;\nvar SCROLL_CLICK_INCREASED = 2; // IE에서 스크롤 바 클릭 시 실제 UI pixel 보다 넓게 잡히는 현상 offset.\n\n/**\n * Add autoscroll feature to elements that prevented text selection.\n * @constructor\n * @param {HTMLElement} container - HTMLElement to add autoscroll features.\n */\nfunction AutoScroll(container) {\n /**\n * @type {HTMLElement}\n */\n this.container = container;\n\n /**\n * @type {AutoScroll.DIRECTION}\n */\n this._direction = AutoScroll.DIRECTION.INSIDE;\n\n /**\n * @type {number}\n */\n this._offset = 0;\n\n /**\n * interval to scrolling\n * @type {number}\n */\n this._intervalID = 0;\n\n domevent.on(container, {\n 'mousedown': this._onMouseDown\n }, this);\n}\n\n/**\n * @enum\n */\nAutoScroll.DIRECTION = {\n INSIDE: 0,\n TOP: 1,\n RIGHT: 2,\n BOTTOM: 3,\n LEFT: 4\n};\n\n/**\n * Instance destroy method.\n */\nAutoScroll.prototype.destroy = function() {\n domevent.off(this.container, {\n 'mousedown': this._onMouseDown,\n 'mousemove': this._onMouseMove,\n 'mouseup': this._onMouseUp\n }, this);\n\n window.clearInterval(this._intervalID);\n this._intervalID = this._direction = this.container = null;\n};\n\n/**\n * Normalize ClientRect and calculate each position of edges.\n * @param {ClientRect} clientRect - ClientRect object of element.\n * @returns {object} edges.\n */\nAutoScroll.prototype._getEdgePositions = function(clientRect) {\n return {\n top: clientRect.top,\n right: clientRect.left + clientRect.width,\n bottom: clientRect.bottom,\n left: clientRect.left\n };\n};\n\n/**\n * Get element real size (\"real size\" -> size without scrollbar)\n * @param {HTMLElement} el - element want to know real size (\"real size\" -> size without scrollbar)\n * @returns {number[]} real size [width, height]\n */\nAutoScroll.prototype.getRealSize = function(el) {\n var computed = domutil.getComputedStyle(el),\n border,\n padding;\n\n border = parseFloat(computed.getPropertyValue('border-top-width')) +\n parseFloat(computed.getPropertyValue('border-bottom-width'));\n padding = parseFloat(computed.getPropertyValue('padding-top')) +\n parseFloat(computed.getPropertyValue('padding-bottom'));\n\n return [el.clientWidth + border + padding, el.clientHeight + border + padding];\n};\n\n/**\n * Check supplied element has scrollbar.\n * @param {HTMLElement} el - element want to know has scrollbar.\n * @returns {boolean[]} has scrollbar? [horizontal, vertical]\n */\nAutoScroll.prototype.hasScrollbar = function(el) {\n var realSize = this.getRealSize(el);\n\n return [\n el.offsetWidth > Math.ceil(realSize[0]),\n el.offsetHeight > Math.ceil(realSize[1])\n ];\n};\n\n/**\n * @param {HTMLElement} el - element want to know.\n * @param {MouseEvent} mouseEvent - mouse event object.\n * @returns {boolean} mouse pointer is on the scrollbar?\n */\nAutoScroll.prototype.isOnScrollbar = function(el, mouseEvent) {\n var realSize = this.getRealSize(el),\n pos = domevent.getMousePosition(mouseEvent, el),\n mouseInScrollbar = false;\n\n mouseInScrollbar = (realSize[0] - SCROLL_CLICK_INCREASED < pos[0] ||\n realSize[1] - SCROLL_CLICK_INCREASED < pos[1]);\n\n return mouseInScrollbar;\n};\n\n/**\n * MouseDown event handler\n * @param {MouseEvent} mouseDownEvent - mouse down event\n */\nAutoScroll.prototype._onMouseDown = function(mouseDownEvent) {\n // only primary button can start drag.\n if (domevent.getMouseButton(mouseDownEvent) !== 0) {\n return;\n }\n\n // deactivate autoscroll feature when mouse is on the scrollbar. (IE)\n if (util.browser.msie && this.isOnScrollbar(this.container, mouseDownEvent)) {\n return;\n }\n\n window.clearInterval(this._intervalID);\n this._intervalID = window.setInterval(util.bind(this._onTick, this), SCROLL_INTERVAL);\n\n domevent.on(global, {\n 'mousemove': this._onMouseMove,\n 'mouseup': this._onMouseUp\n }, this);\n};\n\n/**\n * MouseMove event handler\n * @param {MouseEvent} mouseEvent - mouse move event object.\n */\nAutoScroll.prototype._onMouseMove = function(mouseEvent) {\n var edge = this._getEdgePositions(this.container.getBoundingClientRect()),\n pos = Point.n(domevent.getMousePosition(mouseEvent));\n\n if (pos.y >= edge.top && pos.y <= edge.bottom &&\n pos.x >= edge.left && pos.x <= edge.right) {\n this._direction = AutoScroll.DIRECTION.INSIDE;\n\n return;\n }\n\n if (pos.y < edge.top) {\n this._direction = AutoScroll.DIRECTION.TOP;\n this._offset = edge.top - pos.y;\n\n return;\n }\n\n if (pos.y > edge.bottom) {\n this._direction = AutoScroll.DIRECTION.BOTTOM;\n this._offset = pos.y - edge.bottom;\n\n return;\n }\n\n if (pos.x < edge.left) {\n this._direction = AutoScroll.DIRECTION.LEFT;\n this._offset = edge.left - pos.x;\n\n return;\n }\n\n this._direction = AutoScroll.DIRECTION.RIGHT;\n this._offset = pos.x - edge.right;\n};\n\n/**\n * MouseUp event handler.\n */\nAutoScroll.prototype._onMouseUp = function() {\n window.clearInterval(this._intervalID);\n this._intervalID = 0;\n this._direction = AutoScroll.DIRECTION.INSIDE;\n this._offset = 0;\n\n domevent.off(global, {\n 'mousemove': this._onMouseMove,\n 'mouseup': this._onMouseUp\n }, this);\n};\n\n/**\n * Interval tick event handler\n */\nAutoScroll.prototype._onTick = function() {\n var direction = this._direction,\n container,\n factor;\n\n if (!direction) {\n return;\n }\n\n container = this.container;\n factor = Math.min(this._offset, SCROLL_MAX);\n\n switch (direction) {\n case AutoScroll.DIRECTION.TOP:\n container.scrollTop -= factor;\n break;\n case AutoScroll.DIRECTION.RIGHT:\n container.scrollLeft += factor;\n break;\n case AutoScroll.DIRECTION.BOTTOM:\n container.scrollTop += factor;\n break;\n default:\n container.scrollLeft -= factor;\n break;\n }\n};\n\nmodule.exports = AutoScroll;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/autoScroll.js\n// module id = 60\n// module chunks = 0","/**\n * @fileoverview Dirty flagging module for objects.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar common = require('tui-code-snippet');\nvar existy = common.isExisty,\n pick = common.pick,\n isFunc = common.isFunction;\n\n/**\n * Mixin module for dirty flagging on specific objects.\n * @mixin\n * @example\n * var obj = { hello: 'good', test: '123' };\n * dirty.mixin(obj);\n *\n * obj.set('hello', 'world');\n * obj.isDirty(); // true\n * obj.isPropChanged('hello'); // true\n * obj.isPropChanged('test'); // false\n * obj.dirty(false);\n *\n * obj.isDirty(); // false\n * obj.isPropChanged('hello'); // false\n */\nvar dirty = {\n /**\n * Set property value with dirty flagging.\n * @param {string} propName Property name.\n * @param {*} value Proprty value.\n */\n set: function(propName, value) {\n var originValue = this[propName];\n\n if (originValue === value) {\n return;\n }\n\n this[propName] = value;\n\n if (!this._changed) {\n /**\n * Save changed properties.\n * @memberof dirty\n * @name _changed\n * @type {Object}\n */\n this._changed = {};\n }\n\n this._changed[propName] = true;\n\n /**\n * Dirty flag\n * @type {Boolean}\n * @name _dirty\n * @memberof dirty\n */\n this._dirty = true;\n },\n\n /**\n * Check dirty flag.\n * @returns {boolean} Property is changed.\n */\n isDirty: function() {\n return !!this._dirty;\n },\n\n /**\n * Set dirty flag manually.\n * @param {Boolean} [toDirty=true] This will set dirty flag directly.\n */\n dirty: function(toDirty) {\n toDirty = existy(toDirty) ? toDirty : true;\n\n /* istanbul ignore else */\n if (!toDirty) {\n this._changed = {};\n }\n\n this._dirty = toDirty;\n },\n\n /**\n * Delete property safety.\n * @param {String} propName The name of property.\n */\n deleteProp: function(propName) {\n delete this[propName];\n\n if (this._changed) {\n delete this._changed[propName];\n }\n },\n\n /**\n * Check the changes with specific property.\n * @param {String} propName The name of property you want.\n * @returns {boolean} Is property changed?\n */\n isPropChanged: function(propName) {\n if (!this._changed) {\n return false;\n }\n\n return this._changed[propName] === true;\n },\n\n /**\n * Mixin to specific objects.\n * @param {Object} target The object to mix this module.\n * @memberof module:util/dirty\n * @example\n * function Animal() {}\n * dirty.mixin(Animal.prototype);\n */\n mixin: function(target) {\n var methodFilterR = /(^_|mixin|wrap)/;\n\n common.forEachOwnProperties(dirty, function(o, k) {\n if (!methodFilterR.test(k)) {\n target[k] = dirty[k];\n }\n });\n },\n\n /**\n * Wrapper method for dirty flagging.\n *\n * This method invoke after invoked specific method that added by you.\n *\n * The method want to add are must exist before add.\n * @param {object} target Target object to method wrap.\n * @param {(string|object)} methodName\n * Method name to wrap or methodName: flag objects.\n * @param {boolean} [flag=true]\n * this will used to flagging by dirty flagger after invoke the methods added by you.\n * @memberof module:util/dirty\n * @example\n * function Animal(name) {\n * this.name = name;\n * }\n * Animal.prototype.growl = jasmine.createSpy('growl');\n * Animal.prototype.test = function() {\n * return this.name;\n * };\n *\n * dirty.mixin(Animal.prototype);\n * // single\n * dirty.wrap(Animal.prototype, 'growl', true);\n * // multiple\n * dirty.wrap(Animap.prototype, {\n * growl: true,\n * test: false\n * });\n *\n */\n wrap: function(target, methodName, flag) {\n var wrap = dirty.wrap,\n fn;\n\n if (common.isObject(methodName)) {\n common.forEachOwnProperties(methodName, function(_flag, _name) {\n wrap(target, _name, _flag);\n });\n\n return;\n }\n\n flag = existy(flag) ? flag : true;\n\n if (!target._wrapper) {\n /**\n * @param {function} _fn Original method to wrap.\n * @param {boolean} flagToSet The boolean value to using dirty flagging.\n * @returns {*} The result value of original method.\n * @name _wrapper\n * @memberof dirty\n */\n target._wrapper = function(_fn, flagToSet) {\n return function() {\n var args = Array.prototype.slice.call(arguments);\n var result = _fn.apply(this, args); // eslint-disable-line\n this._dirty = flagToSet; // eslint-disable-line\n\n return result;\n };\n };\n }\n\n if (existy(pick(target, methodName)) &&\n isFunc(target[methodName]) &&\n !existy(pick(target, methodName, '_wrapped'))) {\n fn = target[methodName];\n target[methodName] = target._wrapper(fn, flag);\n target[methodName]._wrapped = true;\n }\n }\n};\n\nmodule.exports = dirty;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/dirty.js\n// module id = 61\n// module chunks = 0","/**\n * @fileoverview Mixin module for models.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar TZDate = require('../common/timezone').Date;\nvar util = require('tui-code-snippet');\nvar spaceRx = /^\\s*|\\s*$/g,\n model;\n\nvar datetime = require('../common/datetime');\n\n/**\n * Mixin module for models.\n * @mixin\n */\nmodel = {\n /**\n * string trim\n * @param {string} str string to trim\n * @returns {string} trimed string\n */\n trim: function(str) {\n return str.replace(spaceRx, '');\n },\n /**\n * The collections of validator functions.\n */\n validators: {\n /**\n * check all of supplied fields(property) is not undefined or empty string.\n * @param {object} instance model instance.\n * @param {string[]} fields property names to check.\n * @returns {boolean} return true when supplied fields are not undefined or empty string.\n */\n required: function(instance, fields) {\n var valid = true,\n isValid = function(obj) {\n return !util.isUndefined(obj) && model.trim(obj) !== '';\n };\n\n util.forEach(fields, function(fieldName) {\n valid = isValid(instance[fieldName]);\n\n return valid;\n });\n\n return valid;\n },\n\n /**\n * check supplied fields are valid dates and valid date ranges.\n * @param {object} instance model instance.\n * @param {Date[]} fields array of date range (start, end)\n * @returns {boolean} is valid date range?\n */\n dateRange: function(instance, fields) {\n var start, end;\n\n if (!util.isExisty(instance) || fields.length !== 2) {\n return true;\n }\n\n start = new TZDate(instance[fields[0]]);\n end = new TZDate(instance[fields[1]]);\n\n if (!datetime.isValid(start) || !datetime.isValid(end)) {\n return false;\n }\n\n if (datetime.compare(start, end) === 1) {\n return false;\n }\n\n return true;\n }\n },\n\n /**\n * Check validate for model instance.\n *\n * The validate are works on a basis of constructor's \"schema\" property.\n *\n * You can customize validators add some method to model#validators.\n * @returns {Boolean} model is valid?\n */\n isValid: function() {\n var self = this,\n schema = this.constructor.schema,\n validators = model.validators,\n validator,\n valid = true;\n\n if (!schema) {\n return true;\n }\n\n util.forEach(schema, function(values, validatorName) {\n validator = validators[validatorName];\n\n if (validator) {\n valid = validator(self, values);\n\n return valid; // returning false can stop this loop\n }\n\n return true;\n });\n\n return valid;\n },\n\n /**\n * Make data object form instance.\n *\n * It return object fill with all owned properties but exclude functions.\n * @returns {object} Data object\n */\n parameterize: function() {\n var param = {},\n isFunc = util.isFunction;\n\n util.forEach(this, function(value, propName) {\n if (!isFunc(value)) {\n param[propName] = value;\n }\n });\n\n return param;\n },\n\n /**\n * Mixin model module to supplied target.\n * @param {Object} target The object of want to mixed.\n * @example\n * function Man() {\n * this.name = 'john';\n * }\n * model.mixin(Man.prototype);\n */\n mixin: function(target) {\n util.forEach(model, function(method, name) {\n if (name !== 'mixin') {\n target[name] = method;\n }\n });\n }\n};\n\nmodule.exports = model;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/model.js\n// module id = 62\n// module chunks = 0","/**\n * @fileoverview Panel class for VLayout module\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n common = require('./common'),\n domutil = require('./domutil'),\n View = require('../view/view');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for VPanel\n * @param {number} options.index - index of panel in vlayout\n * @param {number} [options.minHeight=0] - minimum height of panel\n * @param {number} [options.height] - initial height of panel\n * @param {boolean} [options.isSplitter=false] - set true then this panel works splitter\n * @param {boolean} [options.autoHeight=false] - set true then this panel use remain height after other panel resized.\n * @param {string} [options.className] - additional class name to add element\n * @param {HTMLElement} container - container element\n */\nfunction VPanel(options, container) {\n View.call(this, container);\n\n /**\n * @type {object}\n */\n this.options = util.extend({\n index: 0,\n minHeight: 0,\n maxHeight: null,\n height: null,\n isSplitter: false,\n autoHeight: false,\n className: ''\n }, options);\n\n /**\n * @type {number}\n */\n this.index = this.options.index;\n\n this.isHeightForcedSet = false;\n\n this._initPanel(this.options, container);\n}\n\nutil.inherit(VPanel, View);\n\n/**\n * whether this panel is splitter?\n * @returns {boolean} panel is splitter?\n */\nVPanel.prototype.isSplitter = function() {\n return this.options.isSplitter;\n};\n\n/**\n * set height of html element\n * @param {HTMLElement} [container] - container element\n * @param {number} newHeight - height\n * @param {boolean} force - whether ignore max-length\n */\nVPanel.prototype.setHeight = function(container, newHeight, force) {\n var maxHeight = this.options.maxHeight;\n var minHeight = this.options.minHeight;\n var autoHeight = this.options.autoHeight;\n container = container || this.container;\n\n // 한번 force 호출이 일어난 이후에는 force 호출만 허용한다\n if (!force && this.isHeightForcedSet && !autoHeight) {\n return;\n }\n\n if (force) {\n this.isHeightForcedSet = true;\n } else if (maxHeight) {\n newHeight = Math.min(newHeight, maxHeight);\n }\n newHeight = Math.max(minHeight, newHeight);\n\n container.style.height = newHeight + 'px';\n};\n\n/**\n * Calculate new height of panel and remains by supplied height growth\n * @param {number} growth - growth value\n * @returns {number[]} newHeight, remainHeight\n */\nVPanel.prototype.getResizeInfoByGrowth = function(growth) {\n var height = this.getHeight(),\n newHeight = height + growth,\n resizeTo = Math.max(0, newHeight, this.options.minHeight);\n\n return [resizeTo, height - resizeTo];\n};\n\n/**\n * get outer height of panel element\n * @returns {number} outer height of panel element\n */\nVPanel.prototype.getHeight = function() {\n return domutil.getSize(this.container)[1];\n};\n\n/**\n * add design class to panel element\n * @param {string} className - classname string\n */\nVPanel.prototype.addClass = function(className) {\n domutil.addClass(this.container, className);\n};\n\n/**\n * remove design class to panel element\n * @param {string} className - classname string\n */\nVPanel.prototype.removeClass = function(className) {\n domutil.removeClass(this.container, className);\n};\n\n/**\n * initialize panel element\n * @param {PanelOptions} options - options for panel\n * @param {HTMLDivElement} container - panel element\n */\nVPanel.prototype._initPanel = function(options, container) {\n var height;\n\n domutil.setData(container, 'panelIndex', options.index);\n\n if (options.isSplitter) {\n domutil.addClass(container, config.classname('splitter'));\n\n return;\n }\n\n if (options.className) {\n domutil.addClass(container, options.className);\n }\n\n if (options.autoHeight) {\n domutil.setData(container, 'autoHeight', true);\n } else {\n height = common.limit(options.height || 0,\n [options.minHeight],\n [options.maxHeight || options.height]\n );\n\n this.setHeight(container, height);\n }\n};\n\nmodule.exports = VPanel;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/common/vpanel.js\n// module id = 63\n// module chunks = 0","/**\n * @fileoverview Base calendar controller\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Schedule = require('../model/schedule');\nvar ScheduleViewModel = require('../model/viewModel/scheduleViewModel');\nvar datetime = require('../common/datetime');\nvar common = require('../common/common');\n\n/**\n * @constructor\n * @param {object} options - options for base controller\n * @param {function} [options.groupFunc] - function for group each models {@see Collection#groupBy}\n * @mixes util.CustomEvents\n */\nfunction Base(options) {\n options = options || {};\n\n /**\n * function for group each schedule models.\n * @type {function}\n * @param {ScheduleViewModel} viewModel - view model instance\n * @returns {string} group key\n */\n this.groupFunc = options.groupFunc || function(viewModel) {\n if (viewModel.model.isAllDay) {\n return 'allday';\n }\n\n return 'time';\n };\n\n /**\n * schedules collection.\n * @type {Collection}\n */\n this.schedules = common.createScheduleCollection();\n\n /**\n * Matrix for multidate schedules.\n * @type {object.}\n */\n this.dateMatrix = {};\n}\n\n/**\n * Calculate contain dates in schedule.\n * @private\n * @param {Schedule} schedule The instance of schedule.\n * @returns {array} contain dates.\n */\nBase.prototype._getContainDatesInSchedule = function(schedule) {\n var range = datetime.range(\n datetime.start(schedule.getStarts()),\n datetime.start(schedule.getEnds()),\n datetime.MILLISECONDS_PER_DAY\n );\n\n return range;\n};\n\n/**********\n * CRUD\n **********/\n\n/**\n * Create an schedule instance from raw data.\n * @emits Base#beforeCreateSchedule\n * @emits Base#createdSchedule\n * @param {object} options Data object to create schedule.\n * @param {boolean} silent - set true then don't fire events.\n * @returns {Schedule} The instance of Schedule that created.\n */\nBase.prototype.createSchedule = function(options, silent) {\n var schedule,\n scheduleData = {\n data: options\n };\n\n /**\n * @event Base#beforeCreateSchedule\n * @type {Calendar~Schedule[]}\n */\n if (!this.invoke('beforeCreateSchedule', scheduleData)) {\n return null;\n }\n\n schedule = this.addSchedule(Schedule.create(options));\n\n if (!silent) {\n /**\n * @event Base#createdSchedule\n * @type {Schedule}\n */\n this.fire('createdSchedule', schedule);\n }\n\n return schedule;\n};\n\n/**\n * @emits Base#beforeCreateSchedule\n * @emits Base#createdSchedule\n * @param {Calendar~Schedule[]} dataList - dataObject list to create schedule.\n * @param {boolean} [silent=false] - set true then don't fire events.\n * @returns {Schedule[]} The instance list of Schedule that created.\n */\nBase.prototype.createSchedules = function(dataList, silent) {\n var self = this;\n\n return util.map(dataList, function(data) {\n return self.createSchedule(data, silent);\n });\n};\n\n/**\n * Update an schedule.\n * @emits Base#updateSchedule\n * @param {Schedule} schedule - schedule instance to update\n * @param {object} options updated object data.\n * @returns {Schedule} updated schedule instance\n */\nBase.prototype.updateSchedule = function(schedule, options) {\n var start = options.start || schedule.start;\n var end = options.end || schedule.end;\n\n options = options || {};\n\n if (options.title) {\n schedule.set('title', options.title);\n }\n\n if (options.isAllDay) {\n schedule.set('isAllDay', options.isAllDay);\n }\n\n if (options.start || options.end) {\n if (schedule.isAllDay) {\n schedule.setAllDayPeriod(start, end);\n } else {\n schedule.setTimePeriod(start, end);\n }\n }\n\n if (options.color) {\n schedule.set('color', options.color);\n }\n\n if (options.bgColor) {\n schedule.set('bgColor', options.bgColor);\n }\n\n if (options.borderColor) {\n schedule.set('borderColor', options.borderColor);\n }\n\n if (options.origin) {\n schedule.set('origin', options.origin);\n }\n\n if (!util.isUndefined(options.isPending)) {\n schedule.set('isPending', options.isPending);\n }\n\n if (!util.isUndefined(options.isFocused)) {\n schedule.set('isFocused', options.isFocused);\n }\n\n this._removeFromMatrix(schedule);\n this._addToMatrix(schedule);\n\n /**\n * @event Base#updateSchedule\n */\n this.fire('updateSchedule');\n\n return schedule;\n};\n\n/**\n * Delete schedule instance from controller.\n * @param {Schedule} schedule - schedule instance to delete\n * @returns {Schedule} deleted model instance.\n */\nBase.prototype.deleteSchedule = function(schedule) {\n this._removeFromMatrix(schedule);\n this.schedules.remove(schedule);\n\n return schedule;\n};\n\n/**\n * Set date matrix to supplied schedule instance.\n * @param {Schedule} schedule - instance of schedule.\n */\nBase.prototype._addToMatrix = function(schedule) {\n var ownMatrix = this.dateMatrix;\n var containDates = this._getContainDatesInSchedule(schedule);\n\n util.forEach(containDates, function(date) {\n var ymd = datetime.format(date, 'YYYYMMDD'),\n matrix = ownMatrix[ymd] = ownMatrix[ymd] || [];\n\n matrix.push(util.stamp(schedule));\n });\n};\n\n/**\n * Remove schedule's id from matrix.\n * @param {Schedule} schedule - instance of schedule\n */\nBase.prototype._removeFromMatrix = function(schedule) {\n var modelID = util.stamp(schedule);\n\n util.forEach(this.dateMatrix, function(matrix) {\n var index = util.inArray(modelID, matrix);\n\n if (~index) {\n matrix.splice(index, 1);\n }\n }, this);\n};\n\n/**\n * Add an schedule instance.\n * @emits Base#addedSchedule\n * @param {Schedule} schedule The instance of Schedule.\n * @param {boolean} silent - set true then don't fire events.\n * @returns {Schedule} The instance of Schedule that added.\n */\nBase.prototype.addSchedule = function(schedule, silent) {\n this.schedules.add(schedule);\n this._addToMatrix(schedule);\n\n if (!silent) {\n /**\n * @event Base#addedSchedule\n * @type {object}\n */\n this.fire('addedSchedule', schedule);\n }\n\n return schedule;\n};\n\n/**\n * split schedule model by ymd.\n * @param {Date} start - start date\n * @param {Date} end - end date\n * @param {Collection} scheduleCollection - collection of schedule model.\n * @returns {object.} splitted schedule model collections.\n */\nBase.prototype.splitScheduleByDateRange = function(start, end, scheduleCollection) {\n var range = datetime.range(\n datetime.start(start),\n datetime.start(end),\n datetime.MILLISECONDS_PER_DAY\n ),\n ownMatrix = this.dateMatrix,\n result = {};\n\n util.forEachArray(range, function(date) {\n var ymd = datetime.format(date, 'YYYYMMDD'),\n matrix = ownMatrix[ymd],\n collection;\n\n collection = result[ymd] = common.createScheduleCollection();\n\n if (matrix && matrix.length) {\n util.forEachArray(matrix, function(id) {\n scheduleCollection.doWhenHas(id, function(schedule) {\n collection.add(schedule);\n });\n });\n }\n });\n\n return result;\n};\n\n/**\n * Return schedules in supplied date range.\n *\n * available only YMD.\n * @param {Date} start start date.\n * @param {Date} end end date.\n * @returns {object.} schedule collection grouped by dates.\n */\nBase.prototype.findByDateRange = function(start, end) {\n var range = datetime.range(\n datetime.start(start),\n datetime.start(end),\n datetime.MILLISECONDS_PER_DAY\n ),\n ownSchedules = this.schedules.items,\n ownMatrix = this.dateMatrix,\n dformat = datetime.format,\n result = {},\n matrix,\n ymd,\n viewModels;\n\n util.forEachArray(range, function(date) {\n ymd = dformat(date, 'YYYYMMDD');\n matrix = ownMatrix[ymd];\n viewModels = result[ymd] = common.createScheduleCollection();\n\n if (matrix && matrix.length) {\n viewModels.add.apply(viewModels, util.map(matrix, function(id) {\n return ScheduleViewModel.create(ownSchedules[id]);\n }));\n }\n });\n\n return result;\n};\n\nBase.prototype.clearSchedules = function() {\n this.dateMatrix = {};\n this.schedules.clear();\n /**\n * for inner view when clear schedules\n * @event Base#clearSchedules\n * @type {Schedule}\n */\n this.fire('clearSchedules');\n};\n\n// mixin\nutil.CustomEvents.mixin(Base);\n\nmodule.exports = Base;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/controller/base.js\n// module id = 64\n// module chunks = 0","/**\n * @fileoverview Core methods for schedule block placing\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar forEachArr = util.forEachArray,\n aps = Array.prototype.slice;\n\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar Collection = require('../../common/collection');\nvar ScheduleViewModel = require('../../model/viewModel/scheduleViewModel');\n\nvar Core = {\n /**\n * Calculate collision group.\n * @param {array} viewModels List of viewmodels.\n * @returns {array} Collision Group.\n */\n getCollisionGroup: function(viewModels) {\n var collisionGroups = [],\n foundPrevCollisionSchedule = false,\n previousScheduleList;\n\n if (!viewModels.length) {\n return collisionGroups;\n }\n\n collisionGroups[0] = [util.stamp(viewModels[0].valueOf())];\n forEachArr(viewModels.slice(1), function(schedule, index) {\n foundPrevCollisionSchedule = false;\n previousScheduleList = aps.apply(viewModels, [0, index + 1]).reverse();\n\n forEachArr(previousScheduleList, function(previous) {\n if (schedule.collidesWith(previous)) {\n // 이전 일정들과 겹치는 경우 겹치는 일정의 Collision Group을\n // 찾아 이 일정을 추가한다\n foundPrevCollisionSchedule = true;\n\n forEachArr(collisionGroups.slice(0).reverse(), function(group) {\n if (~util.inArray(util.stamp(previous.valueOf()), group)) {\n // 겹치는 이전 일정을 찾은 경우 그 일정이 속한\n // Collision Group에 이 일정을 포함시킨다.\n group.push(util.stamp(schedule.valueOf()));\n\n return false; // returning false can stop this loop\n }\n\n return true;\n });\n\n return false; // returning false can stop this loop\n }\n\n return true;\n });\n\n if (!foundPrevCollisionSchedule) {\n // 이 일정은 이전일정과 겹치지 않는 일정이므로\n // 새 Collision Group을 구성한다.\n collisionGroups.push([util.stamp(schedule.valueOf())]);\n }\n });\n\n return collisionGroups;\n },\n\n /**\n * Get row length by column index in 2d matrix.\n * @param {array[]} arr2d Matrix\n * @param {number} col Column index.\n * @returns {number} Last row number in column.\n */\n getLastRowInColumn: function(arr2d, col) {\n var row = arr2d.length;\n\n while (row > 0) {\n row -= 1;\n if (!util.isUndefined(arr2d[row][col])) {\n return row;\n }\n }\n\n return false;\n },\n\n /**\n * Calculate matrix for appointment block element placing.\n * @param {Collection} collection model collection.\n * @param {array[]} collisionGroups Collision groups for schedule set.\n * @returns {array} matrices\n */\n getMatrices: function(collection, collisionGroups) {\n var result = [],\n getLastRowInColumn = Core.getLastRowInColumn;\n\n forEachArr(collisionGroups, function(group) {\n var matrix = [[]];\n\n forEachArr(group, function(scheduleID) {\n var schedule = collection.items[scheduleID],\n col = 0,\n found = false,\n nextRow,\n lastRowInColumn;\n\n while (!found) {\n lastRowInColumn = getLastRowInColumn(matrix, col);\n\n if (lastRowInColumn === false) {\n matrix[0].push(schedule);\n found = true;\n } else if (!schedule.collidesWith(matrix[lastRowInColumn][col])) {\n nextRow = lastRowInColumn + 1;\n if (util.isUndefined(matrix[nextRow])) {\n matrix[nextRow] = [];\n }\n matrix[nextRow][col] = schedule;\n found = true;\n }\n\n col += 1;\n }\n });\n\n result.push(matrix);\n });\n\n return result;\n },\n\n /**\n * Filter that get schedule model in supplied date ranges.\n * @param {Date} start - start date\n * @param {Date} end - end date\n * @returns {function} schedule filter function\n */\n getScheduleInDateRangeFilter: function(start, end) {\n return function(model) {\n var ownStarts = model.getStarts(),\n ownEnds = model.getEnds();\n\n // shorthand condition of\n //\n // (ownStarts >= start && ownEnds <= end) ||\n // (ownStarts < start && ownEnds >= start) ||\n // (ownEnds > end && ownStarts <= end)\n return !(ownEnds < start || ownStarts > end);\n };\n },\n\n /**\n * Position each view model for placing into container\n * @param {Date} start - start date to render\n * @param {Date} end - end date to render\n * @param {array} matrices - matrices from controller\n * @param {function} [iteratee] - iteratee function invoke each view models\n */\n positionViewModels: function(start, end, matrices, iteratee) {\n var ymdListToRender;\n\n ymdListToRender = util.map(\n datetime.range(start, end, datetime.MILLISECONDS_PER_DAY),\n function(date) {\n return datetime.format(date, 'YYYYMMDD');\n }\n );\n\n forEachArr(matrices, function(matrix) {\n forEachArr(matrix, function(column) {\n forEachArr(column, function(viewModel, index) {\n var ymd, dateLength;\n\n if (!viewModel) {\n return;\n }\n\n ymd = datetime.format(viewModel.getStarts(), 'YYYYMMDD');\n dateLength = datetime.range(\n datetime.start(viewModel.getStarts()),\n datetime.end(viewModel.getEnds()),\n datetime.MILLISECONDS_PER_DAY\n ).length;\n\n viewModel.top = index;\n viewModel.left = util.inArray(ymd, ymdListToRender);\n viewModel.width = dateLength;\n\n if (iteratee) {\n iteratee(viewModel);\n }\n });\n });\n });\n },\n\n /**\n * Limit start, end date each view model for render properly\n * @param {Date} start - start date to render\n * @param {Date} end - end date to render\n * @param {Collection|ScheduleViewModel} viewModelColl - schedule view\n * model collection or ScheduleViewModel\n * @returns {ScheduleViewModel} return view model when third parameter is\n * view model\n */\n limitRenderRange: function(start, end, viewModelColl) {\n /**\n * Limit render range for view models\n * @param {ScheduleViewModel} viewModel - view model instance\n * @returns {ScheduleViewModel} view model that limited render range\n */\n function limit(viewModel) {\n if (viewModel.getStarts() < start) {\n viewModel.exceedLeft = true;\n viewModel.renderStarts = new TZDate(start.getTime());\n }\n\n if (viewModel.getEnds() > end) {\n viewModel.exceedRight = true;\n viewModel.renderEnds = new TZDate(end.getTime());\n }\n\n return viewModel;\n }\n\n if (viewModelColl.constructor === Collection) {\n viewModelColl.each(limit);\n\n return null;\n }\n\n return limit(viewModelColl);\n },\n\n /**\n * Convert schedule model collection to view model collection.\n * @param {Collection} modelColl - collection of schedule model\n * @returns {Collection} collection of schedule view model\n */\n convertToViewModel: function(modelColl) {\n var viewModelColl;\n\n viewModelColl = new Collection(function(viewModel) {\n return viewModel.cid();\n });\n\n modelColl.each(function(model) {\n viewModelColl.add(ScheduleViewModel.create(model));\n });\n\n return viewModelColl;\n }\n};\n\nmodule.exports = Core;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/controller/viewMixin/core.js\n// module id = 65\n// module chunks = 0","/**\n * @fileoverview Controller mixin for Month View\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar array = require('../../common/array'),\n datetime = require('../../common/datetime'),\n Collection = require('../../common/collection');\nvar mmax = Math.max;\n\nvar Month = {\n /**\n * Filter function for find time schedule\n * @param {ScheduleViewModel} viewModel - schedule view model\n * @returns {boolean} whether model is time schedule?\n */\n _onlyTimeFilter: function(viewModel) {\n return !viewModel.model.isAllDay && !viewModel.hasMultiDates;\n },\n\n /**\n * Filter function for find allday schedule\n * @param {ScheduleViewModel} viewModel - schedule view model\n * @returns {boolean} whether model is allday schedule?\n */\n _onlyAlldayFilter: function(viewModel) {\n return viewModel.model.isAllDay || viewModel.hasMultiDates;\n },\n\n /**\n * Weight top value +1 for month view render\n * @param {ScheduleViewModel} viewModel - schedule view model\n */\n _weightTopValue: function(viewModel) {\n viewModel.top = viewModel.top || 0;\n viewModel.top += 1;\n },\n\n /**\n * Adjust render range to render properly.\n *\n * Limit start, end for each allday schedules and expand start, end for\n * each time schedules\n * @this Base\n * @param {Date} start - render start date\n * @param {Date} end - render end date\n * @param {Collection} vColl - view model collection\n * property.\n */\n _adjustRenderRange: function(start, end, vColl) {\n var ctrlCore = this.Core;\n\n vColl.each(function(viewModel) {\n if (viewModel.model.isAllDay || viewModel.hasMultiDates) {\n ctrlCore.limitRenderRange(start, end, viewModel);\n }\n });\n },\n\n /**\n * Get max top index value for allday schedules in specific date (YMD)\n * @this Base\n * @param {string} ymd - yyyymmdd formatted value\n * @param {Collection} vAlldayColl - collection of allday schedules\n * @returns {number} max top index value in date\n */\n _getAlldayMaxTopIndexAtYMD: function(ymd, vAlldayColl) {\n var dateMatrix = this.dateMatrix,\n topIndexesInDate = [];\n util.forEach(dateMatrix[ymd], function(cid) {\n vAlldayColl.doWhenHas(cid, function(viewModel) {\n topIndexesInDate.push(viewModel.top);\n });\n });\n\n if (topIndexesInDate.length > 0) {\n return mmax.apply(null, topIndexesInDate);\n }\n\n return 0;\n },\n\n /**\n * Adjust time view model's top index value\n * @this Base\n * @param {Collection} vColl - collection of schedules\n */\n _adjustTimeTopIndex: function(vColl) {\n var ctrlMonth = this.Month;\n var getAlldayMaxTopIndexAtYMD = ctrlMonth._getAlldayMaxTopIndexAtYMD;\n var vAlldayColl = vColl.find(ctrlMonth._onlyAlldayFilter);\n var sortedTimeSchedules = vColl.find(ctrlMonth._onlyTimeFilter).sort(array.compare.schedule.asc);\n var maxIndexInYMD = {};\n\n sortedTimeSchedules.forEach(function(timeViewModel) {\n var scheduleYMD = datetime.format(timeViewModel.getStarts(), 'YYYYMMDD');\n var alldayMaxTopInYMD = maxIndexInYMD[scheduleYMD];\n\n if (util.isUndefined(alldayMaxTopInYMD)) {\n alldayMaxTopInYMD = maxIndexInYMD[scheduleYMD] =\n getAlldayMaxTopIndexAtYMD(scheduleYMD, vAlldayColl);\n }\n maxIndexInYMD[scheduleYMD] = timeViewModel.top =\n (alldayMaxTopInYMD + 1);\n });\n },\n\n /**\n * Convert multi-date time schedule to all-day schedule\n * @this Base\n * @param {Collection} vColl - view model collection\n * property.\n */\n _addMultiDatesInfo: function(vColl) {\n vColl.each(function(viewModel) {\n var model = viewModel.model;\n var start = model.getStarts();\n var end = model.getEnds();\n\n viewModel.hasMultiDates = !datetime.isSameDate(start, end);\n\n if (!model.isAllDay && viewModel.hasMultiDates) {\n viewModel.renderStarts = datetime.start(start);\n viewModel.renderEnds = datetime.end(end);\n }\n });\n },\n\n /**\n * Find schedule and get view model for specific month\n * @this Base\n * @param {Date} start - start date to find schedules\n * @param {Date} end - end date to find schedules\n * @param {function[]} [andFilters] - optional filters to applying search query\n * @returns {object} view model data\n */\n findByDateRange: function(start, end, andFilters) {\n var ctrlCore = this.Core,\n ctrlMonth = this.Month,\n filter = ctrlCore.getScheduleInDateRangeFilter(start, end),\n coll, vColl, vList,\n collisionGroup,\n matrices;\n\n andFilters = andFilters || [];\n filter = Collection.and.apply(null, [filter].concat(andFilters));\n\n coll = this.schedules.find(filter);\n vColl = ctrlCore.convertToViewModel(coll);\n ctrlMonth._addMultiDatesInfo(vColl);\n ctrlMonth._adjustRenderRange(start, end, vColl);\n vList = vColl.sort(array.compare.schedule.asc);\n\n collisionGroup = ctrlCore.getCollisionGroup(vList);\n matrices = ctrlCore.getMatrices(vColl, collisionGroup);\n ctrlCore.positionViewModels(start, end, matrices, ctrlMonth._weightTopValue);\n ctrlMonth._adjustTimeTopIndex(vColl);\n\n return matrices;\n }\n};\n\nmodule.exports = Month;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/controller/viewMixin/month.js\n// module id = 66\n// module chunks = 0","/* eslint no-shadow: 0 */\n/**\n * @fileoverview Controller mixin modules for day views.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar Collection = require('../../common/collection');\nvar array = require('../../common/array');\nvar datetime = require('../../common/datetime');\n\n/**\n * @mixin Base.Week\n */\nvar Week = {\n /**********\n * TIME GRID VIEW\n **********/\n\n /**\n * Make array with start and end times on schedules.\n * @this Base.Week\n * @param {array[]} matrix - matrix from controller.\n * @returns {array[]} starttime, endtime array (exclude first row's schedules)\n */\n generateTimeArrayInRow: function(matrix) {\n var row,\n col,\n schedule,\n map = [],\n cursor = [],\n maxColLen = Math.max.apply(null, util.map(matrix, function(col) {\n return col.length;\n }));\n\n for (col = 1; col < maxColLen; col += 1) {\n row = 0;\n schedule = util.pick(matrix, row, col);\n\n while (schedule) {\n cursor.push([schedule.getStarts().getTime(), schedule.getEnds().getTime()]);\n\n row += 1;\n schedule = util.pick(matrix, row, col);\n }\n\n map.push(cursor);\n cursor = [];\n }\n\n return map;\n },\n\n /**\n * Get collision information from list\n * @this Base\n * @param {array.} arr - list to detecting collision. [[start, end], [start, end]]\n * @param {number} start - schedule start time that want to detect collisions.\n * @param {number} end - schedule end time that want to detect collisions.\n * @returns {boolean} target has collide in supplied array?\n */\n hasCollide: function(arr, start, end) {\n var startStart,\n startEnd,\n endStart,\n endEnd,\n getFunc = function(index) {\n return function(block) {\n return block[index];\n };\n },\n abs = Math.abs,\n compare = array.compare.num.asc,\n hasCollide;\n\n if (!arr.length) {\n return false;\n }\n\n startStart = abs(array.bsearch(arr, start, getFunc(0), compare));\n startEnd = abs(array.bsearch(arr, start, getFunc(1), compare));\n endStart = abs(array.bsearch(arr, end, getFunc(0), compare));\n endEnd = abs(array.bsearch(arr, end, getFunc(1), compare));\n hasCollide = !(startStart === startEnd && startEnd === endStart && endStart === endEnd);\n\n return hasCollide;\n },\n\n /**\n * Initialize values to viewmodels for detect real collision at rendering phase.\n * @this Base\n * @param {array[]} matrices - Matrix data.\n */\n getCollides: function(matrices) {\n util.forEachArray(matrices, function(matrix) {\n var binaryMap,\n maxRowLength;\n\n binaryMap = Week.generateTimeArrayInRow(matrix);\n maxRowLength = Math.max.apply(null, util.map(matrix, function(row) {\n return row.length;\n }));\n\n util.forEachArray(matrix, function(row) {\n util.forEachArray(row, function(viewModel, col) {\n var startTime,\n endTime,\n hasCollide,\n i;\n\n if (!viewModel) {\n return;\n }\n\n startTime = viewModel.getStarts().getTime() + 1;\n endTime = viewModel.getEnds().getTime() - 1;\n\n for (i = (col + 1); i < maxRowLength; i += 1) {\n hasCollide = Week.hasCollide(binaryMap[i - 1], startTime, endTime);\n\n if (hasCollide) {\n viewModel.hasCollide = true;\n break;\n }\n\n viewModel.extraSpace += 1;\n }\n });\n });\n });\n },\n\n /**\n * create view model for time view part\n * @this Base\n * @param {Date} start - start date.\n * @param {Date} end - end date.\n * @param {Collection} time - view model collection.\n * @returns {object} view model for time part.\n */\n getViewModelForTimeView: function(start, end, time) {\n var self = this,\n ymdSplitted = this.splitScheduleByDateRange(start, end, time),\n result = {};\n\n util.forEach(ymdSplitted, function(collection, ymd) {\n var viewModels = collection.sort(array.compare.schedule.asc),\n collisionGroups,\n matrices;\n\n collisionGroups = self.Core.getCollisionGroup(viewModels);\n matrices = self.Core.getMatrices(collection, collisionGroups);\n self.Week.getCollides(matrices);\n\n result[ymd] = matrices;\n });\n\n return result;\n },\n\n /**********\n * ALLDAY VIEW\n **********/\n\n /**\n * Set hasMultiDates flag to true and set date ranges for rendering\n * @this Base\n * @param {Collection} vColl - view model collection\n */\n _addMultiDatesInfo: function(vColl) {\n vColl.each(function(viewModel) {\n var model = viewModel.model;\n viewModel.hasMultiDates = true;\n viewModel.renderStarts = datetime.start(model.getStarts());\n viewModel.renderEnds = datetime.end(model.getEnds());\n });\n },\n\n /**\n * create view model for allday view part\n * @this Base\n * @param {Date} start start date.\n * @param {Date} end end date.\n * @param {Collection} viewModelColl - allday schedule viewModel viewModels.\n * @returns {object} allday viewModel.\n */\n getViewModelForAlldayView: function(start, end, viewModelColl) {\n var ctrlCore = this.Core,\n ctrlWeek = this.Week,\n viewModels,\n collisionGroups,\n matrices;\n\n if (!viewModelColl || !viewModelColl.length) {\n return [];\n }\n\n ctrlWeek._addMultiDatesInfo(viewModelColl);\n ctrlCore.limitRenderRange(start, end, viewModelColl);\n\n viewModels = viewModelColl.sort(array.compare.schedule.asc);\n collisionGroups = ctrlCore.getCollisionGroup(viewModels);\n\n matrices = ctrlCore.getMatrices(viewModelColl, collisionGroups);\n ctrlCore.positionViewModels(start, end, matrices);\n\n return matrices;\n },\n\n /**********\n * READ\n **********/\n\n /**\n * Populate schedules in date range.\n * @this Base\n * @param {Date} start start date.\n * @param {Date} end end date.\n * @param {function[]} [andFilters] - optional filters to applying search query\n * @returns {object} schedules grouped by dates.\n */\n findByDateRange: function(start, end, andFilters) {\n var ctrlCore = this.Core,\n ctrlWeek = this.Week,\n filter = ctrlCore.getScheduleInDateRangeFilter(start, end),\n modelColl,\n group;\n\n andFilters = andFilters || [];\n filter = Collection.and.apply(null, [filter].concat(andFilters));\n\n modelColl = this.schedules.find(filter);\n modelColl = ctrlCore.convertToViewModel(modelColl);\n\n group = modelColl.groupBy(['allday', 'time'], this.groupFunc);\n group.allday = ctrlWeek.getViewModelForAlldayView(start, end, group.allday);\n group.time = ctrlWeek.getViewModelForTimeView(start, end, group.time);\n\n return group;\n }\n};\n\nmodule.exports = Week;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/controller/viewMixin/week.js\n// module id = 67\n// module chunks = 0","/**\n * @fileoverview Factory module for control all other factory.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet'),\n Handlebars = require('handlebars-template-loader/runtime');\nvar dw = require('../common/dw'),\n datetime = require('../common/datetime'),\n Layout = require('../view/layout'),\n Drag = require('../handler/drag'),\n controllerFactory = require('./controller'),\n weekViewFactory = require('./weekView'),\n monthViewFactory = require('./monthView'),\n TZDate = require('../common/timezone').Date,\n config = require('../config'),\n timezone = require('../common/timezone');\n\nvar mmin = Math.min;\n\n/**\n * @typedef {object} Schedule\n * @property {string} id - unique schedule id depends on calendar id\n * @property {string} calendarId - unique calendar id\n * @property {string} title - schedule title\n * @property {string} start - start time\n * @property {string} end - end time\n * @property {boolean} isAllDay - all day schedule\n * @property {string} category - schedule type('milestone', 'task', allday', 'time')\n * @property {string} dueDateClass - task schedule type string\n * (any string value is ok and mandatory if category is 'task')\n * @property {boolean} isPending - in progress flag to do something like network job(The schedule will be transparent.)\n * @property {boolean} isFocused - focused schedule flag\n * @property {boolean} isVisible - schedule visibility flag\n * @property {boolean} isReadOnly - schedule read-only flag\n * @property {string} [color] - schedule text color\n * @property {string} [bgColor] - schedule background color\n * @property {string} [borderColor] - schedule left border color\n * @property {string} customStyle - schedule's custom css class\n * @property {any} raw - user data\n */\n\n/**\n * @typedef {object} RenderRange - rendered range\n * @property {Date} start - start date\n * @property {Date} end - end date\n */\n\n/**\n * @typedef {object} Options - calendar option object\n * @property {string} [cssPrefix] - CSS classname prefix\n * @property {string} [defaultView='week'] - default view of calendar\n * @property {string} [defaultDate=null] - default date to render calendar. if not supplied, use today.\n * @property {object} [calendarColor] - preset calendar colors\n * @property {string} [calendarColor.color] - calendar color\n * @property {string} [calendarColor.bgColor] - calendar background color\n * @property {string} [calendarColor.borderColor] - calendar left border color\n * @property {boolean} [calendarColor.render] - immediately apply colors when setCalendarColor called.\n * @property {boolean} [taskView=true] - show the milestone and task in weekly, daily view\n * @property {object} [template] - template option\n * @property {function} [template.milestoneTitle] - milestone title(at left column) template function\n * @property {function} [template.milestone] - milestone template function\n * @property {function} [template.taskTitle] - task title(at left column) template function\n * @property {function} [template.task] - task template function\n * @property {function} [template.alldayTitle] - allday title(at left column) template function\n * @property {function} [template.allday] - allday template function\n * @property {function} [template.time] - time template function\n * @property {function} [template.monthMoreTitleDate] - month more layer title template function\n * @property {function} [template.monthMoreClose] - month more layer close button template function\n * @property {function} [template.monthGridHeader] - month grid header(date, decorator, title) template function\n * @property {function} [template.monthGridFooter] - month grid footer(date, decorator, title) template function\n * @property {function} [template.monthGridHeaderExceed] - month grid header(exceed schedule count) template function\n * @property {function} [template.monthGridFooterExceed] - month grid footer(exceed schedule count) template function\n * @property {function} [template.weekDayname] - weekly dayname template function\n * @property {function} [template.monthDayname] - monthly dayname template function\n * @property {object} [week] - options for week view\n * @property {number} [week.startDayOfWeek=0] - start day of week\n * @property {Array.} [week.panelHeights] - each panel height px(Milestone, Task, Allday View Panel)\n * @property {Array.} [week.daynames] - day names in weekly and daily.\n * Default values are ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n * @property {boolean} [week.narrowWeekend=false] - make weekend column narrow(1/2 width)\n * @property {boolean} [week.workweek=false] - show only 5 days except for weekend\n * @property {object} [month] - options for month view\n * @property {Array.} [month.daynames] - day names in monthly.\n * Default values are ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n * @property {number} [month.startDayOfWeek=0] - start day of week\n * @property {boolean} [month.narrowWeekend=false] - make weekend column narrow(1/2 width)\n * @property {boolean} [month.visibleWeeksCount=6] - visible week count in monthly(0 or null are same with 6)\n * @property {number} [month.visibleScheduleCount] - visible schedule count in monthly grid\n * @property {object} [month.moreLayerSize] - more layer size\n * @property {object} [month.moreLayerSize.width=null] - css width value(px, 'auto').\n * The default value 'null' is to fit a grid cell.\n * @property {object} [month.moreLayerSize.height=null] - css height value(px, 'auto').\n * The default value 'null' is to fit a grid cell.\n * @property {object} [month.grid] - grid's header and footer information\n * @property {object} [month.grid.header] - grid's header informatioin\n * @property {number} [month.grid.header.height=34] - grid's header height\n * @property {object} [month.grid.footer] - grid's footer informatioin\n * @property {number} [month.grid.footer.height=34] - grid's footer height\n * @property {Array.} [schedules] - array of Schedule data for add calendar after initialize.\n */\n\n/**\n * @typedef {class} CustomEvents\n * https://nhnent.github.io/tui.code-snippet/latest/tui.util.CustomEvents.html\n */\n\n/**\n * @typedef {object} TimeCreationGuide - time creation guide instance to present selected time period\n * @property {HTMLElement} guideElement - guide element\n * @property {Object.} guideElements - map by key. It can be used in monthly view\n * @property {function} clearGuideElement - hide the creation guide\n * @example\n * calendar.on('beforeCreateSchedule', function(event) {\n * var guide = event.guide;\n * // use guideEl$'s left, top to locate your schedule creation popup\n * var guideEl$ = guide.guideElement ?\n * guide.guideElement : guide.guideElements[Object.keys(guide.guideElements)[0]];\n *\n * // after that call this to hide the creation guide\n * guide.clearGuideElement();\n * });\n */\n\n/**\n * Calendar class\n * @constructor\n * @mixes CustomEvents\n * @param {HTMLElement|string} container - container element or selector id\n * @param {Options} options - calendar options\n * @example\n * var calendar = new tui.Calendar(document.getElementById('calendar'), {\n * defaultView: 'week',\n * taskView: true,\n * template: {\n * milestone: function(schedule) {\n * return ' ' + schedule.title + '';\n * },\n * milestoneTitle: function() {\n * return 'Milestone';\n * },\n * task: function(schedule) {\n * return '  #' + schedule.title;\n * },\n * taskTitle: function() {\n * return '';\n * },\n * allday: function(schedule) {\n * return schedule.title + ' ';\n * },\n * alldayTitle: function() {\n * return 'All Day';\n * },\n * time: function(schedule) {\n * return schedule.title + ' ' + schedule.start;\n * }\n * },\n * month: {\n * daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n * startDayOfWeek: 0,\n * narrowWeekend: true\n * },\n * week: {\n * daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n * panelHeights: [80, 80, 120],\n * startDayOfWeek: 0,\n * narrowWeekend: true\n * }\n * });\n */\nfunction Calendar(container, options) {\n var opt;\n\n if (util.isString(container)) {\n container = document.querySelector(container);\n }\n\n /**\n * calendar options\n * @type {Options}\n */\n this.options = opt = util.extend({\n calendarColor: {},\n groupFunc: function(viewModel) {\n var model = viewModel.model;\n\n if (model.category === 'time' && (model.end - model.start > datetime.MILLISECONDS_PER_DAY)) {\n return 'allday';\n }\n\n return model.category;\n },\n controller: null,\n defaultView: 'week',\n taskView: true,\n defaultDate: new TZDate(),\n template: util.extend({\n allday: null,\n time: null\n }, util.pick(options, 'template') || {}),\n week: util.extend({}, util.pick(options, 'week') || {}),\n month: util.extend({}, util.pick(options, 'month') || {}),\n schedules: []\n }, options);\n\n this.options.week = util.extend({\n startDayOfWeek: 0,\n workweek: false\n }, util.pick(this.options, 'week') || {});\n\n this.options.month = util.extend({\n scheduleFilter: function(schedule) {\n return Boolean(schedule.isVisible) &&\n (schedule.category === 'allday' || schedule.category === 'time');\n }\n }, util.pick(options, 'month') || {});\n\n /**\n * Calendar color map\n * @type {object}\n * @private\n */\n this.calendarColor = opt.calendarColor;\n\n /**\n * @type {HTMLElement}\n * @private\n */\n this.container = container;\n\n /**\n * Current rendered date\n * @type {Date}\n * @readonly\n */\n this.renderDate = opt.defaultDate;\n\n /**\n * start and end date of weekly, monthly\n * @type {RenderRange}\n * @readonly\n */\n this.renderRange = {\n start: null,\n end: null\n };\n\n /**\n * base controller\n * @type {Base}\n * @private\n */\n this.controller = opt.controller || this.createController();\n\n /**\n * layout view (layout manager)\n * @type {Layout}\n * @private\n */\n this.layout = new Layout(container);\n\n /**\n * global drag handler\n * @type {Drag}\n * @private\n */\n this.dragHandler = new Drag({distance: 10}, this.layout.container);\n\n /**\n * current rendered view name. ('day', 'week', 'month')\n * @type {string}\n * @default 'week'\n * @readonly\n */\n this.viewName = opt.defaultView;\n\n /**\n * previous rendered view name\n * @type {string}\n * @private\n */\n this.prevViewName = this.viewName;\n\n /**\n * Refresh method. it can be ref different functions for each view modes.\n * @type {function}\n * @private\n */\n this.refreshMethod = null;\n\n /**\n * Scroll to now. It can be called for 'week', 'day' view modes.\n * @type {function}\n * @private\n */\n this.scrollToNowMethod = null;\n\n this.initialize();\n}\n\n/**\n * Create controller instance\n * @returns {Base} controller instance\n * @private\n */\nCalendar.prototype.createController = function() {\n return controllerFactory(this.options);\n};\n\n/**\n * Create week view instance by dependent module instances\n * @param {Base} controller - controller\n * @param {HTMLElement} container - container element\n * @param {Drag} dragHandler - global drag handler\n * @param {object} options - options for week view\n * @returns {Week} week view instance\n * @private\n */\nCalendar.prototype.createWeekView = function(controller, container, dragHandler, options) {\n return weekViewFactory(\n controller,\n container,\n dragHandler,\n options\n );\n};\n\n/**\n * Create week view instance by dependent module instances\n * @param {Base} controller - controller\n * @param {HTMLElement} container - container element\n * @param {Drag} dragHandler - global drag handler\n * @param {object} options - options for week view\n * @returns {Month} month view instance\n * @private\n */\nCalendar.prototype.createMonthView = function(controller, container, dragHandler, options) {\n return monthViewFactory(\n controller,\n container,\n dragHandler,\n options\n );\n};\n\n/**\n * destroy calendar instance.\n */\nCalendar.prototype.destroy = function() {\n this.dragHandler.destroy();\n this.controller.off();\n this.layout.clear();\n this.layout.destroy();\n\n util.forEach(this.options.template, function(func, name) {\n if (func) {\n Handlebars.unregisterHelper(name + '-tmpl');\n }\n });\n\n this.options = this.renderDate = this.controller =\n this.layout = this.dragHandler = this.viewName = this.prevViewName =\n this.refreshMethod = this.scrollToNowMethod = null;\n};\n\n/**\n * Initialize calendar\n * @private\n */\nCalendar.prototype.initialize = function() {\n var controller = this.controller,\n viewName = this.viewName,\n opt = this.options;\n\n this.layout.controller = controller;\n\n if (opt.schedules && opt.schedules.length) {\n this.createSchedules(opt.schedules, true);\n }\n\n util.forEach(opt.template, function(func, name) {\n if (func) {\n Handlebars.registerHelper(name + '-tmpl', func);\n }\n });\n\n this.toggleView(viewName, true);\n};\n\n/**********\n * CRUD Methods\n **********/\n\n/**\n * Create schedules and render calendar.\n * @param {Array.} schedules - schedule data list\n * @param {boolean} [silent=false] - no auto render after creation when set true\n * @example\n * calendar.createSchedules([\n * {\n * id: '1',\n * calendarId: '1',\n * title: 'my schedule',\n * category: 'time',\n * dueDateClass: '',\n * start: '2018-01-18T22:30:00+09:00',\n * end: '2018-01-19T02:30:00+09:00'\n * },\n * {\n * id: '2',\n * calendarId: '1',\n * title: 'second schedule',\n * category: 'time',\n * dueDateClass: '',\n * start: '2018-01-18T17:30:00+09:00',\n * end: '2018-01-19T17:31:00+09:00'\n * }\n * ]);\n */\nCalendar.prototype.createSchedules = function(schedules, silent) {\n var calColor = this.calendarColor;\n\n util.forEach(schedules, function(obj) {\n var color = calColor[obj.calendarId];\n\n if (color) {\n obj.color = color.color;\n obj.bgColor = color.bgColor;\n obj.borderColor = color.borderColor;\n }\n });\n\n this.controller.createSchedules(schedules, silent);\n\n if (!silent) {\n this.render();\n }\n};\n\n/**\n * Get schedule by schedule id and calendar id.\n * @param {string} id - ID of schedule\n * @param {string} calendarId - calendarId of schedule\n * @returns {Schedule} schedule object\n * @example\n * var schedule = calendar.getSchedule(scheduleId, calendarId);\n * console.log(schedule.title);\n */\nCalendar.prototype.getSchedule = function(id, calendarId) {\n return this.controller.schedules.single(function(model) {\n return model.id === id && model.calendarId === calendarId;\n });\n};\n\n/**\n * Update the schedule\n * @param {string} id - ID of schedule to update\n * @param {string} calendarId - calendarId of schedule to update\n * @param {Schedule} scheduleData - schedule data to update\n * @example\n * calendar.on('beforeUpdateSchedule', function(event) {\n * var schedule = event.schedule;\n * var startTime = event.start;\n * var endTime = event.end;\n * calendar.updateSchedule(schedule.id, schedule.calendarId, {\n * start: startTime,\n * end: endTime\n * });\n * });\n */\nCalendar.prototype.updateSchedule = function(id, calendarId, scheduleData) {\n var ctrl = this.controller,\n ownSchedules = ctrl.schedules,\n schedule = ownSchedules.single(function(model) {\n return model.id === id && model.calendarId === calendarId;\n });\n\n if (schedule) {\n ctrl.updateSchedule(schedule, scheduleData);\n this.render();\n }\n};\n\n/**\n * Delete schedule.\n * @fires Calendar#beforeDeleteSchedule\n * @param {string} id - ID of schedule to delete\n * @param {string} calendarId - calendarId of schedule to delete\n */\nCalendar.prototype.deleteSchedule = function(id, calendarId) {\n var ctrl = this.controller,\n ownSchedules = ctrl.schedules,\n schedule = ownSchedules.single(function(model) {\n return model.id === id && model.calendarId === calendarId;\n });\n\n if (!schedule) {\n return;\n }\n\n /**\n * Fire this event when delete a schedule.\n * @event Calendar#beforeDeleteSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to delete\n * @example\n * calendar.on('beforeDeleteSchedule', function() {\n * alert('The schedule is removed.');\n * });\n */\n this.fire('beforeDeleteSchedule', {\n schedule: schedule\n });\n\n ctrl.deleteSchedule(schedule);\n this.render();\n};\n\n/**********\n * Private Methods\n **********/\n\n/**\n * Set child view's options recursively\n * @param {View} view - parent view\n * @param {function} func - option manipulate function\n * @private\n */\nCalendar.prototype.setOptionRecurseively = function(view, func) {\n view.recursive(function(childView) {\n var opt = childView.options;\n\n if (!opt) {\n return;\n }\n\n func(opt);\n });\n};\n\n/**\n * @param {string|Date} date - date to show in calendar\n * @param {number} [startDayOfWeek=0] - start day of week\n * @param {boolean} [workweek=false] - only show work week\n * @returns {array} render range\n * @private\n */\nCalendar.prototype.getWeekDayRange = function(date, startDayOfWeek, workweek) {\n var day, start, end, range,\n msFrom = datetime.millisecondsFrom;\n\n startDayOfWeek = (startDayOfWeek || 0); // eslint-disable-line\n date = util.isDate(date) ? date : new TZDate(date);\n day = date.getDay();\n\n // calculate default render range first.\n start = new TZDate(\n Number(date) -\n msFrom('day', day) +\n msFrom('day', startDayOfWeek)\n );\n\n end = new TZDate(Number(start) + msFrom('day', 6));\n\n if (day < startDayOfWeek) {\n start = new TZDate(Number(start) - msFrom('day', 7));\n end = new TZDate(Number(end) - msFrom('day', 7));\n }\n\n if (workweek) {\n range = datetime.range(\n datetime.start(start),\n datetime.end(end),\n datetime.MILLISECONDS_PER_DAY\n );\n\n range = util.filter(range, function(weekday) {\n return !datetime.isWeekend(weekday.getDay());\n });\n\n start = range[0];\n end = range[range.length - 1];\n }\n\n return [start, end];\n};\n\n/**\n * Toggle schedules visibility by calendar ID\n * @param {string} calendarId - calendar id value\n * @param {boolean} toHide - set true to hide schedules\n * @param {boolean} render - set true then render after change visible property each models\n * @private\n */\nCalendar.prototype._toggleSchedulesByCalendarID = function(calendarId, toHide, render) {\n var ownSchedules = this.controller.schedules;\n\n calendarId = util.isArray(calendarId) ? calendarId : [calendarId];\n\n ownSchedules.each(function(schedule) {\n if (~util.inArray(schedule.calendarId, calendarId)) {\n schedule.set('isVisible', !toHide);\n }\n });\n\n if (render) {\n this.render();\n }\n};\n\n/**********\n * General Methods\n **********/\n\n/**\n * Render the calendar.\n * @example\n * var silent = true;\n * calendar.clear();\n * calendar.createSchedules(schedules, silent);\n * calendar.render();\n */\nCalendar.prototype.render = function() {\n this.layout.render();\n};\n\n/**\n * Delete all schedules and clear view.\n * @example\n * calendar.clear();\n * calendar.createSchedules(schedules, true);\n * calendar.render();\n */\nCalendar.prototype.clear = function() {\n this.controller.clearSchedules();\n this.render();\n};\n\n/**\n * Scroll to now in daily, weekly view\n * @example\n * function onNewSchedules(schedules) {\n * calendar.createSchedules(schedules);\n * if (calendar.viewName !== 'month') {\n * calendar.scrollToNow();\n * }\n * }\n */\nCalendar.prototype.scrollToNow = function() {\n if (this.scrollToNowMethod) {\n this.scrollToNowMethod();\n }\n};\n\n/**\n * Refresh the calendar layout.\n * @example\n * window.addEventListener('resize', function() {\n * calendar.refresh();\n * });\n */\nCalendar.prototype.refresh = function() {\n if (this.refreshMethod) {\n this.refreshMethod();\n }\n\n this.render();\n};\n\n/**\n * Refresh child views\n * @param {string} [viewName] - the name of view to render. if not supplied then refresh all.\n * @private\n */\nCalendar.prototype.refreshChildView = function(viewName) {\n if (!viewName) {\n this.render();\n\n return;\n }\n\n if (viewName === 'day') {\n viewName = 'week';\n }\n\n this.layout.children.items[viewName].render();\n};\n\n/**\n * Move to today.\n * @example\n * function onClickTodayBtn() {\n * calendar.today();\n * }\n */\nCalendar.prototype.today = function() {\n this.renderDate = new TZDate();\n\n this._setViewName(this.viewName); // see Calendar.move if (viewName === 'day') case using prevViewName 'week'se\n this.move();\n this.render();\n};\n\n/**\n * Move the calendar amount of offset value\n * @param {number} offset - offset value.\n * @private\n * @example\n * // move previous week when \"week\" view.\n * // move previous month when \"month\" view.\n * calendar.move(-1);\n */\nCalendar.prototype.move = function(offset) {\n var renderDate = dw(this.renderDate),\n viewName = this.viewName,\n view = this.getCurrentView(),\n recursiveSet = this.setOptionRecurseively,\n startDate, endDate, tempDate,\n startDayOfWeek, visibleWeeksCount, workweek, datetimeOptions;\n\n offset = util.isExisty(offset) ? offset : 0;\n\n if (viewName === 'month') {\n startDayOfWeek = util.pick(this.options, 'month', 'startDayOfWeek') || 0;\n visibleWeeksCount = mmin(util.pick(this.options, 'month', 'visibleWeeksCount') || 0, 6);\n workweek = util.pick(this.options, 'month', 'workweek') || false;\n\n if (visibleWeeksCount) {\n datetimeOptions = {\n startDayOfWeek: startDayOfWeek,\n isAlways6Week: false,\n visibleWeeksCount: visibleWeeksCount,\n workweek: workweek\n };\n\n renderDate.addDate(offset * 7 * datetimeOptions.visibleWeeksCount);\n tempDate = datetime.arr2dCalendar(this.renderDate, datetimeOptions);\n\n recursiveSet(view, function(opt) {\n opt.renderMonth = datetime.format(renderDate.d, 'YYYY-MM-DD');\n });\n } else {\n datetimeOptions = {\n startDayOfWeek: startDayOfWeek,\n isAlways6Week: true,\n workweek: workweek\n };\n\n renderDate.addMonth(offset);\n tempDate = datetime.arr2dCalendar(this.renderDate, datetimeOptions);\n\n recursiveSet(view, function(opt) {\n opt.renderMonth = datetime.format(renderDate.d, 'YYYY-MM');\n });\n }\n\n startDate = tempDate[0][0];\n endDate = tempDate[tempDate.length - 1][tempDate[tempDate.length - 1].length - 1];\n } else if (viewName === 'week') {\n renderDate.addDate(offset * 7);\n startDayOfWeek = util.pick(this.options, 'week', 'startDayOfWeek') || 0;\n workweek = util.pick(this.options, 'week', 'workweek') || false;\n tempDate = this.getWeekDayRange(renderDate.d, startDayOfWeek, workweek);\n\n startDate = tempDate[0];\n endDate = tempDate[1];\n\n recursiveSet(view, function(opt) {\n opt.renderStartDate = datetime.format(startDate, 'YYYY-MM-DD');\n opt.renderEndDate = datetime.format(endDate, 'YYYY-MM-DD');\n });\n } else if (viewName === 'day') {\n renderDate.addDate(offset);\n startDate = endDate = renderDate.d;\n\n recursiveSet(view, function(opt) {\n opt.renderStartDate = datetime.format(startDate, 'YYYY-MM-DD');\n opt.renderEndDate = datetime.format(endDate, 'YYYY-MM-DD');\n });\n }\n\n this.renderDate = renderDate.d;\n this.renderRange = {\n start: startDate,\n end: endDate\n };\n};\n\n/**\n * Move to specific date\n * @param {(Date|string)} date - date to move\n * @example\n * calendar.on('clickDayname', function(event) {\n * if (calendar.viewName === 'week') {\n * calendar.setDate(new Date(event.date));\n * calendar.toggleView('day', true);\n * }\n * });\n */\nCalendar.prototype.setDate = function(date) {\n if (util.isString(date)) {\n date = datetime.parse(date);\n }\n\n this.renderDate = new TZDate(Number(date));\n this._setViewName(this.viewName); // see Calendar.move if (viewName === 'day') case using prevViewName 'week'se\n this.move(0);\n this.render();\n};\n\n/**\n * Move the calendar forward a day, a week, a month\n * @example\n * function moveToNextOrPrevRange(val) {\n calendar.clear();\n if (val === -1) {\n calendar.prev();\n } else if (val === 1) {\n calendar.next();\n }\n}\n */\nCalendar.prototype.next = function() {\n this.move(1);\n this.render();\n};\n\n/**\n * Move the calendar backward a day, a week, a month\n * @example\n * function moveToNextOrPrevRange(val) {\n calendar.clear();\n if (val === -1) {\n calendar.prev();\n } else if (val === 1) {\n calendar.next();\n }\n}\n */\nCalendar.prototype.prev = function() {\n this.move(-1);\n this.render();\n};\n\n/**\n * Return current rendered view.\n * @returns {View} current view instance\n * @private\n */\nCalendar.prototype.getCurrentView = function() {\n var viewName = this.viewName;\n\n if (viewName === 'day') {\n viewName = 'week';\n }\n\n return util.pick(this.layout.children.items, viewName);\n};\n\n/**\n * Change calendar's schedule color with option\n * @param {string} calendarId - calendar ID\n * @param {object} option - color data object\n * @param {string} option.color - text color of schedule element\n * @param {string} option.bgColor - bg color of schedule element\n * @param {string} option.borderColor - border color of schedule element\n * @param {boolean} [option.render=true] - set false then does not auto render.\n * @example\n * calendar.setCalendarColor('1', {\n * color: '#e8e8e8',\n * bgColor: '#585858',\n * render: false\n * });\n * calendar.setCalendarColor('2', {\n * color: '#282828',\n * bgColor: '#dc9656',\n * render: false\n * });\n * calendar.setCalendarColor('3', {\n * color: '#a16946',\n * bgColor: '#ab4642',\n * render: true\n * });\n */\nCalendar.prototype.setCalendarColor = function(calendarId, option) {\n var calColor = this.calendarColor,\n ownSchedules = this.controller.schedules,\n ownColor = calColor[calendarId];\n\n if (!util.isObject(option)) {\n config.throwError('Calendar#changeCalendarColor(): color 는 {color: \\'\\', bgColor: \\'\\'} 형태여야 합니다.');\n }\n\n ownColor = calColor[calendarId] = util.extend({\n color: '#000',\n bgColor: '#a1b56c',\n borderColor: '#a1b56c',\n render: true\n }, option);\n\n ownSchedules.each(function(model) {\n if (model.calendarId !== calendarId) {\n return;\n }\n\n model.color = ownColor.color;\n model.bgColor = ownColor.bgColor;\n model.borderColor = ownColor.borderColor;\n });\n\n if (ownColor.render) {\n this.render();\n }\n};\n\n/**\n * Show schedules visibility by calendar ID\n * @param {string|string[]} calendarId - calendar id value\n * @param {boolean} [render=true] - set false then doesn't render after change model's property.\n * @private\n */\nCalendar.prototype.showSchedulesByCalendarID = function(calendarId, render) {\n render = util.isExisty(render) ? render : true;\n this._toggleSchedulesByCalendarID(calendarId, false, render);\n};\n\n/**\n * Hide schedules visibility by calendar ID\n * @param {string|string[]} calendarId - calendar id value\n * @param {boolean} [render=true] - set false then doesn't render after change model's property.\n * @private\n */\nCalendar.prototype.hideSchedulesByCalendarID = function(calendarId, render) {\n render = util.isExisty(render) ? render : true;\n this._toggleSchedulesByCalendarID(calendarId, true, render);\n};\n\n/**********\n * Custom Events\n **********/\n\n/**\n * 각 뷰의 클릭 핸들러와 사용자 클릭 이벤트 핸들러를 잇기 위한 브릿지 개념의 이벤트 핸들러\n * @fires Calendar#clickSchedule\n * @param {object} clickScheduleData - 'clickSchedule' 핸들러의 이벤트 데이터\n * @private\n */\nCalendar.prototype._onClick = function(clickScheduleData) {\n /**\n * Fire this event when click a schedule.\n * @event Calendar#clickSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance\n * @property {MouseEvent} event - MouseEvent\n * @example\n * calendar.on('clickSchedule', function(event) {\n * var schedule = event.schedule;\n *\n * if (lastClickSchedule) {\n * calendar.updateSchedule(lastClickSchedule.id, lastClickSchedule.calendarId, {\n * isFocused: false\n * });\n * }\n * calendar.updateSchedule(schedule.id, schedule.calendarId, {\n * isFocused: true\n * });\n *\n * lastClickSchedule = schedule;\n * // open detail view\n * });\n */\n this.fire('clickSchedule', clickScheduleData);\n};\n\n/**\n * dayname 클릭 이벤트 핸들러\n * @fires Calendar#clickDayname\n * @param {object} clickScheduleData - 'clickDayname' 핸들러의 이벤트 데이터\n * @private\n */\nCalendar.prototype._onClickDayname = function(clickScheduleData) {\n /**\n * Fire this event when click a day name in weekly.\n * @event Calendar#clickDayname\n * @type {object}\n * @property {string} date - date string by format 'YYYY-MM-DD'\n * @example\n * calendar.on('clickDayname', function(event) {\n * if (calendar.viewName === 'week') {\n * calendar.setDate(new Date(event.date));\n * calendar.toggleView('day', true);\n * }\n * });\n */\n this.fire('clickDayname', clickScheduleData);\n};\n\n/**\n * @fires {Calendar#beforeCreateSchedule}\n * @param {object} createScheduleData - select schedule data from allday, time\n * @private\n */\nCalendar.prototype._onBeforeCreate = function(createScheduleData) {\n /**\n * Fire this event when select time period in daily, weekly, monthly.\n * @event Calendar#beforeCreateSchedule\n * @type {object}\n * @property {boolean} isAllDay - allday schedule\n * @property {Date} start - selected start time\n * @property {Date} end - selected end time\n * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n * @property {string} triggerEventName - event name like 'click', 'dblclick'\n * @example\n * calendar.on('beforeCreateSchedule', function(event) {\n * var startTime = event.start;\n * var endTime = event.end;\n * var isAllDay = event.isAllDay;\n * var guide = event.guide;\n * var triggerEventName = event.triggerEventName;\n * var schedule;\n *\n * if (triggerEventName === 'click') {\n * // open writing simple schedule popup\n * schedule = {...};\n * } else if (triggerEventName === 'dblclick') {\n * // open writing detail schedule popup\n * schedule = {...};\n * }\n *\n * calendar.createSchedules([schedule]);\n * });\n */\n this.fire('beforeCreateSchedule', createScheduleData);\n};\n\n/**\n * @fires Calendar#beforeUpdateSchedule\n * @param {object} updateScheduleData - update schedule data\n * @private\n */\nCalendar.prototype._onBeforeUpdate = function(updateScheduleData) {\n /**\n * Fire this event when drag a schedule to change time in daily, weekly, monthly.\n * @event Calendar#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {Date} start - start time to update\n * @property {Date} end - end time to update\n * @example\n * calendar.on('beforeUpdateSchedule', function(event) {\n * var schedule = event.schedule;\n * var startTime = event.start;\n * var endTime = event.end;\n *\n * calendar.updateSchedule(schedule.id, schedule.calendarId, {\n * start: startTime,\n * end: endTime\n * });\n * });\n */\n this.fire('beforeUpdateSchedule', updateScheduleData);\n};\n\n/**\n * @fires Calendar#resizePanel\n * @param {object} resizeScheduleData - resize schedule data object\n * @private\n */\nCalendar.prototype._onResizePanel = function(resizeScheduleData) {\n /**\n * Fire this event when resize view panels(milestone, task, allday).\n * @event Calendar#resizePanel\n * @type {object}\n * @property {number[]} layoutData - layout data after resized\n * @example\n * calendar.on('resizePanel', function(layoutData) {\n * console.log(layoutData);\n * // do something to resize your UI if necessary.\n * });\n */\n this.fire('resizePanel', resizeScheduleData);\n};\n\n/**\n * 캘린더 팩토리 클래스와 주뷰, 월뷰의 이벤트 연결을 토글한다\n * @param {boolean} isAttach - true면 이벤트 연결함.\n * @param {Week|Month} view - 주뷰 또는 월뷰\n * @private\n */\nCalendar.prototype._toggleViewSchedule = function(isAttach, view) {\n var self = this,\n handler = view.handler,\n isMonthView = view.viewName === 'month',\n method = isAttach ? 'on' : 'off';\n\n util.forEach(handler.click, function(clickHandler) {\n clickHandler[method]('clickSchedule', self._onClick, self);\n });\n\n util.forEach(handler.dayname, function(clickHandler) {\n clickHandler[method]('clickDayname', self._onClickDayname, self);\n });\n\n util.forEach(handler.creation, function(creationHandler) {\n creationHandler[method]('beforeCreateSchedule', self._onBeforeCreate, self);\n });\n\n util.forEach(handler.move, function(moveHandler) {\n moveHandler[method]('beforeUpdateSchedule', self._onBeforeUpdate, self);\n });\n\n util.forEach(handler.resize, function(resizeHandler) {\n resizeHandler[method]('beforeUpdateSchedule', self._onBeforeUpdate, self);\n });\n\n if (!isMonthView) {\n view.vLayout[method]('resize', self._onResizePanel, self);\n }\n};\n\n/**\n * Toggle current view\n * @param {string} newViewName - new view name to render\n * @param {boolean} force - force render despite of current view and new view are equal\n * @example\n * // daily view\n * calendar.toggleView('day', true);\n *\n * // weekly view\n * calendar.toggleView('week', true);\n *\n * // monthly view(default 6 weeks view)\n * calendar.options.month.visibleWeeksCount = 6; // or null\n * calendar.toggleView('month', true);\n *\n * // 2 weeks monthly view\n * calendar.options.month.visibleWeeksCount = 2;\n * calendar.toggleView('month', true);\n *\n * // 3 weeks monthly view\n * calendar.options.month.visibleWeeksCount = 3;\n * calendar.toggleView('month', true);\n *\n * // narrow weekend\n * calendar.options.month.narrowWeekend = true;\n * calendar.options.week.narrowWeekend = true;\n * calendar.toggleView(calendar.viewName, true);\n *\n * // change start day of week(from monday)\n * calendar.options.month.startDayOfWeek = 1;\n * calendar.options.week.startDayOfWeek = 1;\n * calendar.toggleView(calendar.viewName, true);\n */\nCalendar.prototype.toggleView = function(newViewName, force) {\n var self = this,\n layout = this.layout,\n controller = this.controller,\n dragHandler = this.dragHandler,\n options = this.options,\n viewName = this.viewName,\n created;\n\n if (!force && viewName === newViewName) {\n return;\n }\n\n this._setViewName(newViewName);\n\n // convert day to week\n if (viewName === 'day') {\n viewName = 'week';\n }\n\n if (newViewName === 'day') {\n newViewName = 'week';\n }\n layout.children.doWhenHas(viewName, function(view) {\n self._toggleViewSchedule(false, view);\n });\n\n layout.clear();\n\n if (newViewName === 'month') {\n created = this.createMonthView(\n controller,\n layout.container,\n dragHandler,\n options\n );\n } else if (newViewName === 'week' || newViewName === 'day') {\n created = this.createWeekView(\n controller,\n layout.container,\n dragHandler,\n options\n );\n }\n\n layout.addChild(created.view);\n\n layout.children.doWhenHas(newViewName, function(view) {\n self._toggleViewSchedule(true, view);\n });\n\n this.refreshMethod = created.refresh;\n this.scrollToNowMethod = created.scrollToNow;\n\n this.move();\n this.render();\n};\n\n/**\n * Toggle task view panel\n * @param {boolean} enabled - use task view\n * @example\n * // There is no milestone, task, so hide those view panel\n * calendar.toggleTaskView(false);\n *\n * // There are some milestone, task, so show those view panel.\n * calendar.toggleTaskView(true);\n */\nCalendar.prototype.toggleTaskView = function(enabled) {\n var viewName = this.viewName,\n options = this.options;\n\n options.taskView = enabled;\n this.toggleView(viewName, true);\n};\n\n/**\n * Set current view name\n * @param {string} viewName - new view name to render\n * @private\n */\nCalendar.prototype._setViewName = function(viewName) {\n this.prevViewName = this.viewName;\n this.viewName = viewName;\n};\n\n/**\n * Get schedule by schedule id and calendar id.\n * @param {string} scheduleId - ID of schedule\n * @param {string} calendarId - calendarId of schedule\n * @returns {HTMLElement} schedule element if found or null\n * @example\n * var element = calendar.getElement(scheduleId, calendarId);\n * console.log(element);\n */\nCalendar.prototype.getElement = function(scheduleId, calendarId) {\n var schedule = this.getSchedule(scheduleId, calendarId);\n if (schedule) {\n return document.querySelector('[data-schedule-id=\"' + scheduleId + '\"][data-calendar-id=\"' + calendarId + '\"]');\n }\n\n return null;\n};\n\n/**\n * Set timezone offset\n * @param {number} offset - offset (min)\n * @static\n * @example\n * var timezoneName = moment.tz.guess();\n * tui.Calendar.setTimezoneOffset(moment.tz.zone(timezoneName).offset(moment()));\n */\nCalendar.setTimezoneOffset = function(offset) {\n timezone.setOffset(offset);\n};\n\nutil.CustomEvents.mixin(Calendar);\n\nmodule.exports = Calendar;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/factory/calendar.js\n// module id = 68\n// module chunks = 0","/**\n * @fileoverview Controller factory module.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Base = require('../controller/base'),\n Core = require('../controller/viewMixin/core'),\n Week = require('../controller/viewMixin/week'),\n Month = require('../controller/viewMixin/month'),\n datetime = require('../common/datetime');\n\n/**\n * Mixin object. create object property to target and mix to that\n * @param {object} from - source object\n * @param {object} to - target object\n * @param {string} propertyName - property name\n */\nfunction mixin(from, to, propertyName) {\n var obj = to[propertyName] = {};\n\n util.forEach(from, function(method, methodName) {\n obj[methodName] = util.bind(method, to);\n });\n}\n\n/**\n * @param {object} options - options for base controller\n * @param {function} [options.groupFunc] - function for group each models {@see Collection#groupBy}\n * @returns {Base} The controller instance.\n */\nmodule.exports = function(options) {\n var controller = new Base(options),\n originQuery;\n\n mixin(Core, controller, 'Core');\n mixin(Week, controller, 'Week');\n mixin(Month, controller, 'Month');\n\n /**********\n * Override Week#findByDateRange for support schedules that category is 'miles\n * tone', 'task'.\n **********/\n\n originQuery = controller.Week.findByDateRange;\n\n /**\n * Find schedule and get view model for specific month\n * @this Base\n * @override\n * @param {Date} start - start date to find schedules\n * @param {Date} end - end date to find schedules\n * @param {function[]} [andFilters] - optional filters to applying search query\n * @returns {object} view model data\n */\n function findByDateRange(start, end, andFilters) {\n var dateRange = datetime.range(\n datetime.start(start),\n datetime.end(end),\n datetime.MILLISECONDS_PER_DAY\n ),\n ymdRange = util.map(dateRange, function(d) {\n return datetime.format(d, 'YYYY-MM-DD');\n }),\n viewModels;\n\n andFilters = andFilters || [];\n viewModels = originQuery(start, end, andFilters);\n\n util.forEach(viewModels, function(coll, key, obj) {\n var groupedByYMD;\n\n // 마일스톤, 업무 뷰 뷰모델 가공\n if (key === 'task' || key === 'milestone') {\n groupedByYMD = coll.groupBy(ymdRange, function(viewModel) {\n return datetime.format(viewModel.model.end, 'YYYY-MM-DD');\n });\n\n if (key === 'task') {\n util.forEach(groupedByYMD, function(tasks, ymd, _obj) {\n _obj[ymd] = tasks.groupBy(function(viewModel) {\n return viewModel.model.dueDateClass;\n });\n });\n }\n\n obj[key] = groupedByYMD;\n }\n });\n\n return viewModels;\n }\n\n controller.Week.findByDateRange = findByDateRange;\n\n return controller;\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/factory/controller.js\n// module id = 69\n// module chunks = 0","/**\n * @fileoverview Month view factory module\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n array = require('../common/array'),\n datetime = require('../common/datetime'),\n domutil = require('../common/domutil'),\n Month = require('../view/month/month'),\n MonthClick = require('../handler/month/click'),\n MonthCreation = require('../handler/month/creation'),\n MonthResize = require('../handler/month/resize'),\n MonthMove = require('../handler/month/move'),\n More = require('../view/month/more');\n\n/**\n * Get the view model for more layer\n * @param {TZDate} date - date has more schedules\n * @param {HTMLElement} target - target element\n * @param {Collection} schedules - schedule collection\n * @returns {object} view model\n */\nfunction getViewModelForMoreLayer(date, target, schedules) {\n schedules.each(function(schedule) {\n var model = schedule.model;\n schedule.hasMultiDates = !datetime.isSameDate(model.start, model.end);\n });\n\n return {\n target: target,\n date: datetime.format(date, 'YYYY.MM.DD'),\n schedules: schedules.sort(array.compare.schedule.asc)\n };\n}\n\n/**\n * @param {Base} baseController - controller instance\n * @param {HTMLElement} layoutContainer - container element for month view\n * @param {Drag} dragHandler - drag handler instance\n * @param {object} options - options\n * @returns {object} view instance and refresh method\n */\nfunction createMonthView(baseController, layoutContainer, dragHandler, options) {\n var monthViewContainer, monthView, moreView;\n var clickHandler, creationHandler, resizeHandler, moveHandler, clearSchedulesHandler, onUpdateSchedule;\n\n monthViewContainer = domutil.appendHTMLElement(\n 'div', layoutContainer, config.classname('month'));\n\n monthView = new Month(options.month, monthViewContainer, baseController.Month);\n moreView = new More(options.month, layoutContainer);\n\n // handlers\n clickHandler = new MonthClick(dragHandler, monthView, baseController);\n creationHandler = new MonthCreation(dragHandler, monthView, baseController);\n resizeHandler = new MonthResize(dragHandler, monthView, baseController);\n moveHandler = new MonthMove(dragHandler, monthView, baseController);\n\n clearSchedulesHandler = function() {\n if (moreView) {\n moreView.hide();\n }\n };\n\n onUpdateSchedule = function() {\n if (moreView) {\n moreView.refresh();\n }\n };\n\n // binding +n click schedule\n clickHandler.on('clickMore', function(clickMoreSchedule) {\n var date = clickMoreSchedule.date,\n target = clickMoreSchedule.target,\n schedules = util.pick(baseController.findByDateRange(\n datetime.start(date),\n datetime.end(date)\n ), clickMoreSchedule.ymd);\n\n schedules.items = util.filter(schedules.items, function(item) {\n return options.month.scheduleFilter(item.model);\n });\n\n if (schedules && schedules.length) {\n moreView.render(getViewModelForMoreLayer(date, target, schedules));\n }\n });\n\n // binding clear schedules\n baseController.on('clearSchedules', clearSchedulesHandler);\n\n // bind update schedule event\n baseController.on('updateSchedule', onUpdateSchedule);\n\n moveHandler.on('monthMoveStart_from_morelayer', function() {\n moreView.hide();\n });\n\n monthView.handler = {\n click: {\n 'default': clickHandler\n },\n creation: {\n 'default': creationHandler\n },\n resize: {\n 'default': resizeHandler\n },\n move: {\n 'default': moveHandler\n }\n };\n\n monthView._beforeDestroy = function() {\n moreView.destroy();\n baseController.off('clearSchedules', clearSchedulesHandler);\n baseController.off('updateSchedule', onUpdateSchedule);\n\n util.forEach(monthView.handler, function(type) {\n util.forEach(type, function(handler) {\n handler.off();\n handler.destroy();\n });\n });\n };\n\n // add controller\n monthView.controller = baseController.Month;\n\n return {\n view: monthView,\n refresh: function() {\n monthView.vLayout.refresh();\n }\n };\n}\n\nmodule.exports = createMonthView;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/factory/monthView.js\n// module id = 70\n// module chunks = 0","/**\n * @fileoverview Factory module for WeekView\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config');\nvar domutil = require('../common/domutil');\nvar VLayout = require('../common/vlayout');\n// Parent views\nvar Week = require('../view/week/week');\n\n// Sub views\nvar DayName = require('../view/week/dayname');\nvar TimeGrid = require('../view/week/timeGrid');\nvar Allday = require('../view/week/allday');\nvar Milestone = require('../view/week/milestone');\nvar TaskView = require('../view/week/taskview');\n\n// Handlers\nvar AlldayClick = require('../handler/allday/click');\nvar AlldayCreation = require('../handler/allday/creation');\nvar AlldayMove = require('../handler/allday/move');\nvar AlldayResize = require('../handler/allday/resize');\nvar DayNameClick = require('../handler/time/clickDayname');\nvar TimeClick = require('../handler/time/click');\nvar TimeCreation = require('../handler/time/creation');\nvar TimeMove = require('../handler/time/move');\nvar TimeResize = require('../handler/time/resize');\nvar MilestoneClick = require('../handler/milestone/click');\nvar TaskClick = require('../handler/task/click');\n\nmodule.exports = function(baseController, layoutContainer, dragHandler, options) {\n var weekView, dayNameContainer, dayNameView, vLayoutContainer, vLayout,\n milestoneView, taskView, alldayView, timeGridView,\n milestoneClickHandler, taskClickHandler, alldayClickHandler, alldayCreationHandler,\n alldayMoveHandler, alldayResizeHandler, timeClickHandler, timeCreationHandler,\n timeMoveHandler, timeResizeHandler, daynameClickHandler,\n panels;\n\n weekView = new Week(null, options.week, layoutContainer);\n dayNameContainer = domutil.appendHTMLElement('div', weekView.container, config.classname('dayname-layout'));\n\n /**********\n * 일자표기 (상단 일월화수...)\n **********/\n dayNameView = new DayName(options.week, dayNameContainer);\n daynameClickHandler = new DayNameClick(dragHandler, dayNameView, baseController);\n weekView.addChild(dayNameView);\n\n /**********\n * 수직 레이아웃 모듈 초기화\n **********/\n vLayoutContainer = domutil.appendHTMLElement('div', weekView.container, config.classname('vlayout-area'));\n vLayoutContainer.style.height = (domutil.getSize(weekView.container)[1] -\n dayNameView.container.offsetHeight) + 'px';\n\n panels = [\n {height: 100,\n minHeight: 100},\n {isSplitter: true},\n {autoHeight: true}\n ];\n\n if (options.taskView) {\n panels = [\n {minHeight: 20,\n maxHeight: 80},\n {isSplitter: true},\n {minHeight: 40,\n maxHeight: 120},\n {isSplitter: true},\n {minHeight: 20,\n maxHeight: 80},\n {isSplitter: true},\n {autoHeight: true}\n ];\n }\n\n vLayout = new VLayout({\n panels: panels,\n panelHeights: options.week.panelHeights || []\n }, vLayoutContainer);\n\n weekView.vLayout = vLayout;\n\n if (options.taskView) {\n /**********\n * 마일스톤\n **********/\n milestoneView = new Milestone(options.week, vLayout.panels[0].container);\n milestoneView.on('afterRender', function(viewModel) {\n vLayout.panels[0].setHeight(null, viewModel.height);\n });\n weekView.addChild(milestoneView);\n milestoneClickHandler = new MilestoneClick(dragHandler, milestoneView, baseController);\n\n /**********\n * 업무\n **********/\n taskView = new TaskView(options.week, vLayout.panels[2].container);\n taskView.on('afterRender', function(viewModel) {\n vLayout.panels[2].setHeight(null, viewModel.height);\n });\n weekView.addChild(taskView);\n taskClickHandler = new TaskClick(dragHandler, taskView, baseController);\n }\n\n /**********\n * 종일일정\n **********/\n alldayView = new Allday(options.week, vLayout.panels[panels.length - 3].container);\n alldayView.on('afterRender', function() {\n vLayout.panels[panels.length - 3].setHeight(null, alldayView.contentHeight);\n });\n weekView.addChild(alldayView);\n alldayClickHandler = new AlldayClick(dragHandler, alldayView, baseController);\n alldayCreationHandler = new AlldayCreation(dragHandler, alldayView, baseController);\n alldayMoveHandler = new AlldayMove(dragHandler, alldayView, baseController);\n alldayResizeHandler = new AlldayResize(dragHandler, alldayView, baseController);\n\n /**********\n * 시간별 일정\n **********/\n timeGridView = new TimeGrid(options.week, vLayout.panels[panels.length - 1].container);\n weekView.addChild(timeGridView);\n timeClickHandler = new TimeClick(dragHandler, timeGridView, baseController);\n timeCreationHandler = new TimeCreation(dragHandler, timeGridView, baseController);\n timeMoveHandler = new TimeMove(dragHandler, timeGridView, baseController);\n timeResizeHandler = new TimeResize(dragHandler, timeGridView, baseController);\n\n weekView.on('afterRender', function() {\n vLayout.refresh();\n });\n\n weekView.handler = {\n click: {\n allday: alldayClickHandler,\n time: timeClickHandler\n },\n dayname: {\n date: daynameClickHandler\n },\n creation: {\n allday: alldayCreationHandler,\n time: timeCreationHandler\n },\n move: {\n allday: alldayMoveHandler,\n time: timeMoveHandler\n },\n resize: {\n allday: alldayResizeHandler,\n time: timeResizeHandler\n }\n };\n\n if (options.taskView) {\n weekView.handler.click.milestone = milestoneClickHandler;\n weekView.handler.click.task = taskClickHandler;\n }\n\n // add controller\n weekView.controller = baseController.Week;\n\n // add destroy\n weekView._beforeDestroy = function() {\n util.forEach(weekView.handler, function(type) {\n util.forEach(type, function(handler) {\n handler.off();\n handler.destroy();\n });\n });\n\n weekView.off();\n };\n\n return {\n view: weekView,\n refresh: function() {\n var weekViewHeight = weekView.getViewBound().height,\n daynameViewHeight = domutil.getBCRect(\n dayNameView.container\n ).height;\n\n vLayout.container.style.height =\n weekViewHeight - daynameViewHeight + 'px';\n vLayout.refresh();\n },\n scrollToNow: timeGridView.scrollToNow.bind(timeGridView)\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/factory/weekView.js\n// module id = 71\n// module chunks = 0","/**\n * @fileoverview Click handle module for allday schedules\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar AlldayMove = require('./move');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {Allday} [alldayView] - allday view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction AlldayClick(dragHandler, alldayView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Allday}\n */\n this.alldayView = alldayView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n dragHandler.on({\n 'click': this._onClick\n }, this);\n}\n\n/**\n * Destroy handler module\n */\nAlldayClick.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.alldayView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {string} - model id\n */\nAlldayClick.prototype.checkExpectCondition = AlldayMove.prototype.checkExpectedCondition;\n\n/**\n * Click event handler\n * @param {object} clickEvent - click event data\n * @emits AlldayClick#clickSchedule\n */\nAlldayClick.prototype._onClick = function(clickEvent) {\n var self = this,\n target = clickEvent.target,\n timeView = this.checkExpectCondition(target),\n blockElement = domutil.closest(target, config.classname('.weekday-schedule-block')),\n scheduleCollection = this.baseController.schedules;\n\n if (!timeView || !blockElement) {\n return;\n }\n\n scheduleCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n /**\n * @events AlldayClick#clickSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance\n * @property {MouseEvent} event - MouseEvent object\n */\n self.fire('clickSchedule', {\n schedule: schedule,\n event: clickEvent.originEvent\n });\n });\n};\n\nutil.CustomEvents.mixin(AlldayClick);\n\nmodule.exports = AlldayClick;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/click.js\n// module id = 72\n// module chunks = 0","/**\n * @fileoverview Handler module for WeekdayInWeek view's creation actions.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar common = require('../../common/common');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar alldayCore = require('./core');\nvar AlldayCreationGuide = require('./creationGuide');\nvar TZDate = require('../../common/timezone').Date;\n\nvar CLICK_DELAY = 300;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes AlldayCore\n * @mixes CutomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {Allday} [alldayView] - Allday view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction AlldayCreation(dragHandler, alldayView, baseController) {\n /**\n * Drag handler instance.\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * allday view instance.\n * @type {Allday}\n */\n this.alldayView = alldayView;\n\n /**\n * Base controller instance.\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {function}\n */\n this.getScheduleDataFunc = null;\n\n /**\n * @type {AlldayCreationGuide}\n */\n this.guide = new AlldayCreationGuide(this);\n\n /**\n * @type {boolean}\n */\n this._requestOnClick = false;\n\n dragHandler.on('dragStart', this._onDragStart, this);\n dragHandler.on('click', this._onClick, this);\n domevent.on(alldayView.container, 'dblclick', this._onDblClick, this);\n}\n\n/**\n * Destroy method\n */\nAlldayCreation.prototype.destroy = function() {\n this.guide.destroy();\n this.dragHandler.off(this);\n\n if (this.alldayView && this.alldayView.container) {\n domevent.off(this.alldayView.container, 'dblclick', this._onDblClick, this);\n }\n\n this.dragHandler = this.alldayView = this.baseController = this.getScheduleDataFunc = null;\n};\n\n/**\n * Check dragstart target is expected conditions for this handler.\n * @param {HTMLElement} target - dragstart event handler's target element.\n * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n */\nAlldayCreation.prototype.checkExpectedCondition = function(target) {\n var cssClass = domutil.getClass(target),\n matches;\n\n if (cssClass !== config.classname('weekday-schedules')) {\n return false;\n }\n\n target = target.parentNode;\n cssClass = domutil.getClass(target);\n matches = cssClass.match(config.allday.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.alldayView.children.items, matches[1]);\n};\n\n/**\n * Request schedule model creation to controller by custom schedules.\n * @fires {AlldayCreation#beforeCreateSchedule}\n * @param {object} scheduleData - schedule data from AlldayCreation module.\n */\nAlldayCreation.prototype._createSchedule = function(scheduleData) {\n var dateRange = scheduleData.range,\n startXIndex = scheduleData.dragStartXIndex,\n xIndex = scheduleData.xIndex,\n start, end;\n\n // when inverse start, end then change it.\n if (xIndex < startXIndex) {\n startXIndex = xIndex + startXIndex;\n xIndex = startXIndex - xIndex;\n startXIndex = startXIndex - xIndex;\n }\n\n start = new TZDate(dateRange[startXIndex].getTime());\n end = datetime.end(dateRange[xIndex]);\n\n /**\n * @event {AlldayCreation#beforeCreateSchedule}\n * @type {object}\n * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n * @property {Date} start - select start time\n * @property {Date} end - select end time\n * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n * @property {string} triggerEventName - event name\n */\n this.fire('beforeCreateSchedule', {\n isAllDay: true,\n start: start,\n end: end,\n guide: this.guide,\n triggerEventName: scheduleData.triggerEvent\n });\n};\n\n/**\n * DragStart event handler method.\n * @emits AlldayCreation#alldayCreationDragstart\n * @param {object} dragStartEventData - Drag#dragStart event handler schedule data.\n */\nAlldayCreation.prototype._onDragStart = function(dragStartEventData) {\n var target = dragStartEventData.target,\n result = this.checkExpectedCondition(target),\n getScheduleDataFunc,\n scheduleData;\n\n if (!result) {\n return;\n }\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n getScheduleDataFunc = this._retriveScheduleData(this.alldayView, dragStartEventData.originEvent);\n this.getScheduleDataFunc = getScheduleDataFunc;\n\n scheduleData = getScheduleDataFunc(dragStartEventData.originEvent);\n\n /**\n * @event AlldayCreation#alldayCreationDragstart\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire('alldayCreationDragstart', scheduleData);\n};\n\n/**\n * Drag event handler method.\n * @emits AlldayCreation#alldayCreationDrag\n * @param {object} dragEventData - Drag#drag event handler scheduledata.\n */\nAlldayCreation.prototype._onDrag = function(dragEventData) {\n var getScheduleDataFunc = this.getScheduleDataFunc,\n scheduleData;\n\n if (!getScheduleDataFunc) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(dragEventData.originEvent);\n\n /**\n * @event AlldayCreation#alldayCreationDrag\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire('alldayCreationDrag', scheduleData);\n};\n\n/**\n * DragEnd event hander method.\n * @emits AlldayCreation#alldayCreationDragend\n * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n */\nAlldayCreation.prototype._onDragEnd = function(dragEndEventData, overrideEventName) {\n var getScheduleDataFunc = this.getScheduleDataFunc;\n var scheduleData;\n\n if (!getScheduleDataFunc) {\n return;\n }\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n\n this._createSchedule(scheduleData);\n\n /**\n * @event AlldayCreation#alldayCreationDragend\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire(overrideEventName || 'alldayCreationDragend', scheduleData);\n\n this.getScheduleDataFunc = null;\n};\n\n/**\n * Click event handler method.\n * @emits AlldayCreation#alldayCreationClick\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nAlldayCreation.prototype._onClick = function(clickEventData) {\n var self = this;\n var getScheduleDataFunc, scheduleData;\n\n if (!this.checkExpectedCondition(clickEventData.target)) {\n return;\n }\n\n getScheduleDataFunc = this._retriveScheduleData(this.alldayView, clickEventData.originEvent);\n scheduleData = getScheduleDataFunc(clickEventData.originEvent);\n\n this._requestOnClick = true;\n setTimeout(function() {\n if (self._requestOnClick) {\n self.fire('alldayCreationClick', scheduleData);\n self._createSchedule(scheduleData);\n }\n self._requestOnClick = false;\n }, CLICK_DELAY);\n};\n\n/**\n * Dblclick event handler method.\n * @emits AlldayCreation#alldayCreationClick\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nAlldayCreation.prototype._onDblClick = function(clickEventData) {\n var getScheduleDataFunc, scheduleData;\n\n if (!this.checkExpectedCondition(clickEventData.target)) {\n return;\n }\n\n getScheduleDataFunc = this._retriveScheduleData(this.alldayView, clickEventData);\n scheduleData = getScheduleDataFunc(clickEventData);\n\n this.fire('alldayCreationClick', scheduleData);\n\n this._createSchedule(scheduleData);\n\n this._requestOnClick = false;\n};\n\ncommon.mixin(alldayCore, AlldayCreation);\nutil.CustomEvents.mixin(AlldayCreation);\n\nmodule.exports = AlldayCreation;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/creation.js\n// module id = 73\n// module chunks = 0","/**\n * @fileoverview Guide element for Allday.Creation\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\n\n/**\n * Class for Allday.Creation dragging effect.\n * @constructor\n * @param {AlldayCreation} alldayCreation - instance of AlldayCreation.\n */\nfunction AlldayCreationGuide(alldayCreation) {\n /**\n * @type {AlldayCreation}\n */\n this.alldayCreation = alldayCreation;\n\n /**\n * @type {HTMLDIVElement}\n */\n this.scheduleContainer = null;\n\n /**\n * @type {HTMLDIVElement}\n */\n this.guideElement = document.createElement('div');\n\n this.initializeGuideElement();\n\n alldayCreation.on({\n alldayCreationDragstart: this._createGuideElement,\n alldayCreationDrag: this._onDrag,\n alldayCreationClick: this._createGuideElement\n }, this);\n}\n\n/**\n * Destroy method\n */\nAlldayCreationGuide.prototype.destroy = function() {\n this.clearGuideElement();\n this.alldayCreation.off(this);\n this.alldayCreation = this.scheduleContainer = this.guideElement = null;\n};\n\n/**\n * initialize guide element's default style.\n */\nAlldayCreationGuide.prototype.initializeGuideElement = function() {\n domutil.addClass(this.guideElement, config.classname('allday-guide-creation-block'));\n};\n\n/**\n * Drag event handler\n * @param {object} scheduleData - schedule data from Allday.Creation handler.\n */\nAlldayCreationGuide.prototype._onDrag = function(scheduleData) {\n this._refreshGuideElement(scheduleData, true);\n};\n\n/**\n * Get element width based on narrowWeekend\n * @param {number} dragStartIndex - grid start index\n * @param {number} dragEndIndex - grid end index\n * @param {Array} grids - dates information\n * @returns {number} element width\n */\nAlldayCreationGuide.prototype._getGuideWidth = function(dragStartIndex, dragEndIndex, grids) {\n var width = 0;\n var i = dragStartIndex;\n for (; i <= dragEndIndex; i += 1) {\n width += grids[i].width;\n }\n\n return width;\n};\n\n/**\n * Refresh guide element.\n * @param {object} scheduleData - schedule data from Allday.Creation handler.\n * @param {boolean} defer - If set to true, set style in the next frame\n */\nAlldayCreationGuide.prototype._refreshGuideElement = function(scheduleData, defer) {\n var guideElement = this.guideElement,\n data = scheduleData,\n dragStartXIndex = data.dragStartXIndex < data.xIndex ? data.dragStartXIndex : data.xIndex,\n dragEndXIndex = data.dragStartXIndex < data.xIndex ? data.xIndex : data.dragStartXIndex,\n leftPercent,\n widthPercent;\n\n leftPercent = data.grids[dragStartXIndex].left;\n widthPercent = this._getGuideWidth(dragStartXIndex, dragEndXIndex, data.grids);\n\n /** eslint-disable require-jsdoc */\n function setStyle() {\n guideElement.style.display = 'block';\n guideElement.style.left = leftPercent + '%';\n guideElement.style.width = widthPercent + '%';\n }\n\n if (defer) {\n reqAnimFrame.requestAnimFrame(setStyle);\n } else {\n setStyle();\n }\n};\n\n/**\n * Clear guide element.\n */\nAlldayCreationGuide.prototype.clearGuideElement = function() {\n var guideElement = this.guideElement;\n\n domutil.remove(guideElement);\n\n guideElement.style.display = 'none';\n guideElement.style.left = '';\n guideElement.style.width = '';\n};\n\n/**\n * Create guide element\n * @param {object} dragStartEventData - schedule data object of Allday.Creation.\n */\nAlldayCreationGuide.prototype._createGuideElement = function(dragStartEventData) {\n var alldayCreation = this.alldayCreation,\n alldayView = alldayCreation.alldayView,\n alldayContainerElement = alldayView.container,\n scheduleContainer = domutil.find(config.classname('.weekday-creation'), alldayContainerElement);\n\n scheduleContainer.appendChild(this.guideElement);\n this._refreshGuideElement(dragStartEventData);\n};\n\n/**\n * Drag event handler.\n * @param {object} dragEventData - event data object of Allday.Creation.\n */\nAlldayCreationGuide.prototype._onDrag = function(dragEventData) {\n this._refreshGuideElement(dragEventData);\n};\n\nmodule.exports = AlldayCreationGuide;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/creationGuide.js\n// module id = 74\n// module chunks = 0","/**\n * @fileoverview Effect module for Allday.Move\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * Class for Allday.Move dragging effect.\n * @constructor\n * @param {AlldayMove} alldayMove - instance of AlldayMove.\n */\nfunction AlldayMoveGuide(alldayMove) {\n /**\n * @type {AlldayMove}\n */\n this.alldayMove = alldayMove;\n\n /**\n * 실제로 이벤트 엘리먼트를 담는 엘리먼트\n * @type {HTMLDIVElement}\n */\n this.scheduleContainer = null;\n\n /**\n * @type {number}\n */\n this._dragStartXIndex = null;\n\n /**\n * @type {HTMLDIVElement}\n */\n this.guideElement = null;\n\n /**\n * @type {HTMLElement[]}\n */\n this.elements = null;\n\n alldayMove.on({\n 'alldayMoveDragstart': this._onDragStart,\n 'alldayMoveDrag': this._onDrag,\n 'alldayMoveDragend': this._clearGuideElement,\n 'alldayMoveClick': this._clearGuideElement\n }, this);\n}\n\n/**\n * Destroy method\n */\nAlldayMoveGuide.prototype.destroy = function() {\n this._clearGuideElement();\n this.alldayMove.off(this);\n this.alldayMove = this.scheduleContainer = this._dragStartXIndex =\n this.elements = this.guideElement = null;\n};\n\n/**\n * Clear guide element.\n */\nAlldayMoveGuide.prototype._clearGuideElement = function() {\n domutil.remove(this.guideElement);\n\n if (!util.browser.msie) {\n domutil.removeClass(global.document.body, config.classname('dragging'));\n }\n\n this._dragStartXIndex = this.getScheduleDataFunc = this.guideElement = null;\n};\n\n/**\n * Dim element blocks\n * @param {number} modelID - Schedule model instance ID\n */\nAlldayMoveGuide.prototype._hideOriginScheduleBlocks = function(modelID) {\n var className = config.classname('weekday-schedule-block-dragging-dim');\n var scheduleBlocks = domutil.find(\n config.classname('.weekday-schedule-block'),\n this.alldayMove.alldayView.container,\n true\n );\n\n this.elements = util.filter(scheduleBlocks, function(schedule) {\n return domutil.getData(schedule, 'id') === modelID;\n });\n\n util.forEach(this.elements, function(el) {\n domutil.addClass(el, className);\n });\n};\n\n/**\n * Show element blocks\n */\nAlldayMoveGuide.prototype._showOriginScheduleBlocks = function() {\n var className = config.classname('weekday-schedule-block-dragging-dim');\n\n util.forEach(this.elements, function(el) {\n domutil.removeClass(el, className);\n });\n};\n\n/**\n * @param {Schedule} model - model\n * @param {HTMLElement} parent - parent element\n * Highlight element blocks\n */\nAlldayMoveGuide.prototype._highlightScheduleBlocks = function(model, parent) {\n var elements = domutil.find(config.classname('.weekday-schedule'), parent, true);\n\n util.forEach(elements, function(el) {\n el.style.margin = '0';\n\n if (!model.isFocused) {\n el.style.backgroundColor = el.style.color;\n el.style.borderLeftColor = el.style.color;\n el.style.color = '#ffffff';\n }\n });\n};\n\n/**\n * Refresh guide element.\n * @param {number} leftPercent - left percent of guide element.\n * @param {number} widthPercent - width percent of guide element.\n * @param {boolean} isExceededLeft - schedule start is faster then render start date?\n * @param {boolean} isExceededRight - schedule end is later then render end date?\n */\nAlldayMoveGuide.prototype.refreshGuideElement = function(leftPercent, widthPercent, isExceededLeft, isExceededRight) {\n var guideElement = this.guideElement;\n\n reqAnimFrame.requestAnimFrame(function() {\n guideElement.style.left = leftPercent + '%';\n guideElement.style.width = widthPercent + '%';\n\n if (isExceededLeft) {\n domutil.addClass(guideElement, config.classname('weekday-exceed-left'));\n } else {\n domutil.removeClass(guideElement, config.classname('weekday-exceed-left'));\n }\n\n if (isExceededRight) {\n domutil.addClass(guideElement, config.classname('weekday-exceed-right'));\n } else {\n domutil.removeClass(guideElement, config.classname('weekday-exceed-right'));\n }\n });\n};\n\n/**\n * Get schedule block information from schedule data.\n *\n * For example, there is single schedule has 10 length. but render range in view is 5 then\n * rendered block must be cut out to render properly. in this case, this method return\n * how many block are cut before rendering.\n *\n * 이벤트 데이터에서 이벤트 블록 엘리먼트 렌더링에 대한 필요 정보를 추출한다.\n *\n * ex) 렌더링 된 블록의 길이는 5지만 실제 이 이벤트는 10의 길이를 가지고 있을 때\n * 좌 우로 몇 만큼 잘려있는지에 관한 정보를 반환함.\n * @param {object} dragStartEventData - schedule data from Allday.Move handler.\n * @returns {function} function that return schedule block information.\n */\nAlldayMoveGuide.prototype._getScheduleBlockDataFunc = function(dragStartEventData) {\n var model = dragStartEventData.model,\n datesInRange = dragStartEventData.datesInRange,\n range = dragStartEventData.range,\n baseWidthPercent = (100 / datesInRange),\n originScheduleStarts = datetime.start(model.start),\n originScheduleEnds = datetime.end(model.end),\n renderStartDate = datetime.start(range[0]),\n renderEndDate = datetime.end(range[range.length - 1]),\n fromLeft = (new TZDate(originScheduleStarts.getTime() -\n renderStartDate.getTime())) / datetime.MILLISECONDS_PER_DAY | 0,\n fromRight = (new TZDate(originScheduleEnds.getTime() -\n renderEndDate.getTime())) / datetime.MILLISECONDS_PER_DAY | 0;\n\n return function(indexOffset) {\n return {\n baseWidthPercent: baseWidthPercent,\n fromLeft: fromLeft + indexOffset,\n fromRight: fromRight + indexOffset\n };\n };\n};\n\n/**\n * DragStart event handler.\n * @param {object} dragStartEventData - schedule data.\n */\nAlldayMoveGuide.prototype._onDragStart = function(dragStartEventData) {\n var alldayViewContainer = this.alldayMove.alldayView.container,\n guideElement = this.guideElement = dragStartEventData.scheduleBlockElement.cloneNode(true),\n scheduleContainer;\n\n if (!util.browser.msie) {\n domutil.addClass(global.document.body, config.classname('dragging'));\n }\n\n this._hideOriginScheduleBlocks(String(dragStartEventData.model.cid()));\n\n scheduleContainer = domutil.find(config.classname('.weekday-schedules'), alldayViewContainer);\n domutil.addClass(guideElement, config.classname('allday-guide-move'));\n scheduleContainer.appendChild(guideElement);\n\n this._dragStartXIndex = dragStartEventData.xIndex;\n this.getScheduleDataFunc = this._getScheduleBlockDataFunc(dragStartEventData);\n\n this._highlightScheduleBlocks(dragStartEventData.model, guideElement);\n};\n\n/**\n * Drag event handler.\n * @param {object} dragEventData - schedule data.\n */\nAlldayMoveGuide.prototype._onDrag = function(dragEventData) {\n var getScheduleDataFunc = this.getScheduleDataFunc,\n dragStartXIndex = this._dragStartXIndex,\n datesInRange = dragEventData.datesInRange,\n scheduleData,\n isExceededLeft,\n isExceededRight,\n originLength,\n newLeft,\n newWidth;\n\n if (!getScheduleDataFunc) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(dragEventData.xIndex - dragStartXIndex);\n isExceededLeft = scheduleData.fromLeft < 0;\n isExceededRight = scheduleData.fromRight > 0;\n\n newLeft = Math.max(0, scheduleData.fromLeft);\n originLength = (scheduleData.fromLeft * -1) + (datesInRange + scheduleData.fromRight);\n newWidth = isExceededLeft ? (originLength + scheduleData.fromLeft) : originLength;\n newWidth = isExceededRight ? (newWidth - scheduleData.fromRight) : newWidth;\n\n newLeft *= scheduleData.baseWidthPercent;\n newWidth *= scheduleData.baseWidthPercent;\n\n this.refreshGuideElement(newLeft, newWidth, isExceededLeft, isExceededRight);\n};\n\nmodule.exports = AlldayMoveGuide;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/moveGuide.js\n// module id = 75\n// module chunks = 0","/**\n * @fileoverview Resize handler module for Allday view.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar common = require('../../common/common');\nvar AlldayCore = require('./core');\nvar AlldayResizeGuide = require('./resizeGuide');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes AlldayCore\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {Allday} [alldayView] - Allday view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction AlldayResize(dragHandler, alldayView, baseController) {\n /**\n * Drag handler instance.\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * allday view instance.\n * @type {Allday}\n */\n this.alldayView = alldayView;\n\n /**\n * Base controller instance.\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * Temporary variable for dragStart event data.\n * @type {object}\n */\n this._dragStart = null;\n\n dragHandler.on({\n dragStart: this._onDragStart\n }, this);\n\n /**\n * @type {AlldayResizeGuide}\n */\n this.guide = new AlldayResizeGuide(this);\n}\n\n/**\n * Destroy method\n */\nAlldayResize.prototype.destroy = function() {\n this.guide.destroy();\n this.dragHandler.off(this);\n this.dragHandler = this.alldayView = this.baseController =\n this.guide = this._dragStart = null;\n};\n\n/**\n * Check dragstart target is expected conditions for this handler.\n * @param {HTMLElement} target - dragstart event handler's target element.\n * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n */\nAlldayResize.prototype.checkExpectedCondition = function(target) {\n var cssClass = domutil.getClass(target),\n matches;\n\n if (!~cssClass.indexOf(config.classname('weekday-resize-handle'))) {\n return false;\n }\n\n target = domutil.closest(target, config.classname('.weekday'));\n\n if (!target) {\n return false;\n }\n\n cssClass = domutil.getClass(target);\n matches = cssClass.match(config.allday.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.alldayView.children.items, matches[1]);\n};\n\n/**\n * DragStart event handler.\n * @emits AlldayResize#alldayResizeDragstart\n * @param {object} dragStartEventData - schedule data.\n */\nAlldayResize.prototype._onDragStart = function(dragStartEventData) {\n var target = dragStartEventData.target,\n result = this.checkExpectedCondition(target),\n controller = this.baseController,\n scheduleBlockElement,\n modelID,\n targetModel,\n getScheduleDataFunc,\n scheduleData;\n\n if (!result) {\n return;\n }\n\n scheduleBlockElement = domutil.closest(target, config.classname('.weekday-schedule-block'));\n modelID = domutil.getData(scheduleBlockElement, 'id');\n targetModel = controller.schedules.items[modelID];\n\n if (!targetModel) {\n return;\n }\n\n getScheduleDataFunc = this._retriveScheduleData(this.alldayView, dragStartEventData.originEvent);\n this.getScheduleDataFunc = getScheduleDataFunc;\n scheduleData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\n util.extend(scheduleData, {\n scheduleBlockElement: scheduleBlockElement,\n model: targetModel\n });\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n /**\n * @event AlldayResize#alldayResizeDragstart\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n * @property {Schedule} model - data object of model isntance.\n * @property {HTMLDivElement} scheduleBlockElement - target schedule block element.\n */\n this.fire('alldayResizeDragstart', scheduleData);\n};\n\n/**\n * Drag event handler method.\n * @emits AlldayResize#alldayResizeDrag\n * @param {object} dragEventData - Drag#drag event handler scheduledata.\n */\nAlldayResize.prototype._onDrag = function(dragEventData) {\n var getScheduleDataFunc = this.getScheduleDataFunc;\n\n if (!getScheduleDataFunc) {\n return;\n }\n\n /**\n * @event AlldayResize#alldayResizeDrag\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire('alldayResizeDrag', getScheduleDataFunc(dragEventData.originEvent));\n};\n\n/**\n * Request update schedule instance to base controller.\n * @fires AlldayResize#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from AlldayResize handler.\n */\nAlldayResize.prototype._updateSchedule = function(scheduleData) {\n var schedule = scheduleData.targetModel,\n dateOffset = scheduleData.xIndex - scheduleData.dragStartXIndex,\n newEnds = new TZDate(schedule.end.getTime());\n\n newEnds = new TZDate(newEnds.setDate(newEnds.getDate() + dateOffset));\n newEnds = new TZDate(Math.max(datetime.end(schedule.start).getTime(), newEnds.getTime()));\n\n /**\n * @event AlldayResize#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {date} start - start time to update\n * @property {date} end - end time to update\n */\n this.fire('beforeUpdateSchedule', {\n schedule: schedule,\n start: schedule.getStarts(),\n end: newEnds\n });\n};\n\n/**\n * DragEnd event hander method.\n * @emits AlldayResize#alldayResizeDragend\n * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {?boolean} skipUpdate - true then skip update schedule model.\n */\nAlldayResize.prototype._onDragEnd = function(dragEndEventData, overrideEventName, skipUpdate) {\n var getScheduleDataFunc = this.getScheduleDataFunc,\n dragStart = this._dragStart,\n scheduleData;\n\n if (!getScheduleDataFunc || !dragStart) {\n return;\n }\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n util.extend(scheduleData, {\n targetModel: dragStart.model\n });\n\n if (!skipUpdate) {\n this._updateSchedule(scheduleData);\n }\n\n /**\n * @event AlldayResize#alldayResizeDragend\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this.fire(overrideEventName || 'alldayResizeDragend', scheduleData);\n\n this.getScheduleDataFunc = this._dragStart = null;\n};\n\n/**\n * Click event handler method.\n * @emits AlldayResize#alldayResizeClick\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nAlldayResize.prototype._onClick = function(clickEventData) {\n /**\n * @event AlldayResize#alldayResizeClick\n * @type {object}\n * @property {AlldayView} relatedView - allday view instance.\n * @property {number} datesInRange - date count of this view.\n * @property {number} dragStartXIndex - index number of dragstart grid index.\n * @property {number} xIndex - index number of mouse positions.\n */\n this._onDragEnd(clickEventData, 'alldayResizeClick', true);\n};\n\ncommon.mixin(AlldayCore, AlldayResize);\nutil.CustomEvents.mixin(AlldayResize);\n\nmodule.exports = AlldayResize;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/resize.js\n// module id = 76\n// module chunks = 0","/**\n * @fileoverview Resize Guide module.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar datetime = require('../../common/datetime');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @param {AlldayResize} alldayResize - instance of AlldayResize\n */\nfunction AlldayResizeGuide(alldayResize) {\n /**\n * @type {AlldayResize}\n */\n this.alldayResize = alldayResize;\n\n /**\n * 실제로 이벤트 엘리먼트를 담는 엘리먼트\n * @type {HTMLDIVElement}\n */\n this.scheduleContainer = null;\n\n /**\n * @type {function}\n */\n this.getScheduleDataFunc = null;\n\n /**\n * @type {HTMLDIVElement}\n */\n this.guideElement = null;\n\n alldayResize.on({\n 'alldayResizeDragstart': this._onDragStart,\n 'alldayResizeDrag': this._onDrag,\n 'alldayResizeDragend': this._clearGuideElement,\n 'alldayResizeClick': this._clearGuideElement\n }, this);\n}\n\n/**\n * Destroy method\n */\nAlldayResizeGuide.prototype.destroy = function() {\n this._clearGuideElement();\n this.alldayResize.off(this);\n this.alldayResize = this.scheduleContainer = this.getScheduleDataFunc =\n this.guideElement = null;\n};\n\n/**\n * Clear guide element.\n */\nAlldayResizeGuide.prototype._clearGuideElement = function() {\n domutil.remove(this.guideElement);\n\n if (!util.browser.msie) {\n domutil.removeClass(global.document.body, config.classname('resizing-x'));\n }\n\n this.getScheduleDataFunc = null;\n};\n\n/**\n * Refresh guide element\n * @param {number} newWidth - new width percentage value to resize guide element.\n */\nAlldayResizeGuide.prototype.refreshGuideElement = function(newWidth) {\n var guideElement = this.guideElement;\n\n reqAnimFrame.requestAnimFrame(function() {\n guideElement.style.width = newWidth + '%';\n });\n};\n\n/**\n * Return function that calculate guide element's new width percentage value.\n * @param {object} dragStartEventData - dragstart schedule data.\n * @returns {function} return function that calculate guide element new width percentage.\n */\nAlldayResizeGuide.prototype.getGuideElementWidthFunc = function(dragStartEventData) {\n var model = dragStartEventData.model,\n viewOptions = this.alldayResize.alldayView.options,\n startDate = datetime.start(\n new TZDate(Math.max(\n model.start.getTime(),\n datetime.parse(viewOptions.renderStartDate).getTime()\n ))\n ),\n endDate = datetime.end(\n new TZDate(Math.min(\n model.end.getTime(),\n datetime.parse(viewOptions.renderEndDate).getTime()\n ))\n ),\n originLength = datetime.range(startDate, endDate, datetime.MILLISECONDS_PER_DAY).length,\n baseWidthPercent = 100 / dragStartEventData.datesInRange,\n dragStartIndex = dragStartEventData.xIndex;\n\n return function(xIndex) {\n var offset = xIndex - dragStartIndex,\n newLength = originLength + offset;\n\n newLength = Math.max(1, newLength);\n\n return newLength * baseWidthPercent;\n };\n};\n\n/**\n * DragStart event handler.\n * @param {object} dragStartEventData - schedule data.\n */\nAlldayResizeGuide.prototype._onDragStart = function(dragStartEventData) {\n var alldayViewContainer = this.alldayResize.alldayView.container,\n guideElement = this.guideElement = dragStartEventData.scheduleBlockElement.cloneNode(true),\n scheduleContainer;\n\n if (!util.browser.msie) {\n domutil.addClass(global.document.body, config.classname('resizing-x'));\n }\n\n scheduleContainer = domutil.find(config.classname('.weekday-schedules'), alldayViewContainer);\n domutil.addClass(guideElement, config.classname('allday-guide-move'));\n scheduleContainer.appendChild(guideElement);\n\n this.getScheduleDataFunc = this.getGuideElementWidthFunc(dragStartEventData);\n};\n\n/**\n * Drag event handler.\n * @param {object} dragEventData - schedule data.\n */\nAlldayResizeGuide.prototype._onDrag = function(dragEventData) {\n var func = this.getScheduleDataFunc;\n\n if (!func) {\n return;\n }\n\n this.refreshGuideElement(func(dragEventData.xIndex));\n};\n\nmodule.exports = AlldayResizeGuide;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/allday/resizeGuide.js\n// module id = 77\n// module chunks = 0","/**\n * @fileoverview 마일스톤 항목 클릭 이벤트 핸들러 모듈\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\n\n/**\n * 마일스톤 클릭 이벤트 핸들러 모듈\n * @constructor\n * @implelements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} dragHandler - dragHandler instance\n * @param {Milestone} milestoneView - milstone view instance\n * @param {Base} baseController - baseController instance\n */\nfunction MilestoneClick(dragHandler, milestoneView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Milestone}\n */\n this.milestoneView = milestoneView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n dragHandler.on({\n 'click': this._onClick\n }, this);\n}\n\n/**\n * Destroy\n */\nMilestoneClick.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.dragHandler = this.milestoneView = this.baseController = null;\n};\n\n/**\n * @param {HTMLElement} target - check reponsibility to this handler module supplied element\n * @returns {boolean|string} return false when handler has no responsibility for supplied element.\n * otherwise, return schedule model id that related with target element.\n */\nMilestoneClick.prototype.checkExpectedCondition = function(target) {\n target = domutil.closest(target, config.classname('.milestone-item'));\n\n if (!target) {\n return false;\n }\n\n return domutil.getData(target, 'id');\n};\n\n/**\n * @emits MilestoneClick#clickSchedule\n * @param {object} clickEvent - click event object\n */\nMilestoneClick.prototype._onClick = function(clickEvent) {\n var self = this,\n modelID = this.checkExpectedCondition(clickEvent.target);\n\n if (!modelID) {\n return;\n }\n\n this.baseController.schedules.doWhenHas(modelID, function(schedule) {\n /**\n * @events MilestoneClick#clickEvent\n * @type {object}\n * @property {Schedule} schedule - schedule instance\n * @property {MouseEvent} event - MouseEvent object\n */\n self.fire('clickSchedule', {\n schedule: schedule,\n event: clickEvent.originEvent\n });\n });\n};\n\nutil.CustomEvents.mixin(MilestoneClick);\n\nmodule.exports = MilestoneClick;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/milestone/click.js\n// module id = 78\n// module chunks = 0","/**\n * @fileoverview Click handler for month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n datetime = require('../../common/datetime'),\n domutil = require('../../common/domutil');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {Month} [monthView] - Month view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction MonthClick(dragHandler, monthView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Month}\n */\n this.monthView = monthView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n dragHandler.on({\n 'click': this._onClick\n }, this);\n}\n\n/**\n * Destructor\n */\nMonthClick.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.monthView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * @fires MonthClick#clickMore\n * @param {object} clickEvent - click event object\n */\nMonthClick.prototype._onClick = function(clickEvent) {\n var self = this,\n moreElement,\n scheduleCollection = this.baseController.schedules,\n blockElement = domutil.closest(clickEvent.target, config.classname('.weekday-schedule-block'))\n || domutil.closest(clickEvent.target, config.classname('.month-more-schedule'));\n\n moreElement = domutil.closest(\n clickEvent.target,\n config.classname('.weekday-exceed')\n );\n\n if (moreElement) {\n self.fire('clickMore', {\n date: datetime.parse(domutil.getData(moreElement, 'ymd')),\n target: moreElement,\n ymd: domutil.getData(moreElement, 'ymd')\n });\n }\n\n if (blockElement) {\n scheduleCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n /**\n * @events AlldayClick#clickSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance\n * @property {MouseEvent} event - MouseEvent object\n */\n self.fire('clickSchedule', {\n schedule: schedule,\n event: clickEvent.originEvent\n });\n });\n }\n};\n\nutil.CustomEvents.mixin(MonthClick);\n\nmodule.exports = MonthClick;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/click.js\n// module id = 79\n// module chunks = 0","/**\n * @fileoverview Creation handler for month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar array = require('../../common/array');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar getMousePosDate = require('./core');\nvar Guide = require('./creationGuide');\nvar TZDate = require('../../common/timezone').Date;\n\nvar CLICK_DELAY = 300;\n\n/**\n * @constructor\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {Month} monthView - Month view instance.\n * @param {Base} baseController - Base controller instance.\n */\nfunction MonthCreation(dragHandler, monthView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Month}\n */\n this.monthView = monthView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {function}\n */\n this.getScheduleData = null;\n\n /**\n * Cache for dragging session\n * @type {object}\n */\n this._cache = null;\n\n /**\n * @type {MonthCreationGuide}\n */\n this.guide = new Guide(this);\n\n /**\n * @type {boolean}\n */\n this._requestOnClick = false;\n\n dragHandler.on('dragStart', this._onDragStart, this);\n dragHandler.on('click', this._onClick, this);\n domevent.on(monthView.container, 'dblclick', this._onDblClick, this);\n}\n\n/**\n * Destructor\n */\nMonthCreation.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.guide.destroy();\n\n if (this.monthView && this.monthView.container) {\n domevent.off(this.monthView.container, 'dblclick', this._onDblClick, this);\n }\n\n this.dragHandler = this.monthView = this.baseController =\n this.getScheduleData = this._cache = this.guide = null;\n};\n\n/**\n * Fire before create schedule\n * @fires {MonthCreation#beforeCreateSchedule}\n * @param {object} eventData - cache data from single dragging session\n */\nMonthCreation.prototype._createSchedule = function(eventData) {\n /**\n * @event {MonthCreation#beforeCreateSchedule}\n * @type {object}\n * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n * @property {Date} start - select start time\n * @property {Date} end - select end time\n * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n * @property {string} triggerEventName - event name\n */\n this.fire('beforeCreateSchedule', {\n isAllDay: eventData.isAllDay,\n start: eventData.start,\n end: eventData.end,\n guide: this.guide.guide,\n triggerEventName: eventData.triggerEvent\n });\n};\n\n/**\n * DragStart event handler\n * @fires {MonthCreation#monthCreationDragstart}\n * @param {object} dragStartEvent - dragStart event data\n */\nMonthCreation.prototype._onDragStart = function(dragStartEvent) {\n var eventData;\n\n if (!isElementWeekdayGrid(dragStartEvent.target)) {\n return;\n }\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n this.getScheduleData = getMousePosDate(this.monthView);\n\n eventData = this.getScheduleData(dragStartEvent.originEvent);\n\n this._cache = {\n start: new TZDate(Number(eventData.date))\n };\n\n /**\n * @event {MonthCreation#monthCreationDragstart}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthCreationDragstart', eventData);\n};\n\n/**\n * Drag event handler\n * @fires {MonthCreation#monthCreationDrag}\n * @param {object} dragEvent - drag event data\n */\nMonthCreation.prototype._onDrag = function(dragEvent) {\n var eventData;\n\n if (!this.getScheduleData) {\n return;\n }\n\n eventData = this.getScheduleData(dragEvent.originEvent);\n\n if (!eventData) {\n return;\n }\n\n /**\n * @event {MonthCreation#monthCreationDrag}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthCreationDrag', eventData);\n};\n\n/**\n * DragEnd event handler\n * @fires {MonthCreation#monthCreationDragend}\n * @param {object} dragEndEvent - drag end event data\n */\nMonthCreation.prototype._onDragEnd = function(dragEndEvent) {\n var cache = this._cache;\n var eventData;\n var times;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n if (!this.getScheduleData) {\n return;\n }\n\n eventData = this.getScheduleData(dragEndEvent.originEvent);\n\n if (eventData) {\n cache.end = new TZDate(Number(eventData.date));\n cache.isAllDay = true;\n\n times = [\n Number(cache.start),\n Number(cache.end)\n ].sort(array.compare.num.asc);\n\n cache.start = new TZDate(times[0]);\n cache.end = datetime.end(new TZDate(times[1]));\n\n this._createSchedule(cache);\n }\n\n /**\n * @event {MonthCreation#monthCreationDragend}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthCreationDragend', eventData);\n\n this.getScheduleData = this._cache = null;\n};\n\n/**\n * Dblclick event handler\n * @fires {MonthCreation#monthCreationDragstart}\n * @param {MouseEvent} e - Native MouseEvent\n */\nMonthCreation.prototype._onDblClick = function(e) {\n var eventData, range;\n\n if (!isElementWeekdayGrid(e.target)) {\n return;\n }\n\n eventData = getMousePosDate(this.monthView)(e);\n\n this.fire('monthCreationClick', eventData);\n\n range = adjustStartAndEndTime(new TZDate(Number(eventData.date)), new TZDate(Number(eventData.date)));\n\n this._createSchedule({\n start: range.start,\n end: range.end,\n isAllDay: false,\n triggerEvent: eventData.triggerEvent\n });\n\n this._requestOnClick = false;\n};\n\n/**\n * Click event handler\n * @fires {MonthCreation#monthCreationDragstart}\n * @param {MouseEvent} e - Native MouseEvent\n */\nMonthCreation.prototype._onClick = function(e) {\n var self = this;\n var eventData, range;\n\n if (!isElementWeekdayGrid(e.target)) {\n return;\n }\n\n eventData = getMousePosDate(this.monthView)(e.originEvent);\n\n this._requestOnClick = true;\n setTimeout(function() {\n if (self._requestOnClick) {\n self.fire('monthCreationClick', eventData);\n\n range = self._adjustStartAndEndTime(new TZDate(Number(eventData.date)), new TZDate(Number(eventData.date)));\n\n self._createSchedule({\n start: range.start,\n end: range.end,\n isAllDay: false,\n triggerEvent: eventData.triggerEvent\n });\n }\n self._requestOnClick = false;\n }, CLICK_DELAY);\n};\n\n/**\n * Adjust time to our o'clock\n * @param {TZDate} start - start time\n * @param {TZDate} end - end time\n * @returns {Object} start and end\n */\nMonthCreation.prototype._adjustStartAndEndTime = function(start, end) {\n var now = new TZDate();\n var hours = now.getHours();\n var minutes = now.getMinutes();\n\n // adjust start to less time. Adjusting had been greater time in monthly view when clicking grid\n if (minutes <= 30) {\n minutes = 0;\n } else {\n minutes = 30;\n }\n start.setHours(hours, minutes, 0, 0);\n end.setHours(hours + 1, minutes, 0, 0);\n\n return {\n start: start,\n end: end\n };\n};\n\n/**\n * Returns whether the given element is Weekday-Schedule.\n * @param {HTMLElement} el - target element\n * @returns {boolean}\n */\nfunction isElementWeekdayGrid(el) {\n return domutil.closest(el, config.classname('.weekday-grid'))\n && !domutil.closest(el, config.classname('.weekday-exceed'));\n}\n\nutil.CustomEvents.mixin(MonthCreation);\n\nmodule.exports = MonthCreation;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/creation.js\n// module id = 80\n// module chunks = 0","/**\n * @fileoverview Creation guide module for month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar MonthGuide = require('./guide');\n\n/**\n * @constructor\n * @param {MonthCreation} monthCreation - instance of MonthCreation\n */\nfunction MonthCreationGuide(monthCreation) {\n /**\n * @type {MonthCreation}\n */\n this.monthCreation = monthCreation;\n\n /**\n * @type {MonthGuide}\n */\n this.guide = null;\n\n monthCreation.on({\n monthCreationDragstart: this._createGuideElement,\n monthCreationDrag: this._onDrag,\n monthCreationDragend: this._onDragEnd,\n monthCreationClick: this._createGuideElement\n }, this);\n}\n\n/**\n * Destructor\n */\nMonthCreationGuide.prototype.destroy = function() {\n this.monthCreation.off(this);\n\n if (this.guide) {\n this.guide.destroy();\n }\n\n this.guide = this.monthCreation = null;\n};\n\n/**\n * Drag start event handler\n * @param {object} dragStartEvent - schedule data from MonthCreation\n */\nMonthCreationGuide.prototype._createGuideElement = function(dragStartEvent) {\n var options = {\n isCreationMode: true,\n height: '100%',\n top: 0\n };\n\n this.guide = new MonthGuide(options, this.monthCreation.monthView);\n this.guide.start(dragStartEvent);\n};\n\n/**\n * Drag event handler\n * @param {object} dragEvent - schedule data from MonthCreation\n */\nMonthCreationGuide.prototype._onDrag = function(dragEvent) {\n this.guide.update(dragEvent.x, dragEvent.y);\n};\n\n/**\n * Drag end event handler\n */\nMonthCreationGuide.prototype._onDragEnd = function() {\n // Do nothing. 사용자가 직접 destroy 호출\n this.guide = null;\n};\n\nmodule.exports = MonthCreationGuide;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/creationGuide.js\n// module id = 81\n// module chunks = 0","/**\n * @fileoverview Move handler for month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n domutil = require('../../common/domutil'),\n datetime = require('../../common/datetime'),\n getMousePosData = require('./core'),\n MonthMoveGuide = require('./moveGuide'),\n TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @mixes CustomEvents\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {Month} monthView - Month view instance.\n * @param {Base} baseController - Base controller instance.\n */\nfunction MonthMove(dragHandler, monthView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Month}\n */\n this.monthView = monthView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {function}\n */\n this.getScheduleData = null;\n\n /**\n * @type {object}\n */\n this._cache = null;\n\n /**\n * @type {MonthMoveGuide}\n */\n this.guide = new MonthMoveGuide(this);\n\n dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destructor\n */\nMonthMove.prototype.destroy = function() {\n this.dragHandler.off(this);\n\n this.dragHandler = this.monthView = this.baseController = null;\n};\n\n/**\n * Update target schedule\n * @fires {MonthMove#beforeUpdateSchedule}\n * @param {object} scheduleCache - cache object that result of single dragging\n * session.\n */\nMonthMove.prototype.updateSchedule = function(scheduleCache) {\n var schedule = scheduleCache.model;\n var duration = schedule.duration().getTime();\n var startDateRaw = datetime.raw(schedule.start);\n var dragEndTime = Number(scheduleCache.end);\n var newStartDate = new TZDate(dragEndTime);\n\n newStartDate.setHours(startDateRaw.h, startDateRaw.m, startDateRaw.s, startDateRaw.ms);\n\n /**\n * @event MonthMove#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {Date} start - start time to update\n * @property {Date} end - end time to update\n */\n this.fire('beforeUpdateSchedule', {\n schedule: schedule,\n start: newStartDate,\n end: new TZDate(newStartDate.getTime() + duration)\n });\n};\n\n/**\n * Get schedule block to clone for month guide effect\n * @param {HTMLElement} target - target element that related with drag schedule\n * @returns {HTMLElement} element to create guide effect\n */\nMonthMove.prototype.getMonthScheduleBlock = function(target) {\n var blockSelector = config.classname('.weekday-schedule-block');\n\n return domutil.closest(target, blockSelector);\n};\n\n/**\n * Get schedule block from more layer\n * @param {HTMLElement} target - element to check\n * @returns {HTMLElement} schedule element\n */\nMonthMove.prototype.getMoreLayerScheduleBlock = function(target) {\n var className = config.classname('.month-more-schedule');\n\n return domutil.closest(target, className);\n};\n\n/**\n * Check handler has permission to handle fired schedule\n * @fires {MonthMove#monthMoveStart_from_morelayer}\n * @param {HTMLElement} target - target element of fired schedule\n * @returns {(string|null)} model instance ID related with schedule. if handle\n * has not permission to handle the schedule then return null.\n */\nMonthMove.prototype.hasPermissionToHandle = function(target) {\n var modelID = null;\n var blockElement;\n\n if (domutil.hasClass(target, config.classname('weekday-resize-handle'))) {\n return null;\n }\n\n blockElement = this.getMonthScheduleBlock(target);\n\n if (blockElement) {\n modelID = domutil.getData(blockElement, 'id');\n } else {\n blockElement = this.getMoreLayerScheduleBlock(target);\n\n if (blockElement) {\n modelID = domutil.getData(blockElement, 'id');\n /**\n * Fire for notificate that the drag schedule start at more layer view.\n * @event {MonthMove#monthMoveStart_from_morelayer}\n */\n this.fire('monthMoveStart_from_morelayer');\n }\n }\n\n return modelID;\n};\n\n/**\n * Event handler for Drag#dragStart\n * @fires {MonthMove#monthMoveDragstart}\n * @param {object} dragStartEvent - drag start schedule data\n */\nMonthMove.prototype._onDragStart = function(dragStartEvent) {\n var target = dragStartEvent.target,\n modelID = this.hasPermissionToHandle(target),\n model,\n scheduleData;\n\n if (!modelID) {\n return;\n }\n\n model = this.baseController.schedules.items[modelID];\n\n if (model.isReadOnly) {\n return;\n }\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n this.getScheduleData = getMousePosData(this.monthView);\n\n scheduleData = this.getScheduleData(dragStartEvent.originEvent);\n scheduleData.originEvent = dragStartEvent.originEvent;\n scheduleData.target = this.getMonthScheduleBlock(target);\n scheduleData.model = model;\n\n this._cache = {\n model: model,\n target: target,\n start: new TZDate(Number(scheduleData.date))\n };\n\n /**\n * @event {MonthMove#monthMoveDragstart}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n * @property {HTMLElement} target - schedule block element\n * @property {Schedule} model - model instance\n */\n this.fire('monthMoveDragstart', scheduleData);\n};\n\n/**\n * @fires {MonthMove#monthMoveDrag}\n * @param {object} dragEvent - drag event data\n */\nMonthMove.prototype._onDrag = function(dragEvent) {\n var scheduleData;\n\n if (!this.getScheduleData) {\n return;\n }\n\n scheduleData = util.extend({\n originEvent: dragEvent.originEvent\n }, this.getScheduleData(dragEvent.originEvent));\n\n if (!scheduleData) {\n return;\n }\n\n /**\n * @event {MonthMove#monthMoveDrag}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthMoveDrag', scheduleData);\n};\n\n/**\n * Event handler for Drag#dragEnd\n * @fires {MonthMove#monthMoveDragend}\n * @param {object} dragEndEvent - dragend event data\n */\nMonthMove.prototype._onDragEnd = function(dragEndEvent) {\n var cache = this._cache;\n var scheduleData;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n if (!this.getScheduleData) {\n return;\n }\n\n scheduleData = this.getScheduleData(dragEndEvent.originEvent);\n\n if (scheduleData) {\n cache.end = new TZDate(Number(scheduleData.date));\n this.updateSchedule(cache);\n }\n\n /**\n * @event {MonthResize#monthMoveDragend}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthMoveDragend', scheduleData);\n\n this.getScheduleData = this._cache = null;\n};\n\nutil.CustomEvents.mixin(MonthMove);\n\nmodule.exports = MonthMove;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/move.js\n// module id = 82\n// module chunks = 0","/**\n * @fileoverview Module for modification of guide element for move in month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n domutil = require('../../common/domutil'),\n domevent = require('../../common/domevent'),\n FloatingLayer = require('../../common/floatingLayer'),\n tmpl = require('./moveGuide.hbs'),\n Schedule = require('../../model/schedule');\n\n/**\n * @constructor\n * @param {MonthMove} monthMove - month/move module instance\n */\nfunction MonthMoveGuide(monthMove) {\n /**\n * @type {MonthMove}\n */\n this.monthMove = monthMove;\n\n /**\n * @type {HTMLElement[]}\n */\n this.elements = null;\n\n /**\n * @type {FloatingLayer}\n */\n this.layer = null;\n\n monthMove.on({\n monthMoveDragstart: this._onDragStart,\n monthMoveDrag: this._onDrag,\n monthMoveDragend: this._onDragEnd\n }, this);\n}\n\n/**\n * Destructor\n */\nMonthMoveGuide.prototype.destroy = function() {\n this.monthMove.off(this);\n this._clearGridBgColor();\n\n if (this.layer) {\n this.layer.destroy();\n }\n\n if (this.element) {\n domutil.remove(this.element);\n }\n\n this.monthMove = this.elements = this.layer = null;\n};\n\n/**\n * Hide element blocks for resize effect\n * @param {number} modelID - Schedule model instance ID\n */\nMonthMoveGuide.prototype._hideOriginScheduleBlocks = function(modelID) {\n var className = config.classname('weekday-schedule-block-dragging-dim');\n\n this.elements = domutil.find(\n config.classname('.weekday-schedule-block-' + modelID),\n this.monthMove.monthView.container,\n true\n );\n\n util.forEach(this.elements, function(el) {\n domutil.addClass(el, className);\n });\n};\n\n/**\n * Show element blocks\n */\nMonthMoveGuide.prototype._showOriginScheduleBlocks = function() {\n var className = config.classname('weekday-schedule-block-dragging-dim');\n\n util.forEach(this.elements, function(el) {\n domutil.removeClass(el, className);\n });\n};\n\nMonthMoveGuide.prototype._getHighlightColorModel = function(model) {\n return {\n bgColor: model.color\n };\n};\n\n/**\n * Clear background color for filled grid element.\n */\nMonthMoveGuide.prototype._clearGridBgColor = function() {\n var selector = config.classname('.weekday-filled'),\n className = config.classname('weekday-filled'),\n beforeGridElement = domutil.find(selector,\n this.monthMove.monthView.container);\n\n if (beforeGridElement) {\n domutil.removeClass(beforeGridElement, className);\n }\n};\n\n/**\n * Fill background color of date grids relatied with model updates.\n * @param {object} dragEvent - drag event data from MonthMoveGuide#_onDrag\n */\nMonthMoveGuide.prototype._updateGridBgColor = function(dragEvent) {\n var gridElements = domutil.find(config.classname('.weekday-grid-line'), this.monthMove.monthView.container, true),\n className = config.classname('weekday-filled'),\n targetIndex = (dragEvent.x + (dragEvent.sizeX * dragEvent.y));\n\n this._clearGridBgColor();\n\n if (!gridElements || !gridElements[targetIndex]) {\n return;\n }\n\n domutil.addClass(gridElements[targetIndex], className);\n};\n\n/**\n * Handler for MonthMove#dragStart\n * @param {object} dragStartEvent - dragStart schedule data object\n */\nMonthMoveGuide.prototype._onDragStart = function(dragStartEvent) {\n var monthView = this.monthMove.monthView,\n firstWeekdayView = monthView.children.single(),\n weekdayOptions = firstWeekdayView.options,\n widthPercent = 100 / firstWeekdayView.getRenderDateRange().length,\n height = weekdayOptions.scheduleGutter + weekdayOptions.scheduleHeight,\n container = monthView.container,\n mousePos = domevent.getMousePosition(dragStartEvent.originEvent, container),\n model = dragStartEvent.model,\n layer = new FloatingLayer(null, container);\n\n this._hideOriginScheduleBlocks(model.cid());\n\n this.layer = layer;\n layer.setSize(widthPercent + '%', height);\n layer.setPosition(mousePos[0], mousePos[1]);\n layer.setContent(tmpl({\n model: util.extend(\n Schedule.create(model),\n model,\n this._getHighlightColorModel(model)\n )\n }));\n layer.show();\n\n if (!util.browser.msie) {\n domutil.addClass(global.document.body, config.classname('dragging'));\n }\n};\n\n/**\n * Handler for MonthMove#drag\n * @param {object} dragEvent - drag event data object\n */\nMonthMoveGuide.prototype._onDrag = function(dragEvent) {\n var container = this.monthMove.monthView.container,\n mousePos = domevent.getMousePosition(\n dragEvent.originEvent,\n container\n );\n\n this._updateGridBgColor(dragEvent);\n\n if (!this.layer) {\n return;\n }\n\n this.layer.setPosition(mousePos[0], mousePos[1]);\n};\n\n/**\n * Handler for MonthMove#dragEnd\n */\nMonthMoveGuide.prototype._onDragEnd = function() {\n this._showOriginScheduleBlocks();\n\n if (!util.browser.msie) {\n domutil.removeClass(global.document.body, config.classname('dragging'));\n }\n\n this._clearGridBgColor();\n this.layer.destroy();\n this.layer = null;\n};\n\nmodule.exports = MonthMoveGuide;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/moveGuide.js\n// module id = 83\n// module chunks = 0","/**\n * @fileoverview Module for resize schedule in month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n datetime = require('../../common/datetime'),\n domutil = require('../../common/domutil'),\n getMousePosData = require('./core'),\n MonthResizeGuide = require('./resizeGuide'),\n TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {Month} monthView - Month view instance.\n * @param {Base} baseController - Base controller instance.\n */\nfunction MonthResize(dragHandler, monthView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Month}\n */\n this.monthView = monthView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {function}\n */\n this.getScheduleData = null;\n\n /**\n * @type {object}\n */\n this._cache = null;\n\n /**\n * @type {MonthResizeGuide}\n */\n this.guide = new MonthResizeGuide(this);\n\n dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destructor\n */\nMonthResize.prototype.destroy = function() {\n this.dragHandler.off(this);\n\n this.dragHandler = this.monthView = this.baseController = null;\n};\n\n/**\n * Fire event for update model\n * @fires {MonthResize#beforeUpdateSchedule}\n * @param {object} scheduleCache - cache object that result of single dragging\n * session.\n */\nMonthResize.prototype._updateSchedule = function(scheduleCache) {\n // 일정의 시작 일자를 변경할 순 없음.\n // 종료시간만 변경 가능.\n var newEnd = datetime.end(new TZDate(Number(scheduleCache.end))),\n schedule = scheduleCache.schedule;\n\n /**\n * @event MonthResize#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {Date} start - start time to update\n * @property {Date} end - end time to update\n */\n this.fire('beforeUpdateSchedule', {\n schedule: schedule,\n start: new TZDate(Number(schedule.getStarts())),\n end: newEnd\n });\n};\n\n/**\n * Event handler for Drag#dragStart\n * @fires {MonthResize#monthResizeDragstart}\n * @param {object} dragStartEvent - drag start event data\n */\nMonthResize.prototype._onDragStart = function(dragStartEvent) {\n var target = dragStartEvent.target,\n modelID, schedule,\n scheduleData;\n\n if (!domutil.hasClass(target, config.classname('weekday-resize-handle'))) {\n return;\n }\n\n target = domutil.closest(target, config.classname('.weekday-schedule-block'));\n\n if (!target) {\n return;\n }\n\n modelID = domutil.getData(target, 'id');\n schedule = this.baseController.schedules.items[modelID];\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n this.getScheduleData = getMousePosData(this.monthView);\n scheduleData = this.getScheduleData(dragStartEvent.originEvent);\n scheduleData.target = target;\n scheduleData.model = schedule;\n\n this._cache = {\n schedule: schedule,\n target: target,\n start: new TZDate(Number(scheduleData.date))\n };\n\n /**\n * @event {MonthCreation#monthResizeDragstart}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n * @property {HTMLElement} target - schedule block element\n * @property {Schedule} model - model instance\n */\n this.fire('monthResizeDragstart', scheduleData);\n};\n\n/**\n * @fires {MonthResize#monthResizeDrag}\n * @param {object} dragEvent - drag event data\n */\nMonthResize.prototype._onDrag = function(dragEvent) {\n var scheduleData;\n\n if (!this.getScheduleData) {\n return;\n }\n\n scheduleData = this.getScheduleData(dragEvent.originEvent);\n\n if (!scheduleData) {\n return;\n }\n\n /**\n * @event {MonthResize#monthResizeDrag}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthResizeDrag', scheduleData);\n};\n\n/**\n * @fires {MonthResize#monthResizeDragend}\n * @param {object} dragEndEvent - drag end event data\n */\nMonthResize.prototype._onDragEnd = function(dragEndEvent) {\n var cache = this._cache,\n scheduleData;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n if (!this.getScheduleData) {\n return;\n }\n\n scheduleData = this.getScheduleData(dragEndEvent.originEvent);\n\n if (scheduleData) {\n cache.end = new TZDate(Number(scheduleData.date));\n this._updateSchedule(cache);\n }\n\n /**\n * @event {MonthResize#monthResizeDragend}\n * @type {object}\n * @property {number} x - x index\n * @property {number} y - y index\n * @property {Date} date - drag date\n */\n this.fire('monthResizeDragend', scheduleData);\n\n this.getScheduleData = this._cache = null;\n};\n\nutil.CustomEvents.mixin(MonthResize);\n\nmodule.exports = MonthResize;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/resize.js\n// module id = 84\n// module chunks = 0","/**\n * @fileoverview Module for modification of guide element in schedule resize\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n domutil = require('../../common/domutil'),\n MonthGuide = require('./guide');\n\n/**\n * @constructor\n * @param {MonthResize} monthResize - month/resize module instance\n */\nfunction MonthResizeGuide(monthResize) {\n /**\n * @type {MonthResize}\n */\n this.monthResize = monthResize;\n\n /**\n * @type {HTMLElement[]}\n */\n this.elements = null;\n\n /**\n * @type {MonthGuide}\n */\n this.guide = null;\n\n monthResize.on({\n monthResizeDragstart: this._onDragStart,\n monthResizeDrag: this._onDrag,\n monthResizeDragend: this._onDragEnd\n }, this);\n}\n\n/**\n * Destructor\n */\nMonthResizeGuide.prototype.destroy = function() {\n this.monthResize.off(this);\n this.guide.destroy();\n\n this.guide = this.monthResize = null;\n};\n\n/**\n * Hide element blocks for resize effect\n * @param {number} modelID - Schedule model instance ID\n */\nMonthResizeGuide.prototype._hideScheduleBlocks = function(modelID) {\n this.elements = domutil.find(\n config.classname('.weekday-schedule-block-' + modelID),\n this.monthResize.monthView.container,\n true\n );\n\n util.forEach(this.elements, function(el) {\n el.style.display = 'none';\n });\n};\n\n/**\n * Show element blocks\n */\nMonthResizeGuide.prototype._showScheduleBlocks = function() {\n util.forEach(this.elements, function(el) {\n el.style.display = 'block';\n });\n};\n\n/**\n * Drag start event handler\n * @param {object} dragStartEvent - schedule data from MonthResize\n */\nMonthResizeGuide.prototype._onDragStart = function(dragStartEvent) {\n this.guide = new MonthGuide({\n isResizeMode: true\n }, this.monthResize.monthView);\n\n this._hideScheduleBlocks(dragStartEvent.model.cid());\n\n this.guide.start(dragStartEvent);\n\n if (!util.browser.msie) {\n domutil.addClass(global.document.body, config.classname('resizing-x'));\n }\n};\n\n/**\n * Drag event handler\n * @param {object} dragEvent - event data from MonthCreation\n */\nMonthResizeGuide.prototype._onDrag = function(dragEvent) {\n this.guide.update(dragEvent.x, dragEvent.y);\n};\n\n/**\n * Drag end event handler\n */\nMonthResizeGuide.prototype._onDragEnd = function() {\n this._showScheduleBlocks();\n\n this.guide.destroy();\n this.elements = this.guide = null;\n\n if (!util.browser.msie) {\n domutil.removeClass(global.document.body, config.classname('resizing-x'));\n }\n};\n\nmodule.exports = MonthResizeGuide;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/month/resizeGuide.js\n// module id = 85\n// module chunks = 0","/**\n * @fileoverview 마일스톤 항목 클릭 이벤트 핸들러 모듈\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\n\n/**\n * 마일스톤 클릭 이벤트 핸들러 모듈\n * @constructor\n * @implelements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} dragHandler - dragHandler instance\n * @param {Task} taskView - milstone view instance\n * @param {Base} baseController - baseController instance\n */\nfunction TaskClick(dragHandler, taskView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {Task}\n */\n this.taskView = taskView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n dragHandler.on({\n 'click': this._onClick\n }, this);\n}\n\n/**\n * Destroy\n */\nTaskClick.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.dragHandler = this.taskView = this.baseController = null;\n};\n\n/**\n * @param {HTMLElement} target - check reponsibility to this handler module supplied element\n * @returns {boolean|string} return false when handler has no responsibility for supplied element.\n * otherwise, return event model id that related with target element.\n */\nTaskClick.prototype.checkExpectedCondition = function(target) {\n target = domutil.closest(target, config.classname('.task-item'));\n\n if (!target) {\n return false;\n }\n\n return domutil.getData(target, 'id');\n};\n\n/**\n * @emits TaskClick#clickSchedule\n * @param {object} clickEvent - click event object\n */\nTaskClick.prototype._onClick = function(clickEvent) {\n var self = this,\n scheduleID = this.checkExpectedCondition(clickEvent.target);\n\n if (!scheduleID) {\n return;\n }\n\n this.baseController.schedules.doWhenHas(scheduleID, function(schedule) {\n /**\n * @events TaskClick#clickSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance\n * @property {MouseEvent} event - MouseEvent object\n */\n self.fire('clickSchedule', {\n schedule: schedule,\n event: clickEvent.originEvent\n });\n });\n};\n\nutil.CustomEvents.mixin(TaskClick);\n\nmodule.exports = TaskClick;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/task/click.js\n// module id = 86\n// module chunks = 0","/**\n * @fileoverview Allday event click event hander module\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeClick(dragHandler, timeGridView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {TimeGrid}\n */\n this.timeGridView = timeGridView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n dragHandler.on({\n 'click': this._onClick\n }, this);\n}\n\n/**\n * Destroy method\n */\nTimeClick.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.timeGridView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {string} - model id\n */\nTimeClick.prototype.checkExpectCondition = function(target) {\n var container,\n matches;\n\n container = domutil.closest(target, config.classname('.time-date'));\n\n if (!container) {\n return false;\n }\n\n matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.timeGridView.children.items, Number(matches[1]));\n};\n\n/**\n * Click event hander\n * @param {object} clickEvent - click event from {@link Drag}\n * @emits TimeClick#clickEvent\n */\nTimeClick.prototype._onClick = function(clickEvent) {\n var self = this,\n target = clickEvent.target,\n timeView = this.checkExpectCondition(target),\n blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n schedulesCollection = this.baseController.schedules;\n\n if (!timeView || !blockElement) {\n return;\n }\n\n schedulesCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n /**\n * @events TimeClick#clickSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance\n * @property {MouseEvent} event - MouseEvent object\n */\n self.fire('clickSchedule', {\n schedule: schedule,\n event: clickEvent.originEvent\n });\n });\n};\n\nutil.CustomEvents.mixin(TimeClick);\n\nmodule.exports = TimeClick;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/click.js\n// module id = 87\n// module chunks = 0","/**\n * @fileoverview Dayname click event hander module\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {DayName} [dayNameView] - DayName view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction DayNameClick(dragHandler, dayNameView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {DayName}\n */\n this.dayNameView = dayNameView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n dragHandler.on({\n 'click': this._onClick\n }, this);\n}\n\n/**\n * Destroy method\n */\nDayNameClick.prototype.destroy = function() {\n this.dragHandler.off(this);\n this.dayNameView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {string} - model id\n */\nDayNameClick.prototype.checkExpectCondition = function(target) {\n var container = domutil.closest(target, config.classname('.dayname-date-area'));\n\n if (!container) {\n return false;\n }\n\n return true;\n};\n\n/**\n * Click event hander\n * @param {object} clickEvent - click event from {@link Drag}\n * @emits DayNameClick#clickDayname\n */\nDayNameClick.prototype._onClick = function(clickEvent) {\n var self = this,\n target = clickEvent.target,\n daynameView = this.checkExpectCondition(target),\n blockElement = domutil.closest(target, config.classname('.dayname'));\n\n if (!daynameView || !blockElement) {\n return;\n }\n\n /**\n * @events DayNameClick#clickDayname\n * @type {object}\n * @property {string} date - click date\n */\n self.fire('clickDayname', {\n date: domutil.getData(blockElement, 'date')\n });\n};\n\nutil.CustomEvents.mixin(DayNameClick);\n\nmodule.exports = DayNameClick;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/clickDayname.js\n// module id = 88\n// module chunks = 0","/**\n * @fileoverview Handling creation events from drag handler and time grid view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar array = require('../../common/array');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar TimeCreationGuide = require('./creationGuide');\nvar TZDate = require('../../common/timezone').Date;\nvar timeCore = require('./core');\n\nvar CLICK_DELAY = 300;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes timeCore\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeCreation(dragHandler, timeGridView, baseController) {\n /**\n * Drag handler instance.\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * TimeGrid view instance.\n * @type {TimeGrid}\n */\n this.timeGridView = timeGridView;\n\n /**\n * Base controller instance.\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {TimeCreationGuide}\n */\n this.guide = new TimeCreationGuide(this);\n\n /**\n * Temporary function for single drag session's calc.\n * @type {function}\n */\n this._getScheduleDataFunc = null;\n\n /**\n * Temporary function for drag start data cache.\n * @type {object}\n */\n this._dragStart = null;\n\n /**\n * @type {boolean}\n */\n this._requestOnClick = false;\n\n dragHandler.on('dragStart', this._onDragStart, this);\n dragHandler.on('click', this._onClick, this);\n domevent.on(timeGridView.container, 'dblclick', this._onDblClick, this);\n}\n\n/**\n * Destroy method\n */\nTimeCreation.prototype.destroy = function() {\n var timeGridView = this.timeGridView;\n\n this.guide.destroy();\n this.dragHandler.off(this);\n\n if (timeGridView && timeGridView.container) {\n domevent.off(timeGridView.container, 'dblclick', this._onDblClick, this);\n }\n\n this.dragHandler = this.timeGridView = this.baseController =\n this._getScheduleDataFunc = this._dragStart = this.guide = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {(boolean|Time)} - return Time view instance when satiate condition.\n */\nTimeCreation.prototype.checkExpectedCondition = function(target) {\n var cssClass = domutil.getClass(target),\n matches;\n\n if (cssClass === config.classname('time-date-schedule-block-wrap')) {\n target = target.parentNode;\n cssClass = domutil.getClass(target);\n }\n\n matches = cssClass.match(config.time.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.timeGridView.children.items, matches[1]);\n};\n\n/**\n * Drag#dragStart event handler.\n * @emits TimeCreation#timeCreationDragstart\n * @param {object} dragStartEventData - Drag#dragStart event data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {function} [revise] - supply function for revise event data before emit.\n */\nTimeCreation.prototype._onDragStart = function(dragStartEventData, overrideEventName, revise) {\n var target = dragStartEventData.target,\n result = this.checkExpectedCondition(target),\n getScheduleDataFunc,\n eventData;\n\n if (!result) {\n return;\n }\n\n getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(result);\n eventData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\n if (revise) {\n revise(eventData);\n }\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n /**\n * @event TimeCreation#timeCreationDragstart\n * @type {object}\n * @property {Time} relatedView - time view instance related with mouse position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n */\n this.fire(overrideEventName || 'timeCreationDragstart', eventData);\n};\n\n/**\n * Drag#drag event handler\n * @emits TimeCreation#timeCreationDrag\n * @param {object} dragEventData - event data from Drag#drag.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {function} [revise] - supply function for revise event data before emit.\n */\nTimeCreation.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n var getScheduleDataFunc = this._getScheduleDataFunc,\n eventData;\n\n if (!getScheduleDataFunc) {\n return;\n }\n\n eventData = getScheduleDataFunc(dragEventData.originEvent);\n\n if (revise) {\n revise(eventData);\n }\n\n /**\n * @event TimeCreation#timeCreationDrag\n * @type {object}\n * @property {Time} relatedView - time view instance related with mouse position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n */\n this.fire(overrideEventName || 'timeCreationDrag', eventData);\n};\n\n/**\n * @fires TimeCreation#beforeCreateSchedule\n * @param {object} eventData - event data object from TimeCreation#timeCreationDragend\n * or TimeCreation#timeCreationClick\n */\nTimeCreation.prototype._createSchedule = function(eventData) {\n var relatedView = eventData.relatedView,\n createRange = eventData.createRange,\n nearestGridTimeY = eventData.nearestGridTimeY,\n baseDate,\n dateStart,\n dateEnd,\n start,\n end;\n\n if (!createRange) {\n createRange = [\n nearestGridTimeY,\n nearestGridTimeY + datetime.millisecondsFrom('minutes', 30)\n ];\n }\n\n baseDate = new TZDate(relatedView.getDate());\n dateStart = datetime.start(baseDate);\n dateEnd = datetime.end(baseDate);\n start = Math.max(dateStart.getTime(), createRange[0]);\n end = Math.min(dateEnd.getTime(), createRange[1]);\n\n /**\n * @event TimeCreation#beforeCreateSchedule\n * @type {object}\n * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n * @property {Date} start - select start time\n * @property {Date} end - select end time\n * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n * @property {string} triggerEventName - event name\n */\n this.fire('beforeCreateSchedule', {\n isAllDay: false,\n start: new TZDate(start),\n end: new TZDate(end),\n guide: this.guide,\n triggerEventName: eventData.triggerEvent\n });\n};\n\n/**\n * Drag#dragEnd event handler\n * @emits TimeCreation#timeCreationDragend\n * @param {object} dragEndEventData - event data from Drag#dragend\n */\nTimeCreation.prototype._onDragEnd = function(dragEndEventData) {\n var self = this,\n dragStart = this._dragStart;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n /**\n * Function for manipulate event data before firing event\n * @param {object} eventData - event data\n */\n function reviseFunc(eventData) {\n var range = [\n dragStart.nearestGridTimeY,\n eventData.nearestGridTimeY\n ].sort(array.compare.num.asc);\n range[1] += datetime.millisecondsFrom('hour', 0.5);\n\n eventData.createRange = range;\n\n self._createSchedule(eventData);\n }\n\n /**\n * @event TimeCreation#timeCreationDragend\n * @type {object}\n * @property {Time} relatedView - time view instance related with mouse position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {number[]} createRange - milliseconds range between drag start and end to create.\n */\n this._onDrag(dragEndEventData, 'timeCreationDragend', reviseFunc);\n\n this._dragStart = this._getScheduleDataFunc = null;\n};\n\n/**\n * Drag#click event handler\n * @emits TimeCreation#timeCreationClick\n * @param {object} clickEventData - event data from Drag#click.\n */\nTimeCreation.prototype._onClick = function(clickEventData) {\n var self = this;\n var condResult, getScheduleDataFunc, eventData;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd\n }, this);\n\n condResult = this.checkExpectedCondition(clickEventData.target);\n if (!condResult) {\n return;\n }\n\n getScheduleDataFunc = this._retriveScheduleData(condResult);\n eventData = getScheduleDataFunc(clickEventData.originEvent);\n\n this._requestOnClick = true;\n setTimeout(function() {\n if (self._requestOnClick) {\n self.fire('timeCreationClick', eventData);\n self._createSchedule(eventData);\n }\n self._requestOnClick = false;\n }, CLICK_DELAY);\n this._dragStart = this._getScheduleDataFunc = null;\n};\n\n/**\n * Dblclick event handler\n * @param {MouseEvent} e - Native MouseEvent\n */\nTimeCreation.prototype._onDblClick = function(e) {\n var condResult, getScheduleDataFunc, eventData;\n\n condResult = this.checkExpectedCondition(e.target);\n if (!condResult) {\n return;\n }\n\n getScheduleDataFunc = this._retriveScheduleData(condResult);\n eventData = getScheduleDataFunc(e);\n\n this.fire('timeCreationClick', eventData);\n\n this._createSchedule(eventData);\n\n this._requestOnClick = false;\n};\n\ntimeCore.mixin(TimeCreation);\nutil.CustomEvents.mixin(TimeCreation);\n\nmodule.exports = TimeCreation;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/creation.js\n// module id = 89\n// module chunks = 0","/**\n * @fileoverview Module for Time.Creation effect while dragging.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar common = require('../../common/common');\nvar datetime = require('../../common/datetime');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar ratio = require('../../common/common').ratio;\nvar TZDate = require('../../common/timezone').Date;\nvar MIN30 = (datetime.MILLISECONDS_PER_MINUTES * 30);\n\n/**\n * Class for Time.Creation dragging effect.\n * @constructor\n * @param {TimeCreation} timeCreation - instance of TimeCreation.\n */\nfunction TimeCreationGuide(timeCreation) {\n /**\n * Guide element for creation effect.\n * @type {HTMLElement}\n */\n this.guideElement = global.document.createElement('div');\n\n /**\n * @type {HTMLDivElement}\n */\n this.guideTimeElement = domutil.appendHTMLElement(\n 'span',\n this.guideElement,\n config.classname('time-guide-creation-label')\n );\n\n domutil.addClass(this.guideElement, config.classname('time-guide-creation'));\n\n /**\n * @type {TimeCreation}\n */\n this.timeCreation = timeCreation;\n\n /**\n * @type {array}\n */\n this._styleUnit = null;\n\n /**\n * @type {array}\n */\n this._styleStart = null;\n\n /**\n * @type {function}\n */\n this._styleFunc = null;\n\n timeCreation.on({\n timeCreationDragstart: this._createGuideElement,\n timeCreationDrag: this._onDrag,\n timeCreationClick: this._createGuideElement\n }, this);\n}\n\n/**\n * Destroy method.\n */\nTimeCreationGuide.prototype.destroy = function() {\n this.clearGuideElement();\n this.timeCreation.off(this);\n this.timeCreation = this._styleUnit = this._styleStart =\n this._styleFunc = this.guideElement = this.guideTimeElement = null;\n};\n\n/**\n * Clear guide element.\n */\nTimeCreationGuide.prototype.clearGuideElement = function() {\n var guideElement = this.guideElement,\n timeElement = this.guideTimeElement;\n\n domutil.remove(guideElement);\n\n reqAnimFrame.requestAnimFrame(function() {\n guideElement.style.display = 'none';\n guideElement.style.top = '';\n guideElement.style.height = '';\n timeElement.innerHTML = '';\n });\n};\n\n/**\n * Refresh guide element\n * @param {number} top - The number of guide element's style top\n * @param {number} height - The number of guide element's style height\n * @param {Date} start - start time of schedule to create\n * @param {Date} end - end time of schedule to create\n * @param {boolean} bottomLabel - is label need to render bottom of guide element?\n */\nTimeCreationGuide.prototype._refreshGuideElement = function(top, height, start, end, bottomLabel) {\n var guideElement = this.guideElement;\n var timeElement = this.guideTimeElement;\n\n guideElement.style.top = top + 'px';\n guideElement.style.height = height + 'px';\n guideElement.style.display = 'block';\n\n timeElement.innerHTML = datetime.format(new TZDate(start), 'HH:mm') +\n ' - ' + datetime.format(new TZDate(end), 'HH:mm');\n\n if (bottomLabel) {\n domutil.removeClass(timeElement, config.classname('time-guide-bottom'));\n } else {\n domutil.addClass(timeElement, config.classname('time-guide-bottom'));\n }\n};\n\n/**\n * Get unit data of calculating new style of guide element by user interaction\n * @param {Time} relatedView - time view instance related with schedule\n * @returns {array} unit data.\n */\nTimeCreationGuide.prototype._getUnitData = function(relatedView) {\n var viewOpt = relatedView.options,\n viewHeight = relatedView.getViewBound().height,\n hourLength = viewOpt.hourEnd - viewOpt.hourStart,\n todayStart = datetime.parse(viewOpt.ymd),\n todayEnd = datetime.end(todayStart);\n\n todayStart.setHours(0, 0, 0, 0);\n todayStart.setHours(viewOpt.hourStart);\n\n // [0] height of view\n // [1] hour length of view\n // [2] start time of view\n // [3] end time of view\n // [4] height of view for one hour\n return [\n viewHeight,\n hourLength,\n Number(todayStart),\n Number(todayEnd),\n viewHeight / hourLength\n ];\n};\n\n/**\n * Applying limitation to supplied data and return it.\n * @param {number} top - top pixel of guide element\n * @param {number} height - height pixel of guide element\n * @param {number} start - relative time value of dragstart point\n * @param {number} end - relative time value of dragend point\n * @returns {array} limited style data\n */\nTimeCreationGuide.prototype._limitStyleData = function(top, height, start, end) {\n var unitData = this._styleUnit;\n\n top = common.limit(top, [0], [unitData[0]]);\n height = common.limit(top + height, [0], [unitData[0]]) - top;\n start = common.limit(start, [unitData[2]], [unitData[3]]);\n end = common.limit(end, [unitData[2]], [unitData[3]]);\n\n return [top, height, start, end];\n};\n\n/**\n * Get function to calculate guide element UI data from supplied units\n * @param {number} viewHeight - total height of view's container element\n * @param {number} hourLength - hour length that rendered in time view\n * @param {number} todayStart - time for view's start date\n * @returns {function} UI data calculator function\n */\nTimeCreationGuide.prototype._getStyleDataFunc = function(viewHeight, hourLength, todayStart) {\n var todayEnd = Number(datetime.end(new TZDate(Number(todayStart))));\n\n /**\n * Get top, time value from schedule dat\n * @param {object} scheduleData - schedule data object\n * @returns {number[]} top, time\n */\n function getStyleData(scheduleData) {\n var gridY = scheduleData.nearestGridY,\n gridTimeY = scheduleData.nearestGridTimeY,\n top, time;\n\n top = common.limit(ratio(hourLength, viewHeight, gridY), [0], [viewHeight]);\n time = common.limit(gridTimeY, [todayStart], [todayEnd]);\n\n return [top, time];\n }\n\n return getStyleData;\n};\n\n/**\n * DragStart event handler\n * @param {object} dragStartEventData - dragStart schedule data.\n */\nTimeCreationGuide.prototype._createGuideElement = function(dragStartEventData) {\n var relatedView = dragStartEventData.relatedView,\n unitData, styleFunc, styleData, result;\n\n unitData = this._styleUnit = this._getUnitData(relatedView);\n styleFunc = this._styleFunc = this._getStyleDataFunc.apply(this, unitData);\n styleData = this._styleStart = styleFunc(dragStartEventData);\n\n result = this._limitStyleData(\n styleData[0],\n (unitData[4] / 2),\n styleData[1],\n (styleData[1] + MIN30)\n );\n\n this._refreshGuideElement.apply(this, result);\n\n relatedView.container.appendChild(this.guideElement);\n};\n\n/**\n * Drag event handler\n * @param {object} dragEventData - drag schedule data.\n */\nTimeCreationGuide.prototype._onDrag = function(dragEventData) {\n var styleFunc = this._styleFunc,\n unitData = this._styleUnit,\n startStyle = this._styleStart,\n refreshGuideElement = this._refreshGuideElement.bind(this),\n heightOfHalfHour,\n endStyle,\n result;\n\n if (!styleFunc || !unitData || !startStyle) {\n return;\n }\n\n heightOfHalfHour = (unitData[4] / 2);\n endStyle = styleFunc(dragEventData);\n\n if (endStyle[0] > startStyle[0]) {\n result = this._limitStyleData(\n startStyle[0],\n (endStyle[0] - startStyle[0]) + heightOfHalfHour,\n startStyle[1],\n (endStyle[1] + MIN30)\n );\n } else {\n result = this._limitStyleData(\n endStyle[0],\n (startStyle[0] - endStyle[0]) + heightOfHalfHour,\n endStyle[1],\n (startStyle[1] + MIN30)\n );\n result.push(true);\n }\n\n reqAnimFrame.requestAnimFrame(function() {\n refreshGuideElement.apply(null, result);\n });\n};\n\nmodule.exports = TimeCreationGuide;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/creationGuide.js\n// module id = 90\n// module chunks = 0","/**\n * @fileoverview Handling move schedules from drag handler and time grid view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar TZDate = require('../../common/timezone').Date;\nvar timeCore = require('./core');\nvar TimeMoveGuide = require('./moveGuide');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes timeCore\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeMove(dragHandler, timeGridView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {TimeGrid}\n */\n this.timeGridView = timeGridView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {function}\n */\n this._getScheduleDataFunc = null;\n\n /**\n * @type {object}\n */\n this._dragStart = null;\n\n /**\n * @type {TimeMoveGuide}\n */\n this._guide = new TimeMoveGuide(this);\n\n dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destroy method.\n */\nTimeMove.prototype.destroy = function() {\n this._guide.destroy();\n this.dragHandler.off(this);\n this.dragHandler = this.timeGridView = this.baseController =\n this._getScheduleDataFunc = this._dragStart = this._guide = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {boolean|object} - return object when satiate condition.\n */\nTimeMove.prototype.checkExpectCondition = function(target) {\n if (!domutil.closest(target, config.classname('.time-schedule'))) {\n return false;\n }\n\n return this._getTimeView(target);\n};\n\n/**\n * Get Time view container from supplied element.\n * @param {HTMLElement} target - element to find time view container.\n * @returns {object|boolean} - return time view instance when finded.\n */\nTimeMove.prototype._getTimeView = function(target) {\n var container = domutil.closest(target, config.classname('.time-date')),\n matches;\n\n if (!container) {\n return false;\n }\n\n matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.timeGridView.children.items, Number(matches[1]));\n};\n\n/**\n * @emits TimeMove#timeMoveDragstart\n * @param {object} dragStartEventData - Drag#dragStart schedule data.\n */\nTimeMove.prototype._onDragStart = function(dragStartEventData) {\n var target = dragStartEventData.target,\n timeView = this.checkExpectCondition(target),\n blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n getScheduleDataFunc,\n scheduleData,\n ctrl = this.baseController,\n targetModelID,\n targetModel;\n\n if (!timeView || !blockElement) {\n return;\n }\n\n targetModelID = domutil.getData(blockElement, 'id');\n targetModel = ctrl.schedules.items[targetModelID];\n\n if (targetModel.isReadOnly) {\n return;\n }\n\n getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(timeView);\n scheduleData = this._dragStart = getScheduleDataFunc(\n dragStartEventData.originEvent, {\n targetModelID: targetModelID,\n model: targetModel\n }\n );\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n /**\n * @event TimeMove#timeMoveDragstart\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with mouse position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n * @property {Schedule} model - model instance\n */\n this.fire('timeMoveDragstart', scheduleData);\n};\n\n/**\n * @emits TimeMove#timeMoveDrag\n * @param {MouseEvent} dragEventData - mousemove event object\n * @param {string} [overrideEventName] - name of emitting event to override.\n * @param {function} [revise] - supply function for revise schedule data before emit.\n */\nTimeMove.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n var getScheduleDataFunc = this._getScheduleDataFunc,\n timeView = this._getTimeView(dragEventData.target),\n dragStart = this._dragStart,\n scheduleData;\n\n if (!timeView || !getScheduleDataFunc || !dragStart) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(dragEventData.originEvent, {\n currentView: timeView,\n targetModelID: dragStart.targetModelID\n });\n\n if (revise) {\n revise(scheduleData);\n }\n\n /**\n * @event TimeMove#timeMoveDrag\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with drag start position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {Time} currentView - time view instance related with current mouse position.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n */\n this.fire(overrideEventName || 'timeMoveDrag', scheduleData);\n};\n\n/**\n * Update model instance by dragend event results.\n * @fires TimeMove#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from TimeMove#timeMoveDragend\n */\nTimeMove.prototype._updateSchedule = function(scheduleData) {\n var ctrl = this.baseController,\n modelID = scheduleData.targetModelID,\n range = scheduleData.nearestRange,\n timeDiff = range[1] - range[0],\n dateDiff = 0,\n schedule = ctrl.schedules.items[modelID],\n relatedView = scheduleData.relatedView,\n currentView = scheduleData.currentView,\n scheduleDuration,\n dateStart,\n dateEnd,\n newStarts,\n newEnds,\n baseDate;\n\n if (!schedule || !currentView) {\n return;\n }\n\n timeDiff -= datetime.millisecondsFrom('minutes', 30);\n baseDate = new TZDate(relatedView.getDate());\n dateStart = datetime.start(baseDate);\n dateEnd = datetime.end(baseDate);\n newStarts = new TZDate(schedule.getStarts().getTime() + timeDiff);\n newEnds = new TZDate(schedule.getEnds().getTime() + timeDiff);\n scheduleDuration = schedule.duration();\n\n if (currentView) {\n dateDiff = currentView.getDate() - relatedView.getDate();\n }\n\n if (newStarts < dateStart) {\n newStarts = new TZDate(dateStart.getTime());\n newEnds = new TZDate(newStarts.getTime() + scheduleDuration.getTime());\n } else if (newEnds > dateEnd) {\n newEnds = new TZDate(dateEnd.getTime());\n newStarts = new TZDate(newEnds.getTime() - scheduleDuration.getTime());\n }\n\n newStarts = new TZDate(newStarts.getTime() + dateDiff);\n newEnds = new TZDate(newEnds.getTime() + dateDiff);\n\n /**\n * @event TimeMove#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {Date} start - start time to update\n * @property {Date} end - end time to update\n */\n this.fire('beforeUpdateSchedule', {\n schedule: schedule,\n start: newStarts,\n end: newEnds\n });\n};\n\n/**\n * @emits TimeMove#timeMoveDragend\n * @param {MouseEvent} dragEndEventData - mouseup mouse event object.\n */\nTimeMove.prototype._onDragEnd = function(dragEndEventData) {\n var getScheduleDataFunc = this._getScheduleDataFunc,\n currentView = this._getTimeView(dragEndEventData.target),\n dragStart = this._dragStart,\n scheduleData;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n if (!getScheduleDataFunc || !dragStart) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(dragEndEventData.originEvent, {\n currentView: currentView,\n targetModelID: dragStart.targetModelID\n });\n\n scheduleData.range = [\n dragStart.timeY,\n scheduleData.timeY + datetime.millisecondsFrom('hour', 0.5)\n ];\n\n scheduleData.nearestRange = [\n dragStart.nearestGridTimeY,\n scheduleData.nearestGridTimeY + datetime.millisecondsFrom('hour', 0.5)\n ];\n\n this._updateSchedule(scheduleData);\n\n /**\n * @event TimeMove#timeMoveDragend\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with drag start position.\n * @property {Time} currentView - time view instance related with current mouse position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n * @property {number[]} range - milliseconds range between drag start and end.\n * @property {number[]} nearestRange - milliseconds range related with nearestGridY between start and end.\n */\n this.fire('timeMoveDragend', scheduleData);\n};\n\n/**\n * @emits TimeMove#timeMoveClick\n * @param {MouseEvent} clickEventData - click mouse event object.\n */\nTimeMove.prototype._onClick = function(clickEventData) {\n var getScheduleDataFunc = this._getScheduleDataFunc,\n dragStart = this._dragStart,\n scheduleData;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n if (!getScheduleDataFunc || !dragStart) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(clickEventData.originEvent, {\n targetModelID: dragStart.targetModelID\n });\n\n /**\n * @event TimeMove#timeMoveClick\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with drag start position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n */\n this.fire('timeMoveClick', scheduleData);\n};\n\ntimeCore.mixin(TimeMove);\nutil.CustomEvents.mixin(TimeMove);\n\nmodule.exports = TimeMove;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/move.js\n// module id = 91\n// module chunks = 0","/**\n * @fileoverview Module for Time.Move effect while dragging.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar ratio = require('../../common/common').ratio;\nvar FloatingLayer = require('../../common/floatingLayer');\nvar tmpl = require('../../view/template/week/timeMoveGuide.hbs');\nvar TZDate = require('../../common/timezone').Date;\nvar Schedule = require('../../model/schedule');\n\n/**\n * Class for Time.Move effect.\n * @constructor\n * @param {TimeMove} timeMove - The instance of TimeMove.\n */\nfunction TimeMoveGuide(timeMove) {\n /**\n * @type {FloatingLayer}\n */\n this._guideLayer = null;\n\n /**\n * @Type {Schedule}\n */\n this._model = null;\n\n /**\n * @type {object}\n */\n this._lastDrag = null;\n\n /**\n * @type {HTMLElement}\n */\n this.guideElement = null;\n\n /**\n * @type {TimeMove}\n */\n this.timeMove = timeMove;\n\n /**\n * @type {HTMLElement}\n */\n this._container = null;\n\n /**\n * @type {function}\n */\n this._getTopFunc = null;\n\n /**\n * @type {number}\n */\n this._startGridY = 0;\n\n /**\n * @type {number}\n */\n this._startTopPixel = 0;\n\n timeMove.on({\n 'timeMoveDragstart': this._onDragStart,\n 'timeMoveDrag': this._onDrag,\n 'timeMoveDragend': this._clearGuideElement,\n 'timeMoveClick': this._clearGuideElement\n }, this);\n}\n\n/**\n * Destroy method\n */\nTimeMoveGuide.prototype.destroy = function() {\n this._clearGuideElement();\n this.timeMove.off(this);\n if (this._guideLayer) {\n this._guideLayer.destroy();\n }\n this.guideElement = this.timeMove = this._container = this._guideLayer = this._lastDrag =\n this._getTopFunc = this._startGridY = this._startTopPixel = null;\n};\n\n/**\n * Clear guide element.\n */\nTimeMoveGuide.prototype._clearGuideElement = function() {\n if (!util.browser.msie) {\n domutil.removeClass(global.document.body, config.classname('dragging'));\n }\n if (this._guideLayer) {\n this._guideLayer.destroy();\n }\n\n this._showOriginScheduleBlocks();\n\n this.guideElement = this._getTopFunc = this._guideLayer = this._model = this._lastDrag =\n this._startGridY = this._startTopPixel = null;\n};\n\n/**\n * Dim element blocks\n * @param {number} modelID - Schedule model instance ID\n */\nTimeMoveGuide.prototype._hideOriginScheduleBlocks = function() {\n var className = config.classname('time-date-schedule-block-dragging-dim');\n if (this.guideElement) {\n domutil.addClass(this.guideElement, className);\n }\n};\n\n/**\n * Show element blocks\n */\nTimeMoveGuide.prototype._showOriginScheduleBlocks = function() {\n var className = config.classname('time-date-schedule-block-dragging-dim');\n if (this.guideElement) {\n domutil.removeClass(this.guideElement, className);\n }\n};\n\nTimeMoveGuide.prototype._getHighlightColorModel = function(model) {\n return {\n bgColor: model.color\n };\n};\n\n/**\n * Refresh guide element\n * @param {string} top - guide element's style top.\n * @param {Schedule} model - updated model\n */\nTimeMoveGuide.prototype._refreshGuideElement = function(top, model) {\n var self = this;\n\n reqAnimFrame.requestAnimFrame(function() {\n if (!self._guideLayer) {\n return;\n }\n self._guideLayer.setPosition(0, top);\n self._guideLayer.setContent(tmpl({model: model}));\n });\n};\n\n/**\n * TimeMove#timeMoveDragstart event handler\n * @param {object} dragStartEventData - dragstart event data\n */\nTimeMoveGuide.prototype._onDragStart = function(dragStartEventData) {\n var guideElement = domutil.closest(\n dragStartEventData.target,\n config.classname('.time-date-schedule-block')\n );\n\n if (!guideElement) {\n return;\n }\n\n this._startTopPixel = parseFloat(guideElement.style.top);\n this._startGridY = dragStartEventData.nearestGridY;\n this.guideElement = guideElement;\n this._container = dragStartEventData.relatedView.container;\n\n this._model = util.extend(\n Schedule.create(dragStartEventData.model),\n dragStartEventData.model,\n this._getHighlightColorModel(dragStartEventData.model)\n );\n this._lastDrag = dragStartEventData;\n\n this._resetGuideLayer();\n this._hideOriginScheduleBlocks();\n};\n\n/**\n * TimeMove#timeMoveDrag event handler\n * @param {object} dragEventData - drag event data\n */\nTimeMoveGuide.prototype._onDrag = function(dragEventData) {\n var timeView = dragEventData.currentView,\n viewOptions = timeView.options,\n viewHeight = timeView.getViewBound().height,\n guideHeight = parseFloat(this.guideElement.style.height),\n hourLength = viewOptions.hourEnd - viewOptions.hourStart,\n gridYOffset = dragEventData.nearestGridY - this._startGridY,\n gridYOffsetPixel = ratio(hourLength, viewHeight, gridYOffset),\n timeDiff = dragEventData.nearestGridTimeY - this._lastDrag.nearestGridTimeY,\n bottomLimit,\n top;\n\n if (!util.browser.msie) {\n domutil.addClass(global.document.body, config.classname('dragging'));\n }\n\n if (this._container !== timeView.container) {\n this._container = timeView.container;\n this._resetGuideLayer();\n }\n\n top = this._startTopPixel + gridYOffsetPixel;\n bottomLimit = viewHeight - guideHeight;\n\n top = Math.max(top, 0);\n top = Math.min(top, bottomLimit);\n\n // update time\n this._model.start = new TZDate(this._model.getStarts().getTime() + timeDiff);\n this._model.end = new TZDate(this._model.getEnds().getTime() + timeDiff);\n this._lastDrag = dragEventData;\n\n this._refreshGuideElement(top, this._model);\n};\n\nTimeMoveGuide.prototype._resetGuideLayer = function() {\n if (this._guideLayer) {\n this._guideLayer.destroy();\n this._guideLayer = null;\n }\n this._guideLayer = new FloatingLayer(null, this._container);\n this._guideLayer.setSize(this._container.getBoundingClientRect().width, this.guideElement.style.height);\n this._guideLayer.setPosition(0, this.guideElement.style.top);\n this._guideLayer.setContent(tmpl({model: this._model}));\n this._guideLayer.show();\n};\n\nmodule.exports = TimeMoveGuide;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/moveGuide.js\n// module id = 92\n// module chunks = 0","/**\n * @fileoverview Handling resize schedules from drag handler and time grid view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar TZDate = require('../../common/timezone').Date;\nvar timeCore = require('./core');\nvar TimeResizeGuide = require('./resizeGuide');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes timeCore\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeResize(dragHandler, timeGridView, baseController) {\n /**\n * @type {Drag}\n */\n this.dragHandler = dragHandler;\n\n /**\n * @type {TimeGrid}\n */\n this.timeGridView = timeGridView;\n\n /**\n * @type {Base}\n */\n this.baseController = baseController;\n\n /**\n * @type {function}\n */\n this._getScheduleDataFunc = null;\n\n /**\n * @type {object}\n */\n this._dragStart = null;\n\n /**\n * @type {TimeResizeGuide}\n */\n this._guide = new TimeResizeGuide(this);\n\n dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destroy method\n */\nTimeResize.prototype.destroy = function() {\n this._guide.destroy();\n this.dragHandler.off(this);\n this.dragHandler = this.timeGridView = this.baseController =\n this._getScheduleDataFunc = this._dragStart = this._guide = null;\n};\n\n/**\n * @param {HTMLElement} target - element to check condition.\n * @returns {object|boolean} - return time view instance or false\n */\nTimeResize.prototype.checkExpectCondition = function(target) {\n var container,\n matches;\n\n if (!domutil.hasClass(target, config.classname('time-resize-handle'))) {\n return false;\n }\n\n container = domutil.closest(target, config.classname('.time-date'));\n\n if (!container) {\n return false;\n }\n\n matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\n if (!matches || matches.length < 2) {\n return false;\n }\n\n return util.pick(this.timeGridView.children.items, Number(matches[1]));\n};\n\n/**\n * @emits TimeResize#timeResizeDragstart\n * @param {object} dragStartEventData - event data of Drag#dragstart\n */\nTimeResize.prototype._onDragStart = function(dragStartEventData) {\n var target = dragStartEventData.target,\n timeView = this.checkExpectCondition(target),\n blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n getScheduleDataFunc,\n scheduleData;\n\n if (!timeView || !blockElement) {\n return;\n }\n\n getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(timeView);\n scheduleData = this._dragStart = getScheduleDataFunc(\n dragStartEventData.originEvent, {\n targetModelID: domutil.getData(blockElement, 'id')\n }\n );\n\n this.dragHandler.on({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n /**\n * @event TimeResize#timeResizeDragstart\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with mouse position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n */\n this.fire('timeResizeDragstart', scheduleData);\n};\n\n/**\n * Drag#drag event handler\n * @emits TimeResize#timeResizeDrag\n * @param {object} dragEventData - event data of Drag#drag custom event.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {function} [revise] - supply function for revise schedule data before emit.\n */\nTimeResize.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n var getScheduleDataFunc = this._getScheduleDataFunc,\n startScheduleData = this._dragStart,\n scheduleData;\n\n if (!getScheduleDataFunc || !startScheduleData) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(dragEventData.originEvent, {\n targetModelID: startScheduleData.targetModelID\n });\n\n if (revise) {\n revise(scheduleData);\n }\n\n /**\n * @event TimeResize#timeResizeDrag\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with drag start position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n */\n this.fire(overrideEventName || 'timeResizeDrag', scheduleData);\n};\n\n/**\n * Update model instance by dragend event results.\n * @fires TimeResize#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from TimeResize#timeResizeDragend\n */\nTimeResize.prototype._updateSchedule = function(scheduleData) {\n var ctrl = this.baseController,\n modelID = scheduleData.targetModelID,\n range = scheduleData.nearestRange,\n timeDiff = range[1] - range[0],\n schedule = ctrl.schedules.items[modelID],\n relatedView = scheduleData.relatedView,\n dateEnd,\n newEnds,\n baseDate;\n\n if (!schedule) {\n return;\n }\n\n timeDiff -= datetime.millisecondsFrom('minutes', 30);\n\n baseDate = new TZDate(relatedView.getDate());\n dateEnd = datetime.end(baseDate);\n newEnds = new TZDate(schedule.getEnds().getTime() + timeDiff);\n\n if (newEnds > dateEnd) {\n newEnds = new TZDate(dateEnd.getTime());\n }\n\n if (newEnds.getTime() - schedule.getStarts().getTime() < datetime.millisecondsFrom('minutes', 30)) {\n newEnds = new TZDate(schedule.getStarts().getTime() + datetime.millisecondsFrom('minutes', 30));\n }\n\n /**\n * @event TimeResize#beforeUpdateSchedule\n * @type {object}\n * @property {Schedule} schedule - schedule instance to update\n * @property {Date} start - start time to update\n * @property {Date} end - end time to update\n */\n this.fire('beforeUpdateSchedule', {\n schedule: schedule,\n start: schedule.getStarts(),\n end: newEnds\n });\n};\n\n/**\n * Drag#dragEnd event handler\n * @emits TimeResize#timeResizeDragend\n * @param {MouseEvent} dragEndEventData - Mouse event of Drag#dragEnd custom event.\n */\nTimeResize.prototype._onDragEnd = function(dragEndEventData) {\n var getScheduleDataFunc = this._getScheduleDataFunc,\n dragStart = this._dragStart,\n scheduleData;\n\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n if (!getScheduleDataFunc || !dragStart) {\n return;\n }\n\n scheduleData = getScheduleDataFunc(dragEndEventData.originEvent, {\n targetModelID: dragStart.targetModelID\n });\n\n scheduleData.range = [\n dragStart.timeY,\n scheduleData.timeY + datetime.millisecondsFrom('hour', 0.5)\n ];\n\n scheduleData.nearestRange = [\n dragStart.nearestGridTimeY,\n scheduleData.nearestGridTimeY + datetime.millisecondsFrom('hour', 0.5)\n ];\n\n this._updateSchedule(scheduleData);\n\n /**\n * @event TimeResize#timeResizeDragend\n * @type {object}\n * @property {HTMLElement} target - current target in mouse event object.\n * @property {Time} relatedView - time view instance related with drag start position.\n * @property {MouseEvent} originEvent - mouse event object.\n * @property {number} mouseY - mouse Y px mouse event.\n * @property {number} gridY - grid Y index value related with mouseY value.\n * @property {number} timeY - milliseconds value of mouseY points.\n * @property {number} nearestGridY - nearest grid index related with mouseY value.\n * @property {number} nearestGridTimeY - time value for nearestGridY.\n * @property {string} targetModelID - The model unique id emitted move schedule.\n * @property {number[]} range - milliseconds range between drag start and end.\n * @property {number[]} nearestRange - milliseconds range related with nearestGridY between start and end.\n */\n this.fire('timeResizeDragend', scheduleData);\n\n this._getScheduleDataFunc = this._dragStart = null;\n};\n\n/**\n * @emits TimeResize#timeResizeClick\n */\nTimeResize.prototype._onClick = function() {\n this.dragHandler.off({\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n\n /**\n * @event TimeResize#timeResizeClick\n */\n this.fire('timeResizeClick');\n};\n\ntimeCore.mixin(TimeResize);\nutil.CustomEvents.mixin(TimeResize);\n\nmodule.exports = TimeResize;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/resize.js\n// module id = 93\n// module chunks = 0","/**\n * @fileoverview Module for Time.Resize effect while dragging.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar ratio = require('../../common/common').ratio;\n\n/**\n * Class for Time.Resize effect.\n * @constructor\n * @param {TimeResize} timeResize - the instance of TimeResize handler.\n */\nfunction TimeResizeGuide(timeResize) {\n /**\n * @type {HTMLElement}\n */\n this.guideElement = null;\n\n /**\n * @type {TimeResize}\n */\n this.timeResize = timeResize;\n\n /**\n * @type {function}\n */\n this._getTopFunc = null;\n\n /**\n * @type {HTMLElement}\n */\n this._originScheduleElement = null;\n\n /**\n * @type {number}\n */\n this._startTopPixel = 0;\n\n /**\n * @type {number}\n */\n this._startHeightPixel = 0;\n\n /**\n * @type {number}\n */\n this._startGridY = 0;\n\n timeResize.on({\n 'timeResizeDragstart': this._onDragStart,\n 'timeResizeDrag': this._onDrag,\n 'timeResizeDragend': this._clearGuideElement,\n 'timeResizeClick': this._clearGuideElement\n }, this);\n}\n\n/**\n * Destroy method\n */\nTimeResizeGuide.prototype.destroy = function() {\n this._clearGuideElement();\n this.timeResize.off(this);\n this.guideElement = this.timeResize = this._getTopFunc =\n this._originScheduleElement = this._startHeightPixel =\n this._startGridY = this._startTopPixel = null;\n};\n\n/**\n * Clear guide element.\n */\nTimeResizeGuide.prototype._clearGuideElement = function() {\n var guideElement = this.guideElement,\n originElement = this._originScheduleElement;\n\n if (!util.browser.msie) {\n domutil.removeClass(global.document.body, config.classname('resizing'));\n }\n\n if (originElement) {\n originElement.style.display = 'block';\n }\n\n domutil.remove(guideElement);\n\n this.guideElement = this._getTopFunc = this._originScheduleElement =\n this._startHeightPixel = this._startGridY = this._startTopPixel = null;\n};\n\n/**\n * Refresh guide element\n * @param {string} height - guide element's style height.\n */\nTimeResizeGuide.prototype._refreshGuideElement = function(height) {\n var guideElement = this.guideElement;\n\n if (!guideElement) {\n return;\n }\n\n reqAnimFrame.requestAnimFrame(function() {\n guideElement.style.height = height + 'px';\n guideElement.style.display = 'block';\n });\n};\n\n/**\n * TimeMove#timeMoveDragstart event handler\n * @param {object} dragStartEventData - dragstart event data\n */\nTimeResizeGuide.prototype._onDragStart = function(dragStartEventData) {\n var originElement = domutil.closest(\n dragStartEventData.target,\n config.classname('.time-date-schedule-block')\n ),\n guideElement;\n\n if (!util.browser.msie) {\n domutil.addClass(global.document.body, config.classname('resizing'));\n }\n\n if (!originElement) {\n return;\n }\n\n this._startGridY = dragStartEventData.nearestGridY;\n this._startHeightPixel = parseFloat(originElement.style.height);\n this._startTopPixel = parseFloat(originElement.style.top);\n\n this._originScheduleElement = originElement;\n guideElement = this.guideElement = originElement.cloneNode(true);\n domutil.addClass(guideElement, config.classname('time-guide-resize'));\n\n originElement.style.display = 'none';\n dragStartEventData.relatedView.container.appendChild(guideElement);\n};\n\n/**\n * @param {object} dragEventData - event data from Drag#drag.\n */\nTimeResizeGuide.prototype._onDrag = function(dragEventData) {\n var timeView = dragEventData.relatedView,\n viewOptions = timeView.options,\n viewHeight = timeView.getViewBound().height,\n hourLength = viewOptions.hourEnd - viewOptions.hourStart,\n guideElement = this.guideElement,\n guideTop = parseFloat(guideElement.style.top),\n gridYOffset = dragEventData.nearestGridY - this._startGridY,\n // hourLength : viewHeight = gridYOffset : X;\n gridYOffsetPixel = ratio(hourLength, viewHeight, gridYOffset),\n minHeight,\n maxHeight,\n height;\n\n height = (this._startHeightPixel + gridYOffsetPixel);\n // at least large than 30min from schedule start time.\n minHeight = guideTop + ratio(hourLength, viewHeight, 0.5);\n minHeight -= this._startTopPixel;\n // smaller than 24h\n maxHeight = viewHeight - guideTop;\n\n height = Math.max(height, minHeight);\n height = Math.min(height, maxHeight);\n\n this._refreshGuideElement(height);\n};\n\nmodule.exports = TimeResizeGuide;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/handler/time/resizeGuide.js\n// module id = 94\n// module chunks = 0","/**\n * @fileoverview Layout view. wrap all view containers at outside.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config');\nvar domutil = require('../common/domutil');\nvar Collection = require('../common/collection');\nvar View = require('./view');\n\n/**\n * Layout view for toggle each child view. It will controlled via navigation UI.\n * @constructor\n * @extends {View}\n * @param {HTMLElement} container Container element to use layout view.\n */\nfunction Layout(container) {\n container = domutil.appendHTMLElement('div', container, config.classname('layout'));\n\n /**\n * @type {HTMLElement}\n */\n this.container = container;\n\n /*eslint-disable*/\n /**\n * @type {Collection} Child view collection.\n */\n this.children = new Collection(function(childView) {\n return childView.viewName;\n });\n /* eslint-enable*/\n}\n\nutil.inherit(Layout, View);\n\n/**\n * Clear child views.\n */\nLayout.prototype.clear = function() {\n this.children.each(function(childView) {\n childView.destroy();\n });\n\n this.children.clear();\n this.container.innerHTML = '';\n};\n\n/**\n * Remove child view.\n * @override\n * @param {(string|View)} viewName - name of view or instance.\n */\nLayout.prototype.removeChild = function(viewName) {\n this.children.remove(viewName);\n};\n\n/**\n * Toggle child views.\n * @param {string} viewName - Name of view.\n */\nLayout.prototype.toggleChildView = function(viewName) {\n var container,\n prefix = ['add', 'remove'],\n flag;\n\n this.children.each(function(childView) {\n container = childView.container;\n flag = Number(childView.viewName === viewName);\n domutil[prefix[flag] + 'Class'](container, config.classname('hidden'));\n });\n};\n\nmodule.exports = Layout;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/layout.js\n// module id = 95\n// module chunks = 0","/**\n * @fileoverview Month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n datetime = require('../../common/datetime'),\n domutil = require('../../common/domutil'),\n TZDate = require('../../common/timezone').Date,\n tmpl = require('./month.hbs'),\n View = require('../view'),\n VLayout = require('../..//common/vlayout'),\n WeekdayInMonth = require('./weekdayInMonth');\nvar mmin = Math.min;\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options\n * @param {function} [options.scheduleFilter] - schedule filter\n * @param {number} [options.startDayOfWeek=0] - start day of week\n * @param {string} [options.renderMonth='2015-12'] - render month\n * @param {string[]} [options.daynames] - daynames to use upside of month view\n * @param {HTMLElement} container - container element\n * @param {Base.Month} controller - controller instance\n */\nfunction Month(options, container, controller) {\n View.call(this, container);\n\n /**\n * @type {Base.Month}\n */\n this.controller = controller;\n\n /**\n * @type {VLayout}\n */\n this.vLayout = new VLayout({\n panels: [\n {height: 42},\n {autoHeight: true}\n ]\n }, container);\n\n /**\n * @type {string}\n */\n this.options = util.extend({\n scheduleFilter: function(schedule) {\n return Boolean(schedule.isVisible);\n },\n startDayOfWeek: 0,\n renderMonth: '2018-01',\n daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n narrowWeekend: false,\n visibleWeeksCount: null,\n grid: {\n header: {\n height: 34\n },\n footer: {\n height: 34\n }\n }\n }, options);\n\n this.options.grid.header = util.extend({\n height: 34\n }, util.pick(options, 'grid', 'header'));\n this.options.grid.footer = util.extend({\n height: 34\n }, util.pick(options, 'grid', 'footer'));\n\n /**\n * horizontal grid information\n * @type {Object}\n */\n this.grids = datetime.getGridLeftAndWidth(\n this.options.daynames.length,\n this.options.narrowWeekend,\n this.options.startDayOfWeek);\n}\n\nutil.inherit(Month, View);\n\n/**\n * Name of view. for managing subview at layout view\n * @type {string}\n */\nMonth.prototype.viewName = 'month';\n\n/**\n * Get calendar array by supplied date\n * @param {string} renderMonthStr - month to render YYYY-MM, weeks2/3 to render YYYY-MM-DD\n * @returns {array.} calendar array\n */\nMonth.prototype._getMonthCalendar = function(renderMonthStr) {\n var date = datetime.parse(renderMonthStr) || datetime.parse(renderMonthStr + '-01');\n var startDayOfWeek = this.options.startDayOfWeek || 0;\n var visibleWeeksCount = mmin(this.options.visibleWeeksCount || 0, 6);\n var workweek = this.options.workweek || false;\n var datetimeOptions, calendar;\n\n if (this.options.visibleWeeksCount) {\n datetimeOptions = {\n startDayOfWeek: startDayOfWeek,\n isAlways6Week: false,\n visibleWeeksCount: visibleWeeksCount,\n workweek: workweek\n };\n } else {\n datetimeOptions = {\n startDayOfWeek: startDayOfWeek,\n isAlways6Week: true,\n workweek: workweek\n };\n }\n\n calendar = datetime.arr2dCalendar(date, datetimeOptions);\n\n return calendar;\n};\n\n/**\n * Create children view (week) and add children\n * @param {HTMLElement} container - container element to render weeks\n * @param {array.} calendar - calendar array from datetime#arr2dCalendar\n */\nMonth.prototype._renderChildren = function(container, calendar) {\n var self = this;\n var weekCount = calendar.length;\n var heightPercent = 100 / weekCount;\n var opt = this.options;\n var renderMonth = opt.renderMonth;\n var narrowWeekend = opt.narrowWeekend;\n var startDayOfWeek = opt.startDayOfWeek;\n var visibleWeeksCount = opt.visibleWeeksCount;\n var visibleScheduleCount = opt.visibleScheduleCount;\n var gridOption = opt.grid;\n\n container.innerHTML = '';\n this.children.clear();\n\n util.forEach(calendar, function(weekArr) {\n var start = new TZDate(Number(weekArr[0])),\n end = new TZDate(Number(weekArr[weekArr.length - 1])),\n weekdayViewContainer,\n weekdayView;\n\n weekdayViewContainer = domutil.appendHTMLElement(\n 'div', container, config.classname('month-week-item'));\n\n weekdayView = new WeekdayInMonth({\n renderMonth: renderMonth,\n heightPercent: heightPercent,\n renderStartDate: datetime.format(start, 'YYYY-MM-DD'),\n renderEndDate: datetime.format(end, 'YYYY-MM-DD'),\n narrowWeekend: narrowWeekend,\n startDayOfWeek: startDayOfWeek,\n visibleWeeksCount: visibleWeeksCount,\n visibleScheduleCount: visibleScheduleCount,\n grid: gridOption\n }, weekdayViewContainer);\n\n self.addChild(weekdayView);\n });\n};\n\n/**\n * Render month view\n * @override\n */\nMonth.prototype.render = function() {\n var opt = this.options,\n vLayout = this.vLayout,\n controller = this.controller,\n daynames = opt.daynames,\n workweek = opt.workweek,\n calendar = this._getMonthCalendar(opt.renderMonth),\n scheduleFilter = opt.scheduleFilter,\n grids,\n daynameViewModel,\n baseViewModel;\n\n grids = this.grids = datetime.getGridLeftAndWidth(\n opt.daynames.length,\n opt.narrowWeekend,\n opt.startDayOfWeek\n );\n\n daynameViewModel = util.map(\n util.range(opt.startDayOfWeek, 7).concat(util.range(7)).slice(0, 7),\n function(day, index) {\n return {\n day: day,\n label: daynames[day],\n width: grids[index].width,\n left: grids[index].left\n };\n }\n );\n\n if (workweek) {\n grids = this.grids = datetime.getGridLeftAndWidth(5, opt.narrowWeekend, opt.startDayOfWeek, workweek);\n\n daynameViewModel = util.filter(daynameViewModel, function(daynameModel) {\n return !datetime.isWeekend(daynameModel.day);\n });\n\n util.forEach(daynameViewModel, function(daynameModel, index) {\n daynameModel.width = grids[index].width;\n daynameModel.left = grids[index].left;\n });\n }\n\n baseViewModel = {\n daynames: daynameViewModel\n };\n\n vLayout.panels[0].container.innerHTML = tmpl(baseViewModel);\n\n this._renderChildren(vLayout.panels[1].container, calendar);\n\n this.children.each(function(childView) {\n var start = datetime.parse(childView.options.renderStartDate);\n var end = datetime.parse(childView.options.renderEndDate);\n var eventsInDateRange = controller.findByDateRange(\n datetime.start(start),\n datetime.end(end),\n scheduleFilter\n );\n var dateRange = datetime.range(start, end, datetime.MILLISECONDS_PER_DAY);\n var viewModel = {\n eventsInDateRange: eventsInDateRange,\n range: dateRange,\n grids: grids\n };\n\n childView.render(viewModel);\n });\n};\n\nmodule.exports = Month;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/month.js\n// module id = 96\n// module chunks = 0","/**\n * @fileoverview Floating layer for displaying schedule in specific date\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar OUT_PADDING = 5;\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n domevent = require('../../common/domevent'),\n domutil = require('../../common/domutil'),\n View = require('../../view/view'),\n FloatingLayer = require('../../common/floatingLayer'),\n common = require('../../common/common'),\n tmpl = require('./more.hbs');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options\n * @param {object} [options.moreLayerSize] - more layer size\n * @param {object} [options.moreLayerSize.width=null] - css width value(px, auto).\n * The default value 'null' is to fit a grid cell.\n * @param {object} [options.moreLayerSize.height=null] - css height value(px, auto).\n * The default value 'null' is to fit a grid cell.\n * @param {HTMLElement} container = container element\n */\nfunction More(options, container) {\n View.call(this, container);\n\n /**\n * @type {FloatingLayer}\n */\n this.layer = new FloatingLayer(null, container);\n\n /**\n * cached view model\n * @type {object}\n */\n this._viewModel = null;\n\n /**\n * @type {object}\n */\n this.options = util.extend({\n moreLayerSize: {\n width: null,\n height: null\n }\n }, options);\n\n domevent.on(container, 'click', this._onClick, this);\n}\n\nutil.inherit(More, View);\n\n/**\n * Click event handler for close button\n * @param {MouseEvent} clickEvent - mouse event object\n */\nMore.prototype._onClick = function(clickEvent) {\n var target = (clickEvent.target || clickEvent.srcElement);\n var className = config.classname('month-more-close');\n\n if (!domutil.hasClass(target, className) && !domutil.closest(target, '.' + className)) {\n return;\n }\n\n this.hide();\n};\n\n/**\n * Mousedown event handler for hiding more layer when user mousedown outside of\n * layer\n * @param {MouseEvent} mouseDownEvent - mouse event object\n */\nMore.prototype._onMouseDown = function(mouseDownEvent) {\n var target = (mouseDownEvent.target || mouseDownEvent.srcElement),\n moreLayer = domutil.closest(target, config.classname('.month-more'));\n\n if (moreLayer) {\n return;\n }\n\n this.hide();\n};\n\n/**\n * Get new position for more layer by +n element itself\n * @param {HTMLElement} target - parent grid-line element of +n element\n * @param {HTMLElement} weekItem - weekItem container element\n * @returns {number[]} new position of more layer\n */\nMore.prototype._getRenderPosition = function(target, weekItem) {\n var pos = domevent.getMousePosition({\n clientX: domutil.getPosition(target)[0],\n clientY: domutil.getPosition(weekItem)[1]\n }, this.container);\n var containerSize = domutil.getSize(this.container);\n var left = pos[0] - OUT_PADDING;\n var top = pos[1] - OUT_PADDING;\n\n left = common.ratio(containerSize[0], 100, left) + '%';\n top = common.ratio(containerSize[1], 100, top) + '%';\n\n return [left, top];\n};\n\n/**\n * @override\n */\nMore.prototype.destroy = function() {\n this.layer.destroy();\n this.layer = null;\n domevent.off(this.container, 'click', this._onClick, this);\n domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n View.prototype.destroy.call(this);\n};\n\n/**\n * @override\n * @param {object} viewModel - view model from factory/monthView\n */\nMore.prototype.render = function(viewModel) {\n var target = domutil.closest(viewModel.target, config.classname('.weekday-grid-line'));\n var weekItem = domutil.closest(target, config.classname('.month-week-item'));\n var layer = this.layer;\n var self = this;\n var pos = this._getRenderPosition(target, weekItem);\n var height = domutil.getSize(weekItem)[1] + (OUT_PADDING * 2);\n var width = target.offsetWidth + (OUT_PADDING * 2);\n var optMoreLayerSize = this.options.moreLayerSize;\n this._viewModel = viewModel;\n\n if (optMoreLayerSize.width) {\n width = optMoreLayerSize.width;\n }\n\n if (optMoreLayerSize.height) {\n height = optMoreLayerSize.height;\n }\n\n layer.setContent(tmpl(viewModel));\n if (weekItem.parentElement.lastElementChild === weekItem) {\n layer.setLTRB({\n left: pos[0],\n bottom: 0\n });\n layer.setSize(width, '');\n } else {\n layer.setPosition(pos[0], pos[1]);\n layer.setSize(width, height);\n }\n\n layer.show();\n\n util.debounce(function() {\n domevent.on(document.body, 'mousedown', self._onMouseDown, self);\n })();\n};\n\n/**\n * Hide layer\n */\nMore.prototype.hide = function() {\n this.layer.hide();\n domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n};\n\n/**\n * refresh layer\n */\nMore.prototype.refresh = function() {\n if (this._viewModel) {\n this.layer.setContent(tmpl(this._viewModel));\n }\n};\n\nmodule.exports = More;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/more.js\n// module id = 97\n// module chunks = 0","/**\n * @fileoverview Monthday in month view\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n common = require('../../common/common.js'),\n datetime = require('../../common/datetime'),\n domutil = require('../../common/domutil'),\n View = require('../../view/view'),\n Weekday = require('../weekday'),\n baseTmpl = require('./weekdayInMonth.hbs'),\n scheduleTmpl = require('./weekdayInMonthSchedule.hbs');\nvar existy = util.isExisty,\n mfloor = Math.floor,\n mmin = Math.min;\n\n/**\n * @constructor\n * @extends {Weekday}\n * @param {object} options - options for WeekdayInWeek view\n * @param {number} [options.heightPercent] - height percent of view\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n * make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n * view.\n */\nfunction WeekdayInMonth(options, container) {\n Weekday.call(this, options, container);\n container.style.height = options.heightPercent + '%';\n}\n\nutil.inherit(WeekdayInMonth, Weekday);\n\n/**\n * Get schedule container element's bound properly by override\n *\n * View#getViewBound.\n * @override\n */\nWeekdayInMonth.prototype.getViewBound = function() {\n var bound = View.prototype.getViewBound.call(this);\n\n return bound;\n};\n\n/**\n * Get limit index of schedule block in current view\n * @returns {number} limit index\n */\nWeekdayInMonth.prototype._getRenderLimitIndex = function() {\n var opt = this.options;\n var containerHeight = this.getViewBound().height;\n var gridHeaderHeight = util.pick(opt, 'grid', 'header', 'height') || 0;\n var gridFooterHeight = util.pick(opt, 'grid', 'footer', 'height') || 0;\n var visibleScheduleCount = opt.visibleScheduleCount || 0;\n var count;\n\n containerHeight -= (gridHeaderHeight + gridFooterHeight);\n\n count = mfloor(containerHeight / (opt.scheduleHeight + opt.scheduleGutter));\n\n if (!visibleScheduleCount) {\n visibleScheduleCount = count;\n }\n\n return mmin(count, visibleScheduleCount); // subtraction for '+n' label block\n};\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nWeekdayInMonth.prototype.getBaseViewModel = function(viewModel) {\n var opt = this.options,\n gridHeaderHeight = util.pick(opt, 'grid', 'header', 'height') || 0,\n gridFooterHeight = util.pick(opt, 'grid', 'footer', 'height') || 0,\n renderLimitIdx = this._getRenderLimitIndex(),\n exceedDate = this.getExceedDate(renderLimitIdx, viewModel.eventsInDateRange);\n var baseViewModel;\n\n viewModel = util.extend({\n exceedDate: exceedDate\n }, viewModel);\n\n baseViewModel = Weekday.prototype.getBaseViewModel.call(this, viewModel);\n\n baseViewModel = util.extend({\n matrices: viewModel.eventsInDateRange,\n gridHeaderHeight: gridHeaderHeight,\n gridFooterHeight: gridFooterHeight,\n renderLimitIdx: renderLimitIdx + 1\n }, baseViewModel);\n\n return baseViewModel;\n};\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nWeekdayInMonth.prototype.render = function(viewModel) {\n var container = this.container,\n baseViewModel = this.getBaseViewModel(viewModel),\n scheduleContainer,\n contentStr = '';\n\n if (!this.options.visibleWeeksCount) {\n setIsOtherMonthFlag(baseViewModel.dates, this.options.renderMonth);\n }\n\n container.innerHTML = baseTmpl(baseViewModel);\n\n scheduleContainer = domutil.find(\n config.classname('.weekday-schedules'),\n container\n );\n\n if (!scheduleContainer) {\n return;\n }\n\n contentStr += scheduleTmpl(baseViewModel);\n\n scheduleContainer.innerHTML = contentStr;\n\n common.setAutoEllipsis(\n config.classname('.weekday-schedule-title'),\n container\n );\n};\n\nWeekdayInMonth.prototype._beforeDestroy = function() {\n};\n\n/* eslint max-nested-callbacks: 0 */\n/**\n * Make exceed date information\n * @param {number} maxCount - exceed schedule count\n * @param {Array} eventsInDateRange - matrix of ScheduleViewModel\n * @returns {object} exceedDate\n */\nWeekdayInMonth.prototype.getExceedDate = function(maxCount, eventsInDateRange) {\n var exceedDate = {};\n util.forEach(eventsInDateRange, function(matrix) {\n util.forEach(matrix, function(column) {\n util.forEach(column, function(viewModel) {\n var period;\n if (!viewModel) {\n return;\n }\n\n period = datetime.range(\n viewModel.getStarts(),\n viewModel.getEnds(),\n datetime.MILLISECONDS_PER_DAY\n );\n\n util.forEach(period, function(date) {\n var ymd = datetime.format(date, 'YYYYMMDD');\n if (!existy(exceedDate[ymd])) {\n exceedDate[ymd] = 0;\n }\n\n exceedDate[ymd] += 1;\n });\n });\n });\n });\n\n util.forEach(exceedDate, function(value, ymd) {\n if (value > maxCount) {\n exceedDate[ymd] = value - maxCount;\n } else {\n exceedDate[ymd] = 0;\n }\n });\n\n return exceedDate;\n};\n\n/**\n * 현재 달이 아닌 날짜에 대해 isOtherMonth = true 플래그를 추가한다.\n * @param {Array} dates - 날짜정보 배열\n * @param {string} renderMonthStr - 현재 렌더링중인 월 (YYYYMM)\n */\nfunction setIsOtherMonthFlag(dates, renderMonthStr) {\n var renderMonth = Number(renderMonthStr.substring(5));\n\n util.forEach(dates, function(dateObj) {\n dateObj.isOtherMonth = dateObj.month !== renderMonth;\n });\n}\n\nmodule.exports = WeekdayInMonth;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/month/weekdayInMonth.js\n// module id = 98\n// module chunks = 0","/* eslint complexity: 0 */\n/**\n * @fileoverview Helpers for handlebar templates.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Handlebars = require('handlebars-template-loader/runtime');\nvar datetime = require('../../common/datetime');\nvar common = require('../../common/common');\nvar config = require('../../config');\n\n/**\n * Get CSS syntax for element size\n * @param {number} value - size value to apply element\n * @param {string} postfix - postfix string ex) px, em, %\n * @param {string} prefix - property name ex) width, height\n * @returns {string} CSS syntax\n */\nfunction getElSize(value, postfix, prefix) {\n prefix = prefix || '';\n if (util.isNumber(value)) {\n return prefix + ':' + value + postfix;\n }\n\n return prefix + ':auto';\n}\n\n/**\n * Get element left based on narrowWeekend\n * @param {object} viewModel - view model\n * @param {Array} grids - dates information\n * @returns {number} element left\n */\nfunction getElLeft(viewModel, grids) {\n return grids[viewModel.left].left;\n}\n\n/**\n * Get element width based on narrowWeekend\n * @param {object} viewModel - view model\n * @param {Array} grids - dates information\n * @returns {number} element width\n */\nfunction getElWidth(viewModel, grids) {\n var width = 0;\n var i = 0;\n var left;\n for (; i < viewModel.width; i += 1) {\n left = viewModel.left + i;\n width += grids[left].width;\n }\n\n return width;\n}\n\nHandlebars.registerHelper({\n /**\n * Stamp supplied object\n *\n * Commonly use for rendering object's unique ID to rendered view\n * @param {object} obj - object to stamp\n * @returns {number} stamp value\n */\n 'stamp': function(obj) {\n return util.stamp(obj);\n },\n\n /**\n * Whether supplied object are equal?\n * @param {*} a - a\n * @param {*} b - b\n * @returns {boolean} result of operation\n */\n 'equal': function(a, b) {\n return a === b;\n },\n\n /**\n * OR\n * @param {*} a - a\n * @param {*} b - b\n * @returns {boolean} or\n */\n 'or': function(a, b) {\n return a || b;\n },\n\n /**\n * Compare object or apply logical operation by customizable oper parameter\n * @param {*} a - a\n * @param {string} oper - operator ex) '==', '<'\n * @param {*} b - b\n * @param {Handlebars} options - handlebar options\n * @returns {boolean} result of operation\n */\n 'fi': function(a, oper, b, options) {\n switch (oper) {\n case '==':\n return (a == b) ? options.fn(this) : options.inverse(this); // eslint-disable-line\n case '===':\n return (a === b) ? options.fn(this) : options.inverse(this);\n case '!==':\n return (a !== b) ? options.fn(this) : options.inverse(this);\n case '<':\n return (a < b) ? options.fn(this) : options.inverse(this);\n case '||':\n return (a || b) ? options.fn(this) : options.inverse(this);\n default:\n throw new Error('Not match operation');\n }\n },\n\n /**\n * Get hhmm formatted time str\n * @param {Date} date - date object\n * @returns {string} formatted value\n */\n 'hhmm': function(date) {\n return datetime.format(date, 'HH:mm');\n },\n\n /**\n * Get `width` stylesheet string\n * @param {number} width - width percentage\n * @returns {string} css style part\n */\n 'common-width': function(width) {\n return getElSize(width, '%', 'width');\n },\n\n /**\n * Get element left based on narrowWeekend\n * @param {object} viewModel - view model\n * @param {Array} grids - dates information\n * @returns {number} element left\n */\n 'grid-left': function(viewModel, grids) {\n return getElLeft(viewModel, grids);\n },\n\n /**\n * Get element width based on narrowWeekend\n * @param {object} viewModel - view model\n * @param {Array} grids - dates information\n * @returns {number} element width\n */\n 'grid-width': function(viewModel, grids) {\n return getElWidth(viewModel, grids);\n },\n\n /**\n * Use in time.hbs\n * @param {ScheduleViewModel} viewModel viewModel\n * @returns {string} element size css class\n */\n 'time-scheduleBlock': function(viewModel) {\n var top = getElSize(viewModel.top, 'px', 'top'),\n left = getElSize(viewModel.left, '%', 'left'),\n width = getElSize(viewModel.width, '%', 'width'),\n height = getElSize(viewModel.height, 'px', 'height');\n\n return [top, left, width, height].join(';');\n },\n\n 'month-scheduleBlock': function(viewModel, grids, blockHeight, paddingTop) {\n var top = getElSize(((viewModel.top - 1) * blockHeight) + paddingTop, 'px', 'top');\n var left = getElSize(grids[viewModel.left].left, '%', 'left');\n var width = getElSize(getElWidth(viewModel, grids), '%', 'width');\n var height = getElSize(viewModel.height, 'px', 'height');\n\n return [top, left, width, height].join(';');\n },\n\n 'holiday': function(day) {\n var cssClass = '';\n\n if (day === 0) {\n cssClass = config.classname('holiday-sun');\n }\n\n if (day === 6) {\n cssClass = config.classname('holiday-sat');\n }\n\n return cssClass;\n },\n\n /**\n * Add supplied two parameter\n * @param {*} a - a\n * @param {*} b - b\n * @returns {number} result of operation\n */\n 'add': function(a, b) {\n return a + b;\n },\n\n /**\n * Multiply supplied two parameter\n * @param {*} a - a\n * @param {*} b - b\n * @returns {number} result of operation\n */\n 'multiply': function(a, b) {\n return a * b;\n },\n\n /**\n * Divide supplied two parameter\n * @param {*} a - a\n * @param {*} b - b\n * @returns {number} result of operation\n */\n 'divide': function(a, b) {\n return a / b;\n },\n\n /**\n * Subtract supplied two parameter\n * @param {*} a - a\n * @param {*} b - b\n * @returns {number} result of operation\n */\n 'subtract': function(a, b) {\n return a - b;\n },\n\n /**\n * Get css prefix in global configuration\n * @returns {string} css prefix\n */\n 'CSS_PREFIX': function() {\n return config.cssPrefix;\n },\n\n /**********\n * Default schedule template\n **********/\n\n 'milestone-tmpl': function(model) {\n return ' ' +\n common.stripTags(model.title);\n },\n\n 'milestoneTitle-tmpl': function() {\n return '마일스톤';\n },\n\n 'task-tmpl': function(model) {\n return ' ' +\n common.stripTags(model.title);\n },\n\n 'taskTitle-tmpl': function() {\n return '업무';\n },\n\n 'alldayTitle-tmpl': function() {\n return '종일';\n },\n\n 'allday-tmpl': function(model) {\n return common.stripTags(model.title);\n },\n\n 'time-tmpl': function(model) {\n return common.stripTags(model.title);\n },\n\n 'monthMoreTitleDate-tmpl': function(date) {\n return date;\n },\n\n 'monthMoreClose-tmpl': function() {\n return 'close';\n },\n\n 'monthGridHeader-tmpl': function(model) {\n return '' + model.date + '';\n },\n\n /* eslint no-unused-vars: 0 */\n 'monthGridHeaderExceed-tmpl': function(hiddenSchedules) {\n return '';\n },\n\n 'monthGridFooter-tmpl': function() {\n return '';\n },\n\n /* eslint no-unused-vars: 0 */\n 'monthGridFooterExceed-tmpl': function(hiddenSchedules) {\n return '';\n },\n\n 'weekDayname-tmpl': function(model) {\n return '' + model.date + ' ' + model.dayName;\n },\n\n 'monthDayname-tmpl': function(model) {\n return model.label;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/template/helper.js\n// module id = 99\n// module chunks = 0","/**\n * @fileoverview View of allday schedule container inside of Week view.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n domutil = require('../../common/domutil'),\n View = require('../view'),\n WeekdayInWeek = require('./weekdayInWeek'),\n tmpl = require('../template/week/allday.hbs');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options The object for view customization.\n * @param {string} options.renderStartDate - start date of allday view's render date. YYYY-MM-DD\n * @param {string} options.renderEndDate - end date of allday view's render date. YYYY-MM-DD\n * @param {number} [options.height=60] - minimum height of schedule container element.\n * @param {number} [options.scheduleBlockHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleBlockGutter=2] - gutter height of each schedule block.\n * @param {function} [options.getViewModelFunc] - function for extract partial view model data from whole view models.\n * @param {HTMLElement} container Container element.\n */\nfunction Allday(options, container) {\n container = domutil.appendHTMLElement(\n 'div',\n container,\n config.classname('allday-container')\n );\n\n /**\n * rendering options.\n * @type {object}\n */\n this.options = util.extend({\n title: 'All-day',\n renderStartDate: '',\n renderEndDate: '',\n containerBottomGutter: 18,\n scheduleHeight: 18,\n scheduleGutter: 2,\n scheduleContainerTop: 1,\n getViewModelFunc: function(viewModel) {\n return viewModel.schedulesInDateRange.allday;\n }\n }, options);\n\n /**\n * height of content\n */\n this.contentHeight = 0;\n\n View.call(this, container);\n}\n\nutil.inherit(Allday, View);\n\n/**\n * create month week view model for render allday schedules in top of week views.\n * @override\n * @param {object} viewModel - viewModel from parent views.\n */\nAllday.prototype.render = function(viewModel) {\n var container = this.container;\n var scheduleContainerTop = this.options.scheduleContainerTop;\n var weekdayView;\n var self = this;\n\n container.innerHTML = tmpl(this.options);\n\n this.children.clear();\n\n weekdayView = new WeekdayInWeek(\n this.options,\n domutil.find(config.classname('.weekday-container'), container)\n );\n weekdayView.on('afterRender', function(weekdayViewModel) {\n self.contentHeight = weekdayViewModel.minHeight + scheduleContainerTop;\n });\n\n this.addChild(weekdayView);\n\n this.children.each(function(childView) {\n childView.render(viewModel);\n });\n\n this.fire('afterRender', viewModel);\n};\n\nmodule.exports = Allday;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/allday.js\n// module id = 100\n// module chunks = 0","/**\n * @fileoverview View for rendering daynames\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar domutil = require('../../common/domutil');\nvar View = require('../view');\nvar daynameTmpl = require('../template/week/daynames.hbs');\n\n/**\n * @constructor\n * @param {object} options - options for dayname view\n * @param {HTMLElement} container Container element to use.\n * @extends {View}\n */\nfunction DayName(options, container) {\n container = domutil.appendHTMLElement(\n 'div',\n container,\n config.classname('dayname-container')\n );\n\n this.options = util.extend({\n daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n }, options);\n\n View.call(this, container);\n}\n\nutil.inherit(DayName, View);\n\n/**\n * Get default viewmodels.\n * @param {Date} start The date of start render\n * @param {Date} end The end of end render\n * @param {object} grids grid data(width, left, day)\n * @returns {array} viewmodel.\n */\nDayName.prototype._getBaseViewModel = function(start, end, grids) {\n var daynames = this.options.daynames,\n viewModel;\n\n viewModel = util.map(datetime.range(\n datetime.start(start),\n datetime.start(end),\n datetime.MILLISECONDS_PER_DAY\n ), function(d, i) {\n var day = d.getDay();\n\n return {\n day: day,\n dayName: daynames[day],\n isToday: datetime.isSameDate(d, new TZDate()),\n date: d.getDate(),\n left: grids[i].left,\n width: grids[i].width,\n renderDate: datetime.format(d, 'YYYY-MM-DD')\n };\n });\n\n return viewModel;\n};\n\n/**\n * @override\n * @param {object} viewModel View model from parent (WeekView)\n */\nDayName.prototype.render = function(viewModel) {\n var _viewModel = this._getBaseViewModel(\n viewModel.renderStartDate,\n viewModel.renderEndDate,\n viewModel.grids\n );\n\n this.container.innerHTML = daynameTmpl(_viewModel);\n};\n\nmodule.exports = DayName;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/dayname.js\n// module id = 101\n// module chunks = 0","/**\n * @fileoverview 마일스톤 뷰\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar TZDate = require('../../common/timezone').Date;\nvar View = require('../../view/view');\nvar tmpl = require('../template/week//milestone.hbs');\n\n// item height + gutter (defined in css)\nvar ITEM_HEIGHT = 17;\n\n// list padding-top (defined in css)\nvar LIST_PADDING_TOP = 1;\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options\n * @param {string} options.renderStartDate - start date of allday view's render date. YYYY-MM-DD\n * @param {string} options.renderEndDate - end date of allday view's render date. YYYY-MM-DD\n * @param {number} [options.minHeight=52] - min-height of milestone view\n * @param {number} [options.lineHeight=12] - line height of milestone view\n * @param {HTMLElement} container - container element\n */\nfunction Milestone(options, container) {\n container = domutil.appendHTMLElement(\n 'div',\n container,\n config.classname('milestone-container')\n );\n\n View.call(this, container);\n\n /**\n * @type {object}\n */\n this.options = util.extend({\n renderStartDate: '',\n renderEndDate: ''\n }, options);\n}\n\nutil.inherit(Milestone, View);\n\n/**\n * Get base viewmodel for task view\n * @param {object} [viewModel] - view model from parent view\n * @returns {object} view model for task view\n */\nMilestone.prototype._getBaseViewModel = function(viewModel) {\n var schedules = {},\n range = viewModel.range,\n height,\n today = datetime.format(new TZDate(), 'YYYY-MM-DD'),\n viewModelSchedules = util.pick(viewModel.schedulesInDateRange, 'milestone'),\n grids = viewModel.grids,\n i = 0;\n\n // 일정이 없는 경우라도 빈 객체를 생성\n util.forEach(range, function(d) {\n schedules[datetime.format(d, 'YYYY-MM-DD')] = {length: 0};\n });\n\n util.extend(schedules, viewModelSchedules);\n\n util.forEach(schedules, function(schedule, key) {\n schedule.isToday = (key === today);\n schedule.left = grids[i].left;\n schedule.width = grids[i].width;\n i += 1;\n });\n\n height = LIST_PADDING_TOP;\n height += Math.max.apply(null, util.map(schedules, function(coll) {\n return coll.length;\n })) * ITEM_HEIGHT;\n\n return {\n schedules: schedules,\n height: height\n };\n};\n\n/**\n * 마일스톤 뷰 렌더링\n * @override\n */\nMilestone.prototype.render = function(viewModel) {\n var container = this.container,\n baseViewModel = this._getBaseViewModel(viewModel);\n\n container.style.minHeight = this.options.minHeight + 'px';\n container.innerHTML = tmpl(baseViewModel);\n\n util.forEach(domutil.find('li', container, true), function(el) {\n if (el.offsetWidth < el.scrollWidth) {\n el.setAttribute('title', domutil.getData(el, 'title'));\n }\n });\n\n this.fire('afterRender', baseViewModel);\n};\n\nmodule.exports = Milestone;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/milestone.js\n// module id = 102\n// module chunks = 0","/**\n * @fileoverview Task view for upper area of Week view.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar View = require('../../view/view');\nvar tmpl = require('../template/week//taskview.hbs');\nvar TZDate = require('../../common/timezone').Date;\n\n// height + gutter (defined in CSS)\nvar ITEM_HEIGHT = 20;\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for TaskView\n * @param {string} options.renderStartDate - start date of allday view's render date. YYYY-MM-DD\n * @param {string} options.renderEndDate - end date of allday view's render date. YYYY-MM-DD\n * @param {number} [options.minHeight=52] - min-height of taskview\n * @param {number} [options.lineHeight=12] - line height of milestone view\n * @param {HTMLElement} container - container element\n */\nfunction TaskView(options, container) {\n container = domutil.appendHTMLElement(\n 'div',\n container,\n config.classname('task-container')\n );\n\n View.call(this, container);\n\n /**\n * @type {object}\n */\n this.options = util.extend({\n renderStartDate: '',\n renderEndDate: ''\n }, options);\n}\n\nutil.inherit(TaskView, View);\n\n/**\n * Get base viewmodel for task view\n * @param {object} [viewModel] - view model from parent view\n * @returns {object} view model for task view\n */\nTaskView.prototype._getBaseViewModel = function(viewModel) {\n var schedules = {},\n range = viewModel.range,\n height = 0,\n mmax = Math.max,\n today = datetime.format(new TZDate(), 'YYYY-MM-DD'),\n viewModelSchedules = util.pick(viewModel.schedulesInDateRange, 'task'),\n grids = viewModel.grids,\n i = 0;\n\n util.forEach(range, function(d) {\n var date = datetime.format(d, 'YYYY-MM-DD');\n schedules[date] = {\n morning: {length: 0},\n lunch: {length: 0},\n evening: {length: 0}\n };\n });\n util.extend(schedules, viewModelSchedules);\n\n height = mmax.apply(null, util.map(schedules, function(g) {\n var subcount = 0;\n\n util.forEach(g, function(coll) {\n subcount += (coll.length || 0);\n });\n\n return subcount;\n })) * ITEM_HEIGHT;\n\n util.forEach(schedules, function(schedule, key) {\n schedule.isToday = (key === today);\n schedule.left = grids[i].left;\n schedule.width = grids[i].width;\n i += 1;\n });\n\n return {\n schedules: schedules,\n height: height\n };\n};\n\n/**\n * 업무 뷰 렌더링\n * @override\n */\nTaskView.prototype.render = function(viewModel) {\n var container = this.container,\n baseViewModel = this._getBaseViewModel(viewModel);\n\n container.innerHTML = tmpl(baseViewModel);\n\n util.forEach(domutil.find('li', container, true), function(el) {\n if (el.offsetWidth < el.scrollWidth) {\n el.setAttribute('title', domutil.getData(el, 'title'));\n }\n });\n\n this.fire('afterRender', baseViewModel);\n};\n\nmodule.exports = TaskView;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/taskview.js\n// module id = 103\n// module chunks = 0","/**\n * @fileoverview View of time.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar TZDate = require('../../common/timezone').Date;\nvar View = require('../view');\nvar timeTmpl = require('../template/week/time.hbs');\n\nvar forEachArr = util.forEachArray;\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options Options\n * @param {number} options.index Date index in week view.\n * @param {number} options.width Date element width (percent)\n * @param {string} options.ymd YYYMMDD string for this view\n * @param {boolean} options.isToday when set true then assign today design class to container.\n * @param {number} options.hourStart Can limit of render hour start.\n * @param {number} options.hourEnd Can limit of render hour end.\n * @param {HTMLElement} container Element to use container for this view.\n */\nfunction Time(options, container) {\n View.call(this, container);\n\n this.options = util.extend({\n index: 0,\n width: 0,\n ymd: '',\n isToday: false,\n pending: false,\n hourStart: 0,\n hourEnd: 24,\n defaultMarginBottom: 2,\n minHeight: 18.5\n }, options);\n\n this.timeTmpl = timeTmpl;\n container.style.width = options.width + '%';\n container.style.left = options.left + '%';\n\n if (this.options.isToday) {\n domutil.addClass(this.container, config.classname('today'));\n }\n}\n\nutil.inherit(Time, View);\n\n/**\n * Convert YYYYMMDD formatted string date to Date.\n * @param {string} str formatted string.\n * @returns {Date} start of date.\n */\nTime.prototype._parseDateGroup = function(str) {\n var y = parseInt(str.substr(0, 4), 10),\n m = parseInt(str.substr(4, 2), 10),\n d = parseInt(str.substr(6, 2), 10);\n\n return new TZDate(y, m - 1, d);\n};\n\n/**\n * @param {ScheduleViewModel} viewModel - view model instance to calculate bound.\n * @param {object} options - options for calculating schedule element's bound.\n * @param {Date} options.todayStart - date object represent schedule date's start (00:00:00)\n * @param {number} options.baseMS - the number of milliseconds to render schedule blocks.\n * @param {number} options.baseHeight - pixel value related with baseMS options.\n * @param {number[]} options.baseLeft - left position percents for each columns.\n * @param {number} options.baseWidth - the unit of schedule blocks width percent.\n * @param {number} options.columnIndex - the number index of schedule blocks.\n * it represent rendering index from left sides in view.\n * @returns {object} bound object for supplied view model.\n */\nTime.prototype.getScheduleViewBound = function(viewModel, options) {\n var baseMS = options.baseMS;\n var baseHeight = options.baseHeight;\n var cropped = false;\n var offsetStart, width, height, top;\n var isReadOnly = util.pick(viewModel, 'model', 'isReadOnly') || false;\n\n offsetStart = viewModel.valueOf().start - options.todayStart;\n\n // containerHeight : milliseconds in day = x : schedule's milliseconds\n top = (baseHeight * offsetStart) / baseMS;\n height = (baseHeight * viewModel.duration()) / baseMS;\n width = options.baseWidth * (viewModel.extraSpace + 1);\n\n // set width auto when has no collisions.\n if (!viewModel.hasCollide) {\n width = null;\n }\n\n if (height + top > baseHeight) {\n height = baseHeight - top;\n cropped = true;\n }\n\n if (isReadOnly) {\n cropped = true;\n }\n\n return {\n top: top,\n left: options.baseLeft[options.columnIndex],\n width: width,\n height: Math.max(height, this.options.minHeight) - this.options.defaultMarginBottom,\n cropped: cropped\n };\n};\n\n/**\n * Set viewmodels for rendering.\n * @param {string} ymd The date of schedules. YYYYMMDD format.\n * @param {array} matrices The matrices for schedule placing.\n */\nTime.prototype._getBaseViewModel = function(ymd, matrices) {\n var self = this,\n options = this.options,\n hourStart = options.hourStart,\n hourEnd = options.hourEnd,\n containerHeight,\n todayStart,\n baseMS;\n\n /**\n * Calculate each schedule element bounds relative with rendered hour milliseconds and\n * wrap each schedule model to viewmodels.\n */\n containerHeight = this.getViewBound().height;\n todayStart = this._parseDateGroup(ymd);\n todayStart.setHours(hourStart);\n baseMS = datetime.millisecondsFrom('hour', (hourEnd - hourStart));\n\n forEachArr(matrices, function(matrix) {\n var maxRowLength,\n widthPercent,\n leftPercents,\n i;\n\n maxRowLength = Math.max.apply(null, util.map(matrix, function(row) {\n return row.length;\n }));\n\n widthPercent = 100 / maxRowLength;\n\n leftPercents = [];\n for (i = 0; i < maxRowLength; i += 1) {\n leftPercents[i] = widthPercent * i;\n }\n\n forEachArr(matrix, function(row) {\n forEachArr(row, function(viewModel, col) {\n var viewBound;\n\n if (!viewModel) {\n return;\n }\n\n viewBound = self.getScheduleViewBound(viewModel, {\n todayStart: todayStart,\n baseMS: baseMS,\n baseLeft: leftPercents,\n baseWidth: widthPercent,\n baseHeight: containerHeight,\n columnIndex: col\n });\n\n util.extend(viewModel, viewBound);\n });\n });\n });\n};\n\n/**\n * @returns {Date} - Date of this view.\n */\nTime.prototype.getDate = function() {\n return this._parseDateGroup(this.options.ymd);\n};\n\n/**\n * @override\n * @param {string} ymd The date of schedules. YYYYMMDD format\n * @param {array} matrices Matrices for placing schedules\n */\nTime.prototype.render = function(ymd, matrices) {\n this._getBaseViewModel(ymd, matrices);\n this.container.innerHTML = this.timeTmpl({\n matrices: matrices\n });\n};\n\nmodule.exports = Time;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/time.js\n// module id = 104\n// module chunks = 0","/**\n * @fileoverview View for rendered schedules by times.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar common = require('../../common/common');\nvar domutil = require('../../common/domutil');\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar View = require('../view');\nvar Time = require('./time');\nvar AutoScroll = require('../../common/autoScroll');\nvar mainTmpl = require('../template/week/timeGrid.hbs');\n\nvar HOURMARKER_REFRESH_INTERVAL = 1000 * 60;\nvar SIXTY_SECONDS = 60;\n\n/**\n * start~end 까지의 시간 레이블 목록을 반환한다.\n * 현재 시간과 가까운 레이블의 경우 hidden:true로 설정한다.\n * @param {number} start - 시작시간\n * @param {number} end - 끝시간\n * @param {boolean} hasHourMarker - 현재 시간이 표시되는지 여부\n * @returns {Array.}\n */\nfunction getHoursLabels(start, end, hasHourMarker) {\n var now = new TZDate();\n var nowMinutes = now.getMinutes();\n var nowHours = now.getHours();\n var hoursRange = util.range(start, end);\n var nowAroundHours = null;\n\n if (hasHourMarker) {\n if (nowMinutes < 20) {\n nowAroundHours = nowHours;\n } else if (nowMinutes > 40) {\n nowAroundHours = nowHours + 1;\n }\n }\n\n return hoursRange.map(function(hours) {\n return {\n hours: hours,\n hidden: nowAroundHours === hours\n };\n });\n}\n/**\n * @constructor\n * @extends {View}\n * @param {object} options The object for view customization.\n * @param {string} options.renderStartDate - render start date. YYYY-MM-DD\n * @param {string} options.renderEndDate - render end date. YYYY-MM-DD\n * @param {number} [options.hourStart=0] You can change view's start hours.\n * @param {number} [options.hourEnd=0] You can change view's end hours.\n * @param {HTMLElement} container Container element.\n */\nfunction TimeGrid(options, container) {\n container = domutil.appendHTMLElement(\n 'div',\n container,\n config.classname('timegrid-container')\n );\n\n View.call(this, container);\n\n if (!util.browser.safari) {\n /**\n * @type {AutoScroll}\n */\n this._autoScroll = new AutoScroll(container);\n }\n\n /**\n * Time view options.\n * @type {object}\n */\n this.options = util.extend({\n renderStartDate: '',\n renderEndDate: '',\n hourStart: 0,\n hourEnd: 24\n }, options);\n\n /**\n * Interval id for hourmarker animation.\n * @type {number}\n */\n this.intervalID = 0;\n\n /**\n * timer id for hourmarker initial state\n * @type {number}\n */\n this.timerID = 0;\n\n /**\n * @type {boolean}\n */\n this._scrolled = false;\n\n /*\n * cache parent's view model\n * @type {object}\n */\n this._cacheParentViewModel = null;\n\n this.attachEvent();\n}\n\nutil.inherit(TimeGrid, View);\n\n/**********\n * Prototype props\n **********/\n\n/**\n * @type {string}\n */\nTimeGrid.prototype.viewName = 'timegrid';\n\n/**\n * Destroy view.\n * @override\n */\nTimeGrid.prototype._beforeDestroy = function() {\n clearInterval(this.intervalID);\n clearTimeout(this.timerID);\n\n if (this._autoScroll) {\n this._autoScroll.destroy();\n }\n\n this._autoScroll = this.hourmarker = this.intervalID = this.timerID = this._cacheParentViewModel = null;\n};\n\n/**\n * @param {Date} [time] - date object to convert pixel in grids.\n * use **Date.now()** when not supplied.\n * @returns {number} The pixel value represent current time in grids.\n */\nTimeGrid.prototype._getTopPercentByTime = function(time) {\n var opt = this.options,\n raw = datetime.raw(time || new TZDate()),\n hourLength = util.range(opt.hourStart, opt.hourEnd).length,\n maxMilliseconds = hourLength * datetime.MILLISECONDS_PER_HOUR,\n hmsMilliseconds = datetime.millisecondsFrom('hour', raw.h) +\n datetime.millisecondsFrom('minutes', raw.m) +\n datetime.millisecondsFrom('seconds', raw.s) +\n raw.ms,\n topPercent;\n\n topPercent = common.ratio(maxMilliseconds, 100, hmsMilliseconds);\n topPercent -= common.ratio(maxMilliseconds, 100, datetime.millisecondsFrom('hour', opt.hourStart));\n\n return common.limit(topPercent, [0], [100]);\n};\n\n/**\n * Get Hourmarker viewmodel.\n * @param {Date} now - now\n * @param {object} grids grid information(width, left, day)\n * @param {Array.} range render range\n * @returns {object} ViewModel of hourmarker.\n */\nTimeGrid.prototype._getHourmarkerViewModel = function(now, grids, range) {\n var todaymarkerLeft = -1,\n viewModel;\n\n now = now || new TZDate();\n\n util.forEach(range, function(date, index) {\n if (datetime.isSameDate(now, date)) {\n todaymarkerLeft = grids[index].left;\n }\n });\n\n viewModel = {\n currentHours: now.getHours(),\n hourmarkerTop: this._getTopPercentByTime(now),\n hourmarkerText: datetime.format(now, 'HH:mm'),\n todaymarkerLeft: todaymarkerLeft\n };\n\n return viewModel;\n};\n\n/**\n * Get base viewModel.\n * @param {object} grids grid information(width, left, day)\n * @param {Array.} range render range\n * @returns {object} ViewModel\n */\nTimeGrid.prototype._getBaseViewModel = function(grids, range) {\n var opt = this.options;\n var viewModel = this._getHourmarkerViewModel(new TZDate(), grids, range);\n viewModel.hoursLabels = getHoursLabels(opt.hourStart, opt.hourEnd, viewModel.todaymarkerLeft >= 0);\n\n return viewModel;\n};\n\n/**\n * Reconcilation child views and render.\n * @param {object} viewModels Viewmodel\n * @param {object} grids grid information(width, left, day)\n * @param {HTMLElement} container Container element for each time view.\n */\nTimeGrid.prototype._renderChildren = function(viewModels, grids, container) {\n var self = this,\n options = this.options,\n childOption,\n child,\n isToday,\n today = datetime.format(new TZDate(), 'YYYYMMDD'),\n i = 0;\n\n // clear contents\n container.innerHTML = '';\n this.children.clear();\n\n // reconcilation of child views\n util.forEach(viewModels, function(schedules, ymd) {\n isToday = ymd === today;\n\n childOption = {\n index: i,\n left: grids[i].left,\n width: grids[i].width,\n ymd: ymd,\n isToday: isToday,\n isPending: options.isPending,\n isFocused: options.isFocused,\n hourStart: options.hourStart,\n hourEnd: options.hourEnd\n };\n\n child = new Time(\n childOption,\n domutil.appendHTMLElement('div', container, config.classname('time-date'))\n );\n child.render(ymd, schedules);\n\n self.addChild(child);\n\n i += 1;\n });\n};\n\n/**\n * @override\n * @param {object} viewModel ViewModel list from Week view.\n */\nTimeGrid.prototype.render = function(viewModel) {\n var timeViewModel = viewModel.schedulesInDateRange.time,\n container = this.container,\n grids = viewModel.grids,\n range = viewModel.range,\n baseViewModel = this._getBaseViewModel(grids, range),\n scheduleLen = util.keys(timeViewModel).length;\n\n this._cacheParentViewModel = viewModel;\n\n if (!scheduleLen) {\n return;\n }\n\n baseViewModel.showHourMarker = baseViewModel.todaymarkerLeft >= 0;\n\n container.innerHTML = mainTmpl(baseViewModel);\n\n /**********\n * Render children\n **********/\n this._renderChildren(\n timeViewModel,\n grids,\n domutil.find(config.classname('.timegrid-schedules-container'), container)\n );\n\n this._hourLabels = domutil.find('ul', container);\n\n /**********\n * Render hourmarker\n **********/\n this.hourmarker = domutil.find(config.classname('.timegrid-hourmarker'), container);\n\n if (!this._scrolled) {\n this._scrolled = true;\n this.scrollToNow();\n }\n};\n\n/**\n * Refresh hourmarker element.\n */\nTimeGrid.prototype.refreshHourmarker = function() {\n var hourmarker = this.hourmarker,\n grids = this._cacheParentViewModel ? this._cacheParentViewModel.grids : null,\n range = this._cacheParentViewModel ? this._cacheParentViewModel.range : null,\n viewModel = this._getHourmarkerViewModel(new TZDate(), grids, range),\n todaymarker,\n hourmarkerText;\n\n if (!hourmarker || !viewModel) {\n return;\n }\n\n todaymarker = domutil.find(config.classname('.timegrid-todaymarker'), hourmarker);\n hourmarkerText = domutil.find(config.classname('.timegrid-hourmarker-time'), hourmarker);\n\n reqAnimFrame.requestAnimFrame(function() {\n hourmarker.style.display = 'block';\n hourmarker.style.top = viewModel.hourmarkerTop + '%';\n todaymarker.style.display = (viewModel.todaymarkerLeft >= 0) ? 'block' : 'none';\n hourmarkerText.innerHTML = viewModel.hourmarkerText;\n });\n};\n\n/**\n * Attach events\n */\nTimeGrid.prototype.attachEvent = function() {\n clearInterval(this.intervalID);\n clearTimeout(this.timerID);\n this.intervalID = this.timerID = null;\n\n this.timerID = setTimeout(util.bind(this.onTick, this), (SIXTY_SECONDS - new TZDate().getSeconds()) * 1000);\n};\n\n/**\n * Scroll time grid to current hourmarker.\n */\nTimeGrid.prototype.scrollToNow = function() {\n var self = this,\n container = this.container;\n var offsetTop,\n viewBound,\n scrollTop,\n scrollAmount,\n scrollBy,\n scrollFn;\n\n if (!self.hourmarker) {\n return;\n }\n\n offsetTop = this.hourmarker.offsetTop;\n viewBound = this.getViewBound();\n scrollTop = offsetTop;\n scrollAmount = viewBound.height / 4;\n scrollBy = 10;\n\n scrollFn = function() {\n if (scrollTop > offsetTop - scrollAmount) {\n scrollTop -= scrollBy;\n container.scrollTop = scrollTop;\n\n reqAnimFrame.requestAnimFrame(scrollFn);\n } else {\n container.scrollTop = offsetTop - scrollAmount;\n }\n };\n\n reqAnimFrame.requestAnimFrame(scrollFn);\n};\n\n/**********\n * Schedule handlers\n **********/\n\n/**\n * Interval tick handler\n */\nTimeGrid.prototype.onTick = function() {\n if (this.timerID) {\n clearTimeout(this.timerID);\n this.timerID = null;\n }\n\n if (!this.intervalID) {\n this.intervalID = setInterval(util.bind(this.onTick, this), HOURMARKER_REFRESH_INTERVAL);\n }\n this.refreshHourmarker();\n};\n\nmodule.exports = TimeGrid;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/timeGrid.js\n// module id = 105\n// module chunks = 0","/**\n * @fileoverview View of days UI.\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar View = require('../view');\n\n/**\n * FullCalendar 에서는 날짜 정보만 사용(YYYY-MM-DD) 하고,\n * SplitTimeCalendar 에서는 타임존 정보까지 포함된 문자열을 사용하기 때문에 분기처리함.\n * @param {String} dateString - date string\n * @returns {TZDate}\n */\nfunction parseRangeDateString(dateString) {\n if (dateString.length === 10) {\n return datetime.parse(dateString);\n }\n\n return new TZDate(dateString);\n}\n\n/**\n * @constructor\n * @param {Base.Week} controller The controller mixin part.\n * @param {object} options View options\n * @param {string} [options.renderStartDate] Start date of render.\n * if not supplied then use -3d from today. YYYY-MM-DD format.\n * @param {string} [options.renderEndDate] End date of render.\n * if not supplied then use +3d from today. YYYY-MM-DD format.\n * @param {string} [options.cssPrefix] - CSS classname prefix\n * @param {HTMLElement} container The element to use container for this view.\n * @extends {View}\n */\nfunction Week(controller, options, container) {\n var range;\n\n container = domutil.appendHTMLElement('div', container);\n\n View.call(this, container);\n\n domutil.addClass(container, config.classname('week-container'));\n\n range = this._getRenderDateRange(new TZDate());\n\n /**\n * @type {object} Options for view.\n */\n this.options = util.extend({\n scheduleFilter: function(schedule) {\n return Boolean(schedule.isVisible);\n },\n renderStartDate: datetime.format(range.start, 'YYYY-MM-DD'),\n renderEndDate: datetime.format(range.end, 'YYYY-MM-DD'),\n narrowWeekend: false,\n startDayOfWeek: 0,\n workweek: false\n }, options);\n\n /**\n * Week controller mixin.\n * @type {Base.Week}\n */\n this.controller = controller;\n}\n\nutil.inherit(Week, View);\n\n/**********\n * Override props\n **********/\n\n/**\n * Render each child view with schedules in ranges.\n * @fires Week#afterRender\n * @override\n */\nWeek.prototype.render = function() {\n var options = this.options,\n scheduleFilter = options.scheduleFilter,\n narrowWeekend = options.narrowWeekend,\n startDayOfWeek = options.startDayOfWeek,\n workweek = options.workweek;\n var renderStartDate, renderEndDate, schedulesInDateRange, viewModel, grids, range;\n\n renderStartDate = parseRangeDateString(options.renderStartDate);\n renderEndDate = parseRangeDateString(options.renderEndDate);\n\n range = datetime.range(\n datetime.start(renderStartDate),\n datetime.end(renderEndDate),\n datetime.MILLISECONDS_PER_DAY\n );\n\n if (options.workweek && datetime.compare(renderStartDate, renderEndDate)) {\n range = util.filter(range, function(date) {\n return !datetime.isWeekend(date.getDay());\n });\n\n renderStartDate = range[0];\n renderEndDate = range[range.length - 1];\n }\n\n schedulesInDateRange = this.controller.findByDateRange(\n datetime.start(renderStartDate),\n datetime.end(renderEndDate),\n scheduleFilter\n );\n grids = datetime.getGridLeftAndWidth(\n range.length,\n narrowWeekend,\n startDayOfWeek,\n workweek\n );\n\n viewModel = {\n schedulesInDateRange: schedulesInDateRange,\n renderStartDate: renderStartDate,\n renderEndDate: renderEndDate,\n grids: grids,\n range: range\n };\n\n this.children.each(function(childView) {\n childView.render(viewModel);\n });\n\n /**\n * @event Week#afterRender\n */\n this.fire('afterRender');\n};\n\n/**********\n * Prototype props\n **********/\n\nWeek.prototype.viewName = 'week';\n\n/**\n * Calculate default render date range from supplied date.\n * @param {Date} baseDate base date.\n * @returns {object} date range.\n */\nWeek.prototype._getRenderDateRange = function(baseDate) {\n var base = datetime.start(baseDate),\n start = new TZDate(Number(base)),\n end = new TZDate(Number(base));\n\n start.setDate(start.getDate() - 3);\n end.setDate(end.getDate() + 3);\n\n return {\n start: start,\n end: end\n };\n};\n\nutil.CustomEvents.mixin(Week);\n\nmodule.exports = Week;\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/week.js\n// module id = 106\n// module chunks = 0","/**\n * @fileoverview Weekday view for week\n * @author NHN Ent. FE Development Team \n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Weekday = require('../weekday'),\n tmpl = require('./weekdayInWeek.hbs');\nvar mmax = Math.max;\n\n/**\n * @constructor\n * @extends {Weekday}\n * @param {object} options - options for WeekdayInWeek view\n * @param {number} [options.containerHeight=40] - minimum height of schedule\n * container element.\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n * make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n * view.\n */\nfunction WeekdayInWeek(options, container) {\n Weekday.call(this, options, container);\n}\n\nutil.inherit(WeekdayInWeek, Weekday);\n\n/**\n * Render Weekday view\n * @override\n */\nWeekdayInWeek.prototype.render = function(viewModel) {\n var opt = this.options,\n container = this.container,\n baseViewModel = this.getBaseViewModel(viewModel),\n maxScheduleInDay = 0;\n\n baseViewModel.matrices = opt.getViewModelFunc(viewModel);\n\n maxScheduleInDay = mmax.apply(\n null,\n util.map(baseViewModel.matrices, function(matrix) {\n return Math.max.apply(null, util.map(matrix, function(row) {\n return row.length;\n }));\n })\n );\n\n baseViewModel.minHeight = this._getMinHeight(maxScheduleInDay);\n baseViewModel.scheduleContainerTop = this.options.scheduleContainerTop;\n\n container.innerHTML = tmpl(baseViewModel);\n\n this.fire('afterRender', baseViewModel);\n};\n\n/**\n * returns minimum height for container.\n * @param {number} maxScheduleInDay - max schedule blocks in one day\n * @returns {number}\n */\nWeekdayInWeek.prototype._getMinHeight = function(maxScheduleInDay) {\n var opt = this.options;\n\n return (\n (maxScheduleInDay * opt.scheduleHeight) +\n ((maxScheduleInDay - 1) * opt.scheduleGutter) +\n opt.containerBottomGutter\n );\n};\n\nmodule.exports = WeekdayInWeek;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/view/week/weekdayInWeek.js\n// module id = 107\n// module chunks = 0"],"sourceRoot":""}