/*
YUI 3.10.3 (build 2fb5187)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/dd-ddm-drop/dd-ddm-drop.js']) {
__coverage__['build/dd-ddm-drop/dd-ddm-drop.js'] = {"path":"build/dd-ddm-drop/dd-ddm-drop.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,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[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],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0],"35":[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,"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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":42}}},"2":{"name":"(anonymous_2)","line":35,"loc":{"start":{"line":35,"column":24},"end":{"line":35,"column":35}}},"3":{"name":"(anonymous_3)","line":47,"loc":{"start":{"line":47,"column":24},"end":{"line":47,"column":36}}},"4":{"name":"(anonymous_4)","line":56,"loc":{"start":{"line":56,"column":27},"end":{"line":56,"column":39}}},"5":{"name":"(anonymous_5)","line":58,"loc":{"start":{"line":58,"column":44},"end":{"line":58,"column":56}}},"6":{"name":"(anonymous_6)","line":71,"loc":{"start":{"line":71,"column":25},"end":{"line":71,"column":41}}},"7":{"name":"(anonymous_7)","line":72,"loc":{"start":{"line":72,"column":29},"end":{"line":72,"column":45}}},"8":{"name":"(anonymous_8)","line":74,"loc":{"start":{"line":74,"column":36},"end":{"line":74,"column":48}}},"9":{"name":"(anonymous_9)","line":146,"loc":{"start":{"line":146,"column":19},"end":{"line":146,"column":34}}},"10":{"name":"(anonymous_10)","line":158,"loc":{"start":{"line":158,"column":22},"end":{"line":158,"column":37}}},"11":{"name":"(anonymous_11)","line":160,"loc":{"start":{"line":160,"column":42},"end":{"line":160,"column":54}}},"12":{"name":"(anonymous_12)","line":175,"loc":{"start":{"line":175,"column":22},"end":{"line":175,"column":37}}},"13":{"name":"(anonymous_13)","line":208,"loc":{"start":{"line":208,"column":20},"end":{"line":208,"column":31}}},"14":{"name":"(anonymous_14)","line":218,"loc":{"start":{"line":218,"column":26},"end":{"line":218,"column":37}}},"15":{"name":"(anonymous_15)","line":221,"loc":{"start":{"line":221,"column":39},"end":{"line":221,"column":51}}},"16":{"name":"(anonymous_16)","line":237,"loc":{"start":{"line":237,"column":22},"end":{"line":237,"column":43}}},"17":{"name":"(anonymous_17)","line":240,"loc":{"start":{"line":240,"column":32},"end":{"line":240,"column":44}}},"18":{"name":"(anonymous_18)","line":254,"loc":{"start":{"line":254,"column":36},"end":{"line":254,"column":48}}},"19":{"name":"(anonymous_19)","line":268,"loc":{"start":{"line":268,"column":28},"end":{"line":268,"column":39}}},"20":{"name":"(anonymous_20)","line":296,"loc":{"start":{"line":296,"column":39},"end":{"line":296,"column":51}}},"21":{"name":"(anonymous_21)","line":305,"loc":{"start":{"line":305,"column":19},"end":{"line":305,"column":30}}},"22":{"name":"(anonymous_22)","line":309,"loc":{"start":{"line":309,"column":46},"end":{"line":309,"column":58}}},"23":{"name":"(anonymous_23)","line":320,"loc":{"start":{"line":320,"column":17},"end":{"line":320,"column":28}}},"24":{"name":"(anonymous_24)","line":326,"loc":{"start":{"line":326,"column":42},"end":{"line":326,"column":54}}},"25":{"name":"(anonymous_25)","line":339,"loc":{"start":{"line":339,"column":27},"end":{"line":339,"column":38}}},"26":{"name":"(anonymous_26)","line":341,"loc":{"start":{"line":341,"column":32},"end":{"line":341,"column":44}}},"27":{"name":"(anonymous_27)","line":351,"loc":{"start":{"line":351,"column":20},"end":{"line":351,"column":32}}},"28":{"name":"(anonymous_28)","line":360,"loc":{"start":{"line":360,"column":22},"end":{"line":360,"column":37}}},"29":{"name":"(anonymous_29)","line":362,"loc":{"start":{"line":362,"column":39},"end":{"line":362,"column":51}}},"30":{"name":"(anonymous_30)","line":370,"loc":{"start":{"line":370,"column":42},"end":{"line":370,"column":54}}},"31":{"name":"(anonymous_31)","line":384,"loc":{"start":{"line":384,"column":17},"end":{"line":384,"column":32}}},"32":{"name":"(anonymous_32)","line":388,"loc":{"start":{"line":388,"column":43},"end":{"line":388,"column":55}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":401,"column":39}},"2":{"start":{"line":14,"column":4},"end":{"line":396,"column":13}},"3":{"start":{"line":36,"column":12},"end":{"line":38,"column":13}},"4":{"start":{"line":37,"column":16},"end":{"line":37,"column":28}},"5":{"start":{"line":39,"column":12},"end":{"line":39,"column":44}},"6":{"start":{"line":48,"column":12},"end":{"line":48,"column":38}},"7":{"start":{"line":57,"column":12},"end":{"line":57,"column":23}},"8":{"start":{"line":58,"column":12},"end":{"line":63,"column":15}},"9":{"start":{"line":59,"column":16},"end":{"line":61,"column":17}},"10":{"start":{"line":60,"column":20},"end":{"line":60,"column":30}},"11":{"start":{"line":64,"column":12},"end":{"line":64,"column":34}},"12":{"start":{"line":72,"column":12},"end":{"line":77,"column":22}},"13":{"start":{"line":73,"column":16},"end":{"line":73,"column":70}},"14":{"start":{"line":74,"column":16},"end":{"line":76,"column":25}},"15":{"start":{"line":75,"column":20},"end":{"line":75,"column":39}},"16":{"start":{"line":147,"column":12},"end":{"line":147,"column":39}},"17":{"start":{"line":148,"column":12},"end":{"line":148,"column":24}},"18":{"start":{"line":159,"column":12},"end":{"line":159,"column":27}},"19":{"start":{"line":160,"column":12},"end":{"line":164,"column":15}},"20":{"start":{"line":161,"column":16},"end":{"line":163,"column":17}},"21":{"start":{"line":162,"column":20},"end":{"line":162,"column":34}},"22":{"start":{"line":166,"column":12},"end":{"line":166,"column":36}},"23":{"start":{"line":167,"column":12},"end":{"line":167,"column":24}},"24":{"start":{"line":176,"column":12},"end":{"line":201,"column":13}},"25":{"start":{"line":177,"column":16},"end":{"line":178,"column":46}},"26":{"start":{"line":179,"column":16},"end":{"line":200,"column":17}},"27":{"start":{"line":180,"column":20},"end":{"line":180,"column":53}},"28":{"start":{"line":181,"column":20},"end":{"line":183,"column":21}},"29":{"start":{"line":182,"column":24},"end":{"line":182,"column":100}},"30":{"start":{"line":184,"column":20},"end":{"line":199,"column":21}},"31":{"start":{"line":185,"column":24},"end":{"line":188,"column":25}},"32":{"start":{"line":186,"column":28},"end":{"line":186,"column":71}},"33":{"start":{"line":187,"column":28},"end":{"line":187,"column":87}},"34":{"start":{"line":190,"column":24},"end":{"line":192,"column":25}},"35":{"start":{"line":191,"column":28},"end":{"line":191,"column":52}},"36":{"start":{"line":193,"column":24},"end":{"line":198,"column":49}},"37":{"start":{"line":202,"column":12},"end":{"line":202,"column":25}},"38":{"start":{"line":209,"column":12},"end":{"line":209,"column":33}},"39":{"start":{"line":210,"column":12},"end":{"line":210,"column":33}},"40":{"start":{"line":211,"column":12},"end":{"line":211,"column":35}},"41":{"start":{"line":219,"column":12},"end":{"line":219,"column":32}},"42":{"start":{"line":220,"column":12},"end":{"line":220,"column":30}},"43":{"start":{"line":221,"column":12},"end":{"line":226,"column":21}},"44":{"start":{"line":222,"column":16},"end":{"line":222,"column":36}},"45":{"start":{"line":223,"column":16},"end":{"line":225,"column":17}},"46":{"start":{"line":224,"column":20},"end":{"line":224,"column":41}},"47":{"start":{"line":227,"column":12},"end":{"line":227,"column":37}},"48":{"start":{"line":238,"column":12},"end":{"line":238,"column":46}},"49":{"start":{"line":240,"column":12},"end":{"line":250,"column":21}},"50":{"start":{"line":241,"column":16},"end":{"line":241,"column":85}},"51":{"start":{"line":242,"column":16},"end":{"line":242,"column":43}},"52":{"start":{"line":244,"column":16},"end":{"line":249,"column":17}},"53":{"start":{"line":245,"column":20},"end":{"line":248,"column":21}},"54":{"start":{"line":246,"column":24},"end":{"line":246,"column":42}},"55":{"start":{"line":247,"column":24},"end":{"line":247,"column":36}},"56":{"start":{"line":251,"column":12},"end":{"line":260,"column":13}},"57":{"start":{"line":252,"column":16},"end":{"line":252,"column":25}},"58":{"start":{"line":254,"column":16},"end":{"line":258,"column":25}},"59":{"start":{"line":255,"column":20},"end":{"line":257,"column":21}},"60":{"start":{"line":256,"column":24},"end":{"line":256,"column":36}},"61":{"start":{"line":259,"column":16},"end":{"line":259,"column":38}},"62":{"start":{"line":261,"column":12},"end":{"line":261,"column":27}},"63":{"start":{"line":269,"column":12},"end":{"line":271,"column":45}},"64":{"start":{"line":274,"column":12},"end":{"line":292,"column":13}},"65":{"start":{"line":275,"column":16},"end":{"line":283,"column":17}},"66":{"start":{"line":277,"column":20},"end":{"line":277,"column":44}},"67":{"start":{"line":278,"column":20},"end":{"line":278,"column":45}},"68":{"start":{"line":280,"column":20},"end":{"line":280,"column":67}},"69":{"start":{"line":281,"column":20},"end":{"line":281,"column":40}},"70":{"start":{"line":282,"column":20},"end":{"line":282,"column":35}},"71":{"start":{"line":284,"column":16},"end":{"line":284,"column":83}},"72":{"start":{"line":285,"column":16},"end":{"line":288,"column":17}},"73":{"start":{"line":286,"column":20},"end":{"line":286,"column":103}},"74":{"start":{"line":287,"column":20},"end":{"line":287,"column":108}},"75":{"start":{"line":289,"column":19},"end":{"line":292,"column":13}},"76":{"start":{"line":290,"column":16},"end":{"line":290,"column":83}},"77":{"start":{"line":291,"column":16},"end":{"line":291,"column":111}},"78":{"start":{"line":294,"column":12},"end":{"line":294,"column":35}},"79":{"start":{"line":296,"column":12},"end":{"line":298,"column":21}},"80":{"start":{"line":297,"column":16},"end":{"line":297,"column":38}},"81":{"start":{"line":306,"column":12},"end":{"line":312,"column":13}},"82":{"start":{"line":307,"column":16},"end":{"line":307,"column":41}},"83":{"start":{"line":309,"column":16},"end":{"line":311,"column":19}},"84":{"start":{"line":310,"column":20},"end":{"line":310,"column":46}},"85":{"start":{"line":321,"column":12},"end":{"line":323,"column":13}},"86":{"start":{"line":322,"column":16},"end":{"line":322,"column":39}},"87":{"start":{"line":324,"column":12},"end":{"line":324,"column":27}},"88":{"start":{"line":326,"column":12},"end":{"line":330,"column":15}},"89":{"start":{"line":327,"column":16},"end":{"line":329,"column":17}},"90":{"start":{"line":328,"column":20},"end":{"line":328,"column":34}},"91":{"start":{"line":331,"column":12},"end":{"line":331,"column":25}},"92":{"start":{"line":340,"column":12},"end":{"line":340,"column":39}},"93":{"start":{"line":341,"column":12},"end":{"line":343,"column":21}},"94":{"start":{"line":342,"column":16},"end":{"line":342,"column":44}},"95":{"start":{"line":352,"column":12},"end":{"line":352,"column":33}},"96":{"start":{"line":361,"column":12},"end":{"line":361,"column":37}},"97":{"start":{"line":362,"column":12},"end":{"line":366,"column":21}},"98":{"start":{"line":363,"column":16},"end":{"line":365,"column":17}},"99":{"start":{"line":364,"column":20},"end":{"line":364,"column":36}},"100":{"start":{"line":367,"column":12},"end":{"line":367,"column":35}},"101":{"start":{"line":369,"column":12},"end":{"line":369,"column":24}},"102":{"start":{"line":370,"column":12},"end":{"line":374,"column":15}},"103":{"start":{"line":371,"column":16},"end":{"line":373,"column":17}},"104":{"start":{"line":372,"column":20},"end":{"line":372,"column":35}},"105":{"start":{"line":376,"column":12},"end":{"line":376,"column":37}},"106":{"start":{"line":385,"column":12},"end":{"line":386,"column":32}},"107":{"start":{"line":387,"column":12},"end":{"line":393,"column":13}},"108":{"start":{"line":388,"column":16},"end":{"line":392,"column":19}},"109":{"start":{"line":389,"column":20},"end":{"line":391,"column":21}},"110":{"start":{"line":390,"column":24},"end":{"line":390,"column":33}},"111":{"start":{"line":394,"column":12},"end":{"line":394,"column":24}}},"branchMap":{"1":{"line":36,"type":"if","locations":[{"start":{"line":36,"column":12},"end":{"line":36,"column":12}},{"start":{"line":36,"column":12},"end":{"line":36,"column":12}}]},"2":{"line":59,"type":"if","locations":[{"start":{"line":59,"column":16},"end":{"line":59,"column":16}},{"start":{"line":59,"column":16},"end":{"line":59,"column":16}}]},"3":{"line":73,"type":"cond-expr","locations":[{"start":{"line":73,"column":39},"end":{"line":73,"column":51}},{"start":{"line":73,"column":54},"end":{"line":73,"column":68}}]},"4":{"line":161,"type":"if","locations":[{"start":{"line":161,"column":16},"end":{"line":161,"column":16}},{"start":{"line":161,"column":16},"end":{"line":161,"column":16}}]},"5":{"line":176,"type":"if","locations":[{"start":{"line":176,"column":12},"end":{"line":176,"column":12}},{"start":{"line":176,"column":12},"end":{"line":176,"column":12}}]},"6":{"line":176,"type":"binary-expr","locations":[{"start":{"line":176,"column":16},"end":{"line":176,"column":31}},{"start":{"line":176,"column":35},"end":{"line":176,"column":39}}]},"7":{"line":179,"type":"if","locations":[{"start":{"line":179,"column":16},"end":{"line":179,"column":16}},{"start":{"line":179,"column":16},"end":{"line":179,"column":16}}]},"8":{"line":179,"type":"binary-expr","locations":[{"start":{"line":179,"column":20},"end":{"line":179,"column":22}},{"start":{"line":179,"column":26},"end":{"line":179,"column":41}}]},"9":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":20},"end":{"line":181,"column":20}},{"start":{"line":181,"column":20},"end":{"line":181,"column":20}}]},"10":{"line":184,"type":"if","locations":[{"start":{"line":184,"column":20},"end":{"line":184,"column":20}},{"start":{"line":184,"column":20},"end":{"line":184,"column":20}}]},"11":{"line":184,"type":"binary-expr","locations":[{"start":{"line":184,"column":24},"end":{"line":184,"column":28}},{"start":{"line":184,"column":32},"end":{"line":184,"column":41}}]},"12":{"line":185,"type":"if","locations":[{"start":{"line":185,"column":24},"end":{"line":185,"column":24}},{"start":{"line":185,"column":24},"end":{"line":185,"column":24}}]},"13":{"line":185,"type":"binary-expr","locations":[{"start":{"line":185,"column":29},"end":{"line":185,"column":53}},{"start":{"line":185,"column":58},"end":{"line":185,"column":70}}]},"14":{"line":186,"type":"binary-expr","locations":[{"start":{"line":186,"column":32},"end":{"line":186,"column":39}},{"start":{"line":186,"column":43},"end":{"line":186,"column":70}}]},"15":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":24},"end":{"line":190,"column":24}},{"start":{"line":190,"column":24},"end":{"line":190,"column":24}}]},"16":{"line":223,"type":"if","locations":[{"start":{"line":223,"column":16},"end":{"line":223,"column":16}},{"start":{"line":223,"column":16},"end":{"line":223,"column":16}}]},"17":{"line":244,"type":"if","locations":[{"start":{"line":244,"column":16},"end":{"line":244,"column":16}},{"start":{"line":244,"column":16},"end":{"line":244,"column":16}}]},"18":{"line":245,"type":"if","locations":[{"start":{"line":245,"column":20},"end":{"line":245,"column":20}},{"start":{"line":245,"column":20},"end":{"line":245,"column":20}}]},"19":{"line":251,"type":"if","locations":[{"start":{"line":251,"column":12},"end":{"line":251,"column":12}},{"start":{"line":251,"column":12},"end":{"line":251,"column":12}}]},"20":{"line":255,"type":"if","locations":[{"start":{"line":255,"column":20},"end":{"line":255,"column":20}},{"start":{"line":255,"column":20},"end":{"line":255,"column":20}}]},"21":{"line":274,"type":"if","locations":[{"start":{"line":274,"column":12},"end":{"line":274,"column":12}},{"start":{"line":274,"column":12},"end":{"line":274,"column":12}}]},"22":{"line":274,"type":"binary-expr","locations":[{"start":{"line":274,"column":16},"end":{"line":274,"column":26}},{"start":{"line":274,"column":30},"end":{"line":274,"column":40}},{"start":{"line":274,"column":44},"end":{"line":274,"column":71}}]},"23":{"line":275,"type":"if","locations":[{"start":{"line":275,"column":16},"end":{"line":275,"column":16}},{"start":{"line":275,"column":16},"end":{"line":275,"column":16}}]},"24":{"line":285,"type":"if","locations":[{"start":{"line":285,"column":16},"end":{"line":285,"column":16}},{"start":{"line":285,"column":16},"end":{"line":285,"column":16}}]},"25":{"line":289,"type":"if","locations":[{"start":{"line":289,"column":19},"end":{"line":289,"column":19}},{"start":{"line":289,"column":19},"end":{"line":289,"column":19}}]},"26":{"line":289,"type":"binary-expr","locations":[{"start":{"line":289,"column":23},"end":{"line":289,"column":33}},{"start":{"line":289,"column":37},"end":{"line":289,"column":63}}]},"27":{"line":306,"type":"if","locations":[{"start":{"line":306,"column":12},"end":{"line":306,"column":12}},{"start":{"line":306,"column":12},"end":{"line":306,"column":12}}]},"28":{"line":321,"type":"if","locations":[{"start":{"line":321,"column":12},"end":{"line":321,"column":12}},{"start":{"line":321,"column":12},"end":{"line":321,"column":12}}]},"29":{"line":321,"type":"binary-expr","locations":[{"start":{"line":321,"column":16},"end":{"line":321,"column":29}},{"start":{"line":321,"column":33},"end":{"line":321,"column":45}}]},"30":{"line":327,"type":"if","locations":[{"start":{"line":327,"column":16},"end":{"line":327,"column":16}},{"start":{"line":327,"column":16},"end":{"line":327,"column":16}}]},"31":{"line":327,"type":"binary-expr","locations":[{"start":{"line":327,"column":20},"end":{"line":327,"column":26}},{"start":{"line":327,"column":30},"end":{"line":327,"column":70}}]},"32":{"line":363,"type":"if","locations":[{"start":{"line":363,"column":16},"end":{"line":363,"column":16}},{"start":{"line":363,"column":16},"end":{"line":363,"column":16}}]},"33":{"line":371,"type":"if","locations":[{"start":{"line":371,"column":16},"end":{"line":371,"column":16}},{"start":{"line":371,"column":16},"end":{"line":371,"column":16}}]},"34":{"line":387,"type":"if","locations":[{"start":{"line":387,"column":12},"end":{"line":387,"column":12}},{"start":{"line":387,"column":12},"end":{"line":387,"column":12}}]},"35":{"line":389,"type":"if","locations":[{"start":{"line":389,"column":20},"end":{"line":389,"column":20}},{"start":{"line":389,"column":20},"end":{"line":389,"column":20}}]}},"code":["(function () { YUI.add('dd-ddm-drop', function (Y, NAME) {","",""," /**"," * Extends the dd-ddm Class to add support for the placement of Drop Target"," * shims inside the viewport shim. It also handles all Drop Target related events and interactions."," * @module dd"," * @submodule dd-ddm-drop"," * @for DDM"," * @namespace DD"," */",""," //TODO CSS class name for the bestMatch.."," Y.mix(Y.DD.DDM, {"," /**"," * This flag turns off the use of the mouseover/mouseout shim. It should not be used unless you know what you are doing."," * @private"," * @property _noShim"," * @type {Boolean}"," */"," _noShim: false,"," /**"," * Placeholder for all active shims on the page"," * @private"," * @property _activeShims"," * @type {Array}"," */"," _activeShims: [],"," /**"," * This method checks the _activeShims Object to see if there is a shim active."," * @private"," * @method _hasActiveShim"," * @return {Boolean}"," */"," _hasActiveShim: function() {"," if (this._noShim) {"," return true;"," }"," return this._activeShims.length;"," },"," /**"," * Adds a Drop Target to the list of active shims"," * @private"," * @method _addActiveShim"," * @param {Object} d The Drop instance to add to the list."," */"," _addActiveShim: function(d) {"," this._activeShims.push(d);"," },"," /**"," * Removes a Drop Target to the list of active shims"," * @private"," * @method _removeActiveShim"," * @param {Object} d The Drop instance to remove from the list."," */"," _removeActiveShim: function(d) {"," var s = [];"," Y.Array.each(this._activeShims, function(v) {"," if (v._yuid !== d._yuid) {"," s.push(v);"," }",""," });"," this._activeShims = s;"," },"," /**"," * This method will sync the position of the shims on the Drop Targets that are currently active."," * @method syncActiveShims"," * @param {Boolean} force Resize/sync all Targets."," */"," syncActiveShims: function(force) {"," Y.later(0, this, function(force) {"," var drops = ((force) ? this.targets : this._lookup());"," Y.Array.each(drops, function(v) {"," v.sizeShim.call(v);"," }, this);"," }, force);"," },"," /**"," * The mode that the drag operations will run in 0 for Point, 1 for Intersect, 2 for Strict"," * @private"," * @property mode"," * @type Number"," */"," mode: 0,"," /**"," * In point mode, a Drop is targeted by the cursor being over the Target"," * @private"," * @property POINT"," * @type Number"," */"," POINT: 0,"," /**"," * In intersect mode, a Drop is targeted by \"part\" of the drag node being over the Target"," * @private"," * @property INTERSECT"," * @type Number"," */"," INTERSECT: 1,"," /**"," * In strict mode, a Drop is targeted by the \"entire\" drag node being over the Target"," * @private"," * @property STRICT"," * @type Number"," */"," STRICT: 2,"," /**"," * Should we only check targets that are in the viewport on drags (for performance), default: true"," * @property useHash"," * @type {Boolean}"," */"," useHash: true,"," /**"," * A reference to the active Drop Target"," * @property activeDrop"," * @type {Object}"," */"," activeDrop: null,"," /**"," * An array of the valid Drop Targets for this interaction."," * @property validDrops"," * @type {Array}"," */"," //TODO Change array/object literals to be in sync.."," validDrops: [],"," /**"," * An object literal of Other Drop Targets that we encountered during this interaction (in the case of overlapping Drop Targets)"," * @property otherDrops"," * @type {Object}"," */"," otherDrops: {},"," /**"," * All of the Targets"," * @property targets"," * @type {Array}"," */"," targets: [],"," /**"," * Add a Drop Target to the list of Valid Targets. This list get's regenerated on each new drag operation."," * @private"," * @method _addValid"," * @param {Object} drop"," * @return {Self}"," * @chainable"," */"," _addValid: function(drop) {"," this.validDrops.push(drop);"," return this;"," },"," /**"," * Removes a Drop Target from the list of Valid Targets. This list get's regenerated on each new drag operation."," * @private"," * @method _removeValid"," * @param {Object} drop"," * @return {Self}"," * @chainable"," */"," _removeValid: function(drop) {"," var drops = [];"," Y.Array.each(this.validDrops, function(v) {"," if (v !== drop) {"," drops.push(v);"," }"," });",""," this.validDrops = drops;"," return this;"," },"," /**"," * Check to see if the Drag element is over the target, method varies on current mode"," * @method isOverTarget"," * @param {Object} drop The drop to check against"," * @return {Boolean}"," */"," isOverTarget: function(drop) {"," if (this.activeDrag && drop) {"," var xy = this.activeDrag.mouseXY, r, dMode = this.activeDrag.get('dragMode'),"," aRegion, node = drop.shim;"," if (xy && this.activeDrag) {"," aRegion = this.activeDrag.region;"," if (dMode === this.STRICT) {"," return this.activeDrag.get('dragNode').inRegion(drop.region, true, aRegion);"," }"," if (drop && drop.shim) {"," if ((dMode === this.INTERSECT) && this._noShim) {"," r = aRegion || this.activeDrag.get('node');"," return drop.get('node').intersect(r, drop.region).inRegion;"," }",""," if (this._noShim) {"," node = drop.get('node');"," }"," return node.intersect({"," top: xy[1],"," bottom: xy[1],"," left: xy[0],"," right: xy[0]"," }, drop.region).inRegion;"," }"," }"," }"," return false;"," },"," /**"," * Clears the cache data used for this interaction."," * @method clearCache"," */"," clearCache: function() {"," this.validDrops = [];"," this.otherDrops = {};"," this._activeShims = [];"," },"," /**"," * Clear the cache and activate the shims of all the targets"," * @private"," * @method _activateTargets"," */"," _activateTargets: function() {"," this._noShim = true;"," this.clearCache();"," Y.Array.each(this.targets, function(v) {"," v._activateShim([]);"," if (v.get('noShim') === true) {"," this._noShim = false;"," }"," }, this);"," this._handleTargetOver();",""," },"," /**"," * This method will gather the area for all potential targets and see which has the hightest covered area and return it."," * @method getBestMatch"," * @param {Array} drops An Array of drops to scan for the best match."," * @param {Boolean} all If present, it returns an Array. First item is best match, second is an Array of the other items in the original Array."," * @return {Object or Array}"," */"," getBestMatch: function(drops, all) {"," var biggest = null, area = 0, out;",""," Y.Array.each(drops, function(v) {"," var inter = this.activeDrag.get('dragNode').intersect(v.get('node'));"," v.region.area = inter.area;",""," if (inter.inRegion) {"," if (inter.area > area) {"," area = inter.area;"," biggest = v;"," }"," }"," }, this);"," if (all) {"," out = [];"," //TODO Sort the others in numeric order by area covered.."," Y.Array.each(drops, function(v) {"," if (v !== biggest) {"," out.push(v);"," }"," }, this);"," return [biggest, out];"," }"," return biggest;"," },"," /**"," * This method fires the drop:hit, drag:drophit, drag:dropmiss methods and deactivates the shims.."," * @private"," * @method _deactivateTargets"," */"," _deactivateTargets: function() {"," var other = [], tmp,"," activeDrag = this.activeDrag,"," activeDrop = this.activeDrop;",""," //TODO why is this check so hard??"," if (activeDrag && activeDrop && this.otherDrops[activeDrop]) {"," if (!activeDrag.get('dragMode')) {"," //TODO otherDrops -- private.."," other = this.otherDrops;"," delete other[activeDrop];"," } else {"," tmp = this.getBestMatch(this.otherDrops, true);"," activeDrop = tmp[0];"," other = tmp[1];"," }"," activeDrag.get('node').removeClass(this.CSS_PREFIX + '-drag-over');"," if (activeDrop) {"," activeDrop.fire('drop:hit', { drag: activeDrag, drop: activeDrop, others: other });"," activeDrag.fire('drag:drophit', { drag: activeDrag, drop: activeDrop, others: other });"," }"," } else if (activeDrag && activeDrag.get('dragging')) {"," activeDrag.get('node').removeClass(this.CSS_PREFIX + '-drag-over');"," activeDrag.fire('drag:dropmiss', { pageX: activeDrag.lastXY[0], pageY: activeDrag.lastXY[1] });"," }",""," this.activeDrop = null;",""," Y.Array.each(this.targets, function(v) {"," v._deactivateShim([]);"," }, this);"," },"," /**"," * This method is called when the move method is called on the Drag Object."," * @private"," * @method _dropMove"," */"," _dropMove: function() {"," if (this._hasActiveShim()) {"," this._handleTargetOver();"," } else {"," Y.Array.each(this.otherDrops, function(v) {"," v._handleOut.apply(v, []);"," });"," }"," },"," /**"," * Filters the list of Drops down to those in the viewport."," * @private"," * @method _lookup"," * @return {Array} The valid Drop Targets that are in the viewport."," */"," _lookup: function() {"," if (!this.useHash || this._noShim) {"," return this.validDrops;"," }"," var drops = [];"," //Only scan drop shims that are in the Viewport"," Y.Array.each(this.validDrops, function(v) {"," if (v.shim && v.shim.inViewportRegion(false, v.region)) {"," drops.push(v);"," }"," });"," return drops;",""," },"," /**"," * This method execs _handleTargetOver on all valid Drop Targets"," * @private"," * @method _handleTargetOver"," */"," _handleTargetOver: function() {"," var drops = this._lookup();"," Y.Array.each(drops, function(v) {"," v._handleTargetOver.call(v);"," }, this);"," },"," /**"," * Add the passed in Target to the targets collection"," * @private"," * @method _regTarget"," * @param {Object} t The Target to add to the targets collection"," */"," _regTarget: function(t) {"," this.targets.push(t);"," },"," /**"," * Remove the passed in Target from the targets collection"," * @private"," * @method _unregTarget"," * @param {Object} drop The Target to remove from the targets collection"," */"," _unregTarget: function(drop) {"," var targets = [], vdrops;"," Y.Array.each(this.targets, function(v) {"," if (v !== drop) {"," targets.push(v);"," }"," }, this);"," this.targets = targets;",""," vdrops = [];"," Y.Array.each(this.validDrops, function(v) {"," if (v !== drop) {"," vdrops.push(v);"," }"," });",""," this.validDrops = vdrops;"," },"," /**"," * Get a valid Drop instance back from a Node or a selector string, false otherwise"," * @method getDrop"," * @param {String/Object} node The Node instance or Selector string to check for a valid Drop Object"," * @return {Object}"," */"," getDrop: function(node) {"," var drop = false,"," n = Y.one(node);"," if (n instanceof Y.Node) {"," Y.Array.each(this.targets, function(v) {"," if (n.compareTo(v.get('node'))) {"," drop = v;"," }"," });"," }"," return drop;"," }"," }, true);","","","","","}, '3.10.3', {\"requires\": [\"dd-ddm\"]});","","}());"]};
}
var __cov_o$ssUG$Zx$_5NVajDettpw = __coverage__['build/dd-ddm-drop/dd-ddm-drop.js'];
__cov_o$ssUG$Zx$_5NVajDettpw.s['1']++;YUI.add('dd-ddm-drop',function(Y,NAME){__cov_o$ssUG$Zx$_5NVajDettpw.f['1']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['2']++;Y.mix(Y.DD.DDM,{_noShim:false,_activeShims:[],_hasActiveShim:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['2']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['3']++;if(this._noShim){__cov_o$ssUG$Zx$_5NVajDettpw.b['1'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['4']++;return true;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['1'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['5']++;return this._activeShims.length;},_addActiveShim:function(d){__cov_o$ssUG$Zx$_5NVajDettpw.f['3']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['6']++;this._activeShims.push(d);},_removeActiveShim:function(d){__cov_o$ssUG$Zx$_5NVajDettpw.f['4']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['7']++;var s=[];__cov_o$ssUG$Zx$_5NVajDettpw.s['8']++;Y.Array.each(this._activeShims,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['5']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['9']++;if(v._yuid!==d._yuid){__cov_o$ssUG$Zx$_5NVajDettpw.b['2'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['10']++;s.push(v);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['2'][1]++;}});__cov_o$ssUG$Zx$_5NVajDettpw.s['11']++;this._activeShims=s;},syncActiveShims:function(force){__cov_o$ssUG$Zx$_5NVajDettpw.f['6']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['12']++;Y.later(0,this,function(force){__cov_o$ssUG$Zx$_5NVajDettpw.f['7']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['13']++;var drops=force?(__cov_o$ssUG$Zx$_5NVajDettpw.b['3'][0]++,this.targets):(__cov_o$ssUG$Zx$_5NVajDettpw.b['3'][1]++,this._lookup());__cov_o$ssUG$Zx$_5NVajDettpw.s['14']++;Y.Array.each(drops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['8']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['15']++;v.sizeShim.call(v);},this);},force);},mode:0,POINT:0,INTERSECT:1,STRICT:2,useHash:true,activeDrop:null,validDrops:[],otherDrops:{},targets:[],_addValid:function(drop){__cov_o$ssUG$Zx$_5NVajDettpw.f['9']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['16']++;this.validDrops.push(drop);__cov_o$ssUG$Zx$_5NVajDettpw.s['17']++;return this;},_removeValid:function(drop){__cov_o$ssUG$Zx$_5NVajDettpw.f['10']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['18']++;var drops=[];__cov_o$ssUG$Zx$_5NVajDettpw.s['19']++;Y.Array.each(this.validDrops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['11']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['20']++;if(v!==drop){__cov_o$ssUG$Zx$_5NVajDettpw.b['4'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['21']++;drops.push(v);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['4'][1]++;}});__cov_o$ssUG$Zx$_5NVajDettpw.s['22']++;this.validDrops=drops;__cov_o$ssUG$Zx$_5NVajDettpw.s['23']++;return this;},isOverTarget:function(drop){__cov_o$ssUG$Zx$_5NVajDettpw.f['12']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['24']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['6'][0]++,this.activeDrag)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['6'][1]++,drop)){__cov_o$ssUG$Zx$_5NVajDettpw.b['5'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['25']++;var xy=this.activeDrag.mouseXY,r,dMode=this.activeDrag.get('dragMode'),aRegion,node=drop.shim;__cov_o$ssUG$Zx$_5NVajDettpw.s['26']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['8'][0]++,xy)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['8'][1]++,this.activeDrag)){__cov_o$ssUG$Zx$_5NVajDettpw.b['7'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['27']++;aRegion=this.activeDrag.region;__cov_o$ssUG$Zx$_5NVajDettpw.s['28']++;if(dMode===this.STRICT){__cov_o$ssUG$Zx$_5NVajDettpw.b['9'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['29']++;return this.activeDrag.get('dragNode').inRegion(drop.region,true,aRegion);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['9'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['30']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['11'][0]++,drop)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['11'][1]++,drop.shim)){__cov_o$ssUG$Zx$_5NVajDettpw.b['10'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['31']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['13'][0]++,dMode===this.INTERSECT)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['13'][1]++,this._noShim)){__cov_o$ssUG$Zx$_5NVajDettpw.b['12'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['32']++;r=(__cov_o$ssUG$Zx$_5NVajDettpw.b['14'][0]++,aRegion)||(__cov_o$ssUG$Zx$_5NVajDettpw.b['14'][1]++,this.activeDrag.get('node'));__cov_o$ssUG$Zx$_5NVajDettpw.s['33']++;return drop.get('node').intersect(r,drop.region).inRegion;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['12'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['34']++;if(this._noShim){__cov_o$ssUG$Zx$_5NVajDettpw.b['15'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['35']++;node=drop.get('node');}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['15'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['36']++;return node.intersect({top:xy[1],bottom:xy[1],left:xy[0],right:xy[0]},drop.region).inRegion;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['10'][1]++;}}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['7'][1]++;}}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['5'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['37']++;return false;},clearCache:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['13']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['38']++;this.validDrops=[];__cov_o$ssUG$Zx$_5NVajDettpw.s['39']++;this.otherDrops={};__cov_o$ssUG$Zx$_5NVajDettpw.s['40']++;this._activeShims=[];},_activateTargets:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['14']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['41']++;this._noShim=true;__cov_o$ssUG$Zx$_5NVajDettpw.s['42']++;this.clearCache();__cov_o$ssUG$Zx$_5NVajDettpw.s['43']++;Y.Array.each(this.targets,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['15']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['44']++;v._activateShim([]);__cov_o$ssUG$Zx$_5NVajDettpw.s['45']++;if(v.get('noShim')===true){__cov_o$ssUG$Zx$_5NVajDettpw.b['16'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['46']++;this._noShim=false;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['16'][1]++;}},this);__cov_o$ssUG$Zx$_5NVajDettpw.s['47']++;this._handleTargetOver();},getBestMatch:function(drops,all){__cov_o$ssUG$Zx$_5NVajDettpw.f['16']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['48']++;var biggest=null,area=0,out;__cov_o$ssUG$Zx$_5NVajDettpw.s['49']++;Y.Array.each(drops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['17']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['50']++;var inter=this.activeDrag.get('dragNode').intersect(v.get('node'));__cov_o$ssUG$Zx$_5NVajDettpw.s['51']++;v.region.area=inter.area;__cov_o$ssUG$Zx$_5NVajDettpw.s['52']++;if(inter.inRegion){__cov_o$ssUG$Zx$_5NVajDettpw.b['17'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['53']++;if(inter.area>area){__cov_o$ssUG$Zx$_5NVajDettpw.b['18'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['54']++;area=inter.area;__cov_o$ssUG$Zx$_5NVajDettpw.s['55']++;biggest=v;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['18'][1]++;}}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['17'][1]++;}},this);__cov_o$ssUG$Zx$_5NVajDettpw.s['56']++;if(all){__cov_o$ssUG$Zx$_5NVajDettpw.b['19'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['57']++;out=[];__cov_o$ssUG$Zx$_5NVajDettpw.s['58']++;Y.Array.each(drops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['18']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['59']++;if(v!==biggest){__cov_o$ssUG$Zx$_5NVajDettpw.b['20'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['60']++;out.push(v);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['20'][1]++;}},this);__cov_o$ssUG$Zx$_5NVajDettpw.s['61']++;return[biggest,out];}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['19'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['62']++;return biggest;},_deactivateTargets:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['19']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['63']++;var other=[],tmp,activeDrag=this.activeDrag,activeDrop=this.activeDrop;__cov_o$ssUG$Zx$_5NVajDettpw.s['64']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['22'][0]++,activeDrag)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['22'][1]++,activeDrop)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['22'][2]++,this.otherDrops[activeDrop])){__cov_o$ssUG$Zx$_5NVajDettpw.b['21'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['65']++;if(!activeDrag.get('dragMode')){__cov_o$ssUG$Zx$_5NVajDettpw.b['23'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['66']++;other=this.otherDrops;__cov_o$ssUG$Zx$_5NVajDettpw.s['67']++;delete other[activeDrop];}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['23'][1]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['68']++;tmp=this.getBestMatch(this.otherDrops,true);__cov_o$ssUG$Zx$_5NVajDettpw.s['69']++;activeDrop=tmp[0];__cov_o$ssUG$Zx$_5NVajDettpw.s['70']++;other=tmp[1];}__cov_o$ssUG$Zx$_5NVajDettpw.s['71']++;activeDrag.get('node').removeClass(this.CSS_PREFIX+'-drag-over');__cov_o$ssUG$Zx$_5NVajDettpw.s['72']++;if(activeDrop){__cov_o$ssUG$Zx$_5NVajDettpw.b['24'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['73']++;activeDrop.fire('drop:hit',{drag:activeDrag,drop:activeDrop,others:other});__cov_o$ssUG$Zx$_5NVajDettpw.s['74']++;activeDrag.fire('drag:drophit',{drag:activeDrag,drop:activeDrop,others:other});}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['24'][1]++;}}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['21'][1]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['75']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['26'][0]++,activeDrag)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['26'][1]++,activeDrag.get('dragging'))){__cov_o$ssUG$Zx$_5NVajDettpw.b['25'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['76']++;activeDrag.get('node').removeClass(this.CSS_PREFIX+'-drag-over');__cov_o$ssUG$Zx$_5NVajDettpw.s['77']++;activeDrag.fire('drag:dropmiss',{pageX:activeDrag.lastXY[0],pageY:activeDrag.lastXY[1]});}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['25'][1]++;}}__cov_o$ssUG$Zx$_5NVajDettpw.s['78']++;this.activeDrop=null;__cov_o$ssUG$Zx$_5NVajDettpw.s['79']++;Y.Array.each(this.targets,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['20']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['80']++;v._deactivateShim([]);},this);},_dropMove:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['21']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['81']++;if(this._hasActiveShim()){__cov_o$ssUG$Zx$_5NVajDettpw.b['27'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['82']++;this._handleTargetOver();}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['27'][1]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['83']++;Y.Array.each(this.otherDrops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['22']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['84']++;v._handleOut.apply(v,[]);});}},_lookup:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['23']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['85']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['29'][0]++,!this.useHash)||(__cov_o$ssUG$Zx$_5NVajDettpw.b['29'][1]++,this._noShim)){__cov_o$ssUG$Zx$_5NVajDettpw.b['28'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['86']++;return this.validDrops;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['28'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['87']++;var drops=[];__cov_o$ssUG$Zx$_5NVajDettpw.s['88']++;Y.Array.each(this.validDrops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['24']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['89']++;if((__cov_o$ssUG$Zx$_5NVajDettpw.b['31'][0]++,v.shim)&&(__cov_o$ssUG$Zx$_5NVajDettpw.b['31'][1]++,v.shim.inViewportRegion(false,v.region))){__cov_o$ssUG$Zx$_5NVajDettpw.b['30'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['90']++;drops.push(v);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['30'][1]++;}});__cov_o$ssUG$Zx$_5NVajDettpw.s['91']++;return drops;},_handleTargetOver:function(){__cov_o$ssUG$Zx$_5NVajDettpw.f['25']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['92']++;var drops=this._lookup();__cov_o$ssUG$Zx$_5NVajDettpw.s['93']++;Y.Array.each(drops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['26']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['94']++;v._handleTargetOver.call(v);},this);},_regTarget:function(t){__cov_o$ssUG$Zx$_5NVajDettpw.f['27']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['95']++;this.targets.push(t);},_unregTarget:function(drop){__cov_o$ssUG$Zx$_5NVajDettpw.f['28']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['96']++;var targets=[],vdrops;__cov_o$ssUG$Zx$_5NVajDettpw.s['97']++;Y.Array.each(this.targets,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['29']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['98']++;if(v!==drop){__cov_o$ssUG$Zx$_5NVajDettpw.b['32'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['99']++;targets.push(v);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['32'][1]++;}},this);__cov_o$ssUG$Zx$_5NVajDettpw.s['100']++;this.targets=targets;__cov_o$ssUG$Zx$_5NVajDettpw.s['101']++;vdrops=[];__cov_o$ssUG$Zx$_5NVajDettpw.s['102']++;Y.Array.each(this.validDrops,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['30']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['103']++;if(v!==drop){__cov_o$ssUG$Zx$_5NVajDettpw.b['33'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['104']++;vdrops.push(v);}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['33'][1]++;}});__cov_o$ssUG$Zx$_5NVajDettpw.s['105']++;this.validDrops=vdrops;},getDrop:function(node){__cov_o$ssUG$Zx$_5NVajDettpw.f['31']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['106']++;var drop=false,n=Y.one(node);__cov_o$ssUG$Zx$_5NVajDettpw.s['107']++;if(n instanceof Y.Node){__cov_o$ssUG$Zx$_5NVajDettpw.b['34'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['108']++;Y.Array.each(this.targets,function(v){__cov_o$ssUG$Zx$_5NVajDettpw.f['32']++;__cov_o$ssUG$Zx$_5NVajDettpw.s['109']++;if(n.compareTo(v.get('node'))){__cov_o$ssUG$Zx$_5NVajDettpw.b['35'][0]++;__cov_o$ssUG$Zx$_5NVajDettpw.s['110']++;drop=v;}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['35'][1]++;}});}else{__cov_o$ssUG$Zx$_5NVajDettpw.b['34'][1]++;}__cov_o$ssUG$Zx$_5NVajDettpw.s['111']++;return drop;}},true);},'3.10.3',{'requires':['dd-ddm']});