text: if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/aui-event-delegate-change/aui-event-delegate-change.js']) {
     __coverage__['build/aui-event-delegate-change/aui-event-delegate-change.js'] = {"path":"build/aui-event-delegate-change/aui-event-delegate-change.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},"b":{"1":[0,0],"2":[0,0],"3":[0,0,0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0,0],"9":[0,0],"10":[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,"12":0,"13":0,"14":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":56}}},"2":{"name":"(anonymous_2)","line":29,"loc":{"start":{"line":29,"column":18},"end":{"line":29,"column":65}}},"3":{"name":"(anonymous_3)","line":43,"loc":{"start":{"line":43,"column":16},"end":{"line":43,"column":55}}},"4":{"name":"(anonymous_4)","line":58,"loc":{"start":{"line":58,"column":24},"end":{"line":58,"column":63}}},"5":{"name":"(anonymous_5)","line":72,"loc":{"start":{"line":72,"column":12},"end":{"line":72,"column":51}}},"6":{"name":"(anonymous_6)","line":89,"loc":{"start":{"line":89,"column":22},"end":{"line":89,"column":83}}},"7":{"name":"(anonymous_7)","line":100,"loc":{"start":{"line":100,"column":29},"end":{"line":100,"column":45}}},"8":{"name":"(anonymous_8)","line":139,"loc":{"start":{"line":139,"column":23},"end":{"line":139,"column":70}}},"9":{"name":"(anonymous_9)","line":146,"loc":{"start":{"line":146,"column":16},"end":{"line":146,"column":32}}},"10":{"name":"(anonymous_10)","line":164,"loc":{"start":{"line":164,"column":23},"end":{"line":164,"column":52}}},"11":{"name":"(anonymous_11)","line":167,"loc":{"start":{"line":167,"column":16},"end":{"line":167,"column":33}}},"12":{"name":"(anonymous_12)","line":170,"loc":{"start":{"line":170,"column":24},"end":{"line":170,"column":41}}},"13":{"name":"(anonymous_13)","line":187,"loc":{"start":{"line":187,"column":12},"end":{"line":187,"column":36}}},"14":{"name":"(anonymous_14)","line":210,"loc":{"start":{"line":210,"column":25},"end":{"line":210,"column":54}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":228,"column":83}},"2":{"start":{"line":10,"column":0},"end":{"line":11,"column":26}},"3":{"start":{"line":18,"column":0},"end":{"line":225,"column":2}},"4":{"start":{"line":30,"column":12},"end":{"line":30,"column":32}},"5":{"start":{"line":32,"column":12},"end":{"line":32,"column":73}},"6":{"start":{"line":44,"column":12},"end":{"line":44,"column":32}},"7":{"start":{"line":46,"column":12},"end":{"line":46,"column":65}},"8":{"start":{"line":59,"column":12},"end":{"line":59,"column":32}},"9":{"start":{"line":61,"column":12},"end":{"line":61,"column":65}},"10":{"start":{"line":73,"column":12},"end":{"line":73,"column":32}},"11":{"start":{"line":75,"column":12},"end":{"line":75,"column":64}},"12":{"start":{"line":90,"column":12},"end":{"line":90,"column":32}},"13":{"start":{"line":92,"column":12},"end":{"line":92,"column":52}},"14":{"start":{"line":94,"column":12},"end":{"line":94,"column":71}},"15":{"start":{"line":96,"column":12},"end":{"line":126,"column":13}},"16":{"start":{"line":97,"column":16},"end":{"line":97,"column":43}},"17":{"start":{"line":99,"column":16},"end":{"line":123,"column":17}},"18":{"start":{"line":100,"column":20},"end":{"line":122,"column":22}},"19":{"start":{"line":101,"column":24},"end":{"line":101,"column":63}},"20":{"start":{"line":103,"column":24},"end":{"line":103,"column":42}},"21":{"start":{"line":105,"column":24},"end":{"line":105,"column":50}},"22":{"start":{"line":107,"column":24},"end":{"line":107,"column":54}},"23":{"start":{"line":109,"column":24},"end":{"line":119,"column":103}},"24":{"start":{"line":110,"column":28},"end":{"line":115,"column":29}},"25":{"start":{"line":111,"column":32},"end":{"line":111,"column":70}},"26":{"start":{"line":112,"column":32},"end":{"line":112,"column":66}},"27":{"start":{"line":114,"column":32},"end":{"line":114,"column":65}},"28":{"start":{"line":117,"column":28},"end":{"line":117,"column":53}},"29":{"start":{"line":121,"column":24},"end":{"line":121,"column":80}},"30":{"start":{"line":125,"column":16},"end":{"line":125,"column":80}},"31":{"start":{"line":140,"column":12},"end":{"line":140,"column":32}},"32":{"start":{"line":142,"column":12},"end":{"line":142,"column":71}},"33":{"start":{"line":144,"column":12},"end":{"line":152,"column":14}},"34":{"start":{"line":147,"column":20},"end":{"line":147,"column":53}},"35":{"start":{"line":149,"column":20},"end":{"line":149,"column":95}},"36":{"start":{"line":165,"column":12},"end":{"line":175,"column":14}},"37":{"start":{"line":168,"column":20},"end":{"line":173,"column":22}},"38":{"start":{"line":171,"column":28},"end":{"line":171,"column":44}},"39":{"start":{"line":177,"column":12},"end":{"line":177,"column":41}},"40":{"start":{"line":188,"column":16},"end":{"line":188,"column":41}},"41":{"start":{"line":190,"column":16},"end":{"line":190,"column":74}},"42":{"start":{"line":192,"column":16},"end":{"line":192,"column":68}},"43":{"start":{"line":194,"column":16},"end":{"line":196,"column":17}},"44":{"start":{"line":195,"column":20},"end":{"line":195,"column":40}},"45":{"start":{"line":198,"column":16},"end":{"line":198,"column":33}},"46":{"start":{"line":211,"column":12},"end":{"line":213,"column":13}},"47":{"start":{"line":212,"column":16},"end":{"line":212,"column":43}},"48":{"start":{"line":215,"column":12},"end":{"line":215,"column":48}},"49":{"start":{"line":217,"column":12},"end":{"line":219,"column":13}},"50":{"start":{"line":218,"column":16},"end":{"line":218,"column":35}},"51":{"start":{"line":221,"column":12},"end":{"line":221,"column":33}}},"branchMap":{"1":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":12},"end":{"line":96,"column":12}},{"start":{"line":96,"column":12},"end":{"line":96,"column":12}}]},"2":{"line":99,"type":"if","locations":[{"start":{"line":99,"column":16},"end":{"line":99,"column":16}},{"start":{"line":99,"column":16},"end":{"line":99,"column":16}}]},"3":{"line":119,"type":"binary-expr","locations":[{"start":{"line":119,"column":31},"end":{"line":119,"column":47}},{"start":{"line":119,"column":51},"end":{"line":119,"column":68}},{"start":{"line":119,"column":72},"end":{"line":119,"column":77}},{"start":{"line":119,"column":81},"end":{"line":119,"column":101}}]},"4":{"line":110,"type":"if","locations":[{"start":{"line":110,"column":28},"end":{"line":110,"column":28}},{"start":{"line":110,"column":28},"end":{"line":110,"column":28}}]},"5":{"line":110,"type":"binary-expr","locations":[{"start":{"line":110,"column":32},"end":{"line":110,"column":37}},{"start":{"line":110,"column":41},"end":{"line":110,"column":69}}]},"6":{"line":121,"type":"binary-expr","locations":[{"start":{"line":121,"column":33},"end":{"line":121,"column":49}},{"start":{"line":121,"column":55},"end":{"line":121,"column":77}}]},"7":{"line":194,"type":"if","locations":[{"start":{"line":194,"column":16},"end":{"line":194,"column":16}},{"start":{"line":194,"column":16},"end":{"line":194,"column":16}}]},"8":{"line":194,"type":"binary-expr","locations":[{"start":{"line":194,"column":20},"end":{"line":194,"column":39}},{"start":{"line":194,"column":44},"end":{"line":194,"column":63}},{"start":{"line":194,"column":67},"end":{"line":194,"column":83}}]},"9":{"line":211,"type":"if","locations":[{"start":{"line":211,"column":12},"end":{"line":211,"column":12}},{"start":{"line":211,"column":12},"end":{"line":211,"column":12}}]},"10":{"line":217,"type":"if","locations":[{"start":{"line":217,"column":12},"end":{"line":217,"column":12}},{"start":{"line":217,"column":12},"end":{"line":217,"column":12}}]}},"code":["(function () { YUI.add('aui-event-delegate-change', function (A, NAME) {","","/**"," * The Event Delegate Change."," *"," * @module aui-event"," * @submodule aui-event-delegate-change"," */","","var AObject = A.Object,","    Selector = A.Selector;","","/**"," * Defines a new `change` event in the DOM event system."," *"," * @event change"," */","A.Event.define(","    'change', {","        /**","         * Implementation logic for subscription via `node.delegate`.","         *","         * @method delegate","         * @param node","         * @param subscription","         * @param notifier","         * @param filter","         */","        delegate: function(node, subscription, notifier, filter) {","            var instance = this;","","            instance._attachEvents(node, subscription, notifier, filter);","        },","","        /**","         * Implementation logic for cleaning up a detached subscription.","         *","         * @method detach","         * @param node","         * @param subscription","         * @param notifier","         */","        detach: function(node, subscription, notifier) {","            var instance = this;","","            instance._detachEvents(node, subscription, notifier);","        },","","        /**","         * Implementation logic for cleaning up a detached delegate","         * subscription.","         *","         * @method detachDelegate","         * @param node","         * @param subscription","         * @param notifier","         */","        detachDelegate: function(node, subscription, notifier) {","            var instance = this;","","            instance._detachEvents(node, subscription, notifier);","        },","","        /**","         * Implementation logic for event subscription.","         *","         * @method on","         * @param node","         * @param subscription","         * @param notifier","         */","        on: function(node, subscription, notifier) {","            var instance = this;","","            instance._attachEvent(node, subscription, notifier);","        },","","        /**","         * Adds an event subscription.","         *","         * @method _attachEvent","         * @param node","         * @param subscription","         * @param notifier","         * @param delegateNode","         * @param filter","         * @protected","         */","        _attachEvent: function(node, subscription, notifier, delegateNode, filter) {","            var instance = this;","","            var type = instance._getEventName(node);","","            var handles = instance._prepareHandles(subscription, node);","","            if (!AObject.owns(handles, type)) {","                var fireFn = notifier.fire;","","                if (delegateNode) {","                    fireFn = function(event) {","                        var delegateEl = delegateNode.getDOM();","","                        var result = true;","","                        var tmpEl = node.getDOM();","","                        var tmpEvent = A.clone(event);","","                        do {","                            if (tmpEl && Selector.test(tmpEl, filter)) {","                                tmpEvent.currentTarget = A.one(tmpEl);","                                tmpEvent.container = delegateNode;","","                                result = notifier.fire(tmpEvent);","                            }","","                            tmpEl = tmpEl.parentNode;","                        }","                        while (result !== false && !tmpEvent.stopped && tmpEl && tmpEl !== delegateEl);","","                        return ((result !== false) && (tmpEvent.stopped !== 2));","                    };","                }","","                handles[type] = A.Event._attach([type, fireFn, node, notifier]);","            }","        },","","        /**","         * Adds an event subscription.","         *","         * @method _attachEvents","         * @param node","         * @param subscription","         * @param notifier","         * @param filter","         * @protected","         */","        _attachEvents: function(node, subscription, notifier, filter) {","            var instance = this;","","            var handles = instance._prepareHandles(subscription, node);","","            handles.beforeactivate = node.delegate(","                'beforeactivate',","                function(event) {","                    var activeElement = event.target;","","                    instance._attachEvent(activeElement, subscription, notifier, node, filter);","                },","                filter","            );","        },","","        /**","         * Deletes a group of event subscriptions.","         *","         * @method _detachEvents","         * @param node","         * @param subscription","         * @param notifier","         * @protected","         */","        _detachEvents: function(node, subscription) {","            A.each(","                subscription._handles,","                function(events) {","                    A.each(","                        events,","                        function(handle) {","                            handle.detach();","                        }","                    );","                }","            );","","            delete subscription._handles;","        },","","        /**","         * Gets an event name.","         *","         * @method _getEventName","         * @protected","         */","        _getEventName: A.cached(","            function(activeElement) {","                var eventName = 'change';","","                var tagName = activeElement.attr('tagName').toLowerCase();","","                var type = activeElement.attr('type').toLowerCase();","","                if (tagName === 'input' && (type === 'checkbox' || type === 'radio')) {","                    eventName = 'click';","                }","","                return eventName;","            }","        ),","","        /**","         * Prepares event handles.","         *","         * @method _prepareHandles","         * @param subscription","         * @param node","         * @protected","         */","        _prepareHandles: function(subscription, node) {","            if (!AObject.owns(subscription, '_handles')) {","                subscription._handles = {};","            }","","            var handles = subscription._handles;","","            if (!AObject.owns(handles, node)) {","                handles[node] = {};","            }","","            return handles[node];","        }","    },","    true",");","","","}, '3.0.0', {\"requires\": [\"aui-event-base\", \"event-delegate\", \"event-synthetic\"]});","","}());"]};
  }
  var __cov_zVIlNZ$3YdCu23pP5NWGwA = __coverage__['build/aui-event-delegate-change/aui-event-delegate-change.js'];
  __cov_zVIlNZ$3YdCu23pP5NWGwA.s['1']++;YUI.add('aui-event-delegate-change',function(A,NAME){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['1']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['2']++;var AObject=A.Object,Selector=A.Selector;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['3']++;A.Event.define('change',{delegate:function(node,subscription,notifier,filter){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['2']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['4']++;var instance=this;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['5']++;instance._attachEvents(node,subscription,notifier,filter);},detach:function(node,subscription,notifier){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['3']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['6']++;var instance=this;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['7']++;instance._detachEvents(node,subscription,notifier);},detachDelegate:function(node,subscription,notifier){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['4']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['8']++;var instance=this;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['9']++;instance._detachEvents(node,subscription,notifier);},on:function(node,subscription,notifier){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['5']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['10']++;var instance=this;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['11']++;instance._attachEvent(node,subscription,notifier);},_attachEvent:function(node,subscription,notifier,delegateNode,filter){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['6']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['12']++;var instance=this;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['13']++;var type=instance._getEventName(node);__cov_zVIlNZ$3YdCu23pP5NWGwA.s['14']++;var handles=instance._prepareHandles(subscription,node);__cov_zVIlNZ$3YdCu23pP5NWGwA.s['15']++;if(!AObject.owns(handles,type)){__cov_zVIlNZ$3YdCu23pP5NWGwA.b['1'][0]++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['16']++;var fireFn=notifier.fire;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['17']++;if(delegateNode){__cov_zVIlNZ$3YdCu23pP5NWGwA.b['2'][0]++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['18']++;fireFn=function(event){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['7']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['19']++;var delegateEl=delegateNode.getDOM();__cov_zVIlNZ$3YdCu23pP5NWGwA.s['20']++;var result=true;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['21']++;var tmpEl=node.getDOM();__cov_zVIlNZ$3YdCu23pP5NWGwA.s['22']++;var tmpEvent=A.clone(event);__cov_zVIlNZ$3YdCu23pP5NWGwA.s['23']++;do{__cov_zVIlNZ$3YdCu23pP5NWGwA.s['24']++;if((__cov_zVIlNZ$3YdCu23pP5NWGwA.b['5'][0]++,tmpEl)&&(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['5'][1]++,Selector.test(tmpEl,filter))){__cov_zVIlNZ$3YdCu23pP5NWGwA.b['4'][0]++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['25']++;tmpEvent.currentTarget=A.one(tmpEl);__cov_zVIlNZ$3YdCu23pP5NWGwA.s['26']++;tmpEvent.container=delegateNode;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['27']++;result=notifier.fire(tmpEvent);}else{__cov_zVIlNZ$3YdCu23pP5NWGwA.b['4'][1]++;}__cov_zVIlNZ$3YdCu23pP5NWGwA.s['28']++;tmpEl=tmpEl.parentNode;}while((__cov_zVIlNZ$3YdCu23pP5NWGwA.b['3'][0]++,result!==false)&&(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['3'][1]++,!tmpEvent.stopped)&&(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['3'][2]++,tmpEl)&&(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['3'][3]++,tmpEl!==delegateEl));__cov_zVIlNZ$3YdCu23pP5NWGwA.s['29']++;return(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['6'][0]++,result!==false)&&(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['6'][1]++,tmpEvent.stopped!==2);};}else{__cov_zVIlNZ$3YdCu23pP5NWGwA.b['2'][1]++;}__cov_zVIlNZ$3YdCu23pP5NWGwA.s['30']++;handles[type]=A.Event._attach([type,fireFn,node,notifier]);}else{__cov_zVIlNZ$3YdCu23pP5NWGwA.b['1'][1]++;}},_attachEvents:function(node,subscription,notifier,filter){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['8']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['31']++;var instance=this;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['32']++;var handles=instance._prepareHandles(subscription,node);__cov_zVIlNZ$3YdCu23pP5NWGwA.s['33']++;handles.beforeactivate=node.delegate('beforeactivate',function(event){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['9']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['34']++;var activeElement=event.target;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['35']++;instance._attachEvent(activeElement,subscription,notifier,node,filter);},filter);},_detachEvents:function(node,subscription){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['10']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['36']++;A.each(subscription._handles,function(events){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['11']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['37']++;A.each(events,function(handle){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['12']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['38']++;handle.detach();});});__cov_zVIlNZ$3YdCu23pP5NWGwA.s['39']++;delete subscription._handles;},_getEventName:A.cached(function(activeElement){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['13']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['40']++;var eventName='change';__cov_zVIlNZ$3YdCu23pP5NWGwA.s['41']++;var tagName=activeElement.attr('tagName').toLowerCase();__cov_zVIlNZ$3YdCu23pP5NWGwA.s['42']++;var type=activeElement.attr('type').toLowerCase();__cov_zVIlNZ$3YdCu23pP5NWGwA.s['43']++;if((__cov_zVIlNZ$3YdCu23pP5NWGwA.b['8'][0]++,tagName==='input')&&((__cov_zVIlNZ$3YdCu23pP5NWGwA.b['8'][1]++,type==='checkbox')||(__cov_zVIlNZ$3YdCu23pP5NWGwA.b['8'][2]++,type==='radio'))){__cov_zVIlNZ$3YdCu23pP5NWGwA.b['7'][0]++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['44']++;eventName='click';}else{__cov_zVIlNZ$3YdCu23pP5NWGwA.b['7'][1]++;}__cov_zVIlNZ$3YdCu23pP5NWGwA.s['45']++;return eventName;}),_prepareHandles:function(subscription,node){__cov_zVIlNZ$3YdCu23pP5NWGwA.f['14']++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['46']++;if(!AObject.owns(subscription,'_handles')){__cov_zVIlNZ$3YdCu23pP5NWGwA.b['9'][0]++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['47']++;subscription._handles={};}else{__cov_zVIlNZ$3YdCu23pP5NWGwA.b['9'][1]++;}__cov_zVIlNZ$3YdCu23pP5NWGwA.s['48']++;var handles=subscription._handles;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['49']++;if(!AObject.owns(handles,node)){__cov_zVIlNZ$3YdCu23pP5NWGwA.b['10'][0]++;__cov_zVIlNZ$3YdCu23pP5NWGwA.s['50']++;handles[node]={};}else{__cov_zVIlNZ$3YdCu23pP5NWGwA.b['10'][1]++;}__cov_zVIlNZ$3YdCu23pP5NWGwA.s['51']++;return handles[node];}},true);},'3.0.0',{'requires':['aui-event-base','event-delegate','event-synthetic']});
  