if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/calendarnavigator/calendarnavigator.js']) {
   __coverage__['build/calendarnavigator/calendarnavigator.js'] = {"path":"build/calendarnavigator/calendarnavigator.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0},"b":{"1":[0,0],"2":[0,0,0,0],"3":[0,0],"4":[0,0,0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":48}}},"2":{"name":"CalendarNavigator","line":29,"loc":{"start":{"line":29,"column":0},"end":{"line":29,"column":35}}},"3":{"name":"(anonymous_3)","line":126,"loc":{"start":{"line":126,"column":18},"end":{"line":126,"column":35}}},"4":{"name":"(anonymous_4)","line":141,"loc":{"start":{"line":141,"column":17},"end":{"line":141,"column":28}}},"5":{"name":"(anonymous_5)","line":153,"loc":{"start":{"line":153,"column":23},"end":{"line":153,"column":37}}},"6":{"name":"(anonymous_6)","line":165,"loc":{"start":{"line":165,"column":22},"end":{"line":165,"column":36}}},"7":{"name":"(anonymous_7)","line":182,"loc":{"start":{"line":182,"column":17},"end":{"line":182,"column":31}}},"8":{"name":"(anonymous_8)","line":192,"loc":{"start":{"line":192,"column":26},"end":{"line":192,"column":38}}},"9":{"name":"(anonymous_9)","line":246,"loc":{"start":{"line":246,"column":26},"end":{"line":246,"column":38}}},"10":{"name":"(anonymous_10)","line":260,"loc":{"start":{"line":260,"column":26},"end":{"line":260,"column":38}}},"11":{"name":"(anonymous_11)","line":273,"loc":{"start":{"line":273,"column":30},"end":{"line":273,"column":41}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":295,"column":120}},"2":{"start":{"line":8,"column":0},"end":{"line":21,"column":34}},"3":{"start":{"line":29,"column":0},"end":{"line":31,"column":1}},"4":{"start":{"line":30,"column":4},"end":{"line":30,"column":68}},"5":{"start":{"line":42,"column":0},"end":{"line":42,"column":35}},"6":{"start":{"line":53,"column":0},"end":{"line":53,"column":51}},"7":{"start":{"line":64,"column":0},"end":{"line":76,"column":2}},"8":{"start":{"line":86,"column":0},"end":{"line":89,"column":2}},"9":{"start":{"line":98,"column":0},"end":{"line":100,"column":55}},"10":{"start":{"line":109,"column":0},"end":{"line":111,"column":55}},"11":{"start":{"line":114,"column":0},"end":{"line":291,"column":3}},"12":{"start":{"line":129,"column":8},"end":{"line":129,"column":28}},"13":{"start":{"line":130,"column":8},"end":{"line":130,"column":36}},"14":{"start":{"line":132,"column":8},"end":{"line":132,"column":71}},"15":{"start":{"line":154,"column":8},"end":{"line":154,"column":33}},"16":{"start":{"line":166,"column":8},"end":{"line":171,"column":8}},"17":{"start":{"line":167,"column":11},"end":{"line":167,"column":37}},"18":{"start":{"line":168,"column":11},"end":{"line":168,"column":42}},"19":{"start":{"line":169,"column":11},"end":{"line":169,"column":84}},"20":{"start":{"line":170,"column":11},"end":{"line":170,"column":31}},"21":{"start":{"line":183,"column":8},"end":{"line":188,"column":8}},"22":{"start":{"line":184,"column":11},"end":{"line":184,"column":37}},"23":{"start":{"line":185,"column":11},"end":{"line":185,"column":42}},"24":{"start":{"line":186,"column":11},"end":{"line":186,"column":81}},"25":{"start":{"line":187,"column":11},"end":{"line":187,"column":31}},"26":{"start":{"line":194,"column":8},"end":{"line":194,"column":34}},"27":{"start":{"line":195,"column":8},"end":{"line":212,"column":9}},"28":{"start":{"line":196,"column":12},"end":{"line":199,"column":13}},"29":{"start":{"line":197,"column":16},"end":{"line":197,"column":58}},"30":{"start":{"line":198,"column":16},"end":{"line":198,"column":57}},"31":{"start":{"line":201,"column":12},"end":{"line":203,"column":13}},"32":{"start":{"line":202,"column":16},"end":{"line":202,"column":99}},"33":{"start":{"line":206,"column":12},"end":{"line":208,"column":13}},"34":{"start":{"line":207,"column":12},"end":{"line":207,"column":125}},"35":{"start":{"line":209,"column":12},"end":{"line":211,"column":13}},"36":{"start":{"line":210,"column":14},"end":{"line":210,"column":101}},"37":{"start":{"line":214,"column":8},"end":{"line":231,"column":9}},"38":{"start":{"line":215,"column":12},"end":{"line":218,"column":13}},"39":{"start":{"line":216,"column":16},"end":{"line":216,"column":58}},"40":{"start":{"line":217,"column":16},"end":{"line":217,"column":57}},"41":{"start":{"line":220,"column":12},"end":{"line":222,"column":13}},"42":{"start":{"line":221,"column":16},"end":{"line":221,"column":99}},"43":{"start":{"line":225,"column":12},"end":{"line":227,"column":13}},"44":{"start":{"line":226,"column":12},"end":{"line":226,"column":120}},"45":{"start":{"line":228,"column":12},"end":{"line":230,"column":13}},"46":{"start":{"line":229,"column":14},"end":{"line":229,"column":101}},"47":{"start":{"line":233,"column":8},"end":{"line":233,"column":87}},"48":{"start":{"line":234,"column":8},"end":{"line":234,"column":87}},"49":{"start":{"line":247,"column":6},"end":{"line":248,"column":71}},"50":{"start":{"line":249,"column":6},"end":{"line":249,"column":79}},"51":{"start":{"line":251,"column":6},"end":{"line":251,"column":29}},"52":{"start":{"line":261,"column":6},"end":{"line":262,"column":71}},"53":{"start":{"line":263,"column":6},"end":{"line":263,"column":79}},"54":{"start":{"line":265,"column":6},"end":{"line":265,"column":29}},"55":{"start":{"line":274,"column":12},"end":{"line":274,"column":38}},"56":{"start":{"line":275,"column":12},"end":{"line":275,"column":93}},"57":{"start":{"line":276,"column":12},"end":{"line":276,"column":99}},"58":{"start":{"line":277,"column":12},"end":{"line":277,"column":95}},"59":{"start":{"line":279,"column":12},"end":{"line":279,"column":69}},"60":{"start":{"line":281,"column":12},"end":{"line":281,"column":66}},"61":{"start":{"line":282,"column":12},"end":{"line":282,"column":66}},"62":{"start":{"line":284,"column":12},"end":{"line":284,"column":39}},"63":{"start":{"line":286,"column":12},"end":{"line":286,"column":69}},"64":{"start":{"line":288,"column":12},"end":{"line":288,"column":57}},"65":{"start":{"line":289,"column":12},"end":{"line":289,"column":56}},"66":{"start":{"line":293,"column":0},"end":{"line":293,"column":60}}},"branchMap":{"1":{"line":166,"type":"if","locations":[{"start":{"line":166,"column":8},"end":{"line":166,"column":8}},{"start":{"line":166,"column":8},"end":{"line":166,"column":8}}]},"2":{"line":166,"type":"binary-expr","locations":[{"start":{"line":166,"column":14},"end":{"line":166,"column":33}},{"start":{"line":166,"column":39},"end":{"line":166,"column":60}},{"start":{"line":166,"column":65},"end":{"line":166,"column":81}},{"start":{"line":166,"column":85},"end":{"line":166,"column":101}}]},"3":{"line":183,"type":"if","locations":[{"start":{"line":183,"column":8},"end":{"line":183,"column":8}},{"start":{"line":183,"column":8},"end":{"line":183,"column":8}}]},"4":{"line":183,"type":"binary-expr","locations":[{"start":{"line":183,"column":14},"end":{"line":183,"column":33}},{"start":{"line":183,"column":39},"end":{"line":183,"column":60}},{"start":{"line":183,"column":65},"end":{"line":183,"column":81}},{"start":{"line":183,"column":85},"end":{"line":183,"column":101}}]},"5":{"line":195,"type":"if","locations":[{"start":{"line":195,"column":8},"end":{"line":195,"column":8}},{"start":{"line":195,"column":8},"end":{"line":195,"column":8}}]},"6":{"line":196,"type":"if","locations":[{"start":{"line":196,"column":12},"end":{"line":196,"column":12}},{"start":{"line":196,"column":12},"end":{"line":196,"column":12}}]},"7":{"line":201,"type":"if","locations":[{"start":{"line":201,"column":12},"end":{"line":201,"column":12}},{"start":{"line":201,"column":12},"end":{"line":201,"column":12}}]},"8":{"line":206,"type":"if","locations":[{"start":{"line":206,"column":12},"end":{"line":206,"column":12}},{"start":{"line":206,"column":12},"end":{"line":206,"column":12}}]},"9":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":12},"end":{"line":209,"column":12}},{"start":{"line":209,"column":12},"end":{"line":209,"column":12}}]},"10":{"line":214,"type":"if","locations":[{"start":{"line":214,"column":8},"end":{"line":214,"column":8}},{"start":{"line":214,"column":8},"end":{"line":214,"column":8}}]},"11":{"line":215,"type":"if","locations":[{"start":{"line":215,"column":12},"end":{"line":215,"column":12}},{"start":{"line":215,"column":12},"end":{"line":215,"column":12}}]},"12":{"line":220,"type":"if","locations":[{"start":{"line":220,"column":12},"end":{"line":220,"column":12}},{"start":{"line":220,"column":12},"end":{"line":220,"column":12}}]},"13":{"line":225,"type":"if","locations":[{"start":{"line":225,"column":12},"end":{"line":225,"column":12}},{"start":{"line":225,"column":12},"end":{"line":225,"column":12}}]},"14":{"line":228,"type":"if","locations":[{"start":{"line":228,"column":12},"end":{"line":228,"column":12}},{"start":{"line":228,"column":12},"end":{"line":228,"column":12}}]}},"code":["(function () { YUI.add('calendarnavigator', function (Y, NAME) {","","/**"," * Provides a plugin which adds navigation controls to Calendar."," *"," * @module calendarnavigator"," */","var CONTENT_BOX = \"contentBox\",","    HOST        = \"host\",","    RENDERED    = \"rendered\",","    getCN       = Y.ClassNameManager.getClassName,","    substitute  = Y.substitute,","    node        = Y.Node,","    create      = node.create,","    CALENDAR    = 'calendar',","    CALENDARNAV = 'calendarnav',","    CAL_HD      = getCN(CALENDAR, 'header'),","    CAL_PREV_M  = getCN(CALENDARNAV, 'prevmonth'),","    CAL_NEXT_M  = getCN(CALENDARNAV, 'nextmonth'),","    CAL_DIS_M   = getCN(CALENDARNAV, 'month-disabled'),","    ydate       = Y.DataType.Date;","/**"," * A plugin class which adds navigation controls to Calendar."," *"," * @class CalendarNavigator"," * @extends Plugin.Base"," * @namespace Plugin"," */","function CalendarNavigator(config) {","    CalendarNavigator.superclass.constructor.apply(this, arguments);","}","","/**"," * The namespace for the plugin. This will be the property on the widget, which will "," * reference the plugin instance, when it's plugged in."," *"," * @property NS"," * @static"," * @type String"," * @default \"navigator\""," */","CalendarNavigator.NS = \"navigator\";","","/**"," * The NAME of the CalendarNavigator class. Used to prefix events generated"," * by the plugin class."," *"," * @property NAME"," * @static"," * @type String"," * @default \"pluginCalendarNavigator\""," */","CalendarNavigator.NAME = \"pluginCalendarNavigator\";","","","/**"," * Static property used to define the default attribute "," * configuration for the plugin."," *"," * @property ATTRS"," * @type Object"," * @static"," */","CalendarNavigator.ATTRS = {","","    /**","     * The number of months to shift by when the control arrows are clicked.","     *","     * @attribute shiftByMonths","     * @type Number","     * @default 1 (months)","     */","    shiftByMonths : {","        value: 1","    }","};","","   /**","    * The CSS classnames for the calendar navigator controls.","    * @property CALENDARNAV_STRINGS","    * @type Object","    * @readOnly","    * @protected","    * @static","    */ ","CalendarNavigator.CALENDARNAV_STRINGS = {","   prev_month_class: CAL_PREV_M,","   next_month_class: CAL_NEXT_M","};","","   /**","    * The template for the calendar navigator previous month control.","    * @property PREV_MONTH_CONTROL_TEMPLATE","    * @type String","    * @protected","    * @static","    */ ","CalendarNavigator.PREV_MONTH_CONTROL_TEMPLATE = '<a class=\"yui3-u {prev_month_class}\" role=\"button\" aria-label=\"{prev_month_arialabel}\" tabindex=\"{control_tabindex}\">' + ","                                                   \"<span>&lt;</span>\" +","                                                '</a>';","   /**","    * The template for the calendar navigator next month control.","    * @property NEXT_MONTH_CONTROL_TEMPLATE","    * @type String","    * @readOnly","    * @protected","    * @static","    */ ","CalendarNavigator.NEXT_MONTH_CONTROL_TEMPLATE = '<a class=\"yui3-u {next_month_class}\" role=\"button\" aria-label=\"{next_month_arialabel}\" tabindex=\"{control_tabindex}\">' + ","                                                   \"<span>&gt;</span>\" +","                                                '</a>';","","","Y.extend(CalendarNavigator, Y.Plugin.Base, {","","    _eventAttachments : {},","    _controls: {},","","    /**","     * The initializer lifecycle implementation. Modifies the host widget's ","     * render to add navigation controls.","     *","     * @method initializer","     * @param {Object} config The user configuration for the plugin  ","     */","    initializer : function(config) {","","        // After the host has rendered its UI, place the navigation cotnrols","        this._controls = {};","        this._eventAttachments = {};","","        this.afterHostMethod(\"renderUI\", this._initNavigationControls);","    },","","    /**","     * The initializer destructor implementation. Responsible for destroying the initialized","     * control mechanisms.","     * ","     * @method destructor","     */","    destructor : function() {","       ","    },","","    /**","     * Private utility method that focuses on a navigation button when it is clicked","     * or pressed with a keyboard.","     * ","     * @method _focusNavigation","     * @param {Event} ev Click or keydown event from the controls","     * @protected","     */","    _focusNavigation : function (ev) {","        ev.currentTarget.focus();","    },","","    /**","     * Private utility method that subtracts months from the host calendar date","     * based on the control click and the shiftByMonths property.","     * ","     * @method _subtractMonths","     * @param {Event} ev Click event from the controls","     * @protected","     */","    _subtractMonths : function (ev) {","        if ( (ev.type === \"click\") || (ev.type === \"keydown\" && (ev.keyCode == 13 || ev.keyCode == 32)) ) {","           var host = this.get(HOST);","           var oldDate = host.get(\"date\");","           host.set(\"date\", ydate.addMonths(oldDate, -1*this.get(\"shiftByMonths\")));","           ev.preventDefault();","       }","    },","","    /**","     * Private utility method that adds months to the host calendar date","     * based on the control click and the shiftByMonths property.","     * ","     * @method _addMonths","     * @param {Event} ev Click event from the controls","     * @protected","     */","    _addMonths : function (ev) {","        if ( (ev.type === \"click\") || (ev.type === \"keydown\" && (ev.keyCode == 13 || ev.keyCode == 32)) ) {","           var host = this.get(HOST);","           var oldDate = host.get(\"date\");","           host.set(\"date\", ydate.addMonths(oldDate, this.get(\"shiftByMonths\")));","           ev.preventDefault();","       }","    },","","","    _updateControlState : function () {","","        var host = this.get(HOST);","        if (ydate.areEqual(host.get(\"minimumDate\"), host.get(\"date\"))) {","            if (this._eventAttachments.prevMonth) {","                this._eventAttachments.prevMonth.detach();","                this._eventAttachments.prevMonth = false;","            }","","            if (!this._controls.prevMonth.hasClass(CAL_DIS_M)) {","                this._controls.prevMonth.addClass(CAL_DIS_M).setAttribute(\"aria-disabled\", \"true\");","            }","        }","        else {","            if (!this._eventAttachments.prevMonth) {","            this._eventAttachments.prevMonth = this._controls.prevMonth.on([\"click\", \"keydown\"], this._subtractMonths, this);","            }","            if (this._controls.prevMonth.hasClass(CAL_DIS_M)) {","              this._controls.prevMonth.removeClass(CAL_DIS_M).setAttribute(\"aria-disabled\", \"false\");","            }","        }","","        if (ydate.areEqual(host.get(\"maximumDate\"), ydate.addMonths(host.get(\"date\"), host._paneNumber - 1))) {","            if (this._eventAttachments.nextMonth) {","                this._eventAttachments.nextMonth.detach();","                this._eventAttachments.nextMonth = false;","            }","","            if (!this._controls.nextMonth.hasClass(CAL_DIS_M)) {","                this._controls.nextMonth.addClass(CAL_DIS_M).setAttribute(\"aria-disabled\", \"true\");","            }","        }","        else {","            if (!this._eventAttachments.nextMonth) {","            this._eventAttachments.nextMonth = this._controls.nextMonth.on([\"click\", \"keydown\"], this._addMonths, this);","            }","            if (this._controls.nextMonth.hasClass(CAL_DIS_M)) {","              this._controls.nextMonth.removeClass(CAL_DIS_M).setAttribute(\"aria-disabled\", \"false\");","            }","        }","","        this._controls.prevMonth.on([\"click\", \"keydown\"], this._focusNavigation, this);","        this._controls.nextMonth.on([\"click\", \"keydown\"], this._focusNavigation, this);","    },","","","","","    /**","     * Private render assist method that renders the previous month control","     * ","     * @method _renderPrevControls","     * @private","     */","    _renderPrevControls : function () {","      var prevControlNode = create(substitute (CalendarNavigator.PREV_MONTH_CONTROL_TEMPLATE,","                               CalendarNavigator.CALENDARNAV_STRINGS));","      prevControlNode.on(\"selectstart\", this.get(HOST)._preventSelectionStart);","","      return prevControlNode;        ","    },","","    /**","     * Private render assist method that renders the next month control","     * ","     * @method _renderNextControls","     * @private","     */","    _renderNextControls : function () {","      var nextControlNode = create(substitute (CalendarNavigator.NEXT_MONTH_CONTROL_TEMPLATE,","                               CalendarNavigator.CALENDARNAV_STRINGS));","      nextControlNode.on(\"selectstart\", this.get(HOST)._preventSelectionStart);","      ","      return nextControlNode;     ","    },","","    /**","     * Protected render assist method that initialized and renders the navigation controls.","     * @method _initNavigationControls","     * @protected","     */","    _initNavigationControls : function() {","            var host = this.get(HOST);","            CalendarNavigator.CALENDARNAV_STRINGS[\"control_tabindex\"] = host.get(\"tabIndex\");","            CalendarNavigator.CALENDARNAV_STRINGS[\"prev_month_arialabel\"] = \"Go to previous month\";","            CalendarNavigator.CALENDARNAV_STRINGS[\"next_month_arialabel\"] = \"Go to next month\";","","            var headerCell = host.get(CONTENT_BOX).one(\".\" + CAL_HD);","","            this._controls.prevMonth = this._renderPrevControls();","            this._controls.nextMonth = this._renderNextControls();","","            this._updateControlState();","","            host.after(\"dateChange\", this._updateControlState, this);","","            headerCell.prepend(this._controls.prevMonth);","            headerCell.append(this._controls.nextMonth);","    }","});","","Y.namespace(\"Plugin\").CalendarNavigator = CalendarNavigator;","","}, '@VERSION@', {\"requires\": [\"plugin\", \"classnamemanager\", \"datatype-date\", \"node\", \"substitute\"], \"skinnable\": true});","","}());"]};
}
var __cov_iFlUFoON8vnVWN4OWN67oA = __coverage__['build/calendarnavigator/calendarnavigator.js'];
__cov_iFlUFoON8vnVWN4OWN67oA.s['1']++;YUI.add('calendarnavigator',function(Y,NAME){__cov_iFlUFoON8vnVWN4OWN67oA.f['1']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['2']++;var CONTENT_BOX='contentBox',HOST='host',RENDERED='rendered',getCN=Y.ClassNameManager.getClassName,substitute=Y.substitute,node=Y.Node,create=node.create,CALENDAR='calendar',CALENDARNAV='calendarnav',CAL_HD=getCN(CALENDAR,'header'),CAL_PREV_M=getCN(CALENDARNAV,'prevmonth'),CAL_NEXT_M=getCN(CALENDARNAV,'nextmonth'),CAL_DIS_M=getCN(CALENDARNAV,'month-disabled'),ydate=Y.DataType.Date;__cov_iFlUFoON8vnVWN4OWN67oA.s['3']++;function CalendarNavigator(config){__cov_iFlUFoON8vnVWN4OWN67oA.f['2']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['4']++;CalendarNavigator.superclass.constructor.apply(this,arguments);}__cov_iFlUFoON8vnVWN4OWN67oA.s['5']++;CalendarNavigator.NS='navigator';__cov_iFlUFoON8vnVWN4OWN67oA.s['6']++;CalendarNavigator.NAME='pluginCalendarNavigator';__cov_iFlUFoON8vnVWN4OWN67oA.s['7']++;CalendarNavigator.ATTRS={shiftByMonths:{value:1}};__cov_iFlUFoON8vnVWN4OWN67oA.s['8']++;CalendarNavigator.CALENDARNAV_STRINGS={prev_month_class:CAL_PREV_M,next_month_class:CAL_NEXT_M};__cov_iFlUFoON8vnVWN4OWN67oA.s['9']++;CalendarNavigator.PREV_MONTH_CONTROL_TEMPLATE='<a class="yui3-u {prev_month_class}" role="button" aria-label="{prev_month_arialabel}" tabindex="{control_tabindex}">'+'<span>&lt;</span>'+'</a>';__cov_iFlUFoON8vnVWN4OWN67oA.s['10']++;CalendarNavigator.NEXT_MONTH_CONTROL_TEMPLATE='<a class="yui3-u {next_month_class}" role="button" aria-label="{next_month_arialabel}" tabindex="{control_tabindex}">'+'<span>&gt;</span>'+'</a>';__cov_iFlUFoON8vnVWN4OWN67oA.s['11']++;Y.extend(CalendarNavigator,Y.Plugin.Base,{_eventAttachments:{},_controls:{},initializer:function(config){__cov_iFlUFoON8vnVWN4OWN67oA.f['3']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['12']++;this._controls={};__cov_iFlUFoON8vnVWN4OWN67oA.s['13']++;this._eventAttachments={};__cov_iFlUFoON8vnVWN4OWN67oA.s['14']++;this.afterHostMethod('renderUI',this._initNavigationControls);},destructor:function(){__cov_iFlUFoON8vnVWN4OWN67oA.f['4']++;},_focusNavigation:function(ev){__cov_iFlUFoON8vnVWN4OWN67oA.f['5']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['15']++;ev.currentTarget.focus();},_subtractMonths:function(ev){__cov_iFlUFoON8vnVWN4OWN67oA.f['6']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['16']++;if((__cov_iFlUFoON8vnVWN4OWN67oA.b['2'][0]++,ev.type==='click')||(__cov_iFlUFoON8vnVWN4OWN67oA.b['2'][1]++,ev.type==='keydown')&&((__cov_iFlUFoON8vnVWN4OWN67oA.b['2'][2]++,ev.keyCode==13)||(__cov_iFlUFoON8vnVWN4OWN67oA.b['2'][3]++,ev.keyCode==32))){__cov_iFlUFoON8vnVWN4OWN67oA.b['1'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['17']++;var host=this.get(HOST);__cov_iFlUFoON8vnVWN4OWN67oA.s['18']++;var oldDate=host.get('date');__cov_iFlUFoON8vnVWN4OWN67oA.s['19']++;host.set('date',ydate.addMonths(oldDate,-1*this.get('shiftByMonths')));__cov_iFlUFoON8vnVWN4OWN67oA.s['20']++;ev.preventDefault();}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['1'][1]++;}},_addMonths:function(ev){__cov_iFlUFoON8vnVWN4OWN67oA.f['7']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['21']++;if((__cov_iFlUFoON8vnVWN4OWN67oA.b['4'][0]++,ev.type==='click')||(__cov_iFlUFoON8vnVWN4OWN67oA.b['4'][1]++,ev.type==='keydown')&&((__cov_iFlUFoON8vnVWN4OWN67oA.b['4'][2]++,ev.keyCode==13)||(__cov_iFlUFoON8vnVWN4OWN67oA.b['4'][3]++,ev.keyCode==32))){__cov_iFlUFoON8vnVWN4OWN67oA.b['3'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['22']++;var host=this.get(HOST);__cov_iFlUFoON8vnVWN4OWN67oA.s['23']++;var oldDate=host.get('date');__cov_iFlUFoON8vnVWN4OWN67oA.s['24']++;host.set('date',ydate.addMonths(oldDate,this.get('shiftByMonths')));__cov_iFlUFoON8vnVWN4OWN67oA.s['25']++;ev.preventDefault();}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['3'][1]++;}},_updateControlState:function(){__cov_iFlUFoON8vnVWN4OWN67oA.f['8']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['26']++;var host=this.get(HOST);__cov_iFlUFoON8vnVWN4OWN67oA.s['27']++;if(ydate.areEqual(host.get('minimumDate'),host.get('date'))){__cov_iFlUFoON8vnVWN4OWN67oA.b['5'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['28']++;if(this._eventAttachments.prevMonth){__cov_iFlUFoON8vnVWN4OWN67oA.b['6'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['29']++;this._eventAttachments.prevMonth.detach();__cov_iFlUFoON8vnVWN4OWN67oA.s['30']++;this._eventAttachments.prevMonth=false;}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['6'][1]++;}__cov_iFlUFoON8vnVWN4OWN67oA.s['31']++;if(!this._controls.prevMonth.hasClass(CAL_DIS_M)){__cov_iFlUFoON8vnVWN4OWN67oA.b['7'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['32']++;this._controls.prevMonth.addClass(CAL_DIS_M).setAttribute('aria-disabled','true');}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['7'][1]++;}}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['5'][1]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['33']++;if(!this._eventAttachments.prevMonth){__cov_iFlUFoON8vnVWN4OWN67oA.b['8'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['34']++;this._eventAttachments.prevMonth=this._controls.prevMonth.on(['click','keydown'],this._subtractMonths,this);}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['8'][1]++;}__cov_iFlUFoON8vnVWN4OWN67oA.s['35']++;if(this._controls.prevMonth.hasClass(CAL_DIS_M)){__cov_iFlUFoON8vnVWN4OWN67oA.b['9'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['36']++;this._controls.prevMonth.removeClass(CAL_DIS_M).setAttribute('aria-disabled','false');}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['9'][1]++;}}__cov_iFlUFoON8vnVWN4OWN67oA.s['37']++;if(ydate.areEqual(host.get('maximumDate'),ydate.addMonths(host.get('date'),host._paneNumber-1))){__cov_iFlUFoON8vnVWN4OWN67oA.b['10'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['38']++;if(this._eventAttachments.nextMonth){__cov_iFlUFoON8vnVWN4OWN67oA.b['11'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['39']++;this._eventAttachments.nextMonth.detach();__cov_iFlUFoON8vnVWN4OWN67oA.s['40']++;this._eventAttachments.nextMonth=false;}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['11'][1]++;}__cov_iFlUFoON8vnVWN4OWN67oA.s['41']++;if(!this._controls.nextMonth.hasClass(CAL_DIS_M)){__cov_iFlUFoON8vnVWN4OWN67oA.b['12'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['42']++;this._controls.nextMonth.addClass(CAL_DIS_M).setAttribute('aria-disabled','true');}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['12'][1]++;}}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['10'][1]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['43']++;if(!this._eventAttachments.nextMonth){__cov_iFlUFoON8vnVWN4OWN67oA.b['13'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['44']++;this._eventAttachments.nextMonth=this._controls.nextMonth.on(['click','keydown'],this._addMonths,this);}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['13'][1]++;}__cov_iFlUFoON8vnVWN4OWN67oA.s['45']++;if(this._controls.nextMonth.hasClass(CAL_DIS_M)){__cov_iFlUFoON8vnVWN4OWN67oA.b['14'][0]++;__cov_iFlUFoON8vnVWN4OWN67oA.s['46']++;this._controls.nextMonth.removeClass(CAL_DIS_M).setAttribute('aria-disabled','false');}else{__cov_iFlUFoON8vnVWN4OWN67oA.b['14'][1]++;}}__cov_iFlUFoON8vnVWN4OWN67oA.s['47']++;this._controls.prevMonth.on(['click','keydown'],this._focusNavigation,this);__cov_iFlUFoON8vnVWN4OWN67oA.s['48']++;this._controls.nextMonth.on(['click','keydown'],this._focusNavigation,this);},_renderPrevControls:function(){__cov_iFlUFoON8vnVWN4OWN67oA.f['9']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['49']++;var prevControlNode=create(substitute(CalendarNavigator.PREV_MONTH_CONTROL_TEMPLATE,CalendarNavigator.CALENDARNAV_STRINGS));__cov_iFlUFoON8vnVWN4OWN67oA.s['50']++;prevControlNode.on('selectstart',this.get(HOST)._preventSelectionStart);__cov_iFlUFoON8vnVWN4OWN67oA.s['51']++;return prevControlNode;},_renderNextControls:function(){__cov_iFlUFoON8vnVWN4OWN67oA.f['10']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['52']++;var nextControlNode=create(substitute(CalendarNavigator.NEXT_MONTH_CONTROL_TEMPLATE,CalendarNavigator.CALENDARNAV_STRINGS));__cov_iFlUFoON8vnVWN4OWN67oA.s['53']++;nextControlNode.on('selectstart',this.get(HOST)._preventSelectionStart);__cov_iFlUFoON8vnVWN4OWN67oA.s['54']++;return nextControlNode;},_initNavigationControls:function(){__cov_iFlUFoON8vnVWN4OWN67oA.f['11']++;__cov_iFlUFoON8vnVWN4OWN67oA.s['55']++;var host=this.get(HOST);__cov_iFlUFoON8vnVWN4OWN67oA.s['56']++;CalendarNavigator.CALENDARNAV_STRINGS['control_tabindex']=host.get('tabIndex');__cov_iFlUFoON8vnVWN4OWN67oA.s['57']++;CalendarNavigator.CALENDARNAV_STRINGS['prev_month_arialabel']='Go to previous month';__cov_iFlUFoON8vnVWN4OWN67oA.s['58']++;CalendarNavigator.CALENDARNAV_STRINGS['next_month_arialabel']='Go to next month';__cov_iFlUFoON8vnVWN4OWN67oA.s['59']++;var headerCell=host.get(CONTENT_BOX).one('.'+CAL_HD);__cov_iFlUFoON8vnVWN4OWN67oA.s['60']++;this._controls.prevMonth=this._renderPrevControls();__cov_iFlUFoON8vnVWN4OWN67oA.s['61']++;this._controls.nextMonth=this._renderNextControls();__cov_iFlUFoON8vnVWN4OWN67oA.s['62']++;this._updateControlState();__cov_iFlUFoON8vnVWN4OWN67oA.s['63']++;host.after('dateChange',this._updateControlState,this);__cov_iFlUFoON8vnVWN4OWN67oA.s['64']++;headerCell.prepend(this._controls.prevMonth);__cov_iFlUFoON8vnVWN4OWN67oA.s['65']++;headerCell.append(this._controls.nextMonth);}});__cov_iFlUFoON8vnVWN4OWN67oA.s['66']++;Y.namespace('Plugin').CalendarNavigator=CalendarNavigator;},'@VERSION@',{'requires':['plugin','classnamemanager','datatype-date','node','substitute'],'skinnable':true});
